/*! * genesys.js * @version: 2.3.3 * @license: Genesys Telecom Labs */!function(e){var t=window.webpackHotUpdate;window.webpackHotUpdate=function(e,u){!function(e,t){if(!E[e]||!C[e])return;for(var u in C[e]=!1,t)Object.prototype.hasOwnProperty.call(t,u)&&(p[u]=t[u]);0==--g&&0===F&&B()}(e,u),t&&t(e,u)};var u,n=!0,r="20b02da7864f565e501a",o={},i=[],s=[];function a(e){var t=_[e];if(!t)return S;var n=function(n){return t.hot.active?(_[n]?-1===_[n].parents.indexOf(e)&&_[n].parents.push(e):(i=[e],u=n),-1===t.children.indexOf(n)&&t.children.push(n)):(console.warn("[HMR] unexpected require("+n+") from disposed module "+e),i=[]),S(n)},r=function(e){return{configurable:!0,enumerable:!0,get:function(){return S[e]},set:function(t){S[e]=t}}};for(var o in S)Object.prototype.hasOwnProperty.call(S,o)&&"e"!==o&&"t"!==o&&Object.defineProperty(n,o,r(o));return n.e=function(e){return"ready"===D&&f("prepare"),F++,S.e(e).then(t,(function(e){throw t(),e}));function t(){F--,"prepare"===D&&(A[e]||v(e),0===F&&0===g&&B())}},n.t=function(e,t){return 1&t&&(e=n(e)),S.t(e,-2&t)},n}function c(t){var n={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:u!==t,active:!0,accept:function(e,t){if(void 0===e)n._selfAccepted=!0;else if("function"==typeof e)n._selfAccepted=e;else if("object"==typeof e)for(var u=0;u=0&&n._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,D){case"idle":(p={})[t]=e[t],f("ready");break;case"ready":k(t);break;case"prepare":case"check":case"dispose":case"apply":(m=m||[]).push(t)}},check:y,apply:w,status:function(e){if(!e)return D;l.push(e)},addStatusHandler:function(e){l.push(e)},removeStatusHandler:function(e){var t=l.indexOf(e);t>=0&&l.splice(t,1)},data:o[t]};return u=void 0,n}var l=[],D="idle";function f(e){D=e;for(var t=0;t0;){var r=n.pop(),o=r.id,i=r.chain;if((l=_[o])&&(!l.hot._selfAccepted||l.hot._selfInvalidated)){if(l.hot._selfDeclined)return{type:"self-declined",chain:i,moduleId:o};if(l.hot._main)return{type:"unaccepted",chain:i,moduleId:o};for(var s=0;s ")),B.type){case"self-declined":n.onDeclined&&n.onDeclined(B),n.ignoreDeclined||(w=new Error("Aborted because of self decline: "+B.moduleId+O));break;case"declined":n.onDeclined&&n.onDeclined(B),n.ignoreDeclined||(w=new Error("Aborted because of declined dependency: "+B.moduleId+" in "+B.parentId+O));break;case"unaccepted":n.onUnaccepted&&n.onUnaccepted(B),n.ignoreUnaccepted||(w=new Error("Aborted because "+D+" is not accepted"+O));break;case"accepted":n.onAccepted&&n.onAccepted(B),k=!0;break;case"disposed":n.onDisposed&&n.onDisposed(B),j=!0;break;default:throw new Error("Unexception type "+B.type)}if(w)return f("abort"),Promise.reject(w);if(k)for(D in C[D]=p[D],g(A,B.outdatedModules),B.outdatedDependencies)Object.prototype.hasOwnProperty.call(B.outdatedDependencies,D)&&(F[D]||(F[D]=[]),g(F[D],B.outdatedDependencies[D]));j&&(g(A,[B.moduleId]),C[D]=y)}var T,I=[];for(a=0;a0;)if(D=N.pop(),l=_[D]){var U={},L=l.hot._disposeHandlers;for(c=0;c=0&&M.parents.splice(T,1))}}for(D in F)if(Object.prototype.hasOwnProperty.call(F,D)&&(l=_[D]))for(P=F[D],c=0;c=0&&l.children.splice(T,1);f("apply"),void 0!==h&&(r=h,h=void 0);for(D in p=void 0,C)Object.prototype.hasOwnProperty.call(C,D)&&(e[D]=C[D]);var z=null;for(D in F)if(Object.prototype.hasOwnProperty.call(F,D)&&(l=_[D])){P=F[D];var $=[];for(a=0;a0&&(x=e.name.trim()),q(e.queue,U)&&e.debug,q(e.async,"boolean")&&(R=e.async),q(e.log,"boolean")&&(k=e.log),q(e.logstore,"boolean")&&(_=e.logstore),q(e.pluginspath,"string")&&(S=Ce(e.pluginspath)),q(e.modulespath,"string")&&(j=Ce(e.modulespath)),q(e.pluginfilenameformat,"string")&&(O=e.pluginfilenameformat),q(e.pluginmap,"object")&&(T=e.pluginmap),q(e.pluginmap,"string"))try{T=JSON.parse(e.pluginmap)}catch(t){me("%cInvalid plugin map JSON. Ignoring "+e.pluginmap,s)}if(q(e.modulemap,"object")&&(I=e.modulemap),q(e.modulemap,"string"))try{I=JSON.parse(e.modulemap)}catch(t){me("%cInvalid module map JSON. Ignoring "+e.modulemap,s)}q(e.childDomain,"string")&&(N=e.childDomain),q(e.childmode,"boolean")&&1==e.childmode&&(P=e.childmode,f=!0,(window.opener||window.parent).postMessage({type:"CXBus.childCallout",registry:Object.keys(h),busID:i,busName:x},"*")),T=Y(T),I=Y(I),me("%cGenesys configuration changed",a)}}function q(e,t){return t===U?!!Array.isArray(e):r(e)==t}function H(e,t,u){return he(e,(function(n,o){var c=oe(e),f=h[c];D&&!f&&void 0===t?ze({type:"CXBus.remoteExecution",subType:"registerPlugin",busID:i,pluginName:e}).then((function(e){"pass"===e.resolution?H(e.pluginName,!0).then((function(e){n(e)})):"fail"===e.resolution&&H(e.pluginName,!1).then((function(e){o(e)}))})):!D||D&&!f&&!0===t?"string"!=r(e)||f?f&&o("%cCan't register plugin "+ge(e)+" -- Name is already taken",s,l,s):(h[c]={name:e,namespace:e,interface:te(e),events:{},commands:{},data:{},buffer:[],ready:!1,busID:u||i},g[c]={events:[],commands:[]},h[c].busID==i&&me("%c New Plugin Registered:"+ge(" "+e),a,l),function(e){var t=e.interface;t.registerCommand("COMMANDS",(function(t){ue(e,"Commands"),t.resolve()})),t.registerCommand("EVENTS",(function(t){ue(e,"Events"),t.resolve()})),t.registerCommand("LOAD",(function(e){e.resolve()}))}(h[c]),h[c].interface.initData=C[c]||{},n(h[c].interface),C[c]&&delete C[c]):D&&!1===t&&o("%cCan't register plugin "+ge(e)+" -- Name is already taken",s,l,s)}))}function J(e){return"function"==r(e)&&(F.push(e),!0)}function G(e){e&&!e.mID&&(e.mID=Oe());for(var t=0;t0&&e.trim().length>0}function Z(e,t,u){var n=oe(e),o=O.replace("plugin",n),c=T[n],D=!1;return"object"==r(c)&&"string"==typeof c.target&&(D=c.target),C[n]=t||{},function(e){for(var t in e.split(".").length>1&&(e=e.split(".")[0]),h)if(oe(t)==oe(e))return!0;return!1}(e)||E[oe(e)]?function(e,t){return he(e||"unknown",(function(e,u){me(t,s,l,s),u()}))}(e,"%cCan't load plugin ("+ge(e)+") -- This plugin is already loaded or an unexpected error occurred."):V(u)?ze({type:"CXBus.remoteExecution",subType:"loadPlugin",busID:i,targetBus:u,pluginName:e,data:t}):(C[n]=t||{},V(D)?ze({type:"CXBus.remoteExecution",subType:"loadPlugin",busID:i,targetBus:D,pluginName:e,data:t}):(me("%cLoading plugin: "+(c||o),l),he(e,(function(t,u){var n=function(u){!function(e){E[oe(e)]=!0}(e),t(u)},i=function(){u("Could not load plugin file: "+o)};"string"==r(c)&&""!==c?c.match(".js$")?ee(c,n,i):(me("%cError: ("+c+") is not recognized as a javascript file. Please map plugins to javascript files only.",s),u()):!1===c?(me("%cNotice: "+o+" was prevented from loading by the current plugin mapping configuration.",a),u()):ee(S+o,n,i)}))))}function X(e){return he("loadFile",(function(t,u){!function(e){return b[e]}(e)?(me("%cLoading file: "+e,l),ee(e,(function(u){!function(e){b[e]=!0}(e),t(u)}),(function(){u("Could not load file: "+e)}))):(me("%cCan't load file ("+e+") -- This file was already loaded",s,l,s),u())}))}function W(e,t){return he("loadJSON",(function(t,u){var n=new XMLHttpRequest;n.overrideMimeType("application/json"),n.open("GET",e,!0),n.onreadystatechange=function(){4==n.readyState&&"200"==n.status?n.responseText&&t(n.responseText):"200"!=n.status&&0!=n.status&&u("loadJSON failed with status code: "+n.status)},n.send(null)}))}function Q(e){var t=oe(e);return he("loadModule",(function(e,u){if(t&&y[t])setTimeout((function(){e(y[t])}),0);else{var n="module.mod.js".replace("module",t),o=I[t],i=""!==j?j:S,c=function(u){e(y[t])},l=function(){u("Could not load module: "+t)};"string"==r(o)&&""!==o?o.match(".js$")?ee(o,c,l):(me("%cError: ("+o+") is not recognized as a javascript file. Please map modules to javascript files only.",s),u()):!1===o?(me("%cNotice: "+n+" was prevented from loading by the current module mapping configuration.",a),u()):ee(i+n,c,l)}}))}function K(e,t){var u=oe(e);return!y[u]&&(y[u]=t,!0)}function ee(e,t,u){if(!e)return!1;var n=document.createElement("script");return n.type="text/javascript",n.onload=t,n.onerror=u,n.src=e,n.charset="UTF-8",document.head.appendChild(n),!0}function te(e){var t=function(){try{w&&console.log&&console.log.apply(this,arguments)}catch(e){}};return t.info=function(){try{w&&console.info&&console.info.apply(this,arguments)}catch(e){}},t.warn=function(){try{w&&console.warn&&console.warn.apply(this,arguments)}catch(e){}},t.error=function(){try{w&&console.error&&console.error.apply(this,arguments)}catch(e){}},{publish:function(t,u){return De(e,t,u)},publishDirect:function(t,u){return De(e,t,u,!1,!0)},republish:function(t,u){return De(e,t,u,!0)},subscribe:function(t,u){return de(e,t,u)},unsubscribe:function(t){return function(e,t){var u=se(e),n=oe(t);if(u&&m[n]&&m[n].subscribers){for(var r=[],o=0;o0?m[n].subscribers=r:delete m[oe(t)],me(ge(e)+" unsubscribed from "+ge(t),l,c,l),!0}return!1}(e,t)},command:function(t,u){return pe({commander:e,command:t,data:u})},before:function(e,t){return n=t,!!re(u=e)&&(A[u]||(A[u]=[]),A[u].push(n),!0);var u,n},registerCommand:function(t,u){return le(e,t,u)},registerEvents:function(t){!function(e,t){var u=se(e);if(q(t=t||[],"string")&&(t=[t]),u&&t.length>0){for(var n=0;n0;){var e=d.shift(),t=e.data,u=p[t.id];switch(t.type){case"CXBus.parentCallout":P&&je(e.source,t.busID,t.busName,t.parentRegistry);break;case"CXBus.childCallout":P||Se(e.source,t.busID,t.busName,t.registry);break;case"CXBus.parentCallback":P&&je(e.source,t.busID,t.busName,t.parentRegistry);break;case"CXBus.childCallback":P||Se(e.source,t.busID,t.busName,t.registry);break;case"CXBus.broadcast":D||Re(e.data.subType,t);var n=oe(t.eventName),r=m[n]||!1;switch(e.data.subType){case"subscribe":if(void 0===t.eventData&&r&&!0===r.republish){var o=se(t.eventName);t.eventNamespace=o?o.namespace:"",t.eventData=r.data||{},t.subType="republish",Te(t.busID,t)}break;case"publish":De(t.publisher,t.eventName,t.data,t.republish,t.direct,!0);break;case"republish":for(var s=null,a=0;a=0}function D(e,t){return e.getElementsByTagName&&t.some((function(t){return e.getElementsByTagName(t).length}))}var f={};function d(e){return e?e.replace(/(\n+\s*)+/g,"\n"):""}function p(e){for(var t in this.options=e,this._keep=[],this._remove=[],this.blankRule={replacement:e.blankReplacement},this.keepReplacement=e.keepReplacement,this.defaultRule={replacement:e.defaultReplacement},this.array=[],e.rules)this.array.push(e.rules[t])}function h(e,t,u){for(var n=0;n-1)return!0}else{if("function"!=typeof n)throw new TypeError("`filter` needs to be a string, array, or function");if(n.call(e,t,u))return!0}}function g(e){var t=e.nextSibling||e.parentNode;return e.parentNode.removeChild(e),t}function F(e,t,u){return e&&e.parentNode===t||u(t)?t.nextSibling||t.parentNode:t.firstChild||t.nextSibling||t.parentNode}f.paragraph={filter:"p",replacement:function(e){return"\n\n"+e+"\n\n"}},f.lineBreak={filter:"br",replacement:function(e,t,u){return u.br+"\n"}},f.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(e,t,u){var n=Number(t.nodeName.charAt(1));return"setext"===u.headingStyle&&n<3?"\n\n"+e+"\n"+r(1===n?"=":"-",e.length)+"\n\n":"\n\n"+r("#",n)+" "+e+"\n\n"}},f.blockquote={filter:"blockquote",replacement:function(e){return"\n\n"+(e=(e=e.replace(/^\n+|\n+$/g,"")).replace(/^/gm,"> "))+"\n\n"}},f.list={filter:["ul","ol"],replacement:function(e,t){var u=t.parentNode;return"LI"===u.nodeName&&u.lastElementChild===t?"\n"+e:"\n\n"+e+"\n\n"}},f.listItem={filter:"li",replacement:function(e,t,u){e=e.replace(/^\n+/,"").replace(/\n+$/,"\n").replace(/\n/gm,"\n ");var n=u.bulletListMarker+" ",r=t.parentNode;if("OL"===r.nodeName){var o=r.getAttribute("start"),i=Array.prototype.indexOf.call(r.children,t);n=(o?Number(o)+i:i+1)+". "}return n+e+(t.nextSibling&&!/\n$/.test(e)?"\n":"")}},f.indentedCodeBlock={filter:function(e,t){return"indented"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,u){return"\n\n "+t.firstChild.textContent.replace(/\n/g,"\n ")+"\n\n"}},f.fencedCodeBlock={filter:function(e,t){return"fenced"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,u){for(var n,o=((t.firstChild.getAttribute("class")||"").match(/language-(\S+)/)||[null,""])[1],i=t.firstChild.textContent,s=u.fence.charAt(0),a=3,c=new RegExp("^"+s+"{3,}","gm");n=c.exec(i);)n[0].length>=a&&(a=n[0].length+1);var l=r(s,a);return"\n\n"+l+o+"\n"+i.replace(/\n$/,"")+"\n"+l+"\n\n"}},f.horizontalRule={filter:"hr",replacement:function(e,t,u){return"\n\n"+u.hr+"\n\n"}},f.inlineLink={filter:function(e,t){return"inlined"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t){var u=t.getAttribute("href"),n=d(t.getAttribute("title"));return n&&(n=' "'+n+'"'),"["+e+"]("+u+n+")"}},f.referenceLink={filter:function(e,t){return"referenced"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t,u){var n,r,o=t.getAttribute("href"),i=d(t.getAttribute("title"));switch(i&&(i=' "'+i+'"'),u.linkReferenceStyle){case"collapsed":n="["+e+"][]",r="["+e+"]: "+o+i;break;case"shortcut":n="["+e+"]",r="["+e+"]: "+o+i;break;default:var s=this.references.length+1;n="["+e+"]["+s+"]",r="["+s+"]: "+o+i}return this.references.push(r),n},references:[],append:function(e){var t="";return this.references.length&&(t="\n\n"+this.references.join("\n")+"\n\n",this.references=[]),t}},f.emphasis={filter:["em","i"],replacement:function(e,t,u){return e.trim()?u.emDelimiter+e+u.emDelimiter:""}},f.strong={filter:["strong","b"],replacement:function(e,t,u){return e.trim()?u.strongDelimiter+e+u.strongDelimiter:""}},f.code={filter:function(e){var t=e.previousSibling||e.nextSibling,u="PRE"===e.parentNode.nodeName&&!t;return"CODE"===e.nodeName&&!u},replacement:function(e){if(!e)return"";e=e.replace(/\r?\n|\r/g," ");for(var t=/^`|^ .*?[^ ].* $|`$/.test(e)?" ":"",u="`",n=e.match(/`+/gm)||[];-1!==n.indexOf(u);)u+="`";return u+t+e+t+u}},f.image={filter:"img",replacement:function(e,t){var u=d(t.getAttribute("alt")),n=t.getAttribute("src")||"",r=d(t.getAttribute("title"));return n?"!["+u+"]("+n+(r?' "'+r+'"':"")+")":""}},p.prototype={add:function(e,t){this.array.unshift(t)},keep:function(e){this._keep.unshift({filter:e,replacement:this.keepReplacement})},remove:function(e){this._remove.unshift({filter:e,replacement:function(){return""}})},forNode:function(e){return e.isBlank?this.blankRule:(t=h(this.array,e,this.options))||(t=h(this._keep,e,this.options))||(t=h(this._remove,e,this.options))?t:this.defaultRule;var t},forEach:function(e){for(var t=0;t'+e+"","text/html").getElementById("turndown-root"):u=e.cloneNode(!0);return function(e){var t=e.element,u=e.isBlock,n=e.isVoid,r=e.isPre||function(e){return"PRE"===e.nodeName};if(t.firstChild&&!r(t)){for(var o=null,i=!1,s=null,a=F(s,t,r);a!==t;){if(3===a.nodeType||4===a.nodeType){var c=a.data.replace(/[ \r\n\t]+/g," ");if(o&&!/ $/.test(o.data)||i||" "!==c[0]||(c=c.substr(1)),!c){a=g(a);continue}a.data=c,o=a}else{if(1!==a.nodeType){a=g(a);continue}u(a)||"BR"===a.nodeName?(o&&(o.data=o.data.replace(/ $/,"")),o=null,i=!1):n(a)||r(a)?(o=null,i=!0):o&&(i=!1)}var l=F(s,a,r);s=a,a=l}o&&(o.data=o.data.replace(/ $/,""),o.data||g(o))}}({element:u,isBlock:i,isVoid:a,isPre:t.preformattedCode?v:null}),u}function v(e){return"PRE"===e.nodeName||"CODE"===e.nodeName}function B(e,t){return e.isBlock=i(e),e.isCode="CODE"===e.nodeName||e.parentNode.isCode,e.isBlank=function(e){return!a(e)&&!function(e){return l(e,c)}(e)&&/^\s*$/i.test(e.textContent)&&!function(e){return D(e,s)}(e)&&!function(e){return D(e,c)}(e)}(e),e.flankingWhitespace=function(e,t){if(e.isBlock||t.preformattedCode&&e.isCode)return{leading:"",trailing:""};var u=(n=e.textContent,r=n.match(/^(([ \t\r\n]*)(\s*))[\s\S]*?((\s*?)([ \t\r\n]*))$/),{leading:r[1],leadingAscii:r[2],leadingNonAscii:r[3],trailing:r[4],trailingNonAscii:r[5],trailingAscii:r[6]});var n,r;u.leadingAscii&&w("left",e,t)&&(u.leading=u.leadingNonAscii);u.trailingAscii&&w("right",e,t)&&(u.trailing=u.trailingNonAscii);return{leading:u.leading,trailing:u.trailing}}(e,t),e}function w(e,t,u){var n,r,o;return"left"===e?(n=t.previousSibling,r=/ $/):(n=t.nextSibling,r=/^ /),n&&(3===n.nodeType?o=r.test(n.nodeValue):u.preformattedCode&&"CODE"===n.nodeName?o=!1:1!==n.nodeType||i(n)||(o=r.test(n.textContent))),o}var x=Array.prototype.reduce,k=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function _(e){if(!(this instanceof _))return new _(e);var t={rules:f,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:" ",preformattedCode:!1,blankReplacement:function(e,t){return t.isBlock?"\n\n":""},keepReplacement:function(e,t){return t.isBlock?"\n\n"+t.outerHTML+"\n\n":t.outerHTML},defaultReplacement:function(e,t){return t.isBlock?"\n\n"+e+"\n\n":e}};this.options=function(e){for(var t=1;t0&&"\n"===e[t-1];)t--;return e.substring(0,t)}(e),n=t.replace(/^\n*/,""),r=Math.max(e.length-u.length,t.length-n.length);return u+"\n\n".substring(0,r)+n}_.prototype={turndown:function(e){if(!function(e){return null!=e&&("string"==typeof e||e.nodeType&&(1===e.nodeType||9===e.nodeType||11===e.nodeType))}(e))throw new TypeError(e+" is not a string, or an element/document/fragment node.");if(""===e)return"";var t=S.call(this,new y(e,this.options));return j.call(this,t)},use:function(e){if(Array.isArray(e))for(var t=0;t".concat(this.parser.parseInline(e.inner),"")}},q={name:"boldText",level:"inline",start:function(e){var t;return null===(t=e.match(/\*(?!\s)/))||void 0===t?void 0:t.index},tokenizer:function(e){var t;if(0===e.indexOf("*")&&!e.match(/^\*{2,}/)){var u=null===(t=e.match(/(?!^)(?!\\\*).\*/))||void 0===t?void 0:t.index;return u&&-1!==u?{type:"boldText",raw:e.slice(0,u+2),inner:R.inlineTokens(e.slice(1,u+1))}:void 0}},renderer:function(e){return"".concat(this.parser.parseInline(e.inner),"")}},H={name:"italicText",level:"inline",start:function(e){var t,u=null===(t=e.match(/_(?!\s)(?![A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_]))/))||void 0===t?void 0:t.index;if(M&&""!==M&&(M=""),u)return 0!==u&&(M=e.charAt(u-1)),u},tokenizer:function(e){var t;if(!e.match(/^_{2,}/)&&e.match(/^_/)&&e.match(/^_(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])_(?!(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0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066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\u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08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]))/)&&(!M||!M.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\u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DF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uD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E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var u=null===(t=e.match(/(?!^)(?!\\_)(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])_(?!(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u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u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16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F8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]))/))||void 0===t?void 0:t.index;return u&&-1!==u?{type:"italicText",raw:e.slice(0,u+2),inner:R.inlineTokens(e.slice(1,u+1))}:void 0}},renderer:function(e){return"".concat(this.parser.parseInline(e.inner),"")}},J={name:"strikethrough",level:"inline",start:function(e){var t;return null===(t=e.match(/~(?!\s)/))||void 0===t?void 0:t.index},tokenizer:function(e){var t;if(0===e.indexOf("~")&&!e.match(/^~{2,}/)){var u=null===(t=e.match(/(?!^)(?!\\~).~/))||void 0===t?void 0:t.index;return u&&-1!==u?{type:"strikethrough",raw:e.slice(0,u+2),inner:R.inlineTokens(e.slice(1,u+1))}:void 0}},renderer:function(e){return"".concat(this.parser.parseInline(e.inner),"")}},G={name:"codeBlock",level:"inline",start:function(e){var t;return null===(t=e.match(/```/))||void 0===t?void 0:t.index},tokenizer:function(e){var t=/^(`{3})([^`]|[^`][\s\S]*?[^`])\1(?!`)/.exec(e);if(t){var u=t[2],n=/[^ ]/.test(u),r=/^ /.test(u)&&/ $/.test(u);return n&&r&&(u=u.substring(1,u.length-1)),{type:"codeBlock",raw:t[0],inner:R.inlineTokens(u)}}},renderer:function(e){return"
".concat(this.parser.parseInline(e.inner),"
")}};function Y(e){var t=e||{},u=t.disableLinkFocus,r=t.enabled;P.link=function(){var e=n.marked.Renderer.prototype.link.apply(this,arguments);return z=!0,u?e.replace("\n \n \n \n\n\n'},"./includes/plugin.support-center-helper.js":function(e,t){Genesys("registerPlugin","SupportCenterHelper",(function(e){e.registerCommand("configure",(function(t){var u=t.data||{},n=(u.deploymentConfig||{}).supportCenter.targetElementSelector||"#genesys-support-center";function r(){var t,n;Genesys("loadPlugin","SupportCenter",u),t=document.createElement("link"),n=e.data("ServiceDiscovery.uris.staticAssets"),t.href="".concat(n,"/support-center/support-center-plugins/main.css"),t.rel="stylesheet",document.head.appendChild(t)}function o(){document.querySelector(n)&&r()}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",o):o(),t.resolve()})),e.ready()}))},"./includes/util.js":function(e,t,u){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}u.d(t,"d",(function(){return a})),u.d(t,"f",(function(){return c})),u.d(t,"a",(function(){return l})),u.d(t,"h",(function(){return D})),u.d(t,"i",(function(){return f})),u.d(t,"b",(function(){return d})),u.d(t,"e",(function(){return p})),u.d(t,"c",(function(){return h})),u.d(t,"j",(function(){return m})),u.d(t,"g",(function(){return g}));var r=/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i,o="LocalStorage",i=[],s={};function a(e){return null==e}function c(e){return"string"==typeof e&&r.test(e)}function l(e){return Object.assign({},e)}function D(e){var t={};for(var u in e)if(u&&"object"===n(e["".concat(u)])&&null!==e["".concat(u)])t["".concat(u)]=D(e["".concat(u)]);else{if(!u||"string"!=typeof e["".concat(u)])return;t["".concat(u)]=e["".concat(u)]}return t}function f(e,t){return new Promise((function(u){i=t,u(s=function e(t,u){return Object.keys(t).reduce((function(r,o){var s=!(-1===i.indexOf(o));return u&&(s=!(-1===i.indexOf("".concat(u,".").concat(o)))),!s&&Array.isArray(t[o])?r[o]=t[o]:u&&!s?"object"!==n(t[o])?r[o]=t[o]:r[o]=e(t[o],"".concat(u,".").concat(o)):s||"object"===n(t[o])||-1!==i.indexOf(o)?s||"object"!==n(t[o])||(r[o]=e(t[o],o)):r[o]=t[o],r}),{})}(e))}))}function d(){return s}function p(){return new Promise((function(e){e}))}function h(){var e=localStorage.getItem("genesysjs");if(e){var t={};try{t=JSON.parse(e)}catch(e){console.warn("Error parsing JSON",e)}t.cookies&&(o="Cookies")}return o}function m(e){if(function(){if(!window.DOMParser)return!1;var e=new DOMParser;try{e.parseFromString("x","text/html")}catch(e){return!1}return!0}())return(new DOMParser).parseFromString(e,"text/html").body.firstChild;var t=document.createElement("div");return t.innerHTML=e,t}function g(){var e={},t=!1,u=0;"boolean"==typeof(arguments.length<=0?void 0:arguments[0])&&(t=arguments.length<=0?void 0:arguments[0],u++);for(var n=function(u){for(var n in u)Object.prototype.hasOwnProperty.call(u,n)&&(t&&"[object Object]"===Object.prototype.toString.call(u["".concat(n)])?"[object Object]"===Object.prototype.toString.call(e["".concat(n)])?e["".concat(n)]=g(!0,e["".concat(n)],u["".concat(n)]):e["".concat(n)]=g(e["".concat(n)],u["".concat(n)]):e[n]=u[n])};u=2&&(u=u.slice(2)):C(r)?u=n[4]:r?o&&(u=u.slice(2)):s>=2&&C(t.protocol)&&(u=n[4]),{protocol:r,slashes:o||C(r),slashesCount:s,rest:u}}function b(e,t,u){if(e=(e=m(e)).replace(D,""),!(this instanceof b))return new b(e,t,u);var n,r,i,s,a,l,f=g.slice(),d=typeof t,p=this,F=0;for("object"!==d&&"string"!==d&&(u=t,t=null),u&&"function"!=typeof u&&(u=c.parse),n=!(r=E(e||"",t=A(t))).protocol&&!r.slashes,p.slashes=r.slashes||n&&t.slashes,p.protocol=r.protocol||t.protocol||"",e=r.rest,("file:"===r.protocol&&(2!==r.slashesCount||h.test(e))||!r.slashes&&(r.protocol||r.slashesCount<2||!C(p.protocol)))&&(f[3]=[/(.*)/,"pathname"]);F=0})),"'".concat(t.env,"' - filters.env must be an array containing only: ").concat(k.join(",")))),void 0!==t.status&&(v(t.status instanceof Array,"filters.status must be an array"),v(t.status.every((function(e){return _.indexOf(e)>=0})),"'".concat(t.status,"' - filters.status must be an array containing only: ").concat(_.join(","))))}var x=[{name:"dev",env:"dev",region:"us-east-1",status:"stable",publicDomainName:"inindca.com",publicDomainAliases:[]},{name:"fedramp-use2-core",env:"fedramp",region:"us-east-2",status:"stable",publicDomainName:"use2.us-gov-pure.cloud",publicDomainAliases:[]},{name:"prod",env:"prod",region:"us-east-1",status:"stable",publicDomainName:"mypurecloud.com",publicDomainAliases:[]},{name:"prod-apne1",env:"prod",region:"ap-northeast-1",status:"stable",publicDomainName:"mypurecloud.jp",publicDomainAliases:[]},{name:"prod-apne2",env:"prod",region:"ap-northeast-2",status:"stable",publicDomainName:"apne2.pure.cloud",publicDomainAliases:[]},{name:"prod-aps1",env:"prod",region:"ap-south-1",status:"stable",publicDomainName:"aps1.pure.cloud",publicDomainAliases:[]},{name:"prod-apse2",env:"prod",region:"ap-southeast-2",status:"stable",publicDomainName:"mypurecloud.com.au",publicDomainAliases:[]},{name:"prod-cac1",env:"prod",region:"ca-central-1",status:"stable",publicDomainName:"cac1.pure.cloud",publicDomainAliases:[]},{name:"prod-euc1",env:"prod",region:"eu-central-1",status:"stable",publicDomainName:"mypurecloud.de",publicDomainAliases:[]},{name:"prod-euw1",env:"prod",region:"eu-west-1",status:"stable",publicDomainName:"mypurecloud.ie",publicDomainAliases:[]},{name:"prod-euw2",env:"prod",region:"eu-west-2",status:"stable",publicDomainName:"euw2.pure.cloud",publicDomainAliases:[]},{name:"prod-sae1",env:"prod",region:"sa-east-1",status:"stable",publicDomainName:"sae1.pure.cloud",publicDomainAliases:[]},{name:"prod-usw2",env:"prod",region:"us-west-2",status:"stable",publicDomainName:"usw2.pure.cloud",publicDomainAliases:[]},{name:"test",env:"test",region:"us-east-1",status:"stable",publicDomainName:"inintca.com",publicDomainAliases:[]}],k=["dev","test","prod","fedramp"],_=["alpha","beta","stable","archived"],S=["localhost","127.0.0.1"],j={env:["prod","fedramp"],status:["stable"]},O={},T=function(e){return function(t){return e===t||(u=e,n=".".concat(t),u.slice(u.length-n.length)===n);var u,n}},I=function(e){void 0===e&&(e=j),w(e);var t=e.env,u=e.status;return x.filter((function(e){return void 0===t||t.indexOf(e.env)>=0})).filter((function(e){return void 0===u||u.indexOf(e.status)>=0}))},R=function(e,t){var u=B(e).hostname;return I(t).find((function(e){return n([e.publicDomainName],e.publicDomainAliases,!0).filter((function(e){return!!e})).some(T(u))}))},P=function(e,t){void 0===e&&(e=window.location.href),void 0===t&&(t=O),w(t);var r=B(e).hostname,o=R(e,t);if(o)return u(u({},o),{local:!1,currentDomainName:n([o.publicDomainName],o.publicDomainAliases,!0).filter((function(e){return!!e})).find(T(r))})},N=function(e){return void 0===e&&(e=S),function(t,n){void 0===t&&(t=window.location.href),void 0===n&&(n=O),w(n),function(e,t){void 0===t&&(t="value"),v(e instanceof Array,"".concat(t," must be an array of strings"));for(var u=0,n=e;u=0){var s=i.split("/")[1],a=I(n).find((function(e){return e.name===s}));if(!a)return;return u(u({},a),{local:!0,currentDomainName:a.publicDomainName})}}};t.ENVS=k,t.STATUSES=_,t.getEnvironments=I,t.isKnown=function(e,t){return!!R(e,t)},t.parse=R,t.parseDeployedRuntime=P,t.parseRuntime=function(e,t){return void 0===e&&(e=window.location.href),void 0===t&&(t=O),N()(e,t)||P(e,t)},t.parseRuntimeFromLocalPath=N,Object.defineProperty(t,"__esModule",{value:!0})})(t)}).call(this,u("./node_modules/webpack/buildin/global.js"))},"./node_modules/axios/index.js":function(e,t,u){e.exports=u("./node_modules/axios/lib/axios.js")},"./node_modules/axios/lib/adapters/xhr.js":function(e,t,u){"use strict";var n=u("./node_modules/axios/lib/utils.js"),r=u("./node_modules/axios/lib/core/settle.js"),o=u("./node_modules/axios/lib/helpers/cookies.js"),i=u("./node_modules/axios/lib/helpers/buildURL.js"),s=u("./node_modules/axios/lib/core/buildFullPath.js"),a=u("./node_modules/axios/lib/helpers/parseHeaders.js"),c=u("./node_modules/axios/lib/helpers/isURLSameOrigin.js"),l=u("./node_modules/axios/lib/defaults/transitional.js"),D=u("./node_modules/axios/lib/core/AxiosError.js"),f=u("./node_modules/axios/lib/cancel/CanceledError.js"),d=u("./node_modules/axios/lib/helpers/parseProtocol.js");e.exports=function(e){return new Promise((function(t,u){var p,h=e.data,m=e.headers,g=e.responseType;function F(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}n.isFormData(h)&&n.isStandardBrowserEnv()&&delete m["Content-Type"];var A=new XMLHttpRequest;if(e.auth){var C=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(C+":"+E)}var b=s(e.baseURL,e.url);function y(){if(A){var n="getAllResponseHeaders"in A?a(A.getAllResponseHeaders()):null,o={data:g&&"text"!==g&&"json"!==g?A.response:A.responseText,status:A.status,statusText:A.statusText,headers:n,config:e,request:A};r((function(e){t(e),F()}),(function(e){u(e),F()}),o),A=null}}if(A.open(e.method.toUpperCase(),i(b,e.params,e.paramsSerializer),!0),A.timeout=e.timeout,"onloadend"in A?A.onloadend=y:A.onreadystatechange=function(){A&&4===A.readyState&&(0!==A.status||A.responseURL&&0===A.responseURL.indexOf("file:"))&&setTimeout(y)},A.onabort=function(){A&&(u(new D("Request aborted",D.ECONNABORTED,e,A)),A=null)},A.onerror=function(){u(new D("Network Error",D.ERR_NETWORK,e,A,A)),A=null},A.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||l;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),u(new D(t,n.clarifyTimeoutError?D.ETIMEDOUT:D.ECONNABORTED,e,A)),A=null},n.isStandardBrowserEnv()){var v=(e.withCredentials||c(b))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;v&&(m[e.xsrfHeaderName]=v)}"setRequestHeader"in A&&n.forEach(m,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete m[t]:A.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(A.withCredentials=!!e.withCredentials),g&&"json"!==g&&(A.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&A.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&A.upload&&A.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){A&&(u(!e||e&&e.type?new f:e),A.abort(),A=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),h||(h=null);var B=d(b);B&&-1===["http","https","file"].indexOf(B)?u(new D("Unsupported protocol "+B+":",D.ERR_BAD_REQUEST,e)):A.send(h)}))}},"./node_modules/axios/lib/axios.js":function(e,t,u){"use strict";var n=u("./node_modules/axios/lib/utils.js"),r=u("./node_modules/axios/lib/helpers/bind.js"),o=u("./node_modules/axios/lib/core/Axios.js"),i=u("./node_modules/axios/lib/core/mergeConfig.js");var s=function e(t){var u=new o(t),s=r(o.prototype.request,u);return n.extend(s,o.prototype,u),n.extend(s,u),s.create=function(u){return e(i(t,u))},s}(u("./node_modules/axios/lib/defaults/index.js"));s.Axios=o,s.CanceledError=u("./node_modules/axios/lib/cancel/CanceledError.js"),s.CancelToken=u("./node_modules/axios/lib/cancel/CancelToken.js"),s.isCancel=u("./node_modules/axios/lib/cancel/isCancel.js"),s.VERSION=u("./node_modules/axios/lib/env/data.js").version,s.toFormData=u("./node_modules/axios/lib/helpers/toFormData.js"),s.AxiosError=u("./node_modules/axios/lib/core/AxiosError.js"),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=u("./node_modules/axios/lib/helpers/spread.js"),s.isAxiosError=u("./node_modules/axios/lib/helpers/isAxiosError.js"),e.exports=s,e.exports.default=s},"./node_modules/axios/lib/cancel/CancelToken.js":function(e,t,u){"use strict";var n=u("./node_modules/axios/lib/cancel/CanceledError.js");function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var u=this;this.promise.then((function(e){if(u._listeners){var t,n=u._listeners.length;for(t=0;t=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){D.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){D.headers[e]=n.merge(a)})),e.exports=D}).call(this,u("./node_modules/process/browser.js"))},"./node_modules/axios/lib/defaults/transitional.js":function(e,t,u){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},"./node_modules/axios/lib/env/data.js":function(e,t){e.exports={version:"0.27.2"}},"./node_modules/axios/lib/helpers/bind.js":function(e,t,u){"use strict";e.exports=function(e,t){return function(){for(var u=new Array(arguments.length),n=0;n=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([u]):i[t]?i[t]+", "+u:u}})),i):i}},"./node_modules/axios/lib/helpers/parseProtocol.js":function(e,t,u){"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},"./node_modules/axios/lib/helpers/spread.js":function(e,t,u){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"./node_modules/axios/lib/helpers/toFormData.js":function(e,t,u){"use strict";(function(t){var n=u("./node_modules/axios/lib/utils.js");e.exports=function(e,u){u=u||new FormData;var r=[];function o(e){return null===e?"":n.isDate(e)?e.toISOString():n.isArrayBuffer(e)||n.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):t.from(e):e}return function e(t,i){if(n.isPlainObject(t)||n.isArray(t)){if(-1!==r.indexOf(t))throw Error("Circular reference detected in "+i);r.push(t),n.forEach(t,(function(t,r){if(!n.isUndefined(t)){var s,a=i?i+"."+r:r;if(t&&!i&&"object"==typeof t)if(n.endsWith(r,"{}"))t=JSON.stringify(t);else if(n.endsWith(r,"[]")&&(s=n.toArray(t)))return void s.forEach((function(e){!n.isUndefined(e)&&u.append(a,o(e))}));e(t,a)}})),r.pop()}else u.append(i,o(t))}(e),u}}).call(this,u("./node_modules/buffer/index.js").Buffer)},"./node_modules/axios/lib/helpers/validator.js":function(e,t,u){"use strict";var n=u("./node_modules/axios/lib/env/data.js").version,r=u("./node_modules/axios/lib/core/AxiosError.js"),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(u){return typeof u===e||"a"+(t<1?"n ":" ")+e}}));var i={};o.transitional=function(e,t,u){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(u?". "+u:"")}return function(u,n,s){if(!1===e)throw new r(o(n," has been removed"+(t?" in "+t:"")),r.ERR_DEPRECATED);return t&&!i[n]&&(i[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(u,n,s)}},e.exports={assertOptions:function(e,t,u){if("object"!=typeof e)throw new r("options must be an object",r.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),o=n.length;o-- >0;){var i=n[o],s=t[i];if(s){var a=e[i],c=void 0===a||s(a,i,e);if(!0!==c)throw new r("option "+i+" must be "+c,r.ERR_BAD_OPTION_VALUE)}else if(!0!==u)throw new r("Unknown option "+i,r.ERR_BAD_OPTION)}},validators:o}},"./node_modules/axios/lib/utils.js":function(e,t,u){"use strict";var n,r=u("./node_modules/axios/lib/helpers/bind.js"),o=Object.prototype.toString,i=(n=Object.create(null),function(e){var t=o.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return i(t)===e}}function a(e){return Array.isArray(e)}function c(e){return void 0===e}var l=s("ArrayBuffer");function D(e){return null!==e&&"object"==typeof e}function f(e){if("object"!==i(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var d=s("Date"),p=s("File"),h=s("Blob"),m=s("FileList");function g(e){return"[object Function]"===o.call(e)}var F=s("URLSearchParams");function A(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var u=0,n=e.length;u0;)i[o=n[r]]||(t[o]=e[o],i[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!u||u(e,t))&&e!==Object.prototype);return t},kindOf:i,kindOfTest:s,endsWith:function(e,t,u){e=String(e),(void 0===u||u>e.length)&&(u=e.length),u-=t.length;var n=e.indexOf(t,u);return-1!==n&&n===u},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var u=new Array(t);t-- >0;)u[t]=e[t];return u},isTypedArray:E,isFileList:m}},"./node_modules/base64-js/index.js":function(e,t,u){"use strict";t.byteLength=function(e){var t=c(e),u=t[0],n=t[1];return 3*(u+n)/4-n},t.toByteArray=function(e){var t,u,n=c(e),i=n[0],s=n[1],a=new o(function(e,t,u){return 3*(t+u)/4-u}(0,i,s)),l=0,D=s>0?i-4:i;for(u=0;u>16&255,a[l++]=t>>8&255,a[l++]=255&t;2===s&&(t=r[e.charCodeAt(u)]<<2|r[e.charCodeAt(u+1)]>>4,a[l++]=255&t);1===s&&(t=r[e.charCodeAt(u)]<<10|r[e.charCodeAt(u+1)]<<4|r[e.charCodeAt(u+2)]>>2,a[l++]=t>>8&255,a[l++]=255&t);return a},t.fromByteArray=function(e){for(var t,u=e.length,r=u%3,o=[],i=0,s=u-r;is?s:i+16383));1===r?(t=e[u-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===r&&(t=(e[u-2]<<8)+e[u-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=i.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var u=e.indexOf("=");return-1===u&&(u=t),[u,u===t?0:4-u%4]}function l(e,t,u){for(var r,o,i=[],s=t;s>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return i.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},"./node_modules/buffer/index.js":function(e,t,u){"use strict";(function(e){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ var n=u("./node_modules/base64-js/index.js"),r=u("./node_modules/ieee754/index.js"),o=u("./node_modules/isarray/index.js");function i(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(i()=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function p(e,t){if(a.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var u=e.length;if(0===u)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return u;case"utf8":case"utf-8":case void 0:return M(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*u;case"hex":return u>>>1;case"base64":return z(e).length;default:if(n)return M(e).length;t=(""+t).toLowerCase(),n=!0}}function h(e,t,u){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===u||u>this.length)&&(u=this.length),u<=0)return"";if((u>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return _(this,t,u);case"utf8":case"utf-8":return w(this,t,u);case"ascii":return x(this,t,u);case"latin1":case"binary":return k(this,t,u);case"base64":return B(this,t,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,u);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,u){var n=e[t];e[t]=e[u],e[u]=n}function g(e,t,u,n,r){if(0===e.length)return-1;if("string"==typeof u?(n=u,u=0):u>2147483647?u=2147483647:u<-2147483648&&(u=-2147483648),u=+u,isNaN(u)&&(u=r?0:e.length-1),u<0&&(u=e.length+u),u>=e.length){if(r)return-1;u=e.length-1}else if(u<0){if(!r)return-1;u=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:F(e,t,u,n,r);if("number"==typeof t)return t&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,u):Uint8Array.prototype.lastIndexOf.call(e,t,u):F(e,[t],u,n,r);throw new TypeError("val must be string, number or Buffer")}function F(e,t,u,n,r){var o,i=1,s=e.length,a=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;i=2,s/=2,a/=2,u/=2}function c(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(r){var l=-1;for(o=u;os&&(u=s-a),o=u;o>=0;o--){for(var D=!0,f=0;fr&&(n=r):n=r;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var i=0;i>8,r=u%256,o.push(r),o.push(n);return o}(t,e.length-u),e,u,n)}function B(e,t,u){return 0===t&&u===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,u))}function w(e,t,u){u=Math.min(e.length,u);for(var n=[],r=t;r239?4:c>223?3:c>191?2:1;if(r+D<=u)switch(D){case 1:c<128&&(l=c);break;case 2:128==(192&(o=e[r+1]))&&(a=(31&c)<<6|63&o)>127&&(l=a);break;case 3:o=e[r+1],i=e[r+2],128==(192&o)&&128==(192&i)&&(a=(15&c)<<12|(63&o)<<6|63&i)>2047&&(a<55296||a>57343)&&(l=a);break;case 4:o=e[r+1],i=e[r+2],s=e[r+3],128==(192&o)&&128==(192&i)&&128==(192&s)&&(a=(15&c)<<18|(63&o)<<12|(63&i)<<6|63&s)>65535&&a<1114112&&(l=a)}null===l?(l=65533,D=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),r+=D}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var u="",n=0;for(;n0&&(e=this.toString("hex",0,u).match(/.{2}/g).join(" "),this.length>u&&(e+=" ... ")),""},a.prototype.compare=function(e,t,u,n,r){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===u&&(u=e?e.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),t<0||u>e.length||n<0||r>this.length)throw new RangeError("out of range index");if(n>=r&&t>=u)return 0;if(n>=r)return-1;if(t>=u)return 1;if(this===e)return 0;for(var o=(r>>>=0)-(n>>>=0),i=(u>>>=0)-(t>>>=0),s=Math.min(o,i),c=this.slice(n,r),l=e.slice(t,u),D=0;Dr)&&(u=r),e.length>0&&(u<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return A(this,e,t,u);case"utf8":case"utf-8":return C(this,e,t,u);case"ascii":return E(this,e,t,u);case"latin1":case"binary":return b(this,e,t,u);case"base64":return y(this,e,t,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return v(this,e,t,u);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function x(e,t,u){var n="";u=Math.min(e.length,u);for(var r=t;rn)&&(u=n);for(var r="",o=t;ou)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,u,n,r,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function T(e,t,u,n){t<0&&(t=65535+t+1);for(var r=0,o=Math.min(e.length-u,2);r>>8*(n?r:1-r)}function I(e,t,u,n){t<0&&(t=4294967295+t+1);for(var r=0,o=Math.min(e.length-u,4);r>>8*(n?r:3-r)&255}function R(e,t,u,n,r,o){if(u+n>e.length)throw new RangeError("Index out of range");if(u<0)throw new RangeError("Index out of range")}function P(e,t,u,n,o){return o||R(e,0,u,4),r.write(e,t,u,n,23,4),u+4}function N(e,t,u,n,o){return o||R(e,0,u,8),r.write(e,t,u,n,52,8),u+8}a.prototype.slice=function(e,t){var u,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(r*=256);)n+=this[e+--t]*r;return n},a.prototype.readUInt8=function(e,t){return t||j(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||j(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||j(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||j(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return t||j(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,u){e|=0,t|=0,u||j(e,t,this.length);for(var n=this[e],r=1,o=0;++o=(r*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,u){e|=0,t|=0,u||j(e,t,this.length);for(var n=t,r=1,o=this[e+--n];n>0&&(r*=256);)o+=this[e+--n]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return t||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){t||j(e,2,this.length);var u=this[e]|this[e+1]<<8;return 32768&u?4294901760|u:u},a.prototype.readInt16BE=function(e,t){t||j(e,2,this.length);var u=this[e+1]|this[e]<<8;return 32768&u?4294901760|u:u},a.prototype.readInt32LE=function(e,t){return t||j(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return t||j(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return t||j(e,4,this.length),r.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||j(e,4,this.length),r.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||j(e,8,this.length),r.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||j(e,8,this.length),r.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,u,n){(e=+e,t|=0,u|=0,n)||O(this,e,t,u,Math.pow(2,8*u)-1,0);var r=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+r]=e/o&255;return t+u},a.prototype.writeUInt8=function(e,t,u){return e=+e,t|=0,u||O(this,e,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,u){return e=+e,t|=0,u||O(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):T(this,e,t,!0),t+2},a.prototype.writeUInt16BE=function(e,t,u){return e=+e,t|=0,u||O(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):T(this,e,t,!1),t+2},a.prototype.writeUInt32LE=function(e,t,u){return e=+e,t|=0,u||O(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):I(this,e,t,!0),t+4},a.prototype.writeUInt32BE=function(e,t,u){return e=+e,t|=0,u||O(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},a.prototype.writeIntLE=function(e,t,u,n){if(e=+e,t|=0,!n){var r=Math.pow(2,8*u-1);O(this,e,t,u,r-1,-r)}var o=0,i=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+u},a.prototype.writeIntBE=function(e,t,u,n){if(e=+e,t|=0,!n){var r=Math.pow(2,8*u-1);O(this,e,t,u,r-1,-r)}var o=u-1,i=1,s=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/i>>0)-s&255;return t+u},a.prototype.writeInt8=function(e,t,u){return e=+e,t|=0,u||O(this,e,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,u){return e=+e,t|=0,u||O(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):T(this,e,t,!0),t+2},a.prototype.writeInt16BE=function(e,t,u){return e=+e,t|=0,u||O(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):T(this,e,t,!1),t+2},a.prototype.writeInt32LE=function(e,t,u){return e=+e,t|=0,u||O(this,e,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):I(this,e,t,!0),t+4},a.prototype.writeInt32BE=function(e,t,u){return e=+e,t|=0,u||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},a.prototype.writeFloatLE=function(e,t,u){return P(this,e,t,!0,u)},a.prototype.writeFloatBE=function(e,t,u){return P(this,e,t,!1,u)},a.prototype.writeDoubleLE=function(e,t,u){return N(this,e,t,!0,u)},a.prototype.writeDoubleBE=function(e,t,u){return N(this,e,t,!1,u)},a.prototype.copy=function(e,t,u,n){if(u||(u=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--r)e[r+t]=this[r+u];else if(o<1e3||!a.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,u=void 0===u?this.length:u>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&u<57344){if(!r){if(u>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(i+1===n){(t-=3)>-1&&o.push(239,191,189);continue}r=u;continue}if(u<56320){(t-=3)>-1&&o.push(239,191,189),r=u;continue}u=65536+(r-55296<<10|u-56320)}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,u<128){if((t-=1)<0)break;o.push(u)}else if(u<2048){if((t-=2)<0)break;o.push(u>>6|192,63&u|128)}else if(u<65536){if((t-=3)<0)break;o.push(u>>12|224,u>>6&63|128,63&u|128)}else{if(!(u<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(u>>18|240,u>>12&63|128,u>>6&63|128,63&u|128)}}return o}function z(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(U,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function $(e,t,u,n){for(var r=0;r=t.length||r>=e.length);++r)t[r+u]=e[r];return r}}).call(this,u("./node_modules/webpack/buildin/global.js"))},"./node_modules/cross-storage/lib/client.js":function(e,t,u){!function(u){function n(e,t){var u;t=t||{},this._id=n._generateUUID(),this._promise=t.promise||Promise,this._frameId=t.frameId||"CrossStorageClient-"+this._id,this._origin=n._getOrigin(e),this._requests={},this._connected=!1,this._closed=!1,this._count=0,this._timeout=t.timeout||5e3,this._listener=null,this._installListener(),t.frameId&&(u=document.getElementById(t.frameId)),u&&this._poll(),u=u||this._createFrame(e),this._hub=u.contentWindow}n.frameStyle={display:"none",position:"absolute",top:"-999px",left:"-999px"},n._getOrigin=function(e){var t;return(t=document.createElement("a")).href=e,t.host||(t=window.location),((t.protocol&&":"!==t.protocol?t.protocol:window.location.protocol)+"//"+t.host).replace(/:80$|:443$/,"")},n._generateUUID=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))},n.prototype.onConnect=function(){var e=this;return this._connected?this._promise.resolve():this._closed?this._promise.reject(new Error("CrossStorageClient has closed")):(this._requests.connect||(this._requests.connect=[]),new this._promise((function(t,u){var n=setTimeout((function(){u(new Error("CrossStorageClient could not connect"))}),e._timeout);e._requests.connect.push((function(e){if(clearTimeout(n),e)return u(e);t()}))})))},n.prototype.set=function(e,t){return this._request("set",{key:e,value:t})},n.prototype.get=function(e){var t=Array.prototype.slice.call(arguments);return this._request("get",{keys:t})},n.prototype.del=function(){var e=Array.prototype.slice.call(arguments);return this._request("del",{keys:e})},n.prototype.clear=function(){return this._request("clear")},n.prototype.getKeys=function(){return this._request("getKeys")},n.prototype.close=function(){var e=document.getElementById(this._frameId);e&&e.parentNode.removeChild(e),window.removeEventListener?window.removeEventListener("message",this._listener,!1):window.detachEvent("onmessage",this._listener),this._connected=!1,this._closed=!0},n.prototype._installListener=function(){var e=this;this._listener=function(t){var u,n,r;if(!e._closed&&t.data&&"string"==typeof t.data&&("null"===t.origin?"file://":t.origin)===e._origin)if("cross-storage:unavailable"!==t.data){if(-1!==t.data.indexOf("cross-storage:")&&!e._connected){if(e._connected=!0,!e._requests.connect)return;for(u=0;u1?u:u[0]},_del:function(e){for(var t=0;t>1,l=-7,D=u?r-1:0,f=u?-1:1,d=e[t+D];for(D+=f,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+e[t+D],D+=f,l-=8);for(i=o&(1<<-l)-1,o>>=-l,l+=n;l>0;i=256*i+e[t+D],D+=f,l-=8);if(0===o)o=1-c;else{if(o===a)return i?NaN:1/0*(d?-1:1);i+=Math.pow(2,n),o-=c}return(d?-1:1)*i*Math.pow(2,o-n)},t.write=function(e,t,u,n,r,o){var i,s,a,c=8*o-r-1,l=(1<>1,f=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=l):(i=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-i))<1&&(i--,a*=2),(t+=i+D>=1?f/a:f*Math.pow(2,1-D))*a>=2&&(i++,a/=2),i+D>=l?(s=0,i=l):i+D>=1?(s=(t*a-1)*Math.pow(2,r),i+=D):(s=t*Math.pow(2,D-1)*Math.pow(2,r),i=0));r>=8;e[u+d]=255&s,d+=p,s/=256,r-=8);for(i=i<0;e[u+d]=255&i,d+=p,i/=256,c-=8);e[u+d-p]|=128*h}},"./node_modules/isarray/index.js":function(e,t){var u={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==u.call(e)}},"./node_modules/marked/lib/marked.umd.js":function(e,t,u){!function(e){"use strict";function t(e,t){for(var u=0;ue.length)&&(t=e.length);for(var u=0,n=new Array(t);u=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.defaults={baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};var o=/[&<>"']/,i=/[&<>"']/g,s=/[<>"']|&(?!#?\w+;)/,a=/[<>"']|&(?!#?\w+;)/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"},l=function(e){return c[e]};function D(e,t){if(t){if(o.test(e))return e.replace(i,l)}else if(s.test(e))return e.replace(a,l);return e}var f=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function d(e){return e.replace(f,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var p=/(^|[^\[])\^/g;function h(e,t){e=e.source||e,t=t||"";var u={replace:function(t,n){return n=(n=n.source||n).replace(p,"$1"),e=e.replace(t,n),u},getRegex:function(){return new RegExp(e,t)}};return u}var m=/[^\w:]/g,g=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function F(e,t,u){if(e){var n;try{n=decodeURIComponent(d(u)).replace(m,"").toLowerCase()}catch(e){return null}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return null}t&&!g.test(u)&&(u=function(e,t){A[" "+e]||(C.test(e)?A[" "+e]=e+"/":A[" "+e]=w(e,"/",!0));var u=-1===(e=A[" "+e]).indexOf(":");return"//"===t.substring(0,2)?u?t:e.replace(E,"$1")+t:"/"===t.charAt(0)?u?t:e.replace(b,"$1")+t:e+t}(t,u));try{u=encodeURI(u).replace(/%25/g,"%")}catch(e){return null}return u}var A={},C=/^[^:]+:\/*[^/]*$/,E=/^([^:]+:)[\s\S]*$/,b=/^([^:]+:\/*[^/]*)[\s\S]*$/,y={exec:function(){}};function v(e){for(var t,u,n=1;n=0&&"\\"===u[r];)n=!n;return n?"|":" |"})).split(/ \|/),n=0;if(u[0].trim()||u.shift(),u[u.length-1].trim()||u.pop(),u.length>t)u.splice(t);else for(;u.length1;)1&t&&(u+=e),t>>=1,e+=e;return u+e}function _(e,t,u,n){var r=t.href,o=t.title?D(t.title):null,i=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){n.state.inLink=!0;var s={type:"link",raw:u,href:r,title:o,text:i,tokens:n.inlineTokens(i,[])};return n.state.inLink=!1,s}return{type:"image",raw:u,href:r,title:o,text:D(i)}}var S=function(){function t(t){this.options=t||e.defaults}var u=t.prototype;return u.space=function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}},u.code=function(e){var t=this.rules.block.code.exec(e);if(t){var u=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?u:w(u,"\n")}}},u.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var u=t[0],n=function(e,t){var u=e.match(/^(\s+)(?:```)/);if(null===u)return t;var n=u[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=n.length?e.slice(n.length):e})).join("\n")}(u,t[3]||"");return{type:"code",raw:u,lang:t[2]?t[2].trim():t[2],text:n}}},u.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var u=t[2].trim();if(/#$/.test(u)){var n=w(u,"#");this.options.pedantic?u=n.trim():n&&!/ $/.test(n)||(u=n.trim())}var r={type:"heading",raw:t[0],depth:t[1].length,text:u,tokens:[]};return this.lexer.inline(r.text,r.tokens),r}},u.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},u.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var u=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(u,[]),text:u}}},u.list=function(e){var t=this.rules.block.list.exec(e);if(t){var u,r,o,i,s,a,c,l,D,f,d,p,h=t[1].trim(),m=h.length>1,g={type:"list",raw:"",ordered:m,start:m?+h.slice(0,-1):"",loose:!1,items:[]};h=m?"\\d{1,9}\\"+h.slice(-1):"\\"+h,this.options.pedantic&&(h=m?h:"[*+-]");for(var F=new RegExp("^( {0,3}"+h+")((?: [^\\n]*)?(?:\\n|$))");e&&(p=!1,t=F.exec(e))&&!this.rules.block.hr.test(e);){if(u=t[0],e=e.substring(u.length),l=t[2].split("\n",1)[0],D=e.split("\n",1)[0],this.options.pedantic?(i=2,d=l.trimLeft()):(i=(i=t[2].search(/[^ ]/))>4?1:i,d=l.slice(i),i+=t[1].length),a=!1,!l&&/^ *$/.test(D)&&(u+=D+"\n",e=e.substring(D.length+1),p=!0),!p)for(var A=new RegExp("^ {0,"+Math.min(3,i-1)+"}(?:[*+-]|\\d{1,9}[.)])");e&&(l=f=e.split("\n",1)[0],this.options.pedantic&&(l=l.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!A.test(l));){if(l.search(/[^ ]/)>=i||!l.trim())d+="\n"+l.slice(i);else{if(a)break;d+="\n"+l}a||l.trim()||(a=!0),u+=f+"\n",e=e.substring(f.length+1)}g.loose||(c?g.loose=!0:/\n *\n *$/.test(u)&&(c=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(d))&&(o="[ ] "!==r[0],d=d.replace(/^\[[ xX]\] +/,"")),g.items.push({type:"list_item",raw:u,task:!!r,checked:o,loose:!1,text:d}),g.raw+=u}g.items[g.items.length-1].raw=u.trimRight(),g.items[g.items.length-1].text=d.trimRight(),g.raw=g.raw.trimRight();var C=g.items.length;for(s=0;s1)return!0;return!1}));!g.loose&&E.length&&b&&(g.loose=!0,g.items[s].loose=!0)}return g}},u.html=function(e){var t=this.rules.block.html.exec(e);if(t){var u={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(u.type="paragraph",u.text=this.options.sanitizer?this.options.sanitizer(t[0]):D(t[0]),u.tokens=[],this.lexer.inline(u.text,u.tokens)),u}},u.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},u.table=function(e){var t=this.rules.block.table.exec(e);if(t){var u={type:"table",header:B(t[1]).map((function(e){return{text:e}})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(u.header.length===u.align.length){u.raw=t[0];var n,r,o,i,s=u.align.length;for(n=0;n/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):D(t[0]):t[0]}},u.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var u=t[2].trim();if(!this.options.pedantic&&/^$/.test(u))return;var n=w(u.slice(0,-1),"\\");if((u.length-n.length)%2==0)return}else{var r=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var u=e.length,n=0,r=0;r-1){var o=(0===t[0].indexOf("!")?5:4)+t[1].length+r;t[2]=t[2].substring(0,r),t[0]=t[0].substring(0,o).trim(),t[3]=""}}var i=t[2],s="";if(this.options.pedantic){var a=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);a&&(i=a[1],s=a[3])}else s=t[3]?t[3].slice(1,-1):"";return i=i.trim(),/^$/.test(u)?i.slice(1):i.slice(1,-1)),_(t,{href:i?i.replace(this.rules.inline._escapes,"$1"):i,title:s?s.replace(this.rules.inline._escapes,"$1"):s},t[0],this.lexer)}},u.reflink=function(e,t){var u;if((u=this.rules.inline.reflink.exec(e))||(u=this.rules.inline.nolink.exec(e))){var n=(u[2]||u[1]).replace(/\s+/g," ");if(!(n=t[n.toLowerCase()])||!n.href){var r=u[0].charAt(0);return{type:"text",raw:r,text:r}}return _(u,n,u[0],this.lexer)}},u.emStrong=function(e,t,u){void 0===u&&(u="");var n=this.rules.inline.emStrong.lDelim.exec(e);if(n&&(!n[3]||!u.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0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F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-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-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\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uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var r=n[1]||n[2]||"";if(!r||r&&(""===u||this.rules.inline.punctuation.exec(u))){var o,i,s=n[0].length-1,a=s,c=0,l="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+s);null!=(n=l.exec(t));)if(o=n[1]||n[2]||n[3]||n[4]||n[5]||n[6])if(i=o.length,n[3]||n[4])a+=i;else if(!((n[5]||n[6])&&s%3)||(s+i)%3){if(!((a-=i)>0)){if(i=Math.min(i,i+a+c),Math.min(s,i)%2){var D=e.slice(1,s+n.index+i);return{type:"em",raw:e.slice(0,s+n.index+i+1),text:D,tokens:this.lexer.inlineTokens(D,[])}}var f=e.slice(2,s+n.index+i-1);return{type:"strong",raw:e.slice(0,s+n.index+i+1),text:f,tokens:this.lexer.inlineTokens(f,[])}}}else c+=i}}},u.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var u=t[2].replace(/\n/g," "),n=/[^ ]/.test(u),r=/^ /.test(u)&&/ $/.test(u);return n&&r&&(u=u.substring(1,u.length-1)),u=D(u,!0),{type:"codespan",raw:t[0],text:u}}},u.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},u.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}},u.autolink=function(e,t){var u,n,r=this.rules.inline.autolink.exec(e);if(r)return n="@"===r[2]?"mailto:"+(u=D(this.options.mangle?t(r[1]):r[1])):u=D(r[1]),{type:"link",raw:r[0],text:u,href:n,tokens:[{type:"text",raw:u,text:u}]}},u.url=function(e,t){var u;if(u=this.rules.inline.url.exec(e)){var n,r;if("@"===u[2])r="mailto:"+(n=D(this.options.mangle?t(u[0]):u[0]));else{var o;do{o=u[0],u[0]=this.rules.inline._backpedal.exec(u[0])[0]}while(o!==u[0]);n=D(u[0]),r="www."===u[1]?"http://"+n:n}return{type:"link",raw:u[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}},u.inlineText=function(e,t){var u,n=this.rules.inline.text.exec(e);if(n)return u=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):D(n[0]):n[0]:D(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:u}},t}(),j={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:y,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};j.def=h(j.def).replace("label",j._label).replace("title",j._title).getRegex(),j.bullet=/(?:[*+-]|\d{1,9}[.)])/,j.listItemStart=h(/^( *)(bull) */).replace("bull",j.bullet).getRegex(),j.list=h(j.list).replace(/bull/g,j.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+j.def.source+")").getRegex(),j._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",j._comment=/|$)/,j.html=h(j.html,"i").replace("comment",j._comment).replace("tag",j._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),j.paragraph=h(j._paragraph).replace("hr",j.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",j._tag).getRegex(),j.blockquote=h(j.blockquote).replace("paragraph",j.paragraph).getRegex(),j.normal=v({},j),j.gfm=v({},j.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),j.gfm.table=h(j.gfm.table).replace("hr",j.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",j._tag).getRegex(),j.gfm.paragraph=h(j._paragraph).replace("hr",j.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",j.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",j._tag).getRegex(),j.pedantic=v({},j.normal,{html:h("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",j._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:y,paragraph:h(j.normal._paragraph).replace("hr",j.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",j.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var O={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:y,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:y,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(u="x"+u.toString(16)),n+="&#"+u+";";return n}O._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",O.punctuation=h(O.punctuation).replace(/punctuation/g,O._punctuation).getRegex(),O.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,O.escapedEmSt=/\\\*|\\_/g,O._comment=h(j._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),O.emStrong.lDelim=h(O.emStrong.lDelim).replace(/punct/g,O._punctuation).getRegex(),O.emStrong.rDelimAst=h(O.emStrong.rDelimAst,"g").replace(/punct/g,O._punctuation).getRegex(),O.emStrong.rDelimUnd=h(O.emStrong.rDelimUnd,"g").replace(/punct/g,O._punctuation).getRegex(),O._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,O._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,O._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,O.autolink=h(O.autolink).replace("scheme",O._scheme).replace("email",O._email).getRegex(),O._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,O.tag=h(O.tag).replace("comment",O._comment).replace("attribute",O._attribute).getRegex(),O._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,O._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,O._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,O.link=h(O.link).replace("label",O._label).replace("href",O._href).replace("title",O._title).getRegex(),O.reflink=h(O.reflink).replace("label",O._label).replace("ref",j._label).getRegex(),O.nolink=h(O.nolink).replace("ref",j._label).getRegex(),O.reflinkSearch=h(O.reflinkSearch,"g").replace("reflink",O.reflink).replace("nolink",O.nolink).getRegex(),O.normal=v({},O),O.pedantic=v({},O.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:h(/^!?\[(label)\]\((.*?)\)/).replace("label",O._label).getRegex(),reflink:h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",O._label).getRegex()}),O.gfm=v({},O.normal,{escape:h(O.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\0?t[t.length-1].raw+="\n":t.push(u);else if(u=this.tokenizer.code(e))e=e.substring(u.raw.length),!(n=t[t.length-1])||"paragraph"!==n.type&&"text"!==n.type?t.push(u):(n.raw+="\n"+u.raw,n.text+="\n"+u.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(u=this.tokenizer.fences(e))e=e.substring(u.raw.length),t.push(u);else if(u=this.tokenizer.heading(e))e=e.substring(u.raw.length),t.push(u);else if(u=this.tokenizer.hr(e))e=e.substring(u.raw.length),t.push(u);else if(u=this.tokenizer.blockquote(e))e=e.substring(u.raw.length),t.push(u);else if(u=this.tokenizer.list(e))e=e.substring(u.raw.length),t.push(u);else if(u=this.tokenizer.html(e))e=e.substring(u.raw.length),t.push(u);else if(u=this.tokenizer.def(e))e=e.substring(u.raw.length),!(n=t[t.length-1])||"paragraph"!==n.type&&"text"!==n.type?this.tokens.links[u.tag]||(this.tokens.links[u.tag]={href:u.href,title:u.title}):(n.raw+="\n"+u.raw,n.text+="\n"+u.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(u=this.tokenizer.table(e))e=e.substring(u.raw.length),t.push(u);else if(u=this.tokenizer.lheading(e))e=e.substring(u.raw.length),t.push(u);else if(r=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var t=1/0,u=e.slice(1),n=void 0;i.options.extensions.startBlock.forEach((function(e){"number"==typeof(n=e.call({lexer:this},u))&&n>=0&&(t=Math.min(t,n))})),t<1/0&&t>=0&&(r=e.substring(0,t+1))}(),this.state.top&&(u=this.tokenizer.paragraph(r)))n=t[t.length-1],o&&"paragraph"===n.type?(n.raw+="\n"+u.raw,n.text+="\n"+u.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(u),o=r.length!==e.length,e=e.substring(u.raw.length);else if(u=this.tokenizer.text(e))e=e.substring(u.raw.length),(n=t[t.length-1])&&"text"===n.type?(n.raw+="\n"+u.raw,n.text+="\n"+u.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(u);else if(e){var s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}throw new Error(s)}return this.state.top=!0,t},i.inline=function(e,t){this.inlineQueue.push({src:e,tokens:t})},i.inlineTokens=function(e,t){var u,n,r,o=this;void 0===t&&(t=[]);var i,s,a,c=e;if(this.tokens.links){var l=Object.keys(this.tokens.links);if(l.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(c));)l.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,i.index)+"["+k("a",i[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(c));)c=c.slice(0,i.index)+"["+k("a",i[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(c));)c=c.slice(0,i.index)+"++"+c.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(s||(a=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(n){return!!(u=n.call({lexer:o},e,t))&&(e=e.substring(u.raw.length),t.push(u),!0)}))))if(u=this.tokenizer.escape(e))e=e.substring(u.raw.length),t.push(u);else if(u=this.tokenizer.tag(e))e=e.substring(u.raw.length),(n=t[t.length-1])&&"text"===u.type&&"text"===n.type?(n.raw+=u.raw,n.text+=u.text):t.push(u);else if(u=this.tokenizer.link(e))e=e.substring(u.raw.length),t.push(u);else if(u=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(u.raw.length),(n=t[t.length-1])&&"text"===u.type&&"text"===n.type?(n.raw+=u.raw,n.text+=u.text):t.push(u);else if(u=this.tokenizer.emStrong(e,c,a))e=e.substring(u.raw.length),t.push(u);else if(u=this.tokenizer.codespan(e))e=e.substring(u.raw.length),t.push(u);else if(u=this.tokenizer.br(e))e=e.substring(u.raw.length),t.push(u);else if(u=this.tokenizer.del(e))e=e.substring(u.raw.length),t.push(u);else if(u=this.tokenizer.autolink(e,I))e=e.substring(u.raw.length),t.push(u);else if(this.state.inLink||!(u=this.tokenizer.url(e,I))){if(r=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,u=e.slice(1),n=void 0;o.options.extensions.startInline.forEach((function(e){"number"==typeof(n=e.call({lexer:this},u))&&n>=0&&(t=Math.min(t,n))})),t<1/0&&t>=0&&(r=e.substring(0,t+1))}(),u=this.tokenizer.inlineText(r,T))e=e.substring(u.raw.length),"_"!==u.raw.slice(-1)&&(a=u.raw.slice(-1)),s=!0,(n=t[t.length-1])&&"text"===n.type?(n.raw+=u.raw,n.text+=u.text):t.push(u);else if(e){var D="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(D);break}throw new Error(D)}}else e=e.substring(u.raw.length),t.push(u);return t},n=u,o=[{key:"rules",get:function(){return{block:j,inline:O}}}],(r=null)&&t(n.prototype,r),o&&t(n,o),Object.defineProperty(n,"prototype",{writable:!1}),u}(),P=function(){function t(t){this.options=t||e.defaults}var u=t.prototype;return u.code=function(e,t,u){var n=(t||"").match(/\S*/)[0];if(this.options.highlight){var r=this.options.highlight(e,n);null!=r&&r!==e&&(u=!0,e=r)}return e=e.replace(/\n$/,"")+"\n",n?'
'+(u?e:D(e,!0))+"
\n":"
"+(u?e:D(e,!0))+"
\n"},u.blockquote=function(e){return"
\n"+e+"
\n"},u.html=function(e){return e},u.heading=function(e,t,u,n){return this.options.headerIds?"'+e+"\n":""+e+"\n"},u.hr=function(){return this.options.xhtml?"
\n":"
\n"},u.list=function(e,t,u){var n=t?"ol":"ul";return"<"+n+(t&&1!==u?' start="'+u+'"':"")+">\n"+e+"\n"},u.listitem=function(e){return"
  • "+e+"
  • \n"},u.checkbox=function(e){return" "},u.paragraph=function(e){return"

    "+e+"

    \n"},u.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},u.tablerow=function(e){return"\n"+e+"\n"},u.tablecell=function(e,t){var u=t.header?"th":"td";return(t.align?"<"+u+' align="'+t.align+'">':"<"+u+">")+e+"\n"},u.strong=function(e){return""+e+""},u.em=function(e){return""+e+""},u.codespan=function(e){return""+e+""},u.br=function(){return this.options.xhtml?"
    ":"
    "},u.del=function(e){return""+e+""},u.link=function(e,t,u){if(null===(e=F(this.options.sanitize,this.options.baseUrl,e)))return u;var n='"},u.image=function(e,t,u){if(null===(e=F(this.options.sanitize,this.options.baseUrl,e)))return u;var n=''+u+'":">"},u.text=function(e){return e},t}(),N=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,u){return""+u},t.image=function(e,t,u){return""+u},t.br=function(){return""},e}(),U=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var u=e,n=0;if(this.seen.hasOwnProperty(u)){n=this.seen[e];do{u=e+"-"+ ++n}while(this.seen.hasOwnProperty(u))}return t||(this.seen[e]=n,this.seen[u]=0),u},t.slug=function(e,t){void 0===t&&(t={});var u=this.serialize(e);return this.getNextSafeSlug(u,t.dryrun)},e}(),L=function(){function t(t){this.options=t||e.defaults,this.options.renderer=this.options.renderer||new P,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new N,this.slugger=new U}t.parse=function(e,u){return new t(u).parse(e)},t.parseInline=function(e,u){return new t(u).parseInline(e)};var u=t.prototype;return u.parse=function(e,t){void 0===t&&(t=!0);var u,n,r,o,i,s,a,c,l,D,f,p,h,m,g,F,A,C,E,b="",y=e.length;for(u=0;u0&&"paragraph"===g.tokens[0].type?(g.tokens[0].text=C+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=C+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:C}):m+=C),m+=this.parse(g.tokens,h),l+=this.renderer.listitem(m,A,F);b+=this.renderer.list(l,f,p);continue;case"html":b+=this.renderer.html(D.text);continue;case"paragraph":b+=this.renderer.paragraph(this.parseInline(D.tokens));continue;case"text":for(l=D.tokens?this.parseInline(D.tokens):D.text;u+1An error occurred:

    "+D(e.message+"",!0)+"
    ";throw e}}M.options=M.setOptions=function(t){var u;return v(M.defaults,t),u=M.defaults,e.defaults=u,M},M.getDefaults=r,M.defaults=e.defaults,M.use=function(){for(var e=arguments.length,t=new Array(e),u=0;uAn error occurred:

    "+D(e.message+"",!0)+"
    ";throw e}},M.Parser=L,M.parser=L.parse,M.Renderer=P,M.TextRenderer=N,M.Lexer=R,M.lexer=R.lex,M.Tokenizer=S,M.Slugger=U,M.parse=M;var z=M.options,$=M.setOptions,q=M.use,H=M.walkTokens,J=M.parseInline,G=M,Y=L.parse,V=R.lex;e.Lexer=R,e.Parser=L,e.Renderer=P,e.Slugger=U,e.TextRenderer=N,e.Tokenizer=S,e.getDefaults=r,e.lexer=V,e.marked=M,e.options=z,e.parse=G,e.parseInline=J,e.parser=Y,e.setOptions=$,e.use=q,e.walkTokens=H,Object.defineProperty(e,"__esModule",{value:!0})}(t)},"./node_modules/process/browser.js":function(e,t){var u,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(u===setTimeout)return setTimeout(e,0);if((u===o||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}!function(){try{u="function"==typeof setTimeout?setTimeout:o}catch(e){u=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var a,c=[],l=!1,D=-1;function f(){l&&a&&(l=!1,a.length?c=a.concat(c):D=-1,c.length&&d())}function d(){if(!l){var e=s(f);l=!0;for(var t=c.length;t;){for(a=c,c=[];++D1)for(var u=1;us?a(u).then((function(){e.publish("expired",{name:u}),n()})):n(i)}else n()}function i(e){return new Promise((function(t,u){var n=r(e);window.localStorage?o(localStorage.getItem(n),e,t):u("Your browser does not support localStorage")}))}function s(e,t,u){var n=u.expireInSecs;return new Promise((function(u,o){var i=null,s=r(e);n&&(i=Date.now()+1e3*n),window.localStorage?(localStorage.setItem(s,JSON.stringify({value:t,ttl:i})),u()):o("Your browser does not support localStorage")}))}function a(e){return new Promise((function(t,u){var n=r(e);window.localStorage?(localStorage.removeItem(n),t()):u("Your browser does not support localStorage")}))}e.registerCommand("get",(function(e){var t=e.data,n=t.name,r=t.names;if(e&&e.commander&&-1===u.indexOf(e.commander))return e.reject("".concat(e.commander," plugin does not have permission to access LocalStorage plugin"));if(!n&&!r)return e.reject(new Error("invalid parameters"));if(r&&Array.isArray(r)){var o={};r.forEach((function(t,u){i(t).then((function(n){if(o[t]=decodeURIComponent(n),u===r.length-1)return e.resolve(o)}))}))}else i(n).then((function(t){return t?e.resolve(decodeURIComponent(t)):e.resolve("".concat(n," not found"))})).catch((function(){return e.resolve("".concat(n," not found"))}))})),e.registerCommand("set",(function(t){var n=t.data,r=n.name,o=n.value,a=n.expireInSecs;if(t&&t.commander&&-1===u.indexOf(t.commander))return t.reject("".concat(t.commander," plugin does not have permission to access LocalStorage plugin"));r&&o||t.reject(new Error("invalid parameters"));var c=encodeURIComponent(o),l="";i(r).then((function(u){u?(l=u,s(r,c,{expireInSecs:a}).then((function(){var u="";i(r).then((function(n){return(u=n)!==l&&e.publish("localStorageChanged",{name:r,oldValue:l,newValue:u}),t.resolve(u)})).catch((function(){}))})).catch((function(){t.reject("could not set localstorage ".concat(r))}))):s(r,c,{expireInSecs:a}).then((function(){return e.publish("localStorageSet",{name:r,encodedValue:c}),t.resolve(c)}))}))})),e.registerCommand("remove",(function(t){var n=t.data.name;return t&&t.commander&&-1===u.indexOf(t.commander)?t.reject("".concat(t.commander," plugin doesn't have permission to access LocalStorage plugin")):n?void i(n).then((function(u){if(!u)return t.resolve();var r=u;a(n).then((function(){e.publish("localStorageChanged",{name:n,oldValue:r,newValue:null}),e.publish("localStorageRemoved",{name:n}),t.resolve()})).catch((function(){t.reject("could not remove ".concat(n," from the localstorage"))}))})):t.reject("invalid options")})),"LocalStorage"===t&&e.ready()}));var r=u("./node_modules/axios/index.js"),o=u.n(r);function i(e,t){var u=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),u.push.apply(u,n)}return u}function s(e,t,u){return t in e?Object.defineProperty(e,t,{value:u,enumerable:!0,configurable:!0,writable:!0}):e[t]=u,e}function a(e,t){return function(e){if(Array.isArray(e))return e} /*! * Auth Plugin * @version: 0.1.0 * @license: Genesys Telecom Labs */(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var u=[],n=!0,r=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(u.push(i.value),!t||u.length!==t);n=!0);}catch(e){r=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw o}}return u}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var u=Object.prototype.toString.call(e).slice(8,-1);"Object"===u&&e.constructor&&(u=e.constructor.name);if("Map"===u||"Set"===u)return Array.from(e);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var u=0,n=new Array(t);u1&&void 0!==arguments[1]?arguments[1]:0,u=(h[e[t+0]]+h[e[t+1]]+h[e[t+2]]+h[e[t+3]]+"-"+h[e[t+4]]+h[e[t+5]]+"-"+h[e[t+6]]+h[e[t+7]]+"-"+h[e[t+8]]+h[e[t+9]]+"-"+h[e[t+10]]+h[e[t+11]]+h[e[t+12]]+h[e[t+13]]+h[e[t+14]]+h[e[t+15]]).toLowerCase();if(!p(u))throw TypeError("Stringified UUID is invalid");return u};var F,A=function(e,t,u){var n=(e=e||{}).random||(e.rng||f)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){u=u||0;for(var r=0;r<16;++r)t[u+r]=n[r];return t}return g(n)},C=u("./node_modules/es6-promise-polyfill/promise.js");function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var u=[],n=!0,r=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(u.push(i.value),!t||u.length!==t);n=!0);}catch(e){r=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw o}}return u}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return b(e,t);var u=Object.prototype.toString.call(e).slice(8,-1);"Object"===u&&e.constructor&&(u=e.constructor.name);if("Map"===u||"Set"===u)return Array.from(e);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return b(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var u=0,n=new Array(t);u2&&void 0!==arguments[2]?arguments[2]:{};return r.name=B[n].name,e.command("".concat(u,".").concat(t),r)}function o(e){return!Object(n.d)(e)&&Object(n.f)(e)}function i(u){var i,a,c=u||{},l=c.forceNewCustomer,D=void 0!==l&&l,f=c.forceNewSession,d=void 0!==f&&f,p=c.touchDisabled,h=void 0!==p&&p,m=c.createDisabled,g=void 0!==m&&m,F=!1,b=!1,y=t("Cookies.domain");return r("get","CUSTOMER_ID").then((function(e){return g?i=o(e)?e:null:(b=D||!o(e),i=b?A():e),h&&!b||!o(i)?C.Promise.resolve():r("set","CUSTOMER_ID",{value:i,domain:y,expireInSecs:t("customerIdExpiryTime")})})).then((function(){return r("get","SESSION_ID")})).then((function(e){return o(i)?(g?a=o(e)?e:null:(F=d||b||!o(e),a=F?A():e),h&&!F||!o(a)?C.Promise.resolve():r("set","SESSION_ID",{value:a,domain:y,expireInSecs:t("sessionIdExpiryTime")})):(a=null,r("remove","SESSION_ID"))})).then((function(){return F?C.Promise.all([r("get","SESSION_TS"),r("get","SESSION_COUNT")]).then((function(e){var u,n,o,i=E(e,2),a=i[0],c=i[1],l=Math.ceil(Date.now()/1e3),D=parseInt(c,10)||0;if(b)u=l,n=l,o=l,D=1;else{var f=s(a);u=f.first,n=f.previous,n=o=f.current,o=l,D++}return C.Promise.all([r("set","SESSION_TS",{value:"".concat(u,".").concat(n,".").concat(o),domain:t("Cookies.domain"),expireInSecs:t("customerIdExpiryTime")}),r("set","SESSION_COUNT",{value:D,domain:t("Cookies.domain"),expireInSecs:t("customerIdExpiryTime")})])})):C.Promise.resolve()})).then((function(){var t={customerId:i,sessionId:a};return F&&e.publish("newSessionId",Object(n.a)(t)),b&&e.publish("newCustomerId",Object(n.a)(t)),t}))}function s(e){var t=Math.ceil(Date.now()/1e3),u=t,n=t,r=t;if(e&&v.test(e)){var o=E(e.split(".").map((function(e){return parseInt(e,10)||0})),3);u=o[0],n=o[1],r=o[2]}return{first:u,previous:n,current:r}}e.registerCommand("getSessionId",(function(e){return i().then((function(t){var u=t.sessionId;return e.resolve(u)})).catch(e.reject)})),e.registerCommand("getCustomerId",(function(e){return i().then((function(t){var u=t.customerId;return e.resolve(u)})).catch(e.reject)})),e.registerCommand("getAll",(function(e){return i(e.data).then(e.resolve).catch(e.reject)})),e.registerCommand("getSessionTimestamps",(function(e){return r("get","SESSION_TS").then((function(e){return s(e)})).then(e.resolve).catch(e.reject)})),e.registerCommand("getSessionCount",(function(e){return r("get","SESSION_COUNT").then(e.resolve).catch(e.reject)})),e.registerCommand("getJourneyContext",(function(e){return i(e.data).then((function(t){var u=t.customerId,n=t.sessionId;return e.resolve({customer:{id:u,idType:"cookie"},customerSession:{id:n,type:"web"}})})).catch(e.reject)})),e.registerCommand("purgeAll",(function(t){return C.Promise.all([r("remove","CUSTOMER_ID"),r("remove","SESSION_ID"),r("remove","SESSION_TS"),r("remove","SESSION_COUNT")]).then((function(){return e.publish("identifiersPurged"),t.resolve()})).catch(t.reject)})),e.registerEvents(["newSessionId","newCustomerId","identifiersPurged"]),e.subscribe("".concat(u,".ready"),(function(){!function(e){var n=e||{};t("customerIdExpiryTime",n.customerIdExpiryTime||31536e3),t("sessionIdExpiryTime",Math.min(t("customerIdExpiryTime"),n.sessionIdExpiryTime||1800));var o=t("Cookies.domain"),i="www.".concat(o);"Cookies"===u&&(r("remove","CUSTOMER_ID",{domain:i,recursive:!1}),r("remove","SESSION_ID",{domain:i,recursive:!1}))}(),e.ready()})),e.subscribe("Auth.loggedOut",(function(){e.command("purgeAll")})),e.subscribe("Auth.authenticated",(function(){i()}))}));var w=u("./includes/messengerHelper.html"),x=u.n(w);function k(e,t){if(null==e)return{};var u,n,r=function(e,t){if(null==e)return{};var u,n,r={},o=Object.keys(e);for(n=0;n=0||(r[u]=e[u]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,u)&&(r[u]=e[u])}return r}function _(e,t){var u=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),u.push.apply(u,n)}return u}function S(e){for(var t=1;t72?"":"important"),"number"==typeof u&&e.style.setProperty("height","".concat(u,"px"),"important"),"string"==typeof u&&(e.style.height=u)}function m(e){var t=e||{},u=t.sideSpace,n=t.bottomSpace,r=t.alignment;"undefined"!==u&&"number"==typeof u&&(c.sideSpace=u),"undefined"!==n&&"number"==typeof n&&(c.bottomSpace=n),r&&"string"==typeof r&&(c.alignment=r)}e.subscribe("ServiceDiscovery.ready",(function(){var t=window._webMessVersion?"/".concat(window._webMessVersion):"",u="".concat(e.data("ServiceDiscovery.uris.staticAssets"),"/messenger").concat(t,"/messenger.html"),n="".concat(e.data("ServiceDiscovery.uris.staticAssets"),"/messenger").concat(t,"/messenger-renderer.html");p="".concat(e.data("ServiceDiscovery.uris.configs")),i=(i=i.replace("{url}",u)).replace("{messenger-renderer-url}",n)})),e.registerCommand("open",(function(u){if(t("iFrameLoaded"))u.reject("Messenger iframe is already open");else{var r=((u.data||{}).messenger||{}).preview,s=e.data("GenesysJS.deploymentConfig")||{},a=e.data("GenesysJS.snippetConfig")||{},l=s||{},D=l.position,f=((l.messenger||{}).launcherButton||{}).visibility;D&&m(D),i=(i=(i=f&&"on"===f.toLowerCase()?i.replace("messengerFrameBottomSpace","92px"):i.replace("messengerFrameBottomSpace","".concat(c.bottomSpace,"px"))).replace("sideSpace","".concat(c.sideSpace,"px"))).replace("bottomSpace","".concat(c.bottomSpace,"px")),document.body.appendChild(Object(n.j)(i)),r||e.subscribe("Messenger.ready",(function(){e.command("Messenger.configure",{snippetConfig:a,deploymentConfig:s,deploymentId:a.deploymentId,config:S(S({},s.messenger),{},{documentDirection:o})})})),t("iFrameLoaded",!0),u.resolve()}})),e.registerCommand("update",(function(t){var u=((t.data||{}).messenger||{}).preview,n=e.data("GenesysJS.deploymentConfig")||{},r=e.data("GenesysJS.snippetConfig")||{};u||e.command("Messenger.configure",{snippetConfig:r,deploymentConfig:n,deploymentId:r.deploymentId,config:S(S({},n.messenger),{},{documentDirection:o})}),t.resolve()})),e.registerCommand("injectFrame",(function(e){if(e&&u.includes(e.commander)){var t=e.data||{},n=t.htmlUrl,r=t.styles,o=t.title,i=t.name,s=t.id;if(n){var a=document.createElement("iframe");a.src=n,a.title=o||"",a.name=i||"",a.id=s,a.allowFullscreen=!0,a.classList.add("genesys-mxg-frame"),r&&Object.keys(r)&&Object.keys(r).forEach((function(e){a.style[e]=r[e]})),document.getElementById("genesys-messenger").appendChild(a),e.resolve()}else e.reject("provide a valid html url")}else e.reject("Unauthorized access! Only Messenger plugins are allowed to inject an iframe.")})),e.registerCommand("setPositions",(function(t){var u=(t.data||{}).showLauncher,n=e.data("GenesysJS.deploymentConfig")||{}||{},r=n.position,o=((n.messenger||{}).launcherButton||{}).visibility,i=document.getElementById("genesys-mxg-container-frame");r&&m(r),o&&"ondemand"===o.toLowerCase()&&(i.style.bottom="".concat(u?92:c.bottomSpace,"px"))})),e.registerCommand("setDimension",(function(e){var t=document.getElementById("genesys-mxg-frame"),u=document.getElementById("genesys-mxg-container-frame"),n=e.data,r=n.engage,o=n.launcher,i=n.conversations,s=n.toaster;if(o){var a=o||{},c=a.width,p=a.height,m=a.addClass,g=a.removeClass;l.height=p,l.width=c,t&&m&&m.map((function(e){return e&&t.classList.add(e)})),t&&g&&g.map((function(e){return e&&t.classList.remove(e)})),h(t,c,p)}if(r){var F=r.width,A=r.height,C=A,E=F;f.height=A,f.width=F,d.height&&A&&(C=d.height+A),d.width&&F&&(E=d.width),h(u,E,C)}if(i){var b=function(e,t){var u=e.width,n=e.height,r=e.addClass,o=e.removeClass,i=0,s=0;return"string"==typeof n&&(i="calc(".concat(n,")")),"number"==typeof n&&(i+=n),t&&r&&r.map((function(e){return e&&t.classList.add(e)})),t&&o&&o.map((function(e){return e&&t.classList.remove(e)})),u&&(s=u),{iHeight:i,iWidth:s}}(i,u),y=b.iHeight,v=b.iWidth;D.height=y,D.width=v,h(u,v,y)}if(s){var B=s.width,w=s.height,x=s.addClass,k=s.removeClass;d.height=w,d.width=B,D.height&&(w=D.height),D.width&&(B=D.width),h(u,B,w),t&&x&&x.map((function(e){return e&&t.classList.add(e)})),t&&k&&k.map((function(e){return e&&t.classList.remove(e)}))}t||u?e.resolve():e.reject("No styles or className provided for Messenger iFrame")})),e.registerCommand("setDirection",(function(e){var t=document.getElementById("genesys-mxg-frame"),u=document.getElementById("genesys-mxg-container-frame"),n=e.data||{},r=n.direction,i=n.position;i&&m(i);var s=c.alignment;function a(){t.style.right="unset",t.style.left="".concat(c.sideSpace,"px"),t.style.bottom="".concat(c.bottomSpace,"px"),u.style.right="unset",u.style.left="".concat(c.sideSpace,"px"),u.style.bottom="".concat(t.clientHeight?t.clientHeight+10+c.bottomSpace:c.bottomSpace,"px")}function l(){t.style.left="unset",t.style.right="".concat(c.sideSpace,"px"),t.style.bottom="".concat(c.bottomSpace,"px"),u.style.left="unset",u.style.right="".concat(c.sideSpace,"px"),u.style.bottom="".concat(t.clientHeight?t.clientHeight+10+c.bottomSpace:c.bottomSpace,"px")}function D(e){switch(e){case"rtl":a();break;case"ltr":l()}}t&&(i||o)?"auto"===s?o?(D(o),e.resolve()):(D(r),e.resolve()):"left"===s?(a(),e.resolve()):"right"===s&&(l(),e.resolve()):e.reject("No alignment, styles or direction provided for Messenger iFrame")})),e.registerCommand("openWebSocket",(function(t){function u(){e.command("GenesysVendors.WebSocket").then((function(u){var r=(t.data||{}).endPoint;s&&s.removeAllListeners(),(s=new u(r)).open().then((function(u){s&&(s.onMessage.addListener((function(t){e.publish("onWebSocketMessage",JSON.parse(t))})),s.onClose.addListener((function(t){e.publish("onWebSocketClose",{code:t.code,reason:t.reason,returnValue:t.returnValue,timeStamp:t.timeStamp,type:t.type,wasClean:t.wasClean})})),s.onError.addListener((function(t){"object"===O(t)?e.publish("onWebSocketError",t):"string"==typeof t&&e.publish("onWebSocketError",JSON.parse({error:t}))})));var r=Object(n.h)(u);t.resolve(r)})).catch((function(e){t.reject(e)}))})).catch((function(e){var u=e.error;t.reject(u)}))}t&&"MessagingService"===t.commander?r?u():Genesys("loadPlugin","GenesysVendors",{},!1,(function(){r=!0,u()})):t.reject("Unauthorized Access! Only MessagingService plugin is allowed to access this command.")})),e.registerCommand("closeWebSocket",(function(e){if(e&&"MessagingService"===e.commander){var t=e.data||{},u=t.code,n=t.reason;s&&s.close&&(u?s.close(u,n).catch((function(){})):s.close().catch((function(){})))}else e.reject("Unauthorized Access! Only MessagingService plugin is allowed to access this command.")})),e.registerCommand("sendOverSocket",(function(e){e&&"MessagingService"===e.commander?(s.send(JSON.stringify(e.data||{})),e.resolve()):e.reject("Unauthorized Access! Only MessagingService plugin is allowed to access this command.")})),e.registerCommand("getWebSocketData",(function(e){s?e.resolve({isClosed:s.isClosed,isOpened:s.isOpened,isClosing:s.isClosing}):e.reject("No WebSocket connection available.")})),e.registerCommand("makeRequest",(function(t){var n=t.data||{},o=n.url,i=n.method,s=n.responseType,a=n.headers,c=k(n,["url","method","responseType","headers"]);function l(){e.command("GenesysVendors.Axios").then((function(e){e(S({url:o,method:i,responseType:s||"json",headers:a},c)).then((function(e){t.resolve({data:e.data,headers:e.headers,status:e.status,statusText:e.statusText})}),(function(e){var u=e&&e.response?e.response:e;t.reject(JSON.parse(JSON.stringify(u||{})))})).catch((function(e){t.reject(JSON.parse(JSON.stringify(e||{})))}))})).catch((function(e){var u=e.error;t.reject(JSON.parse(JSON.stringify(u||{})))}))}t&&u.includes(t.commander)?r?l():Genesys("loadPlugin","GenesysVendors",{},!1,(function(){r=!0,l()})):t.reject("Unauthorized Access! Only MessagingService plugin is allowed to access this command.")})),e.registerCommand("uploadRequest",(function(t){var n=t.data||{},o=n.url,i=n.headers,s=n.data;function c(){e.command("GenesysVendors.Axios").then((function(u){var n=u.CancelToken;a=n.source(),u.put(o,s,{headers:i,onUploadProgress:function(t){var u=t.loaded,n=t.total,r=Math.floor(100*u/n);e.publish("uploadProgress",{percentage:r,loaded:u,total:n})},cancelToken:a.token}).then((function(e){t.resolve({data:e.data,headers:e.headers,status:e.status,statusText:e.statusText})}),(function(e){t.reject(JSON.parse(JSON.stringify(e||{})))})).catch((function(e){t.reject(JSON.parse(JSON.stringify(e||{})))}))}))}t&&u.includes(t.commander)?r?c():Genesys("loadPlugin","GenesysVendors",{},!1,(function(){r=!0,c()})):t.reject("Unauthorized Access! Only MessagingService plugin is allowed to access this command.")})),e.registerCommand("cancelRequest",(function(e){e&&u.includes(e.commander)?a&&(a.cancel(),a="",e.resolve()):e.reject("Unauthorized Access! Only MessagingService plugin is allowed to access this command.")})),e.registerCommand("getCustomLabels",(function(t){var u={},n=t.data.language,r=(e.data("GenesysJS.snippetConfig")||{}).deploymentId;r&&n?Genesys("loadJSON","".concat(p,"/").concat(r,"/").concat(n,".json"),(function(e){try{if(e){var n=JSON.parse(e);n.messenger&&(u=n.messenger,t.resolve({customLangLabels:u}))}}catch(e){t.reject(e)}}),(function(e){t.reject(e)})):t.reject("Deployment Id or language is not available")})),e.ready()})),Genesys("registerPlugin","Database",(function(e){var t=e.data,u=!1;function r(e){return null!==e&&"object"===T(e)&&!Array.isArray(e)&&Object.keys(e).length}function o(e,t){for(var u=t,n=e,r=(u=(u=u.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),o=0,i=r.length;o0&&u.some((function(e){var t=e.toLowerCase();return t===n||(n.length>t.length&&n.slice(-".".concat(t).length)===".".concat(t)||void 0)})))};function R(e,t){for(var u=0;u