diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..3c032078 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +18 diff --git a/assets/build/block.asset.php b/assets/build/block.asset.php index f6e52f74..ede58b6f 100644 --- a/assets/build/block.asset.php +++ b/assets/build/block.asset.php @@ -1 +1 @@ - array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '5c13835270f8b2070a23'); + array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '748e985bc8616f514a4a'); diff --git a/assets/build/block.js b/assets/build/block.js index d0bd3679..af5ab66f 100644 --- a/assets/build/block.js +++ b/assets/build/block.js @@ -1 +1,4005 @@ -(()=>{"use strict";var e,t={418:(e,t,o)=>{var l=o(609),a=Symbol.for("react.element"),r=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),n=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,o){var l,d={},s=null,c=null;for(l in void 0!==o&&(s=""+o),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)r.call(t,l)&&!i.hasOwnProperty(l)&&(d[l]=t[l]);if(e&&e.defaultProps)for(l in t=e.defaultProps)void 0===d[l]&&(d[l]=t[l]);return{$$typeof:a,type:e,key:s,ref:c,props:d,_owner:n.current}}},706:(e,t,o)=>{e.exports=o(418)},445:(e,t,o)=>{var l=o(609);const a=window.wp.blocks,r=window.wp.i18n,n=window.wp.primitives;var i=o(706);const d=(0,i.jsx)(n.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)(n.Path,{d:"M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z"})}),s=(0,i.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,i.jsx)(n.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"})}),c=window.wp.element,u=window.wp.blockEditor,p=window.wp.components,g=({label:e,value:t,unit:o,onValueChange:a,onUnitChange:n})=>(0,l.createElement)(p.Flex,null,(0,l.createElement)(p.FlexBlock,null,(0,l.createElement)(p.TextControl,{label:e,value:parseInt(t),onChange:e=>a(e)})),(0,l.createElement)(p.FlexItem,null,(0,l.createElement)(p.SelectControl,{label:(0,r.__)("Unit","wedocs"),value:o,options:[{label:"px",value:"px"},{label:"%",value:"%"}],onChange:e=>n(e)}))),m=({selected:e,options:t,onChange:o})=>(0,l.createElement)(p.BaseControl,null,(0,l.createElement)("div",{className:"radio-image-control-options"},t.map((t=>(0,l.createElement)("div",{key:t.value,className:"radio-image-option"},(0,l.createElement)("input",{type:"radio",id:`radio-image-${t.value}`,value:t.value,checked:e===t.value,onChange:e=>o(e.target.value)}),(0,l.createElement)("label",{htmlFor:`radio-image-${t.value}`},t.icon&&(0,l.createElement)("i",{className:`dashicons ${t.icon}`}),t.img&&(0,l.createElement)("img",{src:t.img,alt:t.label}),t?.svg)))))),b={hideSearch:{type:"boolean",default:!1},searchWidth:{type:"number",default:50},widthUnit:{type:"string",default:"%"},placeholder:{type:"string",default:(0,r.__)("Search for a top or question","wedocs")},alignment:{type:"string",default:"right"},bgColor:{type:"string",default:"#FFFFFF"},hoverColor:{type:"string",default:"#FFFFFF"},padding:{type:"object",default:{top:14,left:22,right:22,bottom:14}},margin:{type:"object",default:{top:0,left:0,right:0,bottom:0}},borderColor:{type:"string",default:"#cccccc"},borderType:{type:"string",default:"solid"},borderWidth:{type:"number",default:1},borderRadius:{type:"number",default:30},iconColor:{type:"string",default:"#FFFFFF"},iconBgColor:{type:"string",default:"#3b82f6"},iconHoverColor:{type:"string",default:"#2563eb"},svgHoverColor:{type:"string",default:"#FFFFFF"},btnPadding:{type:"object",default:{top:24,left:26,right:26,bottom:24}},btnPosition:{type:"object",default:{top:0,right:0,bottom:10}},btnRadius:{type:"number",default:30}};(0,a.registerBlockType)("wedocs/wedocs-search",{attributes:b,save:({attributes:e})=>{const{margin:t,bgColor:o,padding:a,btnRadius:r,alignment:n,iconColor:i,widthUnit:d,hoverColor:s,borderType:p,hideSearch:g,btnPadding:m,searchWidth:b,btnPosition:h,placeholder:_,borderColor:v,borderWidth:C,iconBgColor:w,borderRadius:f,svgHoverColor:E,iconHoverColor:x}=e;if(g)return;const y={display:"flex",justifyContent:n},B={border:`${C}px ${p} ${v}`,paddingTop:a?.top,paddingLeft:a?.left,paddingRight:a?.right,borderRadius:`${f}px`,paddingBottom:a?.bottom,"--field-color":o,"--field-bg-color":s},S={top:h?.top,left:h?.left,right:h?.right,bottom:h?.bottom,height:"auto",paddingTop:m?.top,paddingLeft:m?.left,borderRadius:r,paddingRight:m?.right,paddingBottom:m?.bottom,"--field-icon-color":i,"--field-btn-bg-color":w,"--field-icon-hover-color":E,"--field-btn-bg-hover-color":x};return(0,l.createElement)(c.Fragment,null,(0,l.createElement)("form",{method:"get",role:"search",action:weDocsBlockVars?.siteUrl,...u.useBlockProps.save({className:"search-form wedocs-search-form"})},(0,l.createElement)("div",{style:y},(0,l.createElement)("div",{className:"wedocs-search-input",style:{width:b+d,marginTop:t?.top,marginLeft:t?.left,marginRight:t?.right,marginBottom:t?.bottom}},(0,l.createElement)("input",{name:"s",type:"search",style:B,className:"search-field",placeholder:_}),(0,l.createElement)("input",{type:"hidden",name:"post_type",value:"docs"}),(0,l.createElement)("button",{type:"submit",style:S,className:"search-submit"},(0,l.createElement)("svg",{width:"15",height:"16",fill:"none"},(0,l.createElement)("path",{fillRule:"evenodd",d:"M11.856 10.847l2.883 2.883a.89.89 0 0 1 0 1.257c-.173.174-.401.261-.629.261s-.455-.087-.629-.261l-2.883-2.883c-1.144.874-2.532 1.353-3.996 1.353a6.56 6.56 0 0 1-4.671-1.935c-2.576-2.575-2.576-6.765 0-9.341C3.179.934 4.839.247 6.603.247s3.424.687 4.671 1.935a6.56 6.56 0 0 1 1.935 4.67 6.55 6.55 0 0 1-1.353 3.995zM3.189 3.439c-1.882 1.882-1.882 4.945 0 6.827.912.912 2.124 1.414 3.414 1.414s2.502-.502 3.414-1.414 1.414-2.124 1.414-3.413-.502-2.502-1.414-3.413-2.124-1.414-3.414-1.414-2.502.502-3.414 1.414z"})))))))},edit:({attributes:e,setAttributes:t})=>{const o=(0,u.useBlockProps)(),{margin:a,bgColor:n,padding:i,btnRadius:b,alignment:h,iconColor:_,widthUnit:v,hoverColor:C,borderType:w,hideSearch:f,btnPadding:E,searchWidth:x,btnPosition:y,placeholder:B,borderColor:S,borderWidth:k,iconBgColor:F,borderRadius:P,svgHoverColor:R,iconHoverColor:T}=e;console.log("editor panel:",n);const M=[{value:"left",label:(0,r.__)("Align left","wedocs"),svg:(0,l.createElement)("svg",{width:"24",height:"25",fill:"none",strokeWidth:"2",strokeLinecap:"round",stroke:"left"===h?"#007cba":"#939494",strokeLinejoin:"round"},(0,l.createElement)("path",{d:"M8 9.462h12m-12 6h6m-10-9v12"}))},{value:"center",label:(0,r.__)("Align center","wedocs"),svg:(0,l.createElement)("svg",{width:"24",height:"25",fill:"none",strokeWidth:"2",strokeLinecap:"round",stroke:"center"===h?"#007cba":"#939494",strokeLinejoin:"round"},(0,l.createElement)("path",{d:"M18 9.462H6m8.99 6h-6"}),(0,l.createElement)("path",{d:"M12 6.462v12"}))},{value:"right",label:(0,r.__)("Align right","wedocs"),svg:(0,l.createElement)("svg",{width:"24",height:"25",fill:"none",strokeWidth:"2",strokeLinecap:"round",stroke:"right"===h?"#007cba":"#939494",strokeLinejoin:"round"},(0,l.createElement)("path",{d:"M16 9.462H4m12 6h-6m10-9v12"}))}],[N,D]=(0,c.useState)(!1),[O,$]=(0,c.useState)(!1),[L,A]=(0,c.useState)(!1),H={display:"flex",justifyContent:h},j={border:`${k}px ${w} ${S}`,paddingTop:i?.top,background:N?C:n,paddingLeft:i?.left,paddingRight:i?.right,borderRadius:`${P}px`,paddingBottom:i?.bottom},I={top:y?.top,left:y?.left,right:y?.right,bottom:y?.bottom,height:"auto",background:L?T:F,paddingTop:E?.top,paddingLeft:E?.left,borderRadius:b,paddingRight:E?.right,paddingBottom:E?.bottom},V=[{label:(0,r.__)("Solid","wedocs"),value:"solid"},{label:(0,r.__)("Dotted","wedocs"),value:"dotted"},{label:(0,r.__)("Dashed","wedocs"),value:"dashed"},{label:(0,r.__)("Double","wedocs"),value:"double"},{label:(0,r.__)("Groove","wedocs"),value:"groove"},{label:(0,r.__)("Ridge","wedocs"),value:"ridge"},{label:(0,r.__)("Inset","wedocs"),value:"inset"},{label:(0,r.__)("Outset","wedocs"),value:"outset"},{label:(0,r.__)("None","wedocs"),value:"none"},{label:(0,r.__)("Hidden","wedocs"),value:"hidden"}];return(0,l.createElement)(c.Fragment,null,(0,l.createElement)(u.InspectorControls,null,(0,l.createElement)(p.PanelBody,null,(0,l.createElement)(p.ToggleControl,{checked:f,className:"wedocs-search-toggle",label:(0,r.__)("Disable Block","wedocs"),onChange:e=>t({hideSearch:e})})),!f&&(0,l.createElement)(c.Fragment,null,(0,l.createElement)(p.PanelBody,{title:(0,r.__)("Color Settings","wedocs"),icon:d,initialOpen:!1,className:"wedocs-search-color-settings"},(0,l.createElement)(u.PanelColorSettings,{colors:[{name:"Sweet",color:"#F43F5E"},{name:"Orange",color:"#F97316"},{name:"Yellow",color:"#FACC15"},{name:"Purple",color:"#8B5CF6"},{name:"Light Blue",color:"#3B82F6"},{name:"Light Green",color:"#10B981"}],colorSettings:[{value:n,label:(0,r.__)("Field Background Color","wedocs"),onChange:e=>t({bgColor:e})},{value:C,label:(0,r.__)("Field Hover Color","wedocs"),onChange:e=>t({hoverColor:e})},{value:S,label:(0,r.__)("Border Color","wedocs"),onChange:e=>t({borderColor:e})},{value:_,label:(0,r.__)("Icon Color","wedocs"),onChange:e=>t({iconColor:e})},{value:F,label:(0,r.__)("Button Color","wedocs"),onChange:e=>t({iconBgColor:e})},{value:T,label:(0,r.__)("Button Hover Color","wedocs"),onChange:e=>t({iconHoverColor:e})},{value:R,label:(0,r.__)("Icon Hover Color","wedocs"),onChange:e=>t({svgHoverColor:e})}]})),(0,l.createElement)(p.PanelBody,{title:(0,r.__)("Search Bar Settings","wedocs"),icon:s},(0,l.createElement)(g,{unit:v,value:x,label:(0,r.__)("Field Width","wedocs"),onUnitChange:e=>t({widthUnit:e}),onValueChange:e=>t({searchWidth:e?parseInt(e):0})}),(0,l.createElement)(p.TextControl,{value:B,label:(0,r.__)("Placeholder","wedocs"),placeholder:(0,r.__)("Search bar placeholder","wedocs"),onChange:e=>t({placeholder:e})}),(0,l.createElement)("p",{style:{fontSize:11}},(0,r.__)("POSITION","wedocs")),(0,l.createElement)(m,{selected:h,options:M,onChange:e=>t({alignment:e})}),(0,l.createElement)(p.__experimentalBoxControl,{resetValues:{top:"14px",left:"22px",right:"22px",bottom:"14px"},values:i,label:(0,r.__)("Field Padding","wedocs"),onChange:e=>t({padding:e})}),(0,l.createElement)(p.__experimentalBoxControl,{resetValues:{top:"0px",left:"0px",right:"0px",bottom:"0px"},values:a,label:(0,r.__)("Field Margin","wedocs"),onChange:e=>t({margin:e})}),(0,l.createElement)(p.RangeControl,{min:0,max:10,value:k,label:(0,r.__)("Border Width","wedocs"),onChange:e=>t({borderWidth:e})}),(0,l.createElement)(p.RangeControl,{min:0,max:100,value:P,label:(0,r.__)("Border Radius","wedocs"),onChange:e=>t({borderRadius:e})}),(0,l.createElement)(p.SelectControl,{value:w,options:V,label:(0,r.__)("Border Type","wedocs"),onChange:e=>t({borderType:e})}),(0,l.createElement)(p.__experimentalBoxControl,{resetValues:{top:"24px",left:"26px",right:"26px",bottom:"24px"},values:E,label:(0,r.__)("Button Padding","wedocs"),onChange:e=>t({btnPadding:e})}),(0,l.createElement)(p.__experimentalBoxControl,{resetValues:{top:"0px",right:"0px",bottom:"10px"},values:y,label:(0,r.__)("Button Margin","wedocs"),onChange:e=>t({btnPosition:e})}),(0,l.createElement)(p.RangeControl,{min:0,max:100,value:b,label:(0,r.__)("Button Radius","wedocs"),onChange:e=>t({btnRadius:e})})))),(0,l.createElement)("div",{...o,style:H},(0,l.createElement)("div",{className:"wedocs-editor-search-input",style:{width:x+v,marginTop:a?.top,marginLeft:a?.left,marginRight:a?.right,marginBottom:a?.bottom}},(0,l.createElement)("input",{readOnly:!0,style:j,className:"search-field",placeholder:B,onMouseEnter:()=>D(!0),onMouseLeave:()=>D(!1)}),(0,l.createElement)("input",{type:"hidden",name:"post_type",value:"docs"}),(0,l.createElement)("button",{type:"submit",style:I,className:"search-submit",onMouseEnter:()=>A(!0),onMouseLeave:()=>A(!1)},(0,l.createElement)("svg",{width:"15",height:"16",fill:"none",onMouseEnter:()=>$(!0),onMouseLeave:()=>$(!1)},(0,l.createElement)("path",{fill:O?R:_,fillRule:"evenodd",d:"M11.856 10.847l2.883 2.883a.89.89 0 0 1 0 1.257c-.173.174-.401.261-.629.261s-.455-.087-.629-.261l-2.883-2.883c-1.144.874-2.532 1.353-3.996 1.353a6.56 6.56 0 0 1-4.671-1.935c-2.576-2.575-2.576-6.765 0-9.341C3.179.934 4.839.247 6.603.247s3.424.687 4.671 1.935a6.56 6.56 0 0 1 1.935 4.67 6.55 6.55 0 0 1-1.353 3.995zM3.189 3.439c-1.882 1.882-1.882 4.945 0 6.827.912.912 2.124 1.414 3.414 1.414s2.502-.502 3.414-1.414 1.414-2.124 1.414-3.413-.502-2.502-1.414-3.413-2.124-1.414-3.414-1.414-2.502.502-3.414 1.414z"})))),f&&(0,l.createElement)("div",{className:"backdrop"})))},icon:(0,l.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.91421 1.5H5.5C4.39543 1.5 3.5 2.39543 3.5 3.5V6.91421V9.02779V15.5C3.5 16.6046 4.39543 17.5 5.5 17.5H7.02779C6.07771 16.4385 5.5 15.0367 5.5 13.5C5.5 10.1863 8.18629 7.5 11.5 7.5C13.0367 7.5 14.4385 8.07771 15.5 9.02779V8.5V6.91421C15.5 6.38378 15.2893 5.87507 14.9142 5.5L11.5 2.08579C11.1249 1.71071 10.6162 1.5 10.0858 1.5H8.91421ZM15.5 13.5C15.5 11.2909 13.7091 9.5 11.5 9.5C9.29086 9.5 7.5 11.2909 7.5 13.5C7.5 15.7091 9.29086 17.5 11.5 17.5C12.2414 17.5 12.9364 17.2977 13.5318 16.946L14.7929 18.2071C15.1834 18.5976 15.8166 18.5976 16.2071 18.2071C16.5976 17.8166 16.5976 17.1834 16.2071 16.7929L14.946 15.5318C15.2977 14.9364 15.5 14.2414 15.5 13.5ZM11.5 11.5C12.6046 11.5 13.5 12.3954 13.5 13.5C13.5 14.0526 13.2772 14.5512 12.9142 14.9142C12.5512 15.2772 12.0526 15.5 11.5 15.5C10.3954 15.5 9.5 14.6046 9.5 13.5C9.5 12.3954 10.3954 11.5 11.5 11.5Z",fill:"#111827"})),title:(0,r.__)("weDocs - Searchbar","wedocs"),keywords:["Search","weDocs search bar","Bar"],category:"widgets",description:(0,r.__)("Simple search forms for easy user guidance for your documentation","wedocs")});const h=({attributes:e,setAttributes:t})=>{const o=e=>o=>{t({[e]:o})},a=((0,r.__)("Solid","wedocs"),(0,r.__)("Dashed","wedocs"),(0,r.__)("Dotted","wedocs"),(0,r.__)("None","wedocs"),[{name:"Sweet",color:"#F43F5E"},{name:"Orange",color:"#F97316"},{name:"Yellow",color:"#FACC15"},{name:"Purple",color:"#8B5CF6"},{name:"Light Blue",color:"#3B82F6"},{name:"Light Green",color:"#10B981"}]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(p.PanelBody,{title:(0,r.__)("Grid Styles","wedocs"),icon:"admin-appearance",initialOpen:!1},(0,l.createElement)("label",null,(0,r.__)("Colors","wedocs")),(0,l.createElement)(u.PanelColorSettings,{colors:a,colorSettings:[{value:e.docTitleColor,label:(0,r.__)("Doc Title Color","wedocs"),onChange:e=>o("docTitleColor")(e)},{value:e.docChildrenActiveColor,label:(0,r.__)("Doc Children Active Color","wedocs"),onChange:e=>o("docChildrenActiveColor")(e)},{value:e.borderColor,label:(0,r.__)("Border Color","wedocs"),onChange:e=>o("borderColor")(e)}]}),(0,l.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Grid Padding","wedocs"),values:e.gridPadding,onChange:o("gridPadding")}),(0,l.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Grid Margin","wedocs"),values:e.gridMargin,onChange:o("gridMargin")}),(0,l.createElement)(p.SelectControl,{label:(0,r.__)("Border Type","wedocs"),value:e.borderType,options:[{label:(0,r.__)("Solid","wedocs"),value:"solid"},{label:(0,r.__)("Dashed","wedocs"),value:"dashed"},{label:(0,r.__)("Dotted","wedocs"),value:"dotted"},{label:(0,r.__)("None","wedocs"),value:"none"}],onChange:e=>t({borderType:e})}),(0,l.createElement)(p.SelectControl,{label:(0,r.__)("Border Width","wedocs"),value:e.borderWidth,options:[{label:"0px",value:"0px"},{label:"1px",value:"1px"},{label:"2px",value:"2px"},{label:"3px",value:"3px"},{label:"4px",value:"4px"},{label:"5px",value:"5px"}],onChange:e=>t({borderWidth:e})}),(0,l.createElement)(p.SelectControl,{label:(0,r.__)("Border Radius","wedocs"),value:e.borderRadius,options:[{label:"0px",value:"0px"},{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"}],onChange:e=>t({borderRadius:e})})),(0,l.createElement)(p.PanelBody,{title:(0,r.__)("Button Styles","wedocs"),icon:"admin-appearance",initialOpen:!1},(0,l.createElement)("label",null,(0,r.__)("Button Colors","wedocs")),(0,l.createElement)(u.PanelColorSettings,{colors:a,colorSettings:[{value:e.buttonColor,label:(0,r.__)("Button Color","wedocs"),onChange:e=>o("buttonColor")(e)},{value:e.buttonHoverColor,label:(0,r.__)("Button Hover Color","wedocs"),onChange:e=>o("buttonHoverColor")(e)},{value:e.buttonTextColor,label:(0,r.__)("Button Text Color","wedocs"),onChange:e=>o("buttonTextColor")(e)},{value:e.buttonHoverTextColor,label:(0,r.__)("Button Hover Text Color","wedocs"),onChange:e=>o("buttonHoverTextColor")(e)}]}),(0,l.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Button Padding","wedocs"),values:e.buttonPadding,onChange:o("buttonPadding")}),(0,l.createElement)(p.__experimentalBoxControl,{label:(0,r.__)("Button Margin","wedocs"),values:e.buttonMargin,onChange:o("buttonMargin")}),(0,l.createElement)(p.SelectControl,{label:(0,r.__)("Button Border Radius","wedocs"),value:e.buttonBorderRadius,options:[{label:"0px",value:"0px"},{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"}],onChange:e=>t({buttonBorderRadius:e})}),(0,l.createElement)("div",{className:"wedocs-color-control"},(0,l.createElement)("label",null,(0,r.__)("Button Text","wedocs")),(0,l.createElement)(p.TextControl,{value:e.buttonText,onChange:o("buttonText")}))))},_=JSON.parse('{"UU":"wedocs/wedocs-docs-grid"}');(0,a.registerBlockType)(_.UU,{edit:({attributes:e,setAttributes:t})=>{const o=(0,u.useBlockProps)(),{useSelect:a}=wp.data,[n,i]=(0,c.useState)(1),[d,g]=(0,c.useState)(!1),{hideDocGrid:m,docStyle:b,docsPerPage:_,excludeDocs:v,order:C,orderBy:w,sectionsPerDoc:f,articlesPerSection:E,showDocArticle:x,keepArticlesCollapsed:y,showViewDetails:B,gridPadding:S,gridMargin:k,docTitleColor:F,docChildrenActiveColor:P,borderType:R,borderRadius:T,borderWidth:M,borderColor:N,buttonBorderRadius:D,buttonPadding:O,buttonMargin:$,buttonColor:L,buttonHoverColor:A,buttonTextColor:H,buttonText:j,buttonHoverTextColor:I}=e,V=[{label:"All",value:"all"},...Array.from({length:10},((e,t)=>({label:String(t+1),value:String(t+1)})))],W=[{label:(0,r.__)("weDocs Order","wedocs"),value:"menu_order"},{label:(0,r.__)("ID","wedocs"),value:"id"},{label:(0,r.__)("Name","wedocs"),value:"title"}],z=[{label:(0,r.__)("Ascending","wedocs"),value:"asc"},{label:(0,r.__)("Descending","wedocs"),value:"desc"}],U=[{label:"All",value:"all"},...Array.from({length:10},((e,t)=>({label:String(t+1),value:String(t+1)})))],{pages:G,sections:Y,articles:Z}=a((e=>{const{getEntityRecords:t}=e("core"),o=t("postType","docs",{status:"publish",per_page:-1,parent:0,orderby:w,order:C}),l=o?t("postType","docs",{status:"publish",parent_in:o.map((e=>e.id)),per_page:-1}):null,a=l?t("postType","docs",{status:"publish",parent_in:l.map((e=>e.id)),per_page:-1}):null;return{pages:o,sections:l,articles:a}}),[w,C]),q=(e=>{if("all"===_)return e;const t=parseInt(_),o=(n-1)*t,l=o+t;return e.slice(o,l)})((()=>{if(!G||!Y||!Z)return[];let e=[...G];return v&&v.length>0&&(e=e.filter((e=>!v.includes(e.id.toString())))),e=e.map((e=>{let t=Y.filter((t=>t.parent===e.id));"all"!==f&&(t=t.slice(0,parseInt(f))),t=t.map((e=>{let t=Z.filter((t=>t.parent===e.id));return"all"!==E&&(t=t.slice(0,parseInt(E))),{...e,articles:t}}));const o=t.reduce(((e,t)=>e+t.articles.length),0);return{...e,sections:t,articleCount:o}})),e})()),J=G?G.reduce(((e,t)=>(e[t.id]=t.title.rendered,e)),{}):{},K=(G&&G.map((e=>({value:e.id.toString(),label:e.title.rendered}))),e=>o=>{t({[e]:o})}),Q=v?v.map((e=>J[e]||e)):[];return(0,l.createElement)(c.Fragment,null,(0,l.createElement)(u.InspectorControls,null,(0,l.createElement)(p.PanelBody,{title:(0,r.__)("Doc Grid Settings","wedocs"),icon:s,initialOpen:!1},(0,l.createElement)(p.SelectControl,{value:b,options:[{label:"1x1",value:"1x1"},{label:"1x2",value:"1x2"}],label:(0,r.__)("DOCS GRID COLUMN STYLE","wedocs"),onChange:K("docStyle")}),(0,l.createElement)(p.SelectControl,{value:_,options:V,label:(0,r.__)("Docs per page","wedocs"),onChange:K("docsPerPage")}),(0,l.createElement)(p.FormTokenField,{value:Q,suggestions:Object.values(J),label:(0,r.__)("Exclude Docs","wedocs"),onChange:e=>{const o=e.map((e=>{const t=Object.entries(J).find((([t,o])=>o===e));return t?t[0]:e}));t({excludeDocs:o})}}),(0,l.createElement)(p.SelectControl,{value:C,options:z,label:(0,r.__)("Order","wedocs"),onChange:K("order")}),(0,l.createElement)(p.SelectControl,{value:w,options:W,label:(0,r.__)("Order by","wedocs"),onChange:K("orderBy")}),(0,l.createElement)(p.SelectControl,{value:f,options:U,label:(0,r.__)("Sections per doc","wedocs"),onChange:K("sectionsPerDoc")}),(0,l.createElement)(p.SelectControl,{value:E,options:U,label:(0,r.__)("Articles per section","wedocs"),onChange:K("articlesPerSection")}),(0,l.createElement)(p.PanelRow,null,(0,l.createElement)(p.ToggleControl,{checked:x,label:(0,r.__)("Show Doc Article","wedocs"),onChange:K("showDocArticle")})),(0,l.createElement)(p.PanelRow,null,(0,l.createElement)(p.ToggleControl,{checked:y,label:(0,r.__)("Keep Article Collapsed","wedocs"),onChange:K("keepArticlesCollapsed")})),(0,l.createElement)(p.PanelRow,null,(0,l.createElement)(p.ToggleControl,{checked:B,label:(0,r.__)("Show View Details Button","wedocs"),onChange:K("showViewDetails")})))),(0,l.createElement)(u.InspectorControls,null,(0,l.createElement)(h,{attributes:e,setAttributes:t})),(0,l.createElement)("div",{...o},m?(0,l.createElement)("div",{className:"backdrop"}):(0,l.createElement)("div",{className:"wedocs-block-wrapper"},(0,l.createElement)("div",{className:`wedocs-docs-grid wedocs-docs-grid--${b}`},d?(0,l.createElement)(Spinner,null):q.map((e=>((e,t)=>(0,l.createElement)("div",{key:e.id,className:"wedocs-docs-grid__item",style:t.item},(0,l.createElement)("h3",{className:"wedocs-docs-grid__title",style:t.title},e.title.rendered),((e,t)=>e.sections?(0,l.createElement)("div",{className:"wedocs-docs-grid__sections "+(y?"is-collapsed":"")},e.sections.map((e=>(0,l.createElement)("div",{key:e.id,className:"wedocs-docs-grid__section"},(0,l.createElement)("h4",{className:"wedocs-docs-grid__section-title",style:{...t.title,display:"flex",justifyContent:"space-between",alignItems:"center"}},(0,l.createElement)("span",null,e.title.rendered),x&&e.articles&&e.articles.length>0&&(0,l.createElement)("svg",{fill:"none",viewBox:"0 0 24 24",width:"16",strokeWidth:"2",stroke:"#acb8c4",className:y?"":"active"},(0,l.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"}))),x&&!y&&e.articles&&(0,l.createElement)("ul",{className:"wedocs-docs-grid__articles"},e.articles.map((e=>(0,l.createElement)("li",{key:e.id,className:"wedocs-docs-grid__article",style:t.children},e.title.rendered))))))),0===e.sections.length&&(0,l.createElement)("span",{className:"inside"},(0,l.createElement)("svg",{fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},(0,l.createElement)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"})),(0,r.__)("This document has no sections yet. Check back later or wait for the author to add content.","wedocs"))):null)(e,t),B&&(0,l.createElement)("div",{className:"wedocs-docs-grid__details"},(0,l.createElement)("span",{className:"wedocs-docs-grid__details-link",style:t.button},t.button.text))))(e,(()=>{const e=S?`${S.top} ${S.right} ${S.bottom} ${S.left}`:"",t=k?`${k.top} ${k.right} ${k.bottom} ${k.left}`:"",o=O?`${O.top} ${O.right} ${O.bottom} ${O.left}`:"",l=D||"8px",a=$?`${$.top} ${$.right} ${$.bottom} ${$.left}`:"";return{item:{padding:e,margin:t,borderStyle:R||"solid",borderWidth:M||"1px",borderColor:N||"rgba(0, 0, 0, 0.1)",borderRadius:T||"8px",backgroundColor:"#fff"},title:{color:F||"#1e1e1e"},children:{color:P||"#0073aa"},button:{padding:o,margin:a,backgroundColor:L||"#0073aa",color:H||"#ffffff",text:j||(0,r.__)("View Details","wedocs"),borderRadius:l||"8px","--hover-bg":A||"#005177","--hover-color":I||"#ffffff"}}})())))))))},save:()=>null})},609:e=>{e.exports=window.React}},o={};function l(e){var a=o[e];if(void 0!==a)return a.exports;var r=o[e]={exports:{}};return t[e](r,r.exports,l),r.exports}l.m=t,e=[],l.O=(t,o,a,r)=>{if(!o){var n=1/0;for(c=0;c=r)&&Object.keys(l.O).every((e=>l.O[e](o[d])))?o.splice(d--,1):(i=!1,r0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[o,a,r]},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={366:0,337:0};l.O.j=t=>0===e[t];var t=(t,o)=>{var a,r,n=o[0],i=o[1],d=o[2],s=0;if(n.some((t=>0!==e[t]))){for(a in i)l.o(i,a)&&(l.m[a]=i[a]);if(d)var c=d(l)}for(t&&t(o);sl(445)));a=l.O(a)})(); \ No newline at end of file +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./node_modules/@wordpress/icons/build-module/library/cog.js": +/*!*******************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/cog.js ***! + \*******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/@wordpress/icons/node_modules/react/jsx-runtime.js"); +/** + * WordPress dependencies + */ + + +const cog = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + fillRule: "evenodd", + d: "M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z", + clipRule: "evenodd" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cog); +//# sourceMappingURL=cog.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/build-module/library/shadow.js": +/*!**********************************************************************!*\ + !*** ./node_modules/@wordpress/icons/build-module/library/shadow.js ***! + \**********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives"); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/@wordpress/icons/node_modules/react/jsx-runtime.js"); +/** + * WordPress dependencies + */ + + +const shadow = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.SVG, { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_0__.Path, { + d: "M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z" + }) +}); +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (shadow); +//# sourceMappingURL=shadow.js.map + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/node_modules/react/cjs/react-jsx-runtime.development.js": +/*!***********************************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/node_modules/react/cjs/react-jsx-runtime.development.js ***! + \***********************************************************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +/** + * @license React + * react-jsx-runtime.development.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + + + +if (true) { + (function() { +'use strict'; + +var React = __webpack_require__(/*! react */ "react"); + +// ATTENTION +// When adding new symbols to this file, +// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols' +// The Symbol used to tag the ReactElement-like types. +var REACT_ELEMENT_TYPE = Symbol.for('react.element'); +var REACT_PORTAL_TYPE = Symbol.for('react.portal'); +var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment'); +var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode'); +var REACT_PROFILER_TYPE = Symbol.for('react.profiler'); +var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); +var REACT_CONTEXT_TYPE = Symbol.for('react.context'); +var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); +var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); +var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); +var REACT_MEMO_TYPE = Symbol.for('react.memo'); +var REACT_LAZY_TYPE = Symbol.for('react.lazy'); +var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen'); +var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; +var FAUX_ITERATOR_SYMBOL = '@@iterator'; +function getIteratorFn(maybeIterable) { + if (maybeIterable === null || typeof maybeIterable !== 'object') { + return null; + } + + var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]; + + if (typeof maybeIterator === 'function') { + return maybeIterator; + } + + return null; +} + +var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + +function error(format) { + { + { + for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { + args[_key2 - 1] = arguments[_key2]; + } + + printWarning('error', format, args); + } + } +} + +function printWarning(level, format, args) { + // When changing this logic, you might want to also + // update consoleWithStackDev.www.js as well. + { + var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; + var stack = ReactDebugCurrentFrame.getStackAddendum(); + + if (stack !== '') { + format += '%s'; + args = args.concat([stack]); + } // eslint-disable-next-line react-internal/safe-string-coercion + + + var argsWithFormat = args.map(function (item) { + return String(item); + }); // Careful: RN currently depends on this prefix + + argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it + // breaks IE9: https://github.com/facebook/react/issues/13610 + // eslint-disable-next-line react-internal/no-production-logging + + Function.prototype.apply.call(console[level], console, argsWithFormat); + } +} + +// ----------------------------------------------------------------------------- + +var enableScopeAPI = false; // Experimental Create Event Handle API. +var enableCacheElement = false; +var enableTransitionTracing = false; // No known bugs, but needs performance testing + +var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber +// stuff. Intended to enable React core members to more easily debug scheduling +// issues in DEV builds. + +var enableDebugTracing = false; // Track which Fiber(s) schedule render work. + +var REACT_MODULE_REFERENCE; + +{ + REACT_MODULE_REFERENCE = Symbol.for('react.module.reference'); +} + +function isValidElementType(type) { + if (typeof type === 'string' || typeof type === 'function') { + return true; + } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill). + + + if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) { + return true; + } + + if (typeof type === 'object' && type !== null) { + if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object + // types supported by any Flight configuration anywhere since + // we don't know which Flight build this will end up being used + // with. + type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) { + return true; + } + } + + return false; +} + +function getWrappedName(outerType, innerType, wrapperName) { + var displayName = outerType.displayName; + + if (displayName) { + return displayName; + } + + var functionName = innerType.displayName || innerType.name || ''; + return functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName; +} // Keep in sync with react-reconciler/getComponentNameFromFiber + + +function getContextName(type) { + return type.displayName || 'Context'; +} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead. + + +function getComponentNameFromType(type) { + if (type == null) { + // Host root, text node or just invalid type. + return null; + } + + { + if (typeof type.tag === 'number') { + error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.'); + } + } + + if (typeof type === 'function') { + return type.displayName || type.name || null; + } + + if (typeof type === 'string') { + return type; + } + + switch (type) { + case REACT_FRAGMENT_TYPE: + return 'Fragment'; + + case REACT_PORTAL_TYPE: + return 'Portal'; + + case REACT_PROFILER_TYPE: + return 'Profiler'; + + case REACT_STRICT_MODE_TYPE: + return 'StrictMode'; + + case REACT_SUSPENSE_TYPE: + return 'Suspense'; + + case REACT_SUSPENSE_LIST_TYPE: + return 'SuspenseList'; + + } + + if (typeof type === 'object') { + switch (type.$$typeof) { + case REACT_CONTEXT_TYPE: + var context = type; + return getContextName(context) + '.Consumer'; + + case REACT_PROVIDER_TYPE: + var provider = type; + return getContextName(provider._context) + '.Provider'; + + case REACT_FORWARD_REF_TYPE: + return getWrappedName(type, type.render, 'ForwardRef'); + + case REACT_MEMO_TYPE: + var outerName = type.displayName || null; + + if (outerName !== null) { + return outerName; + } + + return getComponentNameFromType(type.type) || 'Memo'; + + case REACT_LAZY_TYPE: + { + var lazyComponent = type; + var payload = lazyComponent._payload; + var init = lazyComponent._init; + + try { + return getComponentNameFromType(init(payload)); + } catch (x) { + return null; + } + } + + // eslint-disable-next-line no-fallthrough + } + } + + return null; +} + +var assign = Object.assign; + +// Helpers to patch console.logs to avoid logging during side-effect free +// replaying on render function. This currently only patches the object +// lazily which won't cover if the log function was extracted eagerly. +// We could also eagerly patch the method. +var disabledDepth = 0; +var prevLog; +var prevInfo; +var prevWarn; +var prevError; +var prevGroup; +var prevGroupCollapsed; +var prevGroupEnd; + +function disabledLog() {} + +disabledLog.__reactDisabledLog = true; +function disableLogs() { + { + if (disabledDepth === 0) { + /* eslint-disable react-internal/no-production-logging */ + prevLog = console.log; + prevInfo = console.info; + prevWarn = console.warn; + prevError = console.error; + prevGroup = console.group; + prevGroupCollapsed = console.groupCollapsed; + prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099 + + var props = { + configurable: true, + enumerable: true, + value: disabledLog, + writable: true + }; // $FlowFixMe Flow thinks console is immutable. + + Object.defineProperties(console, { + info: props, + log: props, + warn: props, + error: props, + group: props, + groupCollapsed: props, + groupEnd: props + }); + /* eslint-enable react-internal/no-production-logging */ + } + + disabledDepth++; + } +} +function reenableLogs() { + { + disabledDepth--; + + if (disabledDepth === 0) { + /* eslint-disable react-internal/no-production-logging */ + var props = { + configurable: true, + enumerable: true, + writable: true + }; // $FlowFixMe Flow thinks console is immutable. + + Object.defineProperties(console, { + log: assign({}, props, { + value: prevLog + }), + info: assign({}, props, { + value: prevInfo + }), + warn: assign({}, props, { + value: prevWarn + }), + error: assign({}, props, { + value: prevError + }), + group: assign({}, props, { + value: prevGroup + }), + groupCollapsed: assign({}, props, { + value: prevGroupCollapsed + }), + groupEnd: assign({}, props, { + value: prevGroupEnd + }) + }); + /* eslint-enable react-internal/no-production-logging */ + } + + if (disabledDepth < 0) { + error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.'); + } + } +} + +var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; +var prefix; +function describeBuiltInComponentFrame(name, source, ownerFn) { + { + if (prefix === undefined) { + // Extract the VM specific prefix used by each line. + try { + throw Error(); + } catch (x) { + var match = x.stack.trim().match(/\n( *(at )?)/); + prefix = match && match[1] || ''; + } + } // We use the prefix to ensure our stacks line up with native stack frames. + + + return '\n' + prefix + name; + } +} +var reentry = false; +var componentFrameCache; + +{ + var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map; + componentFrameCache = new PossiblyWeakMap(); +} + +function describeNativeComponentFrame(fn, construct) { + // If something asked for a stack inside a fake render, it should get ignored. + if ( !fn || reentry) { + return ''; + } + + { + var frame = componentFrameCache.get(fn); + + if (frame !== undefined) { + return frame; + } + } + + var control; + reentry = true; + var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined. + + Error.prepareStackTrace = undefined; + var previousDispatcher; + + { + previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function + // for warnings. + + ReactCurrentDispatcher.current = null; + disableLogs(); + } + + try { + // This should throw. + if (construct) { + // Something should be setting the props in the constructor. + var Fake = function () { + throw Error(); + }; // $FlowFixMe + + + Object.defineProperty(Fake.prototype, 'props', { + set: function () { + // We use a throwing setter instead of frozen or non-writable props + // because that won't throw in a non-strict mode function. + throw Error(); + } + }); + + if (typeof Reflect === 'object' && Reflect.construct) { + // We construct a different control for this case to include any extra + // frames added by the construct call. + try { + Reflect.construct(Fake, []); + } catch (x) { + control = x; + } + + Reflect.construct(fn, [], Fake); + } else { + try { + Fake.call(); + } catch (x) { + control = x; + } + + fn.call(Fake.prototype); + } + } else { + try { + throw Error(); + } catch (x) { + control = x; + } + + fn(); + } + } catch (sample) { + // This is inlined manually because closure doesn't do it for us. + if (sample && control && typeof sample.stack === 'string') { + // This extracts the first frame from the sample that isn't also in the control. + // Skipping one frame that we assume is the frame that calls the two. + var sampleLines = sample.stack.split('\n'); + var controlLines = control.stack.split('\n'); + var s = sampleLines.length - 1; + var c = controlLines.length - 1; + + while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) { + // We expect at least one stack frame to be shared. + // Typically this will be the root most one. However, stack frames may be + // cut off due to maximum stack limits. In this case, one maybe cut off + // earlier than the other. We assume that the sample is longer or the same + // and there for cut off earlier. So we should find the root most frame in + // the sample somewhere in the control. + c--; + } + + for (; s >= 1 && c >= 0; s--, c--) { + // Next we find the first one that isn't the same which should be the + // frame that called our sample function and the control. + if (sampleLines[s] !== controlLines[c]) { + // In V8, the first line is describing the message but other VMs don't. + // If we're about to return the first line, and the control is also on the same + // line, that's a pretty good indicator that our sample threw at same line as + // the control. I.e. before we entered the sample frame. So we ignore this result. + // This can happen if you passed a class to function component, or non-function. + if (s !== 1 || c !== 1) { + do { + s--; + c--; // We may still have similar intermediate frames from the construct call. + // The next one that isn't the same should be our match though. + + if (c < 0 || sampleLines[s] !== controlLines[c]) { + // V8 adds a "new" prefix for native classes. Let's remove it to make it prettier. + var _frame = '\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled "" + // but we have a user-provided "displayName" + // splice it in to make the stack more readable. + + + if (fn.displayName && _frame.includes('')) { + _frame = _frame.replace('', fn.displayName); + } + + { + if (typeof fn === 'function') { + componentFrameCache.set(fn, _frame); + } + } // Return the line we found. + + + return _frame; + } + } while (s >= 1 && c >= 0); + } + + break; + } + } + } + } finally { + reentry = false; + + { + ReactCurrentDispatcher.current = previousDispatcher; + reenableLogs(); + } + + Error.prepareStackTrace = previousPrepareStackTrace; + } // Fallback to just using the name if we couldn't make it throw. + + + var name = fn ? fn.displayName || fn.name : ''; + var syntheticFrame = name ? describeBuiltInComponentFrame(name) : ''; + + { + if (typeof fn === 'function') { + componentFrameCache.set(fn, syntheticFrame); + } + } + + return syntheticFrame; +} +function describeFunctionComponentFrame(fn, source, ownerFn) { + { + return describeNativeComponentFrame(fn, false); + } +} + +function shouldConstruct(Component) { + var prototype = Component.prototype; + return !!(prototype && prototype.isReactComponent); +} + +function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) { + + if (type == null) { + return ''; + } + + if (typeof type === 'function') { + { + return describeNativeComponentFrame(type, shouldConstruct(type)); + } + } + + if (typeof type === 'string') { + return describeBuiltInComponentFrame(type); + } + + switch (type) { + case REACT_SUSPENSE_TYPE: + return describeBuiltInComponentFrame('Suspense'); + + case REACT_SUSPENSE_LIST_TYPE: + return describeBuiltInComponentFrame('SuspenseList'); + } + + if (typeof type === 'object') { + switch (type.$$typeof) { + case REACT_FORWARD_REF_TYPE: + return describeFunctionComponentFrame(type.render); + + case REACT_MEMO_TYPE: + // Memo may contain any component type so we recursively resolve it. + return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn); + + case REACT_LAZY_TYPE: + { + var lazyComponent = type; + var payload = lazyComponent._payload; + var init = lazyComponent._init; + + try { + // Lazy may contain any component type so we recursively resolve it. + return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn); + } catch (x) {} + } + } + } + + return ''; +} + +var hasOwnProperty = Object.prototype.hasOwnProperty; + +var loggedTypeFailures = {}; +var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; + +function setCurrentlyValidatingElement(element) { + { + if (element) { + var owner = element._owner; + var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null); + ReactDebugCurrentFrame.setExtraStackFrame(stack); + } else { + ReactDebugCurrentFrame.setExtraStackFrame(null); + } + } +} + +function checkPropTypes(typeSpecs, values, location, componentName, element) { + { + // $FlowFixMe This is okay but Flow doesn't know it. + var has = Function.call.bind(hasOwnProperty); + + for (var typeSpecName in typeSpecs) { + if (has(typeSpecs, typeSpecName)) { + var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to + // fail the render phase where it didn't fail before. So we log it. + // After these have been cleaned up, we'll let them throw. + + try { + // This is intentionally an invariant that gets caught. It's the same + // behavior as without this statement except with a better message. + if (typeof typeSpecs[typeSpecName] !== 'function') { + // eslint-disable-next-line react-internal/prod-error-codes + var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'); + err.name = 'Invariant Violation'; + throw err; + } + + error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'); + } catch (ex) { + error$1 = ex; + } + + if (error$1 && !(error$1 instanceof Error)) { + setCurrentlyValidatingElement(element); + + error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1); + + setCurrentlyValidatingElement(null); + } + + if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) { + // Only monitor this failure once because there tends to be a lot of the + // same error. + loggedTypeFailures[error$1.message] = true; + setCurrentlyValidatingElement(element); + + error('Failed %s type: %s', location, error$1.message); + + setCurrentlyValidatingElement(null); + } + } + } + } +} + +var isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare + +function isArray(a) { + return isArrayImpl(a); +} + +/* + * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol + * and Temporal.* types. See https://github.com/facebook/react/pull/22064. + * + * The functions in this module will throw an easier-to-understand, + * easier-to-debug exception with a clear errors message message explaining the + * problem. (Instead of a confusing exception thrown inside the implementation + * of the `value` object). + */ +// $FlowFixMe only called in DEV, so void return is not possible. +function typeName(value) { + { + // toStringTag is needed for namespaced types like Temporal.Instant + var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag; + var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object'; + return type; + } +} // $FlowFixMe only called in DEV, so void return is not possible. + + +function willCoercionThrow(value) { + { + try { + testStringCoercion(value); + return false; + } catch (e) { + return true; + } + } +} + +function testStringCoercion(value) { + // If you ended up here by following an exception call stack, here's what's + // happened: you supplied an object or symbol value to React (as a prop, key, + // DOM attribute, CSS property, string ref, etc.) and when React tried to + // coerce it to a string using `'' + value`, an exception was thrown. + // + // The most common types that will cause this exception are `Symbol` instances + // and Temporal objects like `Temporal.Instant`. But any object that has a + // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this + // exception. (Library authors do this to prevent users from using built-in + // numeric operators like `+` or comparison operators like `>=` because custom + // methods are needed to perform accurate arithmetic or comparison.) + // + // To fix the problem, coerce this object or symbol value to a string before + // passing it to React. The most reliable way is usually `String(value)`. + // + // To find which value is throwing, check the browser or debugger console. + // Before this exception was thrown, there should be `console.error` output + // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the + // problem and how that type was used: key, atrribute, input value prop, etc. + // In most cases, this console output also shows the component and its + // ancestor components where the exception happened. + // + // eslint-disable-next-line react-internal/safe-string-coercion + return '' + value; +} +function checkKeyStringCoercion(value) { + { + if (willCoercionThrow(value)) { + error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + + return testStringCoercion(value); // throw (to help callers find troubleshooting comments) + } + } +} + +var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; +var RESERVED_PROPS = { + key: true, + ref: true, + __self: true, + __source: true +}; +var specialPropKeyWarningShown; +var specialPropRefWarningShown; +var didWarnAboutStringRefs; + +{ + didWarnAboutStringRefs = {}; +} + +function hasValidRef(config) { + { + if (hasOwnProperty.call(config, 'ref')) { + var getter = Object.getOwnPropertyDescriptor(config, 'ref').get; + + if (getter && getter.isReactWarning) { + return false; + } + } + } + + return config.ref !== undefined; +} + +function hasValidKey(config) { + { + if (hasOwnProperty.call(config, 'key')) { + var getter = Object.getOwnPropertyDescriptor(config, 'key').get; + + if (getter && getter.isReactWarning) { + return false; + } + } + } + + return config.key !== undefined; +} + +function warnIfStringRefCannotBeAutoConverted(config, self) { + { + if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) { + var componentName = getComponentNameFromType(ReactCurrentOwner.current.type); + + if (!didWarnAboutStringRefs[componentName]) { + error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref); + + didWarnAboutStringRefs[componentName] = true; + } + } + } +} + +function defineKeyPropWarningGetter(props, displayName) { + { + var warnAboutAccessingKey = function () { + if (!specialPropKeyWarningShown) { + specialPropKeyWarningShown = true; + + error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName); + } + }; + + warnAboutAccessingKey.isReactWarning = true; + Object.defineProperty(props, 'key', { + get: warnAboutAccessingKey, + configurable: true + }); + } +} + +function defineRefPropWarningGetter(props, displayName) { + { + var warnAboutAccessingRef = function () { + if (!specialPropRefWarningShown) { + specialPropRefWarningShown = true; + + error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName); + } + }; + + warnAboutAccessingRef.isReactWarning = true; + Object.defineProperty(props, 'ref', { + get: warnAboutAccessingRef, + configurable: true + }); + } +} +/** + * Factory method to create a new React element. This no longer adheres to + * the class pattern, so do not use new to call it. Also, instanceof check + * will not work. Instead test $$typeof field against Symbol.for('react.element') to check + * if something is a React Element. + * + * @param {*} type + * @param {*} props + * @param {*} key + * @param {string|object} ref + * @param {*} owner + * @param {*} self A *temporary* helper to detect places where `this` is + * different from the `owner` when React.createElement is called, so that we + * can warn. We want to get rid of owner and replace string `ref`s with arrow + * functions, and as long as `this` and owner are the same, there will be no + * change in behavior. + * @param {*} source An annotation object (added by a transpiler or otherwise) + * indicating filename, line number, and/or other information. + * @internal + */ + + +var ReactElement = function (type, key, ref, self, source, owner, props) { + var element = { + // This tag allows us to uniquely identify this as a React Element + $$typeof: REACT_ELEMENT_TYPE, + // Built-in properties that belong on the element + type: type, + key: key, + ref: ref, + props: props, + // Record the component responsible for creating this element. + _owner: owner + }; + + { + // The validation flag is currently mutative. We put it on + // an external backing store so that we can freeze the whole object. + // This can be replaced with a WeakMap once they are implemented in + // commonly used development environments. + element._store = {}; // To make comparing ReactElements easier for testing purposes, we make + // the validation flag non-enumerable (where possible, which should + // include every environment we run tests in), so the test framework + // ignores it. + + Object.defineProperty(element._store, 'validated', { + configurable: false, + enumerable: false, + writable: true, + value: false + }); // self and source are DEV only properties. + + Object.defineProperty(element, '_self', { + configurable: false, + enumerable: false, + writable: false, + value: self + }); // Two elements created in two different places should be considered + // equal for testing purposes and therefore we hide it from enumeration. + + Object.defineProperty(element, '_source', { + configurable: false, + enumerable: false, + writable: false, + value: source + }); + + if (Object.freeze) { + Object.freeze(element.props); + Object.freeze(element); + } + } + + return element; +}; +/** + * https://github.com/reactjs/rfcs/pull/107 + * @param {*} type + * @param {object} props + * @param {string} key + */ + +function jsxDEV(type, config, maybeKey, source, self) { + { + var propName; // Reserved names are extracted + + var props = {}; + var key = null; + var ref = null; // Currently, key can be spread in as a prop. This causes a potential + // issue if key is also explicitly declared (ie.
+ // or
). We want to deprecate key spread, + // but as an intermediary step, we will use jsxDEV for everything except + //
, because we aren't currently able to tell if + // key is explicitly declared to be undefined or not. + + if (maybeKey !== undefined) { + { + checkKeyStringCoercion(maybeKey); + } + + key = '' + maybeKey; + } + + if (hasValidKey(config)) { + { + checkKeyStringCoercion(config.key); + } + + key = '' + config.key; + } + + if (hasValidRef(config)) { + ref = config.ref; + warnIfStringRefCannotBeAutoConverted(config, self); + } // Remaining properties are added to a new props object + + + for (propName in config) { + if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { + props[propName] = config[propName]; + } + } // Resolve default props + + + if (type && type.defaultProps) { + var defaultProps = type.defaultProps; + + for (propName in defaultProps) { + if (props[propName] === undefined) { + props[propName] = defaultProps[propName]; + } + } + } + + if (key || ref) { + var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type; + + if (key) { + defineKeyPropWarningGetter(props, displayName); + } + + if (ref) { + defineRefPropWarningGetter(props, displayName); + } + } + + return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); + } +} + +var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner; +var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame; + +function setCurrentlyValidatingElement$1(element) { + { + if (element) { + var owner = element._owner; + var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null); + ReactDebugCurrentFrame$1.setExtraStackFrame(stack); + } else { + ReactDebugCurrentFrame$1.setExtraStackFrame(null); + } + } +} + +var propTypesMisspellWarningShown; + +{ + propTypesMisspellWarningShown = false; +} +/** + * Verifies the object is a ReactElement. + * See https://reactjs.org/docs/react-api.html#isvalidelement + * @param {?object} object + * @return {boolean} True if `object` is a ReactElement. + * @final + */ + + +function isValidElement(object) { + { + return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; + } +} + +function getDeclarationErrorAddendum() { + { + if (ReactCurrentOwner$1.current) { + var name = getComponentNameFromType(ReactCurrentOwner$1.current.type); + + if (name) { + return '\n\nCheck the render method of `' + name + '`.'; + } + } + + return ''; + } +} + +function getSourceInfoErrorAddendum(source) { + { + if (source !== undefined) { + var fileName = source.fileName.replace(/^.*[\\\/]/, ''); + var lineNumber = source.lineNumber; + return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.'; + } + + return ''; + } +} +/** + * Warn if there's no key explicitly set on dynamic arrays of children or + * object keys are not valid. This allows us to keep track of children between + * updates. + */ + + +var ownerHasKeyUseWarning = {}; + +function getCurrentComponentErrorInfo(parentType) { + { + var info = getDeclarationErrorAddendum(); + + if (!info) { + var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name; + + if (parentName) { + info = "\n\nCheck the top-level render call using <" + parentName + ">."; + } + } + + return info; + } +} +/** + * Warn if the element doesn't have an explicit key assigned to it. + * This element is in an array. The array could grow and shrink or be + * reordered. All children that haven't already been validated are required to + * have a "key" property assigned to it. Error statuses are cached so a warning + * will only be shown once. + * + * @internal + * @param {ReactElement} element Element that requires a key. + * @param {*} parentType element's parent's type. + */ + + +function validateExplicitKey(element, parentType) { + { + if (!element._store || element._store.validated || element.key != null) { + return; + } + + element._store.validated = true; + var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType); + + if (ownerHasKeyUseWarning[currentComponentErrorInfo]) { + return; + } + + ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a + // property, it may be the creator of the child that's responsible for + // assigning it a key. + + var childOwner = ''; + + if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) { + // Give the component that originally created this child. + childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + "."; + } + + setCurrentlyValidatingElement$1(element); + + error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner); + + setCurrentlyValidatingElement$1(null); + } +} +/** + * Ensure that every element either is passed in a static location, in an + * array with an explicit keys property defined, or in an object literal + * with valid key property. + * + * @internal + * @param {ReactNode} node Statically passed child of any type. + * @param {*} parentType node's parent's type. + */ + + +function validateChildKeys(node, parentType) { + { + if (typeof node !== 'object') { + return; + } + + if (isArray(node)) { + for (var i = 0; i < node.length; i++) { + var child = node[i]; + + if (isValidElement(child)) { + validateExplicitKey(child, parentType); + } + } + } else if (isValidElement(node)) { + // This element was passed in a valid location. + if (node._store) { + node._store.validated = true; + } + } else if (node) { + var iteratorFn = getIteratorFn(node); + + if (typeof iteratorFn === 'function') { + // Entry iterators used to provide implicit keys, + // but now we print a separate warning for them later. + if (iteratorFn !== node.entries) { + var iterator = iteratorFn.call(node); + var step; + + while (!(step = iterator.next()).done) { + if (isValidElement(step.value)) { + validateExplicitKey(step.value, parentType); + } + } + } + } + } + } +} +/** + * Given an element, validate that its props follow the propTypes definition, + * provided by the type. + * + * @param {ReactElement} element + */ + + +function validatePropTypes(element) { + { + var type = element.type; + + if (type === null || type === undefined || typeof type === 'string') { + return; + } + + var propTypes; + + if (typeof type === 'function') { + propTypes = type.propTypes; + } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here. + // Inner props are checked in the reconciler. + type.$$typeof === REACT_MEMO_TYPE)) { + propTypes = type.propTypes; + } else { + return; + } + + if (propTypes) { + // Intentionally inside to avoid triggering lazy initializers: + var name = getComponentNameFromType(type); + checkPropTypes(propTypes, element.props, 'prop', name, element); + } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) { + propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers: + + var _name = getComponentNameFromType(type); + + error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown'); + } + + if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) { + error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.'); + } + } +} +/** + * Given a fragment, validate that it can only be provided with fragment props + * @param {ReactElement} fragment + */ + + +function validateFragmentProps(fragment) { + { + var keys = Object.keys(fragment.props); + + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + + if (key !== 'children' && key !== 'key') { + setCurrentlyValidatingElement$1(fragment); + + error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key); + + setCurrentlyValidatingElement$1(null); + break; + } + } + + if (fragment.ref !== null) { + setCurrentlyValidatingElement$1(fragment); + + error('Invalid attribute `ref` supplied to `React.Fragment`.'); + + setCurrentlyValidatingElement$1(null); + } + } +} + +var didWarnAboutKeySpread = {}; +function jsxWithValidation(type, props, key, isStaticChildren, source, self) { + { + var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to + // succeed and there will likely be errors in render. + + if (!validType) { + var info = ''; + + if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) { + info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports."; + } + + var sourceInfo = getSourceInfoErrorAddendum(source); + + if (sourceInfo) { + info += sourceInfo; + } else { + info += getDeclarationErrorAddendum(); + } + + var typeString; + + if (type === null) { + typeString = 'null'; + } else if (isArray(type)) { + typeString = 'array'; + } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) { + typeString = "<" + (getComponentNameFromType(type.type) || 'Unknown') + " />"; + info = ' Did you accidentally export a JSX literal instead of a component?'; + } else { + typeString = typeof type; + } + + error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info); + } + + var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used. + // TODO: Drop this when these are no longer allowed as the type argument. + + if (element == null) { + return element; + } // Skip key warning if the type isn't valid since our key validation logic + // doesn't expect a non-string/function type and can throw confusing errors. + // We don't want exception behavior to differ between dev and prod. + // (Rendering will throw with a helpful message and as soon as the type is + // fixed, the key warnings will appear.) + + + if (validType) { + var children = props.children; + + if (children !== undefined) { + if (isStaticChildren) { + if (isArray(children)) { + for (var i = 0; i < children.length; i++) { + validateChildKeys(children[i], type); + } + + if (Object.freeze) { + Object.freeze(children); + } + } else { + error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.'); + } + } else { + validateChildKeys(children, type); + } + } + } + + { + if (hasOwnProperty.call(props, 'key')) { + var componentName = getComponentNameFromType(type); + var keys = Object.keys(props).filter(function (k) { + return k !== 'key'; + }); + var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}'; + + if (!didWarnAboutKeySpread[componentName + beforeExample]) { + var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}'; + + error('A props object containing a "key" prop is being spread into JSX:\n' + ' let props = %s;\n' + ' <%s {...props} />\n' + 'React keys must be passed directly to JSX without using spread:\n' + ' let props = %s;\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName); + + didWarnAboutKeySpread[componentName + beforeExample] = true; + } + } + } + + if (type === REACT_FRAGMENT_TYPE) { + validateFragmentProps(element); + } else { + validatePropTypes(element); + } + + return element; + } +} // These two functions exist to still get child warnings in dev +// even with the prod transform. This means that jsxDEV is purely +// opt-in behavior for better messages but that we won't stop +// giving you warnings if you use production apis. + +function jsxWithValidationStatic(type, props, key) { + { + return jsxWithValidation(type, props, key, true); + } +} +function jsxWithValidationDynamic(type, props, key) { + { + return jsxWithValidation(type, props, key, false); + } +} + +var jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children. +// for now we can ship identical prod functions + +var jsxs = jsxWithValidationStatic ; + +exports.Fragment = REACT_FRAGMENT_TYPE; +exports.jsx = jsx; +exports.jsxs = jsxs; + })(); +} + + +/***/ }), + +/***/ "./node_modules/@wordpress/icons/node_modules/react/jsx-runtime.js": +/*!*************************************************************************!*\ + !*** ./node_modules/@wordpress/icons/node_modules/react/jsx-runtime.js ***! + \*************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + + + +if (false) {} else { + module.exports = __webpack_require__(/*! ./cjs/react-jsx-runtime.development.js */ "./node_modules/@wordpress/icons/node_modules/react/cjs/react-jsx-runtime.development.js"); +} + + +/***/ }), + +/***/ "./src/block.js": +/*!**********************!*\ + !*** ./src/block.js ***! + \**********************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./blocks */ "./src/blocks/index.js"); + + +/***/ }), + +/***/ "./src/blocks/CustomControls/RadioImageControl.js": +/*!********************************************************!*\ + !*** ./src/blocks/CustomControls/RadioImageControl.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__); + + +const RadioImageControl = ({ + selected, + options, + onChange +}) => { + return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__.BaseControl, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: "radio-image-control-options" + }, options.map(option => (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + key: option.value, + className: "radio-image-option" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("input", { + type: "radio", + id: `radio-image-${option.value}`, + value: option.value, + checked: selected === option.value, + onChange: e => onChange(e.target.value) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("label", { + htmlFor: `radio-image-${option.value}` + }, option.icon && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("i", { + className: `dashicons ${option.icon}` + }), option.img && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("img", { + src: option.img, + alt: option.label + }), option?.svg))))); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RadioImageControl); + +/***/ }), + +/***/ "./src/blocks/CustomControls/UnitControl.js": +/*!**************************************************!*\ + !*** ./src/blocks/CustomControls/UnitControl.js ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); + + + +const UnitControl = ({ + label, + value, + unit, + onValueChange, + onUnitChange +}) => { + return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Flex, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.FlexBlock, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + label: label, + value: parseInt(value), + onChange: newValue => onValueChange(newValue) + })), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.FlexItem, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Unit', 'wedocs'), + value: unit, + options: [{ + label: 'px', + value: 'px' + }, { + label: '%', + value: '%' + }], + onChange: newUnit => onUnitChange(newUnit) + }))); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (UnitControl); + +/***/ }), + +/***/ "./src/blocks/DocsGrid/StyleControls.js": +/*!**********************************************!*\ + !*** ./src/blocks/DocsGrid/StyleControls.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__); + + + + + +// Add these to your attributes in block.json +const styleAttributes = { + gridPadding: { + type: "object", + default: { + top: "20px", + right: "20px", + bottom: "20px", + left: "20px" + } + }, + gridMargin: { + type: "object", + default: { + top: "0px", + right: "0px", + bottom: "0px", + left: "0px" + } + }, + docTitleColor: { + type: "string", + default: "#333333" + }, + docChildrenActiveColor: { + type: "string", + default: "#0073aa" + }, + borderType: { + type: "string", + default: "solid" + }, + borderWidth: { + type: "string", + default: "1px" + }, + borderColor: { + type: "string", + default: "#dddddd" + }, + borderRadius: { + type: "string", + default: "4px" + }, + buttonBorderRadius: { + type: "string", + default: "4px" + }, + buttonPadding: { + type: "object", + default: { + top: "10px", + right: "20px", + bottom: "10px", + left: "20px" + } + }, + buttonMargin: { + type: "object", + default: { + top: "10px", + right: "0px", + bottom: "0px", + left: "0px" + } + }, + buttonColor: { + type: "string", + default: "#0073aa" + }, + buttonHoverColor: { + type: "string", + default: "#005177" + }, + buttonTextColor: { + type: "string", + default: "#ffffff" + }, + buttonHoverTextColor: { + type: "string", + default: "#ffffff" + }, + paginationTextColor: { + type: "string", + default: "#333333" + }, + paginationTextHoverColor: { + type: "string", + default: "#0073aa" + }, + paginationBackgroundColor: { + type: "string", + default: "#ffffff" + }, + paginationHoverColor: { + type: "string", + default: "#f5f5f5" + } +}; +const StyleControls = ({ + attributes, + setAttributes +}) => { + const updateAttribute = attributeName => value => { + setAttributes({ + [attributeName]: value + }); + }; + const borderTypes = [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Solid', 'wedocs'), + value: 'solid' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Dashed', 'wedocs'), + value: 'dashed' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Dotted', 'wedocs'), + value: 'dotted' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('None', 'wedocs'), + value: 'none' + }]; + const colors = [{ + name: 'Sweet', + color: '#F43F5E' + }, { + name: 'Orange', + color: '#F97316' + }, { + name: 'Yellow', + color: '#FACC15' + }, { + name: 'Purple', + color: '#8B5CF6' + }, { + name: 'Light Blue', + color: '#3B82F6' + }, { + name: 'Light Green', + color: '#10B981' + }]; + return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Grid Styles', 'wedocs'), + icon: "admin-appearance", + initialOpen: false + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("label", null, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Colors', 'wedocs')), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.PanelColorSettings, { + colors: colors, + colorSettings: [{ + value: attributes.docTitleColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Doc Title Color', 'wedocs'), + onChange: newBgColor => updateAttribute('docTitleColor')(newBgColor) + }, { + value: attributes.docChildrenActiveColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Doc Children Active Color', 'wedocs'), + onChange: newBgColor => updateAttribute('docChildrenActiveColor')(newBgColor) + }, { + value: attributes.borderColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Border Color', 'wedocs'), + onChange: newBorderColor => updateAttribute('borderColor')(newBorderColor) + }] + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Grid Padding', 'wedocs'), + values: attributes.gridPadding, + onChange: updateAttribute('gridPadding') + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Grid Margin', 'wedocs'), + values: attributes.gridMargin, + onChange: updateAttribute('gridMargin') + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Border Type', 'wedocs'), + value: attributes.borderType, + options: [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Solid', 'wedocs'), + value: 'solid' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Dashed', 'wedocs'), + value: 'dashed' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Dotted', 'wedocs'), + value: 'dotted' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('None', 'wedocs'), + value: 'none' + }], + onChange: value => setAttributes({ + borderType: value + }) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Border Width', 'wedocs'), + value: attributes.borderWidth, + options: [{ + label: '0px', + value: '0px' + }, { + label: '1px', + value: '1px' + }, { + label: '2px', + value: '2px' + }, { + label: '3px', + value: '3px' + }, { + label: '4px', + value: '4px' + }, { + label: '5px', + value: '5px' + }], + onChange: value => setAttributes({ + borderWidth: value + }) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Border Radius', 'wedocs'), + value: attributes.borderRadius, + options: [{ + label: '0px', + value: '0px' + }, { + label: '4px', + value: '4px' + }, { + label: '8px', + value: '8px' + }, { + label: '12px', + value: '12px' + }, { + label: '16px', + value: '16px' + }, { + label: '20px', + value: '20px' + }], + onChange: value => setAttributes({ + borderRadius: value + }) + })), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Button Styles', 'wedocs'), + icon: "admin-appearance", + initialOpen: false + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("label", null, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Button Colors', 'wedocs')), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.PanelColorSettings, { + colors: colors, + colorSettings: [{ + value: attributes.buttonColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Button Color', 'wedocs'), + onChange: newBgColor => updateAttribute('buttonColor')(newBgColor) + }, { + value: attributes.buttonHoverColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Button Hover Color', 'wedocs'), + onChange: newBgColor => updateAttribute('buttonHoverColor')(newBgColor) + }, { + value: attributes.buttonTextColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Button Text Color', 'wedocs'), + onChange: newBorderColor => updateAttribute('buttonTextColor')(newBorderColor) + }, { + value: attributes.buttonHoverTextColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Button Hover Text Color', 'wedocs'), + onChange: newBorderColor => updateAttribute('buttonHoverTextColor')(newBorderColor) + }] + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Button Padding', 'wedocs'), + values: attributes.buttonPadding, + onChange: updateAttribute('buttonPadding') + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalBoxControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Button Margin', 'wedocs'), + values: attributes.buttonMargin, + onChange: updateAttribute('buttonMargin') + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.SelectControl, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Button Border Radius', 'wedocs'), + value: attributes.buttonBorderRadius, + options: [{ + label: '0px', + value: '0px' + }, { + label: '4px', + value: '4px' + }, { + label: '8px', + value: '8px' + }, { + label: '12px', + value: '12px' + }, { + label: '16px', + value: '16px' + }, { + label: '20px', + value: '20px' + }], + onChange: value => setAttributes({ + buttonBorderRadius: value + }) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: "wedocs-color-control" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("label", null, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Button Text', 'wedocs')), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, { + value: attributes.buttonText, + onChange: updateAttribute('buttonText') + })))); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StyleControls); + +/***/ }), + +/***/ "./src/blocks/DocsGrid/edit.js": +/*!*************************************!*\ + !*** ./src/blocks/DocsGrid/edit.js ***! + \*************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/cog.js"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _StyleControls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./StyleControls */ "./src/blocks/DocsGrid/StyleControls.js"); + + + + + + + +const Edit = ({ + attributes, + setAttributes +}) => { + const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.useBlockProps)(); + const { + useSelect + } = wp.data; + const [currentPage, setCurrentPage] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(1); + const [loading, setLoading] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(false); + const { + hideDocGrid, + docStyle, + docsPerPage, + excludeDocs, + order, + orderBy, + sectionsPerDoc, + articlesPerSection, + showDocArticle, + keepArticlesCollapsed, + showViewDetails, + gridPadding, + gridMargin, + docTitleColor, + docChildrenActiveColor, + borderType, + borderRadius, + borderWidth, + borderColor, + buttonBorderRadius, + buttonPadding, + buttonMargin, + buttonColor, + buttonHoverColor, + buttonTextColor, + buttonText, + buttonHoverTextColor + } = attributes; + const applyStyles = () => { + const paddings = gridPadding ? `${gridPadding.top} ${gridPadding.right} ${gridPadding.bottom} ${gridPadding.left}` : ''; + const margins = gridMargin ? `${gridMargin.top} ${gridMargin.right} ${gridMargin.bottom} ${gridMargin.left}` : ''; + const btnPaddings = buttonPadding ? `${buttonPadding.top} ${buttonPadding.right} ${buttonPadding.bottom} ${buttonPadding.left}` : ''; + const btnradius = buttonBorderRadius || '8px'; + const btnMargins = buttonMargin ? `${buttonMargin.top} ${buttonMargin.right} ${buttonMargin.bottom} ${buttonMargin.left}` : ''; + return { + item: { + padding: paddings, + margin: margins, + borderStyle: borderType || 'solid', + borderWidth: borderWidth || '1px', + borderColor: borderColor || 'rgba(0, 0, 0, 0.1)', + borderRadius: borderRadius || '8px', + backgroundColor: '#fff' + }, + title: { + color: docTitleColor || '#1e1e1e' + }, + children: { + color: docChildrenActiveColor || '#0073aa' + }, + button: { + padding: btnPaddings, + margin: btnMargins, + backgroundColor: buttonColor || '#0073aa', + color: buttonTextColor || '#ffffff', + text: buttonText || (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('View Details', 'wedocs'), + borderRadius: btnradius || '8px', + '--hover-bg': buttonHoverColor || '#005177', + '--hover-color': buttonHoverTextColor || '#ffffff' + } + }; + }; + const renderGridItem = (doc, styles) => (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + key: doc.id, + className: "wedocs-docs-grid__item", + style: styles.item + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("h3", { + className: "wedocs-docs-grid__title", + style: styles.title + }, doc.title.rendered), renderSections(doc, styles), showViewDetails && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: "wedocs-docs-grid__details" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("span", { + className: "wedocs-docs-grid__details-link", + style: styles.button + }, styles.button.text))); + const renderSections = (doc, styles) => { + if (!doc.sections) return null; + return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: `wedocs-docs-grid__sections ${keepArticlesCollapsed ? 'is-collapsed' : ''}` + }, doc.sections.map(section => (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + key: section.id, + className: "wedocs-docs-grid__section" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("h4", { + className: "wedocs-docs-grid__section-title", + style: { + ...styles.title, + display: 'flex', + justifyContent: 'space-between', + alignItems: 'center' + } + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("span", null, section.title.rendered), showDocArticle && section.articles && section.articles.length > 0 && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", { + fill: "none", + viewBox: "0 0 24 24", + width: "16", + strokeWidth: "2", + stroke: "#acb8c4", + className: keepArticlesCollapsed ? '' : 'active' + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", { + strokeLinecap: "round", + strokeLinejoin: "round", + d: "M19.5 8.25l-7.5 7.5-7.5-7.5" + }))), showDocArticle && !keepArticlesCollapsed && section.articles && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("ul", { + className: "wedocs-docs-grid__articles" + }, section.articles.map(article => (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("li", { + key: article.id, + className: "wedocs-docs-grid__article", + style: styles.children + }, article.title.rendered))))), doc.sections.length === 0 && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("span", { + className: "inside" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", { + fill: "none", + viewBox: "0 0 24 24", + "stroke-width": "1.5", + stroke: "currentColor" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", { + "stroke-linecap": "round", + "stroke-linejoin": "round", + d: "M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z" + })), (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('This document has no sections yet. Check back later or wait for the author to add content.', 'wedocs'))); + }; + + // Control options + const docStyles = [{ + label: '1x1', + value: '1x1' + }, { + label: '1x2', + value: '1x2' + }]; + const docsPerPageOptions = [{ + label: 'All', + value: 'all' + }, ...Array.from({ + length: 10 + }, (_, i) => ({ + label: String(i + 1), + value: String(i + 1) + }))]; + const orderByOptions = [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('weDocs Order', 'wedocs'), + value: 'menu_order' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('ID', 'wedocs'), + value: 'id' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Name', 'wedocs'), + value: 'title' + }]; + const orderOptions = [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Ascending', 'wedocs'), + value: 'asc' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Descending', 'wedocs'), + value: 'desc' + }]; + const countOptions = [{ + label: 'All', + value: 'all' + }, ...Array.from({ + length: 10 + }, (_, i) => ({ + label: String(i + 1), + value: String(i + 1) + }))]; + // Get published docs + const { + pages, + sections, + articles + } = useSelect(select => { + const { + getEntityRecords + } = select('core'); + const docs = getEntityRecords('postType', 'docs', { + status: 'publish', + per_page: -1, + parent: 0, + orderby: orderBy, + order: order + }); + + // Get all sections (docs children) + const allSections = docs ? getEntityRecords('postType', 'docs', { + status: 'publish', + parent_in: docs.map(doc => doc.id), + per_page: -1 + }) : null; + + // Get all articles (sections children) + const allArticles = allSections ? getEntityRecords('postType', 'docs', { + status: 'publish', + parent_in: allSections.map(section => section.id), + per_page: -1 + }) : null; + return { + pages: docs, + sections: allSections, + articles: allArticles + }; + }, [orderBy, order]); + const processDocsData = () => { + if (!pages || !sections || !articles) return []; + + // Filter and sort docs based on settings + let processedDocs = [...pages]; + + // Apply exclude filter + if (excludeDocs && excludeDocs.length > 0) { + processedDocs = processedDocs.filter(doc => !excludeDocs.includes(doc.id.toString())); + } + + // Process each doc with its sections and articles + processedDocs = processedDocs.map(doc => { + // Get sections for this doc + let docSections = sections.filter(section => section.parent === doc.id); + + // Limit sections if specified + if (sectionsPerDoc !== 'all') { + docSections = docSections.slice(0, parseInt(sectionsPerDoc)); + } + + // Process sections with their articles + docSections = docSections.map(section => { + let sectionArticles = articles.filter(article => article.parent === section.id); + + // Limit articles if specified + if (articlesPerSection !== 'all') { + sectionArticles = sectionArticles.slice(0, parseInt(articlesPerSection)); + } + return { + ...section, + articles: sectionArticles + }; + }); + + // Calculate total articles for the doc + const totalArticles = docSections.reduce((total, section) => total + section.articles.length, 0); + return { + ...doc, + sections: docSections, + articleCount: totalArticles + }; + }); + return processedDocs; + }; + // Handle pagination + const getPagedDocs = docs => { + if (docsPerPage === 'all') return docs; + const perPage = parseInt(docsPerPage); + const start = (currentPage - 1) * perPage; + const end = start + perPage; + return docs.slice(start, end); + }; + + // Get final display docs + const getDisplayDocs = () => { + const processedDocs = processDocsData(); + return getPagedDocs(processedDocs); + }; + + // Pagination controls + const renderPagination = totalDocs => { + if (docsPerPage === 'all') return null; + const totalPages = Math.ceil(totalDocs.length / parseInt(docsPerPage)); + + // Create style objects for pagination buttons + const paginationBaseStyle = { + padding: '8px 12px', + margin: '0 4px', + backgroundColor: attributes.paginationBackgroundColor || '#fff', + color: attributes.paginationTextColor || '#333', + border: `1px solid ${attributes.paginationBorderColor || '#ddd'}`, + borderRadius: attributes.borderRadius || '4px', + cursor: 'pointer', + transition: 'all 0.2s ease', + textDecoration: 'none', + display: 'inline-block', + minWidth: '32px', + textAlign: 'center', + fontFamily: 'inherit', + fontSize: '14px', + lineHeight: '1.4' + }; + + // Active button style + const activeStyle = { + ...paginationBaseStyle, + backgroundColor: attributes.paginationHoverColor || '#f5f5f5', + borderColor: attributes.paginationHoverColor || '#ccc', + color: attributes.paginationTextHoverColor || '#0073aa' + }; + + // Hover styles will be handled by CSS custom properties + const customProperties = { + '--pagination-hover-bg': attributes.paginationHoverColor || '#f5f5f5', + '--pagination-hover-color': attributes.paginationTextHoverColor || '#0073aa', + '--pagination-hover-border': attributes.paginationHoverColor || '#ccc' + }; + return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: "wedocs-docs-pagination", + style: { + margin: '30px 0', + textAlign: 'center', + ...customProperties + } + }, currentPage > 1 && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("button", { + style: paginationBaseStyle, + onClick: () => setCurrentPage(currentPage - 1), + className: "wedocs-docs-pagination__button" + }, "\u2190"), Array.from({ + length: totalPages + }, (_, i) => { + const pageNum = i + 1; + const isCurrentPage = currentPage === pageNum; + return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("button", { + key: pageNum, + style: isCurrentPage ? activeStyle : paginationBaseStyle, + className: `wedocs-docs-pagination__button ${isCurrentPage ? 'is-active' : ''}`, + onClick: () => setCurrentPage(pageNum) + }, pageNum); + }), currentPage < totalPages && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("button", { + style: paginationBaseStyle, + onClick: () => setCurrentPage(currentPage + 1), + className: "wedocs-docs-pagination__button" + }, "\u2192"), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("style", null, ` + .wedocs-docs-pagination__button:hover:not(.is-active) { + background-color: var(--pagination-hover-bg) !important; + color: var(--pagination-hover-color) !important; + border-color: var(--pagination-hover-border) !important; + } + `)); + }; + const displayDocs = getDisplayDocs(); + // Create a mapping of ID to title for suggestions + const docsMap = pages ? pages.reduce((acc, page) => { + acc[page.id] = page.title.rendered; + return acc; + }, {}) : {}; + + // Prepare docs options for FormTokenField + const docsOptions = pages ? pages.map(page => ({ + value: page.id.toString(), + label: page.title.rendered + })) : []; + + // Update handlers + const updateAttribute = attributeName => value => { + setAttributes({ + [attributeName]: value + }); + }; + + // Transform IDs to titles for FormTokenField display + const excludeDocsDisplay = excludeDocs ? excludeDocs.map(id => docsMap[id] || id) : []; + + // Handle token changes + const handleExcludeDocsChange = tokens => { + // Convert titles back to IDs + const newExcludeDocs = tokens.map(token => { + // Find the ID for this title + const found = Object.entries(docsMap).find(([id, title]) => title === token); + return found ? found[0] : token; + }); + setAttributes({ + excludeDocs: newExcludeDocs + }); + }; + const getGridClass = () => { + return `wedocs-docs-grid--${docStyle}`; + }; + return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InspectorControls, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Doc Grid Settings', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_6__["default"], + initialOpen: false + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: docStyle, + options: docStyles, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('DOCS GRID COLUMN STYLE', 'wedocs'), + onChange: updateAttribute('docStyle') + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: docsPerPage, + options: docsPerPageOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Docs per page', 'wedocs'), + onChange: updateAttribute('docsPerPage') + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.FormTokenField, { + value: excludeDocsDisplay, + suggestions: Object.values(docsMap), + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Exclude Docs', 'wedocs'), + onChange: handleExcludeDocsChange + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: order, + options: orderOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Order', 'wedocs'), + onChange: updateAttribute('order') + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: orderBy, + options: orderByOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Order by', 'wedocs'), + onChange: updateAttribute('orderBy') + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: sectionsPerDoc, + options: countOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Sections per doc', 'wedocs'), + onChange: updateAttribute('sectionsPerDoc') + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: articlesPerSection, + options: countOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Articles per section', 'wedocs'), + onChange: updateAttribute('articlesPerSection') + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelRow, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.ToggleControl, { + checked: showDocArticle, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Show Doc Article', 'wedocs'), + onChange: updateAttribute('showDocArticle') + })), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelRow, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.ToggleControl, { + checked: keepArticlesCollapsed, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Keep Article Collapsed', 'wedocs'), + onChange: updateAttribute('keepArticlesCollapsed') + })), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelRow, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.ToggleControl, { + checked: showViewDetails, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Show View Details Button', 'wedocs'), + onChange: updateAttribute('showViewDetails') + })))), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InspectorControls, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_StyleControls__WEBPACK_IMPORTED_MODULE_5__["default"], { + attributes: attributes, + setAttributes: setAttributes + })), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + ...blockProps + }, hideDocGrid ? (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: "backdrop" + }) : (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: "wedocs-block-wrapper" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: `wedocs-docs-grid ${getGridClass()}` + }, loading ? (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(Spinner, null) : displayDocs.map(doc => renderGridItem(doc, applyStyles())))))); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Edit); + +/***/ }), + +/***/ "./src/blocks/DocsGrid/index.js": +/*!**************************************!*\ + !*** ./src/blocks/DocsGrid/index.js ***! + \**************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./edit */ "./src/blocks/DocsGrid/edit.js"); +/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./src/blocks/DocsGrid/block.json"); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./style.scss */ "./src/blocks/DocsGrid/style.scss"); + + + + +(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_2__.name, { + /** + * @see ./edit.js + */ + edit: _edit__WEBPACK_IMPORTED_MODULE_1__["default"], + /** + * @see ./save.js + */ + save: () => null +}); + +/***/ }), + +/***/ "./src/blocks/QuickSearch/attributes.js": +/*!**********************************************!*\ + !*** ./src/blocks/QuickSearch/attributes.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); + +const attributes = { + searchBoxPlaceholder: { + type: 'string', + default: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Quick search...', 'wedocs') + }, + modalPlaceholder: { + type: 'string', + default: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Search documentation', 'wedocs') + }, + modalDocsSource: { + type: 'string', + default: 'helpful' // 'sections', 'articles', 'helpful' + }, + sectionIds: { + type: 'string', + default: '' + }, + articleIds: { + type: 'string', + default: '' + }, + helpfulDocsCount: { + type: 'number', + default: 10 + }, + searchBoxStyles: { + type: 'object', + default: { + placeholderColor: '#9CA3AF', + iconColor: '#6B7280', + commandKeyColor: '#6B7280', + backgroundColor: '#FFFFFF', + borderColor: '#D1D5DB', + borderWidth: '1px', + borderRadius: '8px', + padding: { + top: '12px', + right: '16px', + bottom: '12px', + left: '16px' + }, + margin: { + top: '0px', + right: '0px', + bottom: '0px', + left: '0px' + }, + fontSize: '16px', + fontWeight: '400', + letterSpacing: '0px', + lineHeight: '1.5' + } + }, + modalStyles: { + type: 'object', + default: { + placeholderColor: '#9CA3AF', + searchIconColor: '#6B7280', + backgroundColor: '#FFFFFF', + fieldTextColor: '#111827', + listItemIconColor: '#3B82F6', + listItemTextColor: '#111827', + docLabelColor: '#3B82F6', + sectionLabelColor: '#3B82F6', + listItemPadding: { + top: '12px', + right: '16px', + bottom: '12px', + left: '16px' + }, + listItemMargin: { + top: '0px', + right: '0px', + bottom: '0px', + left: '0px' + }, + listItemBorderColor: '#E5E7EB', + listItemBorderWidth: '1px', + listItemBorderRadius: '4px' + } + } +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (attributes); + +/***/ }), + +/***/ "./src/blocks/QuickSearch/edit.js": +/*!****************************************!*\ + !*** ./src/blocks/QuickSearch/edit.js ***! + \****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data"); +/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_5__); + + + + + + +const Edit = ({ + attributes, + setAttributes +}) => { + const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.useBlockProps)(); + const { + searchBoxPlaceholder, + modalPlaceholder, + modalDocsSource, + sectionIds, + articleIds, + helpfulDocsCount, + searchBoxStyles, + modalStyles + } = attributes; + + // Fetch theme colors and gradients + const { + themeColors, + themeGradients + } = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_5__.useSelect)(select => { + const editorSettings = select('core/block-editor').getSettings(); + return { + themeColors: editorSettings.colors, + themeGradients: editorSettings.gradients + }; + }); + const modalDocsSourceOptions = [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('None', 'wedocs'), + value: 'none' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Sections', 'wedocs'), + value: 'sections' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Articles', 'wedocs'), + value: 'articles' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Helpful Docs', 'wedocs'), + value: 'helpful' + }]; + const searchBoxStyle = { + backgroundColor: searchBoxStyles.backgroundColor, + borderColor: searchBoxStyles.borderColor, + borderWidth: searchBoxStyles.borderWidth, + borderRadius: searchBoxStyles.borderRadius, + paddingTop: searchBoxStyles.padding.top, + paddingRight: searchBoxStyles.padding.right, + paddingBottom: searchBoxStyles.padding.bottom, + paddingLeft: searchBoxStyles.padding.left, + marginTop: searchBoxStyles.margin.top, + marginRight: searchBoxStyles.margin.right, + marginBottom: searchBoxStyles.margin.bottom, + marginLeft: searchBoxStyles.margin.left, + fontSize: searchBoxStyles.fontSize, + fontWeight: searchBoxStyles.fontWeight, + letterSpacing: searchBoxStyles.letterSpacing, + lineHeight: searchBoxStyles.lineHeight, + color: searchBoxStyles.placeholderColor + }; + const updateSearchBoxStyles = (key, value) => { + setAttributes({ + searchBoxStyles: { + ...searchBoxStyles, + [key]: value + } + }); + }; + const updateModalStyles = (key, value) => { + setAttributes({ + modalStyles: { + ...modalStyles, + [key]: value + } + }); + }; + const colorOptions = [{ + name: 'Default', + color: '#9CA3AF' + }, { + name: 'Black', + color: '#000000' + }, { + name: 'White', + color: '#FFFFFF' + }, { + name: 'Gray', + color: '#6B7280' + }, { + name: 'Blue', + color: '#3B82F6' + }, { + name: 'Red', + color: '#EF4444' + }, { + name: 'Green', + color: '#10B981' + }]; + return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InspectorControls, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Search Box Section', 'wedocs'), + initialOpen: true + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.TextControl, { + value: searchBoxPlaceholder, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Search Box Placeholder', 'wedocs'), + placeholder: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Enter placeholder text', 'wedocs'), + onChange: newPlaceholder => { + console.log('Updating search box placeholder:', newPlaceholder); + setAttributes({ + searchBoxPlaceholder: newPlaceholder + }); + } + })), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Search Modal Display Section', 'wedocs'), + initialOpen: true + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.TextControl, { + value: modalPlaceholder, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Search Modal Placeholder', 'wedocs'), + placeholder: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Enter placeholder text', 'wedocs'), + onChange: newPlaceholder => setAttributes({ + modalPlaceholder: newPlaceholder + }) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.SelectControl, { + value: modalDocsSource, + options: modalDocsSourceOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Modal Docs Source', 'wedocs'), + onChange: newSource => { + setAttributes({ + modalDocsSource: newSource + }); + } + }), modalDocsSource === 'sections' && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.TextControl, { + value: sectionIds, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Section IDs', 'wedocs'), + placeholder: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Enter section post ID, example: 3, 5', 'wedocs'), + onChange: newIds => setAttributes({ + sectionIds: newIds + }) + }), modalDocsSource === 'articles' && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.TextControl, { + value: articleIds, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Article IDs', 'wedocs'), + placeholder: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Enter article post ID, example: 3, 5', 'wedocs'), + onChange: newIds => setAttributes({ + articleIds: newIds + }) + }), modalDocsSource === 'helpful' && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.RangeControl, { + value: helpfulDocsCount, + min: 1, + max: 10, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Number of Helpful Docs', 'wedocs'), + onChange: newCount => setAttributes({ + helpfulDocsCount: newCount + }) + }))), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InspectorControls, { + group: "styles" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Search Box Styling', 'wedocs'), + initialOpen: true + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.PanelColorSettings, { + colors: [{ + colors: themeColors, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Theme', 'wedocs') + }], + colorSettings: [{ + value: searchBoxStyles.placeholderColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Placeholder Color', 'wedocs'), + onChange: newColor => updateSearchBoxStyles('placeholderColor', newColor) + }, { + value: searchBoxStyles.iconColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Icon & Command Key Color', 'wedocs'), + onChange: newColor => updateSearchBoxStyles('iconColor', newColor) + }, { + value: searchBoxStyles.backgroundColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Background Color', 'wedocs'), + onChange: newColor => updateSearchBoxStyles('backgroundColor', newColor) + }, { + value: searchBoxStyles.borderColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Border Color', 'wedocs'), + onChange: newColor => updateSearchBoxStyles('borderColor', newColor) + }] + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.RangeControl, { + value: parseInt(searchBoxStyles.borderWidth), + min: 0, + max: 10, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Border Width', 'wedocs'), + onChange: newWidth => updateSearchBoxStyles('borderWidth', `${newWidth}px`) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.RangeControl, { + value: parseInt(searchBoxStyles.borderRadius), + min: 0, + max: 50, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Border Radius', 'wedocs'), + onChange: newRadius => updateSearchBoxStyles('borderRadius', `${newRadius}px`) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.__experimentalBoxControl, { + values: searchBoxStyles.padding, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Padding', 'wedocs'), + onChange: newPadding => updateSearchBoxStyles('padding', newPadding) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.__experimentalBoxControl, { + values: searchBoxStyles.margin, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Margin', 'wedocs'), + onChange: newMargin => updateSearchBoxStyles('margin', newMargin) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.RangeControl, { + value: parseInt(searchBoxStyles.fontSize), + min: 12, + max: 24, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Font Size', 'wedocs'), + onChange: newSize => updateSearchBoxStyles('fontSize', `${newSize}px`) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.RangeControl, { + value: parseInt(searchBoxStyles.fontWeight), + min: 100, + max: 900, + step: 100, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Font Weight', 'wedocs'), + onChange: newWeight => updateSearchBoxStyles('fontWeight', newWeight.toString()) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.RangeControl, { + value: parseFloat(searchBoxStyles.letterSpacing), + min: -2, + max: 5, + step: 0.1, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Letter Spacing', 'wedocs'), + onChange: newSpacing => updateSearchBoxStyles('letterSpacing', `${newSpacing}px`) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.RangeControl, { + value: parseFloat(searchBoxStyles.lineHeight), + min: 1, + max: 3, + step: 0.1, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Line Height', 'wedocs'), + onChange: newHeight => updateSearchBoxStyles('lineHeight', newHeight.toString()) + })), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Search Modal Styling', 'wedocs'), + initialOpen: false + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("p", { + className: "'mb-0'" + }, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('The styling will be shown in the frontend, not in the editor', 'wedocs')), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.PanelColorSettings, { + colors: [{ + colors: themeColors, + name: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Theme', 'wedocs') + }], + colorSettings: [{ + value: modalStyles.placeholderColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Placeholder Color', 'wedocs'), + onChange: newColor => updateModalStyles('placeholderColor', newColor) + }, { + value: modalStyles.searchIconColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Search Icon Color', 'wedocs'), + onChange: newColor => updateModalStyles('searchIconColor', newColor) + }, { + value: modalStyles.backgroundColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Background Color', 'wedocs'), + onChange: newColor => updateModalStyles('backgroundColor', newColor) + }, { + value: modalStyles.fieldTextColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Field Text Color', 'wedocs'), + onChange: newColor => updateModalStyles('fieldTextColor', newColor) + }, { + value: modalStyles.listItemIconColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('List Item Icon Color', 'wedocs'), + onChange: newColor => updateModalStyles('listItemIconColor', newColor) + }, { + value: modalStyles.listItemIconBackgroundColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('List Item Icon Background Color', 'wedocs'), + onChange: newColor => updateModalStyles('listItemIconBackgroundColor', newColor) + }, { + value: modalStyles.listItemTextColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('List Item Text Color', 'wedocs'), + onChange: newColor => updateModalStyles('listItemTextColor', newColor) + }, { + value: modalStyles.docLabelColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Doc Label Color', 'wedocs'), + onChange: newColor => updateModalStyles('docLabelColor', newColor) + }, { + value: modalStyles.sectionLabelColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Section Label Color', 'wedocs'), + onChange: newColor => updateModalStyles('sectionLabelColor', newColor) + }, { + value: modalStyles.listItemBorderColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('List Item Border Color', 'wedocs'), + onChange: newColor => updateModalStyles('listItemBorderColor', newColor) + }] + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.__experimentalBoxControl, { + values: modalStyles.listItemPadding, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('List Item Padding', 'wedocs'), + onChange: newPadding => updateModalStyles('listItemPadding', newPadding) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.__experimentalBoxControl, { + values: modalStyles.listItemMargin, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('List Item Margin', 'wedocs'), + onChange: newMargin => updateModalStyles('listItemMargin', newMargin) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.RangeControl, { + value: parseInt(modalStyles.listItemBorderWidth), + min: 0, + max: 5, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('List Item Border Width', 'wedocs'), + onChange: newWidth => updateModalStyles('listItemBorderWidth', `${newWidth}px`) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.RangeControl, { + value: parseInt(modalStyles.listItemBorderRadius), + min: 0, + max: 20, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('List Item Border Radius', 'wedocs'), + onChange: newRadius => updateModalStyles('listItemBorderRadius', `${newRadius}px`) + }))), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + ...blockProps + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: "wedocs-document" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: "wedocs-quick-search-editor wedocs-quick-search-block-editor" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: "flex rounded-md", + style: { + backgroundColor: searchBoxStyles.backgroundColor, + borderColor: searchBoxStyles.borderColor, + borderWidth: searchBoxStyles.borderWidth, + borderRadius: searchBoxStyles.borderRadius, + marginTop: searchBoxStyles.margin.top, + marginRight: searchBoxStyles.margin.right, + marginBottom: searchBoxStyles.margin.bottom, + marginLeft: searchBoxStyles.margin.left + } + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("input", { + id: "wedocs-quick-search", + placeholder: searchBoxPlaceholder, + type: "text", + name: "search", + disabled: "disabled", + className: "block min-w-0 grow focus:outline focus:outline-0 !border-none focus:!shadow-none disabled:!shadow-none", + style: { + color: searchBoxStyles.placeholderColor, + backgroundColor: 'transparent', + borderRadius: searchBoxStyles.borderRadius, + fontSize: searchBoxStyles.fontSize, + fontWeight: searchBoxStyles.fontWeight, + letterSpacing: searchBoxStyles.letterSpacing, + lineHeight: searchBoxStyles.lineHeight, + paddingTop: searchBoxStyles.padding.top, + paddingRight: searchBoxStyles.padding.right, + paddingBottom: searchBoxStyles.padding.bottom, + paddingLeft: searchBoxStyles.padding.left + } + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("style", null, ` + #wedocs-quick-search::placeholder { + color: ${searchBoxStyles.placeholderColor} !important; + } + #wedocs-quick-search::-webkit-input-placeholder { + color: ${searchBoxStyles.placeholderColor} !important; + } + #wedocs-quick-search::-moz-placeholder { + color: ${searchBoxStyles.placeholderColor} !important; + } + #wedocs-quick-search:-ms-input-placeholder { + color: ${searchBoxStyles.placeholderColor} !important; + } + `), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: "flex py-1.5 pr-1.5" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("kbd", { + className: "inline-flex items-center rounded border px-1 font-sans text-xs", + style: { + color: searchBoxStyles.iconColor + } + }, "\u2318K"))))))); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Edit); + +/***/ }), + +/***/ "./src/blocks/QuickSearch/index.js": +/*!*****************************************!*\ + !*** ./src/blocks/QuickSearch/index.js ***! + \*****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./edit */ "./src/blocks/QuickSearch/edit.js"); +/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./save */ "./src/blocks/QuickSearch/save.js"); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style.scss */ "./src/blocks/QuickSearch/style.scss"); +/* harmony import */ var _attributes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./attributes */ "./src/blocks/QuickSearch/attributes.js"); + + + + + + + +(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__.registerBlockType)('wedocs/quick-search', { + attributes: _attributes__WEBPACK_IMPORTED_MODULE_6__["default"], + save: _save__WEBPACK_IMPORTED_MODULE_4__["default"], + edit: _edit__WEBPACK_IMPORTED_MODULE_3__["default"], + icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", { + width: "20", + height: "20", + viewBox: "0 0 20 20", + fill: "none" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M8.91421 1.5H5.5C4.39543 1.5 3.5 2.39543 3.5 3.5V6.91421V9.02779V15.5C3.5 16.6046 4.39543 17.5 5.5 17.5H7.02779C6.07771 16.4385 5.5 15.0367 5.5 13.5C5.5 10.1863 8.18629 7.5 11.5 7.5C13.0367 7.5 14.4385 8.07771 15.5 9.02779V8.5V6.91421C15.5 6.38378 15.2893 5.87507 14.9142 5.5L11.5 2.08579C11.1249 1.71071 10.6162 1.5 10.0858 1.5H8.91421ZM15.5 13.5C15.5 11.2909 13.7091 9.5 11.5 9.5C9.29086 9.5 7.5 11.2909 7.5 13.5C7.5 15.7091 9.29086 17.5 11.5 17.5C12.2414 17.5 12.9364 17.2977 13.5318 16.946L14.7929 18.2071C15.1834 18.5976 15.8166 18.5976 16.2071 18.2071C16.5976 17.8166 16.5976 17.1834 16.2071 16.7929L14.946 15.5318C15.2977 14.9364 15.5 14.2414 15.5 13.5ZM11.5 11.5C12.6046 11.5 13.5 12.3954 13.5 13.5C13.5 14.0526 13.2772 14.5512 12.9142 14.9142C12.5512 15.2772 12.0526 15.5 11.5 15.5C10.3954 15.5 9.5 14.6046 9.5 13.5C9.5 12.3954 10.3954 11.5 11.5 11.5Z", + fill: "#111827" + })), + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('weDocs - Quick Search', 'wedocs'), + keywords: ['Search', 'weDocs quick search', 'Modal', 'Documentation'], + category: 'widgets', + description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Add a quick search block that opens a modal with documentation search', 'wedocs') +}); + +/***/ }), + +/***/ "./src/blocks/QuickSearch/save.js": +/*!****************************************!*\ + !*** ./src/blocks/QuickSearch/save.js ***! + \****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__); + + +const Save = ({ + attributes +}) => { + const { + hideBlock, + searchBoxPlaceholder, + modalPlaceholder, + modalDocsSource, + sectionIds, + articleIds, + helpfulDocsCount, + customCssClass, + searchBoxStyles, + modalStyles, + additionalCssClass + } = attributes; + if (hideBlock) { + return null; + } + const blockProps = _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useBlockProps.save({ + className: `wedocs-quick-search-block ${customCssClass} ${additionalCssClass}` + }); + const searchBoxStyle = { + backgroundColor: searchBoxStyles.backgroundColor, + borderColor: searchBoxStyles.borderColor, + borderWidth: searchBoxStyles.borderWidth, + borderRadius: searchBoxStyles.borderRadius, + paddingTop: searchBoxStyles.padding.top, + paddingRight: searchBoxStyles.padding.right, + paddingBottom: searchBoxStyles.padding.bottom, + paddingLeft: searchBoxStyles.padding.left, + marginTop: searchBoxStyles.margin.top, + marginRight: searchBoxStyles.margin.right, + marginBottom: searchBoxStyles.margin.bottom, + marginLeft: searchBoxStyles.margin.left, + fontSize: searchBoxStyles.fontSize, + fontWeight: searchBoxStyles.fontWeight, + letterSpacing: searchBoxStyles.letterSpacing, + lineHeight: searchBoxStyles.lineHeight, + '--wedocs-placeholder-color': searchBoxStyles.placeholderColor, + '--wedocs-icon-color': searchBoxStyles.iconColor, + '--wedocs-command-key-color': searchBoxStyles.commandKeyColor + }; + const modalStyle = { + '--wedocs-modal-placeholder-color': modalStyles.placeholderColor, + '--wedocs-modal-search-icon-color': modalStyles.searchIconColor, + '--wedocs-modal-background-color': modalStyles.backgroundColor, + '--wedocs-modal-field-text-color': modalStyles.fieldTextColor, + '--wedocs-modal-list-item-icon-color': modalStyles.listItemIconColor, + '--wedocs-modal-list-item-text-color': modalStyles.listItemTextColor, + '--wedocs-modal-doc-label-color': modalStyles.docLabelColor, + '--wedocs-modal-section-label-color': modalStyles.sectionLabelColor, + '--wedocs-modal-list-item-padding-top': modalStyles.listItemPadding.top, + '--wedocs-modal-list-item-padding-right': modalStyles.listItemPadding.right, + '--wedocs-modal-list-item-padding-bottom': modalStyles.listItemPadding.bottom, + '--wedocs-modal-list-item-padding-left': modalStyles.listItemPadding.left, + '--wedocs-modal-list-item-margin-top': modalStyles.listItemMargin.top, + '--wedocs-modal-list-item-margin-right': modalStyles.listItemMargin.right, + '--wedocs-modal-list-item-margin-bottom': modalStyles.listItemMargin.bottom, + '--wedocs-modal-list-item-margin-left': modalStyles.listItemMargin.left, + '--wedocs-modal-list-item-border-color': modalStyles.listItemBorderColor, + '--wedocs-modal-list-item-border-width': modalStyles.listItemBorderWidth, + '--wedocs-modal-list-item-border-radius': modalStyles.listItemBorderRadius + }; + return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + ...blockProps, + style: searchBoxStyle + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: "wedocs-quick-search-trigger", + "data-placeholder": searchBoxPlaceholder, + "data-modal-placeholder": modalPlaceholder, + "data-modal-docs-source": modalDocsSource, + "data-section-ids": sectionIds, + "data-article-ids": articleIds, + "data-helpful-docs-count": helpfulDocsCount, + style: modalStyle + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: "wedocs-quick-search-input" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("span", { + className: "wedocs-quick-search-placeholder" + }, searchBoxPlaceholder), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("span", { + className: "wedocs-quick-search-command" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", { + width: "16", + height: "16", + viewBox: "0 0 24 24", + fill: "none", + stroke: "currentColor", + strokeWidth: "2" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", { + d: "M9 9l6 6m0-6l-6 6" + })), "K")))); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Save); + +/***/ }), + +/***/ "./src/blocks/Search/attributes.js": +/*!*****************************************!*\ + !*** ./src/blocks/Search/attributes.js ***! + \*****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__); + +const attributes = { + hideSearch: { + type: 'boolean', + default: false // Default value when the block is first inserted + }, + searchWidth: { + type: 'number', + default: 50 // Default width in pixels + }, + widthUnit: { + type: 'string', + default: '%' // Default unit in percent + }, + placeholder: { + type: 'string', + default: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Search for a top or question', 'wedocs') + }, + alignment: { + type: 'string', + default: 'right' + }, + bgColor: { + type: 'string', + default: '#FFFFFF' // Default background color + }, + hoverColor: { + type: 'string', + default: '#FFFFFF' // Default background color + }, + padding: { + type: 'object', + default: { + top: 14, + left: 22, + right: 22, + bottom: 14 + } // Default padding. + }, + margin: { + type: 'object', + default: { + top: 0, + left: 0, + right: 0, + bottom: 0 + } // Default padding. + }, + borderColor: { + type: 'string', + default: '#cccccc' // Default border color + }, + borderType: { + type: 'string', + default: 'solid' // Default border type + }, + borderWidth: { + type: 'number', + default: 1 // Default border width + }, + borderRadius: { + type: 'number', + default: 30 // Default border radius + }, + iconColor: { + type: 'string', + default: '#FFFFFF' // Default icon color + }, + iconBgColor: { + type: 'string', + default: '#3b82f6' // Default icon background color + }, + iconHoverColor: { + type: 'string', + default: '#2563eb' // Default icon hover color + }, + svgHoverColor: { + type: 'string', + default: '#FFFFFF' // Default icon hover color + }, + btnPadding: { + type: 'object', + default: { + top: 24, + left: 26, + right: 26, + bottom: 24 + } // Default padding. + }, + btnPosition: { + type: 'object', + default: { + top: 0, + right: 0, + bottom: 10 + } // Default padding. + }, + btnRadius: { + type: 'number', + default: 30 // Default border radius + } +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (attributes); + +/***/ }), + +/***/ "./src/blocks/Search/edit.js": +/*!***********************************!*\ + !*** ./src/blocks/Search/edit.js ***! + \***********************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/shadow.js"); +/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/cog.js"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _CustomControls_UnitControl__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../CustomControls/UnitControl */ "./src/blocks/CustomControls/UnitControl.js"); +/* harmony import */ var _CustomControls_RadioImageControl__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../CustomControls/RadioImageControl */ "./src/blocks/CustomControls/RadioImageControl.js"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); +/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__); + + + + + + + + + +const Edit = ({ + attributes, + setAttributes +}) => { + const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.useBlockProps)(); + const { + margin, + bgColor, + padding, + btnRadius, + alignment, + iconColor, + widthUnit, + hoverColor, + borderType, + hideSearch, + btnPadding, + searchWidth, + btnPosition, + placeholder, + borderColor, + borderWidth, + iconBgColor, + borderRadius, + svgHoverColor, + iconHoverColor + } = attributes; + console.log('editor panel:', bgColor); + const alignmentOptions = [{ + value: 'left', + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Align left', 'wedocs'), + svg: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", { + width: "24", + height: "25", + fill: "none", + strokeWidth: "2", + strokeLinecap: "round", + stroke: alignment === 'left' ? '#007cba' : '#939494', + strokeLinejoin: "round" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", { + d: "M8 9.462h12m-12 6h6m-10-9v12" + })) + }, { + value: 'center', + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Align center', 'wedocs'), + svg: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", { + width: "24", + height: "25", + fill: "none", + strokeWidth: "2", + strokeLinecap: "round", + stroke: alignment === 'center' ? '#007cba' : '#939494', + strokeLinejoin: "round" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", { + d: "M18 9.462H6m8.99 6h-6" + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", { + d: "M12 6.462v12" + })) + }, { + value: 'right', + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Align right', 'wedocs'), + svg: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", { + width: "24", + height: "25", + fill: "none", + strokeWidth: "2", + strokeLinecap: "round", + stroke: alignment === 'right' ? '#007cba' : '#939494', + strokeLinejoin: "round" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", { + d: "M16 9.462H4m12 6h-6m10-9v12" + })) + }]; + const [hover, setHover] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(false); + const [svgHover, setSvgHover] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(false); + const [iconHover, setIconHover] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.useState)(false); + const containerStyles = { + display: 'flex', + justifyContent: alignment + }; + const colors = [{ + name: 'Sweet', + color: '#F43F5E' + }, { + name: 'Orange', + color: '#F97316' + }, { + name: 'Yellow', + color: '#FACC15' + }, { + name: 'Purple', + color: '#8B5CF6' + }, { + name: 'Light Blue', + color: '#3B82F6' + }, { + name: 'Light Green', + color: '#10B981' + }]; + const inputStyles = { + border: `${borderWidth}px ${borderType} ${borderColor}`, + paddingTop: padding?.top, + background: hover ? hoverColor : bgColor, + paddingLeft: padding?.left, + paddingRight: padding?.right, + borderRadius: `${borderRadius}px`, + paddingBottom: padding?.bottom + }; + const searchStyles = { + top: btnPosition?.top, + left: btnPosition?.left, + right: btnPosition?.right, + bottom: btnPosition?.bottom, + height: 'auto', + background: iconHover ? iconHoverColor : iconBgColor, + paddingTop: btnPadding?.top, + paddingLeft: btnPadding?.left, + borderRadius: btnRadius, + paddingRight: btnPadding?.right, + paddingBottom: btnPadding?.bottom + }; + const borderOptions = [{ + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Solid', 'wedocs'), + value: 'solid' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Dotted', 'wedocs'), + value: 'dotted' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Dashed', 'wedocs'), + value: 'dashed' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Double', 'wedocs'), + value: 'double' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Groove', 'wedocs'), + value: 'groove' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Ridge', 'wedocs'), + value: 'ridge' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Inset', 'wedocs'), + value: 'inset' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Outset', 'wedocs'), + value: 'outset' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('None', 'wedocs'), + value: 'none' + }, { + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Hidden', 'wedocs'), + value: 'hidden' + }]; + return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InspectorControls, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.PanelBody, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.ToggleControl, { + checked: hideSearch, + className: 'wedocs-search-toggle', + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Disable Block', 'wedocs'), + onChange: newHideSearch => setAttributes({ + hideSearch: newHideSearch + }) + })), !hideSearch && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Color Settings', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_7__["default"], + initialOpen: false, + className: `wedocs-search-color-settings` + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.PanelColorSettings, { + colors: colors, + colorSettings: [{ + value: bgColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Field Background Color', 'wedocs'), + onChange: newBgColor => setAttributes({ + bgColor: newBgColor + }) + }, { + value: hoverColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Field Hover Color', 'wedocs'), + onChange: newHoverColor => setAttributes({ + hoverColor: newHoverColor + }) + }, { + value: borderColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Border Color', 'wedocs'), + onChange: newBorderColor => setAttributes({ + borderColor: newBorderColor + }) + }, { + value: iconColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Icon Color', 'wedocs'), + onChange: newIconColor => setAttributes({ + iconColor: newIconColor + }) + }, { + value: iconBgColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Button Color', 'wedocs'), + onChange: newIconBgColor => setAttributes({ + iconBgColor: newIconBgColor + }) + }, { + value: iconHoverColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Button Hover Color', 'wedocs'), + onChange: newIconHoverColor => setAttributes({ + iconHoverColor: newIconHoverColor + }) + }, { + value: svgHoverColor, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Icon Hover Color', 'wedocs'), + onChange: newSvgHoverColor => setAttributes({ + svgHoverColor: newSvgHoverColor + }) + }] + })), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.PanelBody, { + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Search Bar Settings', 'wedocs'), + icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_8__["default"] + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_CustomControls_UnitControl__WEBPACK_IMPORTED_MODULE_4__["default"], { + unit: widthUnit, + value: searchWidth, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Field Width', 'wedocs'), + onUnitChange: newWidthUnit => setAttributes({ + widthUnit: newWidthUnit + }), + onValueChange: newSearchWidth => setAttributes({ + searchWidth: newSearchWidth ? parseInt(newSearchWidth) : 0 + }) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.TextControl, { + value: placeholder, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Placeholder', 'wedocs'), + placeholder: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Search bar placeholder', 'wedocs'), + onChange: newPlaceholder => setAttributes({ + placeholder: newPlaceholder + }) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("p", { + style: { + fontSize: 11 + } + }, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('POSITION', 'wedocs')), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_CustomControls_RadioImageControl__WEBPACK_IMPORTED_MODULE_5__["default"], { + selected: alignment, + options: alignmentOptions, + onChange: newAlignment => setAttributes({ + alignment: newAlignment + }) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.__experimentalBoxControl, { + resetValues: { + top: '14px', + left: '22px', + right: '22px', + bottom: '14px' + }, + values: padding, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Field Padding', 'wedocs'), + onChange: newPadding => setAttributes({ + padding: newPadding + }) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.__experimentalBoxControl, { + resetValues: { + top: '0px', + left: '0px', + right: '0px', + bottom: '0px' + }, + values: margin, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Field Margin', 'wedocs'), + onChange: newMargin => setAttributes({ + margin: newMargin + }) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.RangeControl, { + min: 0, + max: 10, + value: borderWidth, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Border Width', 'wedocs'), + onChange: newBorderWidth => setAttributes({ + borderWidth: newBorderWidth + }) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.RangeControl, { + min: 0, + max: 100, + value: borderRadius, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Border Radius', 'wedocs'), + onChange: newBorderRadius => setAttributes({ + borderRadius: newBorderRadius + }) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.SelectControl, { + value: borderType, + options: borderOptions, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Border Type', 'wedocs'), + onChange: newBorderType => setAttributes({ + borderType: newBorderType + }) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.__experimentalBoxControl, { + resetValues: { + top: '24px', + left: '26px', + right: '26px', + bottom: '24px' + }, + values: btnPadding, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Button Padding', 'wedocs'), + onChange: newBtnPadding => setAttributes({ + btnPadding: newBtnPadding + }) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.__experimentalBoxControl, { + resetValues: { + top: '0px', + right: '0px', + bottom: '10px' + }, + values: btnPosition, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Button Margin', 'wedocs'), + onChange: newBtnPosition => setAttributes({ + btnPosition: newBtnPosition + }) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.RangeControl, { + min: 0, + max: 100, + value: btnRadius, + label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Button Radius', 'wedocs'), + onChange: newBtnRadius => setAttributes({ + btnRadius: newBtnRadius + }) + })))), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + ...blockProps, + style: containerStyles + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: "wedocs-editor-search-input", + style: { + width: searchWidth + widthUnit, + marginTop: margin?.top, + marginLeft: margin?.left, + marginRight: margin?.right, + marginBottom: margin?.bottom + } + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("input", { + readOnly: true, + style: inputStyles, + className: "search-field", + placeholder: placeholder, + onMouseEnter: () => setHover(true), + onMouseLeave: () => setHover(false) + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("input", { + type: "hidden", + name: "post_type", + value: "docs" + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("button", { + type: "submit", + style: searchStyles, + className: "search-submit", + onMouseEnter: () => setIconHover(true), + onMouseLeave: () => setIconHover(false) + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", { + width: "15", + height: "16", + fill: "none", + onMouseEnter: () => setSvgHover(true), + onMouseLeave: () => setSvgHover(false) + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", { + fill: svgHover ? svgHoverColor : iconColor, + fillRule: "evenodd", + d: "M11.856 10.847l2.883 2.883a.89.89 0 0 1 0 1.257c-.173.174-.401.261-.629.261s-.455-.087-.629-.261l-2.883-2.883c-1.144.874-2.532 1.353-3.996 1.353a6.56 6.56 0 0 1-4.671-1.935c-2.576-2.575-2.576-6.765 0-9.341C3.179.934 4.839.247 6.603.247s3.424.687 4.671 1.935a6.56 6.56 0 0 1 1.935 4.67 6.55 6.55 0 0 1-1.353 3.995zM3.189 3.439c-1.882 1.882-1.882 4.945 0 6.827.912.912 2.124 1.414 3.414 1.414s2.502-.502 3.414-1.414 1.414-2.124 1.414-3.413-.502-2.502-1.414-3.413-2.124-1.414-3.414-1.414-2.502.502-3.414 1.414z" + })))), hideSearch && (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: "backdrop" + }))); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Edit); + +/***/ }), + +/***/ "./src/blocks/Search/index.js": +/*!************************************!*\ + !*** ./src/blocks/Search/index.js ***! + \************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); +/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./edit */ "./src/blocks/Search/edit.js"); +/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./save */ "./src/blocks/Search/save.js"); +/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style.scss */ "./src/blocks/Search/style.scss"); +/* harmony import */ var _attributes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./attributes */ "./src/blocks/Search/attributes.js"); + + + + + + + +(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__.registerBlockType)('wedocs/wedocs-search', { + attributes: _attributes__WEBPACK_IMPORTED_MODULE_6__["default"], + save: _save__WEBPACK_IMPORTED_MODULE_4__["default"], + edit: _edit__WEBPACK_IMPORTED_MODULE_3__["default"], + icon: (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", { + width: "20", + height: "20", + viewBox: "0 0 20 20", + fill: "none" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M8.91421 1.5H5.5C4.39543 1.5 3.5 2.39543 3.5 3.5V6.91421V9.02779V15.5C3.5 16.6046 4.39543 17.5 5.5 17.5H7.02779C6.07771 16.4385 5.5 15.0367 5.5 13.5C5.5 10.1863 8.18629 7.5 11.5 7.5C13.0367 7.5 14.4385 8.07771 15.5 9.02779V8.5V6.91421C15.5 6.38378 15.2893 5.87507 14.9142 5.5L11.5 2.08579C11.1249 1.71071 10.6162 1.5 10.0858 1.5H8.91421ZM15.5 13.5C15.5 11.2909 13.7091 9.5 11.5 9.5C9.29086 9.5 7.5 11.2909 7.5 13.5C7.5 15.7091 9.29086 17.5 11.5 17.5C12.2414 17.5 12.9364 17.2977 13.5318 16.946L14.7929 18.2071C15.1834 18.5976 15.8166 18.5976 16.2071 18.2071C16.5976 17.8166 16.5976 17.1834 16.2071 16.7929L14.946 15.5318C15.2977 14.9364 15.5 14.2414 15.5 13.5ZM11.5 11.5C12.6046 11.5 13.5 12.3954 13.5 13.5C13.5 14.0526 13.2772 14.5512 12.9142 14.9142C12.5512 15.2772 12.0526 15.5 11.5 15.5C10.3954 15.5 9.5 14.6046 9.5 13.5C9.5 12.3954 10.3954 11.5 11.5 11.5Z", + fill: "#111827" + })), + title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('weDocs - Searchbar', 'wedocs'), + keywords: ['Search', 'weDocs search bar', 'Bar'], + category: 'widgets', + description: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__.__)('Simple search forms for easy user guidance for your documentation', 'wedocs') +}); + +/***/ }), + +/***/ "./src/blocks/Search/save.js": +/*!***********************************!*\ + !*** ./src/blocks/Search/save.js ***! + \***********************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); +/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__); + + + +const Save = ({ + attributes +}) => { + const { + margin, + bgColor, + padding, + btnRadius, + alignment, + iconColor, + widthUnit, + hoverColor, + borderType, + hideSearch, + btnPadding, + searchWidth, + btnPosition, + placeholder, + borderColor, + borderWidth, + iconBgColor, + borderRadius, + svgHoverColor, + iconHoverColor + } = attributes; + if (hideSearch) { + return; + } + const containerStyles = { + display: 'flex', + justifyContent: alignment + }; + const inputStyles = { + border: `${borderWidth}px ${borderType} ${borderColor}`, + paddingTop: padding?.top, + paddingLeft: padding?.left, + paddingRight: padding?.right, + borderRadius: `${borderRadius}px`, + paddingBottom: padding?.bottom, + "--field-color": bgColor, + "--field-bg-color": hoverColor + }; + const searchStyles = { + top: btnPosition?.top, + left: btnPosition?.left, + right: btnPosition?.right, + bottom: btnPosition?.bottom, + height: 'auto', + paddingTop: btnPadding?.top, + paddingLeft: btnPadding?.left, + borderRadius: btnRadius, + paddingRight: btnPadding?.right, + paddingBottom: btnPadding?.bottom, + "--field-icon-color": iconColor, + "--field-btn-bg-color": iconBgColor, + "--field-icon-hover-color": svgHoverColor, + "--field-btn-bg-hover-color": iconHoverColor + }; + return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("form", { + method: "get", + role: "search", + action: weDocsBlockVars?.siteUrl, + ..._wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.useBlockProps.save({ + className: 'search-form wedocs-search-form' + }) + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + style: containerStyles + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { + className: "wedocs-search-input", + style: { + width: searchWidth + widthUnit, + marginTop: margin?.top, + marginLeft: margin?.left, + marginRight: margin?.right, + marginBottom: margin?.bottom + } + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("input", { + name: "s", + type: "search", + style: inputStyles, + className: "search-field", + placeholder: placeholder + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("input", { + type: "hidden", + name: "post_type", + value: "docs" + }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("button", { + type: "submit", + style: searchStyles, + className: "search-submit" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", { + width: "15", + height: "16", + fill: "none" + }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", { + fillRule: "evenodd", + d: "M11.856 10.847l2.883 2.883a.89.89 0 0 1 0 1.257c-.173.174-.401.261-.629.261s-.455-.087-.629-.261l-2.883-2.883c-1.144.874-2.532 1.353-3.996 1.353a6.56 6.56 0 0 1-4.671-1.935c-2.576-2.575-2.576-6.765 0-9.341C3.179.934 4.839.247 6.603.247s3.424.687 4.671 1.935a6.56 6.56 0 0 1 1.935 4.67 6.55 6.55 0 0 1-1.353 3.995zM3.189 3.439c-1.882 1.882-1.882 4.945 0 6.827.912.912 2.124 1.414 3.414 1.414s2.502-.502 3.414-1.414 1.414-2.124 1.414-3.413-.502-2.502-1.414-3.413-2.124-1.414-3.414-1.414-2.502.502-3.414 1.414z" + }))))))); +}; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Save); + +/***/ }), + +/***/ "./src/blocks/index.js": +/*!*****************************!*\ + !*** ./src/blocks/index.js ***! + \*****************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _Search__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Search */ "./src/blocks/Search/index.js"); +/* harmony import */ var _DocsGrid__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./DocsGrid */ "./src/blocks/DocsGrid/index.js"); +/* harmony import */ var _QuickSearch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./QuickSearch */ "./src/blocks/QuickSearch/index.js"); + + + + +/***/ }), + +/***/ "./src/blocks/DocsGrid/style.scss": +/*!****************************************!*\ + !*** ./src/blocks/DocsGrid/style.scss ***! + \****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "./src/blocks/QuickSearch/style.scss": +/*!*******************************************!*\ + !*** ./src/blocks/QuickSearch/style.scss ***! + \*******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "./src/blocks/Search/style.scss": +/*!**************************************!*\ + !*** ./src/blocks/Search/style.scss ***! + \**************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + + +/***/ }), + +/***/ "react": +/*!************************!*\ + !*** external "React" ***! + \************************/ +/***/ ((module) => { + +module.exports = window["React"]; + +/***/ }), + +/***/ "@wordpress/block-editor": +/*!*************************************!*\ + !*** external ["wp","blockEditor"] ***! + \*************************************/ +/***/ ((module) => { + +module.exports = window["wp"]["blockEditor"]; + +/***/ }), + +/***/ "@wordpress/blocks": +/*!********************************!*\ + !*** external ["wp","blocks"] ***! + \********************************/ +/***/ ((module) => { + +module.exports = window["wp"]["blocks"]; + +/***/ }), + +/***/ "@wordpress/components": +/*!************************************!*\ + !*** external ["wp","components"] ***! + \************************************/ +/***/ ((module) => { + +module.exports = window["wp"]["components"]; + +/***/ }), + +/***/ "@wordpress/data": +/*!******************************!*\ + !*** external ["wp","data"] ***! + \******************************/ +/***/ ((module) => { + +module.exports = window["wp"]["data"]; + +/***/ }), + +/***/ "@wordpress/element": +/*!*********************************!*\ + !*** external ["wp","element"] ***! + \*********************************/ +/***/ ((module) => { + +module.exports = window["wp"]["element"]; + +/***/ }), + +/***/ "@wordpress/i18n": +/*!******************************!*\ + !*** external ["wp","i18n"] ***! + \******************************/ +/***/ ((module) => { + +module.exports = window["wp"]["i18n"]; + +/***/ }), + +/***/ "@wordpress/primitives": +/*!************************************!*\ + !*** external ["wp","primitives"] ***! + \************************************/ +/***/ ((module) => { + +module.exports = window["wp"]["primitives"]; + +/***/ }), + +/***/ "./src/blocks/DocsGrid/block.json": +/*!****************************************!*\ + !*** ./src/blocks/DocsGrid/block.json ***! + \****************************************/ +/***/ ((module) => { + +module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"wedocs/wedocs-docs-grid","version":"1.0.0","title":"weDocs - Docs Grid","icon":"grid-view","category":"widgets","description":"Display all the docs in a grid view","supports":{"html":false},"editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","render":"file:./render.php","attributes":{"docStyle":{"type":"string","default":"1x1"},"docsPerPage":{"type":"string","default":"all"},"excludeDocs":{"type":"array","default":[]},"order":{"type":"string","default":"asc"},"orderBy":{"type":"string","default":"menu_order"},"sectionsPerDoc":{"type":"string","default":"all"},"articlesPerSection":{"type":"string","default":"all"},"showDocArticle":{"type":"boolean","default":true},"keepArticlesCollapsed":{"type":"boolean","default":false},"showViewDetails":{"type":"boolean","default":true},"gridPadding":{"type":"object","default":{"top":"20px","right":"20px","bottom":"20px","left":"20px"}},"gridMargin":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"docTitleColor":{"type":"string","default":"#333333"},"docChildrenActiveColor":{"type":"string","default":"#0073aa"},"borderWidth":{"type":"string","default":"1px"},"borderColor":{"type":"string","default":"rgba(0, 0, 0, 0.1)"},"borderType":{"type":"string","default":"solid"},"borderRadius":{"type":"string","default":"4px"},"buttonBorderRadius":{"type":"string","default":"4px"},"buttonPadding":{"type":"object","default":{"top":"10px","right":"20px","bottom":"10px","left":"20px"}},"buttonMargin":{"type":"object","default":{"top":"10px","right":"0px","bottom":"0px","left":"0px"}},"buttonColor":{"type":"string","default":"#0073aa"},"buttonHoverColor":{"type":"string","default":"#005177"},"buttonText":{"type":"string","default":"View Details"},"buttonTextColor":{"type":"string","default":"#ffffff"},"buttonHoverTextColor":{"type":"string","default":"#ffffff"},"paginationTextColor":{"type":"string","default":"#333333"},"paginationTextHoverColor":{"type":"string","default":"#0073aa"},"paginationBackgroundColor":{"type":"string","default":"#ffffff"},"paginationHoverColor":{"type":"string","default":"#f5f5f5"},"paginationBorderColor":{"type":"string","default":"#dddddd"}}}'); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = __webpack_modules__; +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/chunk loaded */ +/******/ (() => { +/******/ var deferred = []; +/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => { +/******/ if(chunkIds) { +/******/ priority = priority || 0; +/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1]; +/******/ deferred[i] = [chunkIds, fn, priority]; +/******/ return; +/******/ } +/******/ var notFulfilled = Infinity; +/******/ for (var i = 0; i < deferred.length; i++) { +/******/ var chunkIds = deferred[i][0]; +/******/ var fn = deferred[i][1]; +/******/ var priority = deferred[i][2]; +/******/ var fulfilled = true; +/******/ for (var j = 0; j < chunkIds.length; j++) { +/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) { +/******/ chunkIds.splice(j--, 1); +/******/ } else { +/******/ fulfilled = false; +/******/ if(priority < notFulfilled) notFulfilled = priority; +/******/ } +/******/ } +/******/ if(fulfilled) { +/******/ deferred.splice(i--, 1) +/******/ var r = fn(); +/******/ if (r !== undefined) result = r; +/******/ } +/******/ } +/******/ return result; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/compat get default export */ +/******/ (() => { +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = (module) => { +/******/ var getter = module && module.__esModule ? +/******/ () => (module['default']) : +/******/ () => (module); +/******/ __webpack_require__.d(getter, { a: getter }); +/******/ return getter; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/define property getters */ +/******/ (() => { +/******/ // define getter functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); +/******/ } +/******/ } +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); +/******/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/jsonp chunk loading */ +/******/ (() => { +/******/ // no baseURI +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "block": 0, +/******/ "./style-block": 0 +/******/ }; +/******/ +/******/ // no chunk on demand loading +/******/ +/******/ // no prefetching +/******/ +/******/ // no preloaded +/******/ +/******/ // no HMR +/******/ +/******/ // no HMR manifest +/******/ +/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0); +/******/ +/******/ // install a JSONP callback for chunk loading +/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ var chunkIds = data[0]; +/******/ var moreModules = data[1]; +/******/ var runtime = data[2]; +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0; +/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { +/******/ for(moduleId in moreModules) { +/******/ if(__webpack_require__.o(moreModules, moduleId)) { +/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(runtime) var result = runtime(__webpack_require__); +/******/ } +/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ installedChunks[chunkId][0](); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ return __webpack_require__.O(result); +/******/ } +/******/ +/******/ var chunkLoadingGlobal = self["webpackChunkweDocs"] = self["webpackChunkweDocs"] || []; +/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); +/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); +/******/ })(); +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module depends on other loaded chunks and execution need to be delayed +/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["./style-block"], () => (__webpack_require__("./src/block.js"))) +/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__); +/******/ +/******/ })() +; +//# sourceMappingURL=block.js.map \ No newline at end of file diff --git a/assets/build/block.js.map b/assets/build/block.js.map new file mode 100644 index 00000000..e924c54d --- /dev/null +++ b/assets/build/block.js.map @@ -0,0 +1 @@ +{"version":3,"file":"block.js","mappings":";;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACkD;AACF;AAChD,yBAAyB,sDAAI,CAAC,sDAAG;AACjC;AACA;AACA,yBAAyB,sDAAI,CAAC,uDAAI;AAClC;AACA;AACA;AACA,GAAG;AACH,CAAC;AACD,iEAAe,GAAG,EAAC;AACnB;;;;;;;;;;;;;;;;;ACfA;AACA;AACA;AACkD;AACF;AAChD,4BAA4B,sDAAI,CAAC,sDAAG;AACpC;AACA;AACA,yBAAyB,sDAAI,CAAC,uDAAI;AAClC;AACA,GAAG;AACH,CAAC;AACD,iEAAe,MAAM,EAAC;AACtB;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,IAAI,IAAqC;AACzC;AACA;;AAEA,YAAY,mBAAO,CAAC,oBAAO;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iGAAiG,eAAe;AAChH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;;AA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ACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEnDA;UACA;UACA;UACA;UACA","sources":["webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/cog.js","webpack://weDocs/./node_modules/@wordpress/icons/build-module/library/shadow.js","webpack://weDocs/./node_modules/@wordpress/icons/node_modules/react/cjs/react-jsx-runtime.development.js","webpack://weDocs/./node_modules/@wordpress/icons/node_modules/react/jsx-runtime.js","webpack://weDocs/./src/blocks/CustomControls/RadioImageControl.js","webpack://weDocs/./src/blocks/CustomControls/UnitControl.js","webpack://weDocs/./src/blocks/DocsGrid/StyleControls.js","webpack://weDocs/./src/blocks/DocsGrid/edit.js","webpack://weDocs/./src/blocks/DocsGrid/index.js","webpack://weDocs/./src/blocks/QuickSearch/attributes.js","webpack://weDocs/./src/blocks/QuickSearch/edit.js","webpack://weDocs/./src/blocks/QuickSearch/index.js","webpack://weDocs/./src/blocks/QuickSearch/save.js","webpack://weDocs/./src/blocks/Search/attributes.js","webpack://weDocs/./src/blocks/Search/edit.js","webpack://weDocs/./src/blocks/Search/index.js","webpack://weDocs/./src/blocks/Search/save.js","webpack://weDocs/./src/blocks/index.js","webpack://weDocs/./src/blocks/DocsGrid/style.scss","webpack://weDocs/./src/blocks/QuickSearch/style.scss","webpack://weDocs/./src/blocks/Search/style.scss","webpack://weDocs/external window \"React\"","webpack://weDocs/external window [\"wp\",\"blockEditor\"]","webpack://weDocs/external window [\"wp\",\"blocks\"]","webpack://weDocs/external window [\"wp\",\"components\"]","webpack://weDocs/external window [\"wp\",\"data\"]","webpack://weDocs/external window [\"wp\",\"element\"]","webpack://weDocs/external window [\"wp\",\"i18n\"]","webpack://weDocs/external window [\"wp\",\"primitives\"]","webpack://weDocs/webpack/bootstrap","webpack://weDocs/webpack/runtime/chunk loaded","webpack://weDocs/webpack/runtime/compat get default export","webpack://weDocs/webpack/runtime/define property getters","webpack://weDocs/webpack/runtime/hasOwnProperty shorthand","webpack://weDocs/webpack/runtime/make namespace object","webpack://weDocs/webpack/runtime/jsonp chunk loading","webpack://weDocs/webpack/before-startup","webpack://weDocs/webpack/startup","webpack://weDocs/webpack/after-startup"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst cog = /*#__PURE__*/_jsx(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n children: /*#__PURE__*/_jsx(Path, {\n fillRule: \"evenodd\",\n d: \"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z\",\n clipRule: \"evenodd\"\n })\n});\nexport default cog;\n//# sourceMappingURL=cog.js.map","/**\n * WordPress dependencies\n */\nimport { Path, SVG } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst shadow = /*#__PURE__*/_jsx(SVG, {\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z\"\n })\n});\nexport default shadow;\n//# sourceMappingURL=shadow.js.map","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('')) {\n _frame = _frame.replace('', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie.
\n // or
). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n //
, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n {\n if (hasOwnProperty.call(props, 'key')) {\n var componentName = getComponentNameFromType(type);\n var keys = Object.keys(props).filter(function (k) {\n return k !== 'key';\n });\n var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n error('A props object containing a \"key\" prop is being spread into JSX:\\n' + ' let props = %s;\\n' + ' <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + ' let props = %s;\\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n didWarnAboutKeySpread[componentName + beforeExample] = true;\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import { BaseControl } from '@wordpress/components';\n\nconst RadioImageControl = ({ selected, options, onChange }) => {\n return (\n \n
\n {options.map((option) => (\n
\n onChange(e.target.value)}\n />\n \n
\n ))}\n
\n
\n );\n};\n\nexport default RadioImageControl;\n","import { __ } from '@wordpress/i18n';\nimport { SelectControl, TextControl, Flex, FlexBlock, FlexItem } from '@wordpress/components';\n\nconst UnitControl = ( { label, value, unit, onValueChange, onUnitChange } ) => {\n return (\n \n \n onValueChange( newValue ) }\n />\n \n \n onUnitChange( newUnit ) }\n />\n \n \n );\n};\n\nexport default UnitControl;\n","import { __ } from '@wordpress/i18n';\nimport {\n PanelBody,\n __experimentalBoxControl as BoxControl,\n SelectControl,\n TextControl\n} from '@wordpress/components';\nimport { PanelColorSettings } from '@wordpress/block-editor';\n\n// Add these to your attributes in block.json\nconst styleAttributes = {\n gridPadding: {\n type: \"object\",\n default: {\n top: \"20px\",\n right: \"20px\",\n bottom: \"20px\",\n left: \"20px\"\n }\n },\n gridMargin: {\n type: \"object\",\n default: {\n top: \"0px\",\n right: \"0px\",\n bottom: \"0px\",\n left: \"0px\"\n }\n },\n docTitleColor: {\n type: \"string\",\n default: \"#333333\"\n },\n docChildrenActiveColor: {\n type: \"string\",\n default: \"#0073aa\"\n },\n borderType: {\n type: \"string\",\n default: \"solid\"\n },\n borderWidth: {\n type: \"string\",\n default: \"1px\"\n },\n borderColor: {\n type: \"string\",\n default: \"#dddddd\"\n },\n borderRadius: {\n type: \"string\",\n default: \"4px\"\n },\n buttonBorderRadius: {\n type: \"string\",\n default: \"4px\"\n },\n buttonPadding: {\n type: \"object\",\n default: {\n top: \"10px\",\n right: \"20px\",\n bottom: \"10px\",\n left: \"20px\"\n }\n },\n buttonMargin: {\n type: \"object\",\n default: {\n top: \"10px\",\n right: \"0px\",\n bottom: \"0px\",\n left: \"0px\"\n }\n },\n buttonColor: {\n type: \"string\",\n default: \"#0073aa\"\n },\n buttonHoverColor: {\n type: \"string\",\n default: \"#005177\"\n },\n buttonTextColor: {\n type: \"string\",\n default: \"#ffffff\"\n },\n buttonHoverTextColor: {\n type: \"string\",\n default: \"#ffffff\"\n },\n paginationTextColor: {\n type: \"string\",\n default: \"#333333\"\n },\n paginationTextHoverColor: {\n type: \"string\",\n default: \"#0073aa\"\n },\n paginationBackgroundColor: {\n type: \"string\",\n default: \"#ffffff\"\n },\n paginationHoverColor: {\n type: \"string\",\n default: \"#f5f5f5\"\n }\n};\n\nconst StyleControls = ({ attributes, setAttributes }) => {\n const updateAttribute = (attributeName) => (value) => {\n setAttributes({ [attributeName]: value });\n };\n\n const borderTypes = [\n { label: __('Solid', 'wedocs'), value: 'solid' },\n { label: __('Dashed', 'wedocs'), value: 'dashed' },\n { label: __('Dotted', 'wedocs'), value: 'dotted' },\n { label: __('None', 'wedocs'), value: 'none' }\n ];\n const colors = [\n { name: 'Sweet', color: '#F43F5E' },\n { name: 'Orange', color: '#F97316' },\n { name: 'Yellow', color: '#FACC15' },\n { name: 'Purple', color: '#8B5CF6' },\n { name: 'Light Blue', color: '#3B82F6' },\n { name: 'Light Green', color: '#10B981' },\n ];\n\n return (\n <>\n \n \n updateAttribute(\n 'docTitleColor')(newBgColor)\n },\n {\n value: attributes.docChildrenActiveColor,\n label: __('Doc Children Active Color', 'wedocs'),\n onChange: (newBgColor) => updateAttribute(\n 'docChildrenActiveColor')(newBgColor)\n },\n {\n value: attributes.borderColor,\n label: __('Border Color', 'wedocs'),\n onChange: (newBorderColor) => updateAttribute(\n 'borderColor')(newBorderColor)\n }\n ]}\n />\n \n \n setAttributes({ borderType: value })}\n />\n\n setAttributes({ borderWidth: value })}\n />\n setAttributes({ borderRadius: value })}\n />\n \n\n \n \n updateAttribute(\n 'buttonColor')(newBgColor)\n },\n {\n value: attributes.buttonHoverColor,\n label: __('Button Hover Color', 'wedocs'),\n onChange: (newBgColor) => updateAttribute(\n 'buttonHoverColor')(newBgColor)\n },\n {\n value: attributes.buttonTextColor,\n label: __('Button Text Color', 'wedocs'),\n onChange: (newBorderColor) => updateAttribute(\n 'buttonTextColor')(newBorderColor)\n },\n {\n value: attributes.buttonHoverTextColor,\n label: __('Button Hover Text Color', 'wedocs'),\n onChange: (newBorderColor) => updateAttribute(\n 'buttonHoverTextColor')(newBorderColor)\n }\n ]}\n />\n \n \n setAttributes(\n { buttonBorderRadius: value })}\n />\n
\n \n \n
\n \n\n {/**/}\n {/*
*/}\n {/* */}\n {/* */}\n {/*
*/}\n {/*
*/}\n {/* */}\n {/* */}\n {/*
*/}\n {/*
*/}\n {/* */}\n {/* */}\n {/*
*/}\n {/*
*/}\n {/* */}\n {/* */}\n {/*
*/}\n {/**/}\n \n );\n};\n\nexport default StyleControls;\n","import { __ } from '@wordpress/i18n';\nimport { cog, grid } from '@wordpress/icons';\nimport { Fragment, useState } from '@wordpress/element';\nimport { useBlockProps, InspectorControls } from '@wordpress/block-editor';\nimport {\n PanelBody,\n SelectControl,\n ToggleControl,\n PanelRow,\n FormTokenField\n} from '@wordpress/components';\nimport StyleControls from './StyleControls';\n\nconst Edit = ({ attributes, setAttributes }) => {\n const blockProps = useBlockProps();\n const { useSelect } = wp.data;\n const [currentPage, setCurrentPage] = useState(1);\n const [loading, setLoading] = useState(false);\n\n const {\n hideDocGrid,\n docStyle,\n docsPerPage,\n excludeDocs,\n order,\n orderBy,\n sectionsPerDoc,\n articlesPerSection,\n showDocArticle,\n keepArticlesCollapsed,\n showViewDetails,\n gridPadding,\n gridMargin,\n docTitleColor,\n docChildrenActiveColor,\n borderType,\n borderRadius,\n borderWidth,\n borderColor,\n buttonBorderRadius,\n buttonPadding,\n buttonMargin,\n buttonColor,\n buttonHoverColor,\n buttonTextColor,\n buttonText,\n buttonHoverTextColor,\n } = attributes;\n\n const applyStyles = () => {\n const paddings = gridPadding ? `${gridPadding.top} ${gridPadding.right} ${gridPadding.bottom} ${gridPadding.left}` : '';\n const margins = gridMargin ? `${gridMargin.top} ${gridMargin.right} ${gridMargin.bottom} ${gridMargin.left}` : '';\n const btnPaddings = buttonPadding ? `${buttonPadding.top} ${buttonPadding.right} ${buttonPadding.bottom} ${buttonPadding.left}` : '';\n const btnradius = buttonBorderRadius || '8px';\n const btnMargins = buttonMargin ? `${buttonMargin.top} ${buttonMargin.right} ${buttonMargin.bottom} ${buttonMargin.left}` : '';\n\n return {\n item: {\n padding: paddings,\n margin: margins,\n borderStyle: borderType || 'solid',\n borderWidth: borderWidth || '1px',\n borderColor: borderColor || 'rgba(0, 0, 0, 0.1)',\n borderRadius: borderRadius || '8px',\n backgroundColor: '#fff'\n },\n title: {\n color: docTitleColor || '#1e1e1e'\n },\n children: {\n color: docChildrenActiveColor || '#0073aa'\n },\n button: {\n padding: btnPaddings,\n margin: btnMargins,\n backgroundColor: buttonColor || '#0073aa',\n color: buttonTextColor || '#ffffff',\n text: buttonText || __('View Details', 'wedocs'),\n borderRadius: btnradius || '8px',\n '--hover-bg': buttonHoverColor || '#005177',\n '--hover-color': buttonHoverTextColor || '#ffffff'\n }\n };\n };\n\n const renderGridItem = (doc, styles) => (\n \n \n {doc.title.rendered}\n \n {renderSections(doc, styles)}\n {showViewDetails && (\n
\n \n {styles.button.text}\n \n
\n )}\n
\n );\n const renderSections = (doc, styles) => {\n if (!doc.sections) return null;\n\n return (\n
\n {doc.sections.map(section => (\n
\n \n {section.title.rendered}\n {showDocArticle && section.articles && section.articles.length > 0 && (\n \n \n \n )}\n \n {(showDocArticle && !keepArticlesCollapsed && section.articles) && (\n
    \n {section.articles.map(article => (\n \n {article.title.rendered}\n \n ))}\n
\n )}\n
\n ))}\n {doc.sections.length === 0 && (\n \n \n \n \n {__('This document has no sections yet. Check back later or wait for the author to add content.', 'wedocs')}\n \n )}\n
\n );\n };\n\n // Control options\n const docStyles = [\n { label: '1x1', value: '1x1' },\n { label: '1x2', value: '1x2' },\n ];\n\n const docsPerPageOptions = [\n { label: 'All', value: 'all' },\n ...Array.from({ length: 10 }, (_, i) => ({\n label: String(i + 1),\n value: String(i + 1)\n }))\n ];\n\n const orderByOptions = [\n { label: __('weDocs Order', 'wedocs'), value: 'menu_order' },\n { label: __('ID', 'wedocs'), value: 'id' },\n { label: __('Name', 'wedocs'), value: 'title' },\n ];\n const orderOptions = [\n { label: __('Ascending', 'wedocs'), value: 'asc' },\n { label: __('Descending', 'wedocs'), value: 'desc' },\n ];\n\n const countOptions = [\n { label: 'All', value: 'all' },\n ...Array.from({ length: 10 }, (_, i) => ({\n label: String(i + 1),\n value: String(i + 1)\n }))\n ];\n // Get published docs\n const { pages, sections, articles } = useSelect((select) => {\n const { getEntityRecords } = select('core');\n\n const docs = getEntityRecords('postType', 'docs', {\n status: 'publish',\n per_page: -1,\n parent: 0,\n orderby: orderBy,\n order: order\n });\n\n // Get all sections (docs children)\n const allSections = docs ? getEntityRecords('postType', 'docs', {\n status: 'publish',\n parent_in: docs.map(doc => doc.id),\n per_page: -1\n }) : null;\n\n // Get all articles (sections children)\n const allArticles = allSections ? getEntityRecords('postType', 'docs', {\n status: 'publish',\n parent_in: allSections.map(section => section.id),\n per_page: -1\n }) : null;\n\n return {\n pages: docs,\n sections: allSections,\n articles: allArticles\n };\n }, [orderBy, order]);\n\n const processDocsData = () => {\n if (!pages || !sections || !articles) return [];\n\n // Filter and sort docs based on settings\n let processedDocs = [...pages];\n\n // Apply exclude filter\n if (excludeDocs && excludeDocs.length > 0) {\n processedDocs = processedDocs.filter(doc =>\n !excludeDocs.includes(doc.id.toString())\n );\n }\n\n // Process each doc with its sections and articles\n processedDocs = processedDocs.map(doc => {\n // Get sections for this doc\n let docSections = sections.filter(section => section.parent === doc.id);\n\n // Limit sections if specified\n if (sectionsPerDoc !== 'all') {\n docSections = docSections.slice(0, parseInt(sectionsPerDoc));\n }\n\n // Process sections with their articles\n docSections = docSections.map(section => {\n let sectionArticles = articles.filter(article => article.parent === section.id);\n\n // Limit articles if specified\n if (articlesPerSection !== 'all') {\n sectionArticles = sectionArticles.slice(0, parseInt(articlesPerSection));\n }\n\n return {\n ...section,\n articles: sectionArticles\n };\n });\n\n // Calculate total articles for the doc\n const totalArticles = docSections.reduce((total, section) =>\n total + section.articles.length, 0\n );\n\n return {\n ...doc,\n sections: docSections,\n articleCount: totalArticles\n };\n });\n\n return processedDocs;\n };\n // Handle pagination\n const getPagedDocs = (docs) => {\n if ( docsPerPage === 'all') return docs;\n\n const perPage = parseInt(docsPerPage);\n const start = (currentPage - 1) * perPage;\n const end = start + perPage;\n\n return docs.slice(start, end);\n };\n\n // Get final display docs\n const getDisplayDocs = () => {\n const processedDocs = processDocsData();\n return getPagedDocs(processedDocs);\n };\n\n // Pagination controls\n const renderPagination = (totalDocs) => {\n if (docsPerPage === 'all') return null;\n\n const totalPages = Math.ceil(totalDocs.length / parseInt(docsPerPage));\n\n // Create style objects for pagination buttons\n const paginationBaseStyle = {\n padding: '8px 12px',\n margin: '0 4px',\n backgroundColor: attributes.paginationBackgroundColor || '#fff',\n color: attributes.paginationTextColor || '#333',\n border: `1px solid ${attributes.paginationBorderColor || '#ddd'}`,\n borderRadius: attributes.borderRadius || '4px',\n cursor: 'pointer',\n transition: 'all 0.2s ease',\n textDecoration: 'none',\n display: 'inline-block',\n minWidth: '32px',\n textAlign: 'center',\n fontFamily: 'inherit',\n fontSize: '14px',\n lineHeight: '1.4'\n };\n\n // Active button style\n const activeStyle = {\n ...paginationBaseStyle,\n backgroundColor: attributes.paginationHoverColor || '#f5f5f5',\n borderColor: attributes.paginationHoverColor || '#ccc',\n color: attributes.paginationTextHoverColor || '#0073aa'\n };\n\n // Hover styles will be handled by CSS custom properties\n const customProperties = {\n '--pagination-hover-bg': attributes.paginationHoverColor || '#f5f5f5',\n '--pagination-hover-color': attributes.paginationTextHoverColor || '#0073aa',\n '--pagination-hover-border': attributes.paginationHoverColor || '#ccc'\n };\n\n return (\n \n {/* Previous button */}\n {currentPage > 1 && (\n setCurrentPage(currentPage - 1)}\n className=\"wedocs-docs-pagination__button\"\n >\n ←\n \n )}\n\n {/* Page numbers */}\n {Array.from({ length: totalPages }, (_, i) => {\n const pageNum = i + 1;\n const isCurrentPage = currentPage === pageNum;\n\n return (\n setCurrentPage(pageNum)}\n >\n {pageNum}\n \n );\n })}\n\n {/* Next button */}\n {currentPage < totalPages && (\n setCurrentPage(currentPage + 1)}\n className=\"wedocs-docs-pagination__button\"\n >\n →\n \n )}\n\n \n
\n );\n };\n\n const displayDocs = getDisplayDocs();\n // Create a mapping of ID to title for suggestions\n const docsMap = pages ? pages.reduce((acc, page) => {\n acc[page.id] = page.title.rendered;\n return acc;\n }, {}) : {};\n\n // Prepare docs options for FormTokenField\n const docsOptions = pages ? pages.map(page => ({\n value: page.id.toString(),\n label: page.title.rendered\n })) : [];\n\n // Update handlers\n const updateAttribute = (attributeName) => (value) => {\n setAttributes({ [attributeName]: value });\n };\n\n // Transform IDs to titles for FormTokenField display\n const excludeDocsDisplay = excludeDocs ? excludeDocs.map(id => docsMap[id] || id) : [];\n\n // Handle token changes\n const handleExcludeDocsChange = (tokens) => {\n // Convert titles back to IDs\n const newExcludeDocs = tokens.map(token => {\n // Find the ID for this title\n const found = Object.entries(docsMap).find(([id, title]) => title === token);\n return found ? found[0] : token;\n });\n\n setAttributes({ excludeDocs: newExcludeDocs });\n };\n\n const getGridClass = () => {\n return `wedocs-docs-grid--${docStyle}`;\n };\n\n return (\n \n \n \n \n\n \n\n \n \n \n\n \n\n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n \n \n \n\n
\n {hideDocGrid ? (\n
\n ) : (\n
\n
\n {loading ? (\n \n ) : (\n displayDocs.map((doc) => renderGridItem(doc, applyStyles()))\n )}\n
\n
\n )}\n
\n
\n );\n};\n\nexport default Edit;\n","import { registerBlockType } from \"@wordpress/blocks\";\nimport Edit from \"./edit\";\nimport metadata from \"./block.json\";\nimport \"./style.scss\";\n\nregisterBlockType(metadata.name, {\n\t/**\n\t * @see ./edit.js\n\t */\n\tedit: Edit,\n\n\t/**\n\t * @see ./save.js\n\t */\n\tsave: () => null,\n});\n","import { __ } from '@wordpress/i18n';\n\nconst attributes = {\n searchBoxPlaceholder: {\n type: 'string',\n default: __( 'Quick search...', 'wedocs' ),\n },\n modalPlaceholder: {\n type: 'string',\n default: __( 'Search documentation', 'wedocs' ),\n },\n modalDocsSource: {\n type: 'string',\n default: 'helpful', // 'sections', 'articles', 'helpful'\n },\n sectionIds: {\n type: 'string',\n default: '',\n },\n articleIds: {\n type: 'string',\n default: '',\n },\n helpfulDocsCount: {\n type: 'number',\n default: 10,\n },\n searchBoxStyles: {\n type: 'object',\n default: {\n placeholderColor: '#9CA3AF',\n iconColor: '#6B7280',\n commandKeyColor: '#6B7280',\n backgroundColor: '#FFFFFF',\n borderColor: '#D1D5DB',\n borderWidth: '1px',\n borderRadius: '8px',\n padding: {\n top: '12px',\n right: '16px',\n bottom: '12px',\n left: '16px',\n },\n margin: {\n top: '0px',\n right: '0px',\n bottom: '0px',\n left: '0px',\n },\n fontSize: '16px',\n fontWeight: '400',\n letterSpacing: '0px',\n lineHeight: '1.5',\n },\n },\n modalStyles: {\n type: 'object',\n default: {\n placeholderColor: '#9CA3AF',\n searchIconColor: '#6B7280',\n backgroundColor: '#FFFFFF',\n fieldTextColor: '#111827',\n listItemIconColor: '#3B82F6',\n listItemTextColor: '#111827',\n docLabelColor: '#3B82F6',\n sectionLabelColor: '#3B82F6',\n listItemPadding: {\n top: '12px',\n right: '16px',\n bottom: '12px',\n left: '16px',\n },\n listItemMargin: {\n top: '0px',\n right: '0px',\n bottom: '0px',\n left: '0px',\n },\n listItemBorderColor: '#E5E7EB',\n listItemBorderWidth: '1px',\n listItemBorderRadius: '4px',\n },\n },\n};\n\nexport default attributes;\n","import { __ } from '@wordpress/i18n';\nimport { Fragment } from '@wordpress/element';\nimport { useBlockProps, InspectorControls, PanelColorSettings } from '@wordpress/block-editor';\nimport {\n PanelBody,\n TextControl,\n SelectControl,\n RangeControl,\n ToggleControl,\n __experimentalBoxControl as BoxControl,\n} from '@wordpress/components';\nimport { useSelect } from '@wordpress/data';\n\nconst Edit = ({ attributes, setAttributes }) => {\n const blockProps = useBlockProps();\n\n const {\n searchBoxPlaceholder,\n modalPlaceholder,\n modalDocsSource,\n sectionIds,\n articleIds,\n helpfulDocsCount,\n searchBoxStyles,\n modalStyles,\n } = attributes;\n\n // Fetch theme colors and gradients\n const { themeColors, themeGradients } = useSelect((select) => {\n const editorSettings = select('core/block-editor').getSettings();\n return {\n themeColors: editorSettings.colors,\n themeGradients: editorSettings.gradients,\n };\n });\n\n const modalDocsSourceOptions = [\n { label: __( 'None', 'wedocs' ), value: 'none' },\n { label: __( 'Sections', 'wedocs' ), value: 'sections' },\n { label: __( 'Articles', 'wedocs' ), value: 'articles' },\n { label: __( 'Helpful Docs', 'wedocs' ), value: 'helpful' },\n ];\n\n const searchBoxStyle = {\n backgroundColor: searchBoxStyles.backgroundColor,\n borderColor: searchBoxStyles.borderColor,\n borderWidth: searchBoxStyles.borderWidth,\n borderRadius: searchBoxStyles.borderRadius,\n paddingTop: searchBoxStyles.padding.top,\n paddingRight: searchBoxStyles.padding.right,\n paddingBottom: searchBoxStyles.padding.bottom,\n paddingLeft: searchBoxStyles.padding.left,\n marginTop: searchBoxStyles.margin.top,\n marginRight: searchBoxStyles.margin.right,\n marginBottom: searchBoxStyles.margin.bottom,\n marginLeft: searchBoxStyles.margin.left,\n fontSize: searchBoxStyles.fontSize,\n fontWeight: searchBoxStyles.fontWeight,\n letterSpacing: searchBoxStyles.letterSpacing,\n lineHeight: searchBoxStyles.lineHeight,\n color: searchBoxStyles.placeholderColor,\n };\n\n const updateSearchBoxStyles = (key, value) => {\n setAttributes({\n searchBoxStyles: {\n ...searchBoxStyles,\n [key]: value,\n },\n });\n };\n\n const updateModalStyles = (key, value) => {\n setAttributes({\n modalStyles: {\n ...modalStyles,\n [key]: value,\n },\n });\n };\n\n const colorOptions = [\n { name: 'Default', color: '#9CA3AF' },\n { name: 'Black', color: '#000000' },\n { name: 'White', color: '#FFFFFF' },\n { name: 'Gray', color: '#6B7280' },\n { name: 'Blue', color: '#3B82F6' },\n { name: 'Red', color: '#EF4444' },\n { name: 'Green', color: '#10B981' },\n ];\n\n return (\n \n \n {/* Search Box Section */}\n \n {\n console.log('Updating search box placeholder:', newPlaceholder);\n setAttributes({ searchBoxPlaceholder: newPlaceholder });\n }}\n />\n \n\n {/* Search Modal Display Section */}\n \n setAttributes({ modalPlaceholder: newPlaceholder })}\n />\n\n {\n setAttributes({ modalDocsSource: newSource });\n }}\n />\n\n {modalDocsSource === 'sections' && (\n setAttributes({ sectionIds: newIds })}\n />\n )}\n\n {modalDocsSource === 'articles' && (\n setAttributes({ articleIds: newIds })}\n />\n )}\n\n {modalDocsSource === 'helpful' && (\n setAttributes({ helpfulDocsCount: newCount })}\n />\n )}\n \n \n\n \n \n updateSearchBoxStyles('placeholderColor', newColor),\n },\n {\n value: searchBoxStyles.iconColor,\n label: __('Icon & Command Key Color', 'wedocs'),\n onChange: (newColor) => updateSearchBoxStyles('iconColor', newColor),\n },\n {\n value: searchBoxStyles.backgroundColor,\n label: __('Background Color', 'wedocs'),\n onChange: (newColor) => updateSearchBoxStyles('backgroundColor', newColor),\n },\n {\n value: searchBoxStyles.borderColor,\n label: __('Border Color', 'wedocs'),\n onChange: (newColor) => updateSearchBoxStyles('borderColor', newColor),\n },\n ]}\n />\n\n updateSearchBoxStyles('borderWidth', `${newWidth}px`)}\n />\n\n updateSearchBoxStyles('borderRadius', `${newRadius}px`)}\n />\n\n updateSearchBoxStyles('padding', newPadding)}\n />\n\n updateSearchBoxStyles('margin', newMargin)}\n />\n\n updateSearchBoxStyles('fontSize', `${newSize}px`)}\n />\n\n updateSearchBoxStyles('fontWeight', newWeight.toString())}\n />\n\n updateSearchBoxStyles('letterSpacing', `${newSpacing}px`)}\n />\n\n updateSearchBoxStyles('lineHeight', newHeight.toString())}\n />\n \n\n \n

{__('The styling will be shown in the frontend, not in the editor', 'wedocs')}

\n updateModalStyles('placeholderColor', newColor),\n },\n {\n value: modalStyles.searchIconColor,\n label: __('Search Icon Color', 'wedocs'),\n onChange: (newColor) => updateModalStyles('searchIconColor', newColor),\n },\n {\n value: modalStyles.backgroundColor,\n label: __('Background Color', 'wedocs'),\n onChange: (newColor) => updateModalStyles('backgroundColor', newColor),\n },\n {\n value: modalStyles.fieldTextColor,\n label: __('Field Text Color', 'wedocs'),\n onChange: (newColor) => updateModalStyles('fieldTextColor', newColor),\n },\n {\n value: modalStyles.listItemIconColor,\n label: __('List Item Icon Color', 'wedocs'),\n onChange: (newColor) => updateModalStyles('listItemIconColor', newColor),\n },\n {\n value: modalStyles.listItemIconBackgroundColor,\n label: __('List Item Icon Background Color', 'wedocs'),\n onChange: (newColor) => updateModalStyles('listItemIconBackgroundColor', newColor),\n },\n {\n value: modalStyles.listItemTextColor,\n label: __('List Item Text Color', 'wedocs'),\n onChange: (newColor) => updateModalStyles('listItemTextColor', newColor),\n },\n {\n value: modalStyles.docLabelColor,\n label: __('Doc Label Color', 'wedocs'),\n onChange: (newColor) => updateModalStyles('docLabelColor', newColor),\n },\n {\n value: modalStyles.sectionLabelColor,\n label: __('Section Label Color', 'wedocs'),\n onChange: (newColor) => updateModalStyles('sectionLabelColor', newColor),\n },\n {\n value: modalStyles.listItemBorderColor,\n label: __('List Item Border Color', 'wedocs'),\n onChange: (newColor) => updateModalStyles('listItemBorderColor', newColor),\n },\n ]}\n />\n\n updateModalStyles('listItemPadding', newPadding)}\n />\n\n updateModalStyles('listItemMargin', newMargin)}\n />\n\n\n updateModalStyles('listItemBorderWidth', `${newWidth}px`)}\n />\n\n updateModalStyles('listItemBorderRadius', `${newRadius}px`)}\n />\n
\n
\n\n
\n
\n \n \n \n \n
\n \n ⌘K\n \n
\n
\n
\n
\n
\n \n );\n};\n\nexport default Edit;\n","import { registerBlockType } from '@wordpress/blocks';\nimport { __ } from '@wordpress/i18n';\nimport Edit from './edit';\nimport Save from './save';\nimport './style.scss';\n\nimport attributes from './attributes';\n\nregisterBlockType('wedocs/quick-search', {\n attributes,\n save: Save,\n edit: Edit,\n icon: (\n \n \n \n ),\n title: __( 'weDocs - Quick Search', 'wedocs' ),\n keywords: [ 'Search', 'weDocs quick search', 'Modal', 'Documentation' ],\n category: 'widgets',\n description: __( 'Add a quick search block that opens a modal with documentation search', 'wedocs' ),\n});\n","import { useBlockProps } from '@wordpress/block-editor';\n\nconst Save = ({ attributes }) => {\n const {\n hideBlock,\n searchBoxPlaceholder,\n modalPlaceholder,\n modalDocsSource,\n sectionIds,\n articleIds,\n helpfulDocsCount,\n customCssClass,\n searchBoxStyles,\n modalStyles,\n additionalCssClass,\n } = attributes;\n\n if (hideBlock) {\n return null;\n }\n\n const blockProps = useBlockProps.save({\n className: `wedocs-quick-search-block ${customCssClass} ${additionalCssClass}`,\n });\n\n const searchBoxStyle = {\n backgroundColor: searchBoxStyles.backgroundColor,\n borderColor: searchBoxStyles.borderColor,\n borderWidth: searchBoxStyles.borderWidth,\n borderRadius: searchBoxStyles.borderRadius,\n paddingTop: searchBoxStyles.padding.top,\n paddingRight: searchBoxStyles.padding.right,\n paddingBottom: searchBoxStyles.padding.bottom,\n paddingLeft: searchBoxStyles.padding.left,\n marginTop: searchBoxStyles.margin.top,\n marginRight: searchBoxStyles.margin.right,\n marginBottom: searchBoxStyles.margin.bottom,\n marginLeft: searchBoxStyles.margin.left,\n fontSize: searchBoxStyles.fontSize,\n fontWeight: searchBoxStyles.fontWeight,\n letterSpacing: searchBoxStyles.letterSpacing,\n lineHeight: searchBoxStyles.lineHeight,\n '--wedocs-placeholder-color': searchBoxStyles.placeholderColor,\n '--wedocs-icon-color': searchBoxStyles.iconColor,\n '--wedocs-command-key-color': searchBoxStyles.commandKeyColor,\n };\n\n const modalStyle = {\n '--wedocs-modal-placeholder-color': modalStyles.placeholderColor,\n '--wedocs-modal-search-icon-color': modalStyles.searchIconColor,\n '--wedocs-modal-background-color': modalStyles.backgroundColor,\n '--wedocs-modal-field-text-color': modalStyles.fieldTextColor,\n '--wedocs-modal-list-item-icon-color': modalStyles.listItemIconColor,\n '--wedocs-modal-list-item-text-color': modalStyles.listItemTextColor,\n '--wedocs-modal-doc-label-color': modalStyles.docLabelColor,\n '--wedocs-modal-section-label-color': modalStyles.sectionLabelColor,\n '--wedocs-modal-list-item-padding-top': modalStyles.listItemPadding.top,\n '--wedocs-modal-list-item-padding-right': modalStyles.listItemPadding.right,\n '--wedocs-modal-list-item-padding-bottom': modalStyles.listItemPadding.bottom,\n '--wedocs-modal-list-item-padding-left': modalStyles.listItemPadding.left,\n '--wedocs-modal-list-item-margin-top': modalStyles.listItemMargin.top,\n '--wedocs-modal-list-item-margin-right': modalStyles.listItemMargin.right,\n '--wedocs-modal-list-item-margin-bottom': modalStyles.listItemMargin.bottom,\n '--wedocs-modal-list-item-margin-left': modalStyles.listItemMargin.left,\n '--wedocs-modal-list-item-border-color': modalStyles.listItemBorderColor,\n '--wedocs-modal-list-item-border-width': modalStyles.listItemBorderWidth,\n '--wedocs-modal-list-item-border-radius': modalStyles.listItemBorderRadius,\n };\n\n return (\n
\n
\n
\n \n {searchBoxPlaceholder}\n \n \n \n \n \n K\n \n
\n
\n
\n );\n};\n\nexport default Save;\n","import { __ } from '@wordpress/i18n';\n\nconst attributes = {\n hideSearch: {\n type: 'boolean',\n default: false, // Default value when the block is first inserted\n },\n searchWidth: {\n type: 'number',\n default: 50, // Default width in pixels\n },\n widthUnit: {\n type: 'string',\n default: '%', // Default unit in percent\n },\n placeholder: {\n type: 'string',\n default: __( 'Search for a top or question', 'wedocs' ),\n },\n alignment: {\n type: 'string',\n default: 'right'\n },\n bgColor: {\n type: 'string',\n default: '#FFFFFF' // Default background color\n },\n hoverColor: {\n type: 'string',\n default: '#FFFFFF' // Default background color\n },\n padding: {\n type: 'object',\n default: {\n top: 14,\n left: 22,\n right: 22,\n bottom: 14,\n }, // Default padding.\n },\n margin: {\n type: 'object',\n default: {\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n }, // Default padding.\n },\n borderColor: {\n type: 'string',\n default: '#cccccc' // Default border color\n },\n borderType: {\n type: 'string',\n default: 'solid' // Default border type\n },\n borderWidth: {\n type: 'number',\n default: 1 // Default border width\n },\n borderRadius: {\n type: 'number',\n default: 30 // Default border radius\n },\n iconColor: {\n type: 'string',\n default: '#FFFFFF' // Default icon color\n },\n iconBgColor: {\n type: 'string',\n default: '#3b82f6' // Default icon background color\n },\n iconHoverColor: {\n type: 'string',\n default: '#2563eb' // Default icon hover color\n },\n svgHoverColor: {\n type: 'string',\n default: '#FFFFFF' // Default icon hover color\n },\n btnPadding: {\n type: 'object',\n default: {\n top: 24,\n left: 26,\n right: 26,\n bottom: 24,\n }, // Default padding.\n },\n btnPosition: {\n type: 'object',\n default: {\n top: 0,\n right: 0,\n bottom: 10,\n }, // Default padding.\n },\n btnRadius: {\n type: 'number',\n default: 30 // Default border radius\n },\n}\n\nexport default attributes;\n","import { __ } from '@wordpress/i18n';\nimport { cog, shadow } from '@wordpress/icons';\nimport { Fragment, useState } from '@wordpress/element';\nimport { useBlockProps } from '@wordpress/block-editor';\n\nimport UnitControl from '../CustomControls/UnitControl';\nimport RadioImageControl from '../CustomControls/RadioImageControl';\nimport { InspectorControls, PanelColorSettings } from '@wordpress/block-editor';\nimport {\n PanelBody,\n TextControl,\n RangeControl,\n SelectControl,\n ToggleControl,\n __experimentalBoxControl as BoxControl\n} from '@wordpress/components';\n\nconst Edit = ({ attributes, setAttributes }) => {\n const blockProps = useBlockProps();\n\n const {\n margin,\n bgColor,\n padding,\n btnRadius,\n alignment,\n iconColor,\n widthUnit,\n hoverColor,\n borderType,\n hideSearch,\n btnPadding,\n searchWidth,\n btnPosition,\n placeholder,\n borderColor,\n borderWidth,\n iconBgColor,\n borderRadius,\n svgHoverColor,\n iconHoverColor,\n } = attributes;\n\n console.log( 'editor panel:', bgColor );\n\n const alignmentOptions = [\n {\n value : 'left',\n label : __( 'Align left', 'wedocs' ),\n svg : \n \n \n },\n {\n value : 'center',\n label : __( 'Align center', 'wedocs' ),\n svg : \n \n \n \n },\n {\n value : 'right',\n label : __( 'Align right', 'wedocs' ),\n svg : \n \n \n },\n ];\n\n const [ hover, setHover ] = useState( false );\n const [ svgHover, setSvgHover ] = useState( false );\n const [ iconHover, setIconHover ] = useState( false );\n\n const containerStyles = {\n display : 'flex',\n justifyContent : alignment,\n };\n\n const colors = [\n { name: 'Sweet', color: '#F43F5E' },\n { name: 'Orange', color: '#F97316' },\n { name: 'Yellow', color: '#FACC15' },\n { name: 'Purple', color: '#8B5CF6' },\n { name: 'Light Blue', color: '#3B82F6' },\n { name: 'Light Green', color: '#10B981' },\n ];\n\n const inputStyles = {\n border : `${borderWidth}px ${borderType} ${borderColor}`,\n paddingTop : padding?.top,\n background : hover ? hoverColor : bgColor,\n paddingLeft : padding?.left,\n paddingRight : padding?.right,\n borderRadius : `${borderRadius}px`,\n paddingBottom : padding?.bottom,\n };\n\n const searchStyles = {\n top : btnPosition?.top,\n left : btnPosition?.left,\n right : btnPosition?.right,\n bottom : btnPosition?.bottom,\n height : 'auto',\n background : iconHover ? iconHoverColor : iconBgColor,\n paddingTop : btnPadding?.top,\n paddingLeft : btnPadding?.left,\n borderRadius : btnRadius,\n paddingRight : btnPadding?.right,\n paddingBottom : btnPadding?.bottom,\n };\n\n const borderOptions = [\n { label: __( 'Solid', 'wedocs' ), value: 'solid' },\n { label: __( 'Dotted', 'wedocs' ), value: 'dotted' },\n { label: __( 'Dashed', 'wedocs' ), value: 'dashed' },\n { label: __( 'Double', 'wedocs' ), value: 'double' },\n { label: __( 'Groove', 'wedocs' ), value: 'groove' },\n { label: __( 'Ridge', 'wedocs' ), value: 'ridge' },\n { label: __( 'Inset', 'wedocs' ), value: 'inset' },\n { label: __( 'Outset', 'wedocs' ), value: 'outset' },\n { label: __( 'None', 'wedocs' ), value: 'none' },\n { label: __( 'Hidden', 'wedocs' ), value: 'hidden' },\n ];\n\n return (\n \n \n \n setAttributes( { hideSearch: newHideSearch } ) }\n />\n \n { !hideSearch && (\n \n \n setAttributes( { bgColor: newBgColor } ),\n },\n {\n value : hoverColor,\n label : __( 'Field Hover Color', 'wedocs' ),\n onChange : ( newHoverColor ) => setAttributes( { hoverColor: newHoverColor } ),\n },\n {\n value : borderColor,\n label : __('Border Color', 'wedocs'),\n onChange : ( newBorderColor ) => setAttributes( { borderColor: newBorderColor } ),\n },\n {\n value : iconColor,\n label : __( 'Icon Color', 'wedocs' ),\n onChange : ( newIconColor ) => setAttributes( { iconColor: newIconColor } ),\n },\n {\n value : iconBgColor,\n label : __( 'Button Color', 'wedocs' ),\n onChange : ( newIconBgColor ) => setAttributes( { iconBgColor: newIconBgColor } ),\n },\n {\n value : iconHoverColor,\n label : __( 'Button Hover Color', 'wedocs' ),\n onChange : ( newIconHoverColor ) => setAttributes( { iconHoverColor: newIconHoverColor } ),\n },\n {\n value : svgHoverColor,\n label : __( 'Icon Hover Color', 'wedocs' ),\n onChange : ( newSvgHoverColor ) => setAttributes( { svgHoverColor: newSvgHoverColor } ),\n },\n ] }\n />\n \n \n setAttributes( { widthUnit: newWidthUnit } ) }\n onValueChange={ ( newSearchWidth ) => setAttributes( { searchWidth: newSearchWidth ? parseInt( newSearchWidth ) : 0 } ) }\n />\n setAttributes( { placeholder: newPlaceholder } ) }\n />\n

{ __( 'POSITION', 'wedocs' ) }

\n setAttributes( { alignment: newAlignment } ) }\n />\n setAttributes( { padding: newPadding } ) }\n />\n setAttributes( { margin: newMargin } ) }\n />\n setAttributes( { borderWidth: newBorderWidth } ) }\n />\n setAttributes( { borderRadius: newBorderRadius } ) }\n />\n setAttributes( { borderType: newBorderType } ) }\n />\n setAttributes( { btnPadding: newBtnPadding } ) }\n />\n setAttributes( { btnPosition: newBtnPosition } ) }\n />\n setAttributes( { btnRadius: newBtnRadius } ) }\n />\n
\n
\n ) }\n
\n
\n \n setHover( true ) }\n onMouseLeave={ () => setHover( false ) }\n />\n \n setIconHover( true ) }\n onMouseLeave={ () => setIconHover( false ) }\n >\n setSvgHover( true ) }\n onMouseLeave={ () => setSvgHover( false ) }\n >\n \n \n \n
\n { hideSearch &&
}\n
\n \n );\n}\n\nexport default Edit;\n","import { registerBlockType } from '@wordpress/blocks';\nimport { __ } from '@wordpress/i18n';\nimport Edit from './edit';\nimport Save from './save';\nimport './style.scss';\n\nimport attributes from './attributes';\n\nregisterBlockType( 'wedocs/wedocs-search', {\n attributes,\n save : Save,\n edit : Edit,\n icon : \n \n ,\n title : __( 'weDocs - Searchbar', 'wedocs' ),\n keywords : [ 'Search', 'weDocs search bar', 'Bar' ],\n category : 'widgets',\n description : __( 'Simple search forms for easy user guidance for your documentation', 'wedocs' ),\n});\n","import { Fragment } from '@wordpress/element';\nimport { useBlockProps } from '@wordpress/block-editor';\n\nconst Save = ({ attributes } ) => {\n const {\n margin,\n bgColor,\n padding,\n btnRadius,\n alignment,\n iconColor,\n widthUnit,\n hoverColor,\n borderType,\n hideSearch,\n btnPadding,\n searchWidth,\n btnPosition,\n placeholder,\n borderColor,\n borderWidth,\n iconBgColor,\n borderRadius,\n svgHoverColor,\n iconHoverColor,\n } = attributes;\n\n if (hideSearch) {\n return;\n }\n\n const containerStyles = {\n display: 'flex',\n justifyContent: alignment,\n };\n\n const inputStyles = {\n border : `${borderWidth}px ${borderType} ${borderColor}`,\n paddingTop : padding?.top,\n paddingLeft : padding?.left,\n paddingRight : padding?.right,\n borderRadius : `${borderRadius}px`,\n paddingBottom : padding?.bottom,\n \"--field-color\" : bgColor,\n \"--field-bg-color\" : hoverColor,\n };\n\n const searchStyles = {\n top : btnPosition?.top,\n left : btnPosition?.left,\n right : btnPosition?.right,\n bottom : btnPosition?.bottom,\n height : 'auto',\n paddingTop : btnPadding?.top,\n paddingLeft : btnPadding?.left,\n borderRadius : btnRadius,\n paddingRight : btnPadding?.right,\n paddingBottom : btnPadding?.bottom,\n \"--field-icon-color\" : iconColor,\n \"--field-btn-bg-color\" : iconBgColor,\n \"--field-icon-hover-color\" : svgHoverColor,\n \"--field-btn-bg-hover-color\" : iconHoverColor\n };\n\n return (\n \n \n
\n \n \n \n \n \n \n \n \n
\n
\n \n \n );\n}\n\nexport default Save;\n","import './Search';\nimport './DocsGrid';\nimport './QuickSearch';\n","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","module.exports = window[\"React\"];","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"blocks\"];","module.exports = window[\"wp\"][\"components\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"wp\"][\"primitives\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"block\": 0,\n\t\"./style-block\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweDocs\"] = self[\"webpackChunkweDocs\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"./style-block\"], () => (__webpack_require__(\"./src/block.js\")))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["BaseControl","RadioImageControl","selected","options","onChange","createElement","className","map","option","key","value","type","id","checked","e","target","htmlFor","icon","img","src","alt","label","svg","__","SelectControl","TextControl","Flex","FlexBlock","FlexItem","UnitControl","unit","onValueChange","onUnitChange","parseInt","newValue","newUnit","PanelBody","__experimentalBoxControl","BoxControl","PanelColorSettings","styleAttributes","gridPadding","default","top","right","bottom","left","gridMargin","docTitleColor","docChildrenActiveColor","borderType","borderWidth","borderColor","borderRadius","buttonBorderRadius","buttonPadding","buttonMargin","buttonColor","buttonHoverColor","buttonTextColor","buttonHoverTextColor","paginationTextColor","paginationTextHoverColor","paginationBackgroundColor","paginationHoverColor","StyleControls","attributes","setAttributes","updateAttribute","attributeName","borderTypes","colors","name","color","Fragment","title","initialOpen","colorSettings","newBgColor","newBorderColor","values","buttonText","cog","grid","useState","useBlockProps","InspectorControls","ToggleControl","PanelRow","FormTokenField","Edit","blockProps","useSelect","wp","data","currentPage","setCurrentPage","loading","setLoading","hideDocGrid","docStyle","docsPerPage","excludeDocs","order","orderBy","sectionsPerDoc","articlesPerSection","showDocArticle","keepArticlesCollapsed","showViewDetails","applyStyles","paddings","margins","btnPaddings","btnradius","btnMargins","item","padding","margin","borderStyle","backgroundColor","children","button","text","renderGridItem","doc","styles","style","rendered","renderSections","sections","section","display","justifyContent","alignItems","articles","length","fill","viewBox","width","strokeWidth","stroke","strokeLinecap","strokeLinejoin","d","article","docStyles","docsPerPageOptions","Array","from","_","i","String","orderByOptions","orderOptions","countOptions","pages","select","getEntityRecords","docs","status","per_page","parent","orderby","allSections","parent_in","allArticles","processDocsData","processedDocs","filter","includes","toString","docSections","slice","sectionArticles","totalArticles","reduce","total","articleCount","getPagedDocs","perPage","start","end","getDisplayDocs","renderPagination","totalDocs","totalPages","Math","ceil","paginationBaseStyle","border","paginationBorderColor","cursor","transition","textDecoration","minWidth","textAlign","fontFamily","fontSize","lineHeight","activeStyle","customProperties","onClick","pageNum","isCurrentPage","displayDocs","docsMap","acc","page","docsOptions","excludeDocsDisplay","handleExcludeDocsChange","tokens","newExcludeDocs","token","found","Object","entries","find","getGridClass","suggestions","Spinner","registerBlockType","metadata","edit","save","searchBoxPlaceholder","modalPlaceholder","modalDocsSource","sectionIds","articleIds","helpfulDocsCount","searchBoxStyles","placeholderColor","iconColor","commandKeyColor","fontWeight","letterSpacing","modalStyles","searchIconColor","fieldTextColor","listItemIconColor","listItemTextColor","docLabelColor","sectionLabelColor","listItemPadding","listItemMargin","listItemBorderColor","listItemBorderWidth","listItemBorderRadius","RangeControl","themeColors","themeGradients","editorSettings","getSettings","gradients","modalDocsSourceOptions","searchBoxStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","marginTop","marginRight","marginBottom","marginLeft","updateSearchBoxStyles","updateModalStyles","colorOptions","placeholder","newPlaceholder","console","log","newSource","newIds","min","max","newCount","group","newColor","newWidth","newRadius","newPadding","newMargin","newSize","step","newWeight","parseFloat","newSpacing","newHeight","listItemIconBackgroundColor","disabled","Save","height","fillRule","clipRule","keywords","category","description","hideBlock","customCssClass","additionalCssClass","modalStyle","hideSearch","searchWidth","widthUnit","alignment","bgColor","hoverColor","iconBgColor","iconHoverColor","svgHoverColor","btnPadding","btnPosition","btnRadius","shadow","alignmentOptions","hover","setHover","svgHover","setSvgHover","iconHover","setIconHover","containerStyles","inputStyles","background","searchStyles","borderOptions","newHideSearch","newHoverColor","newIconColor","newIconBgColor","newIconHoverColor","newSvgHoverColor","newWidthUnit","newSearchWidth","newAlignment","resetValues","newBorderWidth","newBorderRadius","newBorderType","newBtnPadding","newBtnPosition","newBtnRadius","readOnly","onMouseEnter","onMouseLeave","method","role","action","weDocsBlockVars","siteUrl"],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/blocks/QuickSearch/block.json b/assets/build/blocks/QuickSearch/block.json new file mode 100644 index 00000000..794342ec --- /dev/null +++ b/assets/build/blocks/QuickSearch/block.json @@ -0,0 +1,96 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "wedocs/quick-search", + "version": "1.0.0", + "title": "weDocs - Quick Search", + "icon": "search", + "category": "widgets", + "description": "Add a quick search block that opens a modal with documentation search", + "supports": { + "html": false + }, + "render": "file:./render.php", + "attributes": { + "searchBoxPlaceholder": { + "type": "string", + "default": "Quick search..." + }, + "modalPlaceholder": { + "type": "string", + "default": "Search documentation" + }, + "modalDocsSource": { + "type": "string", + "default": "helpful" + }, + "sectionIds": { + "type": "string", + "default": "" + }, + "articleIds": { + "type": "string", + "default": "" + }, + "helpfulDocsCount": { + "type": "number", + "default": 10 + }, + "searchBoxStyles": { + "type": "object", + "default": { + "placeholderColor": "#9CA3AF", + "iconColor": "#6B7280", + "commandKeyColor": "#6B7280", + "backgroundColor": "#FFFFFF", + "borderColor": "#D1D5DB", + "borderWidth": "1px", + "borderRadius": "8px", + "padding": { + "top": "12px", + "right": "16px", + "bottom": "12px", + "left": "16px" + }, + "margin": { + "top": "0px", + "right": "0px", + "bottom": "0px", + "left": "0px" + }, + "fontSize": "16px", + "fontWeight": "400", + "letterSpacing": "0px", + "lineHeight": "1.5" + } + }, + "modalStyles": { + "type": "object", + "default": { + "placeholderColor": "#9CA3AF", + "searchIconColor": "#6B7280", + "backgroundColor": "#FFFFFF", + "fieldTextColor": "#111827", + "listItemIconColor": "#3B82F6", + "listItemTextColor": "#111827", + "docLabelColor": "#3B82F6", + "sectionLabelColor": "#3B82F6", + "listItemPadding": { + "top": "12px", + "right": "16px", + "bottom": "12px", + "left": "16px" + }, + "listItemMargin": { + "top": "0px", + "right": "0px", + "bottom": "0px", + "left": "0px" + }, + "listItemBorderColor": "#E5E7EB", + "listItemBorderWidth": "1px", + "listItemBorderRadius": "4px" + } + } + } +} \ No newline at end of file diff --git a/assets/build/blocks/QuickSearch/render.php b/assets/build/blocks/QuickSearch/render.php new file mode 100644 index 00000000..cd54560a --- /dev/null +++ b/assets/build/blocks/QuickSearch/render.php @@ -0,0 +1,765 @@ + $modal_docs_source, + 'items' => [] + ]; + + switch ( $modal_docs_source ) { + case 'none': + // No items to show + break; + + case 'sections': + if ( ! empty( $section_ids ) ) { + $section_ids_array = array_map( 'intval', explode( ',', $section_ids ) ); + $sections = get_posts([ + 'post_type' => 'docs', + 'post__in' => $section_ids_array, + 'post_status' => 'publish', + 'orderby' => 'menu_order', + 'order' => 'ASC' + ]); + + foreach ( $sections as $section ) { + $modal_docs_data['items'][] = [ + 'id' => $section->ID, + 'title' => $section->post_title, + 'permalink' => get_permalink( $section->ID ), + 'type' => 'section' + ]; + } + } + break; + + case 'articles': + if ( ! empty( $article_ids ) ) { + $article_ids_array = array_map( 'intval', explode( ',', $article_ids ) ); + $articles = get_posts([ + 'post_type' => 'docs', + 'post__in' => $article_ids_array, + 'post_status' => 'publish', + 'orderby' => 'menu_order', + 'order' => 'ASC' + ]); + + foreach ( $articles as $article ) { + $modal_docs_data['items'][] = [ + 'id' => $article->ID, + 'title' => $article->post_title, + 'permalink' => get_permalink( $article->ID ), + 'type' => 'article' + ]; + } + } + break; + + case 'helpful': + // Get helpful docs using the same logic as the API + $docs = get_posts([ + 'post_type' => 'docs', + 'posts_per_page' => -1, + 'post_status' => 'publish' + ]); + + // Create an array to store the vote counts + $vote_counts = []; + + // Loop through each post and calculate the vote count + foreach ( $docs as $doc ) { + if ( empty( $doc->ID ) ) { + continue; + } + + $positive = (int) get_post_meta( $doc->ID, 'positive', true ); + $negative = (int) get_post_meta( $doc->ID, 'negative', true ); + if ( empty( $positive ) && empty( $negative ) ) { + continue; + } + + $vote_count = $positive - $negative; + $vote_counts[ $doc->ID ] = $vote_count; + } + + // Sort the vote counts in descending order + arsort( $vote_counts ); + + // Get the top helpful docs (limited by count) + $top_helpful_ids = array_slice( array_keys( $vote_counts ), 0, $helpful_docs_count ); + + if ( ! empty( $top_helpful_ids ) ) { + $helpful_docs = get_posts([ + 'post_type' => 'docs', + 'post__in' => $top_helpful_ids, + 'post_status' => 'publish', + 'orderby' => 'post__in' // Maintain the helpful order + ]); + + foreach ( $helpful_docs as $doc ) { + $modal_docs_data['items'][] = [ + 'id' => $doc->ID, + 'title' => $doc->post_title, + 'permalink' => get_permalink( $doc->ID ), + 'type' => 'helpful' + ]; + } + } + break; + } + + return $modal_docs_data; +} + +/** + * Render callback for the Quick Search block + * + * @param array $attributes Block attributes + * @return string + */ +function render_wedocs_quick_search( $attributes ) { + // Get block attributes + $search_box_placeholder = $attributes['searchBoxPlaceholder'] ?? __( 'Quick search...', 'wedocs' ); + $modal_placeholder = $attributes['modalPlaceholder'] ?? __( 'Search documentation', 'wedocs' ); + $modal_docs_source = $attributes['modalDocsSource'] ?? 'helpful'; + $section_ids = $attributes['sectionIds'] ?? ''; + $article_ids = $attributes['articleIds'] ?? ''; + $helpful_docs_count = $attributes['helpfulDocsCount'] ?? 10; + + // Get styling attributes + $search_box_styles = $attributes['searchBoxStyles'] ?? []; + $modal_styles = $attributes['modalStyles'] ?? []; + + // Get modal docs source data + $modal_docs_data = get_modal_docs_data( $modal_docs_source, $section_ids, $article_ids, $helpful_docs_count ); + + // Build CSS variables for styling + $search_box_css_vars = []; + if ( ! empty( $search_box_styles ) ) { + $search_box_css_vars[] = '--wedocs-placeholder-color: ' . ( $search_box_styles['placeholderColor'] ?? '#9CA3AF' ); + $search_box_css_vars[] = '--wedocs-icon-color: ' . ( $search_box_styles['iconColor'] ?? '#6B7280' ); + $search_box_css_vars[] = '--wedocs-command-key-color: ' . ( $search_box_styles['commandKeyColor'] ?? '#6B7280' ); + $search_box_css_vars[] = '--wedocs-background-color: ' . ( $search_box_styles['backgroundColor'] ?? '#FFFFFF' ); + $search_box_css_vars[] = '--wedocs-border-color: ' . ( $search_box_styles['borderColor'] ?? '#D1D5DB' ); + $search_box_css_vars[] = '--wedocs-border-width: ' . ( $search_box_styles['borderWidth'] ?? '1px' ); + $search_box_css_vars[] = '--wedocs-border-radius: ' . ( $search_box_styles['borderRadius'] ?? '8px' ); + $search_box_css_vars[] = '--wedocs-padding-top: ' . ( $search_box_styles['padding']['top'] ?? '12px' ); + $search_box_css_vars[] = '--wedocs-padding-right: ' . ( $search_box_styles['padding']['right'] ?? '16px' ); + $search_box_css_vars[] = '--wedocs-padding-bottom: ' . ( $search_box_styles['padding']['bottom'] ?? '12px' ); + $search_box_css_vars[] = '--wedocs-padding-left: ' . ( $search_box_styles['padding']['left'] ?? '16px' ); + $search_box_css_vars[] = '--wedocs-margin-top: ' . ( $search_box_styles['margin']['top'] ?? '0px' ); + $search_box_css_vars[] = '--wedocs-margin-right: ' . ( $search_box_styles['margin']['right'] ?? '0px' ); + $search_box_css_vars[] = '--wedocs-margin-bottom: ' . ( $search_box_styles['margin']['bottom'] ?? '0px' ); + $search_box_css_vars[] = '--wedocs-margin-left: ' . ( $search_box_styles['margin']['left'] ?? '0px' ); + $search_box_css_vars[] = '--wedocs-font-size: ' . ( $search_box_styles['fontSize'] ?? '16px' ); + $search_box_css_vars[] = '--wedocs-font-weight: ' . ( $search_box_styles['fontWeight'] ?? '400' ); + $search_box_css_vars[] = '--wedocs-letter-spacing: ' . ( $search_box_styles['letterSpacing'] ?? '0px' ); + $search_box_css_vars[] = '--wedocs-line-height: ' . ( $search_box_styles['lineHeight'] ?? '1.5' ); + } + + // Build modal CSS variables + $modal_css_vars = []; + if ( ! empty( $modal_styles ) ) { + $modal_css_vars[] = '--wedocs-modal-placeholder-color: ' . ( $modal_styles['placeholderColor'] ?? '#9CA3AF' ); + $modal_css_vars[] = '--wedocs-modal-search-icon-color: ' . ( $modal_styles['searchIconColor'] ?? '#6B7280' ); + $modal_css_vars[] = '--wedocs-modal-background-color: ' . ( $modal_styles['backgroundColor'] ?? '#FFFFFF' ); + $modal_css_vars[] = '--wedocs-modal-field-text-color: ' . ( $modal_styles['fieldTextColor'] ?? '#111827' ); + $modal_css_vars[] = '--wedocs-modal-list-item-icon-color: ' . ( $modal_styles['listItemIconColor'] ?? '#3B82F6' ); + $modal_css_vars[] = '--wedocs-modal-list-item-text-color: ' . ( $modal_styles['listItemTextColor'] ?? '#111827' ); + $modal_css_vars[] = '--wedocs-modal-doc-label-color: ' . ( $modal_styles['docLabelColor'] ?? '#3B82F6' ); + $modal_css_vars[] = '--wedocs-modal-section-label-color: ' . ( $modal_styles['sectionLabelColor'] ?? '#3B82F6' ); + $modal_css_vars[] = '--wedocs-modal-list-item-padding-top: ' . ( $modal_styles['listItemPadding']['top'] ?? '12px' ); + $modal_css_vars[] = '--wedocs-modal-list-item-padding-right: ' . ( $modal_styles['listItemPadding']['right'] ?? '16px' ); + $modal_css_vars[] = '--wedocs-modal-list-item-padding-bottom: ' . ( $modal_styles['listItemPadding']['bottom'] ?? '12px' ); + $modal_css_vars[] = '--wedocs-modal-list-item-padding-left: ' . ( $modal_styles['listItemPadding']['left'] ?? '16px' ); + $modal_css_vars[] = '--wedocs-modal-list-item-margin-top: ' . ( $modal_styles['listItemMargin']['top'] ?? '0px' ); + $modal_css_vars[] = '--wedocs-modal-list-item-margin-right: ' . ( $modal_styles['listItemMargin']['right'] ?? '0px' ); + $modal_css_vars[] = '--wedocs-modal-list-item-margin-bottom: ' . ( $modal_styles['listItemMargin']['bottom'] ?? '0px' ); + $modal_css_vars[] = '--wedocs-modal-list-item-margin-left: ' . ( $modal_styles['listItemMargin']['left'] ?? '0px' ); + $modal_css_vars[] = '--wedocs-modal-list-item-border-color: ' . ( $modal_styles['listItemBorderColor'] ?? '#E5E7EB' ); + $modal_css_vars[] = '--wedocs-modal-list-item-border-width: ' . ( $modal_styles['listItemBorderWidth'] ?? '1px' ); + $modal_css_vars[] = '--wedocs-modal-list-item-border-radius: ' . ( $modal_styles['listItemBorderRadius'] ?? '4px' ); + } + + // Combine all CSS variables + $all_css_vars = array_merge( $search_box_css_vars, $modal_css_vars ); + $css_vars_string = implode( '; ', $all_css_vars ); + + // Build CSS classes + $css_classes_string = 'wedocs-quick-search-block wedocs-document'; + + // Build data attributes + $data_attributes = [ + 'data-placeholder="' . esc_attr( $search_box_placeholder ) . '"', + 'data-modal-placeholder="' . esc_attr( $modal_placeholder ) . '"', + 'data-modal-docs-source="' . esc_attr( $modal_docs_source ) . '"', + 'data-section-ids="' . esc_attr( $section_ids ) . '"', + 'data-article-ids="' . esc_attr( $article_ids ) . '"', + 'data-helpful-docs-count="' . esc_attr( $helpful_docs_count ) . '"', + ]; + $data_attributes_string = implode( ' ', $data_attributes ); + +/** + * Load QuickSearch template + * + * @param string $template_name Template name without .php extension + * @param array $args Template arguments + * @return string Rendered template HTML + */ + + if( ! function_exists( 'wedocs_block_quick_search_get_template' ) ) { + function wedocs_block_quick_search_get_template( $template_name, $args = [] ) { + $template_path = plugin_dir_path( __FILE__ ) . 'templates/' . $template_name . '.php'; + + if ( ! file_exists( $template_path ) ) { + return ''; + } + + // Extract variables for template + extract( $args ); + + ob_start(); + include $template_path; + return ob_get_clean(); + } +} + + // Enqueue frontend assets to get access to weDocs_Vars + \WeDevs\WeDocs\Frontend::enqueue_assets(); + + ob_start(); + ?> +
+
> +
+ +
+ + ⌘K + +
+
+
+
+ + + + + + + array(), 'version' => '9452b96fb7f339eb0d86'); + array(), 'version' => '4888e42adffccfab29ad'); diff --git a/assets/build/frontend.css b/assets/build/frontend.css index cbf7fe6e..9c3653ac 100644 --- a/assets/build/frontend.css +++ b/assets/build/frontend.css @@ -1,3 +1,6 @@ +/*!************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js!./src/assets/less/frontend.less ***! + \************************************************************************************************************************/ @font-face { font-family: 'wedocs'; src: url(fonts/wedocs.0e4fd4b5.ttf) format('truetype'), url(fonts/wedocs.29ec52e7.woff) format('woff'), url(5f4138884ca3828fa2ff.svg) format('svg'); @@ -1217,3 +1220,5 @@ footer.entry-footer.wedocs-entry-footer.on .help-content .help-button #wedocs-st } } + +/*# sourceMappingURL=frontend.css.map*/ \ No newline at end of file diff --git a/assets/build/frontend.css.map b/assets/build/frontend.css.map new file mode 100644 index 00000000..0255df82 --- /dev/null +++ b/assets/build/frontend.css.map @@ -0,0 +1 @@ +{"version":3,"file":"frontend.css","mappings":";;;AAAA;EACI;EACA;EAEA;EACA;EACA;ACAJ;ADGA;;ECAE,+EAA+E;EDG7E;EACA;EACA;EACA;EACA;EACA;EACA;ECDF,sCAAsC;EDIpC;EACA;ACFJ;ADKA;EACI;AC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jCE;IAQY;IACA;EJ8iCd;AACF","sources":["webpack://weDocs/./src/assets/less/fonts.less","webpack://weDocs/./src/assets/less/frontend.less","webpack://weDocs/./src/assets/less/search-modal.less","webpack://weDocs/./src/assets/less/variables.less","webpack://weDocs/./src/assets/less/doc-article.less","webpack://weDocs/./src/assets/less/responsive.less"],"sourcesContent":["@font-face {\n font-family: 'wedocs';\n src: url('../../../assets/fonts/wedocs.ttf') format('truetype'), url('../../../assets/fonts/wedocs.woff') format('woff'),\n url('../../../assets/fonts/wedocs.svg') format('svg');\n font-weight: normal;\n font-style: normal;\n font-display: block;\n}\n\n[class^='wedocs-icon-'],\n[class*=' wedocs-icon-'] {\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: 'wedocs' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.wedocs-icon-close:before {\n content: '\\f00d';\n}\n.wedocs-icon-remove:before {\n content: '\\f00d';\n}\n.wedocs-icon-times:before {\n content: '\\f00d';\n}\n.wedocs-icon-home:before {\n content: '\\f015';\n}\n.wedocs-icon-refresh:before {\n content: '\\f021';\n}\n.wedocs-icon-print:before {\n content: '\\f02f';\n}\n.wedocs-icon-folder-open:before {\n content: '\\f07c';\n}\n.wedocs-icon-envelope:before {\n content: '\\f0e0';\n}\n.wedocs-icon-file-text-o:before {\n content: '\\f0f6';\n}\n.wedocs-icon-angle-left:before {\n content: '\\f104';\n}\n.wedocs-icon-angle-right:before {\n content: '\\f105';\n}\n.wedocs-icon-angle-up:before {\n content: '\\f106';\n}\n.wedocs-icon-angle-down:before {\n content: '\\f107';\n}\n.wedocs-icon-smile-o:before {\n content: '\\f118';\n}\n.wedocs-icon-frown-o:before {\n content: '\\f119';\n}\n","@import 'src/assets/less/variables';\n@import 'src/assets/less/fonts';\n@import 'src/assets/less/search-modal.less';\n\nbody.single.single-docs .content-area {\n width: 100%;\n}\n\n.screen-reader-text {\n clip: rect(1px, 1px, 1px, 1px);\n overflow: hidden;\n position: absolute !important;\n height: 1px;\n width: 1px;\n}\n\n.wedocs-overflow-hidden {\n overflow: hidden;\n}\n\n.wedocs-single-wrap {\n width: 100%;\n display: -ms-flex;\n display: -webkit-flex;\n display: flex;\n .clearfix();\n\n .wedocs-sidebar {\n width: 25%;\n\n h3.widget-title {\n font-weight: bold;\n margin: 0 0 15px 0;\n }\n\n ul.doc-nav-list {\n padding: 0;\n list-style: none;\n margin: 0 12px 0 0;\n\n > li > a:before {\n content: '\\f07c';\n margin-right: 10px;\n font-family: 'wedocs';\n }\n\n li {\n &.wd-state-open > a > .wedocs-caret,\n &.wd-state-closed > a > .wedocs-caret {\n float: right;\n line-height: inherit;\n padding: 0 10px;\n border: 1px solid @borderColor;\n border-radius: 3px;\n color: @borderColor;\n\n &:hover {\n border-color: #000;\n color: #000;\n }\n\n &::before {\n font-family: 'wedocs' !important;\n }\n }\n\n &.wd-state-open > a > .wedocs-caret {\n &:before {\n content: '\\f106';\n }\n }\n\n &.wd-state-closed > a > .wedocs-caret {\n &:before {\n content: '\\f107';\n }\n }\n\n &.wd-state-closed ul.children {\n display: none;\n }\n\n a {\n display: flex;\n text-decoration: none;\n padding: 8px 10px 8px 20px;\n\n .wedocs-caret {\n margin-left: auto;\n align-self: center;\n }\n }\n\n ul.children {\n list-style: none;\n margin: 15px 0 15px 26px;\n padding: 0;\n border: none;\n border-left: 1px solid #ddd;\n\n a {\n color: #333333;\n font-weight: normal;\n }\n }\n\n &.current_page_item > a > .wedocs-caret,\n &.current_page_parent > a > .wedocs-caret {\n &:hover {\n border-color: #fff;\n color: #fff;\n }\n }\n }\n\n > li.current_page_parent,\n > li.current_page_item,\n > li.current_page_ancestor {\n > a {\n background: @mainColor;\n color: #fff;\n border-radius: 5px;\n\n .wedocs-caret {\n color: #fff;\n }\n }\n\n li.current_page_item > a {\n border-left: 2px solid @mainColor;\n color: #191919;\n font-weight: bold;\n }\n }\n\n .children {\n .tailwind {\n border-left: 1px solid rgb(6, 182, 212);\n }\n }\n\n .tailwind {\n .wedocs-caret {\n border-color: rgb(6, 182, 212);\n color: rgb(6, 182, 212);\n }\n }\n }\n }\n\n .wedocs-single-content {\n width: 75%;\n border-left: 1px solid @borderColor;\n padding-left: 25px;\n\n ol.wedocs-breadcrumb {\n text-wrap: pretty;\n margin-bottom: 30px;\n list-style: none;\n margin-left: 0;\n padding-left: 0;\n\n li {\n display: inline;\n\n &.delimiter {\n color: #999;\n margin: 0 2px;\n }\n }\n\n a {\n text-decoration: none;\n }\n }\n\n article {\n position: relative;\n\n @import 'src/assets/less/doc-article';\n }\n\n .wedocs-comments-wrap {\n overflow: hidden;\n position: relative;\n }\n }\n\n ul.doc-nav-list {\n > li > a.on {\n &:before {\n content: '\\f07c';\n margin-right: 10px;\n font-family: 'wedocs';\n }\n }\n }\n}\n\n.wedocs-doc-nav {\n .clearfix();\n\n width: 100%;\n border-top: 1px solid @borderColor;\n border-bottom: 1px solid @borderColor;\n margin: 20px 0 30px 0;\n padding: 25px 0;\n\n .nav-previous {\n float: left;\n width: 50%;\n }\n\n .nav-next {\n float: right;\n width: 50%;\n text-align: right;\n }\n}\n\n.wedocs-shortcode-wrap {\n .clearfix();\n\n .wedocs-search-input {\n width: 50%;\n display: flex;\n margin-left: auto;\n position: relative;\n margin-bottom: 4%;\n\n .search-field {\n margin: 0;\n width: 100%;\n height: 48px;\n font-size: 14px;\n background: white;\n padding: 14px 22px;\n border-radius: 100px;\n border: 1px solid #dbdbdb;\n\n &::placeholder {\n color: #C5C5C5;\n }\n\n &:focus {\n outline: none;\n box-shadow: none;\n border: 1px solid #dbdbdb;\n }\n }\n\n .search-submit {\n top: 0;\n right: 0;\n border: 0;\n margin: 0;\n height: 100%;\n display: flex;\n cursor: pointer;\n width: fit-content;\n padding: 14px 26px;\n position: absolute;\n align-items: center;\n border-radius: 100px;\n }\n }\n\n ul.wedocs-docs-list {\n .clearfix();\n margin: 0;\n padding: 0;\n list-style: none;\n width: 100%;\n\n li.wedocs-docs-single {\n margin: 0;\n margin-bottom: 4%;\n padding: 22px 30px;\n position: relative;\n border-radius: 10px;\n padding-bottom: 37px;\n box-sizing: border-box;\n border: 1px solid #e5e5e5;\n -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);\n\n h3 {\n margin: 0;\n font-size: 24px;\n font-weight: 800;\n line-height: 1.4;\n margin-bottom: 16px;\n }\n\n .inside {\n height: 290px;\n overflow-y: scroll;\n\n span {\n display: flex;\n color: #063250;\n font-size: 18px;\n\n svg {\n width: 64px;\n height: 24px;\n margin: 2px 0.5rem 0 0;\n }\n }\n }\n\n .divider {\n margin-top: 20px;\n margin-bottom: 38px;\n }\n }\n\n ul.wedocs-doc-sections {\n margin: 0;\n padding: 0;\n list-style-type: none;\n\n > li {\n margin: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n > svg {\n width: 16px;\n cursor: pointer;\n margin-left: 10px;\n\n &.active {\n transform: rotate(180deg);\n }\n }\n }\n\n ul.children {\n margin: 6px 0;\n padding-left: 24px;\n\n > li {\n list-style: circle;\n line-height: 1.5;\n }\n\n &:not(.active) {\n display: none;\n }\n }\n }\n\n &.col-2 > li {\n float: left;\n width: 48%;\n\n &:nth-child(2n + 1) {\n clear: both;\n margin-right: 4%;\n }\n }\n\n &.col-3 > li {\n float: left;\n width: 31%;\n margin-right: 3%;\n\n &:nth-child(3n + 1) {\n clear: both;\n }\n\n &:nth-child(3n + 3) {\n margin-right: 0;\n }\n }\n }\n\n &.pro {\n ul.wedocs-search-input {\n background: #3B82F6;\n\n .search-field {\n &:focus {\n border-color: #3c82f6;\n }\n }\n }\n\n ul.wedocs-docs-list {\n li.wedocs-docs-single {\n h3 {\n a {\n text-decoration: none;\n\n &:not(:hover) {\n color: #000;\n }\n }\n }\n\n .wedocs-doc-link {\n display: inline-block;\n font-size: 16px;\n font-weight: 500;\n\n a {\n color: white;\n line-height: 30px;\n background: #3B82F6;\n border-radius: 10px;\n padding: 13.5px 20px;\n text-decoration: none;\n }\n }\n }\n }\n\n ul.wedocs-doc-sections {\n > li {\n a {\n display: flex;\n font-size: 18px;\n line-height: 1.5;\n text-decoration: none;\n\n &:not(:hover) {\n color: #063250;\n }\n\n &.icon-view:before {\n color: #ACB8C4;\n font-size: 16px;\n content: '\\f07c';\n margin-right: 18px;\n font-family: 'wedocs';\n }\n }\n }\n\n ul.children {\n > li {\n font-size: 16px;\n\n a {\n text-decoration: none;\n\n &:not(:hover) {\n color: #64748B;\n }\n }\n }\n\n &.has-icon {\n padding: 0;\n margin-left: 36px !important;\n }\n }\n }\n }\n}\n\nfooter.entry-footer.wedocs-entry-footer {\n .clearfix();\n\n display: flex;\n margin-top: 10px;\n align-items: center;\n margin-bottom: 30px;\n\n .help-content {\n flex: 1;\n width: 40%;\n padding: 20px;\n background: white;\n margin-right: 16px;\n border-radius: 10px;\n border: 1px solid #E9E9E9;\n\n .help-panel {\n display: flex;\n align-items: center;\n\n .help-icon {\n height: 56px;\n padding: 15px;\n margin-right: 16px;\n background: #F1EAFF;\n border-radius: 100%;\n }\n\n .wedocs-help-link a {\n border-bottom: 1px dotted #C5C5C5;\n text-decoration: none;\n\n .wedocs-article-author {\n display: none;\n }\n\n time {\n font-weight: normal;\n font-style: italic;\n }\n\n &:hover {\n text-decoration: none;\n border-bottom: 1px dotted #999;\n }\n }\n }\n }\n\n .feedback-content {\n width: 60%;\n\n .wedocs-feedback-wrap {\n .clearfix();\n\n text-align: center;\n line-height: 72px;\n font-size: 18px;\n color: #4A6474;\n border: 1px solid #E9E9E9;\n border-radius: 10px;\n background: white;\n padding: 12px 20px;\n\n .vote-link-wrap {\n margin-left: 12px;\n }\n\n a {\n text-decoration: none;\n line-height: 150%;\n border-radius: 10px;\n padding: 5px 15px;\n align-items: center;\n display: inline-flex;\n\n .count {\n background-color: #0E8A4F;\n border-radius: 50%;\n color: #fff;\n width: 16px;\n height: 16px;\n font-size: 11px;\n font-weight: normal;\n text-align: center;\n display: inline-block;\n margin-left: 5px;\n line-height: 150%;\n }\n\n &:hover {\n text-decoration: none;\n }\n }\n\n a.positive {\n font-weight: 500;\n background: #3BB67B;\n color: white !important;\n border: 1px solid darken(#27ae60, 1%);\n\n &:hover {\n background-color: darken(#27ae60, 5%);\n color: #fff;\n\n .count {\n background: #166534;\n }\n }\n }\n\n a.negative {\n margin-right: 12px;\n border: 1px solid #DBDBDB;\n background: white;\n color: #4A6474 !important;\n font-weight: 500;\n\n .count {\n background: #DBDBDB;\n }\n\n &:hover {\n color: #fff !important;\n background-color: #ef4444;\n\n .count {\n background: #b91c1c;\n }\n }\n }\n }\n\n .wedocs-alert {\n border: 1px solid transparent;\n margin-left: 24px;\n line-height: 96px;\n border-radius: 10px;\n padding: 0 28px;\n\n &.wedocs-alert-success {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n }\n\n &.wedocs-alert-danger {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n }\n }\n }\n\n &.on {\n display: block;\n\n .help-content,\n .feedback-content {\n width: 100%;\n\n .wedocs-feedback-wrap {\n margin: 0;\n margin-top: 18px;\n text-align: center;\n }\n\n .wedocs-alert {\n margin: 0;\n margin-top: 24px;\n }\n }\n\n .help-content {\n padding: 20px 30px;\n\n .help-icon {\n margin-right: 25px;\n }\n\n .help-button {\n margin-left: auto;\n\n #wedocs-stuck-modal {\n background: #3B82F6;\n color: white !important;\n font-weight: 600;\n font-size: 18px;\n text-decoration: none;\n padding: 11px 21px;\n border-radius: 10px;\n }\n }\n }\n }\n}\n\n.wedocs-modal-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 9985;\n background-color: #000;\n opacity: 0.5;\n display: none;\n}\n\n.wedocs-contact-modal {\n position: fixed;\n top: 10%;\n left: 50%;\n z-index: 9990;\n width: 560px;\n margin-left: -280px;\n background-color: #fff;\n border-radius: 3px;\n outline: 0;\n display: none;\n\n .wedocs-modal-close {\n position: absolute;\n display: block;\n z-index: 9997;\n top: 0;\n right: 0;\n text-decoration: none;\n background: #eee;\n padding: 5px 15px 5px 15px;\n color: #666;\n font-size: 15px;\n\n &:hover {\n color: #333;\n background: #ccc;\n }\n }\n\n .wedocs-modal-header,\n .wedocs-modal-body {\n padding: 0 50px;\n }\n\n .wedocs-modal-header {\n padding: 20px 0;\n text-align: center;\n\n h3 {\n margin-top: 0;\n color: #111827;\n font-weight: 800;\n font-size: 2.25em;\n line-height: 1.1111111;\n margin-bottom: 0.8888889em;\n }\n }\n\n .wedocs-modal-body {\n padding-bottom: 40px;\n\n .wedocs-alert {\n text-align: center;\n }\n\n #wedocs-modal-errors .wedocs-alert {\n margin-bottom: 20px;\n }\n\n .wedocs-form-row {\n margin-bottom: 10px;\n\n label {\n padding-bottom: 5px;\n display: block;\n }\n }\n\n .wedocs-form-action {\n margin-top: 10px;\n }\n }\n\n input[type='text'],\n input[type='email'],\n textarea {\n background: #f7f7f7;\n background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));\n border: 1px solid #d1d1d1;\n border-radius: 2px;\n color: #686868;\n padding: 0.625em 0.4375em;\n width: 100%;\n\n &:focus {\n background-color: #fff;\n border-color: #007acc;\n color: #1a1a1a;\n outline: 0;\n }\n }\n\n input[disabled] {\n cursor: default;\n opacity: 0.5;\n }\n}\n\n.wedocs-icon-spin {\n -webkit-animation: wedocs-spin 2s infinite linear;\n animation: wedocs-spin 2s infinite linear;\n}\n\n@-webkit-keyframes wedocs-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n@keyframes wedocs-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n@import 'src/assets/less/responsive';\n","#wedocs-single-doc-search-modal {\n top: 0;\n left: 0;\n z-index: 200;\n width: 100vw;\n cursor: auto;\n display: none;\n height: 100vh;\n position: fixed;\n flex-direction: column;\n background-color: #0000004D;\n\n .doc-search-container {\n padding: 12vh;\n\n .doc-search-modal {\n width: 100%;\n display: flex;\n min-height: 0;\n margin: 0 auto;\n background: #F8FAFC;\n max-width: 47.375rem;\n border-radius: 0.5rem;\n flex-direction: column;\n box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;\n\n .modal-header {\n z-index: 1;\n flex: none;\n display: flex;\n position: relative;\n align-items: center;\n padding: 0 1rem;\n border-bottom: 1px solid #D9D9D9;\n\n .doc-search-form {\n min-width: 0;\n display: flex;\n flex: 1 1 auto;\n align-items: center;\n\n .doc-search-magnifier-label {\n flex: none;\n display: flex;\n width: 1.5rem;\n height: 1.5rem;\n align-items: center;\n justify-content: center;\n }\n\n .doc-search-field {\n width: 100%;\n display: flex;\n position: relative;\n align-items: center;\n\n #doc-search-input {\n border: 0;\n flex: auto;\n min-width: 0;\n height: 3.5rem;\n color: #0f172a;\n font-size: 1rem;\n appearance: none;\n background: #0000;\n margin-right: 1rem;\n margin-left: 0.75rem;\n\n &:focus {\n outline: none;\n box-shadow: none;\n }\n }\n\n .search-clean {\n width: 20px;\n right: 30px;\n height: 20px;\n display: none;\n cursor: pointer;\n position: absolute;\n }\n }\n }\n\n .doc-search-cancel {\n flex: none;\n display: flex;\n width: 1.75rem;\n height: 1.5rem;\n color: #334155;\n font-size: 10px;\n appearance: none;\n font-weight: 700;\n background: #fff;\n align-items: center;\n padding: 0.5rem 1rem;\n border-radius: 0.375rem;\n justify-content: center;\n border: 1px solid #d4dde6;\n }\n }\n\n .modal-body {\n .doc-search-dropdown-container {\n .doc-search-hits {\n padding: 1rem;\n overflow: scroll;\n max-height: 600px;\n text-align: center;\n color: rgb(148 163 184/1);\n\n .doc-empty-search {\n padding: 3rem 0;\n }\n\n #doc-search-list {\n gap: 10px;\n margin: 0;\n padding: 0;\n display: grid;\n list-style: none;\n\n .doc-search-hit {\n .doc-search-hit-result {\n padding: 1rem;\n display: block;\n position: relative;\n font-size: .875rem;\n border-radius: 0.5rem;\n text-decoration: none;\n background-color: #fff;\n box-shadow: 2px 0px 10px 0px #003F9E1A;\n\n .doc-search-hit-container {\n display: flex;\n align-items: center;\n\n .doc-search-hit-icon {\n width: 2.5rem;\n display: flex;\n height: 2.5rem;\n align-self: start;\n margin-right: 1rem;\n border-radius: 50%;\n align-items: center;\n justify-content: center;\n //background-color: #D9EBFF;\n box-shadow: 0 0 #0000,0 0 0 calc(1px + 0px) #0f172a0d,0 1px 2px 0 #0000000d;\n }\n\n .doc-search-hit-content-wrapper {\n z-index: 1;\n flex: auto;\n max-width: 630px;\n\n hr {\n background: #E9E9E9;\n margin: .5rem 0 .75rem;\n }\n\n .doc-search-hit-title {\n color: #374151;\n overflow: hidden;\n font-weight: 600;\n text-align: left;\n line-height: 1.25rem;\n }\n\n .wd-docs-navigation {\n gap: 24px;\n display: flex;\n align-items: center;\n\n .parent-doc-nav,\n .section-doc-nav {\n gap: 10px;\n display: flex;\n color: #6B7280;\n text-align: left;\n font-weight: 600;\n align-items: center;\n\n .doc-search-hit-path {\n font-weight: 600;\n padding: 0 0.6rem;\n font-size: 0.75rem;\n //background: #EFF5FF;\n line-height: 1.5rem;\n border-radius: 999px;\n align-self: flex-start;\n }\n }\n }\n }\n }\n\n &:hover {\n //background: #3b82f6;\n\n .parent-doc-nav,\n .section-doc-nav,\n .doc-search-hit-title {\n color: #fff !important;\n }\n\n .doc-search-hit-path {\n color: #374151;\n }\n\n .doc-search-hit-icon,\n .doc-search-hit-path {\n background: #fff !important;\n }\n\n .doc-search-hit-select-icon {\n stroke: #fff;\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n\n &.active {\n display: flex;\n }\n}\n\n.wedocs-single-search-input {\n position: relative;\n margin: 0 0 15px 0;\n border-bottom: 1px solid @borderColor;\n\n .short-key,\n .search-field,\n .search-submit {\n border: 0;\n cursor: pointer;\n margin: 0 0 15px 0;\n }\n\n .search-field {\n width: 96%;\n height: 42px;\n font-size: 16px;\n background: white;\n border-radius: 8px;\n border: 1px solid #dbdbdb;\n padding: 10px 22px 10px 45px;\n\n &::placeholder {\n color: #6B7280;\n line-height: 1;\n }\n\n &:focus {\n outline: none;\n box-shadow: none;\n }\n }\n\n .search-submit {\n top: 0;\n left: 0;\n position: absolute;\n padding: 11px 16px;\n background: transparent;\n }\n\n .short-key {\n top: 0;\n right: 12px;\n color: #9caabd;\n font-size: 14px;\n font-weight: 600;\n padding: 10px 16px;\n position: absolute;\n background: transparent;\n }\n}\n","@mainColor: #3B82F6;\n@borderColor: #eee;\n\n.clearfix() {\n &:before,\n &:after {\n content: \" \"; // 1\n display: table; // 2\n }\n\n &:after {\n clear: both;\n }\n}\n","\na.wedocs-print-article {\n position: absolute;\n right: 0;\n top: 0;\n color: #777;\n\n &:hover {\n color: #555;\n }\n}\n\n.entry-content {\n width: 100% !important;\n float: none !important;\n display: block;\n\n a.anchorjs-link {\n text-decoration: none;\n box-shadow: none !important;\n }\n\n img {\n max-width: 100%;\n border: 1px solid @borderColor;\n margin-top: 20px;\n margin-bottom: 30px;\n padding: 25px;\n height: auto;\n background: #F9F9F9;\n display: block;\n }\n\n pre {\n font-family: Monaco,Menlo,Consolas,\"Courier New\",monospace;\n display: block;\n padding: 8.5px;\n margin: 0 0 9px;\n word-break: break-all;\n word-wrap: break-word;\n white-space: pre;\n white-space: pre-wrap;\n background-color: #f5f5f5;\n border: 1px solid #ccc;\n border: 1px solid rgba(0,0,0,.15);\n -webkit-border-radius: 4px;\n -moz-border-radius: 4px;\n border-radius: 4px;\n }\n\n dl {\n margin-bottom: 1em;\n\n dt {\n float: left;\n display: inline-block;\n font-weight: 400;\n text-align: center;\n padding: 4px 9px;\n margin-bottom: 1em;\n font-size: 18px;\n line-height: 1.2em;\n border-radius: 50px;\n color: #fff;\n background: #3197d1;\n vertical-align: baseline;\n white-space: nowrap;\n font-size: 15px;\n min-width: 9px;\n position: relative;\n top: 2px;\n }\n\n dd {\n padding-top: 3px;\n margin: 0 0 5px 45px;\n\n &:before,\n &:after {\n display: table;\n content: \"\";\n line-height: 0;\n }\n\n &:after {\n clear: both;\n }\n }\n }\n\n .wedocs-callout {\n border-left: 5px solid;\n color: #333;\n font-size: 14px;\n margin-bottom: 2em;\n padding: 16px 25px 16px 20px;\n background: #f1f1f1;\n border-color: #cfcfcf;\n\n &.callout-yellow {\n background: #fffcd5;\n border-color: #e7dca4;\n }\n\n &.callout-blue {\n background: #e8f4ff;\n border-color: #bed1e6;\n }\n\n &.callout-green {\n background: #e5fadc;\n border-color: #bbdaaf;\n }\n\n &.callout-red {\n background: #fde8e8;\n border-color: #e7aaaa;\n }\n\n }\n}\n\nfooter.entry-footer.wedocs-entry-footer {\n .clearfix();\n width: 100%;\n\n .help-icon,\n .help-button,\n .wedocs-article-author {\n display: none;\n }\n\n .wedocs-help-link a {\n border-bottom: 1px dotted #C5C5C5;\n text-decoration: none;\n\n &:hover {\n text-decoration: none;\n border-bottom: 1px dotted #999;\n }\n }\n\n time {\n font-weight: normal;\n font-style: italic;\n }\n}\n","@media screen and (max-width: 1024px) {\n .feedback-content {\n .wedocs-feedback-wrap {\n line-height: 46px;\n\n .vote-link-wrap {\n display: block;\n }\n }\n }\n}\n\n@media screen and (max-width: 768px) {\n .wedocs-single-wrap {\n display: flex;\n\n .wedocs-sidebar,\n .wedocs-single-content {\n width: 100%;\n }\n\n .wedocs-single-content {\n padding-left: 0;\n border-left: 0;\n }\n\n .prose {\n width: 100%;\n max-width: 100%;\n }\n\n .right-sidebar {\n h3.widget-title {\n strong {\n font-size: 16px;\n margin-left: 8px;\n }\n }\n }\n }\n\n .wedocs-shortcode-wrap {\n ul.wedocs-docs-list {\n &.col-3 > li,\n &.col-2 > li {\n width: 48%;\n }\n\n &.col-3 > li:nth-child(3n+1) {\n clear: none;\n }\n\n &.col-3 > li:nth-child(2n+1) {\n clear: both;\n margin-right: 2%;\n }\n\n &.col-3 > li:nth-child(2n+2) {\n margin-right: 0;\n }\n\n }\n }\n\n footer.entry-footer.wedocs-entry-footer {\n .help-content {\n .wedocs-help-link {\n font-size: 13px;\n }\n }\n\n .feedback-content {\n .wedocs-feedback-wrap {\n line-height: 56px;\n\n .vote-link-wrap {\n margin: 0;\n }\n }\n }\n }\n}\n\n@media screen and (max-width: 425px) {\n\n .wedocs-hide-mobile {\n display: none;\n }\n\n .wedocs-single-wrap {\n display: block;\n padding: 0 30px;\n\n .wedocs-single-content {\n footer.entry-footer.wedocs-entry-footer {\n time {\n float: none;\n }\n }\n }\n }\n\n .wedocs-shortcode-wrap {\n ul.wedocs-docs-list {\n &.col-3 > li,\n &.col-2 > li {\n width: 100%;\n float: none;\n margin-right: 0;\n }\n\n .wedocs-docs-single {\n padding: 26px 18px;\n\n .inside {\n height: 240px;\n\n span {\n font-size: 14px;\n }\n }\n }\n }\n\n .wedocs-search-input {\n .search-field {\n height: 36px;\n font-size: 11px;\n padding: 10px 12px;\n }\n\n .search-submit {\n padding: 10px 14px;\n }\n }\n }\n\n .feedback-content {\n width: 100% !important;\n\n .wedocs-feedback-wrap {\n font-size: 14px !important;\n line-height: 40px !important;\n\n .vote-link-wrap {\n display: block;\n margin: 0;\n }\n }\n }\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/frontend.js b/assets/build/frontend.js index e69de29b..d59e973c 100644 --- a/assets/build/frontend.js +++ b/assets/build/frontend.js @@ -0,0 +1,28 @@ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ // The require scope +/******/ var __webpack_require__ = {}; +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/************************************************************************/ +var __webpack_exports__ = {}; +/*!***************************************!*\ + !*** ./src/assets/less/frontend.less ***! + \***************************************/ +__webpack_require__.r(__webpack_exports__); +// extracted by mini-css-extract-plugin + +/******/ })() +; +//# sourceMappingURL=frontend.js.map \ No newline at end of file diff --git a/assets/build/frontend.js.map b/assets/build/frontend.js.map new file mode 100644 index 00000000..2f63a6fa --- /dev/null +++ b/assets/build/frontend.js.map @@ -0,0 +1 @@ +{"version":3,"file":"frontend.js","mappings":";;UAAA;UACA;;;;;WCDA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;ACNA","sources":["webpack://weDocs/webpack/bootstrap","webpack://weDocs/webpack/runtime/make namespace object","webpack://weDocs/./src/assets/less/frontend.less?77da"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// extracted by mini-css-extract-plugin\nexport {};"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/index.asset.php b/assets/build/index.asset.php index 8ef75770..772f8c3d 100644 --- a/assets/build/index.asset.php +++ b/assets/build/index.asset.php @@ -1 +1 @@ - array('react', 'react-dom', 'wp-api-fetch', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '4c5a84e662a0044ab4bf'); + array('react', 'react-dom', 'wp-api-fetch', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '652deced5819b8eb8ae2'); diff --git a/assets/build/index.css b/assets/build/index.css index 8d0e7186..bcbec3d2 100644 --- a/assets/build/index.css +++ b/assets/build/index.css @@ -1,3 +1,6 @@ +/*!******************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/assets/css/index.css ***! + \******************************************************************************************************************************************************************************/ /* ! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com *//* @@ -1902,6 +1905,31 @@ select { align-items: center; justify-content: center; } +.badge { + display: inline-flex; + align-items: center; + justify-content: center; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter; + transition-duration: 200ms; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + height: 1.25rem; + font-size: 0.875rem; + line-height: 1.25rem; + width: -moz-fit-content; + width: fit-content; + padding-left: 0.563rem; + padding-right: 0.563rem; + border-width: 1px; + --tw-border-opacity: 1; + border-color: hsl(var(--n) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--n) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--nc) / var(--tw-text-opacity)); + border-radius: var(--rounded-badge, 1.9rem); +} .breadcrumbs { max-width: 100%; overflow-x: auto; @@ -1993,21 +2021,6 @@ select { -ms-overflow-style: none; scrollbar-width: none; } -.checkbox { - flex-shrink: 0; - --chkbg: var(--bc); - --chkfg: var(--b1); - height: 1.5rem; - width: 1.5rem; - cursor: pointer; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border-width: 1px; - border-color: hsl(var(--bc) / var(--tw-border-opacity)); - --tw-border-opacity: 0.2; - border-radius: var(--rounded-btn, 0.5rem); -} .divider { display: flex; flex-direction: row; @@ -2099,6 +2112,22 @@ select { .input-group > .select { border-radius: 0px; } +.kbd { + display: inline-flex; + align-items: center; + justify-content: center; + border-width: 1px; + border-color: hsl(var(--bc) / var(--tw-border-opacity)); + --tw-border-opacity: 0.2; + --tw-bg-opacity: 1; + background-color: hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity)); + padding-left: 0.5rem; + padding-right: 0.5rem; + border-radius: var(--rounded-btn, 0.5rem); + border-bottom-width: 2px; + min-height: 2.2em; + min-width: 2.2em; +} .link { cursor: pointer; text-decoration-line: underline; @@ -2188,9 +2217,29 @@ select { overflow-y: hidden; overscroll-behavior: contain; } +.\!modal { + pointer-events: none !important; + visibility: hidden !important; + position: fixed !important; + inset: 0px !important; + display: flex !important; + justify-content: center !important; + opacity: 0 !important; + z-index: 999 !important; + background-color: hsl(var(--nf, var(--n)) / var(--tw-bg-opacity)) !important; + --tw-bg-opacity: 0.4 !important; + transition-duration: 200ms !important; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important; + transition-property: transform, opacity, visibility !important; + overflow-y: hidden !important; + overscroll-behavior: contain !important; +} :where(.modal) { align-items: center; } +:where(.\!modal) { + align-items: center !important; +} .modal-open, .modal:target, .modal-toggle:checked + .modal { @@ -2198,6 +2247,13 @@ select { visibility: visible; opacity: 1; } + +.\!modal:target, +.modal-toggle:checked + .\!modal { + pointer-events: auto !important; + visibility: visible !important; + opacity: 1 !important; +} .progress { position: relative; width: 100%; @@ -2254,6 +2310,16 @@ select { .select[multiple] { height: auto; } +.steps .step { + display: grid; + grid-template-columns: repeat(1, minmax(0, 1fr)); + grid-template-columns: auto; + grid-template-rows: repeat(2, minmax(0, 1fr)); + grid-template-rows: 40px 1fr; + place-items: center; + text-align: center; + min-width: 4rem; +} .tabs { display: flex; flex-wrap: wrap; @@ -2408,17 +2474,63 @@ select { --tw-border-opacity: 1; border-color: hsl(var(--b1) / var(--tw-border-opacity)); } +.btn-outline .badge { + --tw-border-opacity: 1; + border-color: hsl(var(--nf, var(--n)) / var(--tw-border-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--nc) / var(--tw-text-opacity)); +} +.btn-outline.btn-primary .badge { + --tw-border-opacity: 1; + border-color: hsl(var(--p) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--p) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--pc) / var(--tw-text-opacity)); +} +.btn-outline.btn-secondary .badge { + --tw-border-opacity: 1; + border-color: hsl(var(--s) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--s) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--sc) / var(--tw-text-opacity)); +} +.btn-outline.btn-accent .badge { + --tw-border-opacity: 1; + border-color: hsl(var(--a) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--a) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--ac) / var(--tw-text-opacity)); +} .btn-outline .badge.outline { --tw-border-opacity: 1; border-color: hsl(var(--nf, var(--n)) / var(--tw-border-opacity)); background-color: transparent; } +.btn-outline:hover .badge { + --tw-border-opacity: 1; + border-color: hsl(var(--b2, var(--b1)) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--b2, var(--b1)) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--bc) / var(--tw-text-opacity)); +} .btn-outline:hover .badge.outline { --tw-border-opacity: 1; border-color: hsl(var(--b2, var(--b1)) / var(--tw-border-opacity)); --tw-text-opacity: 1; color: hsl(var(--nc) / var(--tw-text-opacity)); } +.btn-outline.btn-primary:hover .badge { + --tw-border-opacity: 1; + border-color: hsl(var(--pc) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--pc) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--p) / var(--tw-text-opacity)); +} .btn-outline.btn-primary:hover .badge.outline { --tw-border-opacity: 1; border-color: hsl(var(--pc) / var(--tw-border-opacity)); @@ -2427,6 +2539,14 @@ select { --tw-text-opacity: 1; color: hsl(var(--pc) / var(--tw-text-opacity)); } +.btn-outline.btn-secondary:hover .badge { + --tw-border-opacity: 1; + border-color: hsl(var(--sc) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--sc) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--s) / var(--tw-text-opacity)); +} .btn-outline.btn-secondary:hover .badge.outline { --tw-border-opacity: 1; border-color: hsl(var(--sc) / var(--tw-border-opacity)); @@ -2435,6 +2555,14 @@ select { --tw-text-opacity: 1; color: hsl(var(--sc) / var(--tw-text-opacity)); } +.btn-outline.btn-accent:hover .badge { + --tw-border-opacity: 1; + border-color: hsl(var(--ac) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--ac) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--a) / var(--tw-text-opacity)); +} .btn-outline.btn-accent:hover .badge.outline { --tw-border-opacity: 1; border-color: hsl(var(--ac) / var(--tw-border-opacity)); @@ -2548,33 +2676,6 @@ select { .carousel::-webkit-scrollbar { display: none; } -.checkbox:focus-visible { - outline: 2px solid hsl(var(--bc)); - outline-offset: 2px; -} -.checkbox:checked, - .checkbox[checked="true"], - .checkbox[aria-checked="true"] { - --tw-bg-opacity: 1; - background-color: hsl(var(--bc) / var(--tw-bg-opacity)); - background-repeat: no-repeat; - animation: checkmark var(--animation-input, 0.2s) ease-in-out; - background-image: linear-gradient(-45deg, transparent 65%, hsl(var(--chkbg)) 65.99%), linear-gradient(45deg, transparent 75%, hsl(var(--chkbg)) 75.99%), linear-gradient(-45deg, hsl(var(--chkbg)) 40%, transparent 40.99%), linear-gradient(45deg, hsl(var(--chkbg)) 30%, hsl(var(--chkfg)) 30.99%, hsl(var(--chkfg)) 40%, transparent 40.99%), linear-gradient(-45deg, hsl(var(--chkfg)) 50%, hsl(var(--chkbg)) 50.99%); -} -.checkbox:indeterminate { - --tw-bg-opacity: 1; - background-color: hsl(var(--bc) / var(--tw-bg-opacity)); - background-repeat: no-repeat; - animation: checkmark var(--animation-input, 0.2s) ease-in-out; - background-image: linear-gradient(90deg, transparent 80%, hsl(var(--chkbg)) 80%), linear-gradient(-90deg, transparent 80%, hsl(var(--chkbg)) 80%), linear-gradient(0deg, hsl(var(--chkbg)) 43%, hsl(var(--chkfg)) 43%, hsl(var(--chkfg)) 57%, hsl(var(--chkbg)) 57%); -} -.checkbox:disabled { - cursor: not-allowed; - border-color: transparent; - --tw-bg-opacity: 1; - background-color: hsl(var(--bc) / var(--tw-bg-opacity)); - opacity: 0.2; -} @keyframes checkmark { 0% { @@ -2589,11 +2690,6 @@ select { background-position-y: 0; } } -[dir="rtl"] .checkbox:checked, - [dir="rtl"] .checkbox[checked="true"], - [dir="rtl"] .checkbox[aria-checked="true"] { - background-image: linear-gradient(45deg, transparent 65%, hsl(var(--chkbg)) 65.99%), linear-gradient(-45deg, transparent 75%, hsl(var(--chkbg)) 75.99%), linear-gradient(45deg, hsl(var(--chkbg)) 40%, transparent 40.99%), linear-gradient(-45deg, hsl(var(--chkbg)) 30%, hsl(var(--chkfg)) 30.99%, hsl(var(--chkfg)) 40%, transparent 40.99%), linear-gradient(45deg, hsl(var(--chkfg)) 50%, hsl(var(--chkbg)) 50.99%); -} .divider:before { background-color: hsl(var(--bc) / var(--tw-bg-opacity)); --tw-bg-opacity: 0.1; @@ -2834,6 +2930,14 @@ select { --tw-scale-y: 1; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } + +.modal-toggle:checked + .\!modal .modal-box, +.\!modal:target .modal-box { + --tw-translate-y: 0px !important; + --tw-scale-x: 1 !important; + --tw-scale-y: 1 !important; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important; +} .progress::-moz-progress-bar { --tw-bg-opacity: 1; background-color: hsl(var(--n) / var(--tw-bg-opacity)); @@ -2940,6 +3044,44 @@ select { [dir="rtl"] .select { background-position: calc(0% + 12px) calc(1px + 50%), calc(0% + 16px) calc(1px + 50%); } +.steps .step:before { + top: 0px; + grid-column-start: 1; + grid-row-start: 1; + height: 0.5rem; + width: 100%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); + --tw-bg-opacity: 1; + background-color: hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--bc) / var(--tw-text-opacity)); + content: ""; + margin-left: -100%; +} +.steps .step:after { + content: counter(step); + counter-increment: step; + z-index: 1; + position: relative; + grid-column-start: 1; + grid-row-start: 1; + display: grid; + height: 2rem; + width: 2rem; + place-items: center; + place-self: center; + border-radius: 9999px; + --tw-bg-opacity: 1; + background-color: hsl(var(--b3, var(--b2)) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--bc) / var(--tw-text-opacity)); +} +.steps .step:first-child:before { + content: none; +} +.steps .step[data-content]:after { + content: attr(data-content); +} .\!tab:hover { --tw-text-opacity: 1 !important; } @@ -3255,6 +3397,18 @@ select { --tw-translate-y: -50%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } +.steps-horizontal .step { + display: grid; + grid-template-columns: repeat(1, minmax(0, 1fr)); + grid-template-rows: repeat(2, minmax(0, 1fr)); + place-items: center; + text-align: center; +} +.steps-vertical .step { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + grid-template-rows: repeat(1, minmax(0, 1fr)); +} :where(.toast) { right: 0px; left: auto; @@ -3328,6 +3482,46 @@ select { right: 7%; box-shadow: 0 0 0 2px hsl(var(--b1)); } +.steps-horizontal .step { + grid-template-rows: 40px 1fr; + grid-template-columns: auto; + min-width: 4rem; +} +.steps-horizontal .step:before { + height: 0.5rem; + width: 100%; + --tw-translate-y: 0px; + --tw-translate-x: 0px; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); + content: ""; + margin-left: -100%; +} +.steps-vertical .step { + gap: 0.5rem; + grid-template-columns: 40px 1fr; + grid-template-rows: auto; + min-height: 4rem; + justify-items: start; +} +.steps-vertical .step:before { + height: 100%; + width: 0.5rem; + --tw-translate-y: -50%; + --tw-translate-x: -50%; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); + margin-left: 50%; +} +.wedocs-document :is(.sr-only) { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +} .wedocs-document :is(.pointer-events-none) { pointer-events: none; } @@ -3511,10 +3705,6 @@ select { margin-top: 1.75rem; margin-bottom: 1.75rem; } -.wedocs-document :is(.my-8) { - margin-top: 2rem; - margin-bottom: 2rem; -} .wedocs-document :is(.\!-mt-\[0\.5px\]) { margin-top: -0.5px !important; } @@ -3524,6 +3714,9 @@ select { .wedocs-document :is(.\!mb-0\.5) { margin-bottom: 0.125rem !important; } +.wedocs-document :is(.\!ml-1) { + margin-left: 0.25rem !important; +} .wedocs-document :is(.\!ml-4) { margin-left: 1rem !important; } @@ -3536,18 +3729,12 @@ select { .wedocs-document :is(.\!mr-2) { margin-right: 0.5rem !important; } -.wedocs-document :is(.\!mt-0) { - margin-top: 0px !important; -} .wedocs-document :is(.\!mt-1) { margin-top: 0.25rem !important; } .wedocs-document :is(.\!mt-14) { margin-top: 3.5rem !important; } -.wedocs-document :is(.\!mt-\[\.2rem\]) { - margin-top: .2rem !important; -} .wedocs-document :is(.-ml-0) { margin-left: -0px; } @@ -3632,9 +3819,6 @@ select { .wedocs-document :is(.mb-8) { margin-bottom: 2rem; } -.wedocs-document :is(.mb-9) { - margin-bottom: 2.25rem; -} .wedocs-document :is(.mb-\[60px\]) { margin-bottom: 60px; } @@ -3891,6 +4075,12 @@ select { .wedocs-document :is(.max-h-60) { max-height: 15rem; } +.wedocs-document :is(.max-h-\[80vh\]) { + max-height: 80vh; +} +.wedocs-document :is(.max-h-\[85vh\]) { + max-height: 85vh; +} .wedocs-document :is(.min-h-\[200px\]) { min-height: 200px; } @@ -3990,9 +4180,6 @@ select { .wedocs-document :is(.w-\[310px\]) { width: 310px; } -.wedocs-document :is(.w-\[312px\]) { - width: 312px; -} .wedocs-document :is(.w-\[340px\]) { width: 340px; } @@ -4027,6 +4214,12 @@ select { .wedocs-document :is(.w-full) { width: 100%; } +.wedocs-document :is(.w-\[90\%\]) { + width: 90%; +} +.wedocs-document :is(.w-\[95\%\]) { + width: 95%; +} .wedocs-document :is(.min-w-0) { min-width: 0px; } @@ -4039,12 +4232,6 @@ select { .wedocs-document :is(.min-w-\[150px\]) { min-width: 150px; } -.wedocs-document :is(.\!max-w-\[452px\]) { - max-width: 452px !important; -} -.wedocs-document :is(.\!max-w-full) { - max-width: 100% !important; -} .wedocs-document :is(.max-w-\[1008px\]) { max-width: 1008px; } @@ -4057,6 +4244,12 @@ select { .wedocs-document :is(.max-w-none) { max-width: none; } +.wedocs-document :is(.max-w-2xl) { + max-width: 42rem; +} +.wedocs-document :is(.max-w-4xl) { + max-width: 56rem; +} .wedocs-document :is(.flex-1) { flex: 1 1 0%; } @@ -4075,6 +4268,9 @@ select { .wedocs-document :is(.flex-shrink-0) { flex-shrink: 0; } +.wedocs-document :is(.grow) { + flex-grow: 1; +} .wedocs-document :is(.border-collapse) { border-collapse: collapse; } @@ -4124,15 +4320,24 @@ select { .wedocs-document :is(.animate-pulse) { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; } +@keyframes spin { + + to { + transform: rotate(360deg); + } +} +.wedocs-document :is(.animate-spin) { + animation: spin 1s linear infinite; +} .wedocs-document :is(.cursor-grab) { cursor: grab; } -.wedocs-document :is(.cursor-not-allowed) { - cursor: not-allowed; -} .wedocs-document :is(.cursor-pointer) { cursor: pointer; } +.wedocs-document :is(.cursor-wait) { + cursor: wait; +} .wedocs-document :is(.select-none) { -webkit-user-select: none; -moz-user-select: none; @@ -4186,6 +4391,9 @@ select { .wedocs-document :is(.\!gap-6) { gap: 1.5rem !important; } +.wedocs-document :is(.gap-0) { + gap: 0px; +} .wedocs-document :is(.gap-1) { gap: 0.25rem; } @@ -4228,11 +4436,6 @@ select { margin-right: calc(2.5rem * var(--tw-space-x-reverse)); margin-left: calc(2.5rem * calc(1 - var(--tw-space-x-reverse))); } -.wedocs-document :is(.space-x-12 > :not([hidden]) ~ :not([hidden])) { - --tw-space-x-reverse: 0; - margin-right: calc(3rem * var(--tw-space-x-reverse)); - margin-left: calc(3rem * calc(1 - var(--tw-space-x-reverse))); -} .wedocs-document :is(.space-x-2 > :not([hidden]) ~ :not([hidden])) { --tw-space-x-reverse: 0; margin-right: calc(0.5rem * var(--tw-space-x-reverse)); @@ -4288,16 +4491,6 @@ select { margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.25rem * var(--tw-space-y-reverse)); } -.wedocs-document :is(.space-y-1\.5 > :not([hidden]) ~ :not([hidden])) { - --tw-space-y-reverse: 0; - margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(0.375rem * var(--tw-space-y-reverse)); -} -.wedocs-document :is(.space-y-2 > :not([hidden]) ~ :not([hidden])) { - --tw-space-y-reverse: 0; - margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)); -} .wedocs-document :is(.space-y-3 > :not([hidden]) ~ :not([hidden])) { --tw-space-y-reverse: 0; margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse))); @@ -4328,6 +4521,11 @@ select { margin-top: calc(22px * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(22px * var(--tw-space-y-reverse)); } +.wedocs-document :is(.space-y-2 > :not([hidden]) ~ :not([hidden])) { + --tw-space-y-reverse: 0; + margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)); +} .wedocs-document :is(.divide-x > :not([hidden]) ~ :not([hidden])) { --tw-divide-x-reverse: 0; border-right-width: calc(1px * var(--tw-divide-x-reverse)); @@ -4360,9 +4558,6 @@ select { .wedocs-document :is(.whitespace-break-spaces) { white-space: break-spaces; } -.wedocs-document :is(.\!rounded-full) { - border-radius: 9999px !important; -} .wedocs-document :is(.\!rounded-md) { border-radius: 0.375rem !important; } @@ -4421,6 +4616,12 @@ select { .wedocs-document :is(.border-t) { border-top-width: 1px; } +.wedocs-document :is(.border-b-2) { + border-bottom-width: 2px; +} +.wedocs-document :is(.\!border-none) { + border-style: none !important; +} .wedocs-document :is(.\!border-\[\#8c8f94\]) { --tw-border-opacity: 1 !important; border-color: rgb(140 143 148 / var(--tw-border-opacity)) !important; @@ -4429,14 +4630,6 @@ select { --tw-border-opacity: 1 !important; border-color: rgb(209 213 219 / var(--tw-border-opacity)) !important; } -.wedocs-document :is(.\!border-indigo-400) { - --tw-border-opacity: 1 !important; - border-color: rgb(129 140 248 / var(--tw-border-opacity)) !important; -} -.wedocs-document :is(.\!border-indigo-700) { - --tw-border-opacity: 1 !important; - border-color: rgb(67 56 202 / var(--tw-border-opacity)) !important; -} .wedocs-document :is(.\!border-red-500) { --tw-border-opacity: 1 !important; border-color: rgb(239 68 68 / var(--tw-border-opacity)) !important; @@ -4491,6 +4684,10 @@ select { --tw-border-opacity: 1; border-color: rgb(250 204 21 / var(--tw-border-opacity)); } +.wedocs-document :is(.border-blue-600) { + --tw-border-opacity: 1; + border-color: rgb(37 99 235 / var(--tw-border-opacity)); +} .wedocs-document :is(.border-t-\[\#DBDBDB\]) { --tw-border-opacity: 1; border-top-color: rgb(219 219 219 / var(--tw-border-opacity)); @@ -4503,18 +4700,10 @@ select { --tw-bg-opacity: 1 !important; background-color: rgb(144 144 145 / var(--tw-bg-opacity)) !important; } -.wedocs-document :is(.\!bg-gray-100) { - --tw-bg-opacity: 1 !important; - background-color: rgb(243 244 246 / var(--tw-bg-opacity)) !important; -} .wedocs-document :is(.\!bg-gray-200) { --tw-bg-opacity: 1 !important; background-color: rgb(229 231 235 / var(--tw-bg-opacity)) !important; } -.wedocs-document :is(.\!bg-indigo-700) { - --tw-bg-opacity: 1 !important; - background-color: rgb(67 56 202 / var(--tw-bg-opacity)) !important; -} .wedocs-document :is(.\!bg-transparent) { background-color: transparent !important; } @@ -4545,10 +4734,6 @@ select { --tw-bg-opacity: 1; background-color: rgb(148 163 184 / var(--tw-bg-opacity)); } -.wedocs-document :is(.bg-\[\#DBDBDB\]) { - --tw-bg-opacity: 1; - background-color: rgb(219 219 219 / var(--tw-bg-opacity)); -} .wedocs-document :is(.bg-\[\#E2E8F0\]) { --tw-bg-opacity: 1; background-color: rgb(226 232 240 / var(--tw-bg-opacity)); @@ -4565,6 +4750,10 @@ select { --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity)); } +.wedocs-document :is(.bg-\[\#FF9000\]) { + --tw-bg-opacity: 1; + background-color: rgb(255 144 0 / var(--tw-bg-opacity)); +} .wedocs-document :is(.bg-\[\#cbd5e1\]) { --tw-bg-opacity: 1; background-color: rgb(203 213 225 / var(--tw-bg-opacity)); @@ -4617,10 +4806,6 @@ select { --tw-bg-opacity: 1; background-color: rgb(226 232 240 / var(--tw-bg-opacity)); } -.wedocs-document :is(.bg-stone-400) { - --tw-bg-opacity: 1; - background-color: rgb(168 162 158 / var(--tw-bg-opacity)); -} .wedocs-document :is(.bg-white) { --tw-bg-opacity: 1; background-color: rgb(255 255 255 / var(--tw-bg-opacity)); @@ -4629,6 +4814,25 @@ select { --tw-bg-opacity: 1; background-color: rgb(254 252 232 / var(--tw-bg-opacity)); } +.wedocs-document :is(.bg-transparent) { + background-color: transparent; +} +.wedocs-document :is(.bg-blue-100) { + --tw-bg-opacity: 1; + background-color: rgb(219 234 254 / var(--tw-bg-opacity)); +} +.wedocs-document :is(.bg-green-100) { + --tw-bg-opacity: 1; + background-color: rgb(220 252 231 / var(--tw-bg-opacity)); +} +.wedocs-document :is(.bg-blue-50) { + --tw-bg-opacity: 1; + background-color: rgb(239 246 255 / var(--tw-bg-opacity)); +} +.wedocs-document :is(.bg-yellow-200) { + --tw-bg-opacity: 1; + background-color: rgb(254 240 138 / var(--tw-bg-opacity)); +} .wedocs-document :is(.bg-opacity-25) { --tw-bg-opacity: 0.25; } @@ -4679,10 +4883,6 @@ select { padding-left: 0.75rem !important; padding-right: 0.75rem !important; } -.wedocs-document :is(.\!px-3\.5) { - padding-left: 0.875rem !important; - padding-right: 0.875rem !important; -} .wedocs-document :is(.\!px-4) { padding-left: 1rem !important; padding-right: 1rem !important; @@ -4711,9 +4911,13 @@ select { padding-left: 0.125rem; padding-right: 0.125rem; } -.wedocs-document :is(.px-10) { - padding-left: 2.5rem; - padding-right: 2.5rem; +.wedocs-document :is(.px-1) { + padding-left: 0.25rem; + padding-right: 0.25rem; +} +.wedocs-document :is(.px-1\.5) { + padding-left: 0.375rem; + padding-right: 0.375rem; } .wedocs-document :is(.px-12) { padding-left: 3rem; @@ -4827,10 +5031,6 @@ select { padding-top: 1.5rem; padding-bottom: 1.5rem; } -.wedocs-document :is(.py-7) { - padding-top: 1.75rem; - padding-bottom: 1.75rem; -} .wedocs-document :is(.py-8) { padding-top: 2rem; padding-bottom: 2rem; @@ -4852,6 +5052,12 @@ select { .wedocs-document :is(.\!pr-10) { padding-right: 2.5rem !important; } +.wedocs-document :is(.pb-0) { + padding-bottom: 0px; +} +.wedocs-document :is(.pb-0\.5) { + padding-bottom: 0.125rem; +} .wedocs-document :is(.pb-10) { padding-bottom: 2.5rem; } @@ -4867,12 +5073,6 @@ select { .wedocs-document :is(.pb-7) { padding-bottom: 1.75rem; } -.wedocs-document :is(.pl-0) { - padding-left: 0px; -} -.wedocs-document :is(.pl-0\.5) { - padding-left: 0.125rem; -} .wedocs-document :is(.pl-2) { padding-left: 0.5rem; } @@ -4891,6 +5091,12 @@ select { .wedocs-document :is(.pr-0) { padding-right: 0px; } +.wedocs-document :is(.pr-1) { + padding-right: 0.25rem; +} +.wedocs-document :is(.pr-1\.5) { + padding-right: 0.375rem; +} .wedocs-document :is(.pr-10) { padding-right: 2.5rem; } @@ -4927,9 +5133,6 @@ select { .wedocs-document :is(.pt-0) { padding-top: 0px; } -.wedocs-document :is(.pt-0\.5) { - padding-top: 0.125rem; -} .wedocs-document :is(.pt-16) { padding-top: 4rem; } @@ -4951,6 +5154,15 @@ select { .wedocs-document :is(.pt-7) { padding-top: 1.75rem; } +.wedocs-document :is(.pt-\[1px\]) { + padding-top: 1px; +} +.wedocs-document :is(.pl-10) { + padding-left: 2.5rem; +} +.wedocs-document :is(.pr-20) { + padding-right: 5rem; +} .wedocs-document :is(.text-left) { text-align: left; } @@ -4963,6 +5175,9 @@ select { .wedocs-document :is(.align-middle) { vertical-align: middle; } +.wedocs-document :is(.font-sans) { + font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; +} .wedocs-document :is(.\!text-base) { font-size: 1rem !important; line-height: 1.5rem !important; @@ -4978,6 +5193,9 @@ select { .wedocs-document :is(.text-\[10px\]) { font-size: 10px; } +.wedocs-document :is(.text-\[11px\]) { + font-size: 11px; +} .wedocs-document :is(.text-\[13px\]) { font-size: 13px; } @@ -5049,11 +5267,8 @@ select { .wedocs-document :is(.leading-8) { line-height: 2rem; } -.wedocs-document :is(.leading-\[20px\]) { - line-height: 20px; -} -.wedocs-document :is(.leading-\[21px\]) { - line-height: 21px; +.wedocs-document :is(.leading-\[13\.31px\]) { + line-height: 13.31px; } .wedocs-document :is(.leading-\[3rem\]) { line-height: 3rem; @@ -5071,10 +5286,6 @@ select { --tw-text-opacity: 1 !important; color: rgb(0 0 0 / var(--tw-text-opacity)) !important; } -.wedocs-document :is(.\!text-gray-700) { - --tw-text-opacity: 1 !important; - color: rgb(55 65 81 / var(--tw-text-opacity)) !important; -} .wedocs-document :is(.text-\[\#0043FF\]) { --tw-text-opacity: 1; color: rgb(0 67 255 / var(--tw-text-opacity)); @@ -5175,6 +5386,22 @@ select { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); } +.wedocs-document :is(.text-blue-600) { + --tw-text-opacity: 1; + color: rgb(37 99 235 / var(--tw-text-opacity)); +} +.wedocs-document :is(.text-blue-800) { + --tw-text-opacity: 1; + color: rgb(30 64 175 / var(--tw-text-opacity)); +} +.wedocs-document :is(.text-green-800) { + --tw-text-opacity: 1; + color: rgb(22 101 52 / var(--tw-text-opacity)); +} +.wedocs-document :is(.text-blue-700) { + --tw-text-opacity: 1; + color: rgb(29 78 216 / var(--tw-text-opacity)); +} .wedocs-document :is(.underline) { text-decoration-line: underline; } @@ -5221,6 +5448,9 @@ select { .wedocs-document :is(.opacity-50) { opacity: 0.5; } +.wedocs-document :is(.opacity-75) { + opacity: 0.75; +} .wedocs-document :is(.\!shadow-none) { --tw-shadow: 0 0 #0000 !important; --tw-shadow-colored: 0 0 #0000 !important; @@ -5264,6 +5494,15 @@ select { .wedocs-document :is(.outline-0) { outline-width: 0px; } +.wedocs-document :is(.outline-1) { + outline-width: 1px; +} +.wedocs-document :is(.-outline-offset-1) { + outline-offset: -1px; +} +.wedocs-document :is(.outline-gray-300) { + outline-color: #d1d5db; +} .wedocs-document :is(.ring-0) { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color); @@ -5291,6 +5530,10 @@ select { --tw-ring-opacity: 1; --tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity)); } +.wedocs-document :is(.ring-blue-500) { + --tw-ring-opacity: 1; + --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity)); +} .wedocs-document :is(.ring-opacity-5) { --tw-ring-opacity: 0.05; } @@ -5318,11 +5561,6 @@ select { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } -.wedocs-document :is(.transition-opacity) { - transition-property: opacity; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; -} .wedocs-document :is(.transition-transform) { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); @@ -5463,6 +5701,56 @@ html.wp-toolbar { } } +.btn-outline .focus\:outline:focus.badge { + --tw-border-opacity: 1; + border-color: hsl(var(--nf, var(--n)) / var(--tw-border-opacity)); + background-color: transparent; +} + +.btn-outline:hover .focus\:outline:focus.badge { + --tw-border-opacity: 1; + border-color: hsl(var(--b2, var(--b1)) / var(--tw-border-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--nc) / var(--tw-text-opacity)); +} + +.btn-outline.btn-primary:hover .focus\:outline:focus.badge { + --tw-border-opacity: 1; + border-color: hsl(var(--pc) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--pf, var(--p)) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--pc) / var(--tw-text-opacity)); +} + +.btn-outline.btn-secondary:hover .focus\:outline:focus.badge { + --tw-border-opacity: 1; + border-color: hsl(var(--sc) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--sf, var(--s)) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--sc) / var(--tw-text-opacity)); +} + +.btn-outline.btn-accent:hover .focus\:outline:focus.badge { + --tw-border-opacity: 1; + border-color: hsl(var(--ac) / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: hsl(var(--af, var(--a)) / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: hsl(var(--ac) / var(--tw-text-opacity)); +} + +.wedocs-document :is(.placeholder\:text-gray-400)::-moz-placeholder { + --tw-text-opacity: 1; + color: rgb(156 163 175 / var(--tw-text-opacity)); +} + +.wedocs-document :is(.placeholder\:text-gray-400)::placeholder { + --tw-text-opacity: 1; + color: rgb(156 163 175 / var(--tw-text-opacity)); +} + .wedocs-document :is(.before\:absolute)::before { content: var(--tw-content); position: absolute; @@ -5498,46 +5786,16 @@ html.wp-toolbar { left: 0px; } -.wedocs-document :is(.before\:\!-mt-\[1px\])::before { - content: var(--tw-content); - margin-top: -1px !important; -} - -.wedocs-document :is(.before\:\!ml-1)::before { - content: var(--tw-content); - margin-left: 0.25rem !important; -} - -.wedocs-document :is(.before\:\!mt-1)::before { - content: var(--tw-content); - margin-top: 0.25rem !important; -} - .wedocs-document :is(.before\:mt-3)::before { content: var(--tw-content); margin-top: 0.75rem; } -.wedocs-document :is(.before\:block)::before { - content: var(--tw-content); - display: block; -} - .wedocs-document :is(.before\:\!hidden)::before { content: var(--tw-content); display: none !important; } -.wedocs-document :is(.before\:\!h-1)::before { - content: var(--tw-content); - height: 0.25rem !important; -} - -.wedocs-document :is(.before\:\!h-1\.5)::before { - content: var(--tw-content); - height: 0.375rem !important; -} - .wedocs-document :is(.before\:h-2)::before { content: var(--tw-content); height: 0.5rem; @@ -5558,16 +5816,6 @@ html.wp-toolbar { height: 1rem; } -.wedocs-document :is(.before\:\!w-1)::before { - content: var(--tw-content); - width: 0.25rem !important; -} - -.wedocs-document :is(.before\:\!w-1\.5)::before { - content: var(--tw-content); - width: 0.375rem !important; -} - .wedocs-document :is(.before\:w-\[70\%\])::before { content: var(--tw-content); width: 70%; @@ -5588,17 +5836,6 @@ html.wp-toolbar { background-color: transparent !important; } -.wedocs-document :is(.before\:\!bg-white)::before { - content: var(--tw-content); - --tw-bg-opacity: 1 !important; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important; -} - -.wedocs-document :is(.before\:\!content-none)::before { - --tw-content: none !important; - content: var(--tw-content) !important; -} - .wedocs-document :is(.before\:content-\[\'\'\])::before { --tw-content: ''; content: var(--tw-content); @@ -5749,35 +5986,6 @@ html.wp-toolbar { background-color: rgb(79 70 229 / var(--tw-bg-opacity)) !important; } -.wedocs-document :is(.checked\:bg-none:checked) { - background-image: none; -} - -.wedocs-document :is(.checked\:before\:\!ml-0:checked)::before { - content: var(--tw-content); - margin-left: 0px !important; -} - -.wedocs-document :is(.checked\:before\:flex:checked)::before { - content: var(--tw-content); - display: flex; -} - -.wedocs-document :is(.checked\:before\:\!w-full:checked)::before { - content: var(--tw-content); - width: 100% !important; -} - -.wedocs-document :is(.checked\:before\:items-center:checked)::before { - content: var(--tw-content); - align-items: center; -} - -.wedocs-document :is(.checked\:before\:justify-center:checked)::before { - content: var(--tw-content); - justify-content: center; -} - .wedocs-document :is(.hover\:block:hover) { display: block; } @@ -5786,11 +5994,6 @@ html.wp-toolbar { cursor: pointer; } -.wedocs-document :is(.hover\:bg-\[\#443aff\]:hover) { - --tw-bg-opacity: 1; - background-color: rgb(68 58 255 / var(--tw-bg-opacity)); -} - .wedocs-document :is(.hover\:bg-\[\#F9FAFB\]:hover) { --tw-bg-opacity: 1; background-color: rgb(249 250 251 / var(--tw-bg-opacity)); @@ -5811,11 +6014,6 @@ html.wp-toolbar { background-color: rgb(229 231 235 / var(--tw-bg-opacity)); } -.wedocs-document :is(.hover\:bg-gray-300:hover) { - --tw-bg-opacity: 1; - background-color: rgb(209 213 219 / var(--tw-bg-opacity)); -} - .wedocs-document :is(.hover\:bg-gray-50:hover) { --tw-bg-opacity: 1; background-color: rgb(249 250 251 / var(--tw-bg-opacity)); @@ -5846,6 +6044,10 @@ html.wp-toolbar { background-color: rgb(203 213 225 / var(--tw-bg-opacity)); } +.wedocs-document :is(.hover\:fill-\[\#cf7500\]:hover) { + fill: #cf7500; +} + .wedocs-document :is(.hover\:stroke-indigo-700:hover) { stroke: #4338ca; } @@ -5854,11 +6056,6 @@ html.wp-toolbar { stroke: #b91c1c; } -.wedocs-document :is(.hover\:\!text-gray-700:hover) { - --tw-text-opacity: 1 !important; - color: rgb(55 65 81 / var(--tw-text-opacity)) !important; -} - .wedocs-document :is(.hover\:\!text-indigo-800:hover) { --tw-text-opacity: 1 !important; color: rgb(55 48 163 / var(--tw-text-opacity)) !important; @@ -5874,6 +6071,11 @@ html.wp-toolbar { color: rgb(75 85 99 / var(--tw-text-opacity)); } +.wedocs-document :is(.hover\:text-gray-900:hover) { + --tw-text-opacity: 1; + color: rgb(17 24 39 / var(--tw-text-opacity)); +} + .wedocs-document :is(.hover\:text-indigo-700:hover) { --tw-text-opacity: 1; color: rgb(67 56 202 / var(--tw-text-opacity)); @@ -5892,6 +6094,10 @@ html.wp-toolbar { opacity: 1; } +.wedocs-document :is(.hover\:opacity-80:hover) { + opacity: 0.8; +} + .wedocs-document :is(.focus\:\!border-indigo-300:focus) { --tw-border-opacity: 1 !important; border-color: rgb(165 180 252 / var(--tw-border-opacity)) !important; @@ -5912,6 +6118,10 @@ html.wp-toolbar { border-color: rgb(239 68 68 / var(--tw-border-opacity)); } +.wedocs-document :is(.focus\:border-transparent:focus) { + border-color: transparent; +} + .wedocs-document :is(.focus\:text-white:focus) { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); @@ -5939,6 +6149,10 @@ html.wp-toolbar { outline-offset: 2px; } +.wedocs-document :is(.focus\:outline:focus) { + outline-style: solid; +} + .wedocs-document :is(.focus\:outline-0:focus) { outline-width: 0px; } @@ -6000,6 +6214,12 @@ html.wp-toolbar { box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } +.wedocs-document :is(.disabled\:\!shadow-none:disabled) { + --tw-shadow: 0 0 #0000 !important; + --tw-shadow-colored: 0 0 #0000 !important; + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important; +} + .wedocs-document :is(.disabled\:hover\:bg-indigo-600:hover:disabled) { --tw-bg-opacity: 1; background-color: rgb(79 70 229 / var(--tw-bg-opacity)); @@ -6040,10 +6260,6 @@ html.wp-toolbar { text-decoration-line: underline; } -.wedocs-document :is(.group:hover .group-hover\:opacity-100) { - opacity: 1; -} - .wedocs-document :is(.aria-selected\:bg-gray-100[aria-selected="true"]) { --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity)); @@ -6076,11 +6292,6 @@ html.wp-toolbar { background-color: rgb(229 231 235 / var(--tw-bg-opacity)) !important; } - .wedocs-document :is(.dark\:bg-\[\#DBDBDB\]) { - --tw-bg-opacity: 1; - background-color: rgb(219 219 219 / var(--tw-bg-opacity)); - } - .wedocs-document :is(.dark\:bg-gray-600) { --tw-bg-opacity: 1; background-color: rgb(75 85 99 / var(--tw-bg-opacity)); @@ -6104,10 +6315,6 @@ html.wp-toolbar { @media (min-width: 640px) { - .wedocs-document :is(.sm\:col-span-2) { - grid-column: span 2 / span 2; - } - .wedocs-document :is(.sm\:mx-0) { margin-left: 0px; margin-right: 0px; @@ -6125,6 +6332,10 @@ html.wp-toolbar { margin-top: 0px; } + .wedocs-document :is(.sm\:inline) { + display: inline; + } + .wedocs-document :is(.sm\:flex) { display: flex; } @@ -6133,12 +6344,24 @@ html.wp-toolbar { height: 2.5rem; } + .wedocs-document :is(.sm\:h-5) { + height: 1.25rem; + } + + .wedocs-document :is(.sm\:max-h-\[80vh\]) { + max-height: 80vh; + } + .wedocs-document :is(.sm\:w-10) { width: 2.5rem; } - .wedocs-document :is(.sm\:max-w-xs) { - max-width: 20rem; + .wedocs-document :is(.sm\:w-\[90\%\]) { + width: 90%; + } + + .wedocs-document :is(.sm\:w-5) { + width: 1.25rem; } .wedocs-document :is(.sm\:grid-cols-2) { @@ -6174,16 +6397,10 @@ html.wp-toolbar { column-gap: 1rem; } - .wedocs-document :is(.sm\:space-x-20 > :not([hidden]) ~ :not([hidden])) { + .wedocs-document :is(.sm\:space-x-2 > :not([hidden]) ~ :not([hidden])) { --tw-space-x-reverse: 0; - margin-right: calc(5rem * var(--tw-space-x-reverse)); - margin-left: calc(5rem * calc(1 - var(--tw-space-x-reverse))); - } - - .wedocs-document :is(.sm\:space-y-0 > :not([hidden]) ~ :not([hidden])) { - --tw-space-y-reverse: 0; - margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(0px * var(--tw-space-y-reverse)); + margin-right: calc(0.5rem * var(--tw-space-x-reverse)); + margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse))); } .wedocs-document :is(.sm\:overflow-hidden) { @@ -6194,10 +6411,6 @@ html.wp-toolbar { border-radius: 0.375rem; } - .wedocs-document :is(.sm\:p-4) { - padding: 1rem; - } - .wedocs-document :is(.sm\:p-6) { padding: 1.5rem; } @@ -6207,11 +6420,6 @@ html.wp-toolbar { padding-right: 0px; } - .wedocs-document :is(.sm\:px-10) { - padding-left: 2.5rem; - padding-right: 2.5rem; - } - .wedocs-document :is(.sm\:px-6) { padding-left: 1.5rem; padding-right: 1.5rem; @@ -6227,6 +6435,11 @@ html.wp-toolbar { padding-bottom: 1rem; } + .wedocs-document :is(.sm\:py-3) { + padding-top: 0.75rem; + padding-bottom: 0.75rem; + } + .wedocs-document :is(.sm\:pl-16) { padding-left: 4rem; } @@ -6235,8 +6448,12 @@ html.wp-toolbar { padding-left: 1.5rem; } - .wedocs-document :is(.sm\:pt-5) { - padding-top: 1.25rem; + .wedocs-document :is(.sm\:pr-20) { + padding-right: 5rem; + } + + .wedocs-document :is(.sm\:pr-3) { + padding-right: 0.75rem; } .wedocs-document :is(.sm\:text-left) { @@ -6252,6 +6469,16 @@ html.wp-toolbar { font-size: 0.875rem; line-height: 1.25rem; } + + .wedocs-document :is(.sm\:text-sm\/6) { + font-size: 0.875rem; + line-height: 1.5rem; + } + + .wedocs-document :is(.sm\:text-lg) { + font-size: 1.125rem; + line-height: 1.75rem; + } } @media (min-width: 768px) { @@ -6260,6 +6487,10 @@ html.wp-toolbar { margin-bottom: 1.5rem; } + .wedocs-document :is(.md\:w-\[80\%\]) { + width: 80%; + } + .wedocs-document :is(.md\:min-w-\[300px\]) { min-width: 300px; } @@ -6279,6 +6510,10 @@ html.wp-toolbar { display: grid; } + .wedocs-document :is(.lg\:w-\[70\%\]) { + width: 70%; + } + .wedocs-document :is(.lg\:grid-cols-12) { grid-template-columns: repeat(12, minmax(0, 1fr)); } @@ -6303,6 +6538,13 @@ html.wp-toolbar { } } +@media (min-width: 1280px) { + + .wedocs-document :is(.xl\:w-\[60\%\]) { + width: 60%; + } +} + @media (min-width: 1536px) { .wedocs-document :is(.\32xl\:grid-cols-4) { @@ -6310,5 +6552,10 @@ html.wp-toolbar { } } +/*!************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./node_modules/react-responsive-carousel/lib/styles/carousel.min.css ***! + \************************************************************************************************************************************************************************************************************************/ .carousel .control-arrow,.carousel.carousel-slider .control-arrow{transition:all .25s ease-in;opacity:.4;filter:alpha(opacity=40);position:absolute;z-index:2;top:20px;background:none;border:0;font-size:32px;cursor:pointer}.carousel .control-arrow:focus,.carousel .control-arrow:hover{opacity:1;filter:alpha(opacity=100)}.carousel .control-arrow:before,.carousel.carousel-slider .control-arrow:before{margin:0 5px;display:inline-block;border-top:8px solid transparent;border-bottom:8px solid transparent;content:''}.carousel .control-disabled.control-arrow{opacity:0;filter:alpha(opacity=0);cursor:inherit;display:none}.carousel .control-prev.control-arrow{left:0}.carousel .control-prev.control-arrow:before{border-right:8px solid #fff}.carousel .control-next.control-arrow{right:0}.carousel .control-next.control-arrow:before{border-left:8px solid #fff}.carousel-root{outline:none}.carousel{position:relative;width:100%}.carousel *{box-sizing:border-box}.carousel img{width:100%;display:inline-block;pointer-events:none}.carousel .carousel{position:relative}.carousel .control-arrow{outline:0;border:0;background:none;top:50%;margin-top:-13px;font-size:18px}.carousel .thumbs-wrapper{margin:20px;overflow:hidden}.carousel .thumbs{transition:all .15s ease-in;transform:translate3d(0, 0, 0);position:relative;list-style:none;white-space:nowrap}.carousel .thumb{transition:border .15s ease-in;display:inline-block;margin-right:6px;white-space:nowrap;overflow:hidden;border:3px solid #fff;padding:2px}.carousel .thumb:focus{border:3px solid #ccc;outline:none}.carousel .thumb.selected,.carousel .thumb:hover{border:3px solid #333}.carousel .thumb img{vertical-align:top}.carousel.carousel-slider{position:relative;margin:0;overflow:hidden}.carousel.carousel-slider .control-arrow{top:0;color:#fff;font-size:26px;bottom:0;margin-top:0;padding:5px}.carousel.carousel-slider .control-arrow:hover{background:rgba(0,0,0,0.2)}.carousel .slider-wrapper{overflow:hidden;margin:auto;width:100%;transition:height .15s ease-in}.carousel .slider-wrapper.axis-horizontal .slider{-ms-box-orient:horizontal;display:-moz-flex;display:flex}.carousel .slider-wrapper.axis-horizontal .slider .slide{flex-direction:column;flex-flow:column}.carousel .slider-wrapper.axis-vertical{-ms-box-orient:horizontal;display:-moz-flex;display:flex}.carousel .slider-wrapper.axis-vertical .slider{flex-direction:column}.carousel .slider{margin:0;padding:0;position:relative;list-style:none;width:100%}.carousel .slider.animated{transition:all .35s ease-in-out}.carousel .slide{min-width:100%;margin:0;position:relative;text-align:center}.carousel .slide img{width:100%;vertical-align:top;border:0}.carousel .slide iframe{display:inline-block;width:calc(100% - 80px);margin:0 40px 40px;border:0}.carousel .slide .legend{transition:all .5s ease-in-out;position:absolute;bottom:40px;left:50%;margin-left:-45%;width:90%;border-radius:10px;background:#000;color:#fff;padding:10px;font-size:12px;text-align:center;opacity:0.25;transition:opacity .35s ease-in-out}.carousel .control-dots{position:absolute;bottom:0;margin:10px 0;padding:0;text-align:center;width:100%;z-index:1}@media (min-width: 960px){.carousel .control-dots{bottom:0}}.carousel .control-dots .dot{transition:opacity .25s ease-in;opacity:.3;filter:alpha(opacity=30);box-shadow:1px 1px 2px rgba(0,0,0,0.9);background:#fff;border-radius:50%;width:8px;height:8px;cursor:pointer;display:inline-block;margin:0 8px}.carousel .control-dots .dot.selected,.carousel .control-dots .dot:hover{opacity:1;filter:alpha(opacity=100)}.carousel .carousel-status{position:absolute;top:0;right:0;padding:5px;font-size:10px;text-shadow:1px 1px 1px rgba(0,0,0,0.9);color:#fff}.carousel:hover .slide .legend{opacity:1} + +/*# sourceMappingURL=index.css.map*/ \ No newline at end of file diff --git a/assets/build/index.css.map b/assets/build/index.css.map new file mode 100644 index 00000000..1ccb281e --- /dev/null +++ b/assets/build/index.css.map @@ -0,0 +1 @@ +{"version":3,"file":"index.css","mappings":";;;AAAA;;CAAc,CAAd;;;CAAc;;AAAd;;;EAAA,sBAAc,EAAd,MAAc;EAAd,eAAc,EAAd,MAAc;EAAd,mBAAc,EAAd,MAAc;EAAd,qBAAc,EAAd,MAAc;AAAA;;AAAd;;EAAA,gBAAc;AAAA;;AAAd;;;;;;;CAAc;;AAAd;EAAA,gBAAc,EAAd,MAAc;EAAd,8BAAc,EAAd,MAAc;EAAd,gBAAc,EAAd,MAAc;EAAd,cAAc;KAAd,WAAc,EAAd,MAAc;EAAd,4NAAc,EAAd,MAAc;EAAd,6BAAc,EAAd,MAAc;EAAd,+BAAc,EAAd,MAAc;AAAA;;AAAd;;;CAAc;;AAAd;EAAA,SAAc,EAAd,MAAc;EAAd,oBAAc,EAAd,MAAc;AAAA;;AAAd;;;;CAAc;;AAAd;EAAA,SAAc,EAAd,MAAc;EAAd,cAAc,EAAd,MAAc;EAAd,qBAAc,EAAd,MAAc;AAAA;;AAAd;;CAAc;;AAAd;EAAA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qBAAqB,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,wBAAwB,oBAAoB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,QAAQ,CAAC,yBAAyK,8BAA8B,CAAC,iBAAiB,CAAC,WAAW,CAAC,QAAQ,CAAC,gBAAgB,CAAC,SAAS,CAAC,kBAAkB,CAAC,eAAe,CAAC,UAAU,CAAC,YAAY,CAAC,cAAc,CAAC,iBAAiB,CAAC,YAAY,CAAqK,mCAAmC,CAAC,wBAAwB,iBAAiB,CAAC,QAAQ,CAAC,aAAa,CAAC,SAAS,CAAC,iBAAiB,CAAC,UAAU,CAAC,SAAS,CAAC,0BAA0B,wBAAwB,QAAQ,CAAC,CAAC,6BAAiL,+BAA+B,CAAC,UAAU,CAAC,wBAAwB,CAAC,sCAAsC,CAAC,eAAe,CAAC,iBAAiB,CAAC,SAAS,CAAC,UAAU,CAAC,cAAc,CAAC,oBAAoB,CAAC,YAAY,CAAC,yEAAyE,SAAS,CAAC,yBAAyB,CAAC,2BAA2B,iBAAiB,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,uCAAuC,CAAC,UAAU,CAAC,+BAA+B,SAAS","sources":["webpack://weDocs/./src/assets/css/index.css","webpack://weDocs/./node_modules/react-responsive-carousel/lib/styles/carousel.min.css"],"sourcesContent":["@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n/* wp-generator */\n/* write or paste your code here */\nhtml.wp-toolbar {\n background-color: #f0f0f1;\n}\n\n#wpcontent {\n padding: 0 25px;\n}\n\n.wrap {\n margin-right: 0;\n}\n\n#adminmenu .wp-menu-image img {\n margin: 0 auto;\n}\n\n.docs-section-listing.wrap {\n margin: 0;\n}\n\n.modal-body .diamond-img {\n background: linear-gradient(220.03deg, #fff3dd 39.57%, #ffe3ad 97.5%);\n}\n\n.modal-body .carousel.carousel-slider {\n padding-bottom: 40px;\n}\n\n.HW_visible {\n position: absolute;\n margin-top: 2px;\n}\n\n@media screen and (max-width: 782px) {\n #wpcontent {\n padding: 0 25px !important;\n }\n}\n\n@media screen and (max-width: 768px) {\n .settings-description {\n max-width: 305px;\n }\n\n .palette-options-container {\n gap: 32px;\n }\n\n .settings-palette-options {\n width: 272px;\n }\n}\n\n@media screen and (max-width: 1024px) {\n .palette-preview-container {\n width: 320px;\n }\n\n .preview-header .tabs .tab {\n padding: 8px;\n }\n\n .preview-header .tabs {\n margin-bottom: 12px;\n }\n\n .preview-header {\n height: 160px;\n }\n\n .listing-docs .doc-search {\n min-height: 28px;\n }\n\n .listing-docs .search-panel {\n width: 256px;\n margin-bottom: 16px;\n }\n\n .explore-docs .doc-section {\n width: 290px;\n }\n}\n\n@media screen and (min-width: 1024px) and (max-width: 1100px) {\n .pro-sub-settings {\n margin-left: 1.5rem;\n }\n\n .settings-description {\n max-width: 240px;\n }\n\n .palette-options-container {\n gap: 16px;\n }\n\n .settings-palette-options {\n width: 232px;\n }\n\n .palette-first-color {\n width: 16px;\n }\n\n .settings-tab .pro-settings {\n width: 54px;\n }\n\n .settings-sub-tab svg {\n width: 24px;\n }\n}\n",".carousel .control-arrow,.carousel.carousel-slider .control-arrow{-webkit-transition:all .25s ease-in;-moz-transition:all .25s ease-in;-ms-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in;opacity:.4;filter:alpha(opacity=40);position:absolute;z-index:2;top:20px;background:none;border:0;font-size:32px;cursor:pointer}.carousel .control-arrow:focus,.carousel .control-arrow:hover{opacity:1;filter:alpha(opacity=100)}.carousel .control-arrow:before,.carousel.carousel-slider .control-arrow:before{margin:0 5px;display:inline-block;border-top:8px solid transparent;border-bottom:8px solid transparent;content:''}.carousel .control-disabled.control-arrow{opacity:0;filter:alpha(opacity=0);cursor:inherit;display:none}.carousel .control-prev.control-arrow{left:0}.carousel .control-prev.control-arrow:before{border-right:8px solid #fff}.carousel .control-next.control-arrow{right:0}.carousel .control-next.control-arrow:before{border-left:8px solid #fff}.carousel-root{outline:none}.carousel{position:relative;width:100%}.carousel *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.carousel img{width:100%;display:inline-block;pointer-events:none}.carousel .carousel{position:relative}.carousel .control-arrow{outline:0;border:0;background:none;top:50%;margin-top:-13px;font-size:18px}.carousel .thumbs-wrapper{margin:20px;overflow:hidden}.carousel .thumbs{-webkit-transition:all .15s ease-in;-moz-transition:all .15s ease-in;-ms-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);position:relative;list-style:none;white-space:nowrap}.carousel .thumb{-webkit-transition:border .15s ease-in;-moz-transition:border .15s ease-in;-ms-transition:border .15s ease-in;-o-transition:border .15s ease-in;transition:border .15s ease-in;display:inline-block;margin-right:6px;white-space:nowrap;overflow:hidden;border:3px solid #fff;padding:2px}.carousel .thumb:focus{border:3px solid #ccc;outline:none}.carousel .thumb.selected,.carousel .thumb:hover{border:3px solid #333}.carousel .thumb img{vertical-align:top}.carousel.carousel-slider{position:relative;margin:0;overflow:hidden}.carousel.carousel-slider .control-arrow{top:0;color:#fff;font-size:26px;bottom:0;margin-top:0;padding:5px}.carousel.carousel-slider .control-arrow:hover{background:rgba(0,0,0,0.2)}.carousel .slider-wrapper{overflow:hidden;margin:auto;width:100%;-webkit-transition:height .15s ease-in;-moz-transition:height .15s ease-in;-ms-transition:height .15s ease-in;-o-transition:height .15s ease-in;transition:height .15s ease-in}.carousel .slider-wrapper.axis-horizontal .slider{-ms-box-orient:horizontal;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-moz-flex;display:-webkit-flex;display:flex}.carousel .slider-wrapper.axis-horizontal .slider .slide{flex-direction:column;flex-flow:column}.carousel .slider-wrapper.axis-vertical{-ms-box-orient:horizontal;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-moz-flex;display:-webkit-flex;display:flex}.carousel .slider-wrapper.axis-vertical .slider{-webkit-flex-direction:column;flex-direction:column}.carousel .slider{margin:0;padding:0;position:relative;list-style:none;width:100%}.carousel .slider.animated{-webkit-transition:all .35s ease-in-out;-moz-transition:all .35s ease-in-out;-ms-transition:all .35s ease-in-out;-o-transition:all .35s ease-in-out;transition:all .35s ease-in-out}.carousel .slide{min-width:100%;margin:0;position:relative;text-align:center}.carousel .slide img{width:100%;vertical-align:top;border:0}.carousel .slide iframe{display:inline-block;width:calc(100% - 80px);margin:0 40px 40px;border:0}.carousel .slide .legend{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;position:absolute;bottom:40px;left:50%;margin-left:-45%;width:90%;border-radius:10px;background:#000;color:#fff;padding:10px;font-size:12px;text-align:center;opacity:0.25;-webkit-transition:opacity .35s ease-in-out;-moz-transition:opacity .35s ease-in-out;-ms-transition:opacity .35s ease-in-out;-o-transition:opacity .35s ease-in-out;transition:opacity .35s ease-in-out}.carousel .control-dots{position:absolute;bottom:0;margin:10px 0;padding:0;text-align:center;width:100%;z-index:1}@media (min-width: 960px){.carousel .control-dots{bottom:0}}.carousel .control-dots .dot{-webkit-transition:opacity .25s ease-in;-moz-transition:opacity .25s ease-in;-ms-transition:opacity .25s ease-in;-o-transition:opacity .25s ease-in;transition:opacity .25s ease-in;opacity:.3;filter:alpha(opacity=30);box-shadow:1px 1px 2px rgba(0,0,0,0.9);background:#fff;border-radius:50%;width:8px;height:8px;cursor:pointer;display:inline-block;margin:0 8px}.carousel .control-dots .dot.selected,.carousel .control-dots .dot:hover{opacity:1;filter:alpha(opacity=100)}.carousel .carousel-status{position:absolute;top:0;right:0;padding:5px;font-size:10px;text-shadow:1px 1px 1px rgba(0,0,0,0.9);color:#fff}.carousel:hover .slide .legend{opacity:1}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/assets/build/index.js b/assets/build/index.js index 7d19c20a..f023a976 100644 --- a/assets/build/index.js +++ b/assets/build/index.js @@ -1,7 +1,33991 @@ -(()=>{var e,t,r={902:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(143);const a={docs:[],pages:[],parents:[],loading:!1,sorting:!1,userDocIds:[],helpfulDocs:[],needSorting:!1,restrictedArticleList:[]},o={setDocs:e=>({type:"SET_DOCS",docs:e}),setDoc:e=>({type:"SET_DOC",doc:e}),setParentDocs:e=>({type:"SET_PARENT_DOCS",parents:e}),setPages:e=>({type:"SET_PAGES",pages:e}),setLoading:e=>({type:"SET_LOADING",loading:e}),setSortingStatus:e=>({type:"SET_SORTING_STATUS",sorting:e}),setNeedSortingStatus:e=>({type:"SET_NEED_SORTING_STATUS",needSorting:e}),setUserDocIds:e=>({type:"SET_USER_DOC_IDS",userDocIds:e}),setUserDocId:e=>({type:"SET_USER_DOC_ID",userDocId:e}),fetchFromAPI:e=>({type:"FETCH_FROM_API",path:e}),setHelpfulDocs:e=>({type:"SET_HELPFUL_DOCS",helpfulDocs:e}),createDocsToAPI:e=>({type:"UPDATE_TO_API",path:"/wp/v2/docs",data:e}),removeDoc:e=>({type:"REMOVE_DOC",docId:e}),setRestrictedArticles:e=>({type:"SET_RESTRICTED_ARTICLES",restrictedArticleList:e}),setRestrictedArticle:e=>({type:"SET_RESTRICTED_ARTICLE",restrictedArticle:e}),*createDoc(e){const t=yield o.createDocsToAPI(e);return yield o.setUserDocId(t.id),yield o.setDoc(t),t},*updateDoc(e,t){const r=wp.hooks.applyFilters("wedocs_documentation_fetching_path","/wp/v2/docs?per_page=-1&status=publish"+("undefined"!=typeof weDocsAdminVars?",draft,private":"")),n="/wp/v2/docs/"+e;yield{type:"UPDATE_TO_API",path:n,data:t};const a=yield o.fetchFromAPI(r),s=a.filter((e=>!e.parent)),i=s?.sort(((e,t)=>e.menu_order-t.menu_order));return yield o.setParentDocs(i),o.setDocs(a)},*updateDocs(e){yield{type:"UPDATE_TO_API",path:"/wp/v2/docs/update_docs_status",data:e};const t=yield o.fetchFromAPI("/wp/v2/docs?per_page=-1&status=publish,draft,private"),r=t.filter((e=>!e.parent)),n=r?.sort(((e,t)=>e.menu_order-t.menu_order));return yield o.setParentDocs(n),o.setDocs(t)},*updateNeedSortingStatus(e){yield{type:"UPDATE_TO_API",path:"/wp/v2/docs/need_sorting_status",data:e};const t=yield o.fetchFromAPI("/wp/v2/docs/need_sorting_status");return o.setNeedSortingStatus(t)},*updateSortingStatus(e){yield{type:"UPDATE_TO_API",path:"/wp/v2/docs/sorting_status",data:e};const t=yield o.fetchFromAPI("/wp/v2/docs/sorting_status");return yield o.setNeedSortingStatus(t),o.setSortingStatus(t)},*updateDocMeta(e,t){const r="/wp/v2/docs/"+e+"/meta",n=yield{type:"UPDATE_TO_API",path:r,data:t};return yield o.setRestrictedArticle({id:e,value:n}),n},*deleteDoc(e){const t="/wp/v2/docs/"+e;return yield{type:"DELETE_TO_API",path:t},o.removeDoc(e)},*updateParentDocs(){const e=wp.hooks.applyFilters("wedocs_documentation_fetching_path","/wp/v2/docs?per_page=-1&status=publish"+("undefined"!=typeof weDocsAdminVars?",draft,private":"")),t=yield o.fetchFromAPI(e),r=t.filter((e=>!e.parent)),n=r?.sort(((e,t)=>e.menu_order-t.menu_order));return yield o.setParentDocs(n),o.setDocs(t)},*sendMessage(e){return yield{type:"UPDATE_TO_API",path:"/wp/v2/docs/message",data:e}},*dismissPromoNotice(e){return yield o.dismissPromoNoticeAPI(e)},dismissPromoNoticeAPI:e=>({type:"UPDATE_TO_API",path:"/wp/v2/docs/hide-promotion-notice",data:{option_name:e}})},s=o,i={getDocs:e=>{const{docs:t}=e;return t},getParentDocs:e=>{const{parents:t}=e;return t},getDoc:(e,t)=>{const{docs:r}=e;return r.find((e=>e.id===t))},getPages:e=>{const{pages:t}=e;return t},getLoading:e=>{const{loading:t}=e;return t},getSortingStatus:e=>{const{sorting:t}=e;return t},getNeedSortingStatus:e=>{const{needSorting:t}=e;return t},getUserDocIds:e=>{const{userDocIds:t}=e;return t},getSectionsDocs:(e,t)=>{const{docs:r}=e,n=r.filter((e=>e.parent===t)),a=n?.sort(((e,t)=>e.menu_order-t.menu_order));return a},getDocArticles:(e,t)=>{const{docs:r}=e,n=r.filter((e=>e.parent===t)),a=[];n.forEach((e=>{const t=r.filter((t=>t.parent===e.id));a.push(...t)}));const o=a?.sort(((e,t)=>e.menu_order-t.menu_order));return o},getSectionArticles:(e,t)=>{const{docs:r}=e,n=r.filter((e=>e.parent===t)),a=n?.sort(((e,t)=>e.menu_order-t.menu_order));return a},getArticleChildrens:(e,t)=>{const{docs:r}=e,n=r?.filter((e=>e.parent===t))?.reverse(),a=n?.sort(((e,t)=>e.menu_order-t.menu_order));return a},getHelpfulDocs:e=>{const{helpfulDocs:t}=e;return t},getRestrictedArticles(e){const{restrictedArticleList:t}=e;return t},getRestrictedArticle(e,t){const{restrictedArticleList:r}=e;return r.find((e=>e.id===t))},getDocumentChildrens:(e,t)=>{const{docs:r}=e,n=r?.filter((e=>e.parent===t))?.reverse(),a=n?.sort(((e,t)=>e.menu_order-t.menu_order));return a}},l=i;var c=r(455),d=r.n(c);const u={FETCH_FROM_API:e=>d()({path:e.path}),UPDATE_TO_API:e=>d()({path:e.path,data:e.data,method:"POST"}),DELETE_TO_API:e=>d()({path:e.path,method:"DELETE"})},m={*getDocs(){const e=wp.hooks.applyFilters("wedocs_documentation_fetching_path","/wp/v2/docs?per_page=-1&status=publish"+("undefined"!=typeof weDocsAdminVars?",draft,private":""));yield s.setLoading(!0);const t=yield s.fetchFromAPI(e);yield s.setDocs(t);const r=t.filter((e=>!e.parent)),n=r?.sort(((e,t)=>e.menu_order-t.menu_order));return yield s.setParentDocs(n),s.setLoading(!1)},*getDoc(e){yield s.setLoading(!0);let t="/wp/v2/docs/"+e;const r=yield s.fetchFromAPI(t);return yield s.setDoc(r),s.setLoading(!1)},*getPages(){const e=yield s.fetchFromAPI("/wp/v2/pages");return s.setPages(e)},*getSortingStatus(){const e=yield s.fetchFromAPI("/wp/v2/docs/sorting_status");return s.setSortingStatus(e)},*getNeedSortingStatus(){const e=yield s.fetchFromAPI("/wp/v2/docs/need_sorting_status");return s.setNeedSortingStatus(e)},*getUserDocIds(){try{if("undefined"!=typeof weDocsAdminVars&&weDocsAdminVars.pro_active){const e=yield s.fetchFromAPI("/wp/v2/docs/users/ids/");return s.setUserDocIds(e)}return console.info("weDocs Pro plugin not active, returning empty user doc IDs"),s.setUserDocIds([])}catch(e){return console.warn("Error fetching user doc IDs:",e),s.setUserDocIds([])}},*getHelpfulDocs(){const e=yield s.fetchFromAPI(getDocsPath);yield s.setDocs(e);const t=yield s.fetchFromAPI("/wp/v2/docs/helpfulness"),r=e.sort(((e,r)=>t.indexOf(e.id)-t.indexOf(r.id))).filter((e=>t?.includes(e?.id)));yield s.setHelpfulDocs(r)},*getRestrictedArticles(){const e=yield s.fetchFromAPI("/wp/v2/docs/meta?key=wedocs_restrict_admin_article_access");return yield s.setRestrictedArticles(e)},*getRestrictedArticle(e,t){const{restrictedArticleList:r}=e;return r.find((e=>e.id===t))}},p=m,f=(0,n.createReduxStore)("wedocs/docs",{reducer:(e=a,t)=>{switch(t.type){case"SET_DOCS":return{...e,docs:[...t.docs]};case"SET_DOC":const r={...e,docs:[...e.docs,t.doc]},n=!e.parents.some((e=>e?.id===t?.doc?.id));return!t.doc.parent&&n&&(r.parents=[{...t.doc},...e.parents]),r;case"SET_USER_DOC_IDS":return{...e,userDocIds:[...e.userDocIds,...t.userDocIds]};case"SET_USER_DOC_ID":return{...e,userDocIds:[...e.userDocIds,t.userDocId]};case"SET_PAGES":return{...e,pages:[...t.pages]};case"SET_PARENT_DOCS":return{...e,parents:[...t.parents]};case"SET_LOADING":return{...e,loading:t.loading};case"SET_SORTING_STATUS":return{...e,sorting:t.sorting};case"SET_NEED_SORTING_STATUS":return{...e,needSorting:t.needSorting};case"SET_HELPFUL_DOCS":return{...e,helpfulDocs:t.helpfulDocs};case"REMOVE_DOC":return{...e,docs:[...e.docs?.filter((e=>e.id!==t.docId))],parents:[...e.parents?.filter((e=>e.id!==t.docId))]};case"SET_RESTRICTED_ARTICLES":return{...e,restrictedArticleList:[...t.restrictedArticleList]};case"SET_RESTRICTED_ARTICLE":return{...e,restrictedArticleList:[...e.restrictedArticleList,{...t.restrictedArticle}]};default:return e}},selectors:l,actions:s,resolvers:p,controls:u})},768:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(143);const a={roles:{},settings:{general:{docs_home:"",email:"on",email_to:"",helpful:"on",comments:"off",print:"on",enable_search:"on",collapse_articles:"off"},permission:{global_permission:["administrator","editor"],role_wise_permission:["administrator"],show_contributors:"on"},assistant:{assist_enable:"on",integrate_ai:{ai_enabled:"off",sync_data:"off",ai_response:{}},explore:{explore_enable:"on"},message:{messaging_enable:"on",turnstile_site_key:""},placement:{order:["integrate_ai","explore","message"]},preference:{color_settings:{preview_colors:{widgetBg:{r:99,g:102,b:241,a:1},activeTabBg:{r:255,g:255,b:255,a:1},activeTabFont:{r:55,g:65,b:81,a:1},inactiveTabBg:{r:67,g:56,b:202,a:1},inactiveTabFont:{r:199,g:210,b:254,a:1},tabTitleFont:{r:255,g:255,b:255,a:1},tabDescriptionFont:{r:199,g:210,b:254,a:1},breadcrumbColor:{r:67,g:56,b:202,a:1},bubbleBg:{r:87,g:116,b:241,a:1},bubbleIcon:{r:255,g:255,b:255,a:1}}}}},layout:{column:"2",nav_icon:"on",right_bar:"on",template:"default",active_text:{r:59,g:130,b:246,a:1},active_nav_bg:{r:59,g:130,b:246,a:1},active_nav_text:{r:255,g:255,b:255,a:1}}},loading:!1,saving:!1,needUpgrade:!1},o={getSettings(e){const{settings:t}=e;return t},getSettingsOption(e,t){const{settings:r}=e;return r[t]},getGeneralSettingsOption(e,t){const{settings:r}=e;return r?.general?.[t]},getPermissionSettingsOption(e,t){const{settings:r}=e;return r?.permission?.[t]},getAssistantSettingsOption(e,t){const{settings:r}=e;return r?.assistant?.[t]},getRoles(e){const{roles:t}=e;return t},getLoading(e){const{loading:t}=e;return t},getUpgradeInfo(e){const{needUpgrade:t}=e;return t},getSaving(e){const{saving:t}=e;return t},getTurnstileSiteKey(e){const{settings:t}=e;return t?.assistant?.message?.turnstile_site_key},getPromoNotice(e){const{promoNotice:t}=e;return t}},s=o,i={setSettings:e=>({type:"SET_SETTINGS",settings:e}),setSettingsOption:(e,t)=>({type:"SET_SETTINGS_OPTION",option:e,value:t}),setLoading:e=>({type:"SET_LOADING",loading:e}),setUpgradeInfo:e=>({type:"SET_UPGRADE_INFO",needUpgrade:e}),setPromoNotice:e=>({type:"SET_PROMO_NOTICE",promoNotice:e}),setMigrateInfo:e=>({type:"SET_MIGRATE_INFO",needMigrate:e}),setSaving:e=>({type:"SET_SAVING",saving:e}),setRoles:e=>({type:"SET_ROLES",roles:e}),setTurnstileSiteKey:e=>({type:"SET_TURNSTILE_SITE_KEY",siteKey:e}),*updateSettings(e){const t=yield{type:"UPDATE_TO_API",path:"/wp/v2/docs/settings",data:e};return yield i.setSettings(t.data),t.data},*wedocsUpgrade(e){const t=yield{type:"UPDATE_TO_API",path:"/wp/v2/docs/upgrade",data:e};return yield i.setUpgradeInfo(!1),t},*makeUpdateDone(){return yield{type:"UPDATE_TO_API",path:"/wp/v2/docs/upgrade/done"}}},l=i,c={*getSettings(){yield l.setLoading(!0);const e=yield{type:"FETCH_SETTINGS"};return yield l.setSettings(e),l.setLoading(!1)},*getUpgradeInfo(){yield l.setLoading(!0);const e=yield{type:"FETCH_UPGRADE_INFO"};return yield l.setUpgradeInfo(e),l.setLoading(!1)},*getRoles(){yield l.setLoading(!0);const e=yield{type:"FETCH_ROLES"};return yield l.setRoles(e),l.setLoading(!1)},*getTurnstileSiteKey(){yield l.setLoading(!0);const e=yield{type:"FETCH_SITE_KEY"};return yield l.setTurnstileSiteKey(e),l.setLoading(!1)},*getPromoNotice(){yield l.setLoading(!0);const e=yield{type:"FETCH_PROMO_NOTICE"};return yield l.setPromoNotice(e),l.setLoading(!1)}},d=c;var u=r(455),m=r.n(u);const p=wp.hooks.applyFilters("wedocs_pro_loaded",!1),f={FETCH_SETTINGS:()=>m()({path:"/wp/v2/docs/settings?data=wedocs_settings"}),FETCH_ROLES:()=>m()({path:"/wp/v2/docs/users"}),FETCH_UPGRADE_INFO:()=>m()({path:"/wp/v2/docs/upgrade"}),FETCH_SITE_KEY:()=>m()({path:"/wp/v2/docs/settings/turnstile-site-key"}),UPDATE_TO_API:e=>m()({path:e.path,data:e.data,method:"POST"}),FETCH_PROMO_NOTICE:()=>p?null:m()({path:"/wp/v2/docs/promotion-notice"})},h=(0,n.createReduxStore)("wedocs/settings",{reducer:(e=a,t)=>{switch(t.type){case"SET_SETTINGS":return{...e,settings:{...e.settings,...t.settings}};case"SET_LOADING":return{...e,loading:t.loading};case"SET_ROLES":return{...e,roles:t.roles};case"SET_SETTINGS_OPTION":return{...e,settings:{...e.settings,[t.option]:t.value}};case"SET_UPGRADE_INFO":return{...e,needUpgrade:t.needUpgrade};case"SET_PROMO_NOTICE":return{...e,promoNotice:t.promoNotice};case"SET_SAVING":return{...e,saving:t.saving};case"SET_TURNSTILE_SITE_KEY":return{...e,settings:{...e.settings,assistant:{...e.settings.assistant,message:{...e.settings.assistant.message,turnstile_site_key:t.siteKey}}}};default:return e}},selectors:s,actions:l,resolvers:d,controls:f})},648:(e,t,r)=>{"use strict";var n=r(143),a=r(902),o=r(768);(0,n.register)(a.A),(0,n.register)(o.A)},485:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,c={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon",ˆ:"circ",ˇ:"caron","°":"deg","©":"copy","®":"reg","℗":"copysr",℘:"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78",𝒶:"ascr",𝕒:"aopf",𝔞:"afr",𝔸:"Aopf",𝔄:"Afr",𝒜:"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig",𝒷:"bscr",𝕓:"bopf",𝔟:"bfr",𝔹:"Bopf",ℬ:"Bscr",𝔅:"Bfr",𝔠:"cfr",𝒸:"cscr",𝕔:"copf",ℭ:"Cfr",𝒞:"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare",𝔡:"dfr",ⅆ:"dd",𝕕:"dopf",𝒹:"dscr",𝒟:"Dscr",𝔇:"Dfr",ⅅ:"DD",𝔻:"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH",ⅇ:"ee",ℯ:"escr",𝔢:"efr",𝕖:"eopf",ℰ:"Escr",𝔈:"Efr",𝔼:"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr",𝔣:"ffr",𝕗:"fopf",𝒻:"fscr",𝔉:"Ffr",𝔽:"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr",𝕘:"gopf",𝔤:"gfr",𝒢:"Gscr",𝔾:"Gopf",𝔊:"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil",𝔥:"hfr",ℎ:"planckh",𝒽:"hscr",𝕙:"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok",𝕚:"iopf",𝔦:"ifr",𝒾:"iscr",ⅈ:"ii",𝕀:"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath",𝒿:"jscr",𝕛:"jopf",𝔧:"jfr",𝒥:"Jscr",𝔍:"Jfr",𝕁:"Jopf",ĵ:"jcirc",Ĵ:"Jcirc",ȷ:"jmath",𝕜:"kopf",𝓀:"kscr",𝔨:"kfr",𝒦:"Kscr",𝕂:"Kopf",𝔎:"Kfr",ķ:"kcedil",Ķ:"Kcedil",𝔩:"lfr",𝓁:"lscr",ℓ:"ell",𝕝:"lopf",ℒ:"Lscr",𝔏:"Lfr",𝕃:"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot",𝔪:"mfr",𝕞:"mopf",𝓂:"mscr",𝔐:"Mfr",𝕄:"Mopf",ℳ:"Mscr",𝔫:"nfr",𝕟:"nopf",𝓃:"nscr",ℕ:"Nopf",𝒩:"Nscr",𝔑:"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG",𝕠:"oopf",𝔬:"ofr",ℴ:"oscr",𝒪:"Oscr",𝔒:"Ofr",𝕆:"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig",𝔭:"pfr",𝓅:"pscr",𝕡:"popf",ℙ:"Popf",𝔓:"Pfr",𝒫:"Pscr",𝕢:"qopf",𝔮:"qfr",𝓆:"qscr",𝒬:"Qscr",𝔔:"Qfr",ℚ:"Qopf",ĸ:"kgreen",𝔯:"rfr",𝕣:"ropf",𝓇:"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil",𝕤:"sopf",𝓈:"sscr",𝔰:"sfr",𝕊:"Sopf",𝔖:"Sfr",𝒮:"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig",𝔱:"tfr",𝓉:"tscr",𝕥:"topf",𝒯:"Tscr",𝔗:"Tfr",𝕋:"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok",𝓊:"uscr",𝕦:"uopf",𝔲:"ufr",𝕌:"Uopf",𝔘:"Ufr",𝒰:"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr",𝔳:"vfr",𝕧:"vopf",𝓋:"vscr",𝔙:"Vfr",𝕍:"Vopf",𝒱:"Vscr",𝕨:"wopf",𝓌:"wscr",𝔴:"wfr",𝒲:"Wscr",𝕎:"Wopf",𝔚:"Wfr",ŵ:"wcirc",Ŵ:"Wcirc",𝔵:"xfr",𝓍:"xscr",𝕩:"xopf",𝕏:"Xopf",𝔛:"Xfr",𝒳:"Xscr",𝔶:"yfr",𝓎:"yscr",𝕪:"yopf",𝒴:"Yscr",𝔜:"Yfr",𝕐:"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml",𝓏:"zscr",𝔷:"zfr",𝕫:"zopf",ℨ:"Zfr",ℤ:"Zopf",𝒵:"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi",ϵ:"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},d=/["&'<>`]/g,u={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},m=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,p=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,h={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},g={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},b={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},w=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],v=String.fromCharCode,x={}.hasOwnProperty,y=function(e,t){return x.call(e,t)},E=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=y(e,r)?e[r]:t[r];return n},k=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&A("character reference outside the permissible Unicode range"),"�"):y(b,e)?(t&&A("disallowed character reference"),b[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r65535&&(r+=v((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=v(e))},N=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},S=function(e){return"&#"+e+";"},A=function(e){throw Error("Parse error: "+e)},D=function(e,t){(t=E(t,D.options)).strict&&p.test(e)&&A("forbidden code point");var r=t.encodeEverything,n=t.useNamedReferences,a=t.allowUnsafeSymbols,u=t.decimal?S:N,m=function(e){return u(e.charCodeAt(0))};return r?(e=e.replace(s,(function(e){return n&&y(c,e)?"&"+c[e]+";":m(e)})),n&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(e=e.replace(l,(function(e){return"&"+c[e]+";"})))):n?(a||(e=e.replace(d,(function(e){return"&"+c[e]+";"}))),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(l,(function(e){return"&"+c[e]+";"}))):a||(e=e.replace(d,m)),e.replace(o,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return u(1024*(t-55296)+r-56320+65536)})).replace(i,m)};D.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var C=function(e,t){var r=(t=E(t,C.options)).strict;return r&&m.test(e)&&A("malformed character reference"),e.replace(f,(function(e,n,a,o,s,i,l,c,d){var u,m,p,f,b,w;return n?h[b=n]:a?(b=a,(w=o)&&t.isAttributeValue?(r&&"="==w&&A("`&` did not start a character reference"),e):(r&&A("named character reference was not terminated by a semicolon"),g[b]+(w||""))):s?(p=s,m=i,r&&!m&&A("character reference was not terminated by a semicolon"),u=parseInt(p,10),k(u,r)):l?(f=l,m=c,r&&!m&&A("character reference was not terminated by a semicolon"),u=parseInt(f,16),k(u,r)):(r&&A("named character reference was not terminated by a semicolon"),e)}))};C.options={isAttributeValue:!1,strict:!1};var I={version:"1.2.0",encode:D,decode:C,escape:function(e){return e.replace(d,(function(e){return u[e]}))},unescape:C};void 0===(n=function(){return I}.call(t,r,t,e))||(e.exports=n)}()},694:(e,t,r)=>{"use strict";var n=r(925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,r,a,o,s){if(s!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return r.PropTypes=r,r}},556:(e,t,r)=>{e.exports=r(694)()},925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},410:function(e,t,r){var n,a,o;a=[t,r(206)],n=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,n=(r=t)&&r.__esModule?r:{default:r};e.default=n.default},void 0===(o=n.apply(t,a))||(e.exports=o)},206:function(e,t,r){var n,a,o;a=[t,r(609),r(556)],n=function(e,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setHasSupportToCaptureOption=c;var n=o(t),a=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var s=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{capture:!0};return l?e:e.capture}function u(e){if("touches"in e){var t=e.touches[0];return{x:t.pageX,y:t.pageY}}return{x:e.screenX,y:e.screenY}}var m=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=Array(r),a=0;at&&this.props.onSwipeRight(1,e),this.movePosition.deltaY<-t?this.props.onSwipeUp(1,e):this.movePosition.deltaY>t&&this.props.onSwipeDown(1,e)),this.moveStart=null,this.moving=!1,this.movePosition=null}},{key:"_setSwiperRef",value:function(e){this.swiper=e,this.props.innerRef(e)}},{key:"render",value:function(){var e=this.props,t=(e.tagName,e.className),r=e.style,a=e.children,o=(e.allowMouseEvents,e.onSwipeUp,e.onSwipeDown,e.onSwipeLeft,e.onSwipeRight,e.onSwipeStart,e.onSwipeMove,e.onSwipeEnd,e.innerRef,e.tolerance,function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["tagName","className","style","children","allowMouseEvents","onSwipeUp","onSwipeDown","onSwipeLeft","onSwipeRight","onSwipeStart","onSwipeMove","onSwipeEnd","innerRef","tolerance"]));return n.default.createElement(this.props.tagName,s({ref:this._setSwiperRef,onMouseDown:this._onMouseDown,onTouchStart:this._handleSwipeStart,onTouchEnd:this._handleSwipeEnd,className:t,style:r},o),a)}}]),t}(t.Component);m.displayName="ReactSwipe",m.propTypes={tagName:a.default.string,className:a.default.string,style:a.default.object,children:a.default.node,allowMouseEvents:a.default.bool,onSwipeUp:a.default.func,onSwipeDown:a.default.func,onSwipeLeft:a.default.func,onSwipeRight:a.default.func,onSwipeStart:a.default.func,onSwipeMove:a.default.func,onSwipeEnd:a.default.func,innerRef:a.default.func,tolerance:a.default.number.isRequired},m.defaultProps={tagName:"div",allowMouseEvents:!1,onSwipeUp:function(){},onSwipeDown:function(){},onSwipeLeft:function(){},onSwipeRight:function(){},onSwipeStart:function(){},onSwipeMove:function(){},onSwipeEnd:function(){},innerRef:function(){},tolerance:0},e.default=m},void 0===(o=n.apply(t,a))||(e.exports=o)},845:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e,t,r){var n=0===e?e:e+t;return"translate3d("+("horizontal"===r?[n,0,0]:[0,n,0]).join(",")+")"}},613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fadeAnimationHandler=t.slideStopSwipingHandler=t.slideSwipeAnimationHandler=t.slideAnimationHandler=void 0;var n,a=r(609),o=(n=r(845))&&n.__esModule?n:{default:n},s=r(929);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;tc))return i<0?e.centerMode&&e.centerSlidePercentage&&"horizontal"===e.axis?r.itemListStyle=(0,s.setPosition)(-(c+2)*e.centerSlidePercentage-(100-e.centerSlidePercentage)/2,e.axis):r.itemListStyle=(0,s.setPosition)(100*-(c+2),e.axis):i>c&&(r.itemListStyle=(0,s.setPosition)(0,e.axis)),r;var d=(0,s.getPosition)(n,e),u=(0,o.default)(d,"%",e.axis),m=e.transitionTime+"ms";return r.itemListStyle={WebkitTransform:u,msTransform:u,OTransform:u,transform:u},t.swiping||(r.itemListStyle=l(l({},r.itemListStyle),{},{WebkitTransitionDuration:m,MozTransitionDuration:m,OTransitionDuration:m,transitionDuration:m,msTransitionDuration:m})),r},t.slideSwipeAnimationHandler=function(e,t,r,n){var o={},i="horizontal"===t.axis,l=a.Children.count(t.children),c=(0,s.getPosition)(r.selectedItem,t),d=t.infiniteLoop?(0,s.getPosition)(l-1,t)-100:(0,s.getPosition)(l-1,t),u=i?e.x:e.y,m=u;0===c&&u>0&&(m=0),c===d&&u<0&&(m=0);var p=c+100/(r.itemSize/m),f=Math.abs(u)>t.swipeScrollTolerance;return t.infiniteLoop&&f&&(0===r.selectedItem&&p>-100?p-=100*l:r.selectedItem===l-1&&p<100*-l&&(p+=100*l)),(!t.preventMovementUntilSwipeScrollTolerance||f||r.swipeMovementStarted)&&(r.swipeMovementStarted||n({swipeMovementStarted:!0}),o.itemListStyle=(0,s.setPosition)(p,t.axis)),f&&!r.cancelClick&&n({cancelClick:!0}),o},t.slideStopSwipingHandler=function(e,t){var r=(0,s.getPosition)(t.selectedItem,e);return{itemListStyle:(0,s.setPosition)(r,e.axis)}},t.fadeAnimationHandler=function(e,t){var r=e.transitionTime+"ms",n="ease-in-out",a={position:"absolute",display:"block",zIndex:-2,minHeight:"100%",opacity:0,top:0,right:0,left:0,bottom:0,transitionTimingFunction:n,msTransitionTimingFunction:n,MozTransitionTimingFunction:n,WebkitTransitionTimingFunction:n,OTransitionTimingFunction:n};return t.swiping||(a=l(l({},a),{},{WebkitTransitionDuration:r,MozTransitionDuration:r,OTransitionDuration:r,transitionDuration:r,msTransitionDuration:r})),{slideStyle:a,selectedStyle:l(l({},a),{},{opacity:1,position:"relative"}),prevStyle:l({},a)}}},504:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==p(e)&&"function"!=typeof e)return{default:e};var t=m();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=n?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,t&&t.set(e,r),r}(r(609)),a=u(r(410)),o=u(r(775)),s=u(r(292)),i=u(r(960)),l=u(r(69)),c=r(929),d=r(613);function u(e){return e&&e.__esModule?e:{default:e}}function m(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return m=function(){return e},e}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function f(){return f=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:1;t.moveTo(t.state.selectedItem-("number"==typeof e?e:1))})),y(v(t),"increment",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;t.moveTo(t.state.selectedItem+("number"==typeof e?e:1))})),y(v(t),"moveTo",(function(e){if("number"==typeof e){var r=n.Children.count(t.props.children)-1;e<0&&(e=t.props.infiniteLoop?r:0),e>r&&(e=t.props.infiniteLoop?0:r),t.selectItem({selectedItem:e}),t.state.autoPlay&&!1===t.state.isMouseEntered&&t.resetAutoPlay()}})),y(v(t),"onClickNext",(function(){t.increment(1)})),y(v(t),"onClickPrev",(function(){t.decrement(1)})),y(v(t),"onSwipeForward",(function(){t.increment(1),t.props.emulateTouch&&t.setState({cancelClick:!0})})),y(v(t),"onSwipeBackwards",(function(){t.decrement(1),t.props.emulateTouch&&t.setState({cancelClick:!0})})),y(v(t),"changeItem",(function(e){return function(r){(0,c.isKeyboardEvent)(r)&&"Enter"!==r.key||t.moveTo(e)}})),y(v(t),"selectItem",(function(e){t.setState(g({previousItem:t.state.selectedItem},e),(function(){t.setState(t.animationHandler(t.props,t.state))})),t.handleOnChange(e.selectedItem,n.Children.toArray(t.props.children)[e.selectedItem])})),y(v(t),"getInitialImage",(function(){var e=t.props.selectedItem,r=t.itemsRef&&t.itemsRef[e];return(r&&r.getElementsByTagName("img")||[])[0]})),y(v(t),"getVariableItemHeight",(function(e){var r=t.itemsRef&&t.itemsRef[e];if(t.state.hasMount&&r&&r.children.length){var n=r.children[0].getElementsByTagName("img")||[];if(n.length>0){var a=n[0];a.complete||a.addEventListener("load",(function e(){t.forceUpdate(),a.removeEventListener("load",e)}))}var o=(n[0]||r.children[0]).clientHeight;return o>0?o:null}return null}));var r={initialized:!1,previousItem:e.selectedItem,selectedItem:e.selectedItem,hasMount:!1,isMouseEntered:!1,autoPlay:e.autoPlay,swiping:!1,swipeMovementStarted:!1,cancelClick:!1,itemSize:1,itemListStyle:{},slideStyle:{},selectedStyle:{},prevStyle:{}};return t.animationHandler="function"==typeof e.animationHandler&&e.animationHandler||"fade"===e.animationHandler&&d.fadeAnimationHandler||d.slideAnimationHandler,t.state=g(g({},r),t.animationHandler(e,r)),t}return t=E,(r=[{key:"componentDidMount",value:function(){this.props.children&&this.setupCarousel()}},{key:"componentDidUpdate",value:function(e,t){e.children||!this.props.children||this.state.initialized||this.setupCarousel(),!e.autoFocus&&this.props.autoFocus&&this.forceFocus(),t.swiping&&!this.state.swiping&&this.setState(g({},this.props.stopSwipingHandler(this.props,this.state))),e.selectedItem===this.props.selectedItem&&e.centerMode===this.props.centerMode||(this.updateSizes(),this.moveTo(this.props.selectedItem)),e.autoPlay!==this.props.autoPlay&&(this.props.autoPlay?this.setupAutoPlay():this.destroyAutoPlay(),this.setState({autoPlay:this.props.autoPlay}))}},{key:"componentWillUnmount",value:function(){this.destroyCarousel()}},{key:"setupCarousel",value:function(){var e=this;this.bindEvents(),this.state.autoPlay&&n.Children.count(this.props.children)>1&&this.setupAutoPlay(),this.props.autoFocus&&this.forceFocus(),this.setState({initialized:!0},(function(){var t=e.getInitialImage();t&&!t.complete?t.addEventListener("load",e.setMountState):e.setMountState()}))}},{key:"destroyCarousel",value:function(){this.state.initialized&&(this.unbindEvents(),this.destroyAutoPlay())}},{key:"setupAutoPlay",value:function(){this.autoPlay();var e=this.carouselWrapperRef;this.props.stopOnHover&&e&&(e.addEventListener("mouseenter",this.stopOnHover),e.addEventListener("mouseleave",this.startOnLeave))}},{key:"destroyAutoPlay",value:function(){this.clearAutoPlay();var e=this.carouselWrapperRef;this.props.stopOnHover&&e&&(e.removeEventListener("mouseenter",this.stopOnHover),e.removeEventListener("mouseleave",this.startOnLeave))}},{key:"bindEvents",value:function(){(0,l.default)().addEventListener("resize",this.updateSizes),(0,l.default)().addEventListener("DOMContentLoaded",this.updateSizes),this.props.useKeyboardArrows&&(0,i.default)().addEventListener("keydown",this.navigateWithKeyboard)}},{key:"unbindEvents",value:function(){(0,l.default)().removeEventListener("resize",this.updateSizes),(0,l.default)().removeEventListener("DOMContentLoaded",this.updateSizes);var e=this.getInitialImage();e&&e.removeEventListener("load",this.setMountState),this.props.useKeyboardArrows&&(0,i.default)().removeEventListener("keydown",this.navigateWithKeyboard)}},{key:"forceFocus",value:function(){var e;null===(e=this.carouselWrapperRef)||void 0===e||e.focus()}},{key:"renderItems",value:function(e){var t=this;return this.props.children?n.Children.map(this.props.children,(function(r,a){var s=a===t.state.selectedItem,i=a===t.state.previousItem,l=s&&t.state.selectedStyle||i&&t.state.prevStyle||t.state.slideStyle||{};t.props.centerMode&&"horizontal"===t.props.axis&&(l=g(g({},l),{},{minWidth:t.props.centerSlidePercentage+"%"})),t.state.swiping&&t.state.swipeMovementStarted&&(l=g(g({},l),{},{pointerEvents:"none"}));var c={ref:function(e){return t.setItemsRef(e,a)},key:"itemKey"+a+(e?"clone":""),className:o.default.ITEM(!0,a===t.state.selectedItem,a===t.state.previousItem),onClick:t.handleClickItem.bind(t,a,r),style:l};return n.default.createElement("li",c,t.props.renderItem(r,{isSelected:a===t.state.selectedItem,isPrevious:a===t.state.previousItem}))})):[]}},{key:"renderControls",value:function(){var e=this,t=this.props,r=t.showIndicators,a=t.labels,o=t.renderIndicator,s=t.children;return r?n.default.createElement("ul",{className:"control-dots"},n.Children.map(s,(function(t,r){return o&&o(e.changeItem(r),r===e.state.selectedItem,r,a.item)}))):null}},{key:"renderStatus",value:function(){return this.props.showStatus?n.default.createElement("p",{className:"carousel-status"},this.props.statusFormatter(this.state.selectedItem+1,n.Children.count(this.props.children))):null}},{key:"renderThumbs",value:function(){return this.props.showThumbs&&this.props.children&&0!==n.Children.count(this.props.children)?n.default.createElement(s.default,{ref:this.setThumbsRef,onSelectItem:this.handleClickThumb,selectedItem:this.state.selectedItem,transitionTime:this.props.transitionTime,thumbWidth:this.props.thumbWidth,labels:this.props.labels,emulateTouch:this.props.emulateTouch},this.props.renderThumbs(this.props.children)):null}},{key:"render",value:function(){var e=this;if(!this.props.children||0===n.Children.count(this.props.children))return null;var t=this.props.swipeable&&n.Children.count(this.props.children)>1,r="horizontal"===this.props.axis,s=this.props.showArrows&&n.Children.count(this.props.children)>1,i=s&&(this.state.selectedItem>0||this.props.infiniteLoop)||!1,l=s&&(this.state.selectedItem{},929:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setPosition=t.getPosition=t.isKeyboardEvent=t.defaultStatusFormatter=t.noop=void 0;var n,a=r(609),o=(n=r(845))&&n.__esModule?n:{default:n};t.noop=function(){},t.defaultStatusFormatter=function(e,t){return"".concat(e," of ").concat(t)},t.isKeyboardEvent=function(e){return!!e&&e.hasOwnProperty("key")},t.getPosition=function(e,t){if(t.infiniteLoop&&++e,0===e)return 0;var r=a.Children.count(t.children);if(t.centerMode&&"horizontal"===t.axis){var n=-e*t.centerSlidePercentage,o=r-1;return e&&(e!==o||t.infiniteLoop)?n+=(100-t.centerSlidePercentage)/2:e===o&&(n+=100-t.centerSlidePercentage),n}return 100*-e},t.setPosition=function(e,t){var r={};return["WebkitTransform","MozTransform","MsTransform","OTransform","transform","msTransform"].forEach((function(n){r[n]=(0,o.default)(e,"%",t)})),r}},292:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=n?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,t&&t.set(e,r),r}(r(609)),a=c(r(775)),o=r(619),s=c(r(845)),i=c(r(410)),l=c(r(69));function c(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function m(){return m=Object.assign||function(e){for(var t=1;t0&&(r=0),o===100*-Math.max(a-t.state.visibleItems,0)/t.state.visibleItems&&r<0&&(r=0);var i=o+100/(t.itemsWrapperRef.clientWidth/r);return t.itemsListRef&&["WebkitTransform","MozTransform","MsTransform","OTransform","transform","msTransform"].forEach((function(e){t.itemsListRef.style[e]=(0,s.default)(i,"%",t.props.axis)})),!0})),b(h(t),"slideRight",(function(e){t.moveTo(t.state.firstItem-("number"==typeof e?e:1))})),b(h(t),"slideLeft",(function(e){t.moveTo(t.state.firstItem+("number"==typeof e?e:1))})),b(h(t),"moveTo",(function(e){e=(e=e<0?0:e)>=t.state.lastPosition?t.state.lastPosition:e,t.setState({firstItem:e})})),t.state={selectedItem:e.selectedItem,swiping:!1,showArrows:!1,firstItem:0,visibleItems:0,lastPosition:0},t}return t=v,(r=[{key:"componentDidMount",value:function(){this.setupThumbs()}},{key:"componentDidUpdate",value:function(e){this.props.selectedItem!==this.state.selectedItem&&this.setState({selectedItem:this.props.selectedItem,firstItem:this.getFirstItem(this.props.selectedItem)}),this.props.children!==e.children&&this.updateSizes()}},{key:"componentWillUnmount",value:function(){this.destroyThumbs()}},{key:"setupThumbs",value:function(){(0,l.default)().addEventListener("resize",this.updateSizes),(0,l.default)().addEventListener("DOMContentLoaded",this.updateSizes),this.updateSizes()}},{key:"destroyThumbs",value:function(){(0,l.default)().removeEventListener("resize",this.updateSizes),(0,l.default)().removeEventListener("DOMContentLoaded",this.updateSizes)}},{key:"getFirstItem",value:function(e){var t=e;return e>=this.state.lastPosition&&(t=this.state.lastPosition),e1,o=this.state.showArrows&&this.state.firstItem>0,l=this.state.showArrows&&this.state.firstItem{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=r(485))&&n.__esModule?n:{default:n},o={ROOT:function(e){return(0,a.default)(function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({"carousel-root":!0},e||"",!!e))},CAROUSEL:function(e){return(0,a.default)({carousel:!0,"carousel-slider":e})},WRAPPER:function(e,t){return(0,a.default)({"thumbs-wrapper":!e,"slider-wrapper":e,"axis-horizontal":"horizontal"===t,"axis-vertical":"horizontal"!==t})},SLIDER:function(e,t){return(0,a.default)({thumbs:!e,slider:e,animated:!t})},ITEM:function(e,t,r){return(0,a.default)({thumb:!e,slide:e,selected:t,previous:r})},ARROW_PREV:function(e){return(0,a.default)({"control-arrow control-prev":!0,"control-disabled":e})},ARROW_NEXT:function(e){return(0,a.default)({"control-arrow control-next":!0,"control-disabled":e})},DOT:function(e){return(0,a.default)({dot:!0,selected:e})}};t.default=o},619:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.outerWidth=void 0,t.outerWidth=function(e){var t=e.offsetWidth,r=getComputedStyle(e);return t+(parseInt(r.marginLeft)+parseInt(r.marginRight))}},428:(e,t,r)=>{"use strict";Object.defineProperty(t,"FN",{enumerable:!0,get:function(){return n.default}});var n=a(r(504));r(994),a(r(292));function a(e){return e&&e.__esModule?e:{default:e}}},960:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(){return document}},69:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(){return window}},465:function(e){e.exports=function(){"use strict";function e(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,r(e,t,"get"))}function t(e,t,n){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,r(e,t,"set"),n),n}function r(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function n(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}const a={},o=e=>new Promise((t=>{if(!e)return t();const r=window.scrollX,n=window.scrollY;a.restoreFocusTimeout=setTimeout((()=>{a.previousActiveElement instanceof HTMLElement?(a.previousActiveElement.focus(),a.previousActiveElement=null):document.body&&document.body.focus(),t()}),100),window.scrollTo(r,n)})),s="swal2-",i=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"].reduce(((e,t)=>(e[t]=s+t,e)),{}),l=["success","warning","info","question","error"].reduce(((e,t)=>(e[t]=s+t,e)),{}),c="SweetAlert2:",d=e=>e.charAt(0).toUpperCase()+e.slice(1),u=e=>{console.warn("".concat(c," ").concat("object"==typeof e?e.join(" "):e))},m=e=>{console.error("".concat(c," ").concat(e))},p=[],f=(e,t)=>{var r;r='"'.concat(e,'" is deprecated and will be removed in the next major release. Please use "').concat(t,'" instead.'),p.includes(r)||(p.push(r),u(r))},h=e=>"function"==typeof e?e():e,g=e=>e&&"function"==typeof e.toPromise,b=e=>g(e)?e.toPromise():Promise.resolve(e),w=e=>e&&Promise.resolve(e)===e,v=()=>document.body.querySelector(".".concat(i.container)),x=e=>{const t=v();return t?t.querySelector(e):null},y=e=>x(".".concat(e)),E=()=>y(i.popup),k=()=>y(i.icon),N=()=>y(i.title),S=()=>y(i["html-container"]),A=()=>y(i.image),D=()=>y(i["progress-steps"]),C=()=>y(i["validation-message"]),I=()=>x(".".concat(i.actions," .").concat(i.confirm)),L=()=>x(".".concat(i.actions," .").concat(i.cancel)),T=()=>x(".".concat(i.actions," .").concat(i.deny)),M=()=>x(".".concat(i.loader)),_=()=>y(i.actions),R=()=>y(i.footer),O=()=>y(i["timer-progress-bar"]),B=()=>y(i.close),P=()=>{const e=E();if(!e)return[];const t=e.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),r=Array.from(t).sort(((e,t)=>{const r=parseInt(e.getAttribute("tabindex")||"0"),n=parseInt(t.getAttribute("tabindex")||"0");return r>n?1:r"-1"!==e.getAttribute("tabindex")));return[...new Set(r.concat(a))].filter((e=>ee(e)))},j=()=>q(document.body,i.shown)&&!q(document.body,i["toast-shown"])&&!q(document.body,i["no-backdrop"]),z=()=>{const e=E();return!!e&&q(e,i.toast)},F=(e,t)=>{if(e.textContent="",t){const r=(new DOMParser).parseFromString(t,"text/html"),n=r.querySelector("head");n&&Array.from(n.childNodes).forEach((t=>{e.appendChild(t)}));const a=r.querySelector("body");a&&Array.from(a.childNodes).forEach((t=>{t instanceof HTMLVideoElement||t instanceof HTMLAudioElement?e.appendChild(t.cloneNode(!0)):e.appendChild(t)}))}},q=(e,t)=>{if(!t)return!1;const r=t.split(/\s+/);for(let t=0;t{if(((e,t)=>{Array.from(e.classList).forEach((r=>{Object.values(i).includes(r)||Object.values(l).includes(r)||Object.values(t.showClass||{}).includes(r)||e.classList.remove(r)}))})(e,t),t.customClass&&t.customClass[r]){if("string"!=typeof t.customClass[r]&&!t.customClass[r].forEach)return void u("Invalid type of customClass.".concat(r,'! Expected string or iterable object, got "').concat(typeof t.customClass[r],'"'));G(e,t.customClass[r])}},U=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(".".concat(i.popup," > .").concat(i[t]));case"checkbox":return e.querySelector(".".concat(i.popup," > .").concat(i.checkbox," input"));case"radio":return e.querySelector(".".concat(i.popup," > .").concat(i.radio," input:checked"))||e.querySelector(".".concat(i.popup," > .").concat(i.radio," input:first-child"));case"range":return e.querySelector(".".concat(i.popup," > .").concat(i.range," input"));default:return e.querySelector(".".concat(i.popup," > .").concat(i.input))}},W=e=>{if(e.focus(),"file"!==e.type){const t=e.value;e.value="",e.value=t}},V=(e,t,r)=>{e&&t&&("string"==typeof t&&(t=t.split(/\s+/).filter(Boolean)),t.forEach((t=>{Array.isArray(e)?e.forEach((e=>{r?e.classList.add(t):e.classList.remove(t)})):r?e.classList.add(t):e.classList.remove(t)})))},G=(e,t)=>{V(e,t,!0)},Z=(e,t)=>{V(e,t,!1)},Y=(e,t)=>{const r=Array.from(e.children);for(let e=0;e{r==="".concat(parseInt(r))&&(r=parseInt(r)),r||0===parseInt(r)?e.style[t]="number"==typeof r?"".concat(r,"px"):r:e.style.removeProperty(t)},Q=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";e&&(e.style.display=t)},X=e=>{e&&(e.style.display="none")},K=(e,t,r,n)=>{const a=e.querySelector(t);a&&(a.style[r]=n)},$=function(e,t){t?Q(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"flex"):X(e)},ee=e=>!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),te=e=>!!(e.scrollHeight>e.clientHeight),re=e=>{const t=window.getComputedStyle(e),r=parseFloat(t.getPropertyValue("animation-duration")||"0"),n=parseFloat(t.getPropertyValue("transition-duration")||"0");return r>0||n>0},ne=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=O();r&&ee(r)&&(t&&(r.style.transition="none",r.style.width="100%"),setTimeout((()=>{r.style.transition="width ".concat(e/1e3,"s linear"),r.style.width="0%"}),10))},ae=()=>"undefined"==typeof window||"undefined"==typeof document,oe='\n
\n \n
    \n
    \n \n

    \n
    \n \n \n
    \n \n \n
    \n \n
    \n \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n').replace(/(^|\n)\s*/g,""),se=()=>{a.currentInstance.resetValidationMessage()},ie=e=>{const t=(()=>{const e=v();return!!e&&(e.remove(),Z([document.documentElement,document.body],[i["no-backdrop"],i["toast-shown"],i["has-column"]]),!0)})();if(ae())return void m("SweetAlert2 requires document to initialize");const r=document.createElement("div");r.className=i.container,t&&G(r,i["no-transition"]),F(r,oe);const n="string"==typeof(a=e.target)?document.querySelector(a):a;var a;n.appendChild(r),(e=>{const t=E();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")})(e),(e=>{"rtl"===window.getComputedStyle(e).direction&&G(v(),i.rtl)})(n),(()=>{const e=E(),t=Y(e,i.input),r=Y(e,i.file),n=e.querySelector(".".concat(i.range," input")),a=e.querySelector(".".concat(i.range," output")),o=Y(e,i.select),s=e.querySelector(".".concat(i.checkbox," input")),l=Y(e,i.textarea);t.oninput=se,r.onchange=se,o.onchange=se,s.onchange=se,l.oninput=se,n.oninput=()=>{se(),a.value=n.value},n.onchange=()=>{se(),a.value=n.value}})()},le=(e,t)=>{e instanceof HTMLElement?t.appendChild(e):"object"==typeof e?ce(e,t):e&&F(t,e)},ce=(e,t)=>{e.jquery?de(t,e):F(t,e.toString())},de=(e,t)=>{if(e.textContent="",0 in t)for(let r=0;r in t;r++)e.appendChild(t[r].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},ue=(()=>{if(ae())return!1;const e=document.createElement("div");return void 0!==e.style.webkitAnimation?"webkitAnimationEnd":void 0!==e.style.animation&&"animationend"})(),me=(e,t)=>{const r=_(),n=M();r&&n&&(t.showConfirmButton||t.showDenyButton||t.showCancelButton?Q(r):X(r),H(r,t,"actions"),function(e,t,r){const n=I(),a=T(),o=L();n&&a&&o&&(pe(n,"confirm",r),pe(a,"deny",r),pe(o,"cancel",r),function(e,t,r,n){n.buttonsStyling?(G([e,t,r],i.styled),n.confirmButtonColor&&(e.style.backgroundColor=n.confirmButtonColor,G(e,i["default-outline"])),n.denyButtonColor&&(t.style.backgroundColor=n.denyButtonColor,G(t,i["default-outline"])),n.cancelButtonColor&&(r.style.backgroundColor=n.cancelButtonColor,G(r,i["default-outline"]))):Z([e,t,r],i.styled)}(n,a,o,r),r.reverseButtons&&(r.toast?(e.insertBefore(o,n),e.insertBefore(a,n)):(e.insertBefore(o,t),e.insertBefore(a,t),e.insertBefore(n,t))))}(r,n,t),F(n,t.loaderHtml||""),H(n,t,"loader"))};function pe(e,t,r){const n=d(t);$(e,r["show".concat(n,"Button")],"inline-block"),F(e,r["".concat(t,"ButtonText")]||""),e.setAttribute("aria-label",r["".concat(t,"ButtonAriaLabel")]||""),e.className=i[t],H(e,r,"".concat(t,"Button"))}const fe=(e,t)=>{const r=v();r&&(function(e,t){"string"==typeof t?e.style.background=t:t||G([document.documentElement,document.body],i["no-backdrop"])}(r,t.backdrop),function(e,t){t&&(t in i?G(e,i[t]):(u('The "position" parameter is not valid, defaulting to "center"'),G(e,i.center)))}(r,t.position),function(e,t){t&&G(e,i["grow-".concat(t)])}(r,t.grow),H(r,t,"container"))};var he={innerParams:new WeakMap,domCache:new WeakMap};const ge=["input","file","range","select","radio","checkbox","textarea"],be=e=>{if(!e.input)return;if(!Ne[e.input])return void m('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));const t=Ee(e.input),r=Ne[e.input](t,e);Q(t),e.inputAutoFocus&&setTimeout((()=>{W(r)}))},we=(e,t)=>{const r=U(E(),e);if(r){(e=>{for(let t=0;t{const t=Ee(e.input);"object"==typeof e.customClass&&G(t,e.customClass.input)},xe=(e,t)=>{e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},ye=(e,t,r)=>{if(r.inputLabel){const n=document.createElement("label"),a=i["input-label"];n.setAttribute("for",e.id),n.className=a,"object"==typeof r.customClass&&G(n,r.customClass.inputLabel),n.innerText=r.inputLabel,t.insertAdjacentElement("beforebegin",n)}},Ee=e=>Y(E(),i[e]||i.input),ke=(e,t)=>{["string","number"].includes(typeof t)?e.value="".concat(t):w(t)||u('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof t,'"'))},Ne={};Ne.text=Ne.email=Ne.password=Ne.number=Ne.tel=Ne.url=(e,t)=>(ke(e,t.inputValue),ye(e,e,t),xe(e,t),e.type=t.input,e),Ne.file=(e,t)=>(ye(e,e,t),xe(e,t),e),Ne.range=(e,t)=>{const r=e.querySelector("input"),n=e.querySelector("output");return ke(r,t.inputValue),r.type=t.input,ke(n,t.inputValue),ye(r,e,t),e},Ne.select=(e,t)=>{if(e.textContent="",t.inputPlaceholder){const r=document.createElement("option");F(r,t.inputPlaceholder),r.value="",r.disabled=!0,r.selected=!0,e.appendChild(r)}return ye(e,e,t),e},Ne.radio=e=>(e.textContent="",e),Ne.checkbox=(e,t)=>{const r=U(E(),"checkbox");r.value="1",r.checked=Boolean(t.inputValue);const n=e.querySelector("span");return F(n,t.inputPlaceholder),r},Ne.textarea=(e,t)=>{ke(e,t.inputValue),xe(e,t),ye(e,e,t);return setTimeout((()=>{if("MutationObserver"in window){const r=parseInt(window.getComputedStyle(E()).width);new MutationObserver((()=>{if(!document.body.contains(e))return;const n=e.offsetWidth+(a=e,parseInt(window.getComputedStyle(a).marginLeft)+parseInt(window.getComputedStyle(a).marginRight));var a;n>r?E().style.width="".concat(n,"px"):J(E(),"width",t.width)})).observe(e,{attributes:!0,attributeFilter:["style"]})}})),e};const Se=(e,t)=>{const r=S();r&&(H(r,t,"htmlContainer"),t.html?(le(t.html,r),Q(r,"block")):t.text?(r.textContent=t.text,Q(r,"block")):X(r),((e,t)=>{const r=E();if(!r)return;const n=he.innerParams.get(e),a=!n||t.input!==n.input;ge.forEach((e=>{const n=Y(r,i[e]);n&&(we(e,t.inputAttributes),n.className=i[e],a&&X(n))})),t.input&&(a&&be(t),ve(t))})(e,t))},Ae=(e,t)=>{for(const[r,n]of Object.entries(l))t.icon!==r&&Z(e,n);G(e,t.icon&&l[t.icon]),Ie(e,t),De(),H(e,t,"icon")},De=()=>{const e=E();if(!e)return;const t=window.getComputedStyle(e).getPropertyValue("background-color"),r=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let e=0;e{if(!t.icon&&!t.iconHtml)return;let r=e.innerHTML,n="";t.iconHtml?n=Le(t.iconHtml):"success"===t.icon?(n='\n
    \n \n
    \n
    \n',r=r.replace(/ style=".*?"/g,"")):"error"===t.icon?n='\n \n \n \n \n':t.icon&&(n=Le({question:"?",warning:"!",info:"i"}[t.icon])),r.trim()!==n.trim()&&F(e,n)},Ie=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const r of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])K(e,r,"backgroundColor",t.iconColor);K(e,".swal2-success-ring","borderColor",t.iconColor)}},Le=e=>'
    ').concat(e,"
    "),Te=(e,t)=>{const r=t.showClass||{};e.className="".concat(i.popup," ").concat(ee(e)?r.popup:""),t.toast?(G([document.documentElement,document.body],i["toast-shown"]),G(e,i.toast)):G(e,i.modal),H(e,t,"popup"),"string"==typeof t.customClass&&G(e,t.customClass),t.icon&&G(e,i["icon-".concat(t.icon)])},Me=e=>{const t=document.createElement("li");return G(t,i["progress-step"]),F(t,e),t},_e=e=>{const t=document.createElement("li");return G(t,i["progress-step-line"]),e.progressStepsDistance&&J(t,"width",e.progressStepsDistance),t},Re=(e,t)=>{((e,t)=>{const r=v(),n=E();if(r&&n){if(t.toast){J(r,"width",t.width),n.style.width="100%";const e=M();e&&n.insertBefore(e,k())}else J(n,"width",t.width);J(n,"padding",t.padding),t.color&&(n.style.color=t.color),t.background&&(n.style.background=t.background),X(C()),Te(n,t)}})(0,t),fe(0,t),((e,t)=>{const r=D();if(!r)return;const{progressSteps:n,currentProgressStep:a}=t;n&&0!==n.length&&void 0!==a?(Q(r),r.textContent="",a>=n.length&&u("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),n.forEach(((e,o)=>{const s=Me(e);if(r.appendChild(s),o===a&&G(s,i["active-progress-step"]),o!==n.length-1){const e=_e(t);r.appendChild(e)}}))):X(r)})(0,t),((e,t)=>{const r=he.innerParams.get(e),n=k();if(n){if(r&&t.icon===r.icon)return Ce(n,t),void Ae(n,t);if(t.icon||t.iconHtml){if(t.icon&&-1===Object.keys(l).indexOf(t.icon))return m('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"')),void X(n);Q(n),Ce(n,t),Ae(n,t),G(n,t.showClass&&t.showClass.icon)}else X(n)}})(e,t),((e,t)=>{const r=A();r&&(t.imageUrl?(Q(r,""),r.setAttribute("src",t.imageUrl),r.setAttribute("alt",t.imageAlt||""),J(r,"width",t.imageWidth),J(r,"height",t.imageHeight),r.className=i.image,H(r,t,"image")):X(r))})(0,t),((e,t)=>{const r=N();r&&($(r,t.title||t.titleText,"block"),t.title&&le(t.title,r),t.titleText&&(r.innerText=t.titleText),H(r,t,"title"))})(0,t),((e,t)=>{const r=B();r&&(F(r,t.closeButtonHtml||""),H(r,t,"closeButton"),$(r,t.showCloseButton),r.setAttribute("aria-label",t.closeButtonAriaLabel||""))})(0,t),Se(e,t),me(0,t),((e,t)=>{const r=R();r&&($(r,t.footer,"block"),t.footer&&le(t.footer,r),H(r,t,"footer"))})(0,t);const r=E();"function"==typeof t.didRender&&r&&t.didRender(r)},Oe=()=>{var e;return null===(e=I())||void 0===e?void 0:e.click()},Be=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Pe=e=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},je=(e,t)=>{var r;const n=P();if(n.length)return(e+=t)===n.length?e=0:-1===e&&(e=n.length-1),void n[e].focus();null===(r=E())||void 0===r||r.focus()},ze=["ArrowRight","ArrowDown"],Fe=["ArrowLeft","ArrowUp"],qe=(e,t,r)=>{e&&(t.isComposing||229===t.keyCode||(e.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?He(t,e):"Tab"===t.key?Ue(t):[...ze,...Fe].includes(t.key)?We(t.key):"Escape"===t.key&&Ve(t,e,r)))},He=(e,t)=>{if(!h(t.allowEnterKey))return;const r=U(E(),t.input);if(e.target&&r&&e.target instanceof HTMLElement&&e.target.outerHTML===r.outerHTML){if(["textarea","file"].includes(t.input))return;Oe(),e.preventDefault()}},Ue=e=>{const t=e.target,r=P();let n=-1;for(let e=0;e{const t=_(),r=I(),n=T(),a=L();if(!(t&&r&&n&&a))return;const o=[r,n,a];if(document.activeElement instanceof HTMLElement&&!o.includes(document.activeElement))return;const s=ze.includes(e)?"nextElementSibling":"previousElementSibling";let i=document.activeElement;if(i){for(let e=0;e{h(t.allowEscapeKey)&&(e.preventDefault(),r(Be.esc))};var Ge={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const Ze=()=>{Array.from(document.body.children).forEach((e=>{e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")||""),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")}))},Ye="undefined"!=typeof window&&!!window.GestureEvent,Je=()=>{const e=v();if(!e)return;let t;e.ontouchstart=e=>{t=Qe(e)},e.ontouchmove=e=>{t&&(e.preventDefault(),e.stopPropagation())}},Qe=e=>{const t=e.target,r=v(),n=S();return!(!r||!n||Xe(e)||Ke(e)||t!==r&&(te(r)||!(t instanceof HTMLElement)||"INPUT"===t.tagName||"TEXTAREA"===t.tagName||te(n)&&n.contains(t)))},Xe=e=>e.touches&&e.touches.length&&"stylus"===e.touches[0].touchType,Ke=e=>e.touches&&e.touches.length>1;let $e=null;const et=e=>{null===$e&&(document.body.scrollHeight>window.innerHeight||"scroll"===e)&&($e=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat($e+(()=>{const e=document.createElement("div");e.className=i["scrollbar-measure"],document.body.appendChild(e);const t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t})(),"px"))};function tt(e,t,r,n){z()?ct(e,n):(o(r).then((()=>ct(e,n))),Pe(a)),Ye?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),j()&&(null!==$e&&(document.body.style.paddingRight="".concat($e,"px"),$e=null),(()=>{if(q(document.body,i.iosfix)){const e=parseInt(document.body.style.top,10);Z(document.body,i.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}})(),Ze()),Z([document.documentElement,document.body],[i.shown,i["height-auto"],i["no-backdrop"],i["toast-shown"]])}function rt(e){e=st(e);const t=Ge.swalPromiseResolve.get(this),r=nt(this);this.isAwaitingPromise?e.isDismissed||(ot(this),t(e)):r&&t(e)}const nt=e=>{const t=E();if(!t)return!1;const r=he.innerParams.get(e);if(!r||q(t,r.hideClass.popup))return!1;Z(t,r.showClass.popup),G(t,r.hideClass.popup);const n=v();return Z(n,r.showClass.backdrop),G(n,r.hideClass.backdrop),it(e,t,r),!0};function at(e){const t=Ge.swalPromiseReject.get(this);ot(this),t&&t(e)}const ot=e=>{e.isAwaitingPromise&&(delete e.isAwaitingPromise,he.innerParams.get(e)||e._destroy())},st=e=>void 0===e?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),it=(e,t,r)=>{const n=v(),a=ue&&re(t);"function"==typeof r.willClose&&r.willClose(t),a?lt(e,t,n,r.returnFocus,r.didClose):tt(e,n,r.returnFocus,r.didClose)},lt=(e,t,r,n,o)=>{ue&&(a.swalCloseEventFinishedCallback=tt.bind(null,e,r,n,o),t.addEventListener(ue,(function(e){e.target===t&&(a.swalCloseEventFinishedCallback(),delete a.swalCloseEventFinishedCallback)})))},ct=(e,t)=>{setTimeout((()=>{"function"==typeof t&&t.bind(e.params)(),e._destroy&&e._destroy()}))},dt=e=>{let t=E();if(t||new qr,t=E(),!t)return;const r=M();z()?X(k()):ut(t,e),Q(r),t.setAttribute("data-loading","true"),t.setAttribute("aria-busy","true"),t.focus()},ut=(e,t)=>{const r=_(),n=M();r&&n&&(!t&&ee(I())&&(t=I()),Q(r),t&&(X(t),n.setAttribute("data-button-to-replace",t.className),r.insertBefore(n,t)),G([e,r],i.loading))},mt=e=>e.checked?1:0,pt=e=>e.checked?e.value:null,ft=e=>e.files&&e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null,ht=(e,t)=>{const r=E();if(!r)return;const n=e=>{"select"===t.input?function(e,t,r){const n=Y(e,i.select);if(!n)return;const a=(e,t,n)=>{const a=document.createElement("option");a.value=n,F(a,t),a.selected=wt(n,r.inputValue),e.appendChild(a)};t.forEach((e=>{const t=e[0],r=e[1];if(Array.isArray(r)){const e=document.createElement("optgroup");e.label=t,e.disabled=!1,n.appendChild(e),r.forEach((t=>a(e,t[1],t[0])))}else a(n,r,t)})),n.focus()}(r,bt(e),t):"radio"===t.input&&function(e,t,r){const n=Y(e,i.radio);if(!n)return;t.forEach((e=>{const t=e[0],a=e[1],o=document.createElement("input"),s=document.createElement("label");o.type="radio",o.name=i.radio,o.value=t,wt(t,r.inputValue)&&(o.checked=!0);const l=document.createElement("span");F(l,a),l.className=i.label,s.appendChild(o),s.appendChild(l),n.appendChild(s)}));const a=n.querySelectorAll("input");a.length&&a[0].focus()}(r,bt(e),t)};g(t.inputOptions)||w(t.inputOptions)?(dt(I()),b(t.inputOptions).then((t=>{e.hideLoading(),n(t)}))):"object"==typeof t.inputOptions?n(t.inputOptions):m("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof t.inputOptions))},gt=(e,t)=>{const r=e.getInput();r&&(X(r),b(t.inputValue).then((n=>{r.value="number"===t.input?"".concat(parseFloat(n)||0):"".concat(n),Q(r),r.focus(),e.hideLoading()})).catch((t=>{m("Error in inputValue promise: ".concat(t)),r.value="",Q(r),r.focus(),e.hideLoading()})))};const bt=e=>{const t=[];return e instanceof Map?e.forEach(((e,r)=>{let n=e;"object"==typeof n&&(n=bt(n)),t.push([r,n])})):Object.keys(e).forEach((r=>{let n=e[r];"object"==typeof n&&(n=bt(n)),t.push([r,n])})),t},wt=(e,t)=>!!t&&t.toString()===e.toString(),vt=(e,t)=>{const r=he.innerParams.get(e);if(!r.input)return void m('The "input" parameter is needed to be set when using returnInputValueOn'.concat(d(t)));const n=e.getInput(),a=((e,t)=>{const r=e.getInput();if(!r)return null;switch(t.input){case"checkbox":return mt(r);case"radio":return pt(r);case"file":return ft(r);default:return t.inputAutoTrim?r.value.trim():r.value}})(e,r);r.inputValidator?xt(e,a,t):n&&!n.checkValidity()?(e.enableButtons(),e.showValidationMessage(r.validationMessage)):"deny"===t?yt(e,a):Nt(e,a)},xt=(e,t,r)=>{const n=he.innerParams.get(e);e.disableInput(),Promise.resolve().then((()=>b(n.inputValidator(t,n.validationMessage)))).then((n=>{e.enableButtons(),e.enableInput(),n?e.showValidationMessage(n):"deny"===r?yt(e,t):Nt(e,t)}))},yt=(e,t)=>{const r=he.innerParams.get(e||void 0);r.showLoaderOnDeny&&dt(T()),r.preDeny?(e.isAwaitingPromise=!0,Promise.resolve().then((()=>b(r.preDeny(t,r.validationMessage)))).then((r=>{!1===r?(e.hideLoading(),ot(e)):e.close({isDenied:!0,value:void 0===r?t:r})})).catch((t=>kt(e||void 0,t)))):e.close({isDenied:!0,value:t})},Et=(e,t)=>{e.close({isConfirmed:!0,value:t})},kt=(e,t)=>{e.rejectPromise(t)},Nt=(e,t)=>{const r=he.innerParams.get(e||void 0);r.showLoaderOnConfirm&&dt(),r.preConfirm?(e.resetValidationMessage(),e.isAwaitingPromise=!0,Promise.resolve().then((()=>b(r.preConfirm(t,r.validationMessage)))).then((r=>{ee(C())||!1===r?(e.hideLoading(),ot(e)):Et(e,void 0===r?t:r)})).catch((t=>kt(e||void 0,t)))):Et(e,t)};function St(){const e=he.innerParams.get(this);if(!e)return;const t=he.domCache.get(this);X(t.loader),z()?e.icon&&Q(k()):At(t),Z([t.popup,t.actions],i.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1}const At=e=>{const t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));t.length?Q(t[0],"inline-block"):!ee(I())&&!ee(T())&&!ee(L())&&X(e.actions)};function Dt(){const e=he.innerParams.get(this),t=he.domCache.get(this);return t?U(t.popup,e.input):null}function Ct(e,t,r){const n=he.domCache.get(e);t.forEach((e=>{n[e].disabled=r}))}function It(e,t){const r=E();if(r&&e)if("radio"===e.type){const e=r.querySelectorAll('[name="'.concat(i.radio,'"]'));for(let r=0;rObject.prototype.hasOwnProperty.call(Bt,e),qt=e=>-1!==Pt.indexOf(e),Ht=e=>jt[e],Ut=e=>{Ft(e)||u('Unknown parameter "'.concat(e,'"'))},Wt=e=>{zt.includes(e)&&u('The parameter "'.concat(e,'" is incompatible with toasts'))},Vt=e=>{const t=Ht(e);t&&f(e,t)};function Gt(e){const t=E(),r=he.innerParams.get(this);if(!t||q(t,r.hideClass.popup))return void u("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const n=Zt(e),a=Object.assign({},r,n);Re(this,a),he.innerParams.set(this,a),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})}const Zt=e=>{const t={};return Object.keys(e).forEach((r=>{qt(r)?t[r]=e[r]:u("Invalid parameter to update: ".concat(r))})),t};function Yt(){const e=he.domCache.get(this),t=he.innerParams.get(this);t?(e.popup&&a.swalCloseEventFinishedCallback&&(a.swalCloseEventFinishedCallback(),delete a.swalCloseEventFinishedCallback),"function"==typeof t.didDestroy&&t.didDestroy(),Jt(this)):Qt(this)}const Jt=e=>{Qt(e),delete e.params,delete a.keydownHandler,delete a.keydownTarget,delete a.currentInstance},Qt=e=>{e.isAwaitingPromise?(Xt(he,e),e.isAwaitingPromise=!0):(Xt(Ge,e),Xt(he,e),delete e.isAwaitingPromise,delete e.disableButtons,delete e.enableButtons,delete e.getInput,delete e.disableInput,delete e.enableInput,delete e.hideLoading,delete e.disableLoading,delete e.showValidationMessage,delete e.resetValidationMessage,delete e.close,delete e.closePopup,delete e.closeModal,delete e.closeToast,delete e.rejectPromise,delete e.update,delete e._destroy)},Xt=(e,t)=>{for(const r in e)e[r].delete(t)};var Kt=Object.freeze({__proto__:null,_destroy:Yt,close:rt,closeModal:rt,closePopup:rt,closeToast:rt,disableButtons:Tt,disableInput:_t,disableLoading:St,enableButtons:Lt,enableInput:Mt,getInput:Dt,handleAwaitingPromise:ot,hideLoading:St,rejectPromise:at,resetValidationMessage:Ot,showValidationMessage:Rt,update:Gt});const $t=(e,t,r)=>{t.popup.onclick=()=>{e&&(er(e)||e.timer||e.input)||r(Be.close)}},er=e=>e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton;let tr=!1;const rr=e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(t){e.container.onmouseup=void 0,t.target===e.container&&(tr=!0)}}},nr=e=>{e.container.onmousedown=()=>{e.popup.onmouseup=function(t){e.popup.onmouseup=void 0,(t.target===e.popup||t.target instanceof HTMLElement&&e.popup.contains(t.target))&&(tr=!0)}}},ar=(e,t,r)=>{t.container.onclick=n=>{tr?tr=!1:n.target===t.container&&h(e.allowOutsideClick)&&r(Be.backdrop)}},or=e=>e instanceof Element||(e=>"object"==typeof e&&e.jquery)(e);const sr=()=>{if(a.timeout)return(()=>{const e=O();if(!e)return;const t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";const r=t/parseInt(window.getComputedStyle(e).width)*100;e.style.width="".concat(r,"%")})(),a.timeout.stop()},ir=()=>{if(a.timeout){const e=a.timeout.start();return ne(e),e}};let lr=!1;const cr={};const dr=e=>{for(let t=e.target;t&&t!==document;t=t.parentNode)for(const e in cr){const r=t.getAttribute(e);if(r)return void cr[e].fire({template:r})}};var ur=Object.freeze({__proto__:null,argsToParams:e=>{const t={};return"object"!=typeof e[0]||or(e[0])?["title","html","icon"].forEach(((r,n)=>{const a=e[n];"string"==typeof a||or(a)?t[r]=a:void 0!==a&&m("Unexpected type of ".concat(r,'! Expected "string" or "Element", got ').concat(typeof a))})):Object.assign(t,e[0]),t},bindClickHandler:function(){cr[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,lr||(document.body.addEventListener("click",dr),lr=!0)},clickCancel:()=>{var e;return null===(e=L())||void 0===e?void 0:e.click()},clickConfirm:Oe,clickDeny:()=>{var e;return null===(e=T())||void 0===e?void 0:e.click()},enableLoading:dt,fire:function(){for(var e=arguments.length,t=new Array(e),r=0;ry(i["icon-content"]),getImage:A,getInputLabel:()=>y(i["input-label"]),getLoader:M,getPopup:E,getProgressSteps:D,getTimerLeft:()=>a.timeout&&a.timeout.getTimerLeft(),getTimerProgressBar:O,getTitle:N,getValidationMessage:C,increaseTimer:e=>{if(a.timeout){const t=a.timeout.increase(e);return ne(t,!0),t}},isDeprecatedParameter:Ht,isLoading:()=>{const e=E();return!!e&&e.hasAttribute("data-loading")},isTimerRunning:()=>!(!a.timeout||!a.timeout.isRunning()),isUpdatableParameter:qt,isValidParameter:Ft,isVisible:()=>ee(E()),mixin:function(e){return class extends(this){_main(t,r){return super._main(t,Object.assign({},e,r))}}},resumeTimer:ir,showLoading:dt,stopTimer:sr,toggleTimer:()=>{const e=a.timeout;return e&&(e.running?sr():ir())}});class mr{constructor(e,t){this.callback=e,this.remaining=t,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(e){const t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const pr=["swal-title","swal-html","swal-footer"],fr=e=>{const t={};return Array.from(e.querySelectorAll("swal-param")).forEach((e=>{Er(e,["name","value"]);const r=e.getAttribute("name"),n=e.getAttribute("value");t[r]="boolean"==typeof Bt[r]?"false"!==n:"object"==typeof Bt[r]?JSON.parse(n):n})),t},hr=e=>{const t={};return Array.from(e.querySelectorAll("swal-function-param")).forEach((e=>{const r=e.getAttribute("name"),n=e.getAttribute("value");t[r]=new Function("return ".concat(n))()})),t},gr=e=>{const t={};return Array.from(e.querySelectorAll("swal-button")).forEach((e=>{Er(e,["type","color","aria-label"]);const r=e.getAttribute("type");t["".concat(r,"ButtonText")]=e.innerHTML,t["show".concat(d(r),"Button")]=!0,e.hasAttribute("color")&&(t["".concat(r,"ButtonColor")]=e.getAttribute("color")),e.hasAttribute("aria-label")&&(t["".concat(r,"ButtonAriaLabel")]=e.getAttribute("aria-label"))})),t},br=e=>{const t={},r=e.querySelector("swal-image");return r&&(Er(r,["src","width","height","alt"]),r.hasAttribute("src")&&(t.imageUrl=r.getAttribute("src")),r.hasAttribute("width")&&(t.imageWidth=r.getAttribute("width")),r.hasAttribute("height")&&(t.imageHeight=r.getAttribute("height")),r.hasAttribute("alt")&&(t.imageAlt=r.getAttribute("alt"))),t},wr=e=>{const t={},r=e.querySelector("swal-icon");return r&&(Er(r,["type","color"]),r.hasAttribute("type")&&(t.icon=r.getAttribute("type")),r.hasAttribute("color")&&(t.iconColor=r.getAttribute("color")),t.iconHtml=r.innerHTML),t},vr=e=>{const t={},r=e.querySelector("swal-input");r&&(Er(r,["type","label","placeholder","value"]),t.input=r.getAttribute("type")||"text",r.hasAttribute("label")&&(t.inputLabel=r.getAttribute("label")),r.hasAttribute("placeholder")&&(t.inputPlaceholder=r.getAttribute("placeholder")),r.hasAttribute("value")&&(t.inputValue=r.getAttribute("value")));const n=Array.from(e.querySelectorAll("swal-input-option"));return n.length&&(t.inputOptions={},n.forEach((e=>{Er(e,["value"]);const r=e.getAttribute("value"),n=e.innerHTML;t.inputOptions[r]=n}))),t},xr=(e,t)=>{const r={};for(const n in t){const a=t[n],o=e.querySelector(a);o&&(Er(o,[]),r[a.replace(/^swal-/,"")]=o.innerHTML.trim())}return r},yr=e=>{const t=pr.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach((e=>{const r=e.tagName.toLowerCase();t.includes(r)||u("Unrecognized element <".concat(r,">"))}))},Er=(e,t)=>{Array.from(e.attributes).forEach((r=>{-1===t.indexOf(r.name)&&u(['Unrecognized attribute "'.concat(r.name,'" on <').concat(e.tagName.toLowerCase(),">."),"".concat(t.length?"Allowed attributes are: ".concat(t.join(", ")):"To set the value, use HTML within the element.")])}))},kr=e=>{const t=v(),r=E();"function"==typeof e.willOpen&&e.willOpen(r);const n=window.getComputedStyle(document.body).overflowY;Dr(t,r,e),setTimeout((()=>{Sr(t,r)}),10),j()&&(Ar(t,e.scrollbarPadding,n),Array.from(document.body.children).forEach((e=>{e===v()||e.contains(v())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")||""),e.setAttribute("aria-hidden","true"))}))),z()||a.previousActiveElement||(a.previousActiveElement=document.activeElement),"function"==typeof e.didOpen&&setTimeout((()=>e.didOpen(r))),Z(t,i["no-transition"])},Nr=e=>{const t=E();if(e.target!==t||!ue)return;const r=v();t.removeEventListener(ue,Nr),r.style.overflowY="auto"},Sr=(e,t)=>{ue&&re(t)?(e.style.overflowY="hidden",t.addEventListener(ue,Nr)):e.style.overflowY="auto"},Ar=(e,t,r)=>{(()=>{if(Ye&&!q(document.body,i.iosfix)){const e=document.body.scrollTop;document.body.style.top="".concat(-1*e,"px"),G(document.body,i.iosfix),Je()}})(),t&&"hidden"!==r&&et(r),setTimeout((()=>{e.scrollTop=0}))},Dr=(e,t,r)=>{G(e,r.showClass.backdrop),t.style.setProperty("opacity","0","important"),Q(t,"grid"),setTimeout((()=>{G(t,r.showClass.popup),t.style.removeProperty("opacity")}),10),G([document.documentElement,document.body],i.shown),r.heightAuto&&r.backdrop&&!r.toast&&G([document.documentElement,document.body],i["height-auto"])};var Cr=(e,t)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),Ir=(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL");function Lr(e){(function(e){e.inputValidator||("email"===e.input&&(e.inputValidator=Cr),"url"===e.input&&(e.inputValidator=Ir))})(e),e.showLoaderOnConfirm&&!e.preConfirm&&u("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),function(e){(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(u('Target parameter is not valid, defaulting to "body"'),e.target="body")}(e),"string"==typeof e.title&&(e.title=e.title.split("\n").join("
    ")),ie(e)}let Tr;var Mr=new WeakMap;class _r{constructor(){if(n(this,Mr,{writable:!0,value:void 0}),"undefined"==typeof window)return;Tr=this;for(var e=arguments.length,r=new Array(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:{};(e=>{!1===e.backdrop&&e.allowOutsideClick&&u('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const t in e)Ut(t),e.toast&&Wt(t),Vt(t)})(Object.assign({},t,e)),a.currentInstance&&(a.currentInstance._destroy(),j()&&Ze()),a.currentInstance=Tr;const r=Or(e,t);Lr(r),Object.freeze(r),a.timeout&&(a.timeout.stop(),delete a.timeout),clearTimeout(a.restoreFocusTimeout);const n=Br(Tr);return Re(Tr,r),he.innerParams.set(Tr,r),Rr(Tr,n,r)}then(t){return e(this,Mr).then(t)}finally(t){return e(this,Mr).finally(t)}}const Rr=(e,t,r)=>new Promise(((n,o)=>{const s=t=>{e.close({isDismissed:!0,dismiss:t})};Ge.swalPromiseResolve.set(e,n),Ge.swalPromiseReject.set(e,o),t.confirmButton.onclick=()=>{(e=>{const t=he.innerParams.get(e);e.disableButtons(),t.input?vt(e,"confirm"):Nt(e,!0)})(e)},t.denyButton.onclick=()=>{(e=>{const t=he.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?vt(e,"deny"):yt(e,!1)})(e)},t.cancelButton.onclick=()=>{((e,t)=>{e.disableButtons(),t(Be.cancel)})(e,s)},t.closeButton.onclick=()=>{s(Be.close)},((e,t,r)=>{e.toast?$t(e,t,r):(rr(t),nr(t),ar(e,t,r))})(r,t,s),((e,t,r)=>{Pe(e),t.toast||(e.keydownHandler=e=>qe(t,e,r),e.keydownTarget=t.keydownListenerCapture?window:E(),e.keydownListenerCapture=t.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)})(a,r,s),((e,t)=>{"select"===t.input||"radio"===t.input?ht(e,t):["text","email","number","tel","textarea"].some((e=>e===t.input))&&(g(t.inputValue)||w(t.inputValue))&&(dt(I()),gt(e,t))})(e,r),kr(r),Pr(a,r,s),jr(t,r),setTimeout((()=>{t.container.scrollTop=0}))})),Or=(e,t)=>{const r=(e=>{const t="string"==typeof e.template?document.querySelector(e.template):e.template;if(!t)return{};const r=t.content;return yr(r),Object.assign(fr(r),hr(r),gr(r),br(r),wr(r),vr(r),xr(r,pr))})(e),n=Object.assign({},Bt,t,r,e);return n.showClass=Object.assign({},Bt.showClass,n.showClass),n.hideClass=Object.assign({},Bt.hideClass,n.hideClass),n},Br=e=>{const t={popup:E(),container:v(),actions:_(),confirmButton:I(),denyButton:T(),cancelButton:L(),loader:M(),closeButton:B(),validationMessage:C(),progressSteps:D()};return he.domCache.set(e,t),t},Pr=(e,t,r)=>{const n=O();X(n),t.timer&&(e.timeout=new mr((()=>{r("timer"),delete e.timeout}),t.timer),t.timerProgressBar&&(Q(n),H(n,t,"timerProgressBar"),setTimeout((()=>{e.timeout&&e.timeout.running&&ne(t.timer)}))))},jr=(e,t)=>{t.toast||(h(t.allowEnterKey)?zr(e,t)||je(-1,1):Fr())},zr=(e,t)=>t.focusDeny&&ee(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&ee(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!ee(e.confirmButton)||(e.confirmButton.focus(),0)),Fr=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};if("undefined"!=typeof window&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|by|xn--p1ai)$/)){const e=new Date,t=localStorage.getItem("swal-initiation");t?(e.getTime()-Date.parse(t))/864e5>3&&setTimeout((()=>{document.body.style.pointerEvents="none";const e=document.createElement("audio");e.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",e.loop=!0,document.body.appendChild(e),setTimeout((()=>{e.play().catch((()=>{}))}),2500)}),500):localStorage.setItem("swal-initiation","".concat(e))}_r.prototype.disableButtons=Tt,_r.prototype.enableButtons=Lt,_r.prototype.getInput=Dt,_r.prototype.disableInput=_t,_r.prototype.enableInput=Mt,_r.prototype.hideLoading=St,_r.prototype.disableLoading=St,_r.prototype.showValidationMessage=Rt,_r.prototype.resetValidationMessage=Ot,_r.prototype.close=rt,_r.prototype.closePopup=rt,_r.prototype.closeModal=rt,_r.prototype.closeToast=rt,_r.prototype.rejectPromise=at,_r.prototype.update=Gt,_r.prototype._destroy=Yt,Object.assign(_r,ur),Object.keys(Kt).forEach((e=>{_r[e]=function(){return Tr&&Tr[e]?Tr[e](...arguments):null}})),_r.DismissReason=Be,_r.version="11.7.31";const qr=_r;return qr.default=qr,qr}(),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var r=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(r),r.styleSheet)r.styleSheet.disabled||(r.styleSheet.cssText=t);else try{r.innerHTML=t}catch(e){r.innerText=t}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:rgba(0,0,0,.4)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-styled):focus{outline:none}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em;text-align:center}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:rgba(0,0,0,.2)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em}div:where(.swal2-container) button:where(.swal2-close){z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:none;background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) .swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:#fff}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-icon).swal2-warning{border-color:#facea8;color:#f8bb86}div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-icon).swal2-info{border-color:#9de0f6;color:#3fc3ee}div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-icon).swal2-question{border-color:#c9dae1;color:#87adbd}div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}')},609:e=>{"use strict";e.exports=window.React},455:e=>{"use strict";e.exports=window.wp.apiFetch},143:e=>{"use strict";e.exports=window.wp.data}},n={};function a(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={id:e,loaded:!1,exports:{}};return r[e].call(o.exports,o,o.exports,a),o.loaded=!0,o.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);a.r(o);var s={};e=e||[null,t({}),t([]),t(t)];for(var i=2&n&&r;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>s[e]=()=>r[e]));return s.default=()=>r,a.d(o,s),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{"use strict";var e=a(609),t=a.t(e,2),r=a.n(e);a(648);const n=({children:t})=>(0,e.createElement)("div",{className:"pro-docs"},t);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function f(e,t,r,n){void 0===n&&(n={});let{window:a=document.defaultView,v5Compat:c=!1}=n,p=a.history,f=s.Pop,h=null,g=b();function b(){return(p.state||{idx:null}).idx}function w(){f=s.Pop;let e=b(),t=null==e?null:e-g;g=e,h&&h({action:f,location:x.location,delta:t})}function v(e){let t="null"!==a.location.origin?a.location.origin:a.location.href,r="string"==typeof e?e:m(e);return l(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==g&&(g=0,p.replaceState(o({},p.state,{idx:g}),""));let x={get action(){return f},get location(){return e(a,p)},listen(e){if(h)throw new Error("A history only accepts one active listener");return a.addEventListener(i,w),h=e,()=>{a.removeEventListener(i,w),h=null}},createHref:e=>t(a,e),createURL:v,encodeLocation(e){let t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){f=s.Push;let n=u(x.location,e,t);r&&r(n,e),g=b()+1;let o=d(n,g),i=x.createHref(n);try{p.pushState(o,"",i)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;a.location.assign(i)}c&&h&&h({action:f,location:x.location,delta:1})},replace:function(e,t){f=s.Replace;let n=u(x.location,e,t);r&&r(n,e),g=b();let a=d(n,g),o=x.createHref(n);p.replaceState(a,"",o),c&&h&&h({action:f,location:x.location,delta:0})},go:e=>p.go(e)};return x}var h;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={}));const g=new Set(["lazy","caseSensitive","path","id","index","children"]);function b(e,t,r,n){return void 0===r&&(r=[]),void 0===n&&(n={}),e.map(((e,a)=>{let s=[...r,a],i="string"==typeof e.id?e.id:s.join("-");if(l(!0!==e.index||!e.children,"Cannot specify children on an index route"),l(!n[i],'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let r=o({},e,t(e),{id:i});return n[i]=r,r}{let r=o({},e,t(e),{id:i,children:void 0});return n[i]=r,e.children&&(r.children=b(e.children,t,s,n)),r}}))}function w(e,t,r){void 0===r&&(r="/");let n=M(("string"==typeof t?p(t):t).pathname||"/",r);if(null==n)return null;let a=v(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let r=e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]));return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let o=null;for(let e=0;null==o&&e{let s={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};s.relativePath.startsWith("/")&&(l(s.relativePath.startsWith(n),'Absolute route path "'+s.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),s.relativePath=s.relativePath.slice(n.length));let i=B([n,s.relativePath]),c=r.concat(s);e.children&&e.children.length>0&&(l(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),v(e.children,t,c,i)),(null!=e.path||e.index)&&t.push({path:i,score:C(i,e.index),routesMeta:c})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of x(e.path))a(e,t,r);else a(e,t)})),t}function x(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,a=r.endsWith("?"),o=r.replace(/\?$/,"");if(0===n.length)return a?[o,""]:[o];let s=x(n.join("/")),i=[];return i.push(...s.map((e=>""===e?o:[o,e].join("/")))),a&&i.push(...s),i.map((t=>e.startsWith("/")&&""===t?"/":t))}const y=/^:\w+$/,E=3,k=2,N=1,S=10,A=-2,D=e=>"*"===e;function C(e,t){let r=e.split("/"),n=r.length;return r.some(D)&&(n+=A),t&&(n+=k),r.filter((e=>!D(e))).reduce(((e,t)=>e+(y.test(t)?E:""===t?N:S)),n)}function I(e,t){let{routesMeta:r}=e,n={},a="/",o=[];for(let e=0;e(n.push(t),"/([^\\/]+)")));return e.endsWith("*")?(n.push("*"),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let o=a[0],s=o.replace(/(.)\/+$/,"$1"),i=a.slice(1);return{params:n.reduce(((e,t,r)=>{if("*"===t){let e=i[r]||"";s=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(r){return c(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+r+")."),e}}(i[r]||"",t),e}),{}),pathname:o,pathnameBase:s,pattern:e}}function T(e){try{return decodeURI(e)}catch(t){return c(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function M(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function _(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function R(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function O(e,t,r,n){let a;void 0===n&&(n=!1),"string"==typeof e?a=p(e):(a=o({},e),l(!a.pathname||!a.pathname.includes("?"),_("?","pathname","search",a)),l(!a.pathname||!a.pathname.includes("#"),_("#","pathname","hash",a)),l(!a.search||!a.search.includes("#"),_("#","search","hash",a)));let s,i=""===e||""===a.pathname,c=i?"/":a.pathname;if(n||null==c)s=r;else{let e=t.length-1;if(c.startsWith("..")){let t=c.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}s=e>=0?t[e]:"/"}let d=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:a=""}="string"==typeof e?p(e):e,o=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:o,search:j(n),hash:z(a)}}(a,s),u=c&&"/"!==c&&c.endsWith("/"),m=(i||"."===c)&&r.endsWith("/");return d.pathname.endsWith("/")||!u&&!m||(d.pathname+="/"),d}const B=e=>e.join("/").replace(/\/\/+/g,"/"),P=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),j=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",z=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;class F{constructor(e,t,r,n){void 0===n&&(n=!1),this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function q(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const H=["post","put","patch","delete"],U=new Set(H),W=["get",...H],V=new Set(W),G=new Set([301,302,303,307,308]),Z=new Set([307,308]),Y={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},J={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Q={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},X=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,K=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)});function $(e,t,r,n,a,o,s){let i,l;if(null!=o&&"path"!==s){i=[];for(let e of t)if(i.push(e),e.route.id===o){l=e;break}}else i=t,l=t[t.length-1];let c=O(a||".",R(i).map((e=>e.pathnameBase)),M(e.pathname,r)||e.pathname,"path"===s);return null==a&&(c.search=e.search,c.hash=e.hash),null!=a&&""!==a&&"."!==a||!l||!l.route.index||Ee(c.search)||(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),n&&"/"!==r&&(c.pathname="/"===c.pathname?r:B([r,c.pathname])),m(c)}function ee(e,t,r,n){if(!n||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(n))return{path:r};if(n.formMethod&&(a=n.formMethod,!V.has(a.toLowerCase())))return{path:r,error:pe(405,{method:n.formMethod})};var a;let o,s,i=()=>({path:r,error:pe(400,{type:"invalid-body"})}),c=n.formMethod||"get",d=e?c.toUpperCase():c.toLowerCase(),u=he(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!ve(d))return i();let e="string"==typeof n.body?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce(((e,t)=>{let[r,n]=t;return""+e+r+"="+n+"\n"}),""):String(n.body);return{path:r,submission:{formMethod:d,formAction:u,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===n.formEncType){if(!ve(d))return i();try{let e="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:d,formAction:u,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return i()}}}if(l("function"==typeof FormData,"FormData is not available in this environment"),n.formData)o=ie(n.formData),s=n.formData;else if(n.body instanceof FormData)o=ie(n.body),s=n.body;else if(n.body instanceof URLSearchParams)o=n.body,s=le(o);else if(null==n.body)o=new URLSearchParams,s=new FormData;else try{o=new URLSearchParams(n.body),s=le(o)}catch(e){return i()}let f={formMethod:d,formAction:u,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(ve(f.formMethod))return{path:r,submission:f};let h=p(r);return t&&h.search&&Ee(h.search)&&o.append("index",""),h.search="?"+o,{path:m(h),submission:f}}function te(e,t,r,n,a,s,i,l,c,d,u,m,p,f){let h=f?Object.values(f)[0]:p?Object.values(p)[0]:void 0,g=e.createURL(t.location),b=e.createURL(a),v=f?Object.keys(f)[0]:void 0,x=function(e,t){let r=e;if(t){let n=e.findIndex((e=>e.route.id===t));n>=0&&(r=e.slice(0,n))}return r}(r,v).filter(((e,r)=>{if(e.route.lazy)return!0;if(null==e.route.loader)return!1;if(function(e,t,r){let n=!t||r.route.id!==t.route.id,a=void 0===e[r.route.id];return n||a}(t.loaderData,t.matches[r],e)||i.some((t=>t===e.route.id)))return!0;let a=t.matches[r],l=e;return ne(e,o({currentUrl:g,currentParams:a.params,nextUrl:b,nextParams:l.params},n,{actionResult:h,defaultShouldRevalidate:s||g.pathname+g.search===b.pathname+b.search||g.search!==b.search||re(a,l)}))})),y=[];return c.forEach(((e,a)=>{if(!r.some((t=>t.route.id===e.routeId)))return;let i=w(u,e.path,m);if(!i)return void y.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let c=t.fetchers.get(a),p=ke(i,e.path),f=!1;f=!d.has(a)&&(!!l.includes(a)||(c&&"idle"!==c.state&&void 0===c.data?s:ne(p,o({currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:h,defaultShouldRevalidate:s})))),f&&y.push({key:a,routeId:e.routeId,path:e.path,matches:i,match:p,controller:new AbortController})})),[x,y]}function re(e,t){let r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function ne(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}async function ae(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];l(a,"No route found in manifest");let s={};for(let e in n){let t=void 0!==a[e]&&"hasErrorBoundary"!==e;c(!t,'Route "'+a.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||g.has(e)||(s[e]=n[e])}Object.assign(a,s),Object.assign(a,o({},t(a),{lazy:void 0}))}async function oe(e,t,r,n,a,o,s,i){let c,d,u;void 0===i&&(i={});let m=e=>{let n,a=new Promise(((e,t)=>n=t));return u=()=>n(),t.signal.addEventListener("abort",u),Promise.race([e({request:t,params:r.params,context:i.requestContext}),a])};try{let n=r.route[e];if(r.route.lazy)if(n){let e,t=await Promise.all([m(n).catch((t=>{e=t})),ae(r.route,o,a)]);if(e)throw e;d=t[0]}else{if(await ae(r.route,o,a),n=r.route[e],!n){if("action"===e){let e=new URL(t.url),n=e.pathname+e.search;throw pe(405,{method:t.method,pathname:n,routeId:r.route.id})}return{type:h.data,data:void 0}}d=await m(n)}else{if(!n){let e=new URL(t.url);throw pe(404,{pathname:e.pathname+e.search})}d=await m(n)}l(void 0!==d,"You defined "+("action"===e?"an action":"a loader")+' for route "'+r.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){c=h.error,d=e}finally{u&&t.signal.removeEventListener("abort",u)}if(null!=(p=d)&&"number"==typeof p.status&&"string"==typeof p.statusText&&"object"==typeof p.headers&&void 0!==p.body){let e,a=d.status;if(G.has(a)){let e=d.headers.get("Location");if(l(e,"Redirects returned/thrown from loaders/actions must have a Location header"),X.test(e)){if(!i.isStaticRequest){let r=new URL(t.url),n=e.startsWith("//")?new URL(r.protocol+e):new URL(e),a=null!=M(n.pathname,s);n.origin===r.origin&&a&&(e=n.pathname+n.search+n.hash)}}else e=$(new URL(t.url),n.slice(0,n.indexOf(r)+1),s,!0,e);if(i.isStaticRequest)throw d.headers.set("Location",e),d;return{type:h.redirect,status:a,location:e,revalidate:null!==d.headers.get("X-Remix-Revalidate"),reloadDocument:null!==d.headers.get("X-Remix-Reload-Document")}}if(i.isRouteRequest)throw{type:c===h.error?h.error:h.data,response:d};let o=d.headers.get("Content-Type");return e=o&&/\bapplication\/json\b/.test(o)?await d.json():await d.text(),c===h.error?{type:c,error:new F(a,d.statusText,e),headers:d.headers}:{type:h.data,data:e,statusCode:d.status,headers:d.headers}}var p,f,g;return c===h.error?{type:c,error:d}:function(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}(d)?{type:h.deferred,deferredData:d,statusCode:null==(f=d.init)?void 0:f.status,headers:(null==(g=d.init)?void 0:g.headers)&&new Headers(d.init.headers)}:{type:h.data,data:d}}function se(e,t,r,n){let a=e.createURL(he(t)).toString(),o={signal:r};if(n&&ve(n.formMethod)){let{formMethod:e,formEncType:t}=n;o.method=e.toUpperCase(),"application/json"===t?(o.headers=new Headers({"Content-Type":t}),o.body=JSON.stringify(n.json)):"text/plain"===t?o.body=n.text:"application/x-www-form-urlencoded"===t&&n.formData?o.body=ie(n.formData):o.body=n.formData}return new Request(a,o)}function ie(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,"string"==typeof n?n:n.name);return t}function le(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function ce(e,t,r,n,a,s,i,c){let{loaderData:d,errors:u}=function(e,t,r,n,a){let o,s={},i=null,c=!1,d={};return r.forEach(((r,u)=>{let m=t[u].route.id;if(l(!we(r),"Cannot handle redirect results in processLoaderData"),be(r)){let t=ue(e,m),a=r.error;n&&(a=Object.values(n)[0],n=void 0),i=i||{},null==i[t.route.id]&&(i[t.route.id]=a),s[m]=void 0,c||(c=!0,o=q(r.error)?r.error.status:500),r.headers&&(d[m]=r.headers)}else ge(r)?(a.set(m,r.deferredData),s[m]=r.deferredData.data):s[m]=r.data,null==r.statusCode||200===r.statusCode||c||(o=r.statusCode),r.headers&&(d[m]=r.headers)})),n&&(i=n,s[Object.keys(n)[0]]=void 0),{loaderData:s,errors:i,statusCode:o||200,loaderHeaders:d}}(t,r,n,a,c);for(let t=0;te.route.id===t))+1):[...e]).reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function me(e){let t=e.find((e=>e.index||!e.path||"/"===e.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function pe(e,t){let{pathname:r,routeId:n,method:a,type:o}=void 0===t?{}:t,s="Unknown Server Error",i="Unknown @remix-run/router error";return 400===e?(s="Bad Request",a&&r&&n?i="You made a "+a+' request to "'+r+'" but did not provide a `loader` for route "'+n+'", so there is no way to handle the request.':"defer-action"===o?i="defer() is not supported in actions":"invalid-body"===o&&(i="Unable to encode submission body")):403===e?(s="Forbidden",i='Route "'+n+'" does not match URL "'+r+'"'):404===e?(s="Not Found",i='No route matches URL "'+r+'"'):405===e&&(s="Method Not Allowed",a&&r&&n?i="You made a "+a.toUpperCase()+' request to "'+r+'" but did not provide an `action` for route "'+n+'", so there is no way to handle the request.':a&&(i='Invalid request method "'+a.toUpperCase()+'"')),new F(e||500,s,new Error(i),!0)}function fe(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(we(r))return{result:r,idx:t}}}function he(e){return m(o({},"string"==typeof e?p(e):e,{hash:""}))}function ge(e){return e.type===h.deferred}function be(e){return e.type===h.error}function we(e){return(e&&e.type)===h.redirect}function ve(e){return U.has(e.toLowerCase())}async function xe(e,t,r,n,a,o){for(let s=0;se.route.id===c.route.id)),u=null!=d&&!re(d,c)&&void 0!==(o&&o[c.route.id]);if(ge(i)&&(a||u)){let e=n[s];l(e,"Expected an AbortSignal for revalidating fetcher deferred result"),await ye(i,e,a).then((e=>{e&&(r[s]=e||r[s])}))}}}async function ye(e,t,r){if(void 0===r&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:h.data,data:e.deferredData.unwrappedData}}catch(e){return{type:h.error,error:e}}return{type:h.data,data:e.deferredData.data}}}function Ee(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function ke(e,t){let r="string"==typeof t?p(t).search:t.search;if(e[e.length-1].route.index&&Ee(r||""))return e[e.length-1];let n=R(e);return n[n.length-1]}function Ne(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:o,json:s}=e;if(t&&r&&n)return null!=a?{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a}:null!=o?{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0}:void 0!==s?{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:s,text:void 0}:void 0}function Se(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Ae(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function De(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t{n.current=!0})),e.useCallback((function(e,a){void 0===a&&(a={}),n.current&&("number"==typeof e?t.navigate(e):t.navigate(e,Ce({fromRouteId:r},a)))}),[t,r])}():function(){Oe()||l(!1);let t=e.useContext(Ie),{basename:r,navigator:n}=e.useContext(Te),{matches:a}=e.useContext(_e),{pathname:o}=Be(),s=JSON.stringify(R(a).map((e=>e.pathnameBase))),i=e.useRef(!1);return Pe((()=>{i.current=!0})),e.useCallback((function(e,a){if(void 0===a&&(a={}),!i.current)return;if("number"==typeof e)return void n.go(e);let l=O(e,JSON.parse(s),o,"path"===a.relative);null==t&&"/"!==r&&(l.pathname="/"===l.pathname?r:B([r,l.pathname])),(a.replace?n.replace:n.push)(l,a.state,a)}),[r,n,s,o,t])}()}function ze(){let{matches:t}=e.useContext(_e),r=t[t.length-1];return r?r.params:{}}function Fe(t,r){let{relative:n}=void 0===r?{}:r,{matches:a}=e.useContext(_e),{pathname:o}=Be(),s=JSON.stringify(R(a).map((e=>e.pathnameBase)));return e.useMemo((()=>O(t,JSON.parse(s),o,"path"===n)),[t,s,o,n])}function qe(t,r,n){Oe()||l(!1);let{navigator:a}=e.useContext(Te),{matches:o}=e.useContext(_e),i=o[o.length-1],c=i?i.params:{},d=(i&&i.pathname,i?i.pathnameBase:"/");i&&i.route;let u,m=Be();if(r){var f;let e="string"==typeof r?p(r):r;"/"===d||(null==(f=e.pathname)?void 0:f.startsWith(d))||l(!1),u=e}else u=m;let h=u.pathname||"/",g=w(t,{pathname:"/"===d?h:h.slice(d.length)||"/"}),b=function(t,r,n){var a;if(void 0===r&&(r=[]),void 0===n&&(n=null),null==t){var o;if(null==(o=n)||!o.errors)return null;t=n.matches}let s=t,i=null==(a=n)?void 0:a.errors;if(null!=i){let e=s.findIndex((e=>e.route.id&&(null==i?void 0:i[e.route.id])));e>=0||l(!1),s=s.slice(0,Math.min(s.length,e+1))}return s.reduceRight(((t,a,o)=>{let l=a.route.id?null==i?void 0:i[a.route.id]:null,c=null;n&&(c=a.route.errorElement||Ue);let d=r.concat(s.slice(0,o+1)),u=()=>{let r;return r=l?c:a.route.Component?e.createElement(a.route.Component,null):a.route.element?a.route.element:t,e.createElement(Ve,{match:a,routeContext:{outlet:t,matches:d,isDataRoute:null!=n},children:r})};return n&&(a.route.ErrorBoundary||a.route.errorElement||0===o)?e.createElement(We,{location:n.location,revalidation:n.revalidation,component:c,error:l,children:u(),routeContext:{outlet:null,matches:d,isDataRoute:!0}}):u()}),null)}(g&&g.map((e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:B([d,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:B([d,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),o,n);return r&&b?e.createElement(Me.Provider,{value:{location:Ce({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:s.Pop}},b):b}function He(){let t=function(){var t;let r=e.useContext(Re),n=function(){let t=e.useContext(Le);return t||l(!1),t}(Ze.UseRouteError),a=Ye(Ze.UseRouteError);return r||(null==(t=n.errors)?void 0:t[a])}(),r=q(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return e.createElement(e.Fragment,null,e.createElement("h2",null,"Unexpected Application Error!"),e.createElement("h3",{style:{fontStyle:"italic"}},r),n?e.createElement("pre",{style:a},n):null,null)}const Ue=e.createElement(He,null);class We extends e.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?e.createElement(_e.Provider,{value:this.props.routeContext},e.createElement(Re.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ve(t){let{routeContext:r,match:n,children:a}=t,o=e.useContext(Ie);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),e.createElement(_e.Provider,{value:r},a)}var Ge=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ge||{}),Ze=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ze||{});function Ye(t){let r=function(){let t=e.useContext(_e);return t||l(!1),t}(),n=r.matches[r.matches.length-1];return n.route.id||l(!1),n.route.id}const Je=e.startTransition;function Qe(t){let{fallbackElement:r,router:n,future:a}=t,[o,s]=e.useState(n.state),{v7_startTransition:i}=a||{},l=e.useCallback((e=>{i&&Je?Je((()=>s(e))):s(e)}),[s,i]);e.useLayoutEffect((()=>n.subscribe(l)),[n,l]);let c=e.useMemo((()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})})),[n]),d=n.basename||"/",u=e.useMemo((()=>({router:n,navigator:c,static:!1,basename:d})),[n,c,d]);return e.createElement(e.Fragment,null,e.createElement(Ie.Provider,{value:u},e.createElement(Le.Provider,{value:o},e.createElement($e,{basename:d,location:o.location,navigationType:o.historyAction,navigator:c},o.initialized?e.createElement(Xe,{routes:n.routes,state:o}):r))),null)}function Xe(e){let{routes:t,state:r}=e;return qe(t,void 0,r)}function Ke(e){l(!1)}function $e(t){let{basename:r="/",children:n=null,location:a,navigationType:o=s.Pop,navigator:i,static:c=!1}=t;Oe()&&l(!1);let d=r.replace(/^\/*/,"/"),u=e.useMemo((()=>({basename:d,navigator:i,static:c})),[d,i,c]);"string"==typeof a&&(a=p(a));let{pathname:m="/",search:f="",hash:h="",state:g=null,key:b="default"}=a,w=e.useMemo((()=>{let e=M(m,d);return null==e?null:{location:{pathname:e,search:f,hash:h,state:g,key:b},navigationType:o}}),[d,m,f,h,g,b,o]);return null==w?null:e.createElement(Te.Provider,{value:u},e.createElement(Me.Provider,{children:n,value:w}))}function et(t,r){void 0===r&&(r=[]);let n=[];return e.Children.forEach(t,((t,a)=>{if(!e.isValidElement(t))return;let o=[...r,a];if(t.type===e.Fragment)return void n.push.apply(n,et(t.props.children,o));t.type!==Ke&&l(!1),t.props.index&&t.props.children&&l(!1);let s={id:t.props.id||o.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:null!=t.props.ErrorBoundary||null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(s.children=et(t.props.children,o)),n.push(s)})),n}function tt(t){let r={hasErrorBoundary:null!=t.ErrorBoundary||null!=t.errorElement};return t.Component&&Object.assign(r,{element:e.createElement(t.Component),Component:void 0}),t.ErrorBoundary&&Object.assign(r,{errorElement:e.createElement(t.ErrorBoundary),ErrorBoundary:void 0}),r}function rt(){return rt=Object.assign?Object.assign.bind():function(e){for(var t=1;t{})),e.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const nt=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function at(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=rt({},t,{errors:ot(t.errors)})),t}function ot(e){if(!e)return null;let t=Object.entries(e),r={};for(let[e,n]of t)if(n&&"RouteErrorResponse"===n.__type)r[e]=new F(n.status,n.statusText,n.data,!0===n.internal);else if(n&&"Error"===n.__type){if(n.__subType){let t=window[n.__subType];if("function"==typeof t)try{let a=new t(n.message);a.stack="",r[e]=a}catch(e){}}if(null==r[e]){let t=new Error(n.message);t.stack="",r[e]=t}}else r[e]=n;return r}e.startTransition;const st="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,it=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,lt=e.forwardRef((function(t,r){let n,{onClick:a,relative:o,reloadDocument:s,replace:i,state:c,target:d,to:u,preventScrollReset:p}=t,f=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(t,nt),{basename:h}=e.useContext(Te),g=!1;if("string"==typeof u&&it.test(u)&&(n=u,st))try{let e=new URL(window.location.href),t=u.startsWith("//")?new URL(e.protocol+u):new URL(u),r=M(t.pathname,h);t.origin===e.origin&&null!=r?u=r+t.search+t.hash:g=!0}catch(e){}let b=function(t,r){let{relative:n}=void 0===r?{}:r;Oe()||l(!1);let{basename:a,navigator:o}=e.useContext(Te),{hash:s,pathname:i,search:c}=Fe(t,{relative:n}),d=i;return"/"!==a&&(d="/"===i?a:B([a,i])),o.createHref({pathname:d,search:c,hash:s})}(u,{relative:o}),w=function(t,r){let{target:n,replace:a,state:o,preventScrollReset:s,relative:i}=void 0===r?{}:r,l=je(),c=Be(),d=Fe(t,{relative:i});return e.useCallback((e=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(e,n)){e.preventDefault();let r=void 0!==a?a:m(c)===m(d);l(t,{replace:r,state:o,preventScrollReset:s,relative:i})}}),[c,l,d,a,o,n,t,s,i])}(u,{replace:i,state:c,target:d,preventScrollReset:p,relative:o});return e.createElement("a",rt({},f,{href:n||b,onClick:g||s?a:function(e){a&&a(e),e.defaultPrevented||w(e)},ref:r,target:d}))}));var ct,dt;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(ct||(ct={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(dt||(dt={}));var ut=a(143),mt=a(902);const pt=function(e,t=60){const r=e?.substr(0,t);return r?.length>=t?`${r}...`:r},ft=window.wp.i18n;var ht=a(67),gt=a.n(ht);const bt=window.wp.element,wt=({doc:t})=>{if(!t)return;const r=(0,ut.useSelect)((e=>e(mt.A).getLoading()),[]);return(0,e.createElement)("div",{className:"docs-heading flex justify-between items-center mb-3.5"},(0,e.createElement)("div",{className:"section-heading flex items-center"},(0,e.createElement)("h1",{className:"flex items-center font-medium text-[#111827] text-xl space-x-3 relative z-0"},r?(0,e.createElement)("div",{className:"flex items-center group space-x-4"},(0,e.createElement)("span",{className:"animate-pulse bg-[#94a3b8] rounded h-4 w-56 border-b hover:bg-gray-50"}),(0,e.createElement)("span",{className:"animate-pulse bg-[#cbd5e1] rounded h-4 w-6 border-b hover:bg-gray-50"}),(0,e.createElement)("span",{className:"animate-pulse bg-[#cbd5e1] rounded h-4 w-6 border-b hover:bg-gray-50"})):(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("a",{target:"_blank",rel:"noreferrer",href:`${weDocsAdminVars.adminUrl}post.php?post=${t?.id}&action=edit`,className:"flex tooltip cursor-pointer items-center group hover:text-black !shadow-none before:max-w-xl z-[90] mr-1","data-tip":gt()?.decode((0,ft.__)(t?.title?.rendered?t?.title?.rendered:"","wedocs"))},(0,e.createElement)("span",{className:"group-hover:underline mr-5",dangerouslySetInnerHTML:{__html:pt(t?.title?.rendered,75)}}),(0,e.createElement)("div",{className:"tooltip cursor-pointer flex items-center","data-tip":(0,ft.__)("Edit","wedocs")},(0,e.createElement)("svg",{width:"18",height:"18",fill:"none",className:"group",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M13.303 1.322a2.4 2.4 0 1 1 3.394 3.394l-.951.951-3.394-3.394.951-.951zm-2.648 2.649L.6 14.025v3.394h3.394L14.049 7.365l-3.394-3.394z",className:"stroke-gray-400 group-hover:stroke-indigo-700",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),(0,e.createElement)("a",{target:"_blank",rel:"noreferrer",className:"group tooltip cursor-pointer",href:t?.link,"data-tip":(0,ft.__)("View on Web","wedocs")},(0,e.createElement)("svg",{className:"stroke-gray-400 group-hover:stroke-indigo-700",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none"},(0,e.createElement)("path",{d:"M7.118 3.5H3.452c-1.013 0-1.833.821-1.833 1.833V14.5c0 1.012.821 1.833 1.833 1.833h9.167c1.012 0 1.833-.821 1.833-1.833v-3.667m-3.667-9.167h5.5m0 0v5.5m0-5.5l-9.167 9.167",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),"draft"===t?.status&&(0,e.createElement)("div",{className:"docs-draft-status font-medium text-sm text-gray-800 leading-5 bg-[#E3E5E7] rounded-[42px] py-0.5 px-2.5 !ml-4"},(0,ft.__)("Draft","wedocs"))))))};function vt(...e){return Array.from(new Set(e.flatMap((e=>"string"==typeof e?e.split(" "):[])))).filter(Boolean).join(" ")}function xt(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,xt),n}var yt,Et=((yt=Et||{})[yt.None=0]="None",yt[yt.RenderStrategy=1]="RenderStrategy",yt[yt.Static=2]="Static",yt),kt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(kt||{});function Nt({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:a,visible:o=!0,name:s}){let i=At(t,e);if(o)return St(i,r,n,s);let l=null!=a?a:0;if(2&l){let{static:e=!1,...t}=i;if(e)return St(t,r,n,s)}if(1&l){let{unmount:e=!0,...t}=i;return xt(e?0:1,{0:()=>null,1:()=>St({...t,hidden:!0,style:{display:"none"}},r,n,s)})}return St(i,r,n,s)}function St(t,r={},n,a){let{as:o=n,children:s,refName:i="ref",...l}=It(t,["unmount","static"]),c=void 0!==t.ref?{[i]:t.ref}:{},d="function"==typeof s?s(r):s;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(r));let u={};if(r){let e=!1,t=[];for(let[n,a]of Object.entries(r))"boolean"==typeof a&&(e=!0),!0===a&&t.push(n);e&&(u["data-headlessui-state"]=t.join(" "))}if(o===e.Fragment&&Object.keys(Ct(l)).length>0){if(!(0,e.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));let t=d.props,r="function"==typeof(null==t?void 0:t.className)?(...e)=>vt(null==t?void 0:t.className(...e),l.className):vt(null==t?void 0:t.className,l.className),n=r?{className:r}:{};return(0,e.cloneElement)(d,Object.assign({},At(d.props,Ct(It(l,["ref"]))),u,c,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}}(d.ref,c.ref),n))}return(0,e.createElement)(o,Object.assign({},It(l,["ref"]),o!==e.Fragment&&c,o!==e.Fragment&&u),d)}function At(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map((e=>[e,void 0]))));for(let e in r)Object.assign(t,{[e](t,...n){let a=r[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...n)}}});return t}function Dt(t){var r;return Object.assign((0,e.forwardRef)(t),{displayName:null!=(r=t.displayName)?r:t.name})}function Ct(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function It(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}let Lt=(0,e.createContext)(null);Lt.displayName="OpenClosedContext";var Tt=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Tt||{});function Mt(){return(0,e.useContext)(Lt)}function _t({value:t,children:r}){return e.createElement(Lt.Provider,{value:t},r)}var Rt=Object.defineProperty,Ot=(e,t,r)=>(((e,t,r)=>{t in e?Rt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let Bt=new class{constructor(){Ot(this,"current",this.detect()),Ot(this,"handoffState","pending"),Ot(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},Pt=(t,r)=>{Bt.isServer?(0,e.useEffect)(t,r):(0,e.useLayoutEffect)(t,r)};function jt(){let t=(0,e.useRef)(!1);return Pt((()=>(t.current=!0,()=>{t.current=!1})),[]),t}function zt(t){let r=(0,e.useRef)(t);return Pt((()=>{r.current=t}),[t]),r}function Ft(){let r=function(){let e="undefined"==typeof document;return"useSyncExternalStore"in t&&t.useSyncExternalStore((()=>()=>{}),(()=>!1),(()=>!e))}(),[n,a]=e.useState(Bt.isHandoffComplete);return n&&!1===Bt.isHandoffComplete&&a(!1),e.useEffect((()=>{!0!==n&&a(!0)}),[n]),e.useEffect((()=>Bt.handoff()),[]),!r&&n}let qt=function(t){let r=zt(t);return e.useCallback(((...e)=>r.current(...e)),[r])},Ht=Symbol();function Ut(...t){let r=(0,e.useRef)(t);(0,e.useEffect)((()=>{r.current=t}),[t]);let n=qt((e=>{for(let t of r.current)null!=t&&("function"==typeof t?t(e):t.current=e)}));return t.every((e=>null==e||(null==e?void 0:e[Ht])))?void 0:n}function Wt(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function Vt(){let e=[],t={addEventListener:(e,r,n,a)=>(e.addEventListener(r,n,a),t.add((()=>e.removeEventListener(r,n,a)))),requestAnimationFrame(...e){let r=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(r)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let r=setTimeout(...e);return t.add((()=>clearTimeout(r)))},microTask(...e){let r={current:!0};return Wt((()=>{r.current&&e[0]()})),t.add((()=>{r.current=!1}))},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add((()=>{Object.assign(e.style,{[t]:n})}))},group(e){let t=Vt();return e(t),this.add((()=>t.dispose()))},add:t=>(e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function Gt(e,...t){e&&t.length>0&&e.classList.add(...t)}function Zt(e,...t){e&&t.length>0&&e.classList.remove(...t)}function Yt(){let[t]=(0,e.useState)(Vt);return(0,e.useEffect)((()=>()=>t.dispose()),[t]),t}function Jt({immediate:e,container:t,direction:r,classes:n,onStart:a,onStop:o}){let s=jt(),i=Yt(),l=zt(r);Pt((()=>{e&&(l.current="enter")}),[e]),Pt((()=>{let e=Vt();i.add(e.dispose);let r=t.current;if(r&&"idle"!==l.current&&s.current)return e.dispose(),a.current(l.current),e.add(function(e,t,r,n){let a=r?"enter":"leave",o=Vt(),s=void 0!==n?function(e){let t={called:!1};return(...r)=>{if(!t.called)return t.called=!0,e(...r)}}(n):()=>{};"enter"===a&&(e.removeAttribute("hidden"),e.style.display="");let i=xt(a,{enter:()=>t.enter,leave:()=>t.leave}),l=xt(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=xt(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return Zt(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Gt(e,...t.base,...i,...c),o.nextFrame((()=>{Zt(e,...t.base,...i,...c),Gt(e,...t.base,...i,...l),function(e,t){let r=Vt();if(!e)return r.dispose;let{transitionDuration:n,transitionDelay:a}=getComputedStyle(e),[o,s]=[n,a].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t})),i=o+s;if(0!==i){r.group((r=>{r.setTimeout((()=>{t(),r.dispose()}),i),r.addEventListener(e,"transitionrun",(e=>{e.target===e.currentTarget&&r.dispose()}))}));let n=r.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),n())}))}else t();r.add((()=>t())),r.dispose}(e,(()=>(Zt(e,...t.base,...i),Gt(e,...t.base,...t.entered),s())))})),o.dispose}(r,n.current,"enter"===l.current,(()=>{e.dispose(),o.current(l.current)}))),e.dispose}),[r])}function Qt(t=0){let[r,n]=(0,e.useState)(t),a=jt(),o=(0,e.useCallback)((e=>{a.current&&n((t=>t|e))}),[r,a]),s=(0,e.useCallback)((e=>Boolean(r&e)),[r]),i=(0,e.useCallback)((e=>{a.current&&n((t=>t&~e))}),[n,a]),l=(0,e.useCallback)((e=>{a.current&&n((t=>t^e))}),[n]);return{flags:r,addFlag:o,hasFlag:s,removeFlag:i,toggleFlag:l}}function Xt(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let Kt=(0,e.createContext)(null);Kt.displayName="TransitionContext";var $t=(e=>(e.Visible="visible",e.Hidden="hidden",e))($t||{});let er=(0,e.createContext)(null);function tr(e){return"children"in e?tr(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function rr(t,r){let n=zt(t),a=(0,e.useRef)([]),o=jt(),s=Yt(),i=qt(((e,t=kt.Hidden)=>{let r=a.current.findIndex((({el:t})=>t===e));-1!==r&&(xt(t,{[kt.Unmount](){a.current.splice(r,1)},[kt.Hidden](){a.current[r].state="hidden"}}),s.microTask((()=>{var e;!tr(a)&&o.current&&(null==(e=n.current)||e.call(n))})))})),l=qt((e=>{let t=a.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>i(e,kt.Unmount)})),c=(0,e.useRef)([]),d=(0,e.useRef)(Promise.resolve()),u=(0,e.useRef)({enter:[],leave:[],idle:[]}),m=qt(((e,t,n)=>{c.current.splice(0),r&&(r.chains.current[t]=r.chains.current[t].filter((([t])=>t!==e))),null==r||r.chains.current[t].push([e,new Promise((e=>{c.current.push(e)}))]),null==r||r.chains.current[t].push([e,new Promise((e=>{Promise.all(u.current[t].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===t?d.current=d.current.then((()=>null==r?void 0:r.wait.current)).then((()=>n(t))):n(t)})),p=qt(((e,t,r)=>{Promise.all(u.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>r(t)))}));return(0,e.useMemo)((()=>({children:a,register:l,unregister:i,onStart:m,onStop:p,wait:d,chains:u})),[l,i,a,m,p,u,d])}function nr(){}er.displayName="NestingContext";let ar=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function or(e){var t;let r={};for(let n of ar)r[n]=null!=(t=e[n])?t:nr;return r}let sr=Et.RenderStrategy,ir=Dt((function(t,r){let{show:n,appear:a=!1,unmount:o=!0,...s}=t,i=(0,e.useRef)(null),l=Ut(i,r);Ft();let c=Mt();if(void 0===n&&null!==c&&(n=(c&Tt.Open)===Tt.Open),![!0,!1].includes(n))throw new Error("A is used but it is missing a `show={true | false}` prop.");let[d,u]=(0,e.useState)(n?"visible":"hidden"),m=rr((()=>{u("hidden")})),[p,f]=(0,e.useState)(!0),h=(0,e.useRef)([n]);Pt((()=>{!1!==p&&h.current[h.current.length-1]!==n&&(h.current.push(n),f(!1))}),[h,n]);let g=(0,e.useMemo)((()=>({show:n,appear:a,initial:p})),[n,a,p]);(0,e.useEffect)((()=>{if(n)u("visible");else if(tr(m)){let e=i.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&u("hidden")}else u("hidden")}),[n,m]);let b={unmount:o},w=qt((()=>{var e;p&&f(!1),null==(e=t.beforeEnter)||e.call(t)})),v=qt((()=>{var e;p&&f(!1),null==(e=t.beforeLeave)||e.call(t)}));return e.createElement(er.Provider,{value:m},e.createElement(Kt.Provider,{value:g},Nt({ourProps:{...b,as:e.Fragment,children:e.createElement(lr,{ref:l,...b,...s,beforeEnter:w,beforeLeave:v})},theirProps:{},defaultTag:e.Fragment,features:sr,visible:"visible"===d,name:"Transition"})))})),lr=Dt((function(t,r){var n,a;let{beforeEnter:o,afterEnter:s,beforeLeave:i,afterLeave:l,enter:c,enterFrom:d,enterTo:u,entered:m,leave:p,leaveFrom:f,leaveTo:h,...g}=t,b=(0,e.useRef)(null),w=Ut(b,r),v=null==(n=g.unmount)||n?kt.Unmount:kt.Hidden,{show:x,appear:y,initial:E}=function(){let t=(0,e.useContext)(Kt);if(null===t)throw new Error("A is used but it is missing a parent or .");return t}(),[k,N]=(0,e.useState)(x?"visible":"hidden"),S=function(){let t=(0,e.useContext)(er);if(null===t)throw new Error("A is used but it is missing a parent or .");return t}(),{register:A,unregister:D}=S;(0,e.useEffect)((()=>A(b)),[A,b]),(0,e.useEffect)((()=>{if(v===kt.Hidden&&b.current)return x&&"visible"!==k?void N("visible"):xt(k,{hidden:()=>D(b),visible:()=>A(b)})}),[k,b,A,D,x,v]);let C=zt({base:Xt(g.className),enter:Xt(c),enterFrom:Xt(d),enterTo:Xt(u),entered:Xt(m),leave:Xt(p),leaveFrom:Xt(f),leaveTo:Xt(h)}),I=function(t){let r=(0,e.useRef)(or(t));return(0,e.useEffect)((()=>{r.current=or(t)}),[t]),r}({beforeEnter:o,afterEnter:s,beforeLeave:i,afterLeave:l}),L=Ft();(0,e.useEffect)((()=>{if(L&&"visible"===k&&null===b.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[b,k,L]);let T=y&&x&&E,M=!L||E&&!y?"idle":x?"enter":"leave",_=Qt(0),R=qt((e=>xt(e,{enter:()=>{_.addFlag(Tt.Opening),I.current.beforeEnter()},leave:()=>{_.addFlag(Tt.Closing),I.current.beforeLeave()},idle:()=>{}}))),O=qt((e=>xt(e,{enter:()=>{_.removeFlag(Tt.Opening),I.current.afterEnter()},leave:()=>{_.removeFlag(Tt.Closing),I.current.afterLeave()},idle:()=>{}}))),B=rr((()=>{N("hidden"),D(b)}),S);Jt({immediate:T,container:b,classes:C,direction:M,onStart:zt((e=>{B.onStart(b,e,R)})),onStop:zt((e=>{B.onStop(b,e,O),"leave"===e&&!tr(B)&&(N("hidden"),D(b))}))});let P=g,j={ref:w};return T?P={...P,className:vt(g.className,...C.current.enter,...C.current.enterFrom)}:(P.className=vt(g.className,null==(a=b.current)?void 0:a.className),""===P.className&&delete P.className),e.createElement(er.Provider,{value:B},e.createElement(_t,{value:xt(k,{visible:Tt.Open,hidden:Tt.Closed})|_.flags},Nt({ourProps:j,theirProps:P,defaultTag:"div",features:sr,visible:"visible"===k,name:"Transition.Child"})))})),cr=Dt((function(t,r){let n=null!==(0,e.useContext)(Kt),a=null!==Mt();return e.createElement(e.Fragment,null,!n&&a?e.createElement(ir,{ref:r,...t}):e.createElement(lr,{ref:r,...t}))})),dr=Object.assign(ir,{Child:cr,Root:ir});var ur,mr=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(mr||{});function pr(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=""===(null==t?void 0:t.getAttribute("disabled"));return(!n||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(r))&&n}let fr=null!=(ur=e.useId)?ur:function(){let t=Ft(),[r,n]=e.useState(t?()=>Bt.nextId():null);return Pt((()=>{null===r&&n(Bt.nextId())}),[r]),null!=r?""+r:void 0};var hr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(hr||{});let gr=Dt((function(e,t){let{features:r=1,...n}=e;return Nt({ourProps:{ref:t,"aria-hidden":!(2&~r)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...!(4&~r)&&!!(2&~r)&&{display:"none"}}},theirProps:n,slot:{},defaultTag:"div",name:"Hidden"})}));function br(e){return Bt.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let wr=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var vr,xr,yr=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(yr||{}),Er=((xr=Er||{})[xr.Error=0]="Error",xr[xr.Overflow=1]="Overflow",xr[xr.Success=2]="Success",xr[xr.Underflow=3]="Underflow",xr),kr=((vr=kr||{})[vr.Previous=-1]="Previous",vr[vr.Next=1]="Next",vr);var Nr=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Nr||{});function Sr(e,t=0){var r;return e!==(null==(r=br(e))?void 0:r.body)&&xt(t,{0:()=>e.matches(wr),1(){let t=e;for(;null!==t;){if(t.matches(wr))return!0;t=t.parentElement}return!1}})}var Ar=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Ar||{});function Dr(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let Cr=["textarea","input"].join(",");function Ir(e,t=e=>e){return e.slice().sort(((e,r)=>{let n=t(e),a=t(r);if(null===n||null===a)return 0;let o=n.compareDocumentPosition(a);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function Lr(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:a=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?r?Ir(e):e:function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(wr)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e);a.length>0&&s.length>1&&(s=s.filter((e=>!a.includes(e)))),n=null!=n?n:o.activeElement;let i,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(n))-1;if(4&t)return Math.max(0,s.indexOf(n))+1;if(8&t)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=32&t?{preventScroll:!0}:{},u=0,m=s.length;do{if(u>=m||u+m<=0)return 0;let e=c+u;if(16&t)e=(e+m)%m;else{if(e<0)return 3;if(e>=m)return 1}i=s[e],null==i||i.focus(d),u+=l}while(i!==o.activeElement);return 6&t&&function(e){var t,r;return null!=(r=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,Cr))&&r}(i)&&i.select(),2}function Tr(t,r,n){let a=zt(r);(0,e.useEffect)((()=>{function e(e){a.current(e)}return window.addEventListener(t,e,n),()=>window.removeEventListener(t,e,n)}),[t,n])}var Mr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Mr||{});function _r(...t){return(0,e.useMemo)((()=>br(...t)),[...t])}function Rr(t,r,n,a){let o=zt(n);(0,e.useEffect)((()=>{function e(e){o.current(e)}return(t=null!=t?t:window).addEventListener(r,e,a),()=>t.removeEventListener(r,e,a)}),[t,r,a])}function Or(t,r){let n=(0,e.useRef)([]),a=qt(t);(0,e.useEffect)((()=>{let e=[...n.current];for(let[t,o]of r.entries())if(n.current[t]!==o){let t=a(r,e);return n.current=r,t}}),[a,...r])}function Br(t){let r=qt(t),n=(0,e.useRef)(!1);(0,e.useEffect)((()=>(n.current=!1,()=>{n.current=!0,Wt((()=>{n.current&&r()}))})),[r])}function Pr(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let r of e.current)r.current instanceof HTMLElement&&t.add(r.current);return t}var jr=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(jr||{});let zr=Dt((function(t,r){let n=(0,e.useRef)(null),a=Ut(n,r),{initialFocus:o,containers:s,features:i=30,...l}=t;Ft()||(i=1);let c=_r(n);!function({ownerDocument:t},r){let n=function(t=!0){let r=(0,e.useRef)(qr.slice());return Or((([e],[t])=>{!0===t&&!1===e&&Wt((()=>{r.current.splice(0)})),!1===t&&!0===e&&(r.current=qr.slice())}),[t,qr,r]),qt((()=>{var e;return null!=(e=r.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(r);Or((()=>{r||(null==t?void 0:t.activeElement)===(null==t?void 0:t.body)&&Dr(n())}),[r]),Br((()=>{r&&Dr(n())}))}({ownerDocument:c},Boolean(16&i));let d=function({ownerDocument:t,container:r,initialFocus:n},a){let o=(0,e.useRef)(null),s=jt();return Or((()=>{if(!a)return;let e=r.current;e&&Wt((()=>{if(!s.current)return;let r=null==t?void 0:t.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===r)return void(o.current=r)}else if(e.contains(r))return void(o.current=r);null!=n&&n.current?Dr(n.current):Lr(e,yr.First)===Er.Error&&console.warn("There are no focusable elements inside the "),o.current=null==t?void 0:t.activeElement}))}),[a]),o}({ownerDocument:c,container:n,initialFocus:o},Boolean(2&i));!function({ownerDocument:e,container:t,containers:r,previousActiveElement:n},a){let o=jt();Rr(null==e?void 0:e.defaultView,"focus",(e=>{if(!a||!o.current)return;let s=Pr(r);t.current instanceof HTMLElement&&s.add(t.current);let i=n.current;if(!i)return;let l=e.target;l&&l instanceof HTMLElement?Hr(s,l)?(n.current=l,Dr(l)):(e.preventDefault(),e.stopPropagation(),Dr(i)):Dr(n.current)}),!0)}({ownerDocument:c,container:n,containers:s,previousActiveElement:d},Boolean(8&i));let u=function(){let t=(0,e.useRef)(0);return Tr("keydown",(e=>{"Tab"===e.key&&(t.current=e.shiftKey?1:0)}),!0),t}(),m=qt((e=>{let t=n.current;t&&xt(u.current,{[Mr.Forwards]:()=>{Lr(t,yr.First,{skipElements:[e.relatedTarget]})},[Mr.Backwards]:()=>{Lr(t,yr.Last,{skipElements:[e.relatedTarget]})}})})),p=Yt(),f=(0,e.useRef)(!1),h={ref:a,onKeyDown(e){"Tab"==e.key&&(f.current=!0,p.requestAnimationFrame((()=>{f.current=!1})))},onBlur(e){let t=Pr(s);n.current instanceof HTMLElement&&t.add(n.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(Hr(t,r)||(f.current?Lr(n.current,xt(u.current,{[Mr.Forwards]:()=>yr.Next,[Mr.Backwards]:()=>yr.Previous})|yr.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&Dr(e.target)))}};return e.createElement(e.Fragment,null,Boolean(4&i)&&e.createElement(gr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:hr.Focusable}),Nt({ourProps:h,theirProps:l,defaultTag:"div",name:"FocusTrap"}),Boolean(4&i)&&e.createElement(gr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:hr.Focusable}))})),Fr=Object.assign(zr,{features:jr}),qr=[];function Hr(e,t){for(let r of e)if(r.contains(t))return!0;return!1}!function(){function e(){"loading"!==document.readyState&&((()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&qr[0]!==e.target&&(qr.unshift(e.target),qr=qr.filter((e=>null!=e&&e.isConnected)),qr.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",e))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",e),e())}();const Ur=window.ReactDOM;let Wr=(0,e.createContext)(!1);function Vr(){return(0,e.useContext)(Wr)}function Gr(t){return e.createElement(Wr.Provider,{value:t.force},t.children)}let Zr=e.Fragment,Yr=e.Fragment,Jr=(0,e.createContext)(null),Qr=(0,e.createContext)(null),Xr=Dt((function(t,r){let n=t,a=(0,e.useRef)(null),o=Ut(function(e,t=!0){return Object.assign(e,{[Ht]:t})}((e=>{a.current=e})),r),s=_r(a),i=function(t){let r=Vr(),n=(0,e.useContext)(Jr),a=_r(t),[o,s]=(0,e.useState)((()=>{if(!r&&null!==n||Bt.isServer)return null;let e=null==a?void 0:a.getElementById("headlessui-portal-root");if(e)return e;if(null===a)return null;let t=a.createElement("div");return t.setAttribute("id","headlessui-portal-root"),a.body.appendChild(t)}));return(0,e.useEffect)((()=>{null!==o&&(null!=a&&a.body.contains(o)||null==a||a.body.appendChild(o))}),[o,a]),(0,e.useEffect)((()=>{r||null!==n&&s(n.current)}),[n,s,r]),o}(a),[l]=(0,e.useState)((()=>{var e;return Bt.isServer?null:null!=(e=null==s?void 0:s.createElement("div"))?e:null})),c=(0,e.useContext)(Qr),d=Ft();return Pt((()=>{!i||!l||i.contains(l)||(l.setAttribute("data-headlessui-portal",""),i.appendChild(l))}),[i,l]),Pt((()=>{if(l&&c)return c.register(l)}),[c,l]),Br((()=>{var e;!i||!l||(l instanceof Node&&i.contains(l)&&i.removeChild(l),i.childNodes.length<=0&&(null==(e=i.parentElement)||e.removeChild(i)))})),d&&i&&l?(0,Ur.createPortal)(Nt({ourProps:{ref:o},theirProps:n,defaultTag:Zr,name:"Portal"}),l):null})),Kr=Dt((function(t,r){let{target:n,...a}=t,o={ref:Ut(r)};return e.createElement(Jr.Provider,{value:n},Nt({ourProps:o,theirProps:a,defaultTag:Yr,name:"Popover.Group"}))})),$r=Object.assign(Xr,{Group:Kr}),en=(0,e.createContext)(null);function tn(){let t=(0,e.useContext)(en);if(null===t){let e=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,tn),e}return t}function rn(){let[t,r]=(0,e.useState)([]);return[t.length>0?t.join(" "):void 0,(0,e.useMemo)((()=>function(t){let n=qt((e=>(r((t=>[...t,e])),()=>r((t=>{let r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))))),a=(0,e.useMemo)((()=>({register:n,slot:t.slot,name:t.name,props:t.props})),[n,t.slot,t.name,t.props]);return e.createElement(en.Provider,{value:a},t.children)}),[r])]}let nn=Dt((function(e,t){let r=fr(),{id:n=`headlessui-description-${r}`,...a}=e,o=tn(),s=Ut(t);return Pt((()=>o.register(n)),[n,o.register]),Nt({ourProps:{ref:s,...o.props,id:n},theirProps:a,slot:o.slot||{},defaultTag:"p",name:o.name||"Description"})})),an=Object.assign(nn,{}),on=(0,e.createContext)((()=>{}));on.displayName="StackContext";var sn=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(sn||{});function ln({children:t,onUpdate:r,type:n,element:a,enabled:o}){let s=(0,e.useContext)(on),i=qt(((...e)=>{null==r||r(...e),s(...e)}));return Pt((()=>{let e=void 0===o||!0===o;return e&&i(0,n,a),()=>{e&&i(1,n,a)}}),[i,n,a,o]),e.createElement(on.Provider,{value:i},t)}function cn(t,r,n){let a=zt(r);(0,e.useEffect)((()=>{function e(e){a.current(e)}return document.addEventListener(t,e,n),()=>document.removeEventListener(t,e,n)}),[t,n])}function dn(t,r,n=!0){let a=(0,e.useRef)(!1);function o(e,n){if(!a.current||e.defaultPrevented)return;let o=n(e);if(null===o||!o.getRootNode().contains(o)||!o.isConnected)return;let s=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t);for(let t of s){if(null===t)continue;let r=t instanceof HTMLElement?t:t.current;if(null!=r&&r.contains(o)||e.composed&&e.composedPath().includes(r))return}return!Sr(o,Nr.Loose)&&-1!==o.tabIndex&&e.preventDefault(),r(e,o)}(0,e.useEffect)((()=>{requestAnimationFrame((()=>{a.current=n}))}),[n]);let s=(0,e.useRef)(null);cn("pointerdown",(e=>{var t,r;a.current&&(s.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)}),!0),cn("mousedown",(e=>{var t,r;a.current&&(s.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)}),!0),cn("click",(e=>{s.current&&(o(e,(()=>s.current)),s.current=null)}),!0),cn("touchend",(e=>o(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),Tr("blur",(e=>o(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}const un="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:mn,useEffect:pn,useLayoutEffect:fn,useDebugValue:hn}=t;function gn(e){const t=e.getSnapshot,r=e.value;try{const e=t();return!un(r,e)}catch{return!0}}const bn="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t,r){return t()}:function(e,t,r){const n=t(),[{inst:a},o]=mn({inst:{value:n,getSnapshot:t}});return fn((()=>{a.value=n,a.getSnapshot=t,gn(a)&&o({inst:a})}),[e,n,t]),pn((()=>(gn(a)&&o({inst:a}),e((()=>{gn(a)&&o({inst:a})})))),[e]),hn(n),n},wn="useSyncExternalStore"in t?(e=>e.useSyncExternalStore)(t):bn;function vn(){let e;return{before({doc:t}){var r;let n=t.documentElement;e=(null!=(r=t.defaultView)?r:window).innerWidth-n.clientWidth},after({doc:t,d:r}){let n=t.documentElement,a=n.clientWidth-n.offsetWidth,o=e-a;r.style(n,"paddingRight",`${o}px`)}}}function xn(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function yn(){if(!xn())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:r,meta:n}){function a(e){return n.containers.flatMap((e=>e())).some((t=>t.contains(e)))}r.microTask((()=>{if("auto"!==window.getComputedStyle(t.documentElement).scrollBehavior){let e=Vt();e.style(t.documentElement,"scroll-behavior","auto"),r.add((()=>r.microTask((()=>e.dispose()))))}r.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let n=null;r.addEventListener(t,"click",(e=>{if(e.target instanceof HTMLElement)try{let r=e.target.closest("a");if(!r)return;let{hash:o}=new URL(r.href),s=t.querySelector(o);s&&!a(s)&&(n=s)}catch{}}),!0),r.addEventListener(t,"touchmove",(e=>{e.target instanceof HTMLElement&&!a(e.target)&&e.preventDefault()}),{passive:!1}),r.add((()=>{window.scrollTo(0,window.pageYOffset+e),n&&n.isConnected&&(n.scrollIntoView({block:"nearest"}),n=null)}))}))}}}function En(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let kn=function(e,t){let r=new Map,n=new Set;return{getSnapshot:()=>r,subscribe:e=>(n.add(e),()=>n.delete(e)),dispatch(e,...a){let o=t[e].call(r,...a);o&&(r=o,n.forEach((e=>e())))}}}(0,{PUSH(e,t){var r;let n=null!=(r=this.get(e))?r:{doc:e,count:0,d:Vt(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let n={doc:e,d:t,meta:En(r)},a=[yn(),vn(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];a.forEach((({before:e})=>null==e?void 0:e(n))),a.forEach((({after:e})=>null==e?void 0:e(n)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});kn.subscribe((()=>{let e=kn.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let e="hidden"===t.get(r.doc),n=0!==r.count;(n&&!e||!n&&e)&&kn.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&kn.dispatch("TEARDOWN",r)}}));let Nn=new Map,Sn=new Map;function An(e,t=!0){Pt((()=>{var r;if(!t)return;let n="function"==typeof e?e():e.current;if(!n)return;let a=null!=(r=Sn.get(n))?r:0;return Sn.set(n,a+1),0!==a||(Nn.set(n,{"aria-hidden":n.getAttribute("aria-hidden"),inert:n.inert}),n.setAttribute("aria-hidden","true"),n.inert=!0),function(){var e;if(!n)return;let t=null!=(e=Sn.get(n))?e:1;if(1===t?Sn.delete(n):Sn.set(n,t-1),1!==t)return;let r=Nn.get(n);r&&(null===r["aria-hidden"]?n.removeAttribute("aria-hidden"):n.setAttribute("aria-hidden",r["aria-hidden"]),n.inert=r.inert,Nn.delete(n))}}),[e,t])}var Dn=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Dn||{}),Cn=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Cn||{});let In={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},Ln=(0,e.createContext)(null);function Tn(t){let r=(0,e.useContext)(Ln);if(null===r){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,Tn),e}return r}function Mn(e,t){return xt(t.type,In,e,t)}Ln.displayName="DialogContext";let Rn=Et.RenderStrategy|Et.Static,On=Dt((function(t,r){var n;let a=fr(),{id:o=`headlessui-dialog-${a}`,open:s,onClose:i,initialFocus:l,__demoMode:c=!1,...d}=t,[u,m]=(0,e.useState)(0),p=Mt();void 0===s&&null!==p&&(s=(p&Tt.Open)===Tt.Open);let f=(0,e.useRef)(null),h=Ut(f,r),g=_r(f),b=t.hasOwnProperty("open")||null!==p,w=t.hasOwnProperty("onClose");if(!b&&!w)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!b)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!w)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof s)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${s}`);if("function"!=typeof i)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${i}`);let v=s?0:1,[x,y]=(0,e.useReducer)(Mn,{titleId:null,descriptionId:null,panelRef:(0,e.createRef)()}),E=qt((()=>i(!1))),k=qt((e=>y({type:0,id:e}))),N=!!Ft()&&!c&&0===v,S=u>1,A=null!==(0,e.useContext)(Ln),[D,C]=function(){let t=(0,e.useContext)(Qr),r=(0,e.useRef)([]),n=qt((e=>(r.current.push(e),t&&t.register(e),()=>a(e)))),a=qt((e=>{let n=r.current.indexOf(e);-1!==n&&r.current.splice(n,1),t&&t.unregister(e)})),o=(0,e.useMemo)((()=>({register:n,unregister:a,portals:r})),[n,a,r]);return[r,(0,e.useMemo)((()=>function({children:t}){return e.createElement(Qr.Provider,{value:o},t)}),[o])]}(),{resolveContainers:I,mainTreeNodeRef:L,MainTreeNode:T}=function({defaultContainers:t=[],portals:r,mainTreeNodeRef:n}={}){var a;let o=(0,e.useRef)(null!=(a=null==n?void 0:n.current)?a:null),s=_r(o),i=qt((()=>{var e;let n=[];for(let e of t)null!==e&&(e instanceof HTMLElement?n.push(e):"current"in e&&e.current instanceof HTMLElement&&n.push(e.current));if(null!=r&&r.current)for(let e of r.current)n.push(e);for(let t of null!=(e=null==s?void 0:s.querySelectorAll("html > *, body > *"))?e:[])t!==document.body&&t!==document.head&&t instanceof HTMLElement&&"headlessui-portal-root"!==t.id&&(t.contains(o.current)||n.some((e=>t.contains(e)))||n.push(t));return n}));return{resolveContainers:i,contains:qt((e=>i().some((t=>t.contains(e))))),mainTreeNodeRef:o,MainTreeNode:(0,e.useMemo)((()=>function(){return null!=n?null:e.createElement(gr,{features:hr.Hidden,ref:o})}),[o,n])}}({portals:D,defaultContainers:[null!=(n=x.panelRef.current)?n:f.current]}),M=S?"parent":"leaf",_=null!==p&&(p&Tt.Closing)===Tt.Closing,R=!A&&!_&&N,O=(0,e.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==g?void 0:g.querySelectorAll("body > *"))?e:[]).find((e=>"headlessui-portal-root"!==e.id&&e.contains(L.current)&&e instanceof HTMLElement)))?t:null}),[L]);An(O,R);let B=!!S||N,P=(0,e.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==g?void 0:g.querySelectorAll("[data-headlessui-portal]"))?e:[]).find((e=>e.contains(L.current)&&e instanceof HTMLElement)))?t:null}),[L]);An(P,B),dn(I,E,!(!N||S));let j=!(S||0!==v);Rr(null==g?void 0:g.defaultView,"keydown",(e=>{j&&(e.defaultPrevented||e.key===mr.Escape&&(e.preventDefault(),e.stopPropagation(),E()))})),function(e,t,r=()=>[document.body]){!function(e,t,r){let n=function(e){return wn(e.subscribe,e.getSnapshot,e.getSnapshot)}(kn),a=e?n.get(e):void 0,o=!!a&&a.count>0;Pt((()=>{if(e&&t)return kn.dispatch("PUSH",e,r),()=>kn.dispatch("POP",e,r)}),[t,e])}(e,t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],r]}}))}(g,!(_||0!==v||A),I),(0,e.useEffect)((()=>{if(0!==v||!f.current)return;let e=new ResizeObserver((e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&E()}}));return e.observe(f.current),()=>e.disconnect()}),[v,f,E]);let[z,F]=rn(),q=(0,e.useMemo)((()=>[{dialogState:v,close:E,setTitleId:k},x]),[v,x,E,k]),H=(0,e.useMemo)((()=>({open:0===v})),[v]),U={ref:h,id:o,role:"dialog","aria-modal":0===v||void 0,"aria-labelledby":x.titleId,"aria-describedby":z};return e.createElement(ln,{type:"Dialog",enabled:0===v,element:f,onUpdate:qt(((e,t)=>{"Dialog"===t&&xt(e,{[sn.Add]:()=>m((e=>e+1)),[sn.Remove]:()=>m((e=>e-1))})}))},e.createElement(Gr,{force:!0},e.createElement($r,null,e.createElement(Ln.Provider,{value:q},e.createElement($r.Group,{target:f},e.createElement(Gr,{force:!1},e.createElement(F,{slot:H,name:"Dialog.Description"},e.createElement(Fr,{initialFocus:l,containers:I,features:N?xt(M,{parent:Fr.features.RestoreFocus,leaf:Fr.features.All&~Fr.features.FocusLock}):Fr.features.None},e.createElement(C,null,Nt({ourProps:U,theirProps:d,slot:H,defaultTag:"div",features:Rn,visible:0===v,name:"Dialog"}))))))))),e.createElement(T,null))})),Bn=Dt((function(t,r){let n=fr(),{id:a=`headlessui-dialog-backdrop-${n}`,...o}=t,[{dialogState:s},i]=Tn("Dialog.Backdrop"),l=Ut(r);(0,e.useEffect)((()=>{if(null===i.panelRef.current)throw new Error("A component is being used, but a component is missing.")}),[i.panelRef]);let c=(0,e.useMemo)((()=>({open:0===s})),[s]);return e.createElement(Gr,{force:!0},e.createElement($r,null,Nt({ourProps:{ref:l,id:a,"aria-hidden":!0},theirProps:o,slot:c,defaultTag:"div",name:"Dialog.Backdrop"})))})),Pn=Dt((function(t,r){let n=fr(),{id:a=`headlessui-dialog-panel-${n}`,...o}=t,[{dialogState:s},i]=Tn("Dialog.Panel"),l=Ut(r,i.panelRef),c=(0,e.useMemo)((()=>({open:0===s})),[s]);return Nt({ourProps:{ref:l,id:a,onClick:qt((e=>{e.stopPropagation()}))},theirProps:o,slot:c,defaultTag:"div",name:"Dialog.Panel"})})),jn=Dt((function(t,r){let n=fr(),{id:a=`headlessui-dialog-overlay-${n}`,...o}=t,[{dialogState:s,close:i}]=Tn("Dialog.Overlay");return Nt({ourProps:{ref:Ut(r),id:a,"aria-hidden":!0,onClick:qt((e=>{if(e.target===e.currentTarget){if(pr(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),i()}}))},theirProps:o,slot:(0,e.useMemo)((()=>({open:0===s})),[s]),defaultTag:"div",name:"Dialog.Overlay"})})),zn=Dt((function(t,r){let n=fr(),{id:a=`headlessui-dialog-title-${n}`,...o}=t,[{dialogState:s,setTitleId:i}]=Tn("Dialog.Title"),l=Ut(r);(0,e.useEffect)((()=>(i(a),()=>i(null))),[a,i]);let c=(0,e.useMemo)((()=>({open:0===s})),[s]);return Nt({ourProps:{ref:l,id:a},theirProps:o,slot:c,defaultTag:"h2",name:"Dialog.Title"})})),Fn=Object.assign(On,{Backdrop:Bn,Panel:Pn,Overlay:jn,Title:zn,Description:an});var qn=a(465),Hn=a.n(qn);const Un=({classes:t,children:r,docId:n,type:a})=>{const[o,s]=(0,bt.useState)(!1),[i,l]=(0,bt.useState)(!1);return(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("button",{onClick:()=>{s(!0)},className:t},r),(0,e.createElement)(dr,{appear:!0,show:o,as:bt.Fragment},(0,e.createElement)(Fn,{as:"div",className:"wedocs-document relative z-[9999]",onClose:()=>s(!1)},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-black bg-opacity-25 z-[50]"})),(0,e.createElement)("div",{className:"fixed inset-0 overflow-y-auto z-[100]"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4"},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},(0,e.createElement)(Fn.Panel,{className:"w-[512px] transform overflow-hidden rounded-2xl bg-white py-6 px-9 align-middle shadow-xl transition-all"},(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"18",fill:"none",className:"text-red-600"},(0,e.createElement)("path",{d:"M10 7v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L11.732 2C10.962.667 9.037.667 8.268 2L1.339 14c-.77 1.333.192 3 1.732 3z",stroke:"#dc2626",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},(0,e.createElement)(Fn.Title,{as:"h3",className:"text-lg font-medium text-gray-900 mb-2"},(0,ft.__)("Are you sure you want to delete this ","wedocs")+a+"?"),(0,e.createElement)("p",{className:"text-gray-500 text-base"},(0,ft.__)("Deleting it means it will be permanently lost, and you won't be able to retrieve it again.","wedocs")),(0,e.createElement)("div",{className:"mt-6 space-x-3.5 text-right"},(0,e.createElement)("button",{className:"bg-white hover:bg-gray-200 text-gray-700 font-medium text-base py-2 px-5 border border-gray-300 rounded-md",onClick:()=>s(!1)},(0,ft.__)("Cancel","wedocs")),(0,e.createElement)("button",{className:"bg-red-600 hover:bg-red-700 text-white font-medium text-base py-2 px-5 rounded-md",onClick:()=>{const e=a.charAt(0).toUpperCase()+a.slice(1);l(!0),(0,ut.dispatch)("wedocs/docs").deleteDoc(n).then((t=>{Hn().fire({title:e+(0,ft.__)(" deleted!","wedocs"),text:e+(0,ft.__)(" has been deleted successfully","wedocs"),icon:"success",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:2e3,customClass:{container:"!z-[9999]"}}),s(!1)})).catch((e=>{Hn().fire({title:(0,ft.__)("Error","wedocs"),text:e.message,icon:"error",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:3e3,customClass:{container:"!z-[9999]"}})})).finally((()=>l(!1)))},disabled:i},i?(0,ft.__)("Removing...","wedocs"):(0,ft.__)("I'm sure","wedocs"))))))))))))},Wn=e.forwardRef((function({title:t,titleId:r,...n},a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":r},n),t?e.createElement("title",{id:r},t):null,e.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))})),Vn=e.forwardRef((function({title:t,titleId:r,...n},a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":r},n),t?e.createElement("title",{id:r},t):null,e.createElement("path",{fillRule:"evenodd",d:"M10 3a.75.75 0 01.55.24l3.25 3.5a.75.75 0 11-1.1 1.02L10 4.852 7.3 7.76a.75.75 0 01-1.1-1.02l3.25-3.5A.75.75 0 0110 3zm-3.76 9.2a.75.75 0 011.06.04l2.7 2.908 2.7-2.908a.75.75 0 111.1 1.02l-3.25 3.5a.75.75 0 01-1.1 0l-3.25-3.5a.75.75 0 01.04-1.06z",clipRule:"evenodd"}))})),Gn=e.forwardRef((function({title:t,titleId:r,...n},a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":r},n),t?e.createElement("title",{id:r},t):null,e.createElement("path",{fillRule:"evenodd",d:"M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z",clipRule:"evenodd"}))}));function Zn(t,r){let[n,a]=(0,e.useState)(t),o=zt(t);return Pt((()=>a(o.current)),[o,a,...r]),n}function Yn(e){var t;if(e.type)return e.type;let r=null!=(t=e.as)?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function Jn(t,r){let[n,a]=(0,e.useState)((()=>Yn(t)));return Pt((()=>{a(Yn(t))}),[t.type,t.as]),Pt((()=>{n||r.current&&r.current instanceof HTMLButtonElement&&!r.current.hasAttribute("type")&&a("button")}),[n,r]),n}function Qn({container:t,accept:r,walk:n,enabled:a=!0}){let o=(0,e.useRef)(r),s=(0,e.useRef)(n);(0,e.useEffect)((()=>{o.current=r,s.current=n}),[r,n]),Pt((()=>{if(!t||!a)return;let e=br(t);if(!e)return;let r=o.current,n=s.current,i=Object.assign((e=>r(e)),{acceptNode:r}),l=e.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,i,!1);for(;l.nextNode();)n(l.currentNode)}),[t,a,o,s])}var Xn=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(Xn||{});function Kn(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),a=null!=n?n:-1,o=(()=>{switch(e.focus){case 0:return r.findIndex((e=>!t.resolveDisabled(e)));case 1:{let e=r.slice().reverse().findIndex(((e,r,n)=>!(-1!==a&&n.length-r-1>=a||t.resolveDisabled(e))));return-1===e?e:r.length-1-e}case 2:return r.findIndex(((e,r)=>!(r<=a||t.resolveDisabled(e))));case 3:{let e=r.slice().reverse().findIndex((e=>!t.resolveDisabled(e)));return-1===e?e:r.length-1-e}case 4:return r.findIndex((r=>t.resolveId(r)===e.id));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===o?n:o}function $n(e={},t=null,r=[]){for(let[n,a]of Object.entries(e))ta(r,ea(t,n),a);return r}function ea(e,t){return e?e+"["+t+"]":t}function ta(e,t,r){if(Array.isArray(r))for(let[n,a]of r.entries())ta(e,ea(t,n.toString()),a);else r instanceof Date?e.push([t,r.toISOString()]):"boolean"==typeof r?e.push([t,r?"1":"0"]):"string"==typeof r?e.push([t,r]):"number"==typeof r?e.push([t,`${r}`]):null==r?e.push([t,""]):$n(r,t,e)}function ra(e){var t,r;let n=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(n){for(let t of n.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(r=n.requestSubmit)||r.call(n)}}function na(t,r,n){let[a,o]=(0,e.useState)(n),s=void 0!==t,i=(0,e.useRef)(s),l=(0,e.useRef)(!1),c=(0,e.useRef)(!1);return!s||i.current||l.current?!s&&i.current&&!c.current&&(c.current=!0,i.current=s,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(l.current=!0,i.current=s,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[s?t:a,qt((e=>(s||o(e),null==r?void 0:r(e))))]}function aa(e){return[e.screenX,e.screenY]}function oa(){let t=(0,e.useRef)([-1,-1]);return{wasMoved(e){let r=aa(e);return(t.current[0]!==r[0]||t.current[1]!==r[1])&&(t.current=r,!0)},update(e){t.current=aa(e)}}}var sa=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(sa||{}),ia=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(ia||{}),la=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(la||{}),ca=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.RegisterOption=3]="RegisterOption",e[e.UnregisterOption=4]="UnregisterOption",e[e.RegisterLabel=5]="RegisterLabel",e))(ca||{});function da(e,t=e=>e){let r=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,n=Ir(t(e.options.slice()),(e=>e.dataRef.current.domRef.current)),a=r?n.indexOf(r):null;return-1===a&&(a=null),{options:n,activeOptionIndex:a}}let ua={1(e){var t;return null!=(t=e.dataRef.current)&&t.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1}},0(e){var t;if(null!=(t=e.dataRef.current)&&t.disabled||0===e.comboboxState)return e;let r=e.activeOptionIndex;if(e.dataRef.current){let{isSelected:t}=e.dataRef.current,n=e.options.findIndex((e=>t(e.dataRef.current.value)));-1!==n&&(r=n)}return{...e,comboboxState:0,activeOptionIndex:r}},2(e,t){var r,n,a,o;if(null!=(r=e.dataRef.current)&&r.disabled||null!=(n=e.dataRef.current)&&n.optionsRef.current&&(null==(a=e.dataRef.current)||!a.optionsPropsRef.current.static)&&1===e.comboboxState)return e;let s=da(e);if(null===s.activeOptionIndex){let e=s.options.findIndex((e=>!e.dataRef.current.disabled));-1!==e&&(s.activeOptionIndex=e)}let i=Kn(t,{resolveItems:()=>s.options,resolveActiveIndex:()=>s.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...s,activeOptionIndex:i,activationTrigger:null!=(o=t.trigger)?o:1}},3:(e,t)=>{var r,n;let a={id:t.id,dataRef:t.dataRef},o=da(e,(e=>[...e,a]));null===e.activeOptionIndex&&null!=(r=e.dataRef.current)&&r.isSelected(t.dataRef.current.value)&&(o.activeOptionIndex=o.options.indexOf(a));let s={...e,...o,activationTrigger:1};return null!=(n=e.dataRef.current)&&n.__demoMode&&void 0===e.dataRef.current.value&&(s.activeOptionIndex=0),s},4:(e,t)=>{let r=da(e,(e=>{let r=e.findIndex((e=>e.id===t.id));return-1!==r&&e.splice(r,1),e}));return{...e,...r,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},ma=(0,e.createContext)(null);function pa(t){let r=(0,e.useContext)(ma);if(null===r){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,pa),e}return r}ma.displayName="ComboboxActionsContext";let fa=(0,e.createContext)(null);function ha(t){let r=(0,e.useContext)(fa);if(null===r){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,ha),e}return r}function ga(e,t){return xt(t.type,ua,e,t)}fa.displayName="ComboboxDataContext";let ba=e.Fragment,wa=Et.RenderStrategy|Et.Static,va=Dt((function(t,r){let{value:n,defaultValue:a,onChange:o,form:s,name:i,by:l=(e,t)=>e===t,disabled:c=!1,__demoMode:d=!1,nullable:u=!1,multiple:m=!1,...p}=t,[f=(m?[]:void 0),h]=na(n,o,a),[g,b]=(0,e.useReducer)(ga,{dataRef:(0,e.createRef)(),comboboxState:d?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),w=(0,e.useRef)(!1),v=(0,e.useRef)({static:!1,hold:!1}),x=(0,e.useRef)(null),y=(0,e.useRef)(null),E=(0,e.useRef)(null),k=(0,e.useRef)(null),N=qt("string"==typeof l?(e,t)=>{let r=l;return(null==e?void 0:e[r])===(null==t?void 0:t[r])}:l),S=(0,e.useCallback)((e=>xt(A.mode,{1:()=>f.some((t=>N(t,e))),0:()=>N(f,e)})),[f]),A=(0,e.useMemo)((()=>({...g,optionsPropsRef:v,labelRef:x,inputRef:y,buttonRef:E,optionsRef:k,value:f,defaultValue:a,disabled:c,mode:m?1:0,get activeOptionIndex(){if(w.current&&null===g.activeOptionIndex&&g.options.length>0){let e=g.options.findIndex((e=>!e.dataRef.current.disabled));if(-1!==e)return e}return g.activeOptionIndex},compare:N,isSelected:S,nullable:u,__demoMode:d})),[f,a,c,m,u,d,g]),D=(0,e.useRef)(null!==A.activeOptionIndex?A.options[A.activeOptionIndex]:null);(0,e.useEffect)((()=>{let e=null!==A.activeOptionIndex?A.options[A.activeOptionIndex]:null;D.current!==e&&(D.current=e)})),Pt((()=>{g.dataRef.current=A}),[A]),dn([A.buttonRef,A.inputRef,A.optionsRef],(()=>P.closeCombobox()),0===A.comboboxState);let C=(0,e.useMemo)((()=>({open:0===A.comboboxState,disabled:c,activeIndex:A.activeOptionIndex,activeOption:null===A.activeOptionIndex?null:A.options[A.activeOptionIndex].dataRef.current.value,value:f})),[A,c,f]),I=qt((e=>{let t=A.options.find((t=>t.id===e));t&&B(t.dataRef.current.value)})),L=qt((()=>{if(null!==A.activeOptionIndex){let{dataRef:e,id:t}=A.options[A.activeOptionIndex];B(e.current.value),P.goToOption(Xn.Specific,t)}})),T=qt((()=>{b({type:0}),w.current=!0})),M=qt((()=>{b({type:1}),w.current=!1})),_=qt(((e,t,r)=>(w.current=!1,e===Xn.Specific?b({type:2,focus:Xn.Specific,id:t,trigger:r}):b({type:2,focus:e,trigger:r})))),R=qt(((e,t)=>(b({type:3,id:e,dataRef:t}),()=>{var t;(null==(t=D.current)?void 0:t.id)===e&&(w.current=!0),b({type:4,id:e})}))),O=qt((e=>(b({type:5,id:e}),()=>b({type:5,id:null})))),B=qt((e=>xt(A.mode,{0:()=>null==h?void 0:h(e),1(){let t=A.value.slice(),r=t.findIndex((t=>N(t,e)));return-1===r?t.push(e):t.splice(r,1),null==h?void 0:h(t)}}))),P=(0,e.useMemo)((()=>({onChange:B,registerOption:R,registerLabel:O,goToOption:_,closeCombobox:M,openCombobox:T,selectActiveOption:L,selectOption:I})),[]),j=null===r?{}:{ref:r},z=(0,e.useRef)(null),F=Yt();return(0,e.useEffect)((()=>{z.current&&void 0!==a&&F.addEventListener(z.current,"reset",(()=>{null==h||h(a)}))}),[z,h]),e.createElement(ma.Provider,{value:P},e.createElement(fa.Provider,{value:A},e.createElement(_t,{value:xt(A.comboboxState,{0:Tt.Open,1:Tt.Closed})},null!=i&&null!=f&&$n({[i]:f}).map((([t,r],n)=>e.createElement(gr,{features:hr.Hidden,ref:0===n?e=>{var t;z.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...Ct({key:t,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:s,name:t,value:r})}))),Nt({ourProps:j,theirProps:p,slot:C,defaultTag:ba,name:"Combobox"}))))})),xa=Dt((function(t,r){var n;let a=ha("Combobox.Button"),o=pa("Combobox.Button"),s=Ut(a.buttonRef,r),i=fr(),{id:l=`headlessui-combobox-button-${i}`,...c}=t,d=Yt(),u=qt((e=>{switch(e.key){case mr.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===a.comboboxState&&o.openCombobox(),d.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case mr.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===a.comboboxState&&(o.openCombobox(),d.nextFrame((()=>{a.value||o.goToOption(Xn.Last)}))),d.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case mr.Escape:return 0!==a.comboboxState?void 0:(e.preventDefault(),a.optionsRef.current&&!a.optionsPropsRef.current.static&&e.stopPropagation(),o.closeCombobox(),d.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})})));default:return}})),m=qt((e=>{if(pr(e.currentTarget))return e.preventDefault();0===a.comboboxState?o.closeCombobox():(e.preventDefault(),o.openCombobox()),d.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})}))})),p=Zn((()=>{if(a.labelId)return[a.labelId,l].join(" ")}),[a.labelId,l]),f=(0,e.useMemo)((()=>({open:0===a.comboboxState,disabled:a.disabled,value:a.value})),[a]);return Nt({ourProps:{ref:s,id:l,type:Jn(t,a.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==(n=a.optionsRef.current)?void 0:n.id,"aria-expanded":0===a.comboboxState,"aria-labelledby":p,disabled:a.disabled,onClick:m,onKeyDown:u},theirProps:c,slot:f,defaultTag:"button",name:"Combobox.Button"})})),ya=Dt((function(t,r){var n,a,o,s;let i=fr(),{id:l=`headlessui-combobox-input-${i}`,onChange:c,displayValue:d,type:u="text",...m}=t,p=ha("Combobox.Input"),f=pa("Combobox.Input"),h=Ut(p.inputRef,r),g=_r(p.inputRef),b=(0,e.useRef)(!1),w=Yt(),v=qt((()=>{f.onChange(null),p.optionsRef.current&&(p.optionsRef.current.scrollTop=0),f.goToOption(Xn.Nothing)}));var x;Or((([e,t],[r,n])=>{if(b.current)return;let a=p.inputRef.current;a&&((0===n&&1===t||e!==r)&&(a.value=e),requestAnimationFrame((()=>{if(b.current||!a||(null==g?void 0:g.activeElement)!==a)return;let{selectionStart:e,selectionEnd:t}=a;0===Math.abs((null!=t?t:0)-(null!=e?e:0))&&0===e&&a.setSelectionRange(a.value.length,a.value.length)})))}),["function"==typeof d&&void 0!==p.value?null!=(x=d(p.value))?x:"":"string"==typeof p.value?p.value:"",p.comboboxState,g]),Or((([e],[t])=>{if(0===e&&1===t){if(b.current)return;let e=p.inputRef.current;if(!e)return;let t=e.value,{selectionStart:r,selectionEnd:n,selectionDirection:a}=e;e.value="",e.value=t,null!==a?e.setSelectionRange(r,n,a):e.setSelectionRange(r,n)}}),[p.comboboxState]);let y=(0,e.useRef)(!1),E=qt((()=>{y.current=!0})),k=qt((()=>{w.nextFrame((()=>{y.current=!1}))})),N=qt((e=>{switch(b.current=!0,e.key){case mr.Enter:if(b.current=!1,0!==p.comboboxState||y.current)return;if(e.preventDefault(),e.stopPropagation(),null===p.activeOptionIndex)return void f.closeCombobox();f.selectActiveOption(),0===p.mode&&f.closeCombobox();break;case mr.ArrowDown:return b.current=!1,e.preventDefault(),e.stopPropagation(),xt(p.comboboxState,{0:()=>{f.goToOption(Xn.Next)},1:()=>{f.openCombobox()}});case mr.ArrowUp:return b.current=!1,e.preventDefault(),e.stopPropagation(),xt(p.comboboxState,{0:()=>{f.goToOption(Xn.Previous)},1:()=>{f.openCombobox(),w.nextFrame((()=>{p.value||f.goToOption(Xn.Last)}))}});case mr.Home:if(e.shiftKey)break;return b.current=!1,e.preventDefault(),e.stopPropagation(),f.goToOption(Xn.First);case mr.PageUp:return b.current=!1,e.preventDefault(),e.stopPropagation(),f.goToOption(Xn.First);case mr.End:if(e.shiftKey)break;return b.current=!1,e.preventDefault(),e.stopPropagation(),f.goToOption(Xn.Last);case mr.PageDown:return b.current=!1,e.preventDefault(),e.stopPropagation(),f.goToOption(Xn.Last);case mr.Escape:return b.current=!1,0!==p.comboboxState?void 0:(e.preventDefault(),p.optionsRef.current&&!p.optionsPropsRef.current.static&&e.stopPropagation(),p.nullable&&0===p.mode&&null===p.value&&v(),f.closeCombobox());case mr.Tab:if(b.current=!1,0!==p.comboboxState)return;0===p.mode&&f.selectActiveOption(),f.closeCombobox()}})),S=qt((e=>{null==c||c(e),p.nullable&&0===p.mode&&""===e.target.value&&v(),f.openCombobox()})),A=qt((()=>{b.current=!1})),D=Zn((()=>{if(p.labelId)return[p.labelId].join(" ")}),[p.labelId]),C=(0,e.useMemo)((()=>({open:0===p.comboboxState,disabled:p.disabled})),[p]);return Nt({ourProps:{ref:h,id:l,role:"combobox",type:u,"aria-controls":null==(n=p.optionsRef.current)?void 0:n.id,"aria-expanded":0===p.comboboxState,"aria-activedescendant":null===p.activeOptionIndex||null==(a=p.options[p.activeOptionIndex])?void 0:a.id,"aria-labelledby":D,"aria-autocomplete":"list",defaultValue:null!=(s=null!=(o=t.defaultValue)?o:void 0!==p.defaultValue?null==d?void 0:d(p.defaultValue):null)?s:p.defaultValue,disabled:p.disabled,onCompositionStart:E,onCompositionEnd:k,onKeyDown:N,onChange:S,onBlur:A},theirProps:m,slot:C,defaultTag:"input",name:"Combobox.Input"})})),Ea=Dt((function(t,r){let n=fr(),{id:a=`headlessui-combobox-label-${n}`,...o}=t,s=ha("Combobox.Label"),i=pa("Combobox.Label"),l=Ut(s.labelRef,r);Pt((()=>i.registerLabel(a)),[a]);let c=qt((()=>{var e;return null==(e=s.inputRef.current)?void 0:e.focus({preventScroll:!0})})),d=(0,e.useMemo)((()=>({open:0===s.comboboxState,disabled:s.disabled})),[s]);return Nt({ourProps:{ref:l,id:a,onClick:c},theirProps:o,slot:d,defaultTag:"label",name:"Combobox.Label"})})),ka=Dt((function(t,r){let n=fr(),{id:a=`headlessui-combobox-options-${n}`,hold:o=!1,...s}=t,i=ha("Combobox.Options"),l=Ut(i.optionsRef,r),c=Mt(),d=null!==c?(c&Tt.Open)===Tt.Open:0===i.comboboxState;Pt((()=>{var e;i.optionsPropsRef.current.static=null!=(e=t.static)&&e}),[i.optionsPropsRef,t.static]),Pt((()=>{i.optionsPropsRef.current.hold=o}),[i.optionsPropsRef,o]),Qn({container:i.optionsRef.current,enabled:0===i.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let u=Zn((()=>{var e,t;return null!=(t=i.labelId)?t:null==(e=i.buttonRef.current)?void 0:e.id}),[i.labelId,i.buttonRef.current]),m=(0,e.useMemo)((()=>({open:0===i.comboboxState})),[i]);return Nt({ourProps:{"aria-labelledby":u,role:"listbox","aria-multiselectable":1===i.mode||void 0,id:a,ref:l},theirProps:s,slot:m,defaultTag:"ul",features:wa,visible:d,name:"Combobox.Options"})})),Na=Dt((function(t,r){var n,a;let o=fr(),{id:s=`headlessui-combobox-option-${o}`,disabled:i=!1,value:l,...c}=t,d=ha("Combobox.Option"),u=pa("Combobox.Option"),m=null!==d.activeOptionIndex&&d.options[d.activeOptionIndex].id===s,p=d.isSelected(l),f=(0,e.useRef)(null),h=zt({disabled:i,value:l,domRef:f,textValue:null==(a=null==(n=f.current)?void 0:n.textContent)?void 0:a.toLowerCase()}),g=Ut(r,f),b=qt((()=>u.selectOption(s)));Pt((()=>u.registerOption(s,h)),[h,s]);let w=(0,e.useRef)(!d.__demoMode);Pt((()=>{if(!d.__demoMode)return;let e=Vt();return e.requestAnimationFrame((()=>{w.current=!0})),e.dispose}),[]),Pt((()=>{if(0!==d.comboboxState||!m||!w.current||0===d.activationTrigger)return;let e=Vt();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=f.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[f,m,d.comboboxState,d.activationTrigger,d.activeOptionIndex]);let v=qt((e=>{if(i)return e.preventDefault();b(),0===d.mode&&u.closeCombobox(),xn()||/Android/gi.test(window.navigator.userAgent)||requestAnimationFrame((()=>{var e;return null==(e=d.inputRef.current)?void 0:e.focus()}))})),x=qt((()=>{if(i)return u.goToOption(Xn.Nothing);u.goToOption(Xn.Specific,s)})),y=oa(),E=qt((e=>y.update(e))),k=qt((e=>{y.wasMoved(e)&&(i||m||u.goToOption(Xn.Specific,s,0))})),N=qt((e=>{y.wasMoved(e)&&(i||m&&(d.optionsPropsRef.current.hold||u.goToOption(Xn.Nothing)))})),S=(0,e.useMemo)((()=>({active:m,selected:p,disabled:i})),[m,p,i]);return Nt({ourProps:{id:s,ref:g,role:"option",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-selected":p,disabled:void 0,onClick:v,onFocus:x,onPointerEnter:E,onMouseEnter:E,onPointerMove:k,onMouseMove:k,onPointerLeave:N,onMouseLeave:N},theirProps:c,slot:S,defaultTag:"li",name:"Combobox.Option"})})),Sa=Object.assign(va,{Input:ya,Button:xa,Label:Ea,Options:ka,Option:Na});const Aa=({type:t,docId:r,sections:n,isFormError:a,defaultSection:o,selectSectionId:s})=>{const{id:i}=ze(),l=(...e)=>e.filter(Boolean).join(" "),c=n.map((e=>({id:e.id,name:e?.title?.rendered}))),[d,u]=(0,bt.useState)({title:{raw:""},parent:parseInt(r||i),status:"publish"}),[m,p]=(0,bt.useState)(o||""),[f,h]=(0,bt.useState)(""),g=""===f?c:c.filter((e=>e?.name.toLowerCase().includes(f.toLowerCase())));return(0,bt.useEffect)((()=>{u({...d,menu_order:n?.length})}),[n]),(0,e.createElement)(Sa,{as:"div",value:m,onChange:p},(0,e.createElement)("div",{className:"relative mb-5"},(0,e.createElement)(Sa.Input,{placeholder:t&&"article"===t?(0,ft.__)("Type an article name","wedocs"):(0,ft.__)("Type a section name","wedocs"),required:!0,className:(a?"!border-red-500 focus:ring-red-500 focus:border-red-500":"!border-gray-300 focus:ring-blue-500 focus:border-blue-500")+" h-11 bg-gray-50 text-gray-900 text-base !rounded-md block w-full !py-2 !px-3 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white",onChange:e=>{h(e.target.value),u({...d,title:{raw:e.target.value}})},displayValue:e=>gt().decode(e)}),a?(0,e.createElement)("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"},(0,e.createElement)(Wn,{className:"h-5 w-5 text-red-500","aria-hidden":"true"})):(0,e.createElement)(Sa.Button,{className:"absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none"},(0,e.createElement)(Vn,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})),(0,e.createElement)(Sa.Options,{className:"absolute z-50 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white text-base text-left shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},g&&g.length>0&&g.map((t=>(0,e.createElement)(Sa.Option,{key:t.id,value:t.name,className:({active:e})=>l("relative cursor-pointer select-none py-2.5 pl-3 pr-9 mb-0",e?"bg-indigo-600 text-white":"text-gray-900"),onClick:()=>{return e=t.id,void s(e);var e}},(({active:r,selected:n})=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:l("block truncate",n&&"font-semibold"),dangerouslySetInnerHTML:{__html:t?.name}}),n&&(0,e.createElement)("span",{className:l("absolute inset-y-0 right-0 flex items-center pr-4",r?"text-white":"text-indigo-600")},(0,e.createElement)(Gn,{className:"h-5 w-5","aria-hidden":"true"}))))))),(0,e.createElement)(Sa.Option,{className:"flex items-center bg-gray-100 relative cursor-pointer text-base text-indigo-600 mb-0 select-none py-2 pl-3 pr-9",value:d?.title?.raw,onClick:()=>{""!==d?.title?.raw&&(0,ut.dispatch)(mt.A).createDoc(d).then((e=>{s(e.id),u({...d,title:{raw:""}})})).catch((e=>{}))}},f?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"dashicons dashicons-plus text-xs mt-1.5"}),f):(0,e.createElement)(e.Fragment,null,t&&"article"===t?(0,ft.__)("Type to write the name of new article","wedocs"):(0,ft.__)("Type to write the name of new section","wedocs"))))))},Da=e.forwardRef((function({title:t,titleId:r,...n},a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":r},n),t?e.createElement("title",{id:r},t):null,e.createElement("path",{fillRule:"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z",clipRule:"evenodd"}))})),Ca=(e=0)=>weDocsAdminVars?.hasManageCap,Ia=e=>{(0,bt.useEffect)((()=>{document.addEventListener("keypress",(t=>{if("Enter"===t?.key&&e?.current)return e?.current?.click()}))}),[])},La=({type:t,docId:r,article:n,children:a,sections:o,className:s,defaultSection:i,setShowArticles:l})=>{const c=(0,bt.useRef)(null),[d,u]=(0,bt.useState)(!1),[m,p]=(0,bt.useState)(i?.id||""),[f,h]=(0,bt.useState)(n),[g,b]=(0,bt.useState)({title:!1,sectionId:!1}),w=(0,ut.useSelect)((e=>e(mt.A).getSectionArticles(parseInt(m))),[]),[v,x]=(0,bt.useState)(""),[y,E]=(0,bt.useState)(!1),k=()=>{u(!1)},N=e=>{h({...f,status:e})};return(0,bt.useEffect)((()=>{h({...f,parent:m}),b({...g,sectionId:!1})}),[m]),(0,bt.useEffect)((()=>{h({...f,menu_order:w?.length})}),[w]),Ia(c),(0,bt.useEffect)((()=>{gt().decode(f?.title?.rendered||"")&&x(gt().decode(f?.title?.rendered||""))}),[f?.title?.rendered]),(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("button",{type:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),u(!0)},className:s},a),(0,e.createElement)(dr,{appear:!0,show:d,as:bt.Fragment},(0,e.createElement)(Fn,{as:"div",className:"wedocs-document relative z-[9999]",onClose:k},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-black bg-opacity-25"})),(0,e.createElement)("div",{className:"fixed inset-0 overflow-y-auto"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center"},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},(0,e.createElement)(Fn.Panel,{className:"w-full max-w-md transform rounded-2xl bg-white py-8 px-9 text-center align-middle shadow-xl transition-all overflow-visible"},(0,e.createElement)(Fn.Title,{as:"h3",className:"text-lg font-bold text-gray-900 mb-2"},(0,ft.__)("Quickly edit important info of the article","wedocs")),(0,e.createElement)("p",{className:"text-gray-500 text-base"},(0,ft.__)("Edit article details easily","wedocs")),(0,e.createElement)("div",{className:"relative mt-6 mb-4"},(0,e.createElement)("input",{type:"text",name:"doc_title",id:"doc-title",placeholder:(0,ft.__)("Type an article name","wedocs"),required:!0,className:(g.title?"!border-red-500 focus:ring-red-500 focus:border-red-500":"!border-gray-300 focus:ring-blue-500 focus:border-blue-500")+" h-11 bg-gray-50 text-gray-900 text-base !rounded-md block w-full !py-2 !px-3 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white",value:v,onChange:e=>{x(e.target.value),h({...f,title:{raw:e.target.value}}),b({...g,title:0===e.target.value.length})}}),g.title&&(0,e.createElement)("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"},(0,e.createElement)(Wn,{className:"h-5 w-5 text-red-500","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"relative mb-4"},(0,e.createElement)("input",{type:"text",name:"doc_slug",id:"doc-slug",placeholder:(0,ft.__)("Enter your slug here","wedocs"),required:!0,className:(g.slug?"!border-red-500 focus:ring-red-500 focus:border-red-500":"!border-gray-300 focus:ring-blue-500 focus:border-blue-500")+" h-11 bg-gray-50 text-gray-900 text-base !rounded-md block w-full !py-2 !px-3 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white",value:f?.slug,onChange:e=>{h({...f,slug:e.target.value}),b({...g,slug:0===e.target.value.length})}}),g.slug&&(0,e.createElement)("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"},(0,e.createElement)(Wn,{className:"h-5 w-5 text-red-500","aria-hidden":"true"}))),(0,e.createElement)(Aa,{type:t,docId:r,sections:o,selectSectionId:p,isFormError:g.sectionId,defaultSection:i?.title?.rendered}),(0,e.createElement)("div",{className:"mt-6 flex items-center justify-center space-x-3.5"},(0,e.createElement)("button",{className:"bg-white hover:bg-gray-200 text-gray-700 font-medium text-base py-2 px-5 border border-gray-300 rounded-md",onClick:k},(0,ft.__)("Cancel","wedocs")),(0,e.createElement)("div",{className:"doc-publish-btn group relative"},(0,e.createElement)("button",{className:"inline-flex justify-between items-center cursor-pointer bg-indigo-600 hover:bg-indigo-800 text-white font-medium text-base py-2 px-5 rounded-md min-w-[122px]",ref:c,disabled:y,onClick:()=>{""!==f.title.raw?""!==f.slug?m?(E(!0),(0,ut.dispatch)(mt.A).updateDoc(n?.id,{slug:f?.slug,title:f?.title?.raw,parent:m?parseInt(m):"",status:f?.status}).then((()=>{p(i?.id||""),l&&l(!0),Hn().fire({title:"draft"===f?.status?(0,ft.__)("Article has been drafted!","wedocs"):(0,ft.__)("Article has been published!","wedocs"),text:"draft"===f?.status?(0,ft.__)("The article has been drafted successfully","wedocs"):(0,ft.__)("The article has been published successfully","wedocs"),icon:"success",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:2e3}),k()})).catch((e=>{Hn().fire({title:(0,ft.__)("Error","wedocs"),text:e.message,icon:"error",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:3e3})})).finally((()=>E(!1)))):b({...g,sectionId:!0}):b({...g,slug:!0}):b({...g,title:!0})}},(0,e.createElement)(bt.Fragment,null,"draft"===f?.status?(0,ft.__)("Draft","wedocs"):(0,ft.sprintf)((0,ft.__)("Updat%s","wedocs"),y?"ing...":"e"),(0,e.createElement)(Da,{className:"h-5 w-5 text-white mt-[1px]","aria-hidden":"true"}))),(0,e.createElement)("div",{id:"action-menus",className:"hidden cursor-pointer w-44 z-40 bg-white border border-[#DBDBDB] absolute z-10 shadow right-0 py-1 rounded-md mt-0.5 group-hover:block after:content-[''] before:content-[''] after:absolute before:absolute after:w-[13px] before:w-[70%] before:-right-[1px] after:h-[13px] before:h-3 before:mt-3 after:top-[-7px] before:-top-6 after:right-[1.4rem] after:z-[-1] after:bg-white after:border after:border-[#DBDBDB] after:!rotate-45 after:border-r-0 after:border-b-0"},(0,e.createElement)("span",{onClick:()=>N("draft"),className:"flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none"},(0,ft.__)("Update and Draft","wedocs")),(0,e.createElement)("span",{onClick:()=>N("publish"),className:"flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none"},(0,ft.__)("Update and Publish","wedocs"))))))))))))},Ta=({doc:t,type:r,section:n,sections:a,setShowArticles:o})=>{const s=Ca(),i=wp.hooks.applyFilters("wedocs_admin_documentation_action_menu_width","w-[270px]"),l=wp.hooks.applyFilters("wedocs_admin_article_action_menu_width","w-[310px]"),[c,d]=(0,bt.useState)(!1);return(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("div",{className:"documentation-ellipsis-actions relative",onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1)},(0,e.createElement)("span",{className:"dashicons dashicons-ellipsis d-block cursor-pointer text-sm rotate-90 text-gray-500"}),(0,e.createElement)("div",{id:"action-menus",className:`${"article"===r?l:i} ${c?"block":"hidden"} z-40 bg-white border border-[#DBDBDB] absolute shadow -right-3.5 py-1 rounded-md mt-2.5 hover:block after:content-[''] before:content-[''] after:absolute before:absolute after:w-[13px] before:w-full after:h-[13px] before:h-2.5 after:top-[-7px] before:-top-2.5 after:right-4 after:z-[-1] after:bg-white after:border after:border-[#DBDBDB] after:!rotate-45 after:border-r-0 after:border-b-0`},s&&"article"===r&&(0,e.createElement)(La,{article:t,sections:a,defaultSection:n,setShowArticles:o,className:"group flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none w-full"},(0,ft.__)("Quick Edit","wedocs")),(0,e.createElement)("a",{href:`${weDocsAdminVars.adminUrl}post.php?post=${t?.id}&action=edit`,target:"_blank",className:"group flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none",rel:"noreferrer"},(0,ft.__)("Edit","wedocs")),(0,e.createElement)("a",{target:"_blank",href:t?.link,rel:"noreferrer",className:"group flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none"},(0,ft.__)("View","wedocs")),(0,e.createElement)("span",{onClick:()=>{(0,ut.dispatch)("wedocs/docs").updateDoc(t?.id,{status:"draft"===t?.status?"publish":"draft"}).then((({docs:e})=>{Hn().fire({icon:"success",toast:!0,title:(0,ft.__)(`${"doc"===r?"Doc":"Article"} ${"draft"===t?.status?"Published":"Drafted"} Successfully!`,"wedocs"),timer:2e3,position:"bottom-end",showConfirmButton:!1,text:(0,ft.__)(`${"doc"===r?"Your documentation":"Your article"} has been successfully ${"draft"===t?.status?"published":"drafted"}`,"wedocs")})})).catch((e=>console.log(e)))},className:"group flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none"},"draft"===t?.status?(0,ft.__)("Publish Now","wedocs"):(0,ft.__)("Switch to Draft","wedocs")),wp.hooks.applyFilters("wedocs_admin_article_restriction_action","",t?.id,r),(0,e.createElement)(Un,{type:r,docId:t?.id,classes:"w-full group flex items-center py-2 px-4 text-sm font-medium text-red-500 hover:bg-indigo-700 hover:text-white"},(0,ft.__)("Delete","wedocs")))))},Ma="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function _a(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function Ra(e){return"nodeType"in e}function Oa(e){var t,r;return e?_a(e)?e:Ra(e)&&null!=(t=null==(r=e.ownerDocument)?void 0:r.defaultView)?t:window:window}function Ba(e){const{Document:t}=Oa(e);return e instanceof t}function Pa(e){return!_a(e)&&e instanceof Oa(e).HTMLElement}function ja(e){return e?_a(e)?e.document:Ra(e)?Ba(e)?e:Pa(e)?e.ownerDocument:document:document:document}const za=Ma?e.useLayoutEffect:e.useEffect;function Fa(t){const r=(0,e.useRef)(t);return za((()=>{r.current=t})),(0,e.useCallback)((function(){for(var e=arguments.length,t=new Array(e),n=0;n{n.current!==t&&(n.current=t)}),r),n}function Ha(t,r){const n=(0,e.useRef)();return(0,e.useMemo)((()=>{const e=t(n.current);return n.current=e,e}),[...r])}function Ua(t){const r=Fa(t),n=(0,e.useRef)(null),a=(0,e.useCallback)((e=>{e!==n.current&&(null==r||r(e,n.current)),n.current=e}),[]);return[n,a]}function Wa(t){const r=(0,e.useRef)();return(0,e.useEffect)((()=>{r.current=t}),[t]),r.current}let Va={};function Ga(t,r){return(0,e.useMemo)((()=>{if(r)return r;const e=null==Va[t]?0:Va[t]+1;return Va[t]=e,t+"-"+e}),[t,r])}function Za(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a{const n=Object.entries(r);for(const[r,a]of n){const n=t[r];null!=n&&(t[r]=n+e*a)}return t}),{...t})}}const Ya=Za(1),Ja=Za(-1);function Qa(e){if(!e)return!1;const{KeyboardEvent:t}=Oa(e.target);return t&&e instanceof t}function Xa(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=Oa(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:r}=e.touches[0];return{x:t,y:r}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:r}=e.changedTouches[0];return{x:t,y:r}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const Ka=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:r}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(r?Math.round(r):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:r}=e;return"scaleX("+t+") scaleY("+r+")"}},Transform:{toString(e){if(e)return[Ka.Translate.toString(e),Ka.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:r,easing:n}=e;return t+" "+r+"ms "+n}}}),$a="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function eo(e){return e.matches($a)?e:e.querySelector($a)}const to={display:"none"};function ro(e){let{id:t,value:n}=e;return r().createElement("div",{id:t,style:to},n)}const no={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};function ao(e){let{id:t,announcement:n}=e;return r().createElement("div",{id:t,style:no,role:"status","aria-live":"assertive","aria-atomic":!0},n)}const oo=(0,e.createContext)(null),so={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},io={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was moved over droppable area "+r.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was dropped over droppable area "+r.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function lo(t){let{announcements:n=io,container:a,hiddenTextDescribedById:o,screenReaderInstructions:s=so}=t;const{announce:i,announcement:l}=function(){const[t,r]=(0,e.useState)("");return{announce:(0,e.useCallback)((e=>{null!=e&&r(e)}),[]),announcement:t}}(),c=Ga("DndLiveRegion"),[d,u]=(0,e.useState)(!1);if((0,e.useEffect)((()=>{u(!0)}),[]),function(t){const r=(0,e.useContext)(oo);(0,e.useEffect)((()=>{if(!r)throw new Error("useDndMonitor must be used within a children of ");return r(t)}),[t,r])}((0,e.useMemo)((()=>({onDragStart(e){let{active:t}=e;i(n.onDragStart({active:t}))},onDragMove(e){let{active:t,over:r}=e;n.onDragMove&&i(n.onDragMove({active:t,over:r}))},onDragOver(e){let{active:t,over:r}=e;i(n.onDragOver({active:t,over:r}))},onDragEnd(e){let{active:t,over:r}=e;i(n.onDragEnd({active:t,over:r}))},onDragCancel(e){let{active:t,over:r}=e;i(n.onDragCancel({active:t,over:r}))}})),[i,n])),!d)return null;const m=r().createElement(r().Fragment,null,r().createElement(ro,{id:o,value:s.draggable}),r().createElement(ao,{id:c,announcement:l}));return a?(0,Ur.createPortal)(m,a):m}var co;function uo(){}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(co||(co={}));const mo=Object.freeze({x:0,y:0});function po(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function fo(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return r-n}function ho(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return n-r}function go(e){let{left:t,top:r,height:n,width:a}=e;return[{x:t,y:r},{x:t+a,y:r},{x:t,y:r+n},{x:t+a,y:r+n}]}function bo(e,t,r){return void 0===t&&(t=e.left),void 0===r&&(r=e.top),{x:t+.5*e.width,y:r+.5*e.height}}const wo=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const a=bo(t,t.left,t.top),o=[];for(const e of n){const{id:t}=e,n=r.get(t);if(n){const r=po(bo(n),a);o.push({id:t,data:{droppableContainer:e,value:r}})}}return o.sort(fo)};function vo(e,t){const r=Math.max(t.top,e.top),n=Math.max(t.left,e.left),a=Math.min(t.left+t.width,e.left+e.width),o=Math.min(t.top+t.height,e.top+e.height),s=a-n,i=o-r;if(n{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const a=[];for(const e of n){const{id:n}=e,o=r.get(n);if(o){const r=vo(o,t);r>0&&a.push({id:n,data:{droppableContainer:e,value:r}})}}return a.sort(ho)};function yo(e,t){const{top:r,left:n,bottom:a,right:o}=t;return r<=e.y&&e.y<=a&&n<=e.x&&e.x<=o}const Eo=e=>{let{droppableContainers:t,droppableRects:r,pointerCoordinates:n}=e;if(!n)return[];const a=[];for(const e of t){const{id:t}=e,o=r.get(t);if(o&&yo(n,o)){const r=go(o).reduce(((e,t)=>e+po(n,t)),0),s=Number((r/4).toFixed(4));a.push({id:t,data:{droppableContainer:e,value:s}})}}return a.sort(fo)};function ko(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:mo}function No(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a({...t,top:t.top+e*r.y,bottom:t.bottom+e*r.y,left:t.left+e*r.x,right:t.right+e*r.x})),{...t})}}const So=No(1);const Ao={ignoreTransform:!1};function Do(e,t){void 0===t&&(t=Ao);let r=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:n}=Oa(e).getComputedStyle(e);t&&(r=function(e,t,r){const n=function(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}(t);if(!n)return e;const{scaleX:a,scaleY:o,x:s,y:i}=n,l=e.left-s-(1-a)*parseFloat(r),c=e.top-i-(1-o)*parseFloat(r.slice(r.indexOf(" ")+1)),d=a?e.width/a:e.width,u=o?e.height/o:e.height;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l}}(r,t,n))}const{top:n,left:a,width:o,height:s,bottom:i,right:l}=r;return{top:n,left:a,width:o,height:s,bottom:i,right:l}}function Co(e){return Do(e,{ignoreTransform:!0})}function Io(e,t){const r=[];return e?function n(a){if(null!=t&&r.length>=t)return r;if(!a)return r;if(Ba(a)&&null!=a.scrollingElement&&!r.includes(a.scrollingElement))return r.push(a.scrollingElement),r;if(!Pa(a)||function(e){return e instanceof Oa(e).SVGElement}(a))return r;if(r.includes(a))return r;const o=Oa(e).getComputedStyle(a);return a!==e&&function(e,t){void 0===t&&(t=Oa(e).getComputedStyle(e));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const n=t[e];return"string"==typeof n&&r.test(n)}))}(a,o)&&r.push(a),function(e,t){return void 0===t&&(t=Oa(e).getComputedStyle(e)),"fixed"===t.position}(a,o)?r:n(a.parentNode)}(e):r}function Lo(e){const[t]=Io(e,1);return null!=t?t:null}function To(e){return Ma&&e?_a(e)?e:Ra(e)?Ba(e)||e===ja(e).scrollingElement?window:Pa(e)?e:null:null:null}function Mo(e){return _a(e)?e.scrollX:e.scrollLeft}function _o(e){return _a(e)?e.scrollY:e.scrollTop}function Ro(e){return{x:Mo(e),y:_o(e)}}var Oo;function Bo(e){return!(!Ma||!e)&&e===document.scrollingElement}function Po(e){const t={x:0,y:0},r=Bo(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},n={x:e.scrollWidth-r.width,y:e.scrollHeight-r.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=n.y,isRight:e.scrollLeft>=n.x,maxScroll:n,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(Oo||(Oo={}));const jo={x:.2,y:.2};function zo(e,t,r,n,a){let{top:o,left:s,right:i,bottom:l}=r;void 0===n&&(n=10),void 0===a&&(a=jo);const{isTop:c,isBottom:d,isLeft:u,isRight:m}=Po(e),p={x:0,y:0},f={x:0,y:0},h=t.height*a.y,g=t.width*a.x;return!c&&o<=t.top+h?(p.y=Oo.Backward,f.y=n*Math.abs((t.top+h-o)/h)):!d&&l>=t.bottom-h&&(p.y=Oo.Forward,f.y=n*Math.abs((t.bottom-h-l)/h)),!m&&i>=t.right-g?(p.x=Oo.Forward,f.x=n*Math.abs((t.right-g-i)/g)):!u&&s<=t.left+g&&(p.x=Oo.Backward,f.x=n*Math.abs((t.left+g-s)/g)),{direction:p,speed:f}}function Fo(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:r,right:n,bottom:a}=e.getBoundingClientRect();return{top:t,left:r,right:n,bottom:a,width:e.clientWidth,height:e.clientHeight}}function qo(e){return e.reduce(((e,t)=>Ya(e,Ro(t))),mo)}const Ho=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+Mo(t)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+_o(t)),0)}]];class Uo{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=Io(t),n=qo(r);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,a]of Ho)for(const o of t)Object.defineProperty(this,o,{get:()=>{const t=a(r),s=n[e]-t;return this.rect[o]+s},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Wo{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)}))},this.target=e}add(e,t,r){var n;null==(n=this.target)||n.addEventListener(e,t,r),this.listeners.push([e,t,r])}}function Vo(e,t){const r=Math.abs(e.x),n=Math.abs(e.y);return"number"==typeof t?Math.sqrt(r**2+n**2)>t:"x"in t&&"y"in t?r>t.x&&n>t.y:"x"in t?r>t.x:"y"in t&&n>t.y}var Go,Zo,Yo;function Jo(e){e.preventDefault()}function Qo(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(Go||(Go={})),(Yo=Zo||(Zo={})).Space="Space",Yo.Down="ArrowDown",Yo.Right="ArrowRight",Yo.Left="ArrowLeft",Yo.Up="ArrowUp",Yo.Esc="Escape",Yo.Enter="Enter";const Xo={start:[Zo.Space,Zo.Enter],cancel:[Zo.Esc],end:[Zo.Space,Zo.Enter]},Ko=(e,t)=>{let{currentCoordinates:r}=t;switch(e.code){case Zo.Right:return{...r,x:r.x+25};case Zo.Left:return{...r,x:r.x-25};case Zo.Down:return{...r,y:r.y+25};case Zo.Up:return{...r,y:r.y-25}}};class $o{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new Wo(ja(t)),this.windowListeners=new Wo(Oa(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Go.Resize,this.handleCancel),this.windowListeners.add(Go.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(Go.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,r=e.node.current;r&&function(e,t){if(void 0===t&&(t=Do),!e)return;const{top:r,left:n,bottom:a,right:o}=t(e);Lo(e)&&(a<=0||o<=0||r>=window.innerHeight||n>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}(r),t(mo)}handleKeyDown(e){if(Qa(e)){const{active:t,context:r,options:n}=this.props,{keyboardCodes:a=Xo,coordinateGetter:o=Ko,scrollBehavior:s="smooth"}=n,{code:i}=e;if(a.end.includes(i))return void this.handleEnd(e);if(a.cancel.includes(i))return void this.handleCancel(e);const{collisionRect:l}=r.current,c=l?{x:l.left,y:l.top}:mo;this.referenceCoordinates||(this.referenceCoordinates=c);const d=o(e,{active:t,context:r.current,currentCoordinates:c});if(d){const t=Ja(d,c),n={x:0,y:0},{scrollableAncestors:a}=r.current;for(const r of a){const a=e.code,{isTop:o,isRight:i,isLeft:l,isBottom:c,maxScroll:u,minScroll:m}=Po(r),p=Fo(r),f={x:Math.min(a===Zo.Right?p.right-p.width/2:p.right,Math.max(a===Zo.Right?p.left:p.left+p.width/2,d.x)),y:Math.min(a===Zo.Down?p.bottom-p.height/2:p.bottom,Math.max(a===Zo.Down?p.top:p.top+p.height/2,d.y))},h=a===Zo.Right&&!i||a===Zo.Left&&!l,g=a===Zo.Down&&!c||a===Zo.Up&&!o;if(h&&f.x!==d.x){const e=r.scrollLeft+t.x,o=a===Zo.Right&&e<=u.x||a===Zo.Left&&e>=m.x;if(o&&!t.y)return void r.scrollTo({left:e,behavior:s});n.x=o?r.scrollLeft-e:a===Zo.Right?r.scrollLeft-u.x:r.scrollLeft-m.x,n.x&&r.scrollBy({left:-n.x,behavior:s});break}if(g&&f.y!==d.y){const e=r.scrollTop+t.y,o=a===Zo.Down&&e<=u.y||a===Zo.Up&&e>=m.y;if(o&&!t.x)return void r.scrollTo({top:e,behavior:s});n.y=o?r.scrollTop-e:a===Zo.Down?r.scrollTop-u.y:r.scrollTop-m.y,n.y&&r.scrollBy({top:-n.y,behavior:s});break}}this.handleMove(e,Ya(Ja(d,this.referenceCoordinates),n))}}}handleMove(e,t){const{onMove:r}=this.props;e.preventDefault(),r(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function es(e){return Boolean(e&&"distance"in e)}function ts(e){return Boolean(e&&"delay"in e)}$o.activators=[{eventName:"onKeyDown",handler:(e,t,r)=>{let{keyboardCodes:n=Xo,onActivation:a}=t,{active:o}=r;const{code:s}=e.nativeEvent;if(n.start.includes(s)){const t=o.activatorNode.current;return!(t&&e.target!==t||(e.preventDefault(),null==a||a({event:e.nativeEvent}),0))}return!1}}];class rs{constructor(e,t,r){var n;void 0===r&&(r=function(e){const{EventTarget:t}=Oa(e);return e instanceof t?e:ja(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:a}=e,{target:o}=a;this.props=e,this.events=t,this.document=ja(o),this.documentListeners=new Wo(this.document),this.listeners=new Wo(r),this.windowListeners=new Wo(Oa(o)),this.initialCoordinates=null!=(n=Xa(a))?n:mo,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(Go.Resize,this.handleCancel),this.windowListeners.add(Go.DragStart,Jo),this.windowListeners.add(Go.VisibilityChange,this.handleCancel),this.windowListeners.add(Go.ContextMenu,Jo),this.documentListeners.add(Go.Keydown,this.handleKeydown),t){if(es(t))return;if(ts(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay))}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(Go.Click,Qo,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Go.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:r,initialCoordinates:n,props:a}=this,{onMove:o,options:{activationConstraint:s}}=a;if(!n)return;const i=null!=(t=Xa(e))?t:mo,l=Ja(n,i);if(!r&&s){if(ts(s))return Vo(l,s.tolerance)?this.handleCancel():void 0;if(es(s))return null!=s.tolerance&&Vo(l,s.tolerance)?this.handleCancel():Vo(l,s.distance)?this.handleStart():void 0}e.cancelable&&e.preventDefault(),o(i)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===Zo.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const ns={move:{name:"pointermove"},end:{name:"pointerup"}};class as extends rs{constructor(e){const{event:t}=e,r=ja(t.target);super(e,ns,r)}}as.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return!(!r.isPrimary||0!==r.button||(null==n||n({event:r}),0))}}];const os={move:{name:"mousemove"},end:{name:"mouseup"}};var ss;!function(e){e[e.RightClick=2]="RightClick"}(ss||(ss={})),class extends rs{constructor(e){super(e,os,ja(e.event.target))}}.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return r.button!==ss.RightClick&&(null==n||n({event:r}),!0)}}];const is={move:{name:"touchmove"},end:{name:"touchend"}};var ls,cs;(class extends rs{constructor(e){super(e,is)}static setup(){return window.addEventListener(is.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(is.move.name,e)};function e(){}}}).activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;const{touches:a}=r;return!(a.length>1||(null==n||n({event:r}),0))}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(ls||(ls={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(cs||(cs={}));const ds={x:{[Oo.Backward]:!1,[Oo.Forward]:!1},y:{[Oo.Backward]:!1,[Oo.Forward]:!1}};var us,ms;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(us||(us={})),function(e){e.Optimized="optimized"}(ms||(ms={}));const ps=new Map;function fs(e,t){return Ha((r=>e?r||("function"==typeof t?t(e):e):null),[t,e])}function hs(t){let{callback:r,disabled:n}=t;const a=Fa(r),o=(0,e.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(a)}),[n]);return(0,e.useEffect)((()=>()=>null==o?void 0:o.disconnect()),[o]),o}function gs(e){return new Uo(Do(e),e)}function bs(t,r,n){void 0===r&&(r=gs);const[a,o]=(0,e.useReducer)((function(e){if(!t)return null;var a;if(!1===t.isConnected)return null!=(a=null!=e?e:n)?a:null;const o=r(t);return JSON.stringify(e)===JSON.stringify(o)?e:o}),null),s=function(t){let{callback:r,disabled:n}=t;const a=Fa(r),o=(0,e.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(a)}),[a,n]);return(0,e.useEffect)((()=>()=>null==o?void 0:o.disconnect()),[o]),o}({callback(e){if(t)for(const r of e){const{type:e,target:n}=r;if("childList"===e&&n instanceof HTMLElement&&n.contains(t)){o();break}}}}),i=hs({callback:o});return za((()=>{o(),t?(null==i||i.observe(t),null==s||s.observe(document.body,{childList:!0,subtree:!0})):(null==i||i.disconnect(),null==s||s.disconnect())}),[t]),a}const ws=[];function vs(t,r){void 0===r&&(r=[]);const n=(0,e.useRef)(null);return(0,e.useEffect)((()=>{n.current=null}),r),(0,e.useEffect)((()=>{const e=t!==mo;e&&!n.current&&(n.current=t),!e&&n.current&&(n.current=null)}),[t]),n.current?Ja(t,n.current):mo}function xs(t){return(0,e.useMemo)((()=>t?function(e){const t=e.innerWidth,r=e.innerHeight;return{top:0,left:0,right:t,bottom:r,width:t,height:r}}(t):null),[t])}const ys=[];const Es=[{sensor:as,options:{}},{sensor:$o,options:{}}],ks={current:{}},Ns={draggable:{measure:Co},droppable:{measure:Co,strategy:us.WhileDragging,frequency:ms.Optimized},dragOverlay:{measure:Do}};class Ss extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:t}=e;return!t}))}getNodeFor(e){var t,r;return null!=(t=null==(r=this.get(e))?void 0:r.node.current)?t:void 0}}const As={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Ss,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:uo},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Ns,measureDroppableContainers:uo,windowRect:null,measuringScheduled:!1},Ds={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:uo,draggableNodes:new Map,over:null,measureDroppableContainers:uo},Cs=(0,e.createContext)(Ds),Is=(0,e.createContext)(As);function Ls(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Ss}}}function Ts(e,t){switch(t.type){case co.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case co.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case co.DragEnd:case co.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case co.RegisterDroppable:{const{element:r}=t,{id:n}=r,a=new Ss(e.droppable.containers);return a.set(n,r),{...e,droppable:{...e.droppable,containers:a}}}case co.SetDroppableDisabled:{const{id:r,key:n,disabled:a}=t,o=e.droppable.containers.get(r);if(!o||n!==o.key)return e;const s=new Ss(e.droppable.containers);return s.set(r,{...o,disabled:a}),{...e,droppable:{...e.droppable,containers:s}}}case co.UnregisterDroppable:{const{id:r,key:n}=t,a=e.droppable.containers.get(r);if(!a||n!==a.key)return e;const o=new Ss(e.droppable.containers);return o.delete(r),{...e,droppable:{...e.droppable,containers:o}}}default:return e}}function Ms(t){let{disabled:r}=t;const{active:n,activatorEvent:a,draggableNodes:o}=(0,e.useContext)(Cs),s=Wa(a),i=Wa(null==n?void 0:n.id);return(0,e.useEffect)((()=>{if(!r&&!a&&s&&null!=i){if(!Qa(s))return;if(document.activeElement===s.target)return;const e=o.get(i);if(!e)return;const{activatorNode:t,node:r}=e;if(!t.current&&!r.current)return;requestAnimationFrame((()=>{for(const e of[t.current,r.current]){if(!e)continue;const t=eo(e);if(t){t.focus();break}}}))}}),[a,r,o,i,s]),null}const _s=(0,e.createContext)({...mo,scaleX:1,scaleY:1});var Rs;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Rs||(Rs={}));const Os=(0,e.memo)((function(t){var n,a,o,s;let{id:i,accessibility:l,autoScroll:c=!0,children:d,sensors:u=Es,collisionDetection:m=xo,measuring:p,modifiers:f,...h}=t;const g=(0,e.useReducer)(Ts,void 0,Ls),[b,w]=g,[v,x]=function(){const[t]=(0,e.useState)((()=>new Set)),r=(0,e.useCallback)((e=>(t.add(e),()=>t.delete(e))),[t]);return[(0,e.useCallback)((e=>{let{type:r,event:n}=e;t.forEach((e=>{var t;return null==(t=e[r])?void 0:t.call(e,n)}))}),[t]),r]}(),[y,E]=(0,e.useState)(Rs.Uninitialized),k=y===Rs.Initialized,{draggable:{active:N,nodes:S,translate:A},droppable:{containers:D}}=b,C=N?S.get(N):null,I=(0,e.useRef)({initial:null,translated:null}),L=(0,e.useMemo)((()=>{var e;return null!=N?{id:N,data:null!=(e=null==C?void 0:C.data)?e:ks,rect:I}:null}),[N,C]),T=(0,e.useRef)(null),[M,_]=(0,e.useState)(null),[R,O]=(0,e.useState)(null),B=qa(h,Object.values(h)),P=Ga("DndDescribedBy",i),j=(0,e.useMemo)((()=>D.getEnabled()),[D]),z=(F=p,(0,e.useMemo)((()=>({draggable:{...Ns.draggable,...null==F?void 0:F.draggable},droppable:{...Ns.droppable,...null==F?void 0:F.droppable},dragOverlay:{...Ns.dragOverlay,...null==F?void 0:F.dragOverlay}})),[null==F?void 0:F.draggable,null==F?void 0:F.droppable,null==F?void 0:F.dragOverlay]));var F;const{droppableRects:q,measureDroppableContainers:H,measuringScheduled:U}=function(t,r){let{dragging:n,dependencies:a,config:o}=r;const[s,i]=(0,e.useState)(null),{frequency:l,measure:c,strategy:d}=o,u=(0,e.useRef)(t),m=function(){switch(d){case us.Always:return!1;case us.BeforeDragging:return n;default:return!n}}(),p=qa(m),f=(0,e.useCallback)((function(e){void 0===e&&(e=[]),p.current||i((t=>null===t?e:t.concat(e.filter((e=>!t.includes(e))))))}),[p]),h=(0,e.useRef)(null),g=Ha((e=>{if(m&&!n)return ps;if(!e||e===ps||u.current!==t||null!=s){const e=new Map;for(let r of t){if(!r)continue;if(s&&s.length>0&&!s.includes(r.id)&&r.rect.current){e.set(r.id,r.rect.current);continue}const t=r.node.current,n=t?new Uo(c(t),t):null;r.rect.current=n,n&&e.set(r.id,n)}return e}return e}),[t,s,n,m,c]);return(0,e.useEffect)((()=>{u.current=t}),[t]),(0,e.useEffect)((()=>{m||f()}),[n,m]),(0,e.useEffect)((()=>{s&&s.length>0&&i(null)}),[JSON.stringify(s)]),(0,e.useEffect)((()=>{m||"number"!=typeof l||null!==h.current||(h.current=setTimeout((()=>{f(),h.current=null}),l))}),[l,m,f,...a]),{droppableRects:g,measureDroppableContainers:f,measuringScheduled:null!=s}}(j,{dragging:k,dependencies:[A.x,A.y],config:z.droppable}),W=function(e,t){const r=null!==t?e.get(t):void 0,n=r?r.node.current:null;return Ha((e=>{var r;return null===t?null:null!=(r=null!=n?n:e)?r:null}),[n,t])}(S,N),V=(0,e.useMemo)((()=>R?Xa(R):null),[R]),G=function(){const e=!1===(null==M?void 0:M.autoScrollEnabled),t="object"==typeof c?!1===c.enabled:!1===c,r=k&&!e&&!t;return"object"==typeof c?{...c,enabled:r}:{enabled:r}}(),Z=function(e,t){return fs(e,t)}(W,z.draggable.measure);!function(t){let{activeNode:r,measure:n,initialRect:a,config:o=!0}=t;const s=(0,e.useRef)(!1),{x:i,y:l}="boolean"==typeof o?{x:o,y:o}:o;za((()=>{if(!i&&!l||!r)return void(s.current=!1);if(s.current||!a)return;const e=null==r?void 0:r.node.current;if(!e||!1===e.isConnected)return;const t=ko(n(e),a);if(i||(t.x=0),l||(t.y=0),s.current=!0,Math.abs(t.x)>0||Math.abs(t.y)>0){const r=Lo(e);r&&r.scrollBy({top:t.y,left:t.x})}}),[r,i,l,a,n])}({activeNode:N?S.get(N):null,config:G.layoutShiftCompensation,initialRect:Z,measure:z.draggable.measure});const Y=bs(W,z.draggable.measure,Z),J=bs(W?W.parentElement:null),Q=(0,e.useRef)({activatorEvent:null,active:null,activeNode:W,collisionRect:null,collisions:null,droppableRects:q,draggableNodes:S,draggingNode:null,draggingNodeRect:null,droppableContainers:D,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),X=D.getNodeFor(null==(n=Q.current.over)?void 0:n.id),K=function(t){let{measure:r}=t;const[n,a]=(0,e.useState)(null),o=hs({callback:(0,e.useCallback)((e=>{for(const{target:t}of e)if(Pa(t)){a((e=>{const n=r(t);return e?{...e,width:n.width,height:n.height}:n}));break}}),[r])}),s=(0,e.useCallback)((e=>{const t=function(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Pa(t)?t:e}(e);null==o||o.disconnect(),t&&(null==o||o.observe(t)),a(t?r(t):null)}),[r,o]),[i,l]=Ua(s);return(0,e.useMemo)((()=>({nodeRef:i,rect:n,setRef:l})),[n,i,l])}({measure:z.dragOverlay.measure}),$=null!=(a=K.nodeRef.current)?a:W,ee=k?null!=(o=K.rect)?o:Y:null,te=Boolean(K.nodeRef.current&&K.rect),re=ko(ne=te?null:Y,fs(ne));var ne;const ae=xs($?Oa($):null),oe=function(t){const r=(0,e.useRef)(t),n=Ha((e=>t?e&&e!==ws&&t&&r.current&&t.parentNode===r.current.parentNode?e:Io(t):ws),[t]);return(0,e.useEffect)((()=>{r.current=t}),[t]),n}(k?null!=X?X:W:null),se=function(t,r){void 0===r&&(r=Do);const[n]=t,a=xs(n?Oa(n):null),[o,s]=(0,e.useReducer)((function(){return t.length?t.map((e=>Bo(e)?a:new Uo(r(e),e))):ys}),ys),i=hs({callback:s});return t.length>0&&o===ys&&s(),za((()=>{t.length?t.forEach((e=>null==i?void 0:i.observe(e))):(null==i||i.disconnect(),s())}),[t]),o}(oe),ie=function(e,t){let{transform:r,...n}=t;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...n})),r):r}(f,{transform:{x:A.x-re.x,y:A.y-re.y,scaleX:1,scaleY:1},activatorEvent:R,active:L,activeNodeRect:Y,containerNodeRect:J,draggingNodeRect:ee,over:Q.current.over,overlayNodeRect:K.rect,scrollableAncestors:oe,scrollableAncestorRects:se,windowRect:ae}),le=V?Ya(V,A):null,ce=function(t){const[r,n]=(0,e.useState)(null),a=(0,e.useRef)(t),o=(0,e.useCallback)((e=>{const t=To(e.target);t&&n((e=>e?(e.set(t,Ro(t)),new Map(e)):null))}),[]);return(0,e.useEffect)((()=>{const e=a.current;if(t!==e){r(e);const s=t.map((e=>{const t=To(e);return t?(t.addEventListener("scroll",o,{passive:!0}),[t,Ro(t)]):null})).filter((e=>null!=e));n(s.length?new Map(s):null),a.current=t}return()=>{r(t),r(e)};function r(e){e.forEach((e=>{const t=To(e);null==t||t.removeEventListener("scroll",o)}))}}),[o,t]),(0,e.useMemo)((()=>t.length?r?Array.from(r.values()).reduce(((e,t)=>Ya(e,t)),mo):qo(t):mo),[t,r])}(oe),de=vs(ce),ue=vs(ce,[Y]),me=Ya(ie,de),pe=ee?So(ee,ie):null,fe=L&&pe?m({active:L,collisionRect:pe,droppableRects:q,droppableContainers:j,pointerCoordinates:le}):null,he=function(e){if(!e||0===e.length)return null;const[t]=e;return t.id}(fe),[ge,be]=(0,e.useState)(null),we=function(e,t,r){return{...e,scaleX:t&&r?t.width/r.width:1,scaleY:t&&r?t.height/r.height:1}}(te?ie:Ya(ie,ue),null!=(s=null==ge?void 0:ge.rect)?s:null,Y),ve=(0,e.useCallback)(((e,t)=>{let{sensor:r,options:n}=t;if(null==T.current)return;const a=S.get(T.current);if(!a)return;const o=e.nativeEvent,s=new r({active:T.current,activeNode:a,event:o,options:n,context:Q,onStart(e){const t=T.current;if(null==t)return;const r=S.get(t);if(!r)return;const{onDragStart:n}=B.current,a={active:{id:t,data:r.data,rect:I}};(0,Ur.unstable_batchedUpdates)((()=>{null==n||n(a),E(Rs.Initializing),w({type:co.DragStart,initialCoordinates:e,active:t}),v({type:"onDragStart",event:a})}))},onMove(e){w({type:co.DragMove,coordinates:e})},onEnd:i(co.DragEnd),onCancel:i(co.DragCancel)});function i(e){return async function(){const{active:t,collisions:r,over:n,scrollAdjustedTranslate:a}=Q.current;let s=null;if(t&&a){const{cancelDrop:i}=B.current;s={activatorEvent:o,active:t,collisions:r,delta:a,over:n},e===co.DragEnd&&"function"==typeof i&&await Promise.resolve(i(s))&&(e=co.DragCancel)}T.current=null,(0,Ur.unstable_batchedUpdates)((()=>{w({type:e}),E(Rs.Uninitialized),be(null),_(null),O(null);const t=e===co.DragEnd?"onDragEnd":"onDragCancel";if(s){const e=B.current[t];null==e||e(s),v({type:t,event:s})}}))}}(0,Ur.unstable_batchedUpdates)((()=>{_(s),O(e.nativeEvent)}))}),[S]),xe=(0,e.useCallback)(((e,t)=>(r,n)=>{const a=r.nativeEvent,o=S.get(n);if(null!==T.current||!o||a.dndKit||a.defaultPrevented)return;const s={active:o};!0===e(r,t.options,s)&&(a.dndKit={capturedBy:t.sensor},T.current=n,ve(r,t))}),[S,ve]),ye=function(t,r){return(0,e.useMemo)((()=>t.reduce(((e,t)=>{const{sensor:n}=t;return[...e,...n.activators.map((e=>({eventName:e.eventName,handler:r(e.handler,t)})))]}),[])),[t,r])}(u,xe);!function(t){(0,e.useEffect)((()=>{if(!Ma)return;const e=t.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const t of e)null==t||t()}}),t.map((e=>{let{sensor:t}=e;return t})))}(u),za((()=>{Y&&y===Rs.Initializing&&E(Rs.Initialized)}),[Y,y]),(0,e.useEffect)((()=>{const{onDragMove:e}=B.current,{active:t,activatorEvent:r,collisions:n,over:a}=Q.current;if(!t||!r)return;const o={active:t,activatorEvent:r,collisions:n,delta:{x:me.x,y:me.y},over:a};(0,Ur.unstable_batchedUpdates)((()=>{null==e||e(o),v({type:"onDragMove",event:o})}))}),[me.x,me.y]),(0,e.useEffect)((()=>{const{active:e,activatorEvent:t,collisions:r,droppableContainers:n,scrollAdjustedTranslate:a}=Q.current;if(!e||null==T.current||!t||!a)return;const{onDragOver:o}=B.current,s=n.get(he),i=s&&s.rect.current?{id:s.id,rect:s.rect.current,data:s.data,disabled:s.disabled}:null,l={active:e,activatorEvent:t,collisions:r,delta:{x:a.x,y:a.y},over:i};(0,Ur.unstable_batchedUpdates)((()=>{be(i),null==o||o(l),v({type:"onDragOver",event:l})}))}),[he]),za((()=>{Q.current={activatorEvent:R,active:L,activeNode:W,collisionRect:pe,collisions:fe,droppableRects:q,draggableNodes:S,draggingNode:$,draggingNodeRect:ee,droppableContainers:D,over:ge,scrollableAncestors:oe,scrollAdjustedTranslate:me},I.current={initial:ee,translated:pe}}),[L,W,fe,pe,S,$,ee,q,D,ge,oe,me]),function(t){let{acceleration:r,activator:n=ls.Pointer,canScroll:a,draggingRect:o,enabled:s,interval:i=5,order:l=cs.TreeOrder,pointerCoordinates:c,scrollableAncestors:d,scrollableAncestorRects:u,delta:m,threshold:p}=t;const f=function(e){let{delta:t,disabled:r}=e;const n=Wa(t);return Ha((e=>{if(r||!n||!e)return ds;const a=Math.sign(t.x-n.x),o=Math.sign(t.y-n.y);return{x:{[Oo.Backward]:e.x[Oo.Backward]||-1===a,[Oo.Forward]:e.x[Oo.Forward]||1===a},y:{[Oo.Backward]:e.y[Oo.Backward]||-1===o,[Oo.Forward]:e.y[Oo.Forward]||1===o}}}),[r,t,n])}({delta:m,disabled:!s}),[h,g]=function(){const t=(0,e.useRef)(null);return[(0,e.useCallback)(((e,r)=>{t.current=setInterval(e,r)}),[]),(0,e.useCallback)((()=>{null!==t.current&&(clearInterval(t.current),t.current=null)}),[])]}(),b=(0,e.useRef)({x:0,y:0}),w=(0,e.useRef)({x:0,y:0}),v=(0,e.useMemo)((()=>{switch(n){case ls.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case ls.DraggableRect:return o}}),[n,o,c]),x=(0,e.useRef)(null),y=(0,e.useCallback)((()=>{const e=x.current;if(!e)return;const t=b.current.x*w.current.x,r=b.current.y*w.current.y;e.scrollBy(t,r)}),[]),E=(0,e.useMemo)((()=>l===cs.TreeOrder?[...d].reverse():d),[l,d]);(0,e.useEffect)((()=>{if(s&&d.length&&v){for(const e of E){if(!1===(null==a?void 0:a(e)))continue;const t=d.indexOf(e),n=u[t];if(!n)continue;const{direction:o,speed:s}=zo(e,n,v,r,p);for(const e of["x","y"])f[e][o[e]]||(s[e]=0,o[e]=0);if(s.x>0||s.y>0)return g(),x.current=e,h(y,i),b.current=s,void(w.current=o)}b.current={x:0,y:0},w.current={x:0,y:0},g()}else g()}),[r,y,a,g,s,i,JSON.stringify(v),JSON.stringify(f),h,d,E,u,JSON.stringify(p)])}({...G,delta:A,draggingRect:pe,pointerCoordinates:le,scrollableAncestors:oe,scrollableAncestorRects:se});const Ee=(0,e.useMemo)((()=>({active:L,activeNode:W,activeNodeRect:Y,activatorEvent:R,collisions:fe,containerNodeRect:J,dragOverlay:K,draggableNodes:S,droppableContainers:D,droppableRects:q,over:ge,measureDroppableContainers:H,scrollableAncestors:oe,scrollableAncestorRects:se,measuringConfiguration:z,measuringScheduled:U,windowRect:ae})),[L,W,Y,R,fe,J,K,S,D,q,ge,H,oe,se,z,U,ae]),ke=(0,e.useMemo)((()=>({activatorEvent:R,activators:ye,active:L,activeNodeRect:Y,ariaDescribedById:{draggable:P},dispatch:w,draggableNodes:S,over:ge,measureDroppableContainers:H})),[R,ye,L,Y,w,P,S,ge,H]);return r().createElement(oo.Provider,{value:x},r().createElement(Cs.Provider,{value:ke},r().createElement(Is.Provider,{value:Ee},r().createElement(_s.Provider,{value:we},d)),r().createElement(Ms,{disabled:!1===(null==l?void 0:l.restoreFocus)})),r().createElement(lo,{...l,hiddenTextDescribedById:P}))})),Bs=(0,e.createContext)(null),Ps="button";const js={timeout:25};function zs(e,t,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(t,1)[0]),n}function Fs(e,t){return e.reduce(((e,r,n)=>{const a=t.get(r);return a&&(e[n]=a),e}),Array(e.length))}function qs(e){return null!==e&&e>=0}const Hs=e=>{let{rects:t,activeIndex:r,overIndex:n,index:a}=e;const o=zs(t,n,r),s=t[a],i=o[a];return i&&s?{x:i.left-s.left,y:i.top-s.top,scaleX:i.width/s.width,scaleY:i.height/s.height}:null},Us={scaleX:1,scaleY:1},Ws=e=>{var t;let{activeIndex:r,activeNodeRect:n,index:a,rects:o,overIndex:s}=e;const i=null!=(t=o[r])?t:n;if(!i)return null;if(a===r){const e=o[s];return e?{x:0,y:rr&&a<=s?{x:0,y:-i.height-l,...Us}:a=s?{x:0,y:i.height+l,...Us}:{x:0,y:0,...Us}},Vs="Sortable",Gs=r().createContext({activeIndex:-1,containerId:Vs,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:Hs,disabled:{draggable:!1,droppable:!1}});function Zs(t){let{children:n,id:a,items:o,strategy:s=Hs,disabled:i=!1}=t;const{active:l,dragOverlay:c,droppableRects:d,over:u,measureDroppableContainers:m}=(0,e.useContext)(Is),p=Ga(Vs,a),f=Boolean(null!==c.rect),h=(0,e.useMemo)((()=>o.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[o]),g=null!=l,b=l?h.indexOf(l.id):-1,w=u?h.indexOf(u.id):-1,v=(0,e.useRef)(h),x=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r{x&&g&&m(h)}),[x,h,g,m]),(0,e.useEffect)((()=>{v.current=h}),[h]);const k=(0,e.useMemo)((()=>({activeIndex:b,containerId:p,disabled:E,disableTransforms:y,items:h,overIndex:w,useDragOverlay:f,sortedRects:Fs(h,d),strategy:s})),[b,p,E.draggable,E.droppable,y,h,w,d,f,s]);return r().createElement(Gs.Provider,{value:k},n)}const Ys=e=>{let{id:t,items:r,activeIndex:n,overIndex:a}=e;return zs(r,n,a).indexOf(t)},Js=e=>{let{containerId:t,isSorting:r,wasDragging:n,index:a,items:o,newIndex:s,previousItems:i,previousContainerId:l,transition:c}=e;return!(!c||!n||i!==o&&a===s||!r&&(s===a||t!==l))},Qs={duration:200,easing:"ease"},Xs="transform",Ks=Ka.Transition.toString({property:Xs,duration:0,easing:"linear"}),$s={roleDescription:"sortable"};function ei(t){let{animateLayoutChanges:r=Js,attributes:n,disabled:a,data:o,getNewIndex:s=Ys,id:i,strategy:l,resizeObserverConfig:c,transition:d=Qs}=t;const{items:u,containerId:m,activeIndex:p,disabled:f,disableTransforms:h,sortedRects:g,overIndex:b,useDragOverlay:w,strategy:v}=(0,e.useContext)(Gs),x=function(e,t){var r,n;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(r=null==e?void 0:e.draggable)?r:t.draggable,droppable:null!=(n=null==e?void 0:e.droppable)?n:t.droppable}}(a,f),y=u.indexOf(i),E=(0,e.useMemo)((()=>({sortable:{containerId:m,index:y,items:u},...o})),[m,o,y,u]),k=(0,e.useMemo)((()=>u.slice(u.indexOf(i))),[u,i]),{rect:N,node:S,isOver:A,setNodeRef:D}=function(t){let{data:r,disabled:n=!1,id:a,resizeObserverConfig:o}=t;const s=Ga("Droppable"),{active:i,dispatch:l,over:c,measureDroppableContainers:d}=(0,e.useContext)(Cs),u=(0,e.useRef)({disabled:n}),m=(0,e.useRef)(!1),p=(0,e.useRef)(null),f=(0,e.useRef)(null),{disabled:h,updateMeasurementsFor:g,timeout:b}={...js,...o},w=qa(null!=g?g:a),v=hs({callback:(0,e.useCallback)((()=>{m.current?(null!=f.current&&clearTimeout(f.current),f.current=setTimeout((()=>{d(Array.isArray(w.current)?w.current:[w.current]),f.current=null}),b)):m.current=!0}),[b]),disabled:h||!i}),x=(0,e.useCallback)(((e,t)=>{v&&(t&&(v.unobserve(t),m.current=!1),e&&v.observe(e))}),[v]),[y,E]=Ua(x),k=qa(r);return(0,e.useEffect)((()=>{v&&y.current&&(v.disconnect(),m.current=!1,v.observe(y.current))}),[y,v]),za((()=>(l({type:co.RegisterDroppable,element:{id:a,key:s,disabled:n,node:y,rect:p,data:k}}),()=>l({type:co.UnregisterDroppable,key:s,id:a}))),[a]),(0,e.useEffect)((()=>{n!==u.current.disabled&&(l({type:co.SetDroppableDisabled,id:a,key:s,disabled:n}),u.current.disabled=n)}),[a,s,n,l]),{active:i,rect:p,isOver:(null==c?void 0:c.id)===a,node:y,over:c,setNodeRef:E}}({id:i,data:E,disabled:x.droppable,resizeObserverConfig:{updateMeasurementsFor:k,...c}}),{active:C,activatorEvent:I,activeNodeRect:L,attributes:T,setNodeRef:M,listeners:_,isDragging:R,over:O,setActivatorNodeRef:B,transform:P}=function(t){let{id:r,data:n,disabled:a=!1,attributes:o}=t;const s=Ga("Droppable"),{activators:i,activatorEvent:l,active:c,activeNodeRect:d,ariaDescribedById:u,draggableNodes:m,over:p}=(0,e.useContext)(Cs),{role:f=Ps,roleDescription:h="draggable",tabIndex:g=0}=null!=o?o:{},b=(null==c?void 0:c.id)===r,w=(0,e.useContext)(b?_s:Bs),[v,x]=Ua(),[y,E]=Ua(),k=function(t,r){return(0,e.useMemo)((()=>t.reduce(((e,t)=>{let{eventName:n,handler:a}=t;return e[n]=e=>{a(e,r)},e}),{})),[t,r])}(i,r),N=qa(n);return za((()=>(m.set(r,{id:r,key:s,node:v,activatorNode:y,data:N}),()=>{const e=m.get(r);e&&e.key===s&&m.delete(r)})),[m,r]),{active:c,activatorEvent:l,activeNodeRect:d,attributes:(0,e.useMemo)((()=>({role:f,tabIndex:g,"aria-disabled":a,"aria-pressed":!(!b||f!==Ps)||void 0,"aria-roledescription":h,"aria-describedby":u.draggable})),[a,f,g,b,h,u.draggable]),isDragging:b,listeners:a?void 0:k,node:v,over:p,setNodeRef:x,setActivatorNodeRef:E,transform:w}}({id:i,data:E,attributes:{...$s,...n},disabled:x.draggable}),j=function(){for(var t=arguments.length,r=new Array(t),n=0;ne=>{r.forEach((t=>t(e)))}),r)}(D,M),z=Boolean(C),F=z&&!h&&qs(p)&&qs(b),q=!w&&R,H=q&&F?P:null,U=F?null!=H?H:(null!=l?l:v)({rects:g,activeNodeRect:L,activeIndex:p,overIndex:b,index:y}):null,W=qs(p)&&qs(b)?s({id:i,items:u,activeIndex:p,overIndex:b}):y,V=null==C?void 0:C.id,G=(0,e.useRef)({activeId:V,items:u,newIndex:W,containerId:m}),Z=u!==G.current.items,Y=r({active:C,containerId:m,isDragging:R,isSorting:z,id:i,index:y,items:u,newIndex:G.current.newIndex,previousItems:G.current.items,previousContainerId:G.current.containerId,transition:d,wasDragging:null!=G.current.activeId}),J=function(t){let{disabled:r,index:n,node:a,rect:o}=t;const[s,i]=(0,e.useState)(null),l=(0,e.useRef)(n);return za((()=>{if(!r&&n!==l.current&&a.current){const e=o.current;if(e){const t=Do(a.current,{ignoreTransform:!0}),r={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(r.x||r.y)&&i(r)}}n!==l.current&&(l.current=n)}),[r,n,a,o]),(0,e.useEffect)((()=>{s&&i(null)}),[s]),s}({disabled:!Y,index:y,node:S,rect:N});return(0,e.useEffect)((()=>{z&&G.current.newIndex!==W&&(G.current.newIndex=W),m!==G.current.containerId&&(G.current.containerId=m),u!==G.current.items&&(G.current.items=u)}),[z,W,m,u]),(0,e.useEffect)((()=>{if(V===G.current.activeId)return;if(V&&!G.current.activeId)return void(G.current.activeId=V);const e=setTimeout((()=>{G.current.activeId=V}),50);return()=>clearTimeout(e)}),[V]),{active:C,activeIndex:p,attributes:T,data:E,rect:N,index:y,newIndex:W,items:u,isOver:A,isSorting:z,isDragging:R,listeners:_,node:S,overIndex:b,over:O,setNodeRef:j,setActivatorNodeRef:B,setDroppableNodeRef:D,setDraggableNodeRef:M,transform:null!=J?J:U,transition:J||Z&&G.current.newIndex===y?Ks:q&&!Qa(I)||!d?void 0:z||Y?Ka.Transition.toString({...d,property:Xs}):void 0}}Zo.Down,Zo.Right,Zo.Up,Zo.Left;const ti=({classes:t,showPopup:r,children:n,className:a})=>(0,e.createElement)(e.Fragment,null,n?(0,e.createElement)("span",{onClick:r,className:a},n):(0,e.createElement)("a",{target:"_blank",href:"//wedocs.co/",onClick:r,className:`upgrade-button text-white hover:text-white focus:text-white focus:ring-0 px-3.5 py-2.5 inline-flex items-center rounded-md bg-[#4F46E5] hover:bg-[#443aff] font-semibold text-sm gap-2.5 ${t||""}`},(0,ft.__)("Go Pro – Up to 50% OFF! 🔥","wedocs"))),ri=a.p+"images/slider-1.b05d3c91.jpg",ni=a.p+"images/slider-2.f7822c31.jpg",ai=a.p+"images/slider-3.ab3b7f94.jpg",oi=a.p+"images/slider-4.501d8d95.jpg";var si=a(428);const ii=({children:t,className:r})=>{let[n,a]=(0,bt.useState)(!1);const o=()=>{a(!1)},s=[{src:ri,text:(0,ft.__)("Pop-up slider first image","wedocs")},{src:ni,text:(0,ft.__)("Pop-up slider second image","wedocs")},{src:oi,text:(0,ft.__)("Pop-up slider third image","wedocs")},{src:ai,text:(0,ft.__)("Pop-up slider fourth image","wedocs")}];return(0,e.createElement)(bt.Fragment,null,(0,e.createElement)(ti,{showPopup:e=>{e.preventDefault(),a(!0)},className:r},t),(0,e.createElement)(dr,{appear:!0,show:n,as:bt.Fragment},(0,e.createElement)(Fn,{as:"div",className:"wedocs-document relative z-[99999]",onClose:o},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-black bg-opacity-25 z-[99998]"})),(0,e.createElement)("div",{className:"fixed inset-0 overflow-y-auto z-[99999]"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center"},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},(0,e.createElement)(Fn.Panel,{className:"w-full fixed max-w-[1008px] transform overflow-hidden rounded-md bg-white py-10 px-20 text-left align-middle shadow-xl transition-all"},(0,e.createElement)("div",{className:"modal-body grid grid-flow-col auto-cols-[1fr] items-end mx-auto"},(0,e.createElement)("div",{className:"content-area space-y-[22px]"},(0,e.createElement)("div",{className:"popup-close-button absolute top-10 right-10 cursor-pointer",onClick:o},(0,e.createElement)("svg",{width:"16",height:"16",fill:"#999"},(0,e.createElement)("path",{d:"M.781 16a.78.78 0 0 1-.722-.482.78.78 0 0 1 .169-.851L14.666.229a.78.78 0 0 1 1.105 0 .78.78 0 0 1 0 1.105L1.334 15.771A.78.78 0 0 1 .781 16z "}),(0,e.createElement)("path",{d:"M15.219 16a.78.78 0 0 1-.553-.229L.229 1.334a.78.78 0 0 1 0-1.105.78.78 0 0 1 1.105 0l14.437 14.437a.78.78 0 0 1 .169.851.78.78 0 0 1-.722.482z"}))),(0,e.createElement)(Fn.Title,{as:"h2",className:"text-lg font-medium leading-6 text-gray-900 !mt-1"},(0,e.createElement)("div",{className:"popup-header"},(0,e.createElement)("div",{className:"popup-diamond flex items-center space-x-3"},(0,e.createElement)("div",{className:"diamond-img p-1.5 rounded-md"},(0,e.createElement)("svg",{width:"32",height:"30",fill:"none"},(0,e.createElement)("path",{d:"M22.365 16l-6.286 14 15.455-14h-9.169z",fill:"#fbdd7e"}),(0,e.createElement)("path",{d:"M7.112 8L.624 15.347h9.302L7.112 8z",fill:"#ffcd73"}),(0,e.createElement)("g",{fill:"#fcc471"},(0,e.createElement)("path",{d:"M22.682 15.347h9.302L25.496 8l-2.814 7.347z"}),(0,e.createElement)("path",{d:"M22.682 15.347L16.304 8l-6.378 7.347h12.756z"})),(0,e.createElement)("path",{d:"M16.304 8H7.112l2.814 7.347L16.304 8z",fill:"#ffaa64"}),(0,e.createElement)("path",{d:"M25.496 8h-9.192l6.378 7.347L25.496 8z",fill:"#fbdd7e"}),(0,e.createElement)("path",{d:"M9.455 16l6.624 14 6.624-14H9.455z",fill:"#ffaa64"}),(0,e.createElement)("path",{d:"M.624 16l15.455 14-6.286-14H.624z",fill:"#ff8c5a"}),(0,e.createElement)("path",{d:"M15.889 1v4M8.351 2l3.122 2.828M23.427 2l-3.122 2.828",stroke:"#ff8c5a",strokeLinecap:"round"}))),(0,e.createElement)("h2",{className:"font-orange header-one font-semibold text-3xl text-[#ff9000] leading-[3rem]"},(0,ft.__)("Upgrade to","wedocs"))),(0,e.createElement)("h2",{className:"header-two text-3xl font-normal leading-[3rem]"},"weDocs ",(0,e.createElement)("span",{className:"font-bold"},"Pro")),(0,e.createElement)("h2",{className:"header-three text-[#656668] mb-0.5 pr-16 font-normal text-xl leading-8"},(0,ft.__)("to experience even more Powerful features 🎉","wedocs")))),(0,e.createElement)("div",{className:"popup-list-area mb-[60px] space-y-0.5"},(0,e.createElement)("div",{className:"single-checklist flex"},(0,e.createElement)("div",{className:"check-icon mt-[13px] mr-3.5"},(0,e.createElement)("div",{className:"check-img bg-[#139f84] py-1.5 px-[5px] rounded-full"},(0,e.createElement)("svg",{width:"10",height:"8",fill:"none"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M8.927 1.134c-.33-.33-.865-.33-1.195 0L3.374 5.492 1.897 4.015c-.33-.33-.865-.33-1.195 0s-.33.865 0 1.195l2.075 2.075c.33.33.865.33 1.195 0l4.955-4.955c.33-.33.33-.865 0-1.195zM.992 4.853c.01.012.02.024.031.035l2.075 2.075a.39.39 0 0 0 .552 0l4.955-4.955a.39.39 0 0 0 .031-.517.39.39 0 0 1-.031.517L3.65 6.963a.39.39 0 0 1-.552 0L1.023 4.888c-.011-.011-.022-.023-.031-.035z",fill:"#fff"})))),(0,e.createElement)("div",{className:"check-list"},(0,e.createElement)("p",{className:"text-[#656668] mb-0.5 mt-[13px] pr-8 text-[13px] leading-normal font-normal"},(0,e.createElement)("span",{className:"font-medium text-black"},(0,ft.__)("Role based permission management ","wedocs")),(0,ft.__)("or viewing, managing, and configuring permission settings.","wedocs")))),(0,e.createElement)("div",{className:"single-checklist flex"},(0,e.createElement)("div",{className:"check-icon mt-[13px] mr-3.5"},(0,e.createElement)("div",{className:"check-img bg-[#139f84] py-1.5 px-[5px] rounded-full"},(0,e.createElement)("svg",{width:"10",height:"8",fill:"none"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M8.927 1.134c-.33-.33-.865-.33-1.195 0L3.374 5.492 1.897 4.015c-.33-.33-.865-.33-1.195 0s-.33.865 0 1.195l2.075 2.075c.33.33.865.33 1.195 0l4.955-4.955c.33-.33.33-.865 0-1.195zM.992 4.853c.01.012.02.024.031.035l2.075 2.075a.39.39 0 0 0 .552 0l4.955-4.955a.39.39 0 0 0 .031-.517.39.39 0 0 1-.031.517L3.65 6.963a.39.39 0 0 1-.552 0L1.023 4.888c-.011-.011-.022-.023-.031-.035z",fill:"#fff"})))),(0,e.createElement)("div",{className:"check-list"},(0,e.createElement)("p",{className:"text-[#656668] mb-0.5 mt-[13px] pr-8 text-[13px] leading-normal font-normal"},(0,e.createElement)("span",{className:"font-medium text-black"},(0,ft.__)("Arrange content automatically or manually ","wedocs")),(0,ft.__)("giving you full control over its presentation.","wedocs")))),(0,e.createElement)("div",{className:"single-checklist flex"},(0,e.createElement)("div",{className:"check-icon mt-[13px] mr-3.5"},(0,e.createElement)("div",{className:"check-img bg-[#139f84] py-1.5 px-[5px] rounded-full"},(0,e.createElement)("svg",{width:"10",height:"8",fill:"none"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M8.927 1.134c-.33-.33-.865-.33-1.195 0L3.374 5.492 1.897 4.015c-.33-.33-.865-.33-1.195 0s-.33.865 0 1.195l2.075 2.075c.33.33.865.33 1.195 0l4.955-4.955c.33-.33.33-.865 0-1.195zM.992 4.853c.01.012.02.024.031.035l2.075 2.075a.39.39 0 0 0 .552 0l4.955-4.955a.39.39 0 0 0 .031-.517.39.39 0 0 1-.031.517L3.65 6.963a.39.39 0 0 1-.552 0L1.023 4.888c-.011-.011-.022-.023-.031-.035z",fill:"#fff"})))),(0,e.createElement)("div",{className:"check-list"},(0,e.createElement)("p",{className:"text-[#656668] mb-0.5 mt-[13px] pr-8 text-[13px] leading-normal font-normal"},(0,e.createElement)("span",{className:"font-medium text-black"},(0,ft.__)("Personalize messaging tab with custom titles ","wedocs")),(0,ft.__)("and messages for seamless communication.","wedocs")))),(0,e.createElement)("div",{className:"single-checklist flex"},(0,e.createElement)("div",{className:"check-icon mt-[13px] mr-3.5"},(0,e.createElement)("div",{className:"check-img bg-[#139f84] py-1.5 px-[5px] rounded-full"},(0,e.createElement)("svg",{width:"10",height:"8",fill:"none"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M8.927 1.134c-.33-.33-.865-.33-1.195 0L3.374 5.492 1.897 4.015c-.33-.33-.865-.33-1.195 0s-.33.865 0 1.195l2.075 2.075c.33.33.865.33 1.195 0l4.955-4.955c.33-.33.33-.865 0-1.195zM.992 4.853c.01.012.02.024.031.035l2.075 2.075a.39.39 0 0 0 .552 0l4.955-4.955a.39.39 0 0 0 .031-.517.39.39 0 0 1-.031.517L3.65 6.963a.39.39 0 0 1-.552 0L1.023 4.888c-.011-.011-.022-.023-.031-.035z",fill:"#fff"})))),(0,e.createElement)("div",{className:"check-list"},(0,e.createElement)("p",{className:"text-[#656668] mb-0.5 mt-[13px] pr-14 text-[13px] leading-normal font-normal"},(0,ft.__)("Customize with ","wedocs"),(0,e.createElement)("span",{className:"font-medium text-black"},(0,ft.__)("design widgets, colors, and pre-built options ","wedocs")),(0,ft.__)("for an appealing interface.","wedocs")))),(0,e.createElement)("div",{className:"single-checklist flex"},(0,e.createElement)("div",{className:"check-icon mt-[13px] mr-3.5"},(0,e.createElement)("div",{className:"check-img bg-[#139f84] py-1.5 px-[5px] rounded-full"},(0,e.createElement)("svg",{width:"10",height:"8",fill:"none"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M8.927 1.134c-.33-.33-.865-.33-1.195 0L3.374 5.492 1.897 4.015c-.33-.33-.865-.33-1.195 0s-.33.865 0 1.195l2.075 2.075c.33.33.865.33 1.195 0l4.955-4.955c.33-.33.33-.865 0-1.195zM.992 4.853c.01.012.02.024.031.035l2.075 2.075a.39.39 0 0 0 .552 0l4.955-4.955a.39.39 0 0 0 .031-.517.39.39 0 0 1-.031.517L3.65 6.963a.39.39 0 0 1-.552 0L1.023 4.888c-.011-.011-.022-.023-.031-.035z",fill:"#fff"})))),(0,e.createElement)("div",{className:"check-list"},(0,e.createElement)("p",{className:"text-[#656668] mb-0.5 mt-[13px] pr-14 text-[13px] leading-normal font-normal"},(0,e.createElement)("span",{className:"font-medium text-black"},(0,ft.__)("Get assisted by A.I. Powered Chatbot ","wedocs")),(0,ft.__)("24/7 with updated information and support.","wedocs"))))),(0,e.createElement)(ti,{classes:"px-6 py-3.5 !font-normal !mt-14"})),(0,e.createElement)("div",{className:"modal-window-inner"},(0,e.createElement)("div",{className:"slider-area"},(0,e.createElement)(si.FN,{autoPlay:!0,infiniteLoop:!0,interval:2500,showThumbs:!1,showStatus:!1,showArrows:!1,renderIndicator:(t,r,n,a)=>(0,e.createElement)("span",{key:n,role:"button",style:{marginLeft:12,cursor:"pointer",background:"transparent"},onClick:t,onKeyDown:t,tabIndex:0,"aria-label":`${a} ${n+1}`},(0,e.createElement)("span",{className:(r?"!bg-[#007f69]":"!bg-[#909091]")+" indicator rounded-full w-2 h-2"}))},s?.map(((t,r)=>(0,e.createElement)("img",{key:r,className:"ml-auto !w-[381px] h-[407px]",src:t?.src,alt:t?.text}))))))),(0,e.createElement)("div",{className:"modal-footer mt-8 mb-0.5"},(0,e.createElement)("div",{className:"footer-feature flex justify-between"},(0,e.createElement)("p",{className:"flex items-center"},(0,e.createElement)("svg",{className:"mr-3.5 mt-0.5",width:"10",height:"8"},(0,e.createElement)("path",{fillRule:"evenodd",fill:"#139F84",d:"M8.927 1.134c-.33-.33-.865-.33-1.195 0L3.374 5.492 1.897 4.015c-.33-.33-.865-.33-1.195 0s-.33.865 0 1.195l2.075 2.075c.33.33.865.33 1.195 0l4.955-4.955c.33-.33.33-.865 0-1.195zM.992 4.853c.01.012.02.024.031.035l2.075 2.075a.39.39 0 0 0 .552 0l4.955-4.955a.39.39 0 0 0 .031-.517.39.39 0 0 1-.031.517L3.65 6.963a.39.39 0 0 1-.552 0L1.023 4.888c-.011-.011-.022-.023-.031-.035z"})),(0,ft.__)("10,000+ successful businesses","wedocs")),(0,e.createElement)("p",{className:"flex items-center"},(0,e.createElement)("svg",{className:"mr-3.5 mt-0.5",width:"10",height:"8"},(0,e.createElement)("path",{fill:"#139F84",fillRule:"evenodd",d:"M8.927 1.134c-.33-.33-.865-.33-1.195 0L3.374 5.492 1.897 4.015c-.33-.33-.865-.33-1.195 0s-.33.865 0 1.195l2.075 2.075c.33.33.865.33 1.195 0l4.955-4.955c.33-.33.33-.865 0-1.195zM.992 4.853c.01.012.02.024.031.035l2.075 2.075a.39.39 0 0 0 .552 0l4.955-4.955a.39.39 0 0 0 .031-.517.39.39 0 0 1-.031.517L3.65 6.963a.39.39 0 0 1-.552 0L1.023 4.888c-.011-.011-.022-.023-.031-.035z"})),(0,ft.__)("14 days no questions asked refund policy","wedocs")),(0,e.createElement)("p",{className:"flex items-center"},(0,e.createElement)("svg",{className:"mr-3.5 mt-0.5",width:"10",height:"8"},(0,e.createElement)("path",{fill:"#139F84",fillRule:"evenodd",d:"M8.927 1.134c-.33-.33-.865-.33-1.195 0L3.374 5.492 1.897 4.015c-.33-.33-.865-.33-1.195 0s-.33.865 0 1.195l2.075 2.075c.33.33.865.33 1.195 0l4.955-4.955c.33-.33.33-.865 0-1.195zM.992 4.853c.01.012.02.024.031.035l2.075 2.075a.39.39 0 0 0 .552 0l4.955-4.955a.39.39 0 0 0 .031-.517.39.39 0 0 1-.031.517L3.65 6.963a.39.39 0 0 1-.552 0L1.023 4.888c-.011-.011-.022-.023-.031-.035z"})),(0,ft.__)("Industry leading 24x7 support","wedocs")))))))))))},li=({article:t,section:r,sections:n,setShowArticles:a,isAllowComments:o})=>{const{modified:s,comment_count:i}=t,l=wp?.hooks?.applyFilters("wedocs_check_is_admin_restricted_article",!1,t?.id);return r?(0,e.createElement)("div",{key:r?.id,className:"flex items-center bg-white border-b border-[#D9D9D9] py-4"},(0,e.createElement)("div",{className:"flex items-center w-full group"},(0,e.createElement)("div",{className:"min-w-0 flex-1 sm:flex sm:items-center sm:justify-between"},(0,e.createElement)("div",{className:"flex items-center"},(0,e.createElement)("div",{className:"flex items-center pr-5"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"21",fill:"none",className:"w-auto pr-3.5"},(0,e.createElement)("path",{strokeWidth:"2",stroke:"#6b7280",strokeLinecap:"round",strokeLinejoin:"round",d:"M5 10.02h6m-6 4h6m2 5H3a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707v9.586a2 2 0 0 1-2 2z"})),(0,e.createElement)("a",{target:"_blank",href:Boolean(parseInt(wp?.hooks?.applyFilters("wedocs_check_is_admin_restricted_article",!1,t?.id)))?`${window.location.origin}/?p=${t?.id}`:`${weDocsAdminVars.adminUrl}post.php?post=${t?.id}&action=edit`,className:(Boolean(parseInt(l))?"":"mr-4")+" flex items-center flex-shrink-0 text-base group font-medium text-gray-700 !shadow-none",rel:"noreferrer"},(0,e.createElement)("div",{className:"tooltip mr-6 cursor-pointer before:max-w-xl flex items-center flex-shrink-0 text-base font-medium text-gray-700 !shadow-none z-[9999]","data-tip":gt().decode((0,ft.__)(t?.title?.rendered,"wedocs"))},(0,e.createElement)("span",{className:"hover:underline group-hover:text-black",dangerouslySetInnerHTML:{__html:pt(t?.title?.rendered)}})),"draft"===t?.status&&(0,e.createElement)("div",{className:"docs-draft-status font-medium text-sm text-gray-800 leading-5 bg-[#E3E5E7] rounded-[42px] py-0.5 px-2.5 mr-5"},(0,ft.__)("Draft","wedocs"))),!Boolean(parseInt(l))&&(0,e.createElement)(ii,{className:"mr-4"},(0,e.createElement)("div",{className:"tooltip cursor-pointer flex items-center justify-center w-3.5 h-3.5","data-tip":(0,ft.__)("Create Nested Article (Pro)","wedocs")},(0,e.createElement)("span",{className:"items-center dashicons dashicons-plus-alt2 hidden group-hover:inline-flex text-2xl font-medium text-[#d1d5db] hover:text-indigo-700"}))),(0,e.createElement)("a",{target:"_blank",href:Boolean(parseInt(wp?.hooks?.applyFilters("wedocs_check_is_admin_restricted_article",!1,t?.id)))?`${window.location.origin}/?p=${t?.id}`:`${weDocsAdminVars.adminUrl}post.php?post=${t?.id}&action=edit`,className:(Boolean(parseInt(l))?"":"mr-4")+" flex items-center flex-shrink-0 text-base group font-medium text-gray-700 !shadow-none",rel:"noreferrer"},!Boolean(parseInt(l))&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(La,{type:"article",article:t,sections:n,docId:r?.parent,defaultSection:r,setShowArticles:a,className:"hidden group-hover:block mr-4"},(0,e.createElement)("span",{className:"tooltip cursor-pointer","data-tip":(0,ft.__)("Quick Edit","wedocs")},(0,e.createElement)("svg",{width:"22",fill:"none",height:"22",strokeWidth:"2",viewBox:"0 0 24 24",stroke:"currentColor",className:"tooltip cursor-pointer stroke-gray-300 hover:stroke-indigo-700 -mt-[3px]"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10"})))),(0,e.createElement)("div",{className:"tooltip cursor-pointer flex items-center mr-0.5","data-tip":(0,ft.__)("Edit","wedocs")},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",className:"hidden group-hover:block stroke-gray-300 hover:stroke-indigo-700"},(0,e.createElement)("path",{d:"M13.303 1.322a2.4 2.4 0 1 1 3.394 3.394l-.951.951-3.394-3.394.951-.951zm-2.648 2.649L.6 14.025v3.394h3.394L14.049 7.365l-3.394-3.394z",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))),(0,e.createElement)("div",{className:"tooltip cursor-pointer flex items-center","data-tip":(0,ft.__)("View on Web","wedocs")},(0,e.createElement)("a",{target:"_blank",className:"hidden group-hover:block !shadow-none",rel:"noreferrer",href:t?.link},(0,e.createElement)("svg",{className:"hidden group-hover:block stroke-gray-300 hover:stroke-indigo-700",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none"},(0,e.createElement)("path",{d:"M7.118 3.5H3.452c-1.013 0-1.833.821-1.833 1.833V14.5c0 1.012.821 1.833 1.833 1.833h9.167c1.012 0 1.833-.821 1.833-1.833v-3.667m-3.667-9.167h5.5m0 0v5.5m0-5.5l-9.167 9.167",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))))),(0,e.createElement)("div",{className:"flex items-center gap-5 flex-shrink-0 mt-4 sm:mt-0 sm:ml-5"},(0,e.createElement)("div",{className:"flex items-center gap-10"},wp?.hooks?.applyFilters("wedocs_article_privacy_action",[],t?.id),("on"===o||!Boolean(o))&&(0,e.createElement)("div",{className:"article-comments flex gap-2 items-center"},(0,e.createElement)("svg",{width:"20",height:"19",viewBox:"0 0 20 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M6 9.01904H6.01M10 9.01904H10.01M14 9.01904H14.01M19 9.01904C19 13.4373 14.9706 17.019 10 17.019C8.46073 17.019 7.01172 16.6756 5.74467 16.0701L1 17.019L2.39499 13.2991C1.51156 12.0614 1 10.5933 1 9.01904C1 4.60077 5.02944 1.01904 10 1.01904C14.9706 1.01904 19 4.60077 19 9.01904Z",stroke:"#6B7280",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),(0,e.createElement)("p",{className:"comments-counter font-medium text-sm text-[#6B7280]"},i)),wp?.hooks?.applyFilters("wedocs_article_contributors","",t?.id),(0,e.createElement)("div",{className:"article-updated-date w-44 text-sm text-[#969696]"},(0,ft.sprintf)((0,ft.__)("Updated on %s","wedocs"),(()=>{const e=new Date(s);return e?.toLocaleDateString("en-US",{day:"numeric",month:"short",year:"numeric"})})))))),(0,e.createElement)("div",{className:"ml-8 flex-shrink-0 w-5 h-5"},!Boolean(parseInt(wp?.hooks?.applyFilters("wedocs_check_is_admin_restricted_article",!1,t?.id)))&&(0,e.createElement)(Ta,{type:"article",doc:t,section:r,sections:n,setShowArticles:a})))):null},ci=({sections:t,className:r,children:n,defaultSection:a,docId:o,setShowArticles:s})=>{const i=(0,bt.useRef)(null),[l,c]=(0,bt.useState)(!1),[d,u]=(0,bt.useState)(a?.id||""),[m,p]=(0,bt.useState)({title:{raw:""},parent:d?parseInt(d):"",status:"publish"}),[f,h]=(0,bt.useState)({title:!1,sectionId:!1}),g=(0,ut.useSelect)((e=>e(mt.A).getSectionArticles(parseInt(d))),[]),[b,w]=(0,bt.useState)(!1),v=()=>{c(!1)},x=e=>{p({...m,status:e})};return(0,bt.useEffect)((()=>{p({...m,parent:d}),h({...f,sectionId:!1})}),[d]),(0,bt.useEffect)((()=>{p({...m,menu_order:g?.length})}),[g]),Ia(i),(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("button",{type:"button",onClick:e=>{e.stopPropagation(),c(!0)},className:r},n),(0,e.createElement)(dr,{appear:!0,show:l,as:bt.Fragment},(0,e.createElement)(Fn,{as:"div",className:"wedocs-document relative z-[9999]",onClose:v},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-black bg-opacity-25 z-[50]"})),(0,e.createElement)("div",{className:"fixed inset-0 overflow-y-auto z-[100]"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center"},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},(0,e.createElement)(Fn.Panel,{className:"w-full max-w-md transform rounded-2xl bg-white py-6 px-9 text-center align-middle shadow-xl transition-all overflow-visible"},(0,e.createElement)(Fn.Title,{as:"h3",className:"text-lg font-bold text-gray-900 mb-2"},(0,ft.__)("Enter your article title","wedocs")),(0,e.createElement)("p",{className:"text-gray-500 text-base"},(0,ft.__)("Describe what the article is about","wedocs")),(0,e.createElement)("div",{className:"relative mt-6 mb-4"},(0,e.createElement)("input",{type:"text",name:"doc_title",id:"doc-title",placeholder:(0,ft.__)("Type an article name","wedocs"),required:!0,className:(f.title?"!border-red-500 focus:ring-red-500 focus:border-red-500":"!border-gray-300 focus:ring-blue-500 focus:border-blue-500")+" h-11 bg-gray-50 text-gray-900 text-base !rounded-md block w-full !py-2 !px-3 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white",value:m?.title?.raw,onChange:e=>{p({...m,title:{raw:e.target.value}}),h({...f,title:0===e.target.value.length})}}),f.title&&(0,e.createElement)("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"},(0,e.createElement)(Wn,{className:"h-5 w-5 text-red-500","aria-hidden":"true"}))),void 0===a&&(0,e.createElement)(Aa,{sections:t,selectSectionId:u,defaultSection:a?.title?.rendered,isFormError:f.sectionId,docId:o}),(0,e.createElement)("div",{className:"mt-6 flex items-center justify-center space-x-3.5"},(0,e.createElement)("button",{className:"bg-white hover:bg-gray-200 text-gray-700 font-medium text-base py-2 px-5 border border-gray-300 rounded-md",onClick:v},(0,ft.__)("Cancel","wedocs")),(0,e.createElement)("div",{className:"doc-publish-btn group relative"},(0,e.createElement)("button",{className:"inline-flex justify-between items-center cursor-pointer bg-indigo-600 hover:bg-indigo-800 text-white font-medium text-base py-2 px-5 rounded-md min-w-[122px]",ref:i,disabled:b,onClick:()=>{""!==m.title.raw?d?(w(!0),(0,ut.dispatch)(mt.A).createDoc(m).then((e=>{p({...m,title:{raw:""}}),u(a?.id||""),s&&s(!0),Hn().fire({title:(0,ft.__)("New article added!","wedocs"),text:(0,ft.__)("New article has been added successfully","wedocs"),icon:"success",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:2e3}),v()})).catch((e=>{Hn().fire({title:(0,ft.__)("Error","wedocs"),text:e.message,icon:"error",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:3e3})})).finally((()=>w(!1)))):h({...f,sectionId:!0}):h({...f,title:!0})}},(0,e.createElement)(bt.Fragment,null,"publish"===m?.status?(0,ft.__)("Publish","wedocs"):(0,ft.__)("Draft","wedocs"),b?(0,ft.__)("ing...","wedocs"):"",(0,e.createElement)(Da,{className:"h-5 w-5 text-white mt-[1px]","aria-hidden":"true"}))),(0,e.createElement)("div",{id:"action-menus",className:"hidden cursor-pointer w-44 z-40 bg-white border border-[#DBDBDB] absolute z-10 shadow right-0 py-1 rounded-md mt-0.5 group-hover:block after:content-[''] before:content-[''] after:absolute before:absolute after:w-[13px] before:w-[70%] before:-right-[1px] after:h-[13px] before:h-3 before:mt-3 after:top-[-7px] before:-top-6 after:right-[1.4rem] after:z-[-1] after:bg-white after:border after:border-[#DBDBDB] after:!rotate-45 after:border-r-0 after:border-b-0"},(0,e.createElement)("span",{onClick:()=>x("draft"),className:"flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none"},(0,ft.__)("Create and Draft","wedocs")),(0,e.createElement)("span",{onClick:()=>x("publish"),className:"flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none"},(0,ft.__)("Create and Publish","wedocs"))))))))))))},di=({setItems:t,children:r,setNeedSortingStatus:n,parentId:a=null})=>{const o=function(){for(var t=arguments.length,r=new Array(t),n=0;n[...r].filter((e=>null!=e))),[...r])}((s=as,i={activationConstraint:{delay:150,tolerance:5}},(0,e.useMemo)((()=>({sensor:s,options:null!=i?i:{}})),[s,i])));var s,i;const l=a?Eo:wo;return(0,e.createElement)(Os,{sensors:o,collisionDetection:l,onDragEnd:e=>{const{active:r,over:a}=e;r?.id!==a?.id&&a?.id&&t((e=>{const t=e.find((e=>e?.id===r?.id)),o=e.find((e=>e?.id===a?.id));if(!t||!o)return e;const s=e.indexOf(t),i=e.indexOf(o),l=zs(e,s,i);return l&&(0,ut.dispatch)(mt.A)?.updateNeedSortingStatus({need_sortable_status:!0})?.then((e=>{n(e?.needSorting)})),l}))},id:a?`parent-${a}`:"root-context"},r)},ui=({article:t,articles:r,isAdmin:n,section:a,sections:o,searchValue:s,setShowArticles:i,isAllowComments:l})=>{const{attributes:c,listeners:d,setNodeRef:u,transform:m,transition:p,isDragging:f}=ei({id:t?.id}),h={transform:Ka?.Transform?.toString(m),zIndex:f?9999:100,position:f?"relative":"",transition:p},{modified:g,comment_count:b}=t,w=(0,ut.useSelect)((e=>e(mt.A).getArticleChildrens(parseInt(t?.id))),[t?.id]),[v,x]=(0,bt.useState)(w||[]),[y,E]=(0,bt.useState)(!1),k=(0,ut.useSelect)((e=>e(mt.A).getSortingStatus()),[]),N=(0,ut.useSelect)((e=>e(mt.A).getNeedSortingStatus()),[]);(0,bt.useEffect)((()=>{w&&x(w)}),[w,t?.id]),(0,bt.useEffect)((()=>{E(N)}),[N]),(0,bt.useEffect)((()=>{if(y&&v.length>0){const{dispatch:e}=wp.data;e(mt.A).updateSortingStatus({sortable_status:k,documentations:v}).then((e=>E(e?.sorting))).catch((e=>{console.error("Failed to update sorting status:",e)}))}}),[y,v,k]);const S=s?v?.filter((e=>e?.title?.rendered?.toLowerCase().includes(s.toLowerCase()))):v,A=wp?.hooks?.applyFilters("wedocs_check_is_admin_restricted_article",!1,t?.id);return a?(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("div",{className:"flex items-center !bg-white border-b border-[#D9D9D9] py-4",style:h,...c,ref:u},(0,e.createElement)("div",{className:"pr-3.5 py-0.5 cursor-grab hover:bg-gray-100 rounded transition-colors",...d,style:{touchAction:"none"}},(0,e.createElement)("svg",{width:"20",height:"21",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"pointer-events-none"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M8.5 7.498c0-1.075-.872-1.947-1.947-1.947s-1.947.872-1.947 1.947.872 1.947 1.947 1.947S8.5 8.573 8.5 7.498zm0 6.894c0-1.075-.872-1.947-1.947-1.947s-1.947.872-1.947 1.947.872 1.947 1.947 1.947S8.5 15.467 8.5 14.392zm3-6.894c0-1.075.871-1.947 1.947-1.947s1.947.872 1.947 1.947-.872 1.947-1.947 1.947S11.5 8.573 11.5 7.498zm3.893 6.894c0-1.075-.872-1.947-1.947-1.947s-1.947.872-1.947 1.947.871 1.947 1.947 1.947 1.947-.872 1.947-1.947z",fill:"#d9d9d9"}))),(0,e.createElement)("div",{className:"flex items-center w-full"},(0,e.createElement)("div",{className:"min-w-0 flex-1 sm:flex sm:items-center sm:justify-between group"},(0,e.createElement)("div",{className:"flex items-center"},(0,e.createElement)("div",{className:"flex items-center pr-5"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"21",fill:"none",className:"w-auto pr-3.5"},(0,e.createElement)("path",{strokeWidth:"2",stroke:"#6b7280",strokeLinecap:"round",strokeLinejoin:"round",d:"M5 10.02h6m-6 4h6m2 5H3a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707v9.586a2 2 0 0 1-2 2z"})),(0,e.createElement)("a",{target:"_blank",href:Boolean(parseInt(wp?.hooks?.applyFilters("wedocs_check_is_admin_restricted_article",!1,t?.id)))?`${window.location.origin}/?p=${t?.id}`:`${weDocsAdminVars.adminUrl}post.php?post=${t?.id}&action=edit`,className:"flex items-center flex-shrink-0 text-base group font-medium text-gray-700 !shadow-none",rel:"noreferrer"},(0,e.createElement)("div",{className:"tooltip mr-6 cursor-pointer before:max-w-xl flex items-center flex-shrink-0 text-base font-medium text-gray-700 !shadow-none z-[9999]","data-tip":gt().decode((0,ft.__)(t?.title?.rendered,"wedocs"))},(0,e.createElement)("span",{className:"hover:underline group-hover:text-black",dangerouslySetInnerHTML:{__html:pt(t?.title?.rendered)}}))),"draft"===t?.status&&(0,e.createElement)("div",{className:"docs-draft-status font-medium text-sm text-gray-800 leading-5 bg-[#E3E5E7] rounded-[42px] py-0.5 px-2.5 mr-5"},(0,ft.__)("Draft","wedocs")),(0,e.createElement)(ci,{sections:r,className:"mr-4",defaultSection:t},(0,e.createElement)("div",{className:"tooltip cursor-pointer flex items-center justify-center w-3.5 h-3.5","data-tip":(0,ft.__)("Create","wedocs")},(0,e.createElement)("span",{className:"items-center dashicons dashicons-plus-alt2 hidden group-hover:inline-flex text-2xl font-medium text-[#d1d5db] hover:text-indigo-700"}))),(0,e.createElement)("a",{target:"_blank",href:Boolean(parseInt(wp?.hooks?.applyFilters("wedocs_check_is_admin_restricted_article",!1,t?.id)))?`${window.location.origin}/?p=${t?.id}`:`${weDocsAdminVars.adminUrl}post.php?post=${t?.id}&action=edit`,className:(Boolean(parseInt(A))?"":"mr-4")+" flex items-center flex-shrink-0 text-base group font-medium text-gray-700 !shadow-none",rel:"noreferrer"},!Boolean(parseInt(A))&&(0,e.createElement)(bt.Fragment,null,(0,e.createElement)(La,{article:t,sections:o,className:"hidden group-hover:block mr-4",defaultSection:a,setShowArticles:i},(0,e.createElement)("span",{className:"tooltip cursor-pointer","data-tip":(0,ft.__)("Quick Edit","wedocs")},(0,e.createElement)("svg",{width:"22",fill:"none",height:"22",strokeWidth:"2",viewBox:"0 0 24 24",stroke:"currentColor",className:"tooltip cursor-pointer stroke-gray-300 hover:stroke-indigo-700 -mt-[3px]"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10"})))),(0,e.createElement)("div",{className:"tooltip cursor-pointer flex items-center mr-0.5","data-tip":(0,ft.__)("Edit","wedocs")},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",className:"hidden group-hover:block stroke-gray-300 hover:stroke-indigo-700"},(0,e.createElement)("path",{d:"M13.303 1.322a2.4 2.4 0 1 1 3.394 3.394l-.951.951-3.394-3.394.951-.951zm-2.648 2.649L.6 14.025v3.394h3.394L14.049 7.365l-3.394-3.394z",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))),(0,e.createElement)("div",{className:"tooltip cursor-pointer flex items-center","data-tip":(0,ft.__)("View on Web","wedocs")},(0,e.createElement)("a",{target:"_blank",className:"hidden group-hover:block !shadow-none",rel:"noreferrer",href:t?.link},(0,e.createElement)("svg",{className:"hidden group-hover:block stroke-gray-300 hover:stroke-indigo-700",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none"},(0,e.createElement)("path",{d:"M7.118 3.5H3.452c-1.013 0-1.833.821-1.833 1.833V14.5c0 1.012.821 1.833 1.833 1.833h9.167c1.012 0 1.833-.821 1.833-1.833v-3.667m-3.667-9.167h5.5m0 0v5.5m0-5.5l-9.167 9.167",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))))),(0,e.createElement)("div",{className:"flex items-center gap-5 flex-shrink-0 mt-4 sm:mt-0 sm:ml-5"},(0,e.createElement)("div",{className:"flex items-center gap-3"},wp?.hooks?.applyFilters("wedocs_article_privacy_action",[],t?.id),("on"===l||!Boolean(l))&&(0,e.createElement)("div",{className:"article-comments flex gap-2 items-center"},(0,e.createElement)("svg",{width:"20",height:"19",viewBox:"0 0 20 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M6 9.01904H6.01M10 9.01904H10.01M14 9.01904H14.01M19 9.01904C19 13.4373 14.9706 17.019 10 17.019C8.46073 17.019 7.01172 16.6756 5.74467 16.0701L1 17.019L2.39499 13.2991C1.51156 12.0614 1 10.5933 1 9.01904C1 4.60077 5.02944 1.01904 10 1.01904C14.9706 1.01904 19 4.60077 19 9.01904Z",stroke:"#6B7280",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),(0,e.createElement)("p",{className:"comments-counter font-medium text-sm text-[#6B7280]"},b)),wp?.hooks?.applyFilters("wedocs_article_contributors","",t?.id),(0,e.createElement)("div",{className:"article-updated-date w-44 text-sm text-[#969696]"},(0,ft.sprintf)((0,ft.__)("Updated on %s","wedocs"),(()=>{const e=new Date(g);return e?.toLocaleDateString("en-US",{day:"numeric",month:"short",year:"numeric"})})))))),(0,e.createElement)("div",{className:"ml-8 flex-shrink-0 w-5 h-5"},!Boolean(parseInt(wp?.hooks?.applyFilters("wedocs_check_is_admin_restricted_article",!1,t?.id)))&&(0,e.createElement)(Ta,{type:"article",doc:t,section:a,sections:o,setShowArticles:i})))),!f&&S?.length>0&&(0,e.createElement)("div",{className:"my-1 article-children pl-4 sm:pl-16 bg-white"},S?.map((n=>{const a=wp?.hooks?.applyFilters("wedocs_article_children_component",li,{section:t,sections:r,article:n,setShowArticles:i,isAllowComments:l,searchValue:s,DocActions:Ta,QuickEditModal:La,AddArticleModal:ci,DraggableDocs:di});return(0,e.createElement)(a,{section:t,sections:r,key:n.id,article:n,setShowArticles:i,isAllowComments:l,searchValue:s,DocActions:Ta,QuickEditModal:La,AddArticleModal:ci,DraggableDocs:di,depth:2,maxDepth:7})})))):null};var mi=a(768);const pi=({docs:t,section:r,sections:n,searchValue:a})=>{const o=weDocsAdminVars?.hasManageCap,{id:s,title:i}=r,[l,c]=(0,bt.useState)(s===n?.[0]?.id),{attributes:d,listeners:u,setNodeRef:m,transform:p,transition:f,isDragging:h}=ei({id:r.id}),g={transform:Ka?.Transform?.toString(p),zIndex:h?9999:0,position:h?"relative":"",transition:f},b=(0,ut.useSelect)((e=>e(mt.A).getSectionArticles(parseInt(s))),[]),w=(0,ut.useSelect)((e=>e(mt.A).getSortingStatus()),[]),v=(0,ut.useSelect)((e=>e(mt.A).getNeedSortingStatus()),[]),x=b?.filter((e=>{let r=e?.title?.rendered?.toLowerCase().includes(a.toLowerCase());return r||t?.map((t=>{if(t?.parent!==e?.id)return;let n=t?.title?.rendered?.toLowerCase().includes(a.toLowerCase());return n?r=n:void 0})),r}))||[],[y,E]=(0,bt.useState)([]),[k,N]=(0,bt.useState)(v);(0,bt.useEffect)((()=>{E([...x])}),[b,a]),(0,bt.useEffect)((()=>{k&&(0,ut.dispatch)(mt.A).updateSortingStatus({sortable_status:w,documentations:y}).then((e=>N(e?.sorting))).catch((e=>{}))}),[k]);const S=(0,ut.useSelect)((e=>e(mi.A).getSettings()),[]),{general:{comments:A}}=S;return(0,e.createElement)("div",{className:"space-y-4 mb-3",style:g,...d},(0,e.createElement)("div",{className:"bg-white shadow sm:rounded-md"},(0,e.createElement)("div",{className:"doc-section cursor-pointer px-4 py-5 sm:px-6"},(0,e.createElement)("div",{className:"flex items-center group",onClick:()=>c(!l)},(0,e.createElement)("div",{className:"pr-3.5 py-0.5 cursor-grab"},(0,e.createElement)("svg",{width:"20",height:"21",fill:"none",...u,ref:m,xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{fill:"#d9d9d9",fillRule:"evenodd",d:"M8.5 7.498c0-1.075-.872-1.947-1.947-1.947s-1.947.872-1.947 1.947.872 1.947 1.947 1.947S8.5 8.573 8.5 7.498zm0 6.894c0-1.075-.872-1.947-1.947-1.947s-1.947.872-1.947 1.947.872 1.947 1.947 1.947S8.5 15.467 8.5 14.392zm3-6.894c0-1.075.871-1.947 1.947-1.947s1.947.872 1.947 1.947-.872 1.947-1.947 1.947S11.5 8.573 11.5 7.498zm3.893 6.894c0-1.075-.872-1.947-1.947-1.947s-1.947.872-1.947 1.947.871 1.947 1.947 1.947 1.947-.872 1.947-1.947z"}))),(0,e.createElement)("div",{className:"flex items-center w-full"},(0,e.createElement)("div",{className:"min-w-0 flex-1 sm:flex sm:items-center sm:justify-between"},(0,e.createElement)("div",{className:"flex items-center"},(0,e.createElement)("div",{className:"flex items-center text-sm pr-5"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-auto pr-3.5",width:"20",height:"17",fill:"none"},(0,e.createElement)("path",{d:"M1 3.945v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-6l-2-2H3a2 2 0 0 0-2 2z",stroke:"#6b7280",strokeWidth:"2",strokeLinejoin:"round"})),(0,e.createElement)("a",{target:"_blank",href:`${weDocsAdminVars.adminUrl}post.php?post=${s}&action=edit`,className:"tooltip cursor-pointer before:max-w-xl flex items-center flex-shrink-0 text-base font-medium text-black !shadow-none z-[9980]","data-tip":gt().decode((0,ft.__)(i?.rendered,"wedocs")),rel:"noreferrer"},(0,e.createElement)("span",{className:"hover:underline group-hover:text-black",dangerouslySetInnerHTML:{__html:pt(i?.rendered)}}))),(0,e.createElement)("div",{className:(l?"bg-[#00A1E4]":"bg-gray-400")+" article-counter grid place-content-center text-white font-medium text-sm w-7 h-7 group-hover:bg-[#00A1E4] rounded-full"},x.length),"draft"===r?.status&&(0,e.createElement)("div",{className:"docs-draft-status font-medium text-sm text-gray-800 leading-5 bg-[#E3E5E7] rounded-[42px] py-0.5 px-2.5 !ml-5"},(0,ft.__)("Draft","wedocs")),(0,e.createElement)(ci,{sections:n,className:"ml-6 mr-1",defaultSection:r,setShowArticles:c},(0,e.createElement)("div",{className:"tooltip cursor-pointer flex items-center justify-center w-3.5 h-3.5","data-tip":(0,ft.__)("Create","wedocs")},(0,e.createElement)("span",{className:"items-center dashicons dashicons-plus-alt2 hidden group-hover:inline-flex text-2xl font-medium text-[#d1d5db] hover:text-indigo-700"}))),(0,e.createElement)("a",{target:"_blank",className:"ml-4 hidden group-hover:block !shadow-none",rel:"noreferrer",href:`${weDocsAdminVars.adminUrl}post.php?post=${s}&action=edit`},(0,e.createElement)("span",{className:"tooltip cursor-pointer","data-tip":(0,ft.__)("Edit","wedocs")},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",className:"tooltip cursor-pointer stroke-gray-300 hover:stroke-indigo-700"},(0,e.createElement)("path",{d:"M13.303 1.322a2.4 2.4 0 1 1 3.394 3.394l-.951.951-3.394-3.394.951-.951zm-2.648 2.649L.6 14.025v3.394h3.394L14.049 7.365l-3.394-3.394z",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),(0,e.createElement)("a",{target:"_blank",rel:"noreferrer",href:r?.link,className:"flex items-center flex-shrink-0 text-base font-medium text-black !shadow-none ml-4"},(0,e.createElement)("span",{className:"tooltip cursor-pointer flex items-center","data-tip":(0,ft.__)("View on Web","wedocs")},(0,e.createElement)("svg",{className:"hidden group-hover:block stroke-gray-300 hover:stroke-indigo-700",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none"},(0,e.createElement)("path",{d:"M7.118 3.5H3.452c-1.013 0-1.833.821-1.833 1.833V14.5c0 1.012.821 1.833 1.833 1.833h9.167c1.012 0 1.833-.821 1.833-1.833v-3.667m-3.667-9.167h5.5m0 0v5.5m0-5.5l-9.167 9.167",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),(0,e.createElement)(Un,{docId:r.id,type:"section",classes:"ml-4 hidden group-hover:block"},(0,e.createElement)("span",{className:"tooltip cursor-pointer flex items-center","data-tip":(0,ft.__)("Delete","wedocs")},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-5 h-5 stroke-gray-300 hover:stroke-red-700"},(0,e.createElement)("path",{strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})))))),y&&y.length>0&&(0,e.createElement)("div",{className:"ml-5 flex-shrink-0"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",className:(l?"rotate-90 transform":"")+" group-hover:text-[#00A1E4] h-5 w-5 text-gray-400"},(0,e.createElement)("path",{d:"M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z"}))))),l&&!Boolean(h)&&(0,e.createElement)("div",{className:"mt-3 section-article pl-4 sm:pl-6"},y?.length>0?(0,e.createElement)(di,{setItems:E,setNeedSortingStatus:N},(0,e.createElement)(Zs,{items:y?.map((e=>e.id))||[],strategy:Ws},y?.map((t=>(0,e.createElement)(ui,{key:t.id,article:t,isAdmin:o,section:r,articles:y,sections:n,searchValue:a,setShowArticles:c,isAllowComments:A}))))):null,(0,e.createElement)(ci,{sections:n,defaultSection:r,setShowArticles:c,className:"py-2.5 px-4 mt-7 mb-2 h-fit inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 text-sm text-white hover:text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},(0,e.createElement)("span",{className:"dashicons dashicons-plus-alt2 w-3.5 h-3.5 mr-3 text-base flex items-center"}),(0,ft.__)("Add article","wedocs"))))))},fi=()=>(0,e.createElement)(lt,{to:"/",className:"inline-flex group items-center text-gray-700 hover:text-indigo-700 focus:shadow-none !font-medium !text-base"},(0,e.createElement)("svg",{width:"35",height:"10",viewBox:"0 0 20 10",fill:"none",className:"pr-3 group-hover:!stroke-indigo-700 stroke-gray-500",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M5 9L1 5M1 5L5 1M1 5L19 5",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),(0,ft.__)("All Docs","wedocs"));window.backDocPage=fi;const hi=fi,gi=({parent:t,order:r,className:n,children:a})=>{const o=(0,bt.useRef)(null),[s,i]=(0,bt.useState)(!1),[l,c]=(0,bt.useState)({title:{raw:""},parent:parseInt(t),status:"publish"}),[d,u]=(0,bt.useState)(!1),[m,p]=(0,bt.useState)(!1),f=()=>{i(!1)},h=e=>{c({...l,status:e})};return(0,bt.useEffect)((()=>{c({...l,menu_order:r})}),[r]),Ia(o),(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("button",{onClick:()=>{i(!0)},className:n},a),(0,e.createElement)(dr,{appear:!0,show:s,as:bt.Fragment},(0,e.createElement)(Fn,{as:"div",className:"wedocs-document relative z-[9999]",onClose:f},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-black bg-opacity-25 z-[50]"})),(0,e.createElement)("div",{className:"fixed inset-0 overflow-y-auto z-[100]"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center"},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},(0,e.createElement)(Fn.Panel,{className:"w-full max-w-md transform overflow-visible rounded-2xl bg-white py-6 px-9 text-center align-middle shadow-xl transition-all"},(0,e.createElement)(Fn.Title,{as:"h3",className:"text-lg font-bold text-gray-900 mb-2"},(0,ft.__)("Enter your section title","wedocs")),(0,e.createElement)("p",{className:"text-gray-500 text-base"},(0,ft.__)("Use concise section titles for better navigation","wedocs"),(0,e.createElement)("br",null),(0,ft.__)("E.g., Getting Started","wedocs")),(0,e.createElement)("div",{className:"relative mt-4 mb-5"},(0,e.createElement)("input",{type:"text",name:"doc_title",id:"doc-title",placeholder:(0,ft.__)("Type a section name","wedocs"),required:!0,className:(d?"!border-red-500 focus:ring-red-500 focus:border-red-500":"!border-gray-300 focus:ring-blue-500 focus:border-blue-500")+" h-11 bg-gray-50 text-gray-900 text-base !rounded-md block w-full !py-2 !px-3 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white",value:l.title.raw,onChange:e=>{c({...l,title:{raw:e.target.value}}),u(0===e.target.value.length)}}),d&&(0,e.createElement)("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"},(0,e.createElement)(Wn,{className:"h-5 w-5 text-red-500","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"mt-6 flex items-center justify-center space-x-3.5"},(0,e.createElement)("button",{className:"bg-white hover:bg-gray-200 text-gray-700 font-medium text-base py-2 px-5 border border-gray-300 rounded-md",onClick:f},(0,ft.__)("Cancel","wedocs")),(0,e.createElement)("div",{className:"doc-publish-btn group relative"},(0,e.createElement)("button",{className:"inline-flex justify-between items-center cursor-pointer bg-indigo-600 hover:bg-indigo-800 text-white font-medium text-base py-2 px-5 rounded-md min-w-[122px]",ref:o,disabled:m,onClick:()=>{""!==l.title.raw?(p(!0),(0,ut.dispatch)(mt.A).createDoc(l).then((e=>{c({...l,title:{...l.title,raw:""}}),Hn().fire({title:(0,ft.__)("New section added!","wedocs"),text:(0,ft.__)("New section has been added successfully","wedocs"),icon:"success",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:2e3}),f()})).catch((e=>{Hn().fire({title:(0,ft.__)("Error","wedocs"),text:e.message,icon:"error",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:3e3})})).finally((()=>p(!1)))):u(!0)}},(0,e.createElement)(bt.Fragment,null,"publish"===l?.status?(0,ft.__)("Publish","wedocs"):(0,ft.__)("Draft","wedocs"),m?(0,ft.__)("ing...","wedocs"):"",(0,e.createElement)(Da,{className:"h-5 w-5 text-white mt-[1px]","aria-hidden":"true"}))),(0,e.createElement)("div",{id:"action-menus",className:"hidden cursor-pointer w-44 z-40 bg-white border border-[#DBDBDB] absolute z-10 shadow right-0 py-1 rounded-md mt-0.5 group-hover:block after:content-[''] before:content-[''] after:absolute before:absolute after:w-[13px] before:w-[70%] before:-right-[1px] after:h-[13px] before:h-3 before:mt-3 after:top-[-7px] before:-top-6 after:right-[1.4rem] after:z-[-1] after:bg-white after:border after:border-[#DBDBDB] after:!rotate-45 after:border-r-0 after:border-b-0"},(0,e.createElement)("span",{onClick:()=>h("draft"),className:"flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none"},(0,ft.__)("Create and Draft","wedocs")),(0,e.createElement)("span",{onClick:()=>h("publish"),className:"flex items-center py-2 px-4 text-sm font-medium text-gray-700 hover:bg-indigo-700 hover:text-white !shadow-none"},(0,ft.__)("Create and Publish","wedocs"))))))))))))},bi=({sections:t})=>{const{id:r}=ze(),n=wp.hooks.applyFilters("wedocs_show_documentation_actions",!0);return(0,e.createElement)(e.Fragment,null,n&&(0,e.createElement)("div",{className:"doc-listing-buttons space-x-3.5 mt-10"},(0,e.createElement)(gi,{parent:r,order:t?.length,className:"py-2.5 px-4 h-fit inline-flex items-center rounded-md border border-gray-300 bg-white text-gray-700 hover:text-white hover:bg-indigo-600 px-4 text-sm shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},(0,e.createElement)("span",{className:"dashicons dashicons-plus-alt2 w-3.5 h-3.5 mr-3 text-base flex items-center"}),(0,ft.__)("Add section","wedocs")),(0,e.createElement)(ci,{sections:t,className:"py-2.5 px-4 h-fit inline-flex items-center rounded-md border border-gray-300 bg-white text-gray-700 hover:text-white hover:bg-indigo-600 px-4 text-sm shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},(0,e.createElement)("span",{className:"dashicons dashicons-plus-alt2 w-3.5 h-3.5 mr-3 text-base flex items-center"}),(0,ft.__)("Add article","wedocs"))))},wi=()=>(0,e.createElement)(e.Fragment,null,[0,1,2,3,4].map(((t,r)=>(0,e.createElement)("div",{key:r,className:"space-y-4 mb-3 animate-pulse bg-white border-b rounded-md hover:bg-gray-50"},(0,e.createElement)("div",{className:"bg-white shadow sm:rounded-md"},(0,e.createElement)("div",{className:"doc-section cursor-pointer px-4 py-6 sm:px-6 flex justify-between"},(0,e.createElement)("div",{className:"flex items-center group space-x-10 mt-0.5"},(0,e.createElement)("div",{className:"flex justify-center space-x-2"},(0,e.createElement)("span",{className:"animate-pulse bg-slate-200 rounded h-4 w-6 border-b hover:bg-slate-300"}),(0,e.createElement)("span",{className:"animate-pulse bg-slate-200 rounded h-4 w-6 border-b hover:bg-slate-300"}),(0,e.createElement)("span",{className:"ml-2 animate-pulse bg-slate-200 rounded h-4 w-52 border-b hover:bg-slate-300"}),(0,e.createElement)("div",{className:"article-counter grid place-content-center text-white font-medium text-sm h-4 w-6 bg-[#00A1E4] rounded"})),(0,e.createElement)("div",{className:"flex items-center group space-x-2"},(0,e.createElement)("span",{className:"animate-pulse bg-slate-200 rounded h-4 w-6 border-b hover:bg-slate-300"}),(0,e.createElement)("span",{className:"animate-pulse bg-slate-200 rounded h-4 w-6 border-b hover:bg-slate-300"}))),(0,e.createElement)("span",{className:"animate-pulse bg-slate-200 rounded h-4 w-6 border-b hover:bg-slate-300"}))))))),vi=({handleChange:t,searchValue:r,listing:n})=>((0,bt.useEffect)((()=>{const e=document.createElement("script");return e.src="https://cdn.headwayapp.co/widget.js",e.async=!0,document.body.appendChild(e),e.onload=()=>{window.Headway.init({selector:"#HW_badge_container",account:"7kzePx"})},()=>document.body.removeChild(e)}),[]),(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{id:"HW_badge_container",onClick:()=>{window.Headway.show()},className:"flex items-center justify-center tooltip ml-auto"}),(0,e.createElement)("div",{className:"flex items-center space-x-4 text-xl"},(0,e.createElement)("a",{target:"_blank",href:"https://wedocs.canny.io/ideas",className:"hover:!text-indigo-800 focus:shadow-none"},(0,ft.__)("💡 Feedback","wedocs")),(0,e.createElement)("div",{className:"relative rounded-md shadow-sm ml-auto"},(0,e.createElement)("input",{type:"text",placeholder:(0,ft.sprintf)((0,ft.__)("Search by %s","wedocs"),n?(0,ft.__)("article name","wedocs"):(0,ft.__)("document name","wedocs")),value:r,onChange:t,className:"w-80 h-10 text-sm focus:!border-indigo-300 !pl-4 !rounded-md !border-gray-300"}),r&&r.length>0&&(0,e.createElement)("div",{onClick:e=>t(e,!0),className:"cursor-pointer absolute inset-y-0 right-9 flex items-center pr-3"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,className:"w-5 h-5 stroke-[#6b7280]"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))),(0,e.createElement)("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-4"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,className:"w-6 h-6 stroke-[#6b7280]"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"}))))))),xi=e.forwardRef((function({title:t,titleId:r,...n},a){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":r},n),t?e.createElement("title",{id:r},t):null,e.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"}))})),yi=({className:t,children:r})=>{const[n,a]=(0,bt.useState)(!1),{need_upgrade:o,status:s}=(0,ut.useSelect)((e=>e(mi.A).getUpgradeInfo()),[]);return(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("button",{disabled:"running"===s,onClick:()=>a(!0),className:t},r),(0,e.createElement)(dr,{appear:!0,show:n,as:bt.Fragment},(0,e.createElement)(Fn,{as:"div",className:"wedocs-document relative z-[9999]",onClose:()=>a(!1)},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-black bg-opacity-25 z-[50]"})),(0,e.createElement)("div",{className:"fixed inset-0 overflow-y-auto z-[100]"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4"},(0,e.createElement)(dr.Child,{as:bt.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},(0,e.createElement)(Fn.Panel,{className:"w-[512px] transform overflow-hidden rounded-2xl bg-white py-6 px-9 align-middle shadow-xl transition-all"},(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-[#E7E6FF] sm:mx-0 sm:h-10 sm:w-10"},(0,e.createElement)("svg",{width:"19",height:"19",fill:"none"},(0,e.createElement)("path",{d:"M13.085 4.491c0 1.928-1.542 3.491-3.443 3.491S6.199 6.419 6.199 4.491 7.741 1 9.642 1s3.443 1.563 3.443 3.491z",stroke:"#4f46e5",strokeWidth:"2",strokeLinejoin:"round"}),(0,e.createElement)("mask",{id:"A",fill:"#fff"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M14.997 16.756a3.45 3.45 0 0 0 2.983-.995 3.57 3.57 0 0 0 0-4.996 3.45 3.45 0 0 0-4.927 0 3.56 3.56 0 0 0-.981 3.026L10.05 15.84c-.123.124-.192.293-.192.469v2.03c0 .366.293.662.653.662h2.002a.65.65 0 0 0 .462-.194l2.022-2.05zm-.045-1.36c-.225-.061-.465.004-.63.171l-2.079 2.108h-1.079v-1.094l2.079-2.108a.67.67 0 0 0 .169-.638c-.193-.737-.006-1.556.564-2.135a2.16 2.16 0 0 1 3.081 0c.85.863.85 2.262 0 3.124a2.16 2.16 0 0 1-2.105.572z"})),(0,e.createElement)("g",{fill:"#4f46e5"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M14.997 16.756a3.45 3.45 0 0 0 2.983-.995 3.57 3.57 0 0 0 0-4.996 3.45 3.45 0 0 0-4.927 0 3.56 3.56 0 0 0-.981 3.026L10.05 15.84c-.123.124-.192.293-.192.469v2.03c0 .366.293.662.653.662h2.002a.65.65 0 0 0 .462-.194l2.022-2.05zm-.045-1.36c-.225-.061-.465.004-.63.171l-2.079 2.108h-1.079v-1.094l2.079-2.108a.67.67 0 0 0 .169-.638c-.193-.737-.006-1.556.564-2.135a2.16 2.16 0 0 1 3.081 0c.85.863.85 2.262 0 3.124a2.16 2.16 0 0 1-2.105.572z"}),(0,e.createElement)("path",{d:"M14.997 16.756l.591-3.882-1.98-.302-1.407 1.426 2.796 2.757zm2.983-5.991l-2.797 2.757.002.002 2.795-2.758zm-5.909 3.026l2.795 2.758 1.376-1.395-.287-1.938-3.885.575zM10.05 15.84l-2.795-2.758h-.001l2.796 2.758zm4.902-.443l-1.028 3.79.006.002 1.022-3.792zm-2.709 2.28v3.927h1.643l1.153-1.17-2.796-2.757zm-1.079 0H7.237v3.927h3.927v-3.927zm0-1.094l-2.796-2.758-1.131 1.147v1.611h3.927zm2.248-2.747l-3.799.996.001.005 3.797-1.001zm3.645-2.135l2.797-2.756-.003-.003-2.795 2.759zm-2.651 8.938c2.255.343 4.644-.369 6.37-2.12l-5.592-5.515a.48.48 0 0 1 .404-.13l-1.182 7.764zm6.37-2.12a7.5 7.5 0 0 0-.001-10.512l-5.59 5.517c-.081-.082-.112-.184-.112-.261a.38.38 0 0 1 .111-.259l5.592 5.515zm.001-10.51a7.38 7.38 0 0 0-10.52-.001l5.592 5.515c-.177.18-.486.181-.666-.001l5.594-5.513zm-10.52-.001c-1.722 1.746-2.4 4.13-2.07 6.358l7.769-1.15c.013.086-.01.208-.107.307l-5.592-5.515zm-.981 3.025l-2.022 2.049 5.591 5.516 2.022-2.049-5.591-5.516zm-2.022 2.05c-.853.865-1.323 2.027-1.323 3.226h7.854a3.26 3.26 0 0 1-.939 2.289l-5.592-5.515zm-1.323 3.226v2.03h7.854v-2.03H5.931zm0 2.03c0 2.483 1.999 4.589 4.58 4.589v-7.854a3.27 3.27 0 0 1 3.274 3.265H5.931zm4.58 4.589h2.002v-7.854h-2.002v7.854zm2.002 0c1.232 0 2.403-.497 3.258-1.364l-5.592-5.515a3.28 3.28 0 0 1 2.334-.975v7.854zm3.258-1.364l2.022-2.05-5.592-5.515-2.022 2.05 5.592 5.515zm.208-9.957c-1.603-.435-3.302.036-4.453 1.204l5.592 5.515a3.28 3.28 0 0 1-3.194.861l2.056-7.58zm-4.453 1.204l-2.079 2.108 5.592 5.515 2.079-2.108-5.592-5.515zm.717.939h-1.079v7.854h1.079v-7.854zm2.848 3.927v-1.094H7.237v1.094h7.854zm-1.131 1.664l2.079-2.108-5.592-5.515-2.079 2.108 5.592 5.515zm2.079-2.108c1.146-1.162 1.582-2.837 1.17-4.397l-7.594 2.003a3.26 3.26 0 0 1 .832-3.121l5.592 5.515zm1.172-4.392c.14.533.014 1.16-.438 1.619l-5.592-5.515a6.16 6.16 0 0 0-1.567 5.888l7.597-1.992zm-.438 1.619a1.77 1.77 0 0 1-2.51.001l5.589-5.518c-2.387-2.418-6.283-2.42-8.671.001l5.592 5.515zm-2.513-.002c-.655-.665-.658-1.722.001-2.39l5.592 5.515a6.16 6.16 0 0 0 .002-8.637l-5.595 5.512zm.001-2.39c.46-.466 1.125-.62 1.713-.462l-2.044 7.583c2.042.55 4.323.017 5.924-1.606l-5.592-5.515z",mask:"url(#A)"})),(0,e.createElement)("mask",{id:"B",fill:"#fff"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M14.85 13.939a.97.97 0 0 1 0-1.353c.368-.373.966-.373 1.335 0a.97.97 0 0 1 0 1.353c-.368.373-.966.373-1.335 0z"})),(0,e.createElement)("g",{fill:"#4f46e5"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M14.85 13.939a.97.97 0 0 1 0-1.353c.368-.373.966-.373 1.335 0a.97.97 0 0 1 0 1.353c-.368.373-.966.373-1.335 0z"}),(0,e.createElement)("path",{d:"M17.646 11.182a2.96 2.96 0 0 1 0 4.161l-5.592-5.515c-1.876 1.902-1.876 4.966 0 6.868l5.592-5.515zm0 4.161c-1.17 1.186-3.088 1.186-4.257 0l5.592-5.515c-1.906-1.933-5.021-1.933-6.927 0l5.592 5.515zm-4.257 0a2.96 2.96 0 0 1 0-4.161l5.592 5.515c1.876-1.903 1.876-4.966 0-6.868l-5.592 5.515zm0-4.161c1.17-1.186 3.088-1.186 4.257 0l-5.592 5.515c1.906 1.933 5.021 1.933 6.927 0l-5.592-5.515z",mask:"url(#B)"})),(0,e.createElement)("path",{d:"M8.214 17.482H2a1 1 0 0 1-1-1v-1.278c0-.11.016-.219.061-.319.551-1.227 3.026-3.41 9.179-3.41",stroke:"#4f46e5",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},(0,e.createElement)(Fn.Title,{as:"h3",className:"text-lg font-medium text-gray-900 mb-2"},(0,ft.__)("Are you sure?","wedocs")),(0,e.createElement)("p",{className:"text-gray-500 text-base"},(0,ft.__)("We recommend backing up your database before upgrading to ensure your data is safe. Are you sure you want to run the upgrade now?","wedocs")),(0,e.createElement)("div",{className:"mt-6 space-x-3.5 text-right"},(0,e.createElement)("button",{className:"bg-white hover:bg-gray-200 text-gray-700 font-medium text-base py-2 px-5 border border-gray-300 rounded-md",onClick:()=>a(!1)},(0,ft.__)("Cancel","wedocs")),(0,e.createElement)("button",{className:"bg-indigo-700 hover:bg-indigo-800 text-white font-medium text-base py-2 px-5 rounded-md",onClick:()=>{(0,ut.dispatch)(mi.A).wedocsUpgrade({upgrade:o}).then((e=>{a(!1)})).catch((e=>{Hn().fire({title:(0,ft.__)("Error","wedocs"),text:e.message,icon:"error",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:3e3})}))}},(0,ft.__)("I'm sure","wedocs"))))))))))))},Ei=({status:t})=>{const[r,n]=(0,bt.useState)(!0);return(0,e.createElement)(e.Fragment,null,r&&(0,e.createElement)("div",{className:"border-l-4 border-indigo-600 rounded-md bg-white p-4 mb-7"},(0,e.createElement)("div",{className:"flex space-x-8"},(0,e.createElement)("div",{className:"flex flex-shrink-0 relative items-center"},(0,e.createElement)(xi,{className:"h-5 w-5 mt-0.5 text-indigo-600 bg-white absolute -right-1 -top-1 rounded-full z-[1]","aria-hidden":"true"}),(0,e.createElement)("div",{className:"avatar"},(0,e.createElement)("div",{className:"w-24 h-24 mask mask-squircle"},(0,e.createElement)("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWxuczp2PSJodHRwczovL3ZlY3RhLmlvL25hbm8iIHdpZHRoPSIyNTciIGhlaWdodD0iMjU3IiBmaWxsPSJub25lIj48cGF0aCBmaWxsPSIjM2Q3YWZmIiBkPSJNLjE2OC45ODNoMjU2djI1NmgtMjU2eiIvPjxwYXRoIGZpbGw9InVybCgjQikiIGQ9Ik0uMTY4Ljk4M2gyNTZ2MjU2aC0yNTZ6Ii8+PHBhdGggZD0iTTU3LjY4OCAxNTIuMDk0Yy0yMy45MTggMzAuOTM3LTQ4LjMxMiAxNS45MjQtNTcuNTIgNC41NVYuOTgzaDE3NC4xODRjLTI5LjA3OSAyMy43MDktMzQuNDk3IDM1LjIyMy0zNC40OTcg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uNDc4IiB4Mj0iNjYuNDkxIiB5Mj0iMTkzLjg1OSIgeGxpbms6aHJlZj0iI00iPjxzdG9wIHN0b3AtY29sb3I9IiMxNmNmODkiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNhZGU2OTYiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iTSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiLz48L2RlZnM+PC9zdmc+Cg==",alt:(0,ft.__)("Wedocs Logo","wedocs")})))),(0,e.createElement)("div",{className:"ml-3 w-full"},(0,e.createElement)("div",{className:"flex justify-between items-center"},(0,e.createElement)("h3",{className:"text-base font-semibold"},(0,ft.__)("weDocs Data Update Required","wedocs")),(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",onClick:()=>n(!1),fill:"#4F46E5",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",className:"w-6 h-6 text-white cursor-pointer"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))),(0,e.createElement)("div",{className:"mt-2 text-base"},(0,e.createElement)("p",null,(0,ft.__)("A database upgrade is required. If you don't upgrade, you may experience unexpected behaviour while using weDocs.","wedocs"))),(0,e.createElement)("div",{className:"mt-4"},(0,e.createElement)("div",{className:"-mx-1 -mt-1 flex"},(0,e.createElement)(yi,{className:"px-2 py-1.5 h-fit inline-flex items-center rounded-md border border-transparent bg-indigo-600 ease-in-out duration-200 px-4 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 disabled:opacity-75 disabled:hover:bg-indigo-600"},(0,ft.__)("Updat"+("running"===t?"ing...":"e"),"wedocs"))))))))},ki=()=>(0,e.createElement)("div",{className:"w-full mt-7"},(0,e.createElement)("div",{className:"shadow sm:overflow-hidden sm:rounded-md"},(0,e.createElement)("div",{className:"space-y-6 h-[80vh] flex justify-center align-center bg-white px-4 py-5 sm:p-6"},(0,e.createElement)("div",{className:"w-[600px] text-center self-center mt-1 px-6 py-12"},(0,e.createElement)("h2",{className:"mb-6"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"252",height:"95",fill:"none",className:"mx-auto mb-6"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M89.147 94.491h44.489c19.042-.023 34.469-15.284 34.492-34.115V34.63C168.105 15.8 152.674.542 133.636.516h-9.997C104.597.538 89.169 15.8 89.147 34.63v59.86zm44.489-9.419H98.671V34.634c.019-13.63 11.187-24.677 24.968-24.692h9.997c13.781.019 24.948 11.062 24.967 24.692V60.38c-.015 13.63-11.183 24.673-24.967 24.692z",fill:"#4f46e5"}),(0,e.createElement)("path",{d:"M112.286 59.238h27.347c.086 0 .154.068.154.155v6.651c0 .087-.068.155-.154.155h-27.347c-.087 0-.155-.068-.155-.155v-6.651c0-.087.072-.155.155-.155zm0-14.035h32.694c.087 0 .155.068.155.155v6.651c0 .087-.068.155-.155.155h-32.694c-.087 0-.155-.068-.155-.155v-6.651c0-.083.072-.155.155-.155zm0-14.039h18.052c.087 0 .155.068.155.155v6.651c0 .087-.068.155-.155.155h-18.052c-.087 0-.155-.068-.155-.155v-6.651c0-.083.072-.155.155-.155z",fill:"#000"}),(0,e.createElement)("path",{d:"M47.358 94.491V75.017H6.311c-3.46 0-6.265-2.805-6.265-6.265v-2.641c0-1.161.322-2.298.932-3.285C13.27 42.932 27.016 21.727 39.774 3.206A6.24 6.24 0 0 1 44.917.51h8.021c3.46 0 6.265 2.805 6.265 6.265v57.757H73v10.486H59.202v19.474H47.358zM12.429 64.597h34.996v-53.21h-.808c-10.903 15.761-23.622 35.17-34.188 52.429v.782zm213.884 29.894V75.017h-41.047c-3.46 0-6.265-2.805-6.265-6.265v-2.641a6.25 6.25 0 0 1 .932-3.285c12.292-19.895 26.039-41.099 38.796-59.621A6.24 6.24 0 0 1 223.872.51h8.021c3.46 0 6.265 2.805 6.265 6.265v57.757h13.796v10.486h-13.796v19.474h-11.845zm-34.928-29.894h34.995v-53.21h-.807c-10.903 15.761-23.622 35.17-34.188 52.429v.782z",fill:"#4f46e5"})),(0,e.createElement)("p",{className:"text-[#3B3F4A] font-bold text-2xl mx-auto mb-2"},(0,ft.__)("There’s Nothing here...","wedocs")),(0,e.createElement)("p",{className:"text-[#666B79] text-lg mx-auto"},(0,ft.__)("...maybe the page you’re looking for is not found or never existed.","wedocs"))))))),Ni=()=>{const[t,r]=(0,bt.useState)(!1),n=(0,ut.useSelect)((e=>e(mi.A).getPromoNotice()),[]);return n?t?null:(0,e.createElement)("div",{className:"notice notice-success wedocs-notice flex p-0 relative",id:"wedocs-promotion-notice"},(0,e.createElement)("div",{className:"wedocs-logo-wrapper flex mr-[20px]"},(0,e.createElement)("img",{src:n.logo_url,alt:"weDocs Icon",className:"max-w-none"})),(0,e.createElement)("div",{className:"wedocs-notice-content-wrapper pr-[5px]"},(0,e.createElement)("h3",{className:"text-lg font-semibold mt-4 mb-2"},n.title),(0,e.createElement)("p",null,(0,e.createElement)("b",{className:"text-#3c434a font-[600]"},n.content)),(0,e.createElement)("a",{href:n.action_url,className:"button button-primary"},n.action_title)),(0,e.createElement)("button",{type:"button",className:"notice-dismiss",onClick:()=>{r(!0),(0,ut.dispatch)(mt.A).dismissPromoNotice(n.key).then((e=>{e.success&&((0,ut.dispatch)("wedocs/settings").invalidateResolution("getPromoNotice"),(0,ut.select)(mi.A).getPromoNotice())}))}},(0,e.createElement)("span",{className:"screen-reader-text"},(0,ft.__)("Dismiss this notice","wedocs")))):null},Si=()=>{const{id:t}=ze(),r=(0,ut.useSelect)((e=>e(mt.A).getDocs()),[]),n=r?.find((e=>e?.id===parseInt(t))),a=(0,ut.useSelect)((e=>e(mt.A).getSectionsDocs(parseInt(t))),[]),o=(0,ut.useSelect)((e=>e(mt.A).getLoading()),[]),s=(0,ut.useSelect)((e=>e(mt.A).getSortingStatus()),[]),i=(0,ut.useSelect)((e=>e(mt.A).getNeedSortingStatus()),[]),[l,c]=(0,bt.useState)(""),[d,u]=(0,bt.useState)(i),m=(0,ut.useSelect)((e=>e(mt.A).getDocArticles(parseInt(t))),[]),p=m?.filter((e=>{let t=e?.title?.rendered?.toLowerCase().includes(l.toLowerCase());return t||r?.map((r=>{if(r?.parent!==e?.id)return;let n=r?.title?.rendered?.toLowerCase().includes(l.toLowerCase());return n?t=n:void 0})),t})),{need_upgrade:f,status:h}=(0,ut.useSelect)((e=>e(mi.A).getUpgradeInfo()),[]),g=a?.filter((e=>{const t=[];return p?.forEach((e=>t.includes(e.parent)?"":t.push(e.parent))),t.includes(e.id)?e:e?.title?.rendered?.toLowerCase().includes(l.toLowerCase())}))||[],[b,w]=(0,bt.useState)([]);(0,bt.useEffect)((()=>{w([...g])}),[a,l]);const v=wp.hooks.applyFilters("wedocs_show_documentation_actions",!0),x=(0,ut.useSelect)((e=>e("wedocs/docs").getUserDocIds()),[]),y=Ca(),E=wp.hooks.applyFilters("wedocs_validate_listing_params",!0,x,y,t);return"done"===h&&(0,ut.dispatch)(mi.A).makeUpdateDone().then((e=>{e&&Hn().fire({icon:"success",text:(0,ft.__)("weDocs database has been updated successfully","wedocs"),title:(0,ft.__)("Database Updated!","wedocs"),toast:!0,timer:3e3,position:"bottom-end",showConfirmButton:!1})})).catch((e=>{})),(0,bt.useEffect)((()=>{d&&(0,ut.dispatch)(mt.A).updateSortingStatus({sortable_status:s,documentations:b}).then((e=>u(e?.sorting))).catch((e=>{}))}),[d]),(0,e.createElement)(bt.Fragment,null,E?(0,e.createElement)("div",{className:"docs-section-listing wrap py-5"},!o&&v&&f&&(0,e.createElement)(Ei,{status:h}),(0,e.createElement)("div",{className:"flex items-center justify-between mb-7"},(0,e.createElement)(hi,null),(0,e.createElement)(vi,{listing:!0,searchValue:l,handleChange:(e,t=!1)=>{c(t?"":e.target.value)}})),(0,e.createElement)(Ni,null),(0,e.createElement)(wt,{doc:n}),o&&(0,e.createElement)(wi,null),!o&&(0,e.createElement)(bt.Fragment,null,b.length>0?(0,e.createElement)(di,{setItems:w,setNeedSortingStatus:u},(0,e.createElement)(Zs,{items:b,strategy:Ws},b?.map((t=>(0,e.createElement)(pi,{docs:r,key:t.id,section:t,sections:b,searchValue:l}))))):(0,e.createElement)("div",{className:"space-y-4 mb-3"},(0,e.createElement)("div",{className:"bg-white shadow sm:rounded-md"},(0,e.createElement)("div",{className:"flex items-center cursor-pointer text-base px-4 py-5 sm:px-6"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6 mr-2"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"})),(0,ft.__)("No section or article found for this documentation","wedocs"))))),(0,e.createElement)(bi,{sections:b})):(0,e.createElement)(ki,null))};function Ai({onFocus:t}){let[r,n]=(0,e.useState)(!0),a=jt();return r?e.createElement(gr,{as:"button",type:"button",features:hr.Focusable,onFocus:e=>{e.preventDefault();let r,o=50;r=requestAnimationFrame((function e(){if(o--<=0)r&&cancelAnimationFrame(r);else if(t()){if(cancelAnimationFrame(r),!a.current)return;n(!1)}else r=requestAnimationFrame(e)}))}}):null}const Di=e.createContext(null);function Ci({children:t}){let r=e.useRef({groups:new Map,get(e,t){var r;let n=this.groups.get(e);n||(n=new Map,this.groups.set(e,n));let a=null!=(r=n.get(t))?r:0;return n.set(t,a+1),[Array.from(n.keys()).indexOf(t),function(){let e=n.get(t);e>1?n.set(t,e-1):n.delete(t)}]}});return e.createElement(Di.Provider,{value:r},t)}function Ii(t){let r=e.useContext(Di);if(!r)throw new Error("You must wrap your component in a ");let n=function(){var t,r,n;let a=null!=(n=null==(r=null==(t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:t.ReactCurrentOwner)?void 0:r.current)?n:null;if(!a)return Symbol();let o=[],s=a;for(;s;)o.push(s.index),s=s.return;return"$."+o.join(".")}(),[a,o]=r.current.get(t,n);return e.useEffect((()=>o),[]),a}var Li=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Li||{}),Ti=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(Ti||{}),Mi=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(Mi||{});let _i={0(e,t){var r;let n=Ir(e.tabs,(e=>e.current)),a=Ir(e.panels,(e=>e.current)),o=n.filter((e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))})),s={...e,tabs:n,panels:a};if(t.index<0||t.index>n.length-1){let r=xt(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>xt(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===o.length)return s;let a=xt(r,{0:()=>n.indexOf(o[0]),1:()=>n.indexOf(o[o.length-1])});return{...s,selectedIndex:-1===a?e.selectedIndex:a}}let i=n.slice(0,t.index),l=[...n.slice(t.index),...i].find((e=>o.includes(e)));if(!l)return s;let c=null!=(r=n.indexOf(l))?r:e.selectedIndex;return-1===c&&(c=e.selectedIndex),{...s,selectedIndex:c}},1(e,t){var r;if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],a=Ir([...e.tabs,t.tab],(e=>e.current)),o=null!=(r=a.indexOf(n))?r:e.selectedIndex;return-1===o&&(o=e.selectedIndex),{...e,tabs:a,selectedIndex:o}},2:(e,t)=>({...e,tabs:e.tabs.filter((e=>e!==t.tab))}),3:(e,t)=>e.panels.includes(t.panel)?e:{...e,panels:Ir([...e.panels,t.panel],(e=>e.current))},4:(e,t)=>({...e,panels:e.panels.filter((e=>e!==t.panel))})},Ri=(0,e.createContext)(null);function Oi(t){let r=(0,e.useContext)(Ri);if(null===r){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,Oi),e}return r}Ri.displayName="TabsDataContext";let Bi=(0,e.createContext)(null);function Pi(t){let r=(0,e.useContext)(Bi);if(null===r){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,Pi),e}return r}function ji(e,t){return xt(t.type,_i,e,t)}Bi.displayName="TabsActionsContext";let zi=e.Fragment,Fi=Et.RenderStrategy|Et.Static,qi=Dt((function(t,r){var n,a;let o=fr(),{id:s=`headlessui-tabs-tab-${o}`,...i}=t,{orientation:l,activation:c,selectedIndex:d,tabs:u,panels:m}=Oi("Tab"),p=Pi("Tab"),f=Oi("Tab"),h=(0,e.useRef)(null),g=Ut(h,r);Pt((()=>p.registerTab(h)),[p,h]);let b=Ii("tabs"),w=u.indexOf(h);-1===w&&(w=b);let v=w===d,x=qt((e=>{var t;let r=e();if(r===Er.Success&&"auto"===c){let e=null==(t=br(h))?void 0:t.activeElement,r=f.tabs.findIndex((t=>t.current===e));-1!==r&&p.change(r)}return r})),y=qt((e=>{let t=u.map((e=>e.current)).filter(Boolean);if(e.key===mr.Space||e.key===mr.Enter)return e.preventDefault(),e.stopPropagation(),void p.change(w);switch(e.key){case mr.Home:case mr.PageUp:return e.preventDefault(),e.stopPropagation(),x((()=>Lr(t,yr.First)));case mr.End:case mr.PageDown:return e.preventDefault(),e.stopPropagation(),x((()=>Lr(t,yr.Last)))}return x((()=>xt(l,{vertical:()=>e.key===mr.ArrowUp?Lr(t,yr.Previous|yr.WrapAround):e.key===mr.ArrowDown?Lr(t,yr.Next|yr.WrapAround):Er.Error,horizontal:()=>e.key===mr.ArrowLeft?Lr(t,yr.Previous|yr.WrapAround):e.key===mr.ArrowRight?Lr(t,yr.Next|yr.WrapAround):Er.Error})))===Er.Success?e.preventDefault():void 0})),E=(0,e.useRef)(!1),k=qt((()=>{var e;E.current||(E.current=!0,null==(e=h.current)||e.focus({preventScroll:!0}),p.change(w),Wt((()=>{E.current=!1})))})),N=qt((e=>{e.preventDefault()})),S=(0,e.useMemo)((()=>({selected:v})),[v]);return Nt({ourProps:{ref:g,onKeyDown:y,onMouseDown:N,onClick:k,id:s,role:"tab",type:Jn(t,h),"aria-controls":null==(a=null==(n=m[w])?void 0:n.current)?void 0:a.id,"aria-selected":v,tabIndex:v?0:-1},theirProps:i,slot:S,defaultTag:"button",name:"Tabs.Tab"})})),Hi=Dt((function(t,r){let{defaultIndex:n=0,vertical:a=!1,manual:o=!1,onChange:s,selectedIndex:i=null,...l}=t;const c=a?"vertical":"horizontal",d=o?"manual":"auto";let u=null!==i,m=Ut(r),[p,f]=(0,e.useReducer)(ji,{selectedIndex:null!=i?i:n,tabs:[],panels:[]}),h=(0,e.useMemo)((()=>({selectedIndex:p.selectedIndex})),[p.selectedIndex]),g=zt(s||(()=>{})),b=zt(p.tabs),w=(0,e.useMemo)((()=>({orientation:c,activation:d,...p})),[c,d,p]),v=qt((e=>(f({type:1,tab:e}),()=>f({type:2,tab:e})))),x=qt((e=>(f({type:3,panel:e}),()=>f({type:4,panel:e})))),y=qt((e=>{E.current!==e&&g.current(e),u||f({type:0,index:e})})),E=zt(u?t.selectedIndex:p.selectedIndex),k=(0,e.useMemo)((()=>({registerTab:v,registerPanel:x,change:y})),[]);Pt((()=>{f({type:0,index:null!=i?i:n})}),[i]),Pt((()=>{if(void 0===E.current||p.tabs.length<=0)return;let e=Ir(p.tabs,(e=>e.current));e.some(((e,t)=>p.tabs[t]!==e))&&y(e.indexOf(p.tabs[E.current]))}));let N={ref:m};return e.createElement(Ci,null,e.createElement(Bi.Provider,{value:k},e.createElement(Ri.Provider,{value:w},w.tabs.length<=0&&e.createElement(Ai,{onFocus:()=>{var e,t;for(let r of b.current)if(0===(null==(e=r.current)?void 0:e.tabIndex))return null==(t=r.current)||t.focus(),!0;return!1}}),Nt({ourProps:N,theirProps:l,slot:h,defaultTag:zi,name:"Tabs"}))))})),Ui=Dt((function(e,t){let{orientation:r,selectedIndex:n}=Oi("Tab.List");return Nt({ourProps:{ref:Ut(t),role:"tablist","aria-orientation":r},theirProps:e,slot:{selectedIndex:n},defaultTag:"div",name:"Tabs.List"})})),Wi=Dt((function(t,r){let{selectedIndex:n}=Oi("Tab.Panels");return Nt({ourProps:{ref:Ut(r)},theirProps:t,slot:(0,e.useMemo)((()=>({selectedIndex:n})),[n]),defaultTag:"div",name:"Tabs.Panels"})})),Vi=Dt((function(t,r){var n,a,o,s;let i=fr(),{id:l=`headlessui-tabs-panel-${i}`,tabIndex:c=0,...d}=t,{selectedIndex:u,tabs:m,panels:p}=Oi("Tab.Panel"),f=Pi("Tab.Panel"),h=(0,e.useRef)(null),g=Ut(h,r);Pt((()=>f.registerPanel(h)),[f,h]);let b=Ii("panels"),w=p.indexOf(h);-1===w&&(w=b);let v=w===u,x=(0,e.useMemo)((()=>({selected:v})),[v]),y={ref:g,id:l,role:"tabpanel","aria-labelledby":null==(a=null==(n=m[w])?void 0:n.current)?void 0:a.id,tabIndex:v?c:-1};return v||null!=(o=d.unmount)&&!o||null!=(s=d.static)&&s?Nt({ourProps:y,theirProps:d,slot:x,defaultTag:"div",features:Fi,visible:v,name:"Tabs.Panel"}):e.createElement(gr,{as:"span",...y})})),Gi=Object.assign(qi,{Group:Hi,List:Ui,Panels:Wi,Panel:Vi});const Zi=a.p+"images/pro-badge.aa003c10.png";function Yi(){return(0,e.createElement)("img",{src:Zi})}const Ji=({classes:t,heading:r,description:n})=>{const a=[(0,ft.__)("Role-based permission management","wedocs"),(0,ft.__)("Auto & manual content arrangement","wedocs"),(0,ft.__)("Customizable doc & messaging tab","wedocs"),(0,ft.__)("Pre-built & custom colors","wedocs"),(0,ft.__)("Assistant widget and A.I. Powered Chatbot","wedocs")];return(0,e.createElement)("div",{className:`${t} pro-badge-tooltip w-[270px] z-[2000] py-8 px-6 bg-black left-[50%] text-left absolute -translate-x-1/2 translate-y-[4%] rounded-md text-center after:content-[''] before:content[''] before:absolute before:w-full before:h-4 before:left-0 before:-top-4 after:w-4 after:h-4 after:left-1/2 after:top-0.5 after:rounded-sm after:absolute after:-translate-x-1/2 after:-translate-y-1/2 after:rotate-[45deg] after:bg-black`},r?(0,e.createElement)("h3",{className:"tooltip-header text-white text-sm text-left leading-[20px] mb-4 font-bold"},(0,ft.__)(r,"wedocs")):(0,e.createElement)("h3",{className:"tooltip-header text-white text-sm mb-4 leading-3 font-semibold"},(0,ft.__)("Available in Pro. Unlock & enjoy:","wedocs")),n?(0,e.createElement)("p",{className:"text-sm text-white text-left leading-[21px] font-normal mb-6"},(0,ft.__)(n,"wedocs")):a&&(0,e.createElement)("ul",{className:"text-left mb-7"},a?.map(((t,r)=>(0,e.createElement)("li",{key:r,className:"flex items-center text-sm space-x-2.5 font-normal leading-6 whitespace-break-spaces"},(0,e.createElement)("span",{className:"tooltip-check"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"8",fill:"#139F84"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M8.927 1.134c-.33-.33-.865-.33-1.195 0L3.374 5.492 1.897 4.015c-.33-.33-.865-.33-1.195 0s-.33.865 0 1.195l2.075 2.075c.33.33.865.33 1.195 0l4.955-4.955c.33-.33.33-.865 0-1.195zM.992 4.853c.01.012.02.024.031.035l2.075 2.075a.39.39 0 0 0 .552 0l4.955-4.955a.39.39 0 0 0 .031-.517.39.39 0 0 1-.031.517L3.65 6.963a.39.39 0 0 1-.552 0L1.023 4.888c-.011-.011-.022-.023-.031-.035z"}))),(0,e.createElement)("span",null,t))))),(0,e.createElement)(ti,null))},Qi=({classes:t,position:r="relative",heading:n=null,description:a=null,top:o=null,left:s=null,right:i=null,transform:l=null})=>{const[c,d]=(0,bt.useState)(!1);return(0,e.createElement)("span",{onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),className:`${r} pro-badge cursor-pointer text-white text-[10px] py-[3px] px-[5px] leading-none ml-1.5 ${t||""}`,style:{top:`${o}`,left:`${s}`,right:`${i}`,transform:`${l}`}},(0,e.createElement)(Yi,null),(0,e.createElement)(Ji,{classes:c?"block":"hidden",heading:n,description:a}))},Xi=()=>{let t={general:{text:(0,ft.__)("General","wedocs"),icon:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",stroke:"#6b7280",strokeWidth:"2",strokeLinejoin:"round",className:"-ml-1 mr-4"},(0,e.createElement)("path",{d:"M8.325 2.317c.426-1.756 2.924-1.756 3.351 0 .275 1.135 1.575 1.673 2.572 1.066 1.543-.94 3.31.826 2.369 2.369-.608.997-.069 2.297 1.066 2.572 1.756.426 1.756 2.924 0 3.351-1.135.275-1.673 1.575-1.065 2.572.94 1.543-.826 3.31-2.369 2.369-.997-.608-2.297-.069-2.572 1.066-.426 1.756-2.924 1.756-3.351 0-.275-1.135-1.575-1.673-2.572-1.065-1.543.94-3.31-.826-2.369-2.369.608-.997.069-2.297-1.066-2.572-1.756-.426-1.756-2.924 0-3.351 1.135-.275 1.673-1.575 1.066-2.572-.94-1.543.826-3.31 2.369-2.369.997.608 2.297.069 2.572-1.066z"}),(0,e.createElement)("path",{d:"M13 10a3 3 0 1 1-6 0 3 3 0 1 1 6 0z"}))}};const[r,n]=(0,bt.useState)(!0);return t=wp.hooks.applyFilters("wedocs_settings_menu",t),(0,e.createElement)(bt.Fragment,null,Object.entries(t).map(((t,a)=>(0,e.createElement)(bt.Fragment,{key:a},t[1]?.disabled?(0,e.createElement)(bt.Fragment,null,(0,e.createElement)("div",{onClick:()=>n(!r),className:"disable-tab-item settings-tab w-full focus:outline-0 !text-black aria-selected:text-gray-600 aria-selected:bg-gray-100 hover:text-gray-600 hover:bg-gray-100 group rounded-md px-5 py-3 flex items-center text-sm font-medium cursor-pointer"},t[1]?.icon,(0,e.createElement)("span",{className:"truncate"},t[1]?.text),t[1]?.pro&&(0,e.createElement)(Qi,{classes:"opacity-0 group-hover:opacity-100 transition-opacity"}),(0,e.createElement)("svg",{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"#6b7280",className:"w-5 h-5 ml-auto"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"}))),t[1]?.subtabs&&t[1]?.subtabs?.map(((t,n)=>(0,e.createElement)(Gi,{key:n,disabled:t?.disabled,className:(r?"":"hidden")+" settings-sub-tab w-full focus:outline-0 !text-black aria-selected:text-gray-600 aria-selected:bg-gray-100 hover:text-gray-600 hover:bg-gray-100 group rounded-md px-5 py-3 flex items-center text-sm font-medium"},(0,e.createElement)("div",{className:"pro-sub-settings ml-9 flex items-center w-full"},t?.icon,(0,e.createElement)("span",{className:"truncate"},t?.text),t?.pro&&(0,e.createElement)(Qi,{classes:"opacity-0 group-hover:opacity-100 transition-opacity"})))))):(0,e.createElement)(Gi,{className:"settings-tab w-full focus:outline-0 !text-black aria-selected:text-gray-600 aria-selected:bg-gray-100 hover:text-gray-600 hover:bg-gray-100 group rounded-md px-5 py-3 flex items-center text-sm font-medium cursor-pointer"},t[1]?.icon,(0,e.createElement)("span",{className:"truncate"},(0,ft.__)(t[1]?.text,"wedocs")),t[1]?.pro&&(0,e.createElement)(Qi,{classes:"opacity-0 group-hover:opacity-100 transition-opacity"}))))))},Ki=({settingsSaveHandler:t,saving:r})=>(0,e.createElement)("div",{className:"flex justify-end mt-5 p-5 pr-0"},(0,e.createElement)("button",{type:"button",onClick:t,className:(r?"opacity-50":"opacity-100")+" min-w-[136px] inline-flex shadow shadow-lg shadow-gray-800/30 items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},r?(0,ft.__)("Saving...","wedocs"):(0,ft.__)("Save Settings","wedocs")));let $i=(0,e.createContext)(null);function el(){let t=(0,e.useContext)($i);if(null===t){let e=new Error("You used a