vendor: 4,451 bytes, lines 1-2
1/*! For license information please see PersonDetail-chunk.js.LICENSE.txt */ 2"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2655],{3471:(e,t,r)=>{r.r(t),r.d(t,{default:()=>u});r(3238),r(1418),r(5374),r(5849),r(9785),r(5901),r(2189),r(1047),r(5769),r(7460),r(4078),r(8521),r(6798),r(2923),r(1897),r(4374),r(2274),r(3352),r(987),r(190),r(2410);var o=r(9357);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},n(e)}function i(){i=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var n=t&&t.prototype instanceof p?t:p,i=Object.create(n.prototype),a=new x(o||[]);return i._invoke=function(e,t,r){var o="suspendedStart";return function(n,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===n)throw i;return k()}for(r.method=n,r.arg=i;;){var a=r.delegate;if(a){var s=b(a,r);if(s){if(s===h)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===o)throw o="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o="executing";var c=f(e,t,r);if("normal"===c.type){if(o=r.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var h={};function p(){}function d(){}function v(){}var y={};l(y,a,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(P([])));g&&g!==t&&r.call(g,a)&&(y=g);var _=v.prototype=p.prototype=Object.create(y);function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function L(e,t){function o(i,a,s,c){var l=f(e[i],e,a);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==n(h)&&r.call(h,"__await")?t.resolve(h.__await).then((function(e){o("next",e,s,c)}),(function(e){o("throw",e,s,c)})):t.resolve(h).then((function(e){u.value=e,s(u)}),(function(e){return o("throw",e,s,c)}))}c(l.arg)}var i;this._invoke=function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}}function b(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method))return h;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,h;var n=o.arg;return n?n.done?(t[e.resultName]=n.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):n:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function P(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,n=function t(){for(;++o<e.length;)if(r.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=v,l(_,"constructor",v),l(v,"constructor",d),d.displayName=l(v,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,c,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(L.prototype),l(L.prototype,s,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,o,n,i){void 0===i&&(i=Prom
2ise);var a=new L(u(t,r,o,n),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),l(_,c,"Generator"),l(_,a,(function(){return this})),l(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var o=t.pop();if(o in e)return r.value=o,r.done=!1,r}return r.done=!0,r}},e.values=P,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(r,o){return a.type="throw",a.arg=e,t.next=r,o&&(t.method="next",t.arg=void 0),!!o}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var n=this.tryEntries[o];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;S(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},e}function a(e,t,r,o,n,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(o,n)}function s(e){return function(){var t=this,r=arguments;return new Promise((function(o,n){var i=e.apply(t,r);function s(e){a(i,o,n,s,c,"next",e)}function c(e){a(i,o,n,s,c,"throw",e)}s(void 0)}))}}function c(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}const u=l((function e(t){var r,n,a,c=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,n="handleSavePeople",a=s(i().mark((function e(){var t,r,n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={itemids:[window.itemid],language:(0,o.pJ)()},e.next=3,fetch(c.savePersonApiUrl,{method:"POST",mode:"cors",cache:"no-store",credentials:"same-origin",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 3:return r=e.sent,e.next=6,r.json();case 6:n=e.sent,console.log("save content...",n),n&&!0===n?(c.prefFormSucessLabel.textContent=c.successMsg,c.prefFormErrorLabel.classList.remove("display-element"),c.prefFormSucessLabel.classList.add("display-element"),c.saveCtaDiv.remove(),document.getElementById("personalDetailProfile").scrollIntoView()):(c.prefFormErrorLabel.textContent=c.errorMsg,c.prefFormErrorLabel.classList.add("display-element"),c.prefFormSucessLabel.classList.remove("display-element"),c.saveCtaDiv.remove(),document.getElementById("personalDetailProfile").scrollIntoView());case 9:case"end":return e.stop()}}),e)}))),n in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a,this.$el=t;var l=this.$el.querySelector("#personalDetailProfile");this.saveProfile=this.$el.querySelector(".persondetail__profile--savetxt"),this.saveCtaDiv=this.$el.querySelector(".persondetail__profile__savecta");var u=this.$el.querySelector(".persondetail__footer");this.prefFormErrorLabel=this.$el.querySelector(".prefmng__form--error"),this.prefFormSucessLabel=this.$el.querySelector(".prefmng__form--success"),this.saveProfile_footer=this.$el.querySelector(".persondetail__footer--save"),this.successMsg=this.prefFormSucessLabel.textContent,this.errorMsg=this.prefFormErrorLabel.textContent;var f=document.querySelector(".persondetail__about"),h=document.querySelector(".persondetail__office");this.profileWrapper=this.$el.querySelector(".persondetail__wrapper");var p=document.documentElement;(p&&f&&this.profileWrapper&&this.profileWrapper.append(f),p&&h&&this.profileWrapper&&this.profileWrapper.append(h),o.gT.checkForElement(l))&&((window.pageYOffset||p.scrollTop)-(p.clientTop||0)>l.clientHeight?u.classList.add("display-element"):u.classList.remove("display-element"));var d=this.$el.querySelectorAll(".persondetail__accordion"),v=function(e){var t=e.target.closest(".persondetail__accordion"),r=t.querySelector(".persondetail__accordion__content"),o=t.querySelector(".persondetail__accordion__intro>span>svg");t.classList.contains("accordion--open")?(t.classList.remove("accordion--open"),r.style.maxHeight=null,o.classList.remove("transform_180deg")):(t.classList.add("accordion--open"),r.style.maxHeight=r.scrollHeight+"px",o.classList.add("transform_180deg"))};d.length&&d.forEach((function(e){var t=e.querySelector(".persondetail__accordion__intro");e.querySelector(".persondetail__accordion__content"),e.querySelector(".persondetail__accordion__intro>span>svg");t.addEventListener("click",v)})),o.gT.checkForElement(this.saveProfile)&&o.gT.checkForElement(this.saveCtaDiv)&&(this.savePersonApiUrl=this.saveCtaDiv.dataset.savePersonApi),this.saveProfile&&this.saveProfile.addEventListener("click",(function(){console.log("save...."),c.handleSavePeople()})),o.gT.checkForElement(this.saveProfile_footer)&&(this.savePersonApiUrl=this.saveProfile_footer.dataset.savePersonApi),this.saveProfile_footer&&this.saveProfile_footer.addEventListener("click",(function(){c.handleSavePeople()})),window.addEventListener("scroll",(function(e){var t=p.querySelector("#personalDetailProfile .persondetail__profile"),r=p.querySelector(".persondetail__footer");(window.pageYOffset||p.scrollTop)-(p.clientTop||0)>t.clientHeight?r.classList.add("display-element"):r.classList.remove("display-element")}))}))}}]);
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.