ethyca-fides 2.65.3b0__py2.py3-none-any.whl → 2.65.3b2__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ethyca-fides might be problematic. Click here for more details.

Files changed (168) hide show
  1. {ethyca_fides-2.65.3b0.dist-info → ethyca_fides-2.65.3b2.dist-info}/METADATA +1 -1
  2. {ethyca_fides-2.65.3b0.dist-info → ethyca_fides-2.65.3b2.dist-info}/RECORD +159 -159
  3. fides/_version.py +3 -3
  4. fides/api/models/fides_user.py +11 -7
  5. fides/api/models/fides_user_permissions.py +6 -10
  6. fides/api/task/manual/manual_task_graph_task.py +23 -0
  7. fides/api/task/manual/manual_task_utils.py +7 -4
  8. fides/ui-build/static/admin/404.html +1 -1
  9. fides/ui-build/static/admin/_next/static/chunks/{1817-e2c599fb2c47dbc4.js → 1817-34bd629bf34328ec.js} +1 -1
  10. fides/ui-build/static/admin/_next/static/chunks/203-9e86242bde459a43.js +1 -0
  11. fides/ui-build/static/admin/_next/static/chunks/{3450-ebcffdd4fb437a2e.js → 3450-b7af9fec12e66f7f.js} +1 -1
  12. fides/ui-build/static/admin/_next/static/chunks/{3855-a0783ba28c644d09.js → 3855-b914c1a3124f44ea.js} +1 -1
  13. fides/ui-build/static/admin/_next/static/chunks/{3872-18e5da8bda649ddb.js → 3872-140c8bf8bdb5d511.js} +1 -1
  14. fides/ui-build/static/admin/_next/static/chunks/{4121-23ac086c1aa6a43a.js → 4121-91ab0fdde5204f41.js} +1 -1
  15. fides/ui-build/static/admin/_next/static/chunks/{4230-c4c596fb5534e1b1.js → 4230-d91fc4db148387bc.js} +1 -1
  16. fides/ui-build/static/admin/_next/static/chunks/{431-24380873201c3e1b.js → 431-2a9adafa2689a0f4.js} +1 -1
  17. fides/ui-build/static/admin/_next/static/chunks/{4608-0cd97892fd0b0e41.js → 4608-52674906c7d6a22e.js} +1 -1
  18. fides/ui-build/static/admin/_next/static/chunks/{5309-c8b5165efcc5469f.js → 5309-90d555ba13edaf08.js} +1 -1
  19. fides/ui-build/static/admin/_next/static/chunks/{6084-5bfa390a4c8fad43.js → 6084-1ae40620e79e0cf9.js} +1 -1
  20. fides/ui-build/static/admin/_next/static/chunks/{6662-79eee0bf18775b40.js → 6662-5fa8a1b20b0d3e3c.js} +1 -1
  21. fides/ui-build/static/admin/_next/static/chunks/{6780-8b5772a3a2ef1ca6.js → 6780-4db9fe1ee8860870.js} +1 -1
  22. fides/ui-build/static/admin/_next/static/chunks/{6853-7a089a9fad286bb8.js → 6853-02be83ef65e8853b.js} +1 -1
  23. fides/ui-build/static/admin/_next/static/chunks/{6882-5a251351689ea74b.js → 6882-6f755ee046c9d70a.js} +1 -1
  24. fides/ui-build/static/admin/_next/static/chunks/{6954-3a7b166c8f3b66b4.js → 6954-b242eebbe7c52e5a.js} +1 -1
  25. fides/ui-build/static/admin/_next/static/chunks/7476-c4ccb87fb8dbe2c0.js +1 -0
  26. fides/ui-build/static/admin/_next/static/chunks/{787-cb0154eaf6114c7e.js → 787-a1674f4d14753677.js} +1 -1
  27. fides/ui-build/static/admin/_next/static/chunks/{79-f08e91084d10d6dc.js → 79-056947276803332e.js} +1 -1
  28. fides/ui-build/static/admin/_next/static/chunks/{9046-d4c806aa81ab0bad.js → 9046-f5b180534b2637c3.js} +1 -1
  29. fides/ui-build/static/admin/_next/static/chunks/{9226-f4e70e6f9619e9a9.js → 9226-ce9c651c6ed829dd.js} +1 -1
  30. fides/ui-build/static/admin/_next/static/chunks/{9951-5e744e8addb6e090.js → 9951-e572cda021343eb1.js} +1 -1
  31. fides/ui-build/static/admin/_next/static/chunks/pages/{_app-9a878b14373eec2e.js → _app-5de7e675bc2f3bd1.js} +1 -1
  32. fides/ui-build/static/admin/_next/static/chunks/pages/{add-systems-e5ef5be6566f9432.js → add-systems-f068a00278624bc9.js} +1 -1
  33. fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-experience-5f2d060952814353.js → privacy-experience-799d2a4a9dd68eea.js} +1 -1
  34. fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-notices-232e9ef135b838cf.js → privacy-notices-55d0f8505a7f8692.js} +1 -1
  35. fides/ui-build/static/admin/_next/static/chunks/pages/consent/{reporting-5fcacc8e4baf3d03.js → reporting-1103b69bcd90ed6c.js} +1 -1
  36. fides/ui-build/static/admin/_next/static/chunks/pages/{data-catalog-29cde3b7d27b22cf.js → data-catalog-6d6584fd49026ec2.js} +1 -1
  37. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-caf0c55830fc91b3.js +1 -0
  38. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-5c0b1f15873c90fa.js +1 -0
  39. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-a81165ca06b7c404.js +1 -0
  40. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{activity-f79ec067d906e67f.js → activity-bf3627895c102ae0.js} +1 -1
  41. fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{new-403dc361bffe644d.js → new-17caa948d13ac81c.js} +1 -1
  42. fides/ui-build/static/admin/_next/static/chunks/pages/{dataset-52506e743c73fc7d.js → dataset-06d5b6944e2de262.js} +1 -1
  43. fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{[id]-7d492050fc33a57a.js → [id]-a980e69a921a0dfb.js} +1 -1
  44. fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{new-6f68e65f01beb8af.js → new-d7160806386bc7e0.js} +1 -1
  45. fides/ui-build/static/admin/_next/static/chunks/pages/{index-e92db8bb8c719abc.js → index-7430cfb2a1bf1442.js} +1 -1
  46. fides/ui-build/static/admin/_next/static/chunks/pages/integrations/{[id]-c245f0b0fd7810c0.js → [id]-e039acfdefb0986e.js} +1 -1
  47. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{[id]-61e32a7b8ef6569c.js → [id]-29643fbd5745ac0e.js} +1 -1
  48. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/{messaging-1f57e4d5715dd5cf.js → messaging-3062ca1a95ede1a3.js} +1 -1
  49. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/{storage-378db5585b89ab5e.js → storage-a67feed389719f52.js} +1 -1
  50. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-1b9c48484ea70264.js +1 -0
  51. fides/ui-build/static/admin/_next/static/chunks/pages/reporting/{datamap-dc3afcf514d7219a.js → datamap-218f88a99e7f0c04.js} +1 -1
  52. fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/{[purpose_id]-aaa2d02b9be2acb1.js → [purpose_id]-738e9c5dd7a4d8f5.js} +1 -1
  53. fides/ui-build/static/admin/_next/static/chunks/pages/settings/{consent-bed42ecfab4896af.js → consent-d0c5a07b57b6adae.js} +1 -1
  54. fides/ui-build/static/admin/_next/static/chunks/pages/settings/{custom-fields-82882bc16052ae5b.js → custom-fields-7945aad419e1ba8b.js} +1 -1
  55. fides/ui-build/static/admin/_next/static/chunks/pages/settings/{locations-068724e9c574974d.js → locations-694ae08fdc73b92b.js} +1 -1
  56. fides/ui-build/static/admin/_next/static/chunks/pages/settings/{organization-f556688c5fb35f41.js → organization-26db0a2e4ffe2892.js} +1 -1
  57. fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/{test-datasets-7ce5dbabf7f1026b.js → test-datasets-ec7efe4e1f09ecb7.js} +1 -1
  58. fides/ui-build/static/admin/_next/static/chunks/pages/{systems-b5f68d37abaa8844.js → systems-8045ae1289ef8ebc.js} +1 -1
  59. fides/ui-build/static/admin/_next/static/chunks/pages/{taxonomy-103618fab50dfd0d.js → taxonomy-0d17e0de9adb27f8.js} +1 -1
  60. fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/{[id]-564f87da93e398d0.js → [id]-fe32284ce419e921.js} +1 -1
  61. fides/ui-build/static/admin/_next/static/chunks/pages/{user-management-f552cb870f8a6a17.js → user-management-9c8200fc2f8b9346.js} +1 -1
  62. fides/ui-build/static/admin/_next/static/css/10994e916bc9a00a.css +1 -0
  63. fides/ui-build/static/admin/_next/static/css/304c6f148886a8d4.css +1 -0
  64. fides/ui-build/static/admin/_next/static/css/4383759407e86f7a.css +1 -0
  65. fides/ui-build/static/admin/_next/static/css/{81642473e38c67a5.css → 5bfb2473e5701527.css} +1 -1
  66. fides/ui-build/static/admin/_next/static/{lYx20DMaXFT2951nw-15F → zKPvcJ5_1YpLm35m0Fl47}/_buildManifest.js +1 -1
  67. fides/ui-build/static/admin/add-systems/manual.html +1 -1
  68. fides/ui-build/static/admin/add-systems/multiple.html +1 -1
  69. fides/ui-build/static/admin/add-systems.html +1 -1
  70. fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
  71. fides/ui-build/static/admin/consent/configure.html +1 -1
  72. fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
  73. fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
  74. fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
  75. fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
  76. fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
  77. fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
  78. fides/ui-build/static/admin/consent/properties.html +1 -1
  79. fides/ui-build/static/admin/consent/reporting.html +1 -1
  80. fides/ui-build/static/admin/consent.html +1 -1
  81. fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
  82. fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
  83. fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
  84. fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
  85. fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
  86. fides/ui-build/static/admin/data-catalog.html +1 -1
  87. fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
  88. fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
  89. fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
  90. fides/ui-build/static/admin/data-discovery/activity.html +1 -1
  91. fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
  92. fides/ui-build/static/admin/data-discovery/detection.html +1 -1
  93. fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
  94. fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
  95. fides/ui-build/static/admin/datamap.html +1 -1
  96. fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
  97. fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
  98. fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
  99. fides/ui-build/static/admin/dataset/new.html +1 -1
  100. fides/ui-build/static/admin/dataset.html +1 -1
  101. fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
  102. fides/ui-build/static/admin/datastore-connection/new.html +1 -1
  103. fides/ui-build/static/admin/datastore-connection.html +1 -1
  104. fides/ui-build/static/admin/index.html +1 -1
  105. fides/ui-build/static/admin/integrations/[id].html +1 -1
  106. fides/ui-build/static/admin/integrations.html +1 -1
  107. fides/ui-build/static/admin/lib/fides-ext-gpp.js +1 -1
  108. fides/ui-build/static/admin/lib/fides-headless.js +1 -1
  109. fides/ui-build/static/admin/lib/fides-preview.js +1 -1
  110. fides/ui-build/static/admin/lib/fides-tcf.js +1 -1
  111. fides/ui-build/static/admin/lib/fides.js +1 -1
  112. fides/ui-build/static/admin/login/[provider].html +1 -1
  113. fides/ui-build/static/admin/login.html +1 -1
  114. fides/ui-build/static/admin/messaging/[id].html +1 -1
  115. fides/ui-build/static/admin/messaging/add-template.html +1 -1
  116. fides/ui-build/static/admin/messaging.html +1 -1
  117. fides/ui-build/static/admin/poc/ant-components.html +1 -1
  118. fides/ui-build/static/admin/poc/form-experiments/AntForm.html +1 -1
  119. fides/ui-build/static/admin/poc/form-experiments/FormikAntFormItem.html +1 -1
  120. fides/ui-build/static/admin/poc/form-experiments/FormikControlled.html +1 -1
  121. fides/ui-build/static/admin/poc/form-experiments/FormikField.html +1 -1
  122. fides/ui-build/static/admin/poc/form-experiments/FormikSpreadField.html +1 -1
  123. fides/ui-build/static/admin/poc/forms.html +1 -1
  124. fides/ui-build/static/admin/poc/table-migration.html +1 -1
  125. fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
  126. fides/ui-build/static/admin/privacy-requests/configure/messaging.html +1 -1
  127. fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
  128. fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
  129. fides/ui-build/static/admin/privacy-requests.html +1 -1
  130. fides/ui-build/static/admin/properties/[id].html +1 -1
  131. fides/ui-build/static/admin/properties/add-property.html +1 -1
  132. fides/ui-build/static/admin/properties.html +1 -1
  133. fides/ui-build/static/admin/reporting/datamap.html +1 -1
  134. fides/ui-build/static/admin/settings/about/alpha.html +1 -1
  135. fides/ui-build/static/admin/settings/about.html +1 -1
  136. fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html +1 -1
  137. fides/ui-build/static/admin/settings/consent.html +1 -1
  138. fides/ui-build/static/admin/settings/custom-fields.html +1 -1
  139. fides/ui-build/static/admin/settings/domain-records.html +1 -1
  140. fides/ui-build/static/admin/settings/domains.html +1 -1
  141. fides/ui-build/static/admin/settings/email-templates.html +1 -1
  142. fides/ui-build/static/admin/settings/locations.html +1 -1
  143. fides/ui-build/static/admin/settings/organization.html +1 -1
  144. fides/ui-build/static/admin/settings/regulations.html +1 -1
  145. fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
  146. fides/ui-build/static/admin/systems/configure/[id].html +1 -1
  147. fides/ui-build/static/admin/systems.html +1 -1
  148. fides/ui-build/static/admin/taxonomy.html +1 -1
  149. fides/ui-build/static/admin/user-management/new.html +1 -1
  150. fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
  151. fides/ui-build/static/admin/user-management.html +1 -1
  152. fides/ui-build/static/admin/_next/static/chunks/3988-839f18f04d5144f2.js +0 -1
  153. fides/ui-build/static/admin/_next/static/chunks/7476-d7071697bc665a4f.js +0 -1
  154. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-3ae1ae3844a6e03a.js +0 -1
  155. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-e8dc8320e826e91c.js +0 -1
  156. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-22fe027966edb092.js +0 -1
  157. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-26a48fa6707708af.js +0 -1
  158. fides/ui-build/static/admin/_next/static/css/62867c995b516a24.css +0 -1
  159. fides/ui-build/static/admin/_next/static/css/92fc10cc7ed1aba3.css +0 -1
  160. fides/ui-build/static/admin/_next/static/css/eb46b504bb5d980d.css +0 -1
  161. {ethyca_fides-2.65.3b0.dist-info → ethyca_fides-2.65.3b2.dist-info}/WHEEL +0 -0
  162. {ethyca_fides-2.65.3b0.dist-info → ethyca_fides-2.65.3b2.dist-info}/entry_points.txt +0 -0
  163. {ethyca_fides-2.65.3b0.dist-info → ethyca_fides-2.65.3b2.dist-info}/licenses/LICENSE +0 -0
  164. {ethyca_fides-2.65.3b0.dist-info → ethyca_fides-2.65.3b2.dist-info}/top_level.txt +0 -0
  165. /fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{manual-12073578f764815e.js → manual-9c25673536d3f2cc.js} +0 -0
  166. /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{regulations-3ddf2001f4605949.js → regulations-c304e080c391f254.js} +0 -0
  167. /fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/{[id]-ed809e0961891c0c.js → [id]-25589319be47ee83.js} +0 -0
  168. /fides/ui-build/static/admin/_next/static/{lYx20DMaXFT2951nw-15F → zKPvcJ5_1YpLm35m0Fl47}/_ssgManifest.js +0 -0
@@ -1,4 +1,4 @@
1
- (function(C,_e){typeof exports=="object"&&typeof module<"u"?_e(exports):(C=typeof globalThis<"u"?globalThis:C||self,_e(C.Fides={}))})(this,function(C){"use strict";class _e extends Error{constructor(e){super(e),this.name="DecodingError"}}class Oe extends Error{constructor(e){super(e),this.name="EncodingError"}}class mt extends Error{constructor(e){super(e),this.name="GVLError"}}class Ae extends Error{constructor(e,i,s=""){super(`invalid value ${i} passed for ${e} ${s}`),this.name="TCModelError"}}class Ti{static DICT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";static REVERSE_DICT=new Map([["A",0],["B",1],["C",2],["D",3],["E",4],["F",5],["G",6],["H",7],["I",8],["J",9],["K",10],["L",11],["M",12],["N",13],["O",14],["P",15],["Q",16],["R",17],["S",18],["T",19],["U",20],["V",21],["W",22],["X",23],["Y",24],["Z",25],["a",26],["b",27],["c",28],["d",29],["e",30],["f",31],["g",32],["h",33],["i",34],["j",35],["k",36],["l",37],["m",38],["n",39],["o",40],["p",41],["q",42],["r",43],["s",44],["t",45],["u",46],["v",47],["w",48],["x",49],["y",50],["z",51],["0",52],["1",53],["2",54],["3",55],["4",56],["5",57],["6",58],["7",59],["8",60],["9",61],["-",62],["_",63]]);static BASIS=6;static LCM=24;static encode(e){if(!/^[0-1]+$/.test(e))throw new Oe("Invalid bitField");const i=e.length%this.LCM;e+=i?"0".repeat(this.LCM-i):"";let s="";for(let n=0;n<e.length;n+=this.BASIS)s+=this.DICT[parseInt(e.substr(n,this.BASIS),2)];return s}static decode(e){if(!/^[A-Za-z0-9\-_]+$/.test(e))throw new _e("Invalidly encoded Base64URL string");let i="";for(let s=0;s<e.length;s++){const n=this.REVERSE_DICT.get(e[s]).toString(2);i+="0".repeat(this.BASIS-n.length)+n}return i}}class Te{static langSet=new Set(["AR","BG","BS","CA","CS","CY","DA","DE","EL","EN","ES","ET","EU","FI","FR","GL","HE","HI","HR","HU","ID","IT","JA","KA","KO","LT","LV","MK","MS","MT","NL","NO","PL","PT-BR","PT-PT","RO","RU","SK","SL","SQ","SR-LATN","SR-CYRL","SV","SW","TH","TL","TR","UK","VI","ZH","ZH-HANT"]);has(e){return Te.langSet.has(e)}parseLanguage(e){e=e.toUpperCase();const i=e.split("-")[0];if(e.length>=2&&i.length==2){if(Te.langSet.has(e))return e;if(Te.langSet.has(i))return i;const s=i+"-"+i;if(Te.langSet.has(s))return s;for(const n of Te.langSet)if(n.indexOf(e)!==-1||n.indexOf(i)!==-1)return n}throw new Error(`unsupported language ${e}`)}forEach(e){Te.langSet.forEach(e)}get size(){return Te.langSet.size}}class k{static cmpId="cmpId";static cmpVersion="cmpVersion";static consentLanguage="consentLanguage";static consentScreen="consentScreen";static created="created";static supportOOB="supportOOB";static isServiceSpecific="isServiceSpecific";static lastUpdated="lastUpdated";static numCustomPurposes="numCustomPurposes";static policyVersion="policyVersion";static publisherCountryCode="publisherCountryCode";static publisherCustomConsents="publisherCustomConsents";static publisherCustomLegitimateInterests="publisherCustomLegitimateInterests";static publisherLegitimateInterests="publisherLegitimateInterests";static publisherConsents="publisherConsents";static publisherRestrictions="publisherRestrictions";static purposeConsents="purposeConsents";static purposeLegitimateInterests="purposeLegitimateInterests";static purposeOneTreatment="purposeOneTreatment";static specialFeatureOptins="specialFeatureOptins";static useNonStandardTexts="useNonStandardTexts";static vendorConsents="vendorConsents";static vendorLegitimateInterests="vendorLegitimateInterests";static vendorListVersion="vendorListVersion";static vendorsAllowed="vendorsAllowed";static vendorsDisclosed="vendorsDisclosed";static version="version"}class Ct{clone(){const e=new this.constructor;return Object.keys(this).forEach(s=>{const n=this.deepClone(this[s]);n!==void 0&&(e[s]=n)}),e}deepClone(e){const i=typeof e;if(i==="number"||i==="string"||i==="boolean")return e;if(e!==null&&i==="object"){if(typeof e.clone=="function")return e.clone();if(e instanceof Date)return new Date(e.getTime());if(e[Symbol.iterator]!==void 0){const s=[];for(const n of e)s.push(this.deepClone(n));return e instanceof Array?s:new e.constructor(s)}else{const s={};for(const n in e)e.hasOwnProperty(n)&&(s[n]=this.deepClone(e[n]));return s}}}}var me;(function(t){t[t.NOT_ALLOWED=0]="NOT_ALLOWED",t[t.REQUIRE_CONSENT=1]="REQUIRE_CONSENT",t[t.REQUIRE_LI=2]="REQUIRE_LI"})(me||(me={}));class ke extends Ct{static hashSeparator="-";purposeId_;restrictionType;constructor(e,i){super(),e!==void 0&&(this.purposeId=e),i!==void 0&&(this.restrictionType=i)}static unHash(e){const i=e.split(this.hashSeparator),s=new ke;if(i.length!==2)throw new Ae("hash",e);return s.purposeId=parseInt(i[0],10),s.restrictionType=parseInt(i[1],10),s}get hash(){if(!this.isValid())throw new Error("cannot hash invalid PurposeRestriction");return`${this.purposeId}${ke.hashSeparator}${this.restrictionType}`}get purposeId(){return this.purposeId_}set purposeId(e){this.purposeId_=e}isValid(){return Number.isInteger(this.purposeId)&&this.purposeId>0&&(this.restrictionType===me.NOT_ALLOWED||this.restrictionType===me.REQUIRE_CONSENT||this.restrictionType===me.REQUIRE_LI)}isSameAs(e){return this.purposeId===e.purposeId&&this.restrictionType===e.restrictionType}}class Fs extends Ct{bitLength=0;map=new Map;gvl_;has(e){return this.map.has(e)}isOkToHave(e,i,s){let n=!0;if(this.gvl?.vendors){const o=this.gvl.vendors[s];if(o)if(e===me.NOT_ALLOWED)n=o.legIntPurposes.includes(i)||o.purposes.includes(i);else if(o.flexiblePurposes.length)switch(e){case me.REQUIRE_CONSENT:n=o.flexiblePurposes.includes(i)&&o.legIntPurposes.includes(i);break;case me.REQUIRE_LI:n=o.flexiblePurposes.includes(i)&&o.purposes.includes(i);break}else n=!1;else n=!1}return n}add(e,i){if(this.isOkToHave(i.restrictionType,i.purposeId,e)){const s=i.hash;this.has(s)||(this.map.set(s,new Set),this.bitLength=0),this.map.get(s).add(e)}}restrictPurposeToLegalBasis(e){const i=Array.from(this.gvl.vendorIds),s=e.hash,n=i[i.length-1],o=[...Array(n).keys()].map(a=>a+1);if(!this.has(s))this.map.set(s,new Set(o)),this.bitLength=0;else for(let a=1;a<=n;a++)this.map.get(s).add(a)}getVendors(e){let i=[];if(e){const s=e.hash;this.has(s)&&(i=Array.from(this.map.get(s)))}else{const s=new Set;this.map.forEach(n=>{n.forEach(o=>{s.add(o)})}),i=Array.from(s)}return i.sort((s,n)=>s-n)}getRestrictionType(e,i){let s;return this.getRestrictions(e).forEach(n=>{n.purposeId===i&&(s===void 0||s>n.restrictionType)&&(s=n.restrictionType)}),s}vendorHasRestriction(e,i){let s=!1;const n=this.getRestrictions(e);for(let o=0;o<n.length&&!s;o++)s=i.isSameAs(n[o]);return s}getMaxVendorId(){let e=0;return this.map.forEach(i=>{e=Math.max(Array.from(i)[i.size-1],e)}),e}getRestrictions(e){const i=[];return this.map.forEach((s,n)=>{e?s.has(e)&&i.push(ke.unHash(n)):i.push(ke.unHash(n))}),i}getPurposes(){const e=new Set;return this.map.forEach((i,s)=>{e.add(ke.unHash(s).purposeId)}),Array.from(e)}remove(e,i){const s=i.hash,n=this.map.get(s);n&&(n.delete(e),n.size==0&&(this.map.delete(s),this.bitLength=0))}set gvl(e){this.gvl_||(this.gvl_=e,this.map.forEach((i,s)=>{const n=ke.unHash(s);Array.from(i).forEach(a=>{this.isOkToHave(n.restrictionType,n.purposeId,a)||i.delete(a)})}))}get gvl(){return this.gvl_}isEmpty(){return this.map.size===0}get numRestrictions(){return this.map.size}}var Ds;(function(t){t.COOKIE="cookie",t.WEB="web",t.APP="app"})(Ds||(Ds={}));var G;(function(t){t.CORE="core",t.VENDORS_DISCLOSED="vendorsDisclosed",t.VENDORS_ALLOWED="vendorsAllowed",t.PUBLISHER_TC="publisherTC"})(G||(G={}));class Rs{static ID_TO_KEY=[G.CORE,G.VENDORS_DISCLOSED,G.VENDORS_ALLOWED,G.PUBLISHER_TC];static KEY_TO_ID={[G.CORE]:0,[G.VENDORS_DISCLOSED]:1,[G.VENDORS_ALLOWED]:2,[G.PUBLISHER_TC]:3}}class ue extends Ct{bitLength=0;maxId_=0;set_=new Set;*[Symbol.iterator](){for(let e=1;e<=this.maxId;e++)yield[e,this.has(e)]}values(){return this.set_.values()}get maxId(){return this.maxId_}has(e){return this.set_.has(e)}unset(e){Array.isArray(e)?e.forEach(i=>this.unset(i)):typeof e=="object"?this.unset(Object.keys(e).map(i=>Number(i))):(this.set_.delete(Number(e)),this.bitLength=0,e===this.maxId&&(this.maxId_=0,this.set_.forEach(i=>{this.maxId_=Math.max(this.maxId,i)})))}isIntMap(e){let i=typeof e=="object";return i=i&&Object.keys(e).every(s=>{let n=Number.isInteger(parseInt(s,10));return n=n&&this.isValidNumber(e[s].id),n=n&&e[s].name!==void 0,n}),i}isValidNumber(e){return parseInt(e,10)>0}isSet(e){let i=!1;return e instanceof Set&&(i=Array.from(e).every(this.isValidNumber)),i}set(e){if(Array.isArray(e))e.forEach(i=>this.set(i));else if(this.isSet(e))this.set(Array.from(e));else if(this.isIntMap(e))this.set(Object.keys(e).map(i=>Number(i)));else if(this.isValidNumber(e))this.set_.add(e),this.maxId_=Math.max(this.maxId,e),this.bitLength=0;else throw new Ae("set()",e,"must be positive integer array, positive integer, Set<number>, or IntMap")}empty(){this.set_=new Set}forEach(e){for(let i=1;i<=this.maxId;i++)e(this.has(i),i)}get size(){return this.set_.size}setAll(e){this.set(e)}}class x{static[k.cmpId]=12;static[k.cmpVersion]=12;static[k.consentLanguage]=12;static[k.consentScreen]=6;static[k.created]=36;static[k.isServiceSpecific]=1;static[k.lastUpdated]=36;static[k.policyVersion]=6;static[k.publisherCountryCode]=12;static[k.publisherLegitimateInterests]=24;static[k.publisherConsents]=24;static[k.purposeConsents]=24;static[k.purposeLegitimateInterests]=24;static[k.purposeOneTreatment]=1;static[k.specialFeatureOptins]=12;static[k.useNonStandardTexts]=1;static[k.vendorListVersion]=12;static[k.version]=6;static anyBoolean=1;static encodingType=1;static maxId=16;static numCustomPurposes=6;static numEntries=12;static numRestrictions=12;static purposeId=6;static restrictionType=2;static segmentType=3;static singleOrRange=1;static vendorId=16}class we{static encode(e){return String(Number(e))}static decode(e){return e==="1"}}class z{static encode(e,i){let s;if(typeof e=="string"&&(e=parseInt(e,10)),s=e.toString(2),s.length>i||e<0)throw new Oe(`${e} too large to encode into ${i}`);return s.length<i&&(s="0".repeat(i-s.length)+s),s}static decode(e,i){if(i!==e.length)throw new _e("invalid bit length");return parseInt(e,2)}}class Vs{static encode(e,i){return z.encode(Math.round(e.getTime()/100),i)}static decode(e,i){if(i!==e.length)throw new _e("invalid bit length");const s=new Date;return s.setTime(z.decode(e,i)*100),s}}class Be{static encode(e,i){let s="";for(let n=1;n<=i;n++)s+=we.encode(e.has(n));return s}static decode(e,i){if(e.length!==i)throw new _e("bitfield encoding length mismatch");const s=new ue;for(let n=1;n<=i;n++)we.decode(e[n-1])&&s.set(n);return s.bitLength=e.length,s}}class Ms{static encode(e,i){e=e.toUpperCase();const s=65,n=e.charCodeAt(0)-s,o=e.charCodeAt(1)-s;if(n<0||n>25||o<0||o>25)throw new Oe(`invalid language code: ${e}`);if(i%2===1)throw new Oe(`numBits must be even, ${i} is not valid`);i=i/2;const a=z.encode(n,i),r=z.encode(o,i);return a+r}static decode(e,i){let s;if(i===e.length&&!(e.length%2)){const o=e.length/2,a=z.decode(e.slice(0,o),o)+65,r=z.decode(e.slice(o),o)+65;s=String.fromCharCode(a)+String.fromCharCode(r)}else throw new _e("invalid bit length for language");return s}}class xa{static encode(e){let i=z.encode(e.numRestrictions,x.numRestrictions);if(!e.isEmpty()){const s=(n,o)=>{for(let a=n+1;a<=o;a++)if(e.gvl.vendorIds.has(a))return a;return n};e.getRestrictions().forEach(n=>{i+=z.encode(n.purposeId,x.purposeId),i+=z.encode(n.restrictionType,x.restrictionType);const o=e.getVendors(n),a=o.length;let r=0,c=0,l="";for(let u=0;u<a;u++){const d=o[u];if(c===0&&(r++,c=d),u===a-1||o[u+1]>s(d,o[a-1])){const g=d!==c;l+=we.encode(g),l+=z.encode(c,x.vendorId),g&&(l+=z.encode(d,x.vendorId)),c=0}}i+=z.encode(r,x.numEntries),i+=l})}return i}static decode(e){let i=0;const s=new Fs,n=z.decode(e.substr(i,x.numRestrictions),x.numRestrictions);i+=x.numRestrictions;for(let o=0;o<n;o++){const a=z.decode(e.substr(i,x.purposeId),x.purposeId);i+=x.purposeId;const r=z.decode(e.substr(i,x.restrictionType),x.restrictionType);i+=x.restrictionType;const c=new ke(a,r),l=z.decode(e.substr(i,x.numEntries),x.numEntries);i+=x.numEntries;for(let u=0;u<l;u++){const d=we.decode(e.substr(i,x.anyBoolean));i+=x.anyBoolean;const g=z.decode(e.substr(i,x.vendorId),x.vendorId);if(i+=x.vendorId,d){const v=z.decode(e.substr(i,x.vendorId),x.vendorId);if(i+=x.vendorId,v<g)throw new _e(`Invalid RangeEntry: endVendorId ${v} is less than ${g}`);for(let f=g;f<=v;f++)s.add(f,c)}else s.add(g,c)}}return s.bitLength=i,s}}var Et;(function(t){t[t.FIELD=0]="FIELD",t[t.RANGE=1]="RANGE"})(Et||(Et={}));class jt{static encode(e){const i=[];let s=[],n=z.encode(e.maxId,x.maxId),o="",a;const r=x.maxId+x.encodingType,c=r+e.maxId,l=x.vendorId*2+x.singleOrRange+x.numEntries;let u=r+x.numEntries;return e.forEach((d,g)=>{o+=we.encode(d),a=e.maxId>l&&u<c,a&&d&&(e.has(g+1)?s.length===0&&(s.push(g),u+=x.singleOrRange,u+=x.vendorId):(s.push(g),u+=x.vendorId,i.push(s),s=[]))}),a?(n+=String(Et.RANGE),n+=this.buildRangeEncoding(i)):(n+=String(Et.FIELD),n+=o),n}static decode(e,i){let s,n=0;const o=z.decode(e.substr(n,x.maxId),x.maxId);n+=x.maxId;const a=z.decode(e.charAt(n),x.encodingType);if(n+=x.encodingType,a===Et.RANGE){if(s=new ue,i===1){if(e.substr(n,1)==="1")throw new _e("Unable to decode default consent=1");n++}const r=z.decode(e.substr(n,x.numEntries),x.numEntries);n+=x.numEntries;for(let c=0;c<r;c++){const l=we.decode(e.charAt(n));n+=x.singleOrRange;const u=z.decode(e.substr(n,x.vendorId),x.vendorId);if(n+=x.vendorId,l){const d=z.decode(e.substr(n,x.vendorId),x.vendorId);n+=x.vendorId;for(let g=u;g<=d;g++)s.set(g)}else s.set(u)}}else{const r=e.substr(n,o);n+=o,s=Be.decode(r,o)}return s.bitLength=n,s}static buildRangeEncoding(e){const i=e.length;let s=z.encode(i,x.numEntries);return e.forEach(n=>{const o=n.length===1;s+=we.encode(!o),s+=z.encode(n[0],x.vendorId),o||(s+=z.encode(n[1],x.vendorId))}),s}}function Us(){return{[k.version]:z,[k.created]:Vs,[k.lastUpdated]:Vs,[k.cmpId]:z,[k.cmpVersion]:z,[k.consentScreen]:z,[k.consentLanguage]:Ms,[k.vendorListVersion]:z,[k.policyVersion]:z,[k.isServiceSpecific]:we,[k.useNonStandardTexts]:we,[k.specialFeatureOptins]:Be,[k.purposeConsents]:Be,[k.purposeLegitimateInterests]:Be,[k.purposeOneTreatment]:we,[k.publisherCountryCode]:Ms,[k.vendorConsents]:jt,[k.vendorLegitimateInterests]:jt,[k.publisherRestrictions]:xa,segmentType:z,[k.vendorsDisclosed]:jt,[k.vendorsAllowed]:jt,[k.publisherConsents]:Be,[k.publisherLegitimateInterests]:Be,[k.numCustomPurposes]:z,[k.publisherCustomConsents]:Be,[k.publisherCustomLegitimateInterests]:Be}}class Ia{1={[G.CORE]:[k.version,k.created,k.lastUpdated,k.cmpId,k.cmpVersion,k.consentScreen,k.consentLanguage,k.vendorListVersion,k.purposeConsents,k.vendorConsents]};2={[G.CORE]:[k.version,k.created,k.lastUpdated,k.cmpId,k.cmpVersion,k.consentScreen,k.consentLanguage,k.vendorListVersion,k.policyVersion,k.isServiceSpecific,k.useNonStandardTexts,k.specialFeatureOptins,k.purposeConsents,k.purposeLegitimateInterests,k.purposeOneTreatment,k.publisherCountryCode,k.vendorConsents,k.vendorLegitimateInterests,k.publisherRestrictions],[G.PUBLISHER_TC]:[k.publisherConsents,k.publisherLegitimateInterests,k.numCustomPurposes,k.publisherCustomConsents,k.publisherCustomLegitimateInterests],[G.VENDORS_ALLOWED]:[k.vendorsAllowed],[G.VENDORS_DISCLOSED]:[k.vendorsDisclosed]}}class Pa{1=[G.CORE];2=[G.CORE];constructor(e,i){if(e.version===2)if(e.isServiceSpecific)this[2].push(G.PUBLISHER_TC);else{const s=!!(i&&i.isForVendors);(!s||e[k.supportOOB]===!0)&&this[2].push(G.VENDORS_DISCLOSED),s&&(e[k.supportOOB]&&e[k.vendorsAllowed].size>0&&this[2].push(G.VENDORS_ALLOWED),this[2].push(G.PUBLISHER_TC))}}}class Bs{static fieldSequence=new Ia;static encode(e,i){let s;try{s=this.fieldSequence[String(e.version)][i]}catch{throw new Oe(`Unable to encode version: ${e.version}, segment: ${i}`)}let n="";i!==G.CORE&&(n=z.encode(Rs.KEY_TO_ID[i],x.segmentType));const o=Us();return s.forEach(a=>{const r=e[a],c=o[a];let l=x[a];l===void 0&&this.isPublisherCustom(a)&&(l=Number(e[k.numCustomPurposes]));try{n+=c.encode(r,l)}catch(u){throw new Oe(`Error encoding ${i}->${a}: ${u.message}`)}}),Ti.encode(n)}static decode(e,i,s){const n=Ti.decode(e);let o=0;s===G.CORE&&(i.version=z.decode(n.substr(o,x[k.version]),x[k.version])),s!==G.CORE&&(o+=x.segmentType);const a=this.fieldSequence[String(i.version)][s],r=Us();return a.forEach(c=>{const l=r[c];let u=x[c];if(u===void 0&&this.isPublisherCustom(c)&&(u=Number(i[k.numCustomPurposes])),u!==0){const d=n.substr(o,u);if(l===jt?i[c]=l.decode(d,i.version):i[c]=l.decode(d,u),Number.isInteger(u))o+=u;else if(Number.isInteger(i[c].bitLength))o+=i[c].bitLength;else throw new _e(c)}}),i}static isPublisherCustom(e){return e.indexOf("publisherCustom")===0}}class Oa{static processor=[e=>e,(e,i)=>{e.publisherRestrictions.gvl=i,e.purposeLegitimateInterests.unset([1,3,4,5,6]);const s=new Map;return s.set("legIntPurposes",e.vendorLegitimateInterests),s.set("purposes",e.vendorConsents),s.forEach((n,o)=>{n.forEach((a,r)=>{if(a){const c=i.vendors[r];if(!c||c.deletedDate)n.unset(r);else if(c[o].length===0)if(o==="legIntPurposes"&&c.purposes.length===0&&c.legIntPurposes.length===0&&c.specialPurposes.length>0)n.set(r);else if(o==="legIntPurposes"&&c.purposes.length>0&&c.legIntPurposes.length===0&&c.specialPurposes.length>0)n.set(r);else if(e.isServiceSpecific)if(c.flexiblePurposes.length===0)n.unset(r);else{const l=e.publisherRestrictions.getRestrictions(r);let u=!1;for(let d=0,g=l.length;d<g&&!u;d++)u=l[d].restrictionType===me.REQUIRE_CONSENT&&o==="purposes"||l[d].restrictionType===me.REQUIRE_LI&&o==="legIntPurposes";u||n.unset(r)}else n.unset(r)}})}),e.vendorsDisclosed.set(i.vendors),e}];static process(e,i){const s=e.gvl;if(!s)throw new Oe("Unable to encode TCModel without a GVL");if(!s.isReady)throw new Oe("Unable to encode TCModel tcModel.gvl.readyPromise is not resolved");e=e.clone(),e.consentLanguage=s.language.slice(0,2).toUpperCase(),i?.version>0&&i?.version<=this.processor.length?e.version=i.version:e.version=this.processor.length;const n=e.version-1;if(!this.processor[n])throw new Oe(`Invalid version: ${e.version}`);return this.processor[n](e,s)}}class Aa{static absCall(e,i,s,n){return new Promise((o,a)=>{const r=new XMLHttpRequest,c=()=>{if(r.readyState==XMLHttpRequest.DONE)if(r.status>=200&&r.status<300){let g=r.response;if(typeof g=="string")try{g=JSON.parse(g)}catch{}o(g)}else a(new Error(`HTTP Status: ${r.status} response type: ${r.responseType}`))},l=()=>{a(new Error("error"))},u=()=>{a(new Error("aborted"))},d=()=>{a(new Error("Timeout "+n+"ms "+e))};r.withCredentials=s,r.addEventListener("load",c),r.addEventListener("error",l),r.addEventListener("abort",u),i===null?r.open("GET",e,!0):r.open("POST",e,!0),r.responseType="json",r.timeout=n,r.ontimeout=d,r.send(i)})}static post(e,i,s=!1,n=0){return this.absCall(e,JSON.stringify(i),s,n)}static fetch(e,i=!1,s=0){return this.absCall(e,null,i,s)}}class A extends Ct{static LANGUAGE_CACHE=new Map;static CACHE=new Map;static LATEST_CACHE_KEY=0;static DEFAULT_LANGUAGE="EN";static consentLanguages=new Te;static baseUrl_;static set baseUrl(e){if(/^https?:\/\/vendorlist\.consensu\.org\//.test(e))throw new mt("Invalid baseUrl! You may not pull directly from vendorlist.consensu.org and must provide your own cache");e.length>0&&e[e.length-1]!=="/"&&(e+="/"),this.baseUrl_=e}static get baseUrl(){return this.baseUrl_}static latestFilename="vendor-list.json";static versionedFilename="archives/vendor-list-v[VERSION].json";static languageFilename="purposes-[LANG].json";readyPromise;gvlSpecificationVersion;vendorListVersion;tcfPolicyVersion;lastUpdated;purposes;specialPurposes;features;specialFeatures;isReady_=!1;vendors_;vendorIds;fullVendorList;byPurposeVendorMap;bySpecialPurposeVendorMap;byFeatureVendorMap;bySpecialFeatureVendorMap;stacks;dataCategories;lang_;cacheLang_;isLatest=!1;constructor(e,i){super();let s=A.baseUrl,n=i?.language;if(n)try{n=A.consentLanguages.parseLanguage(n)}catch(o){throw new mt("Error during parsing the language: "+o.message)}if(this.lang_=n||A.DEFAULT_LANGUAGE,this.cacheLang_=n||A.DEFAULT_LANGUAGE,this.isVendorList(e))this.populate(e),this.readyPromise=Promise.resolve();else{if(!s)throw new mt("must specify GVL.baseUrl before loading GVL json");if(e>0){const o=e;A.CACHE.has(o)?(this.populate(A.CACHE.get(o)),this.readyPromise=Promise.resolve()):(s+=A.versionedFilename.replace("[VERSION]",String(o)),this.readyPromise=this.fetchJson(s))}else A.CACHE.has(A.LATEST_CACHE_KEY)?(this.populate(A.CACHE.get(A.LATEST_CACHE_KEY)),this.readyPromise=Promise.resolve()):(this.isLatest=!0,this.readyPromise=this.fetchJson(s+A.latestFilename))}}static emptyLanguageCache(e){let i=!1;return e==null&&A.LANGUAGE_CACHE.size>0?(A.LANGUAGE_CACHE=new Map,i=!0):typeof e=="string"&&this.consentLanguages.has(e.toUpperCase())&&(A.LANGUAGE_CACHE.delete(e.toUpperCase()),i=!0),i}static emptyCache(e){let i=!1;return Number.isInteger(e)&&e>=0?(A.CACHE.delete(e),i=!0):e===void 0&&(A.CACHE=new Map,i=!0),i}cacheLanguage(){A.LANGUAGE_CACHE.has(this.cacheLang_)||A.LANGUAGE_CACHE.set(this.cacheLang_,{purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,dataCategories:this.dataCategories})}async fetchJson(e){try{this.populate(await Aa.fetch(e))}catch(i){throw new mt(i.message)}}getJson(){return{gvlSpecificationVersion:this.gvlSpecificationVersion,vendorListVersion:this.vendorListVersion,tcfPolicyVersion:this.tcfPolicyVersion,lastUpdated:this.lastUpdated,purposes:this.clonePurposes(),specialPurposes:this.cloneSpecialPurposes(),features:this.cloneFeatures(),specialFeatures:this.cloneSpecialFeatures(),stacks:this.cloneStacks(),...this.dataCategories?{dataCategories:this.cloneDataCategories()}:{},vendors:this.cloneVendors()}}cloneSpecialFeatures(){const e={};for(const i of Object.keys(this.specialFeatures))e[i]=A.cloneFeature(this.specialFeatures[i]);return e}cloneFeatures(){const e={};for(const i of Object.keys(this.features))e[i]=A.cloneFeature(this.features[i]);return e}cloneStacks(){const e={};for(const i of Object.keys(this.stacks))e[i]=A.cloneStack(this.stacks[i]);return e}cloneDataCategories(){const e={};for(const i of Object.keys(this.dataCategories))e[i]=A.cloneDataCategory(this.dataCategories[i]);return e}cloneSpecialPurposes(){const e={};for(const i of Object.keys(this.specialPurposes))e[i]=A.clonePurpose(this.specialPurposes[i]);return e}clonePurposes(){const e={};for(const i of Object.keys(this.purposes))e[i]=A.clonePurpose(this.purposes[i]);return e}static clonePurpose(e){return{id:e.id,name:e.name,description:e.description,...e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{},...e.illustrations?{illustrations:Array.from(e.illustrations)}:{}}}static cloneFeature(e){return{id:e.id,name:e.name,description:e.description,...e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{},...e.illustrations?{illustrations:Array.from(e.illustrations)}:{}}}static cloneDataCategory(e){return{id:e.id,name:e.name,description:e.description}}static cloneStack(e){return{id:e.id,name:e.name,description:e.description,purposes:Array.from(e.purposes),specialFeatures:Array.from(e.specialFeatures)}}static cloneDataRetention(e){return{...typeof e.stdRetention=="number"?{stdRetention:e.stdRetention}:{},purposes:{...e.purposes},specialPurposes:{...e.specialPurposes}}}static cloneVendorUrls(e){return e.map(i=>({langId:i.langId,privacy:i.privacy,...i.legIntClaim?{legIntClaim:i.legIntClaim}:{}}))}static cloneVendor(e){return{id:e.id,name:e.name,purposes:Array.from(e.purposes),legIntPurposes:Array.from(e.legIntPurposes),flexiblePurposes:Array.from(e.flexiblePurposes),specialPurposes:Array.from(e.specialPurposes),features:Array.from(e.features),specialFeatures:Array.from(e.specialFeatures),...e.overflow?{overflow:{httpGetLimit:e.overflow.httpGetLimit}}:{},...typeof e.cookieMaxAgeSeconds=="number"||e.cookieMaxAgeSeconds===null?{cookieMaxAgeSeconds:e.cookieMaxAgeSeconds}:{},...e.usesCookies!==void 0?{usesCookies:e.usesCookies}:{},...e.policyUrl?{policyUrl:e.policyUrl}:{},...e.cookieRefresh!==void 0?{cookieRefresh:e.cookieRefresh}:{},...e.usesNonCookieAccess!==void 0?{usesNonCookieAccess:e.usesNonCookieAccess}:{},...e.dataRetention?{dataRetention:this.cloneDataRetention(e.dataRetention)}:{},...e.urls?{urls:this.cloneVendorUrls(e.urls)}:{},...e.dataDeclaration?{dataDeclaration:Array.from(e.dataDeclaration)}:{},...e.deviceStorageDisclosureUrl?{deviceStorageDisclosureUrl:e.deviceStorageDisclosureUrl}:{},...e.deletedDate?{deletedDate:e.deletedDate}:{}}}cloneVendors(){const e={};for(const i of Object.keys(this.fullVendorList))e[i]=A.cloneVendor(this.fullVendorList[i]);return e}async changeLanguage(e){let i=e;try{i=A.consentLanguages.parseLanguage(e)}catch(n){throw new mt("Error during parsing the language: "+n.message)}const s=e.toUpperCase();if(!(i.toLowerCase()===A.DEFAULT_LANGUAGE.toLowerCase()&&!A.LANGUAGE_CACHE.has(s))&&i!==this.lang_)if(this.lang_=i,A.LANGUAGE_CACHE.has(s)){const n=A.LANGUAGE_CACHE.get(s);for(const o in n)n.hasOwnProperty(o)&&(this[o]=n[o])}else{const n=A.baseUrl+A.languageFilename.replace("[LANG]",this.lang_.toLowerCase());try{await this.fetchJson(n),this.cacheLang_=s,this.cacheLanguage()}catch(o){throw new mt("unable to load language: "+o.message)}}}get language(){return this.lang_}isVendorList(e){return e!==void 0&&e.vendors!==void 0}populate(e){this.purposes=e.purposes,this.specialPurposes=e.specialPurposes,this.features=e.features,this.specialFeatures=e.specialFeatures,this.stacks=e.stacks,this.dataCategories=e.dataCategories,this.isVendorList(e)&&(this.gvlSpecificationVersion=e.gvlSpecificationVersion,this.tcfPolicyVersion=e.tcfPolicyVersion,this.vendorListVersion=e.vendorListVersion,this.lastUpdated=e.lastUpdated,typeof this.lastUpdated=="string"&&(this.lastUpdated=new Date(this.lastUpdated)),this.vendors_=e.vendors,this.fullVendorList=e.vendors,this.mapVendors(),this.isReady_=!0,this.isLatest&&A.CACHE.set(A.LATEST_CACHE_KEY,this.getJson()),A.CACHE.has(this.vendorListVersion)||A.CACHE.set(this.vendorListVersion,this.getJson())),this.cacheLanguage()}mapVendors(e){this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach(i=>{this.byPurposeVendorMap[i]={legInt:new Set,consent:new Set,flexible:new Set}}),Object.keys(this.specialPurposes).forEach(i=>{this.bySpecialPurposeVendorMap[i]=new Set}),Object.keys(this.features).forEach(i=>{this.byFeatureVendorMap[i]=new Set}),Object.keys(this.specialFeatures).forEach(i=>{this.bySpecialFeatureVendorMap[i]=new Set}),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map(i=>+i)),this.vendorIds=new Set(e),this.vendors_=e.reduce((i,s)=>{const n=this.vendors_[String(s)];return n&&n.deletedDate===void 0&&(n.purposes.forEach(o=>{this.byPurposeVendorMap[String(o)].consent.add(s)}),n.specialPurposes.forEach(o=>{this.bySpecialPurposeVendorMap[String(o)].add(s)}),n.legIntPurposes.forEach(o=>{this.byPurposeVendorMap[String(o)].legInt.add(s)}),n.flexiblePurposes&&n.flexiblePurposes.forEach(o=>{this.byPurposeVendorMap[String(o)].flexible.add(s)}),n.features.forEach(o=>{this.byFeatureVendorMap[String(o)].add(s)}),n.specialFeatures.forEach(o=>{this.bySpecialFeatureVendorMap[String(o)].add(s)}),i[s]=n),i},{})}getFilteredVendors(e,i,s,n){const o=e.charAt(0).toUpperCase()+e.slice(1);let a;const r={};return e==="purpose"&&s?a=this["by"+o+"VendorMap"][String(i)][s]:a=this["by"+(n?"Special":"")+o+"VendorMap"][String(i)],a.forEach(c=>{r[String(c)]=this.vendors[String(c)]}),r}getVendorsWithConsentPurpose(e){return this.getFilteredVendors("purpose",e,"consent")}getVendorsWithLegIntPurpose(e){return this.getFilteredVendors("purpose",e,"legInt")}getVendorsWithFlexiblePurpose(e){return this.getFilteredVendors("purpose",e,"flexible")}getVendorsWithSpecialPurpose(e){return this.getFilteredVendors("purpose",e,void 0,!0)}getVendorsWithFeature(e){return this.getFilteredVendors("feature",e)}getVendorsWithSpecialFeature(e){return this.getFilteredVendors("feature",e,void 0,!0)}get vendors(){return this.vendors_}narrowVendorsTo(e){this.mapVendors(e)}get isReady(){return this.isReady_}clone(){const e=new A(this.getJson());return this.lang_!==A.DEFAULT_LANGUAGE&&e.changeLanguage(this.lang_),e}static isInstanceOf(e){return typeof e=="object"&&typeof e.narrowVendorsTo=="function"}}class Si extends Ct{static consentLanguages=A.consentLanguages;isServiceSpecific_=!1;supportOOB_=!0;useNonStandardTexts_=!1;purposeOneTreatment_=!1;publisherCountryCode_="AA";version_=2;consentScreen_=0;policyVersion_=4;consentLanguage_="EN";cmpId_=0;cmpVersion_=0;vendorListVersion_=0;numCustomPurposes_=0;gvl_;created;lastUpdated;specialFeatureOptins=new ue;purposeConsents=new ue;purposeLegitimateInterests=new ue;publisherConsents=new ue;publisherLegitimateInterests=new ue;publisherCustomConsents=new ue;publisherCustomLegitimateInterests=new ue;customPurposes;vendorConsents=new ue;vendorLegitimateInterests=new ue;vendorsDisclosed=new ue;vendorsAllowed=new ue;publisherRestrictions=new Fs;constructor(e){super(),e&&(this.gvl=e),this.updated()}set gvl(e){A.isInstanceOf(e)||(e=new A(e)),this.gvl_=e,this.publisherRestrictions.gvl=e}get gvl(){return this.gvl_}set cmpId(e){if(e=Number(e),Number.isInteger(e)&&e>1)this.cmpId_=e;else throw new Ae("cmpId",e)}get cmpId(){return this.cmpId_}set cmpVersion(e){if(e=Number(e),Number.isInteger(e)&&e>-1)this.cmpVersion_=e;else throw new Ae("cmpVersion",e)}get cmpVersion(){return this.cmpVersion_}set consentScreen(e){if(e=Number(e),Number.isInteger(e)&&e>-1)this.consentScreen_=e;else throw new Ae("consentScreen",e)}get consentScreen(){return this.consentScreen_}set consentLanguage(e){this.consentLanguage_=e}get consentLanguage(){return this.consentLanguage_}set publisherCountryCode(e){if(/^([A-z]){2}$/.test(e))this.publisherCountryCode_=e.toUpperCase();else throw new Ae("publisherCountryCode",e)}get publisherCountryCode(){return this.publisherCountryCode_}set vendorListVersion(e){if(e=Number(e)>>0,e<0)throw new Ae("vendorListVersion",e);this.vendorListVersion_=e}get vendorListVersion(){return this.gvl?this.gvl.vendorListVersion:this.vendorListVersion_}set policyVersion(e){if(this.policyVersion_=parseInt(e,10),this.policyVersion_<0)throw new Ae("policyVersion",e)}get policyVersion(){return this.gvl?this.gvl.tcfPolicyVersion:this.policyVersion_}set version(e){this.version_=parseInt(e,10)}get version(){return this.version_}set isServiceSpecific(e){this.isServiceSpecific_=e}get isServiceSpecific(){return this.isServiceSpecific_}set useNonStandardTexts(e){this.useNonStandardTexts_=e}get useNonStandardTexts(){return this.useNonStandardTexts_}set supportOOB(e){this.supportOOB_=e}get supportOOB(){return this.supportOOB_}set purposeOneTreatment(e){this.purposeOneTreatment_=e}get purposeOneTreatment(){return this.purposeOneTreatment_}setAllVendorConsents(){this.vendorConsents.set(this.gvl.vendors)}unsetAllVendorConsents(){this.vendorConsents.empty()}setAllVendorsDisclosed(){this.vendorsDisclosed.set(this.gvl.vendors)}unsetAllVendorsDisclosed(){this.vendorsDisclosed.empty()}setAllVendorsAllowed(){this.vendorsAllowed.set(this.gvl.vendors)}unsetAllVendorsAllowed(){this.vendorsAllowed.empty()}setAllVendorLegitimateInterests(){this.vendorLegitimateInterests.set(this.gvl.vendors)}unsetAllVendorLegitimateInterests(){this.vendorLegitimateInterests.empty()}setAllPurposeConsents(){this.purposeConsents.set(this.gvl.purposes)}unsetAllPurposeConsents(){this.purposeConsents.empty()}setAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.set(this.gvl.purposes)}unsetAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.empty()}setAllSpecialFeatureOptins(){this.specialFeatureOptins.set(this.gvl.specialFeatures)}unsetAllSpecialFeatureOptins(){this.specialFeatureOptins.empty()}setAll(){this.setAllVendorConsents(),this.setAllPurposeLegitimateInterests(),this.setAllSpecialFeatureOptins(),this.setAllPurposeConsents(),this.setAllVendorLegitimateInterests()}unsetAll(){this.unsetAllVendorConsents(),this.unsetAllPurposeLegitimateInterests(),this.unsetAllSpecialFeatureOptins(),this.unsetAllPurposeConsents(),this.unsetAllVendorLegitimateInterests()}get numCustomPurposes(){let e=this.numCustomPurposes_;if(typeof this.customPurposes=="object"){const i=Object.keys(this.customPurposes).sort((s,n)=>Number(s)-Number(n));e=parseInt(i.pop(),10)}return e}set numCustomPurposes(e){if(this.numCustomPurposes_=parseInt(e,10),this.numCustomPurposes_<0)throw new Ae("numCustomPurposes",e)}updated(){const e=new Date,i=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()));this.created=i,this.lastUpdated=i}}class Vt{static encode(e,i){let s="",n;return e=Oa.process(e,i),Array.isArray(i?.segments)?n=i.segments:n=new Pa(e,i)[""+e.version],n.forEach((o,a)=>{let r="";a<n.length-1&&(r="."),s+=Bs.encode(e,o)+r}),s}static decode(e,i){const s=e.split("."),n=s.length;i||(i=new Si);for(let o=0;o<n;o++){const a=s[o],c=Ti.decode(a.charAt(0)).substr(0,x.segmentType),l=Rs.ID_TO_KEY[z.decode(c,x.segmentType).toString()];Bs.decode(a,i,l)}return i}}var Ta=Object.defineProperty,Sa=(t,e,i)=>e in t?Ta(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,zi=(t,e,i)=>Sa(t,typeof e!="symbol"?e+"":e,i);class Li{constructor(e,i,s){zi(this,"consentPreference"),zi(this,"notice"),zi(this,"noticeHistoryId"),this.notice=e,this.consentPreference=i,this.noticeHistoryId=s}}C.TCMobileDataVals=void 0,(t=>{(e=>(e[e._0=0]="_0",e[e._1=1]="_1"))(t.IABTCFgdprApplies||(t.IABTCFgdprApplies={})),(e=>(e[e._0=0]="_0",e[e._1=1]="_1"))(t.IABTCFPurposeOneTreatment||(t.IABTCFPurposeOneTreatment={})),(e=>(e[e._0=0]="_0",e[e._1=1]="_1"))(t.IABTCFUseNonStandardTexts||(t.IABTCFUseNonStandardTexts={}))})(C.TCMobileDataVals||(C.TCMobileDataVals={}));var Gs=(t=>(t.GPP_US_NATIONAL="gpp_us_national",t.GPP_US_STATE="gpp_us_state",t))(Gs||{}),Hs=(t=>(t.FRONTEND="frontend",t.SYSTEM_WIDE="system_wide",t.NOT_APPLICABLE="not_applicable",t))(Hs||{}),te=(t=>(t.OPT_IN="opt_in",t.OPT_OUT="opt_out",t.NOTICE_ONLY="notice_only",t))(te||{}),ce=(t=>(t.OPT_IN="opt_in",t.OPT_OUT="opt_out",t.ACKNOWLEDGE="acknowledge",t.NOT_APPLICABLE="not_applicable",t.TCF="tcf",t))(ce||{}),ht=(t=>(t.OMIT="omit",t.INCLUDE="include",t))(ht||{}),We=(t=>(t.BOOLEAN="boolean",t.CONSENT_MECHANISM="consent_mechanism",t))(We||{}),Ge=(t=>(t.THROW="throw",t.WARN="warn",t.IGNORE="ignore",t))(Ge||{}),re=(t=>(t.OVERLAY="overlay",t.BANNER_AND_MODAL="banner_and_modal",t.MODAL="modal",t.PRIVACY_CENTER="privacy_center",t.TCF_OVERLAY="tcf_overlay",t.HEADLESS="headless",t))(re||{}),qs=(t=>(t.ALWAYS_ENABLED="always_enabled",t.ENABLED_WHERE_REQUIRED="enabled_where_required",t.ALWAYS_DISABLED="always_disabled",t))(qs||{}),Se=(t=>(t.OPTIONS="options",t.EXPERIENCE_TRANSLATION="language",t))(Se||{}),he=(t=>(t.PRIMARY="primary",t.SECONDARY="secondary",t.TERTIARY="tertiary",t))(he||{}),Mt=(t=>(t.ACKNOWLEDGE="acknowledge",t.OPT_IN_OPT_OUT="opt_in_opt_out",t.OPT_IN_ONLY="opt_in_only",t))(Mt||{}),Ni=(t=>(t.REJECT_ALL="reject_all",t.REJECT_CONSENT_ONLY="reject_consent_only",t))(Ni||{}),D=(t=>(t.BUTTON="button",t.REJECT="reject",t.ACCEPT="accept",t.SCRIPT="script",t.SAVE="save",t.DISMISS="dismiss",t.GPC="gpc",t.INDIVIDUAL_NOTICE="individual_notice",t.ACKNOWLEDGE="acknowledge",t.OT_MIGRATION="ot_migration",t))(D||{}),Ks=(t=>(t.privacy_center="privacy_center",t.overlay="overlay",t.api="api",t))(Ks||{}),ze=(t=>(t.NONE="none",t.APPLIED="applied",t.OVERRIDDEN="overridden",t))(ze||{}),Je=(t=>(t.OVERLAY="overlay",t.MODAL="modal",t.BANNER="banner",t.PRIVACY_CENTER="privacy_center",t.TCF_OVERLAY="tcf_overlay",t.TCF_BANNER="tcf_banner",t))(Je||{}),$i=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ut={exports:{}};/*! https://mths.be/base64 v1.0.0 by @mathias | MIT license */Ut.exports,function(t,e){(function(i){var s=e,n=t&&t.exports==s&&t,o=typeof $i=="object"&&$i;(o.global===o||o.window===o)&&(i=o);var a=function(f){this.message=f};a.prototype=new Error,a.prototype.name="InvalidCharacterError";var r=function(f){throw new a(f)},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=/[\t\n\f\r ]/g,u=function(f){f=String(f).replace(l,"");var _=f.length;_%4==0&&(f=f.replace(/==?$/,""),_=f.length),(_%4==1||/[^+a-zA-Z0-9/]/.test(f))&&r("Invalid character: the string to be decoded is not correctly encoded.");for(var m=0,h,y,b="",w=-1;++w<_;)y=c.indexOf(f.charAt(w)),h=m%4?h*64+y:y,m++%4&&(b+=String.fromCharCode(255&h>>(-2*m&6)));return b},d=function(f){f=String(f),/[^\0-\xFF]/.test(f)&&r("The string to be encoded contains characters outside of the Latin1 range.");for(var _=f.length%3,m="",h=-1,y,b,w,j,S=f.length-_;++h<S;)y=f.charCodeAt(h)<<16,b=f.charCodeAt(++h)<<8,w=f.charCodeAt(++h),j=y+b+w,m+=c.charAt(j>>18&63)+c.charAt(j>>12&63)+c.charAt(j>>6&63)+c.charAt(j&63);return _==2?(y=f.charCodeAt(h)<<8,b=f.charCodeAt(++h),j=y+b,m+=c.charAt(j>>10)+c.charAt(j>>4&63)+c.charAt(j<<2&63)+"="):_==1&&(j=f.charCodeAt(h),m+=c.charAt(j>>2)+c.charAt(j<<4&63)+"=="),m},g={encode:d,decode:u,version:"1.0.0"};if(s&&!s.nodeType)if(n)n.exports=g;else for(var v in g)g.hasOwnProperty(v)&&(s[v]=g[v]);else i.base64=g})($i)}(Ut,Ut.exports);var Ys=Ut.exports;/*! js-cookie v3.0.5 | MIT */function Bt(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var s in i)t[s]=i[s]}return t}var za={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Fi(t,e){function i(n,o,a){if(!(typeof document>"u")){a=Bt({},e,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var r="";for(var c in a)a[c]&&(r+="; "+c,a[c]!==!0&&(r+="="+a[c].split(";")[0]));return document.cookie=n+"="+t.write(o,n)+r}}function s(n){if(!(typeof document>"u"||arguments.length&&!n)){for(var o=document.cookie?document.cookie.split("; "):[],a={},r=0;r<o.length;r++){var c=o[r].split("="),l=c.slice(1).join("=");try{var u=decodeURIComponent(c[0]);if(a[u]=t.read(l,u),n===u)break}catch{}}return n?a[n]:a}}return Object.create({set:i,get:s,remove:function(n,o){i(n,"",Bt({},o,{expires:-1}))},withAttributes:function(n){return Fi(this.converter,Bt({},this.attributes,n))},withConverter:function(n){return Fi(Bt({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var La=Fi(za,{path:"/"});let Gt;const Na=new Uint8Array(16);function $a(){if(!Gt&&(Gt=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Gt))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Gt(Na)}const se=[];for(let t=0;t<256;++t)se.push((t+256).toString(16).slice(1));function Fa(t,e=0){return se[t[e+0]]+se[t[e+1]]+se[t[e+2]]+se[t[e+3]]+"-"+se[t[e+4]]+se[t[e+5]]+"-"+se[t[e+6]]+se[t[e+7]]+"-"+se[t[e+8]]+se[t[e+9]]+"-"+se[t[e+10]]+se[t[e+11]]+se[t[e+12]]+se[t[e+13]]+se[t[e+14]]+se[t[e+15]]}var Ws={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Js(t,e,i){if(Ws.randomUUID&&!e&&!t)return Ws.randomUUID();t=t||{};const s=t.random||(t.rng||$a)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,e){i=i||0;for(let n=0;n<16;++n)e[i+n]=s[n];return e}return Fa(s)}const Ht=(t,e)=>!!Object.keys(e).includes(t.notice_key),Ce=t=>!t||t===ce.OPT_OUT?!1:t===ce.OPT_IN?!0:t===ce.ACKNOWLEDGE,Ee=(t,e)=>t?e===te.NOTICE_ONLY?ce.ACKNOWLEDGE:ce.OPT_IN:ce.OPT_OUT,xt=t=>typeof t=="string"?Ce(t):t,Zs=t=>t?t.split(",").map(e=>e.trim()).filter(Boolean):[],Qs=(t,e)=>t===void 0?!1:typeof t=="boolean"?t:e.globalPrivacyControl===!0?t.globalPrivacyControl:t.value,Di=(t,e)=>t.consent_mechanism===te.NOTICE_ONLY?!0:e&&Ht(t,e)?!!e[t.notice_key]:Ce(t.default_preference);var Da=(t=>(t.CONSENT="Consent",t.CONTRACT="Contract",t.LEGAL_OBLIGATIONS="Legal obligations",t.VITAL_INTERESTS="Vital interests",t.PUBLIC_INTEREST="Public interest",t.LEGITIMATE_INTERESTS="Legitimate interests",t))(Da||{}),Le=(t=>(t.CONSENT="Consent",t.LEGITIMATE_INTERESTS="Legitimate interests",t))(Le||{});const Xs=407,qt=",",en=[{experienceKey:"tcf_purpose_consents",tcfModelKey:"purposeConsents",enabledIdsKey:"purposesConsent"},{experienceKey:"tcf_purpose_legitimate_interests",tcfModelKey:"purposeLegitimateInterests",enabledIdsKey:"purposesLegint"},{experienceKey:"tcf_special_features",tcfModelKey:"specialFeatureOptins",enabledIdsKey:"specialFeatures"},{experienceKey:"tcf_vendor_consents",tcfModelKey:"vendorConsents",enabledIdsKey:"vendorsConsent"},{experienceKey:"tcf_vendor_legitimate_interests",tcfModelKey:"vendorLegitimateInterests",enabledIdsKey:"vendorsLegint"}],tn=[{cookieKey:"system_consent_preferences",experienceKey:"tcf_system_consents"},{cookieKey:"system_legitimate_interests_preferences",experienceKey:"tcf_system_legitimate_interests"}];en.filter(({experienceKey:t})=>t!=="tcf_features"&&t!=="tcf_special_purposes").map(t=>t.experienceKey);const Kt=[{i18nMessageID:"static.tcf.consent",value:Le.CONSENT.toString()},{i18nMessageID:"static.tcf.legint",value:Le.LEGITIMATE_INTERESTS.toString()}],Yt={purposesConsent:[],customPurposesConsent:[],purposesLegint:[],specialPurposes:[],features:[],specialFeatures:[],vendorsConsent:[],vendorsLegint:[]};var Ra=Object.defineProperty,Va=Object.defineProperties,Ma=Object.getOwnPropertyDescriptors,sn=Object.getOwnPropertySymbols,Ua=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable,nn=(t,e,i)=>e in t?Ra(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Ze=(t,e)=>{for(var i in e||(e={}))Ua.call(e,i)&&nn(t,i,e[i]);if(sn)for(var i of sn(e))Ba.call(e,i)&&nn(t,i,e[i]);return t},It=(t,e)=>Va(t,Ma(e)),Ga=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const Ri="fides_consent",on=365,Wt=La.withConverter({read(t){return decodeURIComponent(t)},write(t){return encodeURIComponent(t)}}),Jt=t=>t?Object.values(t).some(e=>e!==void 0):!1,rn=()=>Js(),Ha=rn(),Vi=t=>{var e;return!((e=t.fides_meta)!=null&&e.updatedAt)},an=t=>{const e=new Date;return{consent:t||{},identity:{fides_user_device_id:Ha||rn()},fides_meta:{version:"0.9.0",createdAt:e.toISOString(),updatedAt:""},tcf_consent:{}}},Zt=t=>Wt.get(t),He=()=>{const t=Zt(Ri);if(t)try{return JSON.parse(t)}catch{try{return JSON.parse(Ys.decode(t))}catch{return}}},cn=(t,e=!1)=>{const i=an(t);if(typeof document>"u")return i;if(e)return document.cookie="fides_consent=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT",i;let s=He();if(s!=null&&s.consent){const{consent:n}=s;Object.entries(n).forEach(([o,a])=>{n[o]=xt(a)})}if(!s)return i;try{"consent"in s&&"fides_meta"in s||(s=It(Ze({},i),{consent:s}));const n=Ze(Ze({},t),s.consent);return s.consent=n,s}catch(n){return console.error("Unable to read consent cookie: invalid JSON.",n),i}},ln=(t,e=!1)=>{if(typeof document>"u")return;const i=new Date().toISOString();t.fides_meta.updatedAt=i;let s=JSON.stringify(t);e&&(s=Ys.encode(s));const n=window.location.hostname.split(".");let o="";for(let a=1;a<=n.length;a+=1)if(o=n.slice(-a).join("."),Wt.set(Ri,s,{path:"/",domain:o,expires:on})){const r=He();if(r&&r.fides_meta.updatedAt===t.fides_meta.updatedAt)break}},Mi=({experience:t,cookie:e})=>{var i;if(!t.privacy_notices)return t;const s=(i=t.privacy_notices)==null?void 0:i.map(o=>{const a=Object.keys(e.consent).includes(o.notice_key)?Ee(!!e.consent[o.notice_key],o.consent_mechanism):void 0;return It(Ze({},o),{current_preference:a})});return It(Ze({},t),{privacy_notices:s})},dn=t=>{const e={};return tn.forEach(({cookieKey:i})=>{var s;const n=(s=t[i])!=null?s:[];e[i]=Object.fromEntries(n.map(o=>[o.id,Ce(o.preference)]))}),e},un=(t,e)=>{const i={};return t?.options.forEach(({cookieKeys:s,default:n})=>{if(n===void 0)return;const o=Qs(n,e);s.forEach(a=>{const r=i[a];if(r===void 0){i[a]=o;return}i[a]=r&&o})}),i},pn=(t,e=!0)=>{t.forEach(i=>{var s;if(Wt.remove(i.name,{path:(s=i.path)!=null?s:"/",domain:i.domain}),e){const{hostname:n}=window.location;Wt.remove(i.name,{domain:`.${n}`})}})},fn=t=>{const e=new Map(t.map(({notice:i,consentPreference:s})=>[i.notice_key,Ce(s)]));return Object.fromEntries(e)},vn=(t,e)=>Ga(void 0,null,function*(){return It(Ze({},t),{consent:fn(e)})}),qa=t=>{const e={};return t.privacy_notices&&t.privacy_notices.forEach(i=>{i.current_preference?e[i.notice_key]=Ce(i.current_preference):i.default_preference&&(e[i.notice_key]=Ce(i.default_preference))}),e},gn=({cookie:t,experience:e})=>{const i=qa(e);return It(Ze({},t),{consent:i})};var Ka=Object.defineProperty,Ya=(t,e,i)=>e in t?Ka(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,_n=(t,e,i)=>Ya(t,typeof e!="symbol"?e+"":e,i);class Wa{constructor(){_n(this,"cookieName","OptanonConsent"),_n(this,"migrationMethod",D.OT_MIGRATION)}getConsentCookie(){return Zt(this.cookieName)}convertToFidesConsent(e,i){if(i.otFidesMapping)try{const s=decodeURIComponent(i.otFidesMapping).replace(/^'|'$/g,""),n=JSON.parse(s),o=this.parseCookieValue(e,n);return o}catch{return}}parseCookieValue(e,i){const s={},n=e.match(/groups=([^&]*)/);return!n||!n[1]||n[1].split(",").forEach(o=>{const[a,r]=o.split(":");i[a]&&i[a].forEach(c=>{const l=r==="1";s[c]===void 0&&(s[c]=l)})}),s}}var mn=(t=>(t.ONETRUST="onetrust",t))(mn||{});const Ui=new Map;function Ja(t,e){Ui.set(t,e)}function Za(t){t.otFidesMapping&&Ja(mn.ONETRUST,new Wa)}function hn(t){let e,i;if(Array.from(Ui).some(([n,o])=>{const a=o.getConsentCookie();if(!a)return!1;const r=o.convertToFidesConsent(a,t);return r?(e=r,i=n,!0):!1}),!i)return{consent:void 0,method:void 0};const s=Ui.get(i);return{consent:e,method:s.migrationMethod}}const bn=t=>{typeof window<"u"&&!window.fidesDebugger?window.fidesDebugger=t?console.log:()=>{}:globalThis.fidesDebugger=()=>{}},ae="en",Bi="Manage preferences",Gi=/^([A-Za-z]{2,3})(?:(?:[_-]([A-Za-z0-9]{2,4}))?$|(?:(?:[_-]\w+)+))/,Qa=/^(?:([a-z]{2})(-[a-z0-9]{1,3})?|(eea))$/i,Xa=[{overrideName:"fidesEmbed",overrideType:"boolean",overrideKey:"fides_embed",validationRegex:/^(true|false)$/},{overrideName:"fidesDisableSaveApi",overrideType:"boolean",overrideKey:"fides_disable_save_api",validationRegex:/^(true|false)$/},{overrideName:"fidesDisableNoticesServedApi",overrideType:"boolean",overrideKey:"fides_disable_notices_served_api",validationRegex:/^(true|false)$/},{overrideName:"fidesDisableBanner",overrideType:"boolean",overrideKey:"fides_disable_banner",validationRegex:/^(true|false)$/},{overrideName:"fidesString",overrideType:"string",overrideKey:"fides_string",validationRegex:/(.*)/},{overrideName:"fidesTcfGdprApplies",overrideType:"boolean",overrideKey:"fides_tcf_gdpr_applies",validationRegex:/^(true|false)$/},{overrideName:"fidesLocale",overrideType:"string",overrideKey:"fides_locale",validationRegex:Gi},{overrideName:"fidesPrimaryColor",overrideType:"string",overrideKey:"fides_primary_color",validationRegex:/(.*)/},{overrideName:"fidesClearCookie",overrideType:"string",overrideKey:"fides_clear_cookie",validationRegex:/(.*)/},{overrideName:"fidesConsentOverride",overrideType:"string",overrideKey:"fides_consent_override",validationRegex:/^(accept|reject)$/},{overrideName:"otFidesMapping",overrideType:"string",overrideKey:"ot_fides_mapping",validationRegex:/(.*)/},{overrideName:"fidesDisabledNotices",overrideType:"array",overrideKey:"fides_disabled_notices",validationRegex:/(.*)/,transform:Zs},{overrideName:"fidesConsentNonApplicableFlagMode",overrideType:"string",overrideKey:"fides_consent_non_applicable_flag_mode",validationRegex:/^(omit|include)$/},{overrideName:"fidesConsentFlagType",overrideType:"string",overrideKey:"fides_consent_flag_type",validationRegex:/^(boolean|consent_mechanism)$/},{overrideName:"fidesInitializedEventMode",overrideType:"string",overrideKey:"fides_initialized_event_mode",validationRegex:/^(multiple|once|disable)$/}],ec=[{overrideName:"title",overrideType:"string",overrideKey:"fides_title",validationRegex:/(.*)/},{overrideName:"description",overrideType:"string",overrideKey:"fides_description",validationRegex:/(.*)/},{overrideName:"privacy_policy_url",overrideType:"string",overrideKey:"fides_privacy_policy_url",validationRegex:/(.*)/},{overrideName:"override_language",overrideType:"string",overrideKey:"fides_override_language",validationRegex:Gi}],tc="fides-overlay-wrapper",ic="fides-i18n-icon",Hi=["marketing","data_sales","data_sales_and_sharing","data_sales_sharing_gpp_us_state","data_sharing_gpp_us_state","data_sales_gpp_us_state","targeted_advertising_gpp_us_state","sales_sharing_targeted_advertising_gpp_us_national","sales_sharing_targeted_advertising"];var sc=Object.defineProperty,nc=Object.defineProperties,oc=Object.getOwnPropertyDescriptors,yn=Object.getOwnPropertySymbols,rc=Object.prototype.hasOwnProperty,ac=Object.prototype.propertyIsEnumerable,kn=(t,e,i)=>e in t?sc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Qt=(t,e)=>{for(var i in e||(e={}))rc.call(e,i)&&kn(t,i,e[i]);if(yn)for(var i of yn(e))ac.call(e,i)&&kn(t,i,e[i]);return t},cc=(t,e)=>nc(t,oc(e));const Qe=t=>!t||typeof t!="object"?!1:Object.keys(t).length===0||"id"in t,lc=t=>!!(t&&t.every(e=>e.default_preference===ce.OPT_IN)),Xt=t=>{if(t){if(t.location&&Qa.test(t.location))return t.location.replace("-","_").toLowerCase();if(t.country&&t.region)return`${t.country.toLowerCase()}_${t.region.toLowerCase()}`}},wn=t=>{if(typeof t!="object"||!t.fidesApiUrl||!t.privacyCenterUrl)return!1;try{new URL(t.privacyCenterUrl),new URL(t.fidesApiUrl)}catch{return!1}return!0},Cn=t=>{switch(t){case Se.OPTIONS:return Xa;case Se.EXPERIENCE_TRANSLATION:return ec;default:return null}},qi=t=>{if(!Qe(t))return!1;const e=t.experience_config;return e&&(e.component===re.MODAL||e.component===re.BANNER_AND_MODAL||e.component===re.TCF_OVERLAY||e.component===re.HEADLESS)?!(e.component===re.BANNER_AND_MODAL&&!(t.privacy_notices&&t.privacy_notices.length>0)):!1},ei=t=>t.fidesConsentOverride===D.ACCEPT||t.fidesConsentOverride===D.REJECT,dc=t=>{var e;return(e=t.default_preference)!=null?e:ce.OPT_OUT},ti=(t,e,i,s)=>{var n,o,a,r,c,l;return s!=null&&s.fidesDisableBanner||!Qe(t)?!1:((n=t.experience_config)==null?void 0:n.component)===re.TCF_OVERLAY&&e?s&&ei(s)?!1:(o=t.meta)!=null&&o.version_hash?t.meta.version_hash!==e.tcf_version_hash:!0:((a=t.experience_config)==null?void 0:a.component)===re.MODAL||((r=t.experience_config)==null?void 0:r.component)===re.HEADLESS||!((c=t?.privacy_notices)!=null&&c.length)?!1:i?s&&ei(s)?!1:e?.fides_meta.consentMethod===D.GPC?!0:!((l=t.privacy_notices)!=null&&l.every(u=>Ht(u,i))):!0},En=t=>{t[0]==="window"&&t.shift();let e=window;for(;t.length>0;){const i=t.shift();if(typeof i>"u"||typeof e[i]!="object")return;e=e[i]}return e},Ki=({value:t,notice:e,consentContext:i})=>!i.globalPrivacyControl||!e.has_gpc_flag||e.consent_mechanism===te.NOTICE_ONLY?ze.NONE:t?ze.OVERRIDDEN:ze.APPLIED,Yi=()=>{},uc=(t,e)=>t.map(i=>{var s;const n=Ee(e.includes(i.notice.notice_key),i.notice.consent_mechanism);return new Li(i.notice,n,(s=i.bestTranslation)==null?void 0:s.privacy_notice_history_id)}),jn=t=>{try{const e=JSON.stringify(t);return btoa(e.replace(/\s/g,""))}catch(e){throw new Error("Failed to encode Notice Consent string:",{cause:e})}},ii=t=>{if(!t)return{};try{const e=atob(t),i=JSON.parse(e);return Object.fromEntries(Object.entries(i).map(([s,n])=>[s,!!n]))}catch(e){throw new Error("Failed to decode Notice Consent string:",{cause:e})}},pc=({consent:t,nonApplicableNotices:e,flagType:i,mode:s=ht.OMIT})=>{if(!(e!=null&&e.length))return t;const n=Qt({},t);return s===ht.INCLUDE?e.forEach(o=>{n[o]=i===We.CONSENT_MECHANISM?ce.NOT_APPLICABLE:!0}):e.forEach(o=>{delete n[o]}),n},fc=({consent:t,flagType:e=We.BOOLEAN,consentMechanisms:i})=>{const s={};if(e!==We.CONSENT_MECHANISM)return Object.fromEntries(Object.entries(t).map(([o,a])=>[o,xt(a)]));const n=Object.values(t).some(o=>typeof o=="boolean");if(n&&!i)throw new Error("Cannot transform boolean consent values to consent mechanisms without consent mechanisms map");return n?(Object.keys(t).forEach(o=>{const a=t[o];if(typeof a=="string")s[o]=a;else{const r=i[o];s[o]=Ee(a,r)}}),s):Qt({},t)},Pt=(t,e,i=[],s,n)=>{var o,a,r;const c=Qt({},t),l=(o=window.Fides)==null?void 0:o.options,u=(a=n??l?.fidesConsentNonApplicableFlagMode)!=null?a:ht.OMIT,d=(r=s??l?.fidesConsentFlagType)!=null?r:We.BOOLEAN,g={};Object.assign(g,pc({consent:{},nonApplicableNotices:e??[],flagType:d,mode:u}));const v=i.reduce((f,_)=>cc(Qt({},f),{[_.notice_key]:_.consent_mechanism}),{});return Object.assign(g,fc({consent:c,consentMechanisms:v,flagType:d})),g},xn=t=>{const e=t.split("~")[0];return!!(e&&["1","2"].includes(e)&&t!=null&&t.match(e==="1"?/\d~[0-9.]*$/:/\d~[0-9.]*~dv.[0-9.]*$/))};var vc=Object.defineProperty,gc=Object.defineProperties,_c=Object.getOwnPropertyDescriptors,In=Object.getOwnPropertySymbols,mc=Object.prototype.hasOwnProperty,hc=Object.prototype.propertyIsEnumerable,Pn=(t,e,i)=>e in t?vc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,si=(t,e)=>{for(var i in e||(e={}))mc.call(e,i)&&Pn(t,i,e[i]);if(In)for(var i of In(e))hc.call(e,i)&&Pn(t,i,e[i]);return t},On=(t,e)=>gc(t,_c(e)),Xe=(t=>(t.FIDES="fides",t.EXTERNAL="external",t))(Xe||{}),fe=(t=>(t.TOGGLE="toggle",t.BUTTON="button",t.LINK="link",t))(fe||{});const be=(t,e,i)=>{var s,n,o,a,r,c,l,u;const d=e?si({},e):void 0;if(typeof window<"u"&&typeof CustomEvent<"u"){const g=si({consentMethod:d?.fides_meta.consentMethod},i);(s=i?.trigger)!=null&&s.origin||(g.trigger=On(si({},g.trigger),{origin:"fides"}));const v=(n=performance?.mark)==null?void 0:n.call(performance,t),f=v?.startTime,_=d;_&&d!=null&&d.consent&&(_.consent=Pt(d.consent,(a=(o=window.Fides)==null?void 0:o.experience)==null?void 0:a.non_applicable_privacy_notices,(c=(r=window.Fides)==null?void 0:r.experience)==null?void 0:c.privacy_notices));const m=new CustomEvent(t,{detail:On(si({},_),{debug:!!((u=(l=window.Fides)==null?void 0:l.options)!=null&&u.debug),extraDetails:g,timestamp:f}),bubbles:!0});window.dispatchEvent(m)}},An=(t,e)=>{const i=s=>e(s.detail);return window.addEventListener(t,i),()=>{window.removeEventListener(t,i)}},Wi=(t,e)=>{var i,s;be("FidesConsentLoaded",t,e),((s=(i=window.Fides)==null?void 0:i.options)==null?void 0:s.fidesInitializedEventMode)==="multiple"&&be("FidesInitialized",t,e)},Ji=(t,e)=>{var i,s;be("FidesReady",t,e);const n=(s=(i=window.Fides)==null?void 0:i.options)==null?void 0:s.fidesInitializedEventMode;(n==="multiple"||n==="once")&&be("FidesInitialized",t,e)};var bc=Object.defineProperty,yc=Object.defineProperties,kc=Object.getOwnPropertyDescriptors,Tn=Object.getOwnPropertySymbols,wc=Object.prototype.hasOwnProperty,Cc=Object.prototype.propertyIsEnumerable,Sn=(t,e,i)=>e in t?bc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Zi=(t,e)=>{for(var i in e||(e={}))wc.call(e,i)&&Sn(t,i,e[i]);if(Tn)for(var i of Tn(e))Cc.call(e,i)&&Sn(t,i,e[i]);return t},Ec=(t,e)=>yc(t,kc(e)),zn=(t=>(t.GVL="gvl",t.AC="gacp",t))(zn||{});const qe=t=>{const e=t.split(".");return e.length===1?{source:void 0,id:e[0]}:{source:e[0],id:e[1]}},et=(t,e)=>{if(!(e!=null&&e.vendors))return;const{source:i,id:s}=qe(t);if(i==="gvl"||i===void 0)return e.vendors[s]},jc=t=>qe(t).source==="gacp",xc=t=>{const{tcf_vendor_relationships:e=[]}=t;return e.map(i=>i.id).filter(i=>et(i,t.gvl)).map(i=>+qe(i).id)},Ic=t=>{const e=[...t.tcf_vendor_consent_ids||[],...t.tcf_vendor_legitimate_interest_ids||[]];return[...new Set(e)].filter(i=>et(i,t.gvl)).map(i=>+qe(i).id)},Ln=({consents:t,legints:e,relationships:i,isFidesSystem:s,gvl:n})=>{const o=[];return i.forEach(a=>{const r=t.find(u=>u.id===a.id),c=e.find(u=>u.id===a.id),l=Ec(Zi(Zi(Zi({},a),r),c),{isFidesSystem:s,isConsent:!!r,isLegint:!!c,isGvl:!!et(a.id,n)});o.push(l)}),o},Pc=t=>{const{tcf_vendor_consents:e=[],tcf_vendor_legitimate_interests:i=[],tcf_vendor_relationships:s=[],tcf_system_consents:n=[],tcf_system_legitimate_interests:o=[],tcf_system_relationships:a=[]}=t,r=Ln({consents:e,legints:i,relationships:s,isFidesSystem:!1,gvl:t.gvl}),c=Ln({consents:n,legints:o,relationships:a,isFidesSystem:!0,gvl:t.gvl});return[...r,...c]},Ot=t=>{if(!t)return{tc:"",ac:"",gpp:"",nc:""};const[e="",i="",s="",n=""]=t.split(qt);return e?{tc:e,ac:i,gpp:s,nc:n}:{tc:"",ac:"",gpp:s,nc:n}},Oc=t=>{if(!xn(t))return[];const[,e=""]=t.split("~");return e?e.split(".").map(i=>`${zn.AC}.${i}`):[]},Ac=()=>typeof window.blueConicClient<"u"&&typeof window.blueConicClient.event<"u"&&typeof window.blueConicClient.event.subscribe<"u",ni=()=>{var t,e,i;if(!Ac()||!((t=window.blueConicClient)!=null&&t.profile))return;const s=(i=(e=window.blueConicClient)==null?void 0:e.profile)==null?void 0:i.getProfile(),{consent:n}=window.Fides,o=n!==void 0&&Object.entries(n).length>0,a=Hi.some(r=>n[r]);!o||a?(s.setConsentedObjectives(["iab_purpose_1","iab_purpose_2","iab_purpose_3","iab_purpose_4"]),s.setRefusedObjectives([])):(s.setConsentedObjectives(["iab_purpose_1"]),s.setRefusedObjectives(["iab_purpose_2","iab_purpose_3","iab_purpose_4"])),window.blueConicClient.profile.updateProfile()},Tc=({approach:t="onetrust"}={approach:"onetrust"})=>{if(t!=="onetrust")throw new Error("Unsupported approach");window.addEventListener("FidesReady",ni),window.addEventListener("FidesUpdated",ni),window.addEventListener("onBlueConicLoaded",ni),ni()},Nn=(t,e)=>{var i,s,n,o,a,r,c,l,u,d,g,v,f,_;const m=(i=window.dataLayer)!=null?i:[];window.dataLayer=m;const{detail:h,type:y}=t,{consent:b,extraDetails:w,fides_string:j,timestamp:S}=h;let Z=b;const I=(a=(o=e?.flag_type)!=null?o:(n=(s=window.Fides)==null?void 0:s.options)==null?void 0:n.fidesConsentFlagType)!=null?a:We.BOOLEAN,$=(u=(l=e?.non_applicable_flag_mode)!=null?l:(c=(r=window.Fides)==null?void 0:r.options)==null?void 0:c.fidesConsentNonApplicableFlagMode)!=null?u:ht.OMIT,T=(v=(g=(d=window.Fides)==null?void 0:d.experience)==null?void 0:g.privacy_notices)!=null?v:[],B=(_=(f=window.Fides)==null?void 0:f.experience)==null?void 0:_.non_applicable_privacy_notices;Z=Pt(b,B,T,I,$);const pe={consent:Z,extraDetails:w,fides_string:j,timestamp:S};m.push({event:y,Fides:pe})},Sc=t=>{var e,i;if(Object.entries({FidesInitializing:!1,FidesInitialized:!0,FidesConsentLoaded:!0,FidesReady:!0,FidesUpdating:!0,FidesUpdated:!0,FidesUIChanged:!0,FidesUIShown:!0,FidesModalClosed:!0}).filter(([,s])=>s).map(([s])=>s).forEach(s=>{window.addEventListener(s,n=>Nn(n,t))}),(e=window.Fides)!=null&&e.initialized){const{consent:s,fides_meta:n,identity:o,tcf_consent:a}=window.Fides,r=(i=performance?.getEntriesByName("FidesInitialized")[0])==null?void 0:i.startTime;Nn({type:"FidesInitialized",detail:{consent:s,fides_meta:n,identity:o,tcf_consent:a,timestamp:r,extraDetails:{consentMethod:n?.consentMethod}}},t)}},zc=()=>{if(window.fbq)return window.fbq;const t={queue:[],loaded:!0,version:"2.0",push(...e){const i=window.fbq;i.callMethod?i.callMethod(...e):i.queue.push(e)}};return window.fbq=Object.assign(t.push,t),window._fbq=window.fbq,window.fbq},Lc=t=>{const e=zc();e("consent",t.consent?"grant":"revoke"),t.dataUse?e("dataProcessingOptions",[]):e("dataProcessingOptions",["LDU"],1,1e3)},Nc={marketing:Hi,sale_of_data:Hi,analytics:["analytics"],preferences:["functional"]};function $c(t,e){var i;const s=Object.fromEntries(Object.entries(t).map(([o,a])=>[o,xt(a)])),n={};return Object.entries(Nc).forEach(([o,a])=>{const r=a.some(l=>s[l]===!0),c=a.some(l=>s[l]===!1);r?n[o]=!0:c&&(n[o]=!1)}),n.sale_of_data===void 0&&(n.sale_of_data=(i=e?.sale_of_data_default)!=null?i:!1),n}const oi=(t,e)=>{window.Shopify.customerPrivacy.setTrackingConsent($c(t,e),()=>{})},$n=t=>{var e,i;(e=window.Shopify)!=null&&e.customerPrivacy||console.error("Fides could not access Shopify's customerPrivacy API"),window.addEventListener("FidesReady",s=>oi(s.detail.consent,t)),window.addEventListener("FidesUpdating",s=>oi(s.detail.consent,t)),window.addEventListener("FidesUpdated",s=>oi(s.detail.consent,t)),(i=window.Fides)!=null&&i.initialized&&window.Fides.cookie&&oi(window.Fides.cookie.consent,t)},Fc=t=>{let e,i;const s=()=>{clearTimeout(e),clearTimeout(i)},n=()=>{if(window.Shopify){if(s(),window.Shopify.customerPrivacy){$n(t);return}window.Shopify.loadFeatures([{name:"consent-tracking-api",version:"0.1"}],o=>{if(o)throw Error("Fides could not load Shopify's consent-tracking-api");$n(t)});return}i=setTimeout(n,200)};e=setTimeout(()=>{throw s(),Error("Fides.shopify was called but Shopify is not present in the page after 3 seconds.")},3e3),n()};var Dc={"static.gpc":"\u0627\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064A \u0641\u064A \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629","static.gpc.description":"\u062A\u0645 \u062A\u0637\u0628\u064A\u0642 \u062A\u0641\u0636\u064A\u0644\u0643 \u0644\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064A \u0641\u064A \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629. \u0644\u0642\u062F \u0623\u0644\u063A\u064A \u0627\u0634\u062A\u0631\u0627\u0643\u0643 \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627 \u0641\u064A \u062D\u0627\u0644\u0627\u062A \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u062A\u064A \u062A\u0644\u062A\u0632\u0645 \u0628\u0627\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064A \u0641\u064A \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629.","static.gpc.status.applied":"\u062A\u0645 \u0627\u0644\u062A\u0637\u0628\u064A\u0642","static.gpc.status.overridden":"\u062A\u0645 \u0627\u0644\u062A\u062C\u0627\u0648\u0632","static.gpc.title":"\u062A\u0645 \u0627\u0643\u062A\u0634\u0627\u0641 \u0627\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064A \u0641\u064A \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629"},Rc={"static.gpc":"\u0413\u043B\u043E\u0431\u0430\u043B\u043D\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043B\u0438\u0447\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438","static.gpc.description":"\u0412\u0430\u0448\u0435\u0442\u043E \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0438\u0442\u0430\u043D\u0438\u0435 \u0437\u0430 \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043B\u0438\u0447\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438 \u0435 \u0437\u0430\u0447\u0435\u0442\u0435\u043D\u043E. \u0412\u0438\u0435 \u0441\u0442\u0435 \u0431\u0438\u043B\u0438 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u043E \u0438\u0437\u043A\u043B\u044E\u0447\u0435\u043D\u0438 \u043E\u0442 \u0441\u043B\u0443\u0447\u0430\u0438\u0442\u0435 \u043D\u0430 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u043D\u0435 \u043D\u0430 \u0434\u0430\u043D\u043D\u0438, \u043A\u043E\u0438\u0442\u043E \u0441\u0435 \u043E\u0442\u043D\u0430\u0441\u044F\u0442 \u043A\u044A\u043C \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043B\u0438\u0447\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438.","static.gpc.status.applied":"\u041F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u043E","static.gpc.status.overridden":"\u041F\u0440\u0435\u043C\u0430\u0445\u043D\u0430\u0442\u043E","static.gpc.title":"\u041E\u0442\u043A\u0440\u0438\u0442\u043E \u0435 \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043B\u0438\u0447\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438"},Vc={"static.gpc":"Globalna kontrola privatnosti","static.gpc.description":"Va\u0161 izbor globalne kontrole privatnosti je uva\u017Een. Automatski ste isklju\u010Deni iz slu\u010Dajeva kori\u0161tenja podataka koji se pridr\u017Eavaju globalne kontrole privatnosti.","static.gpc.status.applied":"Prihva\u0107ena","static.gpc.status.overridden":"Odbijena","static.gpc.title":"Otkrivena je Globalna kontrola privatnosti"},Mc={"static.gpc":"Control de privadesa global","static.gpc.description":"S\u2019ha respectat la vostra prefer\xE8ncia pel que fa al control de privadesa global. Se us ha excl\xF2s autom\xE0ticament dels casos d\u2019\xFAs de dades que s\u2019adhereixen al control de privadesa global.","static.gpc.status.applied":"Aplicat","static.gpc.status.overridden":"Anul\xB7lat","static.gpc.title":"Control de privadesa global detectat"},Uc={"static.gpc":"Glob\xE1ln\xED kontrola ochrany osobn\xEDch \xFAdaj\u016F","static.gpc.description":"Byly dodr\u017Eeny va\u0161e glob\xE1ln\xED preference ochrany osobn\xEDch \xFAdaj\u016F. Automaticky jste byli vy\u0159azeni z pou\u017E\xEDv\xE1n\xED \xFAdaj\u016F v p\u0159\xEDpadech, na kter\xE9 se vztahuje glob\xE1ln\xED ochrana osobn\xEDch \xFAdaj\u016F.","static.gpc.status.applied":"Aplikov\xE1no","static.gpc.status.overridden":"P\u0159eps\xE1no","static.gpc.title":"Bylo zji\u0161t\u011Bna glob\xE1ln\xED kontrola ochrany osobn\xEDch \xFAdaj\u016F"},Bc={"static.gpc":"Global fortrolighedskontrol","static.gpc.description":"Din pr\xE6ference i forbindelse med global fortrolighedskontrol er blevet efterkommet. Du er automatisk blevet frameldt tilf\xE6lde af databrug, der overholder global fortrolighedskontrol.","static.gpc.status.applied":"Anvendt","static.gpc.status.overridden":"Tilsidesat","static.gpc.title":"Der blev p\xE5vist global fortrolighedskontrol"},Gc={"static.gpc":"Globale Datenschutzeinstellungen","static.gpc.description":"Ihre globale Datenschutzeinstellungen werden ber\xFCcksichtigt. Sie wurden automatisch von Anwendungsf\xE4llen ausgenommen, die nicht Ihren globalen Datenschutzeinstellungen unterliegen.","static.gpc.status.applied":"Angewendet","static.gpc.status.overridden":"\xDCberschrieben","static.gpc.title":"Globale Datenschutzeinstellungen entdeckt"},Hc={"static.gpc":"\u039A\u03B1\u03B8\u03BF\u03BB\u03B9\u03BA\u03CC\u03C2 \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF\u03C2 \u03B1\u03C0\u03BF\u03C1\u03C1\u03AE\u03C4\u03BF\u03C5","static.gpc.description":"\u0397 \u03C0\u03C1\u03BF\u03C4\u03AF\u03BC\u03B7\u03C3\u03AE \u03C3\u03B1\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03BF\u03BD \u03BA\u03B1\u03B8\u03BF\u03BB\u03B9\u03BA\u03CC \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF \u03B1\u03C0\u03BF\u03C1\u03C1\u03AE\u03C4\u03BF\u03C5 \u03AD\u03C7\u03B5\u03B9 \u03C4\u03B7\u03C1\u03B7\u03B8\u03B5\u03AF. \u0388\u03C7\u03B5\u03C4\u03B5 \u03B5\u03BE\u03B1\u03B9\u03C1\u03B5\u03B8\u03B5\u03AF \u03B1\u03C5\u03C4\u03CC\u03BC\u03B1\u03C4\u03B1 \u03B1\u03C0\u03CC \u03C0\u03B5\u03C1\u03B9\u03C0\u03C4\u03CE\u03C3\u03B5\u03B9\u03C2 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2 \u03B4\u03B5\u03B4\u03BF\u03BC\u03AD\u03BD\u03C9\u03BD \u03C0\u03BF\u03C5 \u03C3\u03C5\u03BC\u03BC\u03BF\u03C1\u03C6\u03CE\u03BD\u03BF\u03BD\u03C4\u03B1\u03B9 \u03BC\u03B5 \u03C4\u03BF\u03BD \u03BA\u03B1\u03B8\u03BF\u03BB\u03B9\u03BA\u03CC \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF \u03B1\u03C0\u03BF\u03C1\u03C1\u03AE\u03C4\u03BF\u03C5.","static.gpc.status.applied":"\u0395\u03C6\u03B1\u03C1\u03BC\u03CC\u03C3\u03C4\u03B7\u03BA\u03B5","static.gpc.status.overridden":"\u03A0\u03B1\u03C1\u03B1\u03BA\u03AC\u03BC\u03C6\u03B8\u03B7\u03BA\u03B5","static.gpc.title":"\u0395\u03BD\u03C4\u03BF\u03C0\u03AF\u03C3\u03C4\u03B7\u03BA\u03B5 \u03BA\u03B1\u03B8\u03BF\u03BB\u03B9\u03BA\u03CC\u03C2 \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF\u03C2 \u03B1\u03C0\u03BF\u03C1\u03C1\u03AE\u03C4\u03BF\u03C5"},qc={"static.gpc":"Global Privacy Control","static.gpc.description":"Your global privacy control preference has been honored. You have been automatically opted out of data use cases which adhere to global privacy control.","static.gpc.status.applied":"Applied","static.gpc.status.overridden":"Overridden","static.gpc.title":"Global Privacy Control detected"},Kc={"static.gpc":"Control de privacidad global","static.gpc.description":"Su preferencia de control de privacidad global se ha respetado. Se le ha excluido autom\xE1ticamente de los casos de uso de datos que se adhieren al control de privacidad global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Control de privacidad global detectado"},Yc={"static.gpc":"Control de privacidad global","static.gpc.description":"Su preferencia de control de privacidad global se ha respetado. Se le excluy\xF3 autom\xE1ticamente de los casos de uso de datos que se adhieren al control de privacidad global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Control de privacidad global detectado"},Wc={"static.gpc":"\xDCldine andmekaitsekontroll","static.gpc.description":"Teie \xFCldist andmekaitse-eelistust on arvestatud. Teid on automaatselt v\xE4lja arvatud andmete kasutamise juhtudest, mis j\xE4rgivad \xFCldist andmekaitsekontrolli.","static.gpc.status.applied":"Rakendatud","static.gpc.status.overridden":"T\xFChistatud","static.gpc.title":"Tuvastatud \xFCldine andmekaitsekontroll"},Jc={"static.gpc":"Pribatutasun-kontrol globala","static.gpc.description":"Pribatutasun-kontrol globalaren lehentasuna bete da. Pribatutasun-kontrol globalari atxikitzen zaizkion datuen erabileren kasuetatik automatikoki baztertua izan zara.","static.gpc.status.applied":"Ezarrita","static.gpc.status.overridden":"Baliogabetuta","static.gpc.title":"Pribatutasun-kontrol globala antzeman da"},Zc={"static.gpc":"Maailmanlaajunen tietosuojavalvonta","static.gpc.description":"Maailmanlaajuinen tietosuojavalvontanne on vahvistettu. Teid\xE4t on automaattisesti poistettu tietojen k\xE4ytt\xF6tapauksista, jotka noudattavat maailmanlaajuista tietosuojavalvontaa.","static.gpc.status.applied":"K\xE4yt\xF6ss\xE4","static.gpc.status.overridden":"Ohitettu","static.gpc.title":"Maailmanlaajuinen tietosuojavalvonta havaittu"},Qc={"static.gpc":"Global Privacy Control","static.gpc.description":"Votre pr\xE9f\xE9rence en mati\xE8re de contr\xF4le global de la confidentialit\xE9 (GPC) a \xE9t\xE9 respect\xE9e. Vous avez automatiquement \xE9t\xE9 retir\xE9 des cas d\u2019usage des donn\xE9es qui adh\xE8rent au GPC.","static.gpc.status.applied":"Appliqu\xE9","static.gpc.status.overridden":"Ignor\xE9","static.gpc.title":"Global Privacy Control (GPC) d\xE9tect\xE9"},Xc={"static.gpc":"Contr\xF4le mondial de confidentialit\xE9","static.gpc.description":"Votre pr\xE9f\xE9rence en mati\xE8re de contr\xF4le mondial de confidentialit\xE9 a \xE9t\xE9 honor\xE9e. Vous avez \xE9t\xE9 automatiquement \xE9cart\xE9 des cas d'utilisation de donn\xE9es qui adh\xE8rent au contr\xF4le mondial de confidentialit\xE9.","static.gpc.status.applied":"Appliqu\xE9","static.gpc.status.overridden":"Annul\xE9","static.gpc.title":"Contr\xF4le mondial de confidentialit\xE9 d\xE9tect\xE9"},el={"static.gpc":"Control de privacidade global","static.gpc.description":"Respetouse a s\xFAa preferencia de control de privacidade global. Foi automaticamente exclu\xEDdo dos casos de uso de datos que cumpren o control de privacidade global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Control de privacidade global detectado"},tl={"static.gpc":"\u0935\u0948\u0936\u094D\u0935\u093F\u0915 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u093F\u092F\u0902\u0924\u094D\u0930\u0923","static.gpc.description":"\u0906\u092A\u0915\u0940 \u0935\u0948\u0936\u094D\u0935\u093F\u0915 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u093F\u092F\u0902\u0924\u094D\u0930\u0923 \u0935\u0930\u0940\u092F\u0924\u093E\u0913\u0902 \u0915\u093E \u0938\u092E\u094D\u092E\u093E\u0928 \u0915\u093F\u092F\u093E \u0917\u092F\u093E\u0964 \u0906\u092A\u0915\u094B \u0935\u0948\u0936\u094D\u0935\u093F\u0915 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u093F\u092F\u0902\u0924\u094D\u0930\u0923 \u0915\u093E \u092A\u093E\u0932\u0928 \u0915\u0930\u0928\u0947 \u0935\u093E\u0932\u0947 \u0921\u0947\u091F\u093E \u0909\u092A\u092F\u094B\u0917 \u092E\u093E\u092E\u0932\u094B\u0902 \u0938\u0947 \u0938\u094D\u0935\u091A\u093E\u0932\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 \u092C\u093E\u0939\u0930 \u0915\u0930 \u0926\u093F\u092F\u093E \u0917\u092F\u093E \u0939\u0948\u0964","static.gpc.status.applied":"\u0932\u093E\u0917\u0942 \u0915\u093F\u092F\u093E","static.gpc.status.overridden":"\u0913\u0935\u0930\u0930\u093E\u0907\u0921 \u0915\u093F\u092F\u093E","static.gpc.title":"\u0935\u0948\u0936\u094D\u0935\u093F\u0915 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u093F\u092F\u0902\u0924\u094D\u0930\u0923 \u0915\u093E \u092A\u0924\u093E \u091A\u0932\u093E"},il={"static.gpc":"Globalna kontrola privatnosti","static.gpc.description":"Po\u0161tuju se va\u0161e preferencije globalne kontrole privatnosti. Automatski se isklju\u010Deni iz slu\u010Dajeve kori\u0161tenja podataka koji se pridr\u017Eavaju globalne kontrole privatnosti.","static.gpc.status.applied":"Primijenjeno","static.gpc.status.overridden":"Premo\u0161\u0107eno","static.gpc.title":"Primije\u0107ena je Globalna kontrola privatnosti (Global Privacy Control)"},sl={"static.gpc":"Glob\xE1lis adatv\xE9delmi szab\xE1lyoz\xE1s","static.gpc.description":"A glob\xE1lis adatv\xE9delmi szab\xE1lyoz\xE1ssal kapcsolatos be\xE1ll\xEDt\xE1sai el lettek fogadva. Automatikusan kiker\xFClt azokb\xF3l az adatfelhaszn\xE1l\xE1si esetekb\u0151l, amelyek a glob\xE1lis adatv\xE9delmi szab\xE1lyoz\xE1shoz tartoznak.","static.gpc.status.applied":"Alkalmazva","static.gpc.status.overridden":"Fel\xFCl\xEDrva","static.gpc.title":"Glob\xE1lis adatv\xE9delmi szab\xE1lyoz\xE1s \xE9szlelve"},nl={"static.gpc":"Controllo Globale della Privacy","static.gpc.description":"Le tue preferenze del Controllo Globale della Privacy sono state prese in carico. Sei stato automaticamente escluso dai casi di utilizzo dei dati che corrispondono al Controllo Globale della Privacy.","static.gpc.status.applied":"Applicato","static.gpc.status.overridden":"Non applicato","static.gpc.title":"Controllo Globale della Privacy rilevato"},ol={"static.gpc":"\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB","static.gpc.description":"\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u306E\u8A2D\u5B9A\u306F\u5C0A\u91CD\u3055\u308C\u307E\u3059\u3002\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u306B\u5F93\u3046\u30C7\u30FC\u30BF\u306E\u30E6\u30FC\u30B9\u30B1\u30FC\u30B9\u304B\u3089\u306F\u81EA\u52D5\u7684\u306B\u30AA\u30D7\u30C8\u30A2\u30A6\u30C8\u3055\u308C\u3066\u3044\u307E\u3059\u3002","static.gpc.status.applied":"\u9069\u7528","static.gpc.status.overridden":"\u5909\u66F4","static.gpc.title":"\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u3092\u691C\u51FA\u3057\u307E\u3057\u305F"},rl={"static.gpc":"Visuotin\u0117 privatumo kontrol\u0117","static.gpc.description":"Buvo atsi\u017Evelgta \u012F j\u016Bs\u0173 visuotin\u0117s privatumo kontrol\u0117s pageidavim\u0105. Buvote automati\u0161kai at\u0161auktas i\u0161 duomen\u0173 naudojimo atvej\u0173, kai laikomasi visuotin\u0117s privatumo kontrol\u0117s.","static.gpc.status.applied":"Taikoma","static.gpc.status.overridden":"Nebegaliojantis","static.gpc.title":"Aptikta visuotin\u0117 privatumo kontrol\u0117"},al={"static.gpc":"Glob\u0101l\u0101 priv\u0101tuma kontrole","static.gpc.description":"M\u0113s esam izpild\u012Bju\u0161i j\u016Bsu pras\u012Bbu kontrol\u0113t glob\u0101lo priv\u0101tumu. P\u0113c noklus\u0113juma esat no\u0146emts no datu lietojuma pieteikumiem, kas atbilst glob\u0101lajai priv\u0101tuma kontrolei.","static.gpc.status.applied":"Pielietots","static.gpc.status.overridden":"Ignor\u0113ts","static.gpc.title":"Konstat\u0113ta glob\u0101l\u0101 priv\u0101tuma kontrole"},cl={"static.gpc":"Kontroll Globali tal-Privatezza","static.gpc.description":"Il-preferenza globali tieg\u0127ek g\u0127all-kontroll tal-privatezza \u0121iet onorata. Inti awtomatikament g\u0127a\u017Cilt li ma tibqax tu\u017Ca d-dejta f'ka\u017Cijiet li jirrispettaw il-kontroll globali tal-privatezza.","static.gpc.status.applied":"Applikat","static.gpc.status.overridden":"Maqbu\u017Ca","static.gpc.title":"Instab il-Kontroll Globali tal-Privatezza"},ll={"static.gpc":"Global Privacy Control","static.gpc.description":"Uw Global Privacy Control-voorkeur wordt gerespecteerd. U bent automatisch afgemeld voor gegevensgebruiksscenario's die zich houden aan Global Privacy Control.","static.gpc.status.applied":"Toegepast","static.gpc.status.overridden":"Genegeerd","static.gpc.title":"Global Privacy Control gedetecteerd"},dl={"static.gpc":"Globale personverninnstillinger","static.gpc.description":"Preferansene dine vedr\xF8rende de globale personverninnstilingene dine er godtatt. Du har automatisk takket nei til databruksaker som f\xF8lger globale personverninnstillinger.","static.gpc.status.applied":"Anvendt","static.gpc.status.overridden":"Overstyrt","static.gpc.title":"Globale personverninnstillinger er oppdaget"},ul={"static.gpc":"Og\xF3lna kontrola prywatno\u015Bci","static.gpc.description":"Twoja preferencja dotycz\u0105ca og\xF3lnej kontroli prywatno\u015Bci zosta\u0142a uwzgl\u0119dniona. Automatycznie odm\xF3wiono zgody na Twoje przypadki wykorzystania danych, kt\xF3re s\u0105 zgodne z Og\xF3ln\u0105 kontrol\u0105 prywatno\u015Bci.","static.gpc.status.applied":"Zastosowano","static.gpc.status.overridden":"Nadpisano","static.gpc.title":"Wykryta Og\xF3lna kontrola prywatno\u015Bci"},pl={"static.gpc":"Controle de Privacidade Global","static.gpc.description":"Sua prefer\xEAncia global de controle de privacidade foi respeitada. Voc\xEA foi automaticamente removido dos casos de uso de dados que aderem ao controle de privacidade global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Controle de Privacidade Global detectado"},fl={"static.gpc":"Controlo de Privacidade Global","static.gpc.description":"A sua prefer\xEAncia de controlo de privacidade global foi honrada. Foi automaticamente exclu\xEDdo/a dos casos de utiliza\xE7\xE3o de dados que aderem ao controlo de privacidade global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Controlo de Privacidade Global detetado"},vl={"static.gpc":"Control global al confiden\u021Bialit\u0103\u021Bii","static.gpc.description":"Preferin\u021Ba dvs. de control global al confiden\u021Bialit\u0103\u021Bii a fost onorat\u0103. A\u021Bi fost exclus(\u0103) automat de la cazurile de utilizare a datelor care respect\u0103 controlul global al confiden\u021Bialit\u0103\u021Bii.","static.gpc.status.applied":"Aplicat","static.gpc.status.overridden":"Suprascris","static.gpc.title":"A fost detectat un control global al confiden\u021Bialit\u0103\u021Bii"},gl={"static.gpc":"Global Privacy Control","static.gpc.description":"\u0412\u0430\u0448\u0430 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 Global Privacy Control \u0443\u0447\u0442\u0435\u043D\u0430. \u0412\u044B \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0438\u0441\u043A\u043B\u044E\u0447\u0430\u0435\u0442\u0435\u0441\u044C \u0432 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F\u0445, \u0433\u0434\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F Global Privacy Control.","static.gpc.status.applied":"\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u043E","static.gpc.status.overridden":"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u043E","static.gpc.title":"\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 Global Privacy Control"},_l={"static.gpc":"Glob\xE1lna kontrola s\xFAkromia","static.gpc.description":"Va\u0161a predvo\u013Eba pre glob\xE1lnu kontrolu s\xFAkromia bola dodr\u017Ean\xE1. Pre pr\xEDpady pou\u017Eitia, kde sa pou\u017E\xEDva glob\xE1lna kontrola s\xFAkromia, v\xE1m bol automaticky nastaven\xFD explicitn\xFD nes\xFAhlas.","static.gpc.status.applied":"Pou\u017Eit\xE1","static.gpc.status.overridden":"Prep\xEDsan\xE1","static.gpc.title":"Bola zisten\xE1 Glob\xE1lna kontrola s\xFAkromia"},ml={"static.gpc":"Global Privacy Control","static.gpc.description":"Va\u0161a nastavitev globalnega nadzora zasebnosti je bila upo\u0161tevana. Samodejno je bilo preklicano va\u0161e soglasje za tiste primere uporabe podatkov, ki se ravnajo po globalnem nadzoru zasebnosti.","static.gpc.status.applied":"Uporabljeno","static.gpc.status.overridden":"Pregla\u0161eno","static.gpc.title":"Zaznan globalni nadzor zasebnosti \xBBGlobal Privacy Control\xAB"},hl={"static.gpc":"Global Privacy Control","static.gpc.description":"\u0412\u0430\u0448\u0430 \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u0430 \u043F\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u0435 \u043F\u0440\u0438\u0432\u0430\u0442\u043D\u043E\u0441\u0442\u0438 \u0458\u0435 \u043F\u043E\u0434\u0435\u0448\u0435\u043D\u0430. \u0410\u0443\u0442\u043E\u043C\u0430\u0442\u0441\u043A\u0438 \u0441\u0442\u0435 \u0438\u0441\u043A\u0459\u0443\u0447\u0435\u043D\u0438 \u0438\u0437 \u0441\u043B\u0443\u0447\u0430\u0458\u0435\u0432\u0430 \u0443\u043F\u043E\u0442\u0440\u0435\u0431\u0435 \u043F\u043E\u0434\u0430\u0442\u0430\u043A\u0430 \u043A\u043E\u0458\u0438 \u0441\u0443 \u0443 \u0441\u043A\u043B\u0430\u0434\u0443 \u0441\u0430 \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u043E\u043C \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u043E\u043C \u043F\u0440\u0438\u0432\u0430\u0442\u043D\u043E\u0441\u0442\u0438.","static.gpc.status.applied":"\u041F\u0440\u0438\u043C\u0435\u045A\u0435\u043D\u0430","static.gpc.status.overridden":"\u0417\u0430\u043C\u0435\u045A\u0435\u043D\u0430","static.gpc.title":"Global Privacy Control \u043E\u0442\u043A\u0440\u0438\u0432\u0435\u043D"},bl={"static.gpc":"Globalna kontrola privatnosti","static.gpc.description":"Va\u0161a globalna postavka kontrole privatnosti se po\u0161tuje. Automatski ste isklju\u010Deni iz slu\u010Dajeva kori\u0161c\u0301enja podataka koji podle\u017Eu globalnoj kontroli privatnosti.","static.gpc.status.applied":"Primenjeno","static.gpc.status.overridden":"Zaobi\u0111eno","static.gpc.title":"Otkrivena je globalna kontrola privatnosti"},yl={"static.gpc":"Global integritetskontroll","static.gpc.description":"Dina preferenser f\xF6r global integritetskontroll har efterf\xF6ljts. Du har automatiskt valt bort anv\xE4ndningsfall f\xF6r uppgifter som efterf\xF6ljer global integritetskontroll.","static.gpc.status.applied":"Till\xE4mpad","static.gpc.status.overridden":"\xC5sidosatt","static.gpc.title":"Global integritetskontroll uppt\xE4cktes"},kl={"static.gpc":"Global Gizlilik Kontrol\xFC","static.gpc.description":"Global gizlilik kontrol\xFC tercihiniz yerine getirildi. Global gizlilik kontrol\xFCne uygun veri kullan\u0131m durumlar\u0131ndan otomatik olarak \xE7\u0131kar\u0131ld\u0131n\u0131z.","static.gpc.status.applied":"Uyguland\u0131","static.gpc.status.overridden":"Ge\xE7ersiz k\u0131l\u0131nd\u0131","static.gpc.title":"Global Gizlilik Kontrol\xFC tespit edildi"},wl={"static.gpc":"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456","static.gpc.description":"\u0412\u0430\u0448\u0456 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044E \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456 \u0432\u0440\u0430\u0445\u043E\u0432\u0430\u043D\u043E. \u0412\u0430\u0441 \u0431\u0443\u043B\u043E \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u043E \u0432\u0438\u043A\u043B\u044E\u0447\u0435\u043D\u043E \u0437 \u0432\u0438\u043F\u0430\u0434\u043A\u0456\u0432 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0434\u0430\u043D\u0438\u0445, \u044F\u043A\u0456 \u0434\u043E\u0442\u0440\u0438\u043C\u0443\u044E\u0442\u044C\u0441\u044F \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u044C \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044E \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456.","static.gpc.status.applied":"\u0417\u0430\u0441\u0442\u043E\u0441\u043E\u0432\u0430\u043D\u043E","static.gpc.status.overridden":"\u041F\u0435\u0440\u0435\u0432\u0438\u0437\u043D\u0430\u0447\u0435\u043D\u043E","static.gpc.title":"\u0412\u0438\u044F\u0432\u043B\u0435\u043D\u043E \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456"},Cl={"static.gpc":"\u5168\u5C40\u9690\u79C1\u63A7\u5236","static.gpc.description":"\u60A8\u7684\u5168\u5C40\u9690\u79C1\u63A7\u5236\u504F\u597D\u5DF2\u5F97\u5230\u5C0A\u91CD\u3002\u60A8\u5DF2\u81EA\u52A8\u9009\u62E9\u9000\u51FA\u7B26\u5408\u5168\u5C40\u9690\u79C1\u63A7\u5236\u7684\u6570\u636E\u4F7F\u7528\u6848\u4F8B\u3002","static.gpc.status.applied":"\u5DF2\u5E94\u7528","static.gpc.status.overridden":"\u88AB\u8986\u76D6","static.gpc.title":"\u68C0\u6D4B\u5230\u5168\u5C40\u9690\u79C1\u63A7\u5236"};const Qi={ar:Dc,bg:Rc,bs:Vc,ca:Mc,cs:Uc,da:Bc,de:Gc,el:Hc,en:qc,es:Kc,"es-MX":Yc,et:Wc,eu:Jc,fi:Zc,fr:Qc,"fr-CA":Xc,gl:el,"hi-IN":tl,hr:il,hu:sl,it:nl,ja:ol,lt:rl,lv:al,mt:cl,nl:ll,no:dl,pl:ul,"pt-BR":pl,"pt-PT":fl,ro:vl,ru:gl,sk:_l,sl:ml,"sr-Cyrl":hl,"sr-Latn":bl,sv:yl,tr:kl,uk:wl,zh:Cl},El=[{locale:"ar",label_en:"Arabic",label_original:"\u0627\u0644\u0639\u064E\u0631\u064E\u0628\u0650\u064A\u064E\u0651\u0629"},{locale:"bg",label_en:"Bulgarian",label_original:"\u0431\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A"},{locale:"bs",label_en:"Bosnian",label_original:"Bosanski Jezik"},{locale:"ca",label_en:"Catalan",label_original:"catal\xE0"},{locale:"cs",label_en:"Czech",label_original:"\u010Desk\xFD jazyk"},{locale:"da",label_en:"Danish",label_original:"Dansk"},{locale:"de",label_en:"German",label_original:"Deutsch"},{locale:"el",label_en:"Greek",label_original:"\u03B5\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC"},{locale:"en",label_en:"English",label_original:"English"},{locale:"es",label_en:"Spanish",label_original:"Espa\xF1ol"},{locale:"es-MX",label_en:"Spanish (Mexico)",label_original:"Espa\xF1ol - MX"},{locale:"et",label_en:"Estonian",label_original:"Eesti"},{locale:"eu",label_en:"Basque",label_original:"euskara"},{locale:"fi",label_en:"Finnish",label_original:"Suomi"},{locale:"fr",label_en:"French",label_original:"Fran\xE7ais"},{locale:"fr-CA",label_en:"French (Canada)",label_original:"Fran\xE7ais - CA"},{locale:"gl",label_en:"Galician",label_original:"Galego"},{locale:"hi-IN",label_en:"Hindi (India)",label_original:"\u0939\u093F\u0928\u094D\u0926\u0940"},{locale:"hr",label_en:"Croatian",label_original:"Hrvatski Jezik"},{locale:"hu",label_en:"Hungarian",label_original:"magyar"},{locale:"it",label_en:"Italian",label_original:"Italiano"},{locale:"ja",label_en:"Japanese",label_original:"\u65E5\u672C\u8A9E"},{locale:"lt",label_en:"Lithuanian",label_original:"lietuvi\u0173 kalba"},{locale:"lv",label_en:"Latvian",label_original:"latvie\u0161u valoda"},{locale:"mt",label_en:"Maltese",label_original:"Malti"},{locale:"nl",label_en:"Dutch",label_original:"Nederlands"},{locale:"no",label_en:"Norwegian",label_original:"Norsk"},{locale:"pl",label_en:"Polish",label_original:"Polski"},{locale:"pt-BR",label_en:"Portuguese (Brazil)",label_original:"Portugu\xEAs - BR"},{locale:"pt-PT",label_en:"Portuguese (Portugal)",label_original:"Portugu\xEAs - PT"},{locale:"ro",label_en:"Romanian",label_original:"limba rom\xE2n\u0103"},{locale:"ru",label_en:"Russian",label_original:"\u0440\u0443\u0441\u0441\u043A\u0438\u0439 \u044F\u0437\u044B\u043A"},{locale:"sk",label_en:"Slovak",label_original:"sloven\u010Dina"},{locale:"sl",label_en:"Slovenian",label_original:"Slovenski Jezik"},{locale:"sr-Cyrl",label_en:"Serbian (Cyrillic)",label_original:"\u0441\u0440\u043F\u0441\u043A\u0438"},{locale:"sr-Latn",label_en:"Serbian (Latin)",label_original:"Srpski"},{locale:"sv",label_en:"Swedish",label_original:"Sverige"},{locale:"tr",label_en:"Turkish",label_original:"T\xFCrk\xE7e"},{locale:"uk",label_en:"Ukrainian",label_original:"\u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430 \u043C\u043E\u0432\u0430"},{locale:"zh",label_en:"Chinese",label_original:"\u4E2D\u6587"}];var jl=Object.defineProperty,Fn=Object.getOwnPropertySymbols,xl=Object.prototype.hasOwnProperty,Il=Object.prototype.propertyIsEnumerable,Dn=(t,e,i)=>e in t?jl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,je=(t,e)=>{for(var i in e||(e={}))xl.call(e,i)&&Dn(t,i,e[i]);if(Fn)for(var i of Fn(e))Il.call(e,i)&&Dn(t,i,e[i]);return t};function Ne(t,e){return t.toLowerCase().replaceAll("_","-")===e.toLowerCase().replaceAll("_","-")}function Pl(t,e){const i={},s=["accept_button_label","acknowledge_button_label","banner_description","banner_title","description","purpose_header","privacy_policy_link_label","privacy_policy_url","privacy_preferences_link_label","reject_button_label","save_button_label","title","modal_link_label"];if(t.translations)t.translations.forEach(n=>{const o=n.language;let a=!1;e!=null&&e.override_language&&(a=Ne(e.override_language,o));const r={};s.forEach(c=>{let l=null;e&&(a||c==="privacy_policy_url")&&(l=c in e?e[c]:null);const u=n[c];typeof u=="string"&&(r[`exp.${c}`]=l||u)}),i[o]=je(je({},r),i[o])});else{const n=ae,o={};s.forEach(a=>{const r=t[a];typeof r=="string"&&(o[`exp.${a}`]=r)}),i[n]=je(je({},o),i[n])}return i}function Rn(t){var e;if((e=t?.experience_config)!=null&&e.translations){const{translations:i}=t.experience_config,s=i.find(n=>n.is_default);return s?.language}}function Vn(t,e){const i={};return e.forEach(s=>{const n=Object.keys(t).find(o=>Ne(o,s));if(n){const o=t[n],a={};["purposes","specialPurposes","features","specialFeatures","stacks","dataCategories"].forEach(r=>{const c=o[r]||{};Object.keys(c).forEach(l=>{const u=c[l],d=`exp.tcf.${r}.${l}`;a[`${d}.name`]=u.name,a[`${d}.description`]=u.description,u.illustrations&&u.illustrations.length>0&&u.illustrations.forEach((g,v)=>{a[`${d}.illustrations.${v}`]=g})})}),i[s]=je(je({},a),i[s])}}),i}function Ol(t){return Object.keys(Qi).forEach(e=>{t.load(e,Qi[e])}),Object.keys(Qi)}function Mn(t,e,i){var s;const n={},o=(s=e.available_locales)!=null&&s.length?e.available_locales:[ae];if(e!=null&&e.experience_config){const a=e.experience_config,r=Pl(a,i);Object.keys(r).forEach(c=>{n[c]=je(je({},r[c]),n[c])})}o.forEach(a=>{t.load(a,n[a])})}function Un(t,e){if(!e.gvl)return;const{locale:i}=t,s={};s[i]=e.gvl;const n=Vn(s,[i]);t.load(i,n[i])}function Bn(t,e,i){const s=Vn(e,i);i.forEach(n=>{t.load(n,s[n])})}function Gn(t){return t.locale}function Hn(t,e,i=ae){const s=t?.language;return e||s||i}function qn(t,e,i=ae){const s=t.match(Gi);if(s){const[n,o]=s,a=e.find(c=>Ne(c,n));if(a)return a;const r=e.find(c=>Ne(c,o));if(r)return r}return i}function bt(t,e){return t.t(e)!==""&&t.t(e)!==e}function Xi(t,e,i){if(!i||!i.translations)return null;if(t){const n=i.translations.find(o=>Ne(o.language,t));if(n)return n}return i.translations.find(n=>Ne(n.language,e))||i.translations[0]||null}function ri(t,e,i){if(!i||!i.translations)return null;if(t){const n=i.translations.find(o=>Ne(o.language,t));if(n)return n}return i.translations.find(n=>Ne(n.language,e))||i.translations[0]||null}function Al(t,e,i,s,n){var o,a,r,c,l;Ol(t);const u=(o=i.available_locales)!=null&&o.length?i.available_locales:[ae];Mn(t,i,n);const d=El.filter(m=>u.includes(m.locale)),g=d.findIndex(m=>Ne(m.locale,t.getDefaultLocale()));g>0&&d.unshift(d.splice(g,1)[0]),t.setAvailableLanguages(d);const v=Rn(i)||ae;t.setDefaultLocale(v);let f=v;((a=i.experience_config)==null?void 0:a.auto_detect_language)===!1||(f=Hn(e,s?.fidesLocale,v));const _=qn(f,u||[],t.getDefaultLocale());if((c=(r=i.experience_config)==null?void 0:r.translations)!=null&&c.find(m=>m.language===_))t.activate(_);else{const m=ri(_,v,i.experience_config);m?.language,t.activate(m?.language||_)}((l=i.experience_config)==null?void 0:l.component)===re.TCF_OVERLAY&&i.gvl&&Un(t,i)}function Tl(){let t=[],e=ae,i=ae;const s={};return{setAvailableLanguages(n){t=n},get availableLanguages(){return t},activate:n=>{i=n},getDefaultLocale:()=>e,setDefaultLocale:n=>{e=n},get locale(){return i},load:(n,o)=>{s[n]=je(je({},s[n]),o)},t:n=>{if(typeof n>"u")throw new TypeError("Unexpected type for descriptor or id!");let o;if(typeof n=="string")o=n;else if(typeof n=="object"&&n.id)o=n.id;else return"";return i&&i in s&&o&&o in s[i]&&s[i][o]?s[i][o]:o}}}const Sl=(t,e,i)=>{var s;let n=Bi;if(!t)e.t("exp.modal_link_label")!=="exp.modal_link_label"&&(n=e.t("exp.modal_link_label"));else{const o=e.getDefaultLocale(),a=(s=i?.experience_config)==null?void 0:s.translations.find(r=>r.language===o);a!=null&&a.modal_link_label&&(n=a.modal_link_label)}return n};function zl(t){return Array.from(t).length}var Ll=Object.defineProperty,Nl=Object.defineProperties,$l=Object.getOwnPropertyDescriptors,Kn=Object.getOwnPropertySymbols,Fl=Object.prototype.hasOwnProperty,Dl=Object.prototype.propertyIsEnumerable,Yn=(t,e,i)=>e in t?Ll(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,At=(t,e)=>{for(var i in e||(e={}))Fl.call(e,i)&&Yn(t,i,e[i]);if(Kn)for(var i of Kn(e))Dl.call(e,i)&&Yn(t,i,e[i]);return t},es=(t,e)=>Nl(t,$l(e)),ai=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())}),Rl=(t=>(t.PRIVACY_EXPERIENCE="/privacy-experience",t.PRIVACY_PREFERENCES="/privacy-preferences",t.GVL_TRANSLATIONS="/privacy-experience/gvl/translations",t.NOTICES_SERVED="/notices-served",t))(Rl||{});function Vl(){return{}}const Wn=t=>ai(void 0,[t],function*({userLocationString:e,userLanguageString:i,fidesApiUrl:s,apiOptions:n,propertyId:o,requestMinimalTCF:a,missingExperienceHandler:r=Vl}){var c,l,u;if(n!=null&&n.getPrivacyExperienceFn)try{return yield n.getPrivacyExperienceFn(e,null)}catch(_){return r(_)}const d=[["Unescape-Safestr","true"],["Accept-Encoding","gzip, deflate"]];i&&d.push(["Accept-Language",i]);const g={method:"GET",mode:"cors",headers:d};let v=At(At({show_disabled:"false",region:e,component:re.OVERLAY,has_notices:"true",has_config:"true",systems_applicable:"true",exclude_gvl_languages:"true",include_meta:"true",include_gvl:"true",include_non_applicable_notices:"true"},a&&{minimal_tcf:"true"}),o&&{property_id:o});v=new URLSearchParams(v);let f;try{if(f=yield fetch(`${s}/privacy-experience?${v}`,g),!f.ok)throw new Error("Error fetching experience from Fides API")}catch(_){return r(_)}try{const _=yield f.json();if(((c=_.items)==null?void 0:c.length)<1)return{};const m=_.items&&_.items[0],h=(u=(l=m.experience_config)==null?void 0:l.translations)==null?void 0:u[0].language;return m}catch(_){return r(_)}}),Jn=(t,e)=>ai(void 0,null,function*(){const i=new URLSearchParams;e?.forEach(a=>{i.append("language",a)});const s={method:"GET",mode:"cors"};let n;try{n=yield fetch(`${t}/privacy-experience/gvl/translations${zl(i)>0?"?":""}${i.toString()}`,s)}catch{return{}}return n.ok?yield n.json():{}}),Zn={method:"PATCH",mode:"cors",headers:{"Content-Type":"application/json"}},Ml="Fides.js",Ul=(t,e,i,s,n)=>ai(void 0,null,function*(){var o;if((o=i.apiOptions)!=null&&o.savePreferencesFn){try{yield i.apiOptions.savePreferencesFn(t,s.consent,s.fides_string,n)}catch(c){return Promise.reject(c)}return Promise.resolve()}const a=es(At({},Zn),{body:JSON.stringify(es(At({},e),{source:Ml}))});return(yield fetch(`${i.fidesApiUrl}/privacy-preferences`,a)).ok,Promise.resolve()}),Bl=t=>ai(void 0,[t],function*({request:e,options:i}){var s;if((s=i.apiOptions)!=null&&s.patchNoticesServedFn)try{return yield i.apiOptions.patchNoticesServedFn(e)}catch{return null}const n=es(At({},Zn),{body:JSON.stringify(e)}),o=yield fetch(`${i.fidesApiUrl}/notices-served`,n);return o.ok?o.json():null});var Gl=Object.defineProperty,Hl=(t,e,i)=>e in t?Gl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,ql=(t,e,i)=>Hl(t,typeof e!="symbol"?e+"":e,i);let Kl=class{constructor(){ql(this,"servedNoticeHistoryId",null)}getServedNoticeHistoryId(){return this.servedNoticeHistoryId||(this.servedNoticeHistoryId=Js()),this.servedNoticeHistoryId}reset(){this.servedNoticeHistoryId=null}hasLifecycleId(){return this.servedNoticeHistoryId!==null}};const Qn=new Kl;var Yl=Object.defineProperty,Wl=Object.defineProperties,Jl=Object.getOwnPropertyDescriptors,Xn=Object.getOwnPropertySymbols,Zl=Object.prototype.hasOwnProperty,Ql=Object.prototype.propertyIsEnumerable,eo=(t,e,i)=>e in t?Yl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,$e=(t,e)=>{for(var i in e||(e={}))Zl.call(e,i)&&eo(t,i,e[i]);if(Xn)for(var i of Xn(e))Ql.call(e,i)&&eo(t,i,e[i]);return t},ci=(t,e)=>Wl(t,Jl(e)),ts=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const Xl=[D.SCRIPT,D.GPC,D.OT_MIGRATION];function ed(t,e,i,s,n,o,a,r,c){return ts(this,null,function*(){const l=(o||[]).map(d=>({preference:d.consentPreference,privacy_notice_history_id:d.noticeHistoryId||""})),u=$e({browser_identity:e.identity,preferences:l,privacy_experience_config_history_id:n,user_geography:r,method:s,served_notice_history_id:c,property_id:i.property_id},a??[]);yield Ul(s,u,t,e,i)})}const td=t=>ts(void 0,[t],function*({consentPreferencesToSave:e,privacyExperienceConfigHistoryId:i,experience:s,consentMethod:n,options:o,userLocationString:a,cookie:r,eventExtraDetails:c,servedNoticeHistoryId:l,tcf:u,updateCookie:d}){var g,v,f,_,m;if(!d&&e&&(d=w=>vn(w,e)),!d&&!e)throw new Error("updateCookie is required");const h=ci($e({},c?.trigger),{origin:((g=c?.trigger)==null?void 0:g.origin)||(Xl.includes(n)?Xe.EXTERNAL:Xe.FIDES)}),y=yield d(r);Object.assign(r,y),Object.assign(r.fides_meta,{consentMethod:n}),be("FidesUpdating",r,ci($e({},c),{trigger:h}));const b=Pt(r.consent,(f=(v=window.Fides)==null?void 0:v.experience)==null?void 0:f.non_applicable_privacy_notices,(m=(_=window.Fides)==null?void 0:_.experience)==null?void 0:m.privacy_notices);if(window.Fides.consent=b,window.Fides.fides_string=r.fides_string,window.Fides.tcf_consent=r.tcf_consent,ln(ci($e({},r),{consent:b}),o.base64Cookie),window.Fides.saved_consent=r.consent,!o.fidesDisableSaveApi)try{yield ed(o,r,s,n,i,e,u,a,l)}catch{}e&&e.filter(w=>w.consentPreference===ce.OPT_OUT).forEach(w=>{var j,S;(j=w.notice)!=null&&j.cookies&&pn(w.notice.cookies,(S=s.experience_config)==null?void 0:S.auto_subdomain_cookie_deletion)}),be("FidesUpdated",r,ci($e({},c),{trigger:h}))}),to=(t,e,i,s)=>Object.entries(i).reduce((n,[o,a])=>{if(n)return n;const r=e.find(u=>u===o);if(r&&!a&&s!==D.OT_MIGRATION)return new Error(`Provided notice key '${o}' is not applicable to the current experience.`);const c=t.find(u=>u.notice_key===o);if(!r&&!c)return new Error(`'${o}' is not a valid notice key`);const l=c?.consent_mechanism===te.NOTICE_ONLY;return l&&a!==!0&&a!==ce.ACKNOWLEDGE&&s!==D.OT_MIGRATION?new Error(`Invalid consent value for notice-only notice key: '${o}'. Must be \`true\` or "acknowledge"`):!l&&typeof a!="boolean"&&a!==ce.OPT_IN&&a!==ce.OPT_OUT?new Error(`Invalid consent value for notice key: '${o}'. Must be a boolean or "opt_in" or "opt_out"`):null},null),li=(t,e)=>ts(void 0,null,function*(){var i;const{experience:s,cookie:n,config:o,locale:a}=t;if(!s)throw new Error("Experience must be initialized before updating consent");if(!o)throw new Error("Config is not initialized");if(!n)throw new Error("Cookie is not initialized");if(!(e!=null&&e.noticeConsent)&&!(e!=null&&e.fidesString)&&!(e!=null&&e.tcf))throw new Error("Either consent object or fidesString must be provided");if(e!=null&&e.validation&&!Object.values(Ge).includes(e.validation))throw new Error(`Validation must be one of: ${Object.values(Ge).join(", ")} (default is ${Ge.THROW})`);const{noticeConsent:r,fidesString:c,validation:l=Ge.THROW,consentMethod:u=D.SCRIPT,eventExtraDetails:d={trigger:{origin:Xe.EXTERNAL}},tcf:g,updateCookie:v}=e,{experience_config:f,privacy_notices:_,non_applicable_privacy_notices:m}=s,h=Rn(s)||ae,y=I=>{if(l===Ge.THROW)throw new Error(I);l===Ge.WARN&&console.warn(I)};let b=n.consent||{};if(c)try{const I=Ot(c);if(I.nc){const $=ii(I.nc);b=$e($e({},n.consent),$);const T=to(_||[],m||[],b,u);T&&y(T.message)}}catch(I){const $=I instanceof Error?I.message:String(I);y(`Invalid fidesString provided: ${$}`)}else if(r){const I=to(_||[],m||[],r,u);I&&y(I.message),b=$e($e({},n.consent),r)}const w=[];Object.entries(b).forEach(([I,$])=>{const T=_?.find(B=>B.notice_key===I);if(T){const B=Xi(a,h,T),pe=B?.privacy_notice_history_id;let ge;if(typeof $=="boolean"?ge=Ee($,T.consent_mechanism):ge=$,pe){const le=new Li(T,ge,pe);w.push(le)}}});let j;if((i=f?.translations)!=null&&i.length){const I=ri(a,h,f);j=I?.privacy_experience_config_history_id}const S=Xt(o.geolocation),Z=Qn.getServedNoticeHistoryId();return td({consentPreferencesToSave:w,privacyExperienceConfigHistoryId:j,experience:s,consentMethod:u,options:o.options,userLocationString:S,cookie:n,eventExtraDetails:d,servedNoticeHistoryId:Z,tcf:g,updateCookie:v})}),di=t=>{throw new Error(t)},tt=t=>{typeof window<"u"&&(window.Fides=t)},io=({cookie:t,experience:e})=>{let i=e;return Jt(t.consent)&&(i=Mi({experience:e,cookie:t})),i},is=({tcfEnabled:t=!1})=>({consent:{},experience:void 0,geolocation:{},locale:ae,options:{debug:!0,isOverlayEnabled:!1,isPrefetchEnabled:!1,isGeolocationEnabled:!1,geolocationApiUrl:"",overlayParentId:null,modalLinkId:null,privacyCenterUrl:"",fidesApiUrl:"",tcfEnabled:t,gppEnabled:!1,fidesEmbed:!1,fidesDisableSaveApi:!1,fidesDisableNoticesServedApi:!1,fidesDisableBanner:!1,fidesString:null,apiOptions:null,fidesTcfGdprApplies:t,fidesJsBaseUrl:"",customOptionsPath:null,preventDismissal:!1,allowHTMLDescription:null,base64Cookie:!1,fidesPrimaryColor:null,fidesClearCookie:!1,showFidesBrandLink:!t,fidesConsentOverride:null,otFidesMapping:null,fidesDisabledNotices:null,fidesConsentNonApplicableFlagMode:null,fidesConsentFlagType:null,fidesInitializedEventMode:"once"},fides_meta:{},identity:{},tcf_consent:{},saved_consent:{},config:void 0,initialized:!1,onFidesEvent:An,blueconic:Tc,gtm:Sc,meta:Lc,shopify:Fc,showModal:Yi,getModalLinkLabel:()=>Bi,encodeNoticeConsentString:jn,decodeNoticeConsentString:ii,reinitialize(){return typeof this.init!="function"?Promise.reject(new Error("Fides.init method is not available")):((!this.config||!this.initialized)&&di("Fides must be initialized before reinitializing"),this.init())},shouldShowExperience(){return!(this!=null&&this.experience)||!(this!=null&&this.cookie)||!(this!=null&&this.saved_consent)||!(this!=null&&this.options)?!1:ti(this.experience,this.cookie,this.saved_consent,this.options)},updateConsent(e){const{consent:i,fidesString:s,validation:n}=e;return li(this,{noticeConsent:i,fidesString:s,validation:n})}});var id=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const sd=(t,e)=>id(void 0,null,function*(){if(!t||!e)return null;const i=yield fetch(e,{mode:"cors"});if(!i.ok)return null;try{return yield i.json()}catch{return null}}),nd=()=>{var t,e,i;if(window.Fides.options.tcfEnabled&&!((e=(t=window.Fides.experience)==null?void 0:t.privacy_notices)!=null&&e.length))return!1;if(typeof((i=window.navigator)==null?void 0:i.globalPrivacyControl)=="boolean")return window.navigator.globalPrivacyControl;const s=new URL(window.location.href).searchParams.get("globalPrivacyControl");if(s==="true")return!0;if(s==="false")return!1},it=()=>typeof window>"u"?{}:{globalPrivacyControl:nd()};var od=Object.defineProperty,so=Object.getOwnPropertySymbols,rd=Object.prototype.hasOwnProperty,ad=Object.prototype.propertyIsEnumerable,no=(t,e,i)=>e in t?od(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,cd=(t,e)=>{for(var i in e||(e={}))rd.call(e,i)&&no(t,i,e[i]);if(so)for(var i of so(e))ad.call(e,i)&&no(t,i,e[i]);return t},ld=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const dd=t=>ld(void 0,null,function*(){var e;const{experience:i,saved_consent:s,options:n}=t;if(!i||!i.experience_config||!((e=i.privacy_notices)!=null&&e.length))return!1;const o=it(),{nc:a}=Ot(n.fidesString||"");o.globalPrivacyControl;const{consent:r,method:c}=hn(n),l=!!r&&!!c&&!He();if(!o.globalPrivacyControl&&!a&&!l)return!1;let u=!1,d=!1,g=!1;const v=i.privacy_notices.reduce((f,_)=>{const m=cd({},f),h=Ce(_.default_preference);m[_.notice_key]=h,s[_.notice_key]&&(m[_.notice_key]=s[_.notice_key]);const y=Ht(_,s),b=_.consent_mechanism===te.NOTICE_ONLY;if(l&&r){const w=r[_.notice_key];if(w!==void 0)return g=!0,m[_.notice_key]=w,m}if(b)return m;if(a){const w=ii(a)[_.notice_key];if(w!==void 0)return d=!0,m[_.notice_key]=w,m}return o.globalPrivacyControl&&!y&&_.has_gpc_flag&&(u=!0,m[_.notice_key]=!1),m},{});if(u||d||g){let f=D.SCRIPT;return g&&c?f=c:d?f=D.SCRIPT:u&&(f=D.GPC),yield li(t,{noticeConsent:v,consentMethod:f}),!0}return!1}),ud=()=>{document.body.classList.add("fides-no-scroll")},oo=()=>{document.body.classList.remove("fides-no-scroll")},pd=t=>new DOMParser().parseFromString(t,"text/html").body.textContent||"",ro=t=>{let e=0,i=200;return new Promise(s=>{const n=o=>{const a=setTimeout(()=>{const r=document.getElementById(t);r?(clearInterval(a),s(r)):(e+=1,e>=5&&i<1e3&&(i+=200),n(i))},o)};n(i)})};var fd=Object.defineProperty,vd=Object.defineProperties,gd=Object.getOwnPropertyDescriptors,ao=Object.getOwnPropertySymbols,_d=Object.prototype.hasOwnProperty,md=Object.prototype.propertyIsEnumerable,co=(t,e,i)=>e in t?fd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,ss=(t,e)=>{for(var i in e||(e={}))_d.call(e,i)&&co(t,i,e[i]);if(ao)for(var i of ao(e))md.call(e,i)&&co(t,i,e[i]);return t},hd=(t,e)=>vd(t,gd(e)),lo=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const bd=(t,e)=>lo(void 0,null,function*(){return Xt(t)||Xt(yield sd(e.isGeolocationEnabled,e.geolocationApiUrl))}),Tt=(t,e)=>{const i={};if(typeof window<"u"){const s=new URLSearchParams(window.location.search),n=e.options.customOptionsPath&&e.options.customOptionsPath.split("."),o=n&&n.length>=0?En(n):window.fides_overrides,a=Cn(t);a?.forEach(({overrideName:r,overrideType:c,overrideKey:l,validationRegex:u,transform:d})=>{const g=s.get(l),v=o?o[l]:void 0,f=Zt(l),_=g||v||f;_&&u.test(_.toString())&&(d?i[r]=d(_.toString()):i[r]=c==="string"?_:JSON.parse(_.toString()))})}return i},uo=({consent:t,options:e})=>{const i=it(),s=un(t,i);return cn(s,e.fidesClearCookie)},po=({cookie:t,savedConsent:e,experience:i,geolocation:s,options:n,updateExperienceFromCookieConsent:o})=>{let a=i;return Qe(i)&&(a=o({experience:i,cookie:t,debug:n.debug})),{consent:t.consent,fides_meta:t.fides_meta,identity:t.identity,experience:a,tcf_consent:t.tcf_consent,fides_string:t.fides_string,saved_consent:e,geolocation:s,options:n,initialized:!0}},fo=t=>lo(void 0,[t],function*({fides:e,initOverlay:i,renderOverlay:s,updateExperience:n,overrides:o}){var a,r,c,l,u,d,g;const{config:v}=e;if(!v)throw new Error("Fides config should be initialized");const{options:f,geolocation:_}=v;let m=!0,h,y=()=>Bi;if(!e.cookie)throw new Error("Fides cookie should be initialized");if(m=f.isOverlayEnabled,m){wn(f)||(m=!1),h=yield bd(_,f);let Z=!1;if(h?Qe(e.experience)||(Z=!0,e.experience=yield Wn({userLocationString:h,fidesApiUrl:f.fidesApiUrl,apiOptions:f.apiOptions,requestMinimalTCF:!1,propertyId:(a=e.config)==null?void 0:a.propertyId})):m=!1,m&&Qe(e.experience)&&qi(e.experience)){if(Z){const T=n({cookie:e.cookie,experience:e.experience});e.experience=ss(ss({},e.experience),T)}(r=e.config)!=null&&r.propertyId&&(e.experience.property_id=e.config.propertyId);const I=gn({cookie:e.cookie,experience:e.experience});e.cookie=I;const $=Tl();if(Al($,window?.navigator,e.experience,f,o?.experienceTranslationOverrides),e.locale=$.locale||ae,y=T=>Sl(!!(T!=null&&T.disableLocalization),$,e.experience),((c=e.experience.experience_config)==null?void 0:c.component)===re.HEADLESS){const T=f.modalLinkId||"fides-modal-link";!e.experience||f.fidesEmbed||f.modalLinkId,ro(T).then(B=>{document.body.classList.add("fides-overlay-modal-link-shown"),B.classList.add("fides-modal-link-shown")}),m=!1}if(i&&m){const T=hd(ss({},e),{cookie:e.cookie,config:v,options:f,experience:e.experience,fidesRegionString:h});i({initializedFides:T,i18n:$,renderOverlay:s}).catch(B=>{})}setTimeout(dd.bind(null,e))}}const{fides_meta:b,identity:w,fides_string:j,tcf_consent:S}=e.cookie;return{consent:Pt(e.cookie.consent,(l=e.experience)==null?void 0:l.non_applicable_privacy_notices,(u=e.experience)==null?void 0:u.privacy_notices,(d=f.fidesConsentFlagType)!=null?d:void 0,(g=f.fidesConsentNonApplicableFlagMode)!=null?g:void 0),fides_meta:b,identity:w,fides_string:j,tcf_consent:S,experience:e.experience,geolocation:_,options:f,initialized:!0,getModalLinkLabel:y}});var ui,N,vo,st,go,_o,ns,os,rs,as,mo,St={},ho=[],yd=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,pi=Array.isArray;function Ke(t,e){for(var i in e)t[i]=e[i];return t}function bo(t){var e=t.parentNode;e&&e.removeChild(t)}function p(t,e,i){var s,n,o,a={};for(o in e)o=="key"?s=e[o]:o=="ref"?n=e[o]:a[o]=e[o];if(arguments.length>2&&(a.children=arguments.length>3?ui.call(arguments,2):i),typeof t=="function"&&t.defaultProps!=null)for(o in t.defaultProps)a[o]===void 0&&(a[o]=t.defaultProps[o]);return fi(t,a,s,n,null)}function fi(t,e,i,s,n){var o={type:t,props:e,key:i,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:n??++vo,__i:-1,__u:0};return n==null&&N.vnode!=null&&N.vnode(o),o}function ve(t){return t.children}function Fe(t,e){this.props=t,this.context=e}function nt(t,e){if(e==null)return t.__?nt(t.__,t.__i+1):null;for(var i;e<t.__k.length;e++)if((i=t.__k[e])!=null&&i.__e!=null)return i.__e;return typeof t.type=="function"?nt(t):null}function yo(t){var e,i;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((i=t.__k[e])!=null&&i.__e!=null){t.__e=t.__c.base=i.__e;break}return yo(t)}}function cs(t){(!t.__d&&(t.__d=!0)&&st.push(t)&&!vi.__r++||go!==N.debounceRendering)&&((go=N.debounceRendering)||_o)(vi)}function vi(){var t,e,i,s,n,o,a,r;for(st.sort(ns);t=st.shift();)t.__d&&(e=st.length,s=void 0,o=(n=(i=t).__v).__e,a=[],r=[],i.__P&&((s=Ke({},n)).__v=n.__v+1,N.vnode&&N.vnode(s),ls(i.__P,s,n,i.__n,i.__P.namespaceURI,32&n.__u?[o]:null,a,o??nt(n),!!(32&n.__u),r),s.__v=n.__v,s.__.__k[s.__i]=s,jo(a,s,r),s.__e!=o&&yo(s)),st.length>e&&st.sort(ns));vi.__r=0}function ko(t,e,i,s,n,o,a,r,c,l,u){var d,g,v,f,_,m=s&&s.__k||ho,h=e.length;for(i.__d=c,kd(i,e,m),c=i.__d,d=0;d<h;d++)(v=i.__k[d])!=null&&typeof v!="boolean"&&typeof v!="function"&&(g=v.__i===-1?St:m[v.__i]||St,v.__i=d,ls(t,v,g,n,o,a,r,c,l,u),f=v.__e,v.ref&&g.ref!=v.ref&&(g.ref&&ds(g.ref,null,v),u.push(v.ref,v.__c||f,v)),_==null&&f!=null&&(_=f),65536&v.__u||g.__k===v.__k?(c&&typeof v.type=="string"&&!t.contains(c)&&(c=nt(g)),c=wo(v,c,t)):typeof v.type=="function"&&v.__d!==void 0?c=v.__d:f&&(c=f.nextSibling),v.__d=void 0,v.__u&=-196609);i.__d=c,i.__e=_}function kd(t,e,i){var s,n,o,a,r,c=e.length,l=i.length,u=l,d=0;for(t.__k=[],s=0;s<c;s++)a=s+d,(n=t.__k[s]=(n=e[s])==null||typeof n=="boolean"||typeof n=="function"?null:typeof n=="string"||typeof n=="number"||typeof n=="bigint"||n.constructor==String?fi(null,n,null,null,null):pi(n)?fi(ve,{children:n},null,null,null):n.constructor===void 0&&n.__b>0?fi(n.type,n.props,n.key,n.ref?n.ref:null,n.__v):n)!=null?(n.__=t,n.__b=t.__b+1,r=wd(n,i,a,u),n.__i=r,o=null,r!==-1&&(u--,(o=i[r])&&(o.__u|=131072)),o==null||o.__v===null?(r==-1&&d--,typeof n.type!="function"&&(n.__u|=65536)):r!==a&&(r==a-1?d=r-a:r==a+1?d++:r>a?u>c-a?d+=r-a:d--:r<a&&d++,r!==s+d&&(n.__u|=65536))):(o=i[a])&&o.key==null&&o.__e&&(131072&o.__u)==0&&(o.__e==t.__d&&(t.__d=nt(o)),us(o,o,!1),i[a]=null,u--);if(u)for(s=0;s<l;s++)(o=i[s])!=null&&(131072&o.__u)==0&&(o.__e==t.__d&&(t.__d=nt(o)),us(o,o))}function wo(t,e,i){var s,n;if(typeof t.type=="function"){for(s=t.__k,n=0;s&&n<s.length;n++)s[n]&&(s[n].__=t,e=wo(s[n],e,i));return e}t.__e!=e&&(i.insertBefore(t.__e,e||null),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function gi(t,e){return e=e||[],t==null||typeof t=="boolean"||(pi(t)?t.some(function(i){gi(i,e)}):e.push(t)),e}function wd(t,e,i,s){var n=t.key,o=t.type,a=i-1,r=i+1,c=e[i];if(c===null||c&&n==c.key&&o===c.type&&(131072&c.__u)==0)return i;if(s>(c!=null&&(131072&c.__u)==0?1:0))for(;a>=0||r<e.length;){if(a>=0){if((c=e[a])&&(131072&c.__u)==0&&n==c.key&&o===c.type)return a;a--}if(r<e.length){if((c=e[r])&&(131072&c.__u)==0&&n==c.key&&o===c.type)return r;r++}}return-1}function Co(t,e,i){e[0]==="-"?t.setProperty(e,i??""):t[e]=i==null?"":typeof i!="number"||yd.test(e)?i:i+"px"}function _i(t,e,i,s,n){var o;e:if(e==="style")if(typeof i=="string")t.style.cssText=i;else{if(typeof s=="string"&&(t.style.cssText=s=""),s)for(e in s)i&&e in i||Co(t.style,e,"");if(i)for(e in i)s&&i[e]===s[e]||Co(t.style,e,i[e])}else if(e[0]==="o"&&e[1]==="n")o=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+o]=i,i?s?i.u=s.u:(i.u=os,t.addEventListener(e,o?as:rs,o)):t.removeEventListener(e,o?as:rs,o);else{if(n=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=i??"";break e}catch{}typeof i=="function"||(i==null||i===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&i==1?"":i))}}function Eo(t){return function(e){if(this.l){var i=this.l[e.type+t];if(e.t==null)e.t=os++;else if(e.t<i.u)return;return i(N.event?N.event(e):e)}}}function ls(t,e,i,s,n,o,a,r,c,l){var u,d,g,v,f,_,m,h,y,b,w,j,S,Z,I,$,T=e.type;if(e.constructor!==void 0)return null;128&i.__u&&(c=!!(32&i.__u),o=[r=e.__e=i.__e]),(u=N.__b)&&u(e);e:if(typeof T=="function")try{if(h=e.props,y="prototype"in T&&T.prototype.render,b=(u=T.contextType)&&s[u.__c],w=u?b?b.props.value:u.__:s,i.__c?m=(d=e.__c=i.__c).__=d.__E:(y?e.__c=d=new T(h,w):(e.__c=d=new Fe(h,w),d.constructor=T,d.render=Ed),b&&b.sub(d),d.props=h,d.state||(d.state={}),d.context=w,d.__n=s,g=d.__d=!0,d.__h=[],d._sb=[]),y&&d.__s==null&&(d.__s=d.state),y&&T.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=Ke({},d.__s)),Ke(d.__s,T.getDerivedStateFromProps(h,d.__s))),v=d.props,f=d.state,d.__v=e,g)y&&T.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),y&&d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(y&&T.getDerivedStateFromProps==null&&h!==v&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(h,w),!d.__e&&(d.shouldComponentUpdate!=null&&d.shouldComponentUpdate(h,d.__s,w)===!1||e.__v===i.__v)){for(e.__v!==i.__v&&(d.props=h,d.state=d.__s,d.__d=!1),e.__e=i.__e,e.__k=i.__k,e.__k.forEach(function(B){B&&(B.__=e)}),j=0;j<d._sb.length;j++)d.__h.push(d._sb[j]);d._sb=[],d.__h.length&&a.push(d);break e}d.componentWillUpdate!=null&&d.componentWillUpdate(h,d.__s,w),y&&d.componentDidUpdate!=null&&d.__h.push(function(){d.componentDidUpdate(v,f,_)})}if(d.context=w,d.props=h,d.__P=t,d.__e=!1,S=N.__r,Z=0,y){for(d.state=d.__s,d.__d=!1,S&&S(e),u=d.render(d.props,d.state,d.context),I=0;I<d._sb.length;I++)d.__h.push(d._sb[I]);d._sb=[]}else do d.__d=!1,S&&S(e),u=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++Z<25);d.state=d.__s,d.getChildContext!=null&&(s=Ke(Ke({},s),d.getChildContext())),y&&!g&&d.getSnapshotBeforeUpdate!=null&&(_=d.getSnapshotBeforeUpdate(v,f)),ko(t,pi($=u!=null&&u.type===ve&&u.key==null?u.props.children:u)?$:[$],e,i,s,n,o,a,r,c,l),d.base=e.__e,e.__u&=-161,d.__h.length&&a.push(d),m&&(d.__E=d.__=null)}catch(B){e.__v=null,c||o!=null?(e.__e=r,e.__u|=c?160:32,o[o.indexOf(r)]=null):(e.__e=i.__e,e.__k=i.__k),N.__e(B,e,i)}else o==null&&e.__v===i.__v?(e.__k=i.__k,e.__e=i.__e):e.__e=Cd(i.__e,e,i,s,n,o,a,c,l);(u=N.diffed)&&u(e)}function jo(t,e,i){e.__d=void 0;for(var s=0;s<i.length;s++)ds(i[s],i[++s],i[++s]);N.__c&&N.__c(e,t),t.some(function(n){try{t=n.__h,n.__h=[],t.some(function(o){o.call(n)})}catch(o){N.__e(o,n.__v)}})}function Cd(t,e,i,s,n,o,a,r,c){var l,u,d,g,v,f,_,m=i.props,h=e.props,y=e.type;if(y==="svg"?n="http://www.w3.org/2000/svg":y==="math"?n="http://www.w3.org/1998/Math/MathML":n||(n="http://www.w3.org/1999/xhtml"),o!=null){for(l=0;l<o.length;l++)if((v=o[l])&&"setAttribute"in v==!!y&&(y?v.localName===y:v.nodeType===3)){t=v,o[l]=null;break}}if(t==null){if(y===null)return document.createTextNode(h);t=document.createElementNS(n,y,h.is&&h),o=null,r=!1}if(y===null)m===h||r&&t.data===h||(t.data=h);else{if(o=o&&ui.call(t.childNodes),m=i.props||St,!r&&o!=null)for(m={},l=0;l<t.attributes.length;l++)m[(v=t.attributes[l]).name]=v.value;for(l in m)if(v=m[l],l!="children"){if(l=="dangerouslySetInnerHTML")d=v;else if(l!=="key"&&!(l in h)){if(l=="value"&&"defaultValue"in h||l=="checked"&&"defaultChecked"in h)continue;_i(t,l,null,v,n)}}for(l in h)v=h[l],l=="children"?g=v:l=="dangerouslySetInnerHTML"?u=v:l=="value"?f=v:l=="checked"?_=v:l==="key"||r&&typeof v!="function"||m[l]===v||_i(t,l,v,m[l],n);if(u)r||d&&(u.__html===d.__html||u.__html===t.innerHTML)||(t.innerHTML=u.__html),e.__k=[];else if(d&&(t.innerHTML=""),ko(t,pi(g)?g:[g],e,i,s,y==="foreignObject"?"http://www.w3.org/1999/xhtml":n,o,a,o?o[0]:i.__k&&nt(i,0),r,c),o!=null)for(l=o.length;l--;)o[l]!=null&&bo(o[l]);r||(l="value",f!==void 0&&(f!==t[l]||y==="progress"&&!f||y==="option"&&f!==m[l])&&_i(t,l,f,m[l],n),l="checked",_!==void 0&&_!==t[l]&&_i(t,l,_,m[l],n))}return t}function ds(t,e,i){try{typeof t=="function"?t(e):t.current=e}catch(s){N.__e(s,i)}}function us(t,e,i){var s,n;if(N.unmount&&N.unmount(t),(s=t.ref)&&(s.current&&s.current!==t.__e||ds(s,null,e)),(s=t.__c)!=null){if(s.componentWillUnmount)try{s.componentWillUnmount()}catch(o){N.__e(o,e)}s.base=s.__P=null}if(s=t.__k)for(n=0;n<s.length;n++)s[n]&&us(s[n],e,i||typeof t.type!="function");i||t.__e==null||bo(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function Ed(t,e,i){return this.constructor(t,i)}function ps(t,e,i){var s,n,o,a;N.__&&N.__(t,e),n=(s=typeof i=="function")?null:i&&i.__k||e.__k,o=[],a=[],ls(e,t=(!s&&i||e).__k=p(ve,null,[t]),n||St,St,e.namespaceURI,!s&&i?[i]:n?null:e.firstChild?ui.call(e.childNodes):null,o,!s&&i?i:n?n.__e:e.firstChild,s,a),jo(o,t,a)}function zt(t,e){var i={__c:e="__cC"+mo++,__:t,Consumer:function(s,n){return s.children(n)},Provider:function(s){var n,o;return this.getChildContext||(n=[],(o={})[e]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&n.some(function(r){r.__e=!0,cs(r)})},this.sub=function(a){n.push(a);var r=a.componentWillUnmount;a.componentWillUnmount=function(){n&&n.splice(n.indexOf(a),1),r&&r.call(a)}}),s.children}};return i.Provider.__=i.Consumer.contextType=i}ui=ho.slice,N={__e:function(t,e,i,s){for(var n,o,a;e=e.__;)if((n=e.__c)&&!n.__)try{if((o=n.constructor)&&o.getDerivedStateFromError!=null&&(n.setState(o.getDerivedStateFromError(t)),a=n.__d),n.componentDidCatch!=null&&(n.componentDidCatch(t,s||{}),a=n.__d),a)return n.__E=n}catch(r){t=r}throw t}},vo=0,Fe.prototype.setState=function(t,e){var i;i=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ke({},this.state),typeof t=="function"&&(t=t(Ke({},i),this.props)),t&&Ke(i,t),t!=null&&this.__v&&(e&&this._sb.push(e),cs(this))},Fe.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),cs(this))},Fe.prototype.render=ve,st=[],_o=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ns=function(t,e){return t.__v.__b-e.__v.__b},vi.__r=0,os=0,rs=Eo(!1),as=Eo(!0),mo=0;const jd=t=>{try{const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(!e)return null;let i=parseInt(e[1],16),s=parseInt(e[2],16),n=parseInt(e[3],16);i/=255,s/=255,n/=255;const o=Math.max(i,s,n),a=Math.min(i,s,n);let r,c;const l=(o+a)/2;if(o===a)r=c=0;else{const u=o-a;switch(c=l>.5?u/(2-o-a):u/(o+a),o){case i:r=(s-n)/u+(s<n?6:0);break;case s:r=(n-i)/u+2;break;case n:r=(i-s)/u+4;break}r/=6}return{h:r,s:c,l}}catch{return null}},xd=(t,e=!1)=>{let i="";const s=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.l*100);return i=`${s},${n}%,${o}%`,i=e?i:`hsl(${i})`,i};var xo=(t=>(t.HEX="hex",t.HSL="hsl",t))(xo||{});const Id=(t,e,i)=>{const s=e==="hex"?jd(t):t;return s&&s.l?(s.l<.25?s.l=i===1?s.l+.1:s.l+.2:s.l<.5?s.l=i===1?s.l+.08:s.l+.16:s.l<.75?s.l=i===1?s.l+.06:s.l+.12:s.l<.9?s.l=i===1?s.l+.04:s.l+.08:s.l=.9,xd(s)):t};var mi=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const Io="fides-embed-container",Pd="fides-overlay";let hi;const fs=t=>mi(void 0,[t],function*({initializedFides:e,i18n:i,renderOverlay:s}){const{options:n,experience:o}=e,a=()=>mi(void 0,null,function*(){var r,c,l;try{if(hi&&(ps(null,hi),hi=void 0),n.fidesPrimaryColor){document.documentElement.style.setProperty("--fides-overlay-primary-color",n.fidesPrimaryColor);const d=Id(n.fidesPrimaryColor,xo.HEX,1);document.documentElement.style.setProperty("--fides-overlay-primary-button-background-hover-color",d)}let u;if(n.fidesEmbed)u=document.getElementById(Io),u||(yield mi(void 0,null,function*(){return new Promise(d=>{let g=0,v=200;const f=setInterval(()=>{u=document.getElementById(Io),u?(clearInterval(f),d()):(g+=1,g>=5&&v<1e3&&(v+=200))},v)})}));else{const d=n.overlayParentId||Pd;u=document.getElementById(d),u||(u=document.createElement("div"),u.id=d,u.className="fides-overlay",document.body.prepend(u))}return u?(s&&(((r=o.experience_config)==null?void 0:r.component)===re.MODAL||((c=o.experience_config)==null?void 0:c.component)===re.BANNER_AND_MODAL||((l=o.experience_config)==null?void 0:l.component)===re.TCF_OVERLAY)&&(s({initializedFides:e,i18n:i},u),hi=u),yield Promise.resolve()):yield Promise.reject(new Error("There was a problem rendering the Fides overlay."))}catch(u){return Promise.reject(u)}});return document?.readyState==="loading"?document.addEventListener("readystatechange",()=>mi(void 0,null,function*(){document.readyState==="interactive"&&a()})):a(),Promise.resolve()});function Po(t,e){e===void 0&&(e={});var i=e.insertAt;if(!(!t||typeof document>"u")){var s=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",i==="top"&&s.firstChild?s.insertBefore(n,s.firstChild):s.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}}var Od=`:root{--fides-overlay-primary-color:#2b2e35;--fides-overlay-background-color:#f7fafc;--fides-overlay-embed-background-color:transparent;--fides-overlay-font-color:#4a5568;--fides-overlay-font-color-dark:#2d3748;--fides-overlay-hover-color:#edf2f7;--fides-overlay-gpc-applied-background-color:#38a169;--fides-overlay-gpc-applied-text-color:#fff;--fides-overlay-gpc-overridden-background-color:#e53e3e;--fides-overlay-gpc-overridden-text-color:#fff;--fides-overlay-brand-link-logo-color:#2b2e35;--fides-overlay-background-dark-color:#e2e8f0;--fides-overlay-width:680px;--fides-overlay-primary-button-background-color:var(
1
+ (function(C,_e){typeof exports=="object"&&typeof module<"u"?_e(exports):(C=typeof globalThis<"u"?globalThis:C||self,_e(C.Fides={}))})(this,function(C){"use strict";class _e extends Error{constructor(e){super(e),this.name="DecodingError"}}class Oe extends Error{constructor(e){super(e),this.name="EncodingError"}}class mt extends Error{constructor(e){super(e),this.name="GVLError"}}class Ae extends Error{constructor(e,i,s=""){super(`invalid value ${i} passed for ${e} ${s}`),this.name="TCModelError"}}class Ti{static DICT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";static REVERSE_DICT=new Map([["A",0],["B",1],["C",2],["D",3],["E",4],["F",5],["G",6],["H",7],["I",8],["J",9],["K",10],["L",11],["M",12],["N",13],["O",14],["P",15],["Q",16],["R",17],["S",18],["T",19],["U",20],["V",21],["W",22],["X",23],["Y",24],["Z",25],["a",26],["b",27],["c",28],["d",29],["e",30],["f",31],["g",32],["h",33],["i",34],["j",35],["k",36],["l",37],["m",38],["n",39],["o",40],["p",41],["q",42],["r",43],["s",44],["t",45],["u",46],["v",47],["w",48],["x",49],["y",50],["z",51],["0",52],["1",53],["2",54],["3",55],["4",56],["5",57],["6",58],["7",59],["8",60],["9",61],["-",62],["_",63]]);static BASIS=6;static LCM=24;static encode(e){if(!/^[0-1]+$/.test(e))throw new Oe("Invalid bitField");const i=e.length%this.LCM;e+=i?"0".repeat(this.LCM-i):"";let s="";for(let n=0;n<e.length;n+=this.BASIS)s+=this.DICT[parseInt(e.substr(n,this.BASIS),2)];return s}static decode(e){if(!/^[A-Za-z0-9\-_]+$/.test(e))throw new _e("Invalidly encoded Base64URL string");let i="";for(let s=0;s<e.length;s++){const n=this.REVERSE_DICT.get(e[s]).toString(2);i+="0".repeat(this.BASIS-n.length)+n}return i}}class Te{static langSet=new Set(["AR","BG","BS","CA","CS","CY","DA","DE","EL","EN","ES","ET","EU","FI","FR","GL","HE","HI","HR","HU","ID","IT","JA","KA","KO","LT","LV","MK","MS","MT","NL","NO","PL","PT-BR","PT-PT","RO","RU","SK","SL","SQ","SR-LATN","SR-CYRL","SV","SW","TH","TL","TR","UK","VI","ZH","ZH-HANT"]);has(e){return Te.langSet.has(e)}parseLanguage(e){e=e.toUpperCase();const i=e.split("-")[0];if(e.length>=2&&i.length==2){if(Te.langSet.has(e))return e;if(Te.langSet.has(i))return i;const s=i+"-"+i;if(Te.langSet.has(s))return s;for(const n of Te.langSet)if(n.indexOf(e)!==-1||n.indexOf(i)!==-1)return n}throw new Error(`unsupported language ${e}`)}forEach(e){Te.langSet.forEach(e)}get size(){return Te.langSet.size}}class k{static cmpId="cmpId";static cmpVersion="cmpVersion";static consentLanguage="consentLanguage";static consentScreen="consentScreen";static created="created";static supportOOB="supportOOB";static isServiceSpecific="isServiceSpecific";static lastUpdated="lastUpdated";static numCustomPurposes="numCustomPurposes";static policyVersion="policyVersion";static publisherCountryCode="publisherCountryCode";static publisherCustomConsents="publisherCustomConsents";static publisherCustomLegitimateInterests="publisherCustomLegitimateInterests";static publisherLegitimateInterests="publisherLegitimateInterests";static publisherConsents="publisherConsents";static publisherRestrictions="publisherRestrictions";static purposeConsents="purposeConsents";static purposeLegitimateInterests="purposeLegitimateInterests";static purposeOneTreatment="purposeOneTreatment";static specialFeatureOptins="specialFeatureOptins";static useNonStandardTexts="useNonStandardTexts";static vendorConsents="vendorConsents";static vendorLegitimateInterests="vendorLegitimateInterests";static vendorListVersion="vendorListVersion";static vendorsAllowed="vendorsAllowed";static vendorsDisclosed="vendorsDisclosed";static version="version"}class Ct{clone(){const e=new this.constructor;return Object.keys(this).forEach(s=>{const n=this.deepClone(this[s]);n!==void 0&&(e[s]=n)}),e}deepClone(e){const i=typeof e;if(i==="number"||i==="string"||i==="boolean")return e;if(e!==null&&i==="object"){if(typeof e.clone=="function")return e.clone();if(e instanceof Date)return new Date(e.getTime());if(e[Symbol.iterator]!==void 0){const s=[];for(const n of e)s.push(this.deepClone(n));return e instanceof Array?s:new e.constructor(s)}else{const s={};for(const n in e)e.hasOwnProperty(n)&&(s[n]=this.deepClone(e[n]));return s}}}}var me;(function(t){t[t.NOT_ALLOWED=0]="NOT_ALLOWED",t[t.REQUIRE_CONSENT=1]="REQUIRE_CONSENT",t[t.REQUIRE_LI=2]="REQUIRE_LI"})(me||(me={}));class ke extends Ct{static hashSeparator="-";purposeId_;restrictionType;constructor(e,i){super(),e!==void 0&&(this.purposeId=e),i!==void 0&&(this.restrictionType=i)}static unHash(e){const i=e.split(this.hashSeparator),s=new ke;if(i.length!==2)throw new Ae("hash",e);return s.purposeId=parseInt(i[0],10),s.restrictionType=parseInt(i[1],10),s}get hash(){if(!this.isValid())throw new Error("cannot hash invalid PurposeRestriction");return`${this.purposeId}${ke.hashSeparator}${this.restrictionType}`}get purposeId(){return this.purposeId_}set purposeId(e){this.purposeId_=e}isValid(){return Number.isInteger(this.purposeId)&&this.purposeId>0&&(this.restrictionType===me.NOT_ALLOWED||this.restrictionType===me.REQUIRE_CONSENT||this.restrictionType===me.REQUIRE_LI)}isSameAs(e){return this.purposeId===e.purposeId&&this.restrictionType===e.restrictionType}}class Fs extends Ct{bitLength=0;map=new Map;gvl_;has(e){return this.map.has(e)}isOkToHave(e,i,s){let n=!0;if(this.gvl?.vendors){const o=this.gvl.vendors[s];if(o)if(e===me.NOT_ALLOWED)n=o.legIntPurposes.includes(i)||o.purposes.includes(i);else if(o.flexiblePurposes.length)switch(e){case me.REQUIRE_CONSENT:n=o.flexiblePurposes.includes(i)&&o.legIntPurposes.includes(i);break;case me.REQUIRE_LI:n=o.flexiblePurposes.includes(i)&&o.purposes.includes(i);break}else n=!1;else n=!1}return n}add(e,i){if(this.isOkToHave(i.restrictionType,i.purposeId,e)){const s=i.hash;this.has(s)||(this.map.set(s,new Set),this.bitLength=0),this.map.get(s).add(e)}}restrictPurposeToLegalBasis(e){const i=Array.from(this.gvl.vendorIds),s=e.hash,n=i[i.length-1],o=[...Array(n).keys()].map(a=>a+1);if(!this.has(s))this.map.set(s,new Set(o)),this.bitLength=0;else for(let a=1;a<=n;a++)this.map.get(s).add(a)}getVendors(e){let i=[];if(e){const s=e.hash;this.has(s)&&(i=Array.from(this.map.get(s)))}else{const s=new Set;this.map.forEach(n=>{n.forEach(o=>{s.add(o)})}),i=Array.from(s)}return i.sort((s,n)=>s-n)}getRestrictionType(e,i){let s;return this.getRestrictions(e).forEach(n=>{n.purposeId===i&&(s===void 0||s>n.restrictionType)&&(s=n.restrictionType)}),s}vendorHasRestriction(e,i){let s=!1;const n=this.getRestrictions(e);for(let o=0;o<n.length&&!s;o++)s=i.isSameAs(n[o]);return s}getMaxVendorId(){let e=0;return this.map.forEach(i=>{e=Math.max(Array.from(i)[i.size-1],e)}),e}getRestrictions(e){const i=[];return this.map.forEach((s,n)=>{e?s.has(e)&&i.push(ke.unHash(n)):i.push(ke.unHash(n))}),i}getPurposes(){const e=new Set;return this.map.forEach((i,s)=>{e.add(ke.unHash(s).purposeId)}),Array.from(e)}remove(e,i){const s=i.hash,n=this.map.get(s);n&&(n.delete(e),n.size==0&&(this.map.delete(s),this.bitLength=0))}set gvl(e){this.gvl_||(this.gvl_=e,this.map.forEach((i,s)=>{const n=ke.unHash(s);Array.from(i).forEach(a=>{this.isOkToHave(n.restrictionType,n.purposeId,a)||i.delete(a)})}))}get gvl(){return this.gvl_}isEmpty(){return this.map.size===0}get numRestrictions(){return this.map.size}}var Ds;(function(t){t.COOKIE="cookie",t.WEB="web",t.APP="app"})(Ds||(Ds={}));var G;(function(t){t.CORE="core",t.VENDORS_DISCLOSED="vendorsDisclosed",t.VENDORS_ALLOWED="vendorsAllowed",t.PUBLISHER_TC="publisherTC"})(G||(G={}));class Rs{static ID_TO_KEY=[G.CORE,G.VENDORS_DISCLOSED,G.VENDORS_ALLOWED,G.PUBLISHER_TC];static KEY_TO_ID={[G.CORE]:0,[G.VENDORS_DISCLOSED]:1,[G.VENDORS_ALLOWED]:2,[G.PUBLISHER_TC]:3}}class ue extends Ct{bitLength=0;maxId_=0;set_=new Set;*[Symbol.iterator](){for(let e=1;e<=this.maxId;e++)yield[e,this.has(e)]}values(){return this.set_.values()}get maxId(){return this.maxId_}has(e){return this.set_.has(e)}unset(e){Array.isArray(e)?e.forEach(i=>this.unset(i)):typeof e=="object"?this.unset(Object.keys(e).map(i=>Number(i))):(this.set_.delete(Number(e)),this.bitLength=0,e===this.maxId&&(this.maxId_=0,this.set_.forEach(i=>{this.maxId_=Math.max(this.maxId,i)})))}isIntMap(e){let i=typeof e=="object";return i=i&&Object.keys(e).every(s=>{let n=Number.isInteger(parseInt(s,10));return n=n&&this.isValidNumber(e[s].id),n=n&&e[s].name!==void 0,n}),i}isValidNumber(e){return parseInt(e,10)>0}isSet(e){let i=!1;return e instanceof Set&&(i=Array.from(e).every(this.isValidNumber)),i}set(e){if(Array.isArray(e))e.forEach(i=>this.set(i));else if(this.isSet(e))this.set(Array.from(e));else if(this.isIntMap(e))this.set(Object.keys(e).map(i=>Number(i)));else if(this.isValidNumber(e))this.set_.add(e),this.maxId_=Math.max(this.maxId,e),this.bitLength=0;else throw new Ae("set()",e,"must be positive integer array, positive integer, Set<number>, or IntMap")}empty(){this.set_=new Set}forEach(e){for(let i=1;i<=this.maxId;i++)e(this.has(i),i)}get size(){return this.set_.size}setAll(e){this.set(e)}}class x{static[k.cmpId]=12;static[k.cmpVersion]=12;static[k.consentLanguage]=12;static[k.consentScreen]=6;static[k.created]=36;static[k.isServiceSpecific]=1;static[k.lastUpdated]=36;static[k.policyVersion]=6;static[k.publisherCountryCode]=12;static[k.publisherLegitimateInterests]=24;static[k.publisherConsents]=24;static[k.purposeConsents]=24;static[k.purposeLegitimateInterests]=24;static[k.purposeOneTreatment]=1;static[k.specialFeatureOptins]=12;static[k.useNonStandardTexts]=1;static[k.vendorListVersion]=12;static[k.version]=6;static anyBoolean=1;static encodingType=1;static maxId=16;static numCustomPurposes=6;static numEntries=12;static numRestrictions=12;static purposeId=6;static restrictionType=2;static segmentType=3;static singleOrRange=1;static vendorId=16}class we{static encode(e){return String(Number(e))}static decode(e){return e==="1"}}class z{static encode(e,i){let s;if(typeof e=="string"&&(e=parseInt(e,10)),s=e.toString(2),s.length>i||e<0)throw new Oe(`${e} too large to encode into ${i}`);return s.length<i&&(s="0".repeat(i-s.length)+s),s}static decode(e,i){if(i!==e.length)throw new _e("invalid bit length");return parseInt(e,2)}}class Vs{static encode(e,i){return z.encode(Math.round(e.getTime()/100),i)}static decode(e,i){if(i!==e.length)throw new _e("invalid bit length");const s=new Date;return s.setTime(z.decode(e,i)*100),s}}class Be{static encode(e,i){let s="";for(let n=1;n<=i;n++)s+=we.encode(e.has(n));return s}static decode(e,i){if(e.length!==i)throw new _e("bitfield encoding length mismatch");const s=new ue;for(let n=1;n<=i;n++)we.decode(e[n-1])&&s.set(n);return s.bitLength=e.length,s}}class Ms{static encode(e,i){e=e.toUpperCase();const s=65,n=e.charCodeAt(0)-s,o=e.charCodeAt(1)-s;if(n<0||n>25||o<0||o>25)throw new Oe(`invalid language code: ${e}`);if(i%2===1)throw new Oe(`numBits must be even, ${i} is not valid`);i=i/2;const a=z.encode(n,i),r=z.encode(o,i);return a+r}static decode(e,i){let s;if(i===e.length&&!(e.length%2)){const o=e.length/2,a=z.decode(e.slice(0,o),o)+65,r=z.decode(e.slice(o),o)+65;s=String.fromCharCode(a)+String.fromCharCode(r)}else throw new _e("invalid bit length for language");return s}}class xa{static encode(e){let i=z.encode(e.numRestrictions,x.numRestrictions);if(!e.isEmpty()){const s=(n,o)=>{for(let a=n+1;a<=o;a++)if(e.gvl.vendorIds.has(a))return a;return n};e.getRestrictions().forEach(n=>{i+=z.encode(n.purposeId,x.purposeId),i+=z.encode(n.restrictionType,x.restrictionType);const o=e.getVendors(n),a=o.length;let r=0,c=0,l="";for(let u=0;u<a;u++){const d=o[u];if(c===0&&(r++,c=d),u===a-1||o[u+1]>s(d,o[a-1])){const g=d!==c;l+=we.encode(g),l+=z.encode(c,x.vendorId),g&&(l+=z.encode(d,x.vendorId)),c=0}}i+=z.encode(r,x.numEntries),i+=l})}return i}static decode(e){let i=0;const s=new Fs,n=z.decode(e.substr(i,x.numRestrictions),x.numRestrictions);i+=x.numRestrictions;for(let o=0;o<n;o++){const a=z.decode(e.substr(i,x.purposeId),x.purposeId);i+=x.purposeId;const r=z.decode(e.substr(i,x.restrictionType),x.restrictionType);i+=x.restrictionType;const c=new ke(a,r),l=z.decode(e.substr(i,x.numEntries),x.numEntries);i+=x.numEntries;for(let u=0;u<l;u++){const d=we.decode(e.substr(i,x.anyBoolean));i+=x.anyBoolean;const g=z.decode(e.substr(i,x.vendorId),x.vendorId);if(i+=x.vendorId,d){const v=z.decode(e.substr(i,x.vendorId),x.vendorId);if(i+=x.vendorId,v<g)throw new _e(`Invalid RangeEntry: endVendorId ${v} is less than ${g}`);for(let f=g;f<=v;f++)s.add(f,c)}else s.add(g,c)}}return s.bitLength=i,s}}var Et;(function(t){t[t.FIELD=0]="FIELD",t[t.RANGE=1]="RANGE"})(Et||(Et={}));class jt{static encode(e){const i=[];let s=[],n=z.encode(e.maxId,x.maxId),o="",a;const r=x.maxId+x.encodingType,c=r+e.maxId,l=x.vendorId*2+x.singleOrRange+x.numEntries;let u=r+x.numEntries;return e.forEach((d,g)=>{o+=we.encode(d),a=e.maxId>l&&u<c,a&&d&&(e.has(g+1)?s.length===0&&(s.push(g),u+=x.singleOrRange,u+=x.vendorId):(s.push(g),u+=x.vendorId,i.push(s),s=[]))}),a?(n+=String(Et.RANGE),n+=this.buildRangeEncoding(i)):(n+=String(Et.FIELD),n+=o),n}static decode(e,i){let s,n=0;const o=z.decode(e.substr(n,x.maxId),x.maxId);n+=x.maxId;const a=z.decode(e.charAt(n),x.encodingType);if(n+=x.encodingType,a===Et.RANGE){if(s=new ue,i===1){if(e.substr(n,1)==="1")throw new _e("Unable to decode default consent=1");n++}const r=z.decode(e.substr(n,x.numEntries),x.numEntries);n+=x.numEntries;for(let c=0;c<r;c++){const l=we.decode(e.charAt(n));n+=x.singleOrRange;const u=z.decode(e.substr(n,x.vendorId),x.vendorId);if(n+=x.vendorId,l){const d=z.decode(e.substr(n,x.vendorId),x.vendorId);n+=x.vendorId;for(let g=u;g<=d;g++)s.set(g)}else s.set(u)}}else{const r=e.substr(n,o);n+=o,s=Be.decode(r,o)}return s.bitLength=n,s}static buildRangeEncoding(e){const i=e.length;let s=z.encode(i,x.numEntries);return e.forEach(n=>{const o=n.length===1;s+=we.encode(!o),s+=z.encode(n[0],x.vendorId),o||(s+=z.encode(n[1],x.vendorId))}),s}}function Us(){return{[k.version]:z,[k.created]:Vs,[k.lastUpdated]:Vs,[k.cmpId]:z,[k.cmpVersion]:z,[k.consentScreen]:z,[k.consentLanguage]:Ms,[k.vendorListVersion]:z,[k.policyVersion]:z,[k.isServiceSpecific]:we,[k.useNonStandardTexts]:we,[k.specialFeatureOptins]:Be,[k.purposeConsents]:Be,[k.purposeLegitimateInterests]:Be,[k.purposeOneTreatment]:we,[k.publisherCountryCode]:Ms,[k.vendorConsents]:jt,[k.vendorLegitimateInterests]:jt,[k.publisherRestrictions]:xa,segmentType:z,[k.vendorsDisclosed]:jt,[k.vendorsAllowed]:jt,[k.publisherConsents]:Be,[k.publisherLegitimateInterests]:Be,[k.numCustomPurposes]:z,[k.publisherCustomConsents]:Be,[k.publisherCustomLegitimateInterests]:Be}}class Ia{1={[G.CORE]:[k.version,k.created,k.lastUpdated,k.cmpId,k.cmpVersion,k.consentScreen,k.consentLanguage,k.vendorListVersion,k.purposeConsents,k.vendorConsents]};2={[G.CORE]:[k.version,k.created,k.lastUpdated,k.cmpId,k.cmpVersion,k.consentScreen,k.consentLanguage,k.vendorListVersion,k.policyVersion,k.isServiceSpecific,k.useNonStandardTexts,k.specialFeatureOptins,k.purposeConsents,k.purposeLegitimateInterests,k.purposeOneTreatment,k.publisherCountryCode,k.vendorConsents,k.vendorLegitimateInterests,k.publisherRestrictions],[G.PUBLISHER_TC]:[k.publisherConsents,k.publisherLegitimateInterests,k.numCustomPurposes,k.publisherCustomConsents,k.publisherCustomLegitimateInterests],[G.VENDORS_ALLOWED]:[k.vendorsAllowed],[G.VENDORS_DISCLOSED]:[k.vendorsDisclosed]}}class Pa{1=[G.CORE];2=[G.CORE];constructor(e,i){if(e.version===2)if(e.isServiceSpecific)this[2].push(G.PUBLISHER_TC);else{const s=!!(i&&i.isForVendors);(!s||e[k.supportOOB]===!0)&&this[2].push(G.VENDORS_DISCLOSED),s&&(e[k.supportOOB]&&e[k.vendorsAllowed].size>0&&this[2].push(G.VENDORS_ALLOWED),this[2].push(G.PUBLISHER_TC))}}}class Bs{static fieldSequence=new Ia;static encode(e,i){let s;try{s=this.fieldSequence[String(e.version)][i]}catch{throw new Oe(`Unable to encode version: ${e.version}, segment: ${i}`)}let n="";i!==G.CORE&&(n=z.encode(Rs.KEY_TO_ID[i],x.segmentType));const o=Us();return s.forEach(a=>{const r=e[a],c=o[a];let l=x[a];l===void 0&&this.isPublisherCustom(a)&&(l=Number(e[k.numCustomPurposes]));try{n+=c.encode(r,l)}catch(u){throw new Oe(`Error encoding ${i}->${a}: ${u.message}`)}}),Ti.encode(n)}static decode(e,i,s){const n=Ti.decode(e);let o=0;s===G.CORE&&(i.version=z.decode(n.substr(o,x[k.version]),x[k.version])),s!==G.CORE&&(o+=x.segmentType);const a=this.fieldSequence[String(i.version)][s],r=Us();return a.forEach(c=>{const l=r[c];let u=x[c];if(u===void 0&&this.isPublisherCustom(c)&&(u=Number(i[k.numCustomPurposes])),u!==0){const d=n.substr(o,u);if(l===jt?i[c]=l.decode(d,i.version):i[c]=l.decode(d,u),Number.isInteger(u))o+=u;else if(Number.isInteger(i[c].bitLength))o+=i[c].bitLength;else throw new _e(c)}}),i}static isPublisherCustom(e){return e.indexOf("publisherCustom")===0}}class Oa{static processor=[e=>e,(e,i)=>{e.publisherRestrictions.gvl=i,e.purposeLegitimateInterests.unset([1,3,4,5,6]);const s=new Map;return s.set("legIntPurposes",e.vendorLegitimateInterests),s.set("purposes",e.vendorConsents),s.forEach((n,o)=>{n.forEach((a,r)=>{if(a){const c=i.vendors[r];if(!c||c.deletedDate)n.unset(r);else if(c[o].length===0)if(o==="legIntPurposes"&&c.purposes.length===0&&c.legIntPurposes.length===0&&c.specialPurposes.length>0)n.set(r);else if(o==="legIntPurposes"&&c.purposes.length>0&&c.legIntPurposes.length===0&&c.specialPurposes.length>0)n.set(r);else if(e.isServiceSpecific)if(c.flexiblePurposes.length===0)n.unset(r);else{const l=e.publisherRestrictions.getRestrictions(r);let u=!1;for(let d=0,g=l.length;d<g&&!u;d++)u=l[d].restrictionType===me.REQUIRE_CONSENT&&o==="purposes"||l[d].restrictionType===me.REQUIRE_LI&&o==="legIntPurposes";u||n.unset(r)}else n.unset(r)}})}),e.vendorsDisclosed.set(i.vendors),e}];static process(e,i){const s=e.gvl;if(!s)throw new Oe("Unable to encode TCModel without a GVL");if(!s.isReady)throw new Oe("Unable to encode TCModel tcModel.gvl.readyPromise is not resolved");e=e.clone(),e.consentLanguage=s.language.slice(0,2).toUpperCase(),i?.version>0&&i?.version<=this.processor.length?e.version=i.version:e.version=this.processor.length;const n=e.version-1;if(!this.processor[n])throw new Oe(`Invalid version: ${e.version}`);return this.processor[n](e,s)}}class Aa{static absCall(e,i,s,n){return new Promise((o,a)=>{const r=new XMLHttpRequest,c=()=>{if(r.readyState==XMLHttpRequest.DONE)if(r.status>=200&&r.status<300){let g=r.response;if(typeof g=="string")try{g=JSON.parse(g)}catch{}o(g)}else a(new Error(`HTTP Status: ${r.status} response type: ${r.responseType}`))},l=()=>{a(new Error("error"))},u=()=>{a(new Error("aborted"))},d=()=>{a(new Error("Timeout "+n+"ms "+e))};r.withCredentials=s,r.addEventListener("load",c),r.addEventListener("error",l),r.addEventListener("abort",u),i===null?r.open("GET",e,!0):r.open("POST",e,!0),r.responseType="json",r.timeout=n,r.ontimeout=d,r.send(i)})}static post(e,i,s=!1,n=0){return this.absCall(e,JSON.stringify(i),s,n)}static fetch(e,i=!1,s=0){return this.absCall(e,null,i,s)}}class A extends Ct{static LANGUAGE_CACHE=new Map;static CACHE=new Map;static LATEST_CACHE_KEY=0;static DEFAULT_LANGUAGE="EN";static consentLanguages=new Te;static baseUrl_;static set baseUrl(e){if(/^https?:\/\/vendorlist\.consensu\.org\//.test(e))throw new mt("Invalid baseUrl! You may not pull directly from vendorlist.consensu.org and must provide your own cache");e.length>0&&e[e.length-1]!=="/"&&(e+="/"),this.baseUrl_=e}static get baseUrl(){return this.baseUrl_}static latestFilename="vendor-list.json";static versionedFilename="archives/vendor-list-v[VERSION].json";static languageFilename="purposes-[LANG].json";readyPromise;gvlSpecificationVersion;vendorListVersion;tcfPolicyVersion;lastUpdated;purposes;specialPurposes;features;specialFeatures;isReady_=!1;vendors_;vendorIds;fullVendorList;byPurposeVendorMap;bySpecialPurposeVendorMap;byFeatureVendorMap;bySpecialFeatureVendorMap;stacks;dataCategories;lang_;cacheLang_;isLatest=!1;constructor(e,i){super();let s=A.baseUrl,n=i?.language;if(n)try{n=A.consentLanguages.parseLanguage(n)}catch(o){throw new mt("Error during parsing the language: "+o.message)}if(this.lang_=n||A.DEFAULT_LANGUAGE,this.cacheLang_=n||A.DEFAULT_LANGUAGE,this.isVendorList(e))this.populate(e),this.readyPromise=Promise.resolve();else{if(!s)throw new mt("must specify GVL.baseUrl before loading GVL json");if(e>0){const o=e;A.CACHE.has(o)?(this.populate(A.CACHE.get(o)),this.readyPromise=Promise.resolve()):(s+=A.versionedFilename.replace("[VERSION]",String(o)),this.readyPromise=this.fetchJson(s))}else A.CACHE.has(A.LATEST_CACHE_KEY)?(this.populate(A.CACHE.get(A.LATEST_CACHE_KEY)),this.readyPromise=Promise.resolve()):(this.isLatest=!0,this.readyPromise=this.fetchJson(s+A.latestFilename))}}static emptyLanguageCache(e){let i=!1;return e==null&&A.LANGUAGE_CACHE.size>0?(A.LANGUAGE_CACHE=new Map,i=!0):typeof e=="string"&&this.consentLanguages.has(e.toUpperCase())&&(A.LANGUAGE_CACHE.delete(e.toUpperCase()),i=!0),i}static emptyCache(e){let i=!1;return Number.isInteger(e)&&e>=0?(A.CACHE.delete(e),i=!0):e===void 0&&(A.CACHE=new Map,i=!0),i}cacheLanguage(){A.LANGUAGE_CACHE.has(this.cacheLang_)||A.LANGUAGE_CACHE.set(this.cacheLang_,{purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,dataCategories:this.dataCategories})}async fetchJson(e){try{this.populate(await Aa.fetch(e))}catch(i){throw new mt(i.message)}}getJson(){return{gvlSpecificationVersion:this.gvlSpecificationVersion,vendorListVersion:this.vendorListVersion,tcfPolicyVersion:this.tcfPolicyVersion,lastUpdated:this.lastUpdated,purposes:this.clonePurposes(),specialPurposes:this.cloneSpecialPurposes(),features:this.cloneFeatures(),specialFeatures:this.cloneSpecialFeatures(),stacks:this.cloneStacks(),...this.dataCategories?{dataCategories:this.cloneDataCategories()}:{},vendors:this.cloneVendors()}}cloneSpecialFeatures(){const e={};for(const i of Object.keys(this.specialFeatures))e[i]=A.cloneFeature(this.specialFeatures[i]);return e}cloneFeatures(){const e={};for(const i of Object.keys(this.features))e[i]=A.cloneFeature(this.features[i]);return e}cloneStacks(){const e={};for(const i of Object.keys(this.stacks))e[i]=A.cloneStack(this.stacks[i]);return e}cloneDataCategories(){const e={};for(const i of Object.keys(this.dataCategories))e[i]=A.cloneDataCategory(this.dataCategories[i]);return e}cloneSpecialPurposes(){const e={};for(const i of Object.keys(this.specialPurposes))e[i]=A.clonePurpose(this.specialPurposes[i]);return e}clonePurposes(){const e={};for(const i of Object.keys(this.purposes))e[i]=A.clonePurpose(this.purposes[i]);return e}static clonePurpose(e){return{id:e.id,name:e.name,description:e.description,...e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{},...e.illustrations?{illustrations:Array.from(e.illustrations)}:{}}}static cloneFeature(e){return{id:e.id,name:e.name,description:e.description,...e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{},...e.illustrations?{illustrations:Array.from(e.illustrations)}:{}}}static cloneDataCategory(e){return{id:e.id,name:e.name,description:e.description}}static cloneStack(e){return{id:e.id,name:e.name,description:e.description,purposes:Array.from(e.purposes),specialFeatures:Array.from(e.specialFeatures)}}static cloneDataRetention(e){return{...typeof e.stdRetention=="number"?{stdRetention:e.stdRetention}:{},purposes:{...e.purposes},specialPurposes:{...e.specialPurposes}}}static cloneVendorUrls(e){return e.map(i=>({langId:i.langId,privacy:i.privacy,...i.legIntClaim?{legIntClaim:i.legIntClaim}:{}}))}static cloneVendor(e){return{id:e.id,name:e.name,purposes:Array.from(e.purposes),legIntPurposes:Array.from(e.legIntPurposes),flexiblePurposes:Array.from(e.flexiblePurposes),specialPurposes:Array.from(e.specialPurposes),features:Array.from(e.features),specialFeatures:Array.from(e.specialFeatures),...e.overflow?{overflow:{httpGetLimit:e.overflow.httpGetLimit}}:{},...typeof e.cookieMaxAgeSeconds=="number"||e.cookieMaxAgeSeconds===null?{cookieMaxAgeSeconds:e.cookieMaxAgeSeconds}:{},...e.usesCookies!==void 0?{usesCookies:e.usesCookies}:{},...e.policyUrl?{policyUrl:e.policyUrl}:{},...e.cookieRefresh!==void 0?{cookieRefresh:e.cookieRefresh}:{},...e.usesNonCookieAccess!==void 0?{usesNonCookieAccess:e.usesNonCookieAccess}:{},...e.dataRetention?{dataRetention:this.cloneDataRetention(e.dataRetention)}:{},...e.urls?{urls:this.cloneVendorUrls(e.urls)}:{},...e.dataDeclaration?{dataDeclaration:Array.from(e.dataDeclaration)}:{},...e.deviceStorageDisclosureUrl?{deviceStorageDisclosureUrl:e.deviceStorageDisclosureUrl}:{},...e.deletedDate?{deletedDate:e.deletedDate}:{}}}cloneVendors(){const e={};for(const i of Object.keys(this.fullVendorList))e[i]=A.cloneVendor(this.fullVendorList[i]);return e}async changeLanguage(e){let i=e;try{i=A.consentLanguages.parseLanguage(e)}catch(n){throw new mt("Error during parsing the language: "+n.message)}const s=e.toUpperCase();if(!(i.toLowerCase()===A.DEFAULT_LANGUAGE.toLowerCase()&&!A.LANGUAGE_CACHE.has(s))&&i!==this.lang_)if(this.lang_=i,A.LANGUAGE_CACHE.has(s)){const n=A.LANGUAGE_CACHE.get(s);for(const o in n)n.hasOwnProperty(o)&&(this[o]=n[o])}else{const n=A.baseUrl+A.languageFilename.replace("[LANG]",this.lang_.toLowerCase());try{await this.fetchJson(n),this.cacheLang_=s,this.cacheLanguage()}catch(o){throw new mt("unable to load language: "+o.message)}}}get language(){return this.lang_}isVendorList(e){return e!==void 0&&e.vendors!==void 0}populate(e){this.purposes=e.purposes,this.specialPurposes=e.specialPurposes,this.features=e.features,this.specialFeatures=e.specialFeatures,this.stacks=e.stacks,this.dataCategories=e.dataCategories,this.isVendorList(e)&&(this.gvlSpecificationVersion=e.gvlSpecificationVersion,this.tcfPolicyVersion=e.tcfPolicyVersion,this.vendorListVersion=e.vendorListVersion,this.lastUpdated=e.lastUpdated,typeof this.lastUpdated=="string"&&(this.lastUpdated=new Date(this.lastUpdated)),this.vendors_=e.vendors,this.fullVendorList=e.vendors,this.mapVendors(),this.isReady_=!0,this.isLatest&&A.CACHE.set(A.LATEST_CACHE_KEY,this.getJson()),A.CACHE.has(this.vendorListVersion)||A.CACHE.set(this.vendorListVersion,this.getJson())),this.cacheLanguage()}mapVendors(e){this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach(i=>{this.byPurposeVendorMap[i]={legInt:new Set,consent:new Set,flexible:new Set}}),Object.keys(this.specialPurposes).forEach(i=>{this.bySpecialPurposeVendorMap[i]=new Set}),Object.keys(this.features).forEach(i=>{this.byFeatureVendorMap[i]=new Set}),Object.keys(this.specialFeatures).forEach(i=>{this.bySpecialFeatureVendorMap[i]=new Set}),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map(i=>+i)),this.vendorIds=new Set(e),this.vendors_=e.reduce((i,s)=>{const n=this.vendors_[String(s)];return n&&n.deletedDate===void 0&&(n.purposes.forEach(o=>{this.byPurposeVendorMap[String(o)].consent.add(s)}),n.specialPurposes.forEach(o=>{this.bySpecialPurposeVendorMap[String(o)].add(s)}),n.legIntPurposes.forEach(o=>{this.byPurposeVendorMap[String(o)].legInt.add(s)}),n.flexiblePurposes&&n.flexiblePurposes.forEach(o=>{this.byPurposeVendorMap[String(o)].flexible.add(s)}),n.features.forEach(o=>{this.byFeatureVendorMap[String(o)].add(s)}),n.specialFeatures.forEach(o=>{this.bySpecialFeatureVendorMap[String(o)].add(s)}),i[s]=n),i},{})}getFilteredVendors(e,i,s,n){const o=e.charAt(0).toUpperCase()+e.slice(1);let a;const r={};return e==="purpose"&&s?a=this["by"+o+"VendorMap"][String(i)][s]:a=this["by"+(n?"Special":"")+o+"VendorMap"][String(i)],a.forEach(c=>{r[String(c)]=this.vendors[String(c)]}),r}getVendorsWithConsentPurpose(e){return this.getFilteredVendors("purpose",e,"consent")}getVendorsWithLegIntPurpose(e){return this.getFilteredVendors("purpose",e,"legInt")}getVendorsWithFlexiblePurpose(e){return this.getFilteredVendors("purpose",e,"flexible")}getVendorsWithSpecialPurpose(e){return this.getFilteredVendors("purpose",e,void 0,!0)}getVendorsWithFeature(e){return this.getFilteredVendors("feature",e)}getVendorsWithSpecialFeature(e){return this.getFilteredVendors("feature",e,void 0,!0)}get vendors(){return this.vendors_}narrowVendorsTo(e){this.mapVendors(e)}get isReady(){return this.isReady_}clone(){const e=new A(this.getJson());return this.lang_!==A.DEFAULT_LANGUAGE&&e.changeLanguage(this.lang_),e}static isInstanceOf(e){return typeof e=="object"&&typeof e.narrowVendorsTo=="function"}}class Si extends Ct{static consentLanguages=A.consentLanguages;isServiceSpecific_=!1;supportOOB_=!0;useNonStandardTexts_=!1;purposeOneTreatment_=!1;publisherCountryCode_="AA";version_=2;consentScreen_=0;policyVersion_=4;consentLanguage_="EN";cmpId_=0;cmpVersion_=0;vendorListVersion_=0;numCustomPurposes_=0;gvl_;created;lastUpdated;specialFeatureOptins=new ue;purposeConsents=new ue;purposeLegitimateInterests=new ue;publisherConsents=new ue;publisherLegitimateInterests=new ue;publisherCustomConsents=new ue;publisherCustomLegitimateInterests=new ue;customPurposes;vendorConsents=new ue;vendorLegitimateInterests=new ue;vendorsDisclosed=new ue;vendorsAllowed=new ue;publisherRestrictions=new Fs;constructor(e){super(),e&&(this.gvl=e),this.updated()}set gvl(e){A.isInstanceOf(e)||(e=new A(e)),this.gvl_=e,this.publisherRestrictions.gvl=e}get gvl(){return this.gvl_}set cmpId(e){if(e=Number(e),Number.isInteger(e)&&e>1)this.cmpId_=e;else throw new Ae("cmpId",e)}get cmpId(){return this.cmpId_}set cmpVersion(e){if(e=Number(e),Number.isInteger(e)&&e>-1)this.cmpVersion_=e;else throw new Ae("cmpVersion",e)}get cmpVersion(){return this.cmpVersion_}set consentScreen(e){if(e=Number(e),Number.isInteger(e)&&e>-1)this.consentScreen_=e;else throw new Ae("consentScreen",e)}get consentScreen(){return this.consentScreen_}set consentLanguage(e){this.consentLanguage_=e}get consentLanguage(){return this.consentLanguage_}set publisherCountryCode(e){if(/^([A-z]){2}$/.test(e))this.publisherCountryCode_=e.toUpperCase();else throw new Ae("publisherCountryCode",e)}get publisherCountryCode(){return this.publisherCountryCode_}set vendorListVersion(e){if(e=Number(e)>>0,e<0)throw new Ae("vendorListVersion",e);this.vendorListVersion_=e}get vendorListVersion(){return this.gvl?this.gvl.vendorListVersion:this.vendorListVersion_}set policyVersion(e){if(this.policyVersion_=parseInt(e,10),this.policyVersion_<0)throw new Ae("policyVersion",e)}get policyVersion(){return this.gvl?this.gvl.tcfPolicyVersion:this.policyVersion_}set version(e){this.version_=parseInt(e,10)}get version(){return this.version_}set isServiceSpecific(e){this.isServiceSpecific_=e}get isServiceSpecific(){return this.isServiceSpecific_}set useNonStandardTexts(e){this.useNonStandardTexts_=e}get useNonStandardTexts(){return this.useNonStandardTexts_}set supportOOB(e){this.supportOOB_=e}get supportOOB(){return this.supportOOB_}set purposeOneTreatment(e){this.purposeOneTreatment_=e}get purposeOneTreatment(){return this.purposeOneTreatment_}setAllVendorConsents(){this.vendorConsents.set(this.gvl.vendors)}unsetAllVendorConsents(){this.vendorConsents.empty()}setAllVendorsDisclosed(){this.vendorsDisclosed.set(this.gvl.vendors)}unsetAllVendorsDisclosed(){this.vendorsDisclosed.empty()}setAllVendorsAllowed(){this.vendorsAllowed.set(this.gvl.vendors)}unsetAllVendorsAllowed(){this.vendorsAllowed.empty()}setAllVendorLegitimateInterests(){this.vendorLegitimateInterests.set(this.gvl.vendors)}unsetAllVendorLegitimateInterests(){this.vendorLegitimateInterests.empty()}setAllPurposeConsents(){this.purposeConsents.set(this.gvl.purposes)}unsetAllPurposeConsents(){this.purposeConsents.empty()}setAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.set(this.gvl.purposes)}unsetAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.empty()}setAllSpecialFeatureOptins(){this.specialFeatureOptins.set(this.gvl.specialFeatures)}unsetAllSpecialFeatureOptins(){this.specialFeatureOptins.empty()}setAll(){this.setAllVendorConsents(),this.setAllPurposeLegitimateInterests(),this.setAllSpecialFeatureOptins(),this.setAllPurposeConsents(),this.setAllVendorLegitimateInterests()}unsetAll(){this.unsetAllVendorConsents(),this.unsetAllPurposeLegitimateInterests(),this.unsetAllSpecialFeatureOptins(),this.unsetAllPurposeConsents(),this.unsetAllVendorLegitimateInterests()}get numCustomPurposes(){let e=this.numCustomPurposes_;if(typeof this.customPurposes=="object"){const i=Object.keys(this.customPurposes).sort((s,n)=>Number(s)-Number(n));e=parseInt(i.pop(),10)}return e}set numCustomPurposes(e){if(this.numCustomPurposes_=parseInt(e,10),this.numCustomPurposes_<0)throw new Ae("numCustomPurposes",e)}updated(){const e=new Date,i=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()));this.created=i,this.lastUpdated=i}}class Vt{static encode(e,i){let s="",n;return e=Oa.process(e,i),Array.isArray(i?.segments)?n=i.segments:n=new Pa(e,i)[""+e.version],n.forEach((o,a)=>{let r="";a<n.length-1&&(r="."),s+=Bs.encode(e,o)+r}),s}static decode(e,i){const s=e.split("."),n=s.length;i||(i=new Si);for(let o=0;o<n;o++){const a=s[o],c=Ti.decode(a.charAt(0)).substr(0,x.segmentType),l=Rs.ID_TO_KEY[z.decode(c,x.segmentType).toString()];Bs.decode(a,i,l)}return i}}var Ta=Object.defineProperty,Sa=(t,e,i)=>e in t?Ta(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,zi=(t,e,i)=>Sa(t,typeof e!="symbol"?e+"":e,i);class Li{constructor(e,i,s){zi(this,"consentPreference"),zi(this,"notice"),zi(this,"noticeHistoryId"),this.notice=e,this.consentPreference=i,this.noticeHistoryId=s}}C.TCMobileDataVals=void 0,(t=>{(e=>(e[e._0=0]="_0",e[e._1=1]="_1"))(t.IABTCFgdprApplies||(t.IABTCFgdprApplies={})),(e=>(e[e._0=0]="_0",e[e._1=1]="_1"))(t.IABTCFPurposeOneTreatment||(t.IABTCFPurposeOneTreatment={})),(e=>(e[e._0=0]="_0",e[e._1=1]="_1"))(t.IABTCFUseNonStandardTexts||(t.IABTCFUseNonStandardTexts={}))})(C.TCMobileDataVals||(C.TCMobileDataVals={}));var Gs=(t=>(t.GPP_US_NATIONAL="gpp_us_national",t.GPP_US_STATE="gpp_us_state",t))(Gs||{}),Hs=(t=>(t.FRONTEND="frontend",t.SYSTEM_WIDE="system_wide",t.NOT_APPLICABLE="not_applicable",t))(Hs||{}),te=(t=>(t.OPT_IN="opt_in",t.OPT_OUT="opt_out",t.NOTICE_ONLY="notice_only",t))(te||{}),ce=(t=>(t.OPT_IN="opt_in",t.OPT_OUT="opt_out",t.ACKNOWLEDGE="acknowledge",t.NOT_APPLICABLE="not_applicable",t.TCF="tcf",t))(ce||{}),ht=(t=>(t.OMIT="omit",t.INCLUDE="include",t))(ht||{}),We=(t=>(t.BOOLEAN="boolean",t.CONSENT_MECHANISM="consent_mechanism",t))(We||{}),Ge=(t=>(t.THROW="throw",t.WARN="warn",t.IGNORE="ignore",t))(Ge||{}),re=(t=>(t.OVERLAY="overlay",t.BANNER_AND_MODAL="banner_and_modal",t.MODAL="modal",t.PRIVACY_CENTER="privacy_center",t.TCF_OVERLAY="tcf_overlay",t.HEADLESS="headless",t))(re||{}),qs=(t=>(t.ALWAYS_ENABLED="always_enabled",t.ENABLED_WHERE_REQUIRED="enabled_where_required",t.ALWAYS_DISABLED="always_disabled",t))(qs||{}),Se=(t=>(t.OPTIONS="options",t.EXPERIENCE_TRANSLATION="language",t))(Se||{}),he=(t=>(t.PRIMARY="primary",t.SECONDARY="secondary",t.TERTIARY="tertiary",t))(he||{}),Mt=(t=>(t.ACKNOWLEDGE="acknowledge",t.OPT_IN_OPT_OUT="opt_in_opt_out",t.OPT_IN_ONLY="opt_in_only",t))(Mt||{}),Ni=(t=>(t.REJECT_ALL="reject_all",t.REJECT_CONSENT_ONLY="reject_consent_only",t))(Ni||{}),D=(t=>(t.BUTTON="button",t.REJECT="reject",t.ACCEPT="accept",t.SCRIPT="script",t.SAVE="save",t.DISMISS="dismiss",t.GPC="gpc",t.INDIVIDUAL_NOTICE="individual_notice",t.ACKNOWLEDGE="acknowledge",t.OT_MIGRATION="ot_migration",t))(D||{}),Ks=(t=>(t.privacy_center="privacy_center",t.overlay="overlay",t.api="api",t))(Ks||{}),ze=(t=>(t.NONE="none",t.APPLIED="applied",t.OVERRIDDEN="overridden",t))(ze||{}),Je=(t=>(t.OVERLAY="overlay",t.MODAL="modal",t.BANNER="banner",t.PRIVACY_CENTER="privacy_center",t.TCF_OVERLAY="tcf_overlay",t.TCF_BANNER="tcf_banner",t))(Je||{}),$i=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ut={exports:{}};/*! https://mths.be/base64 v1.0.0 by @mathias | MIT license */Ut.exports,function(t,e){(function(i){var s=e,n=t&&t.exports==s&&t,o=typeof $i=="object"&&$i;(o.global===o||o.window===o)&&(i=o);var a=function(f){this.message=f};a.prototype=new Error,a.prototype.name="InvalidCharacterError";var r=function(f){throw new a(f)},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=/[\t\n\f\r ]/g,u=function(f){f=String(f).replace(l,"");var _=f.length;_%4==0&&(f=f.replace(/==?$/,""),_=f.length),(_%4==1||/[^+a-zA-Z0-9/]/.test(f))&&r("Invalid character: the string to be decoded is not correctly encoded.");for(var m=0,h,y,b="",w=-1;++w<_;)y=c.indexOf(f.charAt(w)),h=m%4?h*64+y:y,m++%4&&(b+=String.fromCharCode(255&h>>(-2*m&6)));return b},d=function(f){f=String(f),/[^\0-\xFF]/.test(f)&&r("The string to be encoded contains characters outside of the Latin1 range.");for(var _=f.length%3,m="",h=-1,y,b,w,j,S=f.length-_;++h<S;)y=f.charCodeAt(h)<<16,b=f.charCodeAt(++h)<<8,w=f.charCodeAt(++h),j=y+b+w,m+=c.charAt(j>>18&63)+c.charAt(j>>12&63)+c.charAt(j>>6&63)+c.charAt(j&63);return _==2?(y=f.charCodeAt(h)<<8,b=f.charCodeAt(++h),j=y+b,m+=c.charAt(j>>10)+c.charAt(j>>4&63)+c.charAt(j<<2&63)+"="):_==1&&(j=f.charCodeAt(h),m+=c.charAt(j>>2)+c.charAt(j<<4&63)+"=="),m},g={encode:d,decode:u,version:"1.0.0"};if(s&&!s.nodeType)if(n)n.exports=g;else for(var v in g)g.hasOwnProperty(v)&&(s[v]=g[v]);else i.base64=g})($i)}(Ut,Ut.exports);var Ys=Ut.exports;/*! js-cookie v3.0.5 | MIT */function Bt(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var s in i)t[s]=i[s]}return t}var za={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Fi(t,e){function i(n,o,a){if(!(typeof document>"u")){a=Bt({},e,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var r="";for(var c in a)a[c]&&(r+="; "+c,a[c]!==!0&&(r+="="+a[c].split(";")[0]));return document.cookie=n+"="+t.write(o,n)+r}}function s(n){if(!(typeof document>"u"||arguments.length&&!n)){for(var o=document.cookie?document.cookie.split("; "):[],a={},r=0;r<o.length;r++){var c=o[r].split("="),l=c.slice(1).join("=");try{var u=decodeURIComponent(c[0]);if(a[u]=t.read(l,u),n===u)break}catch{}}return n?a[n]:a}}return Object.create({set:i,get:s,remove:function(n,o){i(n,"",Bt({},o,{expires:-1}))},withAttributes:function(n){return Fi(this.converter,Bt({},this.attributes,n))},withConverter:function(n){return Fi(Bt({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var La=Fi(za,{path:"/"});let Gt;const Na=new Uint8Array(16);function $a(){if(!Gt&&(Gt=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Gt))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Gt(Na)}const se=[];for(let t=0;t<256;++t)se.push((t+256).toString(16).slice(1));function Fa(t,e=0){return se[t[e+0]]+se[t[e+1]]+se[t[e+2]]+se[t[e+3]]+"-"+se[t[e+4]]+se[t[e+5]]+"-"+se[t[e+6]]+se[t[e+7]]+"-"+se[t[e+8]]+se[t[e+9]]+"-"+se[t[e+10]]+se[t[e+11]]+se[t[e+12]]+se[t[e+13]]+se[t[e+14]]+se[t[e+15]]}var Ws={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Js(t,e,i){if(Ws.randomUUID&&!t)return Ws.randomUUID();t=t||{};const s=t.random||(t.rng||$a)();return s[6]=s[6]&15|64,s[8]=s[8]&63|128,Fa(s)}const Ht=(t,e)=>!!Object.keys(e).includes(t.notice_key),Ce=t=>!t||t===ce.OPT_OUT?!1:t===ce.OPT_IN?!0:t===ce.ACKNOWLEDGE,Ee=(t,e)=>t?e===te.NOTICE_ONLY?ce.ACKNOWLEDGE:ce.OPT_IN:ce.OPT_OUT,xt=t=>typeof t=="string"?Ce(t):t,Zs=t=>t?t.split(",").map(e=>e.trim()).filter(Boolean):[],Qs=(t,e)=>t===void 0?!1:typeof t=="boolean"?t:e.globalPrivacyControl===!0?t.globalPrivacyControl:t.value,Di=(t,e)=>t.consent_mechanism===te.NOTICE_ONLY?!0:e&&Ht(t,e)?!!e[t.notice_key]:Ce(t.default_preference);var Da=(t=>(t.CONSENT="Consent",t.CONTRACT="Contract",t.LEGAL_OBLIGATIONS="Legal obligations",t.VITAL_INTERESTS="Vital interests",t.PUBLIC_INTEREST="Public interest",t.LEGITIMATE_INTERESTS="Legitimate interests",t))(Da||{}),Le=(t=>(t.CONSENT="Consent",t.LEGITIMATE_INTERESTS="Legitimate interests",t))(Le||{});const Xs=407,qt=",",en=[{experienceKey:"tcf_purpose_consents",tcfModelKey:"purposeConsents",enabledIdsKey:"purposesConsent"},{experienceKey:"tcf_purpose_legitimate_interests",tcfModelKey:"purposeLegitimateInterests",enabledIdsKey:"purposesLegint"},{experienceKey:"tcf_special_features",tcfModelKey:"specialFeatureOptins",enabledIdsKey:"specialFeatures"},{experienceKey:"tcf_vendor_consents",tcfModelKey:"vendorConsents",enabledIdsKey:"vendorsConsent"},{experienceKey:"tcf_vendor_legitimate_interests",tcfModelKey:"vendorLegitimateInterests",enabledIdsKey:"vendorsLegint"}],tn=[{cookieKey:"system_consent_preferences",experienceKey:"tcf_system_consents"},{cookieKey:"system_legitimate_interests_preferences",experienceKey:"tcf_system_legitimate_interests"}];en.filter(({experienceKey:t})=>t!=="tcf_features"&&t!=="tcf_special_purposes").map(t=>t.experienceKey);const Kt=[{i18nMessageID:"static.tcf.consent",value:Le.CONSENT.toString()},{i18nMessageID:"static.tcf.legint",value:Le.LEGITIMATE_INTERESTS.toString()}],Yt={purposesConsent:[],customPurposesConsent:[],purposesLegint:[],specialPurposes:[],features:[],specialFeatures:[],vendorsConsent:[],vendorsLegint:[]};var Ra=Object.defineProperty,Va=Object.defineProperties,Ma=Object.getOwnPropertyDescriptors,sn=Object.getOwnPropertySymbols,Ua=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable,nn=(t,e,i)=>e in t?Ra(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Ze=(t,e)=>{for(var i in e||(e={}))Ua.call(e,i)&&nn(t,i,e[i]);if(sn)for(var i of sn(e))Ba.call(e,i)&&nn(t,i,e[i]);return t},It=(t,e)=>Va(t,Ma(e)),Ga=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const Ri="fides_consent",on=365,Wt=La.withConverter({read(t){return decodeURIComponent(t)},write(t){return encodeURIComponent(t)}}),Jt=t=>t?Object.values(t).some(e=>e!==void 0):!1,rn=()=>Js(),Ha=rn(),Vi=t=>{var e;return!((e=t.fides_meta)!=null&&e.updatedAt)},an=t=>{const e=new Date;return{consent:t||{},identity:{fides_user_device_id:Ha||rn()},fides_meta:{version:"0.9.0",createdAt:e.toISOString(),updatedAt:""},tcf_consent:{}}},Zt=t=>Wt.get(t),He=()=>{const t=Zt(Ri);if(t)try{return JSON.parse(t)}catch{try{return JSON.parse(Ys.decode(t))}catch{return}}},cn=(t,e=!1)=>{const i=an(t);if(typeof document>"u")return i;if(e)return document.cookie="fides_consent=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT",i;let s=He();if(s!=null&&s.consent){const{consent:n}=s;Object.entries(n).forEach(([o,a])=>{n[o]=xt(a)})}if(!s)return i;try{"consent"in s&&"fides_meta"in s||(s=It(Ze({},i),{consent:s}));const n=Ze(Ze({},t),s.consent);return s.consent=n,s}catch(n){return console.error("Unable to read consent cookie: invalid JSON.",n),i}},ln=(t,e=!1)=>{if(typeof document>"u")return;const i=new Date().toISOString();t.fides_meta.updatedAt=i;let s=JSON.stringify(t);e&&(s=Ys.encode(s));const n=window.location.hostname.split(".");let o="";for(let a=1;a<=n.length;a+=1)if(o=n.slice(-a).join("."),Wt.set(Ri,s,{path:"/",domain:o,expires:on})){const r=He();if(r&&r.fides_meta.updatedAt===t.fides_meta.updatedAt)break}},Mi=({experience:t,cookie:e})=>{var i;if(!t.privacy_notices)return t;const s=(i=t.privacy_notices)==null?void 0:i.map(o=>{const a=Object.keys(e.consent).includes(o.notice_key)?Ee(!!e.consent[o.notice_key],o.consent_mechanism):void 0;return It(Ze({},o),{current_preference:a})});return It(Ze({},t),{privacy_notices:s})},dn=t=>{const e={};return tn.forEach(({cookieKey:i})=>{var s;const n=(s=t[i])!=null?s:[];e[i]=Object.fromEntries(n.map(o=>[o.id,Ce(o.preference)]))}),e},un=(t,e)=>{const i={};return t?.options.forEach(({cookieKeys:s,default:n})=>{if(n===void 0)return;const o=Qs(n,e);s.forEach(a=>{const r=i[a];if(r===void 0){i[a]=o;return}i[a]=r&&o})}),i},pn=(t,e=!0)=>{t.forEach(i=>{var s;if(Wt.remove(i.name,{path:(s=i.path)!=null?s:"/",domain:i.domain}),e){const{hostname:n}=window.location;Wt.remove(i.name,{domain:`.${n}`})}})},fn=t=>{const e=new Map(t.map(({notice:i,consentPreference:s})=>[i.notice_key,Ce(s)]));return Object.fromEntries(e)},vn=(t,e)=>Ga(void 0,null,function*(){return It(Ze({},t),{consent:fn(e)})}),qa=t=>{const e={};return t.privacy_notices&&t.privacy_notices.forEach(i=>{i.current_preference?e[i.notice_key]=Ce(i.current_preference):i.default_preference&&(e[i.notice_key]=Ce(i.default_preference))}),e},gn=({cookie:t,experience:e})=>{const i=qa(e);return It(Ze({},t),{consent:i})};var Ka=Object.defineProperty,Ya=(t,e,i)=>e in t?Ka(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,_n=(t,e,i)=>Ya(t,typeof e!="symbol"?e+"":e,i);class Wa{constructor(){_n(this,"cookieName","OptanonConsent"),_n(this,"migrationMethod",D.OT_MIGRATION)}getConsentCookie(){return Zt(this.cookieName)}convertToFidesConsent(e,i){if(i.otFidesMapping)try{const s=decodeURIComponent(i.otFidesMapping).replace(/^'|'$/g,""),n=JSON.parse(s),o=this.parseCookieValue(e,n);return o}catch{return}}parseCookieValue(e,i){const s={},n=e.match(/groups=([^&]*)/);return!n||!n[1]||n[1].split(",").forEach(o=>{const[a,r]=o.split(":");i[a]&&i[a].forEach(c=>{const l=r==="1";s[c]===void 0&&(s[c]=l)})}),s}}var mn=(t=>(t.ONETRUST="onetrust",t))(mn||{});const Ui=new Map;function Ja(t,e){Ui.set(t,e)}function Za(t){t.otFidesMapping&&Ja(mn.ONETRUST,new Wa)}function hn(t){let e,i;if(Array.from(Ui).some(([n,o])=>{const a=o.getConsentCookie();if(!a)return!1;const r=o.convertToFidesConsent(a,t);return r?(e=r,i=n,!0):!1}),!i)return{consent:void 0,method:void 0};const s=Ui.get(i);return{consent:e,method:s.migrationMethod}}const bn=t=>{typeof window<"u"&&!window.fidesDebugger?window.fidesDebugger=t?console.log:()=>{}:globalThis.fidesDebugger=()=>{}},ae="en",Bi="Manage preferences",Gi=/^([A-Za-z]{2,3})(?:(?:[_-]([A-Za-z0-9]{2,4}))?$|(?:(?:[_-]\w+)+))/,Qa=/^(?:([a-z]{2})(-[a-z0-9]{1,3})?|(eea))$/i,Xa=[{overrideName:"fidesEmbed",overrideType:"boolean",overrideKey:"fides_embed",validationRegex:/^(true|false)$/},{overrideName:"fidesDisableSaveApi",overrideType:"boolean",overrideKey:"fides_disable_save_api",validationRegex:/^(true|false)$/},{overrideName:"fidesDisableNoticesServedApi",overrideType:"boolean",overrideKey:"fides_disable_notices_served_api",validationRegex:/^(true|false)$/},{overrideName:"fidesDisableBanner",overrideType:"boolean",overrideKey:"fides_disable_banner",validationRegex:/^(true|false)$/},{overrideName:"fidesString",overrideType:"string",overrideKey:"fides_string",validationRegex:/(.*)/},{overrideName:"fidesTcfGdprApplies",overrideType:"boolean",overrideKey:"fides_tcf_gdpr_applies",validationRegex:/^(true|false)$/},{overrideName:"fidesLocale",overrideType:"string",overrideKey:"fides_locale",validationRegex:Gi},{overrideName:"fidesPrimaryColor",overrideType:"string",overrideKey:"fides_primary_color",validationRegex:/(.*)/},{overrideName:"fidesClearCookie",overrideType:"string",overrideKey:"fides_clear_cookie",validationRegex:/(.*)/},{overrideName:"fidesConsentOverride",overrideType:"string",overrideKey:"fides_consent_override",validationRegex:/^(accept|reject)$/},{overrideName:"otFidesMapping",overrideType:"string",overrideKey:"ot_fides_mapping",validationRegex:/(.*)/},{overrideName:"fidesDisabledNotices",overrideType:"array",overrideKey:"fides_disabled_notices",validationRegex:/(.*)/,transform:Zs},{overrideName:"fidesConsentNonApplicableFlagMode",overrideType:"string",overrideKey:"fides_consent_non_applicable_flag_mode",validationRegex:/^(omit|include)$/},{overrideName:"fidesConsentFlagType",overrideType:"string",overrideKey:"fides_consent_flag_type",validationRegex:/^(boolean|consent_mechanism)$/},{overrideName:"fidesInitializedEventMode",overrideType:"string",overrideKey:"fides_initialized_event_mode",validationRegex:/^(multiple|once|disable)$/}],ec=[{overrideName:"title",overrideType:"string",overrideKey:"fides_title",validationRegex:/(.*)/},{overrideName:"description",overrideType:"string",overrideKey:"fides_description",validationRegex:/(.*)/},{overrideName:"privacy_policy_url",overrideType:"string",overrideKey:"fides_privacy_policy_url",validationRegex:/(.*)/},{overrideName:"override_language",overrideType:"string",overrideKey:"fides_override_language",validationRegex:Gi}],tc="fides-overlay-wrapper",ic="fides-i18n-icon",Hi=["marketing","data_sales","data_sales_and_sharing","data_sales_sharing_gpp_us_state","data_sharing_gpp_us_state","data_sales_gpp_us_state","targeted_advertising_gpp_us_state","sales_sharing_targeted_advertising_gpp_us_national","sales_sharing_targeted_advertising"];var sc=Object.defineProperty,nc=Object.defineProperties,oc=Object.getOwnPropertyDescriptors,yn=Object.getOwnPropertySymbols,rc=Object.prototype.hasOwnProperty,ac=Object.prototype.propertyIsEnumerable,kn=(t,e,i)=>e in t?sc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Qt=(t,e)=>{for(var i in e||(e={}))rc.call(e,i)&&kn(t,i,e[i]);if(yn)for(var i of yn(e))ac.call(e,i)&&kn(t,i,e[i]);return t},cc=(t,e)=>nc(t,oc(e));const Qe=t=>!t||typeof t!="object"?!1:Object.keys(t).length===0||"id"in t,lc=t=>!!(t&&t.every(e=>e.default_preference===ce.OPT_IN)),Xt=t=>{if(t){if(t.location&&Qa.test(t.location))return t.location.replace("-","_").toLowerCase();if(t.country&&t.region)return`${t.country.toLowerCase()}_${t.region.toLowerCase()}`}},wn=t=>{if(typeof t!="object"||!t.fidesApiUrl||!t.privacyCenterUrl)return!1;try{new URL(t.privacyCenterUrl),new URL(t.fidesApiUrl)}catch{return!1}return!0},Cn=t=>{switch(t){case Se.OPTIONS:return Xa;case Se.EXPERIENCE_TRANSLATION:return ec;default:return null}},qi=t=>{if(!Qe(t))return!1;const e=t.experience_config;return e&&(e.component===re.MODAL||e.component===re.BANNER_AND_MODAL||e.component===re.TCF_OVERLAY||e.component===re.HEADLESS)?!(e.component===re.BANNER_AND_MODAL&&!(t.privacy_notices&&t.privacy_notices.length>0)):!1},ei=t=>t.fidesConsentOverride===D.ACCEPT||t.fidesConsentOverride===D.REJECT,dc=t=>{var e;return(e=t.default_preference)!=null?e:ce.OPT_OUT},ti=(t,e,i,s)=>{var n,o,a,r,c,l;return s!=null&&s.fidesDisableBanner||!Qe(t)?!1:((n=t.experience_config)==null?void 0:n.component)===re.TCF_OVERLAY&&e?s&&ei(s)?!1:(o=t.meta)!=null&&o.version_hash?t.meta.version_hash!==e.tcf_version_hash:!0:((a=t.experience_config)==null?void 0:a.component)===re.MODAL||((r=t.experience_config)==null?void 0:r.component)===re.HEADLESS||!((c=t?.privacy_notices)!=null&&c.length)?!1:i?s&&ei(s)?!1:e?.fides_meta.consentMethod===D.GPC?!0:!((l=t.privacy_notices)!=null&&l.every(u=>Ht(u,i))):!0},En=t=>{t[0]==="window"&&t.shift();let e=window;for(;t.length>0;){const i=t.shift();if(typeof i>"u"||typeof e[i]!="object")return;e=e[i]}return e},Ki=({value:t,notice:e,consentContext:i})=>!i.globalPrivacyControl||!e.has_gpc_flag||e.consent_mechanism===te.NOTICE_ONLY?ze.NONE:t?ze.OVERRIDDEN:ze.APPLIED,Yi=()=>{},uc=(t,e)=>t.map(i=>{var s;const n=Ee(e.includes(i.notice.notice_key),i.notice.consent_mechanism);return new Li(i.notice,n,(s=i.bestTranslation)==null?void 0:s.privacy_notice_history_id)}),jn=t=>{try{const e=JSON.stringify(t);return btoa(e.replace(/\s/g,""))}catch(e){throw new Error("Failed to encode Notice Consent string:",{cause:e})}},ii=t=>{if(!t)return{};try{const e=atob(t),i=JSON.parse(e);return Object.fromEntries(Object.entries(i).map(([s,n])=>[s,!!n]))}catch(e){throw new Error("Failed to decode Notice Consent string:",{cause:e})}},pc=({consent:t,nonApplicableNotices:e,flagType:i,mode:s=ht.OMIT})=>{if(!(e!=null&&e.length))return t;const n=Qt({},t);return s===ht.INCLUDE?e.forEach(o=>{n[o]=i===We.CONSENT_MECHANISM?ce.NOT_APPLICABLE:!0}):e.forEach(o=>{delete n[o]}),n},fc=({consent:t,flagType:e=We.BOOLEAN,consentMechanisms:i})=>{const s={};if(e!==We.CONSENT_MECHANISM)return Object.fromEntries(Object.entries(t).map(([o,a])=>[o,xt(a)]));const n=Object.values(t).some(o=>typeof o=="boolean");if(n&&!i)throw new Error("Cannot transform boolean consent values to consent mechanisms without consent mechanisms map");return n?(Object.keys(t).forEach(o=>{const a=t[o];if(typeof a=="string")s[o]=a;else{const r=i[o];s[o]=Ee(a,r)}}),s):Qt({},t)},Pt=(t,e,i=[],s,n)=>{var o,a,r;const c=Qt({},t),l=(o=window.Fides)==null?void 0:o.options,u=(a=n??l?.fidesConsentNonApplicableFlagMode)!=null?a:ht.OMIT,d=(r=s??l?.fidesConsentFlagType)!=null?r:We.BOOLEAN,g={};Object.assign(g,pc({consent:{},nonApplicableNotices:e??[],flagType:d,mode:u}));const v=i.reduce((f,_)=>cc(Qt({},f),{[_.notice_key]:_.consent_mechanism}),{});return Object.assign(g,fc({consent:c,consentMechanisms:v,flagType:d})),g},xn=t=>{const e=t.split("~")[0];return!!(e&&["1","2"].includes(e)&&t!=null&&t.match(e==="1"?/\d~[0-9.]*$/:/\d~[0-9.]*~dv.[0-9.]*$/))};var vc=Object.defineProperty,gc=Object.defineProperties,_c=Object.getOwnPropertyDescriptors,In=Object.getOwnPropertySymbols,mc=Object.prototype.hasOwnProperty,hc=Object.prototype.propertyIsEnumerable,Pn=(t,e,i)=>e in t?vc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,si=(t,e)=>{for(var i in e||(e={}))mc.call(e,i)&&Pn(t,i,e[i]);if(In)for(var i of In(e))hc.call(e,i)&&Pn(t,i,e[i]);return t},On=(t,e)=>gc(t,_c(e)),Xe=(t=>(t.FIDES="fides",t.EXTERNAL="external",t))(Xe||{}),fe=(t=>(t.TOGGLE="toggle",t.BUTTON="button",t.LINK="link",t))(fe||{});const be=(t,e,i)=>{var s,n,o,a,r,c,l,u;const d=e?si({},e):void 0;if(typeof window<"u"&&typeof CustomEvent<"u"){const g=si({consentMethod:d?.fides_meta.consentMethod},i);(s=i?.trigger)!=null&&s.origin||(g.trigger=On(si({},g.trigger),{origin:"fides"}));const v=(n=performance?.mark)==null?void 0:n.call(performance,t),f=v?.startTime,_=d;_&&d!=null&&d.consent&&(_.consent=Pt(d.consent,(a=(o=window.Fides)==null?void 0:o.experience)==null?void 0:a.non_applicable_privacy_notices,(c=(r=window.Fides)==null?void 0:r.experience)==null?void 0:c.privacy_notices));const m=new CustomEvent(t,{detail:On(si({},_),{debug:!!((u=(l=window.Fides)==null?void 0:l.options)!=null&&u.debug),extraDetails:g,timestamp:f}),bubbles:!0});window.dispatchEvent(m)}},An=(t,e)=>{const i=s=>e(s.detail);return window.addEventListener(t,i),()=>{window.removeEventListener(t,i)}},Wi=(t,e)=>{var i,s;be("FidesConsentLoaded",t,e),((s=(i=window.Fides)==null?void 0:i.options)==null?void 0:s.fidesInitializedEventMode)==="multiple"&&be("FidesInitialized",t,e)},Ji=(t,e)=>{var i,s;be("FidesReady",t,e);const n=(s=(i=window.Fides)==null?void 0:i.options)==null?void 0:s.fidesInitializedEventMode;(n==="multiple"||n==="once")&&be("FidesInitialized",t,e)};var bc=Object.defineProperty,yc=Object.defineProperties,kc=Object.getOwnPropertyDescriptors,Tn=Object.getOwnPropertySymbols,wc=Object.prototype.hasOwnProperty,Cc=Object.prototype.propertyIsEnumerable,Sn=(t,e,i)=>e in t?bc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Zi=(t,e)=>{for(var i in e||(e={}))wc.call(e,i)&&Sn(t,i,e[i]);if(Tn)for(var i of Tn(e))Cc.call(e,i)&&Sn(t,i,e[i]);return t},Ec=(t,e)=>yc(t,kc(e)),zn=(t=>(t.GVL="gvl",t.AC="gacp",t))(zn||{});const qe=t=>{const e=t.split(".");return e.length===1?{source:void 0,id:e[0]}:{source:e[0],id:e[1]}},et=(t,e)=>{if(!(e!=null&&e.vendors))return;const{source:i,id:s}=qe(t);if(i==="gvl"||i===void 0)return e.vendors[s]},jc=t=>qe(t).source==="gacp",xc=t=>{const{tcf_vendor_relationships:e=[]}=t;return e.map(i=>i.id).filter(i=>et(i,t.gvl)).map(i=>+qe(i).id)},Ic=t=>{const e=[...t.tcf_vendor_consent_ids||[],...t.tcf_vendor_legitimate_interest_ids||[]];return[...new Set(e)].filter(i=>et(i,t.gvl)).map(i=>+qe(i).id)},Ln=({consents:t,legints:e,relationships:i,isFidesSystem:s,gvl:n})=>{const o=[];return i.forEach(a=>{const r=t.find(u=>u.id===a.id),c=e.find(u=>u.id===a.id),l=Ec(Zi(Zi(Zi({},a),r),c),{isFidesSystem:s,isConsent:!!r,isLegint:!!c,isGvl:!!et(a.id,n)});o.push(l)}),o},Pc=t=>{const{tcf_vendor_consents:e=[],tcf_vendor_legitimate_interests:i=[],tcf_vendor_relationships:s=[],tcf_system_consents:n=[],tcf_system_legitimate_interests:o=[],tcf_system_relationships:a=[]}=t,r=Ln({consents:e,legints:i,relationships:s,isFidesSystem:!1,gvl:t.gvl}),c=Ln({consents:n,legints:o,relationships:a,isFidesSystem:!0,gvl:t.gvl});return[...r,...c]},Ot=t=>{if(!t)return{tc:"",ac:"",gpp:"",nc:""};const[e="",i="",s="",n=""]=t.split(qt);return e?{tc:e,ac:i,gpp:s,nc:n}:{tc:"",ac:"",gpp:s,nc:n}},Oc=t=>{if(!xn(t))return[];const[,e=""]=t.split("~");return e?e.split(".").map(i=>`${zn.AC}.${i}`):[]},Ac=()=>typeof window.blueConicClient<"u"&&typeof window.blueConicClient.event<"u"&&typeof window.blueConicClient.event.subscribe<"u",ni=()=>{var t,e,i;if(!Ac()||!((t=window.blueConicClient)!=null&&t.profile))return;const s=(i=(e=window.blueConicClient)==null?void 0:e.profile)==null?void 0:i.getProfile(),{consent:n}=window.Fides,o=n!==void 0&&Object.entries(n).length>0,a=Hi.some(r=>n[r]);!o||a?(s.setConsentedObjectives(["iab_purpose_1","iab_purpose_2","iab_purpose_3","iab_purpose_4"]),s.setRefusedObjectives([])):(s.setConsentedObjectives(["iab_purpose_1"]),s.setRefusedObjectives(["iab_purpose_2","iab_purpose_3","iab_purpose_4"])),window.blueConicClient.profile.updateProfile()},Tc=({approach:t="onetrust"}={approach:"onetrust"})=>{if(t!=="onetrust")throw new Error("Unsupported approach");window.addEventListener("FidesReady",ni),window.addEventListener("FidesUpdated",ni),window.addEventListener("onBlueConicLoaded",ni),ni()},Nn=(t,e)=>{var i,s,n,o,a,r,c,l,u,d,g,v,f,_;const m=(i=window.dataLayer)!=null?i:[];window.dataLayer=m;const{detail:h,type:y}=t,{consent:b,extraDetails:w,fides_string:j,timestamp:S}=h;let Z=b;const I=(a=(o=e?.flag_type)!=null?o:(n=(s=window.Fides)==null?void 0:s.options)==null?void 0:n.fidesConsentFlagType)!=null?a:We.BOOLEAN,$=(u=(l=e?.non_applicable_flag_mode)!=null?l:(c=(r=window.Fides)==null?void 0:r.options)==null?void 0:c.fidesConsentNonApplicableFlagMode)!=null?u:ht.OMIT,T=(v=(g=(d=window.Fides)==null?void 0:d.experience)==null?void 0:g.privacy_notices)!=null?v:[],B=(_=(f=window.Fides)==null?void 0:f.experience)==null?void 0:_.non_applicable_privacy_notices;Z=Pt(b,B,T,I,$);const pe={consent:Z,extraDetails:w,fides_string:j,timestamp:S};m.push({event:y,Fides:pe})},Sc=t=>{var e,i;if(Object.entries({FidesInitializing:!1,FidesInitialized:!0,FidesConsentLoaded:!0,FidesReady:!0,FidesUpdating:!0,FidesUpdated:!0,FidesUIChanged:!0,FidesUIShown:!0,FidesModalClosed:!0}).filter(([,s])=>s).map(([s])=>s).forEach(s=>{window.addEventListener(s,n=>Nn(n,t))}),(e=window.Fides)!=null&&e.initialized){const{consent:s,fides_meta:n,identity:o,tcf_consent:a}=window.Fides,r=(i=performance?.getEntriesByName("FidesInitialized")[0])==null?void 0:i.startTime;Nn({type:"FidesInitialized",detail:{consent:s,fides_meta:n,identity:o,tcf_consent:a,timestamp:r,extraDetails:{consentMethod:n?.consentMethod}}},t)}},zc=()=>{if(window.fbq)return window.fbq;const t={queue:[],loaded:!0,version:"2.0",push(...e){const i=window.fbq;i.callMethod?i.callMethod(...e):i.queue.push(e)}};return window.fbq=Object.assign(t.push,t),window._fbq=window.fbq,window.fbq},Lc=t=>{const e=zc();e("consent",t.consent?"grant":"revoke"),t.dataUse?e("dataProcessingOptions",[]):e("dataProcessingOptions",["LDU"],1,1e3)},Nc={marketing:Hi,sale_of_data:Hi,analytics:["analytics"],preferences:["functional"]};function $c(t,e){var i;const s=Object.fromEntries(Object.entries(t).map(([o,a])=>[o,xt(a)])),n={};return Object.entries(Nc).forEach(([o,a])=>{const r=a.some(l=>s[l]===!0),c=a.some(l=>s[l]===!1);r?n[o]=!0:c&&(n[o]=!1)}),n.sale_of_data===void 0&&(n.sale_of_data=(i=e?.sale_of_data_default)!=null?i:!1),n}const oi=(t,e)=>{window.Shopify.customerPrivacy.setTrackingConsent($c(t,e),()=>{})},$n=t=>{var e,i;(e=window.Shopify)!=null&&e.customerPrivacy||console.error("Fides could not access Shopify's customerPrivacy API"),window.addEventListener("FidesReady",s=>oi(s.detail.consent,t)),window.addEventListener("FidesUpdating",s=>oi(s.detail.consent,t)),window.addEventListener("FidesUpdated",s=>oi(s.detail.consent,t)),(i=window.Fides)!=null&&i.initialized&&window.Fides.cookie&&oi(window.Fides.cookie.consent,t)},Fc=t=>{let e,i;const s=()=>{clearTimeout(e),clearTimeout(i)},n=()=>{if(window.Shopify){if(s(),window.Shopify.customerPrivacy){$n(t);return}window.Shopify.loadFeatures([{name:"consent-tracking-api",version:"0.1"}],o=>{if(o)throw Error("Fides could not load Shopify's consent-tracking-api");$n(t)});return}i=setTimeout(n,200)};e=setTimeout(()=>{throw s(),Error("Fides.shopify was called but Shopify is not present in the page after 3 seconds.")},3e3),n()};var Dc={"static.gpc":"\u0627\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064A \u0641\u064A \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629","static.gpc.description":"\u062A\u0645 \u062A\u0637\u0628\u064A\u0642 \u062A\u0641\u0636\u064A\u0644\u0643 \u0644\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064A \u0641\u064A \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629. \u0644\u0642\u062F \u0623\u0644\u063A\u064A \u0627\u0634\u062A\u0631\u0627\u0643\u0643 \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627 \u0641\u064A \u062D\u0627\u0644\u0627\u062A \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u062A\u064A \u062A\u0644\u062A\u0632\u0645 \u0628\u0627\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064A \u0641\u064A \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629.","static.gpc.status.applied":"\u062A\u0645 \u0627\u0644\u062A\u0637\u0628\u064A\u0642","static.gpc.status.overridden":"\u062A\u0645 \u0627\u0644\u062A\u062C\u0627\u0648\u0632","static.gpc.title":"\u062A\u0645 \u0627\u0643\u062A\u0634\u0627\u0641 \u0627\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064A \u0641\u064A \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629"},Rc={"static.gpc":"\u0413\u043B\u043E\u0431\u0430\u043B\u043D\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043B\u0438\u0447\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438","static.gpc.description":"\u0412\u0430\u0448\u0435\u0442\u043E \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0438\u0442\u0430\u043D\u0438\u0435 \u0437\u0430 \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043B\u0438\u0447\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438 \u0435 \u0437\u0430\u0447\u0435\u0442\u0435\u043D\u043E. \u0412\u0438\u0435 \u0441\u0442\u0435 \u0431\u0438\u043B\u0438 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u043E \u0438\u0437\u043A\u043B\u044E\u0447\u0435\u043D\u0438 \u043E\u0442 \u0441\u043B\u0443\u0447\u0430\u0438\u0442\u0435 \u043D\u0430 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u043D\u0435 \u043D\u0430 \u0434\u0430\u043D\u043D\u0438, \u043A\u043E\u0438\u0442\u043E \u0441\u0435 \u043E\u0442\u043D\u0430\u0441\u044F\u0442 \u043A\u044A\u043C \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043B\u0438\u0447\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438.","static.gpc.status.applied":"\u041F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u043E","static.gpc.status.overridden":"\u041F\u0440\u0435\u043C\u0430\u0445\u043D\u0430\u0442\u043E","static.gpc.title":"\u041E\u0442\u043A\u0440\u0438\u0442\u043E \u0435 \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043B\u0438\u0447\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438"},Vc={"static.gpc":"Globalna kontrola privatnosti","static.gpc.description":"Va\u0161 izbor globalne kontrole privatnosti je uva\u017Een. Automatski ste isklju\u010Deni iz slu\u010Dajeva kori\u0161tenja podataka koji se pridr\u017Eavaju globalne kontrole privatnosti.","static.gpc.status.applied":"Prihva\u0107ena","static.gpc.status.overridden":"Odbijena","static.gpc.title":"Otkrivena je Globalna kontrola privatnosti"},Mc={"static.gpc":"Control de privadesa global","static.gpc.description":"S\u2019ha respectat la vostra prefer\xE8ncia pel que fa al control de privadesa global. Se us ha excl\xF2s autom\xE0ticament dels casos d\u2019\xFAs de dades que s\u2019adhereixen al control de privadesa global.","static.gpc.status.applied":"Aplicat","static.gpc.status.overridden":"Anul\xB7lat","static.gpc.title":"Control de privadesa global detectat"},Uc={"static.gpc":"Glob\xE1ln\xED kontrola ochrany osobn\xEDch \xFAdaj\u016F","static.gpc.description":"Byly dodr\u017Eeny va\u0161e glob\xE1ln\xED preference ochrany osobn\xEDch \xFAdaj\u016F. Automaticky jste byli vy\u0159azeni z pou\u017E\xEDv\xE1n\xED \xFAdaj\u016F v p\u0159\xEDpadech, na kter\xE9 se vztahuje glob\xE1ln\xED ochrana osobn\xEDch \xFAdaj\u016F.","static.gpc.status.applied":"Aplikov\xE1no","static.gpc.status.overridden":"P\u0159eps\xE1no","static.gpc.title":"Bylo zji\u0161t\u011Bna glob\xE1ln\xED kontrola ochrany osobn\xEDch \xFAdaj\u016F"},Bc={"static.gpc":"Global fortrolighedskontrol","static.gpc.description":"Din pr\xE6ference i forbindelse med global fortrolighedskontrol er blevet efterkommet. Du er automatisk blevet frameldt tilf\xE6lde af databrug, der overholder global fortrolighedskontrol.","static.gpc.status.applied":"Anvendt","static.gpc.status.overridden":"Tilsidesat","static.gpc.title":"Der blev p\xE5vist global fortrolighedskontrol"},Gc={"static.gpc":"Globale Datenschutzeinstellungen","static.gpc.description":"Ihre globale Datenschutzeinstellungen werden ber\xFCcksichtigt. Sie wurden automatisch von Anwendungsf\xE4llen ausgenommen, die nicht Ihren globalen Datenschutzeinstellungen unterliegen.","static.gpc.status.applied":"Angewendet","static.gpc.status.overridden":"\xDCberschrieben","static.gpc.title":"Globale Datenschutzeinstellungen entdeckt"},Hc={"static.gpc":"\u039A\u03B1\u03B8\u03BF\u03BB\u03B9\u03BA\u03CC\u03C2 \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF\u03C2 \u03B1\u03C0\u03BF\u03C1\u03C1\u03AE\u03C4\u03BF\u03C5","static.gpc.description":"\u0397 \u03C0\u03C1\u03BF\u03C4\u03AF\u03BC\u03B7\u03C3\u03AE \u03C3\u03B1\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03BF\u03BD \u03BA\u03B1\u03B8\u03BF\u03BB\u03B9\u03BA\u03CC \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF \u03B1\u03C0\u03BF\u03C1\u03C1\u03AE\u03C4\u03BF\u03C5 \u03AD\u03C7\u03B5\u03B9 \u03C4\u03B7\u03C1\u03B7\u03B8\u03B5\u03AF. \u0388\u03C7\u03B5\u03C4\u03B5 \u03B5\u03BE\u03B1\u03B9\u03C1\u03B5\u03B8\u03B5\u03AF \u03B1\u03C5\u03C4\u03CC\u03BC\u03B1\u03C4\u03B1 \u03B1\u03C0\u03CC \u03C0\u03B5\u03C1\u03B9\u03C0\u03C4\u03CE\u03C3\u03B5\u03B9\u03C2 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2 \u03B4\u03B5\u03B4\u03BF\u03BC\u03AD\u03BD\u03C9\u03BD \u03C0\u03BF\u03C5 \u03C3\u03C5\u03BC\u03BC\u03BF\u03C1\u03C6\u03CE\u03BD\u03BF\u03BD\u03C4\u03B1\u03B9 \u03BC\u03B5 \u03C4\u03BF\u03BD \u03BA\u03B1\u03B8\u03BF\u03BB\u03B9\u03BA\u03CC \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF \u03B1\u03C0\u03BF\u03C1\u03C1\u03AE\u03C4\u03BF\u03C5.","static.gpc.status.applied":"\u0395\u03C6\u03B1\u03C1\u03BC\u03CC\u03C3\u03C4\u03B7\u03BA\u03B5","static.gpc.status.overridden":"\u03A0\u03B1\u03C1\u03B1\u03BA\u03AC\u03BC\u03C6\u03B8\u03B7\u03BA\u03B5","static.gpc.title":"\u0395\u03BD\u03C4\u03BF\u03C0\u03AF\u03C3\u03C4\u03B7\u03BA\u03B5 \u03BA\u03B1\u03B8\u03BF\u03BB\u03B9\u03BA\u03CC\u03C2 \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF\u03C2 \u03B1\u03C0\u03BF\u03C1\u03C1\u03AE\u03C4\u03BF\u03C5"},qc={"static.gpc":"Global Privacy Control","static.gpc.description":"Your global privacy control preference has been honored. You have been automatically opted out of data use cases which adhere to global privacy control.","static.gpc.status.applied":"Applied","static.gpc.status.overridden":"Overridden","static.gpc.title":"Global Privacy Control detected"},Kc={"static.gpc":"Control de privacidad global","static.gpc.description":"Su preferencia de control de privacidad global se ha respetado. Se le ha excluido autom\xE1ticamente de los casos de uso de datos que se adhieren al control de privacidad global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Control de privacidad global detectado"},Yc={"static.gpc":"Control de privacidad global","static.gpc.description":"Su preferencia de control de privacidad global se ha respetado. Se le excluy\xF3 autom\xE1ticamente de los casos de uso de datos que se adhieren al control de privacidad global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Control de privacidad global detectado"},Wc={"static.gpc":"\xDCldine andmekaitsekontroll","static.gpc.description":"Teie \xFCldist andmekaitse-eelistust on arvestatud. Teid on automaatselt v\xE4lja arvatud andmete kasutamise juhtudest, mis j\xE4rgivad \xFCldist andmekaitsekontrolli.","static.gpc.status.applied":"Rakendatud","static.gpc.status.overridden":"T\xFChistatud","static.gpc.title":"Tuvastatud \xFCldine andmekaitsekontroll"},Jc={"static.gpc":"Pribatutasun-kontrol globala","static.gpc.description":"Pribatutasun-kontrol globalaren lehentasuna bete da. Pribatutasun-kontrol globalari atxikitzen zaizkion datuen erabileren kasuetatik automatikoki baztertua izan zara.","static.gpc.status.applied":"Ezarrita","static.gpc.status.overridden":"Baliogabetuta","static.gpc.title":"Pribatutasun-kontrol globala antzeman da"},Zc={"static.gpc":"Maailmanlaajunen tietosuojavalvonta","static.gpc.description":"Maailmanlaajuinen tietosuojavalvontanne on vahvistettu. Teid\xE4t on automaattisesti poistettu tietojen k\xE4ytt\xF6tapauksista, jotka noudattavat maailmanlaajuista tietosuojavalvontaa.","static.gpc.status.applied":"K\xE4yt\xF6ss\xE4","static.gpc.status.overridden":"Ohitettu","static.gpc.title":"Maailmanlaajuinen tietosuojavalvonta havaittu"},Qc={"static.gpc":"Global Privacy Control","static.gpc.description":"Votre pr\xE9f\xE9rence en mati\xE8re de contr\xF4le global de la confidentialit\xE9 (GPC) a \xE9t\xE9 respect\xE9e. Vous avez automatiquement \xE9t\xE9 retir\xE9 des cas d\u2019usage des donn\xE9es qui adh\xE8rent au GPC.","static.gpc.status.applied":"Appliqu\xE9","static.gpc.status.overridden":"Ignor\xE9","static.gpc.title":"Global Privacy Control (GPC) d\xE9tect\xE9"},Xc={"static.gpc":"Contr\xF4le mondial de confidentialit\xE9","static.gpc.description":"Votre pr\xE9f\xE9rence en mati\xE8re de contr\xF4le mondial de confidentialit\xE9 a \xE9t\xE9 honor\xE9e. Vous avez \xE9t\xE9 automatiquement \xE9cart\xE9 des cas d'utilisation de donn\xE9es qui adh\xE8rent au contr\xF4le mondial de confidentialit\xE9.","static.gpc.status.applied":"Appliqu\xE9","static.gpc.status.overridden":"Annul\xE9","static.gpc.title":"Contr\xF4le mondial de confidentialit\xE9 d\xE9tect\xE9"},el={"static.gpc":"Control de privacidade global","static.gpc.description":"Respetouse a s\xFAa preferencia de control de privacidade global. Foi automaticamente exclu\xEDdo dos casos de uso de datos que cumpren o control de privacidade global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Control de privacidade global detectado"},tl={"static.gpc":"\u0935\u0948\u0936\u094D\u0935\u093F\u0915 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u093F\u092F\u0902\u0924\u094D\u0930\u0923","static.gpc.description":"\u0906\u092A\u0915\u0940 \u0935\u0948\u0936\u094D\u0935\u093F\u0915 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u093F\u092F\u0902\u0924\u094D\u0930\u0923 \u0935\u0930\u0940\u092F\u0924\u093E\u0913\u0902 \u0915\u093E \u0938\u092E\u094D\u092E\u093E\u0928 \u0915\u093F\u092F\u093E \u0917\u092F\u093E\u0964 \u0906\u092A\u0915\u094B \u0935\u0948\u0936\u094D\u0935\u093F\u0915 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u093F\u092F\u0902\u0924\u094D\u0930\u0923 \u0915\u093E \u092A\u093E\u0932\u0928 \u0915\u0930\u0928\u0947 \u0935\u093E\u0932\u0947 \u0921\u0947\u091F\u093E \u0909\u092A\u092F\u094B\u0917 \u092E\u093E\u092E\u0932\u094B\u0902 \u0938\u0947 \u0938\u094D\u0935\u091A\u093E\u0932\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 \u092C\u093E\u0939\u0930 \u0915\u0930 \u0926\u093F\u092F\u093E \u0917\u092F\u093E \u0939\u0948\u0964","static.gpc.status.applied":"\u0932\u093E\u0917\u0942 \u0915\u093F\u092F\u093E","static.gpc.status.overridden":"\u0913\u0935\u0930\u0930\u093E\u0907\u0921 \u0915\u093F\u092F\u093E","static.gpc.title":"\u0935\u0948\u0936\u094D\u0935\u093F\u0915 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u093F\u092F\u0902\u0924\u094D\u0930\u0923 \u0915\u093E \u092A\u0924\u093E \u091A\u0932\u093E"},il={"static.gpc":"Globalna kontrola privatnosti","static.gpc.description":"Po\u0161tuju se va\u0161e preferencije globalne kontrole privatnosti. Automatski se isklju\u010Deni iz slu\u010Dajeve kori\u0161tenja podataka koji se pridr\u017Eavaju globalne kontrole privatnosti.","static.gpc.status.applied":"Primijenjeno","static.gpc.status.overridden":"Premo\u0161\u0107eno","static.gpc.title":"Primije\u0107ena je Globalna kontrola privatnosti (Global Privacy Control)"},sl={"static.gpc":"Glob\xE1lis adatv\xE9delmi szab\xE1lyoz\xE1s","static.gpc.description":"A glob\xE1lis adatv\xE9delmi szab\xE1lyoz\xE1ssal kapcsolatos be\xE1ll\xEDt\xE1sai el lettek fogadva. Automatikusan kiker\xFClt azokb\xF3l az adatfelhaszn\xE1l\xE1si esetekb\u0151l, amelyek a glob\xE1lis adatv\xE9delmi szab\xE1lyoz\xE1shoz tartoznak.","static.gpc.status.applied":"Alkalmazva","static.gpc.status.overridden":"Fel\xFCl\xEDrva","static.gpc.title":"Glob\xE1lis adatv\xE9delmi szab\xE1lyoz\xE1s \xE9szlelve"},nl={"static.gpc":"Controllo Globale della Privacy","static.gpc.description":"Le tue preferenze del Controllo Globale della Privacy sono state prese in carico. Sei stato automaticamente escluso dai casi di utilizzo dei dati che corrispondono al Controllo Globale della Privacy.","static.gpc.status.applied":"Applicato","static.gpc.status.overridden":"Non applicato","static.gpc.title":"Controllo Globale della Privacy rilevato"},ol={"static.gpc":"\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB","static.gpc.description":"\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u306E\u8A2D\u5B9A\u306F\u5C0A\u91CD\u3055\u308C\u307E\u3059\u3002\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u306B\u5F93\u3046\u30C7\u30FC\u30BF\u306E\u30E6\u30FC\u30B9\u30B1\u30FC\u30B9\u304B\u3089\u306F\u81EA\u52D5\u7684\u306B\u30AA\u30D7\u30C8\u30A2\u30A6\u30C8\u3055\u308C\u3066\u3044\u307E\u3059\u3002","static.gpc.status.applied":"\u9069\u7528","static.gpc.status.overridden":"\u5909\u66F4","static.gpc.title":"\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u3092\u691C\u51FA\u3057\u307E\u3057\u305F"},rl={"static.gpc":"Visuotin\u0117 privatumo kontrol\u0117","static.gpc.description":"Buvo atsi\u017Evelgta \u012F j\u016Bs\u0173 visuotin\u0117s privatumo kontrol\u0117s pageidavim\u0105. Buvote automati\u0161kai at\u0161auktas i\u0161 duomen\u0173 naudojimo atvej\u0173, kai laikomasi visuotin\u0117s privatumo kontrol\u0117s.","static.gpc.status.applied":"Taikoma","static.gpc.status.overridden":"Nebegaliojantis","static.gpc.title":"Aptikta visuotin\u0117 privatumo kontrol\u0117"},al={"static.gpc":"Glob\u0101l\u0101 priv\u0101tuma kontrole","static.gpc.description":"M\u0113s esam izpild\u012Bju\u0161i j\u016Bsu pras\u012Bbu kontrol\u0113t glob\u0101lo priv\u0101tumu. P\u0113c noklus\u0113juma esat no\u0146emts no datu lietojuma pieteikumiem, kas atbilst glob\u0101lajai priv\u0101tuma kontrolei.","static.gpc.status.applied":"Pielietots","static.gpc.status.overridden":"Ignor\u0113ts","static.gpc.title":"Konstat\u0113ta glob\u0101l\u0101 priv\u0101tuma kontrole"},cl={"static.gpc":"Kontroll Globali tal-Privatezza","static.gpc.description":"Il-preferenza globali tieg\u0127ek g\u0127all-kontroll tal-privatezza \u0121iet onorata. Inti awtomatikament g\u0127a\u017Cilt li ma tibqax tu\u017Ca d-dejta f'ka\u017Cijiet li jirrispettaw il-kontroll globali tal-privatezza.","static.gpc.status.applied":"Applikat","static.gpc.status.overridden":"Maqbu\u017Ca","static.gpc.title":"Instab il-Kontroll Globali tal-Privatezza"},ll={"static.gpc":"Global Privacy Control","static.gpc.description":"Uw Global Privacy Control-voorkeur wordt gerespecteerd. U bent automatisch afgemeld voor gegevensgebruiksscenario's die zich houden aan Global Privacy Control.","static.gpc.status.applied":"Toegepast","static.gpc.status.overridden":"Genegeerd","static.gpc.title":"Global Privacy Control gedetecteerd"},dl={"static.gpc":"Globale personverninnstillinger","static.gpc.description":"Preferansene dine vedr\xF8rende de globale personverninnstilingene dine er godtatt. Du har automatisk takket nei til databruksaker som f\xF8lger globale personverninnstillinger.","static.gpc.status.applied":"Anvendt","static.gpc.status.overridden":"Overstyrt","static.gpc.title":"Globale personverninnstillinger er oppdaget"},ul={"static.gpc":"Og\xF3lna kontrola prywatno\u015Bci","static.gpc.description":"Twoja preferencja dotycz\u0105ca og\xF3lnej kontroli prywatno\u015Bci zosta\u0142a uwzgl\u0119dniona. Automatycznie odm\xF3wiono zgody na Twoje przypadki wykorzystania danych, kt\xF3re s\u0105 zgodne z Og\xF3ln\u0105 kontrol\u0105 prywatno\u015Bci.","static.gpc.status.applied":"Zastosowano","static.gpc.status.overridden":"Nadpisano","static.gpc.title":"Wykryta Og\xF3lna kontrola prywatno\u015Bci"},pl={"static.gpc":"Controle de Privacidade Global","static.gpc.description":"Sua prefer\xEAncia global de controle de privacidade foi respeitada. Voc\xEA foi automaticamente removido dos casos de uso de dados que aderem ao controle de privacidade global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Controle de Privacidade Global detectado"},fl={"static.gpc":"Controlo de Privacidade Global","static.gpc.description":"A sua prefer\xEAncia de controlo de privacidade global foi honrada. Foi automaticamente exclu\xEDdo/a dos casos de utiliza\xE7\xE3o de dados que aderem ao controlo de privacidade global.","static.gpc.status.applied":"Aplicado","static.gpc.status.overridden":"Anulado","static.gpc.title":"Controlo de Privacidade Global detetado"},vl={"static.gpc":"Control global al confiden\u021Bialit\u0103\u021Bii","static.gpc.description":"Preferin\u021Ba dvs. de control global al confiden\u021Bialit\u0103\u021Bii a fost onorat\u0103. A\u021Bi fost exclus(\u0103) automat de la cazurile de utilizare a datelor care respect\u0103 controlul global al confiden\u021Bialit\u0103\u021Bii.","static.gpc.status.applied":"Aplicat","static.gpc.status.overridden":"Suprascris","static.gpc.title":"A fost detectat un control global al confiden\u021Bialit\u0103\u021Bii"},gl={"static.gpc":"Global Privacy Control","static.gpc.description":"\u0412\u0430\u0448\u0430 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 Global Privacy Control \u0443\u0447\u0442\u0435\u043D\u0430. \u0412\u044B \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0438\u0441\u043A\u043B\u044E\u0447\u0430\u0435\u0442\u0435\u0441\u044C \u0432 \u0441\u0446\u0435\u043D\u0430\u0440\u0438\u044F\u0445, \u0433\u0434\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F Global Privacy Control.","static.gpc.status.applied":"\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u043E","static.gpc.status.overridden":"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u043E","static.gpc.title":"\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 Global Privacy Control"},_l={"static.gpc":"Glob\xE1lna kontrola s\xFAkromia","static.gpc.description":"Va\u0161a predvo\u013Eba pre glob\xE1lnu kontrolu s\xFAkromia bola dodr\u017Ean\xE1. Pre pr\xEDpady pou\u017Eitia, kde sa pou\u017E\xEDva glob\xE1lna kontrola s\xFAkromia, v\xE1m bol automaticky nastaven\xFD explicitn\xFD nes\xFAhlas.","static.gpc.status.applied":"Pou\u017Eit\xE1","static.gpc.status.overridden":"Prep\xEDsan\xE1","static.gpc.title":"Bola zisten\xE1 Glob\xE1lna kontrola s\xFAkromia"},ml={"static.gpc":"Global Privacy Control","static.gpc.description":"Va\u0161a nastavitev globalnega nadzora zasebnosti je bila upo\u0161tevana. Samodejno je bilo preklicano va\u0161e soglasje za tiste primere uporabe podatkov, ki se ravnajo po globalnem nadzoru zasebnosti.","static.gpc.status.applied":"Uporabljeno","static.gpc.status.overridden":"Pregla\u0161eno","static.gpc.title":"Zaznan globalni nadzor zasebnosti \xBBGlobal Privacy Control\xAB"},hl={"static.gpc":"Global Privacy Control","static.gpc.description":"\u0412\u0430\u0448\u0430 \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u0430 \u043F\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u0435 \u043F\u0440\u0438\u0432\u0430\u0442\u043D\u043E\u0441\u0442\u0438 \u0458\u0435 \u043F\u043E\u0434\u0435\u0448\u0435\u043D\u0430. \u0410\u0443\u0442\u043E\u043C\u0430\u0442\u0441\u043A\u0438 \u0441\u0442\u0435 \u0438\u0441\u043A\u0459\u0443\u0447\u0435\u043D\u0438 \u0438\u0437 \u0441\u043B\u0443\u0447\u0430\u0458\u0435\u0432\u0430 \u0443\u043F\u043E\u0442\u0440\u0435\u0431\u0435 \u043F\u043E\u0434\u0430\u0442\u0430\u043A\u0430 \u043A\u043E\u0458\u0438 \u0441\u0443 \u0443 \u0441\u043A\u043B\u0430\u0434\u0443 \u0441\u0430 \u0433\u043B\u043E\u0431\u0430\u043B\u043D\u043E\u043C \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u043E\u043C \u043F\u0440\u0438\u0432\u0430\u0442\u043D\u043E\u0441\u0442\u0438.","static.gpc.status.applied":"\u041F\u0440\u0438\u043C\u0435\u045A\u0435\u043D\u0430","static.gpc.status.overridden":"\u0417\u0430\u043C\u0435\u045A\u0435\u043D\u0430","static.gpc.title":"Global Privacy Control \u043E\u0442\u043A\u0440\u0438\u0432\u0435\u043D"},bl={"static.gpc":"Globalna kontrola privatnosti","static.gpc.description":"Va\u0161a globalna postavka kontrole privatnosti se po\u0161tuje. Automatski ste isklju\u010Deni iz slu\u010Dajeva kori\u0161c\u0301enja podataka koji podle\u017Eu globalnoj kontroli privatnosti.","static.gpc.status.applied":"Primenjeno","static.gpc.status.overridden":"Zaobi\u0111eno","static.gpc.title":"Otkrivena je globalna kontrola privatnosti"},yl={"static.gpc":"Global integritetskontroll","static.gpc.description":"Dina preferenser f\xF6r global integritetskontroll har efterf\xF6ljts. Du har automatiskt valt bort anv\xE4ndningsfall f\xF6r uppgifter som efterf\xF6ljer global integritetskontroll.","static.gpc.status.applied":"Till\xE4mpad","static.gpc.status.overridden":"\xC5sidosatt","static.gpc.title":"Global integritetskontroll uppt\xE4cktes"},kl={"static.gpc":"Global Gizlilik Kontrol\xFC","static.gpc.description":"Global gizlilik kontrol\xFC tercihiniz yerine getirildi. Global gizlilik kontrol\xFCne uygun veri kullan\u0131m durumlar\u0131ndan otomatik olarak \xE7\u0131kar\u0131ld\u0131n\u0131z.","static.gpc.status.applied":"Uyguland\u0131","static.gpc.status.overridden":"Ge\xE7ersiz k\u0131l\u0131nd\u0131","static.gpc.title":"Global Gizlilik Kontrol\xFC tespit edildi"},wl={"static.gpc":"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456","static.gpc.description":"\u0412\u0430\u0448\u0456 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044E \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456 \u0432\u0440\u0430\u0445\u043E\u0432\u0430\u043D\u043E. \u0412\u0430\u0441 \u0431\u0443\u043B\u043E \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u043E \u0432\u0438\u043A\u043B\u044E\u0447\u0435\u043D\u043E \u0437 \u0432\u0438\u043F\u0430\u0434\u043A\u0456\u0432 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0434\u0430\u043D\u0438\u0445, \u044F\u043A\u0456 \u0434\u043E\u0442\u0440\u0438\u043C\u0443\u044E\u0442\u044C\u0441\u044F \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u044C \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044E \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456.","static.gpc.status.applied":"\u0417\u0430\u0441\u0442\u043E\u0441\u043E\u0432\u0430\u043D\u043E","static.gpc.status.overridden":"\u041F\u0435\u0440\u0435\u0432\u0438\u0437\u043D\u0430\u0447\u0435\u043D\u043E","static.gpc.title":"\u0412\u0438\u044F\u0432\u043B\u0435\u043D\u043E \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456"},Cl={"static.gpc":"\u5168\u5C40\u9690\u79C1\u63A7\u5236","static.gpc.description":"\u60A8\u7684\u5168\u5C40\u9690\u79C1\u63A7\u5236\u504F\u597D\u5DF2\u5F97\u5230\u5C0A\u91CD\u3002\u60A8\u5DF2\u81EA\u52A8\u9009\u62E9\u9000\u51FA\u7B26\u5408\u5168\u5C40\u9690\u79C1\u63A7\u5236\u7684\u6570\u636E\u4F7F\u7528\u6848\u4F8B\u3002","static.gpc.status.applied":"\u5DF2\u5E94\u7528","static.gpc.status.overridden":"\u88AB\u8986\u76D6","static.gpc.title":"\u68C0\u6D4B\u5230\u5168\u5C40\u9690\u79C1\u63A7\u5236"};const Qi={ar:Dc,bg:Rc,bs:Vc,ca:Mc,cs:Uc,da:Bc,de:Gc,el:Hc,en:qc,es:Kc,"es-MX":Yc,et:Wc,eu:Jc,fi:Zc,fr:Qc,"fr-CA":Xc,gl:el,"hi-IN":tl,hr:il,hu:sl,it:nl,ja:ol,lt:rl,lv:al,mt:cl,nl:ll,no:dl,pl:ul,"pt-BR":pl,"pt-PT":fl,ro:vl,ru:gl,sk:_l,sl:ml,"sr-Cyrl":hl,"sr-Latn":bl,sv:yl,tr:kl,uk:wl,zh:Cl},El=[{locale:"ar",label_en:"Arabic",label_original:"\u0627\u0644\u0639\u064E\u0631\u064E\u0628\u0650\u064A\u064E\u0651\u0629"},{locale:"bg",label_en:"Bulgarian",label_original:"\u0431\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A"},{locale:"bs",label_en:"Bosnian",label_original:"Bosanski Jezik"},{locale:"ca",label_en:"Catalan",label_original:"catal\xE0"},{locale:"cs",label_en:"Czech",label_original:"\u010Desk\xFD jazyk"},{locale:"da",label_en:"Danish",label_original:"Dansk"},{locale:"de",label_en:"German",label_original:"Deutsch"},{locale:"el",label_en:"Greek",label_original:"\u03B5\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC"},{locale:"en",label_en:"English",label_original:"English"},{locale:"es",label_en:"Spanish",label_original:"Espa\xF1ol"},{locale:"es-MX",label_en:"Spanish (Mexico)",label_original:"Espa\xF1ol - MX"},{locale:"et",label_en:"Estonian",label_original:"Eesti"},{locale:"eu",label_en:"Basque",label_original:"euskara"},{locale:"fi",label_en:"Finnish",label_original:"Suomi"},{locale:"fr",label_en:"French",label_original:"Fran\xE7ais"},{locale:"fr-CA",label_en:"French (Canada)",label_original:"Fran\xE7ais - CA"},{locale:"gl",label_en:"Galician",label_original:"Galego"},{locale:"hi-IN",label_en:"Hindi (India)",label_original:"\u0939\u093F\u0928\u094D\u0926\u0940"},{locale:"hr",label_en:"Croatian",label_original:"Hrvatski Jezik"},{locale:"hu",label_en:"Hungarian",label_original:"magyar"},{locale:"it",label_en:"Italian",label_original:"Italiano"},{locale:"ja",label_en:"Japanese",label_original:"\u65E5\u672C\u8A9E"},{locale:"lt",label_en:"Lithuanian",label_original:"lietuvi\u0173 kalba"},{locale:"lv",label_en:"Latvian",label_original:"latvie\u0161u valoda"},{locale:"mt",label_en:"Maltese",label_original:"Malti"},{locale:"nl",label_en:"Dutch",label_original:"Nederlands"},{locale:"no",label_en:"Norwegian",label_original:"Norsk"},{locale:"pl",label_en:"Polish",label_original:"Polski"},{locale:"pt-BR",label_en:"Portuguese (Brazil)",label_original:"Portugu\xEAs - BR"},{locale:"pt-PT",label_en:"Portuguese (Portugal)",label_original:"Portugu\xEAs - PT"},{locale:"ro",label_en:"Romanian",label_original:"limba rom\xE2n\u0103"},{locale:"ru",label_en:"Russian",label_original:"\u0440\u0443\u0441\u0441\u043A\u0438\u0439 \u044F\u0437\u044B\u043A"},{locale:"sk",label_en:"Slovak",label_original:"sloven\u010Dina"},{locale:"sl",label_en:"Slovenian",label_original:"Slovenski Jezik"},{locale:"sr-Cyrl",label_en:"Serbian (Cyrillic)",label_original:"\u0441\u0440\u043F\u0441\u043A\u0438"},{locale:"sr-Latn",label_en:"Serbian (Latin)",label_original:"Srpski"},{locale:"sv",label_en:"Swedish",label_original:"Sverige"},{locale:"tr",label_en:"Turkish",label_original:"T\xFCrk\xE7e"},{locale:"uk",label_en:"Ukrainian",label_original:"\u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430 \u043C\u043E\u0432\u0430"},{locale:"zh",label_en:"Chinese",label_original:"\u4E2D\u6587"}];var jl=Object.defineProperty,Fn=Object.getOwnPropertySymbols,xl=Object.prototype.hasOwnProperty,Il=Object.prototype.propertyIsEnumerable,Dn=(t,e,i)=>e in t?jl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,je=(t,e)=>{for(var i in e||(e={}))xl.call(e,i)&&Dn(t,i,e[i]);if(Fn)for(var i of Fn(e))Il.call(e,i)&&Dn(t,i,e[i]);return t};function Ne(t,e){return t.toLowerCase().replaceAll("_","-")===e.toLowerCase().replaceAll("_","-")}function Pl(t,e){const i={},s=["accept_button_label","acknowledge_button_label","banner_description","banner_title","description","purpose_header","privacy_policy_link_label","privacy_policy_url","privacy_preferences_link_label","reject_button_label","save_button_label","title","modal_link_label"];if(t.translations)t.translations.forEach(n=>{const o=n.language;let a=!1;e!=null&&e.override_language&&(a=Ne(e.override_language,o));const r={};s.forEach(c=>{let l=null;e&&(a||c==="privacy_policy_url")&&(l=c in e?e[c]:null);const u=n[c];typeof u=="string"&&(r[`exp.${c}`]=l||u)}),i[o]=je(je({},r),i[o])});else{const n=ae,o={};s.forEach(a=>{const r=t[a];typeof r=="string"&&(o[`exp.${a}`]=r)}),i[n]=je(je({},o),i[n])}return i}function Rn(t){var e;if((e=t?.experience_config)!=null&&e.translations){const{translations:i}=t.experience_config,s=i.find(n=>n.is_default);return s?.language}}function Vn(t,e){const i={};return e.forEach(s=>{const n=Object.keys(t).find(o=>Ne(o,s));if(n){const o=t[n],a={};["purposes","specialPurposes","features","specialFeatures","stacks","dataCategories"].forEach(r=>{const c=o[r]||{};Object.keys(c).forEach(l=>{const u=c[l],d=`exp.tcf.${r}.${l}`;a[`${d}.name`]=u.name,a[`${d}.description`]=u.description,u.illustrations&&u.illustrations.length>0&&u.illustrations.forEach((g,v)=>{a[`${d}.illustrations.${v}`]=g})})}),i[s]=je(je({},a),i[s])}}),i}function Ol(t){return Object.keys(Qi).forEach(e=>{t.load(e,Qi[e])}),Object.keys(Qi)}function Mn(t,e,i){var s;const n={},o=(s=e.available_locales)!=null&&s.length?e.available_locales:[ae];if(e!=null&&e.experience_config){const a=e.experience_config,r=Pl(a,i);Object.keys(r).forEach(c=>{n[c]=je(je({},r[c]),n[c])})}o.forEach(a=>{t.load(a,n[a])})}function Un(t,e){if(!e.gvl)return;const{locale:i}=t,s={};s[i]=e.gvl;const n=Vn(s,[i]);t.load(i,n[i])}function Bn(t,e,i){const s=Vn(e,i);i.forEach(n=>{t.load(n,s[n])})}function Gn(t){return t.locale}function Hn(t,e,i=ae){const s=t?.language;return e||s||i}function qn(t,e,i=ae){const s=t.match(Gi);if(s){const[n,o]=s,a=e.find(c=>Ne(c,n));if(a)return a;const r=e.find(c=>Ne(c,o));if(r)return r}return i}function bt(t,e){return t.t(e)!==""&&t.t(e)!==e}function Xi(t,e,i){if(!i||!i.translations)return null;if(t){const n=i.translations.find(o=>Ne(o.language,t));if(n)return n}return i.translations.find(n=>Ne(n.language,e))||i.translations[0]||null}function ri(t,e,i){if(!i||!i.translations)return null;if(t){const n=i.translations.find(o=>Ne(o.language,t));if(n)return n}return i.translations.find(n=>Ne(n.language,e))||i.translations[0]||null}function Al(t,e,i,s,n){var o,a,r,c,l;Ol(t);const u=(o=i.available_locales)!=null&&o.length?i.available_locales:[ae];Mn(t,i,n);const d=El.filter(m=>u.includes(m.locale)),g=d.findIndex(m=>Ne(m.locale,t.getDefaultLocale()));g>0&&d.unshift(d.splice(g,1)[0]),t.setAvailableLanguages(d);const v=Rn(i)||ae;t.setDefaultLocale(v);let f=v;((a=i.experience_config)==null?void 0:a.auto_detect_language)===!1||(f=Hn(e,s?.fidesLocale,v));const _=qn(f,u||[],t.getDefaultLocale());if((c=(r=i.experience_config)==null?void 0:r.translations)!=null&&c.find(m=>m.language===_))t.activate(_);else{const m=ri(_,v,i.experience_config);m?.language,t.activate(m?.language||_)}((l=i.experience_config)==null?void 0:l.component)===re.TCF_OVERLAY&&i.gvl&&Un(t,i)}function Tl(){let t=[],e=ae,i=ae;const s={};return{setAvailableLanguages(n){t=n},get availableLanguages(){return t},activate:n=>{i=n},getDefaultLocale:()=>e,setDefaultLocale:n=>{e=n},get locale(){return i},load:(n,o)=>{s[n]=je(je({},s[n]),o)},t:n=>{if(typeof n>"u")throw new TypeError("Unexpected type for descriptor or id!");let o;if(typeof n=="string")o=n;else if(typeof n=="object"&&n.id)o=n.id;else return"";return i&&i in s&&o&&o in s[i]&&s[i][o]?s[i][o]:o}}}const Sl=(t,e,i)=>{var s;let n=Bi;if(!t)e.t("exp.modal_link_label")!=="exp.modal_link_label"&&(n=e.t("exp.modal_link_label"));else{const o=e.getDefaultLocale(),a=(s=i?.experience_config)==null?void 0:s.translations.find(r=>r.language===o);a!=null&&a.modal_link_label&&(n=a.modal_link_label)}return n};function zl(t){return Array.from(t).length}var Ll=Object.defineProperty,Nl=Object.defineProperties,$l=Object.getOwnPropertyDescriptors,Kn=Object.getOwnPropertySymbols,Fl=Object.prototype.hasOwnProperty,Dl=Object.prototype.propertyIsEnumerable,Yn=(t,e,i)=>e in t?Ll(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,At=(t,e)=>{for(var i in e||(e={}))Fl.call(e,i)&&Yn(t,i,e[i]);if(Kn)for(var i of Kn(e))Dl.call(e,i)&&Yn(t,i,e[i]);return t},es=(t,e)=>Nl(t,$l(e)),ai=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())}),Rl=(t=>(t.PRIVACY_EXPERIENCE="/privacy-experience",t.PRIVACY_PREFERENCES="/privacy-preferences",t.GVL_TRANSLATIONS="/privacy-experience/gvl/translations",t.NOTICES_SERVED="/notices-served",t))(Rl||{});function Vl(){return{}}const Wn=t=>ai(void 0,[t],function*({userLocationString:e,userLanguageString:i,fidesApiUrl:s,apiOptions:n,propertyId:o,requestMinimalTCF:a,missingExperienceHandler:r=Vl}){var c,l,u;if(n!=null&&n.getPrivacyExperienceFn)try{return yield n.getPrivacyExperienceFn(e,null)}catch(_){return r(_)}const d=[["Unescape-Safestr","true"],["Accept-Encoding","gzip, deflate"]];i&&d.push(["Accept-Language",i]);const g={method:"GET",mode:"cors",headers:d};let v=At(At({show_disabled:"false",region:e,component:re.OVERLAY,has_notices:"true",has_config:"true",systems_applicable:"true",exclude_gvl_languages:"true",include_meta:"true",include_gvl:"true",include_non_applicable_notices:"true"},a&&{minimal_tcf:"true"}),o&&{property_id:o});v=new URLSearchParams(v);let f;try{if(f=yield fetch(`${s}/privacy-experience?${v}`,g),!f.ok)throw new Error("Error fetching experience from Fides API")}catch(_){return r(_)}try{const _=yield f.json();if(((c=_.items)==null?void 0:c.length)<1)return{};const m=_.items&&_.items[0],h=(u=(l=m.experience_config)==null?void 0:l.translations)==null?void 0:u[0].language;return m}catch(_){return r(_)}}),Jn=(t,e)=>ai(void 0,null,function*(){const i=new URLSearchParams;e?.forEach(a=>{i.append("language",a)});const s={method:"GET",mode:"cors"};let n;try{n=yield fetch(`${t}/privacy-experience/gvl/translations${zl(i)>0?"?":""}${i.toString()}`,s)}catch{return{}}return n.ok?yield n.json():{}}),Zn={method:"PATCH",mode:"cors",headers:{"Content-Type":"application/json"}},Ml="Fides.js",Ul=(t,e,i,s,n)=>ai(void 0,null,function*(){var o;if((o=i.apiOptions)!=null&&o.savePreferencesFn){try{yield i.apiOptions.savePreferencesFn(t,s.consent,s.fides_string,n)}catch(c){return Promise.reject(c)}return Promise.resolve()}const a=es(At({},Zn),{body:JSON.stringify(es(At({},e),{source:Ml}))});return(yield fetch(`${i.fidesApiUrl}/privacy-preferences`,a)).ok,Promise.resolve()}),Bl=t=>ai(void 0,[t],function*({request:e,options:i}){var s;if((s=i.apiOptions)!=null&&s.patchNoticesServedFn)try{return yield i.apiOptions.patchNoticesServedFn(e)}catch{return null}const n=es(At({},Zn),{body:JSON.stringify(e)}),o=yield fetch(`${i.fidesApiUrl}/notices-served`,n);return o.ok?o.json():null});var Gl=Object.defineProperty,Hl=(t,e,i)=>e in t?Gl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,ql=(t,e,i)=>Hl(t,e+"",i);let Kl=class{constructor(){ql(this,"servedNoticeHistoryId",null)}getServedNoticeHistoryId(){return this.servedNoticeHistoryId||(this.servedNoticeHistoryId=Js()),this.servedNoticeHistoryId}reset(){this.servedNoticeHistoryId=null}hasLifecycleId(){return this.servedNoticeHistoryId!==null}};const Qn=new Kl;var Yl=Object.defineProperty,Wl=Object.defineProperties,Jl=Object.getOwnPropertyDescriptors,Xn=Object.getOwnPropertySymbols,Zl=Object.prototype.hasOwnProperty,Ql=Object.prototype.propertyIsEnumerable,eo=(t,e,i)=>e in t?Yl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,$e=(t,e)=>{for(var i in e||(e={}))Zl.call(e,i)&&eo(t,i,e[i]);if(Xn)for(var i of Xn(e))Ql.call(e,i)&&eo(t,i,e[i]);return t},ci=(t,e)=>Wl(t,Jl(e)),ts=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const Xl=[D.SCRIPT,D.GPC,D.OT_MIGRATION];function ed(t,e,i,s,n,o,a,r,c){return ts(this,null,function*(){const l=(o||[]).map(d=>({preference:d.consentPreference,privacy_notice_history_id:d.noticeHistoryId||""})),u=$e({browser_identity:e.identity,preferences:l,privacy_experience_config_history_id:n,user_geography:r,method:s,served_notice_history_id:c,property_id:i.property_id},a??[]);yield Ul(s,u,t,e,i)})}const td=t=>ts(void 0,[t],function*({consentPreferencesToSave:e,privacyExperienceConfigHistoryId:i,experience:s,consentMethod:n,options:o,userLocationString:a,cookie:r,eventExtraDetails:c,servedNoticeHistoryId:l,tcf:u,updateCookie:d}){var g,v,f,_,m;if(!d&&e&&(d=w=>vn(w,e)),!d&&!e)throw new Error("updateCookie is required");const h=ci($e({},c?.trigger),{origin:((g=c?.trigger)==null?void 0:g.origin)||(Xl.includes(n)?Xe.EXTERNAL:Xe.FIDES)}),y=yield d(r);Object.assign(r,y),Object.assign(r.fides_meta,{consentMethod:n}),be("FidesUpdating",r,ci($e({},c),{trigger:h}));const b=Pt(r.consent,(f=(v=window.Fides)==null?void 0:v.experience)==null?void 0:f.non_applicable_privacy_notices,(m=(_=window.Fides)==null?void 0:_.experience)==null?void 0:m.privacy_notices);if(window.Fides.consent=b,window.Fides.fides_string=r.fides_string,window.Fides.tcf_consent=r.tcf_consent,ln(ci($e({},r),{consent:b}),o.base64Cookie),window.Fides.saved_consent=r.consent,!o.fidesDisableSaveApi)try{yield ed(o,r,s,n,i,e,u,a,l)}catch{}e&&e.filter(w=>w.consentPreference===ce.OPT_OUT).forEach(w=>{var j,S;(j=w.notice)!=null&&j.cookies&&pn(w.notice.cookies,(S=s.experience_config)==null?void 0:S.auto_subdomain_cookie_deletion)}),be("FidesUpdated",r,ci($e({},c),{trigger:h}))}),to=(t,e,i,s)=>Object.entries(i).reduce((n,[o,a])=>{if(n)return n;const r=e.find(u=>u===o);if(r&&!a&&s!==D.OT_MIGRATION)return new Error(`Provided notice key '${o}' is not applicable to the current experience.`);const c=t.find(u=>u.notice_key===o);if(!r&&!c)return new Error(`'${o}' is not a valid notice key`);const l=c?.consent_mechanism===te.NOTICE_ONLY;return l&&a!==!0&&a!==ce.ACKNOWLEDGE&&s!==D.OT_MIGRATION?new Error(`Invalid consent value for notice-only notice key: '${o}'. Must be \`true\` or "acknowledge"`):!l&&typeof a!="boolean"&&a!==ce.OPT_IN&&a!==ce.OPT_OUT?new Error(`Invalid consent value for notice key: '${o}'. Must be a boolean or "opt_in" or "opt_out"`):null},null),li=(t,e)=>ts(void 0,null,function*(){var i;const{experience:s,cookie:n,config:o,locale:a}=t;if(!s)throw new Error("Experience must be initialized before updating consent");if(!o)throw new Error("Config is not initialized");if(!n)throw new Error("Cookie is not initialized");if(!(e!=null&&e.noticeConsent)&&!(e!=null&&e.fidesString)&&!(e!=null&&e.tcf))throw new Error("Either consent object or fidesString must be provided");if(e!=null&&e.validation&&!Object.values(Ge).includes(e.validation))throw new Error(`Validation must be one of: ${Object.values(Ge).join(", ")} (default is ${Ge.THROW})`);const{noticeConsent:r,fidesString:c,validation:l=Ge.THROW,consentMethod:u=D.SCRIPT,eventExtraDetails:d={trigger:{origin:Xe.EXTERNAL}},tcf:g,updateCookie:v}=e,{experience_config:f,privacy_notices:_,non_applicable_privacy_notices:m}=s,h=Rn(s)||ae,y=I=>{if(l===Ge.THROW)throw new Error(I);l===Ge.WARN&&console.warn(I)};let b=n.consent||{};if(c)try{const I=Ot(c);if(I.nc){const $=ii(I.nc);b=$e($e({},n.consent),$);const T=to(_||[],m||[],b,u);T&&y(T.message)}}catch(I){const $=I instanceof Error?I.message:String(I);y(`Invalid fidesString provided: ${$}`)}else if(r){const I=to(_||[],m||[],r,u);I&&y(I.message),b=$e($e({},n.consent),r)}const w=[];Object.entries(b).forEach(([I,$])=>{const T=_?.find(B=>B.notice_key===I);if(T){const B=Xi(a,h,T),pe=B?.privacy_notice_history_id;let ge;if(typeof $=="boolean"?ge=Ee($,T.consent_mechanism):ge=$,pe){const le=new Li(T,ge,pe);w.push(le)}}});let j;if((i=f?.translations)!=null&&i.length){const I=ri(a,h,f);j=I?.privacy_experience_config_history_id}const S=Xt(o.geolocation),Z=Qn.getServedNoticeHistoryId();return td({consentPreferencesToSave:w,privacyExperienceConfigHistoryId:j,experience:s,consentMethod:u,options:o.options,userLocationString:S,cookie:n,eventExtraDetails:d,servedNoticeHistoryId:Z,tcf:g,updateCookie:v})}),di=t=>{throw new Error(t)},tt=t=>{typeof window<"u"&&(window.Fides=t)},io=({cookie:t,experience:e})=>{let i=e;return Jt(t.consent)&&(i=Mi({experience:e,cookie:t})),i},is=({tcfEnabled:t=!1})=>({consent:{},experience:void 0,geolocation:{},locale:ae,options:{debug:!0,isOverlayEnabled:!1,isPrefetchEnabled:!1,isGeolocationEnabled:!1,geolocationApiUrl:"",overlayParentId:null,modalLinkId:null,privacyCenterUrl:"",fidesApiUrl:"",tcfEnabled:t,gppEnabled:!1,fidesEmbed:!1,fidesDisableSaveApi:!1,fidesDisableNoticesServedApi:!1,fidesDisableBanner:!1,fidesString:null,apiOptions:null,fidesTcfGdprApplies:t,fidesJsBaseUrl:"",customOptionsPath:null,preventDismissal:!1,allowHTMLDescription:null,base64Cookie:!1,fidesPrimaryColor:null,fidesClearCookie:!1,showFidesBrandLink:!t,fidesConsentOverride:null,otFidesMapping:null,fidesDisabledNotices:null,fidesConsentNonApplicableFlagMode:null,fidesConsentFlagType:null,fidesInitializedEventMode:"once"},fides_meta:{},identity:{},tcf_consent:{},saved_consent:{},config:void 0,initialized:!1,onFidesEvent:An,blueconic:Tc,gtm:Sc,meta:Lc,shopify:Fc,showModal:Yi,getModalLinkLabel:()=>Bi,encodeNoticeConsentString:jn,decodeNoticeConsentString:ii,reinitialize(){return typeof this.init!="function"?Promise.reject(new Error("Fides.init method is not available")):((!this.config||!this.initialized)&&di("Fides must be initialized before reinitializing"),this.init())},shouldShowExperience(){return!(this!=null&&this.experience)||!(this!=null&&this.cookie)||!(this!=null&&this.saved_consent)||!(this!=null&&this.options)?!1:ti(this.experience,this.cookie,this.saved_consent,this.options)},updateConsent(e){const{consent:i,fidesString:s,validation:n}=e;return li(this,{noticeConsent:i,fidesString:s,validation:n})}});var id=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const sd=(t,e)=>id(void 0,null,function*(){if(!t||!e)return null;const i=yield fetch(e,{mode:"cors"});if(!i.ok)return null;try{return yield i.json()}catch{return null}}),nd=()=>{var t,e,i;if(window.Fides.options.tcfEnabled&&!((e=(t=window.Fides.experience)==null?void 0:t.privacy_notices)!=null&&e.length))return!1;if(typeof((i=window.navigator)==null?void 0:i.globalPrivacyControl)=="boolean")return window.navigator.globalPrivacyControl;const s=new URL(window.location.href).searchParams.get("globalPrivacyControl");if(s==="true")return!0;if(s==="false")return!1},it=()=>typeof window>"u"?{}:{globalPrivacyControl:nd()};var od=Object.defineProperty,so=Object.getOwnPropertySymbols,rd=Object.prototype.hasOwnProperty,ad=Object.prototype.propertyIsEnumerable,no=(t,e,i)=>e in t?od(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,cd=(t,e)=>{for(var i in e||(e={}))rd.call(e,i)&&no(t,i,e[i]);if(so)for(var i of so(e))ad.call(e,i)&&no(t,i,e[i]);return t},ld=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const dd=t=>ld(void 0,null,function*(){var e;const{experience:i,saved_consent:s,options:n}=t;if(!i||!i.experience_config||!((e=i.privacy_notices)!=null&&e.length))return!1;const o=it(),{nc:a}=Ot(n.fidesString||"");o.globalPrivacyControl;const{consent:r,method:c}=hn(n),l=!!r&&!!c&&!He();if(!o.globalPrivacyControl&&!a&&!l)return!1;let u=!1,d=!1,g=!1;const v=i.privacy_notices.reduce((f,_)=>{const m=cd({},f),h=Ce(_.default_preference);m[_.notice_key]=h,s[_.notice_key]&&(m[_.notice_key]=s[_.notice_key]);const y=Ht(_,s),b=_.consent_mechanism===te.NOTICE_ONLY;if(l&&r){const w=r[_.notice_key];if(w!==void 0)return g=!0,m[_.notice_key]=w,m}if(b)return m;if(a){const w=ii(a)[_.notice_key];if(w!==void 0)return d=!0,m[_.notice_key]=w,m}return o.globalPrivacyControl&&!y&&_.has_gpc_flag&&(u=!0,m[_.notice_key]=!1),m},{});if(u||d||g){let f=D.SCRIPT;return g&&c?f=c:d?f=D.SCRIPT:u&&(f=D.GPC),yield li(t,{noticeConsent:v,consentMethod:f}),!0}return!1}),ud=()=>{document.body.classList.add("fides-no-scroll")},oo=()=>{document.body.classList.remove("fides-no-scroll")},pd=t=>new DOMParser().parseFromString(t,"text/html").body.textContent||"",ro=t=>{let e=0,i=200;return new Promise(s=>{const n=o=>{const a=setTimeout(()=>{const r=document.getElementById(t);r?(clearInterval(a),s(r)):(e+=1,e>=5&&i<1e3&&(i+=200),n(i))},o)};n(i)})};var fd=Object.defineProperty,vd=Object.defineProperties,gd=Object.getOwnPropertyDescriptors,ao=Object.getOwnPropertySymbols,_d=Object.prototype.hasOwnProperty,md=Object.prototype.propertyIsEnumerable,co=(t,e,i)=>e in t?fd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,ss=(t,e)=>{for(var i in e||(e={}))_d.call(e,i)&&co(t,i,e[i]);if(ao)for(var i of ao(e))md.call(e,i)&&co(t,i,e[i]);return t},hd=(t,e)=>vd(t,gd(e)),lo=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const bd=(t,e)=>lo(void 0,null,function*(){return Xt(t)||Xt(yield sd(e.isGeolocationEnabled,e.geolocationApiUrl))}),Tt=(t,e)=>{const i={};if(typeof window<"u"){const s=new URLSearchParams(window.location.search),n=e.options.customOptionsPath&&e.options.customOptionsPath.split("."),o=n&&n.length>=0?En(n):window.fides_overrides,a=Cn(t);a?.forEach(({overrideName:r,overrideType:c,overrideKey:l,validationRegex:u,transform:d})=>{const g=s.get(l),v=o?o[l]:void 0,f=Zt(l),_=g||v||f;_&&u.test(_.toString())&&(d?i[r]=d(_.toString()):i[r]=c==="string"?_:JSON.parse(_.toString()))})}return i},uo=({consent:t,options:e})=>{const i=it(),s=un(t,i);return cn(s,e.fidesClearCookie)},po=({cookie:t,savedConsent:e,experience:i,geolocation:s,options:n,updateExperienceFromCookieConsent:o})=>{let a=i;return Qe(i)&&(a=o({experience:i,cookie:t,debug:n.debug})),{consent:t.consent,fides_meta:t.fides_meta,identity:t.identity,experience:a,tcf_consent:t.tcf_consent,fides_string:t.fides_string,saved_consent:e,geolocation:s,options:n,initialized:!0}},fo=t=>lo(void 0,[t],function*({fides:e,initOverlay:i,renderOverlay:s,updateExperience:n,overrides:o}){var a,r,c,l,u,d,g;const{config:v}=e;if(!v)throw new Error("Fides config should be initialized");const{options:f,geolocation:_}=v;let m=!0,h,y=()=>Bi;if(!e.cookie)throw new Error("Fides cookie should be initialized");if(m=f.isOverlayEnabled,m){wn(f)||(m=!1),h=yield bd(_,f);let Z=!1;if(h?Qe(e.experience)||(Z=!0,e.experience=yield Wn({userLocationString:h,fidesApiUrl:f.fidesApiUrl,apiOptions:f.apiOptions,requestMinimalTCF:!1,propertyId:(a=e.config)==null?void 0:a.propertyId})):m=!1,m&&Qe(e.experience)&&qi(e.experience)){if(Z){const T=n({cookie:e.cookie,experience:e.experience});e.experience=ss(ss({},e.experience),T)}(r=e.config)!=null&&r.propertyId&&(e.experience.property_id=e.config.propertyId);const I=gn({cookie:e.cookie,experience:e.experience});e.cookie=I;const $=Tl();if(Al($,window?.navigator,e.experience,f,o?.experienceTranslationOverrides),e.locale=$.locale||ae,y=T=>Sl(!!(T!=null&&T.disableLocalization),$,e.experience),((c=e.experience.experience_config)==null?void 0:c.component)===re.HEADLESS){const T=f.modalLinkId||"fides-modal-link";!e.experience||f.fidesEmbed||f.modalLinkId,ro(T).then(B=>{document.body.classList.add("fides-overlay-modal-link-shown"),B.classList.add("fides-modal-link-shown")}),m=!1}if(i&&m){const T=hd(ss({},e),{cookie:e.cookie,config:v,options:f,experience:e.experience,fidesRegionString:h});i({initializedFides:T,i18n:$,renderOverlay:s}).catch(B=>{})}setTimeout(dd.bind(null,e))}}const{fides_meta:b,identity:w,fides_string:j,tcf_consent:S}=e.cookie;return{consent:Pt(e.cookie.consent,(l=e.experience)==null?void 0:l.non_applicable_privacy_notices,(u=e.experience)==null?void 0:u.privacy_notices,(d=f.fidesConsentFlagType)!=null?d:void 0,(g=f.fidesConsentNonApplicableFlagMode)!=null?g:void 0),fides_meta:b,identity:w,fides_string:j,tcf_consent:S,experience:e.experience,geolocation:_,options:f,initialized:!0,getModalLinkLabel:y}});var ui,N,vo,st,go,_o,ns,os,rs,as,mo,St={},ho=[],yd=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,pi=Array.isArray;function Ke(t,e){for(var i in e)t[i]=e[i];return t}function bo(t){var e=t.parentNode;e&&e.removeChild(t)}function p(t,e,i){var s,n,o,a={};for(o in e)o=="key"?s=e[o]:o=="ref"?n=e[o]:a[o]=e[o];if(arguments.length>2&&(a.children=arguments.length>3?ui.call(arguments,2):i),typeof t=="function"&&t.defaultProps!=null)for(o in t.defaultProps)a[o]===void 0&&(a[o]=t.defaultProps[o]);return fi(t,a,s,n,null)}function fi(t,e,i,s,n){var o={type:t,props:e,key:i,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:n??++vo,__i:-1,__u:0};return n==null&&N.vnode!=null&&N.vnode(o),o}function ve(t){return t.children}function Fe(t,e){this.props=t,this.context=e}function nt(t,e){if(e==null)return t.__?nt(t.__,t.__i+1):null;for(var i;e<t.__k.length;e++)if((i=t.__k[e])!=null&&i.__e!=null)return i.__e;return typeof t.type=="function"?nt(t):null}function yo(t){var e,i;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((i=t.__k[e])!=null&&i.__e!=null){t.__e=t.__c.base=i.__e;break}return yo(t)}}function cs(t){(!t.__d&&(t.__d=!0)&&st.push(t)&&!vi.__r++||go!==N.debounceRendering)&&((go=N.debounceRendering)||_o)(vi)}function vi(){var t,e,i,s,n,o,a,r;for(st.sort(ns);t=st.shift();)t.__d&&(e=st.length,s=void 0,o=(n=(i=t).__v).__e,a=[],r=[],i.__P&&((s=Ke({},n)).__v=n.__v+1,N.vnode&&N.vnode(s),ls(i.__P,s,n,i.__n,i.__P.namespaceURI,32&n.__u?[o]:null,a,o??nt(n),!!(32&n.__u),r),s.__v=n.__v,s.__.__k[s.__i]=s,jo(a,s,r),s.__e!=o&&yo(s)),st.length>e&&st.sort(ns));vi.__r=0}function ko(t,e,i,s,n,o,a,r,c,l,u){var d,g,v,f,_,m=s&&s.__k||ho,h=e.length;for(i.__d=c,kd(i,e,m),c=i.__d,d=0;d<h;d++)(v=i.__k[d])!=null&&typeof v!="boolean"&&typeof v!="function"&&(g=v.__i===-1?St:m[v.__i]||St,v.__i=d,ls(t,v,g,n,o,a,r,c,l,u),f=v.__e,v.ref&&g.ref!=v.ref&&(g.ref&&ds(g.ref,null,v),u.push(v.ref,v.__c||f,v)),_==null&&f!=null&&(_=f),65536&v.__u||g.__k===v.__k?(c&&typeof v.type=="string"&&!t.contains(c)&&(c=nt(g)),c=wo(v,c,t)):typeof v.type=="function"&&v.__d!==void 0?c=v.__d:f&&(c=f.nextSibling),v.__d=void 0,v.__u&=-196609);i.__d=c,i.__e=_}function kd(t,e,i){var s,n,o,a,r,c=e.length,l=i.length,u=l,d=0;for(t.__k=[],s=0;s<c;s++)a=s+d,(n=t.__k[s]=(n=e[s])==null||typeof n=="boolean"||typeof n=="function"?null:typeof n=="string"||typeof n=="number"||typeof n=="bigint"||n.constructor==String?fi(null,n,null,null,null):pi(n)?fi(ve,{children:n},null,null,null):n.constructor===void 0&&n.__b>0?fi(n.type,n.props,n.key,n.ref?n.ref:null,n.__v):n)!=null?(n.__=t,n.__b=t.__b+1,r=wd(n,i,a,u),n.__i=r,o=null,r!==-1&&(u--,(o=i[r])&&(o.__u|=131072)),o==null||o.__v===null?(r==-1&&d--,typeof n.type!="function"&&(n.__u|=65536)):r!==a&&(r==a-1?d=r-a:r==a+1?d++:r>a?u>c-a?d+=r-a:d--:r<a&&d++,r!==s+d&&(n.__u|=65536))):(o=i[a])&&o.key==null&&o.__e&&(131072&o.__u)==0&&(o.__e==t.__d&&(t.__d=nt(o)),us(o,o,!1),i[a]=null,u--);if(u)for(s=0;s<l;s++)(o=i[s])!=null&&(131072&o.__u)==0&&(o.__e==t.__d&&(t.__d=nt(o)),us(o,o))}function wo(t,e,i){var s,n;if(typeof t.type=="function"){for(s=t.__k,n=0;s&&n<s.length;n++)s[n]&&(s[n].__=t,e=wo(s[n],e,i));return e}t.__e!=e&&(i.insertBefore(t.__e,e||null),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function gi(t,e){return e=e||[],t==null||typeof t=="boolean"||(pi(t)?t.some(function(i){gi(i,e)}):e.push(t)),e}function wd(t,e,i,s){var n=t.key,o=t.type,a=i-1,r=i+1,c=e[i];if(c===null||c&&n==c.key&&o===c.type&&(131072&c.__u)==0)return i;if(s>(c!=null&&(131072&c.__u)==0?1:0))for(;a>=0||r<e.length;){if(a>=0){if((c=e[a])&&(131072&c.__u)==0&&n==c.key&&o===c.type)return a;a--}if(r<e.length){if((c=e[r])&&(131072&c.__u)==0&&n==c.key&&o===c.type)return r;r++}}return-1}function Co(t,e,i){e[0]==="-"?t.setProperty(e,i??""):t[e]=i==null?"":typeof i!="number"||yd.test(e)?i:i+"px"}function _i(t,e,i,s,n){var o;e:if(e==="style")if(typeof i=="string")t.style.cssText=i;else{if(typeof s=="string"&&(t.style.cssText=s=""),s)for(e in s)i&&e in i||Co(t.style,e,"");if(i)for(e in i)s&&i[e]===s[e]||Co(t.style,e,i[e])}else if(e[0]==="o"&&e[1]==="n")o=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+o]=i,i?s?i.u=s.u:(i.u=os,t.addEventListener(e,o?as:rs,o)):t.removeEventListener(e,o?as:rs,o);else{if(n=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=i??"";break e}catch{}typeof i=="function"||(i==null||i===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&i==1?"":i))}}function Eo(t){return function(e){if(this.l){var i=this.l[e.type+t];if(e.t==null)e.t=os++;else if(e.t<i.u)return;return i(N.event?N.event(e):e)}}}function ls(t,e,i,s,n,o,a,r,c,l){var u,d,g,v,f,_,m,h,y,b,w,j,S,Z,I,$,T=e.type;if(e.constructor!==void 0)return null;128&i.__u&&(c=!!(32&i.__u),o=[r=e.__e=i.__e]),(u=N.__b)&&u(e);e:if(typeof T=="function")try{if(h=e.props,y="prototype"in T&&T.prototype.render,b=(u=T.contextType)&&s[u.__c],w=u?b?b.props.value:u.__:s,i.__c?m=(d=e.__c=i.__c).__=d.__E:(y?e.__c=d=new T(h,w):(e.__c=d=new Fe(h,w),d.constructor=T,d.render=Ed),b&&b.sub(d),d.props=h,d.state||(d.state={}),d.context=w,d.__n=s,g=d.__d=!0,d.__h=[],d._sb=[]),y&&d.__s==null&&(d.__s=d.state),y&&T.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=Ke({},d.__s)),Ke(d.__s,T.getDerivedStateFromProps(h,d.__s))),v=d.props,f=d.state,d.__v=e,g)y&&T.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),y&&d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(y&&T.getDerivedStateFromProps==null&&h!==v&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(h,w),!d.__e&&(d.shouldComponentUpdate!=null&&d.shouldComponentUpdate(h,d.__s,w)===!1||e.__v===i.__v)){for(e.__v!==i.__v&&(d.props=h,d.state=d.__s,d.__d=!1),e.__e=i.__e,e.__k=i.__k,e.__k.forEach(function(B){B&&(B.__=e)}),j=0;j<d._sb.length;j++)d.__h.push(d._sb[j]);d._sb=[],d.__h.length&&a.push(d);break e}d.componentWillUpdate!=null&&d.componentWillUpdate(h,d.__s,w),y&&d.componentDidUpdate!=null&&d.__h.push(function(){d.componentDidUpdate(v,f,_)})}if(d.context=w,d.props=h,d.__P=t,d.__e=!1,S=N.__r,Z=0,y){for(d.state=d.__s,d.__d=!1,S&&S(e),u=d.render(d.props,d.state,d.context),I=0;I<d._sb.length;I++)d.__h.push(d._sb[I]);d._sb=[]}else do d.__d=!1,S&&S(e),u=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++Z<25);d.state=d.__s,d.getChildContext!=null&&(s=Ke(Ke({},s),d.getChildContext())),y&&!g&&d.getSnapshotBeforeUpdate!=null&&(_=d.getSnapshotBeforeUpdate(v,f)),ko(t,pi($=u!=null&&u.type===ve&&u.key==null?u.props.children:u)?$:[$],e,i,s,n,o,a,r,c,l),d.base=e.__e,e.__u&=-161,d.__h.length&&a.push(d),m&&(d.__E=d.__=null)}catch(B){e.__v=null,c||o!=null?(e.__e=r,e.__u|=c?160:32,o[o.indexOf(r)]=null):(e.__e=i.__e,e.__k=i.__k),N.__e(B,e,i)}else o==null&&e.__v===i.__v?(e.__k=i.__k,e.__e=i.__e):e.__e=Cd(i.__e,e,i,s,n,o,a,c,l);(u=N.diffed)&&u(e)}function jo(t,e,i){e.__d=void 0;for(var s=0;s<i.length;s++)ds(i[s],i[++s],i[++s]);N.__c&&N.__c(e,t),t.some(function(n){try{t=n.__h,n.__h=[],t.some(function(o){o.call(n)})}catch(o){N.__e(o,n.__v)}})}function Cd(t,e,i,s,n,o,a,r,c){var l,u,d,g,v,f,_,m=i.props,h=e.props,y=e.type;if(y==="svg"?n="http://www.w3.org/2000/svg":y==="math"?n="http://www.w3.org/1998/Math/MathML":n||(n="http://www.w3.org/1999/xhtml"),o!=null){for(l=0;l<o.length;l++)if((v=o[l])&&"setAttribute"in v==!!y&&(y?v.localName===y:v.nodeType===3)){t=v,o[l]=null;break}}if(t==null){if(y===null)return document.createTextNode(h);t=document.createElementNS(n,y,h.is&&h),o=null,r=!1}if(y===null)m===h||r&&t.data===h||(t.data=h);else{if(o=o&&ui.call(t.childNodes),m=i.props||St,!r&&o!=null)for(m={},l=0;l<t.attributes.length;l++)m[(v=t.attributes[l]).name]=v.value;for(l in m)if(v=m[l],l!="children"){if(l=="dangerouslySetInnerHTML")d=v;else if(l!=="key"&&!(l in h)){if(l=="value"&&"defaultValue"in h||l=="checked"&&"defaultChecked"in h)continue;_i(t,l,null,v,n)}}for(l in h)v=h[l],l=="children"?g=v:l=="dangerouslySetInnerHTML"?u=v:l=="value"?f=v:l=="checked"?_=v:l==="key"||r&&typeof v!="function"||m[l]===v||_i(t,l,v,m[l],n);if(u)r||d&&(u.__html===d.__html||u.__html===t.innerHTML)||(t.innerHTML=u.__html),e.__k=[];else if(d&&(t.innerHTML=""),ko(t,pi(g)?g:[g],e,i,s,y==="foreignObject"?"http://www.w3.org/1999/xhtml":n,o,a,o?o[0]:i.__k&&nt(i,0),r,c),o!=null)for(l=o.length;l--;)o[l]!=null&&bo(o[l]);r||(l="value",f!==void 0&&(f!==t[l]||y==="progress"&&!f||y==="option"&&f!==m[l])&&_i(t,l,f,m[l],n),l="checked",_!==void 0&&_!==t[l]&&_i(t,l,_,m[l],n))}return t}function ds(t,e,i){try{typeof t=="function"?t(e):t.current=e}catch(s){N.__e(s,i)}}function us(t,e,i){var s,n;if(N.unmount&&N.unmount(t),(s=t.ref)&&(s.current&&s.current!==t.__e||ds(s,null,e)),(s=t.__c)!=null){if(s.componentWillUnmount)try{s.componentWillUnmount()}catch(o){N.__e(o,e)}s.base=s.__P=null}if(s=t.__k)for(n=0;n<s.length;n++)s[n]&&us(s[n],e,i||typeof t.type!="function");i||t.__e==null||bo(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function Ed(t,e,i){return this.constructor(t,i)}function ps(t,e,i){var s,n,o,a;N.__&&N.__(t,e),n=(s=!1)?null:e.__k,o=[],a=[],ls(e,t=e.__k=p(ve,null,[t]),n||St,St,e.namespaceURI,n?null:e.firstChild?ui.call(e.childNodes):null,o,n?n.__e:e.firstChild,s,a),jo(o,t,a)}function zt(t,e){var i={__c:e="__cC"+mo++,__:t,Consumer:function(s,n){return s.children(n)},Provider:function(s){var n,o;return this.getChildContext||(n=[],(o={})[e]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&n.some(function(r){r.__e=!0,cs(r)})},this.sub=function(a){n.push(a);var r=a.componentWillUnmount;a.componentWillUnmount=function(){n&&n.splice(n.indexOf(a),1),r&&r.call(a)}}),s.children}};return i.Provider.__=i.Consumer.contextType=i}ui=ho.slice,N={__e:function(t,e,i,s){for(var n,o,a;e=e.__;)if((n=e.__c)&&!n.__)try{if((o=n.constructor)&&o.getDerivedStateFromError!=null&&(n.setState(o.getDerivedStateFromError(t)),a=n.__d),n.componentDidCatch!=null&&(n.componentDidCatch(t,s||{}),a=n.__d),a)return n.__E=n}catch(r){t=r}throw t}},vo=0,Fe.prototype.setState=function(t,e){var i;i=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ke({},this.state),typeof t=="function"&&(t=t(Ke({},i),this.props)),t&&Ke(i,t),t!=null&&this.__v&&(e&&this._sb.push(e),cs(this))},Fe.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),cs(this))},Fe.prototype.render=ve,st=[],_o=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ns=function(t,e){return t.__v.__b-e.__v.__b},vi.__r=0,os=0,rs=Eo(!1),as=Eo(!0),mo=0;const jd=t=>{try{const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(!e)return null;let i=parseInt(e[1],16),s=parseInt(e[2],16),n=parseInt(e[3],16);i/=255,s/=255,n/=255;const o=Math.max(i,s,n),a=Math.min(i,s,n);let r,c;const l=(o+a)/2;if(o===a)r=c=0;else{const u=o-a;switch(c=l>.5?u/(2-o-a):u/(o+a),o){case i:r=(s-n)/u+(s<n?6:0);break;case s:r=(n-i)/u+2;break;case n:r=(i-s)/u+4;break}r/=6}return{h:r,s:c,l}}catch{return null}},xd=(t,e=!1)=>{let i="";const s=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.l*100);return i=`${s},${n}%,${o}%`,i=e?i:`hsl(${i})`,i};var xo=(t=>(t.HEX="hex",t.HSL="hsl",t))(xo||{});const Id=(t,e,i)=>{const s=e==="hex"?jd(t):t;return s&&s.l?(s.l<.25?s.l=s.l+.1:s.l<.5?s.l=s.l+.08:s.l<.75?s.l=s.l+.06:s.l<.9?s.l=s.l+.04:s.l=.9,xd(s)):t};var mi=(t,e,i)=>new Promise((s,n)=>{var o=c=>{try{r(i.next(c))}catch(l){n(l)}},a=c=>{try{r(i.throw(c))}catch(l){n(l)}},r=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);r((i=i.apply(t,e)).next())});const Io="fides-embed-container",Pd="fides-overlay";let hi;const fs=t=>mi(void 0,[t],function*({initializedFides:e,i18n:i,renderOverlay:s}){const{options:n,experience:o}=e,a=()=>mi(void 0,null,function*(){var r,c,l;try{if(hi&&(ps(null,hi),hi=void 0),n.fidesPrimaryColor){document.documentElement.style.setProperty("--fides-overlay-primary-color",n.fidesPrimaryColor);const d=Id(n.fidesPrimaryColor,xo.HEX,1);document.documentElement.style.setProperty("--fides-overlay-primary-button-background-hover-color",d)}let u;if(n.fidesEmbed)u=document.getElementById(Io),u||(yield mi(void 0,null,function*(){return new Promise(d=>{let g=0,v=200;const f=setInterval(()=>{u=document.getElementById(Io),u?(clearInterval(f),d()):(g+=1,g>=5&&v<1e3&&(v+=200))},v)})}));else{const d=n.overlayParentId||Pd;u=document.getElementById(d),u||(u=document.createElement("div"),u.id=d,u.className="fides-overlay",document.body.prepend(u))}return u?(s&&(((r=o.experience_config)==null?void 0:r.component)===re.MODAL||((c=o.experience_config)==null?void 0:c.component)===re.BANNER_AND_MODAL||((l=o.experience_config)==null?void 0:l.component)===re.TCF_OVERLAY)&&(s({initializedFides:e,i18n:i},u),hi=u),yield Promise.resolve()):yield Promise.reject(new Error("There was a problem rendering the Fides overlay."))}catch(u){return Promise.reject(u)}});return document?.readyState==="loading"?document.addEventListener("readystatechange",()=>mi(void 0,null,function*(){document.readyState==="interactive"&&a()})):a(),Promise.resolve()});function Po(t,e){e===void 0&&(e={});var i=e.insertAt;if(!(!t||typeof document>"u")){var s=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",i==="top"&&s.firstChild?s.insertBefore(n,s.firstChild):s.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}}var Od=`:root{--fides-overlay-primary-color:#2b2e35;--fides-overlay-background-color:#f7fafc;--fides-overlay-embed-background-color:transparent;--fides-overlay-font-color:#4a5568;--fides-overlay-font-color-dark:#2d3748;--fides-overlay-hover-color:#edf2f7;--fides-overlay-gpc-applied-background-color:#38a169;--fides-overlay-gpc-applied-text-color:#fff;--fides-overlay-gpc-overridden-background-color:#e53e3e;--fides-overlay-gpc-overridden-text-color:#fff;--fides-overlay-brand-link-logo-color:#2b2e35;--fides-overlay-background-dark-color:#e2e8f0;--fides-overlay-width:680px;--fides-overlay-primary-button-background-color:var(
2
2
  --fides-overlay-primary-color
3
3
  );--fides-overlay-primary-button-background-hover-color:#4f525b;--fides-overlay-primary-button-text-color:#fff;--fides-overlay-primary-button-border-color:transparent;--fides-overlay-secondary-button-background-color:var(
4
4
  --fides-overlay-background-color