PageSourceSearch

https://viverasociaalwijkteam.nl/build/967.51651d18.js

js viverasociaalwijkteam.nl collected 2026-10-01 23:53:27 UTC 36,216 bytes, 1 lines download raw bytes

1(self.webpackChunksociaal_domein=self.webpackChunksociaal_domein||[]).push([[967],{25490:function(t,e,n){var r={"./dialog_controller.js":99448,"./document_picker_widget_controller.js":65463,"./file_manager_controller.js":95818,"./hello_controller.js":86824,"./icon_selector_widget_controller.js":64568,"./image_picker_widget_controller.js":76455,"./lazy_images_controller.js":6875,"./quill_extended_controller.js":61821,"./select_controller.js":33088,"./tabs_controller.js":39924};function o(t){var e=i(t);return n(e)}function i(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}o.keys=function(){return Object.keys(r)},o.resolve=i,t.exports=o,o.id=25490},35828:function(t,e,n){"use strict";var r=n(57684);n(10682);e.A={"ehyiah--ux-quill--quill":r.A}},99448:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return f}});n(52675),n(89463),n(2259),n(45700),n(16280),n(23792),n(89572),n(2892),n(40875),n(63548),n(10287),n(26099),n(60825),n(47764),n(62953);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,i(r.key),r)}}function i(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}function u(t,e,n){return e=a(e),function(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,c()?Reflect.construct(e,n||[],a(t).constructor):e.apply(t,n))}function c(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(c=function(){return!!t})()}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}var f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(e,t),n=e,(r=[{key:"close",value:function(t){t.preventDefault(),this.element.close()}}])&&o(n.prototype,r),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(n(52891).xI)},65463:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return p}});n(52675),n(89463),n(2259),n(45700),n(16280),n(28706),n(23792),n(89572),n(2892),n(40875),n(63548),n(10287),n(26099),n(60825),n(47764),n(62953);var r=n(52891),o=n(53544);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,y(r.key),r)}}function c(t,e,n){return e=l(e),function(t,e){if(e&&("object"==i(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,a()?Reflect.construct(e,n||[],l(t).constructor):e.apply(t,n))}function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(a=function(){return!!t})()}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}
1function f(t,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},f(t,e)}function s(t,e,n){return(e=y(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}var p=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return s(t=c(this,e,[].concat(r)),"modal",t.element.parentElement.querySelector(".file-manager-dialog")),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}(e,t),n=e,(r=[{key:"connect",value:function(){this._onConnect()}},{key:"_onConnect",value:function(){this.modal instanceof HTMLDialogElement&&this.handleFileSelect()}},{key:"removeDocument",value:function(t){t.preventDefault(),this.inputTarget.value="",this.documentTarget.href="",this.documentTarget.classList.add("d-none")}},{key:"selectDocument",value:function(t){t.preventDefault(),this.modal.showModal()}},{key:"handleFileSelect",value:function(){var t=this,e=this.element.closest("div.form-group");e&&e.addEventListener("file:selected",(function(e){if((0,o.isCustomEvent)(e)){var n=e.detail.fileUrl,r=e.detail.fileTitle,i=e.detail.fileId;if(i&&n&&r){var u=t.documentTarget.querySelector("span");t.documentTarget.innerHTML="",u&&t.documentTarget.appendChild(u);var c=document.createTextNode(" ".concat(r));t.documentTarget.appendChild(c),t.documentTarget.href=n,t.documentTarget.classList.remove("d-none"),t.inputTarget.value=i,t.modal.close()}}}))}}])&&u(n.prototype,r),i&&u(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(r.xI);s(p,"targets",["input","document"])},95818:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return s}});n(52675),n(89463),n(2259),n(45700),n(16280),n(23792),n(62062),n(89572),n(2892),n(40875),n(63548),n(10287),n(26099),n(3362),n(9391),n(60825),n(47764),n(42762),n(23500),n(62953);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,f(r.key),r)}}function i(t,e,n){return e=c(e),function(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,u()?Reflect.construct(e,n||[],c(t).constructor):e.apply(t,n))}function u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(u=function(){return!!t})()}function c(t){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},c(t)}function a(t,e){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},a(t,e)}function l(t,e,n){return(e=f(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==r(e)?e:e+""}var s=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&a(t,e)}(e,t),n=e,r=[{key:"connect",value:function(){this.loadContents()}},{key:"loadContents",value:function(){var t=this;Promise.all(this.urlsValue.map((function(e){return fetch(e).then((function(t){return t.text()})).then((function(e){t.contentTarget.innerHTML+=e}))}))).then((function(){var e=t.typesValue[0];t.contentContainers=t.contentTarget.querySelectorAll('div[id^="fm-content-"]');var n=t.contentTarget.querySelector("#fm-content-".concat(e));null==n||n.classList.add("active")})).catch((function(t){console.error("An error occurred:",t)}))}},{key:"changeType",value:function(t){var e=t.target.value;this.contentContainers&&this.contentContainers.forEach((function(t){t.id==="fm-content-".concat(e)?t.classList.add("active"):t.classList.remove("active")}))}},{key:"communityOnlyValueChanged",value:function(){this.hideGenericFiles(this.communityOnlyValue)}},{key:"setCommunityOnly",value:function(t){this.communityOnlyValue=t.target.checked}},{key:"hideGenericFiles",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.element.querySelectorAll(".fm-file").forEach((function(e){void 0===e.dataset.community&&(t?e.classList.contains("d-none")||e.classList.add("d-none"):e.classList.remove("d-none"))}))}},{key:"loadFolder",value:function(t){var e=this,n=t.params.url,r=t.params.folder;if(n&&r){var o=this.getFolderTarget(r);""===o.innerHTML.trim()&&fetch(n).then((function(t){return t.text()})).then((function(t){o.innerHTML=t})).then((function(){e.hideGenericFiles(e.communityOnlyValue)}))}}},{key:"selectFile",value:function(t){var e=t.params.id,n=t.params.url,r=t.params.title,o=t.params.isImage;if(e&&n&&r&&void 0!==o){var i=new CustomEvent("file:selected",{cancelable:!0,detail:{fileId:e,fileTitle:r,fileUrl:n,isImage:o}}),u=this.element.closest("div.form-group");u?u.dispatchEvent(i):document.dispatchEvent(i)}}},{key:"downloadFile",value:function(t){var e=t.params.url;e&&window.open(e,"_blank")}},{key:"deleteFile",value:function(t){var e=t.params.url;e&&confirm("Wil je dit bestand verwijderen?")&&fetch(e).finally((function(){t.target.closest(".fm-file").remove()}))}},{key:"getFolderTarget",value:function(t){if(this.contentTarget instanceof HTMLElement)return this.contentTarget.querySelector(".tab-content > [data-tabs-target=".concat(t,"]"))}}],r&&o(n.prototype,r),u&&o(n,u),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,u}(n(52891).xI);l(s,"values",{urls:Array,types:Array,communityOnly:Boolean}),l(s,"targets",["content"])},86824:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return f}});n(52675),n(89463),n(2259),n(45700),n(16280),n(23792),n(89572),n(2892),n(40875),n(63548),n(10287),n(26099),n(60825),n(47764),n(62953);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,i(r.key),r)}}function i(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}function u(t,e,n){return e=a(e),function(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,c()?Reflect.construct(e,n||[],a(t).constructor):e.apply(t,n))}function c(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(c=function(){return!!t})()}
1function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}var f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(e,t),n=e,(r=[{key:"connect",value:function(){this.element.textContent="Hello Stimulus! Edit me in assets/controllers/hello_controller.js"}}])&&o(n.prototype,r),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(n(52891).xI)},64568:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return p}});n(52675),n(89463),n(2259),n(45700),n(16280),n(74423),n(23792),n(89572),n(2892),n(40875),n(63548),n(10287),n(26099),n(60825),n(21699),n(47764),n(42762),n(23500),n(62953);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,l(r.key),r)}}function i(t,e,n){return e=c(e),function(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,u()?Reflect.construct(e,n||[],c(t).constructor):e.apply(t,n))}function u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(u=function(){return!!t})()}function c(t){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},c(t)}function a(t,e){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},a(t,e)}function l(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}var f,s,y,p=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&a(t,e)}(e,t),n=e,(r=[{key:"connect",value:function(){this.filterIcons()}},{key:"selectIcon",value:function(t){if(t.preventDefault(),!this.inputTarget.disabled){var e=t.currentTarget,n=e.dataset.iconValue||"",r=e.dataset.iconLabel||"",o=e.dataset.iconThumb||"";this.inputTarget.value=n,this.markSelected(e),this.updateCurrent(r,o),this.hideMissing(),this.dispatchChange()}}},{key:"clearSelection",value:function(t){t.preventDefault(),this.inputTarget.disabled||(this.inputTarget.value="",this.clearSelected(),this.showPlaceholder(),this.hideMissing(),this.clearFilter(),this.dispatchChange())}},{key:"filterIcons",value:function(){if(this.hasFilterTarget&&this.hasGridTarget){var t=this.filterTarget.value.toLowerCase().trim();this.gridTarget.querySelectorAll(".icon-selector__item").forEach((function(e){var n=(e.dataset.iconLabel||"").toLowerCase(),r=""===t||n.includes(t);e.classList.toggle("d-none",!r)}))}}},{key:"markSelected",value:function(t){this.gridTarget.querySelectorAll(".icon-selector__item").forEach((function(e){var n=e===t;e.classList.toggle("is-selected",n),e.setAttribute("aria-pressed",String(n))}))}},{key:"clearSelected",value:function(){this.gridTarget.querySelectorAll(".icon-selector__item").forEach((function(t){t.classList.remove("is-selected"),t.setAttribute("aria-pressed","fal
1se")}))}},{key:"updateCurrent",value:function(t,e){this.hasCurrentPlaceholderTarget&&this.currentPlaceholderTarget.classList.add("d-none"),this.hasCurrentImageTarget&&(this.currentImageTarget.src=e,this.currentImageTarget.alt=t,this.currentImageTarget.classList.remove("d-none"))}},{key:"showPlaceholder",value:function(){this.hasCurrentPlaceholderTarget&&this.currentPlaceholderTarget.classList.remove("d-none"),this.hasCurrentImageTarget&&this.currentImageTarget.classList.add("d-none")}},{key:"hideMissing",value:function(){this.hasMissingTarget&&this.missingTarget.classList.add("d-none")}},{key:"clearFilter",value:function(){this.hasFilterTarget&&(this.filterTarget.value=""),this.filterIcons()}},{key:"dispatchChange",value:function(){this.inputTarget.dispatchEvent(new Event("change",{bubbles:!0}))}}])&&o(n.prototype,r),u&&o(n,u),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,u}(n(52891).xI);f=p,y=["input","filter","grid"],(s=l(s="targets"))in f?Object.defineProperty(f,s,{value:y,enumerable:!0,configurable:!0,writable:!0}):f[s]=y},76455:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return p}});n(52675),n(89463),n(2259),n(45700),n(16280),n(28706),n(23792),n(89572),n(2892),n(40875),n(63548),n(10287),n(26099),n(60825),n(47764),n(62953);var r=n(52891),o=n(53544);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,y(r.key),r)}}function c(t,e,n){return e=l(e),function(t,e){if(e&&("object"==i(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,a()?Reflect.construct(e,n||[],l(t).constructor):e.apply(t,n))}function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(a=function(){return!!t})()}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}function f(t,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},f(t,e)}function s(t,e,n){return(e=y(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}var p=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return s(t=c(this,e,[].concat(r)),"modal",t.element.parentElement.querySelector(".file-manager-dialog")),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}(e,t),n=e,(r=[{key:"connect",value:function(){this._onConnect()}},{key:"_onConnect",value:function(){this.modal instanceof HTMLDialogElement&&(this.toggleRemoveButton(),this.handleFileSelect())}},{key:"removeImage",value:function(t){t.preventDefault(),this.inputTarget.value="",this.imageTarget.src=this.imageTarget.dataset.default,this.toggleRemoveButton()}},{key:"selectImage",value:function(t){t.preventDefault(),this.modal.showModal()}},{key:"handleFileSelect",value:function(){var t=this,e=this.element.closest("div.form-group");e&&e.addEventListener("file:selected",(function(e){if((0,o.isCustomEvent)(e)){var n=e.detail.fileUrl,r=e.detail.fileId;r&&n&&(t.imageTarget.src=n,t.inputTarget.value=r,t.toggleRemoveButton(),t.modal.close())}}))}},{key:"toggleRemoveButton",value:function(){this.inputTarget.value?this.removeButtonTarget.classList.remove("d-none"):this.removeButtonTarget.classList.add("d-none")}}])&&u(n.prototype,r),i&&u(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(r.xI);s(p,"targets",["input","image","removeButton"])},6875:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return f}});n(52675),n(89463),n(2259),n(45700),n(16280),n(23792),n(89572),n(2892),n(40875),n(63548),n(10287),n(26099),n(60825),n(47764),n(23500),n(62953);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,i(r.key),r)}}function i(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==r(e)?e:e+""}function u(t,e,n){return e=a(e),function(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,c()?Reflect.construct(e,n||[],a(t).constructor):e.apply(t,n))}function c(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(c=function(){return!!t})()}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}var f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(e,t),n=e,(r=[{key:"connect",value:function(){this.addLazyLoading()}},{key:"addLazyLoading",value:function(){var t=this;if(this.element){var e,n=function n(){var o=t.element.querySelectorAll("img.lazy");e&&clearTimeout(e),e=setTimeout((function(){o.forEach((function(t){r(t)&&(t.src=t.dataset.src,t.classList.remove("lazy"))})),0===o.length&&(t.element.removeEventListener("scroll",n),window.removeEventListener("resize",n),window.removeEventListener("orientationChange",n))}),400)},r=function(e){var n=e.getBoundingClientRect(),r=t.element.getBoundingClientRect();return n.top>=r.top&&n.left>=r.left&&n.bottom<=r.bottom&&n.right<=r.right};n(),this.element.addEventListener("scroll",n),window.addEventListener("resize",n),window.addEventListener("orientationChange",n)}}}])&&o(n.prototype,r),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(n(52891).xI)},61821:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return m}});n(52675),n(89463),n(2259),n(45700),n(16280),n(28706),n(23792),n(89572),n(2892),n(40875),n(63548),n(10287),n(26099),n(60825),n(47764),n(62953);var r=n(52891),o=n(32508),i=n(53544);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,p(r.key),r)}}function a(t,e,n){return e=f(e),function(t,e){if(e&&("object"==u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,l()?Reflect.construct(e,n||[],f(t).constructor):e.apply(t,n))}function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(l=function(){return!!t})()}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}
1function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function y(t,e,n){return(e=p(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:e+""}var d=o.default.import("parchment"),b=new d.Attributor("fileid","fileid",{scope:d.Scope.INLINE});o.default.register(b,!0);var v=new d.Attributor("alt","alt",{scope:d.Scope.INLINE});o.default.register(v,!0);var m=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return y(t=a(this,e,[].concat(r)),"quill",null),y(t,"oldRange",null),y(t,"_onConnectBound",t._onConnect.bind(t)),y(t,"insertFile",(function(e,n,r,i){var u;t.quill.focus();var c=t.quill.getSelection();(!c||0===c.length&&t.oldRange&&t.oldRange.length>0)&&(c=t.oldRange),c||(c={index:0,length:0});var a=(new(o.default.import("delta"))).retain(c.index).delete(c.length);i?a.insert({image:n},{alt:e,fileid:r}):a.insert(e,{link:n,fileid:r}),t.quill.updateContents(a,o.default.sources.USER),t.quill.setSelection(c.index+(i?1:e.length),o.default.sources.USER),null===(u=t.modal)||void 0===u||u.close()})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(e,t),n=e,(r=[{key:"modal",get:function(){var t;return(null===(t=this.element.closest(".form-group"))||void 0===t?void 0:t.querySelector(".file-manager-dialog"))||document.querySelector(".file-manager-dialog")}},{key:"connect",value:function(){this.element.addEventListener("quill:connect",this._onConnectBound)}},{key:"disconnect",value:function(){this.element.removeEventListener("quill:connect",this._onConnectBound)}},{key:"_onConnect",value:function(t){var e,n=this;if(this.quill=t.detail,(this.quill instanceof o.default||"function"==typeof(null===(e=this.quill)||void 0===e?void 0:e.getModule))&&(this.quill.constructor,this.modal instanceof HTMLDialogElement)){var r=this.quill.container,i=r.closest("form");i&&i.addEventListener("submit",(function(t){t.preventDefault(),r.closest(".quill-container").querySelector('input[type="hidden"]').value=n.quill.getSemanticHTML(),i.submit()})),this.handleSelectionChange(),this.handleFileSelect(),this.quill.getModule("toolbar").addHandler("image",(function(){var t;null===(t=n.modal)||void 0===t||t.showModal()}))}}},{key:"handleSelectionChange",value:function(){var t=this;this.quill.on("selection-change",(function(e,n,r){!e&&n&&(t.oldRange=n)}))}},{key:"handleFileSelect",value:function(){var t=this;(this.element.closest("div.form-group")||document).addEventListener("file:selected",(function(e){if((0,i.isCustomEvent)(e)){var n=e.detail.fileTitle,r=e.detail.fileUrl,o=e.detail.fileId,u="true"===String(e.detail.isImage)||!0===e.detail.isImage;r&&n&&o&&void 0!==e.detail.isImage&&t.insertFile(n,r,o,u)}}))}}])&&c(n.prototype,r),u&&c(n,u),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,u}(r.xI)},33088:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return f}});n(52675),n(89463),n(2259),n(45700),n(16280),n(28706),n(23792),n(89572),n(2892),n(40875),n(63548),n(10287),n(26099),n(60825),n(47764),n(23500),n(62953);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,l(r.key),r)}}function i(t,e,n){return e=c(e),function(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,u()?Reflect.construct(e,n||[],c(t).constructor):e.apply(t,n))}function u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(u=function(){return!!t})()}
1function c(t){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},c(t)}function a(t,e){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},a(t,e)}function l(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}var f=function(t){function e(){var t,n,r,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var u=arguments.length,c=new Array(u),a=0;a<u;a++)c[a]=arguments[a];return t=i(this,e,[].concat(c)),n=t,r="inputs",o=t.element.querySelectorAll(".custom_select-box__input"),(r=l(r))in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&a(t,e)}(e,t),n=e,(r=[{key:"connect",value:function(){var t=this;this.inputs.forEach((function(e){e.addEventListener("change",t.close.bind(t))}))}},{key:"toggle",value:function(t){this.element.classList.toggle("active"),this.element.classList.contains("active")||this.element.blur()}},{key:"close",value:function(){this.element.classList.remove("active")}}])&&o(n.prototype,r),u&&o(n,u),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,u}(n(52891).xI)},39924:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return s}});n(52675),n(89463),n(2259),n(45700),n(16280),n(28706),n(23792),n(89572),n(2892),n(40875),n(63548),n(10287),n(26099),n(60825),n(47764),n(23500),n(62953);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,f(r.key),r)}}function i(t,e,n){return e=c(e),function(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,u()?Reflect.construct(e,n||[],c(t).constructor):e.apply(t,n))}function u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(u=function(){return!!t})()}function c(t){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},c(t)}function a(t,e){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},a(t,e)}function l(t,e,n){return(e=f(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}var s=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return l(t=i(this,e,[].concat(r)),"tabs",[]),l(t,"tabTargets",[]),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&a(t,e)}(e,t),n=e,r=[{key:"connect",value:function(){this.tabs=this.element.querySelectorAll("[data-tabs-tab-param]"),this.tabTargets=this.element.querySelectorAll("[data-tabs-target]")}},{key:"selectTab",value:function(t){var e=t.target;void 0===e.attributes["data-tabs-tab-param"]&&(e=e.closest("[data-tabs-tab-param]"));var n=t.params.tab,r=this.element.querySelector('[data-tabs-target="'.concat(n,'"]'));
1this.tabs.forEach((function(t){return t.classList.remove("active")})),this.tabTargets.forEach((function(t){return t.classList.remove("active")})),e.classList.add("active"),r.classList.add("active")}}],r&&o(n.prototype,r),u&&o(n,u),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,u}(n(52891).xI)},42882:function(t,e,n){"use strict";(0,n(3066).E)(n(25490))},53544:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isCustomEvent=void 0,e.isCustomEvent=function(t){return"detail"in t}}}]);

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.