From aa29d50c1a52c12a20b7cb2cebb00ae1583767e3 Mon Sep 17 00:00:00 2001 From: "Md. Asif Hossain Nadim" <90011088+MdAsifHossainNadim@users.noreply.github.com> Date: Fri, 24 May 2024 09:02:47 +0600 Subject: [PATCH 1/4] fix: frontend-search-box-doc-redirection-issue-on-classic-editor (#192) --- assets/js/frontend.js | 4 ++-- includes/Ajax.php | 3 ++- languages/wedocs.pot | 10 +++++----- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/assets/js/frontend.js b/assets/js/frontend.js index d38eb96..6b4b2aa 100755 --- a/assets/js/frontend.js +++ b/assets/js/frontend.js @@ -230,8 +230,8 @@ ulNode.setAttribute( 'id', 'doc-search-list' ); searchDocs.forEach( ( data, index ) => { - let url = data?.article ? data?.article?.guid : - ( data?.section ? data?.section?.guid : data?.parent?.guid ), + let url = data?.article ? data?.article?.permalink : + ( data?.section ? data?.section?.permalink : data?.parent?.permalink ), title = data?.article ? data?.article?.post_title : ( data?.section ? data?.section?.post_title : data?.parent?.post_title ), parentNavigation = data?.section ? diff --git a/includes/Ajax.php b/includes/Ajax.php index cbdf3ca..cd00ec5 100644 --- a/includes/Ajax.php +++ b/includes/Ajax.php @@ -60,7 +60,8 @@ public function get_docs() { // Build a doc tree with separate parents, sections, articles & all docs together. $docs_tree = [ 'all_docs' => $docs ]; foreach ( $docs as $doc ) { - $is_parent = $this->is_a_parent_doc( $doc->ID ); + $is_parent = $this->is_a_parent_doc( $doc->ID ); + $doc->permalink = get_permalink( $doc->ID ); if ( $is_parent ) { // Get parents documentation. $docs_tree['parents'][] = $doc; diff --git a/languages/wedocs.pot b/languages/wedocs.pot index df9b041..4ebc1b7 100644 --- a/languages/wedocs.pot +++ b/languages/wedocs.pot @@ -102,23 +102,23 @@ msgstr "" msgid "Sorry, we have already recorded your feedback!" msgstr "" -#: includes/Ajax.php:126 +#: includes/Ajax.php:127 msgid "Thanks for your feedback!" msgstr "" -#: includes/Ajax.php:147 +#: includes/Ajax.php:148 msgid "Please enter a valid email address." msgstr "" -#: includes/Ajax.php:154 +#: includes/Ajax.php:155 msgid "Please provide a subject line." msgstr "" -#: includes/Ajax.php:158 +#: includes/Ajax.php:159 msgid "Please provide the message details." msgstr "" -#: includes/Ajax.php:163 +#: includes/Ajax.php:164 msgid "Thanks for your feedback." msgstr "" From 3ffbe17c5cc44b3faa1f3d04458e4c3878378f28 Mon Sep 17 00:00:00 2001 From: "Md. Asif Hossain Nadim" <90011088+MdAsifHossainNadim@users.noreply.github.com> Date: Fri, 24 May 2024 09:13:22 +0600 Subject: [PATCH 2/4] feat/documentation-page-search-block-implementation (#191) * enhance: add-controls-for-search-block * enhance: add-block-files * fix/doc-migration-reactivity-isn't working-perfectly (#190) * fix: revamp-docs-delete-api-&-fix-deletion-permission-error * fix: migrated-docs-reactivity-issue * revert: remove-redunded-codes * fix: revamp-docs-delete-api-&-fix-deletion-permission-error (#189) * enhance/add-article-children-list-in-docs-listing-page (#188) * enhance: add-article-children-list-in-docs-listing-page * enhance: add-draggable-option-for-article-children * enhance: add-wedocs-content-extraction-function-&-update-children-getter-function * release: add-releasing-logs-for-version-2-1-2 * fix: releasing-candidate-for-v2.1.2 * fix: releasing-candidate-for-v2-1-2-&-update-plugin-readme-with-screenshots * Update main.yml * Update readme.txt * Update main.yml * Update readme.txt * Update main.yml * Update readme.txt * Update main.yml * release: update-appsero-sdk-&-update-releasing-v2.1.3 * update: placeholder-content-for-search-bar * enhance: add-block-controls-&-make-it-dynamic-in-editor-panel * enhance: fix-search-block-releasing-candidates * enhance: fix-search-block-releasing-candidates * enhance: add-css-root-before-tailwind-&-make-headless-dialog-compatible * fix: make-compatible-search-block-with-block-theme * enhance: update-search-toggle-default-status * fix: button-hover-state-update * update: add-search-compiled-data --------- Co-authored-by: Saif Hassan --- assets/build/block.asset.php | 1 + assets/build/block.js | 1 + assets/build/index.asset.php | 2 +- assets/build/index.css | 1422 +++++++++-------- assets/build/index.js | 6 +- assets/build/store.asset.php | 2 +- assets/build/store.js | 2 +- assets/build/style-block.css | 1 + includes/API.php | 1 - includes/Assets.php | 28 + includes/Shortcode.php | 7 +- languages/wedocs.pot | 219 ++- package-lock.json | 4 +- src/block.js | 1 + .../CustomControls/RadioImageControl.js | 28 + src/blocks/CustomControls/UnitControl.js | 29 + src/blocks/Search/attributes.js | 105 ++ src/blocks/Search/edit.js | 323 ++++ src/blocks/Search/index.js | 20 + src/blocks/Search/save.js | 111 ++ src/blocks/Search/style.scss | 150 ++ src/blocks/index.js | 1 + src/components/AddArticleModal.js | 6 +- src/components/AddDocModal.js | 8 +- src/components/AddSectionModal.js | 6 +- src/components/ConfirmationModal.js | 6 +- src/components/DocActions.js | 2 +- src/components/DocListing/QuickEditModal.js | 2 +- src/components/Documentations/ParentDocs.js | 2 +- .../Modals/MigrationContentMappingModal.js | 6 +- .../Modals/MigrationProgressModal.js | 6 +- .../Modals/MigrationSelectionModal.js | 6 +- .../ProPreviews/common/UpgradePopup.js | 2 +- src/components/RestrictionModal.js | 6 +- src/components/Settings/GeneralSettings.js | 46 + src/data/settings/reducer.js | 1 + tailwind.config.js | 1 + templates/admin/docs.php | 2 +- templates/shortcode.php | 12 +- webpack.config.js | 9 +- 40 files changed, 1829 insertions(+), 764 deletions(-) create mode 100644 assets/build/block.asset.php create mode 100644 assets/build/block.js create mode 100644 assets/build/style-block.css create mode 100644 src/block.js create mode 100644 src/blocks/CustomControls/RadioImageControl.js create mode 100644 src/blocks/CustomControls/UnitControl.js create mode 100644 src/blocks/Search/attributes.js create mode 100644 src/blocks/Search/edit.js create mode 100644 src/blocks/Search/index.js create mode 100644 src/blocks/Search/save.js create mode 100644 src/blocks/Search/style.scss create mode 100644 src/blocks/index.js diff --git a/assets/build/block.asset.php b/assets/build/block.asset.php new file mode 100644 index 0000000..e573e5a --- /dev/null +++ b/assets/build/block.asset.php @@ -0,0 +1 @@ + array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '579b45b72357301838e7'); diff --git a/assets/build/block.js b/assets/build/block.js new file mode 100644 index 0000000..de1872b --- /dev/null +++ b/assets/build/block.js @@ -0,0 +1 @@ +!function(){"use strict";var e,t={994:function(){var e=window.wp.element,t=window.wp.blocks,o=window.wp.i18n,l=window.wp.primitives,a=(0,e.createElement)(l.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)(l.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"})),n=(0,e.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(l.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"})),r=window.wp.blockEditor,i=window.wp.components,d=({label:t,value:l,unit:a,onValueChange:n,onUnitChange:r})=>(0,e.createElement)(i.Flex,null,(0,e.createElement)(i.FlexBlock,null,(0,e.createElement)(i.TextControl,{label:t,value:parseInt(l),onChange:e=>n(e)})),(0,e.createElement)(i.FlexItem,null,(0,e.createElement)(i.SelectControl,{label:(0,o.__)("Unit","wedocs"),value:a,options:[{label:"px",value:"px"},{label:"%",value:"%"}],onChange:e=>r(e)}))),c=({selected:t,options:o,onChange:l})=>(0,e.createElement)(i.BaseControl,null,(0,e.createElement)("div",{className:"radio-image-control-options"},o.map((o=>(0,e.createElement)("div",{key:o.value,className:"radio-image-option"},(0,e.createElement)("input",{type:"radio",id:`radio-image-${o.value}`,value:o.value,checked:t===o.value,onChange:e=>l(e.target.value)}),(0,e.createElement)("label",{htmlFor:`radio-image-${o.value}`},o.icon&&(0,e.createElement)("i",{className:`dashicons ${o.icon}`}),o.img&&(0,e.createElement)("img",{src:o.img,alt:o.label}),o?.svg)))))),s={hideSearch:{type:"boolean",default:!1},searchWidth:{type:"number",default:50},widthUnit:{type:"string",default:"%"},placeholder:{type:"string",default:(0,o.__)("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,t.registerBlockType)("wedocs/wedocs-search",{attributes:s,save:({attributes:t})=>{const{margin:o,bgColor:l,padding:a,btnRadius:n,alignment:i,iconColor:d,widthUnit:c,hoverColor:s,borderType:u,hideSearch:g,btnPadding:h,searchWidth:m,btnPosition:p,placeholder:b,borderColor:v,borderWidth:C,iconBgColor:f,borderRadius:w,svgHoverColor:_,iconHoverColor:E}=t;if(g)return;const y={display:"flex",justifyContent:i},x={border:`${C}px ${u} ${v}`,paddingTop:a?.top,paddingLeft:a?.left,paddingRight:a?.right,borderRadius:`${w}px`,paddingBottom:a?.bottom,"--field-color":l,"--field-bg-color":s},B={top:p?.top,left:p?.left,right:p?.right,bottom:p?.bottom,height:"auto",paddingTop:h?.top,paddingLeft:h?.left,borderRadius:n,paddingRight:h?.right,paddingBottom:h?.bottom,"--field-icon-color":d,"--field-btn-bg-color":f,"--field-icon-hover-color":_,"--field-btn-bg-hover-color":E};return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("form",{method:"get",role:"search",action:weDocsBlockVars?.siteUrl,...r.useBlockProps.save({className:"search-form wedocs-search-form"})},(0,e.createElement)("div",{style:y},(0,e.createElement)("div",{className:"wedocs-search-input",style:{width:m+c,marginTop:o?.top,marginLeft:o?.left,marginRight:o?.right,marginBottom:o?.bottom}},(0,e.createElement)("input",{name:"s",type:"search",style:x,className:"search-field",placeholder:b}),(0,e.createElement)("input",{type:"hidden",name:"post_type",value:"docs"}),(0,e.createElement)("button",{type:"submit",style:B,className:"search-submit"},(0,e.createElement)("svg",{width:"15",height:"16",fill:"none"},(0,e.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:t,setAttributes:l})=>{const s=(0,r.useBlockProps)(),{margin:u,bgColor:g,padding:h,btnRadius:m,alignment:p,iconColor:b,widthUnit:v,hoverColor:C,borderType:f,hideSearch:w,btnPadding:_,searchWidth:E,btnPosition:y,placeholder:x,borderColor:B,borderWidth:F,iconBgColor:k,borderRadius:R,svgHoverColor:M,iconHoverColor:S}=t;console.log("editor panel:",g);const P=[{value:"left",label:(0,o.__)("Align left","wedocs"),svg:(0,e.createElement)("svg",{width:"24",height:"25",fill:"none",strokeWidth:"2",strokeLinecap:"round",stroke:"left"===p?"#007cba":"#939494",strokeLinejoin:"round"},(0,e.createElement)("path",{d:"M8 9.462h12m-12 6h6m-10-9v12"}))},{value:"center",label:(0,o.__)("Align center","wedocs"),svg:(0,e.createElement)("svg",{width:"24",height:"25",fill:"none",strokeWidth:"2",strokeLinecap:"round",stroke:"center"===p?"#007cba":"#939494",strokeLinejoin:"round"},(0,e.createElement)("path",{d:"M18 9.462H6m8.99 6h-6"}),(0,e.createElement)("path",{d:"M12 6.462v12"}))},{value:"right",label:(0,o.__)("Align right","wedocs"),svg:(0,e.createElement)("svg",{width:"24",height:"25",fill:"none",strokeWidth:"2",strokeLinecap:"round",stroke:"right"===p?"#007cba":"#939494",strokeLinejoin:"round"},(0,e.createElement)("path",{d:"M16 9.462H4m12 6h-6m10-9v12"}))}],[L,H]=(0,e.useState)(!1),[z,O]=(0,e.useState)(!1),[T,N]=(0,e.useState)(!1),V={display:"flex",justifyContent:p},W={border:`${F}px ${f} ${B}`,paddingTop:h?.top,background:L?C:g,paddingLeft:h?.left,paddingRight:h?.right,borderRadius:`${R}px`,paddingBottom:h?.bottom},j={top:y?.top,left:y?.left,right:y?.right,bottom:y?.bottom,height:"auto",background:T?S:k,paddingTop:_?.top,paddingLeft:_?.left,borderRadius:m,paddingRight:_?.right,paddingBottom:_?.bottom},$=[{label:(0,o.__)("Solid","wedocs"),value:"solid"},{label:(0,o.__)("Dotted","wedocs"),value:"dotted"},{label:(0,o.__)("Dashed","wedocs"),value:"dashed"},{label:(0,o.__)("Double","wedocs"),value:"double"},{label:(0,o.__)("Groove","wedocs"),value:"groove"},{label:(0,o.__)("Ridge","wedocs"),value:"ridge"},{label:(0,o.__)("Inset","wedocs"),value:"inset"},{label:(0,o.__)("Outset","wedocs"),value:"outset"},{label:(0,o.__)("None","wedocs"),value:"none"},{label:(0,o.__)("Hidden","wedocs"),value:"hidden"}];return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(r.InspectorControls,null,(0,e.createElement)(i.PanelBody,null,(0,e.createElement)(i.ToggleControl,{checked:w,className:"wedocs-search-toggle",label:(0,o.__)("Disable Block","wedocs"),onChange:e=>l({hideSearch:e})})),!w&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(i.PanelBody,{title:(0,o.__)("Color Settings","wedocs"),icon:a,initialOpen:!1,className:"wedocs-search-color-settings"},(0,e.createElement)(r.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:g,label:(0,o.__)("Field Background Color","wedocs"),onChange:e=>l({bgColor:e})},{value:C,label:(0,o.__)("Field Hover Color","wedocs"),onChange:e=>l({hoverColor:e})},{value:B,label:(0,o.__)("Border Color","wedocs"),onChange:e=>l({borderColor:e})},{value:b,label:(0,o.__)("Icon Color","wedocs"),onChange:e=>l({iconColor:e})},{value:k,label:(0,o.__)("Button Color","wedocs"),onChange:e=>l({iconBgColor:e})},{value:S,label:(0,o.__)("Button Hover Color","wedocs"),onChange:e=>l({iconHoverColor:e})},{value:M,label:(0,o.__)("Icon Hover Color","wedocs"),onChange:e=>l({svgHoverColor:e})}]})),(0,e.createElement)(i.PanelBody,{title:(0,o.__)("Search Bar Settings","wedocs"),icon:n},(0,e.createElement)(d,{unit:v,value:E,label:(0,o.__)("Field Width","wedocs"),onUnitChange:e=>l({widthUnit:e}),onValueChange:e=>l({searchWidth:e?parseInt(e):0})}),(0,e.createElement)(i.TextControl,{value:x,label:(0,o.__)("Placeholder","wedocs"),placeholder:(0,o.__)("Search bar placeholder","wedocs"),onChange:e=>l({placeholder:e})}),(0,e.createElement)("p",{style:{fontSize:11}},(0,o.__)("POSITION","wedocs")),(0,e.createElement)(c,{selected:p,options:P,onChange:e=>l({alignment:e})}),(0,e.createElement)(i.__experimentalBoxControl,{resetValues:{top:"14px",left:"22px",right:"22px",bottom:"14px"},values:h,label:(0,o.__)("Field Padding","wedocs"),onChange:e=>l({padding:e})}),(0,e.createElement)(i.__experimentalBoxControl,{resetValues:{top:"0px",left:"0px",right:"0px",bottom:"0px"},values:u,label:(0,o.__)("Field Margin","wedocs"),onChange:e=>l({margin:e})}),(0,e.createElement)(i.RangeControl,{min:0,max:10,value:F,label:(0,o.__)("Border Width","wedocs"),onChange:e=>l({borderWidth:e})}),(0,e.createElement)(i.RangeControl,{min:0,max:100,value:R,label:(0,o.__)("Border Radius","wedocs"),onChange:e=>l({borderRadius:e})}),(0,e.createElement)(i.SelectControl,{value:f,options:$,label:(0,o.__)("Border Type","wedocs"),onChange:e=>l({borderType:e})}),(0,e.createElement)(i.__experimentalBoxControl,{resetValues:{top:"24px",left:"26px",right:"26px",bottom:"24px"},values:_,label:(0,o.__)("Button Padding","wedocs"),onChange:e=>l({btnPadding:e})}),(0,e.createElement)(i.__experimentalBoxControl,{resetValues:{top:"0px",right:"0px",bottom:"10px"},values:y,label:(0,o.__)("Button Margin","wedocs"),onChange:e=>l({btnPosition:e})}),(0,e.createElement)(i.RangeControl,{min:0,max:100,value:m,label:(0,o.__)("Button Radius","wedocs"),onChange:e=>l({btnRadius:e})})))),(0,e.createElement)("div",{...s,style:V},(0,e.createElement)("div",{className:"wedocs-editor-search-input",style:{width:E+v,marginTop:u?.top,marginLeft:u?.left,marginRight:u?.right,marginBottom:u?.bottom}},(0,e.createElement)("input",{readOnly:!0,style:W,className:"search-field",placeholder:x,onMouseEnter:()=>H(!0),onMouseLeave:()=>H(!1)}),(0,e.createElement)("input",{type:"hidden",name:"post_type",value:"docs"}),(0,e.createElement)("button",{type:"submit",style:j,className:"search-submit",onMouseEnter:()=>N(!0),onMouseLeave:()=>N(!1)},(0,e.createElement)("svg",{width:"15",height:"16",fill:"none",onMouseEnter:()=>O(!0),onMouseLeave:()=>O(!1)},(0,e.createElement)("path",{fill:z?M:b,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"})))),w&&(0,e.createElement)("div",{className:"backdrop"})))},icon:(0,e.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},(0,e.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,o.__)("weDocs - Searchbar","wedocs"),keywords:["Search","weDocs search bar","Bar"],category:"widgets",description:(0,o.__)("Simple search forms for easy user guidance for your documentation","wedocs")})}},o={};function l(e){var a=o[e];if(void 0!==a)return a.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,l),n.exports}l.m=t,e=[],l.O=function(t,o,a,n){if(!o){var r=1/0;for(s=0;s=n)&&Object.keys(l.O).every((function(e){return l.O[e](o[d])}))?o.splice(d--,1):(i=!1,n0&&e[s-1][2]>n;s--)e[s]=e[s-1];e[s]=[o,a,n]},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={584:0,442:0};l.O.j=function(t){return 0===e[t]};var t=function(t,o){var a,n,r=o[0],i=o[1],d=o[2],c=0;if(r.some((function(t){return 0!==e[t]}))){for(a in i)l.o(i,a)&&(l.m[a]=i[a]);if(d)var s=d(l)}for(t&&t(o);c array('react', 'react-dom', 'wp-api-fetch', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '7c658741aacc01511b26'); + array('react', 'react-dom', 'wp-api-fetch', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'f4549ed1d2bd8e2e29a6'); diff --git a/assets/build/index.css b/assets/build/index.css index c104a5c..9d67768 100644 --- a/assets/build/index.css +++ b/assets/build/index.css @@ -3010,754 +3010,760 @@ select { right: 7%; box-shadow: 0 0 0 2px hsl(var(--b1)); } -.pointer-events-none { +.wedocs-document :is(.pointer-events-none) { pointer-events: none; } -.invisible { +.wedocs-document :is(.invisible) { visibility: hidden; } -.fixed { +.wedocs-document :is(.fixed) { position: fixed; } -.absolute { +.wedocs-document :is(.absolute) { position: absolute; } -.relative { +.wedocs-document :is(.relative) { position: relative; } -.-inset-px { +.wedocs-document :is(.-inset-px) { inset: -1px; } -.inset-0 { +.wedocs-document :is(.inset-0) { inset: 0px; } -.inset-y-0 { +.wedocs-document :is(.inset-y-0) { top: 0px; bottom: 0px; } -.-right-1 { +.wedocs-document :is(.-right-1) { right: -0.25rem; } -.-right-3 { +.wedocs-document :is(.-right-3) { right: -0.75rem; } -.-right-3\.5 { +.wedocs-document :is(.-right-3\.5) { right: -0.875rem; } -.-top-1 { +.wedocs-document :is(.-top-1) { top: -0.25rem; } -.left-0 { +.wedocs-document :is(.left-0) { left: 0px; } -.left-1\/2 { +.wedocs-document :is(.left-1\/2) { left: 50%; } -.left-\[50\%\] { +.wedocs-document :is(.left-\[50\%\]) { left: 50%; } -.right-0 { +.wedocs-document :is(.right-0) { right: 0px; } -.right-10 { +.wedocs-document :is(.right-10) { right: 2.5rem; } -.right-2 { +.wedocs-document :is(.right-2) { right: 0.5rem; } -.right-2\.5 { +.wedocs-document :is(.right-2\.5) { right: 0.625rem; } -.right-9 { +.wedocs-document :is(.right-9) { right: 2.25rem; } -.top-0 { +.wedocs-document :is(.top-0) { top: 0px; } -.top-1\/2 { +.wedocs-document :is(.top-1\/2) { top: 50%; } -.top-10 { +.wedocs-document :is(.top-10) { top: 2.5rem; } -.top-2 { +.wedocs-document :is(.top-2) { top: 0.5rem; } -.top-2\.5 { +.wedocs-document :is(.top-2\.5) { top: 0.625rem; } -.isolate { +.wedocs-document :is(.isolate) { isolation: isolate; } -.\!z-\[9999\] { +.wedocs-document :is(.\!z-\[9999\]) { z-index: 9999 !important; } -.z-0 { +.wedocs-document :is(.z-0) { z-index: 0; } -.z-10 { +.wedocs-document :is(.z-10) { z-index: 10; } -.z-40 { +.wedocs-document :is(.z-40) { z-index: 40; } -.z-50 { +.wedocs-document :is(.z-50) { z-index: 50; } -.z-\[1\] { +.wedocs-document :is(.z-\[0\]) { + z-index: 0; +} +.wedocs-document :is(.z-\[100\]) { + z-index: 100; +} +.wedocs-document :is(.z-\[1\]) { z-index: 1; } -.z-\[2000\] { +.wedocs-document :is(.z-\[2000\]) { z-index: 2000; } -.z-\[90\] { +.wedocs-document :is(.z-\[50\]) { + z-index: 50; +} +.wedocs-document :is(.z-\[90\]) { z-index: 90; } -.z-\[9980\] { +.wedocs-document :is(.z-\[9980\]) { z-index: 9980; } -.z-\[99999\] { +.wedocs-document :is(.z-\[99999\]) { z-index: 99999; } -.z-\[9999\] { +.wedocs-document :is(.z-\[9999\]) { z-index: 9999; } -.z-\[9\] { - z-index: 9; -} -.col-span-1 { +.wedocs-document :is(.col-span-1) { grid-column: span 1 / span 1; } -.col-span-12 { +.wedocs-document :is(.col-span-12) { grid-column: span 12 / span 12; } -.col-span-4 { +.wedocs-document :is(.col-span-4) { grid-column: span 4 / span 4; } -.float-left { +.wedocs-document :is(.float-left) { float: left; } -.m-0 { +.wedocs-document :is(.m-0) { margin: 0px; } -.-mx-1 { +.wedocs-document :is(.-mx-1) { margin-left: -0.25rem; margin-right: -0.25rem; } -.mx-1 { +.wedocs-document :is(.mx-1) { margin-left: 0.25rem; margin-right: 0.25rem; } -.mx-auto { +.wedocs-document :is(.mx-auto) { margin-left: auto; margin-right: auto; } -.my-1 { +.wedocs-document :is(.my-1) { margin-top: 0.25rem; margin-bottom: 0.25rem; } -.my-1\.5 { +.wedocs-document :is(.my-1\.5) { margin-top: 0.375rem; margin-bottom: 0.375rem; } -.my-24 { +.wedocs-document :is(.my-24) { margin-top: 6rem; margin-bottom: 6rem; } -.my-3 { +.wedocs-document :is(.my-3) { margin-top: 0.75rem; margin-bottom: 0.75rem; } -.my-3\.5 { +.wedocs-document :is(.my-3\.5) { margin-top: 0.875rem; margin-bottom: 0.875rem; } -.my-5 { +.wedocs-document :is(.my-5) { margin-top: 1.25rem; margin-bottom: 1.25rem; } -.my-6 { +.wedocs-document :is(.my-6) { margin-top: 1.5rem; margin-bottom: 1.5rem; } -.my-7 { +.wedocs-document :is(.my-7) { margin-top: 1.75rem; margin-bottom: 1.75rem; } -.\!-mt-\[0\.5px\] { +.wedocs-document :is(.\!-mt-\[0\.5px\]) { margin-top: -0.5px !important; } -.\!mb-0 { +.wedocs-document :is(.\!mb-0) { margin-bottom: 0px !important; } -.\!mb-0\.5 { +.wedocs-document :is(.\!mb-0\.5) { margin-bottom: 0.125rem !important; } -.\!ml-1 { +.wedocs-document :is(.\!ml-1) { margin-left: 0.25rem !important; } -.\!ml-4 { +.wedocs-document :is(.\!ml-4) { margin-left: 1rem !important; } -.\!ml-5 { +.wedocs-document :is(.\!ml-5) { margin-left: 1.25rem !important; } -.\!ml-\[-26px\] { +.wedocs-document :is(.\!ml-\[-26px\]) { margin-left: -26px !important; } -.\!mr-2 { +.wedocs-document :is(.\!mr-2) { margin-right: 0.5rem !important; } -.\!mt-1 { +.wedocs-document :is(.\!mt-1) { margin-top: 0.25rem !important; } -.\!mt-14 { +.wedocs-document :is(.\!mt-14) { margin-top: 3.5rem !important; } -.-ml-0 { +.wedocs-document :is(.-ml-0) { margin-left: -0px; } -.-ml-0\.5 { +.wedocs-document :is(.-ml-0\.5) { margin-left: -0.125rem; } -.-ml-1 { +.wedocs-document :is(.-ml-1) { margin-left: -0.25rem; } -.-mt-0 { +.wedocs-document :is(.-mt-0) { margin-top: -0px; } -.-mt-0\.5 { +.wedocs-document :is(.-mt-0\.5) { margin-top: -0.125rem; } -.-mt-1 { +.wedocs-document :is(.-mt-1) { margin-top: -0.25rem; } -.-mt-3 { +.wedocs-document :is(.-mt-3) { margin-top: -0.75rem; } -.-mt-5 { +.wedocs-document :is(.-mt-5) { margin-top: -1.25rem; } -.-mt-\[15px\] { +.wedocs-document :is(.-mt-\[15px\]) { margin-top: -15px; } -.-mt-\[17px\] { +.wedocs-document :is(.-mt-\[17px\]) { margin-top: -17px; } -.-mt-\[1px\] { +.wedocs-document :is(.-mt-\[1px\]) { margin-top: -1px; } -.-mt-\[3px\] { +.wedocs-document :is(.-mt-\[3px\]) { margin-top: -3px; } -.-mt-px { +.wedocs-document :is(.-mt-px) { margin-top: -1px; } -.mb-0 { +.wedocs-document :is(.mb-0) { margin-bottom: 0px; } -.mb-0\.5 { +.wedocs-document :is(.mb-0\.5) { margin-bottom: 0.125rem; } -.mb-1 { +.wedocs-document :is(.mb-1) { margin-bottom: 0.25rem; } -.mb-1\.5 { +.wedocs-document :is(.mb-1\.5) { margin-bottom: 0.375rem; } -.mb-10 { +.wedocs-document :is(.mb-10) { margin-bottom: 2.5rem; } -.mb-16 { +.wedocs-document :is(.mb-16) { margin-bottom: 4rem; } -.mb-2 { +.wedocs-document :is(.mb-2) { margin-bottom: 0.5rem; } -.mb-2\.5 { +.wedocs-document :is(.mb-2\.5) { margin-bottom: 0.625rem; } -.mb-3 { +.wedocs-document :is(.mb-3) { margin-bottom: 0.75rem; } -.mb-3\.5 { +.wedocs-document :is(.mb-3\.5) { margin-bottom: 0.875rem; } -.mb-4 { +.wedocs-document :is(.mb-4) { margin-bottom: 1rem; } -.mb-5 { +.wedocs-document :is(.mb-5) { margin-bottom: 1.25rem; } -.mb-6 { +.wedocs-document :is(.mb-6) { margin-bottom: 1.5rem; } -.mb-7 { +.wedocs-document :is(.mb-7) { margin-bottom: 1.75rem; } -.mb-8 { +.wedocs-document :is(.mb-8) { margin-bottom: 2rem; } -.mb-\[60px\] { +.wedocs-document :is(.mb-\[60px\]) { margin-bottom: 60px; } -.ml-1 { +.wedocs-document :is(.ml-1) { margin-left: 0.25rem; } -.ml-1\.5 { +.wedocs-document :is(.ml-1\.5) { margin-left: 0.375rem; } -.ml-2 { +.wedocs-document :is(.ml-2) { margin-left: 0.5rem; } -.ml-2\.5 { +.wedocs-document :is(.ml-2\.5) { margin-left: 0.625rem; } -.ml-3 { +.wedocs-document :is(.ml-3) { margin-left: 0.75rem; } -.ml-4 { +.wedocs-document :is(.ml-4) { margin-left: 1rem; } -.ml-5 { +.wedocs-document :is(.ml-5) { margin-left: 1.25rem; } -.ml-6 { +.wedocs-document :is(.ml-6) { margin-left: 1.5rem; } -.ml-8 { +.wedocs-document :is(.ml-8) { margin-left: 2rem; } -.ml-9 { +.wedocs-document :is(.ml-9) { margin-left: 2.25rem; } -.ml-auto { +.wedocs-document :is(.ml-auto) { margin-left: auto; } -.mr-0 { +.wedocs-document :is(.mr-0) { margin-right: 0px; } -.mr-0\.5 { +.wedocs-document :is(.mr-0\.5) { margin-right: 0.125rem; } -.mr-1 { +.wedocs-document :is(.mr-1) { margin-right: 0.25rem; } -.mr-2 { +.wedocs-document :is(.mr-2) { margin-right: 0.5rem; } -.mr-2\.5 { +.wedocs-document :is(.mr-2\.5) { margin-right: 0.625rem; } -.mr-3 { +.wedocs-document :is(.mr-3) { margin-right: 0.75rem; } -.mr-3\.5 { +.wedocs-document :is(.mr-3\.5) { margin-right: 0.875rem; } -.mr-4 { +.wedocs-document :is(.mr-4) { margin-right: 1rem; } -.mr-5 { +.wedocs-document :is(.mr-5) { margin-right: 1.25rem; } -.mr-6 { +.wedocs-document :is(.mr-6) { margin-right: 1.5rem; } -.mr-auto { +.wedocs-document :is(.mr-auto) { margin-right: auto; } -.mt-0 { +.wedocs-document :is(.mt-0) { margin-top: 0px; } -.mt-0\.5 { +.wedocs-document :is(.mt-0\.5) { margin-top: 0.125rem; } -.mt-1 { +.wedocs-document :is(.mt-1) { margin-top: 0.25rem; } -.mt-1\.5 { +.wedocs-document :is(.mt-1\.5) { margin-top: 0.375rem; } -.mt-10 { +.wedocs-document :is(.mt-10) { margin-top: 2.5rem; } -.mt-14 { +.wedocs-document :is(.mt-14) { margin-top: 3.5rem; } -.mt-2 { +.wedocs-document :is(.mt-2) { margin-top: 0.5rem; } -.mt-2\.5 { +.wedocs-document :is(.mt-2\.5) { margin-top: 0.625rem; } -.mt-3 { +.wedocs-document :is(.mt-3) { margin-top: 0.75rem; } -.mt-4 { +.wedocs-document :is(.mt-4) { margin-top: 1rem; } -.mt-5 { +.wedocs-document :is(.mt-5) { margin-top: 1.25rem; } -.mt-6 { +.wedocs-document :is(.mt-6) { margin-top: 1.5rem; } -.mt-7 { +.wedocs-document :is(.mt-7) { margin-top: 1.75rem; } -.mt-8 { +.wedocs-document :is(.mt-8) { margin-top: 2rem; } -.mt-\[-2px\] { +.wedocs-document :is(.mt-\[-2px\]) { margin-top: -2px; } -.mt-\[13px\] { +.wedocs-document :is(.mt-\[13px\]) { margin-top: 13px; } -.mt-\[15px\] { +.wedocs-document :is(.mt-\[15px\]) { margin-top: 15px; } -.mt-\[1px\] { +.wedocs-document :is(.mt-\[1px\]) { margin-top: 1px; } -.mt-\[70px\] { +.wedocs-document :is(.mt-\[70px\]) { margin-top: 70px; } -.box-border { +.wedocs-document :is(.box-border) { box-sizing: border-box; } -.box-content { +.wedocs-document :is(.box-content) { box-sizing: content-box; } -.block { +.wedocs-document :is(.block) { display: block; } -.inline-block { +.wedocs-document :is(.inline-block) { display: inline-block; } -.inline { +.wedocs-document :is(.inline) { display: inline; } -.flex { +.wedocs-document :is(.flex) { display: flex; } -.inline-flex { +.wedocs-document :is(.inline-flex) { display: inline-flex; } -.table { +.wedocs-document :is(.table) { display: table; } -.grid { +.wedocs-document :is(.grid) { display: grid; } -.contents { +.wedocs-document :is(.contents) { display: contents; } -.hidden { +.wedocs-document :is(.hidden) { display: none; } -.h-1 { +.wedocs-document :is(.h-1) { height: 0.25rem; } -.h-1\.5 { +.wedocs-document :is(.h-1\.5) { height: 0.375rem; } -.h-10 { +.wedocs-document :is(.h-10) { height: 2.5rem; } -.h-11 { +.wedocs-document :is(.h-11) { height: 2.75rem; } -.h-12 { +.wedocs-document :is(.h-12) { height: 3rem; } -.h-16 { +.wedocs-document :is(.h-16) { height: 4rem; } -.h-2 { +.wedocs-document :is(.h-2) { height: 0.5rem; } -.h-20 { +.wedocs-document :is(.h-20) { height: 5rem; } -.h-24 { +.wedocs-document :is(.h-24) { height: 6rem; } -.h-3 { +.wedocs-document :is(.h-3) { height: 0.75rem; } -.h-3\.5 { +.wedocs-document :is(.h-3\.5) { height: 0.875rem; } -.h-4 { +.wedocs-document :is(.h-4) { height: 1rem; } -.h-48 { +.wedocs-document :is(.h-48) { height: 12rem; } -.h-5 { +.wedocs-document :is(.h-5) { height: 1.25rem; } -.h-6 { +.wedocs-document :is(.h-6) { height: 1.5rem; } -.h-7 { +.wedocs-document :is(.h-7) { height: 1.75rem; } -.h-8 { +.wedocs-document :is(.h-8) { height: 2rem; } -.h-80 { +.wedocs-document :is(.h-80) { height: 20rem; } -.h-\[100\%\] { +.wedocs-document :is(.h-\[100\%\]) { height: 100%; } -.h-\[135px\] { +.wedocs-document :is(.h-\[135px\]) { height: 135px; } -.h-\[180px\] { +.wedocs-document :is(.h-\[180px\]) { height: 180px; } -.h-\[4\.5rem\] { +.wedocs-document :is(.h-\[4\.5rem\]) { height: 4.5rem; } -.h-\[407px\] { +.wedocs-document :is(.h-\[407px\]) { height: 407px; } -.h-\[50px\] { +.wedocs-document :is(.h-\[50px\]) { height: 50px; } -.h-\[75vh\] { +.wedocs-document :is(.h-\[75vh\]) { height: 75vh; } -.h-\[80vh\] { +.wedocs-document :is(.h-\[80vh\]) { height: 80vh; } -.h-fit { +.wedocs-document :is(.h-fit) { height: -moz-fit-content; height: fit-content; } -.h-full { +.wedocs-document :is(.h-full) { height: 100%; } -.h-px { +.wedocs-document :is(.h-px) { height: 1px; } -.max-h-5 { +.wedocs-document :is(.max-h-5) { max-height: 1.25rem; } -.max-h-60 { +.wedocs-document :is(.max-h-60) { max-height: 15rem; } -.min-h-\[200px\] { +.wedocs-document :is(.min-h-\[200px\]) { min-height: 200px; } -.min-h-\[439px\] { +.wedocs-document :is(.min-h-\[439px\]) { min-height: 439px; } -.min-h-\[500px\] { +.wedocs-document :is(.min-h-\[500px\]) { min-height: 500px; } -.min-h-full { +.wedocs-document :is(.min-h-full) { min-height: 100%; } -.\!w-\[381px\] { +.wedocs-document :is(.\!w-\[381px\]) { width: 381px !important; } -.\!w-\[600px\] { +.wedocs-document :is(.\!w-\[600px\]) { width: 600px !important; } -.\!w-full { +.wedocs-document :is(.\!w-full) { width: 100% !important; } -.w-0 { +.wedocs-document :is(.w-0) { width: 0px; } -.w-10 { +.wedocs-document :is(.w-10) { width: 2.5rem; } -.w-12 { +.wedocs-document :is(.w-12) { width: 3rem; } -.w-16 { +.wedocs-document :is(.w-16) { width: 4rem; } -.w-2 { +.wedocs-document :is(.w-2) { width: 0.5rem; } -.w-24 { +.wedocs-document :is(.w-24) { width: 6rem; } -.w-3 { +.wedocs-document :is(.w-3) { width: 0.75rem; } -.w-3\.5 { +.wedocs-document :is(.w-3\.5) { width: 0.875rem; } -.w-32 { +.wedocs-document :is(.w-32) { width: 8rem; } -.w-4 { +.wedocs-document :is(.w-4) { width: 1rem; } -.w-40 { +.wedocs-document :is(.w-40) { width: 10rem; } -.w-44 { +.wedocs-document :is(.w-44) { width: 11rem; } -.w-5 { +.wedocs-document :is(.w-5) { width: 1.25rem; } -.w-52 { +.wedocs-document :is(.w-52) { width: 13rem; } -.w-56 { +.wedocs-document :is(.w-56) { width: 14rem; } -.w-6 { +.wedocs-document :is(.w-6) { width: 1.5rem; } -.w-64 { +.wedocs-document :is(.w-64) { width: 16rem; } -.w-7 { +.wedocs-document :is(.w-7) { width: 1.75rem; } -.w-8 { +.wedocs-document :is(.w-8) { width: 2rem; } -.w-80 { +.wedocs-document :is(.w-80) { width: 20rem; } -.w-9 { +.wedocs-document :is(.w-9) { width: 2.25rem; } -.w-\[108px\] { +.wedocs-document :is(.w-\[108px\]) { width: 108px; } -.w-\[160px\] { +.wedocs-document :is(.w-\[160px\]) { width: 160px; } -.w-\[26rem\] { +.wedocs-document :is(.w-\[26rem\]) { width: 26rem; } -.w-\[270px\] { +.wedocs-document :is(.w-\[270px\]) { width: 270px; } -.w-\[310px\] { +.wedocs-document :is(.w-\[310px\]) { width: 310px; } -.w-\[340px\] { +.wedocs-document :is(.w-\[340px\]) { width: 340px; } -.w-\[5\%\] { +.wedocs-document :is(.w-\[5\%\]) { width: 5%; } -.w-\[500px\] { +.wedocs-document :is(.w-\[500px\]) { width: 500px; } -.w-\[512px\] { +.wedocs-document :is(.w-\[512px\]) { width: 512px; } -.w-\[600px\] { +.wedocs-document :is(.w-\[600px\]) { width: 600px; } -.w-\[72px\] { +.wedocs-document :is(.w-\[72px\]) { width: 72px; } -.w-\[800px\] { +.wedocs-document :is(.w-\[800px\]) { width: 800px; } -.w-\[900px\] { +.wedocs-document :is(.w-\[900px\]) { width: 900px; } -.w-auto { +.wedocs-document :is(.w-auto) { width: auto; } -.w-fit { +.wedocs-document :is(.w-fit) { width: -moz-fit-content; width: fit-content; } -.w-full { +.wedocs-document :is(.w-full) { width: 100%; } -.min-w-0 { +.wedocs-document :is(.min-w-0) { min-width: 0px; } -.min-w-\[122px\] { +.wedocs-document :is(.min-w-\[122px\]) { min-width: 122px; } -.min-w-\[136px\] { +.wedocs-document :is(.min-w-\[136px\]) { min-width: 136px; } -.min-w-\[150px\] { +.wedocs-document :is(.min-w-\[150px\]) { min-width: 150px; } -.max-w-\[1008px\] { +.wedocs-document :is(.max-w-\[1008px\]) { max-width: 1008px; } -.max-w-\[490px\] { +.wedocs-document :is(.max-w-\[490px\]) { max-width: 490px; } -.max-w-md { +.wedocs-document :is(.max-w-md) { max-width: 28rem; } -.flex-1 { +.wedocs-document :is(.flex-1) { flex: 1 1 0%; } -.flex-\[1\.25\] { +.wedocs-document :is(.flex-\[1\.25\]) { flex: 1.25; } -.flex-\[3\] { +.wedocs-document :is(.flex-\[3\]) { flex: 3; } -.flex-none { +.wedocs-document :is(.flex-none) { flex: none; } -.flex-shrink-0 { +.wedocs-document :is(.flex-shrink-0) { flex-shrink: 0; } -.border-collapse { +.wedocs-document :is(.border-collapse) { border-collapse: collapse; } -.-translate-x-1\/2 { +.wedocs-document :is(.-translate-x-1\/2) { --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)); } -.-translate-y-1\/2 { +.wedocs-document :is(.-translate-y-1\/2) { --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)); } -.translate-x-0 { +.wedocs-document :is(.translate-x-0) { --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)); } -.translate-x-5 { +.wedocs-document :is(.translate-x-5) { --tw-translate-x: 1.25rem; 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)); } -.translate-y-\[4\%\] { +.wedocs-document :is(.translate-y-\[4\%\]) { --tw-translate-y: 4%; 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)); } -.rotate-90 { +.wedocs-document :is(.rotate-90) { --tw-rotate: 90deg; 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)); } -.scale-100 { +.wedocs-document :is(.scale-100) { --tw-scale-x: 1; --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)); } -.scale-95 { +.wedocs-document :is(.scale-95) { --tw-scale-x: .95; --tw-scale-y: .95; 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)); } -.transform { +.wedocs-document :is(.transform) { 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)); } @keyframes pulse { @@ -3766,1161 +3772,1161 @@ select { opacity: .5; } } -.animate-pulse { +.wedocs-document :is(.animate-pulse) { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; } -.cursor-grab { +.wedocs-document :is(.cursor-grab) { cursor: grab; } -.cursor-pointer { +.wedocs-document :is(.cursor-pointer) { cursor: pointer; } -.select-none { +.wedocs-document :is(.select-none) { -webkit-user-select: none; -moz-user-select: none; user-select: none; } -.auto-cols-\[1fr\] { +.wedocs-document :is(.auto-cols-\[1fr\]) { grid-auto-columns: 1fr; } -.grid-flow-col { +.wedocs-document :is(.grid-flow-col) { grid-auto-flow: column; } -.auto-rows-max { +.wedocs-document :is(.auto-rows-max) { grid-auto-rows: max-content; } -.grid-cols-1 { +.wedocs-document :is(.grid-cols-1) { grid-template-columns: repeat(1, minmax(0, 1fr)); } -.grid-cols-3 { +.wedocs-document :is(.grid-cols-3) { grid-template-columns: repeat(3, minmax(0, 1fr)); } -.grid-cols-4 { +.wedocs-document :is(.grid-cols-4) { grid-template-columns: repeat(4, minmax(0, 1fr)); } -.flex-col { +.wedocs-document :is(.flex-col) { flex-direction: column; } -.flex-wrap { +.wedocs-document :is(.flex-wrap) { flex-wrap: wrap; } -.place-content-center { +.wedocs-document :is(.place-content-center) { place-content: center; } -.items-start { +.wedocs-document :is(.items-start) { align-items: flex-start; } -.items-end { +.wedocs-document :is(.items-end) { align-items: flex-end; } -.items-center { +.wedocs-document :is(.items-center) { align-items: center; } -.justify-end { +.wedocs-document :is(.justify-end) { justify-content: flex-end; } -.justify-center { +.wedocs-document :is(.justify-center) { justify-content: center; } -.justify-between { +.wedocs-document :is(.justify-between) { justify-content: space-between; } -.\!gap-6 { +.wedocs-document :is(.\!gap-6) { gap: 1.5rem !important; } -.gap-1 { +.wedocs-document :is(.gap-1) { gap: 0.25rem; } -.gap-10 { +.wedocs-document :is(.gap-10) { gap: 2.5rem; } -.gap-2 { +.wedocs-document :is(.gap-2) { gap: 0.5rem; } -.gap-2\.5 { +.wedocs-document :is(.gap-2\.5) { gap: 0.625rem; } -.gap-24 { +.wedocs-document :is(.gap-24) { gap: 6rem; } -.gap-3 { +.wedocs-document :is(.gap-3) { gap: 0.75rem; } -.gap-4 { +.wedocs-document :is(.gap-4) { gap: 1rem; } -.gap-5 { +.wedocs-document :is(.gap-5) { gap: 1.25rem; } -.gap-7 { +.wedocs-document :is(.gap-7) { gap: 1.75rem; } -.-space-x-2 > :not([hidden]) ~ :not([hidden]) { +.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)); margin-left: calc(-0.5rem * calc(1 - var(--tw-space-x-reverse))); } -.space-x-1 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.space-x-1 > :not([hidden]) ~ :not([hidden])) { --tw-space-x-reverse: 0; margin-right: calc(0.25rem * var(--tw-space-x-reverse)); margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse))); } -.space-x-10 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.space-x-10 > :not([hidden]) ~ :not([hidden])) { --tw-space-x-reverse: 0; margin-right: calc(2.5rem * var(--tw-space-x-reverse)); margin-left: calc(2.5rem * calc(1 - var(--tw-space-x-reverse))); } -.space-x-2 > :not([hidden]) ~ :not([hidden]) { +.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)); margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse))); } -.space-x-2\.5 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.space-x-2\.5 > :not([hidden]) ~ :not([hidden])) { --tw-space-x-reverse: 0; margin-right: calc(0.625rem * var(--tw-space-x-reverse)); margin-left: calc(0.625rem * calc(1 - var(--tw-space-x-reverse))); } -.space-x-3 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.space-x-3 > :not([hidden]) ~ :not([hidden])) { --tw-space-x-reverse: 0; margin-right: calc(0.75rem * var(--tw-space-x-reverse)); margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse))); } -.space-x-3\.5 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.space-x-3\.5 > :not([hidden]) ~ :not([hidden])) { --tw-space-x-reverse: 0; margin-right: calc(0.875rem * var(--tw-space-x-reverse)); margin-left: calc(0.875rem * calc(1 - var(--tw-space-x-reverse))); } -.space-x-4 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.space-x-4 > :not([hidden]) ~ :not([hidden])) { --tw-space-x-reverse: 0; margin-right: calc(1rem * var(--tw-space-x-reverse)); margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))); } -.space-x-5 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.space-x-5 > :not([hidden]) ~ :not([hidden])) { --tw-space-x-reverse: 0; margin-right: calc(1.25rem * var(--tw-space-x-reverse)); margin-left: calc(1.25rem * calc(1 - var(--tw-space-x-reverse))); } -.space-x-6 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.space-x-6 > :not([hidden]) ~ :not([hidden])) { --tw-space-x-reverse: 0; margin-right: calc(1.5rem * var(--tw-space-x-reverse)); margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse))); } -.space-x-8 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.space-x-8 > :not([hidden]) ~ :not([hidden])) { --tw-space-x-reverse: 0; margin-right: calc(2rem * var(--tw-space-x-reverse)); margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse))); } -.space-y-0 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.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)); } -.space-y-0\.5 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.space-y-0\.5 > :not([hidden]) ~ :not([hidden])) { --tw-space-y-reverse: 0; margin-top: calc(0.125rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.125rem * var(--tw-space-y-reverse)); } -.space-y-1 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.space-y-1 > :not([hidden]) ~ :not([hidden])) { --tw-space-y-reverse: 0; margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.25rem * var(--tw-space-y-reverse)); } -.space-y-3 > :not([hidden]) ~ :not([hidden]) { +.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))); margin-bottom: calc(0.75rem * var(--tw-space-y-reverse)); } -.space-y-3\.5 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.space-y-3\.5 > :not([hidden]) ~ :not([hidden])) { --tw-space-y-reverse: 0; margin-top: calc(0.875rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.875rem * var(--tw-space-y-reverse)); } -.space-y-4 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.space-y-4 > :not([hidden]) ~ :not([hidden])) { --tw-space-y-reverse: 0; margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(1rem * var(--tw-space-y-reverse)); } -.space-y-5 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.space-y-5 > :not([hidden]) ~ :not([hidden])) { --tw-space-y-reverse: 0; margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(1.25rem * var(--tw-space-y-reverse)); } -.space-y-6 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.space-y-6 > :not([hidden]) ~ :not([hidden])) { --tw-space-y-reverse: 0; margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(1.5rem * var(--tw-space-y-reverse)); } -.space-y-\[22px\] > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.space-y-\[22px\] > :not([hidden]) ~ :not([hidden])) { --tw-space-y-reverse: 0; margin-top: calc(22px * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(22px * var(--tw-space-y-reverse)); } -.divide-x > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.divide-x > :not([hidden]) ~ :not([hidden])) { --tw-divide-x-reverse: 0; border-right-width: calc(1px * var(--tw-divide-x-reverse)); border-left-width: calc(1px * calc(1 - var(--tw-divide-x-reverse))); } -.divide-gray-200 > :not([hidden]) ~ :not([hidden]) { +.wedocs-document :is(.divide-gray-200 > :not([hidden]) ~ :not([hidden])) { --tw-divide-opacity: 1; border-color: rgb(229 231 235 / var(--tw-divide-opacity)); } -.self-center { +.wedocs-document :is(.self-center) { align-self: center; } -.overflow-auto { +.wedocs-document :is(.overflow-auto) { overflow: auto; } -.overflow-hidden { +.wedocs-document :is(.overflow-hidden) { overflow: hidden; } -.overflow-visible { +.wedocs-document :is(.overflow-visible) { overflow: visible; } -.overflow-y-auto { +.wedocs-document :is(.overflow-y-auto) { overflow-y: auto; } -.truncate { +.wedocs-document :is(.truncate) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } -.whitespace-break-spaces { +.wedocs-document :is(.whitespace-break-spaces) { white-space: break-spaces; } -.\!rounded-md { +.wedocs-document :is(.\!rounded-md) { border-radius: 0.375rem !important; } -.rounded { +.wedocs-document :is(.rounded) { border-radius: 0.25rem; } -.rounded-2xl { +.wedocs-document :is(.rounded-2xl) { border-radius: 1rem; } -.rounded-\[10px\] { +.wedocs-document :is(.rounded-\[10px\]) { border-radius: 10px; } -.rounded-\[42px\] { +.wedocs-document :is(.rounded-\[42px\]) { border-radius: 42px; } -.rounded-\[55px\] { +.wedocs-document :is(.rounded-\[55px\]) { border-radius: 55px; } -.rounded-full { +.wedocs-document :is(.rounded-full) { border-radius: 9999px; } -.rounded-lg { +.wedocs-document :is(.rounded-lg) { border-radius: 0.5rem; } -.rounded-md { +.wedocs-document :is(.rounded-md) { border-radius: 0.375rem; } -.rounded-r-md { +.wedocs-document :is(.rounded-r-md) { border-top-right-radius: 0.375rem; border-bottom-right-radius: 0.375rem; } -.rounded-br-none { +.wedocs-document :is(.rounded-br-none) { border-bottom-right-radius: 0px; } -.rounded-tr-none { +.wedocs-document :is(.rounded-tr-none) { border-top-right-radius: 0px; } -.\!border-0 { +.wedocs-document :is(.\!border-0) { border-width: 0px !important; } -.border { +.wedocs-document :is(.border) { border-width: 1px; } -.border-0 { +.wedocs-document :is(.border-0) { border-width: 0px; } -.border-2 { +.wedocs-document :is(.border-2) { border-width: 2px; } -.border-b { +.wedocs-document :is(.border-b) { border-bottom-width: 1px; } -.border-l-4 { +.wedocs-document :is(.border-l-4) { border-left-width: 4px; } -.border-t { +.wedocs-document :is(.border-t) { border-top-width: 1px; } -.\!border-\[\#8c8f94\] { +.wedocs-document :is(.\!border-\[\#8c8f94\]) { --tw-border-opacity: 1 !important; border-color: rgb(140 143 148 / var(--tw-border-opacity)) !important; } -.\!border-gray-300 { +.wedocs-document :is(.\!border-gray-300) { --tw-border-opacity: 1 !important; border-color: rgb(209 213 219 / var(--tw-border-opacity)) !important; } -.\!border-red-500 { +.wedocs-document :is(.\!border-red-500) { --tw-border-opacity: 1 !important; border-color: rgb(239 68 68 / var(--tw-border-opacity)) !important; } -.\!border-transparent { +.wedocs-document :is(.\!border-transparent) { border-color: transparent !important; } -.border-\[\#D1D5DB\] { +.wedocs-document :is(.border-\[\#D1D5DB\]) { --tw-border-opacity: 1; border-color: rgb(209 213 219 / var(--tw-border-opacity)); } -.border-\[\#D9D9D9\] { +.wedocs-document :is(.border-\[\#D9D9D9\]) { --tw-border-opacity: 1; border-color: rgb(217 217 217 / var(--tw-border-opacity)); } -.border-\[\#DBDBDB\] { +.wedocs-document :is(.border-\[\#DBDBDB\]) { --tw-border-opacity: 1; border-color: rgb(219 219 219 / var(--tw-border-opacity)); } -.border-\[\#E2E2E2\] { +.wedocs-document :is(.border-\[\#E2E2E2\]) { --tw-border-opacity: 1; border-color: rgb(226 226 226 / var(--tw-border-opacity)); } -.border-\[\#E5E7EB\] { +.wedocs-document :is(.border-\[\#E5E7EB\]) { --tw-border-opacity: 1; border-color: rgb(229 231 235 / var(--tw-border-opacity)); } -.border-\[\#FBBF24\] { +.wedocs-document :is(.border-\[\#FBBF24\]) { --tw-border-opacity: 1; border-color: rgb(251 191 36 / var(--tw-border-opacity)); } -.border-gray-200 { +.wedocs-document :is(.border-gray-200) { --tw-border-opacity: 1; border-color: rgb(229 231 235 / var(--tw-border-opacity)); } -.border-gray-300 { +.wedocs-document :is(.border-gray-300) { --tw-border-opacity: 1; border-color: rgb(209 213 219 / var(--tw-border-opacity)); } -.border-gray-400 { +.wedocs-document :is(.border-gray-400) { --tw-border-opacity: 1; border-color: rgb(156 163 175 / var(--tw-border-opacity)); } -.border-indigo-600 { +.wedocs-document :is(.border-indigo-600) { --tw-border-opacity: 1; border-color: rgb(79 70 229 / var(--tw-border-opacity)); } -.border-transparent { +.wedocs-document :is(.border-transparent) { border-color: transparent; } -.border-yellow-400 { +.wedocs-document :is(.border-yellow-400) { --tw-border-opacity: 1; border-color: rgb(250 204 21 / var(--tw-border-opacity)); } -.border-t-\[\#DBDBDB\] { +.wedocs-document :is(.border-t-\[\#DBDBDB\]) { --tw-border-opacity: 1; border-top-color: rgb(219 219 219 / var(--tw-border-opacity)); } -.\!bg-\[\#007f69\] { +.wedocs-document :is(.\!bg-\[\#007f69\]) { --tw-bg-opacity: 1 !important; background-color: rgb(0 127 105 / var(--tw-bg-opacity)) !important; } -.\!bg-\[\#909091\] { +.wedocs-document :is(.\!bg-\[\#909091\]) { --tw-bg-opacity: 1 !important; background-color: rgb(144 144 145 / var(--tw-bg-opacity)) !important; } -.\!bg-gray-200 { +.wedocs-document :is(.\!bg-gray-200) { --tw-bg-opacity: 1 !important; background-color: rgb(229 231 235 / var(--tw-bg-opacity)) !important; } -.\!bg-transparent { +.wedocs-document :is(.\!bg-transparent) { background-color: transparent !important; } -.\!bg-white { +.wedocs-document :is(.\!bg-white) { --tw-bg-opacity: 1 !important; background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important; } -.bg-\[\#00000080\] { +.wedocs-document :is(.bg-\[\#00000080\]) { background-color: #00000080; } -.bg-\[\#00A1E4\] { +.wedocs-document :is(.bg-\[\#00A1E4\]) { --tw-bg-opacity: 1; background-color: rgb(0 161 228 / var(--tw-bg-opacity)); } -.bg-\[\#06B6D4\] { +.wedocs-document :is(.bg-\[\#06B6D4\]) { --tw-bg-opacity: 1; background-color: rgb(6 182 212 / var(--tw-bg-opacity)); } -.bg-\[\#139f84\] { +.wedocs-document :is(.bg-\[\#139f84\]) { --tw-bg-opacity: 1; background-color: rgb(19 159 132 / var(--tw-bg-opacity)); } -.bg-\[\#4F46E5\] { +.wedocs-document :is(.bg-\[\#4F46E5\]) { --tw-bg-opacity: 1; background-color: rgb(79 70 229 / var(--tw-bg-opacity)); } -.bg-\[\#94a3b8\] { +.wedocs-document :is(.bg-\[\#94a3b8\]) { --tw-bg-opacity: 1; background-color: rgb(148 163 184 / var(--tw-bg-opacity)); } -.bg-\[\#E2E8F0\] { +.wedocs-document :is(.bg-\[\#E2E8F0\]) { --tw-bg-opacity: 1; background-color: rgb(226 232 240 / var(--tw-bg-opacity)); } -.bg-\[\#E3E5E7\] { +.wedocs-document :is(.bg-\[\#E3E5E7\]) { --tw-bg-opacity: 1; background-color: rgb(227 229 231 / var(--tw-bg-opacity)); } -.bg-\[\#E7E6FF\] { +.wedocs-document :is(.bg-\[\#E7E6FF\]) { --tw-bg-opacity: 1; background-color: rgb(231 230 255 / var(--tw-bg-opacity)); } -.bg-\[\#F3F4F6\] { +.wedocs-document :is(.bg-\[\#F3F4F6\]) { --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity)); } -.bg-\[\#FF9000\] { +.wedocs-document :is(.bg-\[\#FF9000\]) { --tw-bg-opacity: 1; background-color: rgb(255 144 0 / var(--tw-bg-opacity)); } -.bg-\[\#cbd5e1\] { +.wedocs-document :is(.bg-\[\#cbd5e1\]) { --tw-bg-opacity: 1; background-color: rgb(203 213 225 / var(--tw-bg-opacity)); } -.bg-\[\#ff9000\] { +.wedocs-document :is(.bg-\[\#ff9000\]) { --tw-bg-opacity: 1; background-color: rgb(255 144 0 / var(--tw-bg-opacity)); } -.bg-black { +.wedocs-document :is(.bg-black) { --tw-bg-opacity: 1; background-color: rgb(0 0 0 / var(--tw-bg-opacity)); } -.bg-gray-100 { +.wedocs-document :is(.bg-gray-100) { --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity)); } -.bg-gray-200 { +.wedocs-document :is(.bg-gray-200) { --tw-bg-opacity: 1; background-color: rgb(229 231 235 / var(--tw-bg-opacity)); } -.bg-gray-400 { +.wedocs-document :is(.bg-gray-400) { --tw-bg-opacity: 1; background-color: rgb(156 163 175 / var(--tw-bg-opacity)); } -.bg-gray-50 { +.wedocs-document :is(.bg-gray-50) { --tw-bg-opacity: 1; background-color: rgb(249 250 251 / var(--tw-bg-opacity)); } -.bg-indigo-600 { +.wedocs-document :is(.bg-indigo-600) { --tw-bg-opacity: 1; background-color: rgb(79 70 229 / var(--tw-bg-opacity)); } -.bg-indigo-700 { +.wedocs-document :is(.bg-indigo-700) { --tw-bg-opacity: 1; background-color: rgb(67 56 202 / var(--tw-bg-opacity)); } -.bg-red-100 { +.wedocs-document :is(.bg-red-100) { --tw-bg-opacity: 1; background-color: rgb(254 226 226 / var(--tw-bg-opacity)); } -.bg-red-600 { +.wedocs-document :is(.bg-red-600) { --tw-bg-opacity: 1; background-color: rgb(220 38 38 / var(--tw-bg-opacity)); } -.bg-slate-200 { +.wedocs-document :is(.bg-slate-200) { --tw-bg-opacity: 1; background-color: rgb(226 232 240 / var(--tw-bg-opacity)); } -.bg-white { +.wedocs-document :is(.bg-white) { --tw-bg-opacity: 1; background-color: rgb(255 255 255 / var(--tw-bg-opacity)); } -.bg-yellow-50 { +.wedocs-document :is(.bg-yellow-50) { --tw-bg-opacity: 1; background-color: rgb(254 252 232 / var(--tw-bg-opacity)); } -.bg-opacity-25 { +.wedocs-document :is(.bg-opacity-25) { --tw-bg-opacity: 0.25; } -.fill-gray-500 { +.wedocs-document :is(.fill-gray-500) { fill: #6b7280; } -.stroke-\[\#6b7280\] { +.wedocs-document :is(.stroke-\[\#6b7280\]) { stroke: #6b7280; } -.stroke-gray-300 { +.wedocs-document :is(.stroke-gray-300) { stroke: #d1d5db; } -.stroke-gray-400 { +.wedocs-document :is(.stroke-gray-400) { stroke: #9ca3af; } -.stroke-gray-500 { +.wedocs-document :is(.stroke-gray-500) { stroke: #6b7280; } -.p-0 { +.wedocs-document :is(.p-0) { padding: 0px; } -.p-1 { +.wedocs-document :is(.p-1) { padding: 0.25rem; } -.p-1\.5 { +.wedocs-document :is(.p-1\.5) { padding: 0.375rem; } -.p-12 { +.wedocs-document :is(.p-12) { padding: 3rem; } -.p-3 { +.wedocs-document :is(.p-3) { padding: 0.75rem; } -.p-4 { +.wedocs-document :is(.p-4) { padding: 1rem; } -.p-5 { +.wedocs-document :is(.p-5) { padding: 1.25rem; } -.p-6 { +.wedocs-document :is(.p-6) { padding: 1.5rem; } -.\!px-0 { +.wedocs-document :is(.\!px-0) { padding-left: 0px !important; padding-right: 0px !important; } -.\!px-3 { +.wedocs-document :is(.\!px-3) { padding-left: 0.75rem !important; padding-right: 0.75rem !important; } -.\!px-4 { +.wedocs-document :is(.\!px-4) { padding-left: 1rem !important; padding-right: 1rem !important; } -.\!py-0 { +.wedocs-document :is(.\!py-0) { padding-top: 0px !important; padding-bottom: 0px !important; } -.\!py-1 { +.wedocs-document :is(.\!py-1) { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; } -.\!py-1\.5 { +.wedocs-document :is(.\!py-1\.5) { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; } -.\!py-2 { +.wedocs-document :is(.\!py-2) { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; } -.px-0 { +.wedocs-document :is(.px-0) { padding-left: 0px; padding-right: 0px; } -.px-0\.5 { +.wedocs-document :is(.px-0\.5) { padding-left: 0.125rem; padding-right: 0.125rem; } -.px-1 { +.wedocs-document :is(.px-1) { padding-left: 0.25rem; padding-right: 0.25rem; } -.px-1\.5 { +.wedocs-document :is(.px-1\.5) { padding-left: 0.375rem; padding-right: 0.375rem; } -.px-12 { +.wedocs-document :is(.px-12) { padding-left: 3rem; padding-right: 3rem; } -.px-16 { +.wedocs-document :is(.px-16) { padding-left: 4rem; padding-right: 4rem; } -.px-2 { +.wedocs-document :is(.px-2) { padding-left: 0.5rem; padding-right: 0.5rem; } -.px-2\.5 { +.wedocs-document :is(.px-2\.5) { padding-left: 0.625rem; padding-right: 0.625rem; } -.px-20 { +.wedocs-document :is(.px-20) { padding-left: 5rem; padding-right: 5rem; } -.px-3 { +.wedocs-document :is(.px-3) { padding-left: 0.75rem; padding-right: 0.75rem; } -.px-3\.5 { +.wedocs-document :is(.px-3\.5) { padding-left: 0.875rem; padding-right: 0.875rem; } -.px-36 { +.wedocs-document :is(.px-36) { padding-left: 9rem; padding-right: 9rem; } -.px-4 { +.wedocs-document :is(.px-4) { padding-left: 1rem; padding-right: 1rem; } -.px-5 { +.wedocs-document :is(.px-5) { padding-left: 1.25rem; padding-right: 1.25rem; } -.px-6 { +.wedocs-document :is(.px-6) { padding-left: 1.5rem; padding-right: 1.5rem; } -.px-8 { +.wedocs-document :is(.px-8) { padding-left: 2rem; padding-right: 2rem; } -.px-9 { +.wedocs-document :is(.px-9) { padding-left: 2.25rem; padding-right: 2.25rem; } -.px-\[5px\] { +.wedocs-document :is(.px-\[5px\]) { padding-left: 5px; padding-right: 5px; } -.px-\[70px\] { +.wedocs-document :is(.px-\[70px\]) { padding-left: 70px; padding-right: 70px; } -.py-0 { +.wedocs-document :is(.py-0) { padding-top: 0px; padding-bottom: 0px; } -.py-0\.5 { +.wedocs-document :is(.py-0\.5) { padding-top: 0.125rem; padding-bottom: 0.125rem; } -.py-1 { +.wedocs-document :is(.py-1) { padding-top: 0.25rem; padding-bottom: 0.25rem; } -.py-1\.5 { +.wedocs-document :is(.py-1\.5) { padding-top: 0.375rem; padding-bottom: 0.375rem; } -.py-10 { +.wedocs-document :is(.py-10) { padding-top: 2.5rem; padding-bottom: 2.5rem; } -.py-12 { +.wedocs-document :is(.py-12) { padding-top: 3rem; padding-bottom: 3rem; } -.py-2 { +.wedocs-document :is(.py-2) { padding-top: 0.5rem; padding-bottom: 0.5rem; } -.py-2\.5 { +.wedocs-document :is(.py-2\.5) { padding-top: 0.625rem; padding-bottom: 0.625rem; } -.py-3 { +.wedocs-document :is(.py-3) { padding-top: 0.75rem; padding-bottom: 0.75rem; } -.py-3\.5 { +.wedocs-document :is(.py-3\.5) { padding-top: 0.875rem; padding-bottom: 0.875rem; } -.py-4 { +.wedocs-document :is(.py-4) { padding-top: 1rem; padding-bottom: 1rem; } -.py-5 { +.wedocs-document :is(.py-5) { padding-top: 1.25rem; padding-bottom: 1.25rem; } -.py-6 { +.wedocs-document :is(.py-6) { padding-top: 1.5rem; padding-bottom: 1.5rem; } -.py-8 { +.wedocs-document :is(.py-8) { padding-top: 2rem; padding-bottom: 2rem; } -.py-\[18px\] { +.wedocs-document :is(.py-\[18px\]) { padding-top: 18px; padding-bottom: 18px; } -.py-\[3px\] { +.wedocs-document :is(.py-\[3px\]) { padding-top: 3px; padding-bottom: 3px; } -.\!pl-3 { +.wedocs-document :is(.\!pl-3) { padding-left: 0.75rem !important; } -.\!pl-4 { +.wedocs-document :is(.\!pl-4) { padding-left: 1rem !important; } -.\!pr-10 { +.wedocs-document :is(.\!pr-10) { padding-right: 2.5rem !important; } -.pb-0 { +.wedocs-document :is(.pb-0) { padding-bottom: 0px; } -.pb-0\.5 { +.wedocs-document :is(.pb-0\.5) { padding-bottom: 0.125rem; } -.pb-10 { +.wedocs-document :is(.pb-10) { padding-bottom: 2.5rem; } -.pb-12 { +.wedocs-document :is(.pb-12) { padding-bottom: 3rem; } -.pb-20 { +.wedocs-document :is(.pb-20) { padding-bottom: 5rem; } -.pb-6 { +.wedocs-document :is(.pb-6) { padding-bottom: 1.5rem; } -.pb-7 { +.wedocs-document :is(.pb-7) { padding-bottom: 1.75rem; } -.pl-2 { +.wedocs-document :is(.pl-2) { padding-left: 0.5rem; } -.pl-2\.5 { +.wedocs-document :is(.pl-2\.5) { padding-left: 0.625rem; } -.pl-3 { +.wedocs-document :is(.pl-3) { padding-left: 0.75rem; } -.pl-4 { +.wedocs-document :is(.pl-4) { padding-left: 1rem; } -.pl-6 { +.wedocs-document :is(.pl-6) { padding-left: 1.5rem; } -.pr-0 { +.wedocs-document :is(.pr-0) { padding-right: 0px; } -.pr-10 { +.wedocs-document :is(.pr-10) { padding-right: 2.5rem; } -.pr-14 { +.wedocs-document :is(.pr-14) { padding-right: 3.5rem; } -.pr-16 { +.wedocs-document :is(.pr-16) { padding-right: 4rem; } -.pr-2 { +.wedocs-document :is(.pr-2) { padding-right: 0.5rem; } -.pr-3 { +.wedocs-document :is(.pr-3) { padding-right: 0.75rem; } -.pr-3\.5 { +.wedocs-document :is(.pr-3\.5) { padding-right: 0.875rem; } -.pr-4 { +.wedocs-document :is(.pr-4) { padding-right: 1rem; } -.pr-5 { +.wedocs-document :is(.pr-5) { padding-right: 1.25rem; } -.pr-8 { +.wedocs-document :is(.pr-8) { padding-right: 2rem; } -.pr-9 { +.wedocs-document :is(.pr-9) { padding-right: 2.25rem; } -.pt-0 { +.wedocs-document :is(.pt-0) { padding-top: 0px; } -.pt-16 { +.wedocs-document :is(.pt-16) { padding-top: 4rem; } -.pt-2 { +.wedocs-document :is(.pt-2) { padding-top: 0.5rem; } -.pt-2\.5 { +.wedocs-document :is(.pt-2\.5) { padding-top: 0.625rem; } -.pt-3 { +.wedocs-document :is(.pt-3) { padding-top: 0.75rem; } -.pt-5 { +.wedocs-document :is(.pt-5) { padding-top: 1.25rem; } -.pt-6 { +.wedocs-document :is(.pt-6) { padding-top: 1.5rem; } -.pt-7 { +.wedocs-document :is(.pt-7) { padding-top: 1.75rem; } -.pt-\[1px\] { +.wedocs-document :is(.pt-\[1px\]) { padding-top: 1px; } -.text-left { +.wedocs-document :is(.text-left) { text-align: left; } -.text-center { +.wedocs-document :is(.text-center) { text-align: center; } -.text-right { +.wedocs-document :is(.text-right) { text-align: right; } -.align-middle { +.wedocs-document :is(.align-middle) { vertical-align: middle; } -.\!text-base { +.wedocs-document :is(.\!text-base) { font-size: 1rem !important; line-height: 1.5rem !important; } -.text-2xl { +.wedocs-document :is(.text-2xl) { font-size: 1.5rem; line-height: 2rem; } -.text-3xl { +.wedocs-document :is(.text-3xl) { font-size: 1.875rem; line-height: 2.25rem; } -.text-\[10px\] { +.wedocs-document :is(.text-\[10px\]) { font-size: 10px; } -.text-\[11px\] { +.wedocs-document :is(.text-\[11px\]) { font-size: 11px; } -.text-\[13px\] { +.wedocs-document :is(.text-\[13px\]) { font-size: 13px; } -.text-base { +.wedocs-document :is(.text-base) { font-size: 1rem; line-height: 1.5rem; } -.text-lg { +.wedocs-document :is(.text-lg) { font-size: 1.125rem; line-height: 1.75rem; } -.text-sm { +.wedocs-document :is(.text-sm) { font-size: 0.875rem; line-height: 1.25rem; } -.text-xl { +.wedocs-document :is(.text-xl) { font-size: 1.25rem; line-height: 1.75rem; } -.text-xs { +.wedocs-document :is(.text-xs) { font-size: 0.75rem; line-height: 1rem; } -.\!font-medium { +.wedocs-document :is(.\!font-medium) { font-weight: 500 !important; } -.\!font-normal { +.wedocs-document :is(.\!font-normal) { font-weight: 400 !important; } -.font-bold { +.wedocs-document :is(.font-bold) { font-weight: 700; } -.font-extrabold { +.wedocs-document :is(.font-extrabold) { font-weight: 800; } -.font-medium { +.wedocs-document :is(.font-medium) { font-weight: 500; } -.font-normal { +.wedocs-document :is(.font-normal) { font-weight: 400; } -.font-semibold { +.wedocs-document :is(.font-semibold) { font-weight: 600; } -.italic { +.wedocs-document :is(.italic) { font-style: italic; } -.\!leading-5 { +.wedocs-document :is(.\!leading-5) { line-height: 1.25rem !important; } -.leading-3 { +.wedocs-document :is(.leading-3) { line-height: .75rem; } -.leading-4 { +.wedocs-document :is(.leading-4) { line-height: 1rem; } -.leading-5 { +.wedocs-document :is(.leading-5) { line-height: 1.25rem; } -.leading-6 { +.wedocs-document :is(.leading-6) { line-height: 1.5rem; } -.leading-7 { +.wedocs-document :is(.leading-7) { line-height: 1.75rem; } -.leading-8 { +.wedocs-document :is(.leading-8) { line-height: 2rem; } -.leading-\[13\.31px\] { +.wedocs-document :is(.leading-\[13\.31px\]) { line-height: 13.31px; } -.leading-\[3rem\] { +.wedocs-document :is(.leading-\[3rem\]) { line-height: 3rem; } -.leading-none { +.wedocs-document :is(.leading-none) { line-height: 1; } -.leading-normal { +.wedocs-document :is(.leading-normal) { line-height: 1.5; } -.tracking-wider { +.wedocs-document :is(.tracking-wider) { letter-spacing: 0.05em; } -.\!text-black { +.wedocs-document :is(.\!text-black) { --tw-text-opacity: 1 !important; color: rgb(0 0 0 / var(--tw-text-opacity)) !important; } -.text-\[\#0043FF\] { +.wedocs-document :is(.text-\[\#0043FF\]) { --tw-text-opacity: 1; color: rgb(0 67 255 / var(--tw-text-opacity)); } -.text-\[\#111827\] { +.wedocs-document :is(.text-\[\#111827\]) { --tw-text-opacity: 1; color: rgb(17 24 39 / var(--tw-text-opacity)); } -.text-\[\#333333\] { +.wedocs-document :is(.text-\[\#333333\]) { --tw-text-opacity: 1; color: rgb(51 51 51 / var(--tw-text-opacity)); } -.text-\[\#3B3F4A\] { +.wedocs-document :is(.text-\[\#3B3F4A\]) { --tw-text-opacity: 1; color: rgb(59 63 74 / var(--tw-text-opacity)); } -.text-\[\#656668\] { +.wedocs-document :is(.text-\[\#656668\]) { --tw-text-opacity: 1; color: rgb(101 102 104 / var(--tw-text-opacity)); } -.text-\[\#666B79\] { +.wedocs-document :is(.text-\[\#666B79\]) { --tw-text-opacity: 1; color: rgb(102 107 121 / var(--tw-text-opacity)); } -.text-\[\#6B7280\] { +.wedocs-document :is(.text-\[\#6B7280\]) { --tw-text-opacity: 1; color: rgb(107 114 128 / var(--tw-text-opacity)); } -.text-\[\#92400E\] { +.wedocs-document :is(.text-\[\#92400E\]) { --tw-text-opacity: 1; color: rgb(146 64 14 / var(--tw-text-opacity)); } -.text-\[\#969696\] { +.wedocs-document :is(.text-\[\#969696\]) { --tw-text-opacity: 1; color: rgb(150 150 150 / var(--tw-text-opacity)); } -.text-\[\#B4BBD6\] { +.wedocs-document :is(.text-\[\#B4BBD6\]) { --tw-text-opacity: 1; color: rgb(180 187 214 / var(--tw-text-opacity)); } -.text-\[\#d1d5db\] { +.wedocs-document :is(.text-\[\#d1d5db\]) { --tw-text-opacity: 1; color: rgb(209 213 219 / var(--tw-text-opacity)); } -.text-\[\#ff9000\] { +.wedocs-document :is(.text-\[\#ff9000\]) { --tw-text-opacity: 1; color: rgb(255 144 0 / var(--tw-text-opacity)); } -.text-black { +.wedocs-document :is(.text-black) { --tw-text-opacity: 1; color: rgb(0 0 0 / var(--tw-text-opacity)); } -.text-gray-400 { +.wedocs-document :is(.text-gray-400) { --tw-text-opacity: 1; color: rgb(156 163 175 / var(--tw-text-opacity)); } -.text-gray-500 { +.wedocs-document :is(.text-gray-500) { --tw-text-opacity: 1; color: rgb(107 114 128 / var(--tw-text-opacity)); } -.text-gray-600 { +.wedocs-document :is(.text-gray-600) { --tw-text-opacity: 1; color: rgb(75 85 99 / var(--tw-text-opacity)); } -.text-gray-700 { +.wedocs-document :is(.text-gray-700) { --tw-text-opacity: 1; color: rgb(55 65 81 / var(--tw-text-opacity)); } -.text-gray-800 { +.wedocs-document :is(.text-gray-800) { --tw-text-opacity: 1; color: rgb(31 41 55 / var(--tw-text-opacity)); } -.text-gray-900 { +.wedocs-document :is(.text-gray-900) { --tw-text-opacity: 1; color: rgb(17 24 39 / var(--tw-text-opacity)); } -.text-indigo-600 { +.wedocs-document :is(.text-indigo-600) { --tw-text-opacity: 1; color: rgb(79 70 229 / var(--tw-text-opacity)); } -.text-indigo-700 { +.wedocs-document :is(.text-indigo-700) { --tw-text-opacity: 1; color: rgb(67 56 202 / var(--tw-text-opacity)); } -.text-red-500 { +.wedocs-document :is(.text-red-500) { --tw-text-opacity: 1; color: rgb(239 68 68 / var(--tw-text-opacity)); } -.text-red-600 { +.wedocs-document :is(.text-red-600) { --tw-text-opacity: 1; color: rgb(220 38 38 / var(--tw-text-opacity)); } -.text-white { +.wedocs-document :is(.text-white) { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); } -.underline { +.wedocs-document :is(.underline) { text-decoration-line: underline; } -.decoration-1 { +.wedocs-document :is(.decoration-1) { text-decoration-thickness: 1px; } -.underline-offset-2 { +.wedocs-document :is(.underline-offset-2) { text-underline-offset: 2px; } -.antialiased { +.wedocs-document :is(.antialiased) { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } -.placeholder-\[\#333333\]::-moz-placeholder { +.wedocs-document :is(.placeholder-\[\#333333\])::-moz-placeholder { --tw-placeholder-opacity: 1; color: rgb(51 51 51 / var(--tw-placeholder-opacity)); } -.placeholder-\[\#333333\]::placeholder { +.wedocs-document :is(.placeholder-\[\#333333\])::placeholder { --tw-placeholder-opacity: 1; color: rgb(51 51 51 / var(--tw-placeholder-opacity)); } -.placeholder-\[\#BDBDBD\]::-moz-placeholder { +.wedocs-document :is(.placeholder-\[\#BDBDBD\])::-moz-placeholder { --tw-placeholder-opacity: 1; color: rgb(189 189 189 / var(--tw-placeholder-opacity)); } -.placeholder-\[\#BDBDBD\]::placeholder { +.wedocs-document :is(.placeholder-\[\#BDBDBD\])::placeholder { --tw-placeholder-opacity: 1; color: rgb(189 189 189 / var(--tw-placeholder-opacity)); } -.placeholder-gray-400::-moz-placeholder { +.wedocs-document :is(.placeholder-gray-400)::-moz-placeholder { --tw-placeholder-opacity: 1; color: rgb(156 163 175 / var(--tw-placeholder-opacity)); } -.placeholder-gray-400::placeholder { +.wedocs-document :is(.placeholder-gray-400)::placeholder { --tw-placeholder-opacity: 1; color: rgb(156 163 175 / var(--tw-placeholder-opacity)); } -.opacity-0 { +.wedocs-document :is(.opacity-0) { opacity: 0; } -.opacity-100 { +.wedocs-document :is(.opacity-100) { opacity: 1; } -.opacity-50 { +.wedocs-document :is(.opacity-50) { opacity: 0.5; } -.\!shadow-none { +.wedocs-document :is(.\!shadow-none) { --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; } -.shadow { +.wedocs-document :is(.shadow) { --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } -.shadow-lg { +.wedocs-document :is(.shadow-lg) { --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } -.shadow-sm { +.wedocs-document :is(.shadow-sm) { --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } -.shadow-xl { +.wedocs-document :is(.shadow-xl) { --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } -.shadow-gray-100 { +.wedocs-document :is(.shadow-gray-100) { --tw-shadow-color: #f3f4f6; --tw-shadow: var(--tw-shadow-colored); } -.shadow-gray-800\/30 { +.wedocs-document :is(.shadow-gray-800\/30) { --tw-shadow-color: rgb(31 41 55 / 0.3); --tw-shadow: var(--tw-shadow-colored); } -.outline-none { +.wedocs-document :is(.outline-none) { outline: 2px solid transparent; outline-offset: 2px; } -.outline { +.wedocs-document :is(.outline) { outline-style: solid; } -.outline-0 { +.wedocs-document :is(.outline-0) { outline-width: 0px; } -.ring-0 { +.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); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); } -.ring-1 { +.wedocs-document :is(.ring-1) { --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(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); } -.ring-2 { +.wedocs-document :is(.ring-2) { --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(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); } -.ring-black { +.wedocs-document :is(.ring-black) { --tw-ring-opacity: 1; --tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity)); } -.ring-indigo-600 { +.wedocs-document :is(.ring-indigo-600) { --tw-ring-opacity: 1; --tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity)); } -.ring-white { +.wedocs-document :is(.ring-white) { --tw-ring-opacity: 1; --tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity)); } -.ring-opacity-5 { +.wedocs-document :is(.ring-opacity-5) { --tw-ring-opacity: 0.05; } -.grayscale { +.wedocs-document :is(.grayscale) { --tw-grayscale: grayscale(100%); filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); } -.filter { +.wedocs-document :is(.filter) { filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); } -.transition { +.wedocs-document :is(.transition) { 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-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } -.transition-all { +.wedocs-document :is(.transition-all) { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } -.transition-colors { +.wedocs-document :is(.transition-colors) { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } -.transition-transform { +.wedocs-document :is(.transition-transform) { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } -.duration-100 { +.wedocs-document :is(.duration-100) { transition-duration: 100ms; } -.duration-200 { +.wedocs-document :is(.duration-200) { transition-duration: 200ms; } -.duration-300 { +.wedocs-document :is(.duration-300) { transition-duration: 300ms; } -.ease-in { +.wedocs-document :is(.ease-in) { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); } -.ease-in-out { +.wedocs-document :is(.ease-in-out) { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } -.ease-out { +.wedocs-document :is(.ease-out) { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); } @@ -5040,545 +5046,545 @@ html.wp-toolbar { } } -.before\:absolute::before { +.wedocs-document :is(.before\:absolute)::before { content: var(--tw-content); position: absolute; } -.before\:-right-\[1px\]::before { +.wedocs-document :is(.before\:-right-\[1px\])::before { content: var(--tw-content); right: -1px; } -.before\:-top-2::before { +.wedocs-document :is(.before\:-top-2)::before { content: var(--tw-content); top: -0.5rem; } -.before\:-top-2\.5::before { +.wedocs-document :is(.before\:-top-2\.5)::before { content: var(--tw-content); top: -0.625rem; } -.before\:-top-4::before { +.wedocs-document :is(.before\:-top-4)::before { content: var(--tw-content); top: -1rem; } -.before\:-top-6::before { +.wedocs-document :is(.before\:-top-6)::before { content: var(--tw-content); top: -1.5rem; } -.before\:left-0::before { +.wedocs-document :is(.before\:left-0)::before { content: var(--tw-content); left: 0px; } -.before\:mt-3::before { +.wedocs-document :is(.before\:mt-3)::before { content: var(--tw-content); margin-top: 0.75rem; } -.before\:\!hidden::before { +.wedocs-document :is(.before\:\!hidden)::before { content: var(--tw-content); display: none !important; } -.before\:h-2::before { +.wedocs-document :is(.before\:h-2)::before { content: var(--tw-content); height: 0.5rem; } -.before\:h-2\.5::before { +.wedocs-document :is(.before\:h-2\.5)::before { content: var(--tw-content); height: 0.625rem; } -.before\:h-3::before { +.wedocs-document :is(.before\:h-3)::before { content: var(--tw-content); height: 0.75rem; } -.before\:h-4::before { +.wedocs-document :is(.before\:h-4)::before { content: var(--tw-content); height: 1rem; } -.before\:w-\[70\%\]::before { +.wedocs-document :is(.before\:w-\[70\%\])::before { content: var(--tw-content); width: 70%; } -.before\:w-full::before { +.wedocs-document :is(.before\:w-full)::before { content: var(--tw-content); width: 100%; } -.before\:max-w-xl::before { +.wedocs-document :is(.before\:max-w-xl)::before { content: var(--tw-content); max-width: 36rem; } -.before\:\!bg-transparent::before { +.wedocs-document :is(.before\:\!bg-transparent)::before { content: var(--tw-content); background-color: transparent !important; } -.before\:content-\[\'\'\]::before { +.wedocs-document :is(.before\:content-\[\'\'\])::before { --tw-content: ''; content: var(--tw-content); } -.after\:absolute::after { +.wedocs-document :is(.after\:absolute)::after { content: var(--tw-content); position: absolute; } -.after\:left-1\/2::after { +.wedocs-document :is(.after\:left-1\/2)::after { content: var(--tw-content); left: 50%; } -.after\:right-4::after { +.wedocs-document :is(.after\:right-4)::after { content: var(--tw-content); right: 1rem; } -.after\:right-\[1\.4rem\]::after { +.wedocs-document :is(.after\:right-\[1\.4rem\])::after { content: var(--tw-content); right: 1.4rem; } -.after\:right-\[22px\]::after { +.wedocs-document :is(.after\:right-\[22px\])::after { content: var(--tw-content); right: 22px; } -.after\:top-0::after { +.wedocs-document :is(.after\:top-0)::after { content: var(--tw-content); top: 0px; } -.after\:top-0\.5::after { +.wedocs-document :is(.after\:top-0\.5)::after { content: var(--tw-content); top: 0.125rem; } -.after\:top-\[-7px\]::after { +.wedocs-document :is(.after\:top-\[-7px\])::after { content: var(--tw-content); top: -7px; } -.after\:z-\[-1\]::after { +.wedocs-document :is(.after\:z-\[-1\])::after { content: var(--tw-content); z-index: -1; } -.after\:h-4::after { +.wedocs-document :is(.after\:h-4)::after { content: var(--tw-content); height: 1rem; } -.after\:h-\[13px\]::after { +.wedocs-document :is(.after\:h-\[13px\])::after { content: var(--tw-content); height: 13px; } -.after\:w-4::after { +.wedocs-document :is(.after\:w-4)::after { content: var(--tw-content); width: 1rem; } -.after\:w-\[13px\]::after { +.wedocs-document :is(.after\:w-\[13px\])::after { content: var(--tw-content); width: 13px; } -.after\:-translate-x-1\/2::after { +.wedocs-document :is(.after\:-translate-x-1\/2)::after { content: var(--tw-content); --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)); } -.after\:-translate-y-1\/2::after { +.wedocs-document :is(.after\:-translate-y-1\/2)::after { content: var(--tw-content); --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)); } -.after\:\!rotate-45::after { +.wedocs-document :is(.after\:\!rotate-45)::after { content: var(--tw-content); --tw-rotate: 45deg !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; } -.after\:rotate-\[45deg\]::after { +.wedocs-document :is(.after\:rotate-\[45deg\])::after { content: var(--tw-content); --tw-rotate: 45deg; 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)); } -.after\:rounded-sm::after { +.wedocs-document :is(.after\:rounded-sm)::after { content: var(--tw-content); border-radius: 0.125rem; } -.after\:border::after { +.wedocs-document :is(.after\:border)::after { content: var(--tw-content); border-width: 1px; } -.after\:border-b-0::after { +.wedocs-document :is(.after\:border-b-0)::after { content: var(--tw-content); border-bottom-width: 0px; } -.after\:border-r-0::after { +.wedocs-document :is(.after\:border-r-0)::after { content: var(--tw-content); border-right-width: 0px; } -.after\:border-\[\#DBDBDB\]::after { +.wedocs-document :is(.after\:border-\[\#DBDBDB\])::after { content: var(--tw-content); --tw-border-opacity: 1; border-color: rgb(219 219 219 / var(--tw-border-opacity)); } -.after\:bg-black::after { +.wedocs-document :is(.after\:bg-black)::after { content: var(--tw-content); --tw-bg-opacity: 1; background-color: rgb(0 0 0 / var(--tw-bg-opacity)); } -.after\:bg-white::after { +.wedocs-document :is(.after\:bg-white)::after { content: var(--tw-content); --tw-bg-opacity: 1; background-color: rgb(255 255 255 / var(--tw-bg-opacity)); } -.after\:content-\[\'\'\]::after { +.wedocs-document :is(.after\:content-\[\'\'\])::after { --tw-content: ''; content: var(--tw-content); } -.last\:mb-0:last-child { +.wedocs-document :is(.last\:mb-0:last-child) { margin-bottom: 0px; } -.checked\:\!border-transparent:checked { +.wedocs-document :is(.checked\:\!border-transparent:checked) { border-color: transparent !important; } -.checked\:\!bg-indigo-600:checked { +.wedocs-document :is(.checked\:\!bg-indigo-600:checked) { --tw-bg-opacity: 1 !important; background-color: rgb(79 70 229 / var(--tw-bg-opacity)) !important; } -.hover\:block:hover { +.wedocs-document :is(.hover\:block:hover) { display: block; } -.hover\:cursor-pointer:hover { +.wedocs-document :is(.hover\:cursor-pointer:hover) { cursor: pointer; } -.hover\:bg-\[\#F9FAFB\]:hover { +.wedocs-document :is(.hover\:bg-\[\#F9FAFB\]:hover) { --tw-bg-opacity: 1; background-color: rgb(249 250 251 / var(--tw-bg-opacity)); } -.hover\:bg-\[\#cf7500\]:hover { +.wedocs-document :is(.hover\:bg-\[\#cf7500\]:hover) { --tw-bg-opacity: 1; background-color: rgb(207 117 0 / var(--tw-bg-opacity)); } -.hover\:bg-gray-100:hover { +.wedocs-document :is(.hover\:bg-gray-100:hover) { --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity)); } -.hover\:bg-gray-200:hover { +.wedocs-document :is(.hover\:bg-gray-200:hover) { --tw-bg-opacity: 1; background-color: rgb(229 231 235 / var(--tw-bg-opacity)); } -.hover\:bg-gray-50:hover { +.wedocs-document :is(.hover\:bg-gray-50:hover) { --tw-bg-opacity: 1; background-color: rgb(249 250 251 / var(--tw-bg-opacity)); } -.hover\:bg-indigo-600:hover { +.wedocs-document :is(.hover\:bg-indigo-600:hover) { --tw-bg-opacity: 1; background-color: rgb(79 70 229 / var(--tw-bg-opacity)); } -.hover\:bg-indigo-700:hover { +.wedocs-document :is(.hover\:bg-indigo-700:hover) { --tw-bg-opacity: 1; background-color: rgb(67 56 202 / var(--tw-bg-opacity)); } -.hover\:bg-indigo-800:hover { +.wedocs-document :is(.hover\:bg-indigo-800:hover) { --tw-bg-opacity: 1; background-color: rgb(55 48 163 / var(--tw-bg-opacity)); } -.hover\:bg-red-700:hover { +.wedocs-document :is(.hover\:bg-red-700:hover) { --tw-bg-opacity: 1; background-color: rgb(185 28 28 / var(--tw-bg-opacity)); } -.hover\:bg-slate-300:hover { +.wedocs-document :is(.hover\:bg-slate-300:hover) { --tw-bg-opacity: 1; background-color: rgb(203 213 225 / var(--tw-bg-opacity)); } -.hover\:fill-\[\#cf7500\]:hover { +.wedocs-document :is(.hover\:fill-\[\#cf7500\]:hover) { fill: #cf7500; } -.hover\:stroke-indigo-700:hover { +.wedocs-document :is(.hover\:stroke-indigo-700:hover) { stroke: #4338ca; } -.hover\:stroke-red-700:hover { +.wedocs-document :is(.hover\:stroke-red-700:hover) { stroke: #b91c1c; } -.hover\:\!text-indigo-800:hover { +.wedocs-document :is(.hover\:\!text-indigo-800:hover) { --tw-text-opacity: 1 !important; color: rgb(55 48 163 / var(--tw-text-opacity)) !important; } -.hover\:text-black:hover { +.wedocs-document :is(.hover\:text-black:hover) { --tw-text-opacity: 1; color: rgb(0 0 0 / var(--tw-text-opacity)); } -.hover\:text-gray-600:hover { +.wedocs-document :is(.hover\:text-gray-600:hover) { --tw-text-opacity: 1; color: rgb(75 85 99 / var(--tw-text-opacity)); } -.hover\:text-gray-900:hover { +.wedocs-document :is(.hover\:text-gray-900:hover) { --tw-text-opacity: 1; color: rgb(17 24 39 / var(--tw-text-opacity)); } -.hover\:text-indigo-700:hover { +.wedocs-document :is(.hover\:text-indigo-700:hover) { --tw-text-opacity: 1; color: rgb(67 56 202 / var(--tw-text-opacity)); } -.hover\:text-white:hover { +.wedocs-document :is(.hover\:text-white:hover) { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); } -.hover\:underline:hover { +.wedocs-document :is(.hover\:underline:hover) { text-decoration-line: underline; } -.hover\:opacity-100:hover { +.wedocs-document :is(.hover\:opacity-100:hover) { opacity: 1; } -.focus\:\!border-indigo-300:focus { +.wedocs-document :is(.focus\:\!border-indigo-300:focus) { --tw-border-opacity: 1 !important; border-color: rgb(165 180 252 / var(--tw-border-opacity)) !important; } -.focus\:border-blue-500:focus { +.wedocs-document :is(.focus\:border-blue-500:focus) { --tw-border-opacity: 1; border-color: rgb(59 130 246 / var(--tw-border-opacity)); } -.focus\:border-indigo-500:focus { +.wedocs-document :is(.focus\:border-indigo-500:focus) { --tw-border-opacity: 1; border-color: rgb(99 102 241 / var(--tw-border-opacity)); } -.focus\:border-red-500:focus { +.wedocs-document :is(.focus\:border-red-500:focus) { --tw-border-opacity: 1; border-color: rgb(239 68 68 / var(--tw-border-opacity)); } -.focus\:text-white:focus { +.wedocs-document :is(.focus\:text-white:focus) { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); } -.focus\:\!shadow-none:focus { +.wedocs-document :is(.focus\:\!shadow-none:focus) { --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; } -.focus\:shadow-none:focus { +.wedocs-document :is(.focus\:shadow-none:focus) { --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } -.focus\:\!shadow-transparent:focus { +.wedocs-document :is(.focus\:\!shadow-transparent:focus) { --tw-shadow-color: transparent !important; --tw-shadow: var(--tw-shadow-colored) !important; } -.focus\:outline-none:focus { +.wedocs-document :is(.focus\:outline-none:focus) { outline: 2px solid transparent; outline-offset: 2px; } -.focus\:outline-0:focus { +.wedocs-document :is(.focus\:outline-0:focus) { outline-width: 0px; } -.focus\:ring-0:focus { +.wedocs-document :is(.focus\:ring-0:focus) { --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); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); } -.focus\:ring-1:focus { +.wedocs-document :is(.focus\:ring-1:focus) { --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(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); } -.focus\:ring-2:focus { +.wedocs-document :is(.focus\:ring-2:focus) { --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(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); } -.focus\:ring-blue-500:focus { +.wedocs-document :is(.focus\:ring-blue-500:focus) { --tw-ring-opacity: 1; --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity)); } -.focus\:ring-indigo-500:focus { +.wedocs-document :is(.focus\:ring-indigo-500:focus) { --tw-ring-opacity: 1; --tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity)); } -.focus\:ring-indigo-600:focus { +.wedocs-document :is(.focus\:ring-indigo-600:focus) { --tw-ring-opacity: 1; --tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity)); } -.focus\:ring-red-500:focus { +.wedocs-document :is(.focus\:ring-red-500:focus) { --tw-ring-opacity: 1; --tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity)); } -.focus\:ring-offset-2:focus { +.wedocs-document :is(.focus\:ring-offset-2:focus) { --tw-ring-offset-width: 2px; } -.disabled\:bg-\[\#F2F2F2\]:disabled { +.wedocs-document :is(.disabled\:bg-\[\#F2F2F2\]:disabled) { --tw-bg-opacity: 1; background-color: rgb(242 242 242 / var(--tw-bg-opacity)); } -.disabled\:opacity-75:disabled { +.wedocs-document :is(.disabled\:opacity-75:disabled) { opacity: 0.75; } -.disabled\:shadow-none:disabled { +.wedocs-document :is(.disabled\:shadow-none:disabled) { --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } -.disabled\:hover\:bg-indigo-600:hover:disabled { +.wedocs-document :is(.disabled\:hover\:bg-indigo-600:hover:disabled) { --tw-bg-opacity: 1; background-color: rgb(79 70 229 / var(--tw-bg-opacity)); } -.group:hover .group-hover\:block { +.wedocs-document :is(.group:hover .group-hover\:block) { display: block; } -.group:hover .group-hover\:inline-flex { +.wedocs-document :is(.group:hover .group-hover\:inline-flex) { display: inline-flex; } -.group:hover .group-hover\:bg-\[\#00A1E4\] { +.wedocs-document :is(.group:hover .group-hover\:bg-\[\#00A1E4\]) { --tw-bg-opacity: 1; background-color: rgb(0 161 228 / var(--tw-bg-opacity)); } -.group:hover .group-hover\:\!stroke-indigo-700 { +.wedocs-document :is(.group:hover .group-hover\:\!stroke-indigo-700) { stroke: #4338ca !important; } -.group:hover .group-hover\:stroke-indigo-700 { +.wedocs-document :is(.group:hover .group-hover\:stroke-indigo-700) { stroke: #4338ca; } -.group:hover .group-hover\:text-\[\#00A1E4\] { +.wedocs-document :is(.group:hover .group-hover\:text-\[\#00A1E4\]) { --tw-text-opacity: 1; color: rgb(0 161 228 / var(--tw-text-opacity)); } -.group:hover .group-hover\:text-black { +.wedocs-document :is(.group:hover .group-hover\:text-black) { --tw-text-opacity: 1; color: rgb(0 0 0 / var(--tw-text-opacity)); } -.group:hover .group-hover\:underline { +.wedocs-document :is(.group:hover .group-hover\:underline) { text-decoration-line: underline; } -.aria-selected\:bg-gray-100[aria-selected="true"] { +.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)); } -.aria-selected\:bg-indigo-700[aria-selected="true"] { +.wedocs-document :is(.aria-selected\:bg-indigo-700[aria-selected="true"]) { --tw-bg-opacity: 1; background-color: rgb(67 56 202 / var(--tw-bg-opacity)); } -.aria-selected\:text-gray-600[aria-selected="true"] { +.wedocs-document :is(.aria-selected\:text-gray-600[aria-selected="true"]) { --tw-text-opacity: 1; color: rgb(75 85 99 / var(--tw-text-opacity)); } -.aria-selected\:text-white[aria-selected="true"] { +.wedocs-document :is(.aria-selected\:text-white[aria-selected="true"]) { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); } @media (prefers-color-scheme: dark) { - .dark\:border-gray-500 { + .wedocs-document :is(.dark\:border-gray-500) { --tw-border-opacity: 1; border-color: rgb(107 114 128 / var(--tw-border-opacity)); } - .dark\:\!bg-gray-200 { + .wedocs-document :is(.dark\:\!bg-gray-200) { --tw-bg-opacity: 1 !important; background-color: rgb(229 231 235 / var(--tw-bg-opacity)) !important; } - .dark\:bg-gray-600 { + .wedocs-document :is(.dark\:bg-gray-600) { --tw-bg-opacity: 1; background-color: rgb(75 85 99 / var(--tw-bg-opacity)); } - .dark\:text-white { + .wedocs-document :is(.dark\:text-white) { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); } - .dark\:placeholder-gray-400::-moz-placeholder { + .wedocs-document :is(.dark\:placeholder-gray-400)::-moz-placeholder { --tw-placeholder-opacity: 1; color: rgb(156 163 175 / var(--tw-placeholder-opacity)); } - .dark\:placeholder-gray-400::placeholder { + .wedocs-document :is(.dark\:placeholder-gray-400)::placeholder { --tw-placeholder-opacity: 1; color: rgb(156 163 175 / var(--tw-placeholder-opacity)); } @@ -5586,118 +5592,118 @@ html.wp-toolbar { @media (min-width: 640px) { - .sm\:mx-0 { + .wedocs-document :is(.sm\:mx-0) { margin-left: 0px; margin-right: 0px; } - .sm\:ml-4 { + .wedocs-document :is(.sm\:ml-4) { margin-left: 1rem; } - .sm\:ml-5 { + .wedocs-document :is(.sm\:ml-5) { margin-left: 1.25rem; } - .sm\:mt-0 { + .wedocs-document :is(.sm\:mt-0) { margin-top: 0px; } - .sm\:flex { + .wedocs-document :is(.sm\:flex) { display: flex; } - .sm\:h-10 { + .wedocs-document :is(.sm\:h-10) { height: 2.5rem; } - .sm\:w-10 { + .wedocs-document :is(.sm\:w-10) { width: 2.5rem; } - .sm\:grid-cols-2 { + .wedocs-document :is(.sm\:grid-cols-2) { grid-template-columns: repeat(2, minmax(0, 1fr)); } - .sm\:grid-cols-3 { + .wedocs-document :is(.sm\:grid-cols-3) { grid-template-columns: repeat(3, minmax(0, 1fr)); } - .sm\:items-start { + .wedocs-document :is(.sm\:items-start) { align-items: flex-start; } - .sm\:items-center { + .wedocs-document :is(.sm\:items-center) { align-items: center; } - .sm\:justify-end { + .wedocs-document :is(.sm\:justify-end) { justify-content: flex-end; } - .sm\:justify-center { + .wedocs-document :is(.sm\:justify-center) { justify-content: center; } - .sm\:justify-between { + .wedocs-document :is(.sm\:justify-between) { justify-content: space-between; } - .sm\:gap-x-4 { + .wedocs-document :is(.sm\:gap-x-4) { -moz-column-gap: 1rem; column-gap: 1rem; } - .sm\:overflow-hidden { + .wedocs-document :is(.sm\:overflow-hidden) { overflow: hidden; } - .sm\:rounded-md { + .wedocs-document :is(.sm\:rounded-md) { border-radius: 0.375rem; } - .sm\:p-6 { + .wedocs-document :is(.sm\:p-6) { padding: 1.5rem; } - .sm\:px-0 { + .wedocs-document :is(.sm\:px-0) { padding-left: 0px; padding-right: 0px; } - .sm\:px-6 { + .wedocs-document :is(.sm\:px-6) { padding-left: 1.5rem; padding-right: 1.5rem; } - .sm\:px-8 { + .wedocs-document :is(.sm\:px-8) { padding-left: 2rem; padding-right: 2rem; } - .sm\:py-4 { + .wedocs-document :is(.sm\:py-4) { padding-top: 1rem; padding-bottom: 1rem; } - .sm\:pl-16 { + .wedocs-document :is(.sm\:pl-16) { padding-left: 4rem; } - .sm\:pl-6 { + .wedocs-document :is(.sm\:pl-6) { padding-left: 1.5rem; } - .sm\:text-left { + .wedocs-document :is(.sm\:text-left) { text-align: left; } - .sm\:text-base { + .wedocs-document :is(.sm\:text-base) { font-size: 1rem; line-height: 1.5rem; } - .sm\:text-sm { + .wedocs-document :is(.sm\:text-sm) { font-size: 0.875rem; line-height: 1.25rem; } @@ -5705,48 +5711,48 @@ html.wp-toolbar { @media (min-width: 768px) { - .md\:mb-6 { + .wedocs-document :is(.md\:mb-6) { margin-bottom: 1.5rem; } - .md\:min-w-\[300px\] { + .wedocs-document :is(.md\:min-w-\[300px\]) { min-width: 300px; } } @media (min-width: 1024px) { - .lg\:col-span-3 { + .wedocs-document :is(.lg\:col-span-3) { grid-column: span 3 / span 3; } - .lg\:col-span-9 { + .wedocs-document :is(.lg\:col-span-9) { grid-column: span 9 / span 9; } - .lg\:grid { + .wedocs-document :is(.lg\:grid) { display: grid; } - .lg\:grid-cols-12 { + .wedocs-document :is(.lg\:grid-cols-12) { grid-template-columns: repeat(12, minmax(0, 1fr)); } - .lg\:grid-cols-3 { + .wedocs-document :is(.lg\:grid-cols-3) { grid-template-columns: repeat(3, minmax(0, 1fr)); } - .lg\:gap-x-6 { + .wedocs-document :is(.lg\:gap-x-6) { -moz-column-gap: 1.5rem; column-gap: 1.5rem; } - .lg\:px-0 { + .wedocs-document :is(.lg\:px-0) { padding-left: 0px; padding-right: 0px; } - .lg\:py-0 { + .wedocs-document :is(.lg\:py-0) { padding-top: 0px; padding-bottom: 0px; } @@ -5754,7 +5760,7 @@ html.wp-toolbar { @media (min-width: 1536px) { - .\32xl\:grid-cols-4 { + .wedocs-document :is(.\32xl\:grid-cols-4) { grid-template-columns: repeat(4, minmax(0, 1fr)); } } diff --git a/assets/build/index.js b/assets/build/index.js index c56ada0..43b42be 100644 --- a/assets/build/index.js +++ b/assets/build/index.js @@ -1,7 +1,5 @@ -!function(){var e,t,r={104:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(818);const a={docs:[],pages:[],parents:[],loading:!1,sorting:!1,userDocIds:[],helpfulDocs:[],needSorting:!1,restrictedArticleList:[]};const o={setDocs(e){return{type:"SET_DOCS",docs:e}},setDoc(e){return{type:"SET_DOC",doc:e}},setParentDocs(e){return{type:"SET_PARENT_DOCS",parents:e}},setPages(e){return{type:"SET_PAGES",pages:e}},setLoading(e){return{type:"SET_LOADING",loading:e}},setSortingStatus(e){return{type:"SET_SORTING_STATUS",sorting:e}},setNeedSortingStatus(e){return{type:"SET_NEED_SORTING_STATUS",needSorting:e}},setUserDocIds(e){return{type:"SET_USER_DOC_IDS",userDocIds:e}},setUserDocId(e){return{type:"SET_USER_DOC_ID",userDocId:e}},fetchFromAPI(e){return{type:"FETCH_FROM_API",path:e}},setHelpfulDocs(e){return{type:"SET_HELPFUL_DOCS",helpfulDocs:e}},createDocsToAPI(e){return{type:"UPDATE_TO_API",path:"/wp/v2/docs",data:e}},removeDoc(e){return{type:"REMOVE_DOC",docId:e}},setRestrictedArticles(e){return{type:"SET_RESTRICTED_ARTICLES",restrictedArticleList:e}},setRestrictedArticle(e){return{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":"")),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":"")),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}}};var s=o;const 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))}};var l=i,c=r(989),d=r.n(c),u={FETCH_FROM_API(e){return d()({path:e.path})},UPDATE_TO_API(e){return d()({path:e.path,data:e.data,method:"POST"})},DELETE_TO_API(e){return d()({path:e.path,method:"DELETE"})}};const m=wp.hooks.applyFilters("wedocs_documentation_fetching_path","/wp/v2/docs?per_page=-1&status=publish"+("undefined"!=typeof weDocsAdminVars?",draft":"")),p={*getDocs(){yield s.setLoading(!0);const e=yield s.fetchFromAPI(m);yield s.setDocs(e);const t=e.filter((e=>!e.parent)),r=t?.sort(((e,t)=>e.menu_order-t.menu_order));return yield s.setParentDocs(r),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(){const e=yield s.fetchFromAPI("/wp/v2/docs/users/ids");return s.setUserDocIds(e)},*getHelpfulDocs(){const e=yield s.fetchFromAPI(m);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))}};var f=p,h=(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:f,controls:u})},172:function(e,t,r){"use strict";r.d(t,{Z:function(){return f}});var n=r(818);const a={roles:{},settings:{general:{docs_home:"",email:"on",email_to:"",helpful:"on",comments:"off",print:"on",collapse_articles:"off"},permission:{global_permission:["administrator","editor"],role_wise_permission:["administrator"]},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};const 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}};var s=o;const i={setSettings(e){return{type:"SET_SETTINGS",settings:e}},setSettingsOption(e,t){return{type:"SET_SETTINGS_OPTION",option:e,value:t}},setLoading(e){return{type:"SET_LOADING",loading:e}},setUpgradeInfo(e){return{type:"SET_UPGRADE_INFO",needUpgrade:e}},setMigrateInfo(e){return{type:"SET_MIGRATE_INFO",needMigrate:e}},setSaving(e){return{type:"SET_SAVING",saving:e}},setRoles(e){return{type:"SET_ROLES",roles:e}},setTurnstileSiteKey(e){return{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"}}};var l=i;const 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)}};var d=c,u=r(989),m=r.n(u),p={FETCH_SETTINGS(){return m()({path:"/wp/v2/docs/settings?data=wedocs_settings"})},FETCH_ROLES(){return m()({path:"/wp/v2/docs/users"})},FETCH_UPGRADE_INFO(){return m()({path:"/wp/v2/docs/upgrade"})},FETCH_SITE_KEY(){return m()({path:"/wp/v2/docs/settings/turnstile-site-key"})},UPDATE_TO_API(e){return m()({path:e.path,data:e.data,method:"POST"})}},f=(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_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:p})},907:function(e,t,r){"use strict";var n=r(818),a=r(104),o=r(172);(0,n.register)(a.Z),(0,n.register)(o.Z)},184:function(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,d={"­":"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"},u=/["&'<>`]/g,m={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},p=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,f=/[\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]/,h=/&(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,g={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:"‌"},b={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:"ÿ"},w={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:"Ÿ"},v=[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],x=String.fromCharCode,y={}.hasOwnProperty,E=function(e,t){return y.call(e,t)},k=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=E(e,r)?e[r]:t[r];return n},N=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&D("character reference outside the permissible Unicode range"),"�"):E(w,e)?(t&&D("disallowed character reference"),w[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r65535&&(r+=x((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=x(e))},S=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},A=function(e){return"&#"+e+";"},D=function(e){throw Error("Parse error: "+e)},C=function(e,t){(t=k(t,C.options)).strict&&f.test(e)&&D("forbidden code point");var r=t.encodeEverything,n=t.useNamedReferences,a=t.allowUnsafeSymbols,o=t.decimal?A:S,m=function(e){return o(e.charCodeAt(0))};return r?(e=e.replace(i,(function(e){return n&&E(d,e)?"&"+d[e]+";":m(e)})),n&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(e=e.replace(c,(function(e){return"&"+d[e]+";"})))):n?(a||(e=e.replace(u,(function(e){return"&"+d[e]+";"}))),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(c,(function(e){return"&"+d[e]+";"}))):a||(e=e.replace(u,m)),e.replace(s,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return o(1024*(t-55296)+r-56320+65536)})).replace(l,m)};C.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var I=function(e,t){var r=(t=k(t,I.options)).strict;return r&&p.test(e)&&D("malformed character reference"),e.replace(h,(function(e,n,a,o,s,i,l,c,d){var u,m,p,f,h,w;return n?g[h=n]:a?(h=a,(w=o)&&t.isAttributeValue?(r&&"="==w&&D("`&` did not start a character reference"),e):(r&&D("named character reference was not terminated by a semicolon"),b[h]+(w||""))):s?(p=s,m=i,r&&!m&&D("character reference was not terminated by a semicolon"),u=parseInt(p,10),N(u,r)):l?(f=l,m=c,r&&!m&&D("character reference was not terminated by a semicolon"),u=parseInt(f,16),N(u,r)):(r&&D("named character reference was not terminated by a semicolon"),e)}))};I.options={isAttributeValue:!1,strict:!1};var L={version:"1.2.0",encode:C,decode:I,escape:function(e){return e.replace(u,(function(e){return m[e]}))},unescape:I};void 0===(n=function(){return L}.call(t,r,t,e))||(e.exports=n)}()},703:function(e,t,r){"use strict";var n=r(414);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}},697:function(e,t,r){e.exports=r(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},995:function(e,t,r){var n,a,o;a=[t,r(532)],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)},532:function(e,t,r){var n,a,o;a=[t,r(196),r(697)],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)},751:function(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(",")+")"}},954:function(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(196),o=(n=r(751))&&n.__esModule?n:{default:n},s=r(918);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)}}},684:function(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(196)),a=u(r(995)),o=u(r(702)),s=u(r(40)),i=u(r(513)),l=u(r(885)),c=r(918),d=r(954);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.selectedItem0&&(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.firstItemnew 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)),R=()=>y(i.actions),_=()=>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=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},Re=e=>{const t=document.createElement("li");return G(t,i["progress-step-line"]),e.progressStepsDistance&&J(t,"width",e.progressStepsDistance),t},_e=(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=Re(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,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(),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 Fr,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=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);_e(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:Rt,disableLoading:St,enableButtons:Lt,enableInput:Mt,getInput:Dt,handleAwaitingPromise:ot,hideLoading:St,rejectPromise:at,resetValidationMessage:Ot,showValidationMessage:_t,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={email:(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"),url:(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 Ir(e){(function(e){e.inputValidator||("email"===e.input&&(e.inputValidator=Cr.email),"url"===e.input&&(e.inputValidator=Cr.url))})(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 Lr;var Tr=new WeakMap;class Mr{constructor(){if(n(this,Tr,{writable:!0,value:void 0}),"undefined"==typeof window)return;Lr=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=Lr;const r=_r(e,t);Ir(r),Object.freeze(r),a.timeout&&(a.timeout.stop(),delete a.timeout),clearTimeout(a.restoreFocusTimeout);const n=Or(Lr);return _e(Lr,r),he.innerParams.set(Lr,r),Rr(Lr,n,r)}then(t){return e(this,Tr).then(t)}finally(t){return e(this,Tr).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),Br(a,r,s),Pr(t,r),setTimeout((()=>{t.container.scrollTop=0}))})),_r=(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},Or=e=>{const t={popup:E(),container:v(),actions:R(),confirmButton:I(),denyButton:T(),cancelButton:L(),loader:M(),closeButton:B(),validationMessage:C(),progressSteps:D()};return he.domCache.set(e,t),t},Br=(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)}))))},Pr=(e,t)=>{t.toast||(h(t.allowEnterKey)?jr(e,t)||je(-1,1):zr())},jr=(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)),zr=()=>{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))}Mr.prototype.disableButtons=Tt,Mr.prototype.enableButtons=Lt,Mr.prototype.getInput=Dt,Mr.prototype.disableInput=Rt,Mr.prototype.enableInput=Mt,Mr.prototype.hideLoading=St,Mr.prototype.disableLoading=St,Mr.prototype.showValidationMessage=_t,Mr.prototype.resetValidationMessage=Ot,Mr.prototype.close=rt,Mr.prototype.closePopup=rt,Mr.prototype.closeModal=rt,Mr.prototype.closeToast=rt,Mr.prototype.rejectPromise=at,Mr.prototype.update=Gt,Mr.prototype._destroy=Yt,Object.assign(Mr,ur),Object.keys(Kt).forEach((e=>{Mr[e]=function(){return Lr&&Lr[e]?Lr[e](...arguments):null}})),Mr.DismissReason=Be,Mr.version="11.7.31";const Fr=Mr;return Fr.default=Fr,Fr}(),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}')},196:function(e){"use strict";e.exports=window.React},989:function(e){"use strict";e.exports=window.wp.apiFetch},818:function(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=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return 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((function(e){s[e]=function(){return r[e]}}));return s.default=function(){return r},a.d(o,s),o},a.d=function(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=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!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}(),function(){"use strict";var e=window.wp.element;a(907);var t,r=({children:t})=>(0,e.createElement)("div",{className:"pro-docs"},t),n=a(196),o=a.t(n,2),s=a.n(n);function i(){return i=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 h(e,r,n,a){void 0===a&&(a={});let{window:o=document.defaultView,v5Compat:s=!1}=a,d=o.history,f=t.Pop,h=null,g=b();function b(){return(d.state||{idx:null}).idx}function w(){f=t.Pop;let e=b(),r=null==e?null:e-g;g=e,h&&h({action:f,location:x.location,delta:r})}function v(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,r="string"==typeof e?e:p(e);return c(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==g&&(g=0,d.replaceState(i({},d.state,{idx:g}),""));let x={get action(){return f},get location(){return e(o,d)},listen(e){if(h)throw new Error("A history only accepts one active listener");return o.addEventListener(l,w),h=e,()=>{o.removeEventListener(l,w),h=null}},createHref(e){return r(o,e)},createURL:v,encodeLocation(e){let t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,r){f=t.Push;let a=m(x.location,e,r);n&&n(a,e),g=b()+1;let i=u(a,g),l=x.createHref(a);try{d.pushState(i,"",l)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(l)}s&&h&&h({action:f,location:x.location,delta:1})},replace:function(e,r){f=t.Replace;let a=m(x.location,e,r);n&&n(a,e),g=b();let o=u(a,g),i=x.createHref(a);d.replaceState(o,"",i),s&&h&&h({action:f,location:x.location,delta:0})},go(e){return d.go(e)}};return x}var g;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(g||(g={}));const b=new Set(["lazy","caseSensitive","path","id","index","children"]);function w(e,t,r,n){return void 0===r&&(r=[]),void 0===n&&(n={}),e.map(((e,a)=>{let o=[...r,a],s="string"==typeof e.id?e.id:o.join("-");if(c(!0!==e.index||!e.children,"Cannot specify children on an index route"),c(!n[s],'Found a route id collision on id "'+s+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let r=i({},e,t(e),{id:s});return n[s]=r,r}{let r=i({},e,t(e),{id:s,children:void 0});return n[s]=r,e.children&&(r.children=w(e.children,t,o,n)),r}}))}function v(e,t,r){void 0===r&&(r="/");let n=R(("string"==typeof t?f(t):t).pathname||"/",r);if(null==n)return null;let a=x(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("/")&&(c(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=P([n,s.relativePath]),l=r.concat(s);e.children&&e.children.length>0&&(c(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),x(e.children,t,l,i)),(null!=e.path||e.index)&&t.push({path:i,score:I(i,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of y(e.path))a(e,t,r);else a(e,t)})),t}function y(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=y(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 E=/^:\w+$/,k=3,N=2,S=1,A=10,D=-2,C=e=>"*"===e;function I(e,t){let r=e.split("/"),n=r.length;return r.some(C)&&(n+=D),t&&(n+=N),r.filter((e=>!C(e))).reduce(((e,t)=>e+(E.test(t)?k:""===t?S:A)),n)}function L(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 d(!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 M(e){try{return decodeURI(e)}catch(t){return d(!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 R(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 O(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function B(e,t,r,n){let a;void 0===n&&(n=!1),"string"==typeof e?a=f(e):(a=i({},e),c(!a.pathname||!a.pathname.includes("?"),_("?","pathname","search",a)),c(!a.pathname||!a.pathname.includes("#"),_("#","pathname","hash",a)),c(!a.search||!a.search.includes("#"),_("#","search","hash",a)));let o,s=""===e||""===a.pathname,l=s?"/":a.pathname;if(n||null==l)o=r;else{let e=t.length-1;if(l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let d=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:a=""}="string"==typeof e?f(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:z(n),hash:F(a)}}(a,o),u=l&&"/"!==l&&l.endsWith("/"),m=(s||"."===l)&&r.endsWith("/");return d.pathname.endsWith("/")||!u&&!m||(d.pathname+="/"),d}const P=e=>e.join("/").replace(/\/\/+/g,"/"),j=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),z=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",F=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;class q{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 H(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const U=["post","put","patch","delete"],W=new Set(U),V=["get",...U],G=new Set(V),Z=new Set([301,302,303,307,308]),Y=new Set([307,308]),J={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Q={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},X={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},K=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)});function ee(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=B(a||".",O(i).map((e=>e.pathnameBase)),R(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||ke(c.search)||(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),n&&"/"!==r&&(c.pathname="/"===c.pathname?r:P([r,c.pathname])),p(c)}function te(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,!G.has(a.toLowerCase())))return{path:r,error:fe(405,{method:n.formMethod})};var a;let o,s,i=()=>({path:r,error:fe(400,{type:"invalid-body"})}),l=n.formMethod||"get",d=e?l.toUpperCase():l.toLowerCase(),u=ge(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!xe(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(!xe(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(c("function"==typeof FormData,"FormData is not available in this environment"),n.formData)o=le(n.formData),s=n.formData;else if(n.body instanceof FormData)o=le(n.body),s=n.body;else if(n.body instanceof URLSearchParams)o=n.body,s=ce(o);else if(null==n.body)o=new URLSearchParams,s=new FormData;else try{o=new URLSearchParams(n.body),s=ce(o)}catch(e){return i()}let m={formMethod:d,formAction:u,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(xe(m.formMethod))return{path:r,submission:m};let h=f(r);return t&&h.search&&ke(h.search)&&o.append("index",""),h.search="?"+o,{path:p(h),submission:m}}function re(e,t,r,n,a,o,s,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),w=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,w).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)||s.some((t=>t===e.route.id)))return!0;let a=t.matches[r],l=e;return ae(e,i({currentUrl:g,currentParams:a.params,nextUrl:b,nextParams:l.params},n,{actionResult:h,defaultShouldRevalidate:o||g.pathname+g.search===b.pathname+b.search||g.search!==b.search||ne(a,l)}))})),y=[];return c.forEach(((e,a)=>{if(!r.some((t=>t.route.id===e.routeId)))return;let s=v(u,e.path,m);if(!s)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=Ne(s,e.path),f=!1;f=!d.has(a)&&(!!l.includes(a)||(c&&"idle"!==c.state&&void 0===c.data?o:ae(p,i({currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:h,defaultShouldRevalidate:o})))),f&&y.push({key:a,routeId:e.routeId,path:e.path,matches:s,match:p,controller:new AbortController})})),[x,y]}function ne(e,t){let r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function ae(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}async function oe(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];c(a,"No route found in manifest");let o={};for(let e in n){let t=void 0!==a[e]&&"hasErrorBoundary"!==e;d(!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||b.has(e)||(o[e]=n[e])}Object.assign(a,o),Object.assign(a,i({},t(a),{lazy:void 0}))}async function se(e,t,r,n,a,o,s,i){let l,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})),oe(r.route,o,a)]);if(e)throw e;d=t[0]}else{if(await oe(r.route,o,a),n=r.route[e],!n){if("action"===e){let e=new URL(t.url),n=e.pathname+e.search;throw fe(405,{method:t.method,pathname:n,routeId:r.route.id})}return{type:g.data,data:void 0}}d=await m(n)}else{if(!n){let e=new URL(t.url);throw fe(404,{pathname:e.pathname+e.search})}d=await m(n)}c(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){l=g.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(Z.has(a)){let e=d.headers.get("Location");if(c(e,"Redirects returned/thrown from loaders/actions must have a Location header"),K.test(e)){if(!i.isStaticRequest){let r=new URL(t.url),n=e.startsWith("//")?new URL(r.protocol+e):new URL(e),a=null!=R(n.pathname,s);n.origin===r.origin&&a&&(e=n.pathname+n.search+n.hash)}}else e=ee(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:g.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:l===g.error?g.error:g.data,response:d};let o=d.headers.get("Content-Type");return e=o&&/\bapplication\/json\b/.test(o)?await d.json():await d.text(),l===g.error?{type:l,error:new q(a,d.statusText,e),headers:d.headers}:{type:g.data,data:e,statusCode:d.status,headers:d.headers}}var p,f,h;return l===g.error?{type:l,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:g.deferred,deferredData:d,statusCode:null==(f=d.init)?void 0:f.status,headers:(null==(h=d.init)?void 0:h.headers)&&new Headers(d.init.headers)}:{type:g.data,data:d}}function ie(e,t,r,n){let a=e.createURL(ge(t)).toString(),o={signal:r};if(n&&xe(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=le(n.formData):o.body=n.formData}return new Request(a,o)}function le(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,"string"==typeof n?n:n.name);return t}function ce(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function de(e,t,r,n,a,o,s,l){let{loaderData:d,errors:u}=function(e,t,r,n,a){let o,s={},i=null,l=!1,d={};return r.forEach(((r,u)=>{let m=t[u].route.id;if(c(!ve(r),"Cannot handle redirect results in processLoaderData"),we(r)){let t=me(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,l||(l=!0,o=H(r.error)?r.error.status:500),r.headers&&(d[m]=r.headers)}else be(r)?(a.set(m,r.deferredData),s[m]=r.deferredData.data):s[m]=r.data,null==r.statusCode||200===r.statusCode||l||(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,l);for(let t=0;te.route.id===t))+1):[...e]).reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function pe(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 fe(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 q(e||500,s,new Error(i),!0)}function he(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(ve(r))return{result:r,idx:t}}}function ge(e){return p(i({},"string"==typeof e?f(e):e,{hash:""}))}function be(e){return e.type===g.deferred}function we(e){return e.type===g.error}function ve(e){return(e&&e.type)===g.redirect}function xe(e){return W.has(e.toLowerCase())}async function ye(e,t,r,n,a,o){for(let s=0;se.route.id===l.route.id)),u=null!=d&&!ne(d,l)&&void 0!==(o&&o[l.route.id]);if(be(i)&&(a||u)){let e=n[s];c(e,"Expected an AbortSignal for revalidating fetcher deferred result"),await Ee(i,e,a).then((e=>{e&&(r[s]=e||r[s])}))}}}async function Ee(e,t,r){if(void 0===r&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:g.data,data:e.deferredData.unwrappedData}}catch(e){return{type:g.error,error:e}}return{type:g.data,data:e.deferredData.data}}}function ke(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function Ne(e,t){let r="string"==typeof t?f(t).search:t.search;if(e[e.length-1].route.index&&ke(r||""))return e[e.length-1];let n=O(e);return n[n.length-1]}function Se(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 Ae(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 De(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 Ce(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 Ie(){return Ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t{r.current=!0})),n.useCallback((function(n,a){void 0===a&&(a={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,Ie({fromRouteId:t},a)))}),[e,t])}():function(){Be()||c(!1);let e=n.useContext(Le),{basename:t,navigator:r}=n.useContext(Me),{matches:a}=n.useContext(_e),{pathname:o}=Pe(),s=JSON.stringify(O(a).map((e=>e.pathnameBase))),i=n.useRef(!1);return je((()=>{i.current=!0})),n.useCallback((function(n,a){if(void 0===a&&(a={}),!i.current)return;if("number"==typeof n)return void r.go(n);let l=B(n,JSON.parse(s),o,"path"===a.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:P([t,l.pathname])),(a.replace?r.replace:r.push)(l,a.state,a)}),[t,r,s,o,e])}()}function Fe(){let{matches:e}=n.useContext(_e),t=e[e.length-1];return t?t.params:{}}function qe(e,t){let{relative:r}=void 0===t?{}:t,{matches:a}=n.useContext(_e),{pathname:o}=Pe(),s=JSON.stringify(O(a).map((e=>e.pathnameBase)));return n.useMemo((()=>B(e,JSON.parse(s),o,"path"===r)),[e,s,o,r])}function He(e,r,a){Be()||c(!1);let{navigator:o}=n.useContext(Me),{matches:s}=n.useContext(_e),i=s[s.length-1],l=i?i.params:{},d=(i&&i.pathname,i?i.pathnameBase:"/");i&&i.route;let u,m=Pe();if(r){var p;let e="string"==typeof r?f(r):r;"/"===d||(null==(p=e.pathname)?void 0:p.startsWith(d))||c(!1),u=e}else u=m;let h=u.pathname||"/",g=v(e,{pathname:"/"===d?h:h.slice(d.length)||"/"}),b=function(e,t,r){var a;if(void 0===t&&(t=[]),void 0===r&&(r=null),null==e){var o;if(null==(o=r)||!o.errors)return null;e=r.matches}let s=e,i=null==(a=r)?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||c(!1),s=s.slice(0,Math.min(s.length,e+1))}return s.reduceRight(((e,a,o)=>{let l=a.route.id?null==i?void 0:i[a.route.id]:null,c=null;r&&(c=a.route.errorElement||We);let d=t.concat(s.slice(0,o+1)),u=()=>{let t;return t=l?c:a.route.Component?n.createElement(a.route.Component,null):a.route.element?a.route.element:e,n.createElement(Ge,{match:a,routeContext:{outlet:e,matches:d,isDataRoute:null!=r},children:t})};return r&&(a.route.ErrorBoundary||a.route.errorElement||0===o)?n.createElement(Ve,{location:r.location,revalidation:r.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({},l,e.params),pathname:P([d,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:P([d,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),s,a);return r&&b?n.createElement(Re.Provider,{value:{location:Ie({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:t.Pop}},b):b}function Ue(){let e=function(){var e;let t=n.useContext(Oe),r=function(e){let t=n.useContext(Te);return t||c(!1),t}(Ye.UseRouteError),a=Je(Ye.UseRouteError);return t||(null==(e=r.errors)?void 0:e[a])}(),t=H(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return n.createElement(n.Fragment,null,n.createElement("h2",null,"Unexpected Application Error!"),n.createElement("h3",{style:{fontStyle:"italic"}},t),r?n.createElement("pre",{style:a},r):null,null)}const We=n.createElement(Ue,null);class Ve extends n.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?n.createElement(_e.Provider,{value:this.props.routeContext},n.createElement(Oe.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ge(e){let{routeContext:t,match:r,children:a}=e,o=n.useContext(Le);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),n.createElement(_e.Provider,{value:t},a)}var Ze=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ze||{}),Ye=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}(Ye||{});function Je(e){let t=function(e){let t=n.useContext(_e);return t||c(!1),t}(),r=t.matches[t.matches.length-1];return r.route.id||c(!1),r.route.id}const Qe=n.startTransition;function Xe(e){let{fallbackElement:t,router:r,future:a}=e,[o,s]=n.useState(r.state),{v7_startTransition:i}=a||{},l=n.useCallback((e=>{i&&Qe?Qe((()=>s(e))):s(e)}),[s,i]);n.useLayoutEffect((()=>r.subscribe(l)),[r,l]);let c=n.useMemo((()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:e=>r.navigate(e),push:(e,t,n)=>r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset}),replace:(e,t,n)=>r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})})),[r]),d=r.basename||"/",u=n.useMemo((()=>({router:r,navigator:c,static:!1,basename:d})),[r,c,d]);return n.createElement(n.Fragment,null,n.createElement(Le.Provider,{value:u},n.createElement(Te.Provider,{value:o},n.createElement(et,{basename:d,location:o.location,navigationType:o.historyAction,navigator:c},o.initialized?n.createElement(Ke,{routes:r.routes,state:o}):t))),null)}function Ke(e){let{routes:t,state:r}=e;return He(t,void 0,r)}function $e(e){c(!1)}function et(e){let{basename:r="/",children:a=null,location:o,navigationType:s=t.Pop,navigator:i,static:l=!1}=e;Be()&&c(!1);let d=r.replace(/^\/*/,"/"),u=n.useMemo((()=>({basename:d,navigator:i,static:l})),[d,i,l]);"string"==typeof o&&(o=f(o));let{pathname:m="/",search:p="",hash:h="",state:g=null,key:b="default"}=o,w=n.useMemo((()=>{let e=R(m,d);return null==e?null:{location:{pathname:e,search:p,hash:h,state:g,key:b},navigationType:s}}),[d,m,p,h,g,b,s]);return null==w?null:n.createElement(Me.Provider,{value:u},n.createElement(Re.Provider,{children:a,value:w}))}function tt(e,t){void 0===t&&(t=[]);let r=[];return n.Children.forEach(e,((e,a)=>{if(!n.isValidElement(e))return;let o=[...t,a];if(e.type===n.Fragment)return void r.push.apply(r,tt(e.props.children,o));e.type!==$e&&c(!1),e.props.index&&e.props.children&&c(!1);let s={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=tt(e.props.children,o)),r.push(s)})),r}function rt(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:n.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:n.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function nt(){return nt=Object.assign?Object.assign.bind():function(e){for(var t=1;t{})),n.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const at=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function ot(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=nt({},t,{errors:st(t.errors)})),t}function st(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 q(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}n.startTransition;const it="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,lt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ct=n.forwardRef((function(e,t){let r,{onClick:a,relative:o,reloadDocument:s,replace:i,state:l,target:d,to:u,preventScrollReset:m}=e,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}(e,at),{basename:h}=n.useContext(Me),g=!1;if("string"==typeof u&<.test(u)&&(r=u,it))try{let e=new URL(window.location.href),t=u.startsWith("//")?new URL(e.protocol+u):new URL(u),r=R(t.pathname,h);t.origin===e.origin&&null!=r?u=r+t.search+t.hash:g=!0}catch(e){}let b=function(e,t){let{relative:r}=void 0===t?{}:t;Be()||c(!1);let{basename:a,navigator:o}=n.useContext(Me),{hash:s,pathname:i,search:l}=qe(e,{relative:r}),d=i;return"/"!==a&&(d="/"===i?a:P([a,i])),o.createHref({pathname:d,search:l,hash:s})}(u,{relative:o}),w=function(e,t){let{target:r,replace:a,state:o,preventScrollReset:s,relative:i}=void 0===t?{}:t,l=ze(),c=Pe(),d=qe(e,{relative:i});return n.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,r)){t.preventDefault();let r=void 0!==a?a:p(c)===p(d);l(e,{replace:r,state:o,preventScrollReset:s,relative:i})}}),[c,l,d,a,o,r,e,s,i])}(u,{replace:i,state:l,target:d,preventScrollReset:m,relative:o});return n.createElement("a",nt({},f,{href:r||b,onClick:g||s?a:function(e){a&&a(e),e.defaultPrevented||w(e)},ref:t,target:d}))}));var dt,ut;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(dt||(dt={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(ut||(ut={}));var mt=a(818),pt=a(104),ft=function(e,t=60){const r=e?.substr(0,t);return r?.length>=t?`${r}...`:r},ht=window.wp.i18n,gt=a(492),bt=a.n(gt),wt=({doc:t})=>{if(!t)return;const r=(0,mt.useSelect)((e=>e(pt.Z).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)(e.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":bt()?.decode((0,ht.__)(t?.title?.rendered?t?.title?.rendered:"","wedocs"))},(0,e.createElement)("span",{className:"group-hover:underline mr-5",dangerouslySetInnerHTML:{__html:ft(t?.title?.rendered,75)}}),(0,e.createElement)("div",{className:"tooltip cursor-pointer flex items-center","data-tip":(0,ht.__)("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,ht.__)("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,ht.__)("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(){return null},1(){return St({...t,hidden:!0,style:{display:"none"}},r,n,s)}})}return St(i,r,n,s)}function St(e,t={},r,a){let{as:o=r,children:s,refName:i="ref",...l}=It(e,["unmount","static"]),c=void 0!==e.ref?{[i]:e.ref}:{},d="function"==typeof s?s(t):s;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(t));let u={};if(t){let e=!1,r=[];for(let[n,a]of Object.entries(t))"boolean"==typeof a&&(e=!0),!0===a&&r.push(n);e&&(u["data-headlessui-state"]=r.join(" "))}if(o===n.Fragment&&Object.keys(Ct(l)).length>0){if(!(0,n.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 e=d.props,t="function"==typeof(null==e?void 0:e.className)?(...t)=>vt(null==e?void 0:e.className(...t),l.className):vt(null==e?void 0:e.className,l.className),r=t?{className:t}:{};return(0,n.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),r))}return(0,n.createElement)(o,Object.assign({},It(l,["ref"]),o!==n.Fragment&&c,o!==n.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(e){var t;return Object.assign((0,n.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.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,n.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,n.useContext)(Lt)}function Rt({value:e,children:t}){return n.createElement(Lt.Provider,{value:e},t)}var _t=Object.defineProperty,Ot=(e,t,r)=>(((e,t,r)=>{t in e?_t(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=(e,t)=>{Bt.isServer?(0,n.useEffect)(e,t):(0,n.useLayoutEffect)(e,t)};function jt(){let e=(0,n.useRef)(!1);return Pt((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function zt(e){let t=(0,n.useRef)(e);return Pt((()=>{t.current=e}),[e]),t}function Ft(){let e=function(){let e="undefined"==typeof document;return"useSyncExternalStore"in o&&o.useSyncExternalStore((()=>()=>{}),(()=>!1),(()=>!e))}(),[t,r]=n.useState(Bt.isHandoffComplete);return t&&!1===Bt.isHandoffComplete&&r(!1),n.useEffect((()=>{!0!==t&&r(!0)}),[t]),n.useEffect((()=>Bt.handoff()),[]),!e&&t}let qt=function(e){let t=zt(e);return n.useCallback(((...e)=>t.current(...e)),[t])},Ht=Symbol();function Ut(...e){let t=(0,n.useRef)(e);(0,n.useEffect)((()=>{t.current=e}),[e]);let r=qt((e=>{for(let r of t.current)null!=r&&("function"==typeof r?r(e):r.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[Ht])))?void 0:r}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){return 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){return 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){return 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[e]=(0,n.useState)(Vt);return(0,n.useEffect)((()=>()=>e.dispose()),[e]),e}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(e=0){let[t,r]=(0,n.useState)(e),a=jt(),o=(0,n.useCallback)((e=>{a.current&&r((t=>t|e))}),[t,a]),s=(0,n.useCallback)((e=>Boolean(t&e)),[t]),i=(0,n.useCallback)((e=>{a.current&&r((t=>t&~e))}),[r,a]),l=(0,n.useCallback)((e=>{a.current&&r((t=>t^e))}),[r]);return{flags:t,addFlag:o,hasFlag:s,removeFlag:i,toggleFlag:l}}function Xt(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let Kt=(0,n.createContext)(null);Kt.displayName="TransitionContext";var $t=(e=>(e.Visible="visible",e.Hidden="hidden",e))($t||{});let er=(0,n.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(e,t){let r=zt(e),a=(0,n.useRef)([]),o=jt(),s=Yt(),i=qt(((e,t=kt.Hidden)=>{let n=a.current.findIndex((({el:t})=>t===e));-1!==n&&(xt(t,{[kt.Unmount](){a.current.splice(n,1)},[kt.Hidden](){a.current[n].state="hidden"}}),s.microTask((()=>{var e;!tr(a)&&o.current&&(null==(e=r.current)||e.call(r))})))})),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,n.useRef)([]),d=(0,n.useRef)(Promise.resolve()),u=(0,n.useRef)({enter:[],leave:[],idle:[]}),m=qt(((e,r,n)=>{c.current.splice(0),t&&(t.chains.current[r]=t.chains.current[r].filter((([t])=>t!==e))),null==t||t.chains.current[r].push([e,new Promise((e=>{c.current.push(e)}))]),null==t||t.chains.current[r].push([e,new Promise((e=>{Promise.all(u.current[r].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===r?d.current=d.current.then((()=>null==t?void 0:t.wait.current)).then((()=>n(r))):n(r)})),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,n.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(e,t){let{show:r,appear:a=!1,unmount:o=!0,...s}=e,i=(0,n.useRef)(null),l=Ut(i,t);Ft();let c=Mt();if(void 0===r&&null!==c&&(r=(c&Tt.Open)===Tt.Open),![!0,!1].includes(r))throw new Error("A is used but it is missing a `show={true | false}` prop.");let[d,u]=(0,n.useState)(r?"visible":"hidden"),m=rr((()=>{u("hidden")})),[p,f]=(0,n.useState)(!0),h=(0,n.useRef)([r]);Pt((()=>{!1!==p&&h.current[h.current.length-1]!==r&&(h.current.push(r),f(!1))}),[h,r]);let g=(0,n.useMemo)((()=>({show:r,appear:a,initial:p})),[r,a,p]);(0,n.useEffect)((()=>{if(r)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")}),[r,m]);let b={unmount:o},w=qt((()=>{var t;p&&f(!1),null==(t=e.beforeEnter)||t.call(e)})),v=qt((()=>{var t;p&&f(!1),null==(t=e.beforeLeave)||t.call(e)}));return n.createElement(er.Provider,{value:m},n.createElement(Kt.Provider,{value:g},Nt({ourProps:{...b,as:n.Fragment,children:n.createElement(lr,{ref:l,...b,...s,beforeEnter:w,beforeLeave:v})},theirProps:{},defaultTag:n.Fragment,features:sr,visible:"visible"===d,name:"Transition"})))})),lr=Dt((function(e,t){var r,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}=e,b=(0,n.useRef)(null),w=Ut(b,t),v=null==(r=g.unmount)||r?kt.Unmount:kt.Hidden,{show:x,appear:y,initial:E}=function(){let e=(0,n.useContext)(Kt);if(null===e)throw new Error("A is used but it is missing a parent or .");return e}(),[k,N]=(0,n.useState)(x?"visible":"hidden"),S=function(){let e=(0,n.useContext)(er);if(null===e)throw new Error("A is used but it is missing a parent or .");return e}(),{register:A,unregister:D}=S;(0,n.useEffect)((()=>A(b)),[A,b]),(0,n.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(e){let t=(0,n.useRef)(or(e));return(0,n.useEffect)((()=>{t.current=or(e)}),[e]),t}({beforeEnter:o,afterEnter:s,beforeLeave:i,afterLeave:l}),L=Ft();(0,n.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",R=Qt(0),_=qt((e=>xt(e,{enter:()=>{R.addFlag(Tt.Opening),I.current.beforeEnter()},leave:()=>{R.addFlag(Tt.Closing),I.current.beforeLeave()},idle:()=>{}}))),O=qt((e=>xt(e,{enter:()=>{R.removeFlag(Tt.Opening),I.current.afterEnter()},leave:()=>{R.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,_)})),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),n.createElement(er.Provider,{value:B},n.createElement(Rt,{value:xt(k,{visible:Tt.Open,hidden:Tt.Closed})|R.flags},Nt({ourProps:j,theirProps:P,defaultTag:"div",features:sr,visible:"visible"===k,name:"Transition.Child"})))})),cr=Dt((function(e,t){let r=null!==(0,n.useContext)(Kt),a=null!==Mt();return n.createElement(n.Fragment,null,!r&&a?n.createElement(ir,{ref:t,...e}):n.createElement(lr,{ref:t,...e}))})),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=n.useId)?ur:function(){let e=Ft(),[t,r]=n.useState(e?()=>Bt.nextId():null);return Pt((()=>{null===t&&r(Bt.nextId())}),[t]),null!=t?""+t: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==(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==(4&r)&&2!=(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(){return 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(e,t,r){let a=zt(t);(0,n.useEffect)((()=>{function t(e){a.current(e)}return window.addEventListener(e,t,r),()=>window.removeEventListener(e,t,r)}),[e,r])}var Mr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Mr||{});function Rr(...e){return(0,n.useMemo)((()=>br(...e)),[...e])}function _r(e,t,r,a){let o=zt(r);(0,n.useEffect)((()=>{function r(e){o.current(e)}return(e=null!=e?e:window).addEventListener(t,r,a),()=>e.removeEventListener(t,r,a)}),[e,t,a])}function Or(e,t){let r=(0,n.useRef)([]),a=qt(e);(0,n.useEffect)((()=>{let e=[...r.current];for(let[n,o]of t.entries())if(r.current[n]!==o){let n=a(t,e);return r.current=t,n}}),[a,...t])}function Br(e){let t=qt(e),r=(0,n.useRef)(!1);(0,n.useEffect)((()=>(r.current=!1,()=>{r.current=!0,Wt((()=>{r.current&&t()}))})),[t])}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(e,t){let r=(0,n.useRef)(null),a=Ut(r,t),{initialFocus:o,containers:s,features:i=30,...l}=e;Ft()||(i=1);let c=Rr(r);!function({ownerDocument:e},t){let r=function(e=!0){let t=(0,n.useRef)(qr.slice());return Or((([e],[r])=>{!0===r&&!1===e&&Wt((()=>{t.current.splice(0)})),!1===r&&!0===e&&(t.current=qr.slice())}),[e,qr,t]),qt((()=>{var e;return null!=(e=t.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(t);Or((()=>{t||(null==e?void 0:e.activeElement)===(null==e?void 0:e.body)&&Dr(r())}),[t]),Br((()=>{t&&Dr(r())}))}({ownerDocument:c},Boolean(16&i));let d=function({ownerDocument:e,container:t,initialFocus:r},a){let o=(0,n.useRef)(null),s=jt();return Or((()=>{if(!a)return;let n=t.current;n&&Wt((()=>{if(!s.current)return;let t=null==e?void 0:e.activeElement;if(null!=r&&r.current){if((null==r?void 0:r.current)===t)return void(o.current=t)}else if(n.contains(t))return void(o.current=t);null!=r&&r.current?Dr(r.current):Lr(n,yr.First)===Er.Error&&console.warn("There are no focusable elements inside the "),o.current=null==e?void 0:e.activeElement}))}),[a]),o}({ownerDocument:c,container:r,initialFocus:o},Boolean(2&i));!function({ownerDocument:e,container:t,containers:r,previousActiveElement:n},a){let o=jt();_r(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:r,containers:s,previousActiveElement:d},Boolean(8&i));let u=function(){let e=(0,n.useRef)(0);return Tr("keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}(),m=qt((e=>{let t=r.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,n.useRef)(!1),h={ref:a,onKeyDown(e){"Tab"==e.key&&(f.current=!0,p.requestAnimationFrame((()=>{f.current=!1})))},onBlur(e){let t=Pr(s);r.current instanceof HTMLElement&&t.add(r.current);let n=e.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(Hr(t,n)||(f.current?Lr(r.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 n.createElement(n.Fragment,null,Boolean(4&i)&&n.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)&&n.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(e){function t(){"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",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}();var Ur=window.ReactDOM;let Wr=(0,n.createContext)(!1);function Vr(){return(0,n.useContext)(Wr)}function Gr(e){return n.createElement(Wr.Provider,{value:e.force},e.children)}let Zr=n.Fragment,Yr=n.Fragment,Jr=(0,n.createContext)(null),Qr=(0,n.createContext)(null),Xr=Dt((function(e,t){let r=e,a=(0,n.useRef)(null),o=Ut(function(e,t=!0){return Object.assign(e,{[Ht]:t})}((e=>{a.current=e})),t),s=Rr(a),i=function(e){let t=Vr(),r=(0,n.useContext)(Jr),a=Rr(e),[o,s]=(0,n.useState)((()=>{if(!t&&null!==r||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 n=a.createElement("div");return n.setAttribute("id","headlessui-portal-root"),a.body.appendChild(n)}));return(0,n.useEffect)((()=>{null!==o&&(null!=a&&a.body.contains(o)||null==a||a.body.appendChild(o))}),[o,a]),(0,n.useEffect)((()=>{t||null!==r&&s(r.current)}),[r,s,t]),o}(a),[l]=(0,n.useState)((()=>{var e;return Bt.isServer?null:null!=(e=null==s?void 0:s.createElement("div"))?e:null})),c=(0,n.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:r,defaultTag:Zr,name:"Portal"}),l):null})),Kr=Dt((function(e,t){let{target:r,...a}=e,o={ref:Ut(t)};return n.createElement(Jr.Provider,{value:r},Nt({ourProps:o,theirProps:a,defaultTag:Yr,name:"Popover.Group"}))})),$r=Object.assign(Xr,{Group:Kr}),en=(0,n.createContext)(null);function tn(){let e=(0,n.useContext)(en);if(null===e){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 e}function rn(){let[e,t]=(0,n.useState)([]);return[e.length>0?e.join(" "):void 0,(0,n.useMemo)((()=>function(e){let r=qt((e=>(t((t=>[...t,e])),()=>t((t=>{let r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))))),a=(0,n.useMemo)((()=>({register:r,slot:e.slot,name:e.name,props:e.props})),[r,e.slot,e.name,e.props]);return n.createElement(en.Provider,{value:a},e.children)}),[t])]}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,n.createContext)((()=>{}));on.displayName="StackContext";var sn=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(sn||{});function ln({children:e,onUpdate:t,type:r,element:a,enabled:o}){let s=(0,n.useContext)(on),i=qt(((...e)=>{null==t||t(...e),s(...e)}));return Pt((()=>{let e=void 0===o||!0===o;return e&&i(0,r,a),()=>{e&&i(1,r,a)}}),[i,r,a,o]),n.createElement(on.Provider,{value:i},e)}function cn(e,t,r){let a=zt(t);(0,n.useEffect)((()=>{function t(e){a.current(e)}return document.addEventListener(e,t,r),()=>document.removeEventListener(e,t,r)}),[e,r])}function dn(e,t,r=!0){let a=(0,n.useRef)(!1);function o(r,n){if(!a.current||r.defaultPrevented)return;let o=n(r);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]}(e);for(let e of s){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(o)||r.composed&&r.composedPath().includes(t))return}return!Sr(o,Nr.Loose)&&-1!==o.tabIndex&&r.preventDefault(),t(r,o)}(0,n.useEffect)((()=>{requestAnimationFrame((()=>{a.current=r}))}),[r]);let s=(0,n.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}=o;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 o?(e=>e.useSyncExternalStore)(o):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(){return r},subscribe(e){return 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){return e.titleId===t.id?e:{...e,titleId:t.id}}},Ln=(0,n.createContext)(null);function Tn(e){let t=(0,n.useContext)(Ln);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Tn),t}return t}function Mn(e,t){return xt(t.type,In,e,t)}Ln.displayName="DialogContext";let Rn=Et.RenderStrategy|Et.Static,On=Dt((function(e,t){var r;let a=fr(),{id:o=`headlessui-dialog-${a}`,open:s,onClose:i,initialFocus:l,__demoMode:c=!1,...d}=e,[u,m]=(0,n.useState)(0),p=Mt();void 0===s&&null!==p&&(s=(p&Tt.Open)===Tt.Open);let f=(0,n.useRef)(null),h=Ut(f,t),g=Rr(f),b=e.hasOwnProperty("open")||null!==p,w=e.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,n.useReducer)(Mn,{titleId:null,descriptionId:null,panelRef:(0,n.createRef)()}),E=qt((()=>i(!1))),k=qt((e=>y({type:0,id:e}))),N=!!Ft()&&!c&&0===v,S=u>1,A=null!==(0,n.useContext)(Ln),[D,C]=function(){let e=(0,n.useContext)(Qr),t=(0,n.useRef)([]),r=qt((r=>(t.current.push(r),e&&e.register(r),()=>a(r)))),a=qt((r=>{let n=t.current.indexOf(r);-1!==n&&t.current.splice(n,1),e&&e.unregister(r)})),o=(0,n.useMemo)((()=>({register:r,unregister:a,portals:t})),[r,a,t]);return[t,(0,n.useMemo)((()=>function({children:e}){return n.createElement(Qr.Provider,{value:o},e)}),[o])]}(),{resolveContainers:I,mainTreeNodeRef:L,MainTreeNode:T}=function({defaultContainers:e=[],portals:t,mainTreeNodeRef:r}={}){var a;let o=(0,n.useRef)(null!=(a=null==r?void 0:r.current)?a:null),s=Rr(o),i=qt((()=>{var r;let n=[];for(let t of e)null!==t&&(t instanceof HTMLElement?n.push(t):"current"in t&&t.current instanceof HTMLElement&&n.push(t.current));if(null!=t&&t.current)for(let e of t.current)n.push(e);for(let e of null!=(r=null==s?void 0:s.querySelectorAll("html > *, body > *"))?r:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(e.contains(o.current)||n.some((t=>e.contains(t)))||n.push(e));return n}));return{resolveContainers:i,contains:qt((e=>i().some((t=>t.contains(e))))),mainTreeNodeRef:o,MainTreeNode:(0,n.useMemo)((()=>function(){return null!=r?null:n.createElement(gr,{features:hr.Hidden,ref:o})}),[o,r])}}({portals:D,defaultContainers:[null!=(r=x.panelRef.current)?r:f.current]}),M=S?"parent":"leaf",R=null!==p&&(p&Tt.Closing)===Tt.Closing,_=!A&&!R&&N,O=(0,n.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,_);let B=!!S||N,P=(0,n.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);_r(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,!(R||0!==v||A),I),(0,n.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,n.useMemo)((()=>[{dialogState:v,close:E,setTitleId:k},x]),[v,x,E,k]),H=(0,n.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 n.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))})}))},n.createElement(Gr,{force:!0},n.createElement($r,null,n.createElement(Ln.Provider,{value:q},n.createElement($r.Group,{target:f},n.createElement(Gr,{force:!1},n.createElement(F,{slot:H,name:"Dialog.Description"},n.createElement(Fr,{initialFocus:l,containers:I,features:N?xt(M,{parent:Fr.features.RestoreFocus,leaf:Fr.features.All&~Fr.features.FocusLock}):Fr.features.None},n.createElement(C,null,Nt({ourProps:U,theirProps:d,slot:H,defaultTag:"div",features:Rn,visible:0===v,name:"Dialog"}))))))))),n.createElement(T,null))})),Bn=Dt((function(e,t){let r=fr(),{id:a=`headlessui-dialog-backdrop-${r}`,...o}=e,[{dialogState:s},i]=Tn("Dialog.Backdrop"),l=Ut(t);(0,n.useEffect)((()=>{if(null===i.panelRef.current)throw new Error("A component is being used, but a component is missing.")}),[i.panelRef]);let c=(0,n.useMemo)((()=>({open:0===s})),[s]);return n.createElement(Gr,{force:!0},n.createElement($r,null,Nt({ourProps:{ref:l,id:a,"aria-hidden":!0},theirProps:o,slot:c,defaultTag:"div",name:"Dialog.Backdrop"})))})),Pn=Dt((function(e,t){let r=fr(),{id:a=`headlessui-dialog-panel-${r}`,...o}=e,[{dialogState:s},i]=Tn("Dialog.Panel"),l=Ut(t,i.panelRef),c=(0,n.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(e,t){let r=fr(),{id:a=`headlessui-dialog-overlay-${r}`,...o}=e,[{dialogState:s,close:i}]=Tn("Dialog.Overlay");return Nt({ourProps:{ref:Ut(t),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,n.useMemo)((()=>({open:0===s})),[s]),defaultTag:"div",name:"Dialog.Overlay"})})),zn=Dt((function(e,t){let r=fr(),{id:a=`headlessui-dialog-title-${r}`,...o}=e,[{dialogState:s,setTitleId:i}]=Tn("Dialog.Title"),l=Ut(t);(0,n.useEffect)((()=>(i(a),()=>i(null))),[a,i]);let c=(0,n.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(455),Hn=a.n(qn),Un=({classes:t,children:r,docId:n,type:a})=>{const[o,s]=(0,e.useState)(!1),[i,l]=(0,e.useState)(!1);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("button",{onClick:()=>{s(!0)},className:t},r),(0,e.createElement)(dr,{appear:!0,show:o,as:e.Fragment},(0,e.createElement)(Fn,{as:"div",className:"relative z-[9999]",onClose:()=>s(!1)},(0,e.createElement)(dr.Child,{as:e.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"},(0,e.createElement)(dr.Child,{as:e.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,ht.__)("Are you sure you want to delete this ","wedocs")+a+"?"),(0,e.createElement)("p",{className:"text-gray-500 text-base"},(0,ht.__)("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,ht.__)("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,mt.dispatch)("wedocs/docs").deleteDoc(n).then((t=>{Hn().fire({title:e+(0,ht.__)(" deleted!","wedocs"),text:e+(0,ht.__)(" 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,ht.__)("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,ht.__)("Removing...","wedocs"):(0,ht.__)("I'm sure","wedocs"))))))))))))},Wn=n.forwardRef((function({title:e,titleId:t,...r},a){return n.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":t},r),e?n.createElement("title",{id:t},e):null,n.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=n.forwardRef((function({title:e,titleId:t,...r},a){return n.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":t},r),e?n.createElement("title",{id:t},e):null,n.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=n.forwardRef((function({title:e,titleId:t,...r},a){return n.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":t},r),e?n.createElement("title",{id:t},e):null,n.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(e,t){let[r,a]=(0,n.useState)(e),o=zt(e);return Pt((()=>a(o.current)),[o,a,...t]),r}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(e,t){let[r,a]=(0,n.useState)((()=>Yn(e)));return Pt((()=>{a(Yn(e))}),[e.type,e.as]),Pt((()=>{r||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&a("button")}),[r,t]),r}function Qn({container:e,accept:t,walk:r,enabled:a=!0}){let o=(0,n.useRef)(t),s=(0,n.useRef)(r);(0,n.useEffect)((()=>{o.current=t,s.current=r}),[t,r]),Pt((()=>{if(!e||!a)return;let t=br(e);if(!t)return;let r=o.current,n=s.current,i=Object.assign((e=>r(e)),{acceptNode:r}),l=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,i,!1);for(;l.nextNode();)n(l.currentNode)}),[e,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(e,t,r){let[a,o]=(0,n.useState)(r),s=void 0!==e,i=(0,n.useRef)(s),l=(0,n.useRef)(!1),c=(0,n.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?e:a,qt((e=>(s||o(e),null==t?void 0:t(e))))]}function aa(e){return[e.screenX,e.screenY]}function oa(){let e=(0,n.useRef)([-1,-1]);return{wasMoved(t){let r=aa(t);return(e.current[0]!==r[0]||e.current[1]!==r[1])&&(e.current=r,!0)},update(t){e.current=aa(t)}}}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,n.createContext)(null);function pa(e){let t=(0,n.useContext)(ma);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,pa),t}return t}ma.displayName="ComboboxActionsContext";let fa=(0,n.createContext)(null);function ha(e){let t=(0,n.useContext)(fa);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ha),t}return t}function ga(e,t){return xt(t.type,ua,e,t)}fa.displayName="ComboboxDataContext";let ba=n.Fragment,wa=Et.RenderStrategy|Et.Static,va=Dt((function(e,t){let{value:r,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}=e,[f=(m?[]:void 0),h]=na(r,o,a),[g,b]=(0,n.useReducer)(ga,{dataRef:(0,n.createRef)(),comboboxState:d?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),w=(0,n.useRef)(!1),v=(0,n.useRef)({static:!1,hold:!1}),x=(0,n.useRef)(null),y=(0,n.useRef)(null),E=(0,n.useRef)(null),k=(0,n.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,n.useCallback)((e=>xt(A.mode,{1:()=>f.some((t=>N(t,e))),0:()=>N(f,e)})),[f]),A=(0,n.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,n.useRef)(null!==A.activeOptionIndex?A.options[A.activeOptionIndex]:null);(0,n.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,n.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})),R=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})))),_=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(){return 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,n.useMemo)((()=>({onChange:B,registerOption:_,registerLabel:O,goToOption:R,closeCombobox:M,openCombobox:T,selectActiveOption:L,selectOption:I})),[]),j=null===t?{}:{ref:t},z=(0,n.useRef)(null),F=Yt();return(0,n.useEffect)((()=>{z.current&&void 0!==a&&F.addEventListener(z.current,"reset",(()=>{null==h||h(a)}))}),[z,h]),n.createElement(ma.Provider,{value:P},n.createElement(fa.Provider,{value:A},n.createElement(Rt,{value:xt(A.comboboxState,{0:Tt.Open,1:Tt.Closed})},null!=i&&null!=f&&$n({[i]:f}).map((([e,t],r)=>n.createElement(gr,{features:hr.Hidden,ref:0===r?e=>{var t;z.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...Ct({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:s,name:e,value:t})}))),Nt({ourProps:j,theirProps:p,slot:C,defaultTag:ba,name:"Combobox"}))))})),xa=Dt((function(e,t){var r;let a=ha("Combobox.Button"),o=pa("Combobox.Button"),s=Ut(a.buttonRef,t),i=fr(),{id:l=`headlessui-combobox-button-${i}`,...c}=e,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,n.useMemo)((()=>({open:0===a.comboboxState,disabled:a.disabled,value:a.value})),[a]);return Nt({ourProps:{ref:s,id:l,type:Jn(e,a.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==(r=a.optionsRef.current)?void 0:r.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(e,t){var r,a,o,s;let i=fr(),{id:l=`headlessui-combobox-input-${i}`,onChange:c,displayValue:d,type:u="text",...m}=e,p=ha("Combobox.Input"),f=pa("Combobox.Input"),h=Ut(p.inputRef,t),g=Rr(p.inputRef),b=(0,n.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,n.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,n.useMemo)((()=>({open:0===p.comboboxState,disabled:p.disabled})),[p]);return Nt({ourProps:{ref:h,id:l,role:"combobox",type:u,"aria-controls":null==(r=p.optionsRef.current)?void 0:r.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=e.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(e,t){let r=fr(),{id:a=`headlessui-combobox-label-${r}`,...o}=e,s=ha("Combobox.Label"),i=pa("Combobox.Label"),l=Ut(s.labelRef,t);Pt((()=>i.registerLabel(a)),[a]);let c=qt((()=>{var e;return null==(e=s.inputRef.current)?void 0:e.focus({preventScroll:!0})})),d=(0,n.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(e,t){let r=fr(),{id:a=`headlessui-combobox-options-${r}`,hold:o=!1,...s}=e,i=ha("Combobox.Options"),l=Ut(i.optionsRef,t),c=Mt(),d=null!==c?(c&Tt.Open)===Tt.Open:0===i.comboboxState;Pt((()=>{var t;i.optionsPropsRef.current.static=null!=(t=e.static)&&t}),[i.optionsPropsRef,e.static]),Pt((()=>{i.optionsPropsRef.current.hold=o}),[i.optionsPropsRef,o]),Qn({container:i.optionsRef.current,enabled:0===i.comboboxState,accept(e){return"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,n.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(e,t){var r,a;let o=fr(),{id:s=`headlessui-combobox-option-${o}`,disabled:i=!1,value:l,...c}=e,d=ha("Combobox.Option"),u=pa("Combobox.Option"),m=null!==d.activeOptionIndex&&d.options[d.activeOptionIndex].id===s,p=d.isSelected(l),f=(0,n.useRef)(null),h=zt({disabled:i,value:l,domRef:f,textValue:null==(a=null==(r=f.current)?void 0:r.textContent)?void 0:a.toLowerCase()}),g=Ut(t,f),b=qt((()=>u.selectOption(s)));Pt((()=>u.registerOption(s,h)),[h,s]);let w=(0,n.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,n.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});var Aa=({type:t,docId:r,sections:n,isFormError:a,defaultSection:o,selectSectionId:s})=>{const{id:i}=Fe(),l=(...e)=>e.filter(Boolean).join(" "),c=n.map((e=>({id:e.id,name:e?.title?.rendered}))),[d,u]=(0,e.useState)({title:{raw:""},parent:parseInt(r||i),status:"publish"}),[m,p]=(0,e.useState)(o||""),[f,h]=(0,e.useState)(""),g=""===f?c:c.filter((e=>e?.name.toLowerCase().includes(f.toLowerCase())));return(0,e.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,ht.__)("Type an article name","wedocs"):(0,ht.__)("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=>bt().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,mt.dispatch)(pt.Z).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,ht.__)("Type to write the name of new article","wedocs"):(0,ht.__)("Type to write the name of new section","wedocs"))))))},Da=n.forwardRef((function({title:e,titleId:t,...r},a){return n.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":t},r),e?n.createElement("title",{id:t},e):null,n.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"}))}));const Ca=(e=0)=>weDocsAdminVars?.hasManageCap,Ia=t=>{(0,e.useEffect)((()=>{document.addEventListener("keypress",(e=>{if("Enter"===e?.key&&t?.current)return t?.current?.click()}))}),[])};var La=({type:t,docId:r,article:n,children:a,sections:o,className:s,defaultSection:i,setShowArticles:l})=>{const c=(0,e.useRef)(null),[d,u]=(0,e.useState)(!1),[m,p]=(0,e.useState)(i?.id||""),[f,h]=(0,e.useState)(n),[g,b]=(0,e.useState)({title:!1,sectionId:!1}),w=(0,mt.useSelect)((e=>e(pt.Z).getSectionArticles(parseInt(m))),[]),[v,x]=(0,e.useState)(""),[y,E]=(0,e.useState)(!1),k=()=>{u(!1)},N=e=>{h({...f,status:e})};return(0,e.useEffect)((()=>{h({...f,parent:m}),b({...g,sectionId:!1})}),[m]),(0,e.useEffect)((()=>{h({...f,menu_order:w?.length})}),[w]),Ia(c),(0,e.useEffect)((()=>{bt().decode(f?.title?.rendered||"")&&x(bt().decode(f?.title?.rendered||""))}),[f?.title?.rendered]),(0,e.createElement)(e.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:e.Fragment},(0,e.createElement)(Fn,{as:"div",className:"relative z-[9999]",onClose:k},(0,e.createElement)(dr.Child,{as:e.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:e.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,ht.__)("Quickly edit important info of the article","wedocs")),(0,e.createElement)("p",{className:"text-gray-500 text-base"},(0,ht.__)("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,ht.__)("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,ht.__)("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,ht.__)("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,mt.dispatch)(pt.Z).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,ht.__)("Article has been drafted!","wedocs"):(0,ht.__)("Article has been published!","wedocs"),text:"draft"===f?.status?(0,ht.__)("The article has been drafted successfully","wedocs"):(0,ht.__)("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,ht.__)("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)(e.Fragment,null,"draft"===f?.status?(0,ht.__)("Draft","wedocs"):(0,ht.sprintf)((0,ht.__)("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,ht.__)("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,ht.__)("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,e.useState)(!1);return(0,e.createElement)(e.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 z-10 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,ht.__)("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,ht.__)("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,ht.__)("View","wedocs")),(0,e.createElement)("span",{onClick:()=>{(0,mt.dispatch)("wedocs/docs").updateDoc(t?.id,{status:"draft"===t?.status?"publish":"draft"}).then((({docs:e})=>{Hn().fire({icon:"success",toast:!0,title:(0,ht.__)(`${"doc"===r?"Doc":"Article"} ${"draft"===t?.status?"Published":"Drafted"} Successfully!`,"wedocs"),timer:2e3,position:"bottom-end",showConfirmButton:!1,text:(0,ht.__)(`${"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,ht.__)("Publish Now","wedocs"):(0,ht.__)("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,ht.__)("Delete","wedocs")))))};const Ma="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function Ra(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function _a(e){return"nodeType"in e}function Oa(e){var t,r;return e?Ra(e)?e:_a(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!Ra(e)&&e instanceof Oa(e).HTMLElement}function ja(e){return e instanceof Oa(e).SVGElement}function za(e){return e?Ra(e)?e.document:_a(e)?Ba(e)?e:Pa(e)||ja(e)?e.ownerDocument:document:document:document}const Fa=Ma?n.useLayoutEffect:n.useEffect;function qa(e){const t=(0,n.useRef)(e);return Fa((()=>{t.current=e})),(0,n.useCallback)((function(){for(var e=arguments.length,r=new Array(e),n=0;n{r.current!==e&&(r.current=e)}),t),r}function Ua(e,t){const r=(0,n.useRef)();return(0,n.useMemo)((()=>{const t=e(r.current);return r.current=t,t}),[...t])}function Wa(e){const t=qa(e),r=(0,n.useRef)(null),a=(0,n.useCallback)((e=>{e!==r.current&&(null==t||t(e,r.current)),r.current=e}),[]);return[r,a]}function Va(e){const t=(0,n.useRef)();return(0,n.useEffect)((()=>{t.current=e}),[e]),t.current}let Ga={};function Za(e,t){return(0,n.useMemo)((()=>{if(t)return t;const r=null==Ga[e]?0:Ga[e]+1;return Ga[e]=r,e+"-"+r}),[e,t])}function Ya(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 Ja=Ya(1),Qa=Ya(-1);function Xa(e){if(!e)return!1;const{KeyboardEvent:t}=Oa(e.target);return t&&e instanceof t}function Ka(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 $a=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[$a.Translate.toString(e),$a.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:r,easing:n}=e;return t+" "+r+"ms "+n}}}),eo="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function to(e){return e.matches(eo)?e:e.querySelector(eo)}const ro={display:"none"};function no(e){let{id:t,value:r}=e;return s().createElement("div",{id:t,style:ro},r)}const ao={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 oo(e){let{id:t,announcement:r}=e;return s().createElement("div",{id:t,style:ao,role:"status","aria-live":"assertive","aria-atomic":!0},r)}const so=(0,n.createContext)(null),io={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 "},lo={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 co(e){let{announcements:t=lo,container:r,hiddenTextDescribedById:a,screenReaderInstructions:o=io}=e;const{announce:i,announcement:l}=function(){const[e,t]=(0,n.useState)("");return{announce:(0,n.useCallback)((e=>{null!=e&&t(e)}),[]),announcement:e}}(),c=Za("DndLiveRegion"),[d,u]=(0,n.useState)(!1);if((0,n.useEffect)((()=>{u(!0)}),[]),function(e){const t=(0,n.useContext)(so);(0,n.useEffect)((()=>{if(!t)throw new Error("useDndMonitor must be used within a children of ");return t(e)}),[e,t])}((0,n.useMemo)((()=>({onDragStart(e){let{active:r}=e;i(t.onDragStart({active:r}))},onDragMove(e){let{active:r,over:n}=e;t.onDragMove&&i(t.onDragMove({active:r,over:n}))},onDragOver(e){let{active:r,over:n}=e;i(t.onDragOver({active:r,over:n}))},onDragEnd(e){let{active:r,over:n}=e;i(t.onDragEnd({active:r,over:n}))},onDragCancel(e){let{active:r,over:n}=e;i(t.onDragCancel({active:r,over:n}))}})),[i,t])),!d)return null;const m=s().createElement(s().Fragment,null,s().createElement(no,{id:a,value:o.draggable}),s().createElement(oo,{id:c,announcement:l}));return r?(0,Ur.createPortal)(m,r):m}var uo;function mo(){}!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"}(uo||(uo={}));const po=Object.freeze({x:0,y:0});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,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 bo=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const a=go(t,t.left,t.top),o=[];for(const e of n){const{id:t}=e,n=r.get(t);if(n){const r=(s=go(n),i=a,Math.sqrt(Math.pow(s.x-i.x,2)+Math.pow(s.y-i.y,2)));o.push({id:t,data:{droppableContainer:e,value:r}})}}var s,i;return o.sort(fo)};function wo(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=wo(o,t);r>0&&a.push({id:n,data:{droppableContainer:e,value:r}})}}return a.sort(ho)};function xo(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:po}function yo(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 Eo=yo(1);const ko={ignoreTransform:!1};function No(e,t){void 0===t&&(t=ko);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 So(e){return No(e,{ignoreTransform:!0})}function Ao(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)||ja(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 Do(e){const[t]=Ao(e,1);return null!=t?t:null}function Co(e){return Ma&&e?Ra(e)?e:_a(e)?Ba(e)||e===za(e).scrollingElement?window:Pa(e)?e:null:null:null}function Io(e){return Ra(e)?e.scrollX:e.scrollLeft}function Lo(e){return Ra(e)?e.scrollY:e.scrollTop}function To(e){return{x:Io(e),y:Lo(e)}}var Mo;function Ro(e){return!(!Ma||!e)&&e===document.scrollingElement}function _o(e){const t={x:0,y:0},r=Ro(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"}(Mo||(Mo={}));const Oo={x:.2,y:.2};function Bo(e,t,r,n,a){let{top:o,left:s,right:i,bottom:l}=r;void 0===n&&(n=10),void 0===a&&(a=Oo);const{isTop:c,isBottom:d,isLeft:u,isRight:m}=_o(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=Mo.Backward,f.y=n*Math.abs((t.top+h-o)/h)):!d&&l>=t.bottom-h&&(p.y=Mo.Forward,f.y=n*Math.abs((t.bottom-h-l)/h)),!m&&i>=t.right-g?(p.x=Mo.Forward,f.x=n*Math.abs((t.right-g-i)/g)):!u&&s<=t.left+g&&(p.x=Mo.Backward,f.x=n*Math.abs((t.left+g-s)/g)),{direction:p,speed:f}}function Po(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 jo(e){return e.reduce(((e,t)=>Ja(e,To(t))),po)}const zo=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+Io(t)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+Lo(t)),0)}]];class Fo{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=Ao(t),n=jo(r);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,a]of zo)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 qo{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 Ho(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 Uo,Wo,Vo;function Go(e){e.preventDefault()}function Zo(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"}(Uo||(Uo={})),(Vo=Wo||(Wo={})).Space="Space",Vo.Down="ArrowDown",Vo.Right="ArrowRight",Vo.Left="ArrowLeft",Vo.Up="ArrowUp",Vo.Esc="Escape",Vo.Enter="Enter";const Yo={start:[Wo.Space,Wo.Enter],cancel:[Wo.Esc],end:[Wo.Space,Wo.Enter]},Jo=(e,t)=>{let{currentCoordinates:r}=t;switch(e.code){case Wo.Right:return{...r,x:r.x+25};case Wo.Left:return{...r,x:r.x-25};case Wo.Down:return{...r,y:r.y+25};case Wo.Up:return{...r,y:r.y-25}}};class Qo{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 qo(za(t)),this.windowListeners=new qo(Oa(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Uo.Resize,this.handleCancel),this.windowListeners.add(Uo.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(Uo.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,r=e.node.current;r&&function(e,t){if(void 0===t&&(t=No),!e)return;const{top:r,left:n,bottom:a,right:o}=t(e);Do(e)&&(a<=0||o<=0||r>=window.innerHeight||n>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}(r),t(po)}handleKeyDown(e){if(Xa(e)){const{active:t,context:r,options:n}=this.props,{keyboardCodes:a=Yo,coordinateGetter:o=Jo,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}:po;this.referenceCoordinates||(this.referenceCoordinates=c);const d=o(e,{active:t,context:r.current,currentCoordinates:c});if(d){const t=Qa(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}=_o(r),p=Po(r),f={x:Math.min(a===Wo.Right?p.right-p.width/2:p.right,Math.max(a===Wo.Right?p.left:p.left+p.width/2,d.x)),y:Math.min(a===Wo.Down?p.bottom-p.height/2:p.bottom,Math.max(a===Wo.Down?p.top:p.top+p.height/2,d.y))},h=a===Wo.Right&&!i||a===Wo.Left&&!l,g=a===Wo.Down&&!c||a===Wo.Up&&!o;if(h&&f.x!==d.x){const e=r.scrollLeft+t.x,o=a===Wo.Right&&e<=u.x||a===Wo.Left&&e>=m.x;if(o&&!t.y)return void r.scrollTo({left:e,behavior:s});n.x=o?r.scrollLeft-e:a===Wo.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===Wo.Down&&e<=u.y||a===Wo.Up&&e>=m.y;if(o&&!t.x)return void r.scrollTo({top:e,behavior:s});n.y=o?r.scrollTop-e:a===Wo.Down?r.scrollTop-u.y:r.scrollTop-m.y,n.y&&r.scrollBy({top:-n.y,behavior:s});break}}this.handleMove(e,Ja(Qa(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 Xo(e){return Boolean(e&&"distance"in e)}function Ko(e){return Boolean(e&&"delay"in e)}Qo.activators=[{eventName:"onKeyDown",handler:(e,t,r)=>{let{keyboardCodes:n=Yo,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 $o{constructor(e,t,r){var n;void 0===r&&(r=function(e){const{EventTarget:t}=Oa(e);return e instanceof t?e:za(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=za(o),this.documentListeners=new qo(this.document),this.listeners=new qo(r),this.windowListeners=new qo(Oa(o)),this.initialCoordinates=null!=(n=Ka(a))?n:po,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(Uo.Resize,this.handleCancel),this.windowListeners.add(Uo.DragStart,Go),this.windowListeners.add(Uo.VisibilityChange,this.handleCancel),this.windowListeners.add(Uo.ContextMenu,Go),this.documentListeners.add(Uo.Keydown,this.handleKeydown),t){if(Xo(t))return;if(Ko(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(Uo.Click,Zo,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Uo.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=Ka(e))?t:po,l=Qa(n,i);if(!r&&s){if(Ko(s))return Ho(l,s.tolerance)?this.handleCancel():void 0;if(Xo(s))return null!=s.tolerance&&Ho(l,s.tolerance)?this.handleCancel():Ho(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===Wo.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const es={move:{name:"pointermove"},end:{name:"pointerup"}};class ts extends $o{constructor(e){const{event:t}=e,r=za(t.target);super(e,es,r)}}ts.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 rs={move:{name:"mousemove"},end:{name:"mouseup"}};var ns;!function(e){e[e.RightClick=2]="RightClick"}(ns||(ns={})),class extends $o{constructor(e){super(e,rs,za(e.event.target))}}.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return r.button!==ns.RightClick&&(null==n||n({event:r}),!0)}}];const as={move:{name:"touchmove"},end:{name:"touchend"}};var os,ss;(class extends $o{constructor(e){super(e,as)}static setup(){return window.addEventListener(as.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(as.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"}(os||(os={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(ss||(ss={}));const is={x:{[Mo.Backward]:!1,[Mo.Forward]:!1},y:{[Mo.Backward]:!1,[Mo.Forward]:!1}};var ls,cs;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(ls||(ls={})),function(e){e.Optimized="optimized"}(cs||(cs={}));const ds=new Map;function us(e,t){return Ua((r=>e?r||("function"==typeof t?t(e):e):null),[t,e])}function ms(e){let{callback:t,disabled:r}=e;const a=qa(t),o=(0,n.useMemo)((()=>{if(r||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(a)}),[r]);return(0,n.useEffect)((()=>()=>null==o?void 0:o.disconnect()),[o]),o}function ps(e){return new Fo(No(e),e)}function fs(e,t,r){void 0===t&&(t=ps);const[a,o]=(0,n.useReducer)((function(n){if(!e)return null;var a;if(!1===e.isConnected)return null!=(a=null!=n?n:r)?a:null;const o=t(e);return JSON.stringify(n)===JSON.stringify(o)?n:o}),null),s=function(e){let{callback:t,disabled:r}=e;const a=qa(t),o=(0,n.useMemo)((()=>{if(r||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(a)}),[a,r]);return(0,n.useEffect)((()=>()=>null==o?void 0:o.disconnect()),[o]),o}({callback(t){if(e)for(const r of t){const{type:t,target:n}=r;if("childList"===t&&n instanceof HTMLElement&&n.contains(e)){o();break}}}}),i=ms({callback:o});return Fa((()=>{o(),e?(null==i||i.observe(e),null==s||s.observe(document.body,{childList:!0,subtree:!0})):(null==i||i.disconnect(),null==s||s.disconnect())}),[e]),a}const hs=[];function gs(e,t){void 0===t&&(t=[]);const r=(0,n.useRef)(null);return(0,n.useEffect)((()=>{r.current=null}),t),(0,n.useEffect)((()=>{const t=e!==po;t&&!r.current&&(r.current=e),!t&&r.current&&(r.current=null)}),[e]),r.current?Qa(e,r.current):po}function bs(e){return(0,n.useMemo)((()=>e?function(e){const t=e.innerWidth,r=e.innerHeight;return{top:0,left:0,right:t,bottom:r,width:t,height:r}}(e):null),[e])}const ws=[];const vs=[{sensor:ts,options:{}},{sensor:Qo,options:{}}],xs={current:{}},ys={draggable:{measure:So},droppable:{measure:So,strategy:ls.WhileDragging,frequency:cs.Optimized},dragOverlay:{measure:No}};class Es 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 ks={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Es,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:mo},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:ys,measureDroppableContainers:mo,windowRect:null,measuringScheduled:!1},Ns={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:mo,draggableNodes:new Map,over:null,measureDroppableContainers:mo},Ss=(0,n.createContext)(Ns),As=(0,n.createContext)(ks);function Ds(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Es}}}function Cs(e,t){switch(t.type){case uo.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case uo.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 uo.DragEnd:case uo.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case uo.RegisterDroppable:{const{element:r}=t,{id:n}=r,a=new Es(e.droppable.containers);return a.set(n,r),{...e,droppable:{...e.droppable,containers:a}}}case uo.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 Es(e.droppable.containers);return s.set(r,{...o,disabled:a}),{...e,droppable:{...e.droppable,containers:s}}}case uo.UnregisterDroppable:{const{id:r,key:n}=t,a=e.droppable.containers.get(r);if(!a||n!==a.key)return e;const o=new Es(e.droppable.containers);return o.delete(r),{...e,droppable:{...e.droppable,containers:o}}}default:return e}}function Is(e){let{disabled:t}=e;const{active:r,activatorEvent:a,draggableNodes:o}=(0,n.useContext)(Ss),s=Va(a),i=Va(null==r?void 0:r.id);return(0,n.useEffect)((()=>{if(!t&&!a&&s&&null!=i){if(!Xa(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=to(e);if(t){t.focus();break}}}))}}),[a,t,o,i,s]),null}const Ls=(0,n.createContext)({...po,scaleX:1,scaleY:1});var Ts;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Ts||(Ts={}));const Ms=(0,n.memo)((function(e){var t,r,a,o;let{id:i,accessibility:l,autoScroll:c=!0,children:d,sensors:u=vs,collisionDetection:m=vo,measuring:p,modifiers:f,...h}=e;const g=(0,n.useReducer)(Cs,void 0,Ds),[b,w]=g,[v,x]=function(){const[e]=(0,n.useState)((()=>new Set)),t=(0,n.useCallback)((t=>(e.add(t),()=>e.delete(t))),[e]);return[(0,n.useCallback)((t=>{let{type:r,event:n}=t;e.forEach((e=>{var t;return null==(t=e[r])?void 0:t.call(e,n)}))}),[e]),t]}(),[y,E]=(0,n.useState)(Ts.Uninitialized),k=y===Ts.Initialized,{draggable:{active:N,nodes:S,translate:A},droppable:{containers:D}}=b,C=N?S.get(N):null,I=(0,n.useRef)({initial:null,translated:null}),L=(0,n.useMemo)((()=>{var e;return null!=N?{id:N,data:null!=(e=null==C?void 0:C.data)?e:xs,rect:I}:null}),[N,C]),T=(0,n.useRef)(null),[M,R]=(0,n.useState)(null),[_,O]=(0,n.useState)(null),B=Ha(h,Object.values(h)),P=Za("DndDescribedBy",i),j=(0,n.useMemo)((()=>D.getEnabled()),[D]),z=(F=p,(0,n.useMemo)((()=>({draggable:{...ys.draggable,...null==F?void 0:F.draggable},droppable:{...ys.droppable,...null==F?void 0:F.droppable},dragOverlay:{...ys.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(e,t){let{dragging:r,dependencies:a,config:o}=t;const[s,i]=(0,n.useState)(null),{frequency:l,measure:c,strategy:d}=o,u=(0,n.useRef)(e),m=function(){switch(d){case ls.Always:return!1;case ls.BeforeDragging:return r;default:return!r}}(),p=Ha(m),f=(0,n.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,n.useRef)(null),g=Ua((t=>{if(m&&!r)return ds;if(!t||t===ds||u.current!==e||null!=s){const t=new Map;for(let r of e){if(!r)continue;if(s&&s.length>0&&!s.includes(r.id)&&r.rect.current){t.set(r.id,r.rect.current);continue}const e=r.node.current,n=e?new Fo(c(e),e):null;r.rect.current=n,n&&t.set(r.id,n)}return t}return t}),[e,s,r,m,c]);return(0,n.useEffect)((()=>{u.current=e}),[e]),(0,n.useEffect)((()=>{m||f()}),[r,m]),(0,n.useEffect)((()=>{s&&s.length>0&&i(null)}),[JSON.stringify(s)]),(0,n.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 Ua((e=>{var r;return null===t?null:null!=(r=null!=n?n:e)?r:null}),[n,t])}(S,N),V=(0,n.useMemo)((()=>_?Ka(_):null),[_]),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 us(e,t)}(W,z.draggable.measure);!function(e){let{activeNode:t,measure:r,initialRect:a,config:o=!0}=e;const s=(0,n.useRef)(!1),{x:i,y:l}="boolean"==typeof o?{x:o,y:o}:o;Fa((()=>{if(!i&&!l||!t)return void(s.current=!1);if(s.current||!a)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const n=xo(r(e),a);if(i||(n.x=0),l||(n.y=0),s.current=!0,Math.abs(n.x)>0||Math.abs(n.y)>0){const t=Do(e);t&&t.scrollBy({top:n.y,left:n.x})}}),[t,i,l,a,r])}({activeNode:N?S.get(N):null,config:G.layoutShiftCompensation,initialRect:Z,measure:z.draggable.measure});const Y=fs(W,z.draggable.measure,Z),J=fs(W?W.parentElement:null),Q=(0,n.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==(t=Q.current.over)?void 0:t.id),K=function(e){let{measure:t}=e;const[r,a]=(0,n.useState)(null),o=ms({callback:(0,n.useCallback)((e=>{for(const{target:r}of e)if(Pa(r)){a((e=>{const n=t(r);return e?{...e,width:n.width,height:n.height}:n}));break}}),[t])}),s=(0,n.useCallback)((e=>{const r=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(),r&&(null==o||o.observe(r)),a(r?t(r):null)}),[t,o]),[i,l]=Wa(s);return(0,n.useMemo)((()=>({nodeRef:i,rect:r,setRef:l})),[r,i,l])}({measure:z.dragOverlay.measure}),$=null!=(r=K.nodeRef.current)?r:W,ee=k?null!=(a=K.rect)?a:Y:null,te=Boolean(K.nodeRef.current&&K.rect),re=xo(ne=te?null:Y,us(ne));var ne;const ae=bs($?Oa($):null),oe=function(e){const t=(0,n.useRef)(e),r=Ua((r=>e?r&&r!==hs&&e&&t.current&&e.parentNode===t.current.parentNode?r:Ao(e):hs),[e]);return(0,n.useEffect)((()=>{t.current=e}),[e]),r}(k?null!=X?X:W:null),se=function(e,t){void 0===t&&(t=No);const[r]=e,a=bs(r?Oa(r):null),[o,s]=(0,n.useReducer)((function(){return e.length?e.map((e=>Ro(e)?a:new Fo(t(e),e))):ws}),ws),i=ms({callback:s});return e.length>0&&o===ws&&s(),Fa((()=>{e.length?e.forEach((e=>null==i?void 0:i.observe(e))):(null==i||i.disconnect(),s())}),[e]),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:_,active:L,activeNodeRect:Y,containerNodeRect:J,draggingNodeRect:ee,over:Q.current.over,overlayNodeRect:K.rect,scrollableAncestors:oe,scrollableAncestorRects:se,windowRect:ae}),le=V?Ja(V,A):null,ce=function(e){const[t,r]=(0,n.useState)(null),a=(0,n.useRef)(e),o=(0,n.useCallback)((e=>{const t=Co(e.target);t&&r((e=>e?(e.set(t,To(t)),new Map(e)):null))}),[]);return(0,n.useEffect)((()=>{const t=a.current;if(e!==t){n(t);const s=e.map((e=>{const t=Co(e);return t?(t.addEventListener("scroll",o,{passive:!0}),[t,To(t)]):null})).filter((e=>null!=e));r(s.length?new Map(s):null),a.current=e}return()=>{n(e),n(t)};function n(e){e.forEach((e=>{const t=Co(e);null==t||t.removeEventListener("scroll",o)}))}}),[o,e]),(0,n.useMemo)((()=>e.length?t?Array.from(t.values()).reduce(((e,t)=>Ja(e,t)),po):jo(e):po),[e,t])}(oe),de=gs(ce),ue=gs(ce,[Y]),me=Ja(ie,de),pe=ee?Eo(ee,ie):null,fe=L&&pe?m({active:L,collisionRect:pe,droppableRects:q,droppableContainers:j,pointerCoordinates:le}):null,he=function(e,t){if(!e||0===e.length)return null;const[r]=e;return r.id}(fe),[ge,be]=(0,n.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:Ja(ie,ue),null!=(o=null==ge?void 0:ge.rect)?o:null,Y),ve=(0,n.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(Ts.Initializing),w({type:uo.DragStart,initialCoordinates:e,active:t}),v({type:"onDragStart",event:a})}))},onMove(e){w({type:uo.DragMove,coordinates:e})},onEnd:i(uo.DragEnd),onCancel:i(uo.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===uo.DragEnd&&"function"==typeof i&&await Promise.resolve(i(s))&&(e=uo.DragCancel)}T.current=null,(0,Ur.unstable_batchedUpdates)((()=>{w({type:e}),E(Ts.Uninitialized),be(null),R(null),O(null);const t=e===uo.DragEnd?"onDragEnd":"onDragCancel";if(s){const e=B.current[t];null==e||e(s),v({type:t,event:s})}}))}}(0,Ur.unstable_batchedUpdates)((()=>{R(s),O(e.nativeEvent)}))}),[S]),xe=(0,n.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(e,t){return(0,n.useMemo)((()=>e.reduce(((e,r)=>{const{sensor:n}=r;return[...e,...n.activators.map((e=>({eventName:e.eventName,handler:t(e.handler,r)})))]}),[])),[e,t])}(u,xe);!function(e){(0,n.useEffect)((()=>{if(!Ma)return;const t=e.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const e of t)null==e||e()}}),e.map((e=>{let{sensor:t}=e;return t})))}(u),Fa((()=>{Y&&y===Ts.Initializing&&E(Ts.Initialized)}),[Y,y]),(0,n.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,n.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]),Fa((()=>{Q.current={activatorEvent:_,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(e){let{acceleration:t,activator:r=os.Pointer,canScroll:a,draggingRect:o,enabled:s,interval:i=5,order:l=ss.TreeOrder,pointerCoordinates:c,scrollableAncestors:d,scrollableAncestorRects:u,delta:m,threshold:p}=e;const f=function(e){let{delta:t,disabled:r}=e;const n=Va(t);return Ua((e=>{if(r||!n||!e)return is;const a=Math.sign(t.x-n.x),o=Math.sign(t.y-n.y);return{x:{[Mo.Backward]:e.x[Mo.Backward]||-1===a,[Mo.Forward]:e.x[Mo.Forward]||1===a},y:{[Mo.Backward]:e.y[Mo.Backward]||-1===o,[Mo.Forward]:e.y[Mo.Forward]||1===o}}}),[r,t,n])}({delta:m,disabled:!s}),[h,g]=function(){const e=(0,n.useRef)(null);return[(0,n.useCallback)(((t,r)=>{e.current=setInterval(t,r)}),[]),(0,n.useCallback)((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}(),b=(0,n.useRef)({x:0,y:0}),w=(0,n.useRef)({x:0,y:0}),v=(0,n.useMemo)((()=>{switch(r){case os.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case os.DraggableRect:return o}}),[r,o,c]),x=(0,n.useRef)(null),y=(0,n.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,n.useMemo)((()=>l===ss.TreeOrder?[...d].reverse():d),[l,d]);(0,n.useEffect)((()=>{if(s&&d.length&&v){for(const e of E){if(!1===(null==a?void 0:a(e)))continue;const r=d.indexOf(e),n=u[r];if(!n)continue;const{direction:o,speed:s}=Bo(e,n,v,t,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()}),[t,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,n.useMemo)((()=>({active:L,activeNode:W,activeNodeRect:Y,activatorEvent:_,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,_,fe,J,K,S,D,q,ge,H,oe,se,z,U,ae]),ke=(0,n.useMemo)((()=>({activatorEvent:_,activators:ye,active:L,activeNodeRect:Y,ariaDescribedById:{draggable:P},dispatch:w,draggableNodes:S,over:ge,measureDroppableContainers:H})),[_,ye,L,Y,w,P,S,ge,H]);return s().createElement(so.Provider,{value:x},s().createElement(Ss.Provider,{value:ke},s().createElement(As.Provider,{value:Ee},s().createElement(Ls.Provider,{value:we},d)),s().createElement(Is,{disabled:!1===(null==l?void 0:l.restoreFocus)})),s().createElement(co,{...l,hiddenTextDescribedById:P}))})),Rs=(0,n.createContext)(null),_s="button",Os="Droppable";const Bs={timeout:25};function Ps(e,t,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(t,1)[0]),n}function js(e,t){return e.reduce(((e,r,n)=>{const a=t.get(r);return a&&(e[n]=a),e}),Array(e.length))}function zs(e){return null!==e&&e>=0}const Fs=e=>{let{rects:t,activeIndex:r,overIndex:n,index:a}=e;const o=Ps(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},qs={scaleX:1,scaleY:1},Hs=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,...qs}:a=s?{x:0,y:i.height+l,...qs}:{x:0,y:0,...qs}},Us="Sortable",Ws=s().createContext({activeIndex:-1,containerId:Us,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:Fs,disabled:{draggable:!1,droppable:!1}});function Vs(e){let{children:t,id:r,items:a,strategy:o=Fs,disabled:i=!1}=e;const{active:l,dragOverlay:c,droppableRects:d,over:u,measureDroppableContainers:m}=(0,n.useContext)(As),p=Za(Us,r),f=Boolean(null!==c.rect),h=(0,n.useMemo)((()=>a.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[a]),g=null!=l,b=l?h.indexOf(l.id):-1,w=u?h.indexOf(u.id):-1,v=(0,n.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,n.useEffect)((()=>{v.current=h}),[h]);const k=(0,n.useMemo)((()=>({activeIndex:b,containerId:p,disabled:E,disableTransforms:y,items:h,overIndex:w,useDragOverlay:f,sortedRects:js(h,d),strategy:o})),[b,p,E.draggable,E.droppable,y,h,w,d,f,o]);return s().createElement(Ws.Provider,{value:k},t)}const Gs=e=>{let{id:t,items:r,activeIndex:n,overIndex:a}=e;return Ps(r,n,a).indexOf(t)},Zs=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))},Ys={duration:200,easing:"ease"},Js="transform",Qs=$a.Transition.toString({property:Js,duration:0,easing:"linear"}),Xs={roleDescription:"sortable"};function Ks(e){let{animateLayoutChanges:t=Zs,attributes:r,disabled:a,data:o,getNewIndex:s=Gs,id:i,strategy:l,resizeObserverConfig:c,transition:d=Ys}=e;const{items:u,containerId:m,activeIndex:p,disabled:f,disableTransforms:h,sortedRects:g,overIndex:b,useDragOverlay:w,strategy:v}=(0,n.useContext)(Ws),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,n.useMemo)((()=>({sortable:{containerId:m,index:y,items:u},...o})),[m,o,y,u]),k=(0,n.useMemo)((()=>u.slice(u.indexOf(i))),[u,i]),{rect:N,node:S,isOver:A,setNodeRef:D}=function(e){let{data:t,disabled:r=!1,id:a,resizeObserverConfig:o}=e;const s=Za("Droppable"),{active:i,dispatch:l,over:c,measureDroppableContainers:d}=(0,n.useContext)(Ss),u=(0,n.useRef)({disabled:r}),m=(0,n.useRef)(!1),p=(0,n.useRef)(null),f=(0,n.useRef)(null),{disabled:h,updateMeasurementsFor:g,timeout:b}={...Bs,...o},w=Ha(null!=g?g:a),v=ms({callback:(0,n.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,n.useCallback)(((e,t)=>{v&&(t&&(v.unobserve(t),m.current=!1),e&&v.observe(e))}),[v]),[y,E]=Wa(x),k=Ha(t);return(0,n.useEffect)((()=>{v&&y.current&&(v.disconnect(),m.current=!1,v.observe(y.current))}),[y,v]),Fa((()=>(l({type:uo.RegisterDroppable,element:{id:a,key:s,disabled:r,node:y,rect:p,data:k}}),()=>l({type:uo.UnregisterDroppable,key:s,id:a}))),[a]),(0,n.useEffect)((()=>{r!==u.current.disabled&&(l({type:uo.SetDroppableDisabled,id:a,key:s,disabled:r}),u.current.disabled=r)}),[a,s,r,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:R,isDragging:_,over:O,setActivatorNodeRef:B,transform:P}=function(e){let{id:t,data:r,disabled:a=!1,attributes:o}=e;const s=Za(Os),{activators:i,activatorEvent:l,active:c,activeNodeRect:d,ariaDescribedById:u,draggableNodes:m,over:p}=(0,n.useContext)(Ss),{role:f=_s,roleDescription:h="draggable",tabIndex:g=0}=null!=o?o:{},b=(null==c?void 0:c.id)===t,w=(0,n.useContext)(b?Ls:Rs),[v,x]=Wa(),[y,E]=Wa(),k=function(e,t){return(0,n.useMemo)((()=>e.reduce(((e,r)=>{let{eventName:n,handler:a}=r;return e[n]=e=>{a(e,t)},e}),{})),[e,t])}(i,t),N=Ha(r);return Fa((()=>(m.set(t,{id:t,key:s,node:v,activatorNode:y,data:N}),()=>{const e=m.get(t);e&&e.key===s&&m.delete(t)})),[m,t]),{active:c,activatorEvent:l,activeNodeRect:d,attributes:(0,n.useMemo)((()=>({role:f,tabIndex:g,"aria-disabled":a,"aria-pressed":!(!b||f!==_s)||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:{...Xs,...r},disabled:x.draggable}),j=function(){for(var e=arguments.length,t=new Array(e),r=0;re=>{t.forEach((t=>t(e)))}),t)}(D,M),z=Boolean(C),F=z&&!h&&zs(p)&&zs(b),q=!w&&_,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=zs(p)&&zs(b)?s({id:i,items:u,activeIndex:p,overIndex:b}):y,V=null==C?void 0:C.id,G=(0,n.useRef)({activeId:V,items:u,newIndex:W,containerId:m}),Z=u!==G.current.items,Y=t({active:C,containerId:m,isDragging:_,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(e){let{disabled:t,index:r,node:a,rect:o}=e;const[s,i]=(0,n.useState)(null),l=(0,n.useRef)(r);return Fa((()=>{if(!t&&r!==l.current&&a.current){const e=o.current;if(e){const t=No(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)}}r!==l.current&&(l.current=r)}),[t,r,a,o]),(0,n.useEffect)((()=>{s&&i(null)}),[s]),s}({disabled:!Y,index:y,node:S,rect:N});return(0,n.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,n.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:_,listeners:R,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?Qs:q&&!Xa(I)||!d?void 0:z||Y?$a.Transition.toString({...d,property:Js}):void 0}}Wo.Down,Wo.Right,Wo.Up,Wo.Left;var $s=({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":bt().decode((0,ht.__)(t?.title?.rendered,"wedocs"))},(0,e.createElement)("span",{className:"hover:underline group-hover:text-black",dangerouslySetInnerHTML:{__html:ft(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,ht.__)("Draft","wedocs")),!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,ht.__)("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,ht.__)("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,ht.__)("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,ht.sprintf)((0,ht.__)("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},ei=({sections:t,className:r,children:n,defaultSection:a,docId:o,setShowArticles:s})=>{const i=(0,e.useRef)(null),[l,c]=(0,e.useState)(!1),[d,u]=(0,e.useState)(a?.id||""),[m,p]=(0,e.useState)({title:{raw:""},parent:d?parseInt(d):"",status:"publish"}),[f,h]=(0,e.useState)({title:!1,sectionId:!1}),g=(0,mt.useSelect)((e=>e(pt.Z).getSectionArticles(parseInt(d))),[]),[b,w]=(0,e.useState)(!1),v=()=>{c(!1)},x=e=>{p({...m,status:e})};return(0,e.useEffect)((()=>{p({...m,parent:d}),h({...f,sectionId:!1})}),[d]),(0,e.useEffect)((()=>{p({...m,menu_order:g?.length})}),[g]),Ia(i),(0,e.createElement)(e.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:e.Fragment},(0,e.createElement)(Fn,{as:"div",className:"relative z-[9999]",onClose:v},(0,e.createElement)(dr.Child,{as:e.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:e.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,ht.__)("Enter your article title","wedocs")),(0,e.createElement)("p",{className:"text-gray-500 text-base"},(0,ht.__)("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,ht.__)("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,ht.__)("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,mt.dispatch)(pt.Z).createDoc(m).then((e=>{p({...m,title:{raw:""}}),u(a?.id||""),s&&s(!0),Hn().fire({title:(0,ht.__)("New article added!","wedocs"),text:(0,ht.__)("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,ht.__)("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)(e.Fragment,null,"publish"===m?.status?(0,ht.__)("Publish","wedocs"):(0,ht.__)("Draft","wedocs"),b?(0,ht.__)("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,ht.__)("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,ht.__)("Create and Publish","wedocs"))))))))))))},ti=({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}=Ks({id:t?.id}),h={transform:$a?.Transform?.toString(m),zIndex:f?9999:100,position:f?"relative":"",transition:p},{modified:g,comment_count:b}=t,w=(0,mt.useSelect)((e=>e(pt.Z).getArticleChildrens(parseInt(t?.id))),[]),v=w?.filter((e=>e?.title?.rendered?.toLowerCase().includes(s.toLowerCase()))),x=wp?.hooks?.applyFilters("wedocs_check_is_admin_restricted_article",!1,t?.id);return a?(0,e.createElement)(e.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"},(0,e.createElement)("svg",{width:"20",height:"21",fill:"none",...d,xmlns:"http://www.w3.org/2000/svg"},(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 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:"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":bt().decode((0,ht.__)(t?.title?.rendered,"wedocs"))},(0,e.createElement)("span",{className:"hover:underline group-hover:text-black",dangerouslySetInnerHTML:{__html:ft(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,ht.__)("Draft","wedocs")),(0,e.createElement)(ei,{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,ht.__)("Create","wedocs")},(0,e.createElement)("span",{className:"flex 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(x))?"":"mr-4")+" flex items-center flex-shrink-0 text-base group font-medium text-gray-700 !shadow-none",rel:"noreferrer"},!Boolean(parseInt(x))&&(0,e.createElement)(e.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,ht.__)("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,ht.__)("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,ht.__)("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"===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,ht.sprintf)((0,ht.__)("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&&v?.length>0&&(0,e.createElement)("div",{style:h,className:"my-1 article-children pl-4 sm:pl-16 bg-white"},v?.map((n=>(0,e.createElement)($s,{section:t,sections:r,key:n.id,article:n,setShowArticles:i,isAllowComments:l}))))):null},ri=({setItems:t,children:r,setNeedSortingStatus:a})=>{const o=function(){for(var e=arguments.length,t=new Array(e),r=0;r[...t].filter((e=>null!=e))),[...t])}((s=ts,i={activationConstraint:{delay:150,tolerance:5}},(0,n.useMemo)((()=>({sensor:s,options:null!=i?i:{}})),[s,i])));var s,i;return(0,e.createElement)(Ms,{sensors:o,collisionDetection:bo,onDragEnd:e=>{const{active:r,over:n}=e;r?.id!==n?.id&&t((e=>{const t=e.find((e=>e?.id===r?.id)),o=e.find((e=>e?.id===n?.id)),s=e.indexOf(t),i=e.indexOf(o),l=Ps(e,s,i);return l&&(0,mt.dispatch)(pt.Z)?.updateNeedSortingStatus({need_sortable_status:!0})?.then((e=>{a(e?.needSorting)})),l}))},class:"z-10"},r)},ni=a(172),ai=({docs:t,section:r,sections:n,searchValue:a})=>{const o=weDocsAdminVars?.hasManageCap,{id:s,title:i}=r,[l,c]=(0,e.useState)(s===n?.[0]?.id),{attributes:d,listeners:u,setNodeRef:m,transform:p,transition:f,isDragging:h}=Ks({id:r.id}),g={transform:$a?.Transform?.toString(p),zIndex:h?9999:0,position:h?"relative":"",transition:f},b=(0,mt.useSelect)((e=>e(pt.Z).getSectionArticles(parseInt(s))),[]),w=(0,mt.useSelect)((e=>e(pt.Z).getSortingStatus()),[]),v=(0,mt.useSelect)((e=>e(pt.Z).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,e.useState)([]),[k,N]=(0,e.useState)(v);(0,e.useEffect)((()=>{E([...x])}),[b,a]),(0,e.useEffect)((()=>{k&&(0,mt.dispatch)(pt.Z).updateSortingStatus({sortable_status:w,documentations:y}).then((e=>N(e?.sorting))).catch((e=>{}))}),[k]);const S=(0,mt.useSelect)((e=>e(ni.Z).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":bt().decode((0,ht.__)(i?.rendered,"wedocs")),rel:"noreferrer"},(0,e.createElement)("span",{className:"hover:underline group-hover:text-black",dangerouslySetInnerHTML:{__html:ft(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,ht.__)("Draft","wedocs")),(0,e.createElement)(ei,{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,ht.__)("Create","wedocs")},(0,e.createElement)("span",{className:"flex 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,ht.__)("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,ht.__)("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,ht.__)("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)(ri,{setItems:E,setNeedSortingStatus:N},(0,e.createElement)(Vs,{items:y,strategy:Hs},y?.map((t=>(0,e.createElement)(ti,{key:t.id,article:t,isAdmin:o,section:r,articles:y,sections:n,searchValue:a,setShowArticles:c,isAllowComments:A}))))):null,(0,e.createElement)(ei,{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,ht.__)("Add article","wedocs"))))))};const oi=()=>(0,e.createElement)(ct,{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,ht.__)("All Docs","wedocs"));window.backDocPage=oi;var si=oi,ii=({parent:t,order:r,className:n,children:a})=>{const o=(0,e.useRef)(null),[s,i]=(0,e.useState)(!1),[l,c]=(0,e.useState)({title:{raw:""},parent:parseInt(t),status:"publish"}),[d,u]=(0,e.useState)(!1),[m,p]=(0,e.useState)(!1),f=()=>{i(!1)},h=e=>{c({...l,status:e})};return(0,e.useEffect)((()=>{c({...l,menu_order:r})}),[r]),Ia(o),(0,e.createElement)(e.Fragment,null,(0,e.createElement)("button",{onClick:()=>{i(!0)},className:n},a),(0,e.createElement)(dr,{appear:!0,show:s,as:e.Fragment},(0,e.createElement)(Fn,{as:"div",className:"relative z-[9999]",onClose:f},(0,e.createElement)(dr.Child,{as:e.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:e.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,ht.__)("Enter your section title","wedocs")),(0,e.createElement)("p",{className:"text-gray-500 text-base"},(0,ht.__)("Use concise section titles for better navigation","wedocs"),(0,e.createElement)("br",null),(0,ht.__)("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,ht.__)("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,ht.__)("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,mt.dispatch)(pt.Z).createDoc(l).then((e=>{c({...l,title:{...l.title,raw:""}}),Hn().fire({title:(0,ht.__)("New section added!","wedocs"),text:(0,ht.__)("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,ht.__)("Error","wedocs"),text:e.message,icon:"error",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:3e3})})).finally((()=>p(!1)))):u(!0)}},(0,e.createElement)(e.Fragment,null,"publish"===l?.status?(0,ht.__)("Publish","wedocs"):(0,ht.__)("Draft","wedocs"),m?(0,ht.__)("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,ht.__)("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,ht.__)("Create and Publish","wedocs"))))))))))))},li=({sections:t})=>{const{id:r}=Fe(),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)(ii,{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,ht.__)("Add section","wedocs")),(0,e.createElement)(ei,{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,ht.__)("Add article","wedocs"))))},ci=()=>(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"}))))))),di=({handleChange:t,searchValue:r,listing:n})=>((0,e.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,ht.__)("💡 Feedback","wedocs")),(0,e.createElement)("div",{className:"relative rounded-md shadow-sm ml-auto"},(0,e.createElement)("input",{type:"text",placeholder:(0,ht.sprintf)((0,ht.__)("Search by %s","wedocs"),n?(0,ht.__)("article name","wedocs"):(0,ht.__)("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"}))))))),ui=n.forwardRef((function({title:e,titleId:t,...r},a){return n.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":t},r),e?n.createElement("title",{id:t},e):null,n.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"}))})),mi=({className:t,children:r})=>{const[n,a]=(0,e.useState)(!1),{need_upgrade:o,status:s}=(0,mt.useSelect)((e=>e(ni.Z).getUpgradeInfo()),[]);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("button",{disabled:"running"===s,onClick:()=>a(!0),className:t},r),(0,e.createElement)(dr,{appear:!0,show:n,as:e.Fragment},(0,e.createElement)(Fn,{as:"div",className:"relative z-[9999]",onClose:()=>a(!1)},(0,e.createElement)(dr.Child,{as:e.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"},(0,e.createElement)(dr.Child,{as:e.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,ht.__)("Are you sure?","wedocs")),(0,e.createElement)("p",{className:"text-gray-500 text-base"},(0,ht.__)("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,ht.__)("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,mt.dispatch)(ni.Z).wedocsUpgrade({upgrade:o}).then((e=>{a(!1)})).catch((e=>{Hn().fire({title:(0,ht.__)("Error","wedocs"),text:e.message,icon:"error",toast:!0,position:"bottom-end",showConfirmButton:!1,timer:3e3})}))}},(0,ht.__)("I'm sure","wedocs"))))))))))))},pi=({status:t})=>{const[r,n]=(0,e.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)(ui,{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+PHBhdGggZD0iTTU3LjY4OCAxNTIuMDk0Yy0yMy45MTggMzAuOTM3LTQ4LjMxMiAxNS45MjQtNTcuNTIgNC41NVYuOTgzaDE3NC4xODRjLTI5LjA3OSAyMy43MDktMzQuNDk3IDM1LjIyMy0zNC40OTcgMzUuMjIzcy01Mi4yNyA3Ny4yMTctODIuMTY3IDExNS44ODd6IiBmaWxsPSJ1cmwoI0MpIiBmaWxsLW9wYWNpdHk9Ii4wNiIvPjxwYXRoIGQ9Ik04OS40MDggNTcuMjYxYzM1LjY0My0xLjM0IDUxLjk5LTM5LjkzIDU5LjIyNi01Ni4yNzhILjE2OFYxMTcuMjljOC4zOTctMS4yNTEgMjYuODIyIDMuNDExIDQxLjI3LTkuNjQ3IDEzLjkzNS0xMi41OTYgMTYuODY3LTQ5LjIxMyA0Ny45Ny01MC4zODJ6IiBmaWxsPSJ1cmwoI0QpIi8+PHBhdGggZD0iTTYzLjE5NiA0NS44MDRDOTEuMzU4IDQyLjUyOSAxMDMuMjM5IDE0LjA3MSAxMDUuMjEuOTgzSC4xNjh2ODMuODhjMTMuOTY5IDAgMTcuMzkyLTEzLjAwNiAyMC41MjktMTkuMjI3IDIuMjgyLTQuNTI1IDEwLjAxMS0xNi4wNTUgNDIuNDk5LTE5LjgzM3oiIGZpbGw9InVybCgjRSkiIGZpbGwtb3BhY2l0eT0iLjUxIi8+PHBhdGggZD0iTTExOC42MDUgMTEyLjk1QzE2NC4zMjQgNzMuMjQ2IDE2MC41MDIgMzUuOTExIDE2Mi4zMjYuOTgzaDkzLjg0MnYxMTQuODgzYy0xMy45MzkgMC01MC45MzctMi42MTUtOTkuMzY0IDIzLjg1NC0zOS42MjEgMjEuNjU3LTUyLjY1MS0xNC4yMTktMzguMTk5LTI2Ljc3eiIgZmlsbD0idXJsKCNGKSIgZmlsbC1vcGFjaXR5PSIuNDMiLz48cGF0aCBkPSJNMjE3LjY2NyAyMTQuNTcyYzM2LjE4NS05LjUyMyAzOC41MDEtNDAuNjA3IDM4LjUwMS00MC42MDd2ODMuMDE4aC04My45MjFzMi44MDEtMzEuMTk2IDQ1LjQyLTQyLjQxMXoiIGZpbGw9InVybCgjRykiIGZpbGwtb3BhY2l0eT0iLjMiLz48cGF0aCBkPSJNODUuOTQ3IDI1Ni4wMzRjMjIuNTQ0LTExOC43ODEgMTIyLjIxLTE0OC43NzYgMTcwLjIyMS0xNDguOTI1djI4Ljk4NnMtNDcuNDU1IDEyLjgzMi02Mi40OTIgNTEuOTk2Yy0yMS43MTIgNTYuNTQ1LTQzLjQyNCA2Ny45NDMtNDMuNDI0IDY3Ljk0M0g4NS45NDd6IiBmaWxsPSJ1cmwoI0gpIiBmaWxsLW9wYWNpdHk9Ii4wNCIvPjxnIGZpbGw9IiNmZmYiPjxjaXJjbGUgY3g9IjE5MS44MTciIGN5PSI2MS4wMzYiIHI9IjQuMjI2Ii8+PGNpcmNsZSBjeD0iMTIwLjEzIiBjeT0iNDEuMDU0IiByPSIyLjA4NyIvPjwvZz48Y2lyY2xlIGN4PSIzMS4xNzIiIGN5PSIxMDMuODc4IiByPSIzLjE5OCIgZmlsbD0iIzgzYzJmZiIvPjxjaXJjbGUgY3g9IjE2My44NCIgY3k9IjIwMC43MTMiIHI9IjYuMTciIGZpbGw9InVybCgjSSkiLz48Y2lyY2xlIGN4PSIyMTMuODgyIiBjeT0iMTc4LjgyIiByPSI0LjAyMiIgZmlsbD0iIzViOTdmZiIvPjxyZWN0IHg9IjE4Mi44NTEiIHk9IjExMC43NDUiIHdpZHRoPSI3LjA2OSIgaGVpZ2h0PSI3LjA2OSIgcng9IjMiIHRyYW5zZm9ybT0icm90YXRlKDMxNSAxODIuODUxIDExMC43NDUpIiBmaWxsPSJ1cmwoI0opIi8+PHJlY3QgeD0iNzUuMTg2IiB5PSI4MC44NjkiIHdpZHRoPSI5LjU0OSIgaGVpZ2h0PSI5LjU0OSIgcng9IjMiIHRyYW5zZm9ybT0icm90YXRlKDMxNSA3NS4xODYgODAuODY5KSIgZmlsbD0idXJsKCNLKSIvPjxyZWN0IHg9IjU0Ljg3MiIgeT0iMTkzLjg1OSIgd2lkdGg9IjExLjYxOSIgaGVpZ2h0PSIxMS42MTkiIHJ4PSIzIiB0cmFuc2Zvcm09InJvdGF0ZSgzMTUgNTQuODcyIDE5My44NTkpIiBmaWxsPSJ1cmwoI0wpIi8+PGcgZmlsdGVyPSJ1cmwoI0EpIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMzQuNTg3IDE4Mi4yMzlIODMuOTE5di02OC4xNzRjLjAyNi0yMS40NDYgMTcuNTk2LTM4LjgyOCAzOS4yODMtMzguODU0aDExLjM4NWMyMS42ODMuMDMgMzkuMjU4IDE3LjQwNyAzOS4yODQgMzguODU0djI5LjMyMWMtLjAyNiAyMS40NDYtMTcuNTk3IDM4LjgyNy0zOS4yODQgMzguODUzem0tMzkuODItMTAuNzI3aDM5LjgyYzE1LjctLjAyMiAyOC40MTktMTIuNTk4IDI4LjQzNi0yOC4xMjJ2LTI5LjMyMWMtLjAyMi0xNS41MjMtMTIuNzQtMjguMS0yOC40MzYtMjguMTIyaC0xMS4zODVjLTE1LjY5NS4wMTctMjguNDE0IDEyLjU5OC0yOC40MzUgMjguMTIydjU3LjQ0M3ptNDYuNjUxLTI5LjQyMWgtMzEuMTQ1Yy0uMDk1IDAtLjE3Ny4wNzgtLjE3Ny4xNzd2Ny41NzRjMCAuMDk5LjA3OC4xNzcuMTc3LjE3N2gzMS4xNDVjLjA5OSAwIC4xNzYtLjA3OC4xNzYtLjE3N3YtNy41NzRjMC0uMDk5LS4wNzctLjE3Ny0uMTc2LS4xNzd6bS0zMS4xNDUtMTUuOTg3aDM3LjIzNmMuMDk4IDAgLjE3Ni4wNzcuMTc2LjE3NnY3LjU3NWMwIC4wOTgtLjA3OC4xNzYtLjE3Ni4xNzZoLTM3LjIzNmMtLjA5OSAwLS4xNzctLjA3OC0uMTc3LS4xNzZ2LTcuNTc1YS4xOC4xOCAwIDAgMSAuMTc3LS4xNzZ6bTIwLjU2LTE1Ljk4OGgtMjAuNTZhLjE4LjE4IDAgMCAwLS4xNzcuMTc2djcuNTc1YzAgLjA5OS4wNzguMTc2LjE3Ny4xNzZoMjAuNTZjLjA5OSAwIC4xNzYtLjA3Ny4xNzYtLjE3NnYtNy41NzVjMC0uMDk5LS4wNzctLjE3Ni0uMTc2LS4xNzZ6IiBmaWxsPSIjZmZmIi8+PC9nPjxkZWZzPjxmaWx0ZXIgaWQ9IkEiIHg9IjYzLjkxOSIgeT0iNTkuMjExIiB3aWR0aD0iMTI5Ljk1MiIgaGVpZ2h0PSIxNDcuMDI4IiBmaWx0ZXJVbml0cz0idXNlclNwYWNlT25Vc2UiIGNvbG9yLWludGVycG9sYXRpb24tZmlsdGVycz0ic1JHQiI+PGZlRmxvb2QgZmxvb2Qtb3BhY2l0eT0iMCIgcmVzdWx0PSJBIi8+PGZlQ29sb3JNYXRyaXggaW49IlNvdXJjZUFscGhhIiB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDEyNyAwIiByZXN1bHQ9IkIiLz48ZmVPZmZzZXQgZHk9IjQiLz48ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPSIxMCIvPjxmZUNvbXBvc2l0ZSBpbjI9IkIiIG9wZXJhdG9yPSJvdXQiLz48ZmVDb2xvck1hdHJpeCB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMjcgMCIvPjxmZUJsZW5kIGluMj0iQSIvPjxmZUJsZW5kIGluPSJTb3VyY2VHcmFwaGljIi8+PC9maWx0ZXI+PGxpbmVhckdyYWRpZW50IGlkPSJCIiB4MT0iNzEuNTY4IiB5MT0iLTEwNy40NDQiIHgyPSIxMjguMTY4IiB5Mj0iMjU2Ljk4MyIgeGxpbms6aHJlZj0iI00iPjxzdG9wIHN0b3AtY29sb3I9IiMzY2JlZmYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMyYzZlZmYiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iQyIgeDE9IjEzMS4zNyIgeTE9IjE3MC40NjgiIHgyPSI5MS4wNjMiIHkyPSI0NC43MjEiIHhsaW5rOmhyZWY9IiNNIj48c3RvcCBzdG9wLWNvbG9yPSIjZmZmIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMDA5NGZmIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9IkQiIHgxPSI3NC40MDEiIHkxPSIuOTgzIiB4Mj0iNzQuNDAxIiB5Mj0iMTE3LjI5IiB4bGluazpocmVmPSIjTSI+PHN0b3Agc3RvcC1jb2xvcj0iIzNjYzFmZiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzNjOWJmZiIgc3RvcC1vcGFjaXR5PSIuMjEiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iRSIgeDE9Ii04LjM2MiIgeTE9Ijc0LjMzMSIgeDI9IjExNi4xMyIgeTI9Ii45ODMiIHhsaW5rOmhyZWY9IiNNIj48c3RvcCBzdG9wLWNvbG9yPSIjM2Q2OWZmIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjM2NhZGZmIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9IkYiIHgxPSIxODQuNTI5IiB5MT0iLjk4MyIgeDI9IjEyOS41MzEiIHkyPSIxMDUuNDc2IiB4bGluazpocmVmPSIjTSI+PHN0b3Agc3RvcC1jb2xvcj0iIzNjZjNmZiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzNjOWJmZiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9IkciIHgxPSIxNjUuNDMzIiB5MT0iMjQ2LjU1OCIgeDI9IjI3NC43MDEiIHkyPSIxOTQuNTkxIiB4bGluazpocmVmPSIjTSI+PHN0b3Agc3RvcC1jb2xvcj0iIzNjYWRmZiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzViODBmZiIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJIIiB4MT0iNzIuMTI0IiB5MT0iMjM3LjMzMyIgeDI9IjI4Mi45MzEiIHkyPSIxMjMuOTcxIiB4bGluazpocmVmPSIjTSI+PHN0b3Agc3RvcC1jb2xvcj0iI2ZmZiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzNjYWRmZiIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJJIiB4MT0iMTYzLjg0IiB5MT0iMTk0LjU0MyIgeDI9IjE2My44NCIgeTI9IjIxMC42NzEiIHhsaW5rOmhyZWY9IiNNIj48c3RvcCBzdG9wLWNvbG9yPSIjYzBkZGZkIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjYzBkZGZkIiBzdG9wLW9wYWNpdHk9IjAiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iSiIgeDE9IjE4Mi44NTEiIHkxPSIxMTcuODE0IiB4Mj0iMTg5LjkxOSIgeTI9IjExMC43NDUiIHhsaW5rOmhyZWY9IiNNIj48c3RvcCBzdG9wLWNvbG9yPSIjZmY1MGMzIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjZmY5NGMxIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9IksiIHgxPSI3NS4xODYiIHkxPSI5MC40MTgiIHgyPSI4NC43MzUiIHkyPSI4MC44NjkiIHhsaW5rOmhyZWY9IiNNIj48c3RvcCBzdG9wLWNvbG9yPSIjNTk2ZWZkIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjYzhiZGZmIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9IkwiIHgxPSI1NC44NzIiIHkxPSIyMDUuNDc4IiB4Mj0iNjYuNDkxIiB5Mj0iMTkzLjg1OSIgeGxpbms6aHJlZj0iI00iPjxzdG9wIHN0b3AtY29sb3I9IiMxNmNmODkiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNhZGU2OTYiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iTSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiLz48L2RlZnM+PC9zdmc+Cg==",alt:(0,ht.__)("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,ht.__)("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,ht.__)("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)(mi,{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,ht.__)("Updat"+("running"===t?"ing...":"e"),"wedocs"))))))))},fi=()=>(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,ht.__)("There’s Noting here...","wedocs")),(0,e.createElement)("p",{className:"text-[#666B79] text-lg mx-auto"},(0,ht.__)("...maybe the page you’re looking for is not found or never existed.","wedocs"))))))),hi=()=>{const{id:t}=Fe(),r=(0,mt.useSelect)((e=>e(pt.Z).getDocs()),[]),n=r?.find((e=>e?.id===parseInt(t))),a=(0,mt.useSelect)((e=>e(pt.Z).getSectionsDocs(parseInt(t))),[]),o=(0,mt.useSelect)((e=>e(pt.Z).getLoading()),[]),s=(0,mt.useSelect)((e=>e(pt.Z).getSortingStatus()),[]),i=(0,mt.useSelect)((e=>e(pt.Z).getNeedSortingStatus()),[]),[l,c]=(0,e.useState)(""),[d,u]=(0,e.useState)(i),m=(0,mt.useSelect)((e=>e(pt.Z).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,mt.useSelect)((e=>e(ni.Z).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,e.useState)([]);(0,e.useEffect)((()=>{w([...g])}),[a,l]);const v=wp.hooks.applyFilters("wedocs_show_documentation_actions",!0),x=(0,mt.useSelect)((e=>e("wedocs/docs").getUserDocIds()),[]),y=Ca(),E=wp.hooks.applyFilters("wedocs_validate_listing_params",!0,x,y,t);return"done"===h&&(0,mt.dispatch)(ni.Z).makeUpdateDone().then((e=>{e&&Hn().fire({icon:"success",text:(0,ht.__)("weDocs database has been updated successfully","wedocs"),title:(0,ht.__)("Database Updated!","wedocs"),toast:!0,timer:3e3,position:"bottom-end",showConfirmButton:!1})})).catch((e=>{})),(0,e.useEffect)((()=>{d&&(0,mt.dispatch)(pt.Z).updateSortingStatus({sortable_status:s,documentations:b}).then((e=>u(e?.sorting))).catch((e=>{}))}),[d]),(0,e.createElement)(e.Fragment,null,E?(0,e.createElement)("div",{className:"docs-section-listing wrap py-5"},!o&&v&&f&&(0,e.createElement)(pi,{status:h}),(0,e.createElement)("div",{className:"flex items-center justify-between mb-7"},(0,e.createElement)(si,null),(0,e.createElement)(di,{listing:!0,searchValue:l,handleChange:(e,t=!1)=>{c(t?"":e.target.value)}})),(0,e.createElement)(wt,{doc:n}),o&&(0,e.createElement)(ci,null),!o&&(0,e.createElement)(e.Fragment,null,b.length>0?(0,e.createElement)(ri,{setItems:w,setNeedSortingStatus:u},(0,e.createElement)(Vs,{items:b,strategy:Hs},b?.map((t=>(0,e.createElement)(ai,{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,ht.__)("No section or article found for this documentation","wedocs"))))),(0,e.createElement)(li,{sections:b})):(0,e.createElement)(fi,null))};function gi({onFocus:e}){let[t,r]=(0,n.useState)(!0),a=jt();return t?n.createElement(gr,{as:"button",type:"button",features:hr.Focusable,onFocus:t=>{t.preventDefault();let n,o=50;n=requestAnimationFrame((function t(){if(o--<=0)n&&cancelAnimationFrame(n);else if(e()){if(cancelAnimationFrame(n),!a.current)return;r(!1)}else n=requestAnimationFrame(t)}))}}):null}const bi=n.createContext(null);function wi({children:e}){let t=n.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 n.createElement(bi.Provider,{value:t},e)}function vi(e){let t=n.useContext(bi);if(!t)throw new Error("You must wrap your component in a ");let r=function(){var e,t,r;let a=null!=(r=null==(t=null==(e=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:e.ReactCurrentOwner)?void 0:t.current)?r:null;if(!a)return Symbol();let o=[],s=a;for(;s;)o.push(s.index),s=s.return;return"$."+o.join(".")}(),[a,o]=t.current.get(e,r);return n.useEffect((()=>o),[]),a}var xi=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(xi||{}),yi=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(yi||{}),Ei=(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))(Ei||{});let ki={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){return{...e,tabs:e.tabs.filter((e=>e!==t.tab))}},3(e,t){return e.panels.includes(t.panel)?e:{...e,panels:Ir([...e.panels,t.panel],(e=>e.current))}},4(e,t){return{...e,panels:e.panels.filter((e=>e!==t.panel))}}},Ni=(0,n.createContext)(null);function Si(e){let t=(0,n.useContext)(Ni);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Si),t}return t}Ni.displayName="TabsDataContext";let Ai=(0,n.createContext)(null);function Di(e){let t=(0,n.useContext)(Ai);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Di),t}return t}function Ci(e,t){return xt(t.type,ki,e,t)}Ai.displayName="TabsActionsContext";let Ii=n.Fragment,Li=Et.RenderStrategy|Et.Static,Ti=Dt((function(e,t){var r,a;let o=fr(),{id:s=`headlessui-tabs-tab-${o}`,...i}=e,{orientation:l,activation:c,selectedIndex:d,tabs:u,panels:m}=Si("Tab"),p=Di("Tab"),f=Si("Tab"),h=(0,n.useRef)(null),g=Ut(h,t);Pt((()=>p.registerTab(h)),[p,h]);let b=vi("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(){return e.key===mr.ArrowUp?Lr(t,yr.Previous|yr.WrapAround):e.key===mr.ArrowDown?Lr(t,yr.Next|yr.WrapAround):Er.Error},horizontal(){return 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,n.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,n.useMemo)((()=>({selected:v})),[v]);return Nt({ourProps:{ref:g,onKeyDown:y,onMouseDown:N,onClick:k,id:s,role:"tab",type:Jn(e,h),"aria-controls":null==(a=null==(r=m[w])?void 0:r.current)?void 0:a.id,"aria-selected":v,tabIndex:v?0:-1},theirProps:i,slot:S,defaultTag:"button",name:"Tabs.Tab"})})),Mi=Dt((function(e,t){let{defaultIndex:r=0,vertical:a=!1,manual:o=!1,onChange:s,selectedIndex:i=null,...l}=e;const c=a?"vertical":"horizontal",d=o?"manual":"auto";let u=null!==i,m=Ut(t),[p,f]=(0,n.useReducer)(Ci,{selectedIndex:null!=i?i:r,tabs:[],panels:[]}),h=(0,n.useMemo)((()=>({selectedIndex:p.selectedIndex})),[p.selectedIndex]),g=zt(s||(()=>{})),b=zt(p.tabs),w=(0,n.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?e.selectedIndex:p.selectedIndex),k=(0,n.useMemo)((()=>({registerTab:v,registerPanel:x,change:y})),[]);Pt((()=>{f({type:0,index:null!=i?i:r})}),[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 n.createElement(wi,null,n.createElement(Ai.Provider,{value:k},n.createElement(Ni.Provider,{value:w},w.tabs.length<=0&&n.createElement(gi,{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:Ii,name:"Tabs"}))))})),Ri=Dt((function(e,t){let{orientation:r,selectedIndex:n}=Si("Tab.List");return Nt({ourProps:{ref:Ut(t),role:"tablist","aria-orientation":r},theirProps:e,slot:{selectedIndex:n},defaultTag:"div",name:"Tabs.List"})})),_i=Dt((function(e,t){let{selectedIndex:r}=Si("Tab.Panels");return Nt({ourProps:{ref:Ut(t)},theirProps:e,slot:(0,n.useMemo)((()=>({selectedIndex:r})),[r]),defaultTag:"div",name:"Tabs.Panels"})})),Oi=Dt((function(e,t){var r,a,o,s;let i=fr(),{id:l=`headlessui-tabs-panel-${i}`,tabIndex:c=0,...d}=e,{selectedIndex:u,tabs:m,panels:p}=Si("Tab.Panel"),f=Di("Tab.Panel"),h=(0,n.useRef)(null),g=Ut(h,t);Pt((()=>f.registerPanel(h)),[f,h]);let b=vi("panels"),w=p.indexOf(h);-1===w&&(w=b);let v=w===u,x=(0,n.useMemo)((()=>({selected:v})),[v]),y={ref:g,id:l,role:"tabpanel","aria-labelledby":null==(a=null==(r=m[w])?void 0:r.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:Li,visible:v,name:"Tabs.Panel"}):n.createElement(gr,{as:"span",...y})})),Bi=Object.assign(Ti,{Group:Mi,List:Ri,Panels:_i,Panel:Oi});var Pi=({classes:t,showPopup:r,children:n})=>(0,e.createElement)(e.Fragment,null,n?(0,e.createElement)("span",{onClick:r},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-4 py-2.5 inline-flex items-center rounded-md bg-[#ff9000] hover:bg-[#cf7500] font-semibold text-sm gap-2.5 ${t||""}`},(0,ht.__)("Upgrade to PRO ","wedocs"),(0,e.createElement)("svg",{className:"crown-icon",xmlns:"http://www.w3.org/2000/svg",width:"20",fill:"#fff",height:"15"},(0,e.createElement)("path",{d:"M19.213 4.116c.003.054-.001.108-.015.162l-1.234 6.255a.56.56 0 0 1-.541.413l-7.402.036h-.003-7.402c-.257 0-.482-.171-.544-.414L.839 4.295a.53.53 0 0 1-.015-.166C.347 3.983 0 3.548 0 3.036c0-.632.528-1.145 1.178-1.145s1.178.514 1.178 1.145a1.13 1.13 0 0 1-.43.884L3.47 5.434c.39.383.932.602 1.486.602.655 0 1.28-.303 1.673-.81l2.538-3.272c-.213-.207-.345-.494-.345-.809C8.822.514 9.351 0 10 0s1.178.514 1.178 1.145c0 .306-.125.584-.327.79l.002.003 2.52 3.281c.393.512 1.02.818 1.677.818a2.11 2.11 0 0 0 1.481-.597l1.554-1.512c-.268-.21-.44-.531-.44-.892 0-.632.528-1.145 1.177-1.145S20 2.405 20 3.036c0 .498-.329.922-.787 1.079zm-1.369 8.575c0-.301-.251-.545-.561-.545H2.779c-.31 0-.561.244-.561.545V14c0 .301.251.546.561.546h14.505c.31 0 .561-.244.561-.546v-1.309z"})))),ji=({classes:t})=>{const r=[(0,ht.__)("Role-based permission management","wedocs"),(0,ht.__)("Auto & manual content arrangement","wedocs"),(0,ht.__)("Customizable doc & messaging tab","wedocs"),(0,ht.__)("Pre-built & custom colors","wedocs"),(0,ht.__)("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`},(0,e.createElement)("h3",{className:"tooltip-header text-white text-sm mb-4 leading-3 font-semibold"},(0,ht.__)("Available in Pro. Unlock & enjoy:","wedocs")),r&&(0,e.createElement)("ul",{className:"text-left mb-7"},r?.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)(Pi,null))},zi=({classes:t})=>{const[r,n]=(0,e.useState)(!1);return(0,e.createElement)("span",{onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),className:`pro-badge cursor-pointer relative text-white text-[10px] py-[3px] px-[5px] leading-none ml-1.5 ${t||""}`},(0,e.createElement)("svg",{className:"crown-icon hover:fill-[#cf7500]",xmlns:"http://www.w3.org/2000/svg",width:"20",fill:"#ff9000",height:"15"},(0,e.createElement)("path",{d:"M19.213 4.116c.003.054-.001.108-.015.162l-1.234 6.255a.56.56 0 0 1-.541.413l-7.402.036h-.003-7.402c-.257 0-.482-.171-.544-.414L.839 4.295a.53.53 0 0 1-.015-.166C.347 3.983 0 3.548 0 3.036c0-.632.528-1.145 1.178-1.145s1.178.514 1.178 1.145a1.13 1.13 0 0 1-.43.884L3.47 5.434c.39.383.932.602 1.486.602.655 0 1.28-.303 1.673-.81l2.538-3.272c-.213-.207-.345-.494-.345-.809C8.822.514 9.351 0 10 0s1.178.514 1.178 1.145c0 .306-.125.584-.327.79l.002.003 2.52 3.281c.393.512 1.02.818 1.677.818a2.11 2.11 0 0 0 1.481-.597l1.554-1.512c-.268-.21-.44-.531-.44-.892 0-.632.528-1.145 1.177-1.145S20 2.405 20 3.036c0 .498-.329.922-.787 1.079zm-1.369 8.575c0-.301-.251-.545-.561-.545H2.779c-.31 0-.561.244-.561.545V14c0 .301.251.546.561.546h14.505c.31 0 .561-.244.561-.546v-1.309z"})),(0,e.createElement)(ji,{classes:r?"block":"hidden"}))},Fi=()=>{let t={general:{text:(0,ht.__)("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,e.useState)(!0);return t=wp.hooks.applyFilters("wedocs_settings_menu",t),(0,e.createElement)(e.Fragment,null,Object.entries(t).map(((t,a)=>(0,e.createElement)(e.Fragment,{key:a},t[1]?.disabled?(0,e.createElement)(e.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)(zi,null),(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)(Bi,{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)(zi,null)))))):(0,e.createElement)(Bi,{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,ht.__)(t[1]?.text,"wedocs")),t[1]?.pro&&(0,e.createElement)(zi,null))))))},qi=({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,ht.__)("Saving...","wedocs"):(0,ht.__)("Save Settings","wedocs")));let Hi=(0,n.createContext)(null);function Ui(){let e=(0,n.useContext)(Hi);if(null===e){let e=new Error("You used a