1(self["webpackChunkprivacylab"]=self["webpackChunkprivacylab"]||[]).push([[1707],{25251:(e,t,n)=>{"use strict";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=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)}function u(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 m(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}var v=function(e){function t(e){u(this,t);return c(this,t,["controller",e])}m(t,e);return a(t)}(o.A);const h=v},32442:(e,t,n)=>{"use strict";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,s(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 s(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)}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)=>{"use strict";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=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)}function u(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 m(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}var v=function(e){function t(e){u(this,t);return c(this,t,["view",e])}m(t,e);return a(t)}(o.A);const h=v},82559:(e,t,n)=>{"use strict";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=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)}function u(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 m(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&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}var v=function(e){function t(e){u(this,t);return c(this,t,["widget",e])}m(t,e);return a(t)}(o.A);const h=v},71234:(e,t,n)=>{"use strict";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 s(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,f(o.key),o)}}function c(e,t,n){return t&&u(e.prototype,t),n&&u(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(){s(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)=>{"use strict";n.d(t,{x0:()=>U,To:()=>q,Vt:()=>z,Y2:()=>W,JP:()=>G,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 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,c(o.key),o)}}function u(e,t,n){return t&&s(e.prototype,t),n&&s(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=b(t),y(e,m()?Reflect.construct(t,n||[],b(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 m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(m=function t(){return!!e})()}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(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 u(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 x(e){"@babel/helpers - typeof";return x="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},x(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(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,V(o.key),o)}}function M(e,t,n){return t&&D(e.prototype,t),n&&D(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function A(e,t,n){return t=L(t),B(e,N()?Reflect.construct(t,n||[],L(e).constructor):t.apply(e,n))}function B(e,t){if(t&&("object"==x(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})()}
1function L(e){return L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},L(e)}function F(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 H(e,t,n){return(t=V(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e){var t=Q(e,"string");return"symbol"==x(t)?t:t+""}function Q(e,t){if("object"!=x(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=x(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var z="c-button--progress";var q="c-button--disabled";var U="j-progress";var G="c-table--progress";var W="c-hidden";var J=function(e){function t(){var e;C(this,t);for(var n=arguments.length,o=new Array(n),r=0;r<n;r++){o[r]=arguments[r]}e=A(this,t,[].concat(o));H(e,"moduleName","Common");H(e,"modulePath","script/class/controllers/");return e}F(t,e);return M(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 s=arguments.length>4&&arguments[4]!==undefined?arguments[4]:{};if(typeof n!=="string"){throw"L'azione è necessaria. Prego, la favorisca =)"}var u=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 s=o.view.tslt("lblErroreGenerico",{},"Errore generico");if(r!==null&&r!==void 0&&(l=r.aMessage)!==null&&l!==void 0&&l.sMessageText){s=r.aMessage.sMessageText}var u=r&&r.mResponseData&&r.mResponseData.aErrorMsgs;if(o instanceof t&&o.view instanceof w.A&&!u){o.view.alert(o.view.tslt("lblErrore"),s)}}n.reject(r)}};var p=r().extend({type:this.ajax.method,dataType:this.ajax.dataType,url:this.ajax.url,data:u,timeout:this.ajax.timeout,headers:{Accept:"application/json"}},s);if(!r().isEmptyObject(l)){p.data=t.serialize(Object.assign(u,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>4&&arguments[4]!==undefined?arguments[4]:{};var s=n._ajax;if(typeof e!=="string"){throw"L'azione è necessaria. Prego, la favorisca =)"}var u=r().extend({},o);if(o&&o.moduleName&&o.modulePath){s.init({moduleName:o.moduleName,modulePath:o.modulePath,url:o.url,timeout:o.timeout,method:o.method,dataType:o.dataType});delete u.moduleName;delete u.modulePath;delete u.url;delete u.timeout;delete u.method;delete u.dataType}var c=r().extend({docLang:t.getAvailableDocLanguages(),sModule:a||s.moduleName,sPath:s.modulePath,action:e},u);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 s=n.view.tslt("lblErroreGenerico",{},"Errore generico");if(r!==null&&r!==void 0&&(l=r.aMessage)!==null&&l!==void 0&&l.sMessageText){s=r.aMessage.sMessageText}var u=r&&r.mResponseData&&r.mResponseData.aErrorMsgs;if(n instanceof t&&n.view instanceof w.A&&!u){n.view.alert(n.view.tslt("lblErrore"),s)}}o.reject(r)}};var y={type:s.method,dataType:s.dataType,url:s.url,data:c,timeout:s.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&&x(l)==="object"){r=this.serialize(l,a,r)}else{var s=l;if(l===null||l===undefined){s=""}if(l===false){s=0}if(l===true){s=1}
1r.append(a,s)}}}return r}}])}(g);const Y=J},31498:(e,t,n)=>{"use strict";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 s(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,f(o.key),o)}}function c(e,t,n){return t&&u(e.prototype,t),n&&u(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,b()?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 m(e)}function m(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 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;s(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;var 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._messageBoxD
1omEl).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;this._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 s=a.fnConfirm(l,a.jQueryEl);if(s===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)}
1function k(e,t,n){return t=R(t),x(e,D()?Reflect.construct(t,n||[],R(e).constructor):t.apply(e,n))}function x(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 C(e)}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(D=function t(){return!!e})()}function M(e,t,n,o){var r=A(R(1&o?e.prototype:e),t,n);return 2&o&&"function"==typeof r?function(e){return r.apply(n,e)}:r}function A(){return A="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}},A.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&&L(e,t)}
1function L(e,t){return L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},L(e,t)}var F=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>'));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:"_show",value:function e(n,o){M(t,"_show",this,3)([n,o]);_.A.openModal(this._modalOverlayDomEl)}},{key:"hide",value:function e(){M(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 H(e){"@babel/helpers - typeof";return H="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},H(e)}function V(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(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 z(e,t,n){return t&&Q(e.prototype,t),n&&Q(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function q(e){var t=U(e,"string");return"symbol"==H(t)?t:t+""}function U(e,t){if("object"!=H(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=H(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function G(e,t){J(e,t),t.add(e)}function W(e,t,n){J(e,t),t.set(e,n)}function J(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($(e,t))}function $(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 X=new WeakMap;var K=new WeakSet;var Z=function(){function e(){V(this,e);G(this,K);W(this,X,{})}return z(e,[{key:"loadDictFromXML",value:function e(t){$(K,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){$(K,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(X,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(X,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 se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(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&&ue(e.prototype,t),n&&ue(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,be()?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 me(e)}function me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function be(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(be=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(){se(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 F({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 F({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},31707:(e,t,n)=>{"use strict";n.r(t);n.d(t,{default:()=>w});var o=n(74692);var r=n.n(o);var i=n(31498);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 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,c(o.key),o)}}function u(e,t,n){return t&&s(e.prototype,t),n&&s(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=b(t),y(e,m()?Reflect.construct(t,n||[],b(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 m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(m=function t(){return!!e})()}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(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)}
1function 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(){l(this,t);return p(this,t,["RecoveryPlanView"])}v(t,e);return u(t,[{key:"init",value:function e(){this.initRefs()}},{key:"initRefs",value:function e(){var t={};t.body=r()("body");t.formPanel=r()("[name=censimento]");t.form={};t.form.target=t.formPanel.find("[name=keyInserimento]");t.form.section=t.formPanel.find("[name=INSERIMENTO]");t.form.id=t.formPanel.find("[name=RIP_ID]");t.form.idArchive=t.formPanel.find("[name=RIP_IDArchivio]");t.form.importance=t.formPanel.find("#RIP_Criticita");t.form.i18nFields={};t.formPanel.find(".tab-container__lang").each((function(e,n){var o=r()(n);var i=o.data("lang").toLowerCase();i=i.charAt(0).toUpperCase()+i.slice(1);t.form.i18nFields["time".concat(i)]=o.find(".j-time");t.form.i18nFields["software".concat(i)]=o.find(".j-software");t.form.i18nFields["procedure".concat(i)]=o.find(".j-procedure");t.form.i18nFields["test".concat(i)]=o.find(".j-test");t.form.i18nFields["consultants".concat(i)]=o.find(".j-consultants");t.form.i18nFields["suppliers".concat(i)]=o.find(".j-suppliers")}));t.saveBtn=r()(".j-save-btn");t.saveNextBtn=r()(".j-save-next-btn");this.refs=t}}])}(i.A);const w=new g},62031:(e,t,n)=>{var o,r,i;(function(a){"use strict";if(true){!(r=[n(74692)],o=a,i=typeof o==="function"?o.apply(t,r):o,i!==undefined&&(e.exports=i))}else{}})((function(e){"use strict";var t=e.scrollTo=function(t,n,o){return e(window).scrollTo(t,n,o)};t.defaults={axis:"xy",duration:0,limit:true};
1function n(t){return!t.nodeName||e.inArray(t.nodeName.toLowerCase(),["iframe","#document","html","body"])!==-1}function o(e){return typeof e==="function"}e.fn.scrollTo=function(i,a,l){if(typeof a==="object"){l=a;a=0}if(typeof l==="function"){l={onAfter:l}}if(i==="max"){i=9e9}l=e.extend({},t.defaults,l);a=a||l.duration;var s=l.queue&&l.axis.length>1;if(s){a/=2}l.offset=r(l.offset);l.over=r(l.over);return this.each((function(){if(i===null)return;var u=n(this),c=u?this.contentWindow||window:this,f=e(c),p=i,y={},d;switch(typeof p){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(p)){p=r(p);break}p=u?e(p):e(p,c);case"object":if(p.length===0)return;if(p.is||p.style){d=(p=e(p)).offset()}}var m=o(l.offset)&&l.offset(c,p)||l.offset;e.each(l.axis.split(""),(function(e,n){var o=n==="x"?"Left":"Top",r=o.toLowerCase(),i="scroll"+o,a=f[i](),v=t.max(c,n);if(d){y[i]=d[r]+(u?0:a-f.offset()[r]);if(l.margin){y[i]-=parseInt(p.css("margin"+o),10)||0;y[i]-=parseInt(p.css("border"+o+"Width"),10)||0}y[i]+=m[r]||0;if(l.over[r]){y[i]+=p[n==="x"?"width":"height"]()*l.over[r]}}else{var h=p[r];y[i]=h.slice&&h.slice(-1)==="%"?parseFloat(h)/100*v:h}if(l.limit&&/^\d+$/.test(y[i])){y[i]=y[i]<=0?0:Math.min(y[i],v)}if(!e&&l.axis.length>1){if(a===y[i]){y={}}else if(s){b(l.onAfterFirst);y={}}}}));b(l.onAfter);function b(t){var n=e.extend({},l,{queue:true,duration:a,complete:t&&function(){t.call(c,p,l)}});f.animate(y,n)}}))};t.max=function(t,o){var r=o==="x"?"Width":"Height",i="scroll"+r;if(!n(t))return t[i]-e(t)[r.toLowerCase()]();var a="client"+r,l=t.ownerDocument||t.document,s=l.documentElement,u=l.body;return Math.max(s[i],u[i])-Math.min(s[a],u[a])};function r(t){return o(t)||e.isPlainObject(t)?t:{top:t,left:t}}e.Tween.propHooks.scrollLeft=e.Tween.propHooks.scrollTop={get:function(t){return e(t.elem)[t.prop]()},set:function(t){var n=this.get(t);if(t.options.interrupt&&t._last&&t._last!==n){return e(t.elem).stop()}var o=Math.round(t.now);if(n!==o){e(t.elem)[t.prop](o);t._last=this.get(t)}}};return 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.