!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=7)}([function(e,t,r){"use strict";(function(e){function n(e){let t=e.domain;return t?t.split(".").slice(-2).join("."):""}function i(e){return'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)?e.slice(1,-1):e}r.d(t,"a",function(){return L}),r.d(t,"b",function(){return P}),r.d(t,"c",function(){return R}),r.d(t,"d",function(){return o}),r.d(t,"e",function(){return I}),window.encodeURIComponent;var o=Object.freeze({__proto__:null,getPageKey:function(e){let t=e.querySelector('meta[name="pageKey"]');return t?t.content+"_jsbeacon":""},getPageTag:function(e){let t=e.querySelector('meta[name="linkedin:pageTag"]');return t&&t.content||""},getLocale:function(e){let t=e.querySelector('meta[name="locale"]');return t&&t.content||""},getDomain:n,trimDoubleQuotes:i});const a={ARROW_DOWN:"ArrowDown",ARROW_RIGHT:"ArrowRight",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ESCAPE:"Escape",SPACEBAR:" ",ENTER:"Enter"},s={Down:a.ARROW_DOWN,Right:a.ARROW_RIGHT,Left:a.ARROW_LEFT,Up:a.ARROW_UP,Esc:a.ESCAPE,Spacebar:a.SPACEBAR};function l(e){return s[e]||e}const c=".show-more-less-state",d="show-more-less-state__label",u=".show-more-less-state__label-more",h=".show-more-less-state__label-less",m=".see-more-less-list__list",p="see-more-less-list__list-item";class g{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p,n=arguments[3];if(!e)throw Error("An element must be provided to SeeMoreLessList");this.el=e,this.listSelector=t,this.stateCheckbox=this.el.querySelector(c),this.listEl=this.el.querySelector(this.listSelector),this.stateLabels={showMore:this.el.querySelector(u),showLess:this.el.querySelector(h)},this.currentItemEl,n&&(this.currentItemEl=this.listEl.querySelector(n)),this.listItemClass=r,this._attachEventListeners()}_attachEventListeners(){this.el.addEventListener("keydown",this._handleKeydownNavEvents.bind(this)),this.stateCheckbox.addEventListener("change",this._handleCheckboxStateChange.bind(this)),this.el.addEventListener("keyup",e=>{l(e.key)===a.SPACEBAR&&e.preventDefault()})}_handleCheckboxStateChange(){this.stateCheckbox.checked?this._handleFocusAtOpen():this._handleFocusAtCLose(),Object.keys(this.stateLabels).forEach(e=>{this.stateLabels[e].setAttribute("aria-expanded",this.stateCheckbox.checked)})}_handleFocusAtOpen(){this.currentItemEl?this.currentItemEl.focus():this.stateLabels.showLess.focus()}_handleFocusAtCLose(){this.stateLabels.showMore.focus()}_checkboxStateChange(e){this.stateCheckbox.checked=e,this._handleCheckboxStateChange()}_handleKeydownNavEvents(e){switch(l(e.key)){case a.ENTER:case a.SPACEBAR:e.target.classList.contains(d)&&(e.preventDefault(),this._checkboxStateChange(!this.stateCheckbox.checked));break;case a.ARROW_UP:this._checkboxStateChange(!0);break;case a.ARROW_DOWN:case a.ESCAPE:this._checkboxStateChange(!1);break;case a.ARROW_LEFT:if(this.stateCheckbox.checked&&e.target.classList.contains(this.listItemClass)){let t=e.target.parentNode.previousSibling;t&&t.firstChild.focus()}break;case a.ARROW_RIGHT:if(this.stateCheckbox.checked&&e.target.classList.contains(this.listItemClass)){let t=e.target.parentNode.nextSibling;t&&t.firstChild.focus()}}}}const _=".dropdown__list",f="dropdown__link",E=".dropdown__link";class O extends g{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E;if(!e)throw Error("An element must be provided to Dropdown");super(e,_,t,r),this.listFirstChild=this.listEl.firstChild,this.listLastChild=this.listEl.lastChild,this._attachCustomDropdownEventListeners()}_attachCustomDropdownEventListeners(){document.addEventListener("click",this._handleBodyClick.bind(this)),this.el.addEventListener("keydown",e=>{"Tab"===e.key&&this._handleTab(e)})}_handleBodyClick(e){this.stateCheckbox.checked&&e.target!==this.el&&!this.el.contains(e.target)&&this._checkboxStateChange(!1)}_handleTab(e){(this.listLastChild.contains(e.target)&&!e.shiftKey||this.listFirstChild.contains(e.target)&&e.shiftKey)&&this._checkboxStateChange(!1)}}const T="language-selector__link",b=".language-selector__link--selected",v="data-locale",y=31536e6;class L extends O{constructor(e){if(!e)throw Error("An element must be provided to LanguageSelector");super(e,T,b),this._attachCustomEventListeners()}_attachCustomEventListeners(){this.listEl.addEventListener("click",this._handleLocaleButtonClick.bind(this))}_handleLocaleButtonClick(e){const t=e.target.getAttribute(v);if(t){const e=this.getLangCookieString(t);null!==e&&(document.cookie=e),location.reload()}}getLangCookieString(e){let t=null;if(null!==e){const r=e.toLocaleLowerCase().replace("_","-"),i=n(document);let o=new Date;o.setTime(o.getTime()+y),t=`lang="v=2&lang=${r}";path=/;domain=${i};expires=${o.toUTCString()}`}return t}}Object.assign;var S=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function N(e,t,r){const n=new RegExp(`([\\?&])${r?t:encodeURIComponent(t)}=([^&#]*)`).exec(e);return n&&(r?n[2]:decodeURIComponent(n[2]))}function C(e){const t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return t&&t[2]}var R=Object.freeze({__proto__:null,closest:function(e,t){if(!e)return null;let r=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;for(;e&&!r.call(e,t);)e=e.parentElement;return e},onload:function(e){"complete"===document.readyState?e():window.addEventListener("load",()=>{setTimeout(e)})},makeArray:function(e){return null==e||"object"!=typeof e?[]:Array.prototype.slice.call(e)},outerWidth:function(e){let t=e.offsetWidth,r=getComputedStyle(e);return t+((parseInt(r.marginLeft,10)||0)+(parseInt(r.marginRight,10)||0))},elementInViewport:function(e){const t=e.getBoundingClientRect(),r=window.innerHeight||document.documentElement.clientHeight,n=window.innerWidth||document.documentElement.clientWidth,i=t.top<=r&&t.top+t.height>=0,o=t.left<=n&&t.left+t.width>=0;return i&&o},getQueryParam:N,addQueryParam:function(e,t,r,n){if(!e||!t)throw new Error(`Required param of addQueryParam missing: url = ${e},  key = ${t}`);t=encodeURIComponent(t),r=encodeURIComponent(r);const i=N(e,t,!0);if(i)return n?e.replace(i,r):e;{const n=e.indexOf("?");var o=e.split("#"),a=S(o,2);let i=a[0],s=a[1],l="&";return n<0?l="?":n===e.length-1&&(l=""),s&&(s=`#${s}`),`${i}${l}${t}=${r}${s||""}`}},debounce:function(e,t,r){var n=this;if("function"!=typeof e)throw new TypeError("Expected a function.");let i;return function(){for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];const l=r&&!i;clearTimeout(i),i=setTimeout(()=>{i=null,r||e.apply(n,a)},t),l&&e.apply(n,a)}},getCookie:C,dispatchCustomEvent:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=document.createEvent("CustomEvent");n.initCustomEvent(t,!0,!0,r),e.dispatchEvent(n)},getDeferredPromise:function(){let e,t;const r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r}});function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.method;let n=void 0===r?"GET":r;var o=t.headers;let a=void 0===o?{}:o;var s=t.sendCookies;let l=void 0===s||s;var c=t.skipCsrfToken;let d=void 0!==c&&c;var u=t.postData;let h=void 0===u?void 0:u;return new Promise((t,r)=>{const o=new XMLHttpRequest;if(o.addEventListener("load",function(){if(o.status>=200&&o.status<300||304===o.status)t({status:o.status,responseText:o.responseText});else{const t=new Error(`${n} request for ${e} has failed with status code ${o.status}`);t.response={status:o.status,responseText:o.responseText},r(t)}}),o.addEventListener("error",function(e){r(e)}),o.open(n,e,!0),o.withCredentials=l,Object.keys(a).forEach(e=>{o.setRequestHeader(e,a[e])}),!d){const e=C("JSESSIONID");e&&o.setRequestHeader("Csrf-Token",i(e))}o.send(h)})}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;const A={COPY:"copy",LINKEDIN:"linkedin",TWITTER:"twitter",FACEBOOK:"facebook"};Object.keys(A).map(e=>A[e]);const w={};function P(e){const t=document.getElementById(e);if(!t&&void 0!==w[e])return w[e];if(!t)return console.warn(`Element with id: ${e} not found`),w[e]=null,w[e];try{w[e]=JSON.parse(t.firstChild.nodeValue)}catch(t){console.warn(`Error fetching embedded content with id: ${e}`),w[e]=null}return t.parentNode.removeChild(t),w[e]}function F(){const e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!e||0===e.trim().length};return e.errorMessageSuffix="error_empty",e}function j(e){const t=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").length<e};return t.errorMessageSuffix="error_too_short",t}function k(e){const t=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").length>e};return t.errorMessageSuffix="error_too_long",t}["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])",'[tabindex="0"]'].join(","),function(e){new RegExp("<(?!/?(?:"+e.allowedTags+")(?:[ \t\r\n]*/?>|[ \t\r\n]+(?:(?:(?:"+e.allowedAttributes+")(?:=([\"'])[^'\"<>]*\\1)?|(?:"+e.allowedURLAttributes+")=([\"'])(?:(?:"+e.allowedURLSchemes+")(?::|&#(?:58|x3a);)|[/.#?]|&#(?:35|4[67]|63|x(?:2[3ef]|3f));)[^'\"<>]*\\2)[ \t\r\n]*)+/?>))","i")}({allowedTags:"a|abbr|address|area|article|aside|audio|b|bdi|bdo|big|blockquote|br|button|center|cite|code|datalist|dd|del|details|dfn|div|dl|dt|em|fieldset|figcaption|figure|font|footer|h[1-6]|header|hgroup|hr|i|img|ins|kbd|label|legend|li|map|mark|marquee|nav|nobr|ol|p|pre|q|rp|rt|ruby|s|samp|section|small|source|span|strike|strong|sub|sup|table|tbody|td|tfoot|th|thead|time|tr|u|ul|var|video|wbr",allowedAttributes:"alt|aria-[a-z0-9_\\-]+|border|caption|checked|class|colgroup|color|cols|colspan|controls|coords|data-[a-z0-9_\\-]+|dir|disabled|height|hidden|hreflang|id|label|loop|marginheight|marginwidth|maxlength|method|multiple|name|preload|readonly|rel|required|reversed|role|rows|rowspan|spellcheck|tabindex|target|title|type|usemap|width|clear|headers|ismap|lang|start|datetime|accept|max|min|placeholder|size|step",allowedURLAttributes:"href|src",allowedURLSchemes:"https?|ftp|mailto"}),F(),j(3),k(128),F(),j(6),k(400);var U=window||e;const D="utag_data";U[D]||(U[D]={});const M="undefined"!=typeof window&&window&&"node"!==window.appEnvironment;U.utag_cfg_ovrd=U.utag_cfg_ovrd||{},U.utag_cfg_ovrd.noview=!0,U.utag_cfg_ovrd.nocookie=!0,M&&new RegExp("bot|google|aolbuild|baidu|bing|msn|duckduckgo|teoma|slurp|yandex|sogou|facebook|alexa","i").test(U.navigator.userAgent)}).call(this,r(5))},function(e,t,r){"use strict";r.d(t,"a",function(){return it}),r.d(t,"b",function(){return Ye}),r.d(t,"c",function(){return le});var n=r(0),i="aria-[a-z0-9_\\-]+|class|data-[a-z0-9_\\-]+|dir|id|role|tabindex",o="undefined"==typeof document||"textContent"in document.createElement("div")?"textContent":"innerText",a=["b","del","em","i","s","strong","sub","sup"],s=a.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"]),l=[i,"alt|checked|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("|"),c="href|src",d="data:image/(?:gif|jpg|jpeg|png);base64,",u="https?|ftp|mailto|invalid";function h(){}function m(e,t){if(t=t||"log",window&&window.jet&&"error"===t.toLowerCase())try{throw new Error(e)}catch(e){try{window.jet.error(e)}catch(e){}}"undefined"!=typeof console&&"function"==typeof console[t]&&console[t](e)}var p,g,_=(g=/[&<>"'\u0000\\=]/g,p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","\0":"�","\\":"&#92;","=":"&#61;"},function(e){return null==e?null:e.toString().replace(g,function(e){return p[e]})}),f=function(){var e,t,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)")};e=document.createElement("div");var n={nbsp:" ",lt:"<",gt:">",amp:"&",quot:'"'};return t="function"==typeof String.fromCodePoint?function(e){return String.fromCodePoint(e)}:function(e){return e<=65535?String.fromCharCode(e):"�"},function(i){return null==i?null:(i+"").replace(r,function(r,i,a,s){return i?(l=i,n.hasOwnProperty(l)?n[l]:(e.innerHTML="&"+l+";",c=e[o],n[l]=c,c)):a||s?t(parseInt(a||s,a?16:10)||65533):"�";var l,c})}}(),E=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function O(e){return/[<&]/.test(e)}var T,b=Array.prototype.forEach?function(e,t){Array.prototype.forEach.call(e,t)}:function(e,t){for(var r=0,n=e.length;r<n;r++)t(e[r],r)},v="[ \t\r\n]*",y="[ \t\r\n]+";function L(e){e=E(e)?e:[e];var t,r,n,i=0,o="<(?!/?";return o+="(?:",b(e,function(e,a){t=e.tags||s,r=e.attrs||l,n=e.checkUrlAttrs||!1,0!==a&&(o+="|"),o+="(?:"+t.join("|")+")",o+="(?:",o+=v,o+="|"+y,o+="(?:(?:",o+="(?:"+r+")(?:=([\"'])[^'\"<>]*\\"+ ++i+")?",n&&(o+="|(?:"+c+")=([\"'])(?:(?:"+u+")(?::|&#(?:58|x3a);)|(?:"+d+")|[/.#?]|&#(?:35|4[67]|63|x(?:2[3ef]|3f));)[^'\"<>]*\\"+ ++i),o+=")"+v+")+",o+=")"}),o+=")",o+="/?>)",new RegExp(o,"i")}function S(e){return L({tags:e=e||s,checkUrlAttrs:!0})}function N(e,t){var r=(t=t||{}).allowTags,n=!1!==t.hasCustomElementMarkup;return r?!S(r).test(e):n?!N.R_UNSAFE_CUSTOM_ELEMENT.test(e):!N.R_UNSAFE_HTML.test(e)}function C(e){return e.replace(/<[^>]*>|[<>'"&\\]/g,"")}function R(e,t,r){if(null==e)return null;e=e.toString();var n=t?function(e,t){var r={};return e.replace(/\{([^}]+)\}/g,function(e,n){var i,o=e;if(r.hasOwnProperty(n))return r[n];if(t.hasOwnProperty(n)){if(!((i="string"==typeof(o=t[n]))||o instanceof h||"number"==typeof o))throw new Error("Only strings, numbers, and jSecure types are allowed as placeholder replacements.");o=i?_(o):o.toString()}return r[n]=o,o})}(e,t):e,i=e;return O(n)&&!N(n,r)&&(n=C(n),m("Content contains non-whitelisted tags or attributes:\nContent: "+i,"error")),n}function I(e,t){for(var r=+t.length,n=0,i=e.length;n<r;n++)e[i++]=t[n];return e.length=i,e}N.R_UNSAFE_HTML=S(),N.R_UNSAFE_CUSTOM_ELEMENT=L([{tags:s,checkUrlAttrs:!0},{tags:[(T={tag:"li-icon",attrs:"active|a11y-text|animate|color|size|type"}).tag],attrs:[i,T.attrs].join("|"),checkUrlAttrs:!1}]);var A={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,"",""]};A.optgroup=A.option,A.tbody=A.tfoot=A.colgroup=A.caption=A.thead,A.th=A.td;var w=/<([\w:]+)/;function P(e,t){var r,n,i,o,a,s,l,c=t.createDocumentFragment(),d=[];for(a=0,l=e.length;a<l;a++)if((o=e[a])||0===o)if("string"==typeof o){for(i=i||c.appendChild(t.createElement("div")),r=(w.exec(o)||["",""])[1].toLowerCase(),k(i,(n=A[r]||A._default)[1]+o+n[2]),s=n[0];s--;)i.lastChild&&i.lastChild.nodeType===Node.ELEMENT_NODE&&(i=i.lastChild);I(d,i.childNodes),(i=c.firstChild).textContent=""}else I(d,o.nodeType?[o]:o);for(c.textContent="",o=d[a=0];o;)c.appendChild(o),o=d[++a];return c}var F=R,j=R;function k(e,t,r){var n=R(t,r);return O(n)?e.innerHTML=n:e[o]=n,n}function U(e,t){if(!(this instanceof U))return new U(e,t);(t=t||{}).allowTags=t.allowTags?t.allowTags.reduce(function(e,t){return e.concat(t)},[]):null,this._string=e,this._options=t}U.prototype=function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}(new h,{toString:function(){var e=this._string,t=this._stringVal,r=e;return void 0!==t?t:(N(e,this._options)||(r=e,e=C(e),m("UnsafeString contains non-whitelisted tags or attributes.\nString: "+r,"error")),this._stringVal=e,e)}});const D=/ /g,M=/[\s\u0000<>"]|%00/,x=/\\/,H=/([.]|%2e){2}/i;let G=new RegExp("^(?:https?|ftp|mailto|tel|sms|blob|voyager|android-app|linkedin|chrome-extension|invalid|data:(?:(?:image/(?:gif|jpe?g|png))|(?:application/x-font-woff)|(?:font/(?:opentype|ttf)))[;,]|[/.#?])");function J(e){let t;if("string"!=typeof e)return m("jSecure Warning: url must be a string","error"),"invalid://";if((t=e.trim()).indexOf(" ")>-1&&(m("jSecure Warning: url should not contain spaces: "+e,"warn"),t=t.replace(D,"+")),!G.test(t))return m("jSecure Error: URL should be absolute with allowed schemas, relative, a hash fragment or query string. "+e,"error"),"invalid://";if(M.test(t))return m("jSecure Error: not valid url character found in url: "+e,"error"),"invalid://";let r=t.split("?")[0];return x.test(r)||H.test(r)||H.test(decodeURI(r))?(m("jSecure Error: malicious data found in url path: "+r,"error"),"invalid://"):e}const q={redirect(e){window&&(window.location.href=e)}};var B={ALLOWED_TAGS:s,FORMATTING_TAGS:a,htmlEncode:_,htmlUnencode:f,log:m,mk:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];let i,o="",a=r.length;return e&&e.forEach(function(e,t){o+=e,t<a&&(i=r[t],o+=i instanceof U?i:_(i))}),j(o)},parseHTML:function(e,t){var r;if(t=t||document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument(""):document,"string"==typeof e)r=P([e],t);else{if(!E(e))return e;r=P(e,t)}return I([],r.childNodes)},parseSelector:function(e){return"string"==typeof e&&/^(?:\s*(<[\w\W]+>)[^>]*)$/.test(e)?[]:e},processTemplate:F,reEncode:function(e){return _(f(e))},_redirector:q,redirect:function(e){const t=J(e);t===e&&q.redirect(t)},sanitizeHTML:j,sanitizeUrl:J,setElementContent:k,text:function(e){return m("jSecure.text() is deprecated. Please use jSecure.htmlEncode().","warn"),_(e)},unsafe:function(e){return e},UnsafeString:U};function W(e){e.querySelector("div.alert").classList.add("hidden")}const $=/^http[s]?:\/\/(qprod\.)?www\.linkedin(?:-ei)?\.(com|cn)$/,V="990339570472-k6nqn1tpmitg8pui82bfaun3jrpmiuhs.apps.googleusercontent.com",K="https://accounts.google.com",z={JOIN_FORM:{FIRST_NAME_INPUT:"#first-name",FIRST_NAME_LABEL:'[for="first-name"]',LAST_NAME_INPUT:"#last-name",LAST_NAME_LABEL:'[for="last-name"]',PHONETIC_FIRST_NAME_INPUT:"#phonetic-first-name",PHONETIC_LAST_NAME_INPUT:"#phonetic-last-name",EMAIL_INPUT:"#email-or-phone",EMAIL_LABEL:'[for="email-or-phone"]',PROFILE_CARD:".profile-card"},PROFILE_CARD:{PHOTO:".profile-card__photo",NAME:".profile-card__info-name",NOT_YOU:".profile-card__not-you",EMAIL:".profile-card__info-email",EDIT_ICON:".profile-card__edit-icon",EDIT_PHOTO:{CANCEL_ICON:".profile-card__edit-photo-cancel-icon",MODAL:".profile-card__edit-photo-modal",TEXT:".profile-card__edit-photo-text"}}},Q={HIDDEN:"hidden"},Y={VALUE:"value",SRC:"src",REQUIRED:"required"},Z={FACEBOOK:"FACEBOOK",GOOGLE:"GOOGLE",WECHAT:"WECHAT"},X={PAGE_VIEW_EVENT:"PageViewEvent",ENTITY_ACTIVITY_EVENT:"EntityActivityEvent",CONTROL_INTERACTION_EVENT:"ControlInteractionEvent"},ee={FOCUS:"FOCUS",SHORT_PRESS:"SHORT_PRESS"},te={CLICK:"click",VIEW:"view"},re={ERROR_ALERT:"error-alert",ERROR_ALERT_DISMISS_BUTTON:"error-alert-dismiss-button",GOOGLE_ONE_TAP_SIGNUP_BUTTON:"google-one-tap-signup-button",GOOGLE_ONE_TAP_CLOSE_BUTTON:"google-one-tap-close-button",JOIN_WITH_GOOGLE_BUTTON:"join-with-google-button",JOIN_WITH_FACEBOOK_BUTTON:"join-with-facebook-button",AGREE_AND_JOIN_BUTTON:"agree-and-join-button",CONTINUE_BUTTON:"continue-button",CHALLENGE_DIALOG:"challenge-dialog",CHALLENGE_SOLVED:"challenge-solved",CHALLENGE_FAILED:"challenge-failed",PROFILE_CARD_NOT_YOU_BUTTON:"profile-card-not-you-button",DELETE_PHOTO_BUTTON:"delete-photo-button"},ne={GOOLE_ONE_TAP:{GOOGLE_ONE_TAP_SIGNUP_IGNORED:"google-one-tap-signup-ignored",GOOGLE_ONE_TAP_IMPRESSION:"google-one-tap-impression-success",GOOGLE_ONE_TAP_NO_ACCOUNT:"google-one-tap-no-account",GOOGLE_ONE_TAP_ERROR:"google-one-tap-error",GOOGLE_ONE_TAP_REQUEST_FAIL_ERROR:"google-one-tap-request-fail-error",GOOGLE_ONE_TAP_ILLEGAL_REQUEST_ERROR:"google-one-tap-illegal-request-error",GOOGLE_ONE_TAP_INITIALIZATION_ERROR:"google-one-tap-initialization-error",GOOGLE_ONE_TAP_CONFIGURATION_ERROR:"google-one-tap-configuration-error"},THIRD_PARTY_JOIN_BUTTON:{FACEBOOK_IMPRESSION:"facebook-impression",FACEBOOK_ERROR:"facebook-error",GOOGLE_IMPRESSION:"google-impression",GOOGLE_ERROR:"google-error",GAAP_ERROR:"gaap-error"},JOIN_REQUEST:{JOIN_REQUEST_SUCCESS:"request-success",JOIN_REQUEST_FAILURE:"request-failure",JOIN_REQUEST_FAILURE_WITH_GOOGLE_ONE_TAP:"request-failure-with-google-one-tap",JOIN_REQUEST_FAILURE_WITH_FACEBOOK:"request-failure-with-facebook",JOIN_REQUEST_FAILURE_WITH_GOOGLE:"request-failure-with-google"},ALERT:{VALIDATION_FAILURE_ALERT:"validation-failure-alert"}};function ie(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;10===r||(window.tracking?window.tracking.then(r=>{r.fireTrackingEvent(e,t)}):window.setTimeout(()=>{ie(e,t,r+1)},500))}function oe(e,t){e.forEach(e=>{const r=t?e.target:e,i={header:{},pageType:"form",requestHeader:{interfaceLocale:n.d.getLocale(document)||null},trackingInfo:{clientTimestamp:Date.now(),pageTag:n.d.getPageTag(document)||null,source:"registration-ui-lib",formId:r.id}};ie(X.PAGE_VIEW_EVENT,i),t&&t.unobserve(r)})}function ae(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!n.d.getPageKey(document)||!e.controlName)return;const t={header:{},requestHeader:{},controlUrn:function(e){if(n.d.getPageKey(document)&&n.d.getPageKey)return`urn:li:control:${n.d.getPageKey(document)}-${e}`}(e.controlName),interactionType:e.interactionType||ee.FOCUS};ie(X.CONTROL_INTERACTION_EVENT,t)}function se(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!n.d.getPageKey(document)||!e.trackingCode)return;const t={header:{},pageType:"form",requestHeader:{interfaceLocale:n.d.getLocale(document)||null},trackingCode:`${n.d.getPageKey(document)}-${e.trackingCode}`,activityType:e.activityType||te.CLICK,pageKey:n.d.getPageKey(document),attributes:e.customData||{}};ie(X.ENTITY_ACTIVITY_EVENT,t)}function le(e,t){const r=e.querySelector("div.alert"),i=r.querySelector('p[class="alert-content"]');B.setElementContent(i,t||Object(n.b)("i18n_server_generic_error")),r.classList.remove("hidden"),ae({controlName:re.ERROR_ALERT,interactionType:ee.SHORT_PRESS})}const ce=/\!|\@|\#|\$|\%|\^|\&|\*|\+|\=|\||<|\>|\?|\:|\;/,de=/(.)\1{3}/,ue=/linkedin/i,he=/\d\d/,me=new RegExp("([a-zA-Z0-9]+://)?([a-zA-Z0-9_]+:[a-zA-Z0-9_]+@)?([a-zA-Z0-9.-]+\\.[A-Za-z]{2,4})(:[0-9]+)?(/.*)?"),pe=/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,ge=/^[\u4E00-\u9FFF|\u3400-\u4DBF|\uF900-\uFAFF]*$/,_e=/^[ぁ-ゔゞ゛゜ー]*$/,fe=/^[+]?[\s.\/0-9]*[(]?[0-9]{1,4}[)]?[-\s.\/0-9]*$/,Ee=e=>{const t=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").length<=e};return t.errorMessagePrefix="i18n_tooLong_",t},Oe=e=>{const t=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").length>=e};return t.errorMessagePrefix="i18n_tooShort_",t},Te=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!he.test(e)};Te.errorMessagePrefix="i18n_noConsecutiveDigits_";const be=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!ce.test(e)};be.errorMessagePrefix="i18n_noForbiddenCharacters_";const ve=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!de.test(e)};ve.errorMessagePrefix="i18n_noFourConsecutiveDuplicates_";const ye=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!ue.test(e)};ye.errorMessagePrefix="i18n_noLinkedIn_";const Le=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!me.test(e)};Le.errorMessagePrefix="i18n_noUrl_";const Se=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return ge.test(e)};Se.errorMessagePrefix="i18n_onlyChinese_";const Ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return _e.test(e)};Ne.errorMessagePrefix="i18n_onlyPhonetic_";const Ce=function(){return""!==(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim()};Ce.errorMessagePrefix="i18n_required_";const Re=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return pe.test(e)};Re.errorMessagePrefix="i18n_invalidFormat_";const Ie=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return fe.test(e)};Ie.errorMessagePrefix="i18n_invalidFormat_";const Ae=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return pe.test(e)||fe.test(e)};Ae.errorMessagePrefix="i18n_invalidFormat_";const we=[Ee(50),be,Te,ve,ye,Le],Pe=[Ce].concat(we),Fe=[Ne,Ee(50),ve],je={"first-name":Pe,"last-name":Pe,"phonetic-first-name":Fe,"phonetic-last-name":Fe,"real-name":[Ce,Se,Ee(4),Oe(2)],"email-or-phone":[Ce,Ee(128),Ae],"email-address":[Ce,Ee(128),Re],"optional-email-address":[Ee(128),(e=>{const t=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""===t||e(t)};return t.errorMessagePrefix=e.errorMessagePrefix,t})(Re)],"phone-number":[Ce,Ie],password:[Ce,Oe(6),Ee(200)]},ke={button:!0,reset:!0,submit:!0,checkbox:!0},Ue=e=>!ke[e.type],De={"email-or-phone":"emailOrPhoneNumber","optional-email-address":"emailAddress","phone-number":"phoneNumber","email-address":"emailAddress",password:"password","first-name":"firstName","last-name":"lastName","phonetic-first-name":"phoneticFirstName","phonetic-last-name":"phoneticLastName"};function Me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};let t=e.name,r=e.value;const n=je[t];if(!n)throw new Error(`No validation rules for element named ${t}`);return n.reduce((e,n)=>(n(r)||e.push(n.errorMessagePrefix+t),e),[])}const xe={WIDTH:790,HEIGHT:580,WINDOW_NAME:"auth_popup"},He={THIRD_PARTY_CONTAINER:".third-party-join__container",THIRD_PARTY_BUTTON:".third-party-join__btn"};class Ge{constructor(e){if(!e)throw new Error("No element passed in.");let t;switch(this.element=e,this.provider=Object(n.b)("dust-var-provider"),this.show(),this._setupGaapCallback(),this._attachEventListeners(),this.provider){case Z.FACEBOOK:t=ne.THIRD_PARTY_JOIN_BUTTON.FACEBOOK_IMPRESSION;break;case Z.GOOGLE:t=ne.THIRD_PARTY_JOIN_BUTTON.GOOGLE_IMPRESSION;break;case Z.WECHAT:t=ne.THIRD_PARTY_JOIN_BUTTON.WECHAT_IMPRESSION}se({trackingCode:t,activityType:te.VIEW})}onUserInfoFetch(){}onError(){}hide(){this.element.classList.add(Q.HIDDEN)}show(){this.element.classList.remove(Q.HIDDEN)}_setupGaapCallback(){window.thirdPartyCallback=((e,t)=>{if(this.gaapAuthWindow.close(),""!==t||0!==Me({name:"email-or-phone",value:e}).length)return this.onError(this.provider),se({trackingCode:ne.THIRD_PARTY_JOIN_BUTTON.GAAP_ERROR,activityType:te.CLICK,customData:{provider:this.provider,errorContent:t}}),Promise.reject(t);const r=function(e,t){return Object(n.e)(B.sanitizeUrl(`${Object(n.b)("dust-var-callbackUrl")}${e}?handle=${t}`)).then(e=>e.responseText)}(this.provider,e).then(t=>(this.element.classList.add(Q.HIDDEN),function(e,t){const r={id:t,phoneticFirstName:"",phoneticLastName:"",displayDigitalMediaAssetUrn:"",firstName:"",lastName:"",profilePictureUrl:""};return e?(r.phoneticFirstName=e.phoneticFirstName,r.phoneticLastName=e.phoneticLastName,r.displayDigitalMediaAssetUrn=e.displayDigitalMediaAssetUrn,r.firstName=e.firstName,r.lastName=e.lastName,r.profilePictureUrl=e.profilePictureUrl,r):r}(t?JSON.parse(t):t,e))).catch(e=>{let t;switch(this.onError(this.provider),this.provider){case Z.FACEBOOK:t=ne.THIRD_PARTY_JOIN_BUTTON.FACEBOOK_ERROR;break;case Z.GOOGLE:t=ne.THIRD_PARTY_JOIN_BUTTON.GOOGLE_ERROR;break;case Z.WECHAT:t=ne.THIRD_PARTY_JOIN_BUTTON.WECHAT_ERROR}throw se({trackingCode:t,activityType:te.CLICK,customData:{errorContent:e}}),e});return this.onUserInfoFetch(r),r})}_attachEventListeners(){this.element.querySelector(He.THIRD_PARTY_BUTTON).addEventListener("click",()=>{let e;switch(this.gaapAuthWindow=function(){return e=Object(n.b)("dust-var-authUrl"),window.open(B.sanitizeUrl(e),xe.WINDOW_NAME,`width=${xe.WIDTH},height=${xe.HEIGHT}`);var e}(),this.provider){case Z.FACEBOOK:e=re.JOIN_WITH_FACEBOOK_BUTTON;break;case Z.GOOGLE:e=re.JOIN_WITH_GOOGLE_BUTTON;break;case Z.WECHAT:e=re.JOIN_WITH_WECHAT_BUTTON}ae({controlName:e,interactionType:ee.SHORT_PRESS})})}}const Je=new Set(["百里","淳于","第五","東方 ","东方","東閣 ","东阁","東郭 ","东郭","東門 ","东门","端木","獨孤 ","独孤","公孫 ","公孙","公羊","公冶","公西","毌丘","穀梁 ","谷梁","賀蘭 ","贺兰","赫連 ","赫连","賀若 ","贺若","皇甫","黄斯","呼延","兰向","令狐","甪里","閭丘 ","闾丘","万俟","慕容","納蘭 ","纳兰","南宮 ","南宫","歐陽 ","欧阳","沙吒","上官","申屠","司馬 ","司马","司徒","司空","司寇","太史","澹臺 ","澹台","拓跋","完顏 ","完颜","聞人 ","闻人","巫馬 ","巫马","夏侯","鮮于 ","鲜于","西門 ","西门","軒轅 ","轩辕","楊子 ","杨子","耶律","樂正 ","乐正","尉遲 ","尉迟","宇文","長孫 ","长孙","鍾離 ","钟离","諸葛 ","诸葛","祝融","子車 ","子车","左人"]);class qe{sendFingerprint(e,t,r){const n=this.getFingerprintData(),i=new XMLHttpRequest;n["x-f-uc"]=r,n.csrf_token=t,i.open("POST",e),i.setRequestHeader("Content-type","application/json"),i.send(JSON.stringify(n))}collectInitialFingerprint(e,t,r,n){setTimeout(()=>{this.sendFingerprint(e,t,r)},n)}collectFinalFingerprint(e,t,r){return()=>{if(navigator.sendBeacon&&"undefined"!=typeof FormData){let n=this.getFingerprintData();n.csrf_token=t;let i=new FormData;i.append("x-f-uc",r);for(let e in n)n.hasOwnProperty(e)&&i.append(e,n[e]);navigator.sendBeacon(e,i)}else this.sendFingerprint(e,t,r)}}getFingerprintData(){var e={};return"undefined"!=typeof Ubba_fetch&&(e=Ubba_fetch()),e}}var Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};var We={DELETED_CSRF_TOKEN:"delete me",BROWSERID:"bcookie=",BROWSERID_VERSION_INFO:"v=2&",REGEX:{FIRST_AND_LAST_QUOTES:/^\"(.+)\"$/}};class $e{constructor(){if(this.registrationUrl=Object(n.b)("registrationUrl"),!this.registrationUrl)throw new Error('Document missing embed with element ID === "registrationUrl"')}sendCreateAccountRequest(e){const t=e.emailOrPhoneNumber,r=e.emailAddress,i=e.phoneNumber;r||i||(t.includes("@")?e.emailAddress=t:e.phoneNumber=t),e.emailAddress&&(e.botDetectionInput=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now().toString();if(!e)throw new Error("emailAddress is a required field in botDetectionInput");const r=()=>Math.floor(9e8*Math.random())+1e8,n=`${r()}:${r()}:${r()}`;return{nonce:n,clientTimestampParamValue:t,clientOutput:"",jsVersion:"",email:e,requestId:`${e}:${n}`}}(e.emailAddress));const o={method:"POST",headers:{"Csrf-Token":this._getCsrfTokenFromBcookie(),Accept:"*/*","Content-Type":"application/json","X-NuxSupportsCp":"on"},sendCookies:!0,skipCsrfToken:!0,postData:JSON.stringify(e)};return Object(n.e)(this.registrationUrl,o).catch(e=>this._handleError(e)).then(e=>this._handleResponse(e))}_getCsrfTokenFromBcookie(){const e=(n.c.getCookie("bcookie")||"").trim();if(e!==We.DELETED_CSRF_TOKEN)return e.replace(We.REGEX.FIRST_AND_LAST_QUOTES,"$1").replace(We.BROWSERID_VERSION_INFO,"")}_handleError(e){if(e.response&&e.response.responseText)try{e.response.responseObj=JSON.parse(e.response.responseText)}catch(e){}throw e}_handleResponse(e){if(e.responseObj=JSON.parse(e.responseText),e.responseObj.challengeUrl){const t=new Error(`Challenge Issued with Challenge URL: ${e.responseObj.challengeUrl}`);throw t.response=e,t}return e}}const Ve="CHALLENGE_SOLVED",Ke="CHALLENGE_FAILED",ze={dialog:".challenge-dialog",dialogCloseBtn:".challenge-dialog__close",iframe:".challenge-dialog__iframe"};class Qe{constructor(e){if(!e)throw Error("Challenge URL is required");this.complete=!1,this.challengeDialogElem=document.querySelector(ze.dialog),this.challengeIframeElem=this.challengeDialogElem.querySelector(ze.iframe),this.challengeIframeElem.src=B.sanitizeUrl(e)}showChallenge(){return new Promise((e,t)=>{const r=this._handleDialogClose.bind(this,t);this._setupEventListeners(r=>{$.test(r.origin)&&r.data||t();const n=JSON.parse(r.data);n.eventId===Ve?(ae({controlName:re.CHALLENGE_SOLVED,interactionType:ee.SHORT_PRESS}),e(n.payload)):n.eventId===Ke&&(ae({controlName:re.CHALLENGE_FAILED,interactionType:ee.SHORT_PRESS}),t(n.payload))},r),this.challengeIframeElem.onload=(()=>{this.challengeDialogElem.style.display="",this.challengeDialogElem.focus(),document.documentElement.style.overflow="hidden",ae({controlName:re.CHALLENGE_DIALOG,interactionType:ee.FOCUS})})}).then(e=>(this._tearDownEventListeners(),this._cleanup(),e)).catch(e=>{throw this._tearDownEventListeners(),this._cleanup(),e})}_setupEventListeners(e,t){const r=this.challengeDialogElem.querySelector(ze.dialogCloseBtn);r.addEventListener("click",t),window.addEventListener("message",e,!1),this._tearDownEventListeners=(()=>{r.removeEventListener("click",t),window.removeEventListener("message",e,!1)})}_tearDownEventListeners(){}_cleanup(){this.complete=!0,this.challengeIframeElem.onload=null,this.challengeDialogElem.style.display="none",this.challengeIframeElem.src="about:blank",document.documentElement.style.overflow=""}_handleDialogClose(e){this.complete||e("softFail")}_getCsrfTokenFromBcookie(){return(n.c.getCookie("bcookie")||"").trim().replace("v=2&","")}}var Ye={validationFailed:"validation-failed",validationSucceeded:"validation-succeeded",accountCreationChallenged:"account-creation-challenged",accountCreationFailed:"account-creation-failed",accountCreationSucceeded:"account-creation-succeeded",challengeClosed:"challenge-closed",challengeFailed:"challenge-failed",challengeSucceeded:"challenge-succeeded",splitJoinFormStepChange:"split-join-form-step-change",thirdPartyProfileCardToggled:"third-party-profile-card-toggled"};function Ze(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body).querySelectorAll(e);t.length&&Array.from(t).forEach(e=>e.classList.remove(Q.HIDDEN))}function Xe(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body).querySelectorAll(e);t.length&&Array.from(t).forEach(e=>e.classList.add(Q.HIDDEN))}function et(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const n=tt(e,arguments.length>3&&void 0!==arguments[3]?arguments[3]:document.body);n&&n.setAttribute(t,r)}function tt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body;if(e)return t.querySelector(e);console.warn(`you attempted to get an element with a falsey selector: ${e}, this is probably a bug.`)}const rt={SECTION:"join-form__form-input-container",HIDDEN:"join-form__form-input-container--is-hidden"},nt=["userCanceled","operationCanceled"];class it{constructor(e){if(!e)throw new Error("No element passed in.");var t;this.joinForm=e,this.inputs=Array.from(this.joinForm.querySelectorAll("input")),this.inputNameToErrors={},this.registrationServerClient=new $e,this.isSplitJoinForm=Object(n.b)("dust-var-isSplitJoinForm"),this.isSmartLockEnabled="true"===Object(n.b)("dust-var-isSmartLockEnabled"),this.isMobile=Object(n.b)("dust-var-isMobile"),this.joinBtnProvider=Object(n.b)("dust-var-joinBtnProvider"),this._attachEventListeners(),this._initThirdPartySignup(),this.isSplitJoinForm&&this._initSplitJoinForm(),t=[this.joinForm],n.c.onload(()=>{if(window.IntersectionObserver){const e=new IntersectionObserver(oe,{threshold:1});t.forEach(t=>e.observe(t))}else oe(t)})}get inputNameToElement(){return Object.defineProperty(this,"inputNameToElement",{value:this.inputs.reduce((e,t)=>(e[t.name]=t,e),{})}),this.inputNameToElement}get isThirdPartyJoinEnabled(){return this.isSmartLockEnabled||this.joinBtnProvider}get isThirdPartyProfileCardVisible(){const e=tt(z.JOIN_FORM.PROFILE_CARD,this.joinForm);return e&&!e.classList.contains(Q.HIDDEN)}get thirdPartyAccountFields(){return{id:"",profilePictureUrl:"",firstName:"",lastName:"",phoneticFirstName:"",phoneticLastName:"",displayDigitalMediaAssetUrn:"",thirdPartyCredentials:{googleUserIdToken:"",thirdPartyProvider:""}}}get emailHandle(){const e=this.inputNameToElement["email-or-phone"],t=this.inputNameToElement["email-address"],r=e||t;let n=null;return r&&(n={input:`#${r.id}`,label:`[for="${r.id}"]`}),Object.defineProperty(this,"emailHandle",{value:n}),this.emailHandle}get location(){return this._location||window.location}set location(e){this._location=e}_attachEventListeners(){var e;this.joinForm.addEventListener("change",e=>this._handleChange(e)),this.joinForm.addEventListener("submit",e=>this._handleSubmit(e)),this.joinForm.addEventListener("invalid",e=>{e.preventDefault(),this._handleInvalidSubmit(e)},!0),this.joinForm.querySelector("[type=submit]").addEventListener("click",e=>{ae({controlName:this.isLastSplitJoinSectionVisible?re.CONTINUE_BUTTON:re.AGREE_AND_JOIN_BUTTON,interactionType:ee.SHORT_PRESS})}),this.joinForm.querySelector(z.JOIN_FORM.PROFILE_CARD)?(this.joinForm.querySelector(z.PROFILE_CARD.EDIT_ICON).addEventListener("click",()=>this._showPhotoModal()),this.joinForm.querySelector(z.PROFILE_CARD.EDIT_PHOTO.CANCEL_ICON).addEventListener("click",()=>this._hidePhotoModal()),this.joinForm.querySelector(z.PROFILE_CARD.NOT_YOU).addEventListener("click",()=>{this.location.reload(),ae({controlName:re.PROFILE_CARD_NOT_YOU_BUTTON,interactionType:ee.SHORT_PRESS})}),this.joinForm.querySelector(z.PROFILE_CARD.EDIT_PHOTO.TEXT).addEventListener("click",()=>this._removePhoto())):console.warn("Profile card element not found"),(e=this.joinForm).querySelector("div.alert").querySelector("div.wrapper").addEventListener("click",()=>{W(e),ae({controlName:re.ERROR_ALERT_DISMISS_BUTTON,interactionType:ee.SHORT_PRESS})})}_thirdPartyJoinErrorAlert(e){switch(e){case Z.FACEBOOK:le(this.joinForm,Object(n.b)("i18n_third_party_join_error-message-facebook"));break;case Z.GOOGLE:le(this.joinForm,Object(n.b)("i18n_third_party_join_error-message-google"));break;case Z.WECHAT:le(this.joinForm,Object(n.b)("i18n_third_party_join_error-message-wechat"))}}_handleInvalidSubmit(){const e=this.inputs.filter(e=>this._isValidInput(e)).map(e=>(this.inputNameToErrors[e.name]||(this.inputNameToErrors[e.name]=Me(e)),{inputName:e.name,errorMessageKeys:this.inputNameToErrors[e.name]})).filter(e=>e.errorMessageKeys.length>0);return!!e.length&&(t=this.joinForm,r=e,n.c.dispatchCustomEvent(t,Ye.validationFailed,r),le(this.joinForm,Object(n.b)(e[0].errorMessageKeys[0])),e.map(e=>{let t=e.inputName;return this.inputNameToElement[t]}).forEach(e=>{!function(e){e.classList.add("error")}(e)}),se({trackingCode:ne.ALERT.VALIDATION_FAILURE_ALERT,activityType:te.CLICK,inputsWithErrors:e}),!0);var t,r}_handleChange(e){const t=e.target;Ue(t)&&(t.value?t.classList.add("join-form-input__input--has-text"):t.classList.remove("join-form-input__input--has-text"),this.inputNameToErrors[t.name]=Me(t),0===this.inputNameToErrors[t.name].length&&t.classList.remove("error"))}_handleSubmit(e){if(e.preventDefault(),W(this.joinForm),this._handleInvalidSubmit())return;if(this.isSplitJoinForm&&!this.isLastSplitJoinSectionVisible&&!this.isThirdPartyProfileCardVisible)return this._handleSplitJoinSubmit();var t;t=this.joinForm,n.c.dispatchCustomEvent(t,Ye.validationSucceeded);const r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={};return Array.from(e.elements).forEach(e=>{if(Ue(e)){const t=e.name,n=e.value;n&&("real-name"===t?r=Be({},r,function(e){let r,n;switch(e.length){case 2:n=e.substring(0,1),r=e.substring(1);break;case 3:const i=e.substring(0,2);Je.has(i)?(n=i,r=e.substring(2)):(n=e.substring(0,1),r=e.substring(1));break;case 4:n=e.substring(0,2),r=e.substring(2);break;default:throw new Error("Expected Real Name to be between 2-4 characters.",t)}return{firstName:r,lastName:n}}(n)):r[De[t]]=n)}}),r.source=Object(n.b)("dust-var-source")||null,r.redirectInfo=function(){const e=Object(n.b)("dust-var-postOnboardingRedirectUrl");return e?{postOnboardingRedirectUrl:e}:null}(),r.invitationInfo=function(){const e=Object(n.b)("dust-var-invitationId"),t=Object(n.b)("dust-var-sharedKey");return e||t?{invitationId:e,sharedKey:t}:null}(),"enabled"===Object(n.b)("dust-var-fpLixTreatment")&&(r.fpData=function(){let e="default";const t=new qe;try{e=JSON.stringify(t.getFingerprintData())}catch(t){e="error while fetching the fingerprinting data : "+t}return e}()),r=function(e,t){return Be({},e,r)}(t)}(this.joinForm,this.thirdPartyUserInfo);this._sendCreateAccountRequest(this.joinForm,r)}_handleSplitJoinSubmit(){this._hideGoogleSmartLock(),this._hideThirdPartyJoinContainer(),this._toggleSplitJoinSection(Object(n.b)("i18n_continue"))}_resetSplitJoinForm(){this._resetThirdPartyJoin(),this._toggleSplitJoinSection(this._lastSubmitBtnText)}_resetThirdPartyJoin(){this.isSmartLockEnabled?this._showGoogleSmartLock():this.joinBtnProvider&&this._showThirdPartyJoinContainer(),this.isThirdPartyProfileCardVisible&&this._toggleProfilecard()}_toggleSplitJoinSection(e){const t=!this.isLastSplitJoinSectionVisible,r=tt(".join-form__form-body-submit-button",this.joinForm),i=tt(`.${rt.SECTION}:not(.${rt.HIDDEN})`,this.joinForm),o=tt(`.${rt.HIDDEN}`,this.joinForm),a=tt('.join-form__form-body-agreement[data-is-not-yielded="true"]',this.joinForm);var s,l;a&&(a.classList[t?"add":"remove"]("join-form__form-body-agreement--is-hidden"),this._lastSubmitBtnText=r.value,r.classList[t?"add":"remove"]("join-form__form-body-submit-button--no-agreement-text"),r.value=e,B.setElementContent(r,e)),i.classList.add(rt.HIDDEN),o.classList.remove(rt.HIDDEN),this.hiddenRequiredIdList.forEach(e=>et(e,Y.REQUIRED,"required",this.joinForm)),o.querySelector("input").focus(),this.isLastSplitJoinSectionVisible=t,s=this.joinForm,l=t?1:0,n.c.dispatchCustomEvent(s,Ye.splitJoinFormStepChange,{splitJoinStepNum:l})}_isValidInput(e){const t=Ue(e);if(!this.isSplitJoinForm)return t;let r=e.parentNode;for(;!r.classList.contains(rt.SECTION);)r=r.parentNode;return t&&!r.classList.contains(rt.HIDDEN)}_getRequiredElemNames(){const e=["first-name","last-name"];let t=[];return this.inputs.forEach(r=>{r.hasAttribute("required")&&("real-name"===r.name?t=t.concat(e):t.push(r.name))}),t}_sendCreateAccountRequest(e,t){return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.length&&e.forEach(e=>{const r=De[e];if(!r||!t[r])throw new Error(r?`Missing required field ${r}.`:`No mapping exists for inputs named ${e}`)})}(this._getRequiredElemNames(),t),this.registrationServerClient.sendCreateAccountRequest(t).then(t=>{!function(e,t){n.c.dispatchCustomEvent(e,Ye.accountCreationSucceeded,t)}(e,t.responseObj),Object(n.b)("dust-var-cancelOnboardingRedirect")||B.redirect(t.responseObj&&t.responseObj.redirectUrl||"/"),se({trackingCode:ne.JOIN_REQUEST.JOIN_REQUEST_SUCCESS,activityType:te.CLICK})}).catch(r=>{const i=(r.response||{}).responseObj||{};i.challengeUrl?(function(e,t){n.c.dispatchCustomEvent(e,Ye.accountCreationChallenged,t)}(e,i),new Qe(i.challengeUrl).showChallenge().then(r=>{!function(e){n.c.dispatchCustomEvent(e,Ye.challengeSucceeded)}(e),t.submissionId=i.submissionId,t.resolvedChallengeUrl=r,t.requestSignature=i.requestSignature,this._sendCreateAccountRequest(e,t)}).catch(t=>{"softFail"===t?function(e){n.c.dispatchCustomEvent(e,Ye.challengeClosed)}(e):function(e,t){n.c.dispatchCustomEvent(e,Ye.challengeFailed,t)}(e,t),le(this.joinForm,Object(n.b)("i18n_server_generic_error"))})):(function(e,t){n.c.dispatchCustomEvent(e,Ye.accountCreationFailed,t)}(e,i),le(this.joinForm,i.translatedMessage),this.isSplitJoinForm&&!this.isThirdPartyProfileCardVisible?this._resetSplitJoinForm():this._resetThirdPartyJoin()),function(e,t){if(se({trackingCode:ne.JOIN_REQUEST.JOIN_REQUEST_FAILURE,activityType:te.CLICK,customData:e}),!t)return;const r=t.thirdPartyProvider;var n,i=te.CLICK;switch(r){case Z.FACEBOOK:n=ne.JOIN_REQUEST.JOIN_REQUEST_FAILURE_WITH_FACEBOOK;break;case Z.GOOGLE:n=ne.JOIN_REQUEST.JOIN_REQUEST_FAILURE_WITH_GOOGLE;break;default:n=ne.JOIN_REQUEST.JOIN_REQUEST_FAILURE_WITH_GOOGLE_ONE_TAP}se({activityType:i,trackingCode:n})}(i,t.thirdPartyCredentials)})}_initThirdPartySignup(){this.isSmartLockEnabled?this._initSmartLock():this.joinBtnProvider&&(this.thirdPartyJoinButton=this._initThirdPartyJoinButton())}_initSmartLock(){return new Promise((e,t)=>{if(window.googleyolo)return e(window.googleyolo);const r=Object(n.b)("dust-var-smartLockScript");if(r){const n=document.createElement("script"),i=document.getElementsByTagName("script")[0];n.onerror=t,n.src=B.sanitizeUrl(r),i.parentNode.insertBefore(n,i),window.onGoogleYoloLoad=(t=>(t.setTimeouts(15e3),this._renderGoogleSmartLock(t),e(t)))}})}_renderGoogleSmartLock(e){e.hint({supportedAuthMethods:[K],supportedIdTokenProviders:[{uri:K,clientId:V}],context:"signUp"}).catch(e=>{this.joinBtnProvider&&!nt.includes(e.type)&&(this.thirdPartyJoinButton=this._initThirdPartyJoinButton()),function(e){var t,r=te.VIEW;if("userCanceled"==e)ae({controlName:re.GOOGLE_ONE_TAP_CLOSE_BUTTON,interactionType:ee.SHORT_PRESS});else{switch(e){case"operationCanceled":r=te.CLICK,t=ne.GOOLE_ONE_TAP.GOOGLE_ONE_TAP_SIGNUP_IGNORED;break;case"noCredentialsAvailable":t=ne.GOOLE_ONE_TAP.GOOGLE_ONE_TAP_NO_ACCOUNT;break;case"requestFailed":t=ne.GOOLE_ONE_TAP.GOOGLE_ONE_TAP_REQUEST_FAIL_ERROR;break;case"illegalConcurrentRequest":t=ne.GOOLE_ONE_TAP.GOOGLE_ONE_TAP_ILLEGAL_REQUEST_ERROR;break;case"initializationError":t=ne.GOOLE_ONE_TAP.GOOGLE_ONE_TAP_INITIALIZATION_ERROR;break;case"configurationError":t=ne.GOOLE_ONE_TAP.GOOGLE_ONE_TAP_CONFIGURATION_ERROR;break;default:t=ne.GOOLE_ONE_TAP.GOOGLE_ONE_TAP_ERROR}se({activityType:r,trackingCode:t})}}(e.type)}).then(e=>{e&&(this._parseThirdPartyUserInfo(e),this.renderUserDetails(),ae({controlName:re.GOOGLE_ONE_TAP_SIGNUP_BUTTON,interactionType:ee.SHORT_PRESS}))})}_initSplitJoinForm(){const e=Array.from(this.joinForm.querySelectorAll(`.${rt.HIDDEN} input[required]`));this.hiddenRequiredIdList=e.map(e=>`#${e.id}`),e.forEach(e=>{e.removeAttribute("required")})}_initThirdPartyJoinButton(){if(this.isLastSplitJoinSectionVisible)return;const e=new Ge(document.querySelector(He.THIRD_PARTY_CONTAINER));return e.onError=(e=>this._thirdPartyJoinErrorAlert(e)),e.onUserInfoFetch=(e=>{e.then(e=>{e&&(this._parseThirdPartyUserInfo(e),this.renderUserDetails())})}),e}_parseThirdPartyUserInfo(e){if(this.thirdPartyUserInfo=this.thirdPartyAccountFields,e.displayName){const t=e.displayName.split(" ");e.firstName=t[0],e.lastName=t.length>1?t[1]:"",e.profilePictureUrl=e.profilePicture,e.thirdPartyCredentials={googleUserIdToken:e.idToken}}else e.thirdPartyCredentials={thirdPartyProvider:this.joinBtnProvider};Object.keys(this.thirdPartyAccountFields).forEach(t=>{e[t]&&(this.thirdPartyUserInfo[t]=e[t])})}renderUserDetails(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];var t=this.thirdPartyUserInfo;const r=t.phoneticFirstName,n=t.phoneticLastName,i=t.firstName,o=t.lastName,a=t.id,s=t.profilePictureUrl;let l;this._setPropertyValue(z.JOIN_FORM.FIRST_NAME_INPUT,i),this._setPropertyValue(z.JOIN_FORM.LAST_NAME_INPUT,o),this._setPropertyValue(z.JOIN_FORM.PHONETIC_FIRST_NAME_INPUT,r),this._setPropertyValue(z.JOIN_FORM.PHONETIC_LAST_NAME_INPUT,n),this.emailHandle&&(this._setPropertyValue(this.emailHandle.input,a),l=tt(this.emailHandle.input,this.joinForm),this.inputNameToErrors[l.name]=Me(l)),(i&&o&&a&&l&&!this.inputNameToErrors[l.name].length||e&&s)&&(this._toggleProfilecard(),this.inputNameToElement.password.focus())}_renderProfilecard(){var e=this.thirdPartyUserInfo;const t=e.profilePictureUrl,r=e.firstName,n=e.lastName,i=e.id;et(z.PROFILE_CARD.PHOTO,Y.SRC,t,this.joinForm),t||(Xe(z.PROFILE_CARD.PHOTO,this.joinForm),Xe(z.PROFILE_CARD.EDIT_ICON,this.joinForm)),r&&n&&(tt(z.PROFILE_CARD.NAME,this.joinForm).innerText=`${r} ${n}`),i&&(tt(z.PROFILE_CARD.EMAIL,this.joinForm).innerText=i)}_toggleProfilecard(){var e,t;this.isThirdPartyProfileCardVisible?(Xe(z.JOIN_FORM.PROFILE_CARD,this.joinForm),this._showFieldsForThirdPartyProfileCard()):(W(this.joinForm),Ze(z.JOIN_FORM.PROFILE_CARD,this.joinForm),this._hideFieldsForThirdPartyProfileCard(),this._renderProfilecard()),e=this.joinForm,t=this.isThirdPartyProfileCardVisible,n.c.dispatchCustomEvent(e,Ye.thirdPartyProfileCardToggled,{isProfileCardVisible:t})}_hideFieldsForThirdPartyProfileCard(){var e=this.thirdPartyUserInfo;const t=e.firstName,r=e.lastName,n=e.id;this.emailHandle&&n&&(Xe(this.emailHandle.input,this.joinForm),Xe(this.emailHandle.label,this.joinForm),function(e,t){const r=tt(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.body);r&&r.removeAttribute(t)}(this.emailHandle.input,Y.REQUIRED,this.joinForm)),!this.isSplitJoinForm&t&&r&&(Xe(z.JOIN_FORM.FIRST_NAME_INPUT,this.joinForm),Xe(z.JOIN_FORM.FIRST_NAME_LABEL,this.joinForm),Xe(z.JOIN_FORM.LAST_NAME_INPUT,this.joinForm),Xe(z.JOIN_FORM.LAST_NAME_LABEL,this.joinForm))}_showFieldsForThirdPartyProfileCard(){this.emailHandle&&(Ze(this.emailHandle.input,this.joinForm),Ze(this.emailHandle.label,this.joinForm),et(this.emailHandle.input,Y.REQUIRED,"required",this.joinForm)),this.isSplitJoinForm||(Ze(z.JOIN_FORM.FIRST_NAME_INPUT,this.joinForm),Ze(z.JOIN_FORM.FIRST_NAME_LABEL,this.joinForm),Ze(z.JOIN_FORM.LAST_NAME_INPUT,this.joinForm),Ze(z.JOIN_FORM.LAST_NAME_LABEL,this.joinForm))}_showGoogleSmartLock(){this.isSmartLockEnabled&&this._renderGoogleSmartLock(window.googleyolo)}_hideGoogleSmartLock(){this.isSmartLockEnabled&&window.googleyolo&&window.googleyolo.cancelLastOperation()}_showThirdPartyJoinContainer(){this.joinBtnProvider&&this.thirdPartyJoinButton&&this.thirdPartyJoinButton.show()}_hideThirdPartyJoinContainer(){this.joinBtnProvider&&this.thirdPartyJoinButton&&this.thirdPartyJoinButton.hide()}_setPropertyValue(e,t){const r=tt(e,this.joinForm);r&&t&&(r.value=t)}_showPhotoModal(){Ze(z.PROFILE_CARD.EDIT_PHOTO.MODAL,this.joinForm)}_hidePhotoModal(){Xe(z.PROFILE_CARD.EDIT_PHOTO.MODAL,this.joinForm)}_removePhoto(){this._hidePhotoModal(),et(z.PROFILE_CARD.PHOTO,Y.SRC,"",this.joinForm),Xe(z.PROFILE_CARD.PHOTO,this.joinForm),Xe(z.PROFILE_CARD.EDIT_ICON,this.joinForm),this.thirdPartyUserInfo.profilePictureUrl="",ae({controlName:re.DELETE_PHOTO_BUTTON,interactionType:ee.SHORT_PRESS})}}},function(e,t,r){"use strict";r.d(t,"a",function(){return s});var n=r(0);const i=31536e6,o="mobile-footer__more-lang-select",a="data-locale";class s{constructor(e){if(!e)throw Error("An element must be provided to LanguageSelector");this.el=e,this.el.addEventListener("click",this._handleLocaleButtonClick.bind(this)),this.el.querySelector(`.${o}`).addEventListener("change",e=>{e.target.classList.add(`${o}--hidden`),this._updateLocale(e.target.value)})}get location(){return this._location||window.location}set location(e){this._location=e}_handleLocaleButtonClick(e){this._updateLocale(e.target.getAttribute(a))}_updateLocale(e){if(!e)return;const t=this.getLangCookieString(e);null!==t&&(document.cookie=t),this.location.reload()}getLangCookieString(e){let t=null;if(null!==e){const r=e.toLocaleLowerCase().replace("_","-"),o=n.d.getDomain(document);let a=new Date;a.setTime(a.getTime()+i),t=`lang="v=2&lang=${r}";path=/;domain=${o};expires=${a.toUTCString()}`}return t}}},function(e,t,r){"use strict";var n=r(1),i=r(0),o=r(2),a=r(4),s=r.n(a);const l=n.b.splitJoinFormStepChange,c=n.b.accountCreationChallenged,d=n.b.accountCreationFailed,u=n.b.challengeClosed,h=n.b.challengeFailed,m=n.b.thirdPartyProfileCardToggled,p=e=>document.querySelector(e),g=".mobile-footer",_=".join-form__form-body",f=".main__sign-in-container",E=".main__subtitle",O=".page__overlay",T="hidden",b="join-form__form-body--with-profile-card";t.a=class{constructor(e){let t=e.globalWindow;this.window=t,this.isMobile=Object(i.b)("dust-var-isMobile"),this.isLegalAgreementOnStep2=Object(i.b)("dust-var-isLegalAgreementOnStep2"),this.languageSelector=this._initLangSelector(),this.joinForm=this._initJoinForm(),this._setupCustomEventListeners()}_initLangSelector(){return this.isMobile?new o.a(p(".mobile-footer__lang-list")):new i.a(p(".language-selector"))}_initJoinForm(){const e=document.querySelector(".page");return e&&e.classList.remove("page--isLoading"),new n.a(p(".join-form"))}_setupCustomEventListeners(){const e=this.hideChallenge.bind(this),t=this.showChallenge.bind(this),r=this.toggleProfileSection.bind(this);this.joinForm.joinForm.addEventListener(l,e=>{this.toggleSignInContainer(e),this.isLegalAgreementOnStep2&&this.toggleLegalAgreement(e)}),this.joinForm.joinForm.addEventListener(c,t),this.joinForm.joinForm.addEventListener(u,e),this.joinForm.joinForm.addEventListener(h,e),this.joinForm.joinForm.addEventListener(d,e),this.joinForm.joinForm.addEventListener(m,r)}showChallenge(){this.isMobile?this.hideJoinFormElems():this.showPageOverlay()}hideChallenge(){this.isMobile?this.showJoinFormElems():this.hidePageOverlay()}toggleProfileSection(e){let t=e.detail.isProfileCardVisible;if(void 0===t)throw new Error("an Object with isProfileCardVisible must be passed to toggleProfileSection");const r=p(".main__profile-section"),n=p(_);t?r?r.classList.add(T):n.classList.add(b):r?r.classList.remove(T):n.classList.remove(b)}toggleSignInContainer(e){let t=e.detail.splitJoinStepNum;if(void 0===t)throw new Error("an Object with splitJoinStepNum must be passed to toggleSignInContainer");const r=p(f);1===t?r.classList.add(T):r.classList.remove(T)}toggleLegalAgreement(e){let t=e.detail.splitJoinStepNum;if(void 0===t)throw new Error("an Object with splitJoinStepNum must be passed to toggleLegalAgreement");const r=p("#join-form-submit"),n=p(".join-form__form-body-agreement"),o=t?Object(i.b)("dust-var-i18nAgree"):Object(i.b)("dust-var-i18nContinue");1===t?n.classList.remove(T):n.classList.add(T),r.value=o,s.a.setElementContent(r,o)}hideJoinFormElems(){const e=p(f);this.joinForm.joinForm.querySelector(_).classList.add(T),this.joinForm.joinForm.querySelector(E).classList.add(T),document.querySelector(g).classList.add(T),e.classList.add(T)}showJoinFormElems(){const e=p(f);this.joinForm.joinForm.querySelector(_).classList.remove(T),this.joinForm.joinForm.querySelector(E).classList.remove(T),document.querySelector(g).classList.remove(T),e.classList.remove(T)}showPageOverlay(){document.querySelector(O).classList.remove(T)}hidePageOverlay(){document.querySelector(O).classList.add(T)}}},function(e,t,r){e.exports=function(){"use strict";var e="aria-[a-z0-9_\\-]+|class|data-[a-z0-9_\\-]+|dir|id|role|tabindex",t="undefined"==typeof document||"textContent"in document.createElement("div")?"textContent":"innerText",r=["b","del","em","i","s","strong","sub","sup"],n=r.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"]),i=[e,"alt|checked|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("|"),o="href|src",a="data:image/(?:gif|jpg|jpeg|png);base64,",s="https?|ftp|mailto|invalid";function l(){}function c(e,t){if(t=t||"log","undefined"!=typeof window&&window&&window.jet&&"error"===t.toLowerCase())try{throw new Error(e)}catch(e){try{window.jet.error(e)}catch(e){}}"undefined"!=typeof console&&"function"==typeof console[t]&&console[t](e)}new RegExp("&#?[a-zA-Z0-9]{1,10};");var d,u,h=(u=/[&<>"'\u0000\\=]/g,d={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","\0":"�","\\":"&#92;","=":"&#61;"},function(e){return null==e?null:e.toString().replace(u,function(e){return d[e]})}),m=function(){var e,r,n=/&(?:([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)")};e=document.createElement("div");var i={nbsp:" ",lt:"<",gt:">",amp:"&",quot:'"'};return r="function"==typeof String.fromCodePoint?function(e){return String.fromCodePoint(e)}:function(e){return e<=65535?String.fromCharCode(e):"�"},function(o){return null==o?null:(o+"").replace(n,function(n,o,a,s){return o?(l=o,i.hasOwnProperty(l)?i[l]:(e.innerHTML="&"+l+";",c=e[t],i[l]=c,c)):a||s?r(parseInt(a||s,a?16:10)||65533):"�";var l,c})}}(),p=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function g(e){return/[<&]/.test(e)}var _,f=Array.prototype.forEach?function(e,t){Array.prototype.forEach.call(e,t)}:function(e,t){for(var r=0,n=e.length;r<n;r++)t(e[r],r)},E="[ \t\r\n]*",O="[ \t\r\n]+";function T(e){e=p(e)?e:[e];var t,r,l,c=0,d="<(?!/?";return d+="(?:",f(e,function(e,u){t=e.tags||n,r=e.attrs||i,l=e.checkUrlAttrs||!1,0!==u&&(d+="|"),d+="(?:"+t.join("|")+")",d+="(?:",d+=E,d+="|"+O,d+="(?:(?:",d+="(?:"+r+")(?:=([\"'])[^'\"<>]*\\"+ ++c+")?",l&&(d+="|(?:"+o+")=([\"'])(?:(?:"+s+")(?::|&#(?:58|x3a);)|(?:"+a+")|[/.#?]|&#(?:35|4[67]|63|x(?:2[3ef]|3f));)[^'\"<>]*\\"+ ++c),d+=")"+E+")+",d+=")"}),d+=")",d+="/?>)",new RegExp(d,"i")}function b(e){return T({tags:e=e||n,checkUrlAttrs:!0})}function v(e,t){var r=(t=t||{}).allowTags,n=!1!==t.hasCustomElementMarkup;return r?!b(r).test(e):n?!v.R_UNSAFE_CUSTOM_ELEMENT.test(e):!v.R_UNSAFE_HTML.test(e)}function y(e){return e.replace(/<[^>]*>|[<>'"&\\]/g,"")}function L(e,t,r){if(null==e)return null;e=e.toString();var n=t?function(e,t){var r={};return e.replace(/\{([^}]+)\}/g,function(e,n){var i,o=e;if(r.hasOwnProperty(n))return r[n];if(t.hasOwnProperty(n)){if(!((i="string"==typeof(o=t[n]))||o instanceof l||"number"==typeof o))throw new Error("Only strings, numbers, and jSecure types are allowed as placeholder replacements.");o=i?h(o):o.toString()}return r[n]=o,o})}(e,t):e,i=e;return g(n)&&!v(n,r)&&(n=y(n),c("Content contains non-whitelisted tags or attributes:\nContent: "+i,"error")),n}function S(e,t){for(var r=+t.length,n=0,i=e.length;n<r;n++)e[i++]=t[n];return e.length=i,e}v.R_UNSAFE_HTML=b(),v.R_UNSAFE_CUSTOM_ELEMENT=T([{tags:n,checkUrlAttrs:!0},{tags:[(_={tag:"li-icon",attrs:"active|a11y-text|animate|color|size|type"}).tag],attrs:[e,_.attrs].join("|"),checkUrlAttrs:!1}]);var N={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,"",""]};N.optgroup=N.option,N.tbody=N.tfoot=N.colgroup=N.caption=N.thead,N.th=N.td;var C=/<([\w:]+)/;function R(e,t){var r,n,i,o,a,s,l,c=t.createDocumentFragment(),d=[];for(a=0,l=e.length;a<l;a++)if((o=e[a])||0===o)if("string"==typeof o){for(i=i||c.appendChild(t.createElement("div")),r=(C.exec(o)||["",""])[1].toLowerCase(),w(i,(n=N[r]||N._default)[1]+o+n[2]),s=n[0];s--;)i.lastChild&&i.lastChild.nodeType===Node.ELEMENT_NODE&&(i=i.lastChild);S(d,i.childNodes),(i=c.firstChild).textContent=""}else S(d,o.nodeType?[o]:o);for(c.textContent="",o=d[a=0];o;)c.appendChild(o),o=d[++a];return c}var I=L,A=L;function w(e,r,n){var i=L(r,n);return g(i)?e.innerHTML=i:e[t]=i,i}function P(e,t){if(!(this instanceof P))return new P(e,t);(t=t||{}).allowTags=t.allowTags?t.allowTags.reduce(function(e,t){return e.concat(t)},[]):null,this._string=e,this._options=t}P.prototype=function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}(new l,{toString:function(){var e=this._string,t=this._stringVal,r=e;return void 0!==t?t:(v(e,this._options)||(r=e,e=y(e),c("UnsafeString contains non-whitelisted tags or attributes.\nString: "+r,"error")),this._stringVal=e,e)}});var F=/ /g,j=/[\s\u0000<>"]|%00/,k=/\\/,U=/([.]|%2e){2}/i,D=new RegExp("^(?:https?|ftp|mailto|tel|sms|blob|voyager|android-app|linkedin|chrome-extension|invalid|data:(?:(?:image/(?:gif|jpe?g|png))|(?:application/x-font-woff)|(?:font/(?:opentype|ttf)))[;,]|[/.#?])");function M(e){var t=void 0;if("string"!=typeof e)return c("jSecure Warning: url must be a string","error"),"invalid://";if((t=e.trim()).indexOf(" ")>-1&&(c("jSecure Warning: url should not contain spaces: "+e,"warn"),t=t.replace(F,"+")),!D.test(t))return c("jSecure Error: URL should be absolute with allowed schemas, relative, a hash fragment or query string. "+e,"error"),"invalid://";if(j.test(t))return c("jSecure Error: not valid url character found in url: "+e,"error"),"invalid://";var r=t.split("?")[0];return k.test(r)||U.test(r)||U.test(decodeURI(r))?(c("jSecure Error: malicious data found in url path: "+r,"error"),"invalid://"):e}var x={redirect:function(e){window&&(window.location.href=e)}};return{ALLOWED_TAGS:n,FORMATTING_TAGS:r,htmlEncode:h,htmlUnencode:m,log:c,mk:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i="",o=void 0,a=r.length;return e&&e.forEach(function(e,t){i+=e,t<a&&(o=r[t],i+=o instanceof P?o:h(o))}),A(i)},parseHTML:function(e,t){var r;if(t=t||document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument(""):document,"string"==typeof e)r=R([e],t);else{if(!p(e))return e;r=R(e,t)}return S([],r.childNodes)},parseSelector:function(e){return"string"==typeof e&&/^(?:\s*(<[\w\W]+>)[^>]*)$/.test(e)?[]:e},processTemplate:I,reEncode:function(e){return h(m(e))},_redirector:x,redirect:function(e){var t=M(e);t===e&&x.redirect(t)},sanitizeHTML:A,sanitizeUrl:M,setElementContent:w,text:function(e){return c("jSecure.text() is deprecated. Please use jSecure.htmlEncode().","warn"),h(e)},unsafe:function(e){return e},UnsafeString:P}}()},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},,function(e,t,r){"use strict";r.r(t);var n=r(3);window.addEventListener("load",()=>{new n.a({globalWindow:window})})}]);