1(()=>{"use strict";const t={root:"js-header",headerProduct:"js-headerProduct",headerSearch:"js-headerGlobalSearch",animate:{duration:150,easing:"ease-in-out"},keyframes:{fadeIn:{transform:"translateX(0)",opacity:"1"},fadeOut:{transform:"translateX(-50px)",opacity:"0"}},judgementSticky:{state:"is-judgementSticky-sticky",nonStickyState:"is-judgementSticky-nonSticky"},pcDropDown:{root:"js-pcDropDown",button:"js-pcDropDown__button",container:"js-pcDropDown__container",state:"is-header-fadeIn"},spToggle:{root:"js-spToggle",button:"js-spToggle__button",buttonClose:"js-spToggle__buttonClose",container:"js-spToggle__container",inertClassName:".l-breadcrumb, .l-content, .l-footer, .l-carouselMainVisual, .l-footerContact, .l-footerNavigation, .l-navigationTop"},spNavigationGlobal:{rootClassName:"js-spNavigationGlobal",buttonClassName:"js-spNavigationGlobal__button",buttonReturnClassName:"js-spNavigationGlobal__buttonReturn",containerClassName:"js-spNavigationGlobal__container",secondClassName:"js-spNavigationGlobal__second",buttonResetSelector:".js-spToggle__button.l-hamburger",inertClassName:"js-spNavigationGlobal"},product:{root:"js-buildProductList"},productTree:{root:"js-pcProductTree",button:"js-pcProductTree__button",container:"js-pcProductTree__container",exclusion:"js-pcProductTree__exclusion",anchor:"js-pcProductTree__anchor"}},e={html:document.documentElement,body:document.body,mediaQuery:window.matchMedia("(max-width: 969px)"),focusableElementTagNames:"[href], input, select, textarea, button, iframe, object, embed, video, audio, summary, [tabindex]",focusableElements:document.querySelectorAll("[href], input, select, textarea, button, iframe, object, embed, video, audio, summary, [tabindex]"),scrollElement:document.scrollingElement,overlay:document.createElement("span")};e.overlay.classList.add("fn-overlay"),e.body.querySelector(".fn-overlay")||e.body.append(e.overlay),window.searchResultsLoadedEvent=new CustomEvent("searchResultsLoaded");const n=(t,e,n)=>{t.setAttribute("aria-expanded",n.toString()),e.setAttribute("aria-hidden",(!n).toString())},o=()=>{const t=e.body.querySelector(".fn-overlay");t?.classList.add("is-overlay-show")},s=()=>{const t=e.body.querySelector(".fn-overlay");t?.classList.remove("is-overlay-show"),t?.classList.remove("is-overlay-headerSearch"),t?.classList.remove("is-overlay-searchProduct")},i=()=>{document.documentElement.classList.add("is-scroll-off")},r=()=>{document.documentElement.classList.remove("is-scroll-off")},a=t=>t.contains(document.activeElement),h=t=>{const n=t.querySelectorAll(e.focusableElementTagNames);for(const t of n)if(!t.hasAttribute("inert")&&(t.offsetWidth>0||t.offsetHeight>0))return t;return null},c=t=>{const n=t.querySelectorAll(e.focusableElementTagNames);for(let t=n.length-1;t>=0;t--)if(!n[t].hasAttribute("inert")&&(n[t].offsetWidth>0||n[t].offsetHeight>0))return n[t];return null},l=(t,n)=>{const o=document.querySelector(t),s=Array.isArray(n)?n:[n];o?.querySelectorAll(e.focusableElementTagNames).forEach((t=>{const e=s.some((e=>null!==t.closest(e)));t.inert=!e}))},u=t=>{const n=document.querySelector(t);n?.querySelectorAll(e.focusableElementTagNames).forEach((t=>{t.classList.contains("is-inert-exclusion")||(t.inert=!1)}))},d=e=>{let n=null;const o=document.querySelector(`.${t.judgementSticky.state}`);return n=o?o.getBoundingClientRect().bottom:document.querySelector(e)?.getBoundingClientRect().bottom,n?window.innerHeight-n:0},p=e=>{e.classList.remove(t.pcDropDown.state),e.style.height="",e.style.maxHeight="",e.style.paddingTop="",e.style.paddingBottom="",e.style.display="",e.style.overflowY="",e.style.overflowX=""},m=(e,n,o)=>{if(!e)return;e.parentElement instanceof HTMLDetailsElement&&(e.parentElement.open=!0),p(e),e.style.display="";const s=e.closest(".l-headerGlobalProduct")?".l-headerGlobalProduct":".l-headerGlobal",i=d(s);let r=`${e.getBoundingClientRect().height}px`;n&&(r=`${i}px`);const a=window.getComputedStyle(e).getPropertyValue("padding-top"),h=window.getComputedStyle(e).getPropertyValue("padding-bottom");e.style.height="0",e.style.paddingTop="0",e.style.paddingBottom="0",e.style.overflowY="hidden",e.style.overflowX="hidden",e.style.maxHeight=`${i}px`;const c=e.getAttribute("data-dropDown-height");c&&(e.style.maxHeight=`${c}`,r=c);const l=()=>{e.classList.add(t.pcDropDown.state),e.style.paddingTop="",e.style.paddingBottom="",e.style.overflowY="auto",e.style.height=n||c?r:""},u=e.animate([{opacity:"0",height:"0",paddingTop:"0",paddingBottom:"0"},{opacity:"1",height:r,paddingTop:a,paddingBottom:h}],t.animate);return u.onfinish=()=>
1{l(),o&&o()},u.oncancel=()=>{l(),o&&o()},u},v=(e,n)=>{if(!e)return;p(e);const o=e.getBoundingClientRect().height;e.style.height=`${o}px`,e.style.overflowY="hidden",e.style.overflowX="hidden",e.style.display="";const s=e.animate([{opacity:"1",height:`${o}px`,paddingTop:"",paddingBottom:""},{opacity:"0",height:"0",paddingTop:"0",paddingBottom:"0"}],t.animate),i=()=>{e.style.height="0",e.style.paddingTop="",e.style.paddingBottom="",e.style.display="none",e.style.overflowY="auto",e.style.maxHeight="",e.classList.remove(t.pcDropDown.state),e.parentElement instanceof HTMLDetailsElement&&(e.parentElement.open=!1)};return s.onfinish=()=>{i(),n&&n()},s.oncancel=()=>{i(),n&&n()},s};class y{root;openDropDown;targetMap;dropDownNames;suggest;animate;timeoutId;focusInEvent;focusOutEvent;mouseLeaveEvent;mouseOverEvent;containerMouseOverEvent;containerMouseleaveEvent;rootMouseLeaveEvent;buttonKeyDownEvent;containerKeyDownEvent;KeyDownEvent;searchDropDownShowEvent;isContainerMouseOver;showDropDownCustomEvent;constructor(t){this.root=t,this.targetMap=new Map,this.dropDownNames=[],this.openDropDown=null,this.suggest=null,this.animate=void 0,this.isContainerMouseOver=!1,this.timeoutId=0,this.focusInEvent=this.openAnimate.bind(this),this.focusOutEvent=this.closeAnimate.bind(this),this.rootMouseLeaveEvent=this.rootMouseLeave.bind(this),this.containerMouseOverEvent=this.containerMouseOver.bind(this),this.containerMouseleaveEvent=this.containerMouseleave.bind(this),this.mouseOverEvent=this.openMouseOver.bind(this),this.mouseLeaveEvent=this.debounce.bind(this),this.buttonKeyDownEvent=this.buttonKeyFocus.bind(this),this.containerKeyDownEvent=this.containerKeyFocus.bind(this),this.KeyDownEvent=this.keyFocus.bind(this),this.searchDropDownShowEvent=this.closeAll.bind(this),this.showDropDownCustomEvent=new CustomEvent("showDropDown")}init(){this.set()}set(){const e=this.root.querySelectorAll(`.${t.pcDropDown.button}`);for(const t of e){const e=this.getDropDownName(t);if(!e)continue;const n=this.root.querySelector(`#${e}`);n&&(this.dropDownNames.push(e),this.targetMap.set(e,{button:t,container:n}))}this.suggest=document.querySelector(".js-headerGlobalSearch .js-searchSuggestWithCtgChanger-target")}
1setBindEvent(){this.targetMap.forEach((t=>{const{button:e,container:n}=t;e.addEventListener("focusin",this.focusInEvent),e.addEventListener("focusout",this.focusOutEvent),e.addEventListener("keydown",this.buttonKeyDownEvent),e.addEventListener("mouseover",this.mouseOverEvent),e.addEventListener("mouseleave",this.mouseLeaveEvent),n.addEventListener("focusout",this.focusOutEvent),n.addEventListener("keydown",this.containerKeyDownEvent),n.addEventListener("mousemove",this.containerMouseOverEvent),n.addEventListener("mouseleave",this.containerMouseleaveEvent),e.removeAttribute("role"),e.setAttribute("aria-expanded","false"),n.style.display="none",n.setAttribute("aria-hidden","true")})),window.addEventListener("showSearchDropDown",this.searchDropDownShowEvent),window.addEventListener("keydown",this.KeyDownEvent),this.root.addEventListener("mouseleave",this.rootMouseLeaveEvent),this.isContainerMouseOver=!1}destroyBindEvent(){this.openDropDown&&(this.closeAll(),s(),r()),this.animate?.cancel(),this.animate=void 0,this.isContainerMouseOver=!1,this.targetMap.forEac
1h((t=>{const{button:e,container:n}=t;e.removeEventListener("focusin",this.focusInEvent),e.removeEventListener("focusout",this.focusOutEvent),e.removeEventListener("keydown",this.buttonKeyDownEvent),e.removeEventListener("mouseover",this.mouseOverEvent),e.removeEventListener("mouseleave",this.mouseLeaveEvent),n.removeEventListener("focusout",this.focusOutEvent),n.removeEventListener("keydown",this.containerKeyDownEvent),n.removeEventListener("mousemove",this.containerMouseOverEvent),n.removeEventListener("mouseleave",this.containerMouseleaveEvent),p(n),e.removeAttribute("aria-expanded"),n.removeAttribute("aria-hidden")})),window.removeEventListener("showSearchDropDown",this.searchDropDownShowEvent),window.removeEventListener("keydown",this.KeyDownEvent),this.root.removeEventListener("mouseleave",this.rootMouseLeaveEvent)}openMouseOver(t){this.timeoutId=window.setTimeout((()=>{this.openAnimate(t)}),200)}rootMouseLeave(t){setTimeout((()=>{this.closeAnimate(t)}),500)}debounce(){this.timeoutId>0&&clearTimeout(this.timeoutId)}containerMouseOver(){this.isContainerMouseOver=!0}containerMouseleave(){this.isContainerMouseOver=!1}
1closeAll(){this.targetMap.forEach((e=>{const{button:n,container:o}=e;o.style.height="0",o.style.maxHeight="0",o.style.overflowY="hidden",o.style.display="none",o.classList.remove(t.pcDropDown.state),o.setAttribute("aria-hidden","true"),n.setAttribute("aria-expanded","false")})),this.openDropDown=null,this.animate&&(this.animate.cancel(),this.animate=void 0)}openAnimate(t){const e=t.target;if(!e)return;if(document.querySelector(".l-hamburger")?.hasAttribute("aria-expanded"))return;if(!this.suggest?.hidden)return;if(this.openDropDown?.button===e)return;if(this.closeAll(),this.openDropDown)return;const s=this.getDropDownName(e);if(!s)return;const r=this.targetMap.get(s);r&&(window.dispatchEvent(this.showDropDownCustomEvent),this.animate=m(r.container,!1,(()=>{o(),i(),this.targetMap.forEach((t=>{const{button:e,container:o}=t;n(e,o,!1)})),this.openDropDown={button:r.button,container:r.container},n(this.openDropDown.button,this.openDropDown.container,!0),this.animate=void 0,this.isContainerMouseOver=!1})))}closeAnimate(e){setTimeout((()=>{const o=e.target;if(this.animate&&(this.animate.cancel(),this.animate=void 0),!(e instanceof MouseEvent&&this.isContainerMouseOver||e instanceof MouseEvent&&((t,e)=>{const n=t.getBoundingClientRect(),o=e.clientX,s=e.clientY;return o>=n.left&&o<=n.right&&s>=n.top&&s<=n.bottom})(this.root,e))){if(e instanceof FocusEvent){const e=document.activeElement;if(e&&e!==o&&e.closest(`.${t.pcDropDown.root}`))return}e instanceof FocusEvent&&this.openDropDown?.container&&a(this.openDropDown.container)||o.closest(`.${t.pcDropDown.container}`)||this.openDropDown?.button&&this.openDropDown?.container&&(n(this.openDropDown.button,this.openDropDown.container,!1),this.animate=v(this.openDropDown.container,(()=>{this.closeAll(),s(),r()})))}}),100)}buttonKeyFocus(t){if(this.animate)return void t.preventDefault();const{key:e}=t;let n=null;if("Escape"!==e&&"ArrowUp"!==e){if("ArrowDown"===e&&(this.openDropDown?.container?n=h(this.openDropDown?.container):(o(),i(),this.openAnimate(t))),this.openDropDown){const t=this.getTargetButtonIndex(this.openDropDown.button);null!==t&&("ArrowRight"===e&&(n=this.getNextPrevButton(t,"next")),"ArrowLeft"===e&&(n=this.getNextPrevButton(t,"prev")))}n&&n.focus()}else this.closeAnimate(t)}containerKeyFocus(t){if(this.animate)return void t.preventDefault();const{key:e}=t;if(!this.openDropDown?.button)return;let n=null;"Escape"===e&&(n=this.openDropDown.button);const o=this.getTargetButtonIndex(this.openDropDown.button);null!==o&&("ArrowRight"===e&&(n=this.getNextPrevButton(o,"next")),"ArrowLeft"===e&&(n=this.getNextPrevButton(o,"prev"))),n&&n.focus()}keyFocus(t){if(this.animate)return void t.preventDefault();const{key:e}=t;a(this.root)||"Escape"!==e||this.closeAnimate(t)}getNextPrevButton(t,e){let n;return n="prev"===e?this.dropDownNames[t-1]:this.dropDownNames[t+1],this.targetMap.get(n)?.button||null}getTargetButtonIndex(t){const e=this.getDropDownName(t);return this.dropDownNames.indexOf(e)}getDropDownName(t){return t.getAttribute("aria-controls")||t.getAttribute("aria-owns")||t.getAttribute("id")||""}}class g{root;targetMap;buttonCloses;openButton;openContainer;clickEvent;closeEvent;buttonKeyDownEvent;containerKeyDownEvent;constructor(t){this.root=t,this.targetMap=new Map,this.buttonCloses=null,this.openContainer=null,this.openButton=null,this.clickEvent=this.toggle.bind(this),this.closeEvent=this.close.bind(this),this.buttonKeyDownEvent=this.buttonKeyDown.bind(this),this.containerKeyDownEvent=this.containerKeyDown.bind(this)}init(){this.set()}set(){const e=document.querySelectorAll(`.${t.spToggle.button}`);for(const t of e){const e=this.getToggleName(t);if(!e)continue;const n=document.querySelector(`#${e}`);n&&this.targetMap.set(e,{button:t,container:n})}this.buttonCloses=document.querySelectorAll(`.${t.spToggle.buttonClose}`)}setBindEvent(){this.targetMap?.forEach((t=>{const{button:e,container:n}=t;e.addEventListener("click",this.clickEvent),e.addEventListener("keydown",this.buttonKeyDownEvent),e.setAttribute("aria-expanded","false"),n.addEventListener("keydown",this.containerKeyDownEvent),n.style.display="none",n.setAttribute("aria-hidden","true")})),this.buttonCloses?.forEach((t=>{t.addEventListener("click",this.closeEvent)}))}destroyBindEvent(){this.targetMap?.forEach((t=>{const{button:e,container:n}=t;e.removeEventListener("click",this.clickEvent),e.removeEventListener("keydown",this.buttonKeyDownEvent),e.removeAttribute("aria-expanded"),p(n),n.removeEventListener("keydown",this.containerKeyDownEvent),n.removeAttribute("aria-hidden")})),this.buttonCloses?.forEach((t=>{t.removeEventListener("click",this.closeEvent)})),this.openButton&&(r(),s()),this.openButton=null,this.openContainer=null}toggle(e){e.preventDefault();const s=e.target;if(!s)return;const r=this.getToggleName(s);if(!r)return;const a=this.targetMap.get(r);if(!a)return;this.openContainer&&this.openButton&&this.openContainer!==a.container&&(this.openContainer.style.height="0",this.openContainer.style.display="none",n(this.openButton,this.openContainer,!1),this.openContainer=null,this.openButton=null);const h="true"!==s.getAttribute("aria-expanded"),c=a.container.closest(`.${t.headerProduct}`);h?(this.openContainer=a.container,this.openButton=s,m(a.container,!c,(()=>{i(),o(),n(s,a.container,!0)}))):this.close(e)}close(t){t&&t.preventDefault(),this.openButton&&this.openContainer&&(v(this.openContainer,(()=>{r(),s()})),n(this.openButton,this.openContainer,!1)),this.openContainer=null,this.openButton=null}buttonKeyDown(t){const{key:e,target:n,shiftKey:o}=t;let s=null;"Tab"===e&&this.openContainer&&this.openButton===n&&(o&&(s=c(this.openContainer)),o||(s=h(this.openContainer))),s&&(t.preventDefault(),s.focus())}containerKeyDown(e){const{key:n,target:o,shiftKey:s}=e;let i=null;this.openContainer&&"Tab"===n&&(this.openContainer.closest(`.${t.headerSearch}`)||this.openContainer.closest(`.${t.headerProduct}`)||this.openContainer.closest(`.${t.root}`))&&(s||o!==c(this.openContainer)||(i=this.openButton),s&&o===h(this.openContainer)&&(i=this.openButton)),this.openContainer&&this.openContainer.closest(".
1js-navigationCategoryFolder")&&("Tab"!==n||s||o===c(this.openContainer)&&(i=h(this.openContainer)),"Tab"===n&&s&&o===h(this.openContainer)&&(i=c(this.openContainer))),i&&(e.preventDefault(),i.focus())}getToggleName(t){return t.getAttribute("aria-controls")||t.getAttribute("aria-owns")||t.getAttribute("id")||""}}class E{root;buttons;buttonReturns;containers;secondHistory;resetButtons;showHierarchy;showHierarchyName;openContainers;openContainerHeights;option;subHierarchyShowEvent;parentHierarchyShowEvent;resetEvent;constructor(e,n){this.root=e,this.buttons=null,this.buttonReturns=null,this.secondHistory=null,this.containers=null,this.resetButtons=null,this.showHierarchy=1,this.showHierarchyName="",this.openContainers=[],this.openContainerHeights=[],this.subHierarchyShowEvent=this.subHierarchyShow.bind(this),this.parentHierarchyShowEvent=this.parentHierarchyShow.bind(this),this.resetEvent=this.resetNavigation.bind(this),this.option={...t.spNavigationGlobal,...n}}init(){this.set()}set(){this.buttons=this.root.querySelectorAll(`.${this.option.buttonClassName}`),this.buttonReturns=this.root.querySelectorAll(`.${this.option.buttonReturnClassName}`),this.containers=this.root.querySelectorAll(`.${this.option.containerClassName}`),this.resetButtons=document.querySelectorAll(`${this.option.buttonResetSelector}`),this.secondHistory=document.querySelector(`.${this.option.secondClassName}`)}setBindEvent(){this.buttons?.forEach((t=>{t.addEventListener("click",this.subHierarchyShowEvent),t.setAttribute("aria-expanded","false")})),this.buttonReturns?.forEach((t=>{t.addEventListener("click",this.parentHierarchyShowEvent)})),this.containers?.forEach((t=>{t.style.display="none",t.style.position="absolute",t.style.top="0",t.setAttribute("aria-hidden","true")})),this.resetButtons?.forEach((t=>{t.addEventListener("click",this.resetEvent)}))}destroyBindEvent(){this.buttons?.forEach((t=>{t.removeEventListener("click",this.subHierarchyShowEvent),t.removeAttribute("aria-expanded")})),this.buttonReturns?.forEach((t=>{t.removeEventListener("click",this.parentHierarchyShowEvent)})),this.containers?.forEach((t=>{t.style.display="none",t.style.position="",t.style.top="",t.style.left="",t.style.minHeight="",t.style.height="",t.style.opacity="",t.removeAttribute("aria-hidden")})),this.resetButtons?.forEach((t=>{t.removeEventListener("click",this.resetEvent)})),u(`.${this.option.rootClassName}`),this.showHierarchyName="",this.showHierarchy=1;const e=document.querySelector(`.${t.pcDropDown.root}`);e&&(e.style.overflowX="")}resetNavigation(){this.buttons?.forEach((t=>{t.setAttribute("aria-expanded","false")})),this.containers?.forEach((t=>{t.style.display="none",t.setAttribute("aria-hidden","true")})),u(`.${this.option.rootClassName}`),this.showHierarchyName="",this.showHierarchy=1,this.secondHistory&&(this.secondHistory.style.height="",this.secondHistory.style.display="",this.secondHistory.style.overflow="",this.secondHistory.style.maxHeight="",this.openContainerHeights=[this.secondHistory?.getBoundingClientRect().height],this.openContainers=[this.secondHistory])}subHierarchyShow(t){t.preventDefault(),this.showHierarchy++;const e=t.target;if(!e)return;const o=e.getAttribute("aria-controls")||"";this.showHierarchyName=o;const s=document.querySelector(`#${o}`);s&&(s.style.overflow="",s.style.height="",s.style.maxHeight="",s.style.display="",s.style.left=`${window.innerWidth}px`,this.openContainerHeights.push(s.getBoundingClientRect().height),this.openContainers.push(s),this.setHeight(),s.animate([{opacity:"0",left:`${window.innerWidth}px`},{opacity:"1",left:"0"}],{duration:200}).onfinish=()=>{s.style.left="0",l(`.${this.option.rootClassName}`,`#${o}`);const t=document.querySelector(`.${this.option.buttonClassName}[aria-controls="${o}"]`);t&&n(t,s,!0);const e=h(s);e&&e.focus()})}parentHierarchyShow(t){t.preventDefault(),this.showHierarchy--;const e=t.target;if(!e)return;const o=e.closest(`.${this.option.containerClassName}`);o&&(this.openContainerHeights.pop(),this.openContainers.pop(),o.style.overflow="",o.style.height="",o.style.maxHeight="",o.style.display="",this.setHeight(),o.animate([{opacity:"1",left:"0"},{opacity:"0",left:`${window.innerWidth}px`}],{duration:200}).onfinish=()=>{o.style.display="none",o.style.left="100%";const t=this.showHierarchyName;let e;this.showHierarchy<=1?(this.showHierarchyName="",l(`.${this.option.rootClassName}`,`.${this.option.rootClassName}`)):(this.showHierarchyName=document.querySelector(`.${this.option.buttonClassName}[aria-controls="${this.showHierarchyName}"]`)?.closest(`.${this.option.containerClassName}`)?.getAttribute("id")||"",l(`.${this.option.rootClassName}`,`#${this.showHierarchyName}`)),e=this.showHierarchy<=1?document.querySelector(".js-spNavigationGlobal__second")?.querySelector(`[aria-controls="${t}"]`):document.querySelector(`#${this.showHierarchyName} .${this.option.buttonReturnClassName}`),e&&e.focus();const s=document.querySelector(`.${this.option.containerClassName}[id="${this.showHierarchyName}"]`)?.querySelector(`[aria-controls="${t}"]`)||document.querySelector(".js-spNavigationGlobal__second")?.querySelector(`[aria-controls="${t}"]`);s&&n(s,o,!1)})}setHeight(){const e=this.root.closest(`.${t.pcDropDown.root}`)?document.querySelector(`.${t.pcDropDown.root}`):this.root;if(e){let n=0;this.openContainerHeights.length?d(`.${t.root}`)<this.openContainerHeights[this.openContainerHeights.length-1]?(e.style.overflow="auto",n=this.openContainerHeights[this.openContainerHeights.length-1]):(e.style.overflow="hidden",n=d(`.${t.root}`)):(e.style.overflow="auto",n=d(`.${t.root}
1`)),this.openContainers.forEach(((e,o)=>{e.style.height=`${n}px`,e.style.maxHeight=`${d(`.${t.root}`)}px`,o===this.openContainerHeights.length-1?e.style.overflow="auto":e.style.overflow="hidden"}))}}}async function w(t){return fetch(t).then((e=>{if(!e.ok)throw Error(`ãã¡ã¤ã«ãèªã¿è¾¼ãã¾ããã§ããã: ${t}`);return e.json()}))}const b={rootClassName:"js-buildProductList",parentClassName:"js-buildProductList__parent",parentListClassName:"js-buildProductList__parentList",parentLinkClassName:"js-buildProductList__parentLink",parentLinkParameter:null,parentLinkTextClassName:"js-buildProductList__parentLinkText",childClassName:"js-buildProductList__child",childListClassName:"js-buildProductList__childList",childLinkClassName:"js-buildProductList__childLink",childLinkParameter:null,childTextClassName:"js-buildProductList__childText",childTextContainerClassName:"js-buildProductList__childTextContainer",grandChildClassName:"js-buildProductList__grandChild",grandChildLinkClassName:"js-buildProductList__grandChildLink",grandChildLinkParameter:null,grandChildTitleClassName:"js-buildProductList__grandChildTitle",grandChildSubTitleClassName:"js-buildProductList__grandChildSubTitle",grandChildTextClassName:"js-buildProductList__grandChildText",grandChildImageClassName:"js-buildProductList__grandChildImage",grandChildListClassName:"js-buildProductList__grandChildList",grandChildListGroupClassName:"js-buildProductList__grandChildListGroup",anchorListClassName:"js-buildProductList__anchorList",anchorClassName:"js-buildProductList__anchor",anchorItemClassName:"js-buildProductList__anchorItem",anchorLinkClassName:"js-buildProductList__anchorLink",anchorTextClassName:"js-buildProductList__anchorText"},f="js-pcProductTree__button",C="js-pcProductTree__container";class L{root;typeListJson;fragment;parentCloneTemplate;childCloneTemplate;grandChildCloneTemplate;grandChildListCloneTemplate;option;timestamp;constructor(t,e){this.root=t,this.typeListJson=null,this.parentCloneTemplate=null,this.childCloneTemplate=null,this.grandChildCloneTemplate=null,this.grandChildListCloneTemplate=null,this.fragment=document.createDocumentFragment(),this.option={...b,...e},this.timestamp=Date.now()}
1async init(){if(this.option.parentClassName&&(this.parentCloneTemplate=this.root.querySelector(`.${this.option.parentClassName}`)),this.option.childClassName&&(this.childCloneTemplate=this.root.querySelector(`.${this.option.childClassName}`)),this.option.grandChildClassName&&(this.grandChildCloneTemplate=this.root.querySelector(`.${this.option.grandChildClassName}`)),this.option.grandChildListGroupClassName&&(this.grandChildListCloneTemplate=this.root.querySelector(`.${this.option.grandChildListGroupClassName}`)),!(this.parentCloneTemplate||this.childCloneTemplate||this.grandChildCloneTemplate||this.grandChildListCloneTemplate))return;if(this.typeListJson=await w("/data/group-type.json"),!this.typeListJson)return;const t=this.typeListJson.group.map((async t=>{if(!this.parentCloneTemplate)return null;const e=`${this.option.rootClassName||""}-${t.id.replace(":","-")}-${Math.round(this.timestamp*Math.random())}`,n=this.createSecondListItem(this.parentCloneTemplate.content.cloneNode(!0),t,e);if(!t.type||0===t.type.length||!this.childCloneTemplate)return n;const o=t.type.map((async t=>{const o=`${this.option.rootClassName||""}-${t.id.replace(":","")}-${Math.round(this.timestamp*Math.random()*2)}`,s=this.createThirdListItem(this.childCloneTemplate?.content.cloneNode(!0),t,e,o);this.option.childListClassName&&n.querySelector(`.${this.option.childListClassName}`)?.appendChild(s);try{const e=await w(t.jsonfile);if(e&&e.subtype){const s=e.subtype,i=n.querySelector(`#${o}`),r=i?.querySelector(`.${this.option.anchorListClassName||""}`);for(let n=0;n<s.length;n++){const o=s[n],a=o.series;if(a&&this.grandChildListCloneTemplate&&this.grandChildCloneTemplate&&this.option.grandChildListClassName){const s=this.grandChildListCloneTemplate.content.cloneNode(!0);for(let e=0;e<a.length;e++){const n=a[e],o=this.createForthListItem(this.grandChildCloneTemplate.content.cloneNode(!0),n,s,t);s.querySelector(`.${this.option.grandChildListClassName||""}`)?.appendChild(o)}const h=document.querySelector(`.${this.option.anchorClassName||""}`)?.content.cloneNode(!0);if(h&&r){const e=h.querySelector(`.${this.option.anchorItemClassName||""}`);if(e&&i){const s=e.querySelector(`.${this.option.anchorLinkClassName||""}`),i=e.querySelector(`.${this.option.anchorTextClassName||""}`);s&&i&&(s.href=`#${t.id.replace(":","")}-${2*this.timestamp}-subTitle-${n}`,i.innerText=o.name,r.appendChild(e))}}const c=s.querySelector(`.${this.option.childTextClassName||""}`);c&&e.name&&(c.innerHTML=o.name,c.id=`${t.id.replace(":","")}-${2*this.timestamp}-subTitle-${n}`),i&&i.appendChild(s)}}r&&r.querySelectorAll("li").length<=1&&(r.remove(),i?.querySelectorAll(`.${this.option.childTextContainerClassName||""}`)?.forEach((t=>{t.remove()})))}}catch(e){const s=n.querySelector(`#${o}`),i=document.createElement("div");i.innerHTML=`ãã¡ã¤ã«ãæ£ããèªã¿è¾¼ã¾ãã¾ããã§ããã<br>${t.jsonfile}`,s?.appendChild(i)}return s}));return(await Promise.all(o)).some((t=>null!==t))?n:null}));(await Promise.all(t)).forEach((t=>{t&&this.fragment.appendChild(t)})),this.option.parentListClassName&&document.querySelector(`.${this.option.parentListClassName}`)?.appendChild(this.fragment)}createSecondListItem(t,e,n){this.option.parentLinkClassName&&t.querySelectorAll(`.${this.option.parentLinkClassName}`).forEach((t=>{t.href=`${e.link}${this.option.parentLinkParameter||""}`,t&&t.classList.contains(f)&&t.setAttribute("aria-controls",n)})),this.option.parentLinkTextClassName&&t.querySelectorAll(`.${this.option.parentLinkTextClassName}`).forEach((t=>{t.innerHTML=e.name}));const o=t.querySelector(`.${C}`);return o&&o.setAttribute("id",n),t}createThirdListItem(t,e,n,o){this.option.childLinkClassName&&t.querySelectorAll(`.${this.option.childLinkClassName}`).forEach((t=>{t.href=`${e.link}${this.option.childLinkParameter||""}`,t&&t.classList.contains(f)&&t.setAttribute("aria-controls",`${o}`)})),this.option.childTextClassName&&t.querySelectorAll(`.${this.option.childTextClassName}`).forEach((t=>{t.innerHTML=e.name}));const s=t.querySelector(`.${C}`);s&&s.setAttribute("id",`${o}`);const i=t.querySelector(".js-pcProductTree__buttonReturn");return i&&i.setAttribute("aria-controls",n),t}createForthListItem(t,e,n,o){if(this.option.grandChildLinkClassName){const n=t.querySelector(`.${this.option.grandChildLinkClassName}`);n&&(n.href=`${e.link}${this.option.grandChildLinkParameter||""}`)}if(this.option.grandChildTitleClassName&&t.querySelectorAll(`.${this.option.grandChildTitleClassName}`).forEach((t=>{t.innerHTML=e.name})),this.option.grandChildTitleClassName){const n=t.querySelector(`.${this.option.grandChildTitleClassName}`);n&&(n.innerHTML=e.excerpt)}if(this.option.grandChildSubTitleClassName){const n=t.querySelector(`.${this.option.grandChildSubTitleClassName}`);n&&e.name?n.innerHTML=e.name:n?.remove()}if(this.option.grandChildTextClassName){const n=t.querySelector(`.${this.option.grandChildTextClassName}`);n&&e.htmlShortDescription?n.innerHTML=e.htmlShortDescription:n?.remove()}if(this.option.grandChildImageClassName){const n=t.querySelector(`.${this.option.grandChildImageClassName}`);n&&e.thumbnailWebImageUrl?(n.src=e.thumbnailWebImageUrl,n.alt=""):n?.remove()}return t}}class D{root;buttons;containers;openButton;openContainer;containerButton;buttonExclusions;animate;timeoutId;anchors;focusInEvent;mouseOverEvent;mouseLeaveEvent;resetEvent;constructor(t){this.root=t,this.buttons=null,this.containers=null,this.openButton=null,this.containerButton=null,this.openContainer=null,this.buttonExclusions=null,this.animate=void 0,this.timeoutId=0,this.anchors=null,this.focusInEvent=this.open.bind(this),this.mouseOverEvent=this.openMouseOver.bind(this),this.resetEvent=this.resetHistory.bind(this),this.mouseLeaveEvent=this.debounce.bind(this)}init(){this.set()}set(){this.buttons=this.root.querySelectorAll(`.${t.productTree.button}`),this.containers=this.root.querySelectorAll(`.${t.productTree.container}`),this.buttonExclusions=this.root.querySelectorAll(`.${t.productTree.exclusion}`),this.anchors=this.root.querySelectorAll(`.${t.productTree.anchor}`);const e=this.root.closest(`.${t.pcDropDown.container}`),n=e?.getAttribute("id")||"";this.containerButton=document.querySelector(`.${t.pcDropDown.button}[aria-controls="${n}"]`)}setBindEvent(){this.buttons?.forEach((t=>{t.addEventListener("focusin",this.focusInEvent),t.addEventListener("mouseover",this.mouseOverEvent),t.addEventListener("mouseleave",this.mouseLeaveEvent),t.setAttribute("aria-expanded","fal
1se")})),this.buttonExclusions?.forEach((t=>{t.addEventListener("focusin",this.resetEvent),t.addEventListener("mouseover",this.resetEvent),t.addEventListener("mouseleave",this.mouseLeaveEvent)})),this.containers?.forEach((t=>{t.setAttribute("aria-hidden","true"),t.style.display="none"})),this.anchors?.forEach((e=>{e.addEventListener("click",(n=>{n.preventDefault();const o=document.querySelector(e.getAttribute("href")||""),s=e.closest(".js-pcDropDown__container")||e.closest(".js-searchProduct__contentInner"),i=e.closest(".js-pcDropDown__container")?document.querySelector(`.${t.root}`)?.getBoundingClientRect().height:0;o&&s&&(i?s.scroll({top:o.getBoundingClientRect().top-i,behavior:"smooth"}):o.scrollIntoView({behavior:"smooth"}),o.setAttribute("tabindex","0"),o.focus({preventScroll:!0}),o.removeAttribute("tabindex"))}))})),this.containerButton?.addEventListener("mouseover",this.resetEvent),this.containerButton?.addEventListener("focusin",this.resetEvent)}destroyBindEvent(){this.animate?.cancel(),this.animate=void 0,this.buttons?.forEach((t=>{t.removeEventListener("focusin",this.focusInEvent),t.removeEventListener("mouseover",this.mouseOverEvent),t.removeEventListener("mouseleave",this.mouseLeaveEvent),t.removeAttribute("aria-expanded")})),this.buttonExclusions?.forEach((t=>{t.removeEventListener("focusin",this.resetEvent),t.removeEventListener("mouseover",this.resetEvent),t.removeEventListener("mouseleave",this.mouseLeaveEvent)})),this.containers?.forEach((t=>{p(t),t.removeAttribute("aria-hidden")})),this.containerButton?.removeEventListener("mouseover",this.resetEvent),this.containerButton?.removeEventListener("focusin",this.resetEvent)}debounce(){this.timeoutId>0&&clearTimeout(this.timeoutId)}resetHistory(){this.buttons?.forEach((t=>{t.setAttribute("aria-expanded","false")})),this.containers?.forEach((t=>{t.setAttribute("aria-hidden","true"),t.style.display="none"})),this.openButton=null,this.openContainer=null}openMouseOver(t){this.timeoutId=window.setTimeout((()=>{this.open(t)}),200)}open(e){const o=e.target;if(!o)return;if(this.openButton===o)return;const s=o.getAttribute("aria-controls")||"";if(!s)return;const i=document.querySelector(`#${s}`);if(i){if(this.containers)for(const t of this.containers){if("true"===t.getAttribute("aria-hidden"))continue;if(t.querySelector(`#${s}`))continue;if(t.closest(`#${s}`))continue;t.style.display="none",t.setAttribute("aria-hidden","true");const e=t.getAttribute("id")||"";document.querySelectorAll(`[aria-controls="${e}"]`).forEach((t=>{t.setAttribute("aria-expanded","false")}))}if(this.animate&&(this.animate.cancel(),this.animate=void 0),"false"===i.getAttribute("aria-hidden"))return this.openContainer=i,void(this.openButton=o);i.style.display="",n(o,i,!0),this.animate=i.animate([t.keyframes.fadeOut,t.keyframes.fadeIn],t.animate),this.animate.onfinish=()=>{this.openContainer=i,this.openButton=o,this.animate=void 0}}}}class S{root;button;container;input;overlay;suggest;animate;isOpen;isShow;buttonClickEvent;containerFocusOutEvent;buttonKeyDownEvent;containerKeyDownEvent;KeyDownEvent;showDropDownEvent;clickOverlayEvent;focusInputEvent;focusOutInputEvent;showSearchDropDownCustomEvent;constructor(t){this.root=t,this.button=null,this.container=null,this.input=null,this.suggest=null,this.overlay=null,this.animate=void 0,this.isOpen=!1,this.isShow=!1,this.buttonClickEvent=this.toggle.bind(this),this.containerFocusOutEvent=this.closeAnimate.bind(this),this.buttonKeyDownEvent=this.buttonKeyFocus.bind(this),this.containerKeyDownEvent=this.containerKeyFocus.bind(this),this.KeyDownEvent=this.keyFocus.bind(this),this.showDropDownEvent=this.close.bind(this),this.clickOverlayEvent=this.closeAnimate.bind(this),this.focusInputEvent=this.inputFocus.bind(this),this.focusOutInputEvent=this.inputFocusOut.bind(this),this.showSearchDropDownCustomEvent=new CustomEvent("showSearchDropDown")}init(){this.set()}set(){this.button=this.root,this.container=document.querySelector(".js-pcSearch__container"),this.overlay=e.overlay,this.container&&(this.input=this.container.querySelector(".js-pcSearch__input")),this.suggest=document.querySelector(".js-
1headerGlobalSearch .js-searchSuggestWithCtgChanger-target")}setBindEventSticky(){this.button&&(this.button.addEventListener("click",this.buttonClickEvent),this.button.addEventListener("keydown",this.buttonKeyDownEvent),this.button.setAttribute("aria-expanded","false")),this.container&&(this.container.addEventListener("focusout",this.containerFocusOutEvent),this.container.addEventListener("keydown",this.containerKeyDownEvent),this.container.setAttribute("aria-hidden","true"),this.container.style.height="0",this.container.style.overflow="",this.container.style.display="none"),window.addEventListener("keydown",this.KeyDownEvent),window.addEventListener("showDropDown",this.showDropDownEvent),this.overlay?.addEventListener("click",this.clickOverlayEvent),this.isShow=!1,this.isOpen=!1}setBindEventNonSticky(){this.container?.addEventListener("focusin",this.focusInputEvent),this.container?.addEventListener("focusout",this.focusOutInputEvent)}destroyBindEventSticky(){this.animate?.cancel(),this.animate=void 0,this.isOpen&&(s(),r()),this.button&&(this.button.removeEventListener("click",this.buttonClickEvent),this.button.removeEventListener("keydown",this.buttonKeyDownEvent),this.button.removeAttribute("aria-expanded")),this.container&&(this.container.removeEventListener("focusout",this.containerFocusOutEvent),this.container.removeEventListener("keydown",this.containerKeyDownEvent),this.container.removeAttribute("aria-hidden"),this.container.style.height="",this.container.style.overflow="",this.container.style.display="",this.container.style.top=""),window.removeEventListener("keydown",this.KeyDownEvent),window.removeEventListener("showDropDown",this.showDropDownEvent),this.overlay?.removeEventListener("click",this.clickOverlayEvent),this.isShow=!0,this.isOpen=!1}destroyBindEventNonSticky(){this.container&&(this.container.removeEventListener("focusin",this.focusInputEvent),this.container.removeEventListener("focusout",this.focusOutInputEvent),this.container.style.top="")}close(){this.isShow||(this.container&&(this.container.style.height="0",this.container.style.overflow="hidden",this.container.style.display="none",this.container.classList.remove(t.pcDropDown.state)),this.button&&this.container&&n(this.button,this.container,!1),this.animate&&(this.animate.cancel(),this.animate=void 0),this.isOpen=!1)}openAnimate(e){let s;if(e instanceof MouseEvent||e instanceof FocusEvent||e instanceof KeyboardEvent?s=e.target:e instanceof HTMLElement&&(s=e),!s)return;if(this.isShow)return;const r=s.getAttribute("aria-controls")||s.getAttribute("aria-owns")||"";if(!r)return;const a=document.querySelector(`#${r}`);a&&(window.dispatchEvent(this.showSearchDropDownCustomEvent),this.close(),(document.querySelector(`.${t.judgementSticky.state}`)||document.querySelector(`.${t.judgementSticky.nonStickyState}`))&&(this.container&&(this.container.style.top=`${document.querySelector(".js-header")?.getBoundingClientRect().bottom||0}px`),this.animate=m(a,!1,(()=>{o(),i(),this.isOpen=!0,this.animate=void 0,this.input&&(this.input.setAttribute("tabindex","1"),this.input.focus(),this.input.removeAttribute("tabindex")),this.button&&this.container&&(n(this.button,this.container,!0),this.container.style.overflow="")}))))}closeAnimate(t){setTimeout((()=>{const e=t.target;this.isShow||this.isOpen&&(this.animate&&(this.animate.cancel(),this.animate=void 0),t instanceof FocusEvent&&document.activeElement!==e||t instanceof FocusEvent&&this.container&&a(this.container)||this.button&&this.container&&(n(this.button,this.container,!1),this.animate=v(this.container,(()=>{this.animate=void 0,s(),r(),this.isOpen=!1}))))}),100)}toggle(t){this.isOpen?this.closeAnimate(t):this.openAnimate(t)}buttonKeyFocus(t){if(this.animate)return void t.preventDefault();const{key:e}=t;let n=null;"Escape"===e&&this.button||"ArrowUp"===e?this.closeAnimate(t):"ArrowDown"===e&&(this.container&&this.isOpen?(n=h(this.container),n?.focus()):(o(),i(),this.openAnimate(t)))}containerKeyFocus(t){if(this.animate)return void t.preventDefault();const{key:e}=t;this.button&&"Escape"===e&&this.button&&this.button.focus()}keyFocus(t){if(this.animate)return void t.preventDefault();const{key:e}=t;(this.container&&!a(this.container)&&"Escape"===e&&this.button||this.button&&!a(this.button)&&"Escape"===e&&this.button)&&this.closeAnimate(t)}
1inputFocus(){e.body.querySelector(".fn-overlay")?.classList.add("is-overlay-headerSearch"),o(),i()}inputFocusOut(){setTimeout((()=>{this.container&&a(this.container)||(this.suggest?.setAttribute("hidden","true"),r(),s(),e.body.querySelector(".fn-overlay")?.classList.remove("is-overlay-headerSearch"))}),100)}}class N{root;headerPosition;headerHeight;scrollThreshold;isHeaderShow;animate;noStickyCustomEvent;stickyCustomEvent;constructor(t){this.root=t,this.headerPosition=this.root.getBoundingClientRect().bottom+window.scrollY,this.headerHeight=this.root.getBoundingClientRect().height,this.scrollThreshold=0,this.isHeaderShow=!0,this.animate=null,this.noStickyCustomEvent=new CustomEvent("noStickyDropDown"),this.stickyCustomEvent=new CustomEvent("stickyDropDown")}init(){if(document.querySelector(`.${t.headerProduct}`))return void this.root.classList.add(t.judgementSticky.nonStickyState);const e=document.querySelector(".box_nav_01");window.kpi_currentSeriesId&&e?this.root.classList.add(t.judgementSticky.nonStickyState):this.bindEvent()}bindEvent(){this.isSticky()?this.show():this.hide(),window.addEventListener("smoothScroll",(()=>{this.animate&&this.animate.cancel(),this.isHeaderShow||this.show()})),e.mediaQuery.addEventListener("change",(()=>{this.hide(),this.headerPosition=this.root.getBoundingClientRect().bottom+window.scrollY,this.isSticky()&&this.show()})),window.addEventListener("scroll",(()=>{this.scrollThreshold||(this.scrollThreshold=setTimeout((()=>{this.scrollThreshold=0,this.animate&&this.animate.cancel(),this.isSticky()?this.isHeaderShow||this.showAnimate():this.isHeaderShow&&this.hide()}),200))}))}isSticky(){return!!e.scrollElement&&this.headerPosition<e.scrollElement.scrollTop}showAnimate(){this.show(),this.animate=this.root.animate([{transform:`translateY(-${this.headerHeight}px)`,opacity:"0"},{transform:"translateY(0)",opacity:"1"}],t.animate),this.animate.onfinish=()=>{this.animate=null}}show(){this.isHeaderShow=!0,this.root.classList.add(t.judgementSticky.state),e.body.style.paddingTop=`${this.headerHeight}px`,this.headerHeight=this.root.getBoundingClientRect().height,this.root.style.position="fixed",this.root.style.left="0",this.root.style.top="0",window.dispatchEvent(this.stickyCustomEvent)}hide(){this.root.style.opacity="",this.root.style.position="",this.root.style.top="",this.root.style.left="",this.isHeaderShow=!1,this.headerHeight=this.root.getBoundingClientRect().height,this.root.classList.remove(t.judgementSticky.state),this.root.style.transform="",e.body.style.paddingTop="",window.dispatchEvent(this.noStickyCustomEvent)}}const k={mediaQuery:e.mediaQuery};class T{root;pcDropDownInstances;spToggleInstances;spNavigationGlobalInstances;buildProductListInstances;pcProductTreeInstances;pcSearchInstances;judgementStickyInstances;buildProductListSuggestInstances;option;noStickyDropDownEvent;showStickyDropDownEvent;focusSearchEvent;constructor(t,e){this.root=t,this.pcDropDownInstances=[],this.spToggleInstances=[],this.spNavigationGlobalInstances=[],this.buildProductListInstances=[],this.buildProductListSuggestInstances=[],this.pcProductTreeInstances=[],this.pcSearchInstances=[],this.judgementStickyInstances=[],this.option={...k,...e},this.noStickyDropDownEvent=this.noStickyDropDownPc.bind(this),this.showStickyDropDownEvent=this.showStickyDropDownPc.bind(this),this.focusSearchEvent=this.focusSearch.bind(this)}
1async init(){if(this.root.querySelectorAll(`.${t.pcDropDown.root}`).forEach((t=>{const e=new y(t);this.pcDropDownInstances.push(e),e.init()})),this.root.classList.contains(t.spToggle.root)){const t=new g(this.root);this.spToggleInstances.push(t),t.init()}const n=document.querySelector(".js-pcSearch");if(n){const t=new S(n);this.pcSearchInstances.push(t),t.init()}const o=this.root.querySelector(`.${t.product.root}`),s=this.root.querySelector(`.${t.spNavigationGlobal.rootClassName}`);if(o&&s){const t=new L(o);this.buildProductListInstances.push(t),await t.init();const e=new D(o);this.pcProductTreeInstances.push(e),e.init();const n=new E(s);this.spNavigationGlobalInstances.push(n),n.init()}const i=new N(this.root);this.judgementStickyInstances.push(i),i.init(),this.bindEvent();const r=document.querySelector(".js-buildProductListSuggest");if(r){const t=new L(r,{rootClassName:"js-buildProductListSuggest",parentClassName:"js-buildProductListSuggest__parent",parentListClassName:"js-buildProductListSuggest__parentList",parentLinkClassName:"js-buildProductListSuggest__parentLink",parentLinkParameter:null,parentLinkTextClassName:"js-buildProductListSuggest__parentLinkText",childClassName:null,childListClassName:null,childLinkClassName:null,childLinkParameter:null,childTextClassName:null,childTextContainerClassName:null,grandChildClassName:null,grandChildLinkClassName:null,grandChildLinkParameter:null,grandChildTitleClassName:null,grandChildSubTitleClassName:null,grandChildTextClassName:null,grandChildImageClassName:null,grandChildListClassName:null,grandChildListGroupClassName:null,anchorListClassName:null,anchorClassName:null,anchorItemClassName:null,anchorLinkClassName:null,anchorTextClassName:null});this.buildProductListSuggestInstances.push(t),await t.init()}e.html.classList.add("is-header-event-assigned")}bindEvent(){this.switchViewport(),e.mediaQuery.addEventListener("change",(()=>{this.switchViewport()}))}switchViewport(){this.pcDropDownInstances&&this.pcDropDownInstances.forEach((t=>{t.destroyBindEvent()})),this.pcProductTreeInstances&&this.pcProductTreeInstances.forEach((t=>{t.destroyBindEvent()})),this.spToggleInstances&&this.spToggleInstances.forEach((t=>{t.destroyBindEvent()})),this.spNavigationGlobalInstances&&this.spNavigationGlobalInstances.forEach((t=>{t.destroyBindEvent()})),this.pcSearchInstances&&this.pcSearchInstances.forEach((t=>{t.destroyBindEventSticky()})),window.removeEventListener("noStickyDropDown",this.noStickyDropDownEvent),window.removeEventListener("stickyDropDown",this.showStickyDropDownEvent),window.removeEventListener("focusHeaderSearchInput",this.focusSearchEvent),this.option.mediaQuery.matches?(this.spToggleInstances&&this.spToggleInstances.forEach((t=>{t.setBindEvent()})),this.spNavigationGlobalInstances&&this.spNavigationGlobalInstances.forEach((t=>{t.setBindEvent()}))):(this.pcDropDownInstances&&this.pcDropDownInstances.forEach((t=>{t.setBindEvent()})),this.pcProductTreeInstances&&this.pcProductTreeInstances.forEach((t=>{t.setBindEvent()})),window.addEventListener("noStickyDropDown",this.noStickyDropDownEvent),window.addEventListener("stickyDropDown",this.showStickyDropDownEvent),window.addEventListener("focusHeaderSearchInput",this.focusSearchEvent),(this.root.classList.contains(t.judgementSticky.state)||this.root.classList.contains(t.judgementSticky.nonStickyState))&&this.pcSearchInstances.forEach((t=>{t.setBindEventSticky()})))}noStickyDropDownPc(){this.pcSearchInstances.forEach((t=>{t.destroyBindEventSticky(),t.setBindEventNonSticky()}))}showStickyDropDownPc(){this.pcSearchInstances.forEach((t=>{t.setBindEventSticky(),t.destroyBindEventNonSticky()}))}focusSearch(){this.pcSearchInstances.forEach((t=>{t.isShow&&t.input?(t.input?.focus(),t.inputFocus()):!t.isOpen&&t.button&&t.openAnimate(t.button)}))}}const $=document.querySelector(".js-header");$&&new T($).init().catch((t=>{throw Error(String(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.