Files
OpenSign/assets/js/a94703ab.1a05ce91.js
T

1 line
11 KiB
JavaScript

"use strict";(globalThis.webpackChunkOpenSign_Docs=globalThis.webpackChunkOpenSign_Docs||[]).push([[9048],{26203(e,t,a){a.r(t),a.d(t,{default:()=>Ce});var n=a(96540),i=a(18215),s=a(45500),l=a(17559),o=a(26972),r=a(60609),c=a(21312),d=a(7663);const u="backToTopButton_sjWU",m="backToTopButtonShow_xfvO";var b=a(74848);function h(){const{shown:e,scrollToTop:t}=(0,d.H)({threshold:300});return(0,b.jsx)("button",{"aria-label":(0,c.translate)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,i.A)("clean-btn",l.G.common.backToTopButton,u,e&&m),type:"button",onClick:t})}var p=a(53109),x=a(56347),f=a(24581),j=a(6342),_=a(23465);function g(e){return(0,b.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,b.jsxs)("g",{fill:"#7a7a7a",children:[(0,b.jsx)("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),(0,b.jsx)("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})]})})}const v="collapseSidebarButton_PEFL",k="collapseSidebarButtonIcon_kv0_";function C({onClick:e}){return(0,b.jsx)("button",{type:"button",title:(0,c.translate)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.translate)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,i.A)("button button--secondary button--outline",v),onClick:e,children:(0,b.jsx)(g,{className:k})})}var A=a(65041),N=a(23104),S=a(33082),y=a(89532),I=a(41422),T=a(99169),L=a(28774),B=a(92303),w=a(16654),M=a(43186);const E="menuExternalLink_NmtK",G="linkLabel_WmDU";function H({label:e}){return(0,b.jsx)("span",{title:e,className:G,children:e})}function P({item:e,onItemClick:t,activePath:a,level:n,index:s,...r}){const{href:c,label:d,className:u,autoAddBaseUrl:m}=e,h=(0,o.w8)(e,a),p=(0,w.A)(c);return(0,b.jsx)("li",{className:(0,i.A)(l.G.docs.docSidebarItemLink,l.G.docs.docSidebarItemLinkLevel(n),"menu__list-item",u),children:(0,b.jsxs)(L.default,{className:(0,i.A)("menu__link",!p&&E,{"menu__link--active":h}),autoAddBaseUrl:m,"aria-current":h?"page":void 0,to:c,...p&&{onClick:t?()=>t(e):void 0},...r,children:[(0,b.jsx)(H,{label:d}),!p&&(0,b.jsx)(M.A,{})]})},d)}const D="categoryLink_byQd",W="categoryLinkLabel_W154";function R({collapsed:e,categoryLabel:t,onClick:a}){return(0,b.jsx)("button",{"aria-label":e?(0,c.translate)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:t}):(0,c.translate)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:t}),"aria-expanded":!e,type:"button",className:"clean-btn menu__caret",onClick:a})}function U({label:e}){return(0,b.jsx)("span",{title:e,className:W,children:e})}function F(e){return 0===(0,o.Y)(e.item.items,e.activePath).length?(0,b.jsx)(V,{...e}):(0,b.jsx)(K,{...e})}function V({item:e,...t}){if("string"!=typeof e.href)return null;const{type:a,collapsed:n,collapsible:i,items:s,linkUnlisted:l,...o}=e,r={type:"link",...o};return(0,b.jsx)(P,{item:r,...t})}function K({item:e,onItemClick:t,activePath:a,level:s,index:r,...c}){const{items:d,label:u,collapsible:m,className:h,href:p}=e,{docs:{sidebar:{autoCollapseCategories:x}}}=(0,j.p)(),f=function(e){const t=(0,B.default)();return(0,n.useMemo)(()=>e.href&&!e.linkUnlisted?e.href:!t&&e.collapsible?(0,o.Nr)(e):void 0,[e,t])}(e),_=(0,o.w8)(e,a),g=(0,T.ys)(p,a),{collapsed:v,setCollapsed:k}=(0,I.u)({initialState:()=>!!m&&(!_&&e.collapsed)}),{expandedItem:C,setExpandedItem:A}=(0,S.G)(),N=(e=!v)=>{A(e?null:r),k(e)};!function({isActive:e,collapsed:t,updateCollapsed:a,activePath:i}){const s=(0,y.ZC)(e),l=(0,y.ZC)(i);(0,n.useEffect)(()=>{(e&&!s||e&&s&&i!==l)&&t&&a(!1)},[e,s,t,a,i,l])}({isActive:_,collapsed:v,updateCollapsed:N,activePath:a}),(0,n.useEffect)(()=>{m&&null!=C&&C!==r&&x&&k(!0)},[m,C,r,k,x]);return(0,b.jsxs)("li",{className:(0,i.A)(l.G.docs.docSidebarItemCategory,l.G.docs.docSidebarItemCategoryLevel(s),"menu__list-item",{"menu__list-item--collapsed":v},h),children:[(0,b.jsxs)("div",{className:(0,i.A)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":g}),children:[(0,b.jsx)(L.default,{className:(0,i.A)(D,"menu__link",{"menu__link--sublist":m,"menu__link--sublist-caret":!p&&m,"menu__link--active":_}),onClick:a=>{t?.(e),m&&(p?g?(a.preventDefault(),N()):N(!1):(a.preventDefault(),N()))},"aria-current":g?"page":void 0,role:m&&!p?"button":void 0,"aria-expanded":m&&!p?!v:void 0,href:m?f??"#":f,...c,children:(0,b.jsx)(U,{label:u})}),p&&m&&(0,b.jsx)(R,{collapsed:v,categoryLabel:u,onClick:e=>{e.preventDefault(),N()}})]}),(0,b.jsx)(I.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:v,children:(0,b.jsx)(Q,{items:d,tabIndex:v?-1:0,onItemClick:t,activePath:a,level:s+1})})]})}const O="menuHtmlItem_M9Kj";function Y({item:e,level:t,index:a}){const{value:n,defaultStyle:s,className:o}=e;return(0,b.jsx)("li",{className:(0,i.A)(l.G.docs.docSidebarItemLink,l.G.docs.docSidebarItemLinkLevel(t),s&&[O,"menu__list-item"],o),dangerouslySetInnerHTML:{__html:n}},a)}function z({item:e,...t}){switch(e.type){case"category":return(0,b.jsx)(F,{item:e,...t});case"html":return(0,b.jsx)(Y,{item:e,...t});default:return(0,b.jsx)(P,{item:e,...t})}}function q({items:e,...t}){const a=(0,o.Y)(e,t.activePath);return(0,b.jsx)(S.A,{children:a.map((e,a)=>(0,b.jsx)(z,{item:e,index:a,...t},a))})}const Q=(0,n.memo)(q),Z="menu_SIkG",J="menuWithAnnouncementBar_GW3s";function X({path:e,sidebar:t,className:a}){const s=function(){const{isActive:e}=(0,A.M)(),[t,a]=(0,n.useState)(e);return(0,N.Mq)(({scrollY:t})=>{e&&a(0===t)},[e]),e&&t}();return(0,b.jsx)("nav",{"aria-label":(0,c.translate)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,i.A)("menu thin-scrollbar",Z,s&&J,a),children:(0,b.jsx)("ul",{className:(0,i.A)(l.G.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(Q,{items:t,activePath:e,level:1})})})}const $="sidebar_njMd",ee="sidebarWithHideableNavbar_wUlq",te="sidebarHidden_VK0M",ae="sidebarLogo_isFc";function ne({path:e,sidebar:t,onCollapse:a,isHidden:n}){const{navbar:{hideOnScroll:s},docs:{sidebar:{hideable:l}}}=(0,j.p)();return(0,b.jsxs)("div",{className:(0,i.A)($,s&&ee,n&&te),children:[s&&(0,b.jsx)(_.A,{tabIndex:-1,className:ae}),(0,b.jsx)(X,{path:e,sidebar:t}),l&&(0,b.jsx)(C,{onClick:a})]})}const ie=n.memo(ne);var se=a(75600),le=a(22069);const oe=({sidebar:e,path:t})=>{const a=(0,le.M)();return(0,b.jsx)("ul",{className:(0,i.A)(l.G.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(Q,{items:e,activePath:t,onItemClick:e=>{"category"===e.type&&e.href&&a.toggle(),"link"===e.type&&a.toggle()},level:1})})};function re(e){return(0,b.jsx)(se.GX,{component:oe,props:e})}const ce=n.memo(re);function de(e){const t=(0,f.l)(),a="desktop"===t||"ssr"===t,n="mobile"===t;return(0,b.jsxs)(b.Fragment,{children:[a&&(0,b.jsx)(ie,{...e}),n&&(0,b.jsx)(ce,{...e})]})}const ue="expandButton_TmdG",me="expandButtonIcon_i1dp";function be({toggleSidebar:e}){return(0,b.jsx)("div",{className:ue,title:(0,c.translate)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.translate)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:e,onClick:e,children:(0,b.jsx)(g,{className:me})})}const he={docSidebarContainer:"docSidebarContainer_YfHR",docSidebarContainerHidden:"docSidebarContainerHidden_DPk8",sidebarViewport:"sidebarViewport_aRkj"};function pe({children:e}){const t=(0,r.t)();return(0,b.jsx)(n.Fragment,{children:e},t?.name??"noSidebar")}function xe({sidebar:e,hiddenSidebarContainer:t,setHiddenSidebarContainer:a}){const{pathname:s}=(0,x.zy)(),[o,r]=(0,n.useState)(!1),c=(0,n.useCallback)(()=>{o&&r(!1),!o&&(0,p.O)()&&r(!0),a(e=>!e)},[a,o]);return(0,b.jsx)("aside",{className:(0,i.A)(l.G.docs.docSidebarContainer,he.docSidebarContainer,t&&he.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(he.docSidebarContainer)&&t&&r(!0)},children:(0,b.jsx)(pe,{children:(0,b.jsxs)("div",{className:(0,i.A)(he.sidebarViewport,o&&he.sidebarViewportHidden),children:[(0,b.jsx)(de,{sidebar:e,path:s,onCollapse:c,isHidden:o}),o&&(0,b.jsx)(be,{toggleSidebar:c})]})})})}const fe={docMainContainer:"docMainContainer_TBSr",docMainContainerEnhanced:"docMainContainerEnhanced_lQrH",docItemWrapperEnhanced:"docItemWrapperEnhanced_JWYK"};function je({hiddenSidebarContainer:e,children:t}){const a=(0,r.t)();return(0,b.jsx)("main",{className:(0,i.A)(fe.docMainContainer,(e||!a)&&fe.docMainContainerEnhanced),children:(0,b.jsx)("div",{className:(0,i.A)("container padding-top--md padding-bottom--lg",fe.docItemWrapper,e&&fe.docItemWrapperEnhanced),children:t})})}const _e="docRoot_UBD9",ge="docsWrapper_hBAB";function ve({children:e}){const t=(0,r.t)(),[a,i]=(0,n.useState)(!1);return(0,b.jsxs)("div",{className:ge,children:[(0,b.jsx)(h,{}),(0,b.jsxs)("div",{className:_e,children:[t&&(0,b.jsx)(xe,{sidebar:t.items,hiddenSidebarContainer:a,setHiddenSidebarContainer:i}),(0,b.jsx)(je,{hiddenSidebarContainer:a,children:e})]})]})}var ke=a(23363);function Ce(e){const t=(0,o.B5)(e);if(!t)return(0,b.jsx)(ke.A,{});const{docElement:a,sidebarName:n,sidebarItems:c}=t;return(0,b.jsx)(s.e3,{className:(0,i.A)(l.G.page.docsDocPage),children:(0,b.jsx)(r.V,{name:n,items:c,children:(0,b.jsx)(ve,{children:a})})})}},23363(e,t,a){a.d(t,{A:()=>o});a(96540);var n=a(18215),i=a(21312),s=a(51107),l=a(74848);function o({className:e}){return(0,l.jsx)("main",{className:(0,n.A)("container margin-vert--xl",e),children:(0,l.jsx)("div",{className:"row",children:(0,l.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,l.jsx)(s.default,{as:"h1",className:"hero__title",children:(0,l.jsx)(i.default,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,l.jsx)("p",{children:(0,l.jsx)(i.default,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,l.jsx)("p",{children:(0,l.jsx)(i.default,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}}}]);