!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,"C",(function(){return f})),n.d(e,"n",(function(){return s})),n.d(e,"o",(function(){return d})),n.d(e,"g",(function(){return h})),n.d(e,"j",(function(){return p})),n.d(e,"c",(function(){return v})),n.d(e,"B",(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,"A",(function(){return E})),n.d(e,"y",(function(){return S})),n.d(e,"a",(function(){return _})),n.d(e,"q",(function(){return N})),n.d(e,"f",(function(){return L})),n.d(e,"D",(function(){return O})),n.d(e,"h",(function(){return C})),n.d(e,"r",(function(){return D})),n.d(e,"E",(function(){return j})),n.d(e,"b",(function(){return I})),n.d(e,"d",(function(){return P})),n.d(e,"l",(function(){return k})),n.d(e,"F",(function(){return M})),n.d(e,"u",(function(){return U})),n.d(e,"z",(function(){return H})),n.d(e,"m",(function(){return R})),n.d(e,"v",(function(){return G})),n.d(e,"w",(function(){return z})),n.d(e,"x",(function(){return B})),n.d(e,"e",(function(){return V}));var r=n(2),o=n(1);function i(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */i=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function d(t,e,n,r){var i=e&&e.prototype instanceof w?e:w,a=Object.create(i.prototype),u=new D(r||[]);return o(a,"_invoke",{value:x(t,n,u)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=d;var p="suspendedStart",v="executing",g="completed",m={};function w(){}function y(){}function b(){}var E={};s(E,u,(function(){return this}));var S=Object.getPrototypeOf,_=S&&S(S(j([])));_&&_!==n&&r.call(_,u)&&(E=_);var N=b.prototype=w.prototype=Object.create(E);function L(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var l=h(t[o],t,i);if("throw"!==l.type){var f=l.arg,s=f.value;return s&&"object"==c(s)&&r.call(s,"__await")?e.resolve(s.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(s).then((function(t){f.value=t,a(f)}),(function(t){return n("throw",t,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function x(e,n,r){var o=p;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=A(u,r);if(c){if(c===m)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var l=h(e,n,r);if("normal"===l.type){if(o=r.done?g:"suspendedYield",l.arg===m)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=g,r.method="throw",r.arg=l.arg)}}}function A(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,A(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=h(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function T(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function j(e){if(e||""===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 y.prototype=b,o(N,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=s(b,f,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,f,"GeneratorFunction")),t.prototype=Object.create(N),t},e.awrap=function(t){return{__await:t}},L(O.prototype),s(O.prototype,l,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(d(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},L(N),s(N,f,"Generator"),s(N,u,(function(){return this})),s(N,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=j,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!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].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},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),m},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),C(n),m}},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;C(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}function a(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)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function u(t){a(i,r,o,u,c,"next",t)}function c(t){a(i,r,o,u,c,"throw",t)}u(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 f=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 s(){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 d(){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(t){w(t)&&b()&&(S(t),t.blur())}function S(t){t.hasAttribute("autofocus")&&t.removeAttribute("autofocus")}function _(t){var e=window.location.search;return Object(r.sanitizeUrl)(e?"".concat(t).concat(e):"".concat(t))}function N(t,e){var n=e,r=new RegExp("[?&]"+t+"=([^&#]*)","i").exec(n);return r?r[1]:null}function L(t){window.addEventListener("beforeunload",(function(){"function"==typeof t&&t()}))}function O(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 x,A=/JSESSIONID="?([^";]+)"?/,T=Date.now();function C(){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?A:r;if(!x||Date.now()-T>n){var i=document.cookie.match(o);x=i&&i[1]||"",T=Date.now()}return x}function D(t){c(t)!==o.g.UNDEFINED&&null!==t&&t.classList.add(o.g.HIDDEN_CLASS)}function j(t){c(t)!==o.g.UNDEFINED&&null!==t&&t.classList.remove(o.g.HIDDEN_CLASS)}function I(t,e,n){c(t)!==o.g.UNDEFINED&&null!==t&&t.addEventListener(e,n)}function P(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 k(){return l("funcaptchaChallengeSource")}function M(){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 U(){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 H(t){return JSON.parse(t.replace("<!DOCTYPE html>","").trim())}function R(){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 W(){return"undefined"!=typeof window&&window&&"node"!==window.appEnvironment}function G(){var t,e;return W()&&(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 F(t){var e;return!(!W()||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 q(t){var e;return!(!W()||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 z(t){return F(t)||q(t)}function B(){var t={closeWebView:""};return F(t)||q(t)}function V(t){return J.apply(this,arguments)}function J(){return(J=u(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 a})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return l})),n.d(e,"d",(function(){return f})),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"}),a={QR_LINK_INVALID:"QR_LINK_INVALID",PASSWORD_RESET:"PASSWORD_RESET",SETTINGS_CHANGE:"SETTINGS_CHANGE"},u={COMPLETED:"COMPLETED",CANCELLED:"CANCELLED"},c={DISPLAY:"DISPLAY"},l={EXPANDED:"expanded",COLLAPSED:"collapsed"},f="login:form:username"},115:function(t,e,n){"use strict";n.r(e);var r=n(0),o=n(1),i=document.querySelector("#username"),a=document.querySelector("#reset-password-button");Object(r.k)("lix_checkpoint_reset_password_username_autofill")&&a&&a.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 a(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 u,c,l=(c=/[&<>"'\u0000\\=]/g,u={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","\0":"�","\\":"&#92;","=":"&#61;"},function(t){return null==t?null:t.toString().replace(c,(function(t){return u[t]}))}),f=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,a,u){return i?(c=i,o.hasOwnProperty(c)?o[c]:(t.innerHTML="&"+c+";",l=t[e],o[c]=l,l)):a||u?n(parseInt(a||u,a?16:10)||65533):"�";var c,l}))}}(),s=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function d(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=s(t)?t:[t];var e,n,i,a=0,u="<(?!/?";return u+="(?:",p(t,(function(t,c){e=t.tags||r,n=t.attrs||o,i=t.checkUrlAttrs||!1,0!==c&&(u+="|"),u+="(?:"+e.join("|")+")",u+="(?:",u+="[ \t\r\n]*",u+="|[ \t\r\n]+",u+="(?:(?:",u+="(?:"+n+")(?:=([\"'])[^'\"<>]*\\"+ ++a+")?",i&&(u+="|(?:href|src)=([\"'])(?:(?:https?|ftp|mailto|invalid)(?::|&#(?:58|x3a);)|(?:data:image/(?:gif|jpg|jpeg|png);base64,)|[/.#?]|&#(?:35|4[67]|63|x(?:2[3ef]|3f));)[^'\"<>]*\\"+ ++a),u+=")[ \t\r\n]*)+",u+=")"})),u+=")",u+="/?>)",new RegExp(u,"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,a=t;if(n.hasOwnProperty(r))return n[r];if(e.hasOwnProperty(r)){if(!((o="string"==typeof(a=e[r]))||a instanceof i||"number"==typeof a))throw new Error("Only strings, numbers, and jSecure types are allowed as placeholder replacements.");a=o?l(a):a.toString()}return n[r]=a,a}))}(t,e):t,o=t;return d(r)&&!m(r,n)&&(r=w(r),a("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,a,u,c,l=e.createDocumentFragment(),f=[];for(a=0,c=t.length;a<c;a++)if((i=t[a])||0===i)if("string"==typeof i){for(o=o||l.appendChild(e.createElement("div")),n=(S.exec(i)||["",""])[1].toLowerCase(),x(o,(r=E[n]||E._default)[1]+i+r[2]),u=r[0];u--;)o.lastChild&&o.lastChild.nodeType===Node.ELEMENT_NODE&&(o=o.lastChild);b(f,o.childNodes),(o=l.firstChild).textContent=""}else b(f,i.nodeType?[i]:i);for(l.textContent="",i=f[a=0];i;)l.appendChild(i),i=f[++a];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(!s(t))return t;n=_(t,e)}return b([],n.childNodes)}var L=y,O=y;function x(t,n,r){var o=y(n,r);return d(o)?t.innerHTML=o:t[e]=o,o}function A(t,e){if(!(this instanceof A))return new A(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 T(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,a=n.length;return t&&t.forEach((function(t,e){o+=t,e<a&&(i=n[e],o+=i instanceof A?i:l(i))})),O(o)}A.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),a("UnsafeString contains tags or attributes that are not allowed.\nString: "+n,"error")),this._stringVal=t,t)}});var C=/ /g,D=/[\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 a("jSecure Warning: url must be a string","error"),"invalid://";if((e=t.trim()).indexOf(" ")>-1&&(a("jSecure Warning: url should not contain spaces: "+t,"warn"),e=e.replace(C,"+")),!P.test(e))return a("jSecure Error: URL should be absolute with allowed schemas, relative, a hash fragment or query string. "+t,"error"),"invalid://";if(D.test(e))return a("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?(a("jSecure Error: malformed url path detected: "+n),"invalid://"):j.test(n)||I.test(n)||I.test(r)?(a("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:f,log:a,mk:T,parseHTML:N,parseSelector:function(t){return"string"==typeof t&&/^(?:\s*(<[\w\W]+>)[^>]*)$/.test(t)?[]:t},processTemplate:L,reEncode:function(t){return l(f(t))},_redirector:M,redirect:function(t){var e=k(t);e===t&&M.redirect(e)},sanitizeHTML:O,sanitizeUrl:k,setElementContent:x,text:function(t){return a("jSecure.text() is deprecated. Please use jSecure.htmlEncode().","warn"),l(t)},unsafe:function(t){return t},UnsafeString:A}}()}});