/** * Copyright (c) 2017-present, Facebook, Inc. All rights reserved. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, * copy, modify, and distribute this software in source code or binary form for use * in connection with the web services and APIs provided by Facebook. * * As with any software that integrates with the Facebook platform, your use of * this software is subject to the Facebook Platform Policy * [http://developers.facebook.com/policy/]. This copyright notice shall be * included in all copies or substantial portions of the software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ (function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){var g=a.fbq;g.execStart=a.performance&&a.performance.now&&a.performance.now();if(!function(){var ea=a.postMessage||function(){};if(!g){ea({action:'FB_LOG',logType:'Facebook Pixel Error',logMessage:'Pixel code is not installed correctly on this page'},'*');if('error' in console)console.error('Facebook Pixel Error: Pixel code is not installed correctly on this page');return false}return true}())return;'use strict';var h=typeof Symbol==="function"&&typeof (typeof Symbol==='function'?Symbol.iterator:'@@iterator')==="symbol"?function(ea){return typeof ea}:function(ea){return ea&&typeof Symbol==="function"&&ea.constructor===Symbol&&ea!==(typeof Symbol==='function'?Symbol.prototype:'@@prototype')?"symbol":typeof ea};if(!g.__fbeventsModules){g.__fbeventsModules={};g.__fbeventsResolvedModules={};g.getFbeventsModules=function(ea){if(!g.__fbeventsResolvedModules[ea])g.__fbeventsResolvedModules[ea]=g.__fbeventsModules[ea]();return g.__fbeventsResolvedModules[ea]};g.fbIsModuleLoaded=function(ea){return !!g.__fbeventsModules[ea]};g.ensureModuleRegistered=function(ea,fa){if(!g.fbIsModuleLoaded(ea))g.__fbeventsModules[ea]=fa;}}g.ensureModuleRegistered('SignalsFBEventsPlugin',function(){return function(ea,fa,ga,ha){var ia={exports:{}},ja=ia.exports;(function(){'use strict';function ka(la){this.plugin=la;this.__fbEventsPlugin=1;return this}ia.exports=ka})();return ia.exports}(a,b,c,d)});g.ensureModuleRegistered('SignalsFBEventsUtils',function(){return function(ea,fa,ga,ha){var ia={exports:{}},ja=ia.exports;(function(){'use strict';var ka='console',la='error',ma='Facebook Pixel Error',na='Facebook Pixel Warning',oa='warn',pa=Object.prototype.toString,qa=!('addEventListener' in fa),ra=function pb(){},sa=ea[ka]||{},ta=ea.postMessage||ra;function ua(pb){return Array.isArray?Array.isArray(pb):pa.call(pb)==='[object Array]'}function va(pb){return typeof pb==='number'||typeof pb==='string'&&/^\d+$/.test(pb)}var wa={};function xa(pb){if(Object.prototype.hasOwnProperty.call(wa,pb)===false){wa[pb]=true;ya(pb)}}function ya(pb){try{ta({action:'FB_LOG',logType:ma,logMessage:pb},'*')}catch(qb){}if(la in sa)sa[la](ma+': '+pb);}function za(pb,qb){for(var rb=arguments.length,sb=Array(rb>2?rb-2:0),tb=2;tb>>0;if(typeof qb!=='function')throw new TypeError(qb+' is not a function');rb=new Array(ub);sb=0;while(sb>>0,sb=arguments.length>=2?arguments[1]:void 0;for(var tb=0;tb>>0;if(typeof pb!=='function')throw new TypeError();var sb=[],tb=arguments.length>=2?arguments[1]:void 0;for(var ub=0;ub=0&&ja.item(ka)!==this);return ka>-1},ha=ga.call(ea,fa);typeof ha==='boolean'||l(0);return ha}function u(ea){if(!ea||ea.disabled||ea===b.body)return false;if(ea.innerText&&ea.innerText.length>n)return false;var fa=typeof ea.getBoundingClientRect==='function'&&ea.getBoundingClientRect().height||ea.offsetHeight;if(fa!=undefined&&fa!=null&&fa>o)return false;return true}function v(ea){if(!ea||ea.disabled||ea===b.body){return null}else if(!u(ea)){return null}else if(t(ea,r)){return ea}else return v(ea.parentElement);}function w(ea){var fa='';if(ea.nodeName==='BUTTON'){var ga=ea;fa=ga.innerText||ga.value||''}else fa=ea.value||ea.innerText||'';return fa.substr(0,n)}function x(ea){var fa=ea.name,ga=ea.id,ha=ea.tagName,ia=ea.value,ja=ea.innerText,ka=ha.toLowerCase(),la=ea.classList&&ea.classList.value?String(ea.classList.value):'';return {name:fa,id:ga,tag:ka,classList:la,value:ia,innerText:ja}}function y(ea){var fa={};fa.name=ea.name;fa.id=ea.id;fa.tag=ea.tagName.toLowerCase();if(fa.tag=='input')fa.inputType=ea.getAttribute('type');if(Object.prototype.hasOwnProperty.call(ea,'value')&&ea.value==='')fa.valueMeaning='empty';return fa}function z(ea,fa){var ga=fa.querySelectorAll(q),ha={},ia=[];for(var ja=0;jap)continue;if(ka==ea)continue;ia.push(y(ka))}return ia}function aa(ea){if(ea.form)return ea.form;var fa=ea;while(fa.nodeName!=='FORM'){if(!fa.parentElement)return ea;fa=fa.parentElement}return fa}function ba(ea){s.push(ea)}function ca(ea,fa,ga){var ha={labelledEvent:ga,buttonText:w(ea),buttonFeatures:x(ea),formFeatures:z(ea,fa)};k(s,function(ia){ha[ia.property]=ia.method()});return ha}function da(ea){return function fa(ga){var ha=v(ga.target);if(ha){var ia=ca(ha,aa(ha));k(ea.getOptedInPixels('InferredEvents'),function(ja){return ea.trackSingleCustom(ja,'SubscribedButtonClick',ia)})}}}e.exports=new i(function(ea,fa){ea.once('fired',function(){var ga=m(da(fa));b.addEventListener?b.addEventListener('click',ga,{capture:true,passive:true,once:false}):a.attachEvent('onclick',ga)})});e.exports.getForm=aa;e.exports.getPayload=ca;e.exports.addPayloadAnnotator=ba;e.exports.BUTTON_SELECTORS=r;if(g.registerPlugin)g.registerPlugin('fbevents.plugins.inferredevents',e.exports);g.ensureModuleRegistered('fbevents.plugins.inferredevents',function(){return e.exports})})();return e.exports})(window,document,location,history); (function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){var g=a.fbq;g.execStart=a.performance&&a.performance.now&&a.performance.now();if(!function(){var y=a.postMessage||function(){};if(!g){y({action:'FB_LOG',logType:'Facebook Pixel Error',logMessage:'Pixel code is not installed correctly on this page'},'*');if('error' in console)console.error('Facebook Pixel Error: Pixel code is not installed correctly on this page');return false}return true}())return;'use strict';var h=typeof Symbol==="function"&&typeof (typeof Symbol==='function'?Symbol.iterator:'@@iterator')==="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol==="function"&&y.constructor===Symbol&&y!==(typeof Symbol==='function'?Symbol.prototype:'@@prototype')?"symbol":typeof y};if(!g.__fbeventsModules){g.__fbeventsModules={};g.__fbeventsResolvedModules={};g.getFbeventsModules=function(y){if(!g.__fbeventsResolvedModules[y])g.__fbeventsResolvedModules[y]=g.__fbeventsModules[y]();return g.__fbeventsResolvedModules[y]};g.fbIsModuleLoaded=function(y){return !!g.__fbeventsModules[y]};g.ensureModuleRegistered=function(y,z){if(!g.fbIsModuleLoaded(y))g.__fbeventsModules[y]=z;}}g.ensureModuleRegistered('SignalsFBEventsUtils',function(){return function(y,z,aa,ba){var ca={exports:{}},da=ca.exports;(function(){'use strict';var ea='console',fa='error',ga='Facebook Pixel Error',ha='Facebook Pixel Warning',ia='warn',ja=Object.prototype.toString,ka=!('addEventListener' in z),la=function jb(){},ma=y[ea]||{},na=y.postMessage||la;function oa(jb){return Array.isArray?Array.isArray(jb):ja.call(jb)==='[object Array]'}function pa(jb){return typeof jb==='number'||typeof jb==='string'&&/^\d+$/.test(jb)}var qa={};function ra(jb){if(Object.prototype.hasOwnProperty.call(qa,jb)===false){qa[jb]=true;sa(jb)}}function sa(jb){try{na({action:'FB_LOG',logType:ga,logMessage:jb},'*')}catch(kb){}if(fa in ma)ma[fa](ga+': '+jb);}function ta(jb,kb){for(var lb=arguments.length,mb=Array(lb>2?lb-2:0),nb=2;nb>>0;if(typeof kb!=='function')throw new TypeError(kb+' is not a function');lb=new Array(ob);mb=0;while(mb>>0,mb=arguments.length>=2?arguments[1]:void 0;for(var nb=0;nb>>0;if(typeof jb!=='function')throw new TypeError();var mb=[],nb=arguments.length>=2?arguments[1]:void 0;for(var ob=0;ob>>6&31,128|gb&63)}else if(gb<=65535){fb+=String.fromCharCode(224|gb>>>12&15,128|gb>>>6&63,128|gb&63)}else if(gb<=2097151)fb+=String.fromCharCode(240|gb>>>18&7,128|gb>>>12&63,128|gb>>>6&63,128|gb&63);}return fb};function fa(db,eb){return eb>>>db|eb<<32-db}function ga(db,eb,fb){return db&eb^~db&fb}function ha(db,eb,fb){return db&eb^db&fb^eb&fb}function ia(db){return fa(2,db)^fa(13,db)^fa(22,db)}function ja(db){return fa(6,db)^fa(11,db)^fa(25,db)}function ka(db){return fa(7,db)^fa(18,db)^db>>>3}function la(db){return fa(17,db)^fa(19,db)^db>>>10}function ma(db,eb){return db[eb&15]+=la(db[eb+14&15])+db[eb+9&15]+ka(db[eb+1&15])}var na=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),oa=new Array(8),pa=new Array(2),qa=new Array(64),ra=new Array(16),sa="0123456789abcdef";function ta(db,eb){var fb=(db&65535)+(eb&65535),gb=(db>>16)+(eb>>16)+(fb>>16);return gb<<16|fb&65535}function ua(){pa[0]=pa[1]=0;oa[0]=1779033703;oa[1]=3144134277;oa[2]=1013904242;oa[3]=2773480762;oa[4]=1359893119;oa[5]=2600822924;oa[6]=528734635;oa[7]=1541459225}function va(){var db,eb,fb,gb,hb,ib,jb,kb,lb,mb;db=oa[0];eb=oa[1];fb=oa[2];gb=oa[3];hb=oa[4];ib=oa[5];jb=oa[6];kb=oa[7];for(var nb=0;nb<16;nb++)ra[nb]=qa[(nb<<2)+3]|qa[(nb<<2)+2]<<8|qa[(nb<<2)+1]<<16|qa[nb<<2]<<24;for(var ob=0;ob<64;ob++){lb=kb+ja(hb)+ga(hb,ib,jb)+na[ob];if(ob<16)lb+=ra[ob];else lb+=ma(ra,ob);mb=ia(db)+ha(db,eb,fb);kb=jb;jb=ib;ib=hb;hb=ta(gb,lb);gb=fb;fb=eb;eb=db;db=ta(lb,mb)}oa[0]+=db;oa[1]+=eb;oa[2]+=fb;oa[3]+=gb;oa[4]+=hb;oa[5]+=ib;oa[6]+=jb;oa[7]+=kb}function wa(db,eb){var fb,gb,hb=0;gb=pa[0]>>3&63;var ib=eb&63;if((pa[0]+=eb<<3)>29;for(fb=0;fb+63>3&63;qa[db++]=128;if(db<=56){for(var eb=db;eb<56;eb++)qa[eb]=0;}else{for(var eb=db;eb<64;eb++)qa[eb]=0;va();for(var eb=0;eb<56;eb++)qa[eb]=0;}qa[56]=pa[1]>>>24&255;qa[57]=pa[1]>>>16&255;qa[58]=pa[1]>>>8&255;qa[59]=pa[1]&255;qa[60]=pa[0]>>>24&255;qa[61]=pa[0]>>>16&255;qa[62]=pa[0]>>>8&255;qa[63]=pa[0]&255;va()}function ya(){var db=0,eb=new Array(32);for(var fb=0;fb<8;fb++){eb[db++]=oa[fb]>>>24&255;eb[db++]=oa[fb]>>>16&255;eb[db++]=oa[fb]>>>8&255;eb[db++]=oa[fb]&255}return eb}function za(){var db=new String();for(var eb=0;eb<8;eb++)for(var fb=28;fb>=0;fb-=4)db+=sa.charAt(oa[eb]>>>fb&15);return db}function ab(db){var eb=0;for(var fb=0;fb<8;fb++)for(var gb=28;gb>=0;gb-=4)db[eb++]=sa.charCodeAt(oa[fb]>>>gb&15);}function bb(db,eb){ua();wa(db,db.length);xa();if(eb){ab(eb)}else return za();}function cb(db,eb,fb){if(db===null||db===undefined)return null;eb=typeof eb=='undefined'?true:eb;if(eb)db=ea(db);return bb(db,fb)}ca.exports=cb})();return ca.exports}(a,b,c,d)});g.ensureModuleRegistered('undefined',function(){return undefined});'use strict';var i=g.getFbeventsModules('SignalsFBEventsUtils'),j=g.getFbeventsModules('SignalsFBEventsPlugin'),k=g.getFbeventsModules('SignalsFBEventsConstants'),l=k.ERRORS,m=i.keys,n=g.getFbeventsModules('sha256_with_dependencies_new'),o=/^[A-Fa-f0-9]{64}$|^[A-Fa-f0-9]{32}$/,p=/^[\w!#\$%&\'\*\+\/\=\?\^`\{\|\}~\-]+(:?\.[\w!#\$%&\'\*\+\/\=\?\^`\{\|\}~\-]+)*@(?:[a-z0-9](?:[a-z0-9\-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9\-]*[a-z0-9])?$/i,q=/^\s+|\s+$/g,r=Object.prototype.hasOwnProperty;function s(y){return !!y&&p.test(y)}function t(y){if(typeof y==='string')return y.replace(q,'');}function u(y){if(typeof y==='string')return y.toLowerCase();}function v(y,z){if(y==='ud[em]'||y==='ud[email]'){var aa=t(u(z));if(aa==null||aa=='')return null;if(!s(aa)){var ba=/ud\[(em|email)\]/.exec(y)[1];throw new Error(l.PII_INVALID('email address',ba))}return aa}return z}function w(y,z){if(z!=null)if(o.test(z)){return z.toLowerCase()}else{z=v(y,z);if(z!=null)return n(z);}return null}var x=new j(function(y){y.piiTranslator=w});x.piiTranslator=w;e.exports=x;if(g.registerPlugin)g.registerPlugin('fbevents.plugins.identity',e.exports);g.ensureModuleRegistered('fbevents.plugins.identity',function(){return e.exports})})();return e.exports})(window,document,location,history); (function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){var g=a.fbq;g.execStart=a.performance&&a.performance.now&&a.performance.now();if(!function(){var s=a.postMessage||function(){};if(!g){s({action:'FB_LOG',logType:'Facebook Pixel Error',logMessage:'Pixel code is not installed correctly on this page'},'*');if('error' in console)console.error('Facebook Pixel Error: Pixel code is not installed correctly on this page');return false}return true}())return;'use strict';var h=typeof Symbol==="function"&&typeof (typeof Symbol==='function'?Symbol.iterator:'@@iterator')==="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol==="function"&&s.constructor===Symbol&&s!==(typeof Symbol==='function'?Symbol.prototype:'@@prototype')?"symbol":typeof s};if(!g.__fbeventsModules){g.__fbeventsModules={};g.__fbeventsResolvedModules={};g.getFbeventsModules=function(s){if(!g.__fbeventsResolvedModules[s])g.__fbeventsResolvedModules[s]=g.__fbeventsModules[s]();return g.__fbeventsResolvedModules[s]};g.fbIsModuleLoaded=function(s){return !!g.__fbeventsModules[s]};g.ensureModuleRegistered=function(s,t){if(!g.fbIsModuleLoaded(s))g.__fbeventsModules[s]=t;}}g.ensureModuleRegistered('SignalsFBEventsPlugin',function(){return function(s,t,u,v){var w={exports:{}},x=w.exports;(function(){'use strict';function y(z){this.plugin=z;this.__fbEventsPlugin=1;return this}w.exports=y})();return w.exports}(a,b,c,d)});g.ensureModuleRegistered('SignalsFBEventsUtils',function(){return function(s,t,u,v){var w={exports:{}},x=w.exports;(function(){'use strict';var y='console',z='error',aa='Facebook Pixel Error',ba='Facebook Pixel Warning',ca='warn',da=Object.prototype.toString,ea=!('addEventListener' in t),fa=function db(){},ga=s[y]||{},ha=s.postMessage||fa;function ia(db){return Array.isArray?Array.isArray(db):da.call(db)==='[object Array]'}function ja(db){return typeof db==='number'||typeof db==='string'&&/^\d+$/.test(db)}var ka={};function la(db){if(Object.prototype.hasOwnProperty.call(ka,db)===false){ka[db]=true;ma(db)}}function ma(db){try{ha({action:'FB_LOG',logType:aa,logMessage:db},'*')}catch(eb){}if(z in ga)ga[z](aa+': '+db);}function na(db,eb){for(var fb=arguments.length,gb=Array(fb>2?fb-2:0),hb=2;hb>>0;if(typeof eb!=='function')throw new TypeError(eb+' is not a function');fb=new Array(ib);gb=0;while(gb>>0,gb=arguments.length>=2?arguments[1]:void 0;for(var hb=0;hb>>0;if(typeof db!=='function')throw new TypeError();var gb=[],hb=arguments.length>=2?arguments[1]:void 0;for(var ib=0;ib=0;v--){var w=t[v],x=w.querySelectorAll('[itemprop]'),y=w.getAttribute('itemtype');if(typeof y!=="string"||y==="")continue;var z={type:y,properties:{}};for(var aa=0;aao)ea=ea.substr(0,o);z.properties[ca]=ea}}s.push(z)}Array.prototype.reverse.call(s);return s||undefined}function q(){var s=new n(['og','product']),t=b.querySelector('head');if(t!==null){var u=t.getAttribute('prefix');if(u){k(/(?:^| )([A-z]+):(?: |http)/.exec(u).slice(1),function(ba){return s.add(ba)})}}var v={},w=b.querySelectorAll('meta[property]');for(var x=0;x0||m(v).length>0){var w={'Schema.org':u,OpenGraph:v};t.trackSingleCustom(s,'Microdata',w)}}e.exports=new i(function(s,t){var u={};s.on('fired',function(v,w){var x=w.get('id');if(Object.prototype.hasOwnProperty.call(u,x))return;var y=l(t.getOptedInPixels('Microdata'),function(z){return z.id===x});if(y){u[x]=true;r(x,t)}})});if(g.registerPlugin)g.registerPlugin('fbevents.plugins.microdata',e.exports);g.ensureModuleRegistered('fbevents.plugins.microdata',function(){return e.exports})})();return e.exports})(window,document,location,history); fbq.registerPlugin("1036102576479329", {__fbEventsPlugin: 1, plugin: function(fbq, instance) { if (!instance.pixelsByID.hasOwnProperty("1036102576479329")) { fbq.init("1036102576479329"); }instance.optIn("1036102576479329", "InferredEvents", true); instance.optIn("1036102576479329", "Microdata", true);instance.configLoaded("1036102576479329"); }});