!function(t){"function"==typeof define&&define.amd?define(t):t()}((function(){"use strict";var t=function(t){try{return!!t()}catch(t){return!0}},e=!t((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function o(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var i=function(t){return t&&t.Math==Math&&t},a=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n&&n)||function(){return this}()||Function("return this")(),u=function(t){return"object"==typeof t?null!==t:"function"==typeof t},c=a.document,s=u(c)&&u(c.createElement),l=function(t){return s?c.createElement(t):{}},f=!e&&!t((function(){return 7!=Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a})),d=function(t){if(!u(t))throw TypeError(String(t)+" is not an object");return t},p=function(t,e){if(!u(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!u(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!u(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!u(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},h=Object.defineProperty,v={f:e?h:function(t,e,n){if(d(t),e=p(e,!0),d(n),f)try{return h(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},g=v.f,y=Function.prototype,m=y.toString,w=/^\s*function ([^ (]*)/,_="name";e&&!(_ in y)&&g(y,_,{configurable:!0,get:function(){try{return m.call(this).match(w)[1]}catch(t){return""}}});var b={}.propertyIsEnumerable,x=Object.getOwnPropertyDescriptor,E={f:x&&!b.call({1:2},1)?function(t){var e=x(this,t);return!!e&&e.enumerable}:b},A=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},L={}.toString,S=function(t){return L.call(t).slice(8,-1)},T="".split,O=t((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==S(t)?T.call(t,""):Object(t)}:Object,k=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},I=function(t){return O(k(t))},R={}.hasOwnProperty,j=function(t,e){return R.call(t,e)},P=Object.getOwnPropertyDescriptor,U={f:e?P:function(t,e){if(t=I(t),e=p(e,!0),f)try{return P(t,e)}catch(t){}if(j(t,e))return A(!E.f.call(t,e),t[e])}},C=e?function(t,e,n){return v.f(t,e,A(1,n))}:function(t,e,n){return t[e]=n,t},M=function(t,e){try{C(a,t,e)}catch(n){a[t]=e}return e},B="__core-js_shared__",N=a[B]||M(B,{}),F=Function.toString;"function"!=typeof N.inspectSource&&(N.inspectSource=function(t){return F.call(t)});var z,D,q,W=N.inspectSource,G=a.WeakMap,V="function"==typeof G&&/native code/.test(W(G)),H=o((function(t){(t.exports=function(t,e){return N[t]||(N[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.10.0",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Y=0,$=Math.random(),K=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++Y+$).toString(36)},Z=H("keys"),J=function(t){return Z[t]||(Z[t]=K(t))},Q={},X=a.WeakMap;if(V){var tt=N.state||(N.state=new X),et=tt.get,nt=tt.has,rt=tt.set;z=function(t,e){return e.facade=t,rt.call(tt,t,e),e},D=function(t){return et.call(tt,t)||{}},q=function(t){return nt.call(tt,t)}}else{var ot=J("state");Q[ot]=!0,z=function(t,e){return e.facade=t,C(t,ot,e),e},D=function(t){return j(t,ot)?t[ot]:{}},q=function(t){return j(t,ot)}}var it={set:z,get:D,has:q,enforce:function(t){return q(t)?D(t):z(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=D(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},at=o((function(t){var e=it.get,n=it.enforce,r=String(String).split("String");(t.exports=function(t,e,o,i){var u,c=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,l=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof e||j(o,"name")||C(o,"name",e),(u=n(o)).source||(u.source=r.join("string"==typeof e?e:""))),t!==a?(c?!l&&t[e]&&(s=!0):delete t[e],s?t[e]=o:C(t,e,o)):s?t[e]=o:M(e,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||W(this)}))})),ut=a,ct=function(t){return"function"==typeof t?t:void 0},st=function(t,e){return arguments.length<2?ct(ut[t])||ct(a[t]):ut[t]&&ut[t][e]||a[t]&&a[t][e]},lt=Math.ceil,ft=Math.floor,dt=function(t){return isNaN(t=+t)?0:(t>0?ft:lt)(t)},pt=Math.min,ht=function(t){return t>0?pt(dt(t),9007199254740991):0},vt=Math.max,gt=Math.min,yt=function(t,e){var n=dt(t);return n<0?vt(n+e,0):gt(n,e)},mt=function(t){return function(e,n,r){var o,i=I(e),a=ht(i.length),u=yt(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},wt={includes:mt(!0),indexOf:mt(!1)},_t=wt.indexOf,bt=function(t,e){var n,r=I(t),o=0,i=[];for(n in r)!j(Q,n)&&j(r,n)&&i.push(n);for(;e.length>o;)j(r,n=e[o++])&&(~_t(i,n)||i.push(n));return i},xt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Et=xt.concat("length","prototype"),At={f:Object.getOwnPropertyNames||function(t){return bt(t,Et)}},Lt={f:Object.getOwnPropertySymbols},St=st("Reflect","ownKeys")||function(t){var e=At.f(d(t)),n=Lt.f;return n?e.concat(n(t)):e},Tt=function(t,e){for(var n=St(e),r=v.f,o=U.f,i=0;i<n.length;i++){var a=n[i];j(t,a)||r(t,a,o(e,a))}},Ot=/#|\.prototype\./,kt=function(e,n){var r=Rt[It(e)];return r==Pt||r!=jt&&("function"==typeof n?t(n):!!n)},It=kt.normalize=function(t){return String(t).replace(Ot,".").toLowerCase()},Rt=kt.data={},jt=kt.NATIVE="N",Pt=kt.POLYFILL="P",Ut=kt,Ct=U.f,Mt=function(t,e){var n,r,o,i,u,c=t.target,s=t.global,l=t.stat;if(n=s?a:l?a[c]||M(c,{}):(a[c]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(u=Ct(n,r))&&u.value:n[r],!Ut(s?r:c+(l?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Tt(i,o)}(t.sham||o&&o.sham)&&C(i,"sham",!0),at(n,r,i,t)}},Bt=Object.keys||function(t){return bt(t,xt)},Nt=function(t){return Object(k(t))},Ft=Object.assign,zt=Object.defineProperty,Dt=!Ft||t((function(){if(e&&1!==Ft({b:1},Ft(zt({},"a",{enumerable:!0,get:function(){zt(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},n={},r=Symbol(),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach((function(t){n[t]=t})),7!=Ft({},t)[r]||Bt(Ft({},n)).join("")!=o}))?function(t,n){for(var r=Nt(t),o=arguments.length,i=1,a=Lt.f,u=E.f;o>i;)for(var c,s=O(arguments[i++]),l=a?Bt(s).concat(a(s)):Bt(s),f=l.length,d=0;f>d;)c=l[d++],e&&!u.call(s,c)||(r[c]=s[c]);return r}:Ft;Mt({target:"Object",stat:!0,forced:Object.assign!==Dt},{assign:Dt});var qt=!t((function(){return Object.isExtensible(Object.preventExtensions({}))})),Wt=o((function(t){var e=v.f,n=K("meta"),r=0,o=Object.isExtensible||function(){return!0},i=function(t){e(t,n,{value:{objectID:"O"+ ++r,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!u(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!j(t,n)){if(!o(t))return"F";if(!e)return"E";i(t)}return t[n].objectID},getWeakData:function(t,e){if(!j(t,n)){if(!o(t))return!0;if(!e)return!1;i(t)}return t[n].weakData},onFreeze:function(t){return qt&&a.REQUIRED&&o(t)&&!j(t,n)&&i(t),t}};Q[n]=!0})),Gt=Wt.onFreeze,Vt=Object.freeze,Ht=t((function(){Vt(1)}));Mt({target:"Object",stat:!0,forced:Ht,sham:!qt},{freeze:function(t){return Vt&&u(t)?Vt(Gt(t)):t}});var Yt,$t,Kt=Array.isArray||function(t){return"Array"==S(t)},Zt=function(t,e,n){var r=p(e);r in t?v.f(t,r,A(0,n)):t[r]=n},Jt="process"==S(a.process),Qt=st("navigator","userAgent")||"",Xt=a.process,te=Xt&&Xt.versions,ee=te&&te.v8;ee?$t=(Yt=ee.split("."))[0]+Yt[1]:Qt&&(!(Yt=Qt.match(/Edge\/(\d+)/))||Yt[1]>=74)&&(Yt=Qt.match(/Chrome\/(\d+)/))&&($t=Yt[1]);var ne=$t&&+$t,re=!!Object.getOwnPropertySymbols&&!t((function(){return!Symbol.sham&&(Jt?38===ne:ne>37&&ne<41)})),oe=re&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ie=H("wks"),ae=a.Symbol,ue=oe?ae:ae&&ae.withoutSetter||K,ce=function(t){return j(ie,t)&&(re||"string"==typeof ie[t])||(re&&j(ae,t)?ie[t]=ae[t]:ie[t]=ue("Symbol."+t)),ie[t]},se=ce("species"),le=function(t,e){var n;return Kt(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Kt(n.prototype)?u(n)&&null===(n=n[se])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},fe=ce("species"),de=function(e){return ne>=51||!t((function(){var t=[];return(t.constructor={})[fe]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},pe=ce("isConcatSpreadable"),he=9007199254740991,ve="Maximum allowed index exceeded",ge=ne>=51||!t((function(){var t=[];return t[pe]=!1,t.concat()[0]!==t})),ye=de("concat"),me=function(t){if(!u(t))return!1;var e=t[pe];return void 0!==e?!!e:Kt(t)};Mt({target:"Array",proto:!0,forced:!ge||!ye},{concat:function(t){var e,n,r,o,i,a=Nt(this),u=le(a,0),c=0;for(e=-1,r=arguments.length;e<r;e++)if(me(i=-1===e?a:arguments[e])){if(c+(o=ht(i.length))>he)throw TypeError(ve);for(n=0;n<o;n++,c++)n in i&&Zt(u,c,i[n])}else{if(c>=he)throw TypeError(ve);Zt(u,c++,i)}return u.length=c,u}});var we=o((function(t,e){var n;n=function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function o(){}function i(e,n,i){if("undefined"!=typeof document){"number"==typeof(i=t({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(t){}n=r.write?r.write(n,e):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var u="";for(var c in i)i[c]&&(u+="; "+c,!0!==i[c]&&(u+="="+i[c].split(";")[0]));return document.cookie=e+"="+n+u}}function a(t,n){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var u=i[a].split("="),c=u.slice(1).join("=");n||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var s=e(u[0]);if(c=(r.read||r)(c,s)||e(c),n)try{c=JSON.parse(c)}catch(t){}if(o[s]=c,t===s)break}catch(t){}}return t?o[t]:o}}return o.set=i,o.get=function(t){return a(t,!1)},o.getJSON=function(t){return a(t,!0)},o.remove=function(e,n){i(e,"",t(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}((function(){}))},t.exports=n()})),_e={error:{priority:3,method:function(){var t;return(t=console).error.apply(t,arguments)}},warn:{priority:2,method:function(){var t;return(t=console).warn.apply(t,arguments)}},info:{priority:1,method:function(){var t;return(t=console).info.apply(t,arguments)}},debug:{priority:0,method:function(){var t;return(t=console).debug.apply(t,arguments)}}},be=["%c 1L Widget ","background: #2019f5; color: #fff"],xe="olw_loglvl",Ee=new function(){var t,e=this;this.level=(t=we.get(xe))&&t in _e?t:"info",this.setLevel=function(t){if(!t||!(t in _e))return e.error("Incorrect log level.");e.level=t,we.set(xe,t),e.info('Log level changed to "'+t+'".')},this.log=function(t){if(_e[t].priority>=_e[e.level].priority){for(var n,r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return(n=_e[t]).method.apply(n,be.concat(["["+t.toUpperCase()+"] "],o))}},this.error=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.log.apply(e,["error"].concat(n))},this.warn=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.log.apply(e,["warn"].concat(n))},this.info=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.log.apply(e,["info"].concat(n))},this.debug=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.log.apply(e,["debug"].concat(n))}},Ae=function(t,e){var n;null==(n=window.WP)||n.push((function(){var n;null==(n=window.WP)||n.stat.wave("onelogin",{mode:t,event:e})}))},Le=void 0,Se={COOKIE:{clear:function(t){we.remove(t,{domain:Le,secure:!0,sameSite:"none"})},load:function(t){return we.get(t)},save:function(t,e){we.set(t,e,{domain:Le,secure:!0,sameSite:"none"})}},LOCAL_STORAGE:{clear:function(t){return localStorage.removeItem(t)},load:function(t){return localStorage.getItem(t)},save:function(t,e){localStorage.setItem(t,e)}}},Te=r(o((function(t){t.exports=function(t,e){return e||(e=t.slice(0)),t.raw=e,t},t.exports.default=t.exports,t.exports.__esModule=!0}))),Oe=function(e,n){var r=[][e];return!!r&&t((function(){r.call(null,n||function(){throw 1},1)}))},ke=[].join,Ie=O!=Object,Re=Oe("join",",");Mt({target:"Array",proto:!0,forced:Ie||!Re},{join:function(t){return ke.call(I(this),void 0===t?",":t)}});var je=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Pe=function(t,e,n){if(je(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}},Ue=[].push,Ce=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,i=6==t,a=7==t,u=5==t||i;return function(c,s,l,f){for(var d,p,h=Nt(c),v=O(h),g=Pe(s,l,3),y=ht(v.length),m=0,w=f||le,_=e?w(c,y):n||a?w(c,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),t))if(e)_[m]=p;else if(p)switch(t){case 3:return!0;case 5:return d;case 6:return m;case 2:Ue.call(_,d)}else switch(t){case 4:return!1;case 7:Ue.call(_,d)}return i?-1:r||o?o:_}},Me={forEach:Ce(0),map:Ce(1),filter:Ce(2),some:Ce(3),every:Ce(4),find:Ce(5),findIndex:Ce(6),filterOut:Ce(7)},Be=Me.map,Ne=de("map");Mt({target:"Array",proto:!0,forced:!Ne},{map:function(t){return Be(this,t,arguments.length>1?arguments[1]:void 0)}});var Fe=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t.map((function(t,e){return""+t+(n[e]||"")})).join("")};function ze(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}var De,qe="styles-module_Button__1bJy1",We="styles-module_Icon__1t6X6";ze(".styles-module_Button__1bJy1{display:flex;align-items:center;justify-content:center;border:none;border-radius:4px;background-color:#2019f5;color:#fff;font-size:14px;outline:none;padding:10px 12px 10px 30px;max-width:270px;width:100%;position:relative;cursor:pointer}.styles-module_Button__1bJy1 span{position:relative}.styles-module_Button__1bJy1:hover{background-color:#333cf6}.styles-module_Icon__1t6X6{position:absolute;top:50%;left:12px;transform:translateY(-50%)}");var Ge=function(t){var e=t.return;if(void 0!==e)return d(e.call(t)).value},Ve=function(t,e,n,r){try{return r?e(d(n)[0],n[1]):e(n)}catch(e){throw Ge(t),e}},He={},Ye=ce("iterator"),$e=Array.prototype,Ke=function(t){return void 0!==t&&(He.Array===t||$e[Ye]===t)},Ze={};Ze[ce("toStringTag")]="z";var Je="[object z]"===String(Ze),Qe=ce("toStringTag"),Xe="Arguments"==S(function(){return arguments}()),tn=Je?S:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Qe))?n:Xe?S(e):"Object"==(r=S(e))&&"function"==typeof e.callee?"Arguments":r},en=ce("iterator"),nn=function(t){if(null!=t)return t[en]||t["@@iterator"]||He[tn(t)]},rn=function(t){var e,n,r,o,i,a,u=Nt(t),c="function"==typeof this?this:Array,s=arguments.length,l=s>1?arguments[1]:void 0,f=void 0!==l,d=nn(u),p=0;if(f&&(l=Pe(l,s>2?arguments[2]:void 0,2)),null==d||c==Array&&Ke(d))for(n=new c(e=ht(u.length));e>p;p++)a=f?l(u[p],p):u[p],Zt(n,p,a);else for(i=(o=d.call(u)).next,n=new c;!(r=i.call(o)).done;p++)a=f?Ve(o,l,[r.value,p],!0):r.value,Zt(n,p,a);return n.length=p,n},on=ce("iterator"),an=!1;try{var un=0,cn={next:function(){return{done:!!un++}},return:function(){an=!0}};cn[on]=function(){return this},Array.from(cn,(function(){throw 2}))}catch(t){}var sn=function(t,e){if(!e&&!an)return!1;var n=!1;try{var r={};r[on]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},ln=!sn((function(t){Array.from(t)}));Mt({target:"Array",stat:!0,forced:ln},{from:rn});var fn,dn,pn,hn=function(t){return function(e,n){var r,o,i=String(k(e)),a=dt(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===u||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):r:t?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}},vn={codeAt:hn(!1),charAt:hn(!0)},gn=!t((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),yn=J("IE_PROTO"),mn=Object.prototype,wn=gn?Object.getPrototypeOf:function(t){return t=Nt(t),j(t,yn)?t[yn]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?mn:null},_n=ce("iterator"),bn=!1;[].keys&&("next"in(pn=[].keys())?(dn=wn(wn(pn)))!==Object.prototype&&(fn=dn):bn=!0),(null==fn||t((function(){var t={};return fn[_n].call(t)!==t})))&&(fn={}),j(fn,_n)||C(fn,_n,(function(){return this}));var xn,En={IteratorPrototype:fn,BUGGY_SAFARI_ITERATORS:bn},An=e?Object.defineProperties:function(t,e){d(t);for(var n,r=Bt(e),o=r.length,i=0;o>i;)v.f(t,n=r[i++],e[n]);return t},Ln=st("document","documentElement"),Sn=J("IE_PROTO"),Tn=function(){},On=function(t){return"<script>"+t+"</"+"script>"},kn=function(){try{xn=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;kn=xn?function(t){t.write(On("")),t.close();var e=t.parentWindow.Object;return t=null,e}(xn):((e=l("iframe")).style.display="none",Ln.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(On("document.F=Object")),t.close(),t.F);for(var n=xt.length;n--;)delete kn.prototype[xt[n]];return kn()};Q[Sn]=!0;var In=Object.create||function(t,e){var n;return null!==t?(Tn.prototype=d(t),n=new Tn,Tn.prototype=null,n[Sn]=t):n=kn(),void 0===e?n:An(n,e)},Rn=v.f,jn=ce("toStringTag"),Pn=function(t,e,n){t&&!j(t=n?t:t.prototype,jn)&&Rn(t,jn,{configurable:!0,value:e})},Un=En.IteratorPrototype,Cn=function(){return this},Mn=function(t,e,n){var r=e+" Iterator";return t.prototype=In(Un,{next:A(1,n)}),Pn(t,r,!1),He[r]=Cn,t},Bn=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return d(n),function(t){if(!u(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),Nn=En.IteratorPrototype,Fn=En.BUGGY_SAFARI_ITERATORS,zn=ce("iterator"),Dn="keys",qn="values",Wn="entries",Gn=function(){return this},Vn=function(t,e,n,r,o,i,a){Mn(n,e,r);var u,c,s,l=function(t){if(t===o&&v)return v;if(!Fn&&t in p)return p[t];switch(t){case Dn:case qn:case Wn:return function(){return new n(this,t)}}return function(){return new n(this)}},f=e+" Iterator",d=!1,p=t.prototype,h=p[zn]||p["@@iterator"]||o&&p[o],v=!Fn&&h||l(o),g="Array"==e&&p.entries||h;if(g&&(u=wn(g.call(new t)),Nn!==Object.prototype&&u.next&&(wn(u)!==Nn&&(Bn?Bn(u,Nn):"function"!=typeof u[zn]&&C(u,zn,Gn)),Pn(u,f,!0))),o==qn&&h&&h.name!==qn&&(d=!0,v=function(){return h.call(this)}),p[zn]!==v&&C(p,zn,v),He[e]=v,o)if(c={values:l(qn),keys:i?v:l(Dn),entries:l(Wn)},a)for(s in c)(Fn||d||!(s in p))&&at(p,s,c[s]);else Mt({target:e,proto:!0,forced:Fn||d},c);return c},Hn=vn.charAt,Yn="String Iterator",$n=it.set,Kn=it.getterFor(Yn);Vn(String,"String",(function(t){$n(this,{type:Yn,string:String(t),index:0})}),(function(){var t,e=Kn(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=Hn(n,r),e.index+=t.length,{value:t,done:!1})}));var Zn={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Jn=Me.forEach,Qn=Oe("forEach")?[].forEach:function(t){return Jn(this,t,arguments.length>1?arguments[1]:void 0)};for(var Xn in Zn){var tr=a[Xn],er=tr&&tr.prototype;if(er&&er.forEach!==Qn)try{C(er,"forEach",Qn)}catch(t){er.forEach=Qn}}var nr=function(){var t=d(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function rr(t,e){return RegExp(t,e)}var or,ir,ar={UNSUPPORTED_Y:t((function(){var t=rr("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:t((function(){var t=rr("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},ur=RegExp.prototype.exec,cr=H("native-string-replace",String.prototype.replace),sr=ur,lr=(or=/a/,ir=/b*/g,ur.call(or,"a"),ur.call(ir,"a"),0!==or.lastIndex||0!==ir.lastIndex),fr=ar.UNSUPPORTED_Y||ar.BROKEN_CARET,dr=void 0!==/()??/.exec("")[1];(lr||dr||fr)&&(sr=function(t){var e,n,r,o,i=this,a=fr&&i.sticky,u=nr.call(i),c=i.source,s=0,l=t;return a&&(-1===(u=u.replace("y","")).indexOf("g")&&(u+="g"),l=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(c="(?: "+c+")",l=" "+l,s++),n=new RegExp("^(?:"+c+")",u)),dr&&(n=new RegExp("^"+c+"$(?!\\s)",u)),lr&&(e=i.lastIndex),r=ur.call(a?n:i,l),a?r?(r.input=r.input.slice(s),r[0]=r[0].slice(s),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:lr&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),dr&&r&&r.length>1&&cr.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var pr=sr;Mt({target:"RegExp",proto:!0,forced:/./.exec!==pr},{exec:pr});var hr=ce("species"),vr=!t((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),gr="$0"==="a".replace(/./,"$0"),yr=ce("replace"),mr=!!/./[yr]&&""===/./[yr]("a","$0"),wr=!t((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),_r=function(e,n,r,o){var i=ce(e),a=!t((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),u=a&&!t((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[hr]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!a||!u||"replace"===e&&(!vr||!gr||mr)||"split"===e&&!wr){var c=/./[i],s=r(i,""[e],(function(t,e,n,r,o){return e.exec===pr?a&&!o?{done:!0,value:c.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:gr,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:mr}),l=s[0],f=s[1];at(String.prototype,e,l),at(RegExp.prototype,i,2==n?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)})}o&&C(RegExp.prototype[i],"sham",!0)},br=vn.charAt,xr=function(t,e,n){return e+(n?br(t,e).length:1)},Er=Math.floor,Ar="".replace,Lr=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Sr=/\$([$&'`]|\d{1,2})/g,Tr=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,c=Sr;return void 0!==o&&(o=Nt(o),c=Lr),Ar.call(i,c,(function(i,c){var s;switch(c.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(a);case"<":s=o[c.slice(1,-1)];break;default:var l=+c;if(0===l)return i;if(l>u){var f=Er(l/10);return 0===f?i:f<=u?void 0===r[f-1]?c.charAt(1):r[f-1]+c.charAt(1):i}s=r[l-1]}return void 0===s?"":s}))},Or=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==S(t))throw TypeError("RegExp#exec called on incompatible receiver");return pr.call(t,e)},kr=Math.max,Ir=Math.min;_r("replace",2,(function(t,e,n,r){var o=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=r.REPLACE_KEEPS_$0,a=o?"$":"$0";return[function(n,r){var o=k(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!o&&i||"string"==typeof r&&-1===r.indexOf(a)){var u=n(e,t,this,r);if(u.done)return u.value}var c=d(t),s=String(this),l="function"==typeof r;l||(r=String(r));var f=c.global;if(f){var p=c.unicode;c.lastIndex=0}for(var h=[];;){var v=Or(c,s);if(null===v)break;if(h.push(v),!f)break;""===String(v[0])&&(c.lastIndex=xr(s,ht(c.lastIndex),p))}for(var g,y="",m=0,w=0;w<h.length;w++){v=h[w];for(var _=String(v[0]),b=kr(Ir(dt(v.index),s.length),0),x=[],E=1;E<v.length;E++)x.push(void 0===(g=v[E])?g:String(g));var A=v.groups;if(l){var L=[_].concat(x,b,s);void 0!==A&&L.push(A);var S=String(r.apply(void 0,L))}else S=Tr(_,s,b,x,A,r);b>=m&&(y+=s.slice(m,b)+S,m=b+_.length)}return y+s.slice(m)}]}));var Rr,jr="styles-module_Text__2N4ci",Pr="styles-module_Overlay__aUjWP",Ur="styles-module_Bold__27ljj",Cr="styles-module_Button__3Bq4n",Mr="styles-module_TextWrapper__3szJT";ze(".styles-module_Text__2N4ci{display:block;max-width:95px}.styles-module_Text__2N4ci.styles-module_Overlay__aUjWP{position:absolute;left:50%;transform:translateX(-50%)}.styles-module_Text__2N4ci.styles-module_Bold__27ljj{font-weight:600;visibility:hidden}.styles-module_Button__3Bq4n{display:flex;justify-content:center;align-items:center;flex-direction:column;background:none;border:0;font-size:12px;font-weight:500;cursor:pointer;outline:0;text-transform:uppercase}.styles-module_Button__3Bq4n>*{position:relative}.styles-module_Button__3Bq4n:hover .styles-module_Overlay__aUjWP{visibility:hidden}.styles-module_Button__3Bq4n:hover .styles-module_Bold__27ljj{visibility:visible}.styles-module_Button__3Bq4n .styles-module_TextWrapper__3szJT{margin-top:8px}@media (max-width:768px){.styles-module_Button__3Bq4n .styles-module_TextWrapper__3szJT{display:none}}");var Br=function(t,e,n,r){void 0===r&&(r=!0);var o=e.length<=10?e:e.substring(0,10).replace(/...$/,"...");return Fe(Rr||(Rr=Te(['<button type="button" id="','" class="olw__button'," ",'">','<div class="olw__button__text ','"><span class="olw__button__text--overlay '," ",'">','</span> <span class="olw__button__text--bold '," ",'">',"</span></div></button>"])),t,r?"":"--login",Cr,n,Mr,jr,Pr,o,jr,Ur,o)},Nr="styles-module_Wrapper__28I5v",Fr="styles-module_Link__7LnyB",zr="styles-module_Icon__2j5nC";ze(".styles-module_Wrapper__28I5v{display:flex;flex-direction:column;padding:0 20px 16px;border-top:1px solid rgba(0,0,0,.1)}.styles-module_Link__7LnyB{display:flex;align-items:center;margin-top:16px;font-size:14px;cursor:pointer;color:#1a1a1a}.styles-module_Link__7LnyB:hover{text-decoration:underline}.styles-module_Icon__2j5nC{display:flex;align-items:center;justify-content:center;width:20px;margin-right:15px}");var Dr,qr,Wr=function(){return"true"===we.get("mobileApp")},Gr=ce("match"),Vr=function(t){var e;return u(t)&&(void 0!==(e=t[Gr])?!!e:"RegExp"==S(t))},Hr=function(t){if(Vr(t))throw TypeError("The method doesn't accept regular expressions");return t},Yr=ce("match"),$r=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[Yr]=!1,"/./"[t](e)}catch(t){}}return!1},Kr=U.f,Zr="".startsWith,Jr=Math.min,Qr=$r("startsWith"),Xr=!(Qr||(qr=Kr(String.prototype,"startsWith"),!qr||qr.writable));Mt({target:"String",proto:!0,forced:!Xr&&!Qr},{startsWith:function(t){var e=String(k(this));Hr(t);var n=ht(Jr(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return Zr?Zr.call(e,r,n):e.slice(n,n+r.length)===r}});var to,eo="https://1login.wp.pl",no="OLWIDGET_BRANCH",ro="styles-module_Wrapper__2g7OW",oo="styles-module_AvatarWrapper__pJPgY",io="styles-module_Avatar__2n7RQ",ao="styles-module_OneLoginLogo__2RFnu",uo="styles-module_PersonalData__p1q4n",co="styles-module_Email__3ZhPR",so="styles-module_Link__1nZwl",lo="styles-module_DisplayNone__1dBmu";ze(".styles-module_Wrapper__2g7OW{display:flex;flex-direction:column;width:100%;align-items:center;padding:20px 20px 0;box-sizing:border-box}.styles-module_AvatarWrapper__pJPgY{position:relative}.styles-module_Avatar__2n7RQ{height:60px;width:60px;border-radius:50%}@media (max-width:768px){.styles-module_Avatar__2n7RQ{height:43px;width:43px}}.styles-module_OneLoginLogo__2RFnu{position:absolute;bottom:0;left:-10px}.styles-module_PersonalData__p1q4n{margin-top:10px;font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.styles-module_Email__3ZhPR{font-size:12px;color:#656565;margin-bottom:10px}.styles-module_Link__1nZwl{font-size:14px;font-weight:600;color:#2019f5;margin-bottom:15px;cursor:pointer;text-decoration:none}.styles-module_Link__1nZwl:hover{text-decoration:underline}.styles-module_Link__1nZwl:last-child{margin-bottom:10px}.styles-module_DisplayNone__1dBmu{display:none}");var fo,po,ho,vo=function(t){var e=void 0===t?{}:t,n=e.size,r=void 0===n?30:n,o=e.class,i=void 0===o?"":o;return Fe(to||(to=Te(['<svg xmlns="http://www.w3.org/2000/svg" class="','" width="','" height="','" viewBox="0 0 41 40"><g fill="none" fill-rule="evenodd" transform="translate(5.24 5)"><circle cx="15" cy="15" r="17.4" fill="#E3E8FE" stroke="#E3E8FE" stroke-width="4.8"/><path fill="#2019F5" fill-rule="nonzero" d="M20.487 22.274v-1.796c0-2.115-1.687-3.38-3.309-4.615-.224-.17-.509-.493-.509-.986s.257-.974.51-1.18c1.577-1.286 3.308-2.5 3.308-4.615V7.726h1.273V6h-14v1.726h1.273v1.356c0 2.116 1.73 3.329 3.309 4.615.252.206.509.687.509 1.18 0 .493-.285.816-.51.986-1.62 1.234-3.308 2.5-3.308 4.615v1.796H7.76V24h14v-1.726h-1.273zm-8.941-11.59c-.47-.513-.731-1.009-.731-1.602V7.726h7.89v1.356c0 .593-.262 1.089-.73 1.603h-6.43zm7.16 11.109l-2.997-1.133c-.522-.197-1.376-.197-1.897 0l-2.997 1.133v-1.315c0-1.197.982-2.005 2.584-3.225l.043-.032c.608-.462 1.003-1.106 1.137-1.815.12.026.243.026.362 0 .134.71.529 1.353 1.136 1.814l.044.033c1.602 1.22 2.584 2.028 2.584 3.225v1.315z"/></g></svg>'])),i,r,r)},go="styles-module_Wrapper__3Ue2n",yo="styles-module_Dropdown__22z2G",mo="styles-module_Open__qza-y",wo="styles-module_Closed__12SQg",_o="styles-module_Backdrop__3E_yg",bo="styles-module_Visible__3WocK",xo="styles-module_Content__2QMnt",Eo="styles-module_CloseButton__OZ9N-",Ao="styles-module_Placeholder__GOJhG",Lo="styles-module_AvatarWrapper__2IFqp";ze(".styles-module_Wrapper__3Ue2n{color:#1a1a1a;position:relative}.styles-module_Dropdown__22z2G{position:absolute;width:350px;right:0;background-color:#fff;border-radius:5px;box-shadow:0 0 10px 0 rgba(0,0,0,.2);z-index:999;top:-5px;opacity:0;transform:scale(.2);transform-origin:top right;transition:transform .2s ease-in-out,opacity .2s ease-in-out,top .2s ease-in-out}.styles-module_Dropdown__22z2G.styles-module_Open__qza-y{top:100%;opacity:1;transform:scale(1)}.styles-module_Dropdown__22z2G.styles-module_Closed__12SQg{display:none}@media (max-width:768px){.styles-module_Dropdown__22z2G{position:fixed;width:300px;transform-origin:top center;transform:scale(.2) translateX(-50%);top:10px;left:50%}.styles-module_Dropdown__22z2G.styles-module_Open__qza-y{top:10px;transform:scale(1) translateX(-50%)}}.styles-module_Backdrop__3E_yg{display:none;position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(88,88,88,.83);z-index:998}@media (max-width:768px){.styles-module_Backdrop__3E_yg.styles-module_Visible__3WocK{display:block}}.styles-module_Content__2QMnt{position:relative}.styles-module_CloseButton__OZ9N-{display:none;position:absolute;background:none;border:none;padding:0;margin:0;top:20px;right:20px;outline:none}@media (max-width:768px){.styles-module_CloseButton__OZ9N-{display:block}}.styles-module_Placeholder__GOJhG:not(:empty){border-top:1px solid rgba(0,0,0,.1)}.styles-module_AvatarWrapper__2IFqp{display:flex;align-items:center;justify-content:center;width:30px;height:30px;background-color:#e0e0e0;border-radius:50%}.styles-module_AvatarWrapper__2IFqp img{height:24px;width:24px;border-radius:50%}");var So,To,Oo,ko,Io,Ro=function(t,e){var n=t.flow.getUserData(),r=n.first_name,o=n.avatar_url;e.innerHTML=Fe(po||(po=Te(['<div id="olw-db-backdrop" class="','"></div><div class="','">','<div id="olw-db-dropdown" class="olw__dropdown '," ",'"><div class="','"><div id="olw-db-user">a</div><div class="','" id="olw-db-user-actions-placeholder"></div><div id="olw-db-actions">b</div><button type="button" id="olw-db-x-button" class="','"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="#A1A1A1" fill-rule="evenodd" d="M11.414 10l4.293-4.293c.391-.391.391-1.023 0-1.414-.39-.391-1.023-.391-1.414 0L10 8.586 5.707 4.293c-.39-.391-1.023-.391-1.414 0-.39.391-.39 1.023 0 1.414L8.586 10l-4.293 4.293c-.39.391-.39 1.023 0 1.414.195.195.451.293.707.293.256 0 .512-.098.707-.293L10 11.414l4.293 4.293c.195.195.451.293.707.293.256 0 .512-.098.707-.293.391-.391.391-1.023 0-1.414L11.414 10z"/></svg></button></div></div></div>'])),_o,go,Br("olw-db-button",r,o?Fe(ho||(ho=Te(['<div class="olw__button__avatar ','"><img src="','" alt="avatar"></div>'])),Lo,o):vo()),yo,wo,xo,Ao,Eo);var i=document.getElementById("olw-db-dropdown"),a=document.getElementById("olw-db-backdrop"),u=document.getElementById("olw-db-button"),c=document.getElementById("olw-db-x-button"),s=Array.from(e.querySelectorAll("a")),l=e.querySelector("#olw-db-user"),f=e.querySelector("#olw-db-actions");if(!(i&&a&&l&&f))throw new Error("Missing element during dropdown-button render");var d=function(t,e,n){var r=n.avatar_url,o=n.first_name,i=n.last_name,a=n.email;e.innerHTML=Fe(fo||(fo=Te(['<div class="','"><div class="olw__avatarwrapper ','">',' <svg xmlns="http://www.w3.org/2000/svg" width="24" height="23" viewBox="0 0 24 23" class="','"><g fill="none" fill-rule="evenodd" transform="translate(.754)"><ellipse cx="11.475" cy="11.4" fill="#FFF" rx="11.475" ry="11.4"/><g fill="#2019F5"><path d="M14.765 1.87c-.348 0-.672.108-.94.291-.104.059-.202.127-.294.21l-4.84 4.962c-.672.609-.718 1.651-.102 2.315.616.665 1.67.71 2.342.1l2.165-2.13v8.307c0 .907.751 1.65 1.67 1.65.918 0 1.669-.743 1.669-1.65V3.52c0-.907-.75-1.65-1.67-1.65" transform="translate(2.416 2.4)"/><path d="M6.587 11.8c-.743-.586-1.222-1.278-1.441-2.16-.196-.796-.115-1.46.153-2.26.038-.094.042-.105.01-.032.022-.052.046-.103.07-.154.036-.075.074-.15.115-.223.108-.195.229-.385.365-.562-.084.109.068-.076.08-.088.073-.085.15-.165.23-.244.08-.08.163-.155.248-.228.021-.018.206-.162.092-.078.183-.136.377-.256.578-.361.217-.116.263-.133.43-.193.454-.16.823-.223 1.25-.238.46-.014.852-.376.852-.841 0-.446-.39-.859-.853-.843-1.784.057-3.385.902-4.429 2.331-1 1.368-1.27 3.245-.723 4.84.339.987.943 1.876 1.768 2.526.36.285.854.348 1.205 0 .297-.293.362-.905 0-1.192M10.223 12.288c-.644.222-1.281.288-1.959.209-.457-.054-.852.425-.852.842 0 .5.393.789.852.843.808.095 1.645-.005 2.412-.268.435-.15.723-.577.596-1.036-.116-.418-.612-.74-1.049-.59" transform="translate(2.416 2.4)"/><path d="M1.774 9.804c-.129-.99-.085-1.865.132-2.728.055-.22.12-.437.194-.652.037-.106.076-.212.118-.317.02-.053.04-.106.063-.157-.058.134.051-.107.052-.108.19-.406.418-.796.676-1.165.064-.09.13-.183.198-.272-.064.084.096-.115.132-.156.164-.192.337-.378.52-.554.37-.361.603-.548.983-.799.836-.553 1.536-.847 2.515-1.06 1.296-.282 2.68-.173 3.966.271.435.15.933-.171 1.048-.589.13-.464-.158-.886-.594-1.036-2.452-.846-5.242-.568-7.47.754C2.443 2.343 1.035 4.126.39 6.178.023 7.343-.087 8.596.069 9.804c.059.452.35.843.853.843.415 0 .91-.387.852-.843M10.129 15.724c-1.498.27-3.112.04-4.43-.616-1.392-.692-2.444-1.715-3.177-3.06-.22-.401-.78-.527-1.166-.303-.41.237-.526.75-.307 1.153.864 1.584 2.234 2.915 3.872 3.706 1.774.856 3.725 1.095 5.66.746.455-.082.71-.626.597-1.037-.131-.472-.594-.67-1.049-.589" transform="translate(2.416 2.4)"/></g></g></svg></div><div class="olw__personaldata ','">'," ",'</div><div class="olw__email ','">','</div><a class="olw__link '," ",'" href="','" target="_blank" rel="noreferrer noopener">Zarządzaj kontem </a><a class="olw__link ','" id="olw-link-login">Przełącz konto</a></div>'])),ro,oo,r?'<img class="'+io+'" src="'+r+'" alt="avatar" />':vo({class:io}),ao,uo,o,i,co,a,so,Wr()||window.location.href.startsWith(eo)?lo:"",eo,so);var u=e.querySelector("#olw-link-login");if(!u)throw new Error("User link login element not found");var c=function(){Wr()?window.location.assign("onelogin://profile/choose"):t.flow.login(!0)};return u.addEventListener("click",c),function(){u.removeEventListener("click",c)}}(t,l,n),p=function(t,e){e.innerHTML=Fe(Dr||(Dr=Te(['<div class="olw__action--logout ','"><a class="olw__action--link ','" id="olw-actions-logout"><span class="olw__action--icon ','"><svg xmlns="http://www.w3.org/2000/svg" width="17" height="19" viewBox="0 0 17 19"><path fill="#2019F5" stroke="#2019F5" d="M7 1c4.791 0 8.675 3.884 8.675 8.675S11.791 18.35 7 18.35c-.373 0-.675-.302-.675-.675 0-.373.302-.675.675-.675 4.045 0 7.325-3.28 7.325-7.325S11.045 2.35 7 2.35c-.373 0-.675-.302-.675-.675C6.325 1.302 6.627 1 7 1zM4.632 5.873l.084-.071.092-.056c.252-.126.568-.084.779.127h0l.071.083c.19.264.166.634-.071.871h0L3.305 9.11h6.412l.1.008c.325.048.575.329.575.668 0 .372-.302.675-.675.675h0l-6.412-.001 2.282 2.283.071.084c.19.263.166.633-.071.87-.264.264-.691.264-.955 0h0l-3.448-3.448-.057-.07-.053-.085-.04-.095-.026-.11L1 9.784c0-.07.01-.137.03-.2h0l.038-.096.052-.088h0l.026-.036.044-.05 3.442-3.442z"/></svg> </span>Wyloguj</a></div>'])),Nr,Fr,zr);var n=e.querySelector("#olw-actions-logout");if(!n)throw new Error("Actions logout link element not found");var r=function(){Wr()?window.location.assign("onelogin://profile/logout"):t.flow.logout()};return n.addEventListener("click",r),function(){n.removeEventListener("click",r)}}(t,f),h=function(){i.classList.remove(mo),a.classList.remove(bo),"none"===getComputedStyle(a).display&&document.body.removeAttribute("style"),setTimeout((function(){return i.classList.add(wo)}),250)};document.addEventListener("ol-close-dropdown",h);var v=function(){i.classList.contains(wo)?(i.classList.remove(wo),window.requestAnimationFrame((function(){window.requestAnimationFrame((function(){"none"!==getComputedStyle(a).display&&(document.body.style.overflow="hidden"),i.classList.add(mo)}))})),a.classList.add(bo)):h()},g=function(t){"Escape"===t.code&&h()},y=function(t){i&&u&&t.target&&(i.contains(t.target)||u.contains(t.target)||h())};return null==u||u.addEventListener("click",v),null==c||c.addEventListener("click",h),document.addEventListener("keyup",g),document.addEventListener("click",y),s.forEach((function(t){return t.addEventListener("click",v)})),function(){d(),p(),null==u||u.removeEventListener("click",v),null==c||c.addEventListener("click",h),document.removeEventListener("keyup",g),document.removeEventListener("click",y),s.forEach((function(t){return t.removeEventListener("click",v)})),document.removeEventListener("ol-close-dropdown",h),e.innerHTML=""}},jo=function(t,e){var n=[],r=function(){n.push(Ro(t,e))},o=function(){n.push(function(t,e){e.innerHTML=Fe(So||(So=Te(["",""])),Br("ol-widget-login-button","Zaloguj",Fe(To||(To=Te(['<svg xmlns="http://www.w3.org/2000/svg" width="32" height="28" viewBox="0 0 32 28"><path class="olw__button--icon" d="M12.698 3.048c1.806 0 3.523.376 5.078 1.055-.168.484-.297.985-.383 1.5-1.426-.662-3.017-1.032-4.695-1.032-6.171 0-11.174 5.003-11.174 11.175 0 6.172 5.003 11.175 11.174 11.175 6.122 0 11.094-4.922 11.174-11.025.49.142.997.243 1.517.301-.237 6.804-5.828 12.247-12.69 12.247C5.684 28.444 0 22.76 0 15.746 0 8.733 5.685 3.048 12.698 3.048zm2.477 14.349c2.279 0 4.127 1.848 4.127 4.127 0 .456-.37.825-.826.825-.423 0-.772-.318-.82-.729l-.01-.242c-.072-1.251-1.074-2.254-2.326-2.326l-.145-.004h-4.953c-1.367 0-2.476 1.108-2.476 2.476 0 .456-.37.825-.825.825-.456 0-.826-.37-.826-.825 0-2.22 1.752-4.03 3.948-4.123l.18-.004h4.952zm-2.477-8.254c2.28 0 4.127 1.848 4.127 4.127 0 2.28-1.847 4.127-4.127 4.127-2.279 0-4.127-1.848-4.127-4.127 0-2.28 1.848-4.127 4.127-4.127zm0 1.65c-1.367 0-2.476 1.11-2.476 2.477 0 1.367 1.109 2.476 2.476 2.476 1.368 0 2.477-1.109 2.477-2.476 0-1.368-1.109-2.476-2.477-2.476z"/><path class="olw__button--logo" d="M31.166 1.514c.739 0 1.342.601 1.342 1.336v10.037c0 .734-.603 1.335-1.342 1.335-.737 0-1.34-.601-1.34-1.335V6.164L28.084 7.89c-.54.493-1.386.456-1.882-.081-.495-.538-.458-1.381.082-1.874l3.89-4.016c.073-.067.152-.122.235-.169.216-.148.476-.235.756-.235zm-10.775 7.99c.31-.18.76-.079.937.245.59 1.09 1.434 1.917 2.553 2.477 1.059.53 2.356.717 3.56.499.365-.066.737.094.842.476.092.333-.114.773-.478.84-1.556.281-3.124.088-4.549-.604-1.317-.64-2.417-1.717-3.111-3-.176-.325-.083-.74.246-.932zm7.126.44c.35-.12.749.14.842.477.102.372-.129.718-.478.839-.617.213-1.29.293-1.939.216-.369-.043-.684-.277-.684-.681 0-.338.317-.726.684-.682.545.064 1.057.01 1.575-.169zm-1.171-7.278c.371-.012.685.321.685.682 0 .377-.315.67-.685.681-.343.013-.64.064-1.004.193-.135.048-.171.062-.345.156-.162.085-.318.182-.465.292l.028-.02c.005-.004-.002 0-.028.02l.027-.019-.036.03-.05.04-.015.012c-.068.06-.135.12-.2.184-.063.064-.125.13-.185.198l-.07.083-.01.012.008-.012-.01.013c-.002.004-.002.004 0 .002l-.087.12c-.067.1-.13.203-.188.308l-.093.18-.039.087c.002-.003-.006.019-.024.064-.215.648-.281 1.185-.123 1.829.176.714.56 1.274 1.158 1.748.29.232.239.727 0 .965-.282.281-.68.23-.969 0-.663-.526-1.148-1.246-1.42-2.044-.44-1.291-.223-2.81.58-3.917.84-1.157 2.126-1.84 3.56-1.887zM22.763 1c1.79-1.07 4.032-1.294 6.002-.61.35.121.582.463.478.839-.093.337-.493.597-.843.476-1.033-.359-2.145-.448-3.186-.22-.787.173-1.35.411-2.022.859-.305.203-.492.354-.79.646-.147.142-.286.293-.418.448-.028.033-.157.195-.105.127l-.01.01-.071.1-.079.11c-.207.298-.39.614-.543.943l-.045.098-.01.018-.012.034-.026.064c-.033.085-.064.17-.094.256-.06.175-.112.35-.156.528-.175.698-.21 1.406-.106 2.208.047.368-.351.682-.685.682-.404 0-.638-.317-.685-.682-.126-.978-.037-1.992.257-2.934.52-1.661 1.65-3.104 3.149-4z"/></svg>']))),!1));var n=document.querySelector("#ol-widget-login-button"),r=function(){Ae("service_header","click"),t.flow.login()};if(!n)throw new Error("Login button not exists");return Ae("service_header","view"),n.addEventListener("click",r),function(){n.removeEventListener("click",r)}}(t,e))};try{r()}catch(t){o()}return document.addEventListener("ol-login",r),document.addEventListener("ol-not-logged",o),function(){document.removeEventListener("ol-login",r),document.removeEventListener("ol-not-logged",o),n.forEach((function(t){return t()})),n.length=0}},Po=function(){document.dispatchEvent(new CustomEvent("ol-close-dropdown"))},Uo=a.Promise,Co=function(t,e,n){for(var r in e)at(t,r,e[r],n);return t},Mo=ce("species"),Bo=function(t){var n=st(t),r=v.f;e&&n&&!n[Mo]&&r(n,Mo,{configurable:!0,get:function(){return this}})},No=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},Fo=function(t,e){this.stopped=t,this.result=e},zo=function(t,e,n){var r,o,i,a,u,c,s,l=n&&n.that,f=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),v=Pe(e,l,1+f+h),g=function(t){return r&&Ge(r),new Fo(!0,t)},y=function(t){return f?(d(t),h?v(t[0],t[1],g):v(t[0],t[1])):h?v(t,g):v(t)};if(p)r=t;else{if("function"!=typeof(o=nn(t)))throw TypeError("Target is not iterable");if(Ke(o)){for(i=0,a=ht(t.length);a>i;i++)if((u=y(t[i]))&&u instanceof Fo)return u;return new Fo(!1)}r=o.call(t)}for(c=r.next;!(s=c.call(r)).done;){try{u=y(s.value)}catch(t){throw Ge(r),t}if("object"==typeof u&&u&&u instanceof Fo)return u}return new Fo(!1)},Do=ce("species"),qo=function(t,e){var n,r=d(t).constructor;return void 0===r||null==(n=d(r)[Do])?e:je(n)},Wo=/(iphone|ipod|ipad).*applewebkit/i.test(Qt),Go=a.location,Vo=a.setImmediate,Ho=a.clearImmediate,Yo=a.process,$o=a.MessageChannel,Ko=a.Dispatch,Zo=0,Jo={},Qo="onreadystatechange",Xo=function(t){if(Jo.hasOwnProperty(t)){var e=Jo[t];delete Jo[t],e()}},ti=function(t){return function(){Xo(t)}},ei=function(t){Xo(t.data)},ni=function(t){a.postMessage(t+"",Go.protocol+"//"+Go.host)};Vo&&Ho||(Vo=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return Jo[++Zo]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},Oo(Zo),Zo},Ho=function(t){delete Jo[t]},Jt?Oo=function(t){Yo.nextTick(ti(t))}:Ko&&Ko.now?Oo=function(t){Ko.now(ti(t))}:$o&&!Wo?(Io=(ko=new $o).port2,ko.port1.onmessage=ei,Oo=Pe(Io.postMessage,Io,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&Go&&"file:"!==Go.protocol&&!t(ni)?(Oo=ni,a.addEventListener("message",ei,!1)):Oo=Qo in l("script")?function(t){Ln.appendChild(l("script")).onreadystatechange=function(){Ln.removeChild(this),Xo(t)}}:function(t){setTimeout(ti(t),0)});var ri,oi,ii,ai,ui,ci,si,li,fi={set:Vo,clear:Ho},di=/web0s(?!.*chrome)/i.test(Qt),pi=U.f,hi=fi.set,vi=a.MutationObserver||a.WebKitMutationObserver,gi=a.document,yi=a.process,mi=a.Promise,wi=pi(a,"queueMicrotask"),_i=wi&&wi.value;_i||(ri=function(){var t,e;for(Jt&&(t=yi.domain)&&t.exit();oi;){e=oi.fn,oi=oi.next;try{e()}catch(t){throw oi?ai():ii=void 0,t}}ii=void 0,t&&t.enter()},Wo||Jt||di||!vi||!gi?mi&&mi.resolve?(si=mi.resolve(void 0),li=si.then,ai=function(){li.call(si,ri)}):ai=Jt?function(){yi.nextTick(ri)}:function(){hi.call(a,ri)}:(ui=!0,ci=gi.createTextNode(""),new vi(ri).observe(ci,{characterData:!0}),ai=function(){ci.data=ui=!ui}));var bi,xi,Ei,Ai,Li=_i||function(t){var e={fn:t,next:void 0};ii&&(ii.next=e),oi||(oi=e,ai()),ii=e},Si=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=je(e),this.reject=je(n)},Ti={f:function(t){return new Si(t)}},Oi=function(t,e){if(d(t),u(e)&&e.constructor===t)return e;var n=Ti.f(t);return(0,n.resolve)(e),n.promise},ki=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Ii=fi.set,Ri=ce("species"),ji="Promise",Pi=it.get,Ui=it.set,Ci=it.getterFor(ji),Mi=Uo,Bi=a.TypeError,Ni=a.document,Fi=a.process,zi=st("fetch"),Di=Ti.f,qi=Di,Wi=!!(Ni&&Ni.createEvent&&a.dispatchEvent),Gi="function"==typeof PromiseRejectionEvent,Vi="unhandledrejection",Hi=Ut(ji,(function(){if(!(W(Mi)!==String(Mi))){if(66===ne)return!0;if(!Jt&&!Gi)return!0}if(ne>=51&&/native code/.test(Mi))return!1;var t=Mi.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[Ri]=e,!(t.then((function(){}))instanceof e)})),Yi=Hi||!sn((function(t){Mi.all(t).catch((function(){}))})),$i=function(t){var e;return!(!u(t)||"function"!=typeof(e=t.then))&&e},Ki=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;Li((function(){for(var r=t.value,o=1==t.state,i=0;n.length>i;){var a,u,c,s=n[i++],l=o?s.ok:s.fail,f=s.resolve,d=s.reject,p=s.domain;try{l?(o||(2===t.rejection&&Xi(t),t.rejection=1),!0===l?a=r:(p&&p.enter(),a=l(r),p&&(p.exit(),c=!0)),a===s.promise?d(Bi("Promise-chain cycle")):(u=$i(a))?u.call(a,f,d):f(a)):d(r)}catch(t){p&&!c&&p.exit(),d(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&Ji(t)}))}},Zi=function(t,e,n){var r,o;Wi?((r=Ni.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),a.dispatchEvent(r)):r={promise:e,reason:n},!Gi&&(o=a["on"+t])?o(r):t===Vi&&function(t,e){var n=a.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}("Unhandled promise rejection",n)},Ji=function(t){Ii.call(a,(function(){var e,n=t.facade,r=t.value;if(Qi(t)&&(e=ki((function(){Jt?Fi.emit("unhandledRejection",r,n):Zi(Vi,n,r)})),t.rejection=Jt||Qi(t)?2:1,e.error))throw e.value}))},Qi=function(t){return 1!==t.rejection&&!t.parent},Xi=function(t){Ii.call(a,(function(){var e=t.facade;Jt?Fi.emit("rejectionHandled",e):Zi("rejectionhandled",e,t.value)}))},ta=function(t,e,n){return function(r){t(e,r,n)}},ea=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,Ki(t,!0))},na=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw Bi("Promise can't be resolved itself");var r=$i(e);r?Li((function(){var n={done:!1};try{r.call(e,ta(na,n,t),ta(ea,n,t))}catch(e){ea(n,e,t)}})):(t.value=e,t.state=1,Ki(t,!1))}catch(e){ea({done:!1},e,t)}}};Hi&&(Mi=function(t){No(this,Mi,ji),je(t),bi.call(this);var e=Pi(this);try{t(ta(na,e),ta(ea,e))}catch(t){ea(e,t)}},(bi=function(t){Ui(this,{type:ji,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Co(Mi.prototype,{then:function(t,e){var n=Ci(this),r=Di(qo(this,Mi));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=Jt?Fi.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Ki(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),xi=function(){var t=new bi,e=Pi(t);this.promise=t,this.resolve=ta(na,e),this.reject=ta(ea,e)},Ti.f=Di=function(t){return t===Mi||t===Ei?new xi(t):qi(t)},"function"==typeof Uo&&(Ai=Uo.prototype.then,at(Uo.prototype,"then",(function(t,e){var n=this;return new Mi((function(t,e){Ai.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof zi&&Mt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return Oi(Mi,zi.apply(a,arguments))}}))),Mt({global:!0,wrap:!0,forced:Hi},{Promise:Mi}),Pn(Mi,ji,!1),Bo(ji),Ei=st(ji),Mt({target:ji,stat:!0,forced:Hi},{reject:function(t){var e=Di(this);return e.reject.call(void 0,t),e.promise}}),Mt({target:ji,stat:!0,forced:Hi},{resolve:function(t){return Oi(this,t)}}),Mt({target:ji,stat:!0,forced:Yi},{all:function(t){var e=this,n=Di(e),r=n.resolve,o=n.reject,i=ki((function(){var n=je(e.resolve),i=[],a=0,u=1;zo(t,(function(t){var c=a++,s=!1;i.push(void 0),u++,n.call(e,t).then((function(t){s||(s=!0,i[c]=t,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=Di(e),r=n.reject,o=ki((function(){var o=je(e.resolve);zo(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var ra=Je?{}.toString:function(){return"[object "+tn(this)+"]"};Je||at(Object.prototype,"toString",ra,{unsafe:!0});var oa=function(){return we.get(no)},ia=function(t){return we.set(no,t)},aa=function(t){var e=oa();return"https://onelogin.wpcdn.pl/onelogin/static/"+(e?e+"/":"")+t},ua="styles-module_Tooltip__1L5Q1",ca="styles-module_Hide__10Suq",sa="styles-module_BarContainer__j9Z8W",la="styles-module_Arrow__1yXvB",fa="styles-module_BarTitle__Rv5Oq",da="styles-module_BarButton__2hLeU",pa="styles-module_CloseBar__3xhMz";ze('.styles-module_Tooltip__1L5Q1{opacity:1;position:absolute;transition:opacity .2s ease-in-out,visibility 0s linear;visibility:visible;z-index:10;width:410px;height:258px}@media (max-width:768px){.styles-module_Tooltip__1L5Q1{display:none}}.styles-module_Hide__10Suq{opacity:0;visibility:hidden;transition:opacity .2s ease-in-out,visibility 0s linear .2s}.styles-module_BarContainer__j9Z8W{background-color:#3665f6;padding:4px;display:flex;width:100%;align-items:center;justify-content:space-around;position:relative}.styles-module_Arrow__1yXvB{display:none;bottom:100%;content:"";height:0;width:0;position:absolute;pointer-events:none;border:8px solid rgba(136,183,213,0);border-bottom-color:#3665f6;margin-right:-8px}.styles-module_BarTitle__Rv5Oq{flex:1;display:flex;justify-content:flex-end;padding:0 16px;min-width:0}.styles-module_BarTitle__Rv5Oq>img{min-width:0}.styles-module_BarButton__2hLeU{flex:1;cursor:pointer;display:flex;min-width:0}.styles-module_BarButton__2hLeU>img{min-width:0}.styles-module_CloseBar__3xhMz{flex:0 0 34px;display:flex;cursor:pointer;width:34px;justify-content:center}');var ha,va,ga="oneLoginCapping",ya=function(){we.set(ga,"1",{expires:14})},ma=function(){return we.get(ga)},wa=function(){return"undefined"!=typeof navigator?/bot|googlebot|crawler|spider|robot|crawling/i.test(navigator.userAgent):void 0},_a=function(t){try{t.flow.getUserData()}catch(t){return!1}return!0},ba=function(t,e){var n;if(wa())return Ee.info("Crawler detected, promo bar stopped"),function(){};var r=function(){null==n||n(),ma()||(n=function(t){var e=[],n=function(){e.reverse().forEach((function(t){return t()})),e.length=0},r=document.createElement("div");e.push((function(){return r.remove()})),r.className="olw__promo_tooltip "+ca+" "+ua,document.body.appendChild(r),r.innerHTML=Fe(ha||(ha=Te(['<img src="','" usemap="#olw-pt-map" alt=""><map name="olw-pt-map"><area id="olw-close-promo" target="" alt="" href="" coords="387,53,365,33" shape="rect"><area target="_blank" href="https://1login.wp.pl/informacje" rel="noreferrer noopener" alt="" coords="197,200,326,221" shape="rect"><area target="_blank" href="https://1login.wp.pl" rel="noreferrer noopener" alt="" coords="31,190,181,229" shape="rect"></map>'])),aa("promo-tooltip.png"));var o,i=document.querySelector("#olw-close-promo"),a=function(){o&&clearTimeout(o);var e=t.getBoundingClientRect(),n=e.left,i=e.top;r.style.top=i+40+"px",r.style.left=n+-328+"px",r.classList.remove(ca)},u=function(){o=setTimeout((function(){r.classList.add(ca)}),300),e.push((function(){return o&&clearTimeout(o)}))};return i.addEventListener("click",(function(){ya(),n()})),t.addEventListener("mouseenter",a),t.addEventListener("mouseleave",u),e.push((function(){t.removeEventListener("mouseenter",a),t.removeEventListener("mouseleave",u)})),r.addEventListener("mouseenter",a),r.addEventListener("mouseleave",u),n}(e))},o=function(){null==n||n()};return document.addEventListener("ol-not-logged",r),document.addEventListener("ol-login",o),_a(t)?o():r(),function(){null==n||n(),document.removeEventListener("ol-not-logged",r),document.removeEventListener("ol-login",o)}},xa=function(t,e,n){var r;if(wa())return Ee.info("Crawler detected, promo bar stopped"),function(){};var o=function(){null==r||r(),ma()||(r=function(t,e){var n;t.innerHTML=Fe(va||(va=Te(['<div class="olw__promo_bar ','"><div class="','"><img src="','" alt=""></div><a target="_blank" href="https://1login.wp.pl/informacje" class="','" rel="noreferrer noopener"><img src="','" alt=""></a><div id="olw-promo-bar-close" class="','"><img src="','" alt=""></div><div id="olw-promo-bar-arrow" class="','"></div>'])),sa,fa,aa("promo-bar-tekst.svg"),da,aa("promo-bar-button.svg"),pa,aa("promo-bar-x.svg"),la);var r=t.querySelector("#olw-promo-bar-arrow"),o=t.querySelector("#olw-promo-bar-close"),i=function(){if(e){var n=e.getBoundingClientRect(),o=n.right,i=n.width,a=o-t.getBoundingClientRect().right+i/2;r.style.right=a+"px",r.style.display="inherit"}},a=function(){ya(),n()};return n=function(){o.removeEventListener("click",a),t.innerHTML="",window.removeEventListener("resize",i),window.removeEventListener("load",i)},o.addEventListener("click",a),window.addEventListener("resize",i),window.addEventListener("load",i),i(),n}(e,n))},i=function(){null==r||r()};return document.addEventListener("ol-not-logged",o),document.addEventListener("ol-login",i),_a(t)?i():o(),function(){null==r||r(),document.removeEventListener("ol-not-logged",o),document.removeEventListener("ol-login",i)}},Ea=function(t){return{renderDropdown:function(e){return jo(t,e)},renderButton:function(e,n){return function(t,e,n){var r=function(){t.flow.login(n)};return e.innerHTML=Fe(De||(De=Te(['<button type="button" class="','"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" viewBox="0 0 18 20" class="','"><g fill="#FFF" fill-rule="evenodd"><path d="M15.891 2.026c-.375 0-.723.117-1.012.315-.111.064-.217.137-.315.227l-5.21 5.376c-.724.66-.773 1.789-.11 2.508.664.72 1.797.77 2.52.11l2.331-2.31v9c0 .982.808 1.787 1.796 1.787.99 0 1.798-.805 1.798-1.787V3.815c0-.983-.808-1.789-1.798-1.789"/><path d="M7.09 12.784c-.8-.635-1.316-1.385-1.551-2.341-.212-.862-.124-1.58.164-2.448.04-.102.045-.114.01-.035l.075-.166c.04-.082.081-.162.125-.242.116-.211.247-.417.393-.609-.09.118.073-.082.085-.095.08-.092.163-.18.249-.265.086-.086.175-.167.267-.247.022-.019.221-.175.099-.084.196-.147.406-.277.622-.392.234-.124.282-.144.463-.208.488-.173.885-.242 1.344-.258.496-.015.917-.407.917-.911 0-.484-.42-.93-.917-.913-1.92.061-3.644.977-4.767 2.525-1.076 1.482-1.366 3.515-.778 5.243.364 1.07 1.014 2.033 1.902 2.737.388.308.92.376 1.298 0 .32-.318.39-.981 0-1.291M11.003 13.313c-.693.24-1.38.31-2.108.225-.493-.058-.918.46-.918.913 0 .541.423.854.918.913.87.102 1.77-.005 2.596-.29.468-.162.777-.625.64-1.123-.124-.452-.657-.8-1.128-.638"/><path d="M1.91 10.621c-.14-1.073-.093-2.02.14-2.955.06-.238.13-.473.21-.707.04-.115.082-.23.127-.343.022-.058.044-.115.068-.17-.062.145.055-.116.056-.117.205-.44.45-.863.727-1.262.069-.099.14-.198.214-.295-.07.092.103-.125.141-.17.177-.207.363-.409.56-.599.399-.391.65-.594 1.058-.865.9-.6 1.654-.918 2.708-1.149 1.394-.306 2.884-.187 4.267.294.469.162 1.005-.186 1.129-.638.14-.503-.171-.96-.64-1.123-2.639-.916-5.641-.615-8.04.817C2.63 2.539 1.116 4.47.42 6.693c-.395 1.261-.513 2.62-.344 3.928.063.49.376.913.917.913.447 0 .98-.42.917-.913M10.902 17.035c-1.612.292-3.35.042-4.768-.668-1.499-.75-2.63-1.857-3.42-3.316-.236-.434-.838-.57-1.255-.327-.441.257-.565.813-.33 1.25.93 1.715 2.404 3.156 4.168 4.014 1.908.927 4.009 1.185 6.092.808.488-.089.764-.678.641-1.123-.14-.511-.639-.727-1.128-.638"/></g></svg> <span>Zaloguj z 1login od WP</span></button>'])),qe,We),e.addEventListener("click",r),function(){e.removeEventListener("click",r)}}(t,e,n)},renderPromoTooltip:function(e){return ba(t,e)},renderPromoBar:function(e,n){return xa(t,e,n)},closeDropdown:Po}},Aa=Me.filter,La=de("filter");Mt({target:"Array",proto:!0,forced:!La},{filter:function(t){return Aa(this,t,arguments.length>1?arguments[1]:void 0)}});var Sa=function(t,e,n,r,o,i,a,u){for(var c,s=o,l=0,f=!!a&&Pe(a,u,3);l<r;){if(l in n){if(c=f?f(n[l],l,e):n[l],i>0&&Kt(c))s=Sa(t,e,c,ht(c.length),s,i-1)-1;else{if(s>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[s]=c}s++}l++}return s},Ta=Sa;Mt({target:"Array",proto:!0},{flatMap:function(t){var e,n=Nt(this),r=ht(n.length);return je(t),(e=le(n,0)).length=Ta(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}});var Oa=ce("unscopables"),ka=Array.prototype;null==ka[Oa]&&v.f(ka,Oa,{configurable:!0,value:In(null)});var Ia=function(t){ka[Oa][t]=!0};Ia("flatMap");var Ra=wt.includes;Mt({target:"Array",proto:!0},{includes:function(t){return Ra(this,t,arguments.length>1?arguments[1]:void 0)}}),Ia("includes"),Mt({target:"String",proto:!0,forced:!$r("includes")},{includes:function(t){return!!~String(k(this)).indexOf(Hr(t),arguments.length>1?arguments[1]:void 0)}});var ja=[function(t,e){e&&!t.some((function(t){return t.src.includes(".es6.")}))&&Ee.warn("No es6 version of script found, despite using modern browser!",t)},function(t){t.some((function(t){return t.src.includes(".es6.")&&t.hasAttribute("async")}))||Ee.warn("No async initialization found for widget script!",t)},function(t){t.some((function(t){return!t.src.includes("pkce")&&!t.src.includes("standard")}))&&Ee.warn("You are using full bundle that is designed for development purposes only. Please use bundle that is designed for your flow.",t)}],Pa=function(){var t=[document.body,document.head].flatMap((function(t){return Array.from((null==t?void 0:t.querySelectorAll("script"))||[])})).filter((function(t){return t.src.startsWith("https://onelogin")})).filter((function(t){return!t.dataset.olwbranch}));if(0!==t.length){var e="noModule"in HTMLScriptElement.prototype;ja.forEach((function(n){return n(t,e)}))}},Ua="styles_Container__1iNFm";ze(".styles_Container__1iNFm{position:fixed;display:flex;width:100%;bottom:0;right:0;left:0;border:1px solid #e0e0e0;border-top-left-radius:5px;border-top-right-radius:5px;overflow:hidden;box-shadow:0 0 10px rgba(0,0,0,.2);opacity:0;background-color:#fff;z-index:9999999;height:0;user-select:none;pointer-events:none;transition:opacity .5s ease-in-out}@media (min-width:600px){.styles_Container__1iNFm{width:320px;right:20px;top:80px;left:auto;bottom:auto;border-bottom-left-radius:5px;border-bottom-right-radius:5px}}.styles_Container__1iNFm iframe{border:0;width:100%}");var Ca=function(t,e,n){var r,o;return Bn&&"function"==typeof(r=e.constructor)&&r!==n&&u(o=r.prototype)&&o!==n.prototype&&Bn(t,o),t},Ma=v.f,Ba=Wt.fastKey,Na=it.set,Fa=it.getterFor,za=(function(e,n,r){var o=-1!==e.indexOf("Map"),i=-1!==e.indexOf("Weak"),c=o?"set":"add",s=a[e],l=s&&s.prototype,f=s,d={},p=function(t){var e=l[t];at(l,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(i&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return i&&!u(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(i&&!u(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(Ut(e,"function"!=typeof s||!(i||l.forEach&&!t((function(){(new s).entries().next()})))))f=r.getConstructor(n,e,o,c),Wt.REQUIRED=!0;else if(Ut(e,!0)){var h=new f,v=h[c](i?{}:-0,1)!=h,g=t((function(){h.has(1)})),y=sn((function(t){new s(t)})),m=!i&&t((function(){for(var t=new s,e=5;e--;)t[c](e,e);return!t.has(-0)}));y||((f=n((function(t,n){No(t,f,e);var r=Ca(new s,t,f);return null!=n&&zo(n,r[c],{that:r,AS_ENTRIES:o}),r}))).prototype=l,l.constructor=f),(g||m)&&(p("delete"),p("has"),o&&p("get")),(m||v)&&p(c),i&&l.clear&&delete l.clear}d[e]=f,Mt({global:!0,forced:f!=s},d),Pn(f,e),i||r.setStrong(f,e,o)}("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),{getConstructor:function(t,n,r,o){var i=t((function(t,a){No(t,i,n),Na(t,{type:n,index:In(null),first:void 0,last:void 0,size:0}),e||(t.size=0),null!=a&&zo(a,t[o],{that:t,AS_ENTRIES:r})})),a=Fa(n),u=function(t,n,r){var o,i,u=a(t),s=c(t,n);return s?s.value=r:(u.last=s={index:i=Ba(n,!0),key:n,value:r,previous:o=u.last,next:void 0,removed:!1},u.first||(u.first=s),o&&(o.next=s),e?u.size++:t.size++,"F"!==i&&(u.index[i]=s)),t},c=function(t,e){var n,r=a(t),o=Ba(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return Co(i.prototype,{clear:function(){for(var t=a(this),n=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;t.first=t.last=void 0,e?t.size=0:this.size=0},delete:function(t){var n=this,r=a(n),o=c(n,t);if(o){var i=o.next,u=o.previous;delete r.index[o.index],o.removed=!0,u&&(u.next=i),i&&(i.previous=u),r.first==o&&(r.first=i),r.last==o&&(r.last=u),e?r.size--:n.size--}return!!o},forEach:function(t){for(var e,n=a(this),r=Pe(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!c(this,t)}}),Co(i.prototype,r?{get:function(t){var e=c(this,t);return e&&e.value},set:function(t,e){return u(this,0===t?0:t,e)}}:{add:function(t){return u(this,t=0===t?0:t,t)}}),e&&Ma(i.prototype,"size",{get:function(){return a(this).size}}),i},setStrong:function(t,e,n){var r=e+" Iterator",o=Fa(e),i=Fa(r);Vn(t,e,(function(t,e){Na(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),Bo(e)}}),"Array Iterator"),Da=it.set,qa=it.getterFor(za),Wa=Vn(Array,"Array",(function(t,e){Da(this,{type:za,target:I(t),index:0,kind:e})}),(function(){var t=qa(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values");He.Arguments=He.Array,Ia("keys"),Ia("values"),Ia("entries");var Ga=ce("iterator"),Va=ce("toStringTag"),Ha=Wa.values;for(var Ya in Zn){var $a=a[Ya],Ka=$a&&$a.prototype;if(Ka){if(Ka[Ga]!==Ha)try{C(Ka,Ga,Ha)}catch(t){Ka[Ga]=Ha}if(Ka[Va]||C(Ka,Va,Ya),Zn[Ya])for(var Za in Wa)if(Ka[Za]!==Wa[Za])try{C(Ka,Za,Wa[Za])}catch(t){Ka[Za]=Wa[Za]}}}var Ja,Qa="OL_1tc",Xa=function(t){var e=t.clientId,n=t.olOrigin,r=void 0===n?eo:n,o=t.getUserData,i=t.login,a=function(){return!we.get(Qa)&&!function(){try{return!!o()}catch(t){return!1}}()};if(e)if(a()){Ee.debug("[#ONETAP] OneTap started");var u=function(t){var e=document.createElement("div"),n=document.createElement("iframe");return n.setAttribute("src",t),e.className="olw__onetap "+Ua,e.append(n),document.body.append(e),{containerElement:e,frameElement:n}}(function(t,e){return t+"/onetap/iframe?clientId="+e+"&origin="+window.location.origin}(r,e)),c=u.containerElement,s=u.frameElement.contentWindow;if(s){var l=function(t){var e=new Map,n=function(n){if(function(t,e){var n=t.frameContentWindow,r=t.olOrigin;return e.source===n&&e.origin.startsWith(r)}(t,n)){var r=e.get(n.data.type);r?(Ee.debug("[#ONETAP] handling message type "+n.data.type),r(n.data)):Ee.error("[#ONETAP] message handler for type "+n.data.type+" not found!")}};return{listener:n,add:function(t,n){e.set(t,n)},start:function(){return window.addEventListener("message",n)},stop:function(){return window.removeEventListener("message",n)}}}({frameContentWindow:s,olOrigin:r}),f=function(){Ee.debug("[#ONETAP] closing onetap modal"),c.remove(),l.stop()};return l.add("INIT",(function(){!function(t,e){var n=t.frameContentWindow,r=t.olOrigin;Ee.debug("[#ONETAP] sending event",e.type,{data:e}),n.postMessage(e,r)}({frameContentWindow:s,olOrigin:r},{type:"INIT_FRAME",payload:{device:we.get("OL_ONETAP_DEVICE"),clientId:e}})})),l.add("SELECT",(function(t){i(t.payload.user),f()})),l.add("LOGIN",(function(){i(!0),f()})),l.add("SHOW",(function(t){var e;a()?(e=t.payload.height,Ee.debug("[#ONETAP] showing onetap modal"),c.style.height=e+"px",c.style.opacity="1",c.style.userSelect="initial",c.style.pointerEvents="initial"):f()})),l.add("EXIT",(function(){f()})),l.add("CLOSE",(function(){f(),we.set(Qa,"1",{expires:.5})})),document.addEventListener("ol-login",(function(){Ee.debug("[#ONETAP] user logged in - closing modal"),f()})),l.start(),{close:f}}Ee.debug("[#ONETAP] No contentWindow for selected frame element!")}else Ee.debug("[#ONETAP] OneTap not started");else Ee.warn("[#ONETAP] You need to specify clientId to enable OneTap!")},tu=Object.prototype,eu=tu.hasOwnProperty,nu="function"==typeof Symbol?Symbol:{},ru=nu.iterator||"@@iterator",ou=nu.asyncIterator||"@@asyncIterator",iu=nu.toStringTag||"@@toStringTag";function au(t,e,n,r){var o=e&&e.prototype instanceof pu?e:pu,i=Object.create(o.prototype),a=new Su(r||[]);return i._invoke=function(t,e,n){var r=cu;return function(o,i){if(r===lu)throw new Error("Generator is already running");if(r===fu){if("throw"===o)throw i;return Ou()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=Eu(a,n);if(u){if(u===du)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===cu)throw r=fu,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=lu;var c=uu(t,e,n);if("normal"===c.type){if(r=n.done?fu:su,c.arg===du)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=fu,n.method="throw",n.arg=c.arg)}}}(t,n,a),i}function uu(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}var cu="suspendedStart",su="suspendedYield",lu="executing",fu="completed",du={};function pu(){}function hu(){}function vu(){}var gu={};gu[ru]=function(){return this};var yu=Object.getPrototypeOf,mu=yu&&yu(yu(Tu([])));mu&&mu!==tu&&eu.call(mu,ru)&&(gu=mu);var wu=vu.prototype=pu.prototype=Object.create(gu);function _u(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function bu(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===hu||"GeneratorFunction"===(e.displayName||e.name))}function xu(t,e){function n(r,o,i,a){var u=uu(t[r],t,o);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&eu.call(s,"__await")?e.resolve(s.__await).then((function(t){n("next",t,i,a)}),(function(t){n("throw",t,i,a)})):e.resolve(s).then((function(t){c.value=t,i(c)}),(function(t){return n("throw",t,i,a)}))}a(u.arg)}var r;this._invoke=function(t,o){function i(){return new e((function(e,r){n(t,o,e,r)}))}return r=r?r.then(i,i):i()}}function Eu(t,e){var n=t.iterator[e.method];if(n===Ja){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=Ja,Eu(t,e),"throw"===e.method))return du;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return du}var r=uu(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,du;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=Ja),e.delegate=null,du):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,du)}function Au(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function Lu(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Su(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(Au,this),this.reset(!0)}function Tu(t){if(t){var e=t[ru];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(eu.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=Ja,e.done=!0,e};return r.next=r}}return{next:Ou}}function Ou(){return{value:Ja,done:!0}}hu.prototype=wu.constructor=vu,vu.constructor=hu,vu[iu]=hu.displayName="GeneratorFunction",_u(xu.prototype),xu.prototype[ou]=function(){return this},_u(wu),wu[iu]="Generator",wu[ru]=function(){return this},wu.toString=function(){return"[object Generator]"},Su.prototype={constructor:Su,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=Ja,this.done=!1,this.delegate=null,this.method="next",this.arg=Ja,this.tryEntries.forEach(Lu),!t)for(var e in this)"t"===e.charAt(0)&&eu.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=Ja)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return i.type="throw",i.arg=t,e.next=n,r&&(e.method="next",e.arg=Ja),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var a=eu.call(o,"catchLoc"),u=eu.call(o,"finallyLoc");if(a&&u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&eu.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,du):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),du},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),Lu(n),du}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;Lu(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:Tu(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=Ja),du}};var ku={wrap:au,isGeneratorFunction:bu,AsyncIterator:xu,mark:function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,vu):(t.__proto__=vu,iu in t||(t[iu]="GeneratorFunction")),t.prototype=Object.create(wu),t},awrap:function(t){return{__await:t}},async:function(t,e,n,r,o){void 0===o&&(o=Promise);var i=new xu(au(t,e,n,r),o);return bu(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},keys:function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},values:Tu},Iu=r(o((function(t){function e(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}t.exports=function(t){return function(){var n=this,r=arguments;return new Promise((function(o,i){var a=t.apply(n,r);function u(t){e(a,o,i,u,c,"next",t)}function c(t){e(a,o,i,u,c,"throw",t)}u(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0}))),Ru=ce("iterator"),ju=!t((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[Ru]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})),Pu=2147483647,Uu=/[^\0-\u007E]/,Cu=/[.\u3002\uFF0E\uFF61]/g,Mu="Overflow: input needs wider integers to process",Bu=Math.floor,Nu=String.fromCharCode,Fu=function(t){return t+22+75*(t<26)},zu=function(t,e,n){var r=0;for(t=n?Bu(t/700):t>>1,t+=Bu(t/e);t>455;r+=36)t=Bu(t/35);return Bu(r+36*t/(t+38))},Du=function(t){var e,n,r=[],o=(t=function(t){for(var e=[],n=0,r=t.length;n<r;){var o=t.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=t.charCodeAt(n++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),n--)}else e.push(o)}return e}(t)).length,i=128,a=0,u=72;for(e=0;e<t.length;e++)(n=t[e])<128&&r.push(Nu(n));var c=r.length,s=c;for(c&&r.push("-");s<o;){var l=Pu;for(e=0;e<t.length;e++)(n=t[e])>=i&&n<l&&(l=n);var f=s+1;if(l-i>Bu((Pu-a)/f))throw RangeError(Mu);for(a+=(l-i)*f,i=l,e=0;e<t.length;e++){if((n=t[e])<i&&++a>Pu)throw RangeError(Mu);if(n==i){for(var d=a,p=36;;p+=36){var h=p<=u?1:p>=u+26?26:p-u;if(d<h)break;var v=d-h,g=36-h;r.push(Nu(Fu(h+v%g))),d=Bu(v/g)}r.push(Nu(Fu(d))),u=zu(a,f,s==c),a=0,++s}}++a,++i}return r.join("")},qu=function(t){var e=nn(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return d(e.call(t))},Wu=st("fetch"),Gu=st("Headers"),Vu=ce("iterator"),Hu="URLSearchParams",Yu="URLSearchParamsIterator",$u=it.set,Ku=it.getterFor(Hu),Zu=it.getterFor(Yu),Ju=/\+/g,Qu=Array(4),Xu=function(t){return Qu[t-1]||(Qu[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},tc=function(t){try{return decodeURIComponent(t)}catch(e){return t}},ec=function(t){var e=t.replace(Ju," "),n=4;try{return decodeURIComponent(e)}catch(t){for(;n;)e=e.replace(Xu(n--),tc);return e}},nc=/[!'()~]|%20/g,rc={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},oc=function(t){return rc[t]},ic=function(t){return encodeURIComponent(t).replace(nc,oc)},ac=function(t,e){if(e)for(var n,r,o=e.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),t.push({key:ec(r.shift()),value:ec(r.join("="))}))},uc=function(t){this.entries.length=0,ac(this.entries,t)},cc=function(t,e){if(t<e)throw TypeError("Not enough arguments")},sc=Mn((function(t,e){$u(this,{type:Yu,iterator:qu(Ku(t).entries),kind:e})}),"Iterator",(function(){var t=Zu(this),e=t.kind,n=t.iterator.next(),r=n.value;return n.done||(n.value="keys"===e?r.key:"values"===e?r.value:[r.key,r.value]),n})),lc=function(){No(this,lc,Hu);var t,e,n,r,o,i,a,c,s,l=arguments.length>0?arguments[0]:void 0,f=this,p=[];if($u(f,{type:Hu,entries:p,updateURL:function(){},updateSearchParams:uc}),void 0!==l)if(u(l))if("function"==typeof(t=nn(l)))for(n=(e=t.call(l)).next;!(r=n.call(e)).done;){if((a=(i=(o=qu(d(r.value))).next).call(o)).done||(c=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:c.value+""})}else for(s in l)j(l,s)&&p.push({key:s,value:l[s]+""});else ac(p,"string"==typeof l?"?"===l.charAt(0)?l.slice(1):l:l+"")},fc=lc.prototype;Co(fc,{append:function(t,e){cc(arguments.length,2);var n=Ku(this);n.entries.push({key:t+"",value:e+""}),n.updateURL()},delete:function(t){cc(arguments.length,1);for(var e=Ku(this),n=e.entries,r=t+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;e.updateURL()},get:function(t){cc(arguments.length,1);for(var e=Ku(this).entries,n=t+"",r=0;r<e.length;r++)if(e[r].key===n)return e[r].value;return null},getAll:function(t){cc(arguments.length,1);for(var e=Ku(this).entries,n=t+"",r=[],o=0;o<e.length;o++)e[o].key===n&&r.push(e[o].value);return r},has:function(t){cc(arguments.length,1);for(var e=Ku(this).entries,n=t+"",r=0;r<e.length;)if(e[r++].key===n)return!0;return!1},set:function(t,e){cc(arguments.length,1);for(var n,r=Ku(this),o=r.entries,i=!1,a=t+"",u=e+"",c=0;c<o.length;c++)(n=o[c]).key===a&&(i?o.splice(c--,1):(i=!0,n.value=u));i||o.push({key:a,value:u}),r.updateURL()},sort:function(){var t,e,n,r=Ku(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(t=i[n],e=0;e<n;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===n&&o.push(t)}r.updateURL()},forEach:function(t){for(var e,n=Ku(this).entries,r=Pe(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((e=n[o++]).value,e.key,this)},keys:function(){return new sc(this,"keys")},values:function(){return new sc(this,"values")},entries:function(){return new sc(this,"entries")}},{enumerable:!0}),at(fc,Vu,fc.entries),at(fc,"toString",(function(){for(var t,e=Ku(this).entries,n=[],r=0;r<e.length;)t=e[r++],n.push(ic(t.key)+"="+ic(t.value));return n.join("&")}),{enumerable:!0}),Pn(lc,Hu),Mt({global:!0,forced:!ju},{URLSearchParams:lc}),ju||"function"!=typeof Wu||"function"!=typeof Gu||Mt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,n,r,o=[t];return arguments.length>1&&(u(e=arguments[1])&&(n=e.body,tn(n)===Hu&&((r=e.headers?new Gu(e.headers):new Gu).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=In(e,{body:A(0,String(n)),headers:A(0,r)}))),o.push(e)),Wu.apply(this,o)}});var dc,pc={URLSearchParams:lc,getState:Ku},hc=vn.codeAt,vc=a.URL,gc=pc.URLSearchParams,yc=pc.getState,mc=it.set,wc=it.getterFor("URL"),_c=Math.floor,bc=Math.pow,xc="Invalid scheme",Ec="Invalid host",Ac="Invalid port",Lc=/[A-Za-z]/,Sc=/[\d+-.A-Za-z]/,Tc=/\d/,Oc=/^(0x|0X)/,kc=/^[0-7]+$/,Ic=/^\d+$/,Rc=/^[\dA-Fa-f]+$/,jc=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,Pc=/[\u0000\t\u000A\u000D #/:?@[\\]]/,Uc=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,Cc=/[\t\u000A\u000D]/g,Mc=function(t,e){var n,r,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return Ec;if(!(n=Nc(e.slice(1,-1))))return Ec;t.host=n}else if(Hc(t)){if(e=function(t){var e,n,r=[],o=t.toLowerCase().replace(Cu,".").split(".");for(e=0;e<o.length;e++)n=o[e],r.push(Uu.test(n)?"xn--"+Du(n):n);return r.join(".")}(e),jc.test(e))return Ec;if(null===(n=Bc(e)))return Ec;t.host=n}else{if(Pc.test(e))return Ec;for(n="",r=rn(e),o=0;o<r.length;o++)n+=Gc(r[o],zc);t.host=n}},Bc=function(t){var e,n,r,o,i,a,u,c=t.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(e=c.length)>4)return t;for(n=[],r=0;r<e;r++){if(""==(o=c[r]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=Oc.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?Ic:8==i?kc:Rc).test(o))return t;a=parseInt(o,i)}n.push(a)}for(r=0;r<e;r++)if(a=n[r],r==e-1){if(a>=bc(256,5-e))return null}else if(a>255)return null;for(u=n.pop(),r=0;r<n.length;r++)u+=n[r]*bc(256,3-r);return u},Nc=function(t){var e,n,r,o,i,a,u,c=[0,0,0,0,0,0,0,0],s=0,l=null,f=0,d=function(){return t.charAt(f)};if(":"==d()){if(":"!=t.charAt(1))return;f+=2,l=++s}for(;d();){if(8==s)return;if(":"!=d()){for(e=n=0;n<4&&Rc.test(d());)e=16*e+parseInt(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,s>6)return;for(r=0;d();){if(o=null,r>0){if(!("."==d()&&r<4))return;f++}if(!Tc.test(d()))return;for(;Tc.test(d());){if(i=parseInt(d(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}c[s]=256*c[s]+o,2!=++r&&4!=r||s++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;c[s++]=e}else{if(null!==l)return;f++,l=++s}}if(null!==l)for(a=s-l,s=7;0!=s&&a>0;)u=c[s],c[s--]=c[l+a-1],c[l+--a]=u;else if(8!=s)return;return c},Fc=function(t){var e,n,r,o;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=_c(t/256);return e.join(".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,o=0,i=0;i<8;i++)0!==t[i]?(o>n&&(e=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(e=r,n=o),e}(t),n=0;n<8;n++)o&&0===t[n]||(o&&(o=!1),r===n?(e+=n?":":"::",o=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},zc={},Dc=Dt({},zc,{" ":1,'"':1,"<":1,">":1,"`":1}),qc=Dt({},Dc,{"#":1,"?":1,"{":1,"}":1}),Wc=Dt({},qc,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Gc=function(t,e){var n=hc(t,0);return n>32&&n<127&&!j(e,t)?t:encodeURIComponent(t)},Vc={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Hc=function(t){return j(Vc,t.scheme)},Yc=function(t){return""!=t.username||""!=t.password},$c=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},Kc=function(t,e){var n;return 2==t.length&&Lc.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},Zc=function(t){var e;return t.length>1&&Kc(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},Jc=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&Kc(e[0],!0)||e.pop()},Qc=function(t){return"."===t||"%2e"===t.toLowerCase()},Xc={},ts={},es={},ns={},rs={},os={},is={},as={},us={},cs={},ss={},ls={},fs={},ds={},ps={},hs={},vs={},gs={},ys={},ms={},ws={},_s=function(t,e,n,r){var o,i,a,u,c,s=n||Xc,l=0,f="",d=!1,p=!1,h=!1;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(Uc,"")),e=e.replace(Cc,""),o=rn(e);l<=o.length;){switch(i=o[l],s){case Xc:if(!i||!Lc.test(i)){if(n)return xc;s=es;continue}f+=i.toLowerCase(),s=ts;break;case ts:if(i&&(Sc.test(i)||"+"==i||"-"==i||"."==i))f+=i.toLowerCase();else{if(":"!=i){if(n)return xc;f="",s=es,l=0;continue}if(n&&(Hc(t)!=j(Vc,f)||"file"==f&&(Yc(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=f,n)return void(Hc(t)&&Vc[t.scheme]==t.port&&(t.port=null));f="","file"==t.scheme?s=ds:Hc(t)&&r&&r.scheme==t.scheme?s=ns:Hc(t)?s=as:"/"==o[l+1]?(s=rs,l++):(t.cannotBeABaseURL=!0,t.path.push(""),s=ys)}break;case es:if(!r||r.cannotBeABaseURL&&"#"!=i)return xc;if(r.cannotBeABaseURL&&"#"==i){t.scheme=r.scheme,t.path=r.path.slice(),t.query=r.query,t.fragment="",t.cannotBeABaseURL=!0,s=ws;break}s="file"==r.scheme?ds:os;continue;case ns:if("/"!=i||"/"!=o[l+1]){s=os;continue}s=us,l++;break;case rs:if("/"==i){s=cs;break}s=gs;continue;case os:if(t.scheme=r.scheme,i==dc)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query;else if("/"==i||"\\"==i&&Hc(t))s=is;else if("?"==i)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query="",s=ms;else{if("#"!=i){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.path.pop(),s=gs;continue}t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query,t.fragment="",s=ws}break;case is:if(!Hc(t)||"/"!=i&&"\\"!=i){if("/"!=i){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,s=gs;continue}s=cs}else s=us;break;case as:if(s=us,"/"!=i||"/"!=f.charAt(l+1))continue;l++;break;case us:if("/"!=i&&"\\"!=i){s=cs;continue}break;case cs:if("@"==i){d&&(f="%40"+f),d=!0,a=rn(f);for(var v=0;v<a.length;v++){var g=a[v];if(":"!=g||h){var y=Gc(g,Wc);h?t.password+=y:t.username+=y}else h=!0}f=""}else if(i==dc||"/"==i||"?"==i||"#"==i||"\\"==i&&Hc(t)){if(d&&""==f)return"Invalid authority";l-=rn(f).length+1,f="",s=ss}else f+=i;break;case ss:case ls:if(n&&"file"==t.scheme){s=hs;continue}if(":"!=i||p){if(i==dc||"/"==i||"?"==i||"#"==i||"\\"==i&&Hc(t)){if(Hc(t)&&""==f)return Ec;if(n&&""==f&&(Yc(t)||null!==t.port))return;if(u=Mc(t,f))return u;if(f="",s=vs,n)return;continue}"["==i?p=!0:"]"==i&&(p=!1),f+=i}else{if(""==f)return Ec;if(u=Mc(t,f))return u;if(f="",s=fs,n==ls)return}break;case fs:if(!Tc.test(i)){if(i==dc||"/"==i||"?"==i||"#"==i||"\\"==i&&Hc(t)||n){if(""!=f){var m=parseInt(f,10);if(m>65535)return Ac;t.port=Hc(t)&&m===Vc[t.scheme]?null:m,f=""}if(n)return;s=vs;continue}return Ac}f+=i;break;case ds:if(t.scheme="file","/"==i||"\\"==i)s=ps;else{if(!r||"file"!=r.scheme){s=gs;continue}if(i==dc)t.host=r.host,t.path=r.path.slice(),t.query=r.query;else if("?"==i)t.host=r.host,t.path=r.path.slice(),t.query="",s=ms;else{if("#"!=i){Zc(o.slice(l).join(""))||(t.host=r.host,t.path=r.path.slice(),Jc(t)),s=gs;continue}t.host=r.host,t.path=r.path.slice(),t.query=r.query,t.fragment="",s=ws}}break;case ps:if("/"==i||"\\"==i){s=hs;break}r&&"file"==r.scheme&&!Zc(o.slice(l).join(""))&&(Kc(r.path[0],!0)?t.path.push(r.path[0]):t.host=r.host),s=gs;continue;case hs:if(i==dc||"/"==i||"\\"==i||"?"==i||"#"==i){if(!n&&Kc(f))s=gs;else if(""==f){if(t.host="",n)return;s=vs}else{if(u=Mc(t,f))return u;if("localhost"==t.host&&(t.host=""),n)return;f="",s=vs}continue}f+=i;break;case vs:if(Hc(t)){if(s=gs,"/"!=i&&"\\"!=i)continue}else if(n||"?"!=i)if(n||"#"!=i){if(i!=dc&&(s=gs,"/"!=i))continue}else t.fragment="",s=ws;else t.query="",s=ms;break;case gs:if(i==dc||"/"==i||"\\"==i&&Hc(t)||!n&&("?"==i||"#"==i)){if(".."===(c=(c=f).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(Jc(t),"/"==i||"\\"==i&&Hc(t)||t.path.push("")):Qc(f)?"/"==i||"\\"==i&&Hc(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&Kc(f)&&(t.host&&(t.host=""),f=f.charAt(0)+":"),t.path.push(f)),f="","file"==t.scheme&&(i==dc||"?"==i||"#"==i))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==i?(t.query="",s=ms):"#"==i&&(t.fragment="",s=ws)}else f+=Gc(i,qc);break;case ys:"?"==i?(t.query="",s=ms):"#"==i?(t.fragment="",s=ws):i!=dc&&(t.path[0]+=Gc(i,zc));break;case ms:n||"#"!=i?i!=dc&&("'"==i&&Hc(t)?t.query+="%27":t.query+="#"==i?"%23":Gc(i,zc)):(t.fragment="",s=ws);break;case ws:i!=dc&&(t.fragment+=Gc(i,Dc))}l++}},bs=function(t){var n,r,o=No(this,bs,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(t),u=mc(o,{type:"URL"});if(void 0!==i)if(i instanceof bs)n=wc(i);else if(r=_s(n={},String(i)))throw TypeError(r);if(r=_s(u,a,null,n))throw TypeError(r);var c=u.searchParams=new gc,s=yc(c);s.updateSearchParams(u.query),s.updateURL=function(){u.query=String(c)||null},e||(o.href=Es.call(o),o.origin=As.call(o),o.protocol=Ls.call(o),o.username=Ss.call(o),o.password=Ts.call(o),o.host=Os.call(o),o.hostname=ks.call(o),o.port=Is.call(o),o.pathname=Rs.call(o),o.search=js.call(o),o.searchParams=Ps.call(o),o.hash=Us.call(o))},xs=bs.prototype,Es=function(){var t=wc(this),e=t.scheme,n=t.username,r=t.password,o=t.host,i=t.port,a=t.path,u=t.query,c=t.fragment,s=e+":";return null!==o?(s+="//",Yc(t)&&(s+=n+(r?":"+r:"")+"@"),s+=Fc(o),null!==i&&(s+=":"+i)):"file"==e&&(s+="//"),s+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==u&&(s+="?"+u),null!==c&&(s+="#"+c),s},As=function(){var t=wc(this),e=t.scheme,n=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&Hc(t)?e+"://"+Fc(t.host)+(null!==n?":"+n:""):"null"},Ls=function(){return wc(this).scheme+":"},Ss=function(){return wc(this).username},Ts=function(){return wc(this).password},Os=function(){var t=wc(this),e=t.host,n=t.port;return null===e?"":null===n?Fc(e):Fc(e)+":"+n},ks=function(){var t=wc(this).host;return null===t?"":Fc(t)},Is=function(){var t=wc(this).port;return null===t?"":String(t)},Rs=function(){var t=wc(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},js=function(){var t=wc(this).query;return t?"?"+t:""},Ps=function(){return wc(this).searchParams},Us=function(){var t=wc(this).fragment;return t?"#"+t:""},Cs=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(e&&An(xs,{href:Cs(Es,(function(t){var e=wc(this),n=String(t),r=_s(e,n);if(r)throw TypeError(r);yc(e.searchParams).updateSearchParams(e.query)})),origin:Cs(As),protocol:Cs(Ls,(function(t){var e=wc(this);_s(e,String(t)+":",Xc)})),username:Cs(Ss,(function(t){var e=wc(this),n=rn(String(t));if(!$c(e)){e.username="";for(var r=0;r<n.length;r++)e.username+=Gc(n[r],Wc)}})),password:Cs(Ts,(function(t){var e=wc(this),n=rn(String(t));if(!$c(e)){e.password="";for(var r=0;r<n.length;r++)e.password+=Gc(n[r],Wc)}})),host:Cs(Os,(function(t){var e=wc(this);e.cannotBeABaseURL||_s(e,String(t),ss)})),hostname:Cs(ks,(function(t){var e=wc(this);e.cannotBeABaseURL||_s(e,String(t),ls)})),port:Cs(Is,(function(t){var e=wc(this);$c(e)||(""==(t=String(t))?e.port=null:_s(e,t,fs))})),pathname:Cs(Rs,(function(t){var e=wc(this);e.cannotBeABaseURL||(e.path=[],_s(e,t+"",vs))})),search:Cs(js,(function(t){var e=wc(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",_s(e,t,ms)),yc(e.searchParams).updateSearchParams(e.query)})),searchParams:Cs(Ps),hash:Cs(Us,(function(t){var e=wc(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",_s(e,t,ws)):e.fragment=null}))}),at(xs,"toJSON",(function(){return Es.call(this)}),{enumerable:!0}),at(xs,"toString",(function(){return Es.call(this)}),{enumerable:!0}),vc){var Ms=vc.createObjectURL,Bs=vc.revokeObjectURL;Ms&&at(bs,"createObjectURL",(function(t){return Ms.apply(vc,arguments)})),Bs&&at(bs,"revokeObjectURL",(function(t){return Bs.apply(vc,arguments)}))}Pn(bs,"URL"),Mt({global:!0,forced:!ju,sham:!e},{URL:bs});var Ns=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};_r("search",1,(function(t,e,n){return[function(e){var n=k(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var o=d(t),i=String(this),a=o.lastIndex;Ns(a,0)||(o.lastIndex=0);var u=Or(o,i);return Ns(o.lastIndex,a)||(o.lastIndex=a),null===u?-1:u.index}]}));var Fs="toString",zs=RegExp.prototype,Ds=zs.toString,qs=t((function(){return"/a/b"!=Ds.call({source:"a",flags:"b"})})),Ws=Ds.name!=Fs;(qs||Ws)&&at(RegExp.prototype,Fs,(function(){var t=d(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in zs)?nr.call(t):n)}),{unsafe:!0});var Gs=/"/g;Mt({target:"String",proto:!0,forced:function(e){return t((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}("sub")},{sub:function(){return t="sub",e="",n="",r=String(k(this)),o="<"+t,""!==e&&(o+=" "+e+'="'+String(n).replace(Gs,"&quot;")+'"'),o+">"+r+"</"+t+">";var t,e,n,r,o}});var Vs=1024,Hs=[].push,Ys=Math.min,$s=4294967295,Ks=!t((function(){return!RegExp($s,"y")}));_r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(k(this)),o=void 0===n?$s:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!Vr(t))return e.call(r,t,o);for(var i,a,u,c=[],s=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,f=new RegExp(t.source,s+"g");(i=pr.call(f,r))&&!((a=f.lastIndex)>l&&(c.push(r.slice(l,i.index)),i.length>1&&i.index<r.length&&Hs.apply(c,i.slice(1)),u=i[0].length,l=a,c.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return l===r.length?!u&&f.test("")||c.push(""):c.push(r.slice(l)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=k(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var i=n(r,t,this,o,r!==e);if(i.done)return i.value;var a=d(t),u=String(this),c=qo(a,RegExp),s=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Ks?"y":"g"),f=new c(Ks?a:"^(?:"+a.source+")",l),p=void 0===o?$s:o>>>0;if(0===p)return[];if(0===u.length)return null===Or(f,u)?[u]:[];for(var h=0,v=0,g=[];v<u.length;){f.lastIndex=Ks?v:0;var y,m=Or(f,Ks?u:u.slice(v));if(null===m||(y=Ys(ht(f.lastIndex+(Ks?0:v)),u.length))===h)v=xr(u,v,s);else{if(g.push(u.slice(h,v)),g.length===p)return g;for(var w=1;w<=m.length-1;w++)if(g.push(m[w]),g.length===p)return g;v=h=y}}return g.push(u.slice(h)),g}]}),!Ks);var Zs,Js="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,Qs=v.f,Xs=a.Int8Array,tl=Xs&&Xs.prototype,el=a.Uint8ClampedArray,nl=el&&el.prototype,rl=Xs&&wn(Xs),ol=tl&&wn(tl),il=Object.prototype,al=il.isPrototypeOf,ul=ce("toStringTag"),cl=K("TYPED_ARRAY_TAG"),sl=Js&&!!Bn&&"Opera"!==tn(a.opera),ll=!1,fl={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},dl={BigInt64Array:8,BigUint64Array:8},pl=function(t){if(!u(t))return!1;var e=tn(t);return j(fl,e)||j(dl,e)};for(Zs in fl)a[Zs]||(sl=!1);if((!sl||"function"!=typeof rl||rl===Function.prototype)&&(rl=function(){throw TypeError("Incorrect invocation")},sl))for(Zs in fl)a[Zs]&&Bn(a[Zs],rl);if((!sl||!ol||ol===il)&&(ol=rl.prototype,sl))for(Zs in fl)a[Zs]&&Bn(a[Zs].prototype,ol);if(sl&&wn(nl)!==ol&&Bn(nl,ol),e&&!j(ol,ul))for(Zs in ll=!0,Qs(ol,ul,{get:function(){return u(this)?this[cl]:void 0}}),fl)a[Zs]&&C(a[Zs],cl,Zs);var hl={NATIVE_ARRAY_BUFFER_VIEWS:sl,TYPED_ARRAY_TAG:ll&&cl,aTypedArray:function(t){if(pl(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(Bn){if(al.call(rl,t))return t}else for(var e in fl)if(j(fl,Zs)){var n=a[e];if(n&&(t===n||al.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,n,r){if(e){if(r)for(var o in fl){var i=a[o];i&&j(i.prototype,t)&&delete i.prototype[t]}ol[t]&&!r||at(ol,t,r?n:sl&&tl[t]||n)}},exportTypedArrayStaticMethod:function(t,n,r){var o,i;if(e){if(Bn){if(r)for(o in fl)(i=a[o])&&j(i,t)&&delete i[t];if(rl[t]&&!r)return;try{return at(rl,t,r?n:sl&&Xs[t]||n)}catch(t){}}for(o in fl)!(i=a[o])||i[t]&&!r||at(i,t,n)}},isView:function(t){if(!u(t))return!1;var e=tn(t);return"DataView"===e||j(fl,e)||j(dl,e)},isTypedArray:pl,TypedArray:rl,TypedArrayPrototype:ol},vl=hl.NATIVE_ARRAY_BUFFER_VIEWS,gl=a.ArrayBuffer,yl=a.Int8Array,ml=!vl||!t((function(){yl(1)}))||!t((function(){new yl(-1)}))||!sn((function(t){new yl,new yl(null),new yl(1.5),new yl(t)}),!0)||t((function(){return 1!==new yl(new gl(2),1,void 0).length})),wl=function(t){if(void 0===t)return 0;var e=dt(t),n=ht(e);if(e!==n)throw RangeError("Wrong length or index");return n},_l=Math.abs,bl=Math.pow,xl=Math.floor,El=Math.log,Al=Math.LN2,Ll=function(t,e,n){var r,o,i,a=new Array(n),u=8*n-e-1,c=(1<<u)-1,s=c>>1,l=23===e?bl(2,-24)-bl(2,-77):0,f=t<0||0===t&&1/t<0?1:0,d=0;for((t=_l(t))!=t||t===1/0?(o=t!=t?1:0,r=c):(r=xl(El(t)/Al),t*(i=bl(2,-r))<1&&(r--,i*=2),(t+=r+s>=1?l/i:l*bl(2,1-s))*i>=2&&(r++,i/=2),r+s>=c?(o=0,r=c):r+s>=1?(o=(t*i-1)*bl(2,e),r+=s):(o=t*bl(2,s-1)*bl(2,e),r=0));e>=8;a[d++]=255&o,o/=256,e-=8);for(r=r<<e|o,u+=e;u>0;a[d++]=255&r,r/=256,u-=8);return a[--d]|=128*f,a},Sl=function(t,e){var n,r=t.length,o=8*r-e-1,i=(1<<o)-1,a=i>>1,u=o-7,c=r-1,s=t[c--],l=127&s;for(s>>=7;u>0;l=256*l+t[c],c--,u-=8);for(n=l&(1<<-u)-1,l>>=-u,u+=e;u>0;n=256*n+t[c],c--,u-=8);if(0===l)l=1-a;else{if(l===i)return n?NaN:s?-1/0:1/0;n+=bl(2,e),l-=a}return(s?-1:1)*n*bl(2,l-e)},Tl=function(t){for(var e=Nt(this),n=ht(e.length),r=arguments.length,o=yt(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:yt(i,n);a>o;)e[o++]=t;return e},Ol=At.f,kl=v.f,Il=it.get,Rl=it.set,jl="ArrayBuffer",Pl="DataView",Ul="Wrong index",Cl=a.ArrayBuffer,Ml=Cl,Bl=a.DataView,Nl=Bl&&Bl.prototype,Fl=Object.prototype,zl=a.RangeError,Dl=Ll,ql=Sl,Wl=function(t){return[255&t]},Gl=function(t){return[255&t,t>>8&255]},Vl=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},Hl=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},Yl=function(t){return Dl(t,23,4)},$l=function(t){return Dl(t,52,8)},Kl=function(t,e){kl(t.prototype,e,{get:function(){return Il(this)[e]}})},Zl=function(t,e,n,r){var o=wl(n),i=Il(t);if(o+e>i.byteLength)throw zl(Ul);var a=Il(i.buffer).bytes,u=o+i.byteOffset,c=a.slice(u,u+e);return r?c:c.reverse()},Jl=function(t,e,n,r,o,i){var a=wl(n),u=Il(t);if(a+e>u.byteLength)throw zl(Ul);for(var c=Il(u.buffer).bytes,s=a+u.byteOffset,l=r(+o),f=0;f<e;f++)c[s+f]=l[i?f:e-f-1]};if(Js){if(!t((function(){Cl(1)}))||!t((function(){new Cl(-1)}))||t((function(){return new Cl,new Cl(1.5),new Cl(NaN),Cl.name!=jl}))){for(var Ql,Xl=(Ml=function(t){return No(this,Ml),new Cl(wl(t))}).prototype=Cl.prototype,tf=Ol(Cl),ef=0;tf.length>ef;)(Ql=tf[ef++])in Ml||C(Ml,Ql,Cl[Ql]);Xl.constructor=Ml}Bn&&wn(Nl)!==Fl&&Bn(Nl,Fl);var nf=new Bl(new Ml(2)),rf=Nl.setInt8;nf.setInt8(0,2147483648),nf.setInt8(1,2147483649),!nf.getInt8(0)&&nf.getInt8(1)||Co(Nl,{setInt8:function(t,e){rf.call(this,t,e<<24>>24)},setUint8:function(t,e){rf.call(this,t,e<<24>>24)}},{unsafe:!0})}else Ml=function(t){No(this,Ml,jl);var n=wl(t);Rl(this,{bytes:Tl.call(new Array(n),0),byteLength:n}),e||(this.byteLength=n)},Bl=function(t,n,r){No(this,Bl,Pl),No(t,Ml,Pl);var o=Il(t).byteLength,i=dt(n);if(i<0||i>o)throw zl("Wrong offset");if(i+(r=void 0===r?o-i:ht(r))>o)throw zl("Wrong length");Rl(this,{buffer:t,byteLength:r,byteOffset:i}),e||(this.buffer=t,this.byteLength=r,this.byteOffset=i)},e&&(Kl(Ml,"byteLength"),Kl(Bl,"buffer"),Kl(Bl,"byteLength"),Kl(Bl,"byteOffset")),Co(Bl.prototype,{getInt8:function(t){return Zl(this,1,t)[0]<<24>>24},getUint8:function(t){return Zl(this,1,t)[0]},getInt16:function(t){var e=Zl(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Zl(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return Hl(Zl(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return Hl(Zl(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return ql(Zl(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return ql(Zl(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){Jl(this,1,t,Wl,e)},setUint8:function(t,e){Jl(this,1,t,Wl,e)},setInt16:function(t,e){Jl(this,2,t,Gl,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){Jl(this,2,t,Gl,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){Jl(this,4,t,Vl,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){Jl(this,4,t,Vl,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){Jl(this,4,t,Yl,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){Jl(this,8,t,$l,e,arguments.length>2?arguments[2]:void 0)}});Pn(Ml,jl),Pn(Bl,Pl);var of={ArrayBuffer:Ml,DataView:Bl},af=function(t,e){var n=function(t){var e=dt(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}(t);if(n%e)throw RangeError("Wrong offset");return n},uf=hl.aTypedArrayConstructor,cf=function(t){var e,n,r,o,i,a,u=Nt(t),c=arguments.length,s=c>1?arguments[1]:void 0,l=void 0!==s,f=nn(u);if(null!=f&&!Ke(f))for(a=(i=f.call(u)).next,u=[];!(o=a.call(i)).done;)u.push(o.value);for(l&&c>2&&(s=Pe(s,arguments[2],2)),n=ht(u.length),r=new(uf(this))(n),e=0;n>e;e++)r[e]=l?s(u[e],e):u[e];return r},sf=o((function(t){var n=At.f,r=Me.forEach,o=it.get,i=it.set,c=v.f,s=U.f,l=Math.round,f=a.RangeError,d=of.ArrayBuffer,h=of.DataView,g=hl.NATIVE_ARRAY_BUFFER_VIEWS,y=hl.TYPED_ARRAY_TAG,m=hl.TypedArray,w=hl.TypedArrayPrototype,_=hl.aTypedArrayConstructor,b=hl.isTypedArray,x="BYTES_PER_ELEMENT",E="Wrong length",L=function(t,e){for(var n=0,r=e.length,o=new(_(t))(r);r>n;)o[n]=e[n++];return o},S=function(t,e){c(t,e,{get:function(){return o(this)[e]}})},T=function(t){var e;return t instanceof d||"ArrayBuffer"==(e=tn(t))||"SharedArrayBuffer"==e},O=function(t,e){return b(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},k=function(t,e){return O(t,e=p(e,!0))?A(2,t[e]):s(t,e)},I=function(t,e,n){return!(O(t,e=p(e,!0))&&u(n)&&j(n,"value"))||j(n,"get")||j(n,"set")||n.configurable||j(n,"writable")&&!n.writable||j(n,"enumerable")&&!n.enumerable?c(t,e,n):(t[e]=n.value,t)};e?(g||(U.f=k,v.f=I,S(w,"buffer"),S(w,"byteOffset"),S(w,"byteLength"),S(w,"length")),Mt({target:"Object",stat:!0,forced:!g},{getOwnPropertyDescriptor:k,defineProperty:I}),t.exports=function(t,e,s){var p=t.match(/\d+$/)[0]/8,v=t+(s?"Clamped":"")+"Array",_="get"+t,A="set"+t,S=a[v],O=S,k=O&&O.prototype,I={},R=function(t,e){c(t,e,{get:function(){return function(t,e){var n=o(t);return n.view[_](e*p+n.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,n){var r=o(t);s&&(n=(n=l(n))<0?0:n>255?255:255&n),r.view[A](e*p+r.byteOffset,n,!0)}(this,e,t)},enumerable:!0})};g?ml&&(O=e((function(t,e,n,r){return No(t,O,v),Ca(u(e)?T(e)?void 0!==r?new S(e,af(n,p),r):void 0!==n?new S(e,af(n,p)):new S(e):b(e)?L(O,e):cf.call(O,e):new S(wl(e)),t,O)})),Bn&&Bn(O,m),r(n(S),(function(t){t in O||C(O,t,S[t])})),O.prototype=k):(O=e((function(t,e,n,r){No(t,O,v);var o,a,c,s=0,l=0;if(u(e)){if(!T(e))return b(e)?L(O,e):cf.call(O,e);o=e,l=af(n,p);var g=e.byteLength;if(void 0===r){if(g%p)throw f(E);if((a=g-l)<0)throw f(E)}else if((a=ht(r)*p)+l>g)throw f(E);c=a/p}else c=wl(e),o=new d(a=c*p);for(i(t,{buffer:o,byteOffset:l,byteLength:a,length:c,view:new h(o)});s<c;)R(t,s++)})),Bn&&Bn(O,m),k=O.prototype=In(w)),k.constructor!==O&&C(k,"constructor",O),y&&C(k,y,v),I[v]=O,Mt({global:!0,forced:O!=S,sham:!g},I),x in O||C(O,x,p),x in k||C(k,x,p),Bo(v)}):t.exports=function(){}}));sf("Uint32",(function(t){return function(e,n,r){return t(this,e,n,r)}}));var lf=Math.min,ff=[].copyWithin||function(t,e){var n=Nt(this),r=ht(n.length),o=yt(t,r),i=yt(e,r),a=arguments.length>2?arguments[2]:void 0,u=lf((void 0===a?r:yt(a,r))-i,r-o),c=1;for(i<o&&o<i+u&&(c=-1,i+=u-1,o+=u-1);u-- >0;)i in n?n[o]=n[i]:delete n[o],o+=c,i+=c;return n},df=hl.aTypedArray;(0,hl.exportTypedArrayMethod)("copyWithin",(function(t,e){return ff.call(df(this),t,e,arguments.length>2?arguments[2]:void 0)}));var pf=Me.every,hf=hl.aTypedArray;(0,hl.exportTypedArrayMethod)("every",(function(t){return pf(hf(this),t,arguments.length>1?arguments[1]:void 0)}));var vf=hl.aTypedArray;(0,hl.exportTypedArrayMethod)("fill",(function(t){return Tl.apply(vf(this),arguments)}));var gf=hl.aTypedArrayConstructor,yf=function(t,e){for(var n=qo(t,t.constructor),r=0,o=e.length,i=new(gf(n))(o);o>r;)i[r]=e[r++];return i},mf=Me.filter,wf=hl.aTypedArray;(0,hl.exportTypedArrayMethod)("filter",(function(t){var e=mf(wf(this),t,arguments.length>1?arguments[1]:void 0);return yf(this,e)}));var _f=Me.find,bf=hl.aTypedArray;(0,hl.exportTypedArrayMethod)("find",(function(t){return _f(bf(this),t,arguments.length>1?arguments[1]:void 0)}));var xf=Me.findIndex,Ef=hl.aTypedArray;(0,hl.exportTypedArrayMethod)("findIndex",(function(t){return xf(Ef(this),t,arguments.length>1?arguments[1]:void 0)}));var Af=Me.forEach,Lf=hl.aTypedArray;(0,hl.exportTypedArrayMethod)("forEach",(function(t){Af(Lf(this),t,arguments.length>1?arguments[1]:void 0)}));var Sf=wt.includes,Tf=hl.aTypedArray;(0,hl.exportTypedArrayMethod)("includes",(function(t){return Sf(Tf(this),t,arguments.length>1?arguments[1]:void 0)}));var Of=wt.indexOf,kf=hl.aTypedArray;(0,hl.exportTypedArrayMethod)("indexOf",(function(t){return Of(kf(this),t,arguments.length>1?arguments[1]:void 0)}));var If=ce("iterator"),Rf=a.Uint8Array,jf=Wa.values,Pf=Wa.keys,Uf=Wa.entries,Cf=hl.aTypedArray,Mf=hl.exportTypedArrayMethod,Bf=Rf&&Rf.prototype[If],Nf=!!Bf&&("values"==Bf.name||null==Bf.name),Ff=function(){return jf.call(Cf(this))};Mf("entries",(function(){return Uf.call(Cf(this))})),Mf("keys",(function(){return Pf.call(Cf(this))})),Mf("values",Ff,!Nf),Mf(If,Ff,!Nf);var zf=hl.aTypedArray,Df=[].join;(0,hl.exportTypedArrayMethod)("join",(function(t){return Df.apply(zf(this),arguments)}));var qf=Math.min,Wf=[].lastIndexOf,Gf=!!Wf&&1/[1].lastIndexOf(1,-0)<0,Vf=Oe("lastIndexOf"),Hf=Gf||!Vf?function(t){if(Gf)return Wf.apply(this,arguments)||0;var e=I(this),n=ht(e.length),r=n-1;for(arguments.length>1&&(r=qf(r,dt(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}:Wf,Yf=hl.aTypedArray;(0,hl.exportTypedArrayMethod)("lastIndexOf",(function(t){return Hf.apply(Yf(this),arguments)}));var $f=Me.map,Kf=hl.aTypedArray,Zf=hl.aTypedArrayConstructor;(0,hl.exportTypedArrayMethod)("map",(function(t){return $f(Kf(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(Zf(qo(t,t.constructor)))(e)}))}));var Jf=function(t){return function(e,n,r,o){je(n);var i=Nt(e),a=O(i),u=ht(i.length),c=t?u-1:0,s=t?-1:1;if(r<2)for(;;){if(c in a){o=a[c],c+=s;break}if(c+=s,t?c<0:u<=c)throw TypeError("Reduce of empty array with no initial value")}for(;t?c>=0:u>c;c+=s)c in a&&(o=n(o,a[c],c,i));return o}},Qf={left:Jf(!1),right:Jf(!0)},Xf=Qf.left,td=hl.aTypedArray;(0,hl.exportTypedArrayMethod)("reduce",(function(t){return Xf(td(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}));var ed=Qf.right,nd=hl.aTypedArray;(0,hl.exportTypedArrayMethod)("reduceRight",(function(t){return ed(nd(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}));var rd=hl.aTypedArray,od=hl.exportTypedArrayMethod,id=Math.floor;od("reverse",(function(){for(var t,e=this,n=rd(e).length,r=id(n/2),o=0;o<r;)t=e[o],e[o++]=e[--n],e[n]=t;return e}));var ad=hl.aTypedArray;(0,hl.exportTypedArrayMethod)("set",(function(t){ad(this);var e=af(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=Nt(t),o=ht(r.length),i=0;if(o+e>n)throw RangeError("Wrong length");for(;i<o;)this[e+i]=r[i++]}),t((function(){new Int8Array(1).set({})})));var ud=hl.aTypedArray,cd=hl.aTypedArrayConstructor,sd=[].slice;(0,hl.exportTypedArrayMethod)("slice",(function(t,e){for(var n=sd.call(ud(this),t,e),r=qo(this,this.constructor),o=0,i=n.length,a=new(cd(r))(i);i>o;)a[o]=n[o++];return a}),t((function(){new Int8Array(1).slice()})));var ld=Me.some,fd=hl.aTypedArray;(0,hl.exportTypedArrayMethod)("some",(function(t){return ld(fd(this),t,arguments.length>1?arguments[1]:void 0)}));var dd=hl.aTypedArray,pd=[].sort;(0,hl.exportTypedArrayMethod)("sort",(function(t){return pd.call(dd(this),t)}));var hd=hl.aTypedArray;(0,hl.exportTypedArrayMethod)("subarray",(function(t,e){var n=hd(this),r=n.length,o=yt(t,r);return new(qo(n,n.constructor))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,ht((void 0===e?r:yt(e,r))-o))}));var vd=a.Int8Array,gd=hl.aTypedArray,yd=hl.exportTypedArrayMethod,md=[].toLocaleString,wd=[].slice,_d=!!vd&&t((function(){md.call(new vd(1))}));yd("toLocaleString",(function(){return md.apply(_d?wd.call(gd(this)):gd(this),arguments)}),t((function(){return[1,2].toLocaleString()!=new vd([1,2]).toLocaleString()}))||!t((function(){vd.prototype.toLocaleString.call([1,2])})));var bd=hl.exportTypedArrayMethod,xd=a.Uint8Array,Ed=xd&&xd.prototype||{},Ad=[].toString,Ld=[].join;t((function(){Ad.call({})}))&&(Ad=function(){return Ld.call(this)});var Sd=Ed.toString!=Ad;bd("toString",Ad,Sd),Mt({target:"Array",proto:!0},{fill:Tl}),Ia("fill"),sf("Uint8",(function(t){return function(e,n,r){return t(this,e,n,r)}}));var Td=de("slice"),Od=ce("species"),kd=[].slice,Id=Math.max;Mt({target:"Array",proto:!0,forced:!Td},{slice:function(t,e){var n,r,o,i=I(this),a=ht(i.length),c=yt(t,a),s=yt(void 0===e?a:e,a);if(Kt(i)&&("function"!=typeof(n=i.constructor)||n!==Array&&!Kt(n.prototype)?u(n)&&null===(n=n[Od])&&(n=void 0):n=void 0,n===Array||void 0===n))return kd.call(i,c,s);for(r=new(void 0===n?Array:n)(Id(s-c,0)),o=0;c<s;c++,o++)c in i&&Zt(r,o,i[c]);return r.length=o,r}});var Rd,jd=window.crypto||window.msCrypto,Pd=function(t){return JSON.parse(decodeURIComponent(escape(atob(t.split(".")[1]))))},Ud=function(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";return Array(t).fill(null).map((function(){return e.charAt(Math.floor(jd.getRandomValues(new Uint32Array(1))[0]/Math.pow(2,32)*e.length))})).join("")},Cd=function(t){return String.fromCharCode.apply(null,new Uint8Array(t))},Md=function(t){var e=(new TextEncoder).encode(t),n=jd.subtle.digest("SHA-256",e);return n instanceof Promise?n:new Promise((function(t,e){var r=n;r.oncomplete=function(e){return t(e.target.result)},r.onerror=function(t){return e(t.toString())}}))},Bd=function(t){return window.btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},Nd=function(t){return t.split("/").slice(0,3).join("/")},Fd=function(){return we.get("OL_ID")},zd="ONELOGIN_ID_TOKEN",Dd="ONELOGIN_PKCE_STATE",qd="ONELOGIN_PKCE_CODE_VERIFIER",Wd="ONELOGIN_ACCESS_TOKEN",Gd="ONELOGIN_REFRESH_TOKEN",Vd=function t(e,n){var r=Ud(111),o=Ud(111);return Md(o).then((function(i){var a=Bd(Cd(i));return function(t){var e=t.clientId,n=t.redirectUrl,r=t.scope,o=t.state,i=t.codeChallenge,a=new URLSearchParams("");a.set("response_type","code"),a.set("client_id",e),a.set("redirect_uri",n),a.set("scope",r),a.set("state",o),a.set("code_challenge",i),a.set("code_challenge_method","S256"),window.location.href.length<=Vs&&a.set("continue_url",window.location.href);var u=Fd();return fetch(Rd.authProviderUrl+"/auth/silent?"+a.toString(),{credentials:"include",headers:u?{"ol-id":u}:void 0})}(Object.assign({},n,{olId:e,state:r,codeChallenge:a})).then((function(i){if(401===i.status){var a=Fd();return!(e===a||!a)&&t(a,n)}return 200===i.status&&i.json().then((function(t){var e=t.data.redirectUrl.split("?")[1],n=new URLSearchParams(e),i=n.get("code"),a=n.get("state");return!(!i||r!=a)&&{code:i,codeVerifier:o}}))}))}))},Hd=function(t,e){var n,r,o=t.authUrl,i=t.clientId,a=t.redirectUrl,u=t.scope,c=t.postLogoutRedirectUrl,s=t.passContinueUrl,l=t.autologinDomain,f=function(){Ee.debug("clearing storage"),e.clear(zd),e.clear(Wd),e.clear(Gd),document.dispatchEvent(new CustomEvent("ol-not-logged"))},d=function(){var t=e.load(zd);if(!t)throw f(),new Error("No token in storage");return Pd(t)},p=function(){var t=e.load(Gd);return t?function(t){var e=t.clientId,n=t.refreshToken;return fetch(Rd.authProviderUrl+"/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"grant_type=refresh_token&client_id="+e+"&refresh_token="+n})}({clientId:i,refreshToken:t}).then((function(t){return 200!==t.status?(Ee.debug("current session is invalid"),f(),!1):t.json().then((function(t){return e.save(Wd,t.access_token),e.save(Gd,t.refresh_token),!0}))})):Promise.resolve(!1)},h=function(t){clearTimeout(n),n=setTimeout(p,1e3*(t-30))},v=function(t){var n=t.code,r=t.codeVerifier,u=t.continueUrl;return function(t){var e=t.clientId,n=t.redirectUrl,r=t.code,o=t.codeVerifier;return fetch(Rd.authProviderUrl+"/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"grant_type=authorization_code&client_id="+e+"&redirect_uri="+n+"&code="+r+"&code_verifier="+o})}({clientId:i,code:n,codeVerifier:r,redirectUrl:a}).then((function(t){return t.json()})).then((function(t){if(!t.id_token)throw new Error("No token from response");var n=Pd(t.id_token);if(!n.aud.includes(i))throw new Error("Aud differs from clientId!");if(n.iss!==Nd(o)+"/api/v1/public/ol-authprovider")throw new Error("Wrong ISS");!function(t,e){void 0===e&&(e=".wp.pl");var n=new Date(Date.now()+12096e5);Ee.debug("setting OL_ID with: ",{adId:t,domain:e,expires:n}),we.set("OL_ID",t,{domain:e,expires:n})}(n.ad_id,l),e.save(Wd,t.access_token),e.save(Gd,t.refresh_token),h(t.expires_in),function(t){Ee.debug("setting user token"),e.save(zd,t),document.dispatchEvent(new CustomEvent("ol-login"))}(t.id_token),u&&window.location.assign(decodeURIComponent(u))}))},g=function(){var t=e.load(Wd);return t?function(t){return fetch(Rd.authProviderUrl+"/introspect",{headers:{Authorization:"Bearer "+t},method:"POST"})}(t).then((function(t){return 200===t.status?t.json().then((function(t){var e=Math.floor(Date.now()/1e3),n=t.exp-e;return h(n),!0})):t.status.toString().startsWith("4")?p():(Ee.error("invalid response during introspect"),f(),!1)})):Promise.resolve(!1)},y=(r=Iu(ku.mark((function t(n){var r,c,l,f,d,p,h;return ku.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r="boolean"==typeof n&&n,c="string"==typeof n?n:void 0,l=Ud(111),e.save(Dd,l),f=Ud(111),e.save(qd,f),t.next=8,Md(f);case 8:d=t.sent,p=Bd(Cd(d)),h=new URLSearchParams(""),r&&h.set("flow","select_account"),c&&(h.set("flow","onetap"),h.set("onetap_user",c)),h.set("response_type","code"),h.set("client_id",i),h.set("redirect_uri",a),h.set("scope",u),h.set("state",l),h.set("code_challenge",p),h.set("code_challenge_method","S256"),s&&window.location.href.length<=Vs&&h.set("continue_url",window.location.href),window.location.assign(o+"?"+h.toString());case 22:case"end":return t.stop()}}),t)}))),function(t){return r.apply(this,arguments)});return function(){!function(t){var e=Nd(t.authUrl);Rd=Object.freeze({origin:e,authProviderUrl:e+"/api/v1/public/ol-authprovider"})}(t),setInterval(g,6e4);var n=window.location.href;n.startsWith(decodeURI(a))&&n.includes("code=")?function(){var t=new URLSearchParams(window.location.search),n=t.get("state"),r=t.get("code"),o=t.get("error"),i=t.get("continue_url");if(!r)throw new Error("No code from response");if(o)throw new Error(o);history.replaceState({},"Logowanie 1L",a);var u=e.load(Dd),c=e.load(qd);if(e.clear(Dd),e.clear(qd),n!==u)throw console.error({state:n,storageState:u}),new Error("State differs from storage");if(!c)throw new Error("There is no `code_verifier` in storage");if(!u)throw new Error("There is no `state` in storage");v({code:r,codeVerifier:c,continueUrl:i})}():g().then((function(n){n?(Ee.debug("user logged in"),document.dispatchEvent(new CustomEvent("ol-login"))):(Ee.debug("no active session found"),function(t){var e=t.storage,n=t.callback,r=t.config;if(e.load(Wd))Ee.debug("Token in storage - autologin denied");else{var o=Fd();o?(Ee.debug("autologin - data found; initializing..."),Vd(o,r).then((function(t){t?(Ee.debug("autologin - accepted; token granted"),n(t)):Ee.debug("autologin - denied; session no longer active")}))):Ee.debug("autologin - no data found")}}({config:t,storage:e,callback:v}),document.dispatchEvent(new CustomEvent("ol-not-logged")))}))}(),{login:y,logout:function(){Ee.debug("logout initiated");try{var t=d().l_hint;f(),Ee.debug("removing autologin cookie"),we.remove("OL_ID"),window.location.assign(Nd(o)+"/api/v1/public/ol-authprovider/logout?l_hint="+t+"&post_logout_redirect_uri="+c)}catch(t){console.error(t)}},getUserData:function(){var t=d();return{first_name:t.first_name,last_name:t.last_name,email:t.sub,avatar_url:t.avatar_url}}}};!function(t){var e=t.createFlow,n=t.name;Ee.debug("script v1.30.0 ES6 "+n+" loaded");var r,o=oa();if(o&&(!(r=document.head.querySelector("script[data-olwbranch]"))||(Ee.debug("branch script element already loaded",r),0)))return Ee.debug('branch cookie "'+o+'" spotted, reinitializing...'),void function(t){var e=document.createElement("script");return new Promise((function(n,r){e.addEventListener("load",(function(){return n()})),e.addEventListener("error",(function(){return r()})),e.src="https://onelogin.wpcdn.pl/onelogin/"+t+"/olwidget.js",e.async=!0,e.defer=!0,e.dataset.olwbranch=t,e.crossOrigin="anonymous",document.head.append(e)}))}(o).then((function(){Ee.debug("widget's branch version \""+o+'" script loaded')})).catch((function(){Ee.error("error loading widget's branch version \""+o+'" script')}));var i=!1,a={createWidget:function(t){if(i)throw new Error("Creating multiple widgets not allowed");!function(){if(!window.WP&&!document.querySelector("#wpjslib")){void 0===window.wp_sn&&(window.wp_sn="onelogin_widget");var t=document.createElement("script");t.setAttribute("id","wpjslib"),t.setAttribute("async",""),t.setAttribute("defer",""),t.setAttribute("crossorigin",""),t.setAttribute("src","https://std.wpcdn.pl/wpjslib/wpjslib-lite.js"),document.head.appendChild(t)}}(),i=!0,Ee.info("widget v1.30.0 initialized");var n=function(t){t.domain&&(Le=t.domain);var e=t.stateStorage||"LOCAL_STORAGE";return Ee.debug("storage "+e+" initialized"),Se[e]}(t),r=e(t,n),o=Ea({flow:r});return Object.assign({},r,o,{enableOneTap:function(){return Xa(Object.assign({},t,{login:r.login,getUserData:r.getUserData}))}})},setLogLevel:Ee.setLevel,setBranch:ia};Object.defineProperty(window,"OneLogin",{value:Object.freeze(a),writable:!1,enumerable:!0}),Pa(),null==window.olwAsync||window.olwAsync()}({createFlow:function(t,e){return"PKCE"===t.flow?Hd(t,e):(r=(n=t).passContinueUrl,o=n.logout,i=o.url,a=o.method,u=void 0===a?"GET":a,c=n.authUrl,s=void 0,{login:function(t){var e="boolean"==typeof t&&t,n="string"==typeof t?t:void 0,o=new URLSearchParams("");e&&o.set("flow","select_account"),n&&(o.set("flow","onetap"),o.set("onetap_user",n)),r&&window.location.href.length<=Vs&&o.set("continue_url",window.location.href);var i=o.toString();window.location.assign(c+(i?"?"+i:""))},logout:function(){var t=document.createElement("form");t.setAttribute("method",u),t.setAttribute("action",i),document.body.appendChild(t),t.submit()},getUserData:function(){if(!s)throw new Error("No UserData in storage");return s},setUserData:function(t){s=t,document.dispatchEvent(new CustomEvent("ol-login"))}});var n,r,o,i,a,u,c,s},name:"FULL"})}));
//# sourceMappingURL=olwidget.js.map
