!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=115)}({0:function(t,e,n){"use strict";n.d(e,"k",(function(){return l})),n.d(e,"D",(function(){return s})),n.d(e,"n",(function(){return d})),n.d(e,"o",(function(){return f})),n.d(e,"g",(function(){return h})),n.d(e,"j",(function(){return p})),n.d(e,"c",(function(){return v})),n.d(e,"C",(function(){return g})),n.d(e,"i",(function(){return m})),n.d(e,"s",(function(){return w})),n.d(e,"p",(function(){return y})),n.d(e,"t",(function(){return b})),n.d(e,"u",(function(){return E})),n.d(e,"B",(function(){return S})),n.d(e,"z",(function(){return _})),n.d(e,"a",(function(){return N})),n.d(e,"q",(function(){return O})),n.d(e,"f",(function(){return x})),n.d(e,"E",(function(){return A})),n.d(e,"h",(function(){return L})),n.d(e,"r",(function(){return j})),n.d(e,"F",(function(){return I})),n.d(e,"b",(function(){return P})),n.d(e,"d",(function(){return k})),n.d(e,"l",(function(){return M})),n.d(e,"G",(function(){return U})),n.d(e,"v",(function(){return H})),n.d(e,"A",(function(){return R})),n.d(e,"m",(function(){return W})),n.d(e,"w",(function(){return F})),n.d(e,"x",(function(){return B})),n.d(e,"y",(function(){return V})),n.d(e,"e",(function(){return J}));var r=n(2),o=n(1);function i(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */i=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(t,e,n,r){return Object.defineProperty(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r})}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function d(e,n,r,o){var i=n&&n.prototype instanceof p?n:p,u=Object.create(i.prototype);return s(u,"_invoke",function(e,n,r){var o=1;return function(i,u){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw u;return{value:t,done:!0}}for(r.method=i,r.arg=u;;){var a=r.delegate;if(a){var c=_(a,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(1===o)throw o=4,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=3;var l=f(e,n,r);if("normal"===l.type){if(o=r.done?4:2,l.arg===h)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=4,r.method="throw",r.arg=l.arg)}}}(e,r,new x(o||[])),!0),u}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=d;var h={};function p(){}function v(){}function g(){}var m={};s(m,u,(function(){return this}));var w=Object.getPrototypeOf,y=w&&w(w(A([])));y&&y!==n&&r.call(y,u)&&(m=y);var b=g.prototype=p.prototype=Object.create(m);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function n(o,i,u,a){var l=f(t[o],t,i);if("throw"!==l.type){var s=l.arg,d=s.value;return d&&"object"==c(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,u,a)}),(function(t){n("throw",t,u,a)})):e.resolve(d).then((function(t){s.value=t,u(s)}),(function(t){return n("throw",t,u,a)}))}a(l.arg)}var o;s(this,"_invoke",(function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}),!0)}function _(e,n){var r=n.method,o=e.i[r];if(o===t)return n.delegate=null,"throw"===r&&e.i.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var i=f(o,e.i,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,h;var u=i.arg;return u?u.done?(n[e.r]=u.value,n.next=e.n,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):u:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function N(t){this.tryEntries.push(t)}function O(e){var n=e[4]||{};n.type="normal",n.arg=t,e[4]=n}function x(t){this.tryEntries=[[-1]],t.forEach(N,this),this.reset(!0)}function A(e){if(null!=e){var n=e[u];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(c(e)+" is not iterable")}return v.prototype=g,s(b,"constructor",g),s(g,"constructor",v),v.displayName=s(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,s(t,l,"GeneratorFunction")),t.prototype=Object.create(b),t},e.awrap=function(t){return{__await:t}},E(S.prototype),s(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var u=new S(d(t,n,r,o),i);return e.isGeneratorFunction(n)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},E(b),s(b,l,"Generator"),s(b,u,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.unshift(r);return function t(){for(;n.length;)if((r=n.pop())in e)return t.value=r,t.done=!1,t;return t.done=!0,t}},e.values=A,x.prototype={constructor:x,reset:function(e){if(this.prev=this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0][4];if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(t){u.type="throw",u.arg=e,n.next=t}for(var o=n.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i[4],a=this.prev,c=i[1],l=i[2];if(-1===i[0])return r("end"),!1;if(!c&&!l)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=a){if(a<c)return this.method="next",this.arg=t,r(c),!0;if(a<l)return r(l),!1}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r[0]>-1&&r[0]<=this.prev&&this.prev<r[2]){var o=r;break}}o&&("break"===t||"continue"===t)&&o[0]<=e&&e<=o[2]&&(o=null);var i=o?o[4]:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o[2],h):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),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n[2]===t)return this.complete(n[4],n[3]),O(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n[0]===t){var r=n[4];if("throw"===r.type){var o=r.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={i:A(e),r:n,n:r},"next"===this.method&&(this.arg=t),h}},e}function u(t,e,n,r,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,o)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){u(i,r,o,a,c,"next",t)}function c(t){u(i,r,o,a,c,"throw",t)}a(void 0)}))}}function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=n?n.querySelector("#"+t):document.getElementById(t);if(r){var o=r.firstChild.nodeValue;return e&&r.parentNode.removeChild(r),o&&JSON.parse(o)}}var s=function(){var t={37:1,38:1,39:1,40:1};function e(t){var e=t||window.event;e.preventDefault&&e.preventDefault(),e.returnValue=!1}function n(n){if(t[n.keyCode])return e(n),!1}return{disableScroll:function(){window.addEventListener&&window.addEventListener("DOMMouseScroll",e,!1),window.onwheel=e,window.onmousewheel=document.onmousewheel=e,window.ontouchmove=e,document.onkeydown=n},enableScroll:function(){window.removeEventListener&&window.removeEventListener("DOMMouseScroll",e,!1),window.onmousewheel=document.onmousewheel=null,window.onwheel=null,window.ontouchmove=null,document.onkeydown=null}}}();function d(){var t=document.querySelector('meta[name="pageInstance"]');if(t){var e=t.getAttribute("content");if(e&&2===e.split(";").length){var n=e.split(";");return{pageUrn:n[0],trackingId:n[1]}}}return null}function f(){var t=document.querySelector('meta[name="pageKey"]');return t?t.getAttribute("content"):null}function h(){var t=document.querySelector('meta[name="appName"]');return t?t.getAttribute("content"):null}function p(t){var e=t.body,n=t.documentElement;return{height:Math.max(e.scrollHeight,e.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight),width:Math.max(e.scrollWidth,e.offsetWidth,n.clientWidth,n.scrollWidth,n.offsetWidth)}}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if("function"==typeof(e?CustomEvent:Event))return new(e?CustomEvent:Event)(t,{detail:e,bubbles:n,cancelable:r});var o=document.createEvent("Event");return o.initEvent(t,n,r),null!==e&&(o.detail=e),o}function g(t){if(!(!t instanceof Node)){t&&t.addEventListener("focusin",(function(e){window.requestAnimationFrame((function(){window.scrollBy(0,t.getBoundingClientRect().top-64)}))}))}}function m(t,e){return null===t?null:t.closest(e)}function w(t){return t instanceof Element}function y(){return document.defaultView.location.origin||location.protocol+"//"+location.hostname}function b(){var t=window.navigator.userAgent.toLowerCase(),e=/safari/.test(t),n=/iphone|ipod|ipad/.test(t),r=!0===window.navigator.standalone;return n&&!r&&!e}function E(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent,e=/Safari/.test(t)&&!/Chrome/.test(t),n=/Firefox/.test(t);return e||n}function S(t){w(t)&&b()&&(_(t),t.blur())}function _(t){t.hasAttribute("autofocus")&&t.removeAttribute("autofocus")}function N(t){var e=window.location.search;return Object(r.sanitizeUrl)(e?"".concat(t).concat(e):"".concat(t))}function O(t,e){var n=e,r=new RegExp("[?&]"+t+"=([^&#]*)","i").exec(n);return r?r[1]:null}function x(t){window.addEventListener("beforeunload",(function(){"function"==typeof t&&t()}))}function A(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!0,r=["funCaptchaInternal"];return r.forEach((function(e){-1!==t.indexOf(e)&&(n=!1)})),-1!==t.indexOf("captchaV2Challenge")&&"GUEST_SCORING"===e.funCaptchaChallengeSource&&(n=!1),n}var T,C=/JSESSIONID="?([^";]+)"?/,D=Date.now();function L(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.cacheLifeSpan,n=void 0===e?1e4:e,r=t.regex,o=void 0===r?C:r;if(!T||Date.now()-D>n){var i=document.cookie.match(o);T=i&&i[1]||"",D=Date.now()}return T}function j(t){c(t)!==o.g.UNDEFINED&&null!==t&&t.classList.add(o.g.HIDDEN_CLASS)}function I(t){c(t)!==o.g.UNDEFINED&&null!==t&&t.classList.remove(o.g.HIDDEN_CLASS)}function P(t,e,n){c(t)!==o.g.UNDEFINED&&null!==t&&t.addEventListener(e,n)}function k(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];c(t)!==o.g.UNDEFINED&&null!==t&&(e?t.disabled=!0:t.removeAttribute("disabled"))}function M(){return l("funcaptchaChallengeSource")}function U(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"_self";b()&&Array.from(document.getElementsByTagName("a")).forEach((function(e){return"_blank"===e.getAttribute("target")&&e.setAttribute("target",t)}))}function H(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent,e=/.*(iPad|iPod|iPhone|Android|BB10|BlackBerry|IEMobile).*/;return!!t&&e.test(t)}function R(t){return JSON.parse(t.replace("<!DOCTYPE html>","").trim())}function W(){var t=navigator.userAgent||navigator.vendor||window.opera;return/windows phone/i.test(t)?o.e.WINDOW_PHONE:/android/i.test(t)?o.e.ANDROID:/iPad|iPhone|iPod/.test(t)&&!window.MSStream?o.e.IOS:o.e.UNKNOWN}function G(){return"undefined"!=typeof window&&window&&"node"!==window.appEnvironment}function F(){var t,e;return G()&&(void 0!==(null===(t=window)||void 0===t||null===(t=t.webkit)||void 0===t||null===(t=t.messageHandlers)||void 0===t?void 0:t.jsMessenger)||void 0!==(null===(e=window)||void 0===e||null===(e=e.Android)||void 0===e?void 0:e.sendWebMessage))}function q(t){var e;return!(!G()||void 0===(null===(e=window)||void 0===e||null===(e=e.webkit)||void 0===e||null===(e=e.messageHandlers)||void 0===e?void 0:e.jsMessenger))&&(window.webkit.messageHandlers.jsMessenger.postMessage(t),!0)}function z(t){var e;return!(!G()||void 0===(null===(e=window)||void 0===e||null===(e=e.Android)||void 0===e?void 0:e.sendWebMessage))&&(window.Android.sendWebMessage(JSON.stringify(t)),!0)}function B(t){return q(t)||z(t)}function V(){var t={closeWebView:""};return q(t)||z(t)}function J(t){return K.apply(this,arguments)}function K(){return(K=a(i().mark((function t(e){var n,r;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e);case 3:if(200!==(n=t.sent).status){t.next=11;break}return t.next=7,n.text();case 7:return r=t.sent,t.abrupt("return",r);case 11:throw new Error("Request failed with status ".concat(n.status));case 12:t.next=17;break;case 14:throw t.prev=14,t.t0=t.catch(0),t.t0;case 17:case"end":return t.stop()}}),t,null,[[0,14]])})))).apply(this,arguments)}},1:function(t,e,n){"use strict";n.d(e,"i",(function(){return r})),n.d(e,"h",(function(){return o})),n.d(e,"e",(function(){return i})),n.d(e,"f",(function(){return u})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return l})),n.d(e,"d",(function(){return s})),e.g={SIGN_IN:"SIGN_IN",JOIN_NOW:"JOIN_NOW",HIDDEN_CLASS:"hidden__imp",UNDEFINED:"undefined",LOCALE_EN_US:"en-US"};var r=Object.freeze({ONE_TAP:"one_tap",ONE_TAP_AUTO_LOGIN:"one-tap-auto-login",BUTTON:"button"}),o="soogleLoginRequestType",i=Object.freeze({ANDROID:"android",WINDOW_PHONE:"window_phone",IOS:"ios",UNKNOWN:"unknown"}),u={QR_LINK_INVALID:"QR_LINK_INVALID",PASSWORD_RESET:"PASSWORD_RESET",SETTINGS_CHANGE:"SETTINGS_CHANGE"},a={COMPLETED:"COMPLETED",CANCELLED:"CANCELLED"},c={DISPLAY:"DISPLAY"},l={EXPANDED:"expanded",COLLAPSED:"collapsed"},s="login:form:username"},115:function(t,e,n){"use strict";n.r(e);var r=n(0),o=n(1),i=document.querySelector("#username"),u=document.querySelector("#reset-password-button");Object(r.k)("lix_checkpoint_reset_password_username_autofill")&&u&&u.addEventListener("click",(function(t){if(i&&i.value){var e,n=i.value;null===(e=localStorage)||void 0===e||e.setItem(o.d,n)}}))},2:function(t,e,n){t.exports=function(){"use strict";var t="aria-[a-z0-9_\\-]+|class|data-[a-z0-9_\\-]+|dir|id|role|tabindex",e="undefined"==typeof document||"textContent"in document.createElement("div")?"textContent":"innerText",n=["b","del","em","i","s","strong","sub","sup"],r=n.concat(["a","abbr","address","area","article","aside","audio","bdi","bdo","big","blockquote","br","button","center","cite","code","datalist","dd","details","dfn","div","dl","dt","fieldset","figcaption","figure","font","footer","h1","h2","h3","h4","h5","h6","header","hgroup","hr","img","ins","kbd","label","legend","li","map","mark","marquee","nav","nobr","ol","p","pre","q","rp","rt","ruby","samp","section","small","source","span","strike","table","tbody","td","tfoot","th","thead","time","tr","u","ul","var","video","wbr"]),o=[t,"alt|checked|selected|colgroup|cols|colspan|disabled|height|hidden|maxlength|method|multiple|name|placeholder|readonly|rel|required|rows|rowspan|spellcheck|target|title|width","border|caption|color|controls|coords|hreflang|label|lang|loop|marginheight|marginwidth|preload|reversed|type|usemap|clear|headers|ismap|start|datetime|accept|max|min|size|step|style|cellspacing|cellpadding"].join("|");function i(){}function u(t,e){if(e=e||"log","undefined"!=typeof window&&window&&window.jet&&"error"===e.toLowerCase())try{throw new Error(t)}catch(t){try{window.jet.error(t)}catch(t){}}"undefined"!=typeof console&&"function"==typeof console[e]&&console[e](t)}new RegExp("&#?[a-zA-Z0-9]{1,10};");var a,c,l=(c=/[&<>"'\u0000\\=]/g,a={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","\0":"�","\\":"&#92;","=":"&#61;"},function(t){return null==t?null:t.toString().replace(c,(function(t){return a[t]}))}),s=function(){var t,n,r=/&(?:([a-z0-9]+)|#x([\da-f]{1,6})|#(\d{1,8}));/gi;if("undefined"==typeof document)return function(){throw new Error("document is undefined (i.e. you are probably in Node.js)")};t=document.createElement("div");var o={nbsp:" ",lt:"<",gt:">",amp:"&",quot:'"'};return n="function"==typeof String.fromCodePoint?function(t){return String.fromCodePoint(t)}:function(t){return t<=65535?String.fromCharCode(t):"�"},function(i){return null==i?null:(i+"").replace(r,(function(r,i,u,a){return i?(c=i,o.hasOwnProperty(c)?o[c]:(t.innerHTML="&"+c+";",l=t[e],o[c]=l,l)):u||a?n(parseInt(u||a,u?16:10)||65533):"�";var c,l}))}}(),d=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function f(t){return/[<&]/.test(t)}var h,p=Array.prototype.forEach?function(t,e){Array.prototype.forEach.call(t,e)}:function(t,e){for(var n=0,r=t.length;n<r;n++)e(t[n],n)};function v(t){t=d(t)?t:[t];var e,n,i,u=0,a="<(?!/?";return a+="(?:",p(t,(function(t,c){e=t.tags||r,n=t.attrs||o,i=t.checkUrlAttrs||!1,0!==c&&(a+="|"),a+="(?:"+e.join("|")+")",a+="(?:",a+="[ \t\r\n]*",a+="|[ \t\r\n]+",a+="(?:(?:",a+="(?:"+n+")(?:=([\"'])[^'\"<>]*\\"+ ++u+")?",i&&(a+="|(?:href|src)=([\"'])(?:(?:https?|ftp|mailto|invalid)(?::|&#(?:58|x3a);)|(?:data:image/(?:gif|jpg|jpeg|png);base64,)|[/.#?]|&#(?:35|4[67]|63|x(?:2[3ef]|3f));)[^'\"<>]*\\"+ ++u),a+=")[ \t\r\n]*)+",a+=")"})),a+=")",a+="/?>)",new RegExp(a,"i")}function g(t){return v({tags:t=t||r,checkUrlAttrs:!0})}function m(t,e){var n=(e=e||{}).allowTags,r=!1!==e.hasCustomElementMarkup;return n?!g(n).test(t):r?!m.R_UNSAFE_CUSTOM_ELEMENT.test(t):!m.R_UNSAFE_HTML.test(t)}function w(t){return t.replace(/<[^>]*>|[<>'"&\\]/g,"")}function y(t,e,n){if(null==t)return null;t=t.toString();var r=e?function(t,e){var n={};return t.replace(/\{([^}]+)\}/g,(function(t,r){var o,u=t;if(n.hasOwnProperty(r))return n[r];if(e.hasOwnProperty(r)){if(!((o="string"==typeof(u=e[r]))||u instanceof i||"number"==typeof u))throw new Error("Only strings, numbers, and jSecure types are allowed as placeholder replacements.");u=o?l(u):u.toString()}return n[r]=u,u}))}(t,e):t,o=t;return f(r)&&!m(r,n)&&(r=w(r),u("Content contains tags or attributes that are not allowed:\nContent: "+o,"error")),r}function b(t,e){for(var n=+e.length,r=0,o=t.length;r<n;r++)t[o++]=e[r];return t.length=o,t}m.R_UNSAFE_HTML=g(),m.R_UNSAFE_CUSTOM_ELEMENT=v([{tags:r,checkUrlAttrs:!0},{tags:[(h={tag:"li-icon",attrs:"active|a11y-text|animate|color|size|type"}).tag],attrs:[t,h.attrs].join("|"),checkUrlAttrs:!1}]);var E={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};E.optgroup=E.option,E.tbody=E.tfoot=E.colgroup=E.caption=E.thead,E.th=E.td;var S=/<([\w:]+)/;function _(t,e){var n,r,o,i,u,a,c,l=e.createDocumentFragment(),s=[];for(u=0,c=t.length;u<c;u++)if((i=t[u])||0===i)if("string"==typeof i){for(o=o||l.appendChild(e.createElement("div")),n=(S.exec(i)||["",""])[1].toLowerCase(),A(o,(r=E[n]||E._default)[1]+i+r[2]),a=r[0];a--;)o.lastChild&&o.lastChild.nodeType===Node.ELEMENT_NODE&&(o=o.lastChild);b(s,o.childNodes),(o=l.firstChild).textContent=""}else b(s,i.nodeType?[i]:i);for(l.textContent="",i=s[u=0];i;)l.appendChild(i),i=s[++u];return l}function N(t,e){var n;if(e=e||document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument(""):document,"string"==typeof t)n=_([t],e);else{if(!d(t))return t;n=_(t,e)}return b([],n.childNodes)}var O=y,x=y;function A(t,n,r){var o=y(n,r);return f(o)?t.innerHTML=o:t[e]=o,o}function T(t,e){if(!(this instanceof T))return new T(t,e);(e=e||{}).allowTags=e.allowTags?e.allowTags.reduce((function(t,e){return t.concat(e)}),[]):null,this._string=t,this._options=e}function C(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o="",i=void 0,u=n.length;return t&&t.forEach((function(t,e){o+=t,e<u&&(i=n[e],o+=i instanceof T?i:l(i))})),x(o)}T.prototype=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(new i,{toString:function(){var t=this._string,e=this._stringVal,n=t;return void 0!==e?e:(m(t,this._options)||(n=t,t=w(t),u("UnsafeString contains tags or attributes that are not allowed.\nString: "+n,"error")),this._stringVal=t,t)}});var D=/ /g,L=/[\s\u0000<>"]|%00/,j=/\\/,I=/([.]|%2e){2}/i,P=new RegExp("^(?:HTTPS?|https?|ftp|mailto|tel|sms|blob|voyager|android-app|linkedin|chrome-extension|invalid|data:(?:(?:image/(?:gif|jpe?g|png|webp|bmp|tiff))|(?:application/x-font-woff)|(?:font/(?:opentype|ttf)))[;,]|[/.#?])");function k(t){var e=void 0;if("string"!=typeof t)return u("jSecure Warning: url must be a string","error"),"invalid://";if((e=t.trim()).indexOf(" ")>-1&&(u("jSecure Warning: url should not contain spaces: "+t,"warn"),e=e.replace(D,"+")),!P.test(e))return u("jSecure Error: URL should be absolute with allowed schemas, relative, a hash fragment or query string. "+t,"error"),"invalid://";if(L.test(e))return u("jSecure Error: not valid url character found in url: "+t,"error"),"invalid://";var n=e.split("?")[0],r=void 0,o=!1;try{r=decodeURI(n)}catch(t){o=!0}return o?(u("jSecure Error: malformed url path detected: "+n),"invalid://"):j.test(n)||I.test(n)||I.test(r)?(u("jSecure Error: malicious data found in url path: "+n,"error"),"invalid://"):t}var M={redirect:function(t){window&&(window.location.href=t)}};return{ALLOWED_TAGS:r,FORMATTING_TAGS:n,htmlEncode:l,htmlUnencode:s,log:u,mk:C,parseHTML:N,parseSelector:function(t){return"string"==typeof t&&/^(?:\s*(<[\w\W]+>)[^>]*)$/.test(t)?[]:t},processTemplate:O,reEncode:function(t){return l(s(t))},_redirector:M,redirect:function(t){var e=k(t);e===t&&M.redirect(e)},sanitizeHTML:x,sanitizeUrl:k,setElementContent:A,text:function(t){return u("jSecure.text() is deprecated. Please use jSecure.htmlEncode().","warn"),l(t)},unsafe:function(t){return t},UnsafeString:T}}()}});