PageSourceSearch

https://www.privacylab.it/html/build/8336.10b6fd22d0bf3e2b79f2.js

js privacylab.it collected 2026-09-24 08:45:31 UTC 52,651 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkprivacylab"]=self["webpackChunkprivacylab"]||[]).push([[8336],{25251:(e,t,n)=>{n.d(t,{A:()=>h});var o=n(32442);function r(e){"@babel/helpers - typeof";return r="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},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,l(o.key),o)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e){var t=u(e,"string");return"symbol"==r(t)?t:t+""}function u(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t,n){return t=d(t),f(e,y()?Reflect.construct(t,n||[],d(e).constructor):t.apply(e,n))}function f(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function t(){return!!e})()}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function b(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}var v=function(e){function t(e){s(this,t);return c(this,t,["controller",e])}b(t,e);return a(t)}(o.A);const h=v},32442:(e,t,n)=>{n.d(t,{A:()=>f});const o={config:{ajax:{requestURL:"/system/ajax/baseAjax.php",timeout:3e5,moduleName:"common",modulePath:"script/class/controllers/"},i18n:{dictionary_path:"/script/i18n/"},logging:false}};function r(e){"@babel/helpers - typeof";return r="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},r(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,u(o.key),o)}}function l(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e){var t=s(e,"string");return"symbol"==r(t)?t:t+""}function s(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var c=function(){function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"";i(this,e);this._metisModuleType=t;this._metisClassName=n;if(["model","view","controller","util"].indexOf(t)>=0){if(!this.has(window,"METIS_APP")){window.METIS_APP=o}if(!this.has(window.METIS_APP,t+"s")){window.METIS_APP[t+"s"]={}}if(!(typeof n==="string")||n.length===0){console.error("Class Name not declared.");return}window.METIS_APP[t+"s"][n]=this;this.init(window.METIS_APP)}}return l(e,[{key:"has",value:function e(t,n){return Object.prototype.hasOwnProperty.call(t,n)}},{key:"init",value:function e(){}},{key:"getModuleType",value:function e(){return this._metisModuleType}},{key:"getClassName",value:function e(){return this._metisClassName}}])}();const f=c},85558:(e,t,n)=>{n.d(t,{A:()=>h});var o=n(32442);function r(e){"@babel/helpers - typeof";return r="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},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,l(o.key),o)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e){var t=u(e,"string");return"symbol"==r(t)?t:t+""}function u(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}
1function c(e,t,n){return t=d(t),f(e,y()?Reflect.construct(t,n||[],d(e).constructor):t.apply(e,n))}function f(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function t(){return!!e})()}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function b(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}var v=function(e){function t(e){s(this,t);return c(this,t,["view",e])}b(t,e);return a(t)}(o.A);const h=v},82559:(e,t,n)=>{n.d(t,{A:()=>h});var o=n(32442);function r(e){"@babel/helpers - typeof";return r="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},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,l(o.key),o)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e){var t=u(e,"string");return"symbol"==r(t)?t:t+""}function u(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t,n){return t=d(t),f(e,y()?Reflect.construct(t,n||[],d(e).constructor):t.apply(e,n))}function f(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function t(){return!!e})()}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function b(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}var v=function(e){function t(e){s(this,t);return c(this,t,["widget",e])}b(t,e);return a(t)}(o.A);const h=v},71234:(e,t,n)=>{n.d(t,{A:()=>y});var o=n(74692);var r=n.n(o);var i=n(62031);var a=n.n(i);function l(e){"@babel/helpers - typeof";return l="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},l(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,f(o.key),o)}}function c(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e){var t=p(e,"string");return"symbol"==l(t)?t:t+""}function p(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=l(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var y=function(){function e(){u(this,e)}return c(e,null,[{key:"openModal",value:function e(t){if(!(t instanceof r())){throw new Error("The modal element must be a jQuery instance.")}if(t.length===0){throw new Error("At least one element is required.")}t.scrollTo(0);t.find(".c-tabs").each((function(e,t){r()(t).find(".c-tabs__nav__button:first").click()}));t.addClass("j-active");var n=r()("body");n.addClass("j-modal-open");n.css("overflow","hidden")}},{key:"closeModals",value:function e(){r()(".c-modal").removeClass("j-active");var t=r()("body");t.removeClass("j-modal-open");t.attr("style","")}},{key:"closeModal",value:function e(t){if(!(t instanceof r())){throw new Error("The modal element must be a jQuery instance.")}t.removeClass("j-active");if(r()(".c-modal.j-active").length===0){this.closeModals()}}}])}()}
1,2449:(e,t,n)=>{n.d(t,{x0:()=>G,To:()=>q,Vt:()=>Q,Y2:()=>J,JP:()=>U,Ay:()=>Y});var o=n(74692);var r=n.n(o);var i=n(25251);function a(e){"@babel/helpers - typeof";return a="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},a(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,c(o.key),o)}}function s(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e){var t=f(e,"string");return"symbol"==a(t)?t:t+""}function f(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function p(e,t,n){return t=m(t),y(e,b()?Reflect.construct(t,n||[],m(e).constructor):t.apply(e,n))}function y(e,t){if(t&&("object"==a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(b=function t(){return!!e})()}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}var g=function(e){function t(e){var n;l(this,t);n=p(this,t,[e]);n.refs={window:r()(window),html:r()("html")};n._pageScrollHandlers=[];n._detectMobileUserAgent();n.refs.window.on("scroll",(function(e){return n.onPageScrolling(e)}));return n}v(t,e);return s(t,[{key:"_detectMobileUserAgent",value:function e(){if(navigator.userAgent.match(/(iPad|iPhone|iPod)/i)){this.refs.html.addClass("device-ios")}else if(navigator.userAgent.match(/android/i)){this.refs.html.addClass("device-android")}}},{key:"enableBackToTopBtn",value:function e(t){var n=this;var o=arguments.length>1&&arguments[1]!==undefined?arguments[1]:250;if(t instanceof r()){this.refs.backToTopBtn=t;this.refs.backToTopBtn.on("click",(function(e){return n.onClickScrollPageToTop(e)}));this._backToTopBtnYThreshold=o}}},{key:"scrollThenFixContent",set:function e(t){var n=Object.assign({domElements:"",bFireImmediately:false,toggleCls:"",yThreshold:0},t);if(n.domElements){this.refs.scrollThenFixContent=n.domElements;this.refs.scrollThenFixContent.data("scrollCfg",n);if(n.bFireImmediately===true){this.onPageScrolling()}}}},{key:"clearScrollThenFixContent",value:function e(){if(this.refs.scrollThenFixContent instanceof r()){this.refs.scrollThenFixContent.removeClass("fixed-position")}this.refs.scrollThenFixContent=undefined;delete this.refs.scrollThenFixContent}},{key:"scrollPageTo",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:300;if(n===0){window.scrollTo(0,t)}else{r()("html, body").animate({scrollTop:typeof t==="number"?t+"px":0},n)}}},{key:"scrollPageToTop",value:function e(t){this.scrollPageTo(0,t)}},{key:"addPageScrollhandler",value:function e(t){this._pageScrollHandlers=this._pageScrollHandlers||[];if(typeof t==="function"){this._pageScrollHandlers.push(t)}}},{key:"_handlePageScrolling",value:function e(){try{var t=this.refs.window.scrollTop();var n;if(this.refs.scrollThenFixContent instanceof r()){n=this.refs.scrollThenFixContent.data("scrollCfg");this.refs.scrollThenFixContent.toggleClass(n.toggleCls,t>n.yThreshold)}if(this.refs.backToTopBtn.length){this.refs.backToTopBtn.toggleClass("enabled",t>this._backToTopBtnYThreshold)}if(this._pageScrollHandlers.length){for(var o=0;o<this._pageScrollHandlers.length;o++){this._pageScrollHandlers[o](t)}}}catch(e){}}},{key:"onPageScrolling",value:function e(){this._handlePageScrolling()}},{key:"onClickScrollPageToTop",value:function e(t){t.preventDefault();this.scrollPageToTop()}}])}(i.A);var w=n(31498);function _(e){"@babel/helpers - typeof";return _="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},_(e)}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,E(o.key),o)}}function P(e,t,n){return t&&O(e.prototype,t),n&&O(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function S(e,t,n){return(t=E(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e){var t=T(e,"string");return"symbol"==_(t)?t:t+""}function T(e,t){if("object"!=_(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");
1if("object"!=_(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var k=function(){function e(){j(this,e);S(this,"moduleName","");S(this,"modulePath","");S(this,"url","/system/ajax/baseAjax.php");S(this,"timeout",3e4);S(this,"method","POST");S(this,"dataType","json")}return P(e,[{key:"request",value:function e(){}}])}();function C(e){"@babel/helpers - typeof";return C="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},C(e)}function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,z(o.key),o)}}function A(e,t,n){return t&&x(e.prototype,t),n&&x(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function M(e,t,n){return t=F(t),B(e,N()?Reflect.construct(t,n||[],F(e).constructor):t.apply(e,n))}function B(e,t){if(t&&("object"==C(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return R(e)}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(N=function t(){return!!e})()}function F(e){return F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},F(e)}function L(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&I(e,t)}function I(e,t){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},I(e,t)}function V(e,t,n){return(t=z(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(e){var t=H(e,"string");return"symbol"==C(t)?t:t+""}function H(e,t){if("object"!=C(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=C(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Q="c-button--progress";var q="c-button--disabled";var G="j-progress";var U="c-table--progress";var J="c-hidden";var W=function(e){function t(){var e;D(this,t);for(var n=arguments.length,o=new Array(n),r=0;r<n;r++){o[r]=arguments[r]}e=M(this,t,[].concat(o));V(e,"moduleName","Common");V(e,"modulePath","script/class/controllers/");return e}L(t,e);return A(t,[{key:"request",value:function e(n){var o=this;var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var a=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var l=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};var u=arguments.length>4&&arguments[4]!==undefined?arguments[4]:{};if(typeof n!=="string"){throw"L'azione è necessaria. Prego, la favorisca =)"}var s=r().extend({docLang:t.getAvailableDocLanguages(),sModule:this.moduleName,sPath:this.modulePath,action:n},i);var c=new(r().Deferred);var f=function e(n,r){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:"";if(r.readyState!==0||r.status!==0||i==="timeout"){if(a===false){var l;var u=o.view.tslt("lblErroreGenerico",{},"Errore generico");if(r!==null&&r!==void 0&&(l=r.aMessage)!==null&&l!==void 0&&l.sMessageText){u=r.aMessage.sMessageText}var s=r&&r.mResponseData&&r.mResponseData.aErrorMsgs;if(o instanceof t&&o.view instanceof w.A&&!s){o.view.alert(o.view.tslt("lblErrore"),u)}}n.reject(r)}};var p=r().extend({type:this.ajax.method,dataType:this.ajax.dataType,url:this.ajax.url,data:s,timeout:this.ajax.timeout,headers:{Accept:"application/json"}},u);if(!r().isEmptyObject(l)){p.data=t.serialize(Object.assign(s,l));p.contentType=false;p.processData=false}r().ajax(p).done((function(e){if((e===null||e===void 0?void 0:e.bRequestResult)===true){c.resolve(e.mResponseData)}else{f(c,e)}})).fail((function(e,t){f(c,e,t)}));return c}},{key:"init",value:function e(){var n=this;var o=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"Common";this._ajax=new k;this._ajax.moduleName=o;this._ajax.modulePath="script/class/controllers/";this.ajax=new k;this._ajax.request=function(e,o){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var a=arguments.length>3&&arguments[3]!==undefined?arguments[3]:"";var l=arguments.length>
14&&arguments[4]!==undefined?arguments[4]:{};var u=n._ajax;if(typeof e!=="string"){throw"L'azione è necessaria. Prego, la favorisca =)"}var s=r().extend({},o);if(o&&o.moduleName&&o.modulePath){u.init({moduleName:o.moduleName,modulePath:o.modulePath,url:o.url,timeout:o.timeout,method:o.method,dataType:o.dataType});delete s.moduleName;delete s.modulePath;delete s.url;delete s.timeout;delete s.method;delete s.dataType}var c=r().extend({docLang:t.getAvailableDocLanguages(),sModule:a||u.moduleName,sPath:u.modulePath,action:e},s);var f=new(r().Deferred);var p=function e(o,r){var a=arguments.length>2&&arguments[2]!==undefined?arguments[2]:"";if(r.readyState!==0||r.status!==0||a==="timeout"){if(i===false){var l;var u=n.view.tslt("lblErroreGenerico",{},"Errore generico");if(r!==null&&r!==void 0&&(l=r.aMessage)!==null&&l!==void 0&&l.sMessageText){u=r.aMessage.sMessageText}var s=r&&r.mResponseData&&r.mResponseData.aErrorMsgs;if(n instanceof t&&n.view instanceof w.A&&!s){n.view.alert(n.view.tslt("lblErrore"),u)}}o.reject(r)}};var y={type:u.method,dataType:u.dataType,url:u.url,data:c,timeout:u.timeout,headers:{Accept:"application/json"}};if(!r().isEmptyObject(l)){y.data=t.serialize(Object.assign(c,l));y.contentType=false;y.processData=false}r().ajax(y).done((function(e){if((e===null||e===void 0?void 0:e.bRequestResult)===true){f.resolve(e.mResponseData)}else{p(f,e)}})).fail((function(e,t){p(f,e,t)}));return f}}}],[{key:"getEveryDtElements",value:function e(t,n){var o=r()();t.rows().nodes().each((function(e){o=o.add(r()(e).find(n))}));return o}},{key:"getAvailableDocLanguages",value:function e(){var t=[];r()(".j-available-doc-language").each((function(e,n){var o=r()(n).val().toLowerCase();t.push(o.charAt(0).toUpperCase()+o.slice(1))}));return t}},{key:"serialize",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"";var o=arguments.length>2&&arguments[2]!==undefined?arguments[2]:undefined;var r=o;if(!r){r=new FormData}var i="";for(i in t){if(Object.prototype.hasOwnProperty.call(t,i)){var a=n?"".concat(n,"[").concat(i,"]"):i;var l=t[i];if(l instanceof File){r.append(a,l)}else if(l!==null&&C(l)==="object"){r=this.serialize(l,a,r)}else{var u=l;if(l===null||l===undefined){u=""}if(l===false){u=0}if(l===true){u=1}r.append(a,u)}}}return r}}])}(g);const Y=W},31498:(e,t,n)=>{n.d(t,{a:()=>we,A:()=>je});var o=n(85558);var r=n(74692);var i=n.n(r);var a=n(82559);function l(e){"@babel/helpers - typeof";return l="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},l(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,f(o.key),o)}}function c(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e){var t=p(e,"string");return"symbol"==l(t)?t:t+""}function p(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=l(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function y(e,t,n){return t=v(t),d(e,m()?Reflect.construct(t,n||[],v(e).constructor):t.apply(e,n))}function d(e,t){if(t&&("object"==l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return b(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(m=function t(){return!!e})()}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}var w=function(e){function t(e){var n;u(this,t);n=y(this,t,["MessageBox"]);var o={title:"",message:"",html:"",cls:"",jQueryEl:undefined,buttons:{yes:"Yes",no:"No",ok:"OK"},modal:false,removeOnClose:false,fnConfirm:undefined,fnCancel:undefined,fnClose:undefined};if(l(e)==="object"){n._config=Object.assign(o,e)}else{n._config=o}n._initRefs();n._createDomEl();n._attachEvents();return n}h(t,e);return c(t,[{key:"show",value:function e(t){this._show(this.refs.body,t)}},{key:"showInside",value:function e(t,n){if(t instanceof i()){this._show(t,n)}}},{key:"_show",value:function e(t,n){var o=this;
1var r=this._messageBoxDomEl;var i=this._modalOverlayDomEl;var a=t.find(".metis-message-box").length>0;if(this._messageDestroyed===true){return false}if(!a){if(this._config.modal){t.append(i);i.append(r).show();this._applyBodyHideScrollRule()}else{t.append(r)}}if(this._styleApplied!==true){this._applyDefaultStyle();this._styleApplied=true}i.show();r.show(0,(function(){r.addClass("showed");o._messageShowed=true;if(typeof n==="function"){n()}}))}},{key:"hide",value:function e(){var t=this;var n=this._config;var o=this._messageBoxDomEl;var r=this._modalOverlayDomEl;var a=new(i().Deferred);this._removeHideScrollRule();o.removeClass("showed");o.delay(300).fadeOut((function(){r.hide();t._messageShowed=false;if(typeof n.fnClose==="function"){n.fnClose(o,n.jQueryEl)}if(t._config.removeOnClose===true){t._messageDestroyed=true;o.off();r.off();r.remove()}a.resolve()}));return a}},{key:"setTitle",value:function e(t){var n=i()(".message-title",this._messageBoxDomEl);if(n.length===0){this._addTitleEl(t)}else{n.text(t)}}},{key:"setTitleHTML",value:function e(t){var n=i()(".message-title",this._messageBoxDomEl);if(n.length===0){this._addTitleEl(t,true)}else{n.html(t)}}},{key:"setMessage",value:function e(t){i()(".message-body",this._messageBoxDomEl).text(t)}},{key:"setMessageHTML",value:function e(t){i()(".message-body",this._messageBoxDomEl).html(t)}},{key:"setJQueryEl",value:function e(t){i()(".message-body",this._messageBoxDomEl).empty().append(t)}},{key:"getJQueryEl",value:function e(){return this._messageBoxDomEl}},{key:"setConfirmFn",value:function e(t){if(typeof t==="function"){this._config.fnConfirm=t}}},{key:"setCancelFn",value:function e(t){if(typeof t==="function"){this._config.fnCancel=t}}},{key:"setCloseFn",value:function e(t){if(typeof t==="function"){this._config.fnClose=t}}},{key:"isDestroyed",value:function e(){return this._messageDestroyed===true}},{key:"_initRefs",value:function e(){this.refs={};this.refs.body=i()("body")}},{key:"_createDomEl",value:function e(){var t=this._config;this._messageBoxDomEl=i()('<div class="metis-messagebox '+t.cls+' ">                    <div class="message-body"></div>                    <ul class="message-buttons">                        <li class="btn-no">'+t.buttons.no+'</li>                        <li class="btn-yes">'+t.buttons.yes+'</li>                        <li class="btn-ok">'+t.buttons.ok+"</li>                    </ul>                </div>");this._modalOverlayDomEl=i()('<div class="metis-default-messagebox-overlay '+t.cls+'-overlay"></div>');var n=i()(".message-body",this._messageBoxDomEl);if(t.title&&String(t.title).length){this._addTitleEl(t.title)}if(typeof t.html==="string"&&t.html.length){n.html(t.html)}else if(t.jQueryEl instanceof i()){n.append(t.jQueryEl)}else{n.text(t.message)}if(typeof t.cls==="string"){this._messageBoxDomEl.addClass(t.cls)}if(typeof t.fnConfirm==="function"){this._messageBoxDomEl.addClass("confirm-mode")}if(t.modal===true){this._messageBoxDomEl.addClass("modal")}}},{key:"_addTitleEl",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var o=i()("<h3>",{class:"message-title"});if(n===true){this._messageBoxDomEl.prepend(o.html(t))}else{this._messageBoxDomEl.prepend(o.text(t))}}},{key:"_applyDefaultStyle",value:function e(){var t=this._messageBoxDomEl;var n=this._modalOverlayDomEl;var o=t.css("top");var r=n.css("top");if(!o||o==="auto"){t.css({position:"fixed",top:"40%",left:"50%",display:"none","z-index":"9999"})}if(!r||r==="auto"){n.css({position:"fixed",top:"0",left:"0",display:"none",width:"100%",height:"100%","z-index":"9999"})}if(t.hasClass("confirm-mode")){i()(".btn-ok",t).hide()}else{i()(".btn-yes, .btn-no",t).hide()}}},{key:"_applyBodyHideScrollRule",value:function e(){var t=document.styleSheets;var n=false;for(var o=0;o<t.length;o++){try{if(t[o].cssRules){n=true}}catch(e){console.warn("MetisMessageBox: your browser doesn't support external CSS rule access.")}if(n===true){t[o].insertRule("body.has-metis-messagebox{overflow:hidden !important;}",t[o].cssRules.length);this.refs.body.addClass("has-metis-messagebox");break}}}},{key:"_removeHideScrollRule",value:function e(){if(i()(".metis-messagebox.showed",this.refs.body).length===1){this.refs.body.removeClass("has-metis-messagebox")}}},{key:"_attachEvents",value:function e(){var t=this;
1this._messageBoxDomEl.on("click",".message-buttons > li",(function(e){t.onClickButton(e,this,t)}));this._modalOverlayDomEl.on("click",(function(e){t.onClickOverlay(e,this,t)}))}},{key:"onClickButton",value:function e(t,n,o){var r=i()(n);var a=o._config;var l=o._messageBoxDomEl;t.stopPropagation();if(typeof a.fnConfirm==="function"&&r.hasClass("btn-yes")){var u=a.fnConfirm(l,a.jQueryEl);if(u===false){return}}else if(typeof a.fnCancel==="function"&&r.hasClass("btn-no")){a.fnCancel(l)}o.hide()}},{key:"onClickOverlay",value:function e(t,n,o){var r=o._config;if(o._config.modal===true){return}if(i()(t.target).hasClass("metis-default-messagebox-overlay")){if(typeof r.fnConfirm!=="function"){o.hide()}}}}])}(a.A);var _=n(71234);function j(e){"@babel/helpers - typeof";return j="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},j(e)}function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,E(o.key),o)}}function S(e,t,n){return t&&P(e.prototype,t),n&&P(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function E(e){var t=T(e,"string");return"symbol"==j(t)?t:t+""}function T(e,t){if("object"!=j(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=j(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function k(e,t,n){return t=R(t),C(e,x()?Reflect.construct(t,n||[],R(e).constructor):t.apply(e,n))}function C(e,t){if(t&&("object"==j(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return D(e)}function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(x=function t(){return!!e})()}function A(e,t,n,o){var r=M(R(1&o?e.prototype:e),t,n);return 2&o&&"function"==typeof r?function(e){return r.apply(n,e)}:r}function M(){return M="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=B(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}},M.apply(null,arguments)}function B(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=R(e)););return e}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}function N(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&F(e,t)}function F(e,t){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},F(e,t)}var L=function(e){function t(){O(this,t);return k(this,t,arguments)}N(t,e);return S(t,[{key:"_createDomEl",value:function e(){var t=this._config;this._messageBoxDomEl=i()('<div class="c-modal__content c-modal-message-box">\n                    <header class="c-modal__content__header">\n                        <nav class="c-app-nav">\n                            <div class="c-app-nav-container">\n                                <ul class="c-app-nav__breadcrumbs">\n                                    <li class="c-app-nav__breadcrumbs__item c-message-box-title"></li>\n                                </ul>\n                            </div>\n                        </nav>\n                        <a class="c-modal__close j-modal-close" href="#"><span class="icon-close"></span></a>\n                    </header>\n                    <div class="c-modal__content__body">\n                        <div class="message-content message-body"></div>\n                        <footer class="c-modal__content__footer">\n                            <a class="c-button c-button--ghost btn-no" href="#">'.concat(t.buttons.no,'</a>\n                            <a class="c-button btn-yes" href="#">').concat(t.buttons.yes,'</a>\n                            <a class="c-button btn-ok" href="#">').concat(t.buttons.ok,"</a>\n                        </footer>\n                    </div>\n                </div>"));this._modalOverlayDomEl=i()('<div class="c-modal c-modal--small '.concat(t.cls,"-overlay ").concat(t.cls,'"></div>'));
1var n=i()(".message-body",this._messageBoxDomEl);if(t.title&&String(t.title).length){this._addTitleEl(t.title)}if(typeof t.html==="string"&&t.html.length){n.html(t.html)}else if(t.jQueryEl instanceof i()){n.append(t.jQueryEl)}else{n.text(t.message)}if(typeof t.cls==="string"){this._messageBoxDomEl.addClass(t.cls)}if(typeof t.fnConfirm==="function"){this._messageBoxDomEl.addClass("confirm-mode")}if(t.modal===true){this._messageBoxDomEl.addClass("modal")}}},{key:"_show",value:function e(n,o){A(t,"_show",this,3)([n,o]);_.A.openModal(this._modalOverlayDomEl)}},{key:"hide",value:function e(){A(t,"hide",this,3)([]);_.A.closeModal(this._modalOverlayDomEl)}},{key:"_addTitleEl",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var o=this._messageBoxDomEl.find(".c-message-box-title");if(n===true){o.html(t)}else{o.text(t)}}},{key:"_attachEvents",value:function e(){var t=this;this._messageBoxDomEl.on("click","footer .c-button",(function(e){e.preventDefault();t.onClickButton(e,e.target,t)}));this._messageBoxDomEl.on("click",".j-modal-close",(function(e){e.preventDefault();t.hide()}))}},{key:"_removeHideScrollRule",value:function e(){if(this.refs.body.find(".c-modal-message-box.showed").length===1){this.refs.body.removeClass("has-metis-messagebox")}}}])}(w);var I=n(2449);function V(e){"@babel/helpers - typeof";return V="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},V(e)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,q(o.key),o)}}function Q(e,t,n){return t&&H(e.prototype,t),n&&H(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function q(e){var t=G(e,"string");return"symbol"==V(t)?t:t+""}function G(e,t){if("object"!=V(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=V(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function U(e,t){W(e,t),t.add(e)}function J(e,t,n){W(e,t),t.set(e,n)}function W(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Y(e,t){return e.get(X(e,t))}function X(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var K=new WeakMap;var $=new WeakSet;var Z=function(){function e(){z(this,e);U(this,$);J(this,K,{})}return Q(e,[{key:"loadDictFromXML",value:function e(t){X($,this,ee).call(this,i().parseXML(t))}},{key:"loadDict",value:function e(){var t=this;var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";var o=new(i().Deferred);if(n){i().get(n).done((function(e){X($,t,ee).call(t,e);o.resolve(t)})).fail((function(){o.reject(t)}))}else{o.reject(this)}return o}},{key:"translate",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var o=arguments.length>2&&arguments[2]!==undefined?arguments[2]:"";var r=Y(K,this)[t]||o||t||"";for(var i in n){var a=new RegExp("\\{".concat(i,"\\}"),"g");r=r.replace(a,n[i])}return r}}])}();function ee(e){var t=this;i()(e).find("msg").each((function(e,n){var o=i()(n);var r=o.find("name").text();if(r){Y(K,t)[r]=o.find("value").text()}}))}function te(e){"@babel/helpers - typeof";return te="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},te(e)}function ne(e){return ae(e)||ie(e)||re(e)||oe()}function oe(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function re(e,t){if(e){if("string"==typeof e)return le(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?le(e,t):void 0}}function ie(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function ae(e){if(Array.isArray(e))return le(e)}function le(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,fe(o.key),o)}}function ce(e,t,n){return t&&se(e.prototype,t),n&&se(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function fe(e){var t=pe(e,"string");return"symbol"==te(t)?t:t+""}function pe(e,t){if("object"!=te(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=te(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function ye(e,t,n){return t=ve(t),de(e,me()?Reflect.construct(t,n||[],ve(e).constructor):t.apply(e,n))}function de(e,t){if(t&&("object"==te(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return be(e)}function be(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function me(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(me=function t(){return!!e})()}function ve(e){return ve=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ve(e)}function he(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ge(e,t)}function ge(e,t){return ge=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ge(e,t)}var we="/script/i18n/";var _e=function(e){function t(){ue(this,t);return ye(this,t,arguments)}he(t,e);return ce(t,[{key:"alert",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"Errore";var n=arguments.length>1?arguments[1]:undefined;var o=arguments.length>2?arguments[2]:undefined;this._metisViewDefaultAlert=this._metisViewDefaultAlert||new L({cls:"m-default-alert global-message-popup",modal:true});this._metisViewDefaultAlert.setTitleHTML(t);this._metisViewDefaultAlert.setMessageHTML(n);this._metisViewDefaultAlert.setCloseFn(o);this._metisViewDefaultAlert.show();return this._metisViewDefaultAlert}},{key:"confirm",value:function e(t,n,o,r){var i=arguments.length>
14&&arguments[4]!==undefined?arguments[4]:{yes:this.tslt("lblSi"),no:this.tslt("lblNo"),ok:this.tslt("lblOk")};this._metisViewDefaultConfirm=this._metisViewDefaultConfirm||new L({cls:"m-default-confirm global-message-popup",modal:true,fnConfirm:o,fnCancel:r,buttons:i});this._metisViewDefaultConfirm.setTitleHTML(t);this._metisViewDefaultConfirm.setMessageHTML(n);this._metisViewDefaultConfirm.setConfirmFn(o);this._metisViewDefaultConfirm.setCancelFn(r);this._metisViewDefaultConfirm.show();return this._metisViewDefaultConfirm}},{key:"tslt",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var o=arguments.length>2&&arguments[2]!==undefined?arguments[2]:"";return o||t||""}},{key:"initI18n",value:function e(){var n=this;var o=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"".concat(we,"backEnd/");var r=new(i().Deferred);var a=t.getLangCode();if(a&&typeof a==="string"){var l=new Z;i().when(l.loadDict(o+"i18n_"+a.toUpperCase()+".xml")).then((function(){n.tslt=function(){return l.translate.apply(l,ne([].slice.call(arguments)))};r.resolve()}),r.reject)}return r}},{key:"initDatePicker",value:function e(){var n=3;if(window.innerWidth<768){n=1}Date.prototype.addDays=function(e){this.setDate(this.getDate()+parseInt(e,10));return this};if(document.getElementById("datepicker")){var o={numberOfMonths:n,field:document.getElementById("datepicker"),bound:false,container:document.getElementById("datepickerCont"),onSelect:function e(t){var n=t.getFullYear();var o=t.getMonth()+1;var r=t.getDate();document.getElementById("datepicker").value=[r<10?"0"+r:r,o<10?"0"+o:o,n].join("/")}};var r=t.getLangCode();switch(r){case"it":o.i18n={previousMonth:"Precedente",nextMonth:"Successivo",months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],weekdays:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],weekdaysShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"]};break;case"ro":o.i18n={previousMonth:"Precedent",nextMonth:"Urmator",months:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],weekdays:["Duminică","Luni","Marți","Miercuri","Joi","Vineri","Sâmbătă"],weekdaysShort:["Dum","Lun","Mar","Mie","Joi","Vin","Sâm"]};break}return new window.Pikaday(o)}}},{key:"getRepositoryModalPanel",value:function e(){return i()("#j-repository-panel")}},{key:"getRepositoryReplaceModalPanel",value:function e(){return i()("#j-repository-replace-panel")}}],[{key:"getLangCode",value:function e(){return i()("html").prop("lang")}},{key:"getDocLangCode",value:function e(){var t=I.Ay.getAvailableDocLanguages()[0];return t.toLowerCase()||this.getLangCode()}}])}(o.A);const je=_e},38336:(e,t,n)=>{n.r(t);n.d(t,{default:()=>re});var o=n(74692);var r=n.n(o);var i=n(2449);var a=n(71234);var l=n(31498);var u=n(9599);function s(e){"@babel/helpers - typeof";return s="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},s(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,O(o.key),o)}}function f(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t,n){return t=v(t),d(e,m()?Reflect.construct(t,n||[],v(e).constructor):t.apply(e,n))}function d(e,t){if(t&&("object"==s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return b(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(m=function t(){return!!e})()}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function w(e,t){_(e,t),t.add(e)}function _(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function j(e,t,n){return(t=O(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e){var t=P(e,"string");return"symbol"==s(t)?t:t+""}function P(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=s(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function S(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var E=new WeakSet;var T=function(e){function t(){var e;p(this,t);e=y(this,t,["DashBoardAdminView"]);w(e,E);j(e,"refs",{});S(E,e,k).call(e);S(E,e,C).call(e);return e}h(t,e);return f(t)}(l.A);function k(){this.refs.body=r()("body");this.refs.changelogCarousel=r()(".c-dashboard-activity-slider");
1this.refs.widgetsCarousel=r()(".c-widget-slider");this.refs.piesContainer=r()(".j-pies-container");this.refs.tablesContainer=r()(".j-tables-container");this.refs.sosOpenedContainer=r()(".j-sos-ticket-opened");this.refs.sosClosedContainer=r()(".j-sos-ticket-closed")}function C(){this.refs.changelogCarousel.slick({slidesToShow:1,slidesToScroll:1,rows:0,nextArrow:'<button type="button" class="slick-next"><span class="icon icon-arrow-right"></button>'})}function D(e){"@babel/helpers - typeof";return D="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},D(e)}var x;function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,W(o.key),o)}}function B(e,t,n){return t&&M(e.prototype,t),n&&M(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function R(e,t,n){return t=H(t),N(e,L()?Reflect.construct(t,n||[],H(e).constructor):t.apply(e,n))}function N(e,t){if(t&&("object"==D(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return F(e)}function F(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(L=function t(){return!!e})()}function I(e,t,n,o){var r=V(H(1&o?e.prototype:e),t,n);return 2&o&&"function"==typeof r?function(e){return r.apply(n,e)}:r}function V(){return V="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=z(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}},V.apply(null,arguments)}function z(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=H(e)););return e}function H(e){return H=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},H(e)}function Q(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&q(e,t)}function q(e,t){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},q(e,t)}function G(e,t){U(e,t),t.add(e)}function U(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function J(e,t,n){return(t=W(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W(e){var t=Y(e,"string");return"symbol"==D(t)?t:t+""}function Y(e,t){if("object"!=D(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=D(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function X(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var K=new WeakSet;var $=function(e){function t(){var e;A(this,t);e=R(this,t,["DashBoardAdminController"]);G(e,K);J(e,"view",new T);J(e,"moduleName","dashBoard");e.view.initI18n();X(K,e,Z).call(e);X(K,e,ee).call(e);X(K,e,oe).call(e);return e}Q(t,e);return B(t,[{key:"init",value:function e(){I(t,"init",this,3)(["deprecated"])}}])}(i.Ay);x=$;function Z(){this.view.refs.body.on("click",".j-modal",(function(e){return te.call(x,e)}));this.view.refs.body.on("click",".j-modal-close",(function(e){return ne.call(x,e)}))}function ee(){var e=this;this.request("getStats").done((function(t){var n=t.sPies,o=t.sTables;e.view.refs.piesContainer.html(n);e.view.refs.tablesContainer.html(o)}))}function te(e){var t=r()(e.currentTarget).attr("href");try{var n=r()(t);e.preventDefault();if(n.length>0){a.A.openModal(n)}}catch(e){}}function ne(e){e.preventDefault();a.A.closeModals()}function oe(){var e=this;if(!sessionStorage.getItem("alertMFA")){this.request("checkMFA").done((function(t){if(t&&!t.mfa){var n=t&&t.path?t.path:"/gestione.phtml?step=profile#devices";sessionStorage.setItem("alertMFA",true);var o="Come misura di sicurezza aggiuntiva è possibile attivare l'autenticazione a 2 fattori e ricevere sul proprio dispositivo un codice a 6 cifre temporaneo richiesto per l'accesso.\nPer generare il codice a 6 cifre temporaneo è possibile utilizzare applicazioni mobile come Microsoft Authenticator o Google Authenticator ";e.view.confirm(e.view.tslt("lblAttenzione",[],"Attenzione"),e.view.tslt("lblMFAMancante",[],o),(function(){window.location.assign(n)}),(function(){}),{yes:e.view.tslt("lblOk",[],"Ok"),no:e.view.tslt("lblNonOra",[],"Non ora"),ok:e.view.tslt("lblOk",[],"Sì")})}}))}}const re=new $}}]);

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.