Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6
System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64
User : User ( 0)
PHP Version : 7.4.6
Disable Function : NONE
Directory :  C:/Program Files/Avast Software/Avast/gui_resources/1.0.663/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : C:/Program Files/Avast Software/Avast/gui_resources/1.0.663/passwordProtection.js
//{"name":"passwordProtection","version":"1.2.401","created":"2021-09-06T10:47:02.702Z"}
import{napiTracker as t,windowApi as e,serviceRequest as n,eventer as o}from"./napi.js";import{soundService as i,productModel as s,ipmService as l}from"./napiExtensions.js";import{nls as r,moment as a}from"./i18n.js";import{TabableToggler as c,stringUtils as u}from"./libs.js";import{modals as d}from"./ractiveComponents.js";import{svelteComponents as p}from"./Settings.js";function h(){}function v(t){return t()}function g(){return Object.create(null)}function m(t){t.forEach(v)}function f(t){return"function"==typeof t}function _(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function b(t,e,n,o){if(t){const i=k(t,e,n,o);return t[0](i)}}function k(t,e,n,o){return t[1]&&o?function(t,e){for(const n in e)t[n]=e[n];return t}(n.ctx.slice(),t[1](o(e))):n.ctx}function w(t,e,n,o,i,s,l){const r=function(t,e,n,o){if(t[2]&&o){const i=t[2](o(n));if(void 0===e.dirty)return i;if("object"==typeof i){const t=[],n=Math.max(e.dirty.length,i.length);for(let o=0;o<n;o+=1)t[o]=e.dirty[o]|i[o];return t}return e.dirty|i}return e.dirty}(e,o,i,s);if(r){const i=k(e,n,o,l);t.p(i,r)}}function $(t){return null==t?"":t}function y(t){return t&&f(t.destroy)?t.destroy:h}function x(t,e){t.appendChild(e)}function z(t,e,n){t.insertBefore(e,n||null)}function P(t){t.parentNode.removeChild(t)}function C(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function T(t){return document.createElement(t)}function q(t){return document.createTextNode(t)}function N(){return q(" ")}function E(){return q("")}function B(t,e,n,o){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n,o)}function S(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function I(t,e,n){e in t?t[e]=n:S(t,e,n)}function A(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function M(t,e,n,o){t.style.setProperty(e,n,o?"important":"")}function D(t,e,n){t.classList[n?"add":"remove"](e)}let L;function H(t){L=t}function j(){if(!L)throw new Error("Function called outside component initialization");return L}function O(t){j().$$.on_mount.push(t)}function G(t){j().$$.on_destroy.push(t)}function K(){const t=j();return(e,n)=>{const o=t.$$.callbacks[e];if(o){const i=function(t,e){const n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!1,!1,e),n}(e,n);o.slice().forEach((e=>{e.call(t,i)}))}}}const U=[],W=[],V=[],F=[],Y=Promise.resolve();let Z=!1;function R(t){V.push(t)}let X=!1;const J=new Set;function Q(){if(!X){X=!0;do{for(let t=0;t<U.length;t+=1){const e=U[t];H(e),tt(e.$$)}for(H(null),U.length=0;W.length;)W.pop()();for(let t=0;t<V.length;t+=1){const e=V[t];J.has(e)||(J.add(e),e())}V.length=0}while(U.length);for(;F.length;)F.pop()();Z=!1,X=!1,J.clear()}}function tt(t){if(null!==t.fragment){t.update(),m(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(R)}}const et=new Set;let nt;function ot(){nt={r:0,c:[],p:nt}}function it(){nt.r||m(nt.c),nt=nt.p}function st(t,e){t&&t.i&&(et.delete(t),t.i(e))}function lt(t,e,n,o){if(t&&t.o){if(et.has(t))return;et.add(t),nt.c.push((()=>{et.delete(t),o&&(n&&t.d(1),o())})),t.o(e)}}const rt="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function at(t){t&&t.c()}function ct(t,e,n,o){const{fragment:i,on_mount:s,on_destroy:l,after_update:r}=t.$$;i&&i.m(e,n),o||R((()=>{const e=s.map(v).filter(f);l?l.push(...e):m(e),t.$$.on_mount=[]})),r.forEach(R)}function ut(t,e){const n=t.$$;null!==n.fragment&&(m(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function dt(t,e){-1===t.$$.dirty[0]&&(U.push(t),Z||(Z=!0,Y.then(Q)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function pt(t,e,n,o,i,s,l=[-1]){const r=L;H(t);const a=t.$$={fragment:null,ctx:null,props:s,update:h,not_equal:i,bound:g(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(r?r.$$.context:[]),callbacks:g(),dirty:l,skip_bound:!1};let c=!1;if(a.ctx=n?n(t,e.props||{},((e,n,...o)=>{const s=o.length?o[0]:n;return a.ctx&&i(a.ctx[e],a.ctx[e]=s)&&(!a.skip_bound&&a.bound[e]&&a.bound[e](s),c&&dt(t,e)),n})):[],a.update(),c=!0,m(a.before_update),a.fragment=!!o&&o(a.ctx),e.target){if(e.hydrate){const t=function(t){return Array.from(t.childNodes)}(e.target);a.fragment&&a.fragment.l(t),t.forEach(P)}else a.fragment&&a.fragment.c();e.intro&&st(t.$$.fragment),ct(t,e.target,e.anchor,e.customElement),Q()}H(r)}class ht{$destroy(){ut(this,1),this.$destroy=h}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}var vt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},gt=/^\s+|\s+$/g,mt=/^[-+]0x[0-9a-f]+$/i,ft=/^0b[01]+$/i,_t=/^0o[0-7]+$/i,bt=parseInt,kt="object"==typeof vt&&vt&&vt.Object===Object&&vt,wt="object"==typeof self&&self&&self.Object===Object&&self,$t=kt||wt||Function("return this")(),yt=Object.prototype.toString,xt=Math.max,zt=Math.min,Pt=function(){return $t.Date.now()};function Ct(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Tt(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==yt.call(t)}(t))return NaN;if(Ct(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ct(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(gt,"");var n=ft.test(t);return n||_t.test(t)?bt(t.slice(2),n?2:8):mt.test(t)?NaN:+t}var qt=function(t,e,n){var o,i,s,l,r,a,c=0,u=!1,d=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function h(e){var n=o,s=i;return o=i=void 0,c=e,l=t.apply(s,n)}function v(t){return c=t,r=setTimeout(m,e),u?h(t):l}function g(t){var n=t-a;return void 0===a||n>=e||n<0||d&&t-c>=s}function m(){var t=Pt();if(g(t))return f(t);r=setTimeout(m,function(t){var n=e-(t-a);return d?zt(n,s-(t-c)):n}(t))}function f(t){return r=void 0,p&&o?h(t):(o=i=void 0,l)}function _(){var t=Pt(),n=g(t);if(o=arguments,i=this,a=t,n){if(void 0===r)return v(a);if(d)return r=setTimeout(m,e),h(a)}return void 0===r&&(r=setTimeout(m,e)),l}return e=Tt(e)||0,Ct(n)&&(u=!!n.leading,s=(d="maxWait"in n)?xt(Tt(n.maxWait)||0,e):s,p="trailing"in n?!!n.trailing:p),_.cancel=function(){void 0!==r&&clearTimeout(r),c=0,o=a=i=r=void 0},_.flush=function(){return void 0===r?l:f(Pt())},_};const{window:Nt}=rt;function Et(t,e,n){const o=t.slice();return o[49]=e[n],o}function Bt(t,e,n){const o=t.slice();return o[52]=e[n],o}function St(t,e,n){const o=t.slice();return o[55]=e[n],o[57]=n,o}const It=t=>({}),At=t=>({});function Mt(t){let e,n,o,i,s,l,a,c,u,d,p,h,v,g,f,_,k,$,C,q,E,I,A,L=t[0].icon&&Dt(t),H=t[0].title&&Ot(t);const j=t[30].default,O=b(j,t,t[29],null);let G=t[0].text&&Gt(t),K=t[0].actionText&&Kt(t);const U=t[30]["custom-content"],W=b(U,t,t[29],At);let V=!t[3]&&t[0].actions&&t[0].actions.length&&Ut(t),F=t[3]&&Xt(t),Y=t[0].dontShowAgain&&Qt(t),Z=t[0].details&&t[0].details.length&&te(t),R=t[2]&&oe(t),X=(t[11]||t[14]>1)&&fe(t);return{c(){e=T("div"),n=T("div"),o=T("h1"),o.innerHTML='<span class="logo -white -width-70"></span>',i=N(),s=T("div"),l=T("button"),a=N(),c=T("div"),L&&L.c(),u=N(),H&&H.c(),d=N(),O&&O.c(),p=N(),G&&G.c(),h=N(),K&&K.c(),v=N(),W&&W.c(),g=N(),V&&V.c(),f=N(),F&&F.c(),_=N(),Y&&Y.c(),k=N(),Z&&Z.c(),$=N(),R&&R.c(),C=N(),X&&X.c(),S(o,"class","nui_logo"),S(l,"class","nui_controls__item -close nui_caption_client g-cursor--pointer"),S(l,"title",r("global.closeModalWindow")),S(s,"class","nui_controls"),S(n,"class","nui_titlebar -toaster nui_caption"),S(c,"class","sve_toaster__main"),D(c,"-auto-v-scroll",t[10]),S(e,"class",q="sve_toaster -detection "+(t[0].color?"-"+t[0].color:"")),M(e,"width",t[1]+"px")},m(r,m){z(r,e,m),x(e,n),x(n,o),x(n,i),x(n,s),x(s,l),x(e,a),x(e,c),L&&L.m(c,null),x(c,u),H&&H.m(c,null),x(c,d),O&&O.m(c,null),x(c,p),G&&G.m(c,null),x(c,h),K&&K.m(c,null),x(c,v),W&&W.m(c,null),x(c,g),V&&V.m(c,null),x(c,f),F&&F.m(c,null),x(c,_),Y&&Y.m(c,null),x(c,k),Z&&Z.m(c,null),x(e,$),R&&R.m(e,null),x(e,C),X&&X.m(e,null),E=!0,I||(A=[B(l,"click",t[19]),y(t[24].call(null,e))],I=!0)},p(t,n){t[0].icon?L?L.p(t,n):(L=Dt(t),L.c(),L.m(c,u)):L&&(L.d(1),L=null),t[0].title?H?H.p(t,n):(H=Ot(t),H.c(),H.m(c,d)):H&&(H.d(1),H=null),O&&O.p&&536870912&n[0]&&w(O,j,t,t[29],n,null,null),t[0].text?G?G.p(t,n):(G=Gt(t),G.c(),G.m(c,h)):G&&(G.d(1),G=null),t[0].actionText?K?K.p(t,n):(K=Kt(t),K.c(),K.m(c,v)):K&&(K.d(1),K=null),W&&W.p&&536870912&n[0]&&w(W,U,t,t[29],n,It,At),!t[3]&&t[0].actions&&t[0].actions.length?V?V.p(t,n):(V=Ut(t),V.c(),V.m(c,f)):V&&(V.d(1),V=null),t[3]?F?F.p(t,n):(F=Xt(t),F.c(),F.m(c,_)):F&&(F.d(1),F=null),t[0].dontShowAgain?Y?Y.p(t,n):(Y=Qt(t),Y.c(),Y.m(c,k)):Y&&(Y.d(1),Y=null),t[0].details&&t[0].details.length?Z?Z.p(t,n):(Z=te(t),Z.c(),Z.m(c,null)):Z&&(Z.d(1),Z=null),1024&n[0]&&D(c,"-auto-v-scroll",t[10]),t[2]?R?R.p(t,n):(R=oe(t),R.c(),R.m(e,C)):R&&(R.d(1),R=null),t[11]||t[14]>1?X?X.p(t,n):(X=fe(t),X.c(),X.m(e,null)):X&&(X.d(1),X=null),(!E||1&n[0]&&q!==(q="sve_toaster -detection "+(t[0].color?"-"+t[0].color:"")))&&S(e,"class",q),(!E||2&n[0])&&M(e,"width",t[1]+"px")},i(t){E||(st(O,t),st(W,t),E=!0)},o(t){lt(O,t),lt(W,t),E=!1},d(t){t&&P(e),L&&L.d(),H&&H.d(),O&&O.d(t),G&&G.d(),K&&K.d(),W&&W.d(t),V&&V.d(),F&&F.d(),Y&&Y.d(),Z&&Z.d(),R&&R.d(),X&&X.d(),I=!1,m(A)}}}function Dt(t){let e;function n(t,e){return t[0].icon.base64data?Ht:Lt}let o=n(t),i=o(t);return{c(){e=T("div"),i.c(),S(e,"class","sve_toaster__icon__container")},m(t,n){z(t,e,n),i.m(e,null)},p(t,s){o===(o=n(t))&&i?i.p(t,s):(i.d(1),i=o(t),i&&(i.c(),i.m(e,null)))},d(t){t&&P(e),i.d()}}}function Lt(t){let e,n,o,i,s,l,r,a=t[0].icon.color&&jt(t);return{c(){e=T("kin-icon"),o=N(),i=T("kin-icon"),l=N(),a&&a.c(),r=E(),I(e,"illustration","true"),I(e,"name",n="ok"==t[0].icon.color?"i-detection-ok":"critical"==t[0].icon.color?"i-detection-critical":""),I(e,"size","144"),I(e,"width","264"),I(e,"class","sve_toaster__icon__bg"),I(i,"class","sve_toaster__icon"),I(i,"name",s=t[0].icon.name),I(i,"size","72")},m(t,n){z(t,e,n),z(t,o,n),z(t,i,n),z(t,l,n),a&&a.m(t,n),z(t,r,n)},p(t,o){1&o[0]&&n!==(n="ok"==t[0].icon.color?"i-detection-ok":"critical"==t[0].icon.color?"i-detection-critical":"")&&I(e,"name",n),1&o[0]&&s!==(s=t[0].icon.name)&&I(i,"name",s),t[0].icon.color?a?a.p(t,o):(a=jt(t),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(t){t&&P(e),t&&P(o),t&&P(i),t&&P(l),a&&a.d(t),t&&P(r)}}}function Ht(t){let e,n,o;return{c(){e=T("img"),S(e,"class","kin-img"),S(e,"height","60"),e.src!==(n="data:image/png;base64,"+t[0].icon.base64data)&&S(e,"src",n),S(e,"alt",o=t[0].title)},m(t,n){z(t,e,n)},p(t,i){1&i[0]&&e.src!==(n="data:image/png;base64,"+t[0].icon.base64data)&&S(e,"src",n),1&i[0]&&o!==(o=t[0].title)&&S(e,"alt",o)},d(t){t&&P(e)}}}function jt(t){let e,n;return{c(){e=T("kin-icon"),I(e,"class","sve_toaster__icon__status"),I(e,"name",n="ok"==t[0].icon.color?"icon-s-fill-secured":"icon-s-fill-unsecured"),I(e,"size","32")},m(t,n){z(t,e,n)},p(t,o){1&o[0]&&n!==(n="ok"==t[0].icon.color?"icon-s-fill-secured":"icon-s-fill-unsecured")&&I(e,"name",n)},d(t){t&&P(e)}}}function Ot(t){let e,n=t[0].title+"";return{c(){e=T("h2"),S(e,"class","sve_toaster__title h2")},m(t,o){z(t,e,o),e.innerHTML=n},p(t,o){1&o[0]&&n!==(n=t[0].title+"")&&(e.innerHTML=n)},d(t){t&&P(e)}}}function Gt(t){let e,n=t[0].text+"";return{c(){e=T("p"),S(e,"class","sve_toaster__text p")},m(t,o){z(t,e,o),e.innerHTML=n},p(t,o){1&o[0]&&n!==(n=t[0].text+"")&&(e.innerHTML=n)},d(t){t&&P(e)}}}function Kt(t){let e,n,o=t[0].actionText+"";return{c(){e=T("p"),n=q(o),S(e,"class","sve_toaster__text p -small -secondary")},m(t,o){z(t,e,o),x(e,n)},p(t,e){1&e[0]&&o!==(o=t[0].actionText+"")&&A(n,o)},d(t){t&&P(e)}}}function Ut(t){let e,n,o,i,s,l,r,a,c,u,d,p,h=t[0].actions[0].label+"",v=null!=t[9]&&Wt(t),g=1===t[0].actions.length&&t[14]>1&&t[15]&&Vt(t);function m(t,e){return 2!==t[0].actions.length||t[0].hideSecondAction?t[0].actions.length>2||t[0].hideSecondAction&&t[0].actions.length>1?Ft:void 0:Yt}let f=m(t),_=f&&f(t),b=t[0].errorText&&Rt(t);return{c(){e=T("div"),n=T("kin-button"),o=T("span"),i=q(h),s=N(),v&&v.c(),r=N(),g&&g.c(),a=N(),_&&_.c(),c=N(),b&&b.c(),u=E(),I(n,"processing",t[8]),I(n,"data-test",l="dd_primary_"+t[0].actions[0].labelTest||"dd_primary_btn"),S(e,"class","sve_toaster__btns")},m(l,h){z(l,e,h),x(e,n),x(n,o),x(o,i),x(o,s),v&&v.m(o,null),x(e,r),g&&g.m(e,null),x(e,a),_&&_.m(e,null),z(l,c,h),b&&b.m(l,h),z(l,u,h),d||(p=B(n,"click",t[31]),d=!0)},p(t,s){1&s[0]&&h!==(h=t[0].actions[0].label+"")&&A(i,h),null!=t[9]?v?v.p(t,s):(v=Wt(t),v.c(),v.m(o,null)):v&&(v.d(1),v=null),256&s[0]&&I(n,"processing",t[8]),1&s[0]&&l!==(l="dd_primary_"+t[0].actions[0].labelTest||"dd_primary_btn")&&I(n,"data-test",l),1===t[0].actions.length&&t[14]>1&&t[15]?g?g.p(t,s):(g=Vt(t),g.c(),g.m(e,a)):g&&(g.d(1),g=null),f===(f=m(t))&&_?_.p(t,s):(_&&_.d(1),_=f&&f(t),_&&(_.c(),_.m(e,null))),t[0].errorText?b?b.p(t,s):(b=Rt(t),b.c(),b.m(u.parentNode,u)):b&&(b.d(1),b=null)},d(t){t&&P(e),v&&v.d(),g&&g.d(),_&&_.d(),t&&P(c),b&&b.d(t),t&&P(u),d=!1,p()}}}function Wt(t){let e,n,o;return{c(){e=q("("),n=q(t[9]),o=q(")")},m(t,i){z(t,e,i),z(t,n,i),z(t,o,i)},p(t,e){512&e[0]&&A(n,t[9])},d(t){t&&P(e),t&&P(n),t&&P(o)}}}function Vt(t){let e,n,o,i,s,l,a,c=r("detection.action.closeAll")+"";return{c(){e=T("kin-button"),n=q(c),o=q("\n\t\t\t\t\t\t\t("),i=q(t[14]),s=q(")"),I(e,"class","g-margin-left--10"),I(e,"kin-disabled",t[8]),I(e,"data-test","closeAll"),I(e,"type","secondary")},m(r,c){z(r,e,c),x(e,n),x(e,o),x(e,i),x(e,s),l||(a=B(e,"click",t[19]),l=!0)},p(t,n){16384&n[0]&&A(i,t[14]),256&n[0]&&I(e,"kin-disabled",t[8])},d(t){t&&P(e),l=!1,a()}}}function Ft(t){let e,n,o,i,s,l,a,c,u=r("global.moreOptions")+"",d=t[0].actions,p=[];for(let r=0;r<d.length;r+=1)p[r]=Zt(St(t,d,r));return{c(){e=T("kin-dropdown"),n=T("div"),o=T("kin-button"),i=q(u),s=N(),l=T("kin-icon"),a=N(),c=T("div");for(let t=0;t<p.length;t+=1)p[t].c();I(l,"class","g-margin-left--5"),I(l,"name","icon-s-controls-arrow-down"),I(l,"size","16"),I(o,"type","secondary"),I(o,"data-test","dd_dropdown_btn"),S(n,"slot","dropdown-activator"),I(e,"class","g-margin-left--10")},m(t,r){z(t,e,r),x(e,n),x(n,o),x(o,i),x(o,s),x(o,l),x(e,a),x(e,c);for(let e=0;e<p.length;e+=1)p[e].m(c,null)},p(t,e){if(8388609&e[0]){let n;for(d=t[0].actions,n=0;n<d.length;n+=1){const o=St(t,d,n);p[n]?p[n].p(o,e):(p[n]=Zt(o),p[n].c(),p[n].m(c,null))}for(;n<p.length;n+=1)p[n].d(1);p.length=d.length}},d(t){t&&P(e),C(p,t)}}}function Yt(t){let e,n,o,i,s,l=t[0].actions[1].label+"";return{c(){e=T("kin-button"),n=q(l),I(e,"class","g-margin-left--10"),I(e,"kin-disabled",t[8]),I(e,"data-test",o="dd_secondary_"+t[0].actions[1].labelTest||"dd_secondary_btn"),I(e,"type","secondary")},m(o,l){z(o,e,l),x(e,n),i||(s=B(e,"click",t[32]),i=!0)},p(t,i){1&i[0]&&l!==(l=t[0].actions[1].label+"")&&A(n,l),256&i[0]&&I(e,"kin-disabled",t[8]),1&i[0]&&o!==(o="dd_secondary_"+t[0].actions[1].labelTest||"dd_secondary_btn")&&I(e,"data-test",o)},d(t){t&&P(e),i=!1,s()}}}function Zt(t){let e,n=0!==t[57]&&function(t){let e,n,o,i,s,l,r=t[55].label+"";function a(){return t[33](t[57])}return{c(){e=T("kin-dropdown-item"),n=q(r),o=N(),I(e,"data-test",i="dd_dropdown_"+t[55].labelTest||"dd_dropdown_"+t[57])},m(t,i){z(t,e,i),x(e,n),x(e,o),s||(l=B(e,"click",a),s=!0)},p(o,s){t=o,1&s[0]&&r!==(r=t[55].label+"")&&A(n,r),1&s[0]&&i!==(i="dd_dropdown_"+t[55].labelTest||"dd_dropdown_"+t[57])&&I(e,"data-test",i)},d(t){t&&P(e),s=!1,l()}}}(t);return{c(){n&&n.c(),e=E()},m(t,o){n&&n.m(t,o),z(t,e,o)},p(t,e){0!==t[57]&&n.p(t,e)},d(t){n&&n.d(t),t&&P(e)}}}function Rt(t){let e,n,o=t[0].errorText+"";return{c(){e=T("p"),n=q(o),S(e,"class","g-margin-top--5 g-margin-bottom--10 p -small -secondary -text color-danger")},m(t,o){z(t,e,o),x(e,n)},p(t,e){1&e[0]&&o!==(o=t[0].errorText+"")&&A(n,o)},d(t){t&&P(e)}}}function Xt(t){let e,n,o,i=(t[5]||t[4]&&t[4].text)&&Jt(t);return{c(){e=T("div"),n=T("kin-progress"),o=N(),i&&i.c(),I(n,"percentage","-1"),S(e,"class","sve_toaster__progress")},m(t,s){z(t,e,s),x(e,n),x(e,o),i&&i.m(e,null)},p(t,n){t[5]||t[4]&&t[4].text?i?i.p(t,n):(i=Jt(t),i.c(),i.m(e,null)):i&&(i.d(1),i=null)},d(t){t&&P(e),i&&i.d()}}}function Jt(t){let e,n,o=(t[5]||t[4].text)+"";return{c(){e=T("p"),n=q(o),S(e,"class","g-margin-top--10 p -small -secondary")},m(t,o){z(t,e,o),x(e,n)},p(t,e){48&e[0]&&o!==(o=(t[5]||t[4].text)+"")&&A(n,o)},d(t){t&&P(e)}}}function Qt(t){let e,n,o,i,s,l,r,a=t[0].dontShowAgain.label+"";return{c(){e=T("p"),n=T("input"),o=N(),i=T("label"),s=q(a),S(n,"type","checkbox"),S(n,"id","detection_dontShowAgain"),S(n,"class","checkbox"),S(i,"for","detection_dontShowAgain"),S(i,"class","g-margin-left--5"),S(e,"class","sve_toaster__text p  g-margin-top--10")},m(a,c){z(a,e,c),x(e,n),x(e,o),x(e,i),x(i,s),l||(r=B(n,"click",t[34]),l=!0)},p(t,e){1&e[0]&&a!==(a=t[0].dontShowAgain.label+"")&&A(s,a)},d(t){t&&P(e),l=!1,r()}}}function te(t){let e,n,o;function i(t,e){return t[2]?ne:ee}let s=i(t),l=s(t);return{c(){e=T("button"),l.c(),S(e,"class","span -small -secondary g-cursor--pointer g-margin-top--10"),S(e,"data-test","btn_toggleDetails")},m(i,s){z(i,e,s),l.m(e,null),n||(o=B(e,"click",t[20]),n=!0)},p(t,n){s===(s=i(t))&&l?l.p(t,n):(l.d(1),l=s(t),l&&(l.c(),l.m(e,null)))},d(t){t&&P(e),l.d(),n=!1,o()}}}function ee(t){let e,n,o,i=r("global.showDetails")+"";return{c(){e=q(i),n=N(),o=T("kin-icon"),I(o,"name","icon-s-controls-arrow-down"),I(o,"size","16")},m(t,i){z(t,e,i),z(t,n,i),z(t,o,i)},p:h,d(t){t&&P(e),t&&P(n),t&&P(o)}}}function ne(t){let e,n,o,i=r("global.hideDetails")+"";return{c(){e=q(i),n=N(),o=T("kin-icon"),I(o,"name","icon-s-controls-arrow-up"),I(o,"size","16")},m(t,i){z(t,e,i),z(t,n,i),z(t,o,i)},p:h,d(t){t&&P(e),t&&P(n),t&&P(o)}}}function oe(t){let e,n,o,i,s,l=t[0].details,r=[];for(let d=0;d<l.length;d+=1)r[d]=re(Bt(t,l,d));let a=t[4]&&ae(t),c=t[6]&&ue(t),u=t[7]&&de(t);return{c(){e=T("div"),n=T("dl");for(let t=0;t<r.length;t+=1)r[t].c();o=E(),a&&a.c(),i=E(),c&&c.c(),s=E(),u&&u.c(),S(n,"class","desclist -short"),S(e,"class","sve_toaster__details")},m(t,l){z(t,e,l),x(e,n);for(let e=0;e<r.length;e+=1)r[e].m(n,null);x(n,o),a&&a.m(n,null),x(n,i),c&&c.m(n,null),x(n,s),u&&u.m(n,null)},p(t,e){if(1&e[0]){let i;for(l=t[0].details,i=0;i<l.length;i+=1){const s=Bt(t,l,i);r[i]?r[i].p(s,e):(r[i]=re(s),r[i].c(),r[i].m(n,o))}for(;i<r.length;i+=1)r[i].d(1);r.length=l.length}t[4]?a?a.p(t,e):(a=ae(t),a.c(),a.m(n,i)):a&&(a.d(1),a=null),t[6]?c?c.p(t,e):(c=ue(t),c.c(),c.m(n,s)):c&&(c.d(1),c=null),t[7]?u?u.p(t,e):(u=de(t),u.c(),u.m(n,null)):u&&(u.d(1),u=null)},d(t){t&&P(e),C(r,t),a&&a.d(),c&&c.d(),u&&u.d()}}}function ie(t){let e,n,o,i=t[52].title+"";function s(t,e){return"scoreMeter"===t[52].type&&4>t[52].value?le:se}let l=s(t),r=l(t);return{c(){e=T("dt"),n=q(i),r.c(),o=E()},m(t,i){z(t,e,i),x(e,n),r.m(t,i),z(t,o,i)},p(t,e){1&e[0]&&i!==(i=t[52].title+"")&&A(n,i),l===(l=s(t))&&r?r.p(t,e):(r.d(1),r=l(t),r&&(r.c(),r.m(o.parentNode,o)))},d(t){t&&P(e),r.d(t),t&&P(o)}}}function se(t){let e,n,o,i=t[52].value+"";return{c(){e=T("dd"),n=q(i),S(e,"data-test",o=t[52].testValue)},m(t,o){z(t,e,o),x(e,n)},p(t,s){1&s[0]&&i!==(i=t[52].value+"")&&A(n,i),1&s[0]&&o!==(o=t[52].testValue)&&S(e,"data-test",o)},d(t){t&&P(e)}}}function le(t){let e,n,o,i,s,l,r,a,c;return{c(){e=T("dd"),n=T("div"),o=T("div"),i=N(),s=T("div"),l=N(),r=T("div"),c=N(),S(n,"class",a="scoremeter -val-"+t[52].value)},m(t,a){z(t,e,a),x(e,n),x(n,o),x(n,i),x(n,s),x(n,l),x(n,r),x(e,c)},p(t,e){1&e[0]&&a!==(a="scoremeter -val-"+t[52].value)&&S(n,"class",a)},d(t){t&&P(e)}}}function re(t){let e,n=t[52].value&&ie(t);return{c(){n&&n.c(),e=E()},m(t,o){n&&n.m(t,o),z(t,e,o)},p(t,o){t[52].value?n?n.p(t,o):(n=ie(t),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(t){n&&n.d(t),t&&P(e)}}}function ae(t){let e,n,o,i,s,l=t[4].text+"",a=t[4].action&&ce(t);return{c(){e=T("dt"),e.textContent=`${r("global.status")}`,n=T("dd"),o=q(l),i=N(),a&&a.c(),s=N(),S(n,"data-test","status")},m(t,l){z(t,e,l),z(t,n,l),x(n,o),x(n,i),a&&a.m(n,null),x(n,s)},p(t,e){16&e[0]&&l!==(l=t[4].text+"")&&A(o,l),t[4].action?a?a.p(t,e):(a=ce(t),a.c(),a.m(n,s)):a&&(a.d(1),a=null)},d(t){t&&P(e),t&&P(n),a&&a.d()}}}function ce(t){let e,n,o,i,s,l,r=t[4].actionLabel+"";return{c(){e=q("| "),n=T("button"),o=q(r),S(n,"class","a"),S(n,"data-test",i="scn_"+t[4].actionLabelGa)},m(i,r){z(i,e,r),z(i,n,r),x(n,o),s||(l=B(n,"click",t[21]),s=!0)},p(t,e){16&e[0]&&r!==(r=t[4].actionLabel+"")&&A(o,r),16&e[0]&&i!==(i="scn_"+t[4].actionLabelGa)&&S(n,"data-test",i)},d(t){t&&P(e),t&&P(n),s=!1,l()}}}function ue(t){let e,n,o,i,s,l,a,c,u=t[6].text+"";return{c(){e=T("dt"),e.textContent=`${r("global.option")}`,n=T("dd"),o=T("button"),i=q(u),l=N(),S(o,"class","a"),S(o,"data-test",s="scn_"+t[6].actionLabelGa),S(n,"data-test","option")},m(s,r){z(s,e,r),z(s,n,r),x(n,o),x(o,i),x(n,l),a||(c=B(o,"click",t[22]),a=!0)},p(t,e){64&e[0]&&u!==(u=t[6].text+"")&&A(i,u),64&e[0]&&s!==(s="scn_"+t[6].actionLabelGa)&&S(o,"data-test",s)},d(t){t&&P(e),t&&P(n),a=!1,c()}}}function de(t){let e,n=t[7],o=[];for(let i=0;i<n.length;i+=1)o[i]=me(Et(t,n,i));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();e=E()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);z(t,e,n)},p(t,i){if(33554560&i[0]){let s;for(n=t[7],s=0;s<n.length;s+=1){const l=Et(t,n,s);o[s]?o[s].p(l,i):(o[s]=me(l),o[s].c(),o[s].m(e.parentNode,e))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}},d(t){C(o,t),t&&P(e)}}}function pe(t){let e;return{c(){e=T("dt"),e.textContent=`${r("global.options")}`},m(t,n){z(t,e,n)},p:h,d(t){t&&P(e)}}}function he(t){let e,n,o=t[49].title+"";return{c(){e=T("dt"),n=q(o)},m(t,o){z(t,e,o),x(e,n)},p(t,e){128&e[0]&&o!==(o=t[49].title+"")&&A(n,o)},d(t){t&&P(e)}}}function ve(t){let e,n,o,i,s,l,r,a,c,u=t[49].label+"";function d(){return t[35](t[49])}return{c(){e=T("input"),i=N(),s=T("label"),l=q(u),S(e,"type","checkbox"),S(e,"class","checkbox"),e.checked=n=t[49].value,S(e,"id",o="form_checkbox_"+t[49].valueName),S(s,"for",r="form_checkbox_"+t[49].valueName),S(s,"class","g-margin-left--5")},m(t,n){z(t,e,n),z(t,i,n),z(t,s,n),x(s,l),a||(c=B(e,"click",d),a=!0)},p(i,a){t=i,128&a[0]&&n!==(n=t[49].value)&&(e.checked=n),128&a[0]&&o!==(o="form_checkbox_"+t[49].valueName)&&S(e,"id",o),128&a[0]&&u!==(u=t[49].label+"")&&A(l,u),128&a[0]&&r!==(r="form_checkbox_"+t[49].valueName)&&S(s,"for",r)},d(t){t&&P(e),t&&P(i),t&&P(s),a=!1,c()}}}function ge(t){let e,n,o,i=t[49].label+"";return{c(){e=T("label"),n=q(i),S(e,"for",o="form_checkbox_"+t[49].valueName)},m(t,o){z(t,e,o),x(e,n)},p(t,s){128&s[0]&&i!==(i=t[49].label+"")&&A(n,i),128&s[0]&&o!==(o="form_checkbox_"+t[49].valueName)&&S(e,"for",o)},d(t){t&&P(e)}}}function me(t){let e,n,o;function i(t,e){return t[49].title?he:pe}let s=i(t),l=s(t),r="checkbox"===t[49].type&&ve(t),a="label"===t[49].type&&ge(t);return{c(){l.c(),e=T("dd"),r&&r.c(),n=N(),a&&a.c(),o=N()},m(t,i){l.m(t,i),z(t,e,i),r&&r.m(e,null),x(e,n),a&&a.m(e,null),x(e,o)},p(t,c){s===(s=i(t))&&l?l.p(t,c):(l.d(1),l=s(t),l&&(l.c(),l.m(e.parentNode,e))),"checkbox"===t[49].type?r?r.p(t,c):(r=ve(t),r.c(),r.m(e,n)):r&&(r.d(1),r=null),"label"===t[49].type?a?a.p(t,c):(a=ge(t),a.c(),a.m(e,o)):a&&(a.d(1),a=null)},d(t){l.d(t),t&&P(e),r&&r.d(),a&&a.d()}}}function fe(t){let e,n,o,i,s=t[11]&&_e(t),l=t[14]>1&&be(t);return{c(){e=T("div"),n=T("div"),s&&s.c(),o=N(),i=T("div"),l&&l.c(),S(e,"class","sve_toaster__footer")},m(t,r){z(t,e,r),x(e,n),s&&s.m(n,null),x(e,o),x(e,i),l&&l.m(i,null)},p(t,e){t[11]?s?s.p(t,e):(s=_e(t),s.c(),s.m(n,null)):s&&(s.d(1),s=null),t[14]>1?l?l.p(t,e):(l=be(t),l.c(),l.m(i,null)):l&&(l.d(1),l=null)},d(t){t&&P(e),s&&s.d(),l&&l.d()}}}function _e(t){let e,n,o,i,s,l,a,c,u,d,p,h,v=t[12]?"/"+t[12]:"";return{c(){e=T("span"),n=q(t[11]),o=q(v),i=N(),s=T("kin-tooltip"),l=T("span"),l.innerHTML='<kin-icon name="icon-m-action-info" size="20"></kin-icon>',a=N(),c=T("div"),u=T("h4"),u.textContent=`${r("detection.alertid.title")}`,d=N(),p=T("p"),p.textContent=`${r("detection.alertid.desc")}`,h=T("p"),S(e,"class","span -small -secondary"),S(e,"data-test","dd_alertid_text"),S(l,"slot","tooltip-activator"),S(u,"class","h4 -margins"),S(p,"class","p -small"),S(c,"slot","tooltip"),I(s,"severity","highlight")},m(t,r){z(t,e,r),x(e,n),x(e,o),z(t,i,r),z(t,s,r),x(s,l),x(s,a),x(s,c),x(c,u),x(c,d),x(c,p),x(c,h)},p(t,e){2048&e[0]&&A(n,t[11]),4096&e[0]&&v!==(v=t[12]?"/"+t[12]:"")&&A(o,v)},d(t){t&&P(e),t&&P(i),t&&P(s)}}}function be(t){let e,n,o,i,s,l,a,c,u,d,p,h,v,g=t[13]+1+"";return{c(){e=T("span"),e.textContent=`${r("detection.more.detections")}`,n=N(),o=T("kin-button"),i=T("kin-icon"),s=N(),l=q(g),a=q("\n\t\t\t\t\t\t/\n\t\t\t\t\t\t"),c=T("kin-button"),u=q(t[14]),d=N(),p=T("kin-icon"),S(e,"class","span -small -secondary"),I(i,"name","icon-s-controls-arrow-left"),I(i,"size","16"),I(i,"rtlflip","true"),I(o,"type","blank"),I(o,"size","small"),I(o,"class","sve_toaster__paginator g-margin-left--5"),I(o,"data-test","dd_prev_btn"),I(p,"name","icon-s-controls-arrow-right"),I(p,"size","16"),I(p,"rtlflip","true"),I(c,"type","blank"),I(c,"size","small"),I(c,"class","sve_toaster__paginator"),I(c,"data-test","dd_next_btn")},m(r,g){z(r,e,g),z(r,n,g),z(r,o,g),x(o,i),x(o,s),x(o,l),z(r,a,g),z(r,c,g),x(c,u),x(c,d),x(c,p),h||(v=[B(o,"click",t[17]),B(c,"click",t[18])],h=!0)},p(t,e){8192&e[0]&&g!==(g=t[13]+1+"")&&A(l,g),16384&e[0]&&A(u,t[14])},d(t){t&&P(e),t&&P(n),t&&P(o),t&&P(a),t&&P(c),h=!1,m(v)}}}function ke(t){let e,n,o,i,s=t[0]&&Mt(t);return{c(){s&&s.c(),e=E()},m(l,r){s&&s.m(l,r),z(l,e,r),n=!0,o||(i=B(Nt,"keydown",t[16]),o=!0)},p(t,n){t[0]?s?(s.p(t,n),1&n[0]&&st(s,1)):(s=Mt(t),s.c(),st(s,1),s.m(e.parentNode,e)):s&&(ot(),lt(s,1,1,(()=>{s=null})),it())},i(t){n||(st(s),n=!0)},o(t){lt(s),n=!1},d(t){s&&s.d(t),t&&P(e),o=!1,i()}}}function we(n,o,s){let l,r,c,u,d,p,h,{$$slots:v={},$$scope:g}=o;const m=K();let f,_,b,k,w,$,{windowWidth:y=600}=o,{config:x=null}=o,{windowClose:z=null}=o,P=!1,C=null,T=null,q=!1,N=!1,E=!1,B=!1;function S(t=!1){const n=x&&x.closeResponse;z?z(n):(m("close",n),(t||p<=1)&&e.close())}function I(t){A(x.actions[t],t)}function A(e,n){const o=e.action&&e.action(),i=Date.now();if(T&&T(),null==o)null==e.nextConfig?S():M(e.nextConfig,i,e.minDuration);else{const t=1===n&&2===x.actions.length&&!x.hideSecondAction;e.status||0!==n&&!t?(s(4,f=e.status),s(5,_=void 0),s(6,b=e.option),s(3,q=!0)):s(8,N=!0),o.then((t=>{M(t,i,e.minDuration)})).catch((t=>{M(t,i,e.minDuration)}))}e.labelGa&&t.event("DetectionDialog","Click",e.labelGa)}function M(t,e,n){const o=Math.max(n-(Date.now()-e),0);if(C&&C(),o>0){const e=window.setTimeout((()=>{!t&&p>0?S():s(0,x=t),C&&C()}),o);C=()=>{window.clearTimeout(e),C=null}}else!t&&p>0?S():s(0,x=t)}function D(t){t?(s(3,q=x.progress),s(4,f=x.status),s(5,_=x.progressStatusText),s(6,b=x.option),s(7,k=x.formItems),s(8,N=!1),function(){if(T&&T(),x.actions&&x.actions.length&&x.actions[0].countdown){s(9,w=x.actions[0].countdown);const t=window.setInterval((function(){w?s(9,w--,w):A(x.actions[0],0)}),1e3);T=function(){window.clearInterval(t),s(9,w=null),T=null}}}()):S()}function L(t){const n=Math.max(400,t.scrollHeight);B&&(B=!1,s(10,E=n>window.screen.availHeight)),e.resize(y,Math.min(n,window.screen.availHeight))}function H(t){t.value=!t.value,m("formItemUpdated",t)}O((()=>{i.play("threat")})),G((()=>{C&&C(),T&&T(),$&&$.cancel()}));return n.$$set=t=>{"windowWidth"in t&&s(1,y=t.windowWidth),"config"in t&&s(0,x=t.config),"windowClose"in t&&s(26,z=t.windowClose),"$$scope"in t&&s(29,g=t.$$scope)},n.$$.update=()=>{1&n.$$.dirty[0]&&D(x),1&n.$$.dirty[0]&&s(27,l=x&&x.trackerTitle),134217728&n.$$.dirty[0]&&function(n){const o=e.getUrlParams();null!=n&&t.view(o.module+"_"+o.view+(n?"_"+n:""))}(l),1&n.$$.dirty[0]&&s(28,r=x&&x.detectionInfo||{}),268435456&n.$$.dirty[0]&&s(11,c=r.id||""),268435456&n.$$.dirty[0]&&s(12,u=r.timestamp&&a(r.timestamp).format("YYMMDD.HHmmZZ")||""),268435456&n.$$.dirty[0]&&s(13,d=r.index||0),268435456&n.$$.dirty[0]&&s(14,p=r.total||0),268435456&n.$$.dirty[0]&&s(15,h=r.showCloseAllBtn||!1)},[x,y,P,q,f,_,b,k,N,w,E,c,u,d,p,h,function(t){const e=x.actions;e&&e.length&&e.some(((e,n)=>{if(e.shortcut&&e.shortcut.code===t.code&&!!e.shortcut.ctrlKey===t.ctrlKey&&!!e.shortcut.shiftKey===t.shiftKey&&!!e.shortcut.altKey===t.altKey&&!!e.shortcut.metaKey===t.metaKey)return A(e,n),!0}))},function(){m("prev")},function(){m("next")},function(){!function(e=!1){t.event("DetectionDialog","Close"),m("ignore"),S(e)}(!0)},function(){s(2,P=!P),B=!0},function(){const e=f.actionLabelGa,n=f.action;e&&t.event("DetectionDialog","Click",e),"function"==typeof n?n():console.error("[SvelteComponents] {DetectionDialog} StatusAction is not function")},function(){const e=b.actionLabelGa,n=b.action;e&&t.event("DetectionDialog","Click",e),"function"==typeof n?n():console.error("[SvelteComponents] {DetectionDialog} OptionAction is not function")},I,function(t){L(t),$=qt(L.bind(this,t),25);const e=new MutationObserver($);return e.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),{destroy:e.disconnect.bind(e)}},H,z,l,r,g,v,()=>I(0),()=>I(1),t=>I(t),t=>x.dontShowAgain.action(t.target.checked),t=>H(t)]}class $e extends ht{constructor(t){super(),pt(this,t,we,ke,_,{windowWidth:1,config:0,windowClose:26},[-1,-1])}}const{document:ye}=rt;const xe=t=>({}),ze=t=>({}),Pe=t=>({}),Ce=t=>({}),Te=t=>({}),qe=t=>({}),Ne=t=>({}),Ee=t=>({}),Be=t=>({}),Se=t=>({}),Ie=t=>({}),Ae=t=>({});function Me(t){let e,n,o,i,s;const l=[Le,De],r=[];function a(t,e){return""!=t[0]?0:1}return e=a(t),n=r[e]=l[e](t),{c(){n.c(),o=N(),i=T("kin-loading"),I(i,"fullscreen","true"),I(i,"class","svelte-13u5uhu")},m(t,n){r[e].m(t,n),z(t,o,n),z(t,i,n),s=!0},p(t,i){let s=e;e=a(t),e===s?r[e].p(t,i):(ot(),lt(r[s],1,1,(()=>{r[s]=null})),it(),n=r[e],n?n.p(t,i):(n=r[e]=l[e](t),n.c()),st(n,1),n.m(o.parentNode,o))},i(t){s||(st(n),s=!0)},o(t){lt(n),s=!1},d(t){r[e].d(t),t&&P(o),t&&P(i)}}}function De(t){let e,n;const o=t[16]["page-title"],i=b(o,t,t[15],Ae);return{c(){e=T("div"),i&&i.c(),S(e,"class","kin_loading__title svelte-13u5uhu"),M(e,"color","transparent")},m(t,o){z(t,e,o),i&&i.m(e,null),n=!0},p(t,e){i&&i.p&&32768&e&&w(i,o,t,t[15],e,Ie,Ae)},i(t){n||(st(i,t),n=!0)},o(t){lt(i,t),n=!1},d(t){t&&P(e),i&&i.d(t)}}}function Le(t){let e;return{c(){e=T("h1"),S(e,"class","kin_loading__title svelte-13u5uhu"),M(e,"color","transparent")},m(n,o){z(n,e,o),e.innerHTML=t[0]},p(t,n){1&n&&(e.innerHTML=t[0])},i:h,o:h,d(t){t&&P(e)}}}function He(t){let e,n;const o=t[16]["page-title"],i=b(o,t,t[15],Ee);return{c(){e=T("div"),i&&i.c(),S(e,"class","kin_header__title svelte-13u5uhu")},m(t,o){z(t,e,o),i&&i.m(e,null),n=!0},p(t,e){i&&i.p&&32768&e&&w(i,o,t,t[15],e,Ne,Ee)},i(t){n||(st(i,t),n=!0)},o(t){lt(i,t),n=!1},d(t){t&&P(e),i&&i.d(t)}}}function je(t){let e;return{c(){e=T("h1"),S(e,"class","kin_header__title svelte-13u5uhu")},m(n,o){z(n,e,o),e.innerHTML=t[0]},p(t,n){1&n&&(e.innerHTML=t[0])},i:h,o:h,d(t){t&&P(e)}}}function Oe(t){let e,n,o;const i=t[16].controls,s=b(i,t,t[15],qe);let l=t[4]&&t[5]&&Ge(t);return{c(){e=T("div"),s&&s.c(),n=N(),l&&l.c(),S(e,"class","kin_header__controls svelte-13u5uhu")},m(t,i){z(t,e,i),s&&s.m(e,null),x(e,n),l&&l.m(e,null),o=!0},p(t,n){s&&s.p&&32768&n&&w(s,i,t,t[15],n,Te,qe),t[4]&&t[5]?l?l.p(t,n):(l=Ge(t),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i(t){o||(st(s,t),o=!0)},o(t){lt(s,t),o=!1},d(t){t&&P(e),s&&s.d(t),l&&l.d()}}}function Ge(t){let e,n;return{c(){e=T("div"),n=q(t[5]),S(e,"class","kin_header__tooltip tooltip -onboarding -arrow-top svelte-13u5uhu")},m(t,o){z(t,e,o),x(e,n)},p(t,e){32&e&&A(n,t[5])},d(t){t&&P(e)}}}function Ke(t){let e,n,o,i;return{c(){e=T("button"),n=T("kin-icon"),I(n,"name","icon-s-controls-arrow-left"),I(n,"size","20"),I(n,"class","svelte-13u5uhu"),S(e,"class","kin_back-btn svelte-13u5uhu"),S(e,"title",r("global.goBack"))},m(s,l){z(s,e,l),x(e,n),o||(i=B(e,"click",t[17]),o=!0)},p:h,d(t){t&&P(e),o=!1,i()}}}function Ue(t){let e,n,o;return{c(){e=T("a"),n=T("kin-icon"),I(n,"name","icon-s-controls-arrow-left"),I(n,"size","20"),I(n,"class","svelte-13u5uhu"),S(e,"class","kin_back-btn svelte-13u5uhu"),S(e,"href",o=t[9]||"#Dashboard"),S(e,"title",r("global.goBack"))},m(t,o){z(t,e,o),x(e,n)},p(t,n){512&n&&o!==(o=t[9]||"#Dashboard")&&S(e,"href",o)},d(t){t&&P(e)}}}function We(t){let e,n;return{c(){e=T("a"),n=T("kin-icon"),I(n,"name","icon-s-settings-button"),I(n,"size","20"),I(n,"class","svelte-13u5uhu"),S(e,"class","kin_settings-btn svelte-13u5uhu"),S(e,"href",t[1]),S(e,"title",r("settings"))},m(t,o){z(t,e,o),x(e,n)},p(t,n){2&n&&S(e,"href",t[1])},d(t){t&&P(e)}}}function Ve(t){let e,n,o,i;const s=t[16]["page-content"],l=b(s,t,t[15],ze);return{c(){e=T("div"),l&&l.c(),S(e,"class","kin_page__content svelte-13u5uhu"),D(e,"-disabled",t[4])},m(s,r){z(s,e,r),l&&l.m(e,null),n=!0,o||(i=y(t[13].call(null,e)),o=!0)},p(t,n){l&&l.p&&32768&n&&w(l,s,t,t[15],n,xe,ze),16&n&&D(e,"-disabled",t[4])},i(t){n||(st(l,t),n=!0)},o(t){lt(l,t),n=!1},d(t){t&&P(e),l&&l.d(t),o=!1,i()}}}function Fe(t){let e,n;const o=t[16].upsell,i=b(o,t,t[15],Ce);return{c(){e=T("div"),i&&i.c(),S(e,"class","kin_page__content svelte-13u5uhu")},m(t,o){z(t,e,o),i&&i.m(e,null),n=!0},p(t,e){i&&i.p&&32768&e&&w(i,o,t,t[15],e,Pe,Ce)},i(t){n||(st(i,t),n=!0)},o(t){lt(i,t),n=!1},d(t){t&&P(e),i&&i.d(t)}}}function Ye(t){let e,n,o,i,s,l,r,a,c,u,d,p,h,v,g,m,f,_=t[10]&&Me(t);const k=t[16].breadcrumbs,$=b(k,t,t[15],Se),y=[je,He],C=[];function q(t,e){return t[0]?0:1}a=q(t),c=C[a]=y[a](t);let E=!t[3]&&Oe(t);function B(t,e){return t[7]&&!t[8]?Ue:t[8]?Ke:void 0}let I=B(t),A=I&&I(t),M=t[1]&&!t[3]&&We(t);const L=[Fe,Ve],H=[];function j(t,e){return t[3]?0:1}return v=j(t),g=H[v]=L[v](t),{c(){e=T("div"),_&&_.c(),n=N(),o=T("div"),i=T("header"),s=T("div"),$&&$.c(),l=N(),r=T("div"),c.c(),u=N(),E&&E.c(),d=N(),A&&A.c(),p=N(),M&&M.c(),h=N(),g.c(),S(s,"class","kin_header__crumbs crumbs svelte-13u5uhu"),S(r,"class","kin_header__content svelte-13u5uhu"),S(i,"class","kin_header svelte-13u5uhu"),S(o,"class","svelte-13u5uhu"),D(o,"invisible",t[10]),S(e,"class",m="kin_page "+("ltr"!=t[11]?"-"+t[11]:"")+" "+(t[6]?"-"+t[6]:"")+" "+t[2]+" svelte-13u5uhu")},m(t,c){z(t,e,c),_&&_.m(e,null),x(e,n),x(e,o),x(o,i),x(i,s),$&&$.m(s,null),x(i,l),x(i,r),C[a].m(r,null),x(r,u),E&&E.m(r,null),x(i,d),A&&A.m(i,null),x(i,p),M&&M.m(i,null),x(o,h),H[v].m(o,null),f=!0},p(t,[s]){t[10]?_?(_.p(t,s),1024&s&&st(_,1)):(_=Me(t),_.c(),st(_,1),_.m(e,n)):_&&(ot(),lt(_,1,1,(()=>{_=null})),it()),$&&$.p&&32768&s&&w($,k,t,t[15],s,Be,Se);let l=a;a=q(t),a===l?C[a].p(t,s):(ot(),lt(C[l],1,1,(()=>{C[l]=null})),it(),c=C[a],c?c.p(t,s):(c=C[a]=y[a](t),c.c()),st(c,1),c.m(r,u)),t[3]?E&&(ot(),lt(E,1,1,(()=>{E=null})),it()):E?(E.p(t,s),8&s&&st(E,1)):(E=Oe(t),E.c(),st(E,1),E.m(r,null)),I===(I=B(t))&&A?A.p(t,s):(A&&A.d(1),A=I&&I(t),A&&(A.c(),A.m(i,p))),t[1]&&!t[3]?M?M.p(t,s):(M=We(t),M.c(),M.m(i,null)):M&&(M.d(1),M=null);let d=v;v=j(t),v===d?H[v].p(t,s):(ot(),lt(H[d],1,1,(()=>{H[d]=null})),it(),g=H[v],g?g.p(t,s):(g=H[v]=L[v](t),g.c()),st(g,1),g.m(o,null)),1024&s&&D(o,"invisible",t[10]),(!f||2116&s&&m!==(m="kin_page "+("ltr"!=t[11]?"-"+t[11]:"")+" "+(t[6]?"-"+t[6]:"")+" "+t[2]+" svelte-13u5uhu"))&&S(e,"class",m)},i(t){f||(st(_),st($,t),st(c),st(E),st(g),f=!0)},o(t){lt(_),lt($,t),lt(c),lt(E),lt(g),f=!1},d(t){t&&P(e),_&&_.d(),$&&$.d(t),C[a].d(),E&&E.d(),A&&A.d(),M&&M.d(),H[v].d()}}}function Ze(t,e,n){let{$$slots:o={},$$scope:i}=e,{heading:s}=e,{settingsUrl:l}=e,{cssCls:r}=e,{upsell:a=!1}=e,{inactive:u=!1}=e,{inactiveMsg:d}=e,{layout:p}=e,{back:h=!0}=e,{backEvent:v=!1}=e,{backHash:g}=e,{loading:m=!1}=e;const f=K();let _,b="ltr";O((()=>{n(11,b=document.body.dir)})),G((()=>{n(11,b=null)}));return t.$$set=t=>{"heading"in t&&n(0,s=t.heading),"settingsUrl"in t&&n(1,l=t.settingsUrl),"cssCls"in t&&n(2,r=t.cssCls),"upsell"in t&&n(3,a=t.upsell),"inactive"in t&&n(4,u=t.inactive),"inactiveMsg"in t&&n(5,d=t.inactiveMsg),"layout"in t&&n(6,p=t.layout),"back"in t&&n(7,h=t.back),"backEvent"in t&&n(8,v=t.backEvent),"backHash"in t&&n(9,g=t.backHash),"loading"in t&&n(10,m=t.loading),"$$scope"in t&&n(15,i=t.$$scope)},t.$$.update=()=>{16400&t.$$.dirty&&_&&_.set(!u)},[s,l,r,a,u,d,p,h,v,g,m,b,f,function(t){return n(14,_=new c(t)),{destroy:()=>{_.destroy(),n(14,_=null)}}},_,i,o,()=>f("backClick")]}class Re extends ht{constructor(t){var e;super(),ye.getElementById("svelte-13u5uhu-style")||((e=T("style")).id="svelte-13u5uhu-style",e.textContent=".invisible.svelte-13u5uhu.svelte-13u5uhu{display:none}.svelte-13u5uhu.svelte-13u5uhu,.svelte-13u5uhu.svelte-13u5uhu:before,.svelte-13u5uhu.svelte-13u5uhu:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.kin_page.svelte-13u5uhu.svelte-13u5uhu{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--page-background);overflow:hidden}.kin_loading__title.svelte-13u5uhu.svelte-13u5uhu{position:absolute;opacity:0.01}.kin_header.svelte-13u5uhu.svelte-13u5uhu{padding:1.5rem var(--page-padding) 0;height:var(--header-height);position:relative;text-align:var(--page-header-align)}.kin_header__crumbs.svelte-13u5uhu.svelte-13u5uhu,.kin_header__content.svelte-13u5uhu.svelte-13u5uhu{position:absolute;left:var(--page-padding);right:var(--page-padding)}.kin_header__crumbs.svelte-13u5uhu.svelte-13u5uhu{display:var(--breadcrumbs-vis)}.kin_header__content.svelte-13u5uhu.svelte-13u5uhu{bottom:1.1rem}.kin_header__title.svelte-13u5uhu.svelte-13u5uhu,.kin_header__controls.svelte-13u5uhu.svelte-13u5uhu{display:inline-block;vertical-align:middle;position:relative}.kin_header__title.svelte-13u5uhu.svelte-13u5uhu{margin-top:0;margin-bottom:0;padding:0;line-height:1.1;font-size:var(--font-size-header);font-weight:var(--font-weight-h1);max-width:100%}.kin_header__tooltip.svelte-13u5uhu.svelte-13u5uhu{position:absolute;width:24rem;margin-top:calc(var(--switch-height) + 1.5rem);padding-top:1.2rem;padding-bottom:1.2rem;z-index:20;transform:translateX(-50%);left:50%}.kin_back-btn.svelte-13u5uhu.svelte-13u5uhu,.kin_settings-btn.svelte-13u5uhu.svelte-13u5uhu{position:absolute;left:0;top:var(--back-button-top);border:0;background-color:var(--ds-on-background-extra-light);transition:background-color 0.2s, width 0.2s;cursor:pointer;color:inherit;text-decoration:none;width:4.8rem;height:var(--back-button-height);border-radius:0 var(--back-button-height) var(--back-button-height) 0;display:flex;align-items:center;justify-content:center;z-index:9}.kin_back-btn.svelte-13u5uhu kin-icon.svelte-13u5uhu,.kin_settings-btn.svelte-13u5uhu kin-icon.svelte-13u5uhu{opacity:0.75}.kin_back-btn.svelte-13u5uhu.svelte-13u5uhu:focus,.kin_settings-btn.svelte-13u5uhu.svelte-13u5uhu:focus,.kin_back-btn.svelte-13u5uhu.svelte-13u5uhu:hover,.kin_settings-btn.svelte-13u5uhu.svelte-13u5uhu:hover{width:5.6rem;background-color:var(--ds-on-background-light);outline:0}.kin_back-btn.svelte-13u5uhu:focus kin-icon.svelte-13u5uhu,.kin_settings-btn.svelte-13u5uhu:focus kin-icon.svelte-13u5uhu,.kin_back-btn.svelte-13u5uhu:hover kin-icon.svelte-13u5uhu,.kin_settings-btn.svelte-13u5uhu:hover kin-icon.svelte-13u5uhu{opacity:1}.kin_settings-btn.svelte-13u5uhu.svelte-13u5uhu{left:auto;right:0;border-radius:var(--back-button-height) 0 0 var(--back-button-height)}.kin_settings-btn__tooltip.svelte-13u5uhu.svelte-13u5uhu{display:none;position:absolute;right:105%}.kin_back-btn.svelte-13u5uhu.svelte-13u5uhu{display:var(--back-btn-vis)}.kin_back-btn.-static.svelte-13u5uhu.svelte-13u5uhu{position:fixed;top:6.4rem}.kin_page__content.svelte-13u5uhu.svelte-13u5uhu{position:absolute;top:var(--header-height);right:0;bottom:0;left:0;display:block}.kin_page__content.-disabled.svelte-13u5uhu.svelte-13u5uhu{opacity:0.2;pointer-events:none}.kin_upsell.svelte-13u5uhu.svelte-13u5uhu{top:var(--header-height);bottom:0;left:0;right:0;position:absolute;display:flex;flex-direction:column;justify-content:center;align-items:center}.kin_upsell__icon.svelte-13u5uhu.svelte-13u5uhu{font-size:18rem;margin-bottom:2rem}.kin_upsell__cta.svelte-13u5uhu.svelte-13u5uhu{margin-top:1rem}.kin_page.-no-header.svelte-13u5uhu .kin_header.svelte-13u5uhu{display:none}.kin_page.-no-header.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{top:0}.kin_page.-cover-header.svelte-13u5uhu .kin_header.svelte-13u5uhu{position:absolute;width:100%;z-index:1}.kin_page.-cover-header.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{top:0}.kin_page.-large-header.svelte-13u5uhu .kin_header.svelte-13u5uhu{height:var(--header-height-large)}.kin_page.-large-header.svelte-13u5uhu .kin_header__title.svelte-13u5uhu{display:block}.kin_page.-large-header.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{top:var(--header-height-large)}.kin_page.-medium-header.svelte-13u5uhu .kin_header.svelte-13u5uhu{height:var(--header-height-medium)}.kin_page.-medium-header.svelte-13u5uhu .kin_header__title.svelte-13u5uhu{display:block}.kin_page.-medium-header.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{top:var(--header-height-medium)}.kin_page.-tabs-page.svelte-13u5uhu .kin_header.svelte-13u5uhu{height:var(--header-height-tabs);text-align:center}.kin_page.-tabs-page.svelte-13u5uhu .kin_header__title.svelte-13u5uhu{display:block;text-align:center}.kin_page.-tabs-page.svelte-13u5uhu .kin_header__controls.svelte-13u5uhu{display:block;text-align:center;padding:0}.kin_page.-tabs-page.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{top:var(--header-height-tabs);text-align:center}.kin_page.-center-header.svelte-13u5uhu .kin_header__controls.svelte-13u5uhu,.kin_page.-center-header.svelte-13u5uhu .kin_header__title.svelte-13u5uhu{display:block;text-align:center}.kin_page.-center.svelte-13u5uhu.svelte-13u5uhu,.kin_page.-center-all.svelte-13u5uhu.svelte-13u5uhu{text-align:center}.kin_page.-center.svelte-13u5uhu .kin_header__controls.svelte-13u5uhu,.kin_page.-center-all.svelte-13u5uhu .kin_header__controls.svelte-13u5uhu{display:none}.kin_page.-center.svelte-13u5uhu .kin_header__title.svelte-13u5uhu,.kin_page.-center-all.svelte-13u5uhu .kin_header__title.svelte-13u5uhu{display:block}.kin_page.-center-all.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{display:flex;align-items:center;justify-content:center;text-align:center}.kin_page.-flex-between.svelte-13u5uhu .kin_header__controls.svelte-13u5uhu{display:none}.kin_page.-flex-between.svelte-13u5uhu .kin_header__title.svelte-13u5uhu{display:block}.kin_page.-flex-between.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{display:flex;align-items:center;justify-content:space-between;text-align:center}.kin_page.-profile.svelte-13u5uhu .kin_header.svelte-13u5uhu{position:static;height:auto;text-align:start}.kin_page.-profile.svelte-13u5uhu .kin_header__content.svelte-13u5uhu{position:static}.kin_page.-profile.svelte-13u5uhu .kin_header__controls.svelte-13u5uhu{position:static;display:block;padding:0;max-height:none}.kin_page.-profile.svelte-13u5uhu .kin_header__title.svelte-13u5uhu{max-height:none;max-width:100%}.kin_page.-profile.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{top:calc(var(--header-height) + 6rem)}.kin_page.-detail.svelte-13u5uhu .kin_header.svelte-13u5uhu{text-align:center;height:calc(var(--header-height-large) + 4rem)}.kin_page.-detail.svelte-13u5uhu .kin_header__content.svelte-13u5uhu{display:block}.kin_page.-detail.svelte-13u5uhu .kin_header__title.svelte-13u5uhu{max-height:none;display:block;font-weight:var(--font-weight-h1);padding:0 8%}.kin_page.-detail.svelte-13u5uhu .kin_header__controls.svelte-13u5uhu{padding:1rem 0 0;position:static;display:block;max-height:none}.kin_page.-detail.svelte-13u5uhu .kin_page__content.svelte-13u5uhu{top:calc(var(--header-height-large) + 4rem)}.kin_page.-rtl.svelte-13u5uhu .kin_header__tooltip.svelte-13u5uhu{transform:translateX(50%);left:auto;right:50%}.kin_page.-rtl.svelte-13u5uhu .kin_back-btn.svelte-13u5uhu,.kin_page.-rtl.svelte-13u5uhu .kin_settings-btn.svelte-13u5uhu{transform:scale(-1)}.kin_page.-rtl.svelte-13u5uhu .kin_back-btn.svelte-13u5uhu:hover,.kin_page.-rtl.svelte-13u5uhu .kin_settings-btn.svelte-13u5uhu:hover{transform:scale(-1.1)}.kin_page.-rtl.svelte-13u5uhu .kin_back-btn.svelte-13u5uhu{left:auto;right:0}.kin_page.-rtl.svelte-13u5uhu .kin_settings-btn.svelte-13u5uhu{right:auto;left:0}",x(ye.head,e)),pt(this,t,Ze,Ye,_,{heading:0,settingsUrl:1,cssCls:2,upsell:3,inactive:4,inactiveMsg:5,layout:6,back:7,backEvent:8,backHash:9,loading:10})}get heading(){return this.$$.ctx[0]}set heading(t){this.$set({heading:t}),Q()}get settingsUrl(){return this.$$.ctx[1]}set settingsUrl(t){this.$set({settingsUrl:t}),Q()}get cssCls(){return this.$$.ctx[2]}set cssCls(t){this.$set({cssCls:t}),Q()}get upsell(){return this.$$.ctx[3]}set upsell(t){this.$set({upsell:t}),Q()}get inactive(){return this.$$.ctx[4]}set inactive(t){this.$set({inactive:t}),Q()}get inactiveMsg(){return this.$$.ctx[5]}set inactiveMsg(t){this.$set({inactiveMsg:t}),Q()}get layout(){return this.$$.ctx[6]}set layout(t){this.$set({layout:t}),Q()}get back(){return this.$$.ctx[7]}set back(t){this.$set({back:t}),Q()}get backEvent(){return this.$$.ctx[8]}set backEvent(t){this.$set({backEvent:t}),Q()}get backHash(){return this.$$.ctx[9]}set backHash(t){this.$set({backHash:t}),Q()}get loading(){return this.$$.ctx[10]}set loading(t){this.$set({loading:t}),Q()}}const{document:Xe}=rt;const Je=t=>({}),Qe=t=>({}),tn=t=>({}),en=t=>({}),nn=t=>({}),on=t=>({}),sn=t=>({}),ln=t=>({});function rn(t){let e;return{c(){e=T("kin-loading"),I(e,"fullscreen","true")},m(t,n){z(t,e,n)},d(t){t&&P(e)}}}function an(t){let e,n,o,i,s,l,r,a,c,u,d,p,h,v,g,f,_=("true"===t[1]||!0===t[1])&&rn();const k=t[15].description,$=b(k,t,t[14],ln),C=t[15].cta,q=b(C,t,t[14],on),E=t[15]["view-content"],I=b(E,t,t[14],en),A=t[15]["view-actions"],L=b(A,t,t[14],Qe);return{c(){e=T("div"),_&&_.c(),n=N(),o=T("div"),i=T("div"),$&&$.c(),s=N(),l=T("div"),q&&q.c(),r=N(),a=T("div"),I&&I.c(),d=N(),p=T("div"),L&&L.c(),S(i,"class","kin_description svelte-1kq23zh"),M(i,"opacity",t[3]),D(i,"-no-events",t[3]<.1),S(l,"class","kin_cta svelte-1kq23zh"),M(l,"opacity",t[4]),D(l,"-no-events",t[4]<.1),S(a,"class","kin_view__content svelte-1kq23zh"),o.hidden=c="true"===t[1]||!0===t[1],S(o,"class","svelte-1kq23zh"),S(e,"class",u="kin_view "+(t[2]&&"ltr"!=t[2]?"-"+t[2]:"")+" "+t[0]+" svelte-1kq23zh"),D(e,"-actions",!0===t[5]||t[6]),S(p,"class","kin_actions svelte-1kq23zh"),p.hidden=h=t[7]||!(!0===t[5]||t[6])},m(c,u){z(c,e,u),_&&_.m(e,null),x(e,n),x(e,o),x(o,i),$&&$.m(i,null),x(o,s),x(o,l),q&&q.m(l,null),x(o,r),x(o,a),I&&I.m(a,null),z(c,d,u),z(c,p,u),L&&L.m(p,null),v=!0,g||(f=[y(t[9].call(null,a)),B(e,"scroll",t[10]),B(e,"content-scrollto",t[11]),B(e,"kin-view:fire-scrolling",t[12]),y(t[8].call(null,e))],g=!0)},p(t,[s]){"true"===t[1]||!0===t[1]?_||(_=rn(),_.c(),_.m(e,n)):_&&(_.d(1),_=null),$&&$.p&&16384&s&&w($,k,t,t[14],s,sn,ln),(!v||8&s)&&M(i,"opacity",t[3]),8&s&&D(i,"-no-events",t[3]<.1),q&&q.p&&16384&s&&w(q,C,t,t[14],s,nn,on),(!v||16&s)&&M(l,"opacity",t[4]),16&s&&D(l,"-no-events",t[4]<.1),I&&I.p&&16384&s&&w(I,E,t,t[14],s,tn,en),(!v||2&s&&c!==(c="true"===t[1]||!0===t[1]))&&(o.hidden=c),(!v||5&s&&u!==(u="kin_view "+(t[2]&&"ltr"!=t[2]?"-"+t[2]:"")+" "+t[0]+" svelte-1kq23zh"))&&S(e,"class",u),101&s&&D(e,"-actions",!0===t[5]||t[6]),L&&L.p&&16384&s&&w(L,A,t,t[14],s,Je,Qe),(!v||224&s&&h!==(h=t[7]||!(!0===t[5]||t[6])))&&(p.hidden=h)},i(t){v||(st($,t),st(q,t),st(I,t),st(L,t),v=!0)},o(t){lt($,t),lt(q,t),lt(I,t),lt(L,t),v=!1},d(t){t&&P(e),_&&_.d(),$&&$.d(t),q&&q.d(t),I&&I.d(t),t&&P(d),t&&P(p),L&&L.d(t),g=!1,m(f)}}}function cn(t,e,n){let o,i,{$$slots:s={},$$scope:l}=e,{csscls:r=""}=e,{loading:a=!1}=e,{actionbar:c=null}=e;const u=K();let d=!1,p="ltr",h=1,v=1,g=!1,m=null,f=null;function _(t){n(5,g=t.detail.isVisible),u("propUpdate",{keyPath:"isAction",value:g})}return O((()=>{n(2,p=document.body.dir),o||i||window.addEventListener("kin-isActionBarVisible",_)})),G((()=>{o||i||window.removeEventListener("kin-isActionBarVisible",_),n(2,p=null);let t=m?.querySelector("kin-table");t?.$destroy(),t=null,m=null,f=null})),t.$$set=t=>{"csscls"in t&&n(0,r=t.csscls),"loading"in t&&n(1,a=t.loading),"actionbar"in t&&n(13,c=t.actionbar),"$$scope"in t&&n(14,l=t.$$scope)},t.$$.update=()=>{8192&t.$$.dirty&&n(6,o=!0===c||"true"===c),8192&t.$$.dirty&&n(7,i=!1===c||"false"===c)},[r,a,p,h,v,g,o,i,function(t){m=t},function(t){f=t},function(){const t=f?f.offsetTop:0,e=m?m.scrollTop:0;e>t?(n(3,h=0),n(4,v=0)):(n(3,h=.01*(100-4*e)),n(4,v=.01*(100-1.5*e))),d&&m?.dispatchEvent(new CustomEvent("kinview-scroll",{detail:{scrollPos:e,slotPos:t}}))},function(t){m&&m.scrollTo({top:t.detail.scrollTo,left:0,behavior:"smooth"})},function(){d=!0},c,l,s]}class un extends ht{constructor(t){var e;super(),Xe.getElementById("svelte-1kq23zh-style")||((e=T("style")).id="svelte-1kq23zh-style",e.textContent=".kin_description.svelte-1kq23zh.svelte-1kq23zh{display:block;position:sticky;top:0;z-index:9;text-align:var(--page-header-align)}.kin_description.-no-events.svelte-1kq23zh.svelte-1kq23zh{pointer-events:none}.kin_cta.svelte-1kq23zh.svelte-1kq23zh{display:block;text-align:var(--page-header-align)}.kin_cta.-no-events.svelte-1kq23zh.svelte-1kq23zh{pointer-events:none}.kin_cta__links.svelte-1kq23zh.svelte-1kq23zh{position:absolute;right:0;top:50%;transform:translateY(-50%)}.kin_view.svelte-1kq23zh.svelte-1kq23zh{display:block;position:absolute;top:0;right:0;bottom:0;left:0;padding:0 calc(var(--page-padding) - var(--page-scrollbar-width)) 2rem var(--page-padding);overflow-y:scroll;overflow-x:hidden}.kin_view__content.svelte-1kq23zh.svelte-1kq23zh{position:relative}.kin_view__icon.svelte-1kq23zh.svelte-1kq23zh{font-size:20rem;width:100%;margin-top:14vh;text-align:center;color:var(--color-graphics)}.kin_view.-actions.svelte-1kq23zh.svelte-1kq23zh{bottom:var(--action-bar-height);-webkit-mask-image:none}.kin_view.-center.svelte-1kq23zh.svelte-1kq23zh{text-align:center}.kin_view.-center.svelte-1kq23zh .kin_description.svelte-1kq23zh,.kin_view.-center.svelte-1kq23zh .kin_cta.svelte-1kq23zh,.kin_view.-center.svelte-1kq23zh .kin_view__content.svelte-1kq23zh{text-align:center}.kin_view.-center.svelte-1kq23zh .kin_description.svelte-1kq23zh{margin-left:auto;margin-right:auto}.kin_view.-tab-pane.svelte-1kq23zh.svelte-1kq23zh{padding-top:2rem}.kin_view.-detail.svelte-1kq23zh.svelte-1kq23zh{transform:scale(1)}.kin_view.-detail.svelte-1kq23zh .kin_cta.svelte-1kq23zh,.kin_view.-detail.svelte-1kq23zh .kin_description.svelte-1kq23zh{text-align:center}.kin_view.-detail.svelte-1kq23zh .kin_view__content.svelte-1kq23zh{padding-left:10%;padding-right:10%}.kin_actions.svelte-1kq23zh.svelte-1kq23zh{position:absolute;right:0;bottom:0;left:0;height:var(--action-bar-height);padding:1rem var(--page-padding);background-color:var(--action-bar-background);border-top:solid 1px var(--action-bar-border);box-shadow:var(--action-bar-shadow);font-size:var(--action-bar-font);z-index:9}.kin_view.-rtl.svelte-1kq23zh.svelte-1kq23zh{padding-left:calc(var(--page-padding) - var(--page-scrollbar-width));padding-right:var(--page-padding)}[hidden].svelte-1kq23zh.svelte-1kq23zh{visibility:hidden !important}",x(Xe.head,e)),pt(this,t,cn,an,_,{csscls:0,loading:1,actionbar:13})}}function dn(t){let e,n,o,i,s,l,r,a,c;const u=t[6].default,d=b(u,t,t[5],null);return{c(){e=T("div"),n=T("kin-icon"),o=N(),d&&d.c(),i=N(),s=T("kin-button"),l=q(t[2]),I(n,"name",t[0]),I(n,"size",t[1]),I(n,"class","sve_upsell__icon"),I(s,"size","large"),I(s,"class","sve_upsell__cta"),I(s,"data-test",t[3]),S(e,"class","sve_upsell")},m(u,p){z(u,e,p),x(e,n),x(e,o),d&&d.m(e,null),x(e,i),x(e,s),x(s,l),r=!0,a||(c=B(s,"click",t[7]),a=!0)},p(t,[e]){(!r||1&e)&&I(n,"name",t[0]),(!r||2&e)&&I(n,"size",t[1]),d&&d.p&&32&e&&w(d,u,t,t[5],e,null,null),(!r||4&e)&&A(l,t[2]),(!r||8&e)&&I(s,"data-test",t[3])},i(t){r||(st(d,t),r=!0)},o(t){lt(d,t),r=!1},d(t){t&&P(e),d&&d.d(t),a=!1,c()}}}function pn(t,e,n){let{$$slots:o={},$$scope:i}=e;const s=K();let{icon:l="icon-l-upgrade"}=e,{iconSize:a=160}=e,{ctaText:c=r("global.upgradeNow")}=e,{testId:u="upsell_buy"}=e;return t.$$set=t=>{"icon"in t&&n(0,l=t.icon),"iconSize"in t&&n(1,a=t.iconSize),"ctaText"in t&&n(2,c=t.ctaText),"testId"in t&&n(3,u=t.testId),"$$scope"in t&&n(5,i=t.$$scope)},[l,a,c,u,s,i,o,()=>s("buy")]}class hn extends ht{constructor(t){super(),pt(this,t,pn,dn,_,{icon:0,iconSize:1,ctaText:2,testId:3})}}const vn="AvPasswordProtection",gn="avcfg://exclusions/PasswordProtection/ExcludedFiles",mn={chrome:"Google Chrome",firefox:"Firefox",ie:"Internet Explorer",edge:"Edge",opera:"Opera",chromiumedge:"Edge",avastsb:"Avast Secure Browser",avgsb:"AVG Secure Browser"},fn="passwordProtection",_n="passwordProtection.settings.desc",bn={label:"passwordProtection.settings.mode.label",ask:"passwordProtection.settings.mode.ask.label",block:"passwordProtection.settings.mode.block.label"},kn="passwordProtection.supportedBrowsers.label";function wn(){return{mode:{id:"passwordProtection_settings_mode",path:"avcfg://settings/Pap/BrowserProtectionAction",label:r(bn.label),options:[{label:r(bn.ask),value:"0"},{label:r(bn.block),value:"1"}],search:{title:bn.label,others:[bn.ask,bn.block]},changeEvent:"pap.mode"}}}const $n=[{id:"Chrome",status:"notInstalled",iconName:"Chrome",kinIconName:"icon-s-programs-chrome"},{id:"Firefox",status:"notInstalled",iconName:"Firefox",kinIconName:"icon-s-programs-firefox"},{id:"ChromiumEdge",status:"notInstalled",iconName:"edge-chromium",kinIconName:"icon-s-programs-edge"}];const yn=new class{pushSupportedBrowser(t){$n.push(t)}getBrowsers(t){return n("app.utils.GetInstalledBrowsers").then((e=>{if(e)for(const n of $n)e[n.id]?n.status=t?"ok":"error":n.status="notInstalled";return $n}))}hasSupportedBrowser(t){return(t?Promise.resolve(t):this.getBrowsers()).then((t=>t.some((t=>"ok"===t.status||"error"===t.status))))}getBrowserName(t){return t?mn[t.toLowerCase()]:""}};function xn(t,e,n){const o=t.slice();return o[10]=e[n],o}function zn(t){let e,n;return{c(){e=T("div"),n=T("kin-crumbs"),I(n,"section","privacy"),I(n,"sectionlabel",r("privacy")),I(n,"modulelabel",r("passwordProtection")),S(e,"slot","breadcrumbs")},m(t,o){z(t,e,o),x(e,n)},p:h,d(t){t&&P(e)}}}function Pn(t){let e;return{c(){e=T("kin-switch"),I(e,"data-test","pap_switch"),I(e,"kin-disabled","true"),I(e,"trivial","true"),I(e,"checked","false"),I(e,"title",r("passwordProtection"))},m(t,n){z(t,e,n)},p:h,d(t){t&&P(e)}}}function Cn(t){let e,n,o,i;return{c(){e=T("kin-switch"),I(e,"data-test","pap_switch"),I(e,"checked",t[0]),I(e,"processing",n=!t[1]),I(e,"title",r("passwordProtection"))},m(n,s){z(n,e,s),o||(i=B(e,"click",t[6]),o=!0)},p(t,o){1&o&&I(e,"checked",t[0]),2&o&&n!==(n=!t[1])&&I(e,"processing",n)},d(t){t&&P(e),o=!1,i()}}}function Tn(t){let e;function n(t,e){return t[2]?Cn:Pn}let o=n(t),i=o(t);return{c(){e=T("div"),i.c(),S(e,"slot","controls")},m(t,n){z(t,e,n),i.m(e,null)},p(t,s){o===(o=n(t))&&i?i.p(t,s):(i.d(1),i=o(t),i&&(i.c(),i.m(e,null)))},d(t){t&&P(e),i.d()}}}function qn(t){let e,n,o,i,s=r("passwordProtection.upsell.desc")+"";return{c(){e=T("div"),n=T("h2"),n.textContent=`${r("passwordProtection.upsell.title")}`,o=N(),i=T("p"),S(n,"class","h2 -margins"),S(i,"class","p -secondary")},m(t,l){z(t,e,l),x(e,n),x(e,o),x(e,i),i.innerHTML=s},p:h,d(t){t&&P(e)}}}function Nn(t){let e,n,o;return n=new hn({props:{icon:"icon-l-pap-upgrade",$$slots:{default:[qn]},$$scope:{ctx:t}}}),n.$on("buy",t[5]),{c(){e=T("div"),at(n.$$.fragment),S(e,"slot","upsell")},m(t,i){z(t,e,i),ct(n,e,null),o=!0},p(t,e){const o={};8192&e&&(o.$$scope={dirty:e,ctx:t}),n.$set(o)},i(t){o||(st(n.$$.fragment,t),o=!0)},o(t){lt(n.$$.fragment,t),o=!1},d(t){t&&P(e),ut(n)}}}function En(t){let e,n;return{c(){e=T("div"),n=T("p"),n.textContent=`${r("passwordProtection.desc")}`,S(n,"class","kin_description__text"),S(e,"slot","description")},m(t,o){z(t,e,o),x(e,n)},p:h,d(t){t&&P(e)}}}function Bn(t){let e;return{c(){e=T("kin-icon"),I(e,"name","shield-critical-fill"),I(e,"size","26")},m(t,n){z(t,e,n)},d(t){t&&P(e)}}}function Sn(t){let e;return{c(){e=T("kin-icon"),I(e,"name","shield-ok-fill"),I(e,"size","26")},m(t,n){z(t,e,n)},d(t){t&&P(e)}}}function In(t){let e;return{c(){e=T("div"),e.textContent=`${r("passwordProtection.browser.status.notInstalled")}`},m(t,n){z(t,e,n)},p:h,d(t){t&&P(e)}}}function An(t){let e;return{c(){e=T("div"),e.textContent=`${r("passwordProtection.browser.status.error")}`,S(e,"class","color-critical -text"),S(e,"data-test","pap_browser-error")},m(t,n){z(t,e,n)},p:h,d(t){t&&P(e)}}}function Mn(t){let e;return{c(){e=T("div"),e.textContent=`${r("passwordProtection.browser.status.ok")}`,S(e,"class","color-ok -text"),S(e,"data-test","pap_browser-ok")},m(t,n){z(t,e,n)},p:h,d(t){t&&P(e)}}}function Dn(t){let e,n,o,i,s,l,r,a,c,u,d=yn.getBrowserName(t[10].id)+"";function p(t,e){return"ok"===t[10].status?Sn:"error"===t[10].status?Bn:void 0}let h=p(t),v=h&&h(t);function g(t,e){return"ok"===t[10].status?Mn:"error"===t[10].status?An:In}let m=g(t),f=m(t);return{c(){e=T("div"),n=T("div"),o=T("div"),v&&v.c(),s=N(),l=T("div"),r=q(d),a=N(),f.c(),c=N(),S(o,"class","pap_browser__sub-icon svelte-1tiaary"),S(n,"class",i="svg pap_browser__icon -"+t[10].iconName+" svelte-1tiaary"),S(l,"class","pap_browser__title svelte-1tiaary"),S(e,"class",u="pap_browser -"+t[10].status+" svelte-1tiaary")},m(t,i){z(t,e,i),x(e,n),x(n,o),v&&v.m(o,null),x(e,s),x(e,l),x(l,r),x(e,a),f.m(e,null),x(e,c)},p(t,s){h!==(h=p(t))&&(v&&v.d(1),v=h&&h(t),v&&(v.c(),v.m(o,null))),8&s&&i!==(i="svg pap_browser__icon -"+t[10].iconName+" svelte-1tiaary")&&S(n,"class",i),8&s&&d!==(d=yn.getBrowserName(t[10].id)+"")&&A(r,d),m===(m=g(t))&&f?f.p(t,s):(f.d(1),f=m(t),f&&(f.c(),f.m(e,c))),8&s&&u!==(u="pap_browser -"+t[10].status+" svelte-1tiaary")&&S(e,"class",u)},d(t){t&&P(e),v&&v.d(),f.d()}}}function Ln(t){let e,n,o,i,s=t[3],l=[];for(let r=0;r<s.length;r+=1)l[r]=Dn(xn(t,s,r));return{c(){e=T("div"),n=T("div"),n.textContent=`${r("passwordProtection.supportedBrowsers.label")}`,o=N(),i=T("div");for(let t=0;t<l.length;t+=1)l[t].c();S(n,"class","h6 g-margin-top--30"),S(i,"class","pap_browser__wrap svelte-1tiaary"),S(e,"slot","view-content")},m(t,s){z(t,e,s),x(e,n),x(e,o),x(e,i);for(let e=0;e<l.length;e+=1)l[e].m(i,null)},p(t,e){if(8&e){let n;for(s=t[3],n=0;n<s.length;n+=1){const o=xn(t,s,n);l[n]?l[n].p(o,e):(l[n]=Dn(o),l[n].c(),l[n].m(i,null))}for(;n<l.length;n+=1)l[n].d(1);l.length=s.length}},d(t){t&&P(e),C(l,t)}}}function Hn(t){let e,n,o;return n=new un({props:{$$slots:{"view-content":[Ln],description:[En]},$$scope:{ctx:t}}}),{c(){e=T("div"),at(n.$$.fragment),S(e,"slot","page-content")},m(t,i){z(t,e,i),ct(n,e,null),o=!0},p(t,e){const o={};8200&e&&(o.$$scope={dirty:e,ctx:t}),n.$set(o)},i(t){o||(st(n.$$.fragment,t),o=!0)},o(t){lt(n.$$.fragment,t),o=!1},d(t){t&&P(e),ut(n)}}}function jn(t){let e,n;return e=new Re({props:{heading:r("passwordProtection"),settingsUrl:t[4]?"#Settings/passwordProtection":"",upsell:!t[4],inactive:!t[0]||!t[2],inactiveMsg:t[2]?r("passwordProtection.tooltip.error"):r("passwordProtection.tooltip.browserNotSupported"),backHash:"#privacy",$$slots:{"page-content":[Hn],upsell:[Nn],controls:[Tn],breadcrumbs:[zn]},$$scope:{ctx:t}}}),{c(){at(e.$$.fragment)},m(t,o){ct(e,t,o),n=!0},p(t,[n]){const o={};5&n&&(o.inactive=!t[0]||!t[2]),4&n&&(o.inactiveMsg=t[2]?r("passwordProtection.tooltip.error"):r("passwordProtection.tooltip.browserNotSupported")),8207&n&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(st(e.$$.fragment,t),n=!0)},o(t){lt(e.$$.fragment,t),n=!1},d(t){ut(e,t)}}}function On(t,e,n){const i=[],a=s.isLicensed(vn);let c=s.isEnabled(vn),u=!0,p=!0,h=[];function v(t=null,e=null){null!==t&&n(0,c=t),null!==e&&n(1,u=e)}return O((()=>{i.push(o.on(`product.change.feature.${vn}.enabled`,(t=>{v(t,!0)})))})),G((()=>{i.forEach((t=>t()))})),t.$$.update=()=>{var e;1&t.$$.dirty&&(e=c,yn.getBrowsers(e).then((t=>{yn.hasSupportedBrowser(t).then((e=>{n(3,h=t),n(2,p=e)}))})))},[c,u,p,h,a,function(){l.openWindow(343)},function(){const t=c,e=e=>{v(null,!1),s.toggleFeature(vn,e).then((()=>{v(!t,!0)})).catch((e=>{v(t,!0)}))};c?d.stopOptions({title:r("passwordProtection.stopOptions.title"),desc:r("passwordProtection.stopOptions.desc")}).then((t=>{e(t.time)})):e()}]}function Gn(t){let e,n;return e=new $e({props:{config:t[0]}}),{c(){at(e.$$.fragment)},m(t,o){ct(e,t,o),n=!0},p(t,n){const o={};1&n&&(o.config=t[0]),e.$set(o)},i(t){n||(st(e.$$.fragment,t),n=!0)},o(t){lt(e.$$.fragment,t),n=!1},d(t){ut(e,t)}}}function Kn(t){let e,n,o=t[0]&&Gn(t);return{c(){o&&o.c(),e=E()},m(t,i){o&&o.m(t,i),z(t,e,i),n=!0},p(t,[n]){t[0]?o?(o.p(t,n),1&n&&st(o,1)):(o=Gn(t),o.c(),st(o,1),o.m(e.parentNode,e)):o&&(ot(),lt(o,1,1,(()=>{o=null})),it())},i(t){n||(st(o),n=!0)},o(t){lt(o),n=!1},d(t){o&&o.d(t),t&&P(e)}}}function Un(t,o,i){const s=e.getUrlParams();let l=null;const a={file:s.file,actor:s.actor,browserName:s.browserName,alertId:s.alertId,timestamp:new Date},c="allow",d="block";function p(){return a.actor.split(/[/|\\]/g).pop()}function h(){return mn[a.browserName||""]}function v(t){return n("app.settings.Get",{name:gn}).then((t=>t.value?function(t){if(!t)return[];const e=[];for(let n of t.split(">;"))n.endsWith(">")||(n+=">"),e.push(n);return e}(t.value):[])).then((o=>{const i=a.actor+"<block="+(t===c?"0>":"1>");return(o=o.filter((t=>!t.toLowerCase().includes(a.actor.toLowerCase())))).push(i),n("app.settings.Set",{name:gn,value:o.join(";")}).then((()=>(e.broadcastEvent("settings.blockedAndAllowedApps.changed"),function(t){let e;e=t===c?{color:"green",icon:{name:"password-protection",color:"ok"},title:r("passwordProtection.detection.allowed.title"),text:r("passwordProtection.detection.allowed.desc",p(),h()),actionText:r("passwordProtection.detection.weAlwaysAllow"),actions:[{label:r("global.gotIt"),cssCls:"",shortcut:{code:"KeyG",ctrlKey:!0},minDuration:500,labelTest:"dd_primary_btn_got-it"}],status:{text:r("passwordProtection.detection.allowed.status")},labelTest:"dd_primary_btn_got-it",details:m(),detectionInfo:{id:a.alertId,timestamp:a.timestamp,index:0,total:0,showCloseAllBtn:!1}}:{color:"green",icon:{name:"password-protection",color:"ok"},title:r("passwordProtection.detection.blocked.title"),text:r("passwordProtection.detection.blocked.desc",p(),h()),actionText:r("passwordProtection.detection.weAlwaysBlock"),actions:[{label:r("global.gotIt"),cssCls:"",shortcut:{code:"KeyG",ctrlKey:!0},minDuration:500,labelTest:"dd_primary_btn_got-it"}],status:{text:r("passwordProtection.detection.blocked.status")},details:m(),detectionInfo:{id:a.alertId,timestamp:a.timestamp,index:0,total:0,showCloseAllBtn:!1}};return e}(t)))).catch((t=>(console.error("app.settings.Set",t),g())))})).catch((t=>(console.error("Error loading apps "+gn,t),g())))}function g(){return{color:"red",icon:{name:"password-protection",color:"critical"},title:r("passwordProtection.detection.title",p(),h()),text:r("passwordProtection.detection.desc"),actionText:r("passwordProtection.detection.whatToDo"),actions:[{label:r("passwordProtection.detection.blockApp"),action:v.bind(this,d),status:{text:r("passwordProtection.detection.blocking")},cssCls:"-critical",shortcut:{code:"KeyB",ctrlKey:!0},minDuration:500,labelGa:"block",labelTest:"dd_primary_btn_block-app"},{label:r("passwordProtection.detection.allowApp"),action:v.bind(this,c),status:{text:r("passwordProtection.detection.allowing")},shortcut:{code:"KeyA",ctrlKey:!0},minDuration:500,labelGa:"allow",labelTest:"dd_secondary_btn_allow-app"}],status:{text:"-"},details:m(),detectionInfo:{id:a.alertId,timestamp:a.timestamp,index:0,total:0,showCloseAllBtn:!1}}}function m(){return[{title:r("global.appName"),value:u.escapeHtml(a.actor),testValue:"threatName"},{title:r("passwordProtection.detection.affectedBrowser"),value:u.escapeHtml(h()),testValue:"file"},{title:r("passwordProtection.detection.storagePath"),value:u.escapeHtml(a.file)},{title:r("global.detectedBy"),value:r("passwordProtection"),testValue:"detectedBy_PasswordProtection"}]}return O((()=>{i(0,l=g())})),[l]}class Wn extends ht{constructor(t){super(),pt(this,t,Un,Kn,_,{})}}function Vn(t,e,n){const o=t.slice();return o[10]=e[n],o}function Fn(t){let e,n=r("passwordProtection.browser.status.notInstalled")+"";return{c(){e=q(n)},m(t,n){z(t,e,n)},p:h,d(t){t&&P(e)}}}function Yn(t){let e;return{c(){e=T("span"),e.textContent=`${r("passwordProtection.browser.status.error")}`,S(e,"class","color-critical -text"),S(e,"data-test","browser_status-error")},m(t,n){z(t,e,n)},p:h,d(t){t&&P(e)}}}function Zn(t){let e;return{c(){e=T("span"),e.textContent=`${r("passwordProtection.browser.status.ok")}`,S(e,"class","color-ok -text"),S(e,"data-test","browser_status-ok")},m(t,n){z(t,e,n)},p:h,d(t){t&&P(e)}}}function Rn(t){let e,n,o,i,s,l,r,a,c,u,d,p=yn.getBrowserName(t[10].id)+"";function h(t,e){return"ok"===t[10].status?Zn:"error"===t[10].status?Yn:Fn}let v=h(t),g=v(t);return{c(){e=T("tr"),n=T("td"),o=T("div"),s=N(),l=T("td"),r=q(p),a=N(),c=T("td"),g.c(),u=N(),S(o,"class",i="svg g-font--20 -"+t[10].iconName),S(l,"data-test","browser_name"),S(c,"class","table__last"),S(e,"class",d=$("notInstalled"===t[10].status?"-notInstalled":"")+" svelte-1f8xvea")},m(t,i){z(t,e,i),x(e,n),x(n,o),x(e,s),x(e,l),x(l,r),x(e,a),x(e,c),g.m(c,null),x(e,u)},p(t,n){1&n&&i!==(i="svg g-font--20 -"+t[10].iconName)&&S(o,"class",i),1&n&&p!==(p=yn.getBrowserName(t[10].id)+"")&&A(r,p),v===(v=h(t))&&g?g.p(t,n):(g.d(1),g=v(t),g&&(g.c(),g.m(c,null))),1&n&&d!==(d=$("notInstalled"===t[10].status?"-notInstalled":"")+" svelte-1f8xvea")&&S(e,"class",d)},d(t){t&&P(e),g.d()}}}function Xn(t){let e,n,o,i,s,l,a,c,u,d,p,h=t[0],v=[];for(let r=0;r<h.length;r+=1)v[r]=Rn(Vn(t,h,r));return c=new t[4]({props:{property:t[6].mode}}),d=new t[5]({}),{c(){e=T("div"),n=T("p"),n.textContent=`${r(kn)}`,o=N(),i=T("table"),s=T("colgroup"),s.innerHTML='<col width="7%"/> \n\t\t\t\t<col width="43%"/> \n\t\t\t\t<col width="45%"/>',l=N();for(let t=0;t<v.length;t+=1)v[t].c();a=N(),at(c.$$.fragment),u=N(),at(d.$$.fragment),S(n,"class","p g-margin-bottom--10"),S(i,"class","table -small -fixed pap_browser__table svelte-1f8xvea"),S(e,"id","passwordProtection_settings_supportedBrowsers"),S(e,"class","settings__row g-margin-top--15 g-margin-bottom--15")},m(t,r){z(t,e,r),x(e,n),x(e,o),x(e,i),x(i,s),x(i,l);for(let e=0;e<v.length;e+=1)v[e].m(i,null);z(t,a,r),ct(c,t,r),z(t,u,r),ct(d,t,r),p=!0},p(t,e){if(1&e){let n;for(h=t[0],n=0;n<h.length;n+=1){const o=Vn(t,h,n);v[n]?v[n].p(o,e):(v[n]=Rn(o),v[n].c(),v[n].m(i,null))}for(;n<v.length;n+=1)v[n].d(1);v.length=h.length}},i(t){p||(st(c.$$.fragment,t),st(d.$$.fragment,t),p=!0)},o(t){lt(c.$$.fragment,t),lt(d.$$.fragment,t),p=!1},d(t){t&&P(e),C(v,t),t&&P(a),ut(c,t),t&&P(u),ut(d,t)}}}function Jn(t){let e,n;return e=new t[3]({props:{component:vn,title:r(fn),desc:r(_n),stopOptions:t[2],ipmBuyElm:343,notSupported:!t[1],notSupportedMsg:r("passwordProtection.tooltip.browserNotSupported"),$$slots:{default:[Xn]},$$scope:{ctx:t}}}),{c(){at(e.$$.fragment)},m(t,o){ct(e,t,o),n=!0},p(t,[n]){const o={};2&n&&(o.notSupported=!t[1]),8193&n&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(st(e.$$.fragment,t),n=!0)},o(t){lt(e.$$.fragment,t),n=!1},d(t){ut(e,t)}}}const Qn={id:"passwordProtection_settings_supportedBrowsers",label:r(kn),search:kn};function to(){return{title:fn,desc:_n,items:Object.assign({},wn(),[Qn])}}function eo(t,e,n){const i={title:r("passwordProtection.stopOptions.title"),desc:r("passwordProtection.stopOptions.desc")},{Container:l,Radio:a,WhiteAndBlackList:c}=p,u=[],d=wn();let h=[],v=!0,g=s.isEnabled(vn);return O((()=>{u.push(o.on(`product.change.feature.${vn}.enabled`,(t=>{n(7,g=t)})))})),G((()=>{u.forEach((t=>t()))})),t.$$.update=()=>{var e;128&t.$$.dirty&&(e=g,yn.getBrowsers(e).then((t=>{yn.hasSupportedBrowser(t).then((e=>{n(0,h=t),n(1,v=e)}))})))},[h,v,i,l,a,c,d,g]}class no extends ht{constructor(t){var e;super(),document.getElementById("svelte-1f8xvea-style")||((e=T("style")).id="svelte-1f8xvea-style",e.textContent=".pap_browser__table.svelte-1f8xvea tr.-notInstalled.svelte-1f8xvea{opacity:0.5}",x(document.head,e)),pt(this,t,eo,Jn,_,{})}}yn.pushSupportedBrowser({id:"AvastSB",status:"notInstalled",iconName:"safezone"});export default class extends ht{constructor(t){var e;super(),document.getElementById("svelte-1tiaary-style")||((e=T("style")).id="svelte-1tiaary-style",e.textContent=".pap_browser__wrap.svelte-1tiaary.svelte-1tiaary{display:flex;margin-top:20px;justify-content:center}.pap_browser__wrap.svelte-1tiaary .pap_browser.svelte-1tiaary{width:20rem;text-align:center;padding-top:20px;padding-bottom:30px}.pap_browser__wrap.svelte-1tiaary .pap_browser.-notInstalled.svelte-1tiaary{opacity:0.5}.pap_browser__wrap.svelte-1tiaary .pap_browser.svelte-1tiaary:not(:last-child){border-right:1px solid var(--table-border)}.pap_browser__wrap.svelte-1tiaary .pap_browser__placeholder.svelte-1tiaary{background-color:var(--cube-bg);margin:0 15px;padding:25px 15px}.pap_browser__wrap.svelte-1tiaary .pap_browser__icon.svelte-1tiaary{font-size:4rem;padding-bottom:20px;position:relative}.pap_browser__wrap.svelte-1tiaary .pap_browser__sub-icon.svelte-1tiaary{position:absolute;right:-14px;bottom:14px}.pap_browser__wrap.svelte-1tiaary .pap_browser__title.svelte-1tiaary{font-size:var(--font-size-large);margin-top:5px}",x(document.head,e)),pt(this,t,On,jn,_,{})}}export{Wn as detection,no as settings,to as settingsSearchStrings};const oo={name:"passwordProtection",version:"1.2.401",created:"2021-09-06T10:47:02.702Z"};export{oo as metadata};