Files
OpenSign/assets/js/4311.86f3bfc6.js
T

1 line
8.2 KiB
JavaScript

"use strict";(self.webpackChunkOpenSign_Docs=self.webpackChunkOpenSign_Docs||[]).push([[4311],{92775:(n,e,t)=>{t.d(e,{Z:()=>_});t(67294);var i=t(94697),s=t(36905),a=t(95999),o=t(35281);const l={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};var r=t(85893);function c(n){let{type:e,className:t,children:i}=n;return(0,r.jsx)("div",{className:(0,s.Z)(o.k.common.admonition,o.k.common.admonitionType(e),l.admonition,t),children:i})}function d(n){let{icon:e,title:t}=n;return(0,r.jsxs)("div",{className:l.admonitionHeading,children:[(0,r.jsx)("span",{className:l.admonitionIcon,children:e}),t]})}function u(n){let{children:e}=n;return e?(0,r.jsx)("div",{className:l.admonitionContent,children:e}):null}function m(n){const{type:e,icon:t,title:i,children:s,className:a}=n;return(0,r.jsxs)(c,{type:e,className:a,children:[(0,r.jsx)(d,{title:i,icon:t}),(0,r.jsx)(u,{children:s})]})}function h(n){return(0,r.jsx)("svg",{viewBox:"0 0 14 16",...n,children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const f={icon:(0,r.jsx)(h,{}),title:(0,r.jsx)(a.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function x(n){return(0,r.jsx)(m,{...f,...n,className:(0,s.Z)("alert alert--secondary",n.className),children:n.children})}function j(n){return(0,r.jsx)("svg",{viewBox:"0 0 12 16",...n,children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const p={icon:(0,r.jsx)(j,{}),title:(0,r.jsx)(a.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function v(n){return(0,r.jsx)(m,{...p,...n,className:(0,s.Z)("alert alert--success",n.className),children:n.children})}function g(n){return(0,r.jsx)("svg",{viewBox:"0 0 14 16",...n,children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const N={icon:(0,r.jsx)(g,{}),title:(0,r.jsx)(a.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function Z(n){return(0,r.jsx)(m,{...N,...n,className:(0,s.Z)("alert alert--info",n.className),children:n.children})}function y(n){return(0,r.jsx)("svg",{viewBox:"0 0 16 16",...n,children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const C={icon:(0,r.jsx)(y,{}),title:(0,r.jsx)(a.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function w(n){return(0,r.jsx)("svg",{viewBox:"0 0 12 16",...n,children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const z={icon:(0,r.jsx)(w,{}),title:(0,r.jsx)(a.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const b={icon:(0,r.jsx)(y,{}),title:(0,r.jsx)(a.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const T={...{note:x,tip:v,info:Z,warning:function(n){return(0,r.jsx)(m,{...C,...n,className:(0,s.Z)("alert alert--warning",n.className),children:n.children})},danger:function(n){return(0,r.jsx)(m,{...z,...n,className:(0,s.Z)("alert alert--danger",n.className),children:n.children})}},...{secondary:n=>(0,r.jsx)(x,{title:"secondary",...n}),important:n=>(0,r.jsx)(Z,{title:"important",...n}),success:n=>(0,r.jsx)(v,{title:"success",...n}),caution:function(n){return(0,r.jsx)(m,{...b,...n,className:(0,s.Z)("alert alert--warning",n.className),children:n.children})}}};var M=t(25108);function _(n){const e=(0,i.X)(n),t=(s=e.type,T[s]||(M.warn(`No admonition component found for admonition type "${s}". Using Info as fallback.`),T.info));var s;return(0,r.jsx)(t,{...e})}},44311:(n,e,t)=>{t.d(e,{Z:()=>_});var i=t(67294),s=t(11151),a=t(35742),o=t(18152),l=t(85893);var r=t(39960);var c=t(36905),d=t(788),u=t(72389),m=t(86043);const h={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function f(n){return!!n&&("SUMMARY"===n.tagName||f(n.parentElement))}function x(n,e){return!!n&&(n===e||x(n.parentElement,e))}function j(n){let{summary:e,children:t,...s}=n;const a=(0,u.default)(),o=(0,i.useRef)(null),{collapsed:r,setCollapsed:c}=(0,m.u)({initialState:!s.open}),[j,p]=(0,i.useState)(s.open),v=i.isValidElement(e)?e:(0,l.jsx)("summary",{children:e??"Details"});return(0,l.jsxs)("details",{...s,ref:o,open:j,"data-collapsed":r,className:(0,d.Z)(h.details,a&&h.isBrowser,s.className),onMouseDown:n=>{f(n.target)&&n.detail>1&&n.preventDefault()},onClick:n=>{n.stopPropagation();const e=n.target;f(e)&&x(e,o.current)&&(n.preventDefault(),r?(c(!1),p(!0)):c(!0))},children:[v,(0,l.jsx)(m.z,{lazy:!1,collapsed:r,disableSSRStyle:!0,onCollapseTransitionEnd:n=>{c(n),p(!n)},children:(0,l.jsx)("div",{className:h.collapsibleContent,children:t})})]})}const p={details:"details_b_Ee"},v="alert alert--info";function g(n){let{...e}=n;return(0,l.jsx)(j,{...e,className:(0,c.Z)(v,p.details,e.className)})}function N(n){const e=i.Children.toArray(n.children),t=e.find((n=>i.isValidElement(n)&&"summary"===n.type)),s=(0,l.jsx)(l.Fragment,{children:e.filter((n=>n!==t))});return(0,l.jsx)(g,{...n,summary:t,children:s})}var Z=t(92503);function y(n){return(0,l.jsx)(Z.Z,{...n})}const C={containsTaskList:"containsTaskList_mC6p"};function w(n){if(void 0!==n)return(0,c.Z)(n,n?.includes("contains-task-list")&&C.containsTaskList)}const z={img:"img_ev3q"};var b=t(92775),T=t(11875);const M={Head:a.Z,details:N,Details:N,code:function(n){return i.Children.toArray(n.children).every((n=>"string"==typeof n&&!n.includes("\n")))?(0,l.jsx)("code",{...n}):(0,l.jsx)(o.Z,{...n})},a:function(n){return(0,l.jsx)(r.default,{...n})},pre:function(n){return(0,l.jsx)(l.Fragment,{children:n.children})},ul:function(n){return(0,l.jsx)("ul",{...n,className:w(n.className)})},img:function(n){return(0,l.jsx)("img",{loading:"lazy",...n,className:(e=n.className,(0,c.Z)(e,z.img))});var e},h1:n=>(0,l.jsx)(y,{as:"h1",...n}),h2:n=>(0,l.jsx)(y,{as:"h2",...n}),h3:n=>(0,l.jsx)(y,{as:"h3",...n}),h4:n=>(0,l.jsx)(y,{as:"h4",...n}),h5:n=>(0,l.jsx)(y,{as:"h5",...n}),h6:n=>(0,l.jsx)(y,{as:"h6",...n}),admonition:b.Z,mermaid:T.Z};function _(n){let{children:e}=n;return(0,l.jsx)(s.Z,{components:M,children:e})}},94697:(n,e,t)=>{t.d(e,{X:()=>a});var i=t(67294),s=t(85893);function a(n){const{mdxAdmonitionTitle:e,rest:t}=function(n){const e=i.Children.toArray(n),t=e.find((n=>i.isValidElement(n)&&"mdxAdmonitionTitle"===n.type)),a=e.filter((n=>n!==t)),o=t?.props.children;return{mdxAdmonitionTitle:o,rest:a.length>0?(0,s.jsx)(s.Fragment,{children:a}):null}}(n.children),a=n.title??e;return{...n,...a&&{title:a},children:t}}}}]);