PageSourceSearch

https://app.termly.io/resource-blocker/support/761-7a0962382a91b8619418.min.js

js termly.io collected 2026-09-24 07:34:36 UTC 2,743 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunk_termly_web_resource_blocker=globalThis.webpackChunk_termly_web_resource_blocker||[]).push([[761],{1761(e,s,t){t.d(s,{default:()=>a});var r=t(2831),o=t(1508),n=t(2568),l=t(5868);function u(e,s){return e.map(e=>s[e].name)}class i{constructor(e){let{lang:s,vendorList:t}=e;this.lang=s,this.gvl=t}getPurposeByID(e){return this.gvl.purposes[e]}getPurposes(){return Object.values(this.gvl.purposes)}getPurposesVendorCounts(){return this._purposeVendorCounts||=this._collectVendorCountsForVendorAttribute("purposes")}getSpecialFeatureByID(e){return this.gvl.specialFeatures[e]}getSpecialFeatures(){return Object.values(this.gvl.specialFeatures)}getSpecialFeaturesVendorCounts(){return this._specialFeaturesVendorCounts||=this._collectVendorCountsForVendorAttribute("specialFeatures")}getVendorByID(e){const s=this.gvl.vendors[e];if(!s)return;const t=u(s.dataDeclaration,this.gvl.dataCategories),r=u(s.features,this.gvl.features),o=u(s.purposes,this.gvl.purposes),n=u(s.specialFeatures,this.gvl.specialFeatures),l=u(s.specialPurposes,this.gvl.specialPurposes),i=s.storageDisclosures?.map(e=>({...e,specialPurposes:this._resolveSpecialPurposeNames(e.specialPurposes)})),a=function(e){let{lang:s,vendorURLs:t}=e;const r=t.reduce((e,s)=>{let{langId:t,...r}=s;return{...e,[t]:r}},{}),o=r[s]||r.en||t[0];return o?.privacy}({lang:this.lang,vendorURLs:s.urls});return{cookieMaxAgeSeconds:s.cookieMaxAgeSeconds,cookieRefresh:s.cookieRefresh,dataDeclaration:t,dataRetention:s.dataRetention,features:r,id:s.id,name:s.name,privacyPolicyURL:a,purposes:o,sdks:s.sdks??[],specialFeatures:n,specialPurposes:l,storageDisclosures:i,usesCookies:s.usesCookies,usesNonCookieAccess:s.usesNonCookieAccess}}getVendors(){return Object.values(this.gvl.vendors)}getVendorsByPurposeID(e){return this.getVendors().filter(s=>{let{purposes:t}=s;return t.includes(e)})}getVendorsBySpecialFeatureID(e){return this.getVendors().filter(s=>{let{specialFeatures:t}=s;return t.includes(e)})}getVendorCount(){return this.getVendors().length}_resolveSpecialPurposeNames(e){return(e??[]).map(e=>this.gvl.specialPurposes[e]?.name).filter(Boolean)}_collectVendorCountsForVendorAttribute(e){const s={};for(const t of this.getVendors())for(const r of t[e])void 0===s[r]?s[r]=1:s[r]+=1;return s}}function a(e){let{gvl:s,lang:t}=e;const u=r.A.tcf?(0,n.C)({ccVersion:r.A.tcf.ccVersion,updateCmpApi:r.A.tcf.updateCmpApi}):o.A,a=new i({lang:t,vendorList:s}),c=(0,l.makeTCModel)(s);return{gvl:a,saveConsent:u,tcModel:c,acceptAll(){c.setAll()},declineAll(){c.unsetAll()},getStoredTCString:()=>r.A.tcf?.getTCString(),makeTCString:()=>l.TCString.encode(c)}}}}]);
2//# sourceMappingURL=https://app.termly.io/resource-blocker/support/761-7a0962382a91b8619418.min.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.