1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7858],{7858:function(t,e,o){o.r(e),o.d(e,{default:function(){return m}});var n=o(2490),r=o(4692),i=o.n(r),s=o(761),l=o(1957),a=o(6490);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,f(n.key),n)}}function f(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var n=o.call(t,e||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}function h(t,e,o){return e=p(e),function(t,e){if(e&&("object"==c(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,v()?Reflect.construct(e,o||[],p(t).constructor):e.apply(t,o))}function v(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(v=function(){return!!t})()}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}function d(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}function b(t,e,o){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:o;throw new TypeError("Private element is not present on this object")}var g=new WeakSet,m=function(t){function e(t){var o,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),d(o=h(this,e,[t,n]),g),o.$scrollPositionAdapter=null,o.$heightAdopter=o.$el("header-height-adopter"),o.$logosCloaked=o.$el("logo-cloaked"),o.$scrollOffsetElement=null,o.eventer=new l.A(["show","hide"]),o.visiblility=o.args.visibility,o.visible=!1,o.staticClass=o.args.staticClass,o.stickyClass=o.args.stickyClass,o.scrollGhostHeight=0,o.bootLogosAtScroll=50,o.scrollListenerFrozen=!1,b(g,o,w).call(o),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}(e,t),o=e,n=[{key:"setDocumentCSSVariable",value:function(){var t=this.height();document.documentElement.style.setProperty("--jd-sticky-header-height",t+"px");try{localStorage.setItem("jd-sticky-header-height",t)}catch(t){}}},{key:"loadCloakedLogos",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.$logosCloaked.length?this.$logosCloaked.loadImgManualSrc(t):t()}},{key:"cloak",value:function(){this.$root.data("origin-opacity",this.$root.css("opacity")).css("opacity",0)}},{key:"uncloak",value:function(){this.$root.css("opacity",this.$root.data("origin-opacity")||1)}},{key:"bottomOffset",value:function(){return b(g,this,E).call(this).outerHeight()+this.$root.position().top}},{key:"height",value:function(){return b(g,this,E).call(this).outerHeight()}},{key:"freezeScrollListener",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scrollListenerFrozen=t}}],n&&u(o.prototype,n),r&&u(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o;var o,n,r}(s.A);function w(){var t=this;switch(this.visiblility){case"on-header-pass":b(g,this,C).call(this);break;case"sticky":b(g,this,_).call(this);break;case"scroll":case"scroll-hero-pass":b(g,this,S).call(this),"scroll"===this.visiblility?(this.$scrollOffsetElement=b(g,this,E).call(this),this.bootLogosAtScroll=this.$scrollOffsetElement.outerHeight()/2):n.A.componentExists("SubpageBanner")?n.A.subpageBanner().then((function(e){t.$scrollOffsetElement=e.$root,t.bootLogosAtScroll=t.$scrollOffsetElement.outerHeight()/2})):n.A.componentExists("Hero")&&n.A.hero().then((function(e){t.$scrollOffsetElement=e.$root,t.bootLogosAtScroll=t.$scrollOffsetElement.outerHeight()/2}))}i()(window).on("scroll load resize",(function(){return t.setDocumentCSSVariable()})),b(g,this,k).call(this)}function k(){var t=this;if(this.$logosCloaked.length){var e=function(){i()(window).scrollTop()>=t.bootLogosAtScroll&&(t.loadCloakedLogos(),i()(window).unbind("scroll",e))};i()(window).on("load scroll",e)}}function $(){var t=this,e=function(){i()(window).scrollTop()>=5&&(b(g,t,A).call(t,(function(e){t.scrollGhostHeight=e})),i()(window).unbind("scroll",e))};i()(window).on("scroll",e),i()(window).on("resize",(function(){b(g,t,A).call(t,(function(e){t.scrollGhostHeight=e}))}))}function E(){return this.$heightAdopter.length?this.$heightAdopter:this.$root}function _(){this.$root.css({position:"sticky"})}function A(t){var e=this;this.$root.data("clone")||this.$root.data("clone",this.$root.clone());var o=this.$root.data("clone").find('[data-el="logo-cloaked[]"]'),n=function(){e.$root.after(e.$root.data("clone").removeClass("cloak").css({position:"fixed",visibility:"hidden",pointerEvents:"none"})),setTimeout((function(){var o=e.$root.data("clone").removeClass(e.stickyClass).outerHeight()-e.$root.data("clone").addClass(e.stickyClass).outerHeight();e.$root.data("clone").remove(),t(o)}),200)};o.length?o.loadImgManualSrc((function(){n()})):n()}function S(){var t=this;b(g,this,$).call(this),this.$scrollPositionAdapter=i()('<div style="height:0;width:0;visibility:hidden;"></div>'),this.$root.before(this.$scrollPositionAdapter),this.$root.removeClass("cloak"),i()(window).on("scroll load",(function(){a.A.bodyIsLocked()||(t.$scrollOffsetElement?i()(window).scrollTop()>t.$scrollPositionAdapter.offset().top+t.$scrollOffsetElement.outerHeight()?(t.visible=!0,t.$root.removeClass("cloak").removeClass(t.args.staticClass).addClass(t.stickyClass),t.$scrollPositionAdapter.height(t.scrollGhostHeight)):(t.visible=!1,t.$root.removeClass("cloak").removeClass(t.stickyClass).addClass(t.args.staticClass),t.$scrollPositionAdapter.height(0)):t.$root.removeClass("cloak"))}))}function C(){var t=this;n.A.header().then((function(e){t.bootLogosAtScroll=e.$root.outerHeight()/2,i()(window).on("scroll load",(function(){t.visible=t.$root.is(":visible"),!t.visible&&i()(window).scrollTop()>=e.$root.outerHeight()+e.$root.offset().top?(t.visible=!0,t.$root.fadeIn(200).css("transform","translateY(0)")):t.visible&&i()(window).scrollTop()<e.$root.outerHeight()+e.$root.offset().top&&
1(t.visible=!1,t.$root.fadeOut(200).css("transform","translateY(-100%)"))}))}))}},761:function(t,e,o){o.d(e,{A:function(){return u}});var n=o(3464);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,s(n.key),n)}}function s(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var n=o.call(t,e||"default");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}function l(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}function a(t,e,o){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:o;throw new TypeError("Private element is not present on this object")}var c=new WeakSet,u=function(){return t=function t(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,c),this.$root=(0,n.A)(e),this.root=this.$root.get(0),this.args=o,this.__proto__.els={},a(c,this,f).call(this),a(c,this,h).call(this)},e=[{key:"el",value:function(t){return a(c,this,v).call(this,t)}},{key:"$el",value:function(t){var e=a(c,this,v).call(this,t);return e&&"object"===r(e)&&void 0===e.nodeName&&(e=Object.values(e)),(0,n.A)(e)}},{key:"arg",value:function(t){return this.args[t]}},{key:"argObj",value:function(t){var e=this.arg(t);if(e){if("string"!=typeof e)return null;try{return JSON.parse(e)}catch(t){return null}}return null}},{key:"argBool",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"boolean"==typeof this.args[t]?this.args[t]:e}}],e&&i(t.prototype,e),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,o}();function f(){var t=this,e=this.$root.find("[data-el]");e.length&&e.each((function(e,o){var n=o.getAttribute("data-el"),r=n.match(/^(.*)\[(.*?)\]/);if(r){var i=r[1],s=r[2];""===s?(t.__proto__.els[i]||(t.__proto__.els[i]=[]),t.__proto__.els[i].push(o)):(t.__proto__.els[i]||(t.__proto__.els[i]={}),t.__proto__.els[i][s]=o)}else t.__proto__.els[n]=o}))}function h(){var t=this,e=this.$root.find("script[data-arg]");e.length&&e.each((function(e,o){var n=o.getAttribute("data-arg");t.args[n]=o.innerText}))}function v(t){var e=t.match(/^(.*)\.(.*)$/),o=null;if(e&&(t=e[1],o=e[2]),this.__proto__.els[t]){return o?this.__proto__.els[t][o]:this.__proto__.els[t]}return null}},1957:function(t,e,o){function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,i(n.key),n)}}function i(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}function s(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}function l(t,e,o){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:o;throw new TypeError("Private element is not present on this object")}o.d(e,{A:function(){return c}});var a=new WeakSet,c=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,a),this.events={},this.flashEvents={},this.doneEvents={}
1,this.propagable={},this.fired={},this.actions={},this.add(e)},e=[{key:"add",value:function(t){var e=this;return(t=Array.isArray(t)?t:[t]).forEach((function(t){e.events[t]||(e.events[t]=[],e.flashEvents[t]=[],e.doneEvents[t]=[])})),this}},{key:"inherit",value:function(t){this.events=t.events}},{key:"exists",value:function(t){return Boolean(this.events[t])}},{key:"has",value:function(t){return!!this.exists(t)&&this.events[t].length>0}},{key:"clearEvent",value:function(t){var e=this;return(t=Array.isArray(t)?t:[t]).forEach((function(t){e.events[t]&&(e.events[t]=[])})),this}},{key:"fire",value:function(t,e){var o=this,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=[];t=Array.isArray(t)?t:[t];for(var i=function(){var i=t[s];if(n&&(o.propagable[i]||(o.propagable[i]=[]),o.propagable[i].push(e)),o.fired[i]||(o.fired[i]=0),++o.fired[i],o.events[i]){var l=0,a=o.events[i].length;o.events[i].forEach((function(t){++l;var n=t.apply(o,e);"boolean"==typeof n&&r.push(n?1:0),l===a&&o.doneEvents[i]&&o.doneEvents[i].length&&o.doneEvents[i].forEach((function(t){t.apply(o,e)}))}))}o.flashEvents[i]&&o.flashEvents[i].forEach((function(t,n){var s=t.apply(o,e);"boolean"==typeof s&&r.push(s?1:0),delete o.flashEvents[i][n]}))},s=0;s<t.length;s++)i();return!(r.length&&r.indexOf(0)>=0)}},{key:"fireAndPropagate",value:function(t,e){this.fire(t,e,!0)}},{key:"touched",value:function(t){return!!(this.fired[t]&&this.fired[t]>0)&&this.fired[t]}},{key:"on",value:function(t,e){var o=this;return(t=Array.isArray(t)?t:[t]).forEach((function(t){o.events[t]&&(l(a,o,u).call(o,t,e),o.events[t].push(e))})),this}},{key:"onNext",value:function(t,e){var o=this;return(t=Array.isArray(t)?t:[t]).forEach((function(t){o.flashEvents[t]&&(l(a,o,u).call(o,t,e),o.flashEvents[t].push(e))})),this}},{key:"done",value:function(t,e){var o=this;return(t=Array.isArray(t)?t:[t]).forEach((function(t){o.doneEvents[t]&&o.doneEvents[t].push(e)})),this}},{key:"act",value:function(t,e,o){var n=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return this.onNext(t,o),this.actions[t]||(this.actions[t]=new Promise((function(t){e(t)}))),this.actions[t].then((function(e){n.fire(t,e,r)})),this.actions[t]}}],e&&r(t.prototype,e),o&&r(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,o}();function u(t,e){var o=this;this.propagable[t]&&this.touched(t)&&this.propagable[t].forEach((function(t){e.apply(o,t)}))}}}]);
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.