From b379a03ed865c83ad08a87f083d1c8e4dc5cb768 Mon Sep 17 00:00:00 2001 From: Romeo Rosete <110788242+bombastictranz@users.noreply.github.com> Date: Tue, 23 Apr 2024 10:10:47 -0400 Subject: [PATCH 1/3] umd.js.download Stock control supervisors --- umd.js.download | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 umd.js.download diff --git a/umd.js.download b/umd.js.download new file mode 100644 index 00000000000..9954a953600 --- /dev/null +++ b/umd.js.download @@ -0,0 +1,7 @@ +(function(bt,_){typeof exports=="object"&&typeof module=="object"?module.exports=_():typeof define=="function"&&define.amd?define([],_):typeof exports=="object"?exports.KoalaSDK=_():bt.KoalaSDK=_()})(self,()=>(()=>{var Mt={1817:(s,d,e)=>{"use strict";e.r(d),e.d(d,{load:()=>Oe,mountWidget:()=>qt});function i(r,t,n,a,p){var g,v=p&&p+n;if(a==null)t&&(r[p]=a);else if(typeof a!="object")r[p]=a;else if(Array.isArray(a))for(g=0;gr.length)&&(t=r.length);for(var n=0,a=new Array(t);n=r.length?{done:!0}:{done:!1,value:r[a++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f=32,m=function(){function r(n,a){this.size=void 0,this.field=void 0,this.size=n,this.field=a,this.size=n,this.field=a||[];var p=Math.floor((n-1)/f+1);if(!a)for(var g=0,v=p-1,w=0<=v;w?g<=v:g>=v;w?g++:g--)this.field[g]=0}var t=r.prototype;return t.add=function(a){return this.set(a,1)},t.remove=function(a){return this.set(a,0)},t.set=function(a,p){if(a>=this.size)throw new Error("BitArray index out of bounds");var g=y(a),v=b(a);return p===1?this.field[g]=x(this.field[g]|v):this.field[g]&v&&(this.field[g]=x(this.field[g]^v)),!0},t.get=function(a){if(a>=this.size)throw new Error("BitArray index out of bounds");var p=y(a),g=b(a);return x(this.field[p]&g)>0?1:0},r}();function y(r){return Math.floor(r/f)}function b(r){return x(1<>>1:r>>>1;t[n]=r}return t}var S=A(),T=function(t){var n=E(t),a=0,p=0;a=a^-1;for(var g=0,v=n.length;g>>8^S[p],g++;return a=a^-1,a<0&&(a+=4294967296),a},E=function(t){for(var n=[],a=0;a=v;w?g++:g--)p.push(T(a+":"+(g+this.options.seed))%this.options.size);return p},r}(),O=Number.MAX_SAFE_INTEGER-1;function P(r,t){for(var n=new Array(r),a=0;ar.replace(/\.(\d+)/g,".[]");function W(r){return typeof r!="object"?!1:!!(r!=null&&r.hasOwnProperty("event"))}function G(r){return typeof r!="object"?!1:!!(r!=null&&r.hasOwnProperty("page")&&r.page.path)}function H(r,t,n){n===void 0&&(n=1),r.counts.add(t.toLowerCase(),n)}function M(r,t,n){r.counts.setCount(t.toLowerCase(),n)}function K(r,t){r.bloom.add(t.toLowerCase())}function N(r,t,n){const a=j(t);return typeof n=="number"?(M(r,a+":"+n,n),M(r,a,n)):(K(r,a+":"+n),K(r,a)),r}function $(r,t){if(Array.isArray(t)){t.forEach(a=>{$(r,a)});return}if(W(t)){var n;H(r,"events."+t.event),Object.entries(o((n=t.properties)!=null?n:{})).forEach(p=>{let[g,v]=p;N(r,g,v)});return}if(G(t)){H(r,"page_views."+t.page.path);return}if(typeof t=="object"){Object.entries(o(t)).forEach(p=>{let[g,v]=p;N(r,g,v)});return}}function V(r){var t,n,a;const p=new CountMinSketch,g=new JsBloom({size:1e4}),v={counts:p,bloom:g};return(t=r.events)==null||t.forEach(w=>{$(v,w)}),(n=r.pageViews)==null||n.map(w=>{$(v,w)}),$(v,(a=r.traits)!=null?a:{}),$(v,{account_score:r.accountScore}),$(v,{company:r.firmographics}),$(v,{person:r.person}),v}function U(r,t){return{is:n=>r.is(t,n),exists:()=>r.has(t),includesItem:function(){for(var n=arguments.length,a=new Array(n),p=0;p!r.is(t,n),includesItem:function(){for(var n=arguments.length,a=new Array(n),p=0;pr.has(t),is:n=>r.is(t,n),greaterThan:n=>r.greaterThan(t,n),greaterThanOrEqual:n=>r.greaterThanOrEqual(t,n),lessThan:n=>r.lessThan(t,n),lessThanOrEqual:n=>r.lessThanOrEqual(t,n),not:{is:n=>!r.is(t,n),greaterThan:n=>!r.greaterThan(t,n),greaterThanOrEqual:n=>!r.greaterThanOrEqual(t,n),lessThan:n=>!r.lessThan(t,n),lessThanOrEqual:n=>!r.lessThanOrEqual(t,n)}}}function Z(r,t){const n=t.toLowerCase();return!!(r.bloom.test(n)||r.counts.count(n))}function st(r,t,n){return r.counts.count(t.toLowerCase())>n}function ut(r,t,n){return r.counts.count(t.toLowerCase())>=n}function lt(r,t,n){return r.counts.count(t.toLowerCase())nt(r,t+"."+g,n[g]))}function Nt(r,t,n){return nt(r,t,n)||nt(r,t+".[]",n)}function Pe(r,t,n){return n.some(a=>Nt(r,t,a))}function Ie(r,t,n){return n.every(a=>Nt(r,t,a))}class wt{constructor(t){this.profile=void 0,this.profile=t,this.profile=t}has(t){return Z(this.profile,t)}greaterThan(t,n){return st(this.profile,t,n)}greaterThanOrEqual(t,n){return ut(this.profile,t,n)}lessThan(t,n){return lt(this.profile,t,n)}lessThanOrEqual(t,n){return dt(this.profile,t,n)}is(t,n){return nt(this.profile,t,n)}matchesObject(t,n){return ct(this.profile,t,n)}includes(t,n){return Nt(this.profile,t,n)}includesAnyOf(t,n){return Pe(this.profile,t,n)}includesAllOf(t,n){return Ie(this.profile,t,n)}get not(){return{has:t=>!this.has(t),greaterThan:(t,n)=>!this.greaterThan(t,n),greaterThanOrEqual:(t,n)=>!this.greaterThanOrEqual(t,n),lessThan:(t,n)=>!this.lessThan(t,n),lessThanOrEqual:(t,n)=>!this.lessThanOrEqual(t,n),is:(t,n)=>!this.is(t,n),matchesObject:(t,n)=>!this.matchesObject(t,n),includes:(t,n)=>!this.includes(t,n),includesAnyOf:(t,n)=>!this.includesAnyOf(t,n),includesAllOf:(t,n)=>!this.includesAllOf(t,n)}}}function Q(r,t){return{exists:()=>r.has(t),is:n=>r.is(t,n),includesItem:function(){for(var n=arguments.length,a=new Array(n),p=0;pr.includes(t,n),includesAnyOf:function(){for(var n=arguments.length,a=new Array(n),p=0;pr.has(t),is:n=>r.is(t,n),greaterThan:n=>r.greaterThan(t,n),greaterThanOrEqual:n=>r.greaterThanOrEqual(t,n),lessThan:n=>r.lessThan(t,n),lessThanOrEqual:n=>r.lessThanOrEqual(t,n)}}class je{constructor(t){this.traits=void 0,this.traits=new wt(t)}get name(){return Q(this.traits,"company.name")}get domain(){return Q(this.traits,"company.domain")}get sector(){return Q(this.traits,"company.category.sector")}get type(){return Q(this.traits,"company.type")}get industryGroup(){return Q(this.traits,"company.category.industryGroup")}get industry(){return Q(this.traits,"company.category.industry")}get subIndustry(){return Q(this.traits,"company.category.subIndustry")}get foundedYear(){return ht(this.traits,"company.foundedYear")}get timezone(){return Q(this.traits,"company.timezone")}get city(){return Q(this.traits,"company.geo.city")}get state(){return Q(this.traits,"company.geo.state")}get stateCode(){return Q(this.traits,"company.geo.stateCode")}get country(){return Q(this.traits,"company.geo.country")}get countryCode(){return Q(this.traits,"company.geo.countryCode")}get employeeCount(){return ht(this.traits,"company.metrics.employees")}get employeesRange(){return Q(this.traits,"company.metrics.employeesRange")}get marketCap(){return ht(this.traits,"company.metrics.marketCap")}get amountRaised(){return ht(this.traits,"company.metrics.raised")}get annualRevenue(){return ht(this.traits,"company.metrics.annualRevenue")}get estimatedAnnualRevenue(){return Q(this.traits,"company.metrics.estimatedAnnualRevenue")}get tech(){return kt(this.traits,"company.tech")}get techCategories(){return kt(this.traits,"company.techCategories")}get tags(){return kt(this.traits,"company.tags")}isB2B(){return this.tags.includesItem("B2B")}isB2C(){return this.tags.includesItem("B2C")}isEnterprise(){return this.tags.includesItem("Enterprise")}isEcommerce(){return this.tags.includesItem("E-commerce")}isSaas(){return this.tags.includesItem("SAAS")}}function te(r,t,n){return n===void 0&&(n=1),ee(r,n,t)}function Fe(r){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;ate(r,p))}function ee(r,t,n){return r.counts.count(("events."+n).toLowerCase())>=t}class De{constructor(t){this.profile=void 0,this.profile=t}performed(t,n){return n===void 0&&(n=1),te(this.profile,t,n)}performedAnyOf(){for(var t=arguments.length,n=new Array(t),a=0;a!this.performedAtLeast(n,a)}}}function Me(){for(var r=arguments.length,t=new Array(r),n=0;n{if(await r()){t==null||t(),a();return}const g=()=>setTimeout(async()=>{await r()?(t==null||t(),a()):g()},n);g()})}function ne(r,t,n){return n===void 0&&(n=1),r.counts.count(("page_views."+t).toLowerCase())>=n}const ke=ne;function _e(r,t){return window.location.pathname.toLowerCase()===t.toLowerCase()}class We{constructor(t){this.profile=void 0,this.profile=t,this.profile=t}seen(t,n){return n===void 0&&(n=1),ne(this.profile,t,n)}viewed(t){return ke(this.profile,t)}viewing(t){return _e(this.profile,t)}get not(){var t=this;return{seen:function(n,a){return a===void 0&&(a=1),!t.seen(n,a)},viewed:n=>!this.viewed(n),viewing:n=>!this.viewing(n)}}}class Ue{constructor(t){this.traits=void 0,this.traits=new wt(t)}get timezone(){return U(this.traits,"person.timezone")}get city(){return U(this.traits,"person.geo.city")}get state(){return U(this.traits,"person.geo.state")}get stateCode(){return U(this.traits,"person.geo.stateCode")}get country(){return U(this.traits,"person.geo.country")}get countryCode(){return U(this.traits,"person.geo.countryCode")}get company(){return U(this.traits,"person.employment.name")}get title(){return U(this.traits,"person.employment.title")}get role(){return U(this.traits,"person.employment.role")}get subRole(){return U(this.traits,"person.employment.subRole")}get seniority(){return U(this.traits,"person.employment.seniority")}}class Be{constructor(t,n){this.traits=void 0,this.prefix="",this.traits=new wt(t),this.prefix=n}get fitGrade(){return X(this.traits,this.prefix+".fit_grade")}get fitGradeLetter(){return U(this.traits,this.prefix+".fit_grade_letter")}}function Ge(r,t){$(r,t)}function _t(r){const t=new L(r.b),a={counts:new F(r.c),bloom:t};return{traits:new wt(a),events:new De(a),page:new We(a),company:new je(a),person:new Ue(a),scores:{account:new Be(a,"account_score")},inSegment:Me,when:Ne,raw:a,index:p=>Ge(a,p)}}function hr(r){return V(r)}var He=e(3493),ft=e.n(He),ze=e(359),Wt=e.n(ze);const re="https://api.getkoala.com";function se(r="host"){return typeof globalThis!="undefined"&&globalThis.koalaSettings&&(globalThis.koalaSettings[r]||globalThis.koalaSettings.host)||re}const Ut=se("host"),$e=se("wssHost");function ie(r,t){return fetch(`${Ut}${r}`,{method:"POST",body:typeof t=="string"?t:JSON.stringify(t),keepalive:!0,headers:{"Content-Type":"application/json"}})}function Ke(r){return fetch(`${Ut}${r}`).then(t=>{if(!t.ok)throw new Error(`${t.status} ${t.statusText}`);return t.json()})}const oe=navigator.sendBeacon&&navigator.sendBeacon.bind(navigator);function Je(r,t){if(oe)try{return oe(`${Ut}${r}`,t)}catch(n){}return!1}function pt(r,t){const n=JSON.stringify(t);return Je(r,n)||ie(r,n).then(()=>!0).catch(()=>!1)}async function Ye(r,t){return ie(r,t).then(n=>{if(!n.ok)throw new Error(`${n.status} ${n.statusText}`);const a=n.headers.get("content-type");return a!=null&&a.includes("application/json")?n.json():n.text()})}async function Ve(r,t){if(!t.user.id)throw new Error("missing profile id");const n=await Ye(`/web/projects/${r}/profiles`,{profile_id:t.user.id,email:t.email,traits:t.traits});return{...n,qualification:n.q}}function Ze(r,t,n){return pt(`/web/projects/${r}/batch`,{profile_id:t.user.id,email:t.email,traits:t.traits,identifies:[n]})}function Xe(r,t,n=[]){if(n.length!==0)return pt(`/web/projects/${r}/batch`,{profile_id:t,events:n})}function Qe(r,t,n=[]){if(n.length!==0)return pt(`/web/projects/${r}/batch`,{profile_id:t,page_views:n})}function qe({project:r,...t}){return pt(`/web/projects/${r}/utk`,t)}var xt={logger:self.console,WebSocket:self.WebSocket},J={log(...r){this.enabled&&(r.push(Date.now()),xt.logger.log("[ActionCable]",...r))}};const gt=()=>new Date().getTime(),At=r=>(gt()-r)/1e3;class mt{constructor(t){this.visibilityDidChange=this.visibilityDidChange.bind(this),this.connection=t,this.reconnectAttempts=0}start(){this.isRunning()||(this.startedAt=gt(),delete this.stoppedAt,this.startPolling(),addEventListener("visibilitychange",this.visibilityDidChange),J.log(`ConnectionMonitor started. stale threshold = ${this.constructor.staleThreshold} s`))}stop(){this.isRunning()&&(this.stoppedAt=gt(),this.stopPolling(),removeEventListener("visibilitychange",this.visibilityDidChange),J.log("ConnectionMonitor stopped"))}isRunning(){return this.startedAt&&!this.stoppedAt}recordPing(){this.pingedAt=gt()}recordConnect(){this.reconnectAttempts=0,this.recordPing(),delete this.disconnectedAt,J.log("ConnectionMonitor recorded connect")}recordDisconnect(){this.disconnectedAt=gt(),J.log("ConnectionMonitor recorded disconnect")}startPolling(){this.stopPolling(),this.poll()}stopPolling(){clearTimeout(this.pollTimeout)}poll(){this.pollTimeout=setTimeout(()=>{this.reconnectIfStale(),this.poll()},this.getPollInterval())}getPollInterval(){const{staleThreshold:t,reconnectionBackoffRate:n}=this.constructor,a=Math.pow(1+n,Math.min(this.reconnectAttempts,10)),g=(this.reconnectAttempts===0?1:n)*Math.random();return t*1e3*a*(1+g)}reconnectIfStale(){this.connectionIsStale()&&(J.log(`ConnectionMonitor detected stale connection. reconnectAttempts = ${this.reconnectAttempts}, time stale = ${At(this.refreshedAt)} s, stale threshold = ${this.constructor.staleThreshold} s`),this.reconnectAttempts++,this.disconnectedRecently()?J.log(`ConnectionMonitor skipping reopening recent disconnect. time disconnected = ${At(this.disconnectedAt)} s`):(J.log("ConnectionMonitor reopening"),this.connection.reopen()))}get refreshedAt(){return this.pingedAt?this.pingedAt:this.startedAt}connectionIsStale(){return At(this.refreshedAt)>this.constructor.staleThreshold}disconnectedRecently(){return this.disconnectedAt&&At(this.disconnectedAt){(this.connectionIsStale()||!this.connection.isOpen())&&(J.log(`ConnectionMonitor reopening stale connection on visibilitychange. visibilityState = ${document.visibilityState}`),this.connection.reopen())},200)}}mt.staleThreshold=6,mt.reconnectionBackoffRate=.15;var ae={message_types:{welcome:"welcome",disconnect:"disconnect",ping:"ping",confirmation:"confirm_subscription",rejection:"reject_subscription"},disconnect_reasons:{unauthorized:"unauthorized",invalid_request:"invalid_request",server_restart:"server_restart"},default_mount_path:"/cable",protocols:["actioncable-v1-json","actioncable-unsupported"]};const{message_types:vt,protocols:Tt}=ae,tn=Tt.slice(0,Tt.length-1),ue=[].indexOf;class Bt{constructor(t){this.open=this.open.bind(this),this.consumer=t,this.subscriptions=this.consumer.subscriptions,this.monitor=new mt(this),this.disconnected=!0}send(t){return this.isOpen()?(this.webSocket.send(JSON.stringify(t)),!0):!1}open(){return this.isActive()?(J.log(`Attempted to open WebSocket, but existing socket is ${this.getState()}`),!1):(J.log(`Opening WebSocket, current state is ${this.getState()}, subprotocols: ${Tt}`),this.webSocket&&this.uninstallEventHandlers(),this.webSocket=new xt.WebSocket(this.consumer.url,Tt),this.installEventHandlers(),this.monitor.start(),!0)}close({allowReconnect:t}={allowReconnect:!0}){if(t||this.monitor.stop(),this.isOpen())return this.webSocket.close()}reopen(){if(J.log(`Reopening WebSocket, current state is ${this.getState()}`),this.isActive())try{return this.close()}catch(t){J.log("Failed to reopen WebSocket",t)}finally{J.log(`Reopening WebSocket in ${this.constructor.reopenDelay}ms`),setTimeout(this.open,this.constructor.reopenDelay)}else return this.open()}getProtocol(){if(this.webSocket)return this.webSocket.protocol}isOpen(){return this.isState("open")}isActive(){return this.isState("open","connecting")}isProtocolSupported(){return ue.call(tn,this.getProtocol())>=0}isState(...t){return ue.call(t,this.getState())>=0}getState(){if(this.webSocket){for(let t in xt.WebSocket)if(xt.WebSocket[t]===this.webSocket.readyState)return t.toLowerCase()}return null}installEventHandlers(){for(let t in this.events){const n=this.events[t].bind(this);this.webSocket[`on${t}`]=n}}uninstallEventHandlers(){for(let t in this.events)this.webSocket[`on${t}`]=function(){}}}Bt.reopenDelay=500,Bt.prototype.events={message(r){if(!this.isProtocolSupported())return;const{identifier:t,message:n,reason:a,reconnect:p,type:g}=JSON.parse(r.data);switch(g){case vt.welcome:return this.monitor.recordConnect(),this.subscriptions.reload();case vt.disconnect:return J.log(`Disconnecting. Reason: ${a}`),this.close({allowReconnect:p});case vt.ping:return this.monitor.recordPing();case vt.confirmation:return this.subscriptions.confirmSubscription(t),this.subscriptions.notify(t,"connected");case vt.rejection:return this.subscriptions.reject(t);default:return this.subscriptions.notify(t,"received",n)}},open(){if(J.log(`WebSocket onopen event, using '${this.getProtocol()}' subprotocol`),this.disconnected=!1,!this.isProtocolSupported())return J.log("Protocol is unsupported. Stopping monitor and disconnecting."),this.close({allowReconnect:!1})},close(r){if(J.log("WebSocket onclose event"),!this.disconnected)return this.disconnected=!0,this.monitor.recordDisconnect(),this.subscriptions.notifyAll("disconnected",{willAttemptReconnect:this.monitor.isRunning()})},error(){J.log("WebSocket onerror event")}};const en=function(r,t){if(t!=null)for(let n in t){const a=t[n];r[n]=a}return r};class nn{constructor(t,n={},a){this.consumer=t,this.identifier=JSON.stringify(n),en(this,a)}perform(t,n={}){return n.action=t,this.send(n)}send(t){return this.consumer.send({command:"message",identifier:this.identifier,data:JSON.stringify(t)})}unsubscribe(){return this.consumer.subscriptions.remove(this)}}class rn{constructor(t){this.subscriptions=t,this.pendingSubscriptions=[]}guarantee(t){this.pendingSubscriptions.indexOf(t)==-1?(J.log(`SubscriptionGuarantor guaranteeing ${t.identifier}`),this.pendingSubscriptions.push(t)):J.log(`SubscriptionGuarantor already guaranteeing ${t.identifier}`),this.startGuaranteeing()}forget(t){J.log(`SubscriptionGuarantor forgetting ${t.identifier}`),this.pendingSubscriptions=this.pendingSubscriptions.filter(n=>n!==t)}startGuaranteeing(){this.stopGuaranteeing(),this.retrySubscribing()}stopGuaranteeing(){clearTimeout(this.retryTimeout)}retrySubscribing(){this.retryTimeout=setTimeout(()=>{this.subscriptions&&typeof this.subscriptions.subscribe=="function"&&this.pendingSubscriptions.map(t=>{J.log(`SubscriptionGuarantor resubscribing ${t.identifier}`),this.subscriptions.subscribe(t)})},500)}}class sn{constructor(t){this.consumer=t,this.guarantor=new rn(this),this.subscriptions=[]}create(t,n){const a=t,p=typeof a=="object"?a:{channel:a},g=new nn(this.consumer,p,n);return this.add(g)}add(t){return this.subscriptions.push(t),this.consumer.ensureActiveConnection(),this.notify(t,"initialized"),this.subscribe(t),t}remove(t){return this.forget(t),this.findAll(t.identifier).length||this.sendCommand(t,"unsubscribe"),t}reject(t){return this.findAll(t).map(n=>(this.forget(n),this.notify(n,"rejected"),n))}forget(t){return this.guarantor.forget(t),this.subscriptions=this.subscriptions.filter(n=>n!==t),t}findAll(t){return this.subscriptions.filter(n=>n.identifier===t)}reload(){return this.subscriptions.map(t=>this.subscribe(t))}notifyAll(t,...n){return this.subscriptions.map(a=>this.notify(a,t,...n))}notify(t,n,...a){let p;return typeof t=="string"?p=this.findAll(t):p=[t],p.map(g=>typeof g[n]=="function"?g[n](...a):void 0)}subscribe(t){this.sendCommand(t,"subscribe")&&this.guarantor.guarantee(t)}confirmSubscription(t){J.log(`Subscription confirmed ${t}`),this.findAll(t).map(n=>this.guarantor.forget(n))}sendCommand(t,n){const{identifier:a}=t;return this.consumer.send({command:n,identifier:a})}}class on{constructor(t){this._url=t,this.subscriptions=new sn(this),this.connection=new Bt(this)}get url(){return an(this._url)}send(t){return this.connection.send(t)}connect(){return this.connection.open()}disconnect(){return this.connection.close({allowReconnect:!1})}ensureActiveConnection(){if(!this.connection.isActive())return this.connection.open()}}function an(r){if(typeof r=="function"&&(r=r()),r&&!/^wss?:/i.test(r)){const t=document.createElement("a");return t.href=r,t.href=t.href,t.protocol=t.protocol.replace("http","ws"),t.href}else return r}function un(r=cn("url")||ae.default_mount_path){return new on(r)}function cn(r){const t=document.head.querySelector(`meta[name='action-cable-${r}']`);if(t)return t.getAttribute("content")}function Gt(r){var t,n;const a=((t=performance==null?void 0:performance.getEntriesByType)==null?void 0:t.call(performance,"navigation"))||[];return r.type==="pageshow"&&(r.persisted||((n=a[0])==null?void 0:n.type)==="back_forward")}let tt,ce,le;mt.staleThreshold=10,mt.reconnectionBackoffRate=.2;const ln=(r,t)=>{if((ce!==t||le!==r)&&(tt==null||tt.disconnect(),tt=void 0),!tt){const n=`${$e.replace("https","wss")}/cable?profile_id=${r}&project_slug=${t}`;tt=un(n),ce=t,le=r}return tt};window.addEventListener("pagehide",()=>{var r,t;tt&&(tt.disconnect(),(t=(r=tt.connection)==null?void 0:r.webSocket)==null||t.close())},{capture:!0}),window.addEventListener("pageshow",r=>{tt&&Gt(r)&&tt.connection.reopen()},{capture:!0});function dn(r,t,n){return r.subscriptions.create({channel:"ProfileChannel",sid:t.session.id},{isConnected:!1,initialized(){this.updatePresence=this.updatePresence.bind(this)},connected(){this.isConnected=!0},disconnected(){this.isConnected=!1},rejected(){this.isConnected=!1},updatePresence(a){!this.isConnected||!a||this.perform("presence",{sid:t.session.id,last_activity_at:a,visible:document.visibilityState==="visible"})},received:n})}const hn="1.11.1";var Ht=e(2998);function fn(r){return r=r==null?void 0:r.trim(),!r||r.length%4!==0?!1:/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(r)}function de(r,t){try{return r=new URL(r,window.location.origin),t=new URL(t||window.location.href,window.location.origin),r.hostname===t.hostname&&r.pathname===t.pathname}catch(n){return!1}}var zt=e(4221);/*! js-cookie v3.0.1 | MIT */function St(r){for(var t=1;t=0;--g)p.push(n.slice(g).join("."));return p}function Kt(r){const t=mn(r);for(let n=0;nyn}function xn(r){return new Date().getTime()-r.lastTouched256){for(Et=Array(r=256);r--;)Et[r]=256*Math.random()|0;r=it=0}for(;r<16;r++)t=Et[it+r],r==6?n+=Ot[t&15|64]:r==8?n+=Ot[t&63|128]:n+=Ot[t],r&1&&r>1&&r<11&&(n+="-");return it++,n}var Ln=e(8446),On=e.n(Ln);const ot="ko_id",Vt="kl:traits";let Pt;try{Pt=Kt(new URL(window.location.href))}catch(r){Pt=void 0}function we(){return window.localStorage.getItem(ot)||rt.get(ot)}class Zt{constructor(t){this.cookieDefaults={expires:365,domain:Pt,path:"/",sameSite:"lax"},this.cookieDefaults={...this.cookieDefaults,...t==null?void 0:t.cookies}}id(){const t=we();return t||this.setId(Rt())}setId(t){return be(Pt,this.cookieDefaults.domain)?ve(ot,t,this.cookieDefaults):Lt(ot),window.localStorage.setItem(ot,t),t}email(){return this.traits().email}traits(){try{return JSON.parse(window.localStorage.getItem(Vt)||"{}")}catch(t){return{}}}upsertTraits(t){const a={...this.traits(),...t};return window.localStorage.setItem(Vt,JSON.stringify(a)),a}netNewTraits(t){const n=this.traits(),a={...t};return Object.keys(a).forEach(p=>{On()(n[p],a[p])&&delete a[p]}),a}userInfo(){return{id:this.id(),traits:this.traits()}}reset(){window.localStorage.removeItem(ot),window.localStorage.removeItem(Vt),Lt(ot)}}const En=r=>{var t;return new Zt({cookies:(t=r.sdk_settings)==null?void 0:t.cookie_defaults})};function Rn(){const r=window.navigator.userAgent;return/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(r)?"tablet":/Mobile|Android|iP(hone|od)|IEMobile|BlackBerry|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(r)?"mobile":"desktop"}function Pn(){try{return Yt()}catch(r){}}function In(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(r){}}class jn{constructor(t){this.current=a=>{var p,g;const v=a==="page"?void 0:Pn(),w=window.ko;return{page:v,userAgent:window.navigator.userAgent,platform:{name:window.navigator.platform,deviceType:Rn()},playbooks:{id:(p=w==null?void 0:w.activePlaybook)==null?void 0:p.id,matchingPlaybooks:(g=w==null?void 0:w.matchingPlaybooks)==null?void 0:g.map(D=>D.id)},library:{name:"koala",version:w==null?void 0:w.version},session:this.session(),locale:window.navigator.language,timezone:In()}};var n;this.options=t||{},this.user=new Zt({cookies:(n=this.options.sdk_settings)==null?void 0:n.cookie_defaults})}session(){return Jt.fetch(this.options.sdk_settings)}}class It{constructor(){this.callbacks={}}on(t,n){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(n),this}once(t,n){const a=(...p)=>{this.off(t,a),n.apply(this,p)};return this.on(t,a),this}off(t,n){const a=this.callbacks[t];if(a){const p=a.filter(g=>g!==n);this.callbacks[t]=p}return this}emit(t,...n){const a=this.callbacks[t];return a&&a.forEach(p=>p.apply(this,n)),this}removeListeners(){this.callbacks={}}}function Fn(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"&&typeof r.catch=="function"}class xe extends It{constructor(t={}){super(),this.flushed=[],this.queue=new Set,this.flushing=!1,t.onSend&&(this.onSend=t.onSend),this.scheduleSend=ft()(this.send,t.flushInterval||1e4,{leading:!1,trailing:!0})}add(t){this.queue.add(t),this.scheduleSend()}flush(){this.scheduleSend.flush()}get all(){return this.flushed.concat(Array.from(this.queue))}reset(){this.queue.clear(),this.flushed.length=0}onSend(t){return!0}send(t=!1){if(this.flushing&&!t){setTimeout(()=>this.scheduleSend(),0);return}try{if(this.flushing=!0,this.queue.size){const n=Array.from(this.queue),a=this.onSend(n),p=g=>{g!==!1&&(this.flushed.push(...n),this.queue.clear(),this.emit("processed",n))};Fn(a)?a.then(p).finally(()=>{this.flushing=!1}):p(a)}}finally{this.flushing=!1}}}class Dn extends xe{constructor(t={},n,a){super(t),this.events=[],this.projectSlug=n,this.context=a}track(t,n={},a="track"){const p={context:this.context.current("event"),message_id:Rt(),type:a,event:t,properties:n,sent_at:new Date().toISOString()};this.events.push(p),this.add(p)}onSend(t=[]){const n=this.context.user.id(),a=this.projectSlug;return!a||!n?!1:Xe(a,n,t)}}var fr=e(9865),Mn=e(8929),Ae=e.n(Mn),Nn=e(5021),Xt=e.n(Nn),kn=e(1865),Te=e.n(kn);let jt;const Qt=["ccn","cvv","password","pin","secret","token","creditCard"].flatMap(r=>[r.toLowerCase(),Te()(r),Xt()(r)]),_n=["email","name","employees","employeeCount","phone","firstName","lastName","fullName","title","username","website","domain","company"].flatMap(r=>[r,Te()(r),Xt()(r)]);function Wn(r,t){let n=r;for(;n&&!(t(n)||(n=n.parentElement,!n||n.tagName==="FORM")););return n}function Ft(r){var t,n;return((t=r==null?void 0:r.innerText)==null?void 0:t.trim())||((n=r==null?void 0:r.textContent)==null?void 0:n.trim())}function Un(r,t){let n;if(r.labels&&r.labels.length){const[a,...p]=Array.from(r.labels);n=Ft(a)}if(!n){const a=[r.previousElementSibling,r.nextElementSibling].filter(p=>(p==null?void 0:p.tagName)==="LABEL"&&Ft(p));a.length&&(n=Ft(a[0]))}if(!n){const a=Wn(r,p=>{const g=p.querySelectorAll("label").length>0,v=t.every(w=>w===r||!p.contains(w));return g&&v});a&&a.tagName!=="FORM"&&(n=Ft(a.querySelector("label")))}return Ae()(n)}function Bn(r,t){const n=r.tagName.toLowerCase(),a=r.type,p=r.id?`#${r.id}`:"",g=r.className?`.${r.className}`:"";return`${n}_${t}_${[a,p,g].filter(Boolean).join("_")}`}function Gn(r){const t={},n=Array.from(r.elements);for(const a of n){if(!a.value||!["INPUT","SELECT","TEXTAREA"].includes(a.tagName)||["checkbox","radio"].includes(a.type)&&!a.checked||a.type==="password"||a.type==="hidden"||a.type==="submit"||a.name&&Qt.some(w=>a.name.toLowerCase().includes(w))||a.id&&Qt.some(w=>a.id.toLowerCase().includes(w)))continue;const p=Un(a,n);if(p&&Qt.some(w=>p.toLowerCase().includes(w)))continue;const g=a.id||Bn(a,n.indexOf(a)),v=[a.name,p,g].filter(Boolean);for(const w of v)if(!t[w]){t[w]={id:g,label:p,name:a.name,type:a.type,tagName:a.tagName,value:a.value};break}}return t}function Hn(r){const t={};for(const[n,a]of Object.entries(r))t[n]=a.value;return t}function Dt(r){const t=document.createElement("input");return t.type="email",t.required=!0,t.value=String(r),t.checkValidity()}function zn(r){return Object.entries(r).filter(([t,n])=>{var a,p,g,v,w,D;return n.type==="email"||(p=(a=n.name)==null?void 0:a.toLowerCase())!=null&&p.includes("email")||(v=(g=n.label)==null?void 0:g.toLowerCase())!=null&&v.includes("email")||(D=(w=n.id)==null?void 0:w.toLowerCase())!=null&&D.includes("email")?Dt(n.value):!1}).map(([t])=>t)}function $n(r){const t={},n=zn(r),a=n.length===1;for(const[p,g]of Object.entries(r)){if(a&&n[0]===p){t.email=g.value;continue}const w=[g.name,g.label,g.id].filter(Boolean).map(D=>Ae()(Xt()(D).replace(/^(your|work|business|job)(\s+)/i,""))).find(D=>_n.includes(D)&&!t[D]);w&&w!=="email"&&g.value&&(t[w]=g.value)}if(!t.email)for(const p of Object.keys(t))p.toLowerCase().includes("name")&&delete t[p];return t}function Kn(r){Se();const t=async g=>{const v=g instanceof HTMLFormElement,w=g.tagName,D=v||w==="FORM";if(g.getAttribute("data-koala-collect")==="off"||!D)return;const z=Yt(),Y=Gn(g),et=Hn(Y),q=$n(Y),at=g.getAttribute("data-koala-selector")||g.getAttribute("id")||g.className;try{await r({context:{page:z,selector:at},name:g.getAttribute("name")||g.id,method:g.method,action:g.action,formData:et,traits:q})}catch(yt){}},n=async g=>{try{const v=g.target;if(typeof v.requestSubmit=="function"){g.preventDefault(),g.stopPropagation(),await t(v);const w=v.querySelector("button[type=submit]"),D=g.currentTarget;setTimeout(()=>{w?v.requestSubmit(w):v.requestSubmit(),D==null||D.addEventListener("submit",n,{capture:!0,once:!0})},0)}else{await t(v);const w=g.currentTarget;w==null||w.addEventListener("submit",n,{capture:!0,once:!0})}}catch(v){}};document.addEventListener("submit",n,{capture:!0,once:!0});const a=document.querySelectorAll("iframe");a.forEach(g=>{const v=g.contentDocument;v&&(0,Ht.A)(()=>{v.addEventListener("submit",n,{capture:!0,once:!0})},v)});const p=HTMLFormElement.prototype.submit;return HTMLFormElement.prototype.submit=async function(){try{await t(this)}catch(g){}p.call(this)},jt=()=>{document.removeEventListener("submit",n,{capture:!0}),a.forEach(g=>{const v=g.contentDocument;v&&(0,Ht.A)(()=>{v.removeEventListener("submit",n,{capture:!0})},v)}),HTMLFormElement.prototype.submit=p},jt}function Se(){jt&&jt()}function Jn({project:r,...t}){return pt(`/web/projects/${r}/metrics`,t)}class Yn extends xe{constructor(t={},n,a){super(t),this.projectSlug=n,this.context=a}increment(t,n){this.add({context:this.context.current("metric"),id:Rt(),name:t,properties:n,sent_at:new Date})}onSend(t=[]){const n=this.context.user.id(),a=this.projectSlug;return!a||!n?!1:Jn({project:a,profile_id:n,metrics:t})}}function Vn(r){const{top:t,left:n,right:a,bottom:p}=r.getBoundingClientRect(),g=r.offsetWidth,v=r.offsetHeight;return t>=-v&&n>=-g&&a<=(window.innerWidth||document.documentElement.clientWidth)+g&&p<=(window.innerHeight||document.documentElement.clientHeight)+v}class Zn extends It{constructor(t={}){super(),this.isFocused=!1,this.checkIdleIntervalMs=1e3,this.registered=!1,this.startAutocapture=()=>{!document.hidden&&!this.isFocused&&this.startFocus(),this.registerListeners()},this.stopAutocapture=()=>{this.unregisterListeners(),this.endFocus()},this.restart=()=>{this.isFocused&&this.endFocus(),document.hidden||this.startFocus()},this.registerListeners=()=>{this.registered||(this.registered=!0,document.addEventListener("visibilitychange",this.onVisibilityChangeWrapper),window.addEventListener("blur",this.onBlur),window.addEventListener("focus",this.onFocus),window.addEventListener("scroll",this.pulse,{capture:!0,passive:!0}),document.addEventListener("mousedown",this.pulse,{passive:!0}),document.addEventListener("mousemove",this.pulse,{passive:!0}),document.addEventListener("touchstart",this.pulse,{passive:!0}),document.addEventListener("touchmove",this.pulse,{passive:!0}),document.addEventListener("keydown",this.pulse,{passive:!0}),document.addEventListener("keyup",this.pulse,{passive:!0}),document.addEventListener("click",this.pulse,{passive:!0}),document.addEventListener("contextmenu",this.pulse,{passive:!0}),document.addEventListener("play",this.pulse,{capture:!0,passive:!0}),window.addEventListener("pageshow",this.onBfCacheRestore),this.checkMedia(),this.checkIdleTime())},this.unregisterListeners=()=>{this.registered&&(window.clearTimeout(this.idleIntervalCheck),window.clearTimeout(this.idleMediaTimer),window.removeEventListener("blur",this.onBlur),window.removeEventListener("focus",this.onFocus),window.removeEventListener("scroll",this.pulse,{capture:!0}),document.removeEventListener("visibilitychange",this.onVisibilityChangeWrapper),document.removeEventListener("mousedown",this.pulse),document.removeEventListener("mousemove",this.pulse),document.removeEventListener("touchstart",this.pulse),document.removeEventListener("touchmove",this.pulse),document.removeEventListener("keydown",this.pulse),document.removeEventListener("keyup",this.pulse),document.removeEventListener("click",this.pulse),document.removeEventListener("contextmenu",this.pulse),document.removeEventListener("play",this.pulse,{capture:!0}),window.removeEventListener("pageshow",this.onBfCacheRestore),this.registered=!1)},this.onBfCacheRestore=n=>{Gt(n)&&document.visibilityState==="visible"&&(this.startFocus(),this.checkMedia(),this.checkIdleTime())},this.startFocus=()=>{const n=performance.now();this.isFocused=!0,this.focusStart=n,this.lastFocusStart=n,this.emit("focus_time.start",this.focusStart)},this.endFocus=()=>{this.pulse.cancel(),this.emit("focus_time.end",this.currentFocusTime),this.isFocused=!1},this.onVisibilityChangeWrapper=()=>this.onVisibilityChange(document.visibilityState),this.checkIdleTime=()=>{window.clearTimeout(this.idleIntervalCheck),this.pulse.flush(),this.idleTime>=this.idleInterval&&this.endFocus(),this.idleIntervalCheck=window.setTimeout(()=>this.checkIdleTime(),this.checkIdleIntervalMs)},this.onBlur=()=>{this.isFocused&&this.endFocus()},this.onFocus=()=>{this.isFocused||this.startFocus()},this.onVisibilityChange=n=>{n==="visible"?this.onFocus():n==="hidden"&&this.onBlur()},this.pulse=ft()(()=>{this.isFocused?this.lastFocusStart=performance.now():this.startFocus()},500,{leading:!0,trailing:!0}),this.checkMedia=()=>{window.clearTimeout(this.idleMediaTimer);const n=document.querySelectorAll("video");Array.from(n).filter(p=>p.paused||p.loop||p.muted&&!p.controls||p.readyState<2?!1:Vn(p)).length>0&&document.visibilityState==="visible"&&this.pulse(),this.idleMediaTimer=window.setTimeout(()=>this.checkMedia(),this.checkIdleIntervalMs)},this.isFocused=!1,this.idleInterval=t.idleInterval||15e3,this.checkIdleIntervalMs=t.checkIdleIntervalMs||1e3,t.start!==!1&&this.startAutocapture()}get idleTime(){return this.isFocused&&typeof this.lastFocusStart=="number"?performance.now()-this.lastFocusStart:0}get currentFocusTime(){return this.isFocused&&typeof this.focusStart=="number"?performance.now()-this.focusStart:0}clear(){this.restart()}}const Xn=60*60*1e3;function Qn(r){const t=history.pushState;history.pushState=(...a)=>{t.apply(history,a),r.emit("page_tracker.push")};const n=history.replaceState;history.replaceState=(...a)=>{n.apply(history,a),r.emit("page_tracker.replace",...a)},window.addEventListener("popstate",()=>{r.emit("page_tracker.pop")})}class qn extends It{constructor(t){var n,a,p;super(),this.pages=[],this.collecting=!1,this.collectedSomeFocus=!1,this.autocapture=!0,this.registered=!1,this.startAutocapture=()=>{this.registered||(this.registered=!0,this.on("page_tracker.push",this.collect),this.on("page_tracker.replace",this.onReplaceState),this.on("page_tracker.pop",this.collect),document.addEventListener("visibilitychange",this.onVisibilityChange),window.addEventListener("focus",this.onVisibilityChange),window.addEventListener("pageshow",this.onPageShow),window.addEventListener("pagehide",this.onPageHide,{capture:!0}),this.focusTimer.on("focus_time.end",this.recordFocusTime),this.focusTimer.startAutocapture(),setTimeout(()=>{this.collect()},0))},this.stopAutocapture=()=>{this.registered&&(this.registered=!1,this.off("page_tracker.push",this.collect),this.off("page_tracker.replace",this.onReplaceState),this.off("page_tracker.pop",this.collect),document.removeEventListener("visibilitychange",this.onVisibilityChange),window.removeEventListener("focus",this.onVisibilityChange),window.removeEventListener("pageshow",this.onPageShow),window.removeEventListener("pagehide",this.onPageHide,{capture:!0}),this.focusTimer.off("focus_time.end",this.recordFocusTime),this.focusTimer.stopAutocapture())},this.allPages=()=>this.pages,this.onReplaceState=(g,v,w)=>{var D,k;const z=(k=(D=this.currentPage)==null?void 0:D.page)==null?void 0:k.url,Y=w&&!de(w,z);(!z||Y)&&this.collect()},this.onVisibilityChange=()=>{var g,v,w,D,k;if(document.visibilityState==="visible"){const z=this.context.session(),Y=(w=(v=(g=this.currentPage)==null?void 0:g.context)==null?void 0:v.session)==null?void 0:w.id,et=new Date().getTime(),q=(k=(D=this.currentPage)==null?void 0:D.visit_start)==null?void 0:k.getTime();Y!==z.id?this.collect():(!q||Math.abs(et-q)>=Xn)&&this.collect()}},this.makePage=()=>({context:this.context.current("page"),message_id:Rt(),page:Yt(),visit_start:new Date,focus_intervals:[]}),this.collect=()=>{this.collecting=!0;const g=this.endCurrentPage({emit:!1}),v=this.makePage();this.pages.push(v),this.collectedSomeFocus=!1;const w=[g,v].filter(Boolean);this.emit("page",w),this.collecting=!1},this.endCurrentPage=g=>{const v=this.currentPage;if(v&&(window.clearTimeout(this.collectFocusTimeout),this.collectFocusTimeout=void 0,this.focusTimer.restart(),!v.visit_end))return v.visit_end=new Date,(g==null?void 0:g.emit)!==!1&&this.emit("page",[v]),v},this.onPageShow=g=>{Gt(g)&&(this.pages=[],this.collect())},this.onPageHide=()=>{this.collecting=!0,this.endCurrentPage(),this.collecting=!1},this.recordFocusTime=g=>{const v=this.currentPage;if(g=Math.round(g||0),v&&g){if(v.focus_intervals.push(g),this.emit("new_focus_time"),this.collecting||this.collectFocusTimeout)return;const w=v.focus_intervals.reduce((Y,et)=>Y+et,0),D=!this.collectedSomeFocus&&w>=1e3,k=v.focus_intervals.length%3==0,z=g>=1e4;(D||k||z)&&(this.collectFocusTimeout=window.setTimeout(()=>{this.collectFocusTimeout=void 0,this.collectedSomeFocus=!0,this.emit("page",[v])},2e3))}},this.context=t,this.autocapture=(p=(a=(n=t.options)==null?void 0:n.sdk_settings)==null?void 0:a.autocapture)!=null?p:!0,this.focusTimer=new Zn({start:this.autocapture}),Qn(this),this.onVisibilityChange=ft()(this.onVisibilityChange.bind(this),100,{leading:!0,trailing:!1}),this.autocapture&&this.startAutocapture()}get currentPage(){return this.pages[this.pages.length-1]}get currentFocusTime(){var t;return this.focusTimer.currentFocusTime+(((t=this.currentPage)==null?void 0:t.focus_intervals.reduce((n,a)=>n+a,0))||0)}get currentIdleTime(){return this.focusTimer.idleTime||0}get sessionFocusTime(){return this.focusTimer.currentFocusTime+this.pages.reduce((t,n)=>t+n.focus_intervals.reduce((a,p)=>a+p,0),0)}get scheduled(){return!!this.collectFocusTimeout}reset(){this.pages=[],this.focusTimer.clear()}}const Ce=window.location.search;let Le=window.location.hostname;try{Le=Kt(new URL(window.location.href))||window.location.hostname}catch(r){}const tr=["scroll","mousemove","click","touchstart","keypress"];function er(r){if(r.length===0)return!0;const t=window.location.host;return r.some(a=>{try{return new RegExp(a).test(t)}catch(p){return!0}})}class nr extends It{constructor(t){var n,a,p,g;super(),this.version=hn,this.initialized=!1,this.subscription=null,this.autocapture=!0,this.referrerAllowed=!0,this.collectForms=()=>{const k=[Le,"hsforms.com","salesforce.com","pardot.com","list-manage.com"];Kn(async z=>{var Y;let et=!z.action;if(z.action){const q=new URL(z.action);et=k.some(at=>q.hostname.endsWith(at))}if(et){Object.keys(z.formData).length>0&&this.track("$submit",z);const q={...z.traits};this.email&&delete q.email,Object.keys(q).length>0&&this.identify(q,{source:"form"});try{const at=((Y=this.bootstrapData)==null?void 0:Y.widget_settings)||{},yt=new URL(window.location.href),lr=de(yt,at.cta_href),dr=(0,zt.u)(yt,"koala_track","1")||(0,zt.u)(yt,"utm_source","koala")||(0,zt.u)(yt,"utm_medium","koala");if(at.enabled&&lr&&dr){const Ee={type:"form",details:z};this.track("Koala Demo Booked",Ee),this.stats.increment("sdk.demo.booked",Ee)}}catch(at){}}this.flush()})},this.touchLastActivityAt=ft()(()=>{document.visibilityState==="visible"&&(this.lastActivityAt=new Date().toISOString(),this.updatePresence())},1e3),this.updatePresence=ft()(()=>{var k;(k=this.subscription)==null||k.updatePresence(this.lastActivityAt)},3e4),this.options=t,this.referrerAllowed=er(((n=t.sdk_settings)==null?void 0:n.authorized_referrers)||[]),this.autocapture=this.referrerAllowed&&((p=(a=t.sdk_settings)==null?void 0:a.autocapture)!=null?p:!0);const v=this.options.project,w=this.deserialize();this.referrer=w.r||document.referrer,this.user=new Zt({cookies:(g=this.options.sdk_settings)==null?void 0:g.cookie_defaults}),this.context=new jn(this.options),this.qualification=w.q;const D=this.options.a||w.a||{};this.edge=_t(D),this.stats=new Yn({flushInterval:1e3},v,this.context),this.eventQueue=new Dn({flushInterval:1e3},v,this.context),this.pageTracker=new qn(this.context),this.pageTracker.on("page",k=>{if(!(k!=null&&k.length)||!this.autocapture||!this.referrerAllowed)return;const z=k[k.length-1];this.edge.index(z);const Y=()=>this.initialized&&Boolean(this.user.id()),et=()=>{const q=this.user.id();Qe(v,q,k)};Y()?et():this.when(Y).then(et)}),document.addEventListener("visibilitychange",()=>{document.hidden&&this.flush()}),window.addEventListener("focus",this.touchLastActivityAt),tr.forEach(k=>{window.addEventListener(k,this.touchLastActivityAt,{capture:!0,passive:!0})}),this.detectSegment(),this.detectRudder(),this.detectHubspot(),setTimeout(()=>{this.detectorStats()},5e3),this.once("initialized",k=>{this.initialized=!0,this.bootstrapData=k,this.stats.increment("sdk.loaded",{page:window.location.pathname}),this.referrerAllowed||(console.warn("[KOALA]","Current domain not allowed to load the SDK"),this.stats.increment("sdk.referrer.blocked",{host:window.location.host})),this.detectIdLink(),k.sdk_settings.querystring_collection!=="off"&&this.detectKoTraits(),this.autocapture&&k.sdk_settings.form_collection!=="off"&&this.collectForms()})}async ready(t){return(0,Ht.A)(async()=>this.initialized||this.qualification?(t&&await t(),Promise.resolve(void 0)):new Promise(n=>{this.once("initialized",async()=>{t&&await t(),n(void 0)})}))}cookieDefaults(){var t;return((t=this.options.sdk_settings)==null?void 0:t.cookie_defaults)||{}}detectIdLink(){this.detectUtmId(),this.detectKoEmail()}detectKoTraits(){const t=new URLSearchParams(window.location.search),n=Array.from(t.entries()).filter(([a])=>a.startsWith("ko_trait_")).reduce((a,[p,g])=>{const v=p.replace("ko_trait_","");return a[v]=g,a},{});Object.keys(n).length>0&&this.identify(n,{source:"querystring"})}detectKoEmail(){const t=new URLSearchParams(Ce);let n=t.get("ko_e")||t.get("ko_email");if(n&&!this.email){n=n.trim();try{if(Dt(n)){const a=t.get("k_is")||"ko_email";this.identify({email:n},{source:a})}}catch(a){}}}detectUtmId(){const t=new URLSearchParams(Ce),n=t.get("utm_id");if(n&&fn(n)&&!this.email)try{const a=atob(n.trim());if(Dt(a)){const p=t.get("k_is")||"utm_id";this.identify({email:a},{source:p})}}catch(a){}}detectorStats(){var t,n,a,p,g,v;try{const w=window,D={"6sense":!!localStorage.getItem("_6senseCompanyDetails"),Albacross:!!((t=w.AlbacrossReveal)!=null&&t.company),Clearbit:!!w.reveal,Dealfront:!!((a=(n=w.discover)==null?void 0:n.data)!=null&&a.company),Demandbase:!!((g=(p=w.Demandbase)==null?void 0:p.Segments)!=null&&g.CompanyProfile),Drift:!!w.drift,Intercom:!!w.Intercom,Klaviyo:!!w.klaviyo,Marketo:!!w.MktoForms2,Leadoo:!!w.Leadoo,Pardot:!!w.getPardotUrl,Qualified:!!w.qualified,Rollworks:!!w.__adroll_loaded,Triblio:!!((v=w.Triblio)!=null&&v.getAccountIdentification()),ZoomInfo:!!localStorage.getItem("_ziVisitorInfo")};Object.keys(D).forEach(k=>{D[k]&&this.stats.increment(`sdk.${k}`)})}catch(w){}}flush(){this.serialize(),this.eventQueue.flush(),this.stats.flush()}stopAutocapture(){this.autocapture&&(this.autocapture=!1,this.pageTracker.stopAutocapture(),this.unsubscribe(),Se())}startAutocapture(){var t;this.autocapture||(this.autocapture=!0,this.pageTracker.startAutocapture(),this.subscribe(),((t=this.options.sdk_settings)==null?void 0:t.form_collection)!=="off"&&this.collectForms())}open(){this.emit("open")}close(){this.emit("close")}show(){this.emit("request-show")}hide(){this.emit("hide")}async mountWidget(t={}){if(this.bootstrapData)return qt(this,{...this.bootstrapData,widget_settings:{...this.bootstrapData.widget_settings,enabled:!0,...t},project:this.options.project})}get session(){return Jt.fetch(this.options.sdk_settings)}get email(){return this.user.email()}detectHubspot(){let t=0;this.when(()=>(t++,window._hstc_ran&&window._hsq&&window._hsq.push!==Array.prototype.push||t>=10),()=>{try{const n=ye("hubspotutk");n&&qe({project:this.options.project,profile_id:this.user.id(),utk:n})}catch(n){console.warn("[KOALA]",n)}!window._hsq||window._ko_hsq||(window._ko_hsq=!0,window._hsq.push=Wt()(window._hsq.push,(n,...a)=>{try{const p=a[0];if(Array.isArray(p)){const[g,v]=p;g==="identify"&&this.identify(v,{source:"hubspot_hsq"}),g==="trackCustomBehavioralEvent"&&!window.analytics&&this.track(v.name,v.properties)}return n.apply(window._hsq,a)}catch(p){console.warn("[KOALA] HubSpot wrap error:",p)}}))},1e3)}detectSegment(){let t=0;this.when(()=>(t++,typeof window.analytics!="undefined"||t>=10),()=>{!window.analytics||typeof window.analytics.ready!="function"||window.analytics.ready(()=>{const n=window.analytics,a=n.user().traits();this.identify(a,{source:"segment"}),n.on("invoke",()=>{const p=n.user().traits();this.identify(p,{source:"segment"})}),n.on("track",(p,g)=>{var v;((v=this.bootstrapData)==null?void 0:v.sdk_settings.segment_auto_track)!=="off"&&this.track(p,g)}),n.on("identify",(p,g)=>{this.identify(g,{source:"segment"})}),n.on("reset",()=>{this.reset()})})},100)}detectRudder(){let t=0;this.when(()=>(t++,typeof window.rudderanalytics!="undefined"||t>=10),()=>{!window.rudderanalytics||typeof window.rudderanalytics.ready!="function"||window.rudderanalytics.ready(()=>{const n=window.rudderanalytics,a=n.getUserTraits();let p={};if("getGroupTraits"in n&&(p=n.getGroupTraits()||{}),Object.keys(a).length>0){let g=a;Object.keys(p).length>0&&(g={...g,$account:p}),this.identify(g,{source:"rudderstack"})}n.track=Wt()(n.track,(g,...v)=>{const w=v[0],D=v[1];return typeof w=="string"&&this.track(w,D||{}).catch(k=>{console.warn("[KOALA]",k)}),g(...v)}),n.identify=Wt()(n.identify,(g,...v)=>{const w=v[0],D=v[1]||{};return typeof w=="string"&&typeof D=="object"&&Object.keys(D).length>0&&this.identify(D,{source:"rudderstack"}).catch(k=>{console.warn("[KOALA]",k)}),g(...v)})})},1e3)}async track(t,n={}){if(t=t.trim(),!t||!this.referrerAllowed)return;const a=t==="$submit"?"submit":"track";this.eventQueue.track(t,n,a),this.edge.index({event:t,properties:n}),this.emit("track",t,n)}async identify(...t){if(!this.referrerAllowed)return;let n={},a={};if(typeof t[0]=="string"?(n={...t[1]||{},email:t[0]},a=t[2]||{}):(n=t[0],a=t[1]||{}),!n||Object.keys(n).length===0)return;const p=[n.email,n.email_address,n.emailAddress].filter(w=>w&&Dt(w));p.length>0&&(n.email=p[0]);const g=this.user.netNewTraits(n);if(n.email&&(g.email=n.email),Object.keys(g).length===0)return;this.user.upsertTraits(g),this.edge.index(g);const v={context:{...this.context.current("identify"),source:(a==null?void 0:a.source)||"identify"},type:"identify",traits:g,sent_at:new Date().toISOString()};Ze(this.options.project,this.profile,v),this.emit("identify",this.user.id(),n)}subscribe(){var t,n;!this.referrerAllowed||((n=(t=this.bootstrapData)==null?void 0:t.sdk_settings)==null?void 0:n.websocket_connection)==="off"||this.when(()=>Boolean(this.user.id())).then(()=>{const a=this.user.id(),p=this.options.project;this.unsubscribe();const g=ln(a,p);this.subscription=dn(g,this,v=>{v.action==="score"&&this.updateQualification(v.data),v.action==="anonymous_profile"&&this.buildAnonymousProfile(v.data)})}).catch(a=>{console.warn("[KOALA]","Error subscribing to profile.",a)})}unsubscribe(){var t;(t=this.subscription)==null||t.unsubscribe(),this.subscription=null}buildAnonymousProfile(t){this.edge=_t(t||{}),this.emit("profile-update")}updateQualification(t){const{profile_id:n,qualification:a,a:p}=t;this.qualification=a,this.emit("qualification",t),this.emit("change"),p&&this.buildAnonymousProfile(p),n!==this.user.id()&&(this.user.setId(n),this.emit("profile-id-update",n))}async qualify(t){try{t=t==null?void 0:t.trim(),t&&(this.user.upsertTraits({email:t}),this.edge.index({email:t}));const n=await Ve(this.options.project,this.profile);return this.updateQualification(n),n}catch(n){throw this.stats.increment("sdk.error",{method:"qualify",message:n==null?void 0:n.message}),n}}serialize(){const t={r:this.referrer,q:this.qualification,a:{b:this.edge.raw.bloom.toHash(),c:this.edge.raw.counts.toHash()}};window.localStorage.setItem("ka",JSON.stringify(t))}deserialize(){const t=window.localStorage.getItem("ka")||"{}";return JSON.parse(t)}get profile(){return{page_views:this.pageTracker.allPages(),user:this.user.userInfo(),referrer:this.referrer,events:this.eventQueue.events,email:this.user.traits().email,traits:this.user.traits(),qualification:this.qualification}}async reset(){this.eventQueue.send(!0),this.eventQueue.reset(),this.stats.send(!0),this.stats.reset(),this.pageTracker.reset(),this.unsubscribe(),this.user.reset(),window.localStorage.removeItem("ka"),this.qualification=void 0,this.lastActivityAt=void 0,this.edge=_t({}),Jt.clear(),this.subscribe()}get e(){return this.edge.events}get p(){return this.edge.traits}get page(){return this.edge.page}get when(){return this.edge.when}}async function rr(r,t){let n=`/web/projects/${r}`;return t&&(n+=`?profile_id=${t}`),Ke(n)}function sr(r,t){r&&!r.playbooks&&(r.playbooks=t.playbooks);const n=or(t);n.length!==0&&e.e(938).then(e.bind(e,8081)).then(async a=>{a.watchEvents(r,{...t,playbooks:n})}).catch(a=>{console.warn("[KOALA]","Failed to load playbooks",a),r.stats.increment("sdk.error",{method:"initPlaybooks",message:"Failed to load playbooks",error:a==null?void 0:a.message})})}function ir(){var r;return(r=window==null?void 0:window.location)!=null&&r.search?{playbook:new URLSearchParams(window.location.search).get("_kop")}:{playbook:void 0}}function or(r){const t=ir();return(r.playbooks||[]).map(a=>a.slug===t.playbook?{...a,enabled:!0}:a).filter(a=>a.enabled)}var ar=e(5579);function ur(r){const t=Array.isArray(window.ko)&&window.ko[0]?[...window.ko]:[];for(const[n,...a]of t)typeof r[n]=="function"&&setTimeout(async()=>{try{await r[n].call(r,...a)}catch(p){console.warn(p)}},0)}function qt(r,t){if(!t.widget_settings.enabled||!(0,ar.D)(t)||t.widget_settings.mode!=="demo")return;Promise.all([e.e(736),e.e(433)]).then(e.bind(e,3919)).then(async p=>{var g;return r.widget=await((g=p.mountApp)==null?void 0:g.call(p,"koala-widget",{projectSlug:t.project,settings:t,collector:r})),r.widget}).catch(p=>{console.warn("[KOALA]","Failed to mount widget",p),r.stats.increment("sdk.error",{method:"mountApp",message:"Failed to mount widget",error:p==null?void 0:p.message})})}async function cr(r,t){var n;try{const a=await rr(r,t);return En(a).setId(a.profile_id),a.sdk_settings={...a.sdk_settings||{},...((n=window.koalaSettings)==null?void 0:n.sdk_settings)||{}},{...a,project:r}}catch(a){throw console.warn("[KOALA]","Failed to load project settings",a),a}}async function Oe(r){var t;if(window.ko&&!Array.isArray(window.ko))return console.warn("[KOALA]","The Koala SDK is already loaded. Calling `load` again will have no effect."),window.ko;const n=(t=navigator==null?void 0:navigator.userAgent)==null?void 0:t.toLowerCase(),a=["googlebot","google web preview","adsbot","headlesschrome","lighthouse","speedindex","vercelbot","hubspot","yandex","ahrefsbot","ev-crawl","facebookexternalhit","facebookcatalog","sightbulb","slackbot","yahoo","bingbot","applebot","discordbot","baidu","screaming","pingdom"];if(navigator!=null&&navigator.webdriver||a.some(v=>n==null?void 0:n.includes(v)))return window.ko;const p=await cr(r.project,we()),g=new nr({...r,...p});return ur(g),g.emit("initialized",p),g.subscribe(),(p.playbooks||[]).length>0&&sr(g,p),window.ko=g,g}typeof exports!="undefined"&&typeof window!="undefined"&&typeof window.KoalaSDK=="undefined"&&(window.KoalaSDK={load:Oe,mountWidget:qt})},2998:(s,d,e)=>{"use strict";e.d(d,{A:()=>i});function i(o,u){return new Promise(l=>{const c=async()=>{o&&await o(),l()},h=u||document;h.readyState==="complete"||h.readyState==="interactive"?setTimeout(c,0):h.addEventListener("DOMContentLoaded",c)})}},4221:(s,d,e)=>{"use strict";e.d(d,{h:()=>i,u:()=>o});function i(u,l={}){var c,h;const f=new URL(u);return f.searchParams.has("utm_source")||f.searchParams.set("utm_source",(c=l.source)!=null?c:"koala"),f.searchParams.has("utm_medium")||f.searchParams.set("utm_medium",(h=l.medium)!=null?h:"widget"),f.searchParams.set("koala_track","1"),f.toString()}function o(u,l,c=""){return new URL(u).searchParams.get(l)===c}},5579:(s,d,e)=>{"use strict";e.d(d,{D:()=>o});function i(u){if(typeof u!="string")return!1;try{return new URL(u.startsWith("http")?u:`https://${u}`),!0}catch(l){return!1}}function o(u){var l;const c=((l=u.channel_settings)!=null?l:[]).filter(h=>{var f,m;return h.channel==="resources"&&!((f=u.resources)!=null&&f.length)||h.channel==="calendar"&&!((m=u.calendars)!=null&&m.length)?!1:h.enabled}).map(h=>h.channel);return u.widget_settings.mode==="demo"?i(u.widget_settings.cta_href)||c.includes("calendar"):!1}},9865:()=>{(function(s){if(typeof s.requestSubmit=="function")return;s.requestSubmit=function(i){i?(d(i,this),i.click()):(i=document.createElement("input"),i.type="submit",i.hidden=!0,this.appendChild(i),i.click(),this.removeChild(i))};function d(i,o){i instanceof HTMLElement||e(TypeError,"parameter 1 is not of type 'HTMLElement'"),i.type=="submit"||e(TypeError,"The specified element is not a submit button"),i.form==o||e(DOMException,"The specified element is not owned by this form element","NotFoundError")}function e(i,o,u){throw new i("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+o+".",u)}})(HTMLFormElement.prototype)},8552:(s,d,e)=>{var i=e(852),o=e(5639),u=i(o,"DataView");s.exports=u},1989:(s,d,e)=>{var i=e(1789),o=e(401),u=e(7667),l=e(1327),c=e(1866);function h(f){var m=-1,y=f==null?0:f.length;for(this.clear();++m{var i=e(3118),o=e(9435),u=4294967295;function l(c){this.__wrapped__=c,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=u,this.__views__=[]}l.prototype=i(o.prototype),l.prototype.constructor=l,s.exports=l},8407:(s,d,e)=>{var i=e(7040),o=e(4125),u=e(2117),l=e(7518),c=e(4705);function h(f){var m=-1,y=f==null?0:f.length;for(this.clear();++m{var i=e(3118),o=e(9435);function u(l,c){this.__wrapped__=l,this.__actions__=[],this.__chain__=!!c,this.__index__=0,this.__values__=void 0}u.prototype=i(o.prototype),u.prototype.constructor=u,s.exports=u},7071:(s,d,e)=>{var i=e(852),o=e(5639),u=i(o,"Map");s.exports=u},3369:(s,d,e)=>{var i=e(4785),o=e(1285),u=e(6e3),l=e(9916),c=e(5265);function h(f){var m=-1,y=f==null?0:f.length;for(this.clear();++m{var i=e(852),o=e(5639),u=i(o,"Promise");s.exports=u},8525:(s,d,e)=>{var i=e(852),o=e(5639),u=i(o,"Set");s.exports=u},8668:(s,d,e)=>{var i=e(3369),o=e(619),u=e(2385);function l(c){var h=-1,f=c==null?0:c.length;for(this.__data__=new i;++h{var i=e(8407),o=e(7465),u=e(3779),l=e(7599),c=e(4758),h=e(4309);function f(m){var y=this.__data__=new i(m);this.size=y.size}f.prototype.clear=o,f.prototype.delete=u,f.prototype.get=l,f.prototype.has=c,f.prototype.set=h,s.exports=f},2705:(s,d,e)=>{var i=e(5639),o=i.Symbol;s.exports=o},1149:(s,d,e)=>{var i=e(5639),o=i.Uint8Array;s.exports=o},577:(s,d,e)=>{var i=e(852),o=e(5639),u=i(o,"WeakMap");s.exports=u},6874:s=>{function d(e,i,o){switch(o.length){case 0:return e.call(i);case 1:return e.call(i,o[0]);case 2:return e.call(i,o[0],o[1]);case 3:return e.call(i,o[0],o[1],o[2])}return e.apply(i,o)}s.exports=d},7412:s=>{function d(e,i){for(var o=-1,u=e==null?0:e.length;++o{function d(e,i){for(var o=-1,u=e==null?0:e.length,l=0,c=[];++o{var i=e(2118);function o(u,l){var c=u==null?0:u.length;return!!c&&i(u,l,0)>-1}s.exports=o},4636:(s,d,e)=>{var i=e(2545),o=e(5694),u=e(1469),l=e(4144),c=e(5776),h=e(6719),f=Object.prototype,m=f.hasOwnProperty;function y(b,x){var A=u(b),S=!A&&o(b),T=!A&&!S&&l(b),E=!A&&!S&&!T&&h(b),L=A||S||T||E,O=L?i(b.length,String):[],P=O.length;for(var R in b)(x||m.call(b,R))&&!(L&&(R=="length"||T&&(R=="offset"||R=="parent")||E&&(R=="buffer"||R=="byteLength"||R=="byteOffset")||c(R,P)))&&O.push(R);return O}s.exports=y},9932:s=>{function d(e,i){for(var o=-1,u=e==null?0:e.length,l=Array(u);++o{function d(e,i){for(var o=-1,u=i.length,l=e.length;++o{function d(e,i,o,u){var l=-1,c=e==null?0:e.length;for(u&&c&&(o=e[++l]);++l{function d(e,i){for(var o=-1,u=e==null?0:e.length;++o{function d(e){return e.split("")}s.exports=d},9029:s=>{var d=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function e(i){return i.match(d)||[]}s.exports=e},8470:(s,d,e)=>{var i=e(7813);function o(u,l){for(var c=u.length;c--;)if(i(u[c][0],l))return c;return-1}s.exports=o},3118:(s,d,e)=>{var i=e(3218),o=Object.create,u=function(){function l(){}return function(c){if(!i(c))return{};if(o)return o(c);l.prototype=c;var h=new l;return l.prototype=void 0,h}}();s.exports=u},1848:s=>{function d(e,i,o,u){for(var l=e.length,c=o+(u?1:-1);u?c--:++c{var i=e(2488),o=e(1469);function u(l,c,h){var f=c(l);return o(l)?f:i(f,h(l))}s.exports=u},4239:(s,d,e)=>{var i=e(2705),o=e(9607),u=e(2333),l="[object Null]",c="[object Undefined]",h=i?i.toStringTag:void 0;function f(m){return m==null?m===void 0?c:l:h&&h in Object(m)?o(m):u(m)}s.exports=f},2118:(s,d,e)=>{var i=e(1848),o=e(2722),u=e(2351);function l(c,h,f){return h===h?u(c,h,f):i(c,o,f)}s.exports=l},9454:(s,d,e)=>{var i=e(4239),o=e(7005),u="[object Arguments]";function l(c){return o(c)&&i(c)==u}s.exports=l},939:(s,d,e)=>{var i=e(2492),o=e(7005);function u(l,c,h,f,m){return l===c?!0:l==null||c==null||!o(l)&&!o(c)?l!==l&&c!==c:i(l,c,h,f,u,m)}s.exports=u},2492:(s,d,e)=>{var i=e(6384),o=e(7114),u=e(8351),l=e(6096),c=e(4160),h=e(1469),f=e(4144),m=e(6719),y=1,b="[object Arguments]",x="[object Array]",A="[object Object]",S=Object.prototype,T=S.hasOwnProperty;function E(L,O,P,R,I,C){var B=h(L),F=h(O),j=B?x:c(L),W=F?x:c(O);j=j==b?A:j,W=W==b?A:W;var G=j==A,H=W==A,M=j==W;if(M&&f(L)){if(!f(O))return!1;B=!0,G=!1}if(M&&!G)return C||(C=new i),B||m(L)?o(L,O,P,R,I,C):u(L,O,j,P,R,I,C);if(!(P&y)){var K=G&&T.call(L,"__wrapped__"),N=H&&T.call(O,"__wrapped__");if(K||N){var $=K?L.value():L,V=N?O.value():O;return C||(C=new i),I($,V,P,R,C)}}return M?(C||(C=new i),l(L,O,P,R,I,C)):!1}s.exports=E},2722:s=>{function d(e){return e!==e}s.exports=d},8458:(s,d,e)=>{var i=e(3560),o=e(5346),u=e(3218),l=e(346),c=/[\\^$.*+?()[\]{}|]/g,h=/^\[object .+?Constructor\]$/,f=Function.prototype,m=Object.prototype,y=f.toString,b=m.hasOwnProperty,x=RegExp("^"+y.call(b).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function A(S){if(!u(S)||o(S))return!1;var T=i(S)?x:h;return T.test(l(S))}s.exports=A},8749:(s,d,e)=>{var i=e(4239),o=e(1780),u=e(7005),l="[object Arguments]",c="[object Array]",h="[object Boolean]",f="[object Date]",m="[object Error]",y="[object Function]",b="[object Map]",x="[object Number]",A="[object Object]",S="[object RegExp]",T="[object Set]",E="[object String]",L="[object WeakMap]",O="[object ArrayBuffer]",P="[object DataView]",R="[object Float32Array]",I="[object Float64Array]",C="[object Int8Array]",B="[object Int16Array]",F="[object Int32Array]",j="[object Uint8Array]",W="[object Uint8ClampedArray]",G="[object Uint16Array]",H="[object Uint32Array]",M={};M[R]=M[I]=M[C]=M[B]=M[F]=M[j]=M[W]=M[G]=M[H]=!0,M[l]=M[c]=M[O]=M[h]=M[P]=M[f]=M[m]=M[y]=M[b]=M[x]=M[A]=M[S]=M[T]=M[E]=M[L]=!1;function K(N){return u(N)&&o(N.length)&&!!M[i(N)]}s.exports=K},280:(s,d,e)=>{var i=e(5726),o=e(6916),u=Object.prototype,l=u.hasOwnProperty;function c(h){if(!i(h))return o(h);var f=[];for(var m in Object(h))l.call(h,m)&&m!="constructor"&&f.push(m);return f}s.exports=c},9435:s=>{function d(){}s.exports=d},8674:s=>{function d(e){return function(i){return e==null?void 0:e[i]}}s.exports=d},5976:(s,d,e)=>{var i=e(6557),o=e(5357),u=e(61);function l(c,h){return u(o(c,h,i),c+"")}s.exports=l},8045:(s,d,e)=>{var i=e(6557),o=e(9250),u=o?function(l,c){return o.set(l,c),l}:i;s.exports=u},6560:(s,d,e)=>{var i=e(5703),o=e(8777),u=e(6557),l=o?function(c,h){return o(c,"toString",{configurable:!0,enumerable:!1,value:i(h),writable:!0})}:u;s.exports=l},4259:s=>{function d(e,i,o){var u=-1,l=e.length;i<0&&(i=-i>l?0:l+i),o=o>l?l:o,o<0&&(o+=l),l=i>o?0:o-i>>>0,i>>>=0;for(var c=Array(l);++u{function d(e,i){for(var o=-1,u=Array(e);++o{var i=e(2705),o=e(9932),u=e(1469),l=e(3448),c=1/0,h=i?i.prototype:void 0,f=h?h.toString:void 0;function m(y){if(typeof y=="string")return y;if(u(y))return o(y,m)+"";if(l(y))return f?f.call(y):"";var b=y+"";return b=="0"&&1/y==-c?"-0":b}s.exports=m},7561:(s,d,e)=>{var i=e(7990),o=/^\s+/;function u(l){return l&&l.slice(0,i(l)+1).replace(o,"")}s.exports=u},1717:s=>{function d(e){return function(i){return e(i)}}s.exports=d},4757:s=>{function d(e,i){return e.has(i)}s.exports=d},4290:(s,d,e)=>{var i=e(6557);function o(u){return typeof u=="function"?u:i}s.exports=o},180:(s,d,e)=>{var i=e(4259);function o(u,l,c){var h=u.length;return c=c===void 0?h:c,!l&&c>=h?u:i(u,l,c)}s.exports=o},2157:s=>{var d=Math.max;function e(i,o,u,l){for(var c=-1,h=i.length,f=u.length,m=-1,y=o.length,b=d(h-f,0),x=Array(y+b),A=!l;++m{var d=Math.max;function e(i,o,u,l){for(var c=-1,h=i.length,f=-1,m=u.length,y=-1,b=o.length,x=d(h-m,0),A=Array(x+b),S=!l;++c{function d(e,i){var o=-1,u=e.length;for(i||(i=Array(u));++o{var i=e(5639),o=i["__core-js_shared__"];s.exports=o},7991:s=>{function d(e,i){for(var o=e.length,u=0;o--;)e[o]===i&&++u;return u}s.exports=d},2402:(s,d,e)=>{var i=e(1774),o=e(5639),u=1;function l(c,h,f){var m=h&u,y=i(c);function b(){var x=this&&this!==o&&this instanceof b?y:c;return x.apply(m?f:this,arguments)}return b}s.exports=l},8805:(s,d,e)=>{var i=e(180),o=e(2689),u=e(3140),l=e(9833);function c(h){return function(f){f=l(f);var m=o(f)?u(f):void 0,y=m?m[0]:f.charAt(0),b=m?i(m,1).join(""):f.slice(1);return y[h]()+b}}s.exports=c},5393:(s,d,e)=>{var i=e(2663),o=e(3816),u=e(8748),l="['\u2019]",c=RegExp(l,"g");function h(f){return function(m){return i(u(o(m).replace(c,"")),f,"")}}s.exports=h},1774:(s,d,e)=>{var i=e(3118),o=e(3218);function u(l){return function(){var c=arguments;switch(c.length){case 0:return new l;case 1:return new l(c[0]);case 2:return new l(c[0],c[1]);case 3:return new l(c[0],c[1],c[2]);case 4:return new l(c[0],c[1],c[2],c[3]);case 5:return new l(c[0],c[1],c[2],c[3],c[4]);case 6:return new l(c[0],c[1],c[2],c[3],c[4],c[5]);case 7:return new l(c[0],c[1],c[2],c[3],c[4],c[5],c[6])}var h=i(l.prototype),f=l.apply(h,c);return o(f)?f:h}}s.exports=u},6347:(s,d,e)=>{var i=e(6874),o=e(1774),u=e(6935),l=e(4487),c=e(893),h=e(6460),f=e(5639);function m(y,b,x){var A=o(y);function S(){for(var T=arguments.length,E=Array(T),L=T,O=c(S);L--;)E[L]=arguments[L];var P=T<3&&E[0]!==O&&E[T-1]!==O?[]:h(E,O);if(T-=P.length,T{var i=e(2157),o=e(4054),u=e(7991),l=e(1774),c=e(4487),h=e(893),f=e(451),m=e(6460),y=e(5639),b=1,x=2,A=8,S=16,T=128,E=512;function L(O,P,R,I,C,B,F,j,W,G){var H=P&T,M=P&b,K=P&x,N=P&(A|S),$=P&E,V=K?void 0:l(O);function U(){for(var X=arguments.length,Z=Array(X),st=X;st--;)Z[st]=arguments[st];if(N)var ut=h(U),lt=u(Z,ut);if(I&&(Z=i(Z,I,C,N)),B&&(Z=o(Z,B,F,N)),X-=lt,N&&X1&&Z.reverse(),H&&W{var i=e(6874),o=e(1774),u=e(5639),l=1;function c(h,f,m,y){var b=f&l,x=o(h);function A(){for(var S=-1,T=arguments.length,E=-1,L=y.length,O=Array(L+T),P=this&&this!==u&&this instanceof A?x:h;++E{var i=e(6528),o=e(258),u=e(9255),l=1,c=2,h=4,f=8,m=32,y=64;function b(x,A,S,T,E,L,O,P,R,I){var C=A&f,B=C?O:void 0,F=C?void 0:O,j=C?L:void 0,W=C?void 0:L;A|=C?m:y,A&=~(C?y:m),A&h||(A&=~(l|c));var G=[x,A,E,j,B,W,F,P,R,I],H=S.apply(void 0,G);return i(x)&&o(H,G),H.placeholder=T,u(H,x,A)}s.exports=b},7727:(s,d,e)=>{var i=e(8045),o=e(2402),u=e(6347),l=e(6935),c=e(4375),h=e(6833),f=e(3833),m=e(258),y=e(9255),b=e(554),x="Expected a function",A=1,S=2,T=8,E=16,L=32,O=64,P=Math.max;function R(I,C,B,F,j,W,G,H){var M=C&S;if(!M&&typeof I!="function")throw new TypeError(x);var K=F?F.length:0;if(K||(C&=~(L|O),F=j=void 0),G=G===void 0?G:P(b(G),0),H=H===void 0?H:b(H),K-=j?j.length:0,C&O){var N=F,$=j;F=j=void 0}var V=M?void 0:h(I),U=[I,C,B,F,j,N,$,W,G,H];if(V&&f(U,V),I=U[0],C=U[1],B=U[2],F=U[3],j=U[4],H=U[9]=U[9]===void 0?M?0:I.length:P(U[9]-K,0),!H&&C&(T|E)&&(C&=~(T|E)),!C||C==A)var X=o(I,C,B);else C==T||C==E?X=u(I,C,H):(C==L||C==(A|L))&&!j.length?X=c(I,C,B,F):X=l.apply(void 0,U);var Z=V?i:m;return y(Z(X,U),I,C)}s.exports=R},9389:(s,d,e)=>{var i=e(8674),o={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},u=i(o);s.exports=u},8777:(s,d,e)=>{var i=e(852),o=function(){try{var u=i(Object,"defineProperty");return u({},"",{}),u}catch(l){}}();s.exports=o},7114:(s,d,e)=>{var i=e(8668),o=e(2908),u=e(4757),l=1,c=2;function h(f,m,y,b,x,A){var S=y&l,T=f.length,E=m.length;if(T!=E&&!(S&&E>T))return!1;var L=A.get(f),O=A.get(m);if(L&&O)return L==m&&O==f;var P=-1,R=!0,I=y&c?new i:void 0;for(A.set(f,m),A.set(m,f);++P{var i=e(2705),o=e(1149),u=e(7813),l=e(7114),c=e(8776),h=e(1814),f=1,m=2,y="[object Boolean]",b="[object Date]",x="[object Error]",A="[object Map]",S="[object Number]",T="[object RegExp]",E="[object Set]",L="[object String]",O="[object Symbol]",P="[object ArrayBuffer]",R="[object DataView]",I=i?i.prototype:void 0,C=I?I.valueOf:void 0;function B(F,j,W,G,H,M,K){switch(W){case R:if(F.byteLength!=j.byteLength||F.byteOffset!=j.byteOffset)return!1;F=F.buffer,j=j.buffer;case P:return!(F.byteLength!=j.byteLength||!M(new o(F),new o(j)));case y:case b:case S:return u(+F,+j);case x:return F.name==j.name&&F.message==j.message;case T:case L:return F==j+"";case A:var N=c;case E:var $=G&f;if(N||(N=h),F.size!=j.size&&!$)return!1;var V=K.get(F);if(V)return V==j;G|=m,K.set(F,j);var U=l(N(F),N(j),G,H,M,K);return K.delete(F),U;case O:if(C)return C.call(F)==C.call(j)}return!1}s.exports=B},6096:(s,d,e)=>{var i=e(8234),o=1,u=Object.prototype,l=u.hasOwnProperty;function c(h,f,m,y,b,x){var A=m&o,S=i(h),T=S.length,E=i(f),L=E.length;if(T!=L&&!A)return!1;for(var O=T;O--;){var P=S[O];if(!(A?P in f:l.call(f,P)))return!1}var R=x.get(h),I=x.get(f);if(R&&I)return R==f&&I==h;var C=!0;x.set(h,f),x.set(f,h);for(var B=A;++O{var i=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g;s.exports=i},8234:(s,d,e)=>{var i=e(8866),o=e(9551),u=e(3674);function l(c){return i(c,u,o)}s.exports=l},6833:(s,d,e)=>{var i=e(9250),o=e(308),u=i?function(l){return i.get(l)}:o;s.exports=u},7658:(s,d,e)=>{var i=e(2060),o=Object.prototype,u=o.hasOwnProperty;function l(c){for(var h=c.name+"",f=i[h],m=u.call(i,h)?f.length:0;m--;){var y=f[m],b=y.func;if(b==null||b==c)return y.name}return h}s.exports=l},893:s=>{function d(e){var i=e;return i.placeholder}s.exports=d},5050:(s,d,e)=>{var i=e(7019);function o(u,l){var c=u.__data__;return i(l)?c[typeof l=="string"?"string":"hash"]:c.map}s.exports=o},852:(s,d,e)=>{var i=e(8458),o=e(7801);function u(l,c){var h=o(l,c);return i(h)?h:void 0}s.exports=u},9607:(s,d,e)=>{var i=e(2705),o=Object.prototype,u=o.hasOwnProperty,l=o.toString,c=i?i.toStringTag:void 0;function h(f){var m=u.call(f,c),y=f[c];try{f[c]=void 0;var b=!0}catch(A){}var x=l.call(f);return b&&(m?f[c]=y:delete f[c]),x}s.exports=h},9551:(s,d,e)=>{var i=e(4963),o=e(479),u=Object.prototype,l=u.propertyIsEnumerable,c=Object.getOwnPropertySymbols,h=c?function(f){return f==null?[]:(f=Object(f),i(c(f),function(m){return l.call(f,m)}))}:o;s.exports=h},4160:(s,d,e)=>{var i=e(8552),o=e(7071),u=e(3818),l=e(8525),c=e(577),h=e(4239),f=e(346),m="[object Map]",y="[object Object]",b="[object Promise]",x="[object Set]",A="[object WeakMap]",S="[object DataView]",T=f(i),E=f(o),L=f(u),O=f(l),P=f(c),R=h;(i&&R(new i(new ArrayBuffer(1)))!=S||o&&R(new o)!=m||u&&R(u.resolve())!=b||l&&R(new l)!=x||c&&R(new c)!=A)&&(R=function(I){var C=h(I),B=C==y?I.constructor:void 0,F=B?f(B):"";if(F)switch(F){case T:return S;case E:return m;case L:return b;case O:return x;case P:return A}return C}),s.exports=R},7801:s=>{function d(e,i){return e==null?void 0:e[i]}s.exports=d},8775:s=>{var d=/\{\n\/\* \[wrapped with (.+)\] \*/,e=/,? & /;function i(o){var u=o.match(d);return u?u[1].split(e):[]}s.exports=i},2689:s=>{var d="\\ud800-\\udfff",e="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",u=e+i+o,l="\\ufe0e\\ufe0f",c="\\u200d",h=RegExp("["+c+d+u+l+"]");function f(m){return h.test(m)}s.exports=f},3157:s=>{var d=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function e(i){return d.test(i)}s.exports=e},1789:(s,d,e)=>{var i=e(4536);function o(){this.__data__=i?i(null):{},this.size=0}s.exports=o},401:s=>{function d(e){var i=this.has(e)&&delete this.__data__[e];return this.size-=i?1:0,i}s.exports=d},7667:(s,d,e)=>{var i=e(4536),o="__lodash_hash_undefined__",u=Object.prototype,l=u.hasOwnProperty;function c(h){var f=this.__data__;if(i){var m=f[h];return m===o?void 0:m}return l.call(f,h)?f[h]:void 0}s.exports=c},1327:(s,d,e)=>{var i=e(4536),o=Object.prototype,u=o.hasOwnProperty;function l(c){var h=this.__data__;return i?h[c]!==void 0:u.call(h,c)}s.exports=l},1866:(s,d,e)=>{var i=e(4536),o="__lodash_hash_undefined__";function u(l,c){var h=this.__data__;return this.size+=this.has(l)?0:1,h[l]=i&&c===void 0?o:c,this}s.exports=u},3112:s=>{var d=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function e(i,o){var u=o.length;if(!u)return i;var l=u-1;return o[l]=(u>1?"& ":"")+o[l],o=o.join(u>2?", ":" "),i.replace(d,`{ +/* [wrapped with `+o+`] */ +`)}s.exports=e},5776:s=>{var d=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function i(o,u){var l=typeof o;return u=u==null?d:u,!!u&&(l=="number"||l!="symbol"&&e.test(o))&&o>-1&&o%1==0&&o{function d(e){var i=typeof e;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?e!=="__proto__":e===null}s.exports=d},6528:(s,d,e)=>{var i=e(6425),o=e(6833),u=e(7658),l=e(8111);function c(h){var f=u(h),m=l[f];if(typeof m!="function"||!(f in i.prototype))return!1;if(h===m)return!0;var y=o(m);return!!y&&h===y[0]}s.exports=c},5346:(s,d,e)=>{var i=e(4429),o=function(){var l=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}();function u(l){return!!o&&o in l}s.exports=u},5726:s=>{var d=Object.prototype;function e(i){var o=i&&i.constructor,u=typeof o=="function"&&o.prototype||d;return i===u}s.exports=e},7040:s=>{function d(){this.__data__=[],this.size=0}s.exports=d},4125:(s,d,e)=>{var i=e(8470),o=Array.prototype,u=o.splice;function l(c){var h=this.__data__,f=i(h,c);if(f<0)return!1;var m=h.length-1;return f==m?h.pop():u.call(h,f,1),--this.size,!0}s.exports=l},2117:(s,d,e)=>{var i=e(8470);function o(u){var l=this.__data__,c=i(l,u);return c<0?void 0:l[c][1]}s.exports=o},7518:(s,d,e)=>{var i=e(8470);function o(u){return i(this.__data__,u)>-1}s.exports=o},4705:(s,d,e)=>{var i=e(8470);function o(u,l){var c=this.__data__,h=i(c,u);return h<0?(++this.size,c.push([u,l])):c[h][1]=l,this}s.exports=o},4785:(s,d,e)=>{var i=e(1989),o=e(8407),u=e(7071);function l(){this.size=0,this.__data__={hash:new i,map:new(u||o),string:new i}}s.exports=l},1285:(s,d,e)=>{var i=e(5050);function o(u){var l=i(this,u).delete(u);return this.size-=l?1:0,l}s.exports=o},6e3:(s,d,e)=>{var i=e(5050);function o(u){return i(this,u).get(u)}s.exports=o},9916:(s,d,e)=>{var i=e(5050);function o(u){return i(this,u).has(u)}s.exports=o},5265:(s,d,e)=>{var i=e(5050);function o(u,l){var c=i(this,u),h=c.size;return c.set(u,l),this.size+=c.size==h?0:1,this}s.exports=o},8776:s=>{function d(e){var i=-1,o=Array(e.size);return e.forEach(function(u,l){o[++i]=[l,u]}),o}s.exports=d},3833:(s,d,e)=>{var i=e(2157),o=e(4054),u=e(6460),l="__lodash_placeholder__",c=1,h=2,f=4,m=8,y=128,b=256,x=Math.min;function A(S,T){var E=S[1],L=T[1],O=E|L,P=O<(c|h|y),R=L==y&&E==m||L==y&&E==b&&S[7].length<=T[8]||L==(y|b)&&T[7].length<=T[8]&&E==m;if(!(P||R))return S;L&c&&(S[2]=T[2],O|=E&c?0:f);var I=T[3];if(I){var C=S[3];S[3]=C?i(C,I,T[4]):I,S[4]=C?u(S[3],l):T[4]}return I=T[5],I&&(C=S[5],S[5]=C?o(C,I,T[6]):I,S[6]=C?u(S[5],l):T[6]),I=T[7],I&&(S[7]=I),L&y&&(S[8]=S[8]==null?T[8]:x(S[8],T[8])),S[9]==null&&(S[9]=T[9]),S[0]=T[0],S[1]=O,S}s.exports=A},9250:(s,d,e)=>{var i=e(577),o=i&&new i;s.exports=o},4536:(s,d,e)=>{var i=e(852),o=i(Object,"create");s.exports=o},6916:(s,d,e)=>{var i=e(5569),o=i(Object.keys,Object);s.exports=o},1167:(s,d,e)=>{s=e.nmd(s);var i=e(1957),o=d&&!d.nodeType&&d,u=o&&!0&&s&&!s.nodeType&&s,l=u&&u.exports===o,c=l&&i.process,h=function(){try{var f=u&&u.require&&u.require("util").types;return f||c&&c.binding&&c.binding("util")}catch(m){}}();s.exports=h},2333:s=>{var d=Object.prototype,e=d.toString;function i(o){return e.call(o)}s.exports=i},5569:s=>{function d(e,i){return function(o){return e(i(o))}}s.exports=d},5357:(s,d,e)=>{var i=e(6874),o=Math.max;function u(l,c,h){return c=o(c===void 0?l.length-1:c,0),function(){for(var f=arguments,m=-1,y=o(f.length-c,0),b=Array(y);++m{var d={};s.exports=d},451:(s,d,e)=>{var i=e(278),o=e(5776),u=Math.min;function l(c,h){for(var f=c.length,m=u(h.length,f),y=i(c);m--;){var b=h[m];c[m]=o(b,f)?y[b]:void 0}return c}s.exports=l},6460:s=>{var d="__lodash_placeholder__";function e(i,o){for(var u=-1,l=i.length,c=0,h=[];++u{var i=e(1957),o=typeof self=="object"&&self&&self.Object===Object&&self,u=i||o||Function("return this")();s.exports=u},619:s=>{var d="__lodash_hash_undefined__";function e(i){return this.__data__.set(i,d),this}s.exports=e},2385:s=>{function d(e){return this.__data__.has(e)}s.exports=d},258:(s,d,e)=>{var i=e(8045),o=e(1275),u=o(i);s.exports=u},1814:s=>{function d(e){var i=-1,o=Array(e.size);return e.forEach(function(u){o[++i]=u}),o}s.exports=d},61:(s,d,e)=>{var i=e(6560),o=e(1275),u=o(i);s.exports=u},9255:(s,d,e)=>{var i=e(8775),o=e(3112),u=e(61),l=e(7241);function c(h,f,m){var y=f+"";return u(h,o(y,l(i(y),m)))}s.exports=c},1275:s=>{var d=800,e=16,i=Date.now;function o(u){var l=0,c=0;return function(){var h=i(),f=e-(h-c);if(c=h,f>0){if(++l>=d)return arguments[0]}else l=0;return u.apply(void 0,arguments)}}s.exports=o},7465:(s,d,e)=>{var i=e(8407);function o(){this.__data__=new i,this.size=0}s.exports=o},3779:s=>{function d(e){var i=this.__data__,o=i.delete(e);return this.size=i.size,o}s.exports=d},7599:s=>{function d(e){return this.__data__.get(e)}s.exports=d},4758:s=>{function d(e){return this.__data__.has(e)}s.exports=d},4309:(s,d,e)=>{var i=e(8407),o=e(7071),u=e(3369),l=200;function c(h,f){var m=this.__data__;if(m instanceof i){var y=m.__data__;if(!o||y.length{function d(e,i,o){for(var u=o-1,l=e.length;++u{var i=e(4286),o=e(2689),u=e(676);function l(c){return o(c)?u(c):i(c)}s.exports=l},346:s=>{var d=Function.prototype,e=d.toString;function i(o){if(o!=null){try{return e.call(o)}catch(u){}try{return o+""}catch(u){}}return""}s.exports=i},7990:s=>{var d=/\s/;function e(i){for(var o=i.length;o--&&d.test(i.charAt(o)););return o}s.exports=e},676:s=>{var d="\\ud800-\\udfff",e="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",u=e+i+o,l="\\ufe0e\\ufe0f",c="["+d+"]",h="["+u+"]",f="\\ud83c[\\udffb-\\udfff]",m="(?:"+h+"|"+f+")",y="[^"+d+"]",b="(?:\\ud83c[\\udde6-\\uddff]){2}",x="[\\ud800-\\udbff][\\udc00-\\udfff]",A="\\u200d",S=m+"?",T="["+l+"]?",E="(?:"+A+"(?:"+[y,b,x].join("|")+")"+T+S+")*",L=T+S+E,O="(?:"+[y+h+"?",h,b,x,c].join("|")+")",P=RegExp(f+"(?="+f+")|"+O+L,"g");function R(I){return I.match(P)||[]}s.exports=R},2757:s=>{var d="\\ud800-\\udfff",e="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",u=e+i+o,l="\\u2700-\\u27bf",c="a-z\\xdf-\\xf6\\xf8-\\xff",h="\\xac\\xb1\\xd7\\xf7",f="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",m="\\u2000-\\u206f",y=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",b="A-Z\\xc0-\\xd6\\xd8-\\xde",x="\\ufe0e\\ufe0f",A=h+f+m+y,S="['\u2019]",T="["+A+"]",E="["+u+"]",L="\\d+",O="["+l+"]",P="["+c+"]",R="[^"+d+A+L+l+c+b+"]",I="\\ud83c[\\udffb-\\udfff]",C="(?:"+E+"|"+I+")",B="[^"+d+"]",F="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",W="["+b+"]",G="\\u200d",H="(?:"+P+"|"+R+")",M="(?:"+W+"|"+R+")",K="(?:"+S+"(?:d|ll|m|re|s|t|ve))?",N="(?:"+S+"(?:D|LL|M|RE|S|T|VE))?",$=C+"?",V="["+x+"]?",U="(?:"+G+"(?:"+[B,F,j].join("|")+")"+V+$+")*",X="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Z="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",st=V+$+U,ut="(?:"+[O,F,j].join("|")+")"+st,lt=RegExp([W+"?"+P+"+"+K+"(?="+[T,W,"$"].join("|")+")",M+"+"+N+"(?="+[T,W+H,"$"].join("|")+")",W+"?"+H+"+"+K,W+"+"+N,Z,X,L,ut].join("|"),"g");function dt(nt){return nt.match(lt)||[]}s.exports=dt},7241:(s,d,e)=>{var i=e(7412),o=e(7443),u=1,l=2,c=8,h=16,f=32,m=64,y=128,b=256,x=512,A=[["ary",y],["bind",u],["bindKey",l],["curry",c],["curryRight",h],["flip",x],["partial",f],["partialRight",m],["rearg",b]];function S(T,E){return i(A,function(L){var O="_."+L[0];E&L[1]&&!o(T,O)&&T.push(O)}),T.sort()}s.exports=S},1913:(s,d,e)=>{var i=e(6425),o=e(7548),u=e(278);function l(c){if(c instanceof i)return c.clone();var h=new o(c.__wrapped__,c.__chain__);return h.__actions__=u(c.__actions__),h.__index__=c.__index__,h.__values__=c.__values__,h}s.exports=l},8929:(s,d,e)=>{var i=e(8403),o=e(5393),u=o(function(l,c,h){return c=c.toLowerCase(),l+(h?i(c):c)});s.exports=u},8403:(s,d,e)=>{var i=e(9833),o=e(1700);function u(l){return o(i(l).toLowerCase())}s.exports=u},5703:s=>{function d(e){return function(){return e}}s.exports=d},3279:(s,d,e)=>{var i=e(3218),o=e(7771),u=e(4841),l="Expected a function",c=Math.max,h=Math.min;function f(m,y,b){var x,A,S,T,E,L,O=0,P=!1,R=!1,I=!0;if(typeof m!="function")throw new TypeError(l);y=u(y)||0,i(b)&&(P=!!b.leading,R="maxWait"in b,S=R?c(u(b.maxWait)||0,y):S,I="trailing"in b?!!b.trailing:I);function C(N){var $=x,V=A;return x=A=void 0,O=N,T=m.apply(V,$),T}function B(N){return O=N,E=setTimeout(W,y),P?C(N):T}function F(N){var $=N-L,V=N-O,U=y-$;return R?h(U,S-V):U}function j(N){var $=N-L,V=N-O;return L===void 0||$>=y||$<0||R&&V>=S}function W(){var N=o();if(j(N))return G(N);E=setTimeout(W,F(N))}function G(N){return E=void 0,I&&x?C(N):(x=A=void 0,T)}function H(){E!==void 0&&clearTimeout(E),O=0,x=L=A=E=void 0}function M(){return E===void 0?T:G(o())}function K(){var N=o(),$=j(N);if(x=arguments,A=this,L=N,$){if(E===void 0)return B(L);if(R)return clearTimeout(E),E=setTimeout(W,y),C(L)}return E===void 0&&(E=setTimeout(W,y)),T}return K.cancel=H,K.flush=M,K}s.exports=f},3816:(s,d,e)=>{var i=e(9389),o=e(9833),u=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,l="\\u0300-\\u036f",c="\\ufe20-\\ufe2f",h="\\u20d0-\\u20ff",f=l+c+h,m="["+f+"]",y=RegExp(m,"g");function b(x){return x=o(x),x&&x.replace(u,i).replace(y,"")}s.exports=b},7813:s=>{function d(e,i){return e===i||e!==e&&i!==i}s.exports=d},6557:s=>{function d(e){return e}s.exports=d},5694:(s,d,e)=>{var i=e(9454),o=e(7005),u=Object.prototype,l=u.hasOwnProperty,c=u.propertyIsEnumerable,h=i(function(){return arguments}())?i:function(f){return o(f)&&l.call(f,"callee")&&!c.call(f,"callee")};s.exports=h},1469:s=>{var d=Array.isArray;s.exports=d},8612:(s,d,e)=>{var i=e(3560),o=e(1780);function u(l){return l!=null&&o(l.length)&&!i(l)}s.exports=u},4144:(s,d,e)=>{s=e.nmd(s);var i=e(5639),o=e(5062),u=d&&!d.nodeType&&d,l=u&&!0&&s&&!s.nodeType&&s,c=l&&l.exports===u,h=c?i.Buffer:void 0,f=h?h.isBuffer:void 0,m=f||o;s.exports=m},8446:(s,d,e)=>{var i=e(939);function o(u,l){return i(u,l)}s.exports=o},3560:(s,d,e)=>{var i=e(4239),o=e(3218),u="[object AsyncFunction]",l="[object Function]",c="[object GeneratorFunction]",h="[object Proxy]";function f(m){if(!o(m))return!1;var y=i(m);return y==l||y==c||y==u||y==h}s.exports=f},1780:s=>{var d=9007199254740991;function e(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=d}s.exports=e},3218:s=>{function d(e){var i=typeof e;return e!=null&&(i=="object"||i=="function")}s.exports=d},7005:s=>{function d(e){return e!=null&&typeof e=="object"}s.exports=d},3448:(s,d,e)=>{var i=e(4239),o=e(7005),u="[object Symbol]";function l(c){return typeof c=="symbol"||o(c)&&i(c)==u}s.exports=l},6719:(s,d,e)=>{var i=e(8749),o=e(1717),u=e(1167),l=u&&u.isTypedArray,c=l?o(l):i;s.exports=c},3674:(s,d,e)=>{var i=e(4636),o=e(280),u=e(8612);function l(c){return u(c)?i(c):o(c)}s.exports=l},5021:(s,d,e)=>{var i=e(5393),o=i(function(u,l,c){return u+(c?" ":"")+l.toLowerCase()});s.exports=o},308:s=>{function d(){}s.exports=d},7771:(s,d,e)=>{var i=e(5639),o=function(){return i.Date.now()};s.exports=o},3131:(s,d,e)=>{var i=e(5976),o=e(7727),u=e(893),l=e(6460),c=32,h=i(function(f,m){var y=l(m,u(h));return o(f,c,void 0,m,y)});h.placeholder={},s.exports=h},1865:(s,d,e)=>{var i=e(5393),o=i(function(u,l,c){return u+(c?"_":"")+l.toLowerCase()});s.exports=o},479:s=>{function d(){return[]}s.exports=d},5062:s=>{function d(){return!1}s.exports=d},3493:(s,d,e)=>{var i=e(3279),o=e(3218),u="Expected a function";function l(c,h,f){var m=!0,y=!0;if(typeof c!="function")throw new TypeError(u);return o(f)&&(m="leading"in f?!!f.leading:m,y="trailing"in f?!!f.trailing:y),i(c,h,{leading:m,maxWait:h,trailing:y})}s.exports=l},8601:(s,d,e)=>{var i=e(4841),o=1/0,u=17976931348623157e292;function l(c){if(!c)return c===0?c:0;if(c=i(c),c===o||c===-o){var h=c<0?-1:1;return h*u}return c===c?c:0}s.exports=l},554:(s,d,e)=>{var i=e(8601);function o(u){var l=i(u),c=l%1;return l===l?c?l-c:l:0}s.exports=o},4841:(s,d,e)=>{var i=e(7561),o=e(3218),u=e(3448),l=0/0,c=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,f=/^0o[0-7]+$/i,m=parseInt;function y(b){if(typeof b=="number")return b;if(u(b))return l;if(o(b)){var x=typeof b.valueOf=="function"?b.valueOf():b;b=o(x)?x+"":x}if(typeof b!="string")return b===0?b:+b;b=i(b);var A=h.test(b);return A||f.test(b)?m(b.slice(2),A?2:8):c.test(b)?l:+b}s.exports=y},9833:(s,d,e)=>{var i=e(531);function o(u){return u==null?"":i(u)}s.exports=o},1700:(s,d,e)=>{var i=e(8805),o=i("toUpperCase");s.exports=o},8748:(s,d,e)=>{var i=e(9029),o=e(3157),u=e(9833),l=e(2757);function c(h,f,m){return h=u(h),f=m?void 0:f,f===void 0?o(h)?l(h):i(h):h.match(f)||[]}s.exports=c},359:(s,d,e)=>{var i=e(4290),o=e(3131);function u(l,c){return o(i(c),l)}s.exports=u},8111:(s,d,e)=>{var i=e(6425),o=e(7548),u=e(9435),l=e(1469),c=e(7005),h=e(1913),f=Object.prototype,m=f.hasOwnProperty;function y(b){if(c(b)&&!l(b)&&!(b instanceof i)){if(b instanceof o)return b;if(m.call(b,"__wrapped__"))return h(b)}return new o(b)}y.prototype=u.prototype,y.prototype.constructor=y,s.exports=y}},bt={};function _(s){var d=bt[s];if(d!==void 0)return d.exports;var e=bt[s]={id:s,loaded:!1,exports:{}};return Mt[s](e,e.exports,_),e.loaded=!0,e.exports}_.m=Mt,_.amdO={},_.n=s=>{var d=s&&s.__esModule?()=>s.default:()=>s;return _.d(d,{a:d}),d},_.d=(s,d)=>{for(var e in d)_.o(d,e)&&!_.o(s,e)&&Object.defineProperty(s,e,{enumerable:!0,get:d[e]})},_.f={},_.e=s=>Promise.all(Object.keys(_.f).reduce((d,e)=>(_.f[e](s,d),d),[])),_.u=s=>"sdk."+{433:"demos",736:"vendor",938:"playbooks"}[s]+"."+{433:"b0eb880a51603c8b",736:"e1e056160abc4889",938:"a63015fbb058475d"}[s]+".js",_.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(s){if(typeof window=="object")return window}}(),_.o=(s,d)=>Object.prototype.hasOwnProperty.call(s,d),(()=>{var s={},d="@getkoala/browser:";_.l=(e,i,o,u)=>{if(s[e]){s[e].push(i);return}var l,c;if(o!==void 0)for(var h=document.getElementsByTagName("script"),f=0;f{l.onerror=l.onload=null,clearTimeout(b);var S=s[e];if(delete s[e],l.parentNode&&l.parentNode.removeChild(l),S&&S.forEach(T=>T(A)),x)return x(A)},b=setTimeout(y.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=y.bind(null,l.onerror),l.onload=y.bind(null,l.onload),c&&document.head.appendChild(l)}})(),_.r=s=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},_.nmd=s=>(s.paths=[],s.children||(s.children=[]),s),(()=>{var s;_.g.importScripts&&(s=_.g.location+"");var d=_.g.document;if(!s&&d&&(d.currentScript&&(s=d.currentScript.src),!s)){var e=d.getElementsByTagName("script");e.length&&(s=e[e.length-1].src)}if(!s)throw new Error("Automatic publicPath is not supported in this browser");s=s.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),_.p=s})(),(()=>{var s={608:0};_.f.j=(i,o)=>{var u=_.o(s,i)?s[i]:void 0;if(u!==0)if(u)o.push(u[2]);else{var l=new Promise((m,y)=>u=s[i]=[m,y]);o.push(u[2]=l);var c=_.p+_.u(i),h=new Error,f=m=>{if(_.o(s,i)&&(u=s[i],u!==0&&(s[i]=void 0),u)){var y=m&&(m.type==="load"?"missing":m.type),b=m&&m.target&&m.target.src;h.message="Loading chunk "+i+` failed. +(`+y+": "+b+")",h.name="ChunkLoadError",h.type=y,h.request=b,u[1](h)}};_.l(c,f,"chunk-"+i,i)}};var d=(i,o)=>{var[u,l,c]=o,h,f,m=0;if(u.some(b=>s[b]!==0)){for(h in l)_.o(l,h)&&(_.m[h]=l[h]);if(c)var y=c(_)}for(i&&i(o);m Date: Tue, 23 Apr 2024 10:14:05 -0400 Subject: [PATCH 2/3] commons.c42222c4cb2f8913500f.js.gz Stock control supervisors --- commons.c42222c4cb2f8913500f.js.gz | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 commons.c42222c4cb2f8913500f.js.gz diff --git a/commons.c42222c4cb2f8913500f.js.gz b/commons.c42222c4cb2f8913500f.js.gz new file mode 100644 index 00000000000..98bc20dac5c --- /dev/null +++ b/commons.c42222c4cb2f8913500f.js.gz @@ -0,0 +1,2 @@ +(window.webpackJsonp_name_Integration=window.webpackJsonp_name_Integration||[]).push([[0],{"+BL1":function(t,e,r){"use strict";function n(t){var e=t.toString();return 1===e.length?"0"+e:e}t.exports=function(t){return t.getUTCFullYear()+"-"+n(t.getUTCMonth()+1)+"-"+n(t.getUTCDate())+"T"+n(t.getUTCHours())+":"+n(t.getUTCMinutes())+":"+n(t.getUTCSeconds())+"."+String((t.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}},"+VvR":function(t,e){t.exports=function(t,e){if("string"!=typeof t)throw new TypeError("String expected");e||(e=document);var r=/<([\w:]+)/.exec(t);if(!r)return e.createTextNode(t);t=t.replace(/^\s+|\s+$/g,"");var n=r[1];if("body"==n){return(i=e.createElement("html")).innerHTML=t,i.removeChild(i.lastChild)}var i,a=Object.prototype.hasOwnProperty.call(o,n)?o[n]:o._default,c=a[0],s=a[1],u=a[2];(i=e.createElement("div")).innerHTML=s+t+u;for(;c--;)i=i.lastChild;if(i.firstChild==i.lastChild)return i.removeChild(i.firstChild);var p=e.createDocumentFragment();for(;i.firstChild;)p.appendChild(i.removeChild(i.firstChild));return p};var r,n=!1;"undefined"!=typeof document&&((r=document.createElement("div")).innerHTML='
a',n=!r.getElementsByTagName("link").length,r=void 0);var o={legend:[1,"
","
"],tr:[2,"","
"],col:[2,"","
"],_default:n?[1,"X
","
"]:[0,"",""]};o.td=o.th=[3,"","
"],o.option=o.optgroup=[1,'"],o.thead=o.tbody=o.colgroup=o.caption=o.tfoot=[1,"","
"],o.polyline=o.ellipse=o.polygon=o.circle=o.text=o.line=o.path=o.rect=o.g=[1,'',""]},"+za2":function(t,e,r){"use strict";var n=r("qMUi"),o=r("5vN4"),i=r("YWS0"),a=r("stHd");t.exports=function(t){return n.date(t)?t:n.number(t)?new Date((e=t)<315576e5?1e3*e:e):o.is(t)?o.parse(t):i.is(t)?i.parse(t):a.is(t)?a.parse(t):new Date(t);var e}},"1JUM":function(t,e,r){"use strict";var n=r("Xhoa").parse,o=r("Ogr1");function i(t){for(var r=e.cookie,n=e.levels(t),o=0;o=0;--i)o.push(e.slice(i).join("."));return o},i.cookie=o,e=t.exports=i},"1Lz2":function(t,e,r){"use strict";var n=r("hzPI").inherit,o=r("hzPI").type,i=r("j25Z"),a=r("iS5v"),c=r("HKI3"),s=r("WiAo");function u(t,e){i.call(this,t,e)}n(u,i),u.prototype.action=function(){return"track"},u.prototype.type=u.prototype.action,u.prototype.event=i.field("event"),u.prototype.value=i.proxy("properties.value"),u.prototype.category=i.proxy("properties.category"),u.prototype.id=i.proxy("properties.id"),u.prototype.productId=function(){return this.proxy("properties.product_id")||this.proxy("properties.productId")},u.prototype.promotionId=function(){return this.proxy("properties.promotion_id")||this.proxy("properties.promotionId")},u.prototype.cartId=function(){return this.proxy("properties.cart_id")||this.proxy("properties.cartId")},u.prototype.checkoutId=function(){return this.proxy("properties.checkout_id")||this.proxy("properties.checkoutId")},u.prototype.paymentId=function(){return this.proxy("properties.payment_id")||this.proxy("properties.paymentId")},u.prototype.couponId=function(){return this.proxy("properties.coupon_id")||this.proxy("properties.couponId")},u.prototype.wishlistId=function(){return this.proxy("properties.wishlist_id")||this.proxy("properties.wishlistId")},u.prototype.reviewId=function(){return this.proxy("properties.review_id")||this.proxy("properties.reviewId")},u.prototype.orderId=function(){return this.proxy("properties.id")||this.proxy("properties.order_id")||this.proxy("properties.orderId")},u.prototype.sku=i.proxy("properties.sku"),u.prototype.tax=i.proxy("properties.tax"),u.prototype.name=i.proxy("properties.name"),u.prototype.price=i.proxy("properties.price"),u.prototype.total=i.proxy("properties.total"),u.prototype.repeat=i.proxy("properties.repeat"),u.prototype.coupon=i.proxy("properties.coupon"),u.prototype.shipping=i.proxy("properties.shipping"),u.prototype.discount=i.proxy("properties.discount"),u.prototype.shippingMethod=function(){return this.proxy("properties.shipping_method")||this.proxy("properties.shippingMethod")},u.prototype.paymentMethod=function(){return this.proxy("properties.payment_method")||this.proxy("properties.paymentMethod")},u.prototype.description=i.proxy("properties.description"),u.prototype.plan=i.proxy("properties.plan"),u.prototype.subtotal=function(){var t=s(this.properties(),"subtotal"),e=this.total()||this.revenue();if(t)return t;if(!e)return 0;if(this.total()){var r=this.tax();r&&(e-=r),(r=this.shipping())&&(e-=r),(r=this.discount())&&(e+=r)}return e},u.prototype.products=function(){var t=this.properties(),e=s(t,"products");return"array"===o(e)?e:[]},u.prototype.quantity=function(){return(this.obj.properties||{}).quantity||1},u.prototype.currency=function(){return(this.obj.properties||{}).currency||"USD"},u.prototype.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")},u.prototype.query=i.proxy("options.query"),u.prototype.properties=function(t){var e=this.field("properties")||{};for(var r in t=t||{}){var n=null==this[r]?this.proxy("properties."+r):this[r]();null!=n&&(e[t[r]]=n,delete e[r])}return e},u.prototype.username=function(){return this.proxy("traits.username")||this.proxy("properties.username")||this.userId()||this.sessionId()},u.prototype.email=function(){var t=this.proxy("traits.email")||this.proxy("properties.email")||this.proxy("options.traits.email");if(t)return t;var e=this.userId();return c(e)?e:void 0},u.prototype.revenue=function(){var t=this.proxy("properties.revenue"),e=this.event();return!t&&e&&e.match(/^[ _]?completed[ _]?order[ _]?|^[ _]?order[ _]?completed[ _]?$/i)&&(t=this.proxy("properties.total")),function(t){if(!t)return;if("number"==typeof t)return t;if("string"!=typeof t)return;if(t=t.replace(/\$/g,""),t=parseFloat(t),!isNaN(t))return t}(t)},u.prototype.cents=function(){var t=this.revenue();return"number"!=typeof t?this.value()||0:100*t},u.prototype.identify=function(){var t=this.json();return t.traits=this.traits(),new a(t,this.opts)},t.exports=u},"3IO0":function(t,e){t.exports=function(t){return r.test(t)?t.toLowerCase():n.test(t)?(function(t){return t.replace(o,(function(t,e){return e?" "+e:""}))}(t)||t).toLowerCase():function(t){return t.replace(i,(function(t,e,r){return e+" "+r.toLowerCase().split("").join(" ")}))}(t).toLowerCase()};var r=/\s/,n=/[\W_]/;var o=/[\W_]+(.|$)/g;var i=/(.)([A-Z]+)/g},"48VB":function(t,e){var r=Object.prototype.toString;t.exports=function(t){switch(r.call(t)){case"[object Function]":return"function";case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array"}return null===t?"null":void 0===t?"undefined":t===Object(t)?"object":typeof t}},"5mDK":function(t,e,r){var n=r("NOtv");t.exports=function(t,e){var r=n("global-queue:"+t);return e=e||{},function(n){n=[].slice.call(arguments),window[t]||(window[t]=[]),r("%o",n),!1===e.wrap?window[t].push.apply(window[t],n):window[t].push(n)}}},"5vN4":function(t,e,r){"use strict";var n=/^(\d{4})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:([ T])(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;e.parse=function(t){var e=[1,5,6,7,11,12],r=n.exec(t),o=0;if(!r)return new Date(t);for(var i,a=0;i=e[a];a++)r[i]=parseInt(r[i],10)||0;r[2]=parseInt(r[2],10)||1,r[3]=parseInt(r[3],10)||1,r[2]--,r[8]=r[8]?(r[8]+"00").substring(0,3):0," "===r[4]?o=(new Date).getTimezoneOffset():"Z"!==r[9]&&r[10]&&(o=60*r[11]+r[12],"+"===r[10]&&(o=0-o));var c=Date.UTC(r[1],r[2],r[3],r[5],r[6]+o,r[7],r[8]);return new Date(c)},e.is=function(t,e){return(!e||!1!==/^\d{4}-\d{2}-\d{2}/.test(t))&&n.test(t)}},"6YGp":function(t,e,r){"use strict";var n=r("XWve"),o=Object.prototype.toString,i="function"==typeof Array.isArray?Array.isArray:function(t){return"[object Array]"===o.call(t)},a=function(t){return null!=t&&(i(t)||"function"!==t&&function(t){var e=typeof t;return"number"===e||"object"===e&&"[object Number]"===o.call(t)}(t.length))},c=function(t,e){for(var r=0;r1)for(var r=1;r=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},r("YBdB"),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,r("yLpj"))},HKI3:function(t,e){t.exports=function(t){return/.+\@.+\..+/.test(t)}},"Hv/q":function(t,e,r){"use strict";var n=r("hzPI").inherit,o=r("j25Z"),i=r("1Lz2"),a=r("HKI3");function c(t,e){o.call(this,t,e)}n(c,o),c.prototype.action=function(){return"page"},c.prototype.type=c.prototype.action,c.prototype.category=o.field("category"),c.prototype.name=o.field("name"),c.prototype.title=o.proxy("properties.title"),c.prototype.path=o.proxy("properties.path"),c.prototype.url=o.proxy("properties.url"),c.prototype.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")},c.prototype.properties=function(t){var e=this.field("properties")||{},r=this.category(),n=this.name();for(var o in t=t||{},r&&(e.category=r),n&&(e.name=n),t){var i=null==this[o]?this.proxy("properties."+o):this[o]();null!=i&&(e[t[o]]=i,o!==t[o]&&delete e[o])}return e},c.prototype.email=function(){var t=this.proxy("context.traits.email")||this.proxy("properties.email");if(t)return t;var e=this.userId();return a(e)?e:void 0},c.prototype.fullName=function(){var t=this.category(),e=this.name();return e&&t?t+" "+e:e},c.prototype.event=function(t){return t?"Viewed "+t+" Page":"Loaded a Page"},c.prototype.track=function(t){var e=this.json();return e.event=this.event(t),e.timestamp=this.timestamp(),e.properties=this.properties(),new i(e,this.opts)},t.exports=c},IWyO:function(t,e,r){try{var n=r("z6Jx")}catch(t){n=r("z6Jx")}var o=r("BaHu"),i=Object.prototype.hasOwnProperty;function a(t,e,r){for(var n=0;n=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(o())}).call(this,r("8oxB"))},NtLt:function(t,e,r){var n=r("XKrD");t.exports=function(t){return n(t).replace(/[\W_]+(.|$)/g,(function(t,e){return e?" "+e:""})).trim()}},OO3c:function(t,e,r){"use strict";var n=r("SnsM"),o=r("6YGp"),i=r("s7Eg");t.exports=function t(e,r){return e=n(e),o((function(n,o){"date"===i(n)&&(e[o]=r(n)),"object"!==i(n)&&"array"!==i(n)||(e[o]=t(n,r))}),e),e}},Ogr1:function(t,e,r){var n=r("VUBM")("cookie");function o(t,e,r){r=r||{};var n=c(t)+"="+c(e);null==e&&(r.maxage=-1),r.maxage&&(r.expires=new Date(+new Date+r.maxage)),r.path&&(n+="; path="+r.path),r.domain&&(n+="; domain="+r.domain),r.expires&&(n+="; expires="+r.expires.toUTCString()),r.secure&&(n+="; secure"),document.cookie=n}function i(){var t;try{t=document.cookie}catch(t){return"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t.stack||t),{}}return function(t){var e,r={},n=t.split(/ *; */);if(""==n[0])return r;for(var o=0;o=31},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){return JSON.stringify(t)},e.enable(n())},Vqqq:function(t,e,r){"use strict";var n=r("6YGp"),o=String.prototype.indexOf;t.exports=function(t,e){var r=!1;return"string"==typeof e?-1!==o.call(e,t):(n((function(e){if((n=e)===(o=t)?0!==n||1/n==1/o:n!=n&&o!=o)return r=!0,!1;var n,o}),e),r)}},"W/1d":function(t,e,r){"use strict";var n=Math.max;t.exports=function(t){if(null==t||!t.length)return[];for(var e=new Array(n(t.length-2,0)),r=1;r>2]|=t[M]<>2]|=g<>2]|=(192|g>>6)<>2]|=(128|63&g)<=57344?(u[b>>2]|=(224|g>>12)<>2]|=(128|g>>6&63)<>2]|=(128|63&g)<>2]|=(240|g>>18)<>2]|=(128|g>>12&63)<>2]|=(128|g>>6&63)<>2]|=(128|63&g)<>2]|=a[3&b],++M),m=u[16],M>L&&b<56&&(u[15]=N<<3,E=!0);var z=o,D=p,P=l,B=f,U=d,F=y,q=h,Z=v;for(w=16;w<64;++w)x=((T=u[w-15])>>>7|T<<25)^(T>>>18|T<<14)^T>>>3,j=((T=u[w-2])>>>17|T<<15)^(T>>>19|T<<13)^T>>>10,u[w]=u[w-16]+x+u[w-7]+j<<0;for(C=D&P,w=0;w<64;w+=4)_?(e?(A=300032,Z=(T=u[0]-1413257819)-150054599<<0,B=T+24177077<<0):(A=704751109,Z=(T=u[0]-210244248)-1521486534<<0,B=T+143694565<<0),_=!1):(x=(z>>>2|z<<30)^(z>>>13|z<<19)^(z>>>22|z<<10),k=(A=z&D)^z&P^C,Z=B+(T=Z+(j=(U>>>6|U<<26)^(U>>>11|U<<21)^(U>>>25|U<<7))+(U&F^~U&q)+s[w]+u[w])<<0,B=T+(x+k)<<0),x=(B>>>2|B<<30)^(B>>>13|B<<19)^(B>>>22|B<<10),k=(I=B&z)^B&D^A,q=P+(T=q+(j=(Z>>>6|Z<<26)^(Z>>>11|Z<<21)^(Z>>>25|Z<<7))+(Z&U^~Z&F)+s[w+1]+u[w+1])<<0,x=((P=T+(x+k)<<0)>>>2|P<<30)^(P>>>13|P<<19)^(P>>>22|P<<10),k=(O=P&B)^P&z^I,F=D+(T=F+(j=(q>>>6|q<<26)^(q>>>11|q<<21)^(q>>>25|q<<7))+(q&Z^~q&U)+s[w+2]+u[w+2])<<0,x=((D=T+(x+k)<<0)>>>2|D<<30)^(D>>>13|D<<19)^(D>>>22|D<<10),k=(C=D&P)^D&B^O,U=z+(T=U+(j=(F>>>6|F<<26)^(F>>>11|F<<21)^(F>>>25|F<<7))+(F&q^~F&Z)+s[w+3]+u[w+3])<<0,z=T+(x+k)<<0;o=o+z<<0,p=p+D<<0,l=l+P<<0,f=f+B<<0,d=d+U<<0,y=y+F<<0,h=h+q<<0,v=v+Z<<0}while(!E);var H=i[o>>28&15]+i[o>>24&15]+i[o>>20&15]+i[o>>16&15]+i[o>>12&15]+i[o>>8&15]+i[o>>4&15]+i[15&o]+i[p>>28&15]+i[p>>24&15]+i[p>>20&15]+i[p>>16&15]+i[p>>12&15]+i[p>>8&15]+i[p>>4&15]+i[15&p]+i[l>>28&15]+i[l>>24&15]+i[l>>20&15]+i[l>>16&15]+i[l>>12&15]+i[l>>8&15]+i[l>>4&15]+i[15&l]+i[f>>28&15]+i[f>>24&15]+i[f>>20&15]+i[f>>16&15]+i[f>>12&15]+i[f>>8&15]+i[f>>4&15]+i[15&f]+i[d>>28&15]+i[d>>24&15]+i[d>>20&15]+i[d>>16&15]+i[d>>12&15]+i[d>>8&15]+i[d>>4&15]+i[15&d]+i[y>>28&15]+i[y>>24&15]+i[y>>20&15]+i[y>>16&15]+i[y>>12&15]+i[y>>8&15]+i[y>>4&15]+i[15&y]+i[h>>28&15]+i[h>>24&15]+i[h>>20&15]+i[h>>16&15]+i[h>>12&15]+i[h>>8&15]+i[h>>4&15]+i[15&h];return e||(H+=i[v>>28&15]+i[v>>24&15]+i[v>>20&15]+i[v>>16&15]+i[v>>12&15]+i[v>>8&15]+i[v>>4&15]+i[15&v]),H};o?(l.sha256=l,l.sha224=p,t.exports=l):n&&(n.sha256=l,n.sha224=p)}(this)}).call(this,r("8oxB"),r("yLpj"))},bDwr:function(t,e){(e=t.exports=function(t){return t.trim?t.trim():e.right(e.left(t))}).left=function(t){return t.trimLeft?t.trimLeft():t.replace(/^\s\s*/,"")},e.right=function(t){if(t.trimRight)return t.trimRight();for(var e=/\s/,r=t.length;e.test(t.charAt(--r)););return t.slice(0,r+1)}},bmjW:function(t,e,r){var n=r("48VB");function o(t,e){return e=e||i,"array"==n(t)?o.array(t,e):o.object(t,e)}function i(t){return null==t}t.exports=o,o.array=function(t,e){for(var r=[],n=0;n-1&&(t.type="ios"),e.indexOf("android")>-1&&(t.type="android")),t},p.prototype.userAgent=p.proxy("context.userAgent"),p.prototype.timezone=p.proxy("context.timezone"),p.prototype.timestamp=p.field("timestamp"),p.prototype.channel=p.field("channel"),p.prototype.ip=p.proxy("context.ip"),p.prototype.userId=p.field("userId"),n(p.prototype),t.exports=p},k2N2:function(t,e){var r=1e3,n=60*r,o=60*n,i=24*o,a=365.25*i;function c(t,e,r){if(!(t0)return function(t){if((t=String(t)).length>100)return;var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(!e)return;var c=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*a;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*o;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(t);if("number"===u&&!1===isNaN(t))return e.long?c(s=t,i,"day")||c(s,o,"hour")||c(s,n,"minute")||c(s,r,"second")||s+" ms":function(t){if(t>=i)return Math.round(t/i)+"d";if(t>=o)return Math.round(t/o)+"h";if(t>=n)return Math.round(t/n)+"m";if(t>=r)return Math.round(t/r)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},l9VJ:function(t,e){function r(t){return n()?"https:"+t:"http:"+t}function n(){return"https:"==location.protocol||"chrome-extension:"==location.protocol}t.exports=function(t){switch(arguments.length){case 0:return n();case 1:return r(t)}}},lv48:function(t,e,r){var n;function o(t){function r(){if(r.enabled){var t=r,o=+new Date,i=o-(n||o);t.diff=i,t.prev=n,t.curr=o,n=o;for(var a=new Array(arguments.length),c=0;c=0},f.bool=f.boolean=function(t){return"[object Boolean]"===c.call(t)},f.false=function(t){return f.bool(t)&&!1===Boolean(Number(t))},f.true=function(t){return f.bool(t)&&!0===Boolean(Number(t))},f.date=function(t){return"[object Date]"===c.call(t)},f.date.valid=function(t){return f.date(t)&&!isNaN(Number(t))},f.element=function(t){return void 0!==t&&"undefined"!=typeof HTMLElement&&t instanceof HTMLElement&&1===t.nodeType},f.error=function(t){return"[object Error]"===c.call(t)},f.fn=f.function=function(t){if("undefined"!=typeof window&&t===window.alert)return!0;var e=c.call(t);return"[object Function]"===e||"[object GeneratorFunction]"===e||"[object AsyncFunction]"===e},f.number=function(t){return"[object Number]"===c.call(t)},f.infinite=function(t){return t===1/0||t===-1/0},f.decimal=function(t){return f.number(t)&&!s(t)&&!f.infinite(t)&&t%1!=0},f.divisibleBy=function(t,e){var r=f.infinite(t),n=f.infinite(e),o=f.number(t)&&!s(t)&&f.number(e)&&!s(e)&&0!==e;return r||n||o&&t%e==0},f.integer=f.int=function(t){return f.number(t)&&!s(t)&&t%1==0},f.maximum=function(t,e){if(s(t))throw new TypeError("NaN is not a valid value");if(!f.arraylike(e))throw new TypeError("second argument must be array-like");for(var r=e.length;--r>=0;)if(t=0;)if(t>e[r])return!1;return!0},f.nan=function(t){return!f.number(t)||t!=t},f.even=function(t){return f.infinite(t)||f.number(t)&&t==t&&t%2==0},f.odd=function(t){return f.infinite(t)||f.number(t)&&t==t&&t%2!=0},f.ge=function(t,e){if(s(t)||s(e))throw new TypeError("NaN is not a valid value");return!f.infinite(t)&&!f.infinite(e)&&t>=e},f.gt=function(t,e){if(s(t)||s(e))throw new TypeError("NaN is not a valid value");return!f.infinite(t)&&!f.infinite(e)&&t>e},f.le=function(t,e){if(s(t)||s(e))throw new TypeError("NaN is not a valid value");return!f.infinite(t)&&!f.infinite(e)&&t<=e},f.lt=function(t,e){if(s(t)||s(e))throw new TypeError("NaN is not a valid value");return!f.infinite(t)&&!f.infinite(e)&&t=e&&t<=r},f.object=function(t){return"[object Object]"===c.call(t)},f.primitive=function(t){return!t||!("object"==typeof t||f.object(t)||f.fn(t)||f.array(t))},f.hash=function(t){return f.object(t)&&t.constructor===Object&&!t.nodeType&&!t.setInterval},f.regexp=function(t){return"[object RegExp]"===c.call(t)},f.string=function(t){return"[object String]"===c.call(t)},f.base64=function(t){return f.string(t)&&(!t.length||p.test(t))},f.hex=function(t){return f.string(t)&&(!t.length||l.test(t))},f.symbol=function(t){return"function"==typeof Symbol&&"[object Symbol]"===c.call(t)&&"symbol"==typeof n.call(t)},f.bigint=function(t){return"function"==typeof BigInt&&"[object BigInt]"===c.call(t)&&"bigint"==typeof o.call(t)},t.exports=f},rZo2:function(t,e){var r=/\b(Array|Date|Object|Math|JSON)\b/g;t.exports=function(t,e){var n=function(t){for(var e=[],r=0;r0?"-":"+")+u(100*Math.floor(Math.abs(j)/60)+Math.abs(j)%60,4),S:["th","st","nd","rd"][y%10>3?0:(y%100-y%10!=10)*y%10],W:k,N:T};return e.replace(i,(function(t){return t in A?A[t]:t.slice(1,t.length-1)}))});function u(t,e){for(t=String(t),e=e||2;t.length1e4)return;var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(!e)return;var c=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*a;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*o;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c}}(t):e.long?c(s=t,i,"day")||c(s,o,"hour")||c(s,n,"minute")||c(s,r,"second")||s+" ms":function(t){return t>=i?Math.round(t/i)+"d":t>=o?Math.round(t/o)+"h":t>=n?Math.round(t/n)+"m":t>=r?Math.round(t/r)+"s":t+"ms"}(t);var s}}}]); +//# sourceMappingURL=commons.c42222c4cb2f8913500f.js.map \ No newline at end of file From 73b371e28bb5939a2a4b31e861b774b5228bb012 Mon Sep 17 00:00:00 2001 From: Romeo Rosete <110788242+bombastictranz@users.noreply.github.com> Date: Tue, 23 Apr 2024 10:18:20 -0400 Subject: [PATCH 3/3] js Stock control supervisors --- js | 600 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 600 insertions(+) create mode 100644 js diff --git a/js b/js new file mode 100644 index 00000000000..24927e6a086 --- /dev/null +++ b/js @@ -0,0 +1,600 @@ + +// Copyright 2012 Google Inc. All rights reserved. + +(function(){ + +var data = { +"resource": { + "version":"1", + + "macros":[{"function":"__e"}], + "tags":[{"function":"__ogt_ads_datatos","priority":16,"vtp_instanceDestinationId":"AW-654613002","tag_id":10},{"function":"__ogt_1p_data_v2","priority":6,"vtp_isAutoEnabled":true,"vtp_autoCollectExclusionSelectors":["list",["map","exclusionSelector",""]],"vtp_isEnabled":true,"vtp_cityType":"CSS_SELECTOR","vtp_manualEmailEnabled":false,"vtp_firstNameType":"CSS_SELECTOR","vtp_countryType":"CSS_SELECTOR","vtp_cityValue":"","vtp_emailType":"CSS_SELECTOR","vtp_regionType":"CSS_SELECTOR","vtp_autoEmailEnabled":true,"vtp_postalCodeValue":"","vtp_lastNameValue":"","vtp_phoneType":"CSS_SELECTOR","vtp_phoneValue":"","vtp_streetType":"CSS_SELECTOR","vtp_autoPhoneEnabled":false,"vtp_postalCodeType":"CSS_SELECTOR","vtp_emailValue":"","vtp_firstNameValue":"","vtp_streetValue":"","vtp_lastNameType":"CSS_SELECTOR","vtp_autoAddressEnabled":false,"vtp_regionValue":"","vtp_countryValue":"","vtp_isAutoCollectPiiEnabledFlag":false,"tag_id":4},{"function":"__ccd_ads_first","priority":5,"vtp_instanceDestinationId":"AW-654613002","tag_id":11},{"function":"__ccd_pre_auto_pii","priority":3,"vtp_instanceDestinationId":"AW-654613002","tag_id":9},{"function":"__ccd_em_form","priority":2,"vtp_includeParams":false,"vtp_instanceDestinationId":"AW-654613002","tag_id":8},{"function":"__ccd_add_1p_data","priority":1,"vtp_acceptAutomatic":true,"vtp_acceptCode":true,"vtp_acceptManualSelector":true,"vtp_acceptUserData":true,"vtp_matchingRules":"{\"type\":2,\"args\":[{\"booleanExpressionValue\":{\"type\":5,\"args\":[{\"stringValue\":\"user_data_lead\"},{\"contextValue\":{\"namespaceType\":1,\"keyParts\":[\"metadata\",\"hit_type\"]}}]}},{\"booleanExpressionValue\":{\"type\":5,\"args\":[{\"stringValue\":\"form_submit\"},{\"contextValue\":{\"namespaceType\":1,\"keyParts\":[\"eventName\"]}}]}}]}","vtp_instanceDestinationId":"AW-654613002","tag_id":7},{"function":"__rep","vtp_containerId":"AW-654613002","vtp_remoteConfig":["map","enhanced_conversions",["map","81mvCP7W98cCEIq0krgC",["map","enhanced_conversions_mode","off","enhanced_conversions_automatic_settings",["map"]],"l0biCMTt1dYDEIq0krgC",["map","enhanced_conversions_mode","manual","enhanced_conversions_automatic_settings",["map"]]]],"tag_id":1},{"function":"__ccd_ads_last","priority":0,"vtp_instanceDestinationId":"AW-654613002","tag_id":6}], + "predicates":[{"function":"_eq","arg0":["macro",0],"arg1":"gtm.js"},{"function":"_eq","arg0":["macro",0],"arg1":"gtm.init"}], + "rules":[[["if",0],["add",6]],[["if",1],["add",1,7,5,4,3,0,2]]] +}, +"runtime":[ [50,"__ccd_add_1p_data",[46,"a"],[52,"b","c"],[52,"c","m"],[52,"d","a"],[52,"e","user_data_mode"],[52,"f","user_data_lead"],[52,"g","user_data_web"],[52,"h","hit_type"],[52,"i","send_user_data_hit"],[52,"j","is_sgtm_prehit"],[52,"k",["require","getContainerVersion"]],[52,"l",[30,[17,[15,"a"],"instanceDestinationId"],[17,["k"],"containerId"]]],[52,"m",["require","internal.setProductSettingsParameter"]],["m",[15,"l"],"ccd_add_1p_data",true],[22,[30,[30,[28,[17,[15,"a"],"matchingRules"]],[28,[17,[15,"a"],"acceptUserData"]]],[1,[1,[28,[17,[15,"a"],"acceptAutomatic"]],[28,[17,[15,"a"],"acceptManualSelector"]]],[28,[17,[15,"a"],"acceptCode"]]]],[46,[2,[15,"a"],"gtmOnSuccess",[7]],[36]]],[52,"n",["require","internal.registerCcdCallback"]],[52,"o",["require","internal.evaluateBooleanExpression"]],[52,"p",[51,"",[7,"q"],[22,[28,["o",[17,[15,"a"],"matchingRules"],[8,"preHit",[15,"q"]]]],[46,[36]]],[22,[2,[15,"q"],"getMetadata",[7,[15,"j"]]],[46,[2,[15,"q"],"setMetadata",[7,[15,"i"],true]],[36]]],[41,"r"],[41,"s"],[22,[17,[15,"a"],"acceptCode"],[46,[3,"s",[2,[15,"q"],"getMetadata",[7,"user_data_from_code"]]],[22,[20,[15,"s"],[45]],[46,[36]]],[3,"r",[15,"b"]]]],[22,[1,[28,[15,"s"]],[17,[15,"a"],"acceptManualSelector"]],[46,[3,"s",[2,[15,"q"],"getMetadata",[7,"user_data_from_manual"]]],[3,"r",[15,"c"]]]],[22,[1,[28,[15,"s"]],[17,[15,"a"],"acceptAutomatic"]],[46,[53,[52,"t",[2,[15,"q"],"getMetadata",[7,"user_data_from_automatic_getter"]]],[22,[15,"t"],[46,[3,"s",["t",[15,"q"]]],[3,"r",[15,"d"]]]]]]],[22,[15,"s"],[46,[2,[15,"q"],"setMetadata",[7,"user_data",[15,"s"]]],[2,[15,"q"],"setHitData",[7,[15,"e"],[15,"r"]]]]],[2,[15,"q"],"setMetadata",[7,[15,"i"],true]]]],["n",[15,"l"],[15,"p"]],[2,[15,"a"],"gtmOnSuccess",[7]]] + ,[50,"__ccd_ads_first",[46,"a"],[2,[15,"a"],"gtmOnSuccess",[7]]] + ,[50,"__ccd_ads_last",[46,"a"],[52,"b",[13,[41,"$0"],[3,"$0",["require","internal.getFlags"]],["$0"]]],[52,"c",["require","internal.registerCcdCallback"]],[52,"d","hit_type"],[52,"e","conversion_label"],[52,"f","conversion"],[52,"g",[16,[15,"b"],"enableAdsConversionValidation"]],[22,[28,[15,"g"]],[46,[2,[15,"a"],"gtmOnSuccess",[7]],[36]]],["c",[17,[15,"a"],"instanceDestinationId"],[51,"",[7,"h"],[52,"i",[2,[15,"h"],"getMetadata",[7,[15,"d"]]]],[22,[1,[20,[15,"i"],[15,"f"]],[28,[2,[15,"h"],"getHitData",[7,[15,"e"]]]]],[46,[2,[15,"h"],"abort",[7]]]]]],[2,[15,"a"],"gtmOnSuccess",[7]]] + ,[50,"__ccd_em_form",[46,"a"],[50,"t",[46,"ba"],[52,"bb",[30,[16,[15,"ba"],[15,"l"]],[8]]],[43,[15,"bb"],"event_usage",[7,8]],[43,[15,"ba"],[15,"l"],[15,"bb"]]],[50,"u",[46,"ba","bb"],[52,"bc",[30,[16,[15,"ba"],[15,"l"]],[8]]],[43,[15,"bc"],[15,"k"],true],[43,[15,"bc"],[15,"f"],true],[22,[1,[15,"o"],[16,[15,"bb"],"gtm.formCanceled"]],[46,[43,[15,"bc"],[15,"m"],true]]],[43,[15,"ba"],[15,"l"],[15,"bc"]]],[50,"v",[46,"ba","bb","bc"],[52,"bd",[2,["r"],"filter",[7,[51,"",[7,"bf"],[36,[20,[2,[15,"bf"],"indexOf",[7,"AW-"]],0]]]]]],[22,[18,[17,[15,"bd"],"length"],0],[46,["s",[15,"bd"],[15,"ba"],[15,"bb"],[15,"bc"]]]],[52,"be",[2,["r"],"filter",[7,[51,"",[7,"bf"],[36,[21,[2,[15,"bf"],"indexOf",[7,"AW-"]],0]]]]]],[22,[18,[17,[15,"be"],"length"],0],[46,[22,[16,[15,"b"],"enableDeferAllEnhancedMeasurement"],[46,[43,[15,"bc"],"deferrable",true]]],["s",[15,"be"],[15,"ba"],[15,"bb"],[15,"bc"]]]]],[52,"b",[13,[41,"$0"],[3,"$0",["require","internal.getFlags"]],["$0"]]],[52,"c",["require","internal.getProductSettingsParameter"]],[52,"d",["require","templateStorage"]],[52,"e",[15,"__module_ccdEmFormActivity"]],[52,"f","speculative"],[52,"g","ae_block_form"],[52,"h","form_submit"],[52,"i","form_start"],[52,"j","isRegistered"],[52,"k","em_event"],[52,"l","eventMetadata"],[52,"m","form_event_canceled"],[52,"n",[17,[15,"a"],"instanceDestinationId"]],[52,"o",[28,[28,[16,[15,"b"],"enableFormSkipValidation"]]]],[22,["c",[15,"n"],[15,"g"]],[46,[2,[15,"a"],"gtmOnSuccess",[7]],[36]]],[2,[15,"e"],"registerFormActivityCallback",[7,[17,[15,"a"],"instanceDestinationId"],[17,[15,"a"],"skipValidation"],[17,[15,"a"],"includeParams"]]],[22,[2,[15,"d"],"getItem",[7,[15,"j"]]],[46,[2,[15,"a"],"gtmOnSuccess",[7]],[36]]],[2,[15,"d"],"setItem",[7,[15,"j"],true]],[52,"p",["require","internal.addFormInteractionListener"]],[52,"q",["require","internal.addFormSubmitListener"]],[52,"r",["require","internal.getDestinationIds"]],[52,"s",["require","internal.sendGtagEvent"]],[52,"w",[8]],[52,"x",[51,"",[7,"ba","bb"],[22,[15,"bb"],[46,["bb"]]],[52,"bc",[16,[15,"ba"],"gtm.elementId"]],[22,[16,[15,"w"],[15,"bc"]],[46,[36]]],[43,[15,"w"],[15,"bc"],true],[52,"bd",[8,"form_id",[15,"bc"],"form_name",[16,[15,"ba"],"gtm.interactedFormName"],"form_destination",[16,[15,"ba"],"gtm.elementUrl"],"form_length",[16,[15,"ba"],"gtm.interactedFormLength"],"first_field_id",[16,[15,"ba"],"gtm.interactedFormFieldId"],"first_field_name",[16,[15,"ba"],"gtm.interactedFormFieldName"],"first_field_type",[16,[15,"ba"],"gtm.interactedFormFieldType"],"first_field_position",[16,[15,"ba"],"gtm.interactedFormFieldPosition"]]],[52,"be",[8,"eventId",[17,[15,"a"],"gtmEventId"]]],["t",[15,"be"]],["u",[15,"be"],[15,"ba"]],["v",[15,"i"],[15,"bd"],[15,"be"]]]],[52,"y",[16,[15,"b"],"useEnableAutoEventOnFormApis"]],[52,"z",[51,"",[7,"ba","bb"],["x",[15,"ba"],[44]],[52,"bc",[8,"form_id",[16,[15,"ba"],"gtm.elementId"],"form_name",[16,[15,"ba"],"gtm.interactedFormName"],"form_destination",[16,[15,"ba"],"gtm.elementUrl"],"form_length",[16,[15,"ba"],"gtm.interactedFormLength"],"form_submit_text",[39,[15,"y"],[16,[15,"ba"],"gtm.formSubmitElementText"],[16,[15,"ba"],"gtm.formSubmitButtonText"]]]],[43,[15,"bc"],"event_callback",[15,"bb"]],[52,"bd",[8,"eventId",[17,[15,"a"],"gtmEventId"]]],["t",[15,"bd"]],["u",[15,"bd"],[15,"ba"]],["v",[15,"h"],[15,"bc"],[15,"bd"]]]],[22,[15,"y"],[46,[53,[52,"ba",["require","internal.addDataLayerEventListener"]],[52,"bb",["require","internal.enableAutoEventOnFormSubmit"]],[52,"bc",["require","internal.enableAutoEventOnFormInteraction"]],[52,"bd",["bc"]],[22,[28,[15,"bd"]],[46,[2,[15,"a"],"gtmOnFailure",[7]],[36]]],["ba","gtm.formInteract",[15,"x"],[15,"bd"]],[52,"be",["bb",[8,"checkValidation",[28,[15,"o"]],"waitForTags",false]]],[22,[28,[15,"be"]],[46,[2,[15,"a"],"gtmOnFailure",[7]],[36]]],["ba","gtm.formSubmit",[15,"z"],[15,"be"]]]],[46,["p",[15,"x"]],["q",[15,"z"],[8,"waitForCallbacks",false,"checkValidation",[28,[15,"o"]]]]]],[2,[15,"a"],"gtmOnSuccess",[7]]] + ,[50,"__ccd_pre_auto_pii",[46,"a"],[50,"q",[46,"s"],[52,"t",[16,[15,"s"],"userData"]],[52,"u",[30,[18,[2,[15,"t"],"indexOf",[7,"@gmail."]],[27,1]],[18,[2,[15,"t"],"indexOf",[7,"@googlemail."]],[27,1]]]],[36,[0,[0,[0,[0,[0,[0,[16,[15,"s"],"tagName"],":"],[16,[15,"s"],"isVisible"]],":"],[17,[15,"t"],"length"]],":"],[15,"u"]]]],[52,"b",[13,[41,"$0"],[3,"$0",["require","internal.getFlags"]],["$0"]]],[52,"c",["require","internal.setProductSettingsParameter"]],[52,"d",[17,[15,"a"],"instanceDestinationId"]],[22,[28,[16,[15,"b"],"enableCcdPreAutoPiiDetection"]],[46,["c",[15,"d"],"preAutoPii",true],[2,[15,"a"],"gtmOnSuccess",[7]],[36]]],["c",[15,"d"],"hasPreAutoPiiCcdRule",true],[22,[28,[16,[15,"b"],"autoPiiEligible"]],[46,[2,[15,"a"],"gtmOnSuccess",[7]],[36]]],[52,"e",["require","internal.registerCcdCallback"]],[52,"f",["require","getTimestampMillis"]],[52,"g",["require","isConsentGranted"]],[52,"h",["require","makeString"]],[52,"i","conversion"],[52,"j","hit_type"],[52,"k","ad_storage"],[52,"l","user_data_auto_multi"],[52,"m","user_data_auto_selectors"],[52,"n","user_data_auto_meta"],[52,"o","user_data_auto_latency"],[52,"p","user_data_auto_status"],[52,"r",[8,"email","1","phone_number","2","first_name","3","last_name","4","country","5","postal_code","6"]],["e",[15,"d"],[51,"",[7,"s"],[22,[21,[2,[15,"s"],"getMetadata",[7,[15,"j"]]],[15,"i"]],[46,[36]]],[22,[28,["g",[15,"k"]]],[46,[36]]],[52,"t",["f"]],[52,"u",["require","internal.detectUserProvidedData"]],[52,"v",["u",[8,"includeSelector",true,"includeVisibility",true,"selectMultipleElements",true]]],[22,[30,[30,[28,[15,"v"]],[28,[16,[15,"v"],"elements"]]],[20,[17,[16,[15,"v"],"elements"],"length"],0]],[46,[36]]],[52,"w",[16,[15,"v"],"elements"]],[52,"x",[7]],[65,"ba",[15,"w"],[46,[53,[52,"bb",["q",[15,"ba"]]],[52,"bc",[30,[16,[15,"r"],[16,[15,"ba"],"type"]],""]],[2,[15,"x"],"push",[7,[0,[0,[0,[0,[16,[15,"ba"],"querySelector"],"*"],[15,"bb"]],"*"],[15,"bc"]]]]]]],[2,[15,"s"],"setHitData",[7,[15,"l"],[2,[15,"x"],"join",[7,"~"]]]],[52,"y",[16,[15,"v"],"preferredEmailElement"]],[22,[15,"y"],[46,[2,[15,"s"],"setHitData",[7,[15,"m"],[16,[15,"y"],"querySelector"]]],[2,[15,"s"],"setHitData",[7,[15,"n"],["q",[15,"y"]]]]]],[52,"z",["f"]],[2,[15,"s"],"setHitData",[7,[15,"o"],["h",[37,[15,"z"],[15,"t"]]]]],[2,[15,"s"],"setHitData",[7,[15,"p"],[16,[15,"v"],"status"]]]]],[2,[15,"a"],"gtmOnSuccess",[7]]] + ,[50,"__ogt_1p_data_v2",[46,"a"],[50,"j",[46,"m","n","o"],[22,[20,[16,[15,"n"],"type"],[15,"o"]],[46,[22,[28,[15,"m"]],[46,[3,"m",[8]]]],[22,[28,[16,[15,"m"],[15,"o"]]],[46,[43,[15,"m"],[15,"o"],[16,[15,"n"],"userData"]]]]]],[36,[15,"m"]]],[50,"k",[46,"m","n"],[52,"o",[16,[15,"a"],[15,"m"]]],[41,"p"],[22,[20,[15,"o"],"CSS_SELECTOR"],[46,[3,"p","css_selector"]],[46,[22,[20,[15,"o"],"JS_VAR"],[46,[3,"p","js_variable"]]]]],[36,[8,"selector_type",[15,"p"],"value",[16,[15,"a"],[15,"n"]]]]],[50,"l",[46,"m","n","o","p"],[22,[28,[16,[15,"a"],[15,"p"]]],[46,[36]]],[43,[15,"m"],[15,"n"],["k",[15,"o"],[15,"p"]]]],[22,[28,[17,[15,"a"],"isEnabled"]],[46,[2,[15,"a"],"gtmOnSuccess",[7]],[36]]],[52,"b",[13,[41,"$0"],[3,"$0",["require","internal.getFlags"]],["$0"]]],[52,"c",["require","internal.getDestinationIds"]],[52,"d",["require","internal.getProductSettingsParameter"]],[52,"e",["require","internal.detectUserProvidedData"]],[52,"f",["require","internal.setRemoteConfigParameter"]],[52,"g",["require","internal.registerCcdCallback"]],[52,"h",[30,["c"],[7]]],[52,"i",[8,"enable_code",true]],[22,[17,[15,"a"],"isAutoEnabled"],[46,[53,[52,"m",[7]],[22,[1,[17,[15,"a"],"autoCollectExclusionSelectors"],[17,[17,[15,"a"],"autoCollectExclusionSelectors"],"length"]],[46,[53,[41,"o"],[3,"o",0],[63,[7,"o"],[23,[15,"o"],[17,[17,[15,"a"],"autoCollectExclusionSelectors"],"length"]],[33,[15,"o"],[3,"o",[0,[15,"o"],1]]],[46,[53,[52,"p",[17,[16,[17,[15,"a"],"autoCollectExclusionSelectors"],[15,"o"]],"exclusionSelector"]],[22,[15,"p"],[46,[2,[15,"m"],"push",[7,[15,"p"]]]]]]]]]]],[52,"n",[39,[17,[15,"a"],"isAutoCollectPiiEnabledFlag"],[17,[15,"a"],"autoEmailEnabled"],true]],[43,[15,"i"],"auto_detect",[8,"email",[15,"n"],"phone",[17,[15,"a"],"autoPhoneEnabled"],"address",[17,[15,"a"],"autoAddressEnabled"],"exclude_element_selectors",[15,"m"]]]]]],[22,[17,[15,"a"],"isManualEnabled"],[46,[53,[52,"m",[8]],[22,[17,[15,"a"],"manualEmailEnabled"],[46,["l",[15,"m"],"email","emailType","emailValue"]]],[22,[17,[15,"a"],"manualPhoneEnabled"],[46,["l",[15,"m"],"phone","phoneType","phoneValue"]]],[22,[17,[15,"a"],"manualAddressEnabled"],[46,[53,[52,"n",[8]],["l",[15,"n"],"first_name","firstNameType","firstNameValue"],["l",[15,"n"],"last_name","lastNameType","lastNameValue"],["l",[15,"n"],"street","streetType","streetValue"],["l",[15,"n"],"city","cityType","cityValue"],["l",[15,"n"],"region","regionType","regionValue"],["l",[15,"n"],"country","countryType","countryValue"],["l",[15,"n"],"postal_code","postalCodeType","postalCodeValue"],[43,[15,"m"],"name_and_address",[7,[15,"n"]]]]]],[43,[15,"i"],"selectors",[15,"m"]]]]],[65,"m",[15,"h"],[46,[53,[41,"n"],[3,"n",[15,"i"]],[22,[1,[20,[2,[15,"m"],"indexOf",[7,"G-"]],0],[28,[16,[15,"b"],"enableEuidAutoMode"]]],[46,[53,[52,"q",[8,"enable_code",true,"selectors",[16,[15,"i"],"selectors"]]],[3,"n",[15,"q"]]]]],["f",[15,"m"],"user_data_settings",[15,"n"]],[52,"o",[16,[15,"n"],"auto_detect"]],[22,[28,[15,"o"]],[46,[6]]],[52,"p",[51,"",[7,"q"],[52,"r",[2,[15,"q"],"getMetadata",[7,"user_data_from_automatic"]]],[22,[15,"r"],[46,[36,[15,"r"]]]],[52,"s",["e",[8,"excludeElementSelectors",[16,[15,"o"],"exclude_element_selectors"],"fieldFilters",[8,"email",[16,[15,"o"],"email"],"phone",[16,[15,"o"],"phone"],"address",[16,[15,"o"],"address"]]]]],[52,"t",[1,[15,"s"],[16,[15,"s"],"elements"]]],[52,"u",[8]],[22,[1,[15,"t"],[18,[17,[15,"t"],"length"],0]],[46,[53,[41,"v"],[53,[41,"w"],[3,"w",0],[63,[7,"w"],[23,[15,"w"],[17,[15,"t"],"length"]],[33,[15,"w"],[3,"w",[0,[15,"w"],1]]],[46,[53,[52,"x",[16,[15,"t"],[15,"w"]]],["j",[15,"u"],[15,"x"],"email"],[22,[16,[15,"b"],"enableAutoPiiOnPhoneAndAddress"],[46,["j",[15,"u"],[15,"x"],"phone_number"],[3,"v",["j",[15,"v"],[15,"x"],"first_name"]],[3,"v",["j",[15,"v"],[15,"x"],"last_name"]],[3,"v",["j",[15,"v"],[15,"x"],"country"]],[3,"v",["j",[15,"v"],[15,"x"],"postal_code"]]]]]]]],[22,[1,[15,"v"],[28,[16,[15,"u"],"address"]]],[46,[43,[15,"u"],"address",[15,"v"]]]]]]],[2,[15,"q"],"setMetadata",[7,"user_data_from_automatic",[15,"u"]]],[36,[15,"u"]]]],["g",[15,"m"],[51,"",[7,"q"],[2,[15,"q"],"setMetadata",[7,"user_data_from_automatic_getter",[15,"p"]]]]]]]],[2,[15,"a"],"gtmOnSuccess",[7]]] + ,[50,"__ogt_ads_datatos",[46,"a"],[52,"b",["require","internal.setProductSettingsParameter"]],[52,"c",[17,[15,"a"],"instanceDestinationId"]],["b",[15,"c"],"ads_customer_data_terms",true],[2,[15,"a"],"gtmOnSuccess",[7]]] + ,[52,"__module_ccdEmFormActivity",[13,[41,"$0"],[3,"$0",[51,"",[7],[50,"a",[46],[50,"l",[46,"m","n","o"],[22,[1,[15,"k"],[20,[15,"n"],[44]]],[46,[3,"n",[20,[2,[15,"m"],"indexOf",[7,"AW-"]],0]]]],["d",[15,"m"],[51,"",[7,"p"],[52,"q",[2,[15,"p"],"getEventName",[7]]],[52,"r",[30,[20,[15,"q"],[15,"h"]],[20,[15,"q"],[15,"g"]]]],[22,[30,[28,[15,"r"]],[28,[2,[15,"p"],"getMetadata",[7,[15,"i"]]]]],[46,[36]]],[22,["c",[15,"m"],[15,"f"]],[46,[2,[15,"p"],"abort",[7]],[36]]],[22,[15,"k"],[46,[22,[1,[28,[15,"n"]],[2,[15,"p"],"getMetadata",[7,[15,"j"]]]],[46,[2,[15,"p"],"abort",[7]],[36]]]]],[2,[15,"p"],"setMetadata",[7,[15,"e"],false]],[22,[28,[15,"o"]],[46,[2,[15,"p"],"setHitData",[7,"form_id",[44]]],[2,[15,"p"],"setHitData",[7,"form_name",[44]]],[2,[15,"p"],"setHitData",[7,"form_destination",[44]]],[2,[15,"p"],"setHitData",[7,"form_length",[44]]],[22,[20,[15,"q"],[15,"g"]],[46,[2,[15,"p"],"setHitData",[7,"form_submit_text",[44]]]],[46,[22,[20,[15,"q"],[15,"h"]],[46,[2,[15,"p"],"setHitData",[7,"first_field_id",[44]]],[2,[15,"p"],"setHitData",[7,"first_field_name",[44]]],[2,[15,"p"],"setHitData",[7,"first_field_type",[44]]],[2,[15,"p"],"setHitData",[7,"first_field_position",[44]]]]]]]]]]]],[52,"b",[13,[41,"$0"],[3,"$0",["require","internal.getFlags"]],["$0"]]],[52,"c",["require","internal.getProductSettingsParameter"]],[52,"d",["require","internal.registerCcdCallback"]],[52,"e","speculative"],[52,"f","ae_block_form"],[52,"g","form_submit"],[52,"h","form_start"],[52,"i","em_event"],[52,"j","form_event_canceled"],[52,"k",[28,[28,[16,[15,"b"],"enableFormSkipValidation"]]]],[36,[8,"registerFormActivityCallback",[15,"l"]]]],[36,["a"]]]],["$0"]]] + +] +,"entities":{ +"__ccd_add_1p_data":{"2":true,"4":true} +, +"__ccd_ads_first":{"2":true,"4":true} +, +"__ccd_ads_last":{"2":true,"4":true} +, +"__ccd_em_form":{"2":true,"4":true} +, +"__ccd_pre_auto_pii":{"2":true,"4":true} +, +"__ogt_1p_data_v2":{"2":true} +, +"__ogt_ads_datatos":{"2":true} + + +} + +,"permissions":{ +"__ccd_add_1p_data":{"read_container_data":{}} +, +"__ccd_ads_first":{} +, +"__ccd_ads_last":{} +, +"__ccd_em_form":{"access_template_storage":{},"listen_data_layer":{"accessType":"specific","allowedEvents":["gtm.formInteract","gtm.formSubmit"]},"detect_form_submit_events":{"allowWaitForTags":""},"detect_form_interaction_events":{}} +, +"__ccd_pre_auto_pii":{"detect_user_provided_data":{"limitDataSources":true,"allowAutoDataSources":true,"allowManualDataSources":false,"allowCodeDataSources":false},"access_consent":{"consentTypes":[{"consentType":"ad_storage","read":true,"write":false},{"consentType":"analytics_storage","read":true,"write":false}]}} +, +"__ogt_1p_data_v2":{"detect_user_provided_data":{"limitDataSources":true,"allowAutoDataSources":true,"allowManualDataSources":false,"allowCodeDataSources":false}} +, +"__ogt_ads_datatos":{} + + +} + + + +,"security_groups":{ +"google":[ +"__ccd_add_1p_data" +, +"__ccd_ads_first" +, +"__ccd_ads_last" +, +"__ccd_em_form" +, +"__ccd_pre_auto_pii" +, +"__ogt_1p_data_v2" +, +"__ogt_ads_datatos" + +] + + +} + + + +}; + + +var aa,ba=function(a){var b=0;return function(){return b>2,n=(f&3)<<4|g>>4,p=(g&15)<<2|h>>6,q=h&63;e||(q=64,d||(p=64));b.push(cb[m],cb[n],cb[p],cb[q])}return b.join("")} +function gb(a){function b(m){for(;d>4);64!=g&&(c+=String.fromCharCode(f<<4&240|g>>2),64!=h&&(c+=String.fromCharCode(g<<6&192|h)))}};var hb={},ib=function(a,b){hb[a]=hb[a]||[];hb[a][b]=!0},jb=function(a){var b=hb[a];if(!b||0===b.length)return"";for(var c=[],d=0,e=0;eb)a=0,b=2147483647;return Math.floor(Math.random()*(b-a+1)+a)},sb=function(a,b){for(var c=new rb,d=0;d"+a+""),f=Lb(),g=f?f.createHTML(e):e;d=new wc(g,vc);if(1===c.nodeType){var h=c.tagName;if("SCRIPT"===h||"STYLE"===h)throw Error("");}c.innerHTML=d instanceof wc&&d.constructor===wc?d.m:"type_error:SafeHtml";b=b.lastChild;for(var m=[];b.firstChild;)m.push(b.removeChild(b.firstChild));return m},Rc=function(a, +b,c){c=c||100;for(var d={},e=0;ee&&(e=Math.max(d+e,0));for(var f= +e;fc?d+c:Math.min(c,e));for(var f=e;0<=f;f--)if(this.has(f)&&this.get(f)===b)return f;return-1},map:function(a,b){for(var c=this.length(),d=[],e=0;ed)throw Error("TypeError: ReduceRight on List with no elements.");}for(var h=f;0<=h;h--)this.has(h)&&(e=b.invoke(a,e,this.get(h),h,this));return e},reverse:function(){for(var a=Wa(this),b=a.length-1,c=0;0<=b;b--,c++)a.hasOwnProperty(b)?this.set(c,a[b]):$a(this,c);return this},shift:function(){return this.shift()},slice:function(a,b,c){var d=this.length();void 0=== +b&&(b=0);b=0>b?Math.max(d+b,0):Math.min(b,d);c=void 0===c?d:0>c?Math.max(d+c,0):Math.min(c,d);c=Math.max(b,c);for(var e=[],f=b;fJ(this,b)},Xd=function(a,b){return J(this,a)>=J(this,b)},Yd=function(a,b){a=J(this,a);b=J(this,b);a instanceof kd&&(a=a.getValue());b instanceof kd&&(b=b.getValue());return a===b},Zd=function(a,b){return!Yd.call(this,a,b)},$d=function(a,b,c){var d=[];J(this,a)?d=J(this,b):c&&(d=J(this,c));var e=Na(this.m,d);if(e instanceof Ha)return e},ae=function(a,b){return J(this,a)>Number(J(this,b))},ze=function(a,b){return Number(J(this,a))>>>Number(J(this,b))},Ae=function(a,b){return Number(J(this,a))&Number(J(this,b))},De=function(a,b){return Number(J(this,a))^Number(J(this,b))},Ee=function(a,b){return Number(J(this,a))|Number(J(this,b))},Fe=function(){},Ge=function(a,b,c,d,e){var f=!0;try{var g=J(this,c);if(g instanceof Ha)return g}catch(r){if(!(r instanceof rd&&a))throw f=r instanceof rd,r;var h=Ma(this.m),m=new kd(r);h.add(b, +m);var n=J(this,d),p=Na(h,n);if(p instanceof Ha)return p}finally{if(f&&void 0!==e){var q=J(this,e);if(q instanceof Ha)return q}}};var Ie=function(){this.m=new Pa;He(this)};Ie.prototype.execute=function(a){return this.m.D(a)};var He=function(a){var b=function(c,d){var e=new fd(String(c),d);e.Jb();a.m.m.set(String(c),e)};b("map",de);b("and",$c);b("contains",cd);b("equals",ad);b("or",bd);b("startsWith",dd);b("variable",ed)};var Ke=function(){this.m=new Pa;Je(this)};Ke.prototype.execute=function(a){return Le(this.m.D(a))}; +var Me=function(a,b,c){return Le(a.m.J(b,c))},Je=function(a){var b=function(c,d){var e=String(c),f=new fd(e,d);f.Jb();a.m.m.set(e,f)};b(0,vd);b(1,wd);b(2,xd);b(3,yd);b(56,Ae);b(57,xe);b(58,we);b(59,Ee);b(60,ye);b(61,ze);b(62,De);b(53,zd);b(4,Ad);b(5,Bd);b(52,Cd);b(6,Dd);b(49,Ed);b(7,ce);b(8,de);b(9,Bd);b(50,Fd);b(10,Gd);b(12,Hd);b(13,Id);b(51,Td);b(47,Ld);b(54,Md);b(55,Nd);b(63,Sd);b(64,Pd);b(65,Qd);b(66,Rd);b(15,Ud);b(16,Vd);b(17,Vd);b(18,Wd);b(19,Xd);b(20,Yd);b(21,Zd);b(22,$d);b(23,ae);b(24,be); +b(25,ee);b(26,fe);b(27,ge);b(28,he);b(29,ie);b(45,je);b(30,ke);b(32,le);b(33,le);b(34,me);b(35,me);b(46,ne);b(36,oe);b(43,pe);b(37,qe);b(38,re);b(39,se);b(67,Ge);b(40,te);b(44,Fe);b(41,ue);b(42,ve)};function Le(a){if(a instanceof Ha||a instanceof fd||a instanceof Za||a instanceof ab||a instanceof kd||null===a||void 0===a||"string"===typeof a||"number"===typeof a||"boolean"===typeof a)return a};var Ne=function(a){this.message=a};function Oe(a){var b="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"[a];return void 0===b?new Ne("Value "+a+" can not be encoded in web-safe base64 dictionary."):b};function Pe(a){switch(a){case 1:return"1";case 2:case 4:return"0";default:return"-"}};var Qe=function(){var a=function(b){return{toString:function(){return b}}};return{Rj:a("consent"),Th:a("convert_case_to"),Uh:a("convert_false_to"),Vh:a("convert_null_to"),Wh:a("convert_true_to"),Xh:a("convert_undefined_to"),Km:a("debug_mode_metadata"),na:a("function"),Ng:a("instance_name"),vk:a("live_only"),wk:a("malware_disabled"),xk:a("metadata"),Ak:a("original_activity_id"),Ym:a("original_vendor_template_id"),Xm:a("once_on_load"),zk:a("once_per_event"),Wi:a("once_per_load"),fn:a("priority_override"), +gn:a("respected_consent_types"),cj:a("setup_tags"),ne:a("tag_id"),jj:a("teardown_tags")}}();var mf; +var nf=[],of=[],pf=[],qf=[],rf=[],sf={},tf,uf,vf=function(a){uf=uf||a},wf=function(a){},xf,yf=[],zf=[],Af=function(a,b){var c={};c[Qe.na]="__"+a;for(var d in b)b.hasOwnProperty(d)&&(c["vtp_"+d]=b[d]);return c}, +Bf=function(a,b){var c=a[Qe.na],d=b&&b.event;if(!c)throw Error("Error: No function name given for function call.");var e=sf[c],f=b&&2===b.type&&d.reportMacroDiscrepancy&&e&&-1!==yf.indexOf(c),g={},h={},m;for(m in a)a.hasOwnProperty(m)&&0===m.indexOf("vtp_")&&(e&&(g[m]=a[m]),!e||f)&&(h[m.substr(4)]=a[m]);e&&d&&d.cachedModelValues&&(g.vtp_gtmCachedValues=d.cachedModelValues);if(b){if(null==b.name){var n;a:{var p=b.type,q=b.index;if(null==q)n="";else{var r;switch(p){case 2:r=nf[q];break;case 1:r=qf[q]; +break;default:n="";break a}var t=r&&r[Qe.Ng];n=t?String(t):""}}b.name=n}e&&(g.vtp_gtmEntityIndex=b.index,g.vtp_gtmEntityName=b.name)}var u,v,w;if(f&&-1===zf.indexOf(c)){zf.push(c);var x=zb();u=e(g);var y=zb()-x,A=zb();v=mf(c,h,b);w=y-(zb()-A)}else if(e&&(u=e(g)),!e||f)v=mf(c,h,b);f&&d&&(d.reportMacroDiscrepancy(d.id,c,void 0,!0),Xa(u)?(Array.isArray(u)?Array.isArray(v):Va(u)?Va(v):u===v)||d.reportMacroDiscrepancy(d.id,c):u!==v&&d.reportMacroDiscrepancy(d.id,c),void 0!=w&&d.reportMacroDiscrepancy(d.id, +c,w));return e?u:v},Df=function(a,b,c){c=c||[];var d={},e;for(e in a)a.hasOwnProperty(e)&&(d[e]=Cf(a[e],b,c));return d},Cf=function(a,b,c){if(Array.isArray(a)){var d;switch(a[0]){case "function_id":return a[1];case "list":d=[];for(var e=1;e=Number(b)}function zg(a,b){return Number(a)<=Number(b)}function Ag(a,b){return Number(a)>Number(b)}function Bg(a,b){return Number(a)>=5;d?d=!1:e|=32;c=Oe(e)+c}a<<=2;d||(a|=32);return c=Oe(a|b)+c};var Og=/^([a-z][a-z0-9]*):(!|\?)(\*|string|boolean|number|Fn|PixieMap|List|OpaqueValue)$/i,Pg={Fn:"function",PixieMap:"Object",List:"Array"},K=function(a,b,c){for(var d=0;da.length?void 0:eh(c.getHitData(a[1]),a.slice(2));case "metadata":return 2>a.length?void 0:eh(c.getMetadata(a[1]),a.slice(2));case "eventName":return c.getEventName();case "destinationId":return c.getDestinationId();default:throw Error(d+" is not a valid field that can be accessed\n from PreHit data.");}}}, +gh=function(a,b){if(a){if(void 0!==a.contextValue){var c;a:{var d=a.contextValue,e=d.keyParts;if(e&&0!==e.length){var f=d.namespaceType;switch(f){case 1:c=fh(e,b);break a;case 2:var g=b.macro;c=g?g[e[0]]:void 0;break a;default:throw Error("Unknown Namespace Type used: "+f);}}c=void 0}return c}if(void 0!==a.booleanExpressionValue)return dh(a.booleanExpressionValue,b);if(void 0!==a.booleanValue)return!!a.booleanValue;if(void 0!==a.stringValue)return String(a.stringValue);if(void 0!==a.integerValue)return Number(a.integerValue); +if(void 0!==a.doubleValue)return Number(a.doubleValue);throw Error("Unknown field used for variable of type ExpressionValue:"+a);}},dh=function(a,b){var c=a.args;if(!Array.isArray(c)||0===c.length)throw Error('Invalid boolean expression format. Expected "args":'+c+" property to\n be non-empty array.");var d=function(g){return gh(g,b)};switch(a.type){case 1:for(var e=0;ee?c.push(e):2048>e?c.push(192|e>>6,128|e&63):55296>e||57344<=e?c.push(224|e>>12,128|e>>6&63,128|e&63):(e=65536+((e&1023)<<10|a.charCodeAt(++d)&1023),c.push(240|e>>18,128|e>>12&63,128|e>>6&63,128|e&63))}b=new Uint8Array(c)}return b},Ih=/[0-9`~!@#$%^&*()_\-+=:;<>,.?|/\\[\]]/g,Lh=/^\S+@\S+\.\S+$/,Jh=/^\+\d{10,15}$/,Eh=/[.~]/g,Qh=/^[0-9A-Za-z_-]{43}$/,Nh=/^[0-9A-Fa-f]{64}$/,Rh={},Sh=(Rh.email="em",Rh.phone_number="pn",Rh.first_name="fn", +Rh.last_name="ln",Rh.street="sa",Rh.city="ct",Rh.region="rg",Rh.country="co",Rh.postal_code="pc",Rh.error_code="ec",Rh),Th={},Uh=(Th.email="sha256_email_address",Th.phone_number="sha256_phone_number",Th.first_name="sha256_first_name",Th.last_name="sha256_last_name",Th.street="sha256_street",Th),Wh=function(a,b){a.some(function(c){c.value&&Vh.indexOf(c.name)})?b(a):D.Promise?Promise.all(a.map(function(c){return c.value&&-1!==Vh.indexOf(c.name)?Ph(c.value).then(function(d){c.value=d}):Promise.resolve()})).then(function(){b(a)}).catch(function(){b([])}): +b([])},Yh=function(a,b){var c=Xh(a);Wh(c,b)},Xh=function(a){function b(r,t,u,v){var w=Dh(r);""!==w&&(Nh.test(w)?h.push({name:t,value:w,index:v}):h.push({name:t,value:u(w),index:v}))}function c(r,t){var u=r;if(l(u)||Array.isArray(u)){u=Array.isArray(r)?r:[r];for(var v=0;vc?a.href:a.href.substr(0,c)}return b},Aj={},Bj=0,Cj=function(a){var b=Aj[a];if(!b){var c=H.createElement("a");a&&(c.href=a);var d=c.pathname;"/"!==d[0]&&(a||ib("TAGGING",1),d="/"+d);var e=c.hostname.replace(tj,"");b={href:c.href,protocol:c.protocol,host:c.host,hostname:e,pathname:d,search:c.search,hash:c.hash,port:c.port};5>Bj&&(Aj[a]=b,Bj++)}return b}, +Dj=function(a){function b(n){var p=n.split("=")[0];return 0>d.indexOf(p)?n:p+"=0"}function c(n){return n.split("&").map(b).filter(function(p){return void 0!==p}).join("&")}var d="gclid dclid gbraid wbraid gclaw gcldc gclha gclgf gclgb _gl".split(" "),e=Cj(a),f=a.split(/[?#]/)[0],g=e.search,h=e.hash;"?"===g[0]&&(g=g.substring(1));"#"===h[0]&&(h=h.substring(1));g=c(g);h=c(h);""!==g&&(g="?"+g);""!==h&&(h="#"+h);var m=""+f+g+h;"/"===m[m.length-1]&&(m=m.substring(0,m.length-1));return m},Ej=function(a){var b= +Cj(D.location.href),c=yj(b,"host",!1);if(c&&c.match(uj)){var d=yj(b,"path").split(a+"=");if(1zb()-Ak.F[Ak.m%Ak.D]);if(a||0>=Bk--)M(1),yk[xk]=!0;else{var b=Ak.m++%Ak.D;Ak.F[b]=zb();var c=Ck(!0);Lc(c);if(rk){var d=c.replace("/a?","/td?");Lc(d)}Ek=rk=!1}}}var Ek=!1;function Fk(a){yk[a]||(a!==xk&&(Dk(),xk=a),Ek=!0,zk||(zk=D.setTimeout(Dk,500)),2022<=Ck().length&&Dk())}var Gk=qb();function Hk(){Gk=qb()}function Ik(){return[["v","3"],["t","t"],["pid",Gk]]};var Jk="",Kk=[],Lk=!1;function Mk(){var a=[];Jk&&a.push(["dl",encodeURIComponent(Jk)]);0=e.length?m(n):D.setTimeout(function(){m(c())},500)}}))};function ml(){}function nl(){};var ol=[Q.g.M,Q.g.T,Q.g.O,Q.g.ya],pl,ql,rl=function(a){for(var b=a[Q.g.hc],c=Array.isArray(b)?b:[b],d={Ae:0};d.Aec)){var d=a.substring(0,c);if(Bl.test(d)){var e=a.substring(c+1),f;if(b){var g=function(n){var p=n.indexOf("/");return 0>p?[n]:[n.substring(0,p),n.substring(p+1)]};f=g(e);if("DC"===d&&2===f.length){var h=g(f[1]);2===h.length&&(f[1]=h[0],f.push(h[1]))}}else{f=e.split("/");for(var m=0;md)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.slice(d,-1!==e?e:0).replace(/\+/g," "))},Fm=/[?&]($|#)/,Gm=function(a,b,c){for(var d,e=a.search(Dm),f=0,g,h=[];0<=(g=Cm(a,f,b,e));)h.push(a.substring(f, +g)),f=Math.min(a.indexOf("&",g)+1||e,e);h.push(a.slice(f));d=h.join("").replace(Fm,"$1");var m,n=null!=c?"="+encodeURIComponent(String(c)):"";var p=b+n;if(p){var q,r=d.indexOf("#");0>r&&(r=d.length);var t=d.indexOf("?"),u;0>t||t>r?(t=r,u=""):u=d.substring(t+1,r);q=[d.slice(0,t),u,d.slice(r)];var v=q[1];q[1]=p?v?v+"&"+p:p:v;m=q[0]+(q[1]?"?"+q[1]:"")+q[2]}else m=d;return m};var Hm=function(a){try{var b;if(b=!!a&&null!=a.location.href)a:{try{Xk(a.foo);b=!0;break a}catch(c){}b=!1}return b}catch(c){return!1}},Im=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)};function Jm(a){if(!a||!H.head)return null;var b=Km("META");H.head.appendChild(b);b.httpEquiv="origin-trial";b.content=a;return b} +var Lm=function(a){if(D.top==D)return 0;if(void 0===a?0:a){var b=D.location.ancestorOrigins;if(b)return b[b.length-1]==D.location.origin?1:2}return Hm(D.top)?1:2},Km=function(a,b){b=void 0===b?document:b;return b.createElement(String(a).toLowerCase())};function Mm(a,b,c,d){d=void 0===d?!1:d;a.google_image_requests||(a.google_image_requests=[]);var e=Km("IMG",a.document);if(c){var f=function(){if(c){var g=a.google_image_requests,h=fc(g,e);0<=h&&Array.prototype.splice.call(g,h,1)}e.removeEventListener&&e.removeEventListener("load",f,!1);e.removeEventListener&&e.removeEventListener("error",f,!1)};ym(e,"load",f);ym(e,"error",f)}d&&(e.attributionSrc="");e.src=b;a.google_image_requests.push(e)} +var Om=function(a){var b;b=void 0===b?!1:b;var c="https://pagead2.googlesyndication.com/pagead/gen_204?id=tcfe";Im(a,function(d,e){if(d||0===d)c+="&"+e+"="+encodeURIComponent(""+d)});Nm(c,b)},Nm=function(a,b){var c=window,d;b=void 0===b?!1:b;d=void 0===d?!1:d;if(c.fetch){var e={keepalive:!0,credentials:"include",redirect:"follow",method:"get",mode:"no-cors"};d&&(e.mode="cors","setAttributionReporting"in XMLHttpRequest.prototype?e.attributionReporting={eventSourceEligible:"true",triggerEligible:"false"}: +e.headers={"Attribution-Reporting-Eligible":"event-source"});c.fetch(a,e)}else Mm(c,a,void 0===b?!1:b,void 0===d?!1:d)};var Pm=function(){this.P=this.P;this.F=this.F};Pm.prototype.P=!1;Pm.prototype.addOnDisposeCallback=function(a,b){this.P?void 0!==b?a.call(b):a():(this.F||(this.F=[]),this.F.push(void 0!==b?Fa(a,b):a))};var Qm=function(a){void 0!==a.addtlConsent&&"string"!==typeof a.addtlConsent&&(a.addtlConsent=void 0);void 0!==a.gdprApplies&&"boolean"!==typeof a.gdprApplies&&(a.gdprApplies=void 0);return void 0!==a.tcString&&"string"!==typeof a.tcString||void 0!==a.listenerId&&"number"!==typeof a.listenerId?2:a.cmpStatus&&"error"!==a.cmpStatus?0:3},Rm=function(a,b){b=void 0===b?{}:b;Pm.call(this);this.D=a;this.m=null;this.Ea={};this.sb=0;var c;this.Ya=null!=(c=b.Bm)?c:500;var d;this.Z=null!=(d=b.on)?d:!1;this.J= +null};xa(Rm,Pm);var cn=function(a){return"function"===typeof a.D.__tcfapi||null!=Sm(a)}; +Rm.prototype.addEventListener=function(a){var b=this,c={internalBlockOnErrors:this.Z},d=xm(function(){return a(c)}),e=0;-1!==this.Ya&&(e=setTimeout(function(){c.tcString="tcunavailable";c.internalErrorState=1;d()},this.Ya));var f=function(g,h){clearTimeout(e);g?(c=g,c.internalErrorState=Qm(c),c.internalBlockOnErrors=b.Z,h&&0===c.internalErrorState||(c.tcString="tcunavailable",h||(c.internalErrorState=3))):(c.tcString="tcunavailable",c.internalErrorState=3);a(c)};try{dn(this,"addEventListener",f)}catch(g){c.tcString= +"tcunavailable",c.internalErrorState=3,e&&(clearTimeout(e),e=0),d()}};Rm.prototype.removeEventListener=function(a){a&&a.listenerId&&dn(this,"removeEventListener",null,a.listenerId)}; +var fn=function(a,b,c){var d;d=void 0===d?"755":d;var e;a:{if(a.publisher&&a.publisher.restrictions){var f=a.publisher.restrictions[b];if(void 0!==f){e=f[void 0===d?"755":d];break a}}e=void 0}var g=e;if(0===g)return!1;var h=c;2===c?(h=0,2===g&&(h=1)):3===c&&(h=1,1===g&&(h=0));var m;if(0===h)if(a.purpose&&a.vendor){var n=en(a.vendor.consents,void 0===d?"755":d);m=n&&"1"===b&&a.purposeOneTreatment&&"CH"===a.publisherCC?!0:n&&en(a.purpose.consents,b)}else m=!0;else m=1===h?a.purpose&&a.vendor?en(a.purpose.legitimateInterests, +b)&&en(a.vendor.legitimateInterests,void 0===d?"755":d):!0:!0;return m},en=function(a,b){return!(!a||!a[b])},dn=function(a,b,c,d){c||(c=function(){});if("function"===typeof a.D.__tcfapi){var e=a.D.__tcfapi;e(b,2,c,d)}else if(Sm(a)){gn(a);var f=++a.sb;a.Ea[f]=c;if(a.m){var g={};a.m.postMessage((g.__tcfapiCall={command:b,version:2,callId:f,parameter:d},g),"*")}}else c({},!1)},Sm=function(a){if(a.m)return a.m;var b;a:{for(var c=a.D,d=0;50>d;++d){var e;try{e=!(!c.frames||!c.frames.__tcfapiLocator)}catch(h){e= +!1}if(e){b=c;break a}var f;b:{try{var g=c.parent;if(g&&g!=c){f=g;break b}}catch(h){}f=null}if(!(c=f))break}b=null}a.m=b;return a.m},gn=function(a){a.J||(a.J=function(b){try{var c;c=("string"===typeof b.data?JSON.parse(b.data):b.data).__tcfapiReturn;a.Ea[c.callId](c.returnValue,c.success)}catch(d){}},ym(a.D,"message",a.J))},hn=function(a){if(!1===a.gdprApplies)return!0;void 0===a.internalErrorState&&(a.internalErrorState=Qm(a));return"error"===a.cmpStatus||0!==a.internalErrorState?a.internalBlockOnErrors? +(Om({e:String(a.internalErrorState)}),!1):!0:"loaded"!==a.cmpStatus||"tcloaded"!==a.eventStatus&&"useractioncomplete"!==a.eventStatus?!1:!0};var jn={1:0,3:0,4:0,7:3,9:3,10:3};function kn(){var a=si.tcf||{};return si.tcf=a} +var ln=function(){return new Rm(D,{Bm:-1})},rn=function(){var a=kn(),b=ln();cn(b)&&!mn()&&!nn()&&M(124);if(!a.active&&cn(b)){mn()&&(a.active=!0,a.fc={},a.cmpId=0,a.tcfPolicyVersion=0,Uk().active=!0,a.tcString="tcunavailable");yl();try{b.addEventListener(function(c){if(0!==c.internalErrorState)on(a),zl([Q.g.M,Q.g.ya,Q.g.O]),Uk().active=!0;else if(a.gdprApplies=c.gdprApplies,a.cmpId=c.cmpId,a.enableAdvertiserConsentMode=c.enableAdvertiserConsentMode,nn()&&(a.active=!0),!pn(c)||mn()||nn()){a.tcfPolicyVersion= +c.tcfPolicyVersion;var d;if(!1===c.gdprApplies){var e={},f;for(f in jn)jn.hasOwnProperty(f)&&(e[f]=!0);d=e;b.removeEventListener(c)}else if(pn(c)){var g={},h;for(h in jn)if(jn.hasOwnProperty(h))if("1"===h){var m,n=c,p={ml:!0};p=void 0===p?{}:p;m=hn(n)?!1===n.gdprApplies?!0:"tcunavailable"===n.tcString?!p.wj:(p.wj||void 0!==n.gdprApplies||p.ml)&&(p.wj||"string"===typeof n.tcString&&n.tcString.length)?fn(n,"1",0):!0:!1;g["1"]=m}else g[h]=fn(c,h,jn[h]);d=g}if(d){a.tcString=c.tcString||"tcempty";a.fc= +d;var q={},r=(q[Q.g.M]=a.fc["1"]?"granted":"denied",q);!0!==a.gdprApplies?(zl([Q.g.M,Q.g.ya,Q.g.O]),Uk().active=!0):(r[Q.g.ya]=a.fc["3"]&&a.fc["4"]?"granted":"denied","number"===typeof a.tcfPolicyVersion&&4<=a.tcfPolicyVersion?r[Q.g.O]=a.fc["1"]&&a.fc["7"]?"granted":"denied":zl([Q.g.O]),tl(r,{eventId:0},{gdprApplies:a?a.gdprApplies:void 0,tcString:qn()||""}))}}else zl([Q.g.M,Q.g.ya,Q.g.O])})}catch(c){on(a),zl([Q.g.M,Q.g.ya,Q.g.O]),Uk().active=!0}}}; +function on(a){a.type="e";a.tcString="tcunavailable"}function pn(a){return"tcloaded"===a.eventStatus||"useractioncomplete"===a.eventStatus||"cmpuishown"===a.eventStatus}var mn=function(){return!0===D.gtag_enable_tcf_support};function nn(){return!0===kn().enableAdvertiserConsentMode} +var qn=function(){var a=kn();if(a.active)return a.tcString},sn=function(){var a=kn();if(a.active&&void 0!==a.gdprApplies)return a.gdprApplies?"1":"0"},tn=function(a){if(!jn.hasOwnProperty(String(a)))return!0;var b=kn();return b.active&&b.fc?!!b.fc[String(a)]:!0};var un=[Q.g.M,Q.g.T,Q.g.O,Q.g.ya],vn={},wn=(vn[Q.g.M]=1,vn[Q.g.T]=2,vn);function xn(a){if(void 0===a)return 0;switch(V(a,Q.g.la)){case void 0:return 1;case !1:return 3;default:return 2}} +var yn=function(a){var b=xn(a);if(3===b)return!1;switch(el(Q.g.ya)){case 1:case 3:return!0;case 2:return!1;case 4:return 2===b;case 0:return!0;default:return!1}},zn=function(){return hl()||!dl(Q.g.M)||!dl(Q.g.T)},An=function(){var a={},b;for(b in wn)wn.hasOwnProperty(b)&&(a[wn[b]]=el(b));return"G1"+Pe(a[1]||0)+Pe(a[2]||0)},Bn={},Cn=(Bn[Q.g.M]=0,Bn[Q.g.T]=1,Bn[Q.g.O]=2,Bn[Q.g.ya]=3,Bn);function Dn(a){switch(a){case void 0:return 1;case !0:return 3;case !1:return 2;default:return 0}} +var En=function(a){for(var b="1",c=0;c=c&&(a="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"[c>>6& +63],b="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"[c&63]);var e="0",f;var g=kn();f=g.active?g.tcfPolicyVersion:void 0;"number"===typeof f&&0<=f&&63>=f&&(e="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"[f]);var h=0;pj()&&(h|=1);"1"===sn()&&(h|=2);mn()&&(h|=4);var m;var n=kn();m=void 0!==n.enableAdvertiserConsentMode?n.enableAdvertiserConsentMode?"1":"0":void 0;"1"===m&&(h|=8);Uk().waitPeriodTimedOut&&(h|=16);return"1"+a+b+e+"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"[h]};var Jn=function(){var a=!1;return a};var Kn={UA:1,AW:2,DC:3,G:4,GF:5,GT:12,GTM:14,HA:6,MC:7},Ln=function(a){a=void 0===a?{}:a;var b=Uf.ctid.split("-")[0].toUpperCase(),c={};c.ctid=Uf.ctid;c.im=ri.ke;c.mm=ri.Og;c.Ll=Qj.he?2:1;c.wm=a.Kj;c.qe=Uf.canonicalContainerId;c.qe!==a.xa&&(c.xa=a.xa);xi?(c.Of=Kn[b],c.Of||(c.Of=0)):c.Of=Bi?13:10;Ki.J?(c.Mf=0,c.Ok=2):zi?c.Mf=1:Jn()?c.Mf=2:c.Mf=3;var d={};d[6]=Rj;c.Rk=d;var e=a.Gf,f;var g=c.Of,h=c.Mf;void 0===g?f="":(h||(h=0),f=""+Ng(1,1)+Oe(g<<2|h));var m=c.Ok,n=4+f+(m?""+Ng(2,1)+Oe(m):""),p,q=c.mm; +p=q&&Jg.test(q)?""+Ng(3,2)+q:"";var r,t=c.im;r=t?""+Ng(4,1)+Oe(t):"";var u;var v=c.ctid;if(v&&e){var w=v.split("-"),x=w[0].toUpperCase();if("GTM"!==x&&"OPT"!==x)u="";else{var y=w[1];u=""+Ng(5,3)+Oe(1+y.length)+(c.Ll||0)+y}}else u="";var A=c.wm,B=c.qe,E=c.xa,F=c.xn,C=n+p+r+u+(A?""+Ng(6,1)+Oe(A):"")+(B?""+Ng(7,3)+Oe(B.length)+B:"")+(E?""+Ng(8,3)+Oe(E.length)+E:"")+(F?""+Ng(9,3)+Oe(F.length)+F:""),G;var N=c.Rk;N=void 0===N?{}:N;for(var O=[],U=la(Object.keys(N)),X=U.next();!X.done;X=U.next()){var P=X.value; +O[Number(P)]=N[P]}if(O.length){var S=Ng(10,3),na;if(0===O.length)na=Oe(0);else{for(var ka=[],da=0,Ba=!1,Da=0;Da>21:d;c=String(b^d&2147483647)}else c=String(b);return c},go=function(a){return[fo(a),Math.round(zb()/1E3)].join(".")},ho=function(a,b,c,d,e){var f=bo(b);return Tn(a,f,co(c),d,e)},io=function(a,b,c,d){return[b,eo(c,d),a].join(".")};function jo(a,b,c,d){var e,f=Number(null!=a.xb?a.xb:void 0);0!==f&&(e=new Date((b||zb())+1E3*(f||7776E3)));return{path:a.path,domain:a.domain,flags:a.flags,encode:!!c,expires:e,yb:d}};var ko;var oo=function(){var a=lo,b=mo,c=no(),d=function(g){a(g.target||g.srcElement||{})},e=function(g){b(g.target||g.srcElement||{})};if(!c.init){Mc(H,"mousedown",d);Mc(H,"keyup",d);Mc(H,"submit",e);var f=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){b(this);f.call(this)};c.init=!0}},po=function(a,b,c,d,e){var f={callback:a,domains:b,fragment:2===c,placement:c,forms:d,sameHost:e};no().decorators.push(f)},qo=function(a,b,c){for(var d=no().decorators,e={},f=0;ff;f++){for(var g=f,h=0;8>h;h++)g=g&1?g>>>1^3988292384:g>>>1;e[f]=g}d=e}ko=d;for(var m=4294967295,n=0;n>>8^ko[(m^c.charCodeAt(n))&255];return((m^-1)>>>0).toString(36)} +function xo(){return function(a){var b=Cj(D.location.href),c=b.search.replace("?",""),d=vj(c,"_gl",!1,!0)||"";a.query=yo(d)||{};var e=yj(b,"fragment"),f;var g=-1;if(Eb(e,"_gl="))g=4;else{var h=e.indexOf("&_gl=");0g)f=void 0;else{var m=e.indexOf("&",g);f=0>m?e.substring(g):e.substring(g,m)}a.fragment=yo(f||"")||{}}} +var zo=function(a){var b=xo(),c=no();c.data||(c.data={query:{},fragment:{}},b(c.data));var d={},e=c.data;e&&(Cb(d,e.query),a&&Cb(d,e.fragment));return d},yo=function(a){try{var b=Ao(a,3);if(void 0!==b){for(var c={},d=b?b.split("*"):[],e=0;e+1e;++e){var f=ro.exec(d);if(f){c=f;break a}d=decodeURIComponent(d)}c=void 0}var g=c;if(g&&"1"===g[1]){var h=g[3],m;a:{for(var n=g[2],p=0;pf.length||!b&&3!==f.length)&&Number(f[1])){d[c[e].Lh]||(d[c[e].Lh]=[]);var g={version:f[0],timestamp:1E3*Number(f[1]),aa:f[2]};b&&3p){n=!0;break b}n=!1}if(!n){var t=jo(b,m,!0);t.yb=lp();Zn(g,h,t)}}}}Dp(Bp(c.gclid,c.gclsrc),!1,b)},lp())},Hp=function(a){if(cj(20)){var b=zo(!0),c=sp(a.prefix),d=tp("ag",c);np(function(){if(d){var e=b[d];if(e){var f=ep(e);if(f){var g=zp(f);g||(g=zb()); +var h;a:{var m=g;if(cj(20))for(var n=gp(d),p=0;pm){h=!0;break a}h=!1}h||(f.i=Math.round(g/1E3),hp(d,f,a,g))}}}},["ad_storage"])}},tp=function(a,b){var c=kp[a];if(void 0!==c)return b+c},Fp=function(a){return 0!==Ip(a.split(".")).length?1E3*(Number(a.split(".")[1])||0):0};function zp(a){return a?1E3*(Number(a.i)||0):0}function xp(a){var b=Ip(a.split("."));return 0===b.length?null:{version:b[0],aa:b[2],timestamp:1E3*(Number(b[1])||0),labels:b.slice(3)}} +function Ip(a){return 3>a.length||"GCL"!==a[0]&&"1"!==a[0]||!/^\d+$/.test(a[1])||!jp.test(a[2])?[]:a} +var Jp=function(a,b,c,d,e){if(Array.isArray(b)&&Mn(D)){var f=sp(e),g=function(){for(var h={},m=0;mc}; +var Xp=function(a,b,c){var d=si.joined_auid=si.joined_auid||{},e=(c?a||"_gcl":"")+"."+b;if(d[e])return!0;d[e]=!0;return!1},Yp=function(){var a=Cj(D.location.href),b=yj(a,"query",!1,void 0,"gad_source");if(void 0===b){var c=a.hash.replace("#","");b=vj(c,"gad_source",!1)}return b},Zp=function(){var a=Cj(D.location.href).search.replace("?","");return"1"===vj(a,"gad",!1,!0)},$p=function(){var a=1===Lm(!0)?D.top.location.href:D.location.href;return a=a.replace(/[\?#].*$/,"")},aq=function(a){var b=[];z(a, +function(c,d){d=yp(d);for(var e=[],f=0;fq;q++){var r=p[q].src;if(r){r=r.toLowerCase();if(0===r.indexOf(m)){f=3;break a}1===n&&0===r.indexOf(h)&&(n=2)}}f=n}else f=e;return(2===f||d||"http:"!=D.location.protocol?a:b)+c}; +var cr=function(a,b){T(5)&&(a.dma=Gn(),Hn()&&(a.dmaCps=Fn()),yn(b)?a.npa="0":a.npa="1")},er=function(a,b,c){if(D[a.functionName])return b.xh&&I(b.xh),D[a.functionName];var d=dr();D[a.functionName]=d;if(a.Ff)for(var e=0;ea.indexOf("Safari")||/Chrome|Coast|Opera|Edg|Silk|Android/.test(a))return!1;var b=(/Version\/([\d\.]+)/.exec(a)||[])[1]||"";if(""===b)return!1;for(var c=["14","1","1"],d=b.split("."),e=0;eNumber(c[e])}return d.length>=c.length};var vr=function(){var a=D.screen;return{width:a?a.width:0,height:a?a.height:0}},wr=function(a){if(H.hidden)return!0;var b=a.getBoundingClientRect();if(b.top==b.bottom||b.left==b.right||!D.getComputedStyle)return!0;var c=D.getComputedStyle(a,null);if("hidden"===c.visibility)return!0;for(var d=a,e=c;d;){if("none"===e.display)return!0;var f=e.opacity,g=e.filter;if(g){var h=g.indexOf("opacity(");0<=h&&(g=g.substring(h+8,g.indexOf(")",h)),"%"==g.charAt(g.length-1)&&(g=g.substring(0,g.length-1)),f=Math.min(g, +f))}if(void 0!==f&&0>=f)return!0;(d=d.parentElement)&&(e=D.getComputedStyle(d,null))}return!1}; +var Gr=function(a,b,c){var d=a.element,e={W:a.W,type:a.qa,tagName:d.tagName};b&&(e.querySelector=Fr(d));c&&(e.isVisible=!wr(d));return e},Hr=function(a,b,c){return Gr({element:a.element,W:a.W,qa:"1"},b,c)},Ir=function(a){var b=!!a.ud+"."+!!a.vd;a&&a.ve&&a.ve.length&&(b+="."+a.ve.join("."));a&&a.ub&&(b+="."+a.ub.email+"."+a.ub.phone+"."+a.ub.address);return b},Lr=function(a){if(0!=a.length){var b;b=Jr(a,function(c){return!Kr.test(c.W)});b=Jr(b,function(c){return"INPUT"===c.element.tagName.toUpperCase()}); +b=Jr(b,function(c){return!wr(c.element)});return b[0]}},Mr=function(a,b){if(!b||0===b.length)return a;for(var c=[],d=0;d=a.length)return a;var c=a.filter(b);return 0==c.length?a:c},Fr=function(a){var b;if(a===H.body)b="body";else{var c;if(a.id)c="#"+a.id;else{var d;if(a.parentElement){var e;a:{var f=a.parentElement;if(f){for(var g=0;g:nth-child("+e+")"}else d="";c=d}b=c}return b},Or=function(a){for(var b=[],c=0;cd;d++){var e=c[d];if(!(0<=Pr.indexOf(e.tagName.toUpperCase()))&&e.children instanceof HTMLCollection){for(var f=!1,g=0;gg;g++)if(!(0<=Qr.indexOf(e.children[g].tagName.toUpperCase()))){f=!0;break}(!f||T(21)&&-1!==Rr.indexOf(e.tagName))&&a.push(e)}}return{elements:a,status:1E4zb()-c.timestamp)return c.result;var d= +Sr(),e=d.status,f=[],g,h,m=[];if(!T(21)){if(a.ub&&a.ub.email){var n=Or(d.elements);f=Mr(n,a&&a.ve);g=Lr(f);10e?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296==(e&64512)&&d+1>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return b};tc();Am()||qc("iPod");qc("iPad");!qc("Android")||uc()||tc()||sc()||qc("Silk");uc();!qc("Safari")||uc()||(rc()?0:qc("Coast"))||sc()||(rc()?0:qc("Edge"))||(rc()?pc("Microsoft Edge"):qc("Edg/"))||(rc()?pc("Opera"):qc("OPR"))||tc()||qc("Silk")||qc("Android")||Bm();var ct={},dt=null,et=function(a){for(var b=[],c=0,d=0;d>=8);b[c++]=e}var f=4;void 0===f&&(f=0);if(!dt){dt={};for(var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),h=["+/=","+/","-_=","-_.","-_"],m=0;5>m;m++){var n=g.concat(h[m].split(""));ct[m]=n;for(var p=0;p>2],E=r[(x&3)<<4|y>>4],F=r[(y&15)<<2|A>>6],C=r[A&63];t[w++]=""+B+E+F+C}var G=0,N=u;switch(b.length-v){case 2:G=b[v+1],N=r[(G&15)<<2]||u;case 1:var O=b[v];t[w]=""+r[O>>2]+r[(O&3)<<4|G>>4]+N+u}return t.join("")};Object.freeze(new function(){});Object.freeze(new function(){});var ft="platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" ");function gt(a){var b;return null!=(b=a.google_tag_data)?b:a.google_tag_data={}}function ht(){var a=D.google_tag_data,b;if(null!=a&&a.uach){var c=a.uach,d=Object.assign({},c);c.fullVersionList&&(d.fullVersionList=c.fullVersionList.slice(0));b=d}else b=null;return b}function it(){var a,b;return null!=(b=null==(a=D.google_tag_data)?void 0:a.uach_promise)?b:null} +function jt(a){var b,c;return"function"===typeof(null==(b=a.navigator)?void 0:null==(c=b.userAgentData)?void 0:c.getHighEntropyValues)}function kt(){var a=D;if(!jt(a))return null;var b=gt(a);if(b.uach_promise)return b.uach_promise;var c=a.navigator.userAgentData.getHighEntropyValues(ft).then(function(d){null!=b.uach||(b.uach=d);return d});return b.uach_promise=c}; +var lt,mt=function(){if(jt(D)&&(lt=zb(),!it())){var a=kt();a&&(a.then(function(){M(95);}),a.catch(function(){M(96)}))}},ot=function(a){var b=nt.Dm,c=function(g,h){try{a(g,h)}catch(m){}},d=ht();if(d)c(d);else{var e=it();if(e){b= +Math.min(Math.max(isFinite(b)?b:0,0),1E3);var f=D.setTimeout(function(){c.Ee||(c.Ee=!0,M(106),c(null,Error("Timeout")))},b);e.then(function(g){c.Ee||(c.Ee=!0,M(104),D.clearTimeout(f),c(g))}).catch(function(g){c.Ee||(c.Ee=!0,M(105),D.clearTimeout(f),c(null,g))})}else c(null)}},pt=function(a,b){a&&(b.m[Q.g.lf]=a.architecture,b.m[Q.g.nf]=a.bitness,a.fullVersionList&&(b.m[Q.g.pf]=a.fullVersionList.map(function(c){return encodeURIComponent(c.brand||"")+";"+encodeURIComponent(c.version||"")}).join("|")), +b.m[Q.g.qf]=a.mobile?"1":"0",b.m[Q.g.rf]=a.model,b.m[Q.g.tf]=a.platform,b.m[Q.g.uf]=a.platformVersion,b.m[Q.g.vf]=a.wow64?"1":"0")};function qt(){return"attribution-reporting"}function rt(a){var b;b=void 0===b?document:b;var c;return!(null==(c=b.featurePolicy)||!c.allowedFeatures().includes(a))};var st=!1;function tt(){if(rt("join-ad-interest-group")&&nb(Ac.joinAdInterestGroup))return!0;st||(Jm(''),st=!0);return rt("join-ad-interest-group")&&nb(Ac.joinAdInterestGroup)} +function ut(a,b){var c=void 0==bj[3]?1:bj[3],d='iframe[data-tagging-id="'+b+'"]',e=[];try{if(1===c){var f=H.querySelector(d);f&&(e=[f])}else e=Array.from(H.querySelectorAll(d))}catch(q){}var g;a:{try{g=H.querySelectorAll('iframe[allow="join-ad-interest-group"][data-tagging-id*="-"]');break a}catch(q){}g=void 0}var h=g,m=((null==h?void 0:h.length)||0)>=(void 0==bj[2]?50:bj[2]),n;if(n=1<=e.length){var p=Number(e[e.length-1].dataset.loadTime);p&&zb()-p<(void 0==bj[1]?6E4:bj[1])?(ib("TAGGING",9),n=!0): +n=!1}if(!n){if(1===c)if(1<=e.length)vt(e[0]);else{if(m){ib("TAGGING",10);return}}else e.length>=c?vt(e[0]):m&&vt(h[0]);Kc(a,void 0,{allow:"join-ad-interest-group"},{taggingId:b,loadTime:zb()})}}function vt(a){try{a.parentNode.removeChild(a)}catch(b){}}function wt(){return"https://td.doubleclick.net"}; +var xt=function(){return T(41)?[Q.g.M,Q.g.O]:[Q.g.M]},zt=function(a){if(null!=a){var b=String(a).substring(0,512),c=b.indexOf("#");return-1==c?b:b.substring(0,c)}return""},At=function(){var a=H.title;if(void 0==a||""==a)return"";var b=function(d){try{return decodeURIComponent(d),!0}catch(e){return!1}};a=encodeURIComponent(a);for(var c=256;!b(a.substr(0,c));)c--;return decodeURIComponent(a.substr(0,c))},Bt=function(a){a.metadata.speculative_in_message||(a.metadata.speculative=!1)},Ct=function(a,b){Array.isArray(b)|| +(b=[b]);return 0<=b.indexOf(a.metadata.hit_type)},Dt=function(a){var b=a.target.ka[Gl[1]];if(b){a.m[Q.g.Tc]=b;var c=a.target.ka[Gl[2]];c&&(a.m[Q.g.kb]=c)}else a.isAborted=!0},Et=function(a){if(Ct(a,["conversion","remarketing","user_data_lead","user_data_web"])){var b=a.m[Q.g.kb],c=!0===V(a.o,Q.g.Ve);c&&(a.metadata.remarketing_only=!0);switch(a.metadata.hit_type){case "conversion":!c&&b&&Bt(a);Wq()&&(a.metadata.is_gcp_conversion=!0);break;case "user_data_lead":case "user_data_web":!c&&b&&(a.isAborted= +!0);break;case "remarketing":!c&&b||Bt(a)}Ct(a,["conversion","remarketing"])&&(a.m[Q.g.Si]=a.metadata.is_gcp_conversion?"www.google.com":"www.googleadservices.com")}},Ft=function(a){Ct(a,["conversion","remarketing"])},Gt=function(a){if(!a.metadata.consent_updated&&Ct(a,["conversion","remarketing"])){var b=Lm(!1);a.m[Q.g.Xd]=b;var c=V(a.o,Q.g.wa);c||(c=1===b?D.top.location.href:D.location.href);a.m[Q.g.wa]=zt(c);a.copyToHitData(Q.g.Ca,H.referrer);a.m[Q.g.Gb]=At();a.copyToHitData(Q.g.Na);var d=vr(); +a.m[Q.g.Hb]=d.width+"x"+d.height;for(var e,f=D,g=f;f&&f!=f.parent;)f=f.parent,Hm(f)&&(g=f);e=g;var h;var m=e.location.href;if(e===e.top)h={url:m,Jl:!0};else{var n=!1,p=e.document;p&&p.referrer&&(m=p.referrer,e.parent===e.top&&(n=!0));var q=e.location.ancestorOrigins;if(q){var r=q[q.length-1];r&&-1===m.indexOf(r)&&(n=!1,m=r)}h={url:m,Jl:n}}var t=h;t.url&&c!==t.url&&(a.m[Q.g.jf]=zt(t.url))}},Ht=function(a){Ct(a,["conversion","remarketing"])&&(a.copyToHitData(Q.g.Aa),a.copyToHitData(Q.g.ma),a.copyToHitData(Q.g.za), +T(41)&&!W(Q.g.O)||a.copyToHitData(Q.g.Oa))},It=function(a){if(!jt(D))M(87);else if(void 0!==lt){M(85);var b=ht();b?pt(b,a):M(86)}},Lt=function(a){!Ct(a,["conversion"])||T(41)&&!W(Q.g.O)||(!0===D._gtmpcm||ur()?a.m[Q.g.Qb]="2":T(26)&&(Jt||rt(qt())||(Jm(''),Jt=!0),Kt||(Kt=!0,Jm('A4oIpR6f5aUXFRMbL6t6qaMk4lrHWxcV3DcrzORsA9sEsIk1FBRMFzzhfMNLuUpokZH40FV8s7iiXtt/729v8A4AAACFeyJvcmlnaW4iOiJodHRwczovL3d3dy5nb29nbGV0YWdtYW5hZ2VyLmNvbTo0NDMiLCJmZWF0dXJlIjoiQXR0cmlidXRpb25SZXBvcnRpbmdDcm9zc0FwcFdlYiIsImV4cGlyeSI6MTcxNDUyMTU5OSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ\x3d\x3d')),rt(qt())&&(a.m[Q.g.Qb]="1")))},Mt=function(a){if(Ct(a,["conversion","remarketing"])&&T(22)){var b=function(d){return T(24)? +(ib("fdr",d),!0):!1};if(W(Q.g.M)||b(0))if(!T(41)||W(Q.g.O)||b(1))if(!1!==V(a.o,Q.g.Ba)||b(2))if(yn(a.o)||b(3))if(!1!==V(a.o,Q.g.Pb)||b(4)){var c;T(25)?c=a.eventName===Q.g.ba?V(a.o,Q.g.Ja):void 0:c=V(a.o,Q.g.Ja);if(!1!==c||b(5))if(tt()||b(6))T(24)&&kb()?(a.m[Q.g.yi]=jb("fdr"),delete hb.fdr):(a.m[Q.g.kg]="1",a.metadata.send_fledge_experiment=!0)}}},Nt=function(a){a.metadata.conversion_linker_enabled=!1!==V(a.o,Q.g.ra);a.metadata.cookie_options=Lq(a);a.metadata.redact_ads_data=null!=V(a.o,Q.g.fa)&&!1!== +V(a.o,Q.g.fa);a.metadata.allow_ad_personalization=yn(a.o)},Ot=function(a){if(oq(a,"ccd_add_1p_data",!1)&&W(xt())){var b=a.o.D[Q.g.de];if(Zi(b)){var c=V(a.o,Q.g.Da);null===c?a.metadata.user_data_from_code=null:(b.enable_code&&Va(c)&&(a.metadata.user_data_from_code=c),Va(b.selectors)&&(a.metadata.user_data_from_manual=Yi(b.selectors)))}}},Pt=function(a){var b=!a.metadata.send_user_data_hit&&Ct(a,["conversion","user_data_web"]),c=!oq(a,"ccd_add_1p_data",!1)&&Ct(a,"user_data_lead");if((b||c)&&W(Q.g.M)){var d= +"conversion"===a.metadata.hit_type,e=a.o,f=void 0,g=V(e,Q.g.Da);if(d){var h=(V(e,Q.g.Qd)||{})[a.m[Q.g.kb]];if(!0===V(e,Q.g.Gd)||h){var m;var n;if(h)b:{switch(h.enhanced_conversions_mode){case "manual":if(g&&Va(g)){n=g;break b}var p=h.enhanced_conversions_manual_var;n=void 0!==p?p:D.enhanced_conversion_data;break b;case "automatic":n=Yi(h[Q.g.jg]);break b}n=void 0}else n=D.enhanced_conversion_data;var q=n,r=(h||{}).enhanced_conversions_mode,t;if(q){if("manual"===r)switch(q._tag_mode){case "CODE":t= +"c";break;case "AUTO":t="a";break;case "MANUAL":t="m";break;default:t="c"}else t="automatic"===r?Vq(h)?"a":"m":"c";m={W:q,Mj:t}}else m={W:q,Mj:void 0};var u=m,v=u.Mj;f=u.W;a.m[Q.g.ld]=v}}else if(a.o.isGtmEvent){Bt(a);a.metadata.user_data=g;a.m[Q.g.ld]=Uq(g);return}a.metadata.user_data=f}},Qt=function(a){Ct(a,["conversion","remarketing"])&&(a.o.isGtmEvent?"conversion"!==a.metadata.hit_type&&a.eventName&&(a.m[Q.g.Zc]=a.eventName):a.m[Q.g.Zc]=a.eventName,z(a.o.m,function(b,c){oi[b.split(".")[0]]||(a.m[b]= +c)}))},Rt=function(a){if(a.eventName===Q.g.ba&&!a.metadata.consent_updated&&(a.metadata.is_config_command=!0,Ct(a,"conversion")&&(a.metadata.speculative=!0),!Ct(a,"remarketing")||!1!==V(a.o,Q.g.Pb)&&!1!==V(a.o,Q.g.Ja)||(a.metadata.speculative=!0),Ct(a,"landing_page"))){var b=V(a.o,Q.g.sa)||{},c=V(a.o,Q.g.Ta),d=a.metadata.conversion_linker_enabled,e=a.metadata.source_canonical_id,f=yn(a.o),g=a.metadata.redact_ads_data,h=a.metadata.cookie_options;Oq({rd:d,wd:b,Cd:c,xa:e,allowAdPersonalizationSignals:f, +xd:g},h);nr(a.target,a.o);ar({Vg:!1,xd:g,targetId:a.target.id,o:a.o,ac:d?h:void 0,Kf:d,rj:a.m[Q.g.Zd],hh:a.m[Q.g.pb],ah:a.m[Q.g.lb]});a.isAborted=!0}},St=function(a){if(!oq(a,"hasPreAutoPiiCcdRule",!1)&&Ct(a,"conversion")&&W(Q.g.M)){var b=(V(a.o,Q.g.Qd)||{})[a.m[Q.g.kb]],c=a.m[Q.g.Tc],d;if(!(d=Vq(b)))if(rj())if(Tr)d=!0;else{var e=mq("AW-"+c);d=!!e&&!!e.preAutoPii}else d=!1;if(d){var f=zb(),g=os({ud:!0,vd:!0,Pf:!0});if(0!==g.elements.length){for(var h=[],m=0;mc.indexOf(h))if(m&&0c.indexOf(m[q])){M(11);p=!1;break a}}else{p=!1;break a}p=!0}n=p}var r=!1;if(d){var t=0<=e.indexOf(h);if(t)r=t;else{var u=sb(e,m||[]);u&&M(10);r=u}}var v=!n||r;v||!(0<=m.indexOf("sandboxedScripts"))||c&&-1!==c.indexOf("sandboxedScripts")||(v=sb(e,fw));return f[h]=v}},lw=!1; +lw=!0;var nw=function(){Rj&&Cv(Zj(),function(a){var b=Af(a.entityId),c;if(Ff(b)){var d=b[Qe.na];if(!d)throw"Error: No function name given for function call.";var e=sf[d];c=!!e&&!!e.runInSiloedMode}else c=!!Av(b[Qe.na],4);return c})};var pw=function(a,b,c,d,e){if(!ow()){var f=d.siloed?Tj(a):a;if(!ik(f)){var g="?id="+encodeURIComponent(a)+"&l="+ri.Ua,h=0===a.indexOf("GTM-");h||(g+="&cx=c");T(57)&&(g+=">m="+Ln());var m=Ij();m&&(g+="&sign="+ri.Cf);var n=c?"/gtag/js":"/gtm.js",p=Hj()?Gj(b,n+g):void 0;if(!p){var q=ri.Ed+n;m&&Cc&&h?(q=Cc.replace(/^(?:https?:\/\/)?/i,"").split(/[?#]/)[0],p=br("https://","http://",q+g)):p=Ki.D?Li()+n+g:br("https://","http://",q+g)}d.siloed&&kk({ctid:f,isDestination:!1});var r=bk();Nj().container[f]= +{state:1,context:d,parent:r};Oj({ctid:f,isDestination:!1},e);Ic(p)}}},qw=function(a,b,c,d){if(!ow()){var e=c.siloed?Tj(a):a;if(!jk(e))if(!c.siloed&&lk())Nj().destination[e]={state:0,transportUrl:b,context:c,parent:bk()},Oj({ctid:e,isDestination:!0},d),M(91);else{var f="/gtag/destination?id="+encodeURIComponent(a)+"&l="+ri.Ua+"&cx=c";T(57)&&(f+=">m="+Ln());Ij()&&(f+="&sign="+ri.Cf);var g=Hj()?Gj(b,f):void 0;g||(g=Ki.D?Li()+f:br("https://","http://",ri.Ed+f));c.siloed&&kk({ctid:e,isDestination:!0}); +Nj().destination[e]={state:1,context:c,parent:bk()};Oj({ctid:e,isDestination:!0},d);Ic(g)}}};function ow(){if(Jn()){return!0}return!1};var rw=!1,sw=0,tw=[];function uw(a){if(!rw){var b=H.createEventObject,c="complete"==H.readyState,d="interactive"==H.readyState;if(!a||"readystatechange"!=a.type||c||!b&&d){rw=!0;for(var e=0;esw){sw++;try{H.documentElement.doScroll("left"),uw()}catch(a){D.setTimeout(vw,50)}}}var ww=function(a){rw?a():tw.push(a)};var xw=function(){this.J=0;this.m={}};xw.prototype.addListener=function(a,b,c){var d=++this.J;this.m[a]=this.m[a]||{};this.m[a][String(d)]={listener:b,zb:c};return d};xw.prototype.D=function(a,b){var c=this.m[a],d=String(b);if(!c||!c[d])return!1;delete c[d];return!0};xw.prototype.F=function(a,b){var c=[];z(this.m[a],function(d,e){0>c.indexOf(e.listener)&&(void 0===e.zb||0<=b.indexOf(e.zb))&&c.push(e.listener)});return c};var yw=function(a,b,c){return{entityType:a,indexInOriginContainer:b,nameInOriginContainer:c,originContainerId:Yj()}};var Aw=function(a,b){this.m=!1;this.J=[];this.P={tags:[]};this.Z=!1;this.D=this.F=0;zw(this,a,b)},Bw=function(a,b,c,d){if(ui.hasOwnProperty(b)||"__zone"===b)return-1;var e={};Va(d)&&(e=k(d,e));e.id=c;e.status="timeout";return a.P.tags.push(e)-1},Cw=function(a,b,c,d){var e=a.P.tags[b];e&&(e.status=c,e.executionTime=d)},Dw=function(a){if(!a.m){for(var b=a.J,c=0;c=a.F&&Dw(a)})},Fw=function(a){a.Z=!0;a.D>=a.F&&Dw(a)};var Gw={},Iw=function(){return D[Hw()]}; +function Hw(){return D.GoogleAnalyticsObject||"ga"} +var Lw=function(){var a=Yj();},Mw=function(a,b){return function(){var c=Iw(),d=c&&c.getByName&&c.getByName(a);if(d){var e=d.get("sendHitTask");d.set("sendHitTask",function(f){var g=f.get("hitPayload"),h=f.get("hitCallback"),m=0>g.indexOf("&tid="+b);m&&(f.set("hitPayload",g.replace(/&tid=UA-[0-9]+-[0-9]+/,"&tid="+b),!0),f.set("hitCallback",void 0,!0));e(f); +m&&(f.set("hitPayload",g,!0),f.set("hitCallback",h,!0),f.set("_x_19",void 0,!0),e(f))})}}};var Rw=["es","1"],Sw={},Tw={};function Uw(a,b){if(vk){var c;c=b.match(/^(gtm|gtag)\./)?encodeURIComponent(b):"*";Sw[a]=[["e",c],["eid",a]];Fk(a)}}function Vw(a){var b=a.eventId,c=a.Ab;if(!Sw[b])return[];var d=[];Tw[b]||d.push(Rw);d.push.apply(d,oa(Sw[b]));c&&(Tw[b]=!0);return d};var Ww={},Xw={},Yw={};function Zw(a,b,c,d){vk&&T(67)&&((void 0===d?0:d)?(Yw[b]=Yw[b]||0,++Yw[b]):void 0!==c?(Xw[a]=Xw[a]||{},Xw[a][b]=Math.round(c)):(Ww[a]=Ww[a]||{},Ww[a][b]=(Ww[a][b]||0)+1))}function $w(a){var b=a.eventId,c=a.Ab,d=Ww[b]||{},e=[],f;for(f in d)d.hasOwnProperty(f)&&e.push(""+f+d[f]);c&&delete Ww[b];return e.length?[["md",e.join(".")]]:[]} +function ax(a){var b=a.eventId,c=a.Ab,d=Xw[b]||{},e=[],f;for(f in d)d.hasOwnProperty(f)&&e.push(""+f+d[f]);c&&delete Xw[b];return e.length?[["mtd",e.join(".")]]:[]}function bx(){for(var a=[],b=la(Object.keys(Yw)),c=b.next();!c.done;c=b.next()){var d=c.value;a.push(""+d+Yw[d])}return a.length?[["mec",a.join(".")]]:[]};var cx={},dx={};function ex(a,b,c){if(vk&&b){var d=Lj(b);cx[a]=cx[a]||[];cx[a].push(c+d);var e=(Ff(b)?"1":"2")+d;dx[a]=dx[a]||[];dx[a].push(e);Fk(a)}}function fx(a){var b=a.eventId,c=a.Ab,d=[],e=cx[b]||[];e.length&&d.push(["tr",e.join(".")]);var f=dx[b]||[];f.length&&d.push(["ti",f.join(".")]);c&&(delete cx[b],delete dx[b]);return d};function gx(a,b,c,d){var e=qf[a],f=hx(a,b,c,d);if(!f)return null;var g=Cf(e[Qe.cj],c,[]);if(g&&g.length){var h=g[0];f=gx(h.index,{onSuccess:f,onFailure:1===h.tj?b.terminate:f,terminate:b.terminate},c,d)}return f} +function hx(a,b,c,d){function e(){if(f[Qe.wk])h();else{var w=Df(f,c,[]),x=w[Qe.Rj];if(null!=x)for(var y=0;ye?1:dh?1:ga.length)&&l(a[1])){var d={};if(2N.indexOf(F)&&N.push(F)}}else{Tx(e.id);var O=e.id,U=d[Q.g.Wd]||"default";U=U.toString().split(",");for(var X=0;XP.indexOf(O)&&P.push(O)}}delete d[Q.g.Wd];var S=b.eventMetadata||{};S.hasOwnProperty("is_external_event")||(S.is_external_event= +!b.fromContainerExecution);b.eventMetadata=S;delete d[Q.g.Yc];for(var na=t?[e.id]:Wj(),ka=0;kaa.length)&&l(c)){var d;if(2b)b=0;var c=si[ri.Ua],d=0,e=!1,f=void 0;f=D.setTimeout(function(){e||(e=!0,a());f=void 0},b);return function(){var g=c?c.subscribers:1;++d===g&&(f&&(D.clearTimeout(f),f=void 0),e||(a(),e=!0))}}; +function xy(a,b){var c=a._clear||b.overwriteModelFields;z(a,function(e,f){"_clear"!==e&&(c&&Ui(e),Ui(e,f))});Ei||(Ei=a["gtm.start"]);var d=a["gtm.uniqueEventId"];if(!a.event)return!1;"number"!==typeof d&&(d=Ii(),a["gtm.uniqueEventId"]=d,Ui("gtm.uniqueEventId",d));return Px(a)}function yy(a){if(null==a||"object"!==typeof a)return!1;if(a.event)return!0;if(tb(a)){var b=a[0];if("config"===b||"event"===b||"js"===b||"get"===b)return!0}return!1} +function zy(){var a;if(qy.length)a=qy.shift();else if(py.length)a=py.shift();else return;var b;var c=a;if(ry||!yy(c.message))b=c;else{ry=!0;var d=c.message["gtm.uniqueEventId"];"number"!==typeof d&&(d=c.message["gtm.uniqueEventId"]=Ii());var e={},f={message:(e.event="gtm.init_consent",e["gtm.uniqueEventId"]=d-2,e),messageContext:{eventId:d-2}},g={},h={message:(g.event="gtm.init",g["gtm.uniqueEventId"]=d-1,g),messageContext:{eventId:d-1}};py.unshift(h,c);if(vk){var m=Uf.ctid;if(m){var n,p=ak(bk()); +n=p&&p.context;var q,r=Cj(D.location.href);q=r.hostname+r.pathname;var t=n&&n.fromContainerExecution,u=n&&n.source,v=Uf.canonicalContainerId,w=Qj.he;vk&&(Jk||(Jk=q),Kk.push(m+";"+v+";"+(t?1:0)+";"+(u||0)+";"+(w?1:0)))}}b=f}return b} +function Ay(){for(var a=!1,b;!sy&&(b=zy());){sy=!0;delete Oi.eventModel;Qi();var c=b,d=c.message,e=c.messageContext;if(null==d)sy=!1;else{e.fromContainerExecution&&Vi();try{if(nb(d))try{d.call(Si)}catch(v){}else if(Array.isArray(d)){var f=d;if(l(f[0])){var g=f[0].split("."),h=g.pop(),m=f.slice(1),n=Ri(g.join("."),2);if(null!=n)try{n[h].apply(n,m)}catch(v){}}}else{var p=void 0;if(tb(d))a:{if(d.length&&l(d[0])){var q=fy[d[0]];if(q&&(!e.fromContainerExecution||!gy[d[0]])){p=q(d,e);break a}}p=void 0}else p= +d;p&&(a=xy(p,e)||a)}}finally{e.fromContainerExecution&&Qi(!0);var r=d["gtm.uniqueEventId"];if("number"===typeof r){for(var t=oy[String(r)]||[],u=0;uny&&(ny=r)}sy=!1}}}return!a} +function Cy(){if(T(58)){var a=Dy();}var b=Ay();if(T(58)){}try{var c=Yj(),d=D[ri.Ua].hide;if(d&&void 0!==d[c]&&d.end){d[c]=!1;var e=!0,f;for(f in d)if(d.hasOwnProperty(f)&&!0=== +d[f]){e=!1;break}e&&(d.end(),d.end=null)}}catch(g){}return b}function tx(a){if(nyn)for(M(4),c.pruned=!0;this.length>n;)this.shift();var p="boolean"!==typeof m||m;return Ay()&&p};var e=b.slice(0).map(function(f){return a(f)});py.push.apply(py,e);if(Dy()){if(T(58)){}I(Cy)}},Dy=function(){var a=!0;return a};function Fy(a){if(null==a||0===a.length)return!1;var b=Number(a),c=zb();return bc-9E5}function Gy(a){return a&&0===a.indexOf("pending:")?Fy(a.substr(8)):!1}; +var az=function(){};var bz=function(){};bz.prototype.toString=function(){return"undefined"};var cz=new bz;function jz(a,b){function c(g){var h=Cj(g),m=yj(h,"protocol"),n=yj(h,"host",!0),p=yj(h,"port"),q=yj(h,"path").toLowerCase().replace(/\/$/,"");if(void 0===m||"http"===m&&"80"===p||"https"===m&&"443"===p)m="web",p="default";return[m,n,p,q]}for(var d=c(String(a)),e=c(String(b)),f=0;fNz.indexOf(b)||"input"===b&&0<=Oz.indexOf(a.type.toLowerCase())?!1:!0},Qz=function(a){return a.form?a.form.tagName?a.form:H.getElementById(a.form):Rc(a,["form"],100)},Rz=function(a,b,c){if(!a.elements)return 0;for(var d=b.dataset[c],e=0,f=1;ed)d=0;var e=od(a),f;Kz("pix.fil","init")?f=Kz("pix.fil","reg"):(cA(),f=gA,Iz("pix.fil","reg",gA),Iz("pix.fil","init",!0));f(d,e);}hA.H="internal.addFormInteractionListener"; +var jA=function(a,b,c){var d=Gz(a,"gtm.formSubmit");d["gtm.interactedFormName"]=a.getAttribute("name");d["gtm.interactedFormLength"]=a.length;d["gtm.willOpenInCurrentWindow"]=!b&&iA(a);c&&c.value&&(d["gtm.formSubmitButtonText"]=c.value);var e=a.action;e&&e.tagName&&(e=a.cloneNode(!1).action);d["gtm.elementUrl"]=e;d["gtm.formCanceled"]=b;return d},kA=function(a,b){var c=Kz("pix.fsl",a?"nv.mwt":"mwt",0);D.setTimeout(b,c)},lA=function(a,b,c,d,e){var f=Kz("pix.fsl",c?"nv.mwt":"mwt",0),g=Kz("pix.fsl", +c?"runIfCanceled":"runIfUncanceled",[]);if(!g.length)return!0;var h=jA(a,c,e);M(121);if("https://www.facebook.com/tr/"===h["gtm.elementUrl"])return M(122),!0;if(d&&f){for(var m=Jb(b,g.length),n=0;n=a.Dc)a.Bc&&D.clearInterval(a.Bc);else{a.Fc++;var b=zb();uy({event:a.eventName,"gtm.timerId":a.Bc,"gtm.timerEventNumber":a.Fc,"gtm.timerInterval":a.interval,"gtm.timerLimit":a.Dc,"gtm.timerStartTime":a.Pe,"gtm.timerCurrentTime":b,"gtm.timerElapsedTime":b-a.Pe,"gtm.triggers":a.Mh})}}} +function vC(a,b){ +return b}vC.H="internal.enableAutoEventOnTimer";var dc=ia(["data-gtm-yt-inspected-"]),xC=["www.youtube.com","www.youtube-nocookie.com"],yC,zC=!1; +function JC(a,b){var c=this;return b}JC.H="internal.enableAutoEventOnYouTubeActivity";var KC;function LC(a){var b=!1;return b}LC.H="internal.evaluateMatchingRules"; +var MC=function(a,b,c,d){var e=new nq(b,c,d);e.metadata.hit_type=a;e.metadata.speculative=!0;e.metadata.event_start_timestamp_ms=zb();e.metadata.speculative_in_message=d.eventMetadata.speculative;return e},NC=function(a,b,c,d){function e(r,t){for(var u=la(h),v=u.next();!v.done;v=u.next()){var w=v.value;w.isAborted=!1;w.metadata.speculative=!0;w.metadata.consent_updated=!0;w.metadata.event_start_timestamp_ms=zb();w.metadata.consent_event_id=r;w.metadata.consent_priority_id=t}}function f(r){for(var t= +0;tG.length){if(0===G.length)continue;break a}y&&y[C]&&y[C].length&&Hf(G,y[C]);try{wz.execute(G),T(67)&&vk&&50===G[0]&&F.push(G[1])}catch(ya){}}T(67)&& +(yf=F)}if(void 0!==v)for(var N=["sandboxedScripts"],O=0;O