1"use strict";(self.webpackChunkwinshop=self.webpackChunkwinshop||[]).push([[811,8714],{908714:(t,e,n)=>{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){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function o(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.r(e),n.d(e,{assign:()=>c,init:()=>l});var c=function(t){return function(e){e(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({type:"ASIDE_ASSIGN"},t))}},l=function(){return function(t){t({type:"ASIDE_INIT"})}}},726879:(t,e,n)=>{n.r(e),n.d(e,{default:()=>o});n(667294);var r=n(974912),i=n(785893);const o=function(t){var e=function(t){return(0,i.jsx)(r.default,{item:t},"side_show_item_".concat(t.id))};return collect(t.items||[]).map(e).all()}},974912:(t,e,n)=>{n.r(e),n.d(e,{default:()=>p});var r=n(667294),i=n(14416),o=n(496486),c=n(799603),l=n(259417),u=n(473727),a=n(726879),s=n(908714),f=n(785893);function d(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,c,l=[],u=!0,a=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(l.push(r.value),l.length!==e);u=!0);}catch(t){a=!0,i=t}finally{try{if(!u&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(a)throw i}}return l}}(t,e)||function(t,e){if(t){if("string"==typeof t)return m(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}const p=function(t){var e=(0,i.v9)(function(t){return t.aside}),n=e.lists,m=e.expanded_id,p=(0,i.I0)(),y=d((0,r.useState)(!1),2),b=y[0],h=y[1],v=void 0!==n[t.item.id]&&n[t.item.id].length>0,j=function(){return parseInt(m)===parseInt(t.item.id)||!(!(0,o.isArray)(t.item.descendants_id)||(0,o.isEmpty)(t.item.descendants_id))&&t.item.descendants_id.indexOf(parseInt(m))>=0},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;v||p((0,s.assign)({expanded_id:t.item.id})),h(null!==e?e:!b)};(0,r.useEffect)(function(){j()&&h(!0)},[JSON.stringify(n)]);return(0,f.jsx)("ul",{className:"aside_menu_main_ul",children:(0,f.jsxs)("li",{children:[(0,f.jsxs)("div",{className:"aside_title d-table",children:[(0,f.jsx)(u.rU,{className:"d-table-cell ".concat(j()?"current":""),to:t.item.url||null,onClick:function(){return O(!0)},children:(0,f.jsx)("span",{children:t.item.name})}),t.item.has_child?(0,f.jsx)("a",{className:"icon_open","aria-expanded":b?"true":"false",onClick:function(){return O()}}):null]}),b?!v&&t.item.has_child?(0,f.jsx)("div",{className:"d-flex justify-content-center",children:(0,f.jsx)(c.G,{className:"mt-2 mb-2",icon:l.LM3,size:"xl",spin:!0})}):(0,f.jsx)("div",{className:"children_items",children:(0,f.jsx)(a.default,{items:n[t.item.id]})}):null]})})}}}]);
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.