/*! For license information please see images-pants-stories-pants-story.ad488490.iframe.bundle.js.LICENSE.txt */ (self.webpackChunk_woocommerce_storybook=self.webpackChunk_woocommerce_storybook||[]).push([[4565],{"../../node_modules/.pnpm/@wordpress+compose@5.4.1_react@17.0.2/node_modules/@wordpress/compose/build-module/hooks/use-instance-id/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>useInstanceId});var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");const instanceMap=new WeakMap;function useInstanceId(object,prefix){let preferredId=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useMemo)((()=>{if(preferredId)return preferredId;const id=function createId(object){const instances=instanceMap.get(object)||0;return instanceMap.set(object,instances+1),instances}(object);return prefix?`${prefix}-${id}`:id}),[object])}},"../../node_modules/.pnpm/@wordpress+primitives@3.4.1/node_modules/@wordpress/primitives/build-module/svg/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{G:()=>G,rw:()=>Rect,t4:()=>SVG,wA:()=>Path});var classnames__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/classnames@2.3.2/node_modules/classnames/index.js"),classnames__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__),_wordpress_element__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");const G=props=>(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)("g",props),Path=props=>(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)("path",props),Rect=props=>(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)("rect",props),SVG=_ref=>{let{className,isPressed,...props}=_ref;const appliedProps={...props,className:classnames__WEBPACK_IMPORTED_MODULE_0___default()(className,{"is-pressed":isPressed})||void 0,"aria-hidden":!0,focusable:!1};return(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)("svg",appliedProps)}},"../../packages/js/product-editor/src/images/pants/index.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{t:()=>Pants});var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),_wordpress_components__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/@wordpress+primitives@3.4.1/node_modules/@wordpress/primitives/build-module/svg/index.js"),_wordpress_compose__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/@wordpress+compose@5.4.1_react@17.0.2/node_modules/@wordpress/compose/build-module/hooks/use-instance-id/index.js");function Pants(_ref){var _ref$colorOne=_ref.colorOne,colorOne=void 0===_ref$colorOne?"#DDDDDD":_ref$colorOne,_ref$colorTwo=_ref.colorTwo,colorTwo=void 0===_ref$colorTwo?"#F0F0F0":_ref$colorTwo,_ref$size=_ref.size,size=void 0===_ref$size?50:_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style,clipPathId=(0,_wordpress_compose__WEBPACK_IMPORTED_MODULE_0__.A)(Pants,"pants");return(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.t4,{width:size,height:Math.round(size/(50/72)),viewBox:"0 0 50 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",style},(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.G,{clipPath:"url(#".concat(clipPathId,")")},(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.wA,{d:"M44.6084 21.3845C40.788 21.6427 35.5059 20.8456 35.1404 16.333C34.8746 13.0889 34.5867 9.04771 34.3431 5.7811H42.9474L42.3273 0H8.34205L7.72192 5.7811H16.3262C16.0826 9.04771 15.8057 13.0889 15.5289 16.333C15.1635 20.8456 9.87022 21.6314 6.06086 21.3845L0.667969 72H14.0007C14.0007 72 21.7745 32.0711 22.904 26.0318C23.4909 22.9111 24.3989 22.2264 25.3291 22.2264C26.2593 22.2264 27.1673 22.9224 27.7543 26.0318C28.8948 32.0599 36.6575 72 36.6575 72H49.9903L44.5974 21.3845H44.6084Z",fill:colorTwo}),(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.wA,{d:"M15.5383 16.3332C15.8041 13.089 16.092 9.04785 16.3356 5.78125H7.73137L6.07031 21.3846C9.89074 21.6428 15.1729 20.8458 15.5383 16.3332Z",fill:colorOne}),(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.wA,{d:"M35.1293 16.3332C35.4948 20.8458 40.788 21.6316 44.5974 21.3846L42.9363 5.78125H34.332C34.5757 9.04785 34.8525 13.089 35.1293 16.3332Z",fill:colorOne})),(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)("defs",null,(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)("clipPath",{id:clipPathId},(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.rw,{width:"49.3334",height:"72",fill:"white",transform:"translate( 0.667969 )"}))))}try{Pants.displayName="Pants",Pants.__docgenInfo={description:"",displayName:"Pants",props:{colorOne:{defaultValue:{value:"#DDDDDD"},description:"",name:"colorOne",required:!1,type:{name:"string"}},colorTwo:{defaultValue:{value:"#F0F0F0"},description:"",name:"colorTwo",required:!1,type:{name:"string"}},size:{defaultValue:{value:"50"},description:"",name:"size",required:!1,type:{name:"number"}},style:{defaultValue:{value:"{}"},description:"",name:"style",required:!1,type:{name:"{}"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../packages/js/product-editor/src/images/pants/index.tsx#Pants"]={docgenInfo:Pants.__docgenInfo,name:"Pants",path:"../../packages/js/product-editor/src/images/pants/index.tsx#Pants"})}catch(__react_docgen_typescript_loader_error){}},"../../node_modules/.pnpm/classnames@2.3.2/node_modules/classnames/index.js":(module,exports)=>{var __WEBPACK_AMD_DEFINE_RESULT__;!function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _index__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../packages/js/product-editor/src/images/pants/index.tsx");const __WEBPACK_DEFAULT_EXPORT__={title:"Product Editor/images/Pants",component:_index__WEBPACK_IMPORTED_MODULE_0__.t,args:{size:50,colorOne:"#E0E0E0",colorTwo:"#F0F0F0"}};var Default=_index__WEBPACK_IMPORTED_MODULE_0__.t;Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:"Pants",...Default.parameters?.docs?.source}}};try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{colorOne:{defaultValue:null,description:"",name:"colorOne",required:!1,type:{name:"string"}},colorTwo:{defaultValue:null,description:"",name:"colorTwo",required:!1,type:{name:"string"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"number"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"{}"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["../../packages/js/product-editor/src/images/pants/stories/pants.story.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"../../packages/js/product-editor/src/images/pants/stories/pants.story.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}}}]);