PageSourceSearch

https://xn--i1aebefbrdj8j.xn--p1ai/static/resources/Catalog/widget…?x_module=5b461de7863ae64b09647b20062a6be2

js xn--i1aebefbrdj8j.xn--p1ai collected 2026-10-02 02:15:34 UTC 11,332 bytes, 1 lines download raw bytes

1define("Catalog/widget/Shop",["react/jsx-runtime","react","clsx","UI/Focus","UI/Async","Controls/stickyBlock","Controls/scroll","Controls/listsCommonLogic","Controls/dataSource","Controls/Container/Async","Controls-Templates/itemTemplates","Controls-DataEnv/context","Catalog/utils","require","exports","ViewConfiguration/AdjustableTileItem","Catalog/tile","css!Catalog/widget/Shop"],(function(e,t,i,o,a,n,s,l,r,d,c,p,m,u,h){var g,f,b,C;return Object.defineProperty(h,"__esModule",{value:!0}),g=function(e,t,i,o,a,n,s,l,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const d=(0,o.forwardRef)((function(e,t){var d;const c=null===(d=e.listConfiguration.tile.navigation)||void 0===d?void 0:d.contentsPosition,p=(0,o.useRef)(null),m=(0,a.useSlice)("detail"),u=`wnc-sabyget-composite-header ${e.contentWidth&&"none"!==c&&"hidden"!==e.masterVisibility?`wnc-sabyget-composite-header-${c}`:""} ${e.isPhone?"":"wnc-sabyget-composite-header_border-radius"}`,h=(0,o.useMemo)((()=>({storeId:"detail",shadowVisible:!0,searchInputDirection:"left",contrastBackgroun
1d:!0,inlineHeight:"2xl",inlineWidth:e.searchInputWidth||"xl"})),[e.searchInputWidth]);(0,o.useEffect)((()=>{if(null==m?void 0:m.state.searchInputValue)(0,n.activate)(p.current)}),[]);const g=(0,r.clsx)("wnc-sabyget-composite-header__content","tw-flex","tw-justify-end",e.compositeHeaderClasses,`controls-padding_left-${e.itemsContainerPadding.left}`,`controls-padding_right-${e.itemsContainerPadding.right}`,`controls-padding_top-${e.itemsContainerPadding.top}`,`controls-padding_bottom-${e.itemsContainerPadding.bottom}`,e.contentWidth?void 0:"tw-w-full");return(0,i.jsx)(s.StickyBlock,{ref:t,className:u,shadowMode:"rounded",backgroundStyle:e.backgroundStyle,fixedBackgroundStyle:e.fixedBackgroundStyle,fixedZIndex:4,children:(0,i.jsx)("div",{className:"tw-flex tw-items-center tw-justify-center",children:(0,i.jsx)(n.FocusRoot,{ref:p,className:g,style:{width:e.contentWidth+"px"},children:(0,i.jsx)(l.default,{className:!e.expandableSearch?"wnc-sabyget-composite-header__search":"",templateName:e.expandableSearch?"Controls-ListEnv/ExpandableSearchInput":"Controls-ListEnv/searchConnected:Input",templateOptions:h,"data-qa":"controls-newBrowser__detail-header__search"})})})})}));return d.displayName="Catalog/widget/_shop/Header",t.default=d,t}(0,{},e,t,p,o,n,d,i),f=function(e,t,i,o,a,n,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const l="IsFolderUI";return t.default=function(e){const{renderValues:{[l]:t}}=a.hooks.useItemData([l]),r=(0,s.useMemo)((()=>{if(t&&e.nodeWidth){const t={minWidth:e.nodeWidth,flexBasis:e.nodeWidth};if(e.nodeHeight)t.height=e.nodeHeight;return t}if(e.leafWidth){const t={minWidth:e.leafWidth,flexBasis:e.leafWidth};if(e.leafHeight)t.height=e.leafHeight;return t}return{}}),[t,e.nodeHeight,e.nodeWidth,e.leafHeight,e.leafWidth]);return(0,i.jsx)(o.BaseItem,{...e,styleProp:r,className:(0,n.clsx)(e.className,t?"controls-TreeTileView__node node":"leaf"),children:t?e.nodeTemplate:e.leafTemplate})},t}(0,{},e,c,l,i,t),b=function(e,t,i,o,a,n,s,l,r,d,c,p){"use strict";function m(e){var t,m,h,g,f,b,C,v,y,k,S,w;const{detailStoreId:x="detail",masterStoreId:P="master",stickyFixedBackgroundStyle:W="page",stickyBackgroundStyle:T="transparent",searchInputWidth:I=184,masterWidth:M="264",detailContrastBackgroun
1d:O=!1,descriptionProperty:V="DescriptionSimple",detailFooterTemplate:_,masterFooterTemplate:B,searchVisible:N=!0,navigationVisible:j,itemPadding:H,compositeCaptionClickable:R,disableScrollReaction:F,compositeVirtualScrollConfig:L,stickyMasterScrollable:E,masterScrollBackgroundStyle:$,captionLineBreak:D,task02207896:z,task0628540:A,task0628549:U,fix05219225:Z,fix09085677:q,forwardedRef:G}=e,J=(0,o.useRef)(null),K=(0,n.useStrictSlice)(x),Q=(0,n.useStrictSlice)(P);(0,o.useImperativeHandle)(G,(()=>({resetSlider:async()=>{if(J.current&&"resetSlider"in J.current)J.current.resetSlider()}})),[]);const X="getListConfiguration"in K&&"function"==typeof K.getListConfiguration?K.getListConfiguration():e.listConfiguration,Y=(0,o.useMemo)((()=>{var t,i;const o=K.state.searchValue&&!_&&"flat"===X.tile.navigation.contentsStyle;return{...e.contentWidth?{"--wnc-composite-content-width":`${e.contentWidth}px`}:{},"--wnc-composite-master-width":`${o?0:M}px`,"--wnc-composite-master-offset":`var(--offset_${null===(t=e.negativeContainerPadding)||void 0===t?void 0:t.left})`,"--outer_padding":`var(--offset_${null===(i=e.negativeContainerPadding)||void 0===i?void 0:i.left})`}}),[e.contentWidth,e.negativeContainerPadding,M,K.state.searchValue,X.tile.navigation.contentsStyle,!_]),ee=(0,o.useMemo)((()=>(0,d.hasAnyFolder)(K.state)),[K.state]),te=(0,o.useMemo)((()=>(0,d.isCustomHeaderVisible)({...K.state,listConfiguration:X,searchVisible:N})),[K.state.breadCrumbsItems,K.state.items,K.state.searchValue,K.state.root,X,N]),ie=(0,o.useMemo)((()=>{var t;return null!==(t=e.expandableSearch)&&void 0!==t?t:(0,d.isExpandableSearch)({...K.state,listConfiguration:X,isPhone:e.isPhone,searchVisible:N})}),[K.state,X,e.isPhone,N,e.expandableSearch]),oe=(0,o.useMemo)((()=>{var t,i;return{wrapMasterInScroll:null!==(t=e.wrapMasterInScroll)&&void 0!==t?t:!1,wrapDetailInScroll:null!==(i=e.wrapDetailInScroll)&&void 0!==i?i:!1,breadcrumbsVisibility:"visible",stickyFixedBackgroundStyle:W,stickyBackgroundStyle:T,detailContrastBackgroun
1d:O,masterContrastBackground:!1,contentWidth:e.contentWidth,detailFooterTemplate:_,masterFooterTemplate:B,useLightWeight:e.lightWeight,disableScrollReaction:F,stickyMasterScrollable:E,task02207896:z,task0628540:A,task0628549:U,fix05219225:Z,fix09085677:q,masterScrollSticky:e.masterScrollSticky,muteScrollEvents:e.muteScrollEvents,isWidget:e.isWidget}}),[e.wrapMasterInScroll,e.wrapDetailInScroll,W,T,O,e.contentWidth,_,B,e.lightWeight,F,E,z,A,U,Z,q,e.masterScrollSticky,e.muteScrollEvents,e.isWidget]),ae=(0,o.useMemo)((()=>(0,d.getMasterVisibility)(null==Q?void 0:Q.state.root,null==Q?void 0:Q.state.items,e.isPhone,e.staticListConfiguration,X,e.bottomTemplateName)),[null==Q?void 0:Q.state.items,null==Q?void 0:Q.state.root,null===(m=null===(t=null==X?void 0:X.tile)||void 0===t?void 0:t.navigation)||void 0===m?void 0:m.contentsPosition,e.isPhone,e.staticListConfiguration,e.bottomTemplateName]),ne=(0,o.useCallback)(((t,i)=>{var o,a,n,s,l;return{...(null===(n=null===(a=null===(o=e.priceOptions)||void 0===o?void 0:o.priceRenderProps)||void 0===a?void 0:a.basketOptionsCallback)||void 0===n?void 0:n.call(a,t,i))||{},...(null===(l=null===(s=e.priceOptions)||void 0===s?void 0:s.priceRenderProps)||void 0===l?void 0:l.basketOptions)||{}}}),[null===(h=e.priceOptions)||void 0===h?void 0:h.priceRenderProps]),se=(0,o.useMemo)((()=>(0,a.lazy)((()=>(0,a.importer)(e.lightWeight?"Catalog/BrowserLight":"Catalog/Browser")))),[e.lightWeight]);return(0,i.jsx)(r.error.Container,{viewConfig:null==K?void 0:K.state.errorViewConfig,children:(0,i.jsxs)("div",{className:`wnc-sabyget-composite tw-w-full tw-flex tw-flex-col tw-flex-grow ${e.className||""}`,style:Y,children:[(0,i.jsxs)("div",{className:(0,p.clsx)("tw-flex tw-flex-col tw-h-full",e.contentWidth&&(ee||e.bottomTemplateName)?"wnc-sabyget-composite-master-view tw-w-full":"",e.contentClassName),children:[e.sliderVisible?(0,i.jsx)(s.VirtualScrollContainer,{position:"top",children:(0,i.jsx)(u,{forwardRef:J,storeId:x,basketOptions:null===(f=null===(g=e.priceOptions)||void 0===g?void 0:g.priceRenderProps)||void 0===f?void 0:f.basketOptions,basketContext:null===(C=null===(b=e.priceOptions)||void 0===b?void 0:b.priceRenderProps)||void 0===C?void 0:C.basketContext,sliderPassRegistryModel:!0,imageProperty:e.imageProperty,sliderTemplateOptions:{isPhone:e.isPhone,itemsContainerPadding:e.itemsContainerPadding,basketVisibilityCallback:null===(y=null===(v=e.priceOptions)||void 0===v?void 0:v.priceRenderProps)||void 0===y?void 0:y.basketVisibilityCallback,basketCountChangedCallback:null===(S=null===(k=e.priceOptions)||void 0===k?void 0:k.priceRenderProps)||void 0===S?void 0:S.basketCountChangedCallback,contentWidth:e.contentWidth,titlePaddingSize:e.sliderTitlePaddingSize||(e.contentWidth?"null":e.itemsContainerPadding.left),priceOptions:null===(w=e.priceOptions)||void 0===w?void 0:w.priceRenderProps,basketOptionsCallback:ne,shadowMode:e.isPhone?void 0:"blur",scrollMode:e.isPhone?"scrollMode":"buttons",adaptiveMode:e.adaptiveMode,className:e.sliderClasses,captionClass:e.sliderCaptionClass,priceOptionsProperty:e.sliderPriceProperty},onSliderItemClick:e.onItemClick})}):null,"visible"===e.browserHeaderVisibility||te?(0,i.jsx)(l.default,{contentWidth:e.contentWidth,itemsContainerPadding:e.itemsContainerPadding,backgroundStyle:T,fixedBackgroundStyle:W,compositeHeaderClasses:e.compositeHeaderClasses,searchInputWidth:I,expandableSearch:ie,listConfiguration:X,masterVisibility:ae,isPhone:e.isPhone}):null,(0,i.jsx)(se,{className:"tw-h-full",searchShadowVisible:!0,browser:oe,displayProperty:"Name",imageProperty:e.imageProperty,tagsOptions:e.tagsOptions,descriptionProperty:V,contentsProperty:"FolderContents",priceOptions:e.priceOptions,titleOptions:e.titleOptions,captionLineBreak:D,fieldsOptions:e.fieldsOptions,searchInputWidth:I,breadcrumbsVisibility:"hidden",tileScalingMode:"none",listConfiguration:X,onItemClick:e.onItemClick,onMasterItemClick:e.onMasterClick,searchVisible:N,expanderVisibility:"visible",itemPadding:H,itemsContainerPadding:e.itemsContainerPadding,expandableSearch:ie,emptyTemplate:e.emptyTemplate,emptyTemplateProps:e.emptyTemplateProps,showcaseMode:e.showcaseMode,navigationSelectedItemStyle:"primary",backButtonIconViewMode:e.backButtonIconViewMode,backButtonFontColorStyle:"default",backButtonFontSize:"6xl",brightnessProperty:"Brightness",dominantColorProperty:"GradientColor",noZen:e.noZen,lightWeight:e.lightWeight,isWidget:e.isWidget,fieldsVisibility:e.staticListConfiguration?"account":"client",navigationVisible:j,compositeCaptionClickable:R,compositeVirtualScrollC
1onfig:L,masterScrollBackgroundStyle:$,detailBackgroundColor:e.detailBackgroundColor,_objectName:K.state.objectName,_tileItemRender:(0,o.useMemo)((()=>e.nodeTemplate&&e.leafTemplate?(0,i.jsx)(c.default,{nodeTemplate:e.nodeTemplate,leafTemplate:e.leafTemplate,nodeHeight:e.nodeHeight,nodeWidth:e.nodeWidth,leafHeight:e.leafHeight,leafWidth:e.leafWidth}):void 0),[e.nodeTemplate,e.leafTemplate,e.nodeHeight,e.nodeWidth,e.leafHeight,e.leafWidth]),...K.state.objectName?{nodeWidth:e.nodeWidth}:{},master:(0,o.useMemo)((()=>({expanderVisibility:"hasChildren",expandByItemClick:e.masterExpandByItemClick,width:M,maxWidth:M,scrollOffsetTop:e.masterScrollOffsetTop,masterOffsetTop:e.masterOffsetTop,visibility:ae,bottomTemplateName:e.bottomTemplateName,bottomTemplateOptions:e.bottomTemplateOptions,bottomPaddingMode:"none",blockMarkup:e.blockMarkup})),[M,e.masterScrollOffsetTop,e.masterOffsetTop,ae,e.masterExpandByItemClick,e.bottomTemplateName,e.bottomTemplateOptions])})]}),e.compositeFooterTemplate?(0,o.isValidElement)(e.compositeFooterTemplate)?e.compositeFooterTemplate:(0,i.jsx)(e.compositeFooterTemplate,{}):null]})})}Object.defineProperty(t,"__esModule",{value:!0});const u=(0,a.lazy)((()=>(0,a.importer)("WNCCore/catalog/sliceConnect/Slider")));return m.displayName="Catalog/widget/Shop",t.default=m,t}(0,{},e,t,a,p,s,g,r,m,f,i,"undefined"==typeof css_Catalog_widget_Shop||css_Catalog_widget_Shop),C=b,h.default=C.default,h}));

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.