(window.webpackJsonp=window.webpackJsonp||[]).push([[106,99],{0:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e){"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)}function i(){var e,t=navigator,n=t.userAgent;return n.match(/chrome|chromium|crios/i)?e="chrome":n.match(/firefox|fxios/i)?e="firefox":n.match(/safari/i)?e="safari":n.match(/opr\//i)?e="opera":n.match(/edg/i)&&(e="edge"),e}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/support/",n=new URL(window.location.href).pathname,r=n.split(t)[0];return r?"".concat(r).concat(e):e}function s(e,t,n){var r=e.hasAttribute("disabled"),o=JSON.stringify(t)!==JSON.stringify(n);o?r&&e.removeAttribute("disabled"):!r&&e.setAttribute("disabled",!0)}n.d(t,"h",function(){return a}),n.d(t,"d",function(){return g}),n.d(t,"o",function(){return v}),n.d(t,"u",function(){return b}),n.d(t,"q",function(){return y}),n.d(t,"H",function(){return w}),n.d(t,"F",function(){return _}),n.d(t,"s",function(){return k}),n.d(t,"D",function(){return j}),n.d(t,"C",function(){return S}),n.d(t,"b",function(){return E}),n.d(t,"j",function(){return O}),n.d(t,"f",function(){return x}),n.d(t,"J",function(){return L}),n.d(t,"y",function(){return I}),n.d(t,"n",function(){return q}),n.d(t,"v",function(){return A}),n.d(t,"A",function(){return p}),n.d(t,"l",function(){return C}),n.d(t,"E",function(){return T}),n.d(t,"z",function(){return N}),n.d(t,"m",function(){return M}),n.d(t,"e",function(){return P}),n.d(t,"k",function(){return B}),n.d(t,"i",function(){return D}),n.d(t,"c",function(){return H}),n.d(t,"x",function(){return z}),n.d(t,"g",function(){return F}),n.d(t,"I",function(){return R}),n.d(t,"G",function(){return s}),n.d(t,"p",function(){return V}),n.d(t,"r",function(){return U}),n.d(t,"B",function(){return J}),n.d(t,"a",function(){return i}),n.d(t,"w",function(){return c}),n.d(t,"t",function(){return W});var l=n(1),u=n.n(l),d=n(8),f=n.n(d),m=n(16),h=n(3),p=function(e){var t=document.createElement("div");return t.textContent=e,t.innerHTML.replace(/"/g,"&quot;")},v=function(){return window.localStorage.getItem("recentSearches")?JSON.parse(window.localStorage.getItem("recentSearches")):[]},g=function(){localStorage.setItem("recentSearches","")},b=function(){var e=document.querySelector(".fw-recent-searches"),t=v();e.innerHTML=t.map(function(e){return'<li><a class="ps-32 line-clamp-2" href="/support/search?term='.concat(e,'">').concat(p(e),"</a></li>")}).join("")},y=function(e,t){return e&&e.classList.contains(t)},w=function(e){var t=[].concat(e);t.forEach(function(e){e&&e.classList.toggle("d-none")})},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"primary",n=[].concat(e);n.forEach(function(e){y(e,"btn-".concat(t))?e.classList.replace("btn-".concat(t),"btn-outline-".concat(t)):e.classList.replace("btn-outline-".concat(t),"btn-".concat(t))})},k=function(e){var t=[].concat(e);t.forEach(function(e){e&&!e.classList.contains("d-none")&&e.classList.add("d-none")})},j=function(e){var t=[].concat(e);t.forEach(function(e){e&&e.classList.contains("d-none")&&e.classList.remove("d-none")})},S=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})},E=function(e){var t=document.createElement("input");S(t,{type:"hidden",name:"authenticity_token",value:window.csrfToken}),e.appendChild(t)},O=function(e,t){return fetch(e,o(o({},t),{},{headers:{"X-CSRF-Token":window.csrfToken}}))},x=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,n=null;return function(){for(var r=arguments.length,o=new Array(r),a=0;r>a;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout(function(){e.apply(void 0,o)},t)}},L=function(e,t){e&&e.addEventListener("change",function(e){var t={};t[e.target.id]=e.target.value,Object(h.d)(e.target,Object(h.a)(e.target),t)}),t&&EventManager.on("click",t,function(){return e.dataset.formChanged=!1,Object(h.c)(e,Object(h.b)(e))?Promise.resolve():Promise.reject()})},I=function(e){[].concat(u()(e.querySelectorAll(".form-group .form-control")),u()(e.querySelectorAll(".form-group .form-check-input"))).forEach(function(e){y(e,"invalid")&&(e.classList.remove("invalid"),"checkbox"===e.type?(e.nextElementSibling.nextElementSibling.classList.remove("d-block"),e.nextElementSibling.nextElementSibling.classList.add("d-none")):(e.nextElementSibling.classList.remove("d-block"),e.nextElementSibling.classList.add("d-none")))})},q=function(e){return e.charCode?e.charCode:e.keyCode?e.keyCode:e.which?e.which:0},A=function(e){var t=q(e);return t>=48&&57>=t||t>=65&&90>=t||t>=96&&105>=t||8===t||32===t?!0:!1},T=function(e,t){return sessionStorage.setItem(e,JSON.stringify(t))},C=function(e){return sessionStorage.getItem(e)?JSON.parse(sessionStorage.getItem(e)):void 0},N=function(e){return sessionStorage.removeItem(e)},M=function(e){var t=["Bytes","KB","MB","GB","TB"];if(!e)return"0 Byte";var n=parseInt(Math.floor(Math.log(e)/Math.log(1024)));return"".concat(Math.round(e/Math.pow(1024,n),2)," ").concat(t[n])},P=function(e){return e.replace(/[A-Z]/g,function(e,t){return(0!==t?"-":"")+e.toLowerCase()})},B=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e&&e.tagName!==t.toUpperCase();){if(n&&e.tagName===n)return null;e=e.parentElement}return e},D={email:{presence:!0,email:!0}},H=50,z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t={},n=new URLSearchParams(document.location.search);return n.forEach(function(n,r){var o=decodeURIComponent(n);e.includes(r)||(r in t?t[r].push(o):t[r]=[o])}),t},F=function(e){return JSON.parse(JSON.stringify(e))},R=function(e){if(window.history.replaceState){var t="".concat(window.location.protocol,"//").concat(window.location.host).concat(window.location.pathname,"?").concat(e);window.history.replaceState({path:t},"",t)}},V=function(e){return"choicesInstance"in e},U=function(e){return"_flatpickr"in e},J=function(e){return e.offsetHeight+e.scrollTop>=e.scrollHeight},W=function(e){var t={altInput:!0,altInputClass:"form-control alt-flatpickr-input",altFormat:"j M, Y",dateFormat:"Y-m-d"};e.querySelectorAll('input[type="date"]').forEach(function(e){Object(m.a)(e,t)})}},146:function(e,t,n){"use strict";function r(e){return o.apply(this,arguments)}function o(){return o=i()(s.a.mark(function e(t){var n,r,o;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),n=d.value,r=!0,!u||"true"!==n){e.next=7;break}return u.contentWindow.recaptchaV3(),e.next=7,new Promise(function(e){return setTimeout(e,700)});case 7:if(g(),o=document.querySelector("#g-recaptcha-response"),u&&(!o||o.value&&!o.value.length)&&(v(),r=!1),r){e.next=14;break}return e.abrupt("return",h?Promise.reject():t.stopImmediatePropagation());case 14:return e.abrupt("return",h?Promise.resolve():m.requestSubmit());case 15:case"end":return e.stop()}},e)})),o.apply(this,arguments)}n.r(t);var a=n(19),i=n.n(a),c=n(5),s=n.n(c),l=n(0),u=document.getElementById("recaptcha-frame"),d=document.getElementById("enterprise_enabled"),f=document.querySelector("#helpdesk_ticket_captcha-error"),m=d?d.form:null,h=window.EventManager?!0:!1,p=h?"d-none":"hide",v=function(){f.classList.remove(p)},g=function(){f.classList.add(p)};m&&(g(),h?Object(l.h)(function(){EventManager.on("submit",m,r)}):(u.onload=function(){console.log("recaptchaFrame loading"),captchaModule(u)},u.contentDocument&&"complete"==u.contentDocument.readyState&&(console.log("recaptchaFrame loaded completely"),captchaModule(u)),jQuery("[type=submit]",m).click(r)))},254:function(e,t,n){"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=o(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){s=!0,i=e},f:function(){try{c||null==n["return"]||n["return"]()}finally{if(s)throw i}}}}function o(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);t>n;n++)r[n]=e[n];return r}function i(e){var t=c();return function(){var n,r=R()(e);if(t){var o=R()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return z()(this,n)}}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s(e){var t=l();return function(){var n,r=R()(e);if(t){var o=R()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return z()(this,n)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=d(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(c)throw a}}}}function d(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);t>n;n++)r[n]=e[n];return r}function m(e){var t=Oe.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},Oe.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var r=e.strings.join(ee);return n=t.keyString.get(r),void 0===n&&(n=new oe(e,e.getTemplateElement()),t.keyString.set(r,n)),t.stringsArray.set(e.strings,n),n}function h(){var e=document.querySelector(".fw-nav-wrapper"),t=e?e.offsetHeight:0,n=document.querySelector(".fw-searchbar-wrapper"),r=n?n.offsetHeight:0;return t+r}function p(e){var t;try{t=decodeURIComponent(e).replace("#","")}catch(n){t=e.replace("#","")}if(t){var r=document.getElementById(t).getBoundingClientRect().top-document.body.getBoundingClientRect().top-h();window.location.hash=e,window.scrollTo({behavior:"smooth",top:r})}}function v(){var e=document.querySelector(".fd-toc");if(e){var t=e.nextElementSibling.querySelectorAll("a");["click","keypress"].forEach(function(e){t.forEach(function(t){t.addEventListener(e,function(e){if(e.preventDefault(),Object(O.a)(e)===!0){var n=t.hash;p(n)}})})})}}function g(){var e=window.location.hash;p(e)}n.r(t);var b=n(19),y=n.n(b),w=n(2),_=n.n(w),k=n(5),j=n.n(k),S=n(10),E=n.n(S),O=(n(82),n(7)),x=n(0);n(146);Object(x.h)(function(){var e=document.querySelector(".fw-feedback-wrapper"),t=document.querySelector(".fw-feedback-negative-from"),n=document.querySelector(".fw-feedback-positive"),r=document.querySelector(".fw-feedback-negative"),o=document.querySelector(".fw-btn-feedback.fw-no"),a=document.querySelector(".fw-btn-feedback.fw-yes"),i=document.querySelector(".fw-feedback-cancel"),c=document.querySelector(".fw-feedback-send"),s=e&&e.dataset.id,l=function(e,t){e.classList.remove("invalid"),e.nextElementSibling.innerHTML="",e.nextElementSibling.classList.remove("d-block");var n={helpdesk_ticket_email:{presence:{message:window.I18n.translate("portal_validation.required"),allowEmpty:!1},email:{message:window.I18n.translate("portal_validation.email")}}},r=E()({helpdesk_ticket_email:e.value},n,{fullMessages:!1});if(r){t=!1;var o=_()(r[e.id],1),a=o[0];e.classList.add("invalid"),e.nextElementSibling.innerHTML=a,e.nextElementSibling.classList.add("d-block")}return t};if(e&&(window.store.user?Object(x.D)(e):!localStorage["vote_".concat(s,"_").concat(window.store.currentLocale)]&&Object(x.D)(e)),"article_view"===window.store.currentPageName){var u=Object(x.l)("seenArticlesArray"),d=window.location.href.split("/"),f=parseInt(d[d.length-1]).toString();if(u=u||[],u.indexOf(f)>=0){var m=u.indexOf(f);u.splice(m,1)}u.push(f),Object(x.E)("seenArticlesArray",u.slice().splice(-50))}["click","keypress"].forEach(function(r){e&&(o.addEventListener(r,function(r){Object(O.a)(r)===!0&&(Object(x.j)(this.dataset.href,{method:"PUT"}).then(function(){n.remove(),Object(x.H)([e,t])}),!window.store.user&&(localStorage["vote_".concat(s,"_").concat(window.store.currentLocale)]=!0))}),a.addEventListener(r,function(t){Object(O.a)(t)===!0&&(Object(x.j)(this.dataset.href,{method:"PUT"}).then(function(){Object(x.H)([e,n])}),!window.store.user&&(localStorage["vote_".concat(s,"_").concat(window.store.currentLocale)]=!0))}),i.addEventListener(r,function(e){Object(O.a)(e)===!0&&Object(x.H)(t)}))});var h=!0,p=document.querySelector("#helpdesk_ticket_email"),v=document.querySelector(".negative-form.invalid-feedback");v.classList.remove("d-block");var g=document.getElementById("negative-feedback-form"),b=document.getElementById("helpdesk_ticket_description");g.addEventListener("change",function(e){if(h=!0,p&&e.target===p)h=l(p,h);else if(e.target!==b){var t=null!==document.querySelector(".form-check-input:checked");h=t,v.classList.toggle("d-block",!t)}}),g&&EventManager.on("submit",g,function(){function e(e){return n.apply(this,arguments)}var n=y()(j.a.mark(function o(e){var n,a;return j.a.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(e.preventDefault(),Object(x.b)(g),p&&(h=l(p,h)),null==document.querySelector(".form-check-input:checked")&&(h=!1,v.classList.add("d-block")),!h){o.next=14;break}return c.setAttribute("disabled",!0),c.innerHTML=window.I18n.t("portal_js_translations.saving"),n=new FormData(g),a=g.action,o.next=11,Object(x.j)(a,{method:"POST",body:n}).then(function(){t.remove(),Object(x.H)(r)});case 11:return o.abrupt("return",Promise.reject());case 14:return o.abrupt("return",Promise.reject());case 15:case"end":return o.stop()}},o)}));return e}())});var L=n(36),I=n(93),q=n.n(I),A=n(4),T=n.n(A),C=n(6),N=n.n(C),M=n(32),P=n.n(M),B=n(11),D=n.n(B),H=n(29),z=n.n(H),F=n(14),R=n.n(F),V=n(22),U=n.n(V),J=new WeakMap,W=function(e){return"function"==typeof e&&J.has(e)},G="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,$=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;t!==n;){var o=t.nextSibling;e.insertBefore(t,r),t=o}},Y=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t!==n;){var r=t.nextSibling;e.removeChild(t),t=r}},K={},X={},Q=n(1),Z=n.n(Q),ee="{{lit-".concat(String(Math.random()).slice(2),"}}"),te="<!--".concat(ee,"-->"),ne=new RegExp("".concat(ee,"|").concat(te)),re="$lit$",oe=function $e(e,t){T()(this,$e),this.parts=[],this.element=t;for(var n=[],r=[],o=document.createTreeWalker(t.content,133,null,!1),a=0,i=-1,c=0,s=e.strings,l=e.values.length;l>c;){var u=o.nextNode();if(null!==u){if(i++,1===u.nodeType){if(u.hasAttributes()){for(var d=u.attributes,f=d.length,m=0,h=0;f>h;h++)ae(d[h].name,re)&&m++;for(;m-->0;){var p=s[c],v=se.exec(p)[2],g=v.toLowerCase()+re,b=u.getAttribute(g);u.removeAttribute(g);var y=b.split(ne);this.parts.push({type:"attribute",index:i,name:v,strings:y}),c+=y.length-1}}"TEMPLATE"===u.tagName&&(r.push(u),o.currentNode=u.content)}else if(3===u.nodeType){var w=u.data;if(w.indexOf(ee)>=0){for(var _=u.parentNode,k=w.split(ne),j=k.length-1,S=0;j>S;S++){var E=void 0,O=k[S];if(""===O)E=ce();else{var x=se.exec(O);null!==x&&ae(x[2],re)&&(O=O.slice(0,x.index)+x[1]+x[2].slice(0,-re.length)+x[3]),E=document.createTextNode(O)}_.insertBefore(E,u),this.parts.push({type:"node",index:++i})}""===k[j]?(_.insertBefore(ce(),u),n.push(u)):u.data=k[j],c+=j}}else if(8===u.nodeType)if(u.data===ee){var L=u.parentNode;(null===u.previousSibling||i===a)&&(i++,L.insertBefore(ce(),u)),a=i,this.parts.push({type:"node",index:i}),null===u.nextSibling?u.data="":(n.push(u),i--),c++}else for(var I=-1;-1!==(I=u.data.indexOf(ee,I+1));)this.parts.push({type:"node",index:-1}),c++}else o.currentNode=r.pop()}for(var q=0,A=n;q<A.length;q++){var C=A[q];C.parentNode.removeChild(C)}},ae=function(e,t){var n=e.length-t.length;return n>=0&&e.slice(n)===t},ie=function(e){return-1!==e.index},ce=function(){return document.createComment("")},se=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,le=function(){function e(t,n,r){T()(this,e),this.__parts=[],this.template=t,this.processor=n,this.options=r}return N()(e,[{key:"update",value:function(e){var t,n=0,o=r(this.__parts);try{for(o.s();!(t=o.n()).done;){var a=t.value;void 0!==a&&a.setValue(e[n]),n++}}catch(i){o.e(i)}finally{o.f()}var c,s=r(this.__parts);try{for(s.s();!(c=s.n()).done;){var l=c.value;void 0!==l&&l.commit()}}catch(i){s.e(i)}finally{s.f()}}},{key:"_clone",value:function(){for(var e,t=G?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,o=document.createTreeWalker(t,133,null,!1),a=0,i=0,c=o.nextNode();a<r.length;)if(e=r[a],ie(e)){for(;i<e.index;)i++,"TEMPLATE"===c.nodeName&&(n.push(c),o.currentNode=c.content),null===(c=o.nextNode())&&(o.currentNode=n.pop(),c=o.nextNode());if("node"===e.type){var s=this.processor.handleTextExpression(this.options);s.insertAfterNode(c.previousSibling),this.__parts.push(s)}else{var l;(l=this.__parts).push.apply(l,Z()(this.processor.handleAttributeExpressions(c,e.name,e.strings,this.options)))}a++}else this.__parts.push(void 0),a++;return G&&(document.adoptNode(t),customElements.upgrade(t)),t}}]),e}(),ue=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:function(e){return e}}),de=" ".concat(ee," "),fe=function(){function e(t,n,r,o){T()(this,e),this.strings=t,this.values=n,this.type=r,this.processor=o}return N()(e,[{key:"getHTML",value:function(){for(var e=this.strings.length-1,t="",n=!1,r=0;e>r;r++){var o=this.strings[r],a=o.lastIndexOf("<!--");n=(a>-1||n)&&-1===o.indexOf("-->",a+1);var i=se.exec(o);t+=null===i?o+(n?de:te):o.substr(0,i.index)+i[1]+i[2]+re+i[3]+ee}return t+=this.strings[e]}},{key:"getTemplateElement",value:function(){var e=document.createElement("template"),t=this.getHTML();return void 0!==ue&&(t=ue.createHTML(t)),e.innerHTML=t,e}}]),e}(),me=(function(e){function t(){return T()(this,t),n.apply(this,arguments)}D()(t,e);var n=i(t);return N()(t,[{key:"getHTML",value:function(){return"<svg>".concat(P()(R()(t.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var e=P()(R()(t.prototype),"getTemplateElement",this).call(this),n=e.content,r=n.firstChild;return n.removeChild(r),$(n,r.firstChild),e}}]),t}(fe),function(e){return null===e||!("object"===U()(e)||"function"==typeof e)}),he=function(e){return Array.isArray(e)||!(!e||!e[Symbol.iterator])},pe=function(){function e(t,n,r){T()(this,e),this.dirty=!0,this.element=t,this.name=n,this.strings=r,this.parts=[];for(var o=0;o<r.length-1;o++)this.parts[o]=this._createPart()}return N()(e,[{key:"_createPart",value:function(){return new ve(this)}},{key:"_getValue",value:function(){var e=this.strings,t=e.length-1,n=this.parts;if(1===t&&""===e[0]&&""===e[1]){var r=n[0].value;if("symbol"===U()(r))return String(r);if("string"==typeof r||!he(r))return r}for(var o="",a=0;t>a;a++){o+=e[a];var i=n[a];if(void 0!==i){var c=i.value;if(me(c)||!he(c))o+="string"==typeof c?c:String(c);else{var s,l=u(c);try{for(l.s();!(s=l.n()).done;){var d=s.value;o+="string"==typeof d?d:String(d)}}catch(f){l.e(f)}finally{l.f()}}}}return o+=e[t]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),e}(),ve=function(){function e(t){T()(this,e),this.value=void 0,this.committer=t}return N()(e,[{key:"setValue",value:function(e){e===K||me(e)&&e===this.value||(this.value=e,W(e)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;W(this.value);){var e=this.value;this.value=K,e(this)}this.value!==K&&this.committer.commit()}}]),e}(),ge=function(){function e(t){T()(this,e),this.value=void 0,this.__pendingValue=void 0,this.options=t}return N()(e,[{key:"appendInto",value:function(e){this.startNode=e.appendChild(ce()),this.endNode=e.appendChild(ce())}},{key:"insertAfterNode",value:function(e){this.startNode=e,this.endNode=e.nextSibling}},{key:"appendIntoPart",value:function(e){e.__insert(this.startNode=ce()),e.__insert(this.endNode=ce())}},{key:"insertAfterPart",value:function(e){e.__insert(this.startNode=ce()),this.endNode=e.endNode,e.endNode=this.startNode}},{key:"setValue",value:function(e){this.__pendingValue=e}},{key:"commit",value:function(){if(null!==this.startNode.parentNode){for(;W(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=K,e(this)}var t=this.__pendingValue;t!==K&&(me(t)?t!==this.value&&this.__commitText(t):t instanceof fe?this.__commitTemplateResult(t):t instanceof Node?this.__commitNode(t):he(t)?this.__commitIterable(t):t===X?(this.value=X,this.clear()):this.__commitText(t))}}},{key:"__insert",value:function(e){this.endNode.parentNode.insertBefore(e,this.endNode)}},{key:"__commitNode",value:function(e){this.value!==e&&(this.clear(),this.__insert(e),this.value=e)}},{key:"__commitText",value:function(e){var t=this.startNode.nextSibling;e=null==e?"":e;var n="string"==typeof e?e:String(e);t===this.endNode.previousSibling&&3===t.nodeType?t.data=n:this.__commitNode(document.createTextNode(n)),this.value=e}},{key:"__commitTemplateResult",value:function(e){var t=this.options.templateFactory(e);if(this.value instanceof le&&this.value.template===t)this.value.update(e.values);else{var n=new le(t,e.processor,this.options),r=n._clone();n.update(e.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(t){Array.isArray(this.value)||(this.value=[],this.clear());var n,r,o=this.value,a=0,i=u(t);try{for(i.s();!(r=i.n()).done;){var c=r.value;n=o[a],void 0===n&&(n=new e(this.options),o.push(n),0===a?n.appendIntoPart(this):n.insertAfterPart(o[a-1])),n.setValue(c),n.commit(),a++}}catch(s){i.e(s)}finally{i.f()}a<o.length&&(o.length=a,this.clear(n&&n.endNode))}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;Y(this.startNode.parentNode,e.nextSibling,this.endNode)}}]),e}(),be=function(){function e(t,n,r){if(T()(this,e),this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=n,this.strings=r}return N()(e,[{key:"setValue",value:function(e){this.__pendingValue=e}},{key:"commit",value:function(){for(;W(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=K,e(this)}if(this.__pendingValue!==K){var t=!!this.__pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=t),this.__pendingValue=K}}}]),e}(),ye=function(e){function t(e,r,o){var a;return T()(this,t),a=n.call(this,e,r,o),a.single=2===o.length&&""===o[0]&&""===o[1],a}D()(t,e);var n=s(t);return N()(t,[{key:"_createPart",value:function(){return new we(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:P()(R()(t.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),t}(pe),we=function(e){function t(){return T()(this,t),n.apply(this,arguments)}D()(t,e);var n=s(t);return t}(ve),_e=!1;!function(){try{var e={get capture(){return _e=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(t){}}();var ke=function(){function e(t,n,r){var o=this;T()(this,e),this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(e){return o.handleEvent(e)}}return N()(e,[{key:"setValue",value:function(e){this.__pendingValue=e}},{key:"commit",value:function(){for(;W(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=K,e(this)}if(this.__pendingValue!==K){var t=this.__pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),o=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=je(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=K}}},{key:"handleEvent",value:function(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}]),e}(),je=function(e){return e&&(_e?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)},Se=function(){function e(){T()(this,e)}return N()(e,[{key:"handleAttributeExpressions",value:function(e,t,n,r){var o=t[0];if("."===o){var a=new ye(e,t.slice(1),n);return a.parts}if("@"===o)return[new ke(e,t.slice(1),r.eventContext)];if("?"===o)return[new be(e,t.slice(1),n)];var i=new pe(e,t,n);return i.parts}},{key:"handleTextExpression",value:function(e){return new ge(e)}}]),e}(),Ee=new Se,Oe=new Map,xe=new WeakMap,Le=function(e,t,n){var r=xe.get(t);void 0===r&&(Y(t,t.firstChild),xe.set(t,r=new ge(Object.assign({templateFactory:m},n))),r.appendInto(t)),r.setValue(e),r.commit()};"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");var Ie,qe,Ae,Te,Ce,Ne,Me,Pe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];return new fe(e,n,"html",Ee)},Be={baseUrl:"/api/_/email-bots",get filterUrl(){return"".concat(window.origin).concat(this.baseUrl,"/").concat(window.store.currentLocale,"/support/bot_responses/filter")},get updateUrl(){return"".concat(window.origin).concat(this.baseUrl,"/").concat(window.store.currentLocale,"/support/bot_responses/update_response")}},De=new URLSearchParams(document.location.search),He=De.get("query_id")||!1,ze=window.store.article.id,Fe=function(e){var t=e.target,n="SPAN"!==t.tagName?t.dataset:t.parentElement.dataset,r=n.useful;fetch(Be.updateUrl,{method:"PUT",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:"useful=".concat(r,"&query_id=").concat(He,"&solution_id=").concat(ze)}).then(function(e){return e.json()}).then(function(e){e.other_articles&&"false"===r?Le(We("suggestionsMsg",e.other_articles),Me):"false"===r?Le(We("failureMsg"),Me):Le(We("successMsg"),Me)})},Re=Pe(Ie||(Ie=q()(['\n  <p class="semi-bold fs-20">','</h5>\n  <p class="fs-16">','</p>\n  <div class="mt-8 pt-8">\n    <button type="button" class="btn btn-default btn-sm fw-btn-yes" data-useful="true" @click=',"><span class='icon-strongly-agree me-4'></span> ",'</button>\n    <button type="button" class="btn btn-default btn-sm fw-btn-no" data-useful="false" @click=',"><span class='icon-strongly-disagree me-4'></span> ","</button>\n  </div>\n"])),window.I18n.t("portal_js_translations.email_bot.heading"),window.I18n.t("portal_js_translations.email_bot.sub_text"),Fe,window.I18n.t("portal_js_translations.email_bot.cta_yes"),Fe,window.I18n.t("portal_js_translations.email_bot.cta_no")),Ve=Pe(qe||(qe=q()(['\n  <div class="fw-success-msg text-center">\n    <span class="icon-strongly-agree fs-24"></span>\n    <p class="fs-16 semi-bold">',"</p>\n  </div>\n"])),window.I18n.t("portal_js_translations.email_bot.success_msg")),Ue=Pe(Ae||(Ae=q()(['\n  <div class="fw-failure-msg text-center">\n    <span class="icon-strongly-disagree fs-24"></span>\n    <p class="fs-16 semi-bold">',"</p>\n  </div>\n"])),window.I18n.t("portal_js_translations.email_bot.failure_msg")),Je=function(e){return Pe(Te||(Te=q()(['\n  <div class="fw-suggestion-msg">\n    <p class="fs-16 semi-bold mb-16">',"</p>\n    <ul>\n      ","\n    </ul>\n  </div>\n"])),window.I18n.t("portal_js_translations.email_bot.other_articles"),e.map(function(e){return Pe(Ce||(Ce=q()(['<li class="fs-16 mb-8"><a href="',"?query_id=",'">',"</a></li>"])),e.url,He,e.title)}))},We=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Pe(Ne||(Ne=q()(['\n<div class="position-fixed p-3 fw-bots-popup-wrapper" style="z-index: 11">\n  <div class="toast show" role="alert" aria-live="assertive" aria-atomic="true">\n    <div class="toast-body p-16">\n',"\n    </div>\n  </div>\n</div>\n"])),function(){var n=Re;return"successMsg"===e?n=Ve:"failureMsg"===e?n=Ue:"suggestionsMsg"===e&&(n=Je(t)),n}())},Ge=function(){He&&fetch("".concat(Be.filterUrl,"?query_id=").concat(He,"&solution_id=").concat(ze),{method:"GET"}).then(function(e){return e.json()}).then(function(e){if(!e.ticket_closed&&!e.positive_feedback){var t=document.createElement("div");t.id="bot-widget",Me=document.body.appendChild(t),!e.useful&&e.other_articles?Le(We("suggestionsMsg",e.other_articles),Me):void 0===e.useful&&Le(We("helpfulArticle"),Me)}})};Object(x.h)(Ge());n(77);window.addEventListener("load",function(){"firefox"!==Object(x.a)()&&g()}),Object(x.h)(function(){v(),Object(L.a)(".fw-content--single-article"),"firefox"===Object(x.a)()&&g()})},3:function(e,t,n){"use strict";n.d(t,"b",function(){return m}),n.d(t,"a",function(){return f}),n.d(t,"c",function(){return p}),n.d(t,"d",function(){return h});var r=n(2),o=n.n(r),a=n(1),i=n.n(a),c=n(10),s=n.n(c),l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t;switch(e.type){case"email":""!==e.value&&(n.email={message:window.I18n.translate("portal_validation.email")});break;case"url":""!==e.value&&(n.url={message:window.I18n.translate("portal_validation.url")});break;case"text":""!==e.value&&(e.dataset.decimal||e.dataset.number)&&(e.dataset.decimal&&(n.format={pattern:/^-?\d+(\.\d{0,2})?$/i,message:window.I18n.translate("portal_validation.decimal")}),e.dataset.number&&(n.format={pattern:/^-?\d+$/i,message:window.I18n.translate("portal_validation.number")}))}return n},u=function(e,t){if(e){var n=document.getElementById(e),r=document.querySelector(".invalid-feedback.".concat(e));n&&n.classList.add("invalid"),r&&(r.innerHTML=t,r.classList.add("d-block"))}},d=function(e){if(e){var t=document.getElementById(e),n=document.querySelector(".invalid-feedback.".concat(e));t&&t.classList.remove("invalid"),n&&(n.classList.remove("d-block"),n.innerHTML="")}},f=function(e){var t={},n=l(e);return Object.keys(n).length&&(t[e.id]=n),t},m=function(e){var t={};return[].concat(i()(e.querySelectorAll(":not(.d-none).form-group .form-control")),i()(e.querySelectorAll(":not(.d-none).form-check .form-check-input")),i()(e.querySelectorAll(".nested_field :not(.d-none).form-check .form-check-input"))).forEach(function(e){var n=l(e);e.required&&""!==e.id&&(n.presence={message:window.I18n.translate("portal_validation.required"),allowEmpty:!1}),Object.keys(n).length&&(t[e.id]=n)}),t},h=function(e,t,n){d(e.id);var r=s()(n,t,{fullMessages:!1});if(r){var a=o()(r[e.id],1),i=a[0];u(e.id,i)}},p=function(e,t){var n={};[].concat(i()(e.querySelectorAll(":not(.d-none).form-group .form-control")),i()(e.querySelectorAll(":not(.d-none).form-check .form-check-input")),i()(e.querySelectorAll(".nested_field :not(.d-none).form-check .form-check-input"))).forEach(function(e){d(e.id),"checkbox"===e.type?n[e.id]=e.checked?"true":"":"textarea"===e.type&&e.classList.contains("rich-editor")?n[e.id]=e.previousElementSibling.querySelector(".fr-element").innerText:n[e.id]=e.value;
});var r=s()(n,t,{fullMessages:!1});return r?(e.dataset.errors=!0,Object.entries(r).forEach(function(e){var t=o()(e,2),n=t[0],r=t[1],a=o()(r,1),i=a[0];u(n,i)}),document.querySelector(".invalid").focus(),!1):(e.dataset.errors=!1,!0)}},36:function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=0,r=t.length>0?"".concat(e," img").concat(t.join(", ".concat(e," img"))):"".concat(e," img"),a=document.querySelectorAll(r),i=document.querySelector(".fw-lightbox-actions"),c=i.querySelector(".fw-prev"),s=i.querySelector(".fw-next"),l=i.querySelector(".fw-download"),u=document.querySelector(".fw-lightbox-gallery"),d=new o.b(u),f=u.querySelector("#fw-lightbox-preview"),m=u.querySelector(".fw-loading"),h=i.querySelector("#fw-ligthbox-count"),p=[],v=0,g=function(){m.classList.add("d-none"),f.classList.remove("d-none")},b=function(){m.classList.remove("d-none"),f.classList.add("d-none")},y=function(){h.innerHTML="".concat(v+1," ").concat(window.I18n.translate("portal_js_translations.lightbox.of")," ").concat(p.length)},w=function(){b(),f.setAttribute("src",p[v].src),f.setAttribute("alt",p[v].alt),f.complete?g():f.addEventListener("load",g),p[v].id?(l.setAttribute("href","/helpdesk/attachments/".concat(p[v].id,"?download=true")),l.classList.remove("d-none")):l.classList.add("d-none"),y()};a.forEach(function(e){var t=e.parentElement;"A"===t.nodeName||t.classList.contains("fw-attachment-type")||(e.dataset.index=n,e.classList.add("fw-lightbox-img"),p.push({src:e.src,id:e.dataset.id||e.dataset.attachment_id||e.dataset.fileid,alt:e.alt}),e.addEventListener("click",function(e){e.preventDefault(),v=parseInt(e.currentTarget.dataset.index),w(),d.show()}),n++)}),c.addEventListener("click",function(e){e.preventDefault(),v>0&&(v-=1,w())}),s.addEventListener("click",function(e){e.preventDefault(),v<p.length-1&&(v+=1,w())})}var o=n(26);t.a=r},7:function(e,t,n){"use strict";function r(e){var t;if("click"===e.type)t=!0;else if("keypress"===e.type){var n=e.charCode||e.keyCode;(32===n||13===n)&&(t=!0)}else t=!1;return t}t.a=r},77:function(e,t){var n=function(e,t){function n(n){var r=n.data;switch(r.type){case"token":if(t)t(r.token);else{var i="g-recaptcha-response",c=document.getElementById(i);if(!c){var s=jQuery("#recaptcha-frame").closest("form");c=document.createElement("input"),c.type="hidden",c.name=i,c.id=i,s.append(c)}c.value=r.token}break;case"expand":if(e.height=o.expand.height,e.width=o.expand.width,e.scrollIntoView(),r.recaptchaFixEnabled){var l=document.querySelector(".recaptcha-frame").contentWindow,u=l.document.querySelector("div:last-child div:last-child");u&&(u.style.height=a)}break;case"minimize":e.height=o.minimize.height,e.width=o.minimize.width}}var r={};r.channel=new MessageChannel,r.channel.port1.onmessage=n,e.contentWindow.postMessage("init",window.location.origin,[r.channel.port2]),"MutationObserver"in window||(e.style.resize="both");var o={minimize:{height:"100px",width:"320px"},expand:{height:"500px",width:"350px"}},a="490px"};window.onload=function(){var e=document.getElementById("recaptcha-frame");return e&&"false"!==e.dataset.selfinvoke?void n(e):!0}},82:function(e,t,n){"use strict";var r=n(84),o=n.n(r),a=n(111),i=(n.n(a),n(112)),c=(n.n(i),n(113)),s=(n.n(c),n(114)),l=(n.n(s),n(115)),u=(n.n(l),n(116)),d=(n.n(u),n(117)),f=(n.n(d),n(118)),m=(n.n(f),n(119)),h=(n.n(m),n(120)),p=(n.n(h),n(121)),v=(n.n(p),n(122)),g=(n.n(v),n(123)),b=(n.n(g),n(124)),y=(n.n(b),n(125)),w=(n.n(y),n(126)),_=(n.n(w),n(127)),k=(n.n(_),n(128)),j=(n.n(k),n(129)),S=(n.n(j),n(130)),E=(n.n(S),n(131)),O=(n.n(E),n(132)),x=(n.n(O),n(133)),L=(n.n(x),n(134)),I=(n.n(L),n(135)),q=(n.n(I),n(136)),A=(n.n(q),n(0));Object(A.h)(function(){document.querySelectorAll('[rel="highlighter"]').forEach(function(e){var t=e.dataset.codeBrush;if(void 0!==t){var n=e.innerHTML;e.innerHTML='<code class="language-'.concat(t,'">').concat(n,"</code>")}}),o.a.highlightAll()})},93:function(e,t){function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}e.exports=n,e.exports["default"]=e.exports,e.exports.__esModule=!0}},[[254,0]]]);