1"use strict";(self.webpackChunkremake=self.webpackChunkremake||[]).push([[349],{21801(e,r,t){t(36461),Object.defineProperty(r,"B",{value:!0}),r.A=void 0,t(67575),t(56315),t(20391),t(75030),t(63348),t(32558),t(21759),t(87560),t(22901);var n=t(44293),a=t(97266);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var i={class:"!px-0 before:hidden"},c=["id","name","onChange","checked"],d=["innerHTML","for"];r.A={__name:"privacy-third-party-activator",setup:function(e){var r=(0,n.reactive)({thirdParties:[]}),t=(0,a.useThirdPartyStore)();return(0,n.onMounted)(function(){window.park.api.getThirdPartyPrivacyConfig().then(function(e){if("object"!==o(e)||!e.thirdParties||!Array.isArray(e.thirdParties))throw"Something wrong with getThirdPartyPrivacyConfig";r.thirdParties=e.thirdParties}).catch(function(e){window.park.console.error(e)})}),function(e,a){return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[(0,n.createCommentVNode)(" TODO: add logic when state.thirdParties.length === 0 "),(0,n.createElementVNode)("ul",null,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(r.thirdParties,function(e){return(0,n.openBlock)(),(0,n.createElementBlock)("li",i,[(0,n.createElementVNode)("input",{id:e.name,name:e.name,"data-vue-input":"",type:"checkbox",class:"mr-2",onChange:function(r){return n=e.name,void(null!==(a=window.park)&&void 0!==a&&null!==(a=a.thirdPartyManager)&&void 0!==a&&a.deactivate&&null!==(o=window.park)&&void 0!==o&&null!==(o=o.thirdPartyManager)&&void 0!==o&&o.activate?t.preferences[n.toLowerCase()]?window.park.thirdPartyManager.deactivate(n):window.park.thirdPartyManager.activate(n):window.park.console.error("Third Party Activator Widget: No thirdPartyManager available"));var n,a,o},checked:!!(0,n.unref)(t).preferences[e.name.toLowerCase()]},null,40,c),(0,n.createElementVNode)("label",{innerHTML:e.description,for:e.name,class:"link-child-primary"},null,8,d)])}),256))])],2112)}}}},97266(e,r,t){t(36461),Object.defineProperty(r,"__esModule",{value:!0}),r.useThirdPartyStore=void 0;var n=t(12660);r.useThirdPartyStore=(0,n.defineStore)("thirdPartyStore",{state:function(){return{preferences:{}}},getters:{thirdPartyIsActive:function(e){return function(r){return!!e.preferences[r]}}},actions:{update:function(e){this.$state={preferences:e}}}})},33349(e,r,t){t.r(r),t.d(r,{__esModule:()=>n.B,default:()=>a});var n=t(21801);const a=n.A}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.