PageSourceSearch

https://help.tripit.com/assets/cdn/portal/scripts/single-solution.js

js tripit.com collected 2026-09-24 07:45:37 UTC 46,286 bytes, 2 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[111,103],{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 i(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 o(){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="true"===e.getAttribute("aria-disabled"),i=JSON.stringify(t)!==JSON.stringify(n);i?r&&e.setAttribute("aria-disabled","false"):!r&&e.setAttribute("aria-disabled","true")}n.d(t,"i",function(){return a}),n.d(t,"d",function(){return y}),n.d(t,"q",function(){return g}),n.d(t,"x",function(){return w}),n.d(t,"s",function(){return _}),n.d(t,"N",function(){return k}),n.d(t,"L",function(){return x}),n.d(t,"u",function(){return S}),n.d(t,"J",function(){return E}),n.d(t,"G",function(){return A}),n.d(t,"b",function(){return L}),n.d(t,"k",function(){return O}),n.d(t,"f",function(){return j}),n.d(t,"Q",function(){return I}),n.d(t,"B",function(){return N}),n.d(t,"p",function(){return q}),n.d(t,"y",function(){return T}),n.d(t,"E",function(){return m}),n.d(t,"D",function(){return v}),n.d(t,"n",function(){return M}),n.d(t,"K",function(){return C}),n.d(t,"C",function(){return V}),n.d(t,"o",function(){return P}),n.d(t,"e",function(){return B}),n.d(t,"l",function(){return H}),n.d(t,"j",function(){return D}),n.d(t,"c",function(){return R}),n.d(t,"A",function(){return U}),n.d(t,"h",function(){return F}),n.d(t,"O",function(){return J}),n.d(t,"M",function(){return s}),n.d(t,"r",function(){return z}),n.d(t,"t",function(){return $}),n.d(t,"F",function(){return W}),n.d(t,"a",function(){return o}),n.d(t,"z",function(){return c}),n.d(t,"v",function(){return ae}),n.d(t,"m",function(){return ie}),n.d(t,"g",function(){return oe}),n.d(t,"I",function(){return ce}),n.d(t,"w",function(){return ue}),n.d(t,"H",function(){return le}),n.d(t,"P",function(){return fe});var u=n(1),l=n.n(u),d=n(10),f=n.n(d),h=n(17),p=n(2),m=function(e){var t=document.createElement("div");return t.textContent=e,t.innerHTML.replace(/"/g,"&quot;")},v=function(e){try{return encodeURIComponent(e)}catch(t){return e}},g=function(){return window.localStorage.getItem("recentSearches")?JSON.parse(window.localStorage.getItem("recentSearches")):[]},y=function(){localStorage.setItem("recentSearches","")},b=function(){return window.store.currentLocale||window.store.defaultLocale},w=function(){var e=document.querySelector(".fw-recent-searches"),t=g();e.innerHTML=t.map(function(e){return'<li><a class="ps-32 line-clamp-2" href="/'.concat(b(),"/support/search?term=").concat(v(e),'">').concat(m(e),"</a></li>")}).join("")},_=function(e,t){return e&&e.classList.contains(t)},k=function(e){var t=[].concat(e);t.forEach(function(e){e&&e.classList.toggle("d-none")})},x=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"primary",n=[].concat(e);n.forEach(function(e){_(e,"btn-".concat(t))?e.classList.replace("btn-".concat(t),"btn-outline-".concat(t)):e.classList.replace("btn-outline-".concat(t),"btn-".concat(t))})},S=function(e){var t=[].concat(e);t.forEach(function(e){e&&!e.classList.contains("d-none")&&e.classList.add("d-none")})},E=function(e){var t=[].concat(e);t.forEach(function(e){e&&e.classList.contains("d-none")&&e.classList.remove("d-none")})}
1,A=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})},L=function(e){var t=document.createElement("input");A(t,{type:"hidden",name:"authenticity_token",value:window.csrfToken}),e.appendChild(t)},O=function(e,t){return fetch(e,i(i({},t),{},{headers:{"X-CSRF-Token":window.csrfToken}}))},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,n=null;return function(){for(var r=arguments.length,i=new Array(r),a=0;r>a;a++)i[a]=arguments[a];clearTimeout(n),n=setTimeout(function(){e.apply(void 0,i)},t)}},I=function(e,t){e&&e.addEventListener("change",function(e){var t={};t[e.target.id]=e.target.value,Object(p.d)(e.target,Object(p.a)(e.target),t)}),t&&EventManager.on("click",t,function(){return e.dataset.formChanged=!1,Object(p.c)(e,Object(p.b)(e))?Promise.resolve():Promise.reject()})},N=function(e){[].concat(l()(e.querySelectorAll(".form-group .form-control")),l()(e.querySelectorAll(".form-group .form-check-input"))).forEach(function(t){if(_(t,"invalid"))if(t.classList.remove("invalid"),"checkbox"===t.type)t.nextElementSibling.nextElementSibling.classList.remove("d-block"),t.nextElementSibling.nextElementSibling.classList.add("d-none");else{var n=t.id&&e.querySelector(".invalid-feedback.".concat(t.id));n&&(n.classList.remove("d-block"),n.classList.add("d-none"))}})},q=function(e){return e.charCode?e.charCode:e.keyCode?e.keyCode:e.which?e.which:0},T=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},C=function(e,t){return sessionStorage.setItem(e,JSON.stringify(t))},M=function(e){return sessionStorage.getItem(e)?JSON.parse(sessionStorage.getItem(e)):void 0},V=function(e){return sessionStorage.removeItem(e)},P=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])},B=function(e){return e.replace(/[A-Z]/g,function(e,t){return(0!==t?"-":"")+e.toLowerCase()})},H=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}},R=50,U=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 i=decodeURIComponent(n);e.includes(r)||(r in t?t[r].push(i):t[r]=[i])}),t},F=function(e){return JSON.parse(JSON.stringify(e))},J=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)}},z=function(e){return"choicesInstance"in e},$=function(e){return"_flatpickr"in e},W=function(e){return e.offsetHeight+e.scrollTop>=e.scrollHeight},Y=function(e,t){var n=e.getAttribute("aria-describedby");n&&!t.getAttribute("aria-describedby")&&t.setAttribute("aria-describedby",n)},K=function(e){if(!e)return"";var t=e.getAttribute("aria-label");if(t)return t.trim();if(e.id){var n=document.querySelector('label[for="'.concat(e.id,'"]'));if(n)return n.textContent.replace(/\*/g,"").trim()}var r=e.closest(".form-group"),i=r&&r.querySelector("label.form-label");return i?i.textContent.replace(/\*/g,"").trim():""},G=function(e){if(!e)return null;if(e.id){var t=document.querySelector('label[for="'.concat(e.id,'"]'));if(t)return t}var n=e.closest(".form-group");return n?n.querySelector("label.form-label"):null},Q=function(e,t){var n=G(e),r=t.getAttribute("placeholder")||e.getAttribute("placeholder")||"",i=K(e),a=i&&r&&!t.value?"".concat(i,", ").concat(r):i;n?(n.id||(n.id="".concat(e.id,"-label")),t.setAttribute("aria-labelledby",n.id),t.removeAttribute("aria-label")):a&&(t.setAttribute("aria-label",a),t.removeAttribute("aria-labelledby"))},Z=function(){var e=document.getElementById("flatpickr-sr-announcement");e||(e=document.createElement("span"),e.id="flatpickr-sr-announcement",e.className="visually-hidden",e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),document.body.appendChild(e)),e.textContent="",setTimeout(function(){e.textContent=window.I18n.t("portal_js_translations.date_picker_opened",{defaultValue:"Date picker opened"})},100)},X=function(e){var t=e.input,n=e.altInput,r=e.calendarContainer,i=n||t;if(i&&t){var a=K(t);Q(t,i),Y(t,i),i.setAttribute("aria-haspopup","dialog"),i.removeAttribute("aria-expanded"),i.removeAttribute("role"),r&&(r.setAttribute("role","dialog"),r.removeAttribute("aria-modal"),r.getAttribute("aria-label")||r.setAttribute("aria-label",a||window.I18n.t("portal_js_translations.date_picker",{defaultValue:"Date picker"})))}},ee=function(e){var t=e.calendarContainer,n=e.yearElements;if(t&&!t.dataset.a11yKeyboardNavBound){t.dataset.a11yKeyboardNavBound="true";var r=function(e,t,n){e&&(e.setAttribute("tabindex","0"),e.setAttribute("role","button"),t&&e.setAttribute("aria-label",t),e.addEventListener("keydown",function(e){var t=q(e);(13===t||32===t)&&(e.preventDefault(),n())}))};r(t.querySelector(".flatpickr-prev-month"),window.I18n.t("portal_js_translations.date_picker_prev_month",{defaultValue:"Previous month"}),function(){return e.changeMonth(-1)}),r(t.querySelector(".flatpickr-next-month"),window.I18n.t("portal_js_translations.date_picker_next_month",{defaultValue:"Next month"}),function(){return e.changeMonth(1)}),t.querySelectorAll(".arrowUp").forEach(function(t){r(t,window.I18n.t("portal_js_translations.date_picker_increase_year",{defaultValue:"Increase year"}),function(){return e.changeYear(e.currentYear+1)})}),t.querySelectorAll(".arrowDown").forEach(function(t){r(t,window.I18n.t("portal_js_translations.date_picker_decrease_year",{defaultValue:"Decrease year"}),function(){return e.changeYear(e.currentYear-1)})}
1),(n||[]).forEach(function(e){return e.setAttribute("tabindex","0")})}},te=function(e){var t=e.daysContainer;if(t){var n=function(){var n=e.selectedDateElem,r=e.todayDateElem;t.querySelectorAll(".flatpickr-day").forEach(function(e){e.tabIndex=-1});var i=function(e){return!!e&&t.contains(e)},a=i(n)&&n||i(r)&&r||t.querySelector(".flatpickr-day:not(.flatpickr-disabled):not(.hidden)");a&&(a.tabIndex=0)};n(),t.dataset.a11yRovingTabIndexBound||(t.dataset.a11yRovingTabIndexBound="true",t.addEventListener("focusin",function(e){e.target.classList.contains("flatpickr-day")&&(t.querySelectorAll(".flatpickr-day").forEach(function(e){e.tabIndex=-1}),e.target.tabIndex=0)}))}},ne=function(e){var t=e.calendarContainer,n=e.daysContainer,r=e.yearElements;if(!t)return[];var i=n&&n.querySelector('.flatpickr-day[tabindex="0"]'),a=t.querySelector(".flatpickr-prev-month"),o=t.querySelector(".flatpickr-next-month");return[i,a].concat(l()(r||[]),[o]).filter(Boolean)},re=function(e){var t=e.calendarContainer;if(t&&!t.dataset.a11yFocusTrapBound){t.dataset.a11yFocusTrapBound="true";var n=function(t){if(9===q(t)&&e.isOpen){var n=ne(e);if(n.length){t.preventDefault();var r=n.indexOf(document.activeElement),i=t.shiftKey?-1:1,a=-1===r?0:(r+i+n.length)%n.length;n[a].focus()}}};t.addEventListener("keydown",n);var r=e.altInput||e.input;r&&r.addEventListener("keydown",n)}},ie={onReady:function(e,t,n){X(n),ee(n),te(n),re(n)},onMonthChange:function(e,t,n){te(n)},onYearChange:function(e,t,n){te(n)},onOpen:function(e,t,n){var r=n.altInput||n.input;r&&r.setAttribute("aria-expanded","true"),Z(),te(n),requestAnimationFrame(function(){requestAnimationFrame(function(){var e=n.daysContainer,t=e&&e.querySelector('.flatpickr-day[tabindex="0"]');t&&t.focus()})})},onClose:function(e,t,n){var r=n.altInput||n.input;r&&r.removeAttribute("aria-expanded")}},ae=function(e){var t=window.I18n.t("portal_js_translations.flatpickr_translations")||{},n=window.I18n.t("portal_js_translations.flatpickr_translations_fix")||{},r=n.weekdays,a=i(i({},t),{},{weekdays:r}),o=i({altInput:!0,altInputClass:"form-control alt-flatpickr-input",altFormat:"j M, Y",dateFormat:"Y-m-d",locale:a},ie);e.querySelectorAll('input[type="date"]').forEach(function(e){Object(h.a)(e,o)})},oe=function(e){try{var t=e?String(e):"";return t.replace(/&lt;?/g,"<").replace(/&gt;?/g,">")}catch(n){return e}},ce=function(e){var t,n,r,i,a,o,c;if(null!==e&&void 0!==e&&null!==(t=e.defaults)&&void 0!==t&&t.options){null!==(n=window)&&void 0!==n&&null!==(r=n.store)&&void 0!==r&&null!==(i=r.portalLaunchParty)&&void 0!==i&&i.enableStrictSearch&&(e.defaults.options.searchFields=["label"],e.defaults.options.fuseOptions={threshold:.1,ignoreLocation:!0,distance:1e3});var s=null===(a=window)||void 0===a?void 0:null===(o=a.store)||void 0===o?void 0:null===(c=o.portalLaunchParty)||void 0===c?void 0:c.homepageNavAccessibilityEnabled,u=document.getElementById("navbarContent");s&&u&&u.classList.add("home_nav_accessibility_lp")}},se=["notice","warning","error"],ue=function(){setTimeout(function(){se.forEach(function(e){var t=document.querySelector("#".concat(e,".alert"));t&&t.focus()})},500)},le=function(e){var t=e.containerOuter.element,n=t.closest(".form-group");if(n){var r=n.querySelector("div.invalid-feedback"),i=r&&r.id;i&&!t.getAttribute("aria-describedby")&&t.setAttribute("aria-describedby",i)}},de="helpdesk_ticket_forms_dropdown",fe=function(e){var t=e.passedElement.element;if(t.id===de){var n=e.containerOuter.element,r=t.closest(".fw-helpdesk-ticket-forms-dropdown-container"),i=r&&r.querySelector(".heading"),a=i&&i.textContent.trim()||t.getAttribute("aria-label")||"",o=t.options[t.selectedIndex],c=o&&o.value?o.textContent.trim():"";n.setAttribute("aria-label",c?"".concat(a,", ").concat(c):a)}}},155:function(e,t,n){"use strict";function r(e){return i.apply(this,arguments)}function i(){return i=o()(s.a.mark(function e(t){var n,r,i;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),n=d.value,r=!0,!l||"true"!==n){e.next=7;break}return l.contentWindow.recaptchaV3(),e.next=7,new Promise(function(e){return setTimeout(e,700)});case 7:if(g(),i=document.querySelector("#g-recaptcha-response"),l&&(!i||i.value&&!i.value.length)&&(v(),r=!1),r){e.next=14;break}return e.abrupt("return",p?Promise.reject():t.stopImmediatePropagation());case 14:return e.abrupt("return",p?Promise.resolve():h.requestSubmit());case 15:case"end":return e.stop()}},e)})),i.apply(this,arguments)}n.r(t);var a=n(20),o=n.n(a),c=n(5),s=n.n(c),u=n(0),l=document.getElementById("recaptcha-frame"),d=document.getElementById("enterprise_enabled"),f=document.querySelector("#helpdesk_ticket_captcha-error"),h=d?d.form:null,p=window.EventManager?!0:!1,m=p?"d-none":"hide",v=function(){f.classList.remove(m)},g=function(){f.classList.add(m)};h&&(g(),p?Object(u.i)(function(){EventManager.on("submit",h,r)}):(l.onload=function(){console.log("recaptchaFrame loading"),captchaModule(l)},l.contentDocument&&"complete"==l.contentDocument.readyState&&(console.log("recaptchaFrame loaded completely"),captchaModule(l)),jQuery("[type=submit]",h).click(r)))},2:function(e,t,n){"use strict";n.d(t,"b",function(){return L}),n.d(t,"a",function(){return A}),n.d(t,"c",function(){return N}),n.d(t,"d",function(){return O});var r=n(3),i=n.n(r),a=n(1),o=n.n(a),c=n(7),s=n.n(c),u="ext",l=30,d=5,f=8,h=/^\d+$/,p=/^\+?[\d()\-.\s/#*,;a-zA-Z]+$/,m="portal_validation.phone_parity",v=function(e){var t=String(null==e?"":e).match(/\d/g);return t?t.length:0},g=function(e){var t=String(null==e?"":e).match(/[a-zA-Z]/g);return v(e)+(t?t.length:0)},y=function(e){if(void 0===e||null===e||""===e)return{phone:"",extension:""};var t=String(e),n=t.lastIndexOf(u);return-1===n?{phone:t.trim(),extension:""}:{phone:t.slice(0,n).replace(/\s+$/,""),extension:t.slice(n+u.length).trim()}},b=function(e){return h.test(e)?e.length>f?"extensionTooLong":null:"extensionCharset"},w=function(e,t){return p.test(e)?g(e)<d?"minDigits":e.length+t>l?t>
10?"maxMainChars":"maxMainCharsNoExtension":null:"mainCharset"},_=function(e,t){if(void 0===e||null===e||""===String(e).trim())return null;var n=y(String(e).trim()),r=n.phone,i=n.extension,a=i.trim();if(!r&&a)return"extensionOnly";if(a&&t===!1)return"extensionSegmentDisallowed";if(a){var o=b(a);if(o)return o}return w(r,a.length)},k=function(e){return window.I18n.translate("".concat(m,".").concat(e),{defaultValue:window.I18n.translate("portal_validation.phone")})};s.a.validators.phoneParity=function(e,t){var n=Object.prototype.hasOwnProperty.call(t,"combinedValue")?t.combinedValue:e,r=_(n,t.allowExtension);return r?k(r):void 0};var x=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":if(e.dataset.phoneParity){var r=document.getElementById("".concat(e.id,"_ext")),i=r?r.value.trim():"";if(""!==e.value||""!==i){var a=i?"".concat(e.value.trim()).concat(u).concat(i):e.value;n.phoneParity={allowExtension:"work"===e.dataset.phoneParity,combinedValue:a,message:window.I18n.translate("portal_validation.phone")}}}""!==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},S=function(e,t){if(e){var n=document.getElementById(e),r=document.querySelector(".invalid-feedback.".concat(e));n&&n.classList.add("invalid"),n&&n.setAttribute("aria-invalid","true"),r&&(r.innerHTML=t,r.classList.add("d-block"))}},E=function(e){if(e){var t=document.getElementById(e),n=document.querySelector(".invalid-feedback.".concat(e));t&&t.classList.remove("invalid"),t&&t.removeAttribute("aria-invalid"),n&&(n.classList.remove("d-block"),n.innerHTML="")}},A=function(e){var t={},n=x(e);return Object.keys(n).length&&(t[e.id]=n),t},L=function(e){var t={};return[].concat(o()(e.querySelectorAll(":not(.d-none).form-group .form-control")),o()(e.querySelectorAll(":not(.d-none).form-check .form-check-input")),o()(e.querySelectorAll(".nested_field :not(.d-none).form-check .form-check-input"))).forEach(function(e){var n=x(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},O=function(e,t,n){E(e.id);var r=s()(n,t,{fullMessages:!1});if(r){var a=i()(r[e.id],1),o=a[0];S(e.id,o)}},j=function(e){if(e){if(e.classList.contains("rich-editor")){var t=e.previousElementSibling&&e.previousElementSibling.querySelector(".fr-element");if(t)return void t.focus()}var n=e.choicesInstance;if(n){var r;if(r=e.multiple?n.input&&n.input.element:n.containerOuter&&n.containerOuter.element)return void r.focus()}e.focus()}},I=function(e){e&&j(e.querySelector(".invalid"))},N=function(e,t){var n={};[].concat(o()(e.querySelectorAll(":not(.d-none).form-group .form-control")),o()(e.querySelectorAll(":not(.d-none).form-check .form-check-input")),o()(e.querySelectorAll(".nested_field :not(.d-none).form-check .form-check-input"))).forEach(function(e){E(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=i()(e,2),n=t[0],r=t[1],a=i()(r,1),o=a[0];S(n,o)}),I(e),!1):(e.dataset.errors=!1,!0)}},269: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=i(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 o,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,o=e},f:function(){try{c||null==n["return"]||n["return"]()}finally{if(s)throw o}}}}function i(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 o(e){var t=c();return function(){var n,r=U()(e);if(t){var i=U()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return D()(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=u();return function(){var n,r=U()(e);if(t){var i=U()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return D()(this,n)}}function u(){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 l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=d(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||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 h(e){var t=Ae.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},Ae.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 ie(e,e.getTemplateElement()),t.keyString.set(r,n)),t.stringsArray.set(e.strings,n),n}function p(){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 m(e){var t;try{t=decodeURIComponent(e).replace("#","")}catch(n){t=e.replace("#","")}var r=document.getElementById(t);if(r){var i=r.getBoundingClientRect().top-document.body.getBoundingClientRect().top-p();window.location.hash=e,window.scrollTo({behavior:"smooth",top:i})}}function v(){var e=document.querySelector(".fw-content--single-article"),t=document.querySelector(".fd-toc");if(e||t){var n=(e||t).querySelectorAll('a[href^="#"]');["click","keypress"].forEach(function(e){n.forEach(function(t){t.addEventListener(e,function(e){if(e.preventDefault(),Object(A.a)(e)===!0){var n=t.hash;m(n)}})})})}}function g(){var e=window.location.hash;m(e)}n.r(t);var y=n(20),b=n.n(y),w=n(3),_=n.n(w),k=n(5),x=n.n(k),S=n(7),E=n.n(S),A=(n(87),n(8)),L=n(0);n(155);Object(L.i)(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"),i=document.querySelector(".fw-btn-feedback.fw-no"),a=document.querySelector(".fw-btn-feedback.fw-yes"),o=document.querySelector(".fw-feedback-cancel"),c=document.querySelector(".fw-feedback-send"),s=e&&e.dataset.id,u=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 i=_()(r[e.id],1),a=i[0];e.classList.add("invalid"),e.nextElementSibling.innerHTML=a,e.nextElementSibling.classList.add("d-block")}return t};if(e&&(window.store.user?Object(L.J)(e):!localStorage["vote_".concat(s,"_").concat(window.store.currentLocale)]&&Object(L.J)(e)),"article_view"===window.store.currentPageName){var l=Object(L.n)("seenArticlesArray"),d=window.location.href.split("/"),f=parseInt(d[d.length-1]).toString();if(l=l||[],l.indexOf(f)>=0){var h=l.indexOf(f);l.splice(h,1)}l.push(f),Object(L.K)("seenArticlesArray",l.slice().splice(-50))}["click","keypress"].forEach(function(r){e&&(i.addEventListener(r,function(r){Object(A.a)(r)===!0&&(Object(L.k)(this.dataset.href,{method:"PUT"}).then(function(){n.remove(),Object(L.N)([e,t])}),!window.store.user&&(localStorage["vote_".concat(s,"_").concat(window.store.currentLocale)]=!0))}),a.addEventListener(r,function(t){Object(A.a)(t)===!0&&(Object(L.k)(this.dataset.href,{method:"PUT"}).then(function(){Object(L.N)([e,n])}),!window.store.user&&(localStorage["vote_".concat(s,"_").concat(window.store.currentLocale)]=!0))}),o.addEventListener(r,function(e){Object(A.a)(e)===!0&&Object(L.N)(t)}))});var p=!0,m=document.querySelector("#helpdesk_ticket_email"),v=document.querySelector(".negative-form.invali
1d-feedback");v.classList.remove("d-block");var g=document.getElementById("negative-feedback-form"),y=document.getElementById("helpdesk_ticket_description");g.addEventListener("change",function(e){if(p=!0,m&&e.target===m)p=u(m,p);else if(e.target!==y){var t=null!==document.querySelector(".form-check-input:checked");p=t,v.classList.toggle("d-block",!t)}}),g&&EventManager.on("submit",g,function(){function e(e){return n.apply(this,arguments)}var n=b()(x.a.mark(function i(e){var n,a;return x.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(e.preventDefault(),Object(L.b)(g),m&&(p=u(m,p)),null==document.querySelector(".form-check-input:checked")&&(p=!1,v.classList.add("d-block")),!p){i.next=14;break}return c.setAttribute("disabled",!0),c.innerHTML=window.I18n.t("portal_js_translations.saving"),n=new FormData(g),a=g.action,i.next=11,Object(L.k)(a,{method:"POST",body:n}).then(function(){t.remove(),Object(L.N)(r)});case 11:return i.abrupt("return",Promise.reject());case 14:return i.abrupt("return",Promise.reject());case 15:case"end":return i.stop()}},i)}));return e}())});var O=n(38),j=n(98),I=n.n(j),N=n(4),q=n.n(N),T=n(6),C=n.n(T),M=n(33),V=n.n(M),P=n(11),B=n.n(P),H=n(30),D=n.n(H),R=n(14),U=n.n(R),F=n(23),J=n.n(F),z=new WeakMap,$=function(e){return"function"==typeof e&&z.has(e)},W="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,Y=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 i=t.nextSibling;e.insertBefore(t,r),t=i}},K=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}},G={},Q={},Z=n(1),X=n.n(Z),ee="{{lit-".concat(String(Math.random()).slice(2),"}}"),te="<!--".concat(ee,"-->"),ne=new RegExp("".concat(ee,"|").concat(te)),re="$lit$",ie=function Ye(e,t){q()(this,Ye),this.parts=[],this.element=t;for(var n=[],r=[],i=document.createTreeWalker(t.content,133,null,!1),a=0,o=-1,c=0,s=e.strings,u=e.values.length;u>c;){var l=i.nextNode();if(null!==l){if(o++,1===l.nodeType){if(l.hasAttributes()){for(var d=l.attributes,f=d.length,h=0,p=0;f>p;p++)ae(d[p].name,re)&&h++;for(;h-->0;){var m=s[c],v=se.exec(m)[2],g=v.toLowerCase()+re,y=l.getAttribute(g);l.removeAttribute(g);var b=y.split(ne);this.parts.push({type:"attribute",index:o,name:v,strings:b}),c+=b.length-1}}"TEMPLATE"===l.tagName&&(r.push(l),i.currentNode=l.content)}else if(3===l.nodeType){var w=l.data;if(w.indexOf(ee)>=0){for(var _=l.parentNode,k=w.split(ne),x=k.length-1,S=0;x>S;S++){var E=void 0,A=k[S];if(""===A)E=ce();else{var L=se.exec(A);null!==L&&ae(L[2],re)&&(A=A.slice(0,L.index)+L[1]+L[2].slice(0,-re.length)+L[3]),E=document.createTextNode(A)}_.insertBefore(E,l),this.parts.push({type:"node",index:++o})}""===k[x]?(_.insertBefore(ce(),l),n.push(l)):l.data=k[x],c+=x}}else if(8===l.nodeType)if(l.data===ee){var O=l.parentNode;(null===l.previousSibling||o===a)&&(o++,O.insertBefore(ce(),l)),a=o,this.parts.push({type:"node",index:o}),null===l.nextSibling?l.data="":(n.push(l),o--),c++}else for(var j=-1;-1!==(j=l.data.indexOf(ee,j+1));)this.parts.push({type:"node",index:-1}),c++}else i.currentNode=r.pop()}for(var I=0,N=n;I<N.length;I++){var T=N[I];T.parentNode.removeChild(T)}},ae=function(e,t){var n=e.length-t.length;return n>=0&&e.slice(n)===t},oe=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"'`<>=]*|"[^"]*|'[^']*))$/,ue=function(){function e(t,n,r){q()(this,e),this.__parts=[],this.template=t,this.processor=n,this.options=r}return C()(e,[{key:"update",value:function(e){var t,n=0,i=r(this.__parts);try{for(i.s();!(t=i.n()).done;){var a=t.value;void 0!==a&&a.setValue(e[n]),n++}}catch(o){i.e(o)}finally{i.f()}var c,s=r(this.__parts);try{for(s.s();!(c=s.n()).done;){var u=c.value;void 0!==u&&u.commit()}}catch(o){s.e(o)}finally{s.f()}}},{key:"_clone",value:function(){for(var e,t=W?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,i=document.createTreeWalker(t,133,null,!1),a=0,o=0,c=i.nextNode();a<r.length;)if(e=r[a],oe(e)){for(;o<e.index;)o++,"TEMPLATE"===c.nodeName&&(n.push(c),i.currentNode=c.content),null===(c=i.nextNode())&&(i.currentNode=n.pop(),c=i.nextNode());if("node"===e.type){var s=this.processor.handleTextExpression(this.options);s.insertAfterNode(c.previousSibling),this.__parts.push(s)}else{var u;(u=this.__parts).push.apply(u,X()(this.processor.handleAttributeExpressions(c,e.name,e.strings,this.options)))}a++}else this.__parts.push(void 0),a++;return W&&(document.adoptNode(t),customElements.upgrade(t)),t}}]),e}(),le=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:function(e){return e}}),de=" ".concat(ee," "),fe=function(){function e(t,n,r,i){q()(this,e),this.strings=t,this.values=n,this.type=r,this.processor=i}return C()(e,[{key:"getHTML",value:function(){for(var e=this.strings.length-1,t="",n=!1,r=0;e>r;r++){var i=this.strings[r],a=i.lastIndexOf("<!--");n=(a>-1||n)&&-1===i.indexOf("-->",a+1);var o=se.exec(i);t+=null===o?i+(n?de:te):i.substr(0,o.index)+o[1]+o[2]+re+o[3]+ee}return t+=this.strings[e]}},{key:"getTemplateElement",value:function(){var e=document.createElement("template"),t=this.getHTML();return void 0!==le&&(t=le.createHTML(t)),e.innerHTML=t,e}}]),e}(),he=(function(e){function t(){return q()(this,t),n.apply(this,arguments)}B()(t,e);var n=o(t);return C()(t,[{key:"getHTML",value:function(){return"<svg>".concat(V()(U()(t.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var e=V()(U()(t.prototype),"getTemplateElement",this).call(this),n=e.content,r=n.firstChild;
1return n.removeChild(r),Y(n,r.firstChild),e}}]),t}(fe),function(e){return null===e||!("object"===J()(e)||"function"==typeof e)}),pe=function(e){return Array.isArray(e)||!(!e||!e[Symbol.iterator])},me=function(){function e(t,n,r){q()(this,e),this.dirty=!0,this.element=t,this.name=n,this.strings=r,this.parts=[];for(var i=0;i<r.length-1;i++)this.parts[i]=this._createPart()}return C()(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"===J()(r))return String(r);if("string"==typeof r||!pe(r))return r}for(var i="",a=0;t>a;a++){i+=e[a];var o=n[a];if(void 0!==o){var c=o.value;if(he(c)||!pe(c))i+="string"==typeof c?c:String(c);else{var s,u=l(c);try{for(u.s();!(s=u.n()).done;){var d=s.value;i+="string"==typeof d?d:String(d)}}catch(f){u.e(f)}finally{u.f()}}}}return i+=e[t]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,
2this.element.setAttribute(this.name,this._getValue()))}}]),e}(),ve=function(){function e(t){q()(this,e),this.value=void 0,this.committer=t}return C()(e,[{key:"setValue",value:function(e){e===G||he(e)&&e===this.value||(this.value=e,$(e)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;$(this.value);){var e=this.value;this.value=G,e(this)}this.value!==G&&this.committer.commit()}}]),e}(),ge=function(){function e(t){q()(this,e),this.value=void 0,this.__pendingValue=void 0,this.options=t}return C()(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(;$(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=G,e(this)}var t=this.__pendingValue;t!==G&&(he(t)?t!==this.value&&this.__commitText(t):t instanceof fe?this.__commitTemplateResult(t):t instanceof Node?this.__commitNode(t):pe(t)?this.__commitIterable(t):t===Q?(this.value=Q,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 ue&&this.value.template===t)this.value.update(e.values);else{var n=new ue(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,i=this.value,a=0,o=l(t);try{for(o.s();!(r=o.n()).done;){var c=r.value;n=i[a],void 0===n&&(n=new e(this.options),i.push(n),0===a?n.appendIntoPart(this):n.insertAfterPart(i[a-1])),n.setValue(c),n.commit(),a++}}catch(s){o.e(s)}finally{o.f()}a<i.length&&(i.length=a,this.clear(n&&n.endNode))}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;K(this.startNode.parentNode,e.nextSibling,this.endNode)}}]),e}(),ye=function(){function e(t,n,r){if(q()(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 C()(e,[{key:"setValue",value:function(e){this.__pendingValue=e}},{key:"commit",value:function(){for(;$(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=G,e(this)}if(this.__pendingValue!==G){var t=!!this.__pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=t),this.__pendingValue=G}}}]),e}(),be=function(e){function t(e,r,i){var a;return q()(this,t),a=n.call(this,e,r,i),a.single=2===i.length&&""===i[0]&&""===i[1],a}B()(t,e);var n=s(t);return C()(t,[{key:"_createPart",value:function(){return new we(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:V()(U()(t.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),t}(me),we=function(e){function t(){return q()(this,t),n.apply(this,arguments)}B()(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 i=this;q()(this,e),this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(e){return i.handleEvent(e)}}return C()(e,[{key:"setValue",value:function(e){this.__pendingValue=e}},{key:"commit",value:function(){for(;$(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=G,e(this)}if(this.__pendingValue!==G){var t=this.__pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),i=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),i&&(this.__options=xe(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=G}}},{key:"handleEvent",value:function(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}]),e}(),xe=function(e){return e&&(_e?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)},Se=function(){function e(){q()(this,e)}return C()(e,[{key:"handleAttributeExpressions",value:function(e,t,n,r){var i=t[0];if("."===i){var a=new be(e,t.slice(1),n);return a.parts}if("@"===i)return[new ke(e,t.slice(1),r.eventContext)];if("?"===i)return[new ye(e,t.slice(1),n)];var o=new me(e,t,n);return o.parts}},{key:"handleTextExpression",value:function(e){return new ge(e)}}]),e}(),Ee=new Se,Ae=new Map,Le=new WeakMap,Oe=function(e,t,n){var r=Le.get(t);
2void 0===r&&(K(t,t.firstChild),Le.set(t,r=new ge(Object.assign({templateFactory:h},n))),r.appendInto(t)),r.setValue(e),r.commit()};"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");var je,Ie,Ne,qe,Te,Ce,Me,Ve=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)},Pe={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")}},Be=new URLSearchParams(document.location.search),He=Be.get("query_id")||!1,De=window.store.article.id,Re=function(e){var t=e.target,n="SPAN"!==t.tagName?t.dataset:t.parentElement.dataset,r=n.useful;fetch(Pe.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(De)}).then(function(e){return e.json()}).then(function(e){e.other_articles&&"false"===r?Oe($e("suggestionsMsg",e.other_articles),Me):"false"===r?Oe($e("failureMsg"),Me):Oe($e("successMsg"),Me)})},Ue=Ve(je||(je=I()(['\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"),Re,window.I18n.t("portal_js_translations.email_bot.cta_yes"),Re,window.I18n.t("portal_js_translations.email_bot.cta_no")),Fe=Ve(Ie||(Ie=I()(['\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")),Je=Ve(Ne||(Ne=I()(['\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")),ze=function(e){return Ve(qe||(qe=I()(['\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 Ve(Te||(Te=I()(['<li class="fs-16 mb-8"><a href="',"?query_id=",'">',"</a></li>"])),e.url,He,e.title)}))},$e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Ve(Ce||(Ce=I()(['\n<div class="position-fixed p-3 fw-bots-popup-wrapper 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=Ue;return"successMsg"===e?n=Fe:"failureMsg"===e?n=Je:"suggestionsMsg"===e&&(n=ze(t)),n}())},We=function(){He&&fetch("".concat(Pe.filterUrl,"?query_id=").concat(He,"&solution_id=").concat(De),{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?Oe($e("suggestionsMsg",e.other_articles),Me):void 0===e.useful&&Oe($e("helpfulArticle"),Me)}})};Object(L.i)(We());n(82);window.addEventListener("load",function(){"firefox"!==Object(L.a)()&&g()}),Object(L.i)(function(){v(),Object(O.a)(".fw-content--single-article"),"firefox"===Object(L.a)()&&g()})},38: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),o=document.querySelector(".fw-lightbox-actions"),c=o.querySelector(".fw-prev"),s=o.querySelector(".fw-next"),u=o.querySelector(".fw-download"),l=document.querySelector(".fw-lightbox-gallery"),d=new i.b(l),f=l.querySelector("#fw-lightbox-preview"),h=l.querySelector(".fw-loading"),p=o.querySelector("#fw-ligthbox-count"),m=[],v=0,g=function(){h.classList.add("d-none"),f.classList.remove("d-none")},y=function(){h.classList.remove("d-none"),f.classList.add("d-none")},b=function(){p.innerHTML="".concat(v+1," ").concat(window.I18n.translate("portal_js_translations.lightbox.of")," ").concat(m.length)},w=function(){y(),f.setAttribute("src",m[v].src),f.setAttribute("alt",m[v].alt),f.complete?g():f.addEventListener("load",g),m[v].id?(u.setAttribute("href","/helpdesk/attachments/".concat(m[v].id,"?download=true")),u.classList.remove("d-none")):u.classList.add("d-none"),b()};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"),m.push({src:e.src,id:e.dataset.id||e.dataset.attachment_id||e.dataset.f
2ileid,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<m.length-1&&(v+=1,w())})}var i=n(27);t.a=r},8:function(e,t,n){"use strict";function r(e,t){return e?"BUTTON"===e.tagName?!0:"INPUT"===e.tagName&&["button","submit","reset"].includes(e.type)?!0:13===t&&"A"===e.tagName&&e.hasAttribute("href")?!0:!1:!1}function i(e){if("click"===e.type)return!0;if("keypress"===e.type){var t=e.charCode||e.keyCode;return 32!==t&&13!==t?!1:r(e.target,t)?!1:!0}return!1}t.a=i},82: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 o="g-recaptcha-response",c=document.getElementById(o);if(!c){var s=jQuery("#recaptcha-frame").closest("form");c=document.createElement("input"),c.type="hidden",c.name=o,c.id=o,s.append(c)}c.value=r.token}break;case"expand":if(e.height=i.expand.height,e.width=i.expand.width,e.scrollIntoView(),r.recaptchaFixEnabled){var u=document.querySelector(".recaptcha-frame").contentWindow,l=u.document.querySelector("div:last-child div:last-child");l&&(l.style.height=a)}break;case"minimize":e.height=i.minimize.height,e.width=i.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 i={minimize:{height:"100px",width:"320px"}
2,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}},87:function(e,t,n){"use strict";var r=n(89),i=n.n(r),a=n(119),o=(n.n(a),n(120)),c=(n.n(o),n(121)),s=(n.n(c),n(122)),u=(n.n(s),n(123)),l=(n.n(u),n(124)),d=(n.n(l),n(125)),f=(n.n(d),n(126)),h=(n.n(f),n(127)),p=(n.n(h),n(128)),m=(n.n(p),n(129)),v=(n.n(m),n(130)),g=(n.n(v),n(131)),y=(n.n(g),n(132)),b=(n.n(y),n(133)),w=(n.n(b),n(134)),_=(n.n(w),n(135)),k=(n.n(_),n(136)),x=(n.n(k),n(137)),S=(n.n(x),n(138)),E=(n.n(S),n(139)),A=(n.n(E),n(140)),L=(n.n(A),n(141)),O=(n.n(L),n(142)),j=(n.n(O),n(143)),I=(n.n(j),n(144)),N=(n.n(I),n(0));Object(N.i)(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>")}}),i.a.highlightAll()})},98: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}},[[269,0]]]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.