PageSourceSearch

https://app.termly.io/dashboard/5473-eac5c3.js

js termly.io collected 2026-09-24 07:35:45 UTC 9,877 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_termly_web_dashboard=self.webpackChunk_termly_web_dashboard||[]).push([[5473],{11648(e,t,n){n.d(t,{A:()=>s});var o=n(21217);function s(e){return Object.entries(e).filter(e=>{let[t,n]=e;return o.Ay.has(t)||"do_not_sell"===t}).reduce((e,t)=>{let[n,o]=t;return{...e,[n]:Boolean(o)}},{})}},33823(e,t,n){n.d(t,{A:()=>x});var o=n(53241),s=n(92204),i=n(52430),r=n(76628),a=n(39076),c=n(31401);const l="__tltpl",d="__tluid",u=(e,t)=>{(0,c.SO)(e,t)},p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;return(0,c.Gq)(e,0)};var f=n(11648),_=n(21217);const g={ad_personalization:_.li,ad_storage:_.li,ad_user_data:_.li,analytics_storage:_.rO,functionality_storage:_.xe,personalization_storage:_.xe,security_storage:_.rG,social_storage:_.PR,unclassified_storage:_.zT};function y(e){return e?"granted":"denied"}window.dataLayer||(window.dataLayer=[]);const m={_currentConsent:{},initCMP(){this.gtag("set","developer_id.dNzg2MD",!0)},gtag(){window.TERMLY_FORCE_DISABLE_GCM||window.dataLayer.push(arguments)},push(e){window.TERMLY_FORCE_DISABLE_GCM||window.dataLayer.push(e)},send(e){const t=(0,f.A)(e),n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t={};for(const[n,o]of Object.entries(g)){const s=o===_.rG||e[o];t[n]=y(s)}return t}(t),o=function(e,t){const n=Object.entries(t||{}).reduce((t,n)=>{let[o,s]=n;return e[o]===s?t:{...t,[o]:s}},{});return Object.keys(n).length?n:void 0}(this._currentConsent,n);o&&(this.gtag("consent","update",o),Object.assign(this._currentConsent,o)),this.sendDone(t)},sendConsentDefault(e){this.gtag("consent","default",e),this._currentConsent={...e}},sendDone(e){this.push(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{event:"userPrefUpdate",cookiesAccepted:function(e){return Object.entries(e).filter(e=>{let[t,n]=e;return Boolean(n)}).map(e=>{let[t,n]=e;return t})}(e),termlyConsentSettings:e}}(e)),this.push({event:"Termly.consentSaveDone"})}},h=m,v={[_.li]:"marketing",[_.rO]:["statistics","statistics-anonymous"],[_.rG]:"functional",[_.xe]:"preferences",[_.PR]:"marketing"},k={opt_in:"optin",opt_out:"optout"};function w(e){return e?"allow":"deny"}const b={initialize(e){let{consentType:t}=e;window.wp_consent_type=k[t],document.dispatchEvent(new CustomEvent("wp_consent_type_defined"))},send(e){if("function"==typeof window.wp_set_consent)for(const[t,n]of Object.entries(v)){const o=w(t===_.rG||e[t]);(Array.isArray(n)?n:[n]).forEach(e=>{try{window.wp_set_consent(e,o)}catch(e){console.warn("[Termly] window.wp_set_consent() threw:",e)}})}}};var A=n(69245);const C=T("src"),S={EMBED:C,IFRAME:C,IMG:C,LINK:T("href"),OBJECT:C,SCRIPT:function(e){return"text/plain"===e.getAttribute("type")}};function E(e){if(!(e instanceof Element))throw new Error(`Argument to isElementManuallyBlocked() must be an Element.Got ${e}`);return!!e.dataset.categories&&(S[e.tagName]||A.A)(e)}function T(e){return t=>Boolean(t.dataset[e]&&!t.getAttribute(e))}const D="[data-categories]";function I(e,t){!function(e,t){e.filter(function(e){if(!e)return()=>!0;const t=new Set(e);return e=>e.dataset.categories.split(",").some(e=>t.has(e))}(t)).forEach(e=>{!function(e){const{categories:t}=e.dataset,n=function(e){const t=e.cloneNode(!0),n=e.getAttribute("data-src");if(t.onload=e.onload,"SCRIPT"===t.tagName)t.setAttribute("type","text/javascript");else if("IFRAME"===t.tagName){const n=e.dataset.termlyIframeId,o=e.parentNode.querySelector(`[data-blocked-iframe-id='${n}']`);o?.remove(),t.dataset.display?(t.style.display=t.dataset.display,t.removeAttribute("data-display")):t.style.display=null}return t.hasAttribute("data-src")&&(function(e){return!!e&&"null"!==e&&"undefined"!==e}(n)&&t.setAttribute("src",n),t.removeAttribute("data-src")),t.hasAttribute("data-href")&&(t.setAttribute("href",e.getAttribute("data-href")),t.removeAttribute("data-href")),t.removeAttribute("data-autoblocked"),t}(e),o=!e.hasAttribute("data-src")||n.hasAttribute("src");t&&o&&s.A.addLoadedCategories(t.split(",")),e.replaceWith(n)}(e)})}(function(e){const t=Array.from(e.querySelectorAll(D));return e.matches(D)&&t.unshift(e),t.filter(E)}(e),t)}const M={consent:[],initialized:[]}
1,O={dispatch(e,t){B(e)?.forEach(e=>e(t))},on(e,t){"function"==typeof t?B(e)?.push(t):console.warn("[Termly] Callback %o is not a function. Ignoring.",t)},off(e,t){const n=B(e);n&&(M[e]=n.filter(e=>e!==t))}};function B(e){const t=M[e];if(t)return t;console.warn("[Termly] %o is not a known event. Known events are: %s",e,Object.keys(M).sort())}const j=function(e){const{consentMode:t,consentState:n,cookieConsent:o,cookies:s,visitorId:i}=e,r=function(e){let{consentMode:t,cookieConsent:n}=e;return n?Object.entries(n).filter(e=>{let[t,n]=e;return _.Ay.has(t)}).filter(e=>{let[t]=e;return n[t]}).map(e=>{let[t]=e;return t}):"opt_in"===t?[_.rG]:_.Ay.values}({consentMode:t,cookieConsent:o}),a=function(e,t){if(!t)return[];const n=function(e){let{categories:t,cookies:n}=e;return t?Object.entries(n).filter(e=>{let[n]=e;return t[n]}).map(e=>{let[t,n]=e;return n}).flat():n.essential}({categories:e,cookies:t});return n?n.map(e=>{let{name:t,domain:n,tracker_type:o}=e;return{name:t,provider:n,type:o}}):[]}(o,s);if(window.getUpdatedCookieWhitelistByTermly)try{window.getUpdatedCookieWhitelistByTermly({categories:r,cookies:a,uuid:i})}catch(e){console.warn("[Termly] window.getUpdatedCookieWhitelistByTermly() threw:",e)}try{O.dispatch("consent",{categories:r,consentState:n,cookies:a,uuid:i})}catch(e){console.warn("[Termly] A `consent` event listener threw:",e)}},N=function(e){const{acString:t,bannerSuppressed:n,cookiePolicy:o,eventType:c,consentMode:l,cookieConsent:f,tcString:g}=e;if(!o)return()=>{console.info("Not saving Termly consents: No cookie policy found.")};const y=function(e){let{consentMode:t,cookieConsent:n}=e;if(r.A.equals(n))return!1;const o=function(e){const t=r.A.getConsents()||{};return"opt_in"===e?e=>{let[n,o]=e;return!o&&t[n]}:e=>{let[n,o]=e;return!o&&!1!==t[n]}}(t);return Object.entries(n).filter(o).some(e=>{let[t]=e;return s.A.hasLoadedCategory(t)})}({cookieConsent:f,consentMode:l});return function(){const e=p(d),m=function(e){const{acString:t,bannerSuppressed:n,cookieConsent:o,displayStyle:s,documentVersionID:i,tcString:r,templateVersionID:a,userID:c}=e,{do_not_sell:l,gpc:d,...u}=o,p=Boolean(l),f=Boolean(d);return{ac_string:t,banner_suppressed:Boolean(n),ccpa_do_not_sell:p,display_style:s,document_version_id:i,gpc_enabled:f,is_consent_granted_selections:u,tc_string:r,template_version_id:a,...function(e){if(e)return{visitor:{id:e}}}(c)}}({acString:t,bannerSuppressed:n,cookieConsent:f,displayStyle:c,documentVersionID:o.published_document_version_id,tcString:g,templateVersionID:o.accepted_template_version,userID:e});i.A.post(a.A.saveCookieConsent(),m).then(e=>{let{data:t}=e;const n=function(e){const t=new Date(e.create_time).valueOf();return{...e.is_consent_granted_selections,ac_string:e.ac_string,do_not_sell:e.ccpa_do_not_sell,document_version_id:e.document_version_id,event_type:e.display_style,gpc:e.gpc_enabled,id:t,tc_string:e.tc_string,template_version_id:e.document_version_id,visitor:{uuid:e.visitor.id},visitor_id:e.visitor.id}}(t),o=n.visitor_id;p(d)||u(d,o),r.A.setConsents(n),h.send(f),b.send(f),j({consentMode:l,consentState:r.A.getConsentSettings(),cookieConsent:f,cookies:s.A.cookies,visitorId:o}),y?(s.A.setReleaseDecision(void 0),window.location.reload()):(s.A.resumeAutoBlocker(),function(){let{categories:e,isTemporary:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};null==e?I(document.documentElement):function(e){I(document.documentElement,e)}(e),t||s.A.setReleaseDecision({categories:e});const n=e??Object.keys(_.jE);document.dispatchEvent(function(){return new CustomEvent("termlyConsent",{detail:arguments.length>0&&void 0!==arguments[0]?arguments[0]:""})}(n))}({categories:Object.entries(f).filter(e=>{let[t,n]=e;return n}).map(e=>{let[t,n]=e;return t})}))}).catch(e=>{console.warn("[Termly] Failed to save cookie consent:",e)})}};var R=n(5342),L=n(29286),G=n(41057),P=n(65451);function x(){const e=(0,G.U)(),{cookiePolicy:t,documents:n}=(0,P.N)(),{acceptAll:s,declineAll:i,makeACString:r}=(0,R.I)(),{acceptAll:a,declineAll:c,makeTCString:d,saveConsent:f}=(0,L.f)(),_=(0,o.useCallback)(e=>{(e=>{const t=(e=>`${l}_${e}`)(e&&e.length>0&&e[0].website_id),n=p(t)||{};
1e.forEach(e=>{let{uuid:t,document_version:o}=e;((e,t,n,o)=>{e[t]={notify:!0,version:o,showBanner:!1}})(n,t,0,o)}),u(t,n)})(n),e()},[n]),g=(0,o.useCallback)(n=>{let{acString:o,cookieConsent:s,tcString:i}=n;const a=o||r(),c=i||d();f({acString:a,tcString:c}),_(N({acString:a,bannerSuppressed:e.banner_suppressed,consentMode:e.consent_mode,cookieConsent:s,cookiePolicy:t,eventType:e.display_style,tcString:c}))},[_,e,t,r,d,f]),y=(0,o.useCallback)(()=>{s(),a(),g({cookieConsent:{advertising:!0,analytics:!0,essential:!0,performance:!0,social_networking:!0,unclassified:!0}})},[s,a,g]),m=(0,o.useCallback)(e=>{i(),c(),g({cookieConsent:{advertising:!1,analytics:!1,essential:!0,performance:!1,social_networking:!1,unclassified:!1,...e}})},[i,c,g]);return(0,o.useMemo)(()=>({acceptAll:y,declineAll:m,saveConsent:g}),[y,m,g])}},60563(e,t,n){n.d(t,{A:()=>u});var o=n(22771),s=n(53241),i=n(26826),r=n.n(i),a=n(14712),c=n.n(a),l=n(85330);function d(e){const{children:t,className:n,handleClick:i,"data-tid":r,...a}=e,l=e=>{i&&(e.stopPropagation(),i())},d=c()("styles-root-cd7ba3",n),u=i?"span":"a",p=i?"button":"link";return s.createElement(u,(0,o.A)({className:d,"data-tid":r,onClick:l,onKeyDown:e=>{i&&("Enter"===e.key?(e.preventDefault(),l(e)):" "===e.key&&e.preventDefault())},onKeyUp:e=>{i&&" "===e.key&&(e.preventDefault(),l(e))},role:p,tabIndex:0},a),t)}d.propTypes={children:r().node.isRequired,"data-tid":r().string,className:r().string,handleClick:l.$n.propTypes.handleClick,href:r().string};const u=d}}]);
2//# sourceMappingURL=5473-eac5c3.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.