diff --git a/demo.1c4526fa6782d595057f.js b/demo.1c4526fa6782d595057f.js deleted file mode 100644 index 45af4c6..0000000 --- a/demo.1c4526fa6782d595057f.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e={421:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(771),r=n.n(o),i=n(244),l=n.n(i)()(r());l.push([e.id,".demo{display:flex;min-height:100vh}.demo .menu{width:200px;flex:0 0 auto;border-right:1px solid var(--sn-stylekit-border-color)}.demo .menu .menu-item{padding:20px;cursor:pointer;border-bottom:1px solid var(--sn-stylekit-border-color)}.demo .menu .menu-item.selected{background-color:var(--sn-stylekit-secondary-background-color)}.demo .content{flex:1 1 auto;display:flex;flex-direction:column}.demo .content-header{border-bottom:1px solid var(--sn-stylekit-border-color);padding:5px 20px;display:flex}.demo .content-header div{margin-right:20px}.demo iframe{flex:1 1 auto;width:100%;border:0}",""]);const a=l},494:(e,t,n)=>{n.d(t,{A:()=>_});var o=n(771),r=n.n(o),i=n(244),l=n.n(i),a=n(223),s=l()(r());s.i(a.A),s.push([e.id,"body,html{background-color:var(--sn-stylekit-background-color);color:var(--sn-stylekit-foreground-color);font-family:var(--sn-stylekit-sans-serif-font);font-size:var(--sn-stylekit-font-size-editor);height:100%;margin:0;padding:0;width:100%}.main__Default{padding:20px}.main__Default div{padding:5px}.main__Comfortable{padding:30px}.main__Comfortable div{padding:15px}textarea{background-color:inherit;outline:none;padding:10px;display:block;box-sizing:border-box;width:100%;line-height:1.4;resize:none;color:var(--sn-stylekit-foreground-color)}button{background-color:var(--sn-stylekit-contrast-background-color);border:1px solid var(--sn-stylekit-border-color);cursor:pointer}",""]);const _=s},223:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(771),r=n.n(o),i=n(244),l=n.n(i)()(r());l.push([e.id,':root{--sn-stylekit-base-font-size:0.8125rem;--sn-stylekit-font-size-p:0.8125rem;--sn-stylekit-font-size-editor:0.983125rem;--sn-stylekit-font-size-h6:0.65rem;--sn-stylekit-font-size-h5:0.73125rem;--sn-stylekit-font-size-h4:0.8125rem;--sn-stylekit-font-size-h3:0.89375rem;--sn-stylekit-font-size-h2:0.975rem;--sn-stylekit-font-size-h1:1.05625rem;--sn-stylekit-neutral-color:#989898;--sn-stylekit-neutral-contrast-color:#ffffff;--sn-stylekit-info-color:#086DD6;--sn-stylekit-info-color-darkened:#065cb5;--sn-stylekit-info-contrast-color:#ffffff;--sn-stylekit-info-backdrop-color:#2b6fcf0f;--sn-stylekit-success-color:#007662;--sn-stylekit-success-contrast-color:#ffffff;--sn-stylekit-warning-color:#EBAD00;--sn-stylekit-warning-contrast-color:#ffffff;--sn-stylekit-danger-color:#cc2128;--sn-stylekit-danger-contrast-color:#ffffff;--sn-stylekit-shadow-color:#c8c8c8;--sn-stylekit-background-color:#ffffff;--sn-stylekit-border-color:#dfe1e4;--sn-stylekit-foreground-color:#000000;--sn-stylekit-contrast-background-color:#f6f6f6;--sn-stylekit-contrast-foreground-color:#2e2e2e;--sn-stylekit-contrast-border-color:#e3e3e3;--sn-stylekit-secondary-background-color:#f6f6f6;--sn-stylekit-secondary-foreground-color:#2e2e2e;--sn-stylekit-secondary-border-color:#e3e3e3;--sn-stylekit-secondary-contrast-background-color:#e3e3e3;--sn-stylekit-secondary-contrast-foreground-color:#2e2e2e;--sn-stylekit-secondary-contrast-border-color:#a2a2a2;--sn-stylekit-editor-background-color:var(--sn-stylekit-background-color);--sn-stylekit-editor-foreground-color:var(--sn-stylekit-foreground-color);--sn-stylekit-paragraph-text-color:#454545;--sn-stylekit-input-placeholder-color:#a8a8a8;--sn-stylekit-input-border-color:#e3e3e3;--sn-stylekit-scrollbar-thumb-color:#dfdfdf;--sn-stylekit-scrollbar-track-border-color:#e7e7e7;--sn-stylekit-menu-border:none;--sn-stylekit-general-border-radius:2px;--sn-stylekit-simplified-chinese-font:\'Microsoft Yahei\', \'微软雅黑体\';--sn-stylekit-monospace-font:\'SFMono-Regular\', Consolas, \'Liberation Mono\', Menlo, \'Ubuntu Mono\', \'Courier New\', monospace;--sn-stylekit-sans-serif-font:-apple-system, BlinkMacSystemFont, \'Segoe UI\', \'Roboto\', \'Oxygen\', \'Ubuntu\', \'Cantarell\', \'Fira Sans\', \'Droid Sans\', \'Helvetica Neue\', var(--sn-stylekit-simplified-chinese-font), sans-serif;--sn-stylekit-editor-font-family:var(--sn-stylekit-sans-serif-font);--sn-stylekit-theme-type:light;--sn-stylekit-theme-name:sn-light;--sn-stylekit-passive-color-0:#515357;--sn-stylekit-passive-color-1:#72767e;--sn-stylekit-passive-color-2:#bbbec4;--sn-stylekit-passive-color-3:#dfe1e4;--sn-stylekit-passive-color-4:#eeeff1;--sn-stylekit-passive-color-4-opacity-variant:#bbbec43d;--sn-stylekit-passive-color-5:#f4f5f7;--sn-stylekit-passive-color-6:#e5e5e5;--sn-stylekit-passive-color-super-light:#f9f9f9;--sn-stylekit-accessory-tint-color-1:#086dd6;--sn-stylekit-accessory-tint-color-2:#ea6595;--sn-stylekit-accessory-tint-color-3:#ebad00;--sn-stylekit-accessory-tint-color-4:#7049cf;--sn-stylekit-accessory-tint-color-5:#1aa772;--sn-stylekit-accessory-tint-color-6:#f28c52}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace, monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type="button"],[type="reset"],[type="submit"],button{-webkit-appearance:button}[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}\n',""]);const a=l},244:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var l={};if(o)for(var a=0;a0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),t.push(c))}},t}},771:e=>{e.exports=function(e){return e[1]}},40:e=>{var t=[];function n(e){for(var n=-1,o=0;o{var t={};e.exports=function(e,n){var o=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},524:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},16:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},385:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,r&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},737:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.nc=void 0;var o,r,i,l,a,s,_,c,u,f,d={},p=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y=Array.isArray;function m(e,t){for(var n in t)e[n]=t[n];return e}function v(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function b(e,t,n){var r,i,l,a={};for(l in t)"key"==l?r=t[l]:"ref"==l?i=t[l]:a[l]=t[l];if(arguments.length>2&&(a.children=arguments.length>3?o.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===a[l]&&(a[l]=e.defaultProps[l]);return g(e,a,r,i,null)}function g(e,t,n,o,l){var a={type:e,props:t,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==l?++i:l,__i:-1,__u:0};return null==l&&null!=r.vnode&&r.vnode(a),a}function k(e){return e.children}function w(e,t){this.props=e,this.context=t}function x(e,t){if(null==t)return e.__?x(e.__,e.__i+1):null;for(var n;tt&&l.sort(_));D.__r=0}function C(e,t,n,o,r,i,l,a,s,_,c){var u,f,h,y,m,v=o&&o.__k||p,b=t.length;for(n.__d=s,E(n,t,v),s=n.__d,u=0;u0?g(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r).__=e,r.__b=e.__b+1,i=null,-1!==(a=r.__i=T(r,n,l,c))&&(c--,(i=n[a])&&(i.__u|=131072)),null==i||null===i.__v?(-1==a&&u--,"function"!=typeof r.type&&(r.__u|=65536)):a!==l&&(a==l-1?u--:a==l+1?u++:(a>l?u--:u++,r.__u|=65536))):r=e.__k[o]=null;if(c)for(o=0;o<_;o++)null!=(i=n[o])&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=x(i)),W(i,i))}function O(e,t,n){var o,r;if("function"==typeof e.type){for(o=e.__k,r=0;o&&r(null==s||131072&s.__u?0:1))for(;l>=0||a=0){if((s=t[l])&&!(131072&s.__u)&&r==s.key&&i===s.type)return l;l--}if(a=n.__.length&&n.__.push({}),n.__[e]}function ne(e){return q=1,oe(fe,e)}function oe(e,t,n){var o=te(R++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):fe(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],n=o.t(t,e);t!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=B,!B.u)){var r=function(e,t,n){if(!o.__c.__H)return!0;var r=o.__c.__H.__.filter((function(e){return!!e.__c}));if(r.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var l=!1;return r.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(l=!0)}})),!(!l&&o.__c.props===e)&&(!i||i.call(this,e,t,n))};B.u=!0;var i=B.shouldComponentUpdate,l=B.componentWillUpdate;B.componentWillUpdate=function(e,t,n){if(this.__e){var o=i;i=void 0,r(e,t,n),i=o}l&&l.call(this,e,t,n)},B.shouldComponentUpdate=r}return o.__N||o.__}function re(e){return q=5,ie((function(){return{current:e}}),[])}function ie(e,t){var n=te(R++,7);return ue(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function le(){for(var e;e=Z.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(_e),e.__H.__h.forEach(ce),e.__H.__h=[]}catch(t){e.__H.__h=[],J.__e(t,e.__v)}}J.__b=function(e){B=null,K&&K(e)},J.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ee&&ee(e,t)},J.__r=function(e){Y&&Y(e),R=0;var t=(B=e.__c).__H;t&&($===B?(t.__h=[],B.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(_e),t.__h.forEach(ce),t.__h=[],R=0)),$=B},J.diffed=function(e){G&&G(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Z.push(t)&&V===J.requestAnimationFrame||((V=J.requestAnimationFrame)||se)(le)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),$=B=null},J.__c=function(e,t){t.some((function(e){try{e.__h.forEach(_e),e.__h=e.__h.filter((function(e){return!e.__||ce(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],J.__e(n,e.__v)}})),Q&&Q(e,t)},J.unmount=function(e){X&&X(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{_e(e)}catch(e){t=e}})),n.__H=void 0,t&&J.__e(t,n.__v))};var ae="function"==typeof requestAnimationFrame;function se(e){var t,n=function(){clearTimeout(o),ae&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,100);ae&&(t=requestAnimationFrame(n))}function _e(e){var t=B,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),B=t}function ce(e){var t=B;e.__c=e.__(),B=t}function ue(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function fe(e,t){return"function"==typeof t?t(e):t}function de(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var o in t)if("__source"!==o&&e[o]!==t[o])return!0;return!1}function pe(e,t){this.props=e,this.context=t}(pe.prototype=new w).isPureReactComponent=!0,pe.prototype.shouldComponentUpdate=function(e,t){return de(this.props,e)||de(this.state,t)};var he=r.__b;r.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),he&&he(e)};"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var ye=r.__e;r.__e=function(e,t,n,o){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);ye(e,t,n,o)};var me=r.unmount;function ve(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return ve(e,t,n)}))),e}function be(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return be(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function ge(){this.__u=0,this.t=null,this.__b=null}function ke(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function we(){this.u=null,this.o=null}r.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),me&&me(e)},(ge.prototype=new w).__c=function(e,t){var n=t.__c,o=this;null==o.t&&(o.t=[]),o.t.push(n);var r=ke(o.__v),i=!1,l=function(){i||(i=!0,n.__R=null,r?r(a):a())};n.__R=l;var a=function(){if(! --o.__u){if(o.state.__a){var e=o.state.__a;o.__v.__k[0]=be(e,e.__c.__P,e.__c.__O)}var t;for(o.setState({__a:o.__b=null});t=o.t.pop();)t.forceUpdate()}};o.__u++||32&t.__u||o.setState({__a:o.__b=o.__v.__k[0]}),e.then(l,l)},ge.prototype.componentWillUnmount=function(){this.t=[]},ge.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=ve(this.__b,n,o.__O=o.__P)}this.__b=null}var r=t.__a&&b(k,null,e.fallback);return r&&(r.__u&=-33),[b(k,null,t.__a?null:e.children),r]};var xe=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1] "},clientData:{}}};function lt(e){return lt="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},lt(e)}function at(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function st(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,o=Array(t);n{"use strict";var e={918:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(771),r=n.n(o),i=n(244),l=n.n(i)()(r());l.push([e.id,".demo{display:flex;min-height:100vh}.demo .menu{width:200px;flex:0 0 auto;border-right:1px solid var(--sn-stylekit-border-color)}.demo .menu .menu-item{padding:20px;cursor:pointer;border-bottom:1px solid var(--sn-stylekit-border-color)}.demo .menu .menu-item.selected{background-color:var(--sn-stylekit-secondary-background-color)}.demo .content{flex:1 1 auto;display:flex;flex-direction:column}.demo .content-header{border-bottom:1px solid var(--sn-stylekit-border-color);padding:5px 20px;display:flex}.demo .content-header div{margin-right:20px}.demo iframe{flex:1 1 auto;width:100%;border:0}",""]);const a=l},989:(e,t,n)=>{n.d(t,{A:()=>_});var o=n(771),r=n.n(o),i=n(244),l=n.n(i),a=n(223),s=l()(r());s.i(a.A),s.push([e.id,"body,html{background-color:var(--sn-stylekit-background-color);color:var(--sn-stylekit-foreground-color);font-family:var(--sn-stylekit-sans-serif-font);font-size:var(--sn-stylekit-font-size-editor);height:100%;margin:0;padding:0;width:100%}.main__Default{padding:20px}.main__Default div{padding:5px}.main__Comfortable{padding:30px}.main__Comfortable div{padding:15px}textarea{background-color:inherit;outline:none;padding:10px;display:block;box-sizing:border-box;width:100%;line-height:1.4;resize:none;color:var(--sn-stylekit-foreground-color)}button{background-color:var(--sn-stylekit-contrast-background-color);border:1px solid var(--sn-stylekit-border-color);cursor:pointer}",""]);const _=s},223:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(771),r=n.n(o),i=n(244),l=n.n(i)()(r());l.push([e.id,':root{--sn-stylekit-base-font-size:0.8125rem;--sn-stylekit-font-size-p:0.8125rem;--sn-stylekit-font-size-editor:0.983125rem;--sn-stylekit-font-size-h6:0.65rem;--sn-stylekit-font-size-h5:0.73125rem;--sn-stylekit-font-size-h4:0.8125rem;--sn-stylekit-font-size-h3:0.89375rem;--sn-stylekit-font-size-h2:0.975rem;--sn-stylekit-font-size-h1:1.05625rem;--sn-stylekit-neutral-color:#989898;--sn-stylekit-neutral-contrast-color:#ffffff;--sn-stylekit-info-color:#086DD6;--sn-stylekit-info-color-darkened:#065cb5;--sn-stylekit-info-contrast-color:#ffffff;--sn-stylekit-info-backdrop-color:#2b6fcf0f;--sn-stylekit-success-color:#007662;--sn-stylekit-success-contrast-color:#ffffff;--sn-stylekit-warning-color:#EBAD00;--sn-stylekit-warning-contrast-color:#ffffff;--sn-stylekit-danger-color:#cc2128;--sn-stylekit-danger-contrast-color:#ffffff;--sn-stylekit-shadow-color:#c8c8c8;--sn-stylekit-background-color:#ffffff;--sn-stylekit-border-color:#dfe1e4;--sn-stylekit-foreground-color:#000000;--sn-stylekit-contrast-background-color:#f6f6f6;--sn-stylekit-contrast-foreground-color:#2e2e2e;--sn-stylekit-contrast-border-color:#e3e3e3;--sn-stylekit-secondary-background-color:#f6f6f6;--sn-stylekit-secondary-foreground-color:#2e2e2e;--sn-stylekit-secondary-border-color:#e3e3e3;--sn-stylekit-secondary-contrast-background-color:#e3e3e3;--sn-stylekit-secondary-contrast-foreground-color:#2e2e2e;--sn-stylekit-secondary-contrast-border-color:#a2a2a2;--sn-stylekit-editor-background-color:var(--sn-stylekit-background-color);--sn-stylekit-editor-foreground-color:var(--sn-stylekit-foreground-color);--sn-stylekit-paragraph-text-color:#454545;--sn-stylekit-input-placeholder-color:#a8a8a8;--sn-stylekit-input-border-color:#e3e3e3;--sn-stylekit-scrollbar-thumb-color:#dfdfdf;--sn-stylekit-scrollbar-track-border-color:#e7e7e7;--sn-stylekit-menu-border:none;--sn-stylekit-general-border-radius:2px;--sn-stylekit-simplified-chinese-font:\'Microsoft Yahei\', \'微软雅黑体\';--sn-stylekit-monospace-font:\'SFMono-Regular\', Consolas, \'Liberation Mono\', Menlo, \'Ubuntu Mono\', \'Courier New\', monospace;--sn-stylekit-sans-serif-font:-apple-system, BlinkMacSystemFont, \'Segoe UI\', \'Roboto\', \'Oxygen\', \'Ubuntu\', \'Cantarell\', \'Fira Sans\', \'Droid Sans\', \'Helvetica Neue\', var(--sn-stylekit-simplified-chinese-font), sans-serif;--sn-stylekit-editor-font-family:var(--sn-stylekit-sans-serif-font);--sn-stylekit-theme-type:light;--sn-stylekit-theme-name:sn-light;--sn-stylekit-passive-color-0:#515357;--sn-stylekit-passive-color-1:#72767e;--sn-stylekit-passive-color-2:#bbbec4;--sn-stylekit-passive-color-3:#dfe1e4;--sn-stylekit-passive-color-4:#eeeff1;--sn-stylekit-passive-color-4-opacity-variant:#bbbec43d;--sn-stylekit-passive-color-5:#f4f5f7;--sn-stylekit-passive-color-6:#e5e5e5;--sn-stylekit-passive-color-super-light:#f9f9f9;--sn-stylekit-accessory-tint-color-1:#086dd6;--sn-stylekit-accessory-tint-color-2:#ea6595;--sn-stylekit-accessory-tint-color-3:#ebad00;--sn-stylekit-accessory-tint-color-4:#7049cf;--sn-stylekit-accessory-tint-color-5:#1aa772;--sn-stylekit-accessory-tint-color-6:#f28c52}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace, monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type="button"],[type="reset"],[type="submit"],button{-webkit-appearance:button}[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}\n',""]);const a=l},244:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var l={};if(o)for(var a=0;a0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),t.push(c))}},t}},771:e=>{e.exports=function(e){return e[1]}},40:e=>{var t=[];function n(e){for(var n=-1,o=0;o{var t={};e.exports=function(e,n){var o=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},524:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},16:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},385:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,r&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},737:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.nc=void 0;var o,r,i,l,a,s,_,c,u,f,d={},p=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y=Array.isArray;function m(e,t){for(var n in t)e[n]=t[n];return e}function v(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function b(e,t,n){var r,i,l,a={};for(l in t)"key"==l?r=t[l]:"ref"==l?i=t[l]:a[l]=t[l];if(arguments.length>2&&(a.children=arguments.length>3?o.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===a[l]&&(a[l]=e.defaultProps[l]);return g(e,a,r,i,null)}function g(e,t,n,o,l){var a={type:e,props:t,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==l?++i:l,__i:-1,__u:0};return null==l&&null!=r.vnode&&r.vnode(a),a}function k(e){return e.children}function w(e,t){this.props=e,this.context=t}function x(e,t){if(null==t)return e.__?x(e.__,e.__i+1):null;for(var n;tt&&l.sort(_));D.__r=0}function C(e,t,n,o,r,i,l,a,s,_,c){var u,f,h,y,m,v=o&&o.__k||p,b=t.length;for(n.__d=s,E(n,t,v),s=n.__d,u=0;u0?g(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r).__=e,r.__b=e.__b+1,i=null,-1!==(a=r.__i=T(r,n,l,c))&&(c--,(i=n[a])&&(i.__u|=131072)),null==i||null===i.__v?(-1==a&&u--,"function"!=typeof r.type&&(r.__u|=65536)):a!==l&&(a==l-1?u--:a==l+1?u++:(a>l?u--:u++,r.__u|=65536))):r=e.__k[o]=null;if(c)for(o=0;o<_;o++)null!=(i=n[o])&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=x(i)),W(i,i))}function O(e,t,n){var o,r;if("function"==typeof e.type){for(o=e.__k,r=0;o&&r(null==s||131072&s.__u?0:1))for(;l>=0||a=0){if((s=t[l])&&!(131072&s.__u)&&r==s.key&&i===s.type)return l;l--}if(a=n.__.length&&n.__.push({}),n.__[e]}function ne(e){return q=1,oe(fe,e)}function oe(e,t,n){var o=te(R++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):fe(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],n=o.t(t,e);t!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=B,!B.u)){var r=function(e,t,n){if(!o.__c.__H)return!0;var r=o.__c.__H.__.filter((function(e){return!!e.__c}));if(r.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var l=!1;return r.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(l=!0)}})),!(!l&&o.__c.props===e)&&(!i||i.call(this,e,t,n))};B.u=!0;var i=B.shouldComponentUpdate,l=B.componentWillUpdate;B.componentWillUpdate=function(e,t,n){if(this.__e){var o=i;i=void 0,r(e,t,n),i=o}l&&l.call(this,e,t,n)},B.shouldComponentUpdate=r}return o.__N||o.__}function re(e){return q=5,ie((function(){return{current:e}}),[])}function ie(e,t){var n=te(R++,7);return ue(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function le(){for(var e;e=Z.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(_e),e.__H.__h.forEach(ce),e.__H.__h=[]}catch(t){e.__H.__h=[],J.__e(t,e.__v)}}J.__b=function(e){B=null,K&&K(e)},J.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ee&&ee(e,t)},J.__r=function(e){Y&&Y(e),R=0;var t=(B=e.__c).__H;t&&($===B?(t.__h=[],B.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(_e),t.__h.forEach(ce),t.__h=[],R=0)),$=B},J.diffed=function(e){G&&G(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Z.push(t)&&V===J.requestAnimationFrame||((V=J.requestAnimationFrame)||se)(le)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),$=B=null},J.__c=function(e,t){t.some((function(e){try{e.__h.forEach(_e),e.__h=e.__h.filter((function(e){return!e.__||ce(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],J.__e(n,e.__v)}})),Q&&Q(e,t)},J.unmount=function(e){X&&X(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{_e(e)}catch(e){t=e}})),n.__H=void 0,t&&J.__e(t,n.__v))};var ae="function"==typeof requestAnimationFrame;function se(e){var t,n=function(){clearTimeout(o),ae&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,100);ae&&(t=requestAnimationFrame(n))}function _e(e){var t=B,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),B=t}function ce(e){var t=B;e.__c=e.__(),B=t}function ue(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function fe(e,t){return"function"==typeof t?t(e):t}function de(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var o in t)if("__source"!==o&&e[o]!==t[o])return!0;return!1}function pe(e,t){this.props=e,this.context=t}(pe.prototype=new w).isPureReactComponent=!0,pe.prototype.shouldComponentUpdate=function(e,t){return de(this.props,e)||de(this.state,t)};var he=r.__b;r.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),he&&he(e)};"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var ye=r.__e;r.__e=function(e,t,n,o){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);ye(e,t,n,o)};var me=r.unmount;function ve(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return ve(e,t,n)}))),e}function be(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return be(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function ge(){this.__u=0,this.t=null,this.__b=null}function ke(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function we(){this.u=null,this.o=null}r.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),me&&me(e)},(ge.prototype=new w).__c=function(e,t){var n=t.__c,o=this;null==o.t&&(o.t=[]),o.t.push(n);var r=ke(o.__v),i=!1,l=function(){i||(i=!0,n.__R=null,r?r(a):a())};n.__R=l;var a=function(){if(! --o.__u){if(o.state.__a){var e=o.state.__a;o.__v.__k[0]=be(e,e.__c.__P,e.__c.__O)}var t;for(o.setState({__a:o.__b=null});t=o.t.pop();)t.forceUpdate()}};o.__u++||32&t.__u||o.setState({__a:o.__b=o.__v.__k[0]}),e.then(l,l)},ge.prototype.componentWillUnmount=function(){this.t=[]},ge.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=ve(this.__b,n,o.__O=o.__P)}this.__b=null}var r=t.__a&&b(k,null,e.fallback);return r&&(r.__u&=-33),[b(k,null,t.__a?null:e.children),r]};var xe=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1] "},clientData:{}}};function lt(e){return lt="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},lt(e)}function at(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function st(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,o=Array(t);n
\ No newline at end of file +
\ No newline at end of file diff --git a/index.html b/index.html index bad4245..bf6c362 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/latest.zip b/latest.zip index ccf4a2a..119bf95 100644 Binary files a/latest.zip and b/latest.zip differ diff --git a/main.dd0e168d2905a1a5b3b1.js b/main.686964cbc546641fa55e.js similarity index 60% rename from main.dd0e168d2905a1a5b3b1.js rename to main.686964cbc546641fa55e.js index 9e2052e..9ee5e5d 100644 --- a/main.dd0e168d2905a1a5b3b1.js +++ b/main.686964cbc546641fa55e.js @@ -1 +1 @@ -(()=>{var e={494:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(771),r=n.n(o),i=n(244),s=n.n(i),a=n(223),l=s()(r());l.i(a.A),l.push([e.id,"body,html{background-color:var(--sn-stylekit-background-color);color:var(--sn-stylekit-foreground-color);font-family:var(--sn-stylekit-sans-serif-font);font-size:var(--sn-stylekit-font-size-editor);height:100%;margin:0;padding:0;width:100%}.main__Default{padding:20px}.main__Default div{padding:5px}.main__Comfortable{padding:30px}.main__Comfortable div{padding:15px}textarea{background-color:inherit;outline:none;padding:10px;display:block;box-sizing:border-box;width:100%;line-height:1.4;resize:none;color:var(--sn-stylekit-foreground-color)}button{background-color:var(--sn-stylekit-contrast-background-color);border:1px solid var(--sn-stylekit-border-color);cursor:pointer}",""]);const c=l},223:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(771),r=n.n(o),i=n(244),s=n.n(i)()(r());s.push([e.id,':root{--sn-stylekit-base-font-size:0.8125rem;--sn-stylekit-font-size-p:0.8125rem;--sn-stylekit-font-size-editor:0.983125rem;--sn-stylekit-font-size-h6:0.65rem;--sn-stylekit-font-size-h5:0.73125rem;--sn-stylekit-font-size-h4:0.8125rem;--sn-stylekit-font-size-h3:0.89375rem;--sn-stylekit-font-size-h2:0.975rem;--sn-stylekit-font-size-h1:1.05625rem;--sn-stylekit-neutral-color:#989898;--sn-stylekit-neutral-contrast-color:#ffffff;--sn-stylekit-info-color:#086DD6;--sn-stylekit-info-color-darkened:#065cb5;--sn-stylekit-info-contrast-color:#ffffff;--sn-stylekit-info-backdrop-color:#2b6fcf0f;--sn-stylekit-success-color:#007662;--sn-stylekit-success-contrast-color:#ffffff;--sn-stylekit-warning-color:#EBAD00;--sn-stylekit-warning-contrast-color:#ffffff;--sn-stylekit-danger-color:#cc2128;--sn-stylekit-danger-contrast-color:#ffffff;--sn-stylekit-shadow-color:#c8c8c8;--sn-stylekit-background-color:#ffffff;--sn-stylekit-border-color:#dfe1e4;--sn-stylekit-foreground-color:#000000;--sn-stylekit-contrast-background-color:#f6f6f6;--sn-stylekit-contrast-foreground-color:#2e2e2e;--sn-stylekit-contrast-border-color:#e3e3e3;--sn-stylekit-secondary-background-color:#f6f6f6;--sn-stylekit-secondary-foreground-color:#2e2e2e;--sn-stylekit-secondary-border-color:#e3e3e3;--sn-stylekit-secondary-contrast-background-color:#e3e3e3;--sn-stylekit-secondary-contrast-foreground-color:#2e2e2e;--sn-stylekit-secondary-contrast-border-color:#a2a2a2;--sn-stylekit-editor-background-color:var(--sn-stylekit-background-color);--sn-stylekit-editor-foreground-color:var(--sn-stylekit-foreground-color);--sn-stylekit-paragraph-text-color:#454545;--sn-stylekit-input-placeholder-color:#a8a8a8;--sn-stylekit-input-border-color:#e3e3e3;--sn-stylekit-scrollbar-thumb-color:#dfdfdf;--sn-stylekit-scrollbar-track-border-color:#e7e7e7;--sn-stylekit-menu-border:none;--sn-stylekit-general-border-radius:2px;--sn-stylekit-simplified-chinese-font:\'Microsoft Yahei\', \'微软雅黑体\';--sn-stylekit-monospace-font:\'SFMono-Regular\', Consolas, \'Liberation Mono\', Menlo, \'Ubuntu Mono\', \'Courier New\', monospace;--sn-stylekit-sans-serif-font:-apple-system, BlinkMacSystemFont, \'Segoe UI\', \'Roboto\', \'Oxygen\', \'Ubuntu\', \'Cantarell\', \'Fira Sans\', \'Droid Sans\', \'Helvetica Neue\', var(--sn-stylekit-simplified-chinese-font), sans-serif;--sn-stylekit-editor-font-family:var(--sn-stylekit-sans-serif-font);--sn-stylekit-theme-type:light;--sn-stylekit-theme-name:sn-light;--sn-stylekit-passive-color-0:#515357;--sn-stylekit-passive-color-1:#72767e;--sn-stylekit-passive-color-2:#bbbec4;--sn-stylekit-passive-color-3:#dfe1e4;--sn-stylekit-passive-color-4:#eeeff1;--sn-stylekit-passive-color-4-opacity-variant:#bbbec43d;--sn-stylekit-passive-color-5:#f4f5f7;--sn-stylekit-passive-color-6:#e5e5e5;--sn-stylekit-passive-color-super-light:#f9f9f9;--sn-stylekit-accessory-tint-color-1:#086dd6;--sn-stylekit-accessory-tint-color-2:#ea6595;--sn-stylekit-accessory-tint-color-3:#ebad00;--sn-stylekit-accessory-tint-color-4:#7049cf;--sn-stylekit-accessory-tint-color-5:#1aa772;--sn-stylekit-accessory-tint-color-6:#f28c52}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace, monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type="button"],[type="reset"],[type="submit"],button{-webkit-appearance:button}[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}\n',""]);const a=s},244:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(o)for(var a=0;a0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},771:e=>{"use strict";e.exports=function(e){return e[1]}},581:e=>{var t;self,t=()=>(()=>{"use strict";var e,t,n={d:(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},o={};n.d(o,{default:()=>r}),function(e){e.StreamContextItem="stream-context-item",e.SaveItems="save-items",e.ComponentRegistered="component-registered",e.ActivateThemes="themes",e.ThemesActivated="themes-activated",e.SetComponentData="set-component-data"}(e||(e={})),function(e){e.Component="component"}(t||(t={}));const r=new class{constructor(){this.component={activeThemes:[],acceptsThemes:!0},this.sentMessages=[],this.messageQueue=[],this.subscriptions=[],this.generateNotePreview=!0}initialize(t={}){if(this.contentWindow)throw"Cannot initialize mediator more than once";this.contentWindow=window,this.coallesedSavingDelay=void 0!==t.debounceSave?t.debounceSave:250,this.registerMessageHandler(),this.postMessage(e.StreamContextItem,{},(e=>{const{item:t}=e;(!this.lastStreamedItem||this.lastStreamedItem.uuid!==t.uuid)&&this.pendingSaveTimeout&&(clearTimeout(this.pendingSaveTimeout),this.performSavingOfItems(this.pendingSaveParams),this.pendingSaveTimeout=void 0,this.pendingSaveParams=void 0),this.lastStreamedItem=t,this.lastStreamedItem.isMetadataUpdate||this.subscriptions.forEach((e=>{e(this.text,this.meta)}))}))}subscribe(e){return this.subscriptions.push(e),this.lastStreamedItem&&setTimeout((()=>{e(this.text,this.meta)})),()=>{const t=this.subscriptions.indexOf(e);t>=0&&this.subscriptions.splice(t,1)}}get text(){var e,t;return this.checkNoteExists(),(null===(t=null===(e=this.lastStreamedItem)||void 0===e?void 0:e.content)||void 0===t?void 0:t.text)||""}get meta(){var e;return this.checkNoteExists(),(null===(e=this.lastStreamedItem)||void 0===e?void 0:e.content)?this.lastStreamedItem.content.appData[this.lastStreamedItem.content.editorIdentifier]:{}}get extensionMeta(){return this.component.data}get locked(){var e,t;return this.checkNoteExists(),null===(t=null===(e=this.lastStreamedItem)||void 0===e?void 0:e.content)||void 0===t?void 0:t.appData["org.standardnotes.sn"].locked}get preview(){var e,t;return this.checkNoteExists(),null===(t=null===(e=this.lastStreamedItem)||void 0===e?void 0:e.content)||void 0===t?void 0:t.preview_plain}set text(e){this.checkNoteExists(),this.lastStreamedItem.content.text=e,this.saveNote(this.lastStreamedItem)}set preview(e){this.checkNoteExists(),this.generateNotePreview=!1,this.lastStreamedItem.content.preview_plain=e}set meta(e){this.checkNoteExists(),this.lastStreamedItem.content.appData[this.lastStreamedItem.content.editorIdentifier]=e,this.saveNote(this.lastStreamedItem)}set extensionMeta(t){this.component.data=t,this.postMessage(e.SetComponentData,{componentData:t})}registerMessageHandler(){this.messageHandler=e=>{if(document.referrer&&new URL(document.referrer).origin!==new URL(e.origin).origin)return;const{data:t}=e,n=(e=>{if("string"!=typeof e)return!1;try{const t=JSON.parse(e),n=Object.prototype.toString.call(t);return"[object Object]"===n||"[object Array]"===n}catch(e){return!1}})(t)?JSON.parse(t):t;n&&this.handleMessage(n)},this.contentWindow.document.addEventListener("message",this.messageHandler,!1),this.contentWindow.addEventListener("message",this.messageHandler,!1)}handleMessage(t){var n,o;switch(t.action){case e.ComponentRegistered:this.component.sessionKey=t.sessionKey,t.componentData&&(this.component.data=t.componentData),this.onReady(t.data);break;case e.ActivateThemes:this.activateThemes(t.data.themes);break;default:{if(!t.original)return;const e=null===(n=this.sentMessages)||void 0===n?void 0:n.filter((e=>{var n;return e.messageId===(null===(n=t.original)||void 0===n?void 0:n.messageId)}))[0];if(!e)return;null===(o=null==e?void 0:e.callback)||void 0===o||o.call(e,t.data);break}}}onReady(t){this.component.environment=t.environment,this.component.platform=t.platform,this.component.uuid=t.uuid;for(const e of this.messageQueue)this.postMessage(e.action,e.data,e.callback);this.messageQueue=[],this.activateThemes(t.activeThemeUrls||[]),this.postMessage(e.ThemesActivated,{})}get isRunningInDesktopApplication(){return"desktop"===this.component.environment}get isRunningInMobileApplication(){return"mobile"===this.component.environment}get isRunningInBrowser(){return"web"===this.component.environment}postMessage(e,n,o){if(!this.component.sessionKey)return void this.messageQueue.push({action:e,data:n,api:t.Component,callback:o});const r={action:e,data:n,messageId:this.generateUUID(),sessionKey:this.component.sessionKey,api:t.Component},i=JSON.parse(JSON.stringify(r));let s;i.callback=o,this.sentMessages.push(i),s=this.isRunningInMobileApplication?JSON.stringify(r):r,this.contentWindow.parent.postMessage(s,"*")}activateThemes(e=[]){if(!this.component.acceptsThemes)return;const{activeThemes:t}=this.component;if(t&&t.sort().toString()==e.sort().toString())return;let n=e;const o=[];for(const r of t)e.includes(r)?n=n.filter((e=>e!==r)):o.push(r);for(const e of o)this.deactivateTheme(e);this.component.activeThemes=e;for(const e of n){if(!e)continue;const t=e.endsWith("/org.standardnotes.theme-focus/index.css")?"https://app.standardnotes.com/components/assets/org.standardnotes.theme-focus/index.css":e,n=this.contentWindow.document.createElement("link");n.id=btoa(e),n.href=t,n.type="text/css",n.rel="stylesheet",n.media="screen,print",n.className="custom-theme",this.contentWindow.document.getElementsByTagName("head")[0].appendChild(n)}this.onThemesChangeCallback&&this.onThemesChangeCallback()}themeElementForUrl(e){return Array.from(this.contentWindow.document.getElementsByClassName("custom-theme")).slice().find((t=>t.id==btoa(e)))}deactivateTheme(e){const t=this.themeElementForUrl(e);t&&t.parentNode&&(t.setAttribute("disabled","true"),t.parentNode.removeChild(t))}generateUUID(){return crypto.randomUUID()}get platform(){return this.component.platform}get environment(){return this.component.environment}performSavingOfItems({items:t,callback:n}){this.generateNotePreview&&(t[0].content.preview_plain=((e,t=50)=>e.length<=t?e:e.substring(0,t)+"...")(t[0].content.text));const o=[];for(const e of t)o.push(this.jsonObjectForItem(e));this.postMessage(e.SaveItems,{items:o},(()=>{null==n||n()}))}saveNote(e,t){const n=[e];if(this.pendingSaveItems||(this.pendingSaveItems=[]),this.coallesedSavingDelay){this.pendingSaveTimeout&&clearTimeout(this.pendingSaveTimeout);const e=n.map((e=>e.uuid)),o=this.pendingSaveItems.filter((t=>!e.includes(t.uuid)));this.pendingSaveItems=o.concat(n),this.pendingSaveParams={items:this.pendingSaveItems,callback:t},this.pendingSaveTimeout=setTimeout((()=>{this.performSavingOfItems(this.pendingSaveParams),this.pendingSaveItems=[],this.pendingSaveTimeout=void 0,this.pendingSaveParams=null}),this.coallesedSavingDelay)}else this.performSavingOfItems({items:n,callback:t})}jsonObjectForItem(e){const t=Object.assign({},e);return t.children=null,t.parent=null,t}checkNoteExists(){if(!this.lastStreamedItem)throw"Trying to interact with note before it is received from Standard Notes. Use subscribe function."}};return o.default})(),e.exports=t()},40:e=>{"use strict";var t=[];function n(e){for(var n=-1,o=0;o{"use strict";var t={};e.exports=function(e,n){var o=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},524:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},16:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},385:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,r&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},737:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.nc=void 0;var o={};(()=>{"use strict";n.d(o,{K:()=>_t});var e,t,r,i,s,a,l,c,u,_,f={},d=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function m(e,t){for(var n in t)e[n]=t[n];return e}function v(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function y(t,n,o){var r,i,s,a={};for(s in n)"key"==s?r=n[s]:"ref"==s?i=n[s]:a[s]=n[s];if(arguments.length>2&&(a.children=arguments.length>3?e.call(arguments,2):o),"function"==typeof t&&null!=t.defaultProps)for(s in t.defaultProps)void 0===a[s]&&(a[s]=t.defaultProps[s]);return g(t,a,r,i,null)}function g(e,n,o,i,s){var a={type:e,props:n,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==s?++r:s,__i:-1,__u:0};return null==s&&null!=t.vnode&&t.vnode(a),a}function b(e){return e.children}function k(e,t){this.props=e,this.context=t}function S(e,t){if(null==t)return e.__?S(e.__,e.__i+1):null;for(var n;tn&&i.sort(l));I.__r=0}function C(e,t,n,o,r,i,s,a,l,c,u){var _,p,h,m,v,y=o&&o.__k||d,g=t.length;for(n.__d=l,T(n,t,y),l=n.__d,_=0;_0?g(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r).__=e,r.__b=e.__b+1,i=null,-1!==(a=r.__i=E(r,n,s,u))&&(u--,(i=n[a])&&(i.__u|=131072)),null==i||null===i.__v?(-1==a&&_--,"function"!=typeof r.type&&(r.__u|=65536)):a!==s&&(a==s-1?_--:a==s+1?_++:(a>s?_--:_++,r.__u|=65536))):r=e.__k[o]=null;if(u)for(o=0;o(null==l||131072&l.__u?0:1))for(;s>=0||a=0){if((l=t[s])&&!(131072&l.__u)&&r==l.key&&i===l.type)return s;s--}if(a=n.__.length&&n.__.push({}),n.__[e]}function te(e){return J=1,ne(le,e)}function ne(e,t,n){var o=ee(F++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):le(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],n=o.t(t,e);t!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=L,!L.u)){var r=function(e,t,n){if(!o.__c.__H)return!0;var r=o.__c.__H.__.filter((function(e){return!!e.__c}));if(r.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var s=!1;return r.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(s=!0)}})),!(!s&&o.__c.props===e)&&(!i||i.call(this,e,t,n))};L.u=!0;var i=L.shouldComponentUpdate,s=L.componentWillUpdate;L.componentWillUpdate=function(e,t,n){if(this.__e){var o=i;i=void 0,r(e,t,n),i=o}s&&s.call(this,e,t,n)},L.shouldComponentUpdate=r}return o.__N||o.__}function oe(){for(var e;e=K.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(se),e.__H.__h.forEach(ae),e.__H.__h=[]}catch(t){e.__H.__h=[],V.__e(t,e.__v)}}V.__b=function(e){L=null,q&&q(e)},V.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),X&&X(e,t)},V.__r=function(e){Q&&Q(e),F=0;var t=(L=e.__c).__H;t&&(B===L?(t.__h=[],L.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(se),t.__h.forEach(ae),t.__h=[],F=0)),B=L},V.diffed=function(e){Z&&Z(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==K.push(t)&&$===V.requestAnimationFrame||(($=V.requestAnimationFrame)||ie)(oe)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),B=L=null},V.__c=function(e,t){t.some((function(e){try{e.__h.forEach(se),e.__h=e.__h.filter((function(e){return!e.__||ae(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],V.__e(n,e.__v)}})),Y&&Y(e,t)},V.unmount=function(e){G&&G(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{se(e)}catch(e){t=e}})),n.__H=void 0,t&&V.__e(t,n.__v))};var re="function"==typeof requestAnimationFrame;function ie(e){var t,n=function(){clearTimeout(o),re&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,100);re&&(t=requestAnimationFrame(n))}function se(e){var t=L,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),L=t}function ae(e){var t=L;e.__c=e.__(),L=t}function le(e,t){return"function"==typeof t?t(e):t}function ce(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var o in t)if("__source"!==o&&e[o]!==t[o])return!0;return!1}function ue(e,t){this.props=e,this.context=t}(ue.prototype=new k).isPureReactComponent=!0,ue.prototype.shouldComponentUpdate=function(e,t){return ce(this.props,e)||ce(this.state,t)};var _e=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),_e&&_e(e)};"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var fe=t.__e;t.__e=function(e,t,n,o){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);fe(e,t,n,o)};var de=t.unmount;function pe(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return pe(e,t,n)}))),e}function he(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return he(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function me(){this.__u=0,this.t=null,this.__b=null}function ve(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ye(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),de&&de(e)},(me.prototype=new k).__c=function(e,t){var n=t.__c,o=this;null==o.t&&(o.t=[]),o.t.push(n);var r=ve(o.__v),i=!1,s=function(){i||(i=!0,n.__R=null,r?r(a):a())};n.__R=s;var a=function(){if(! --o.__u){if(o.state.__a){var e=o.state.__a;o.__v.__k[0]=he(e,e.__c.__P,e.__c.__O)}var t;for(o.setState({__a:o.__b=null});t=o.t.pop();)t.forceUpdate()}};o.__u++||32&t.__u||o.setState({__a:o.__b=o.__v.__k[0]}),e.then(s,s)},me.prototype.componentWillUnmount=function(){this.t=[]},me.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=pe(this.__b,n,o.__O=o.__P)}this.__b=null}var r=t.__a&&y(b,null,e.fallback);return r&&(r.__u&=-33),[y(b,null,t.__a?null:e.children),r]};var ge=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]e.length)&&(t=e.length);for(var n=0,o=Array(t);ne.length)&&(t=e.length);for(var n=0,o=Array(t);ne.length)&&(t=e.length);for(var n=0,o=Array(t);n{var e={989:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(771),r=n.n(o),i=n(244),s=n.n(i),a=n(223),l=s()(r());l.i(a.A),l.push([e.id,"body,html{background-color:var(--sn-stylekit-background-color);color:var(--sn-stylekit-foreground-color);font-family:var(--sn-stylekit-sans-serif-font);font-size:var(--sn-stylekit-font-size-editor);height:100%;margin:0;padding:0;width:100%}.main__Default{padding:20px}.main__Default div{padding:5px}.main__Comfortable{padding:30px}.main__Comfortable div{padding:15px}textarea{background-color:inherit;outline:none;padding:10px;display:block;box-sizing:border-box;width:100%;line-height:1.4;resize:none;color:var(--sn-stylekit-foreground-color)}button{background-color:var(--sn-stylekit-contrast-background-color);border:1px solid var(--sn-stylekit-border-color);cursor:pointer}",""]);const c=l},223:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(771),r=n.n(o),i=n(244),s=n.n(i)()(r());s.push([e.id,':root{--sn-stylekit-base-font-size:0.8125rem;--sn-stylekit-font-size-p:0.8125rem;--sn-stylekit-font-size-editor:0.983125rem;--sn-stylekit-font-size-h6:0.65rem;--sn-stylekit-font-size-h5:0.73125rem;--sn-stylekit-font-size-h4:0.8125rem;--sn-stylekit-font-size-h3:0.89375rem;--sn-stylekit-font-size-h2:0.975rem;--sn-stylekit-font-size-h1:1.05625rem;--sn-stylekit-neutral-color:#989898;--sn-stylekit-neutral-contrast-color:#ffffff;--sn-stylekit-info-color:#086DD6;--sn-stylekit-info-color-darkened:#065cb5;--sn-stylekit-info-contrast-color:#ffffff;--sn-stylekit-info-backdrop-color:#2b6fcf0f;--sn-stylekit-success-color:#007662;--sn-stylekit-success-contrast-color:#ffffff;--sn-stylekit-warning-color:#EBAD00;--sn-stylekit-warning-contrast-color:#ffffff;--sn-stylekit-danger-color:#cc2128;--sn-stylekit-danger-contrast-color:#ffffff;--sn-stylekit-shadow-color:#c8c8c8;--sn-stylekit-background-color:#ffffff;--sn-stylekit-border-color:#dfe1e4;--sn-stylekit-foreground-color:#000000;--sn-stylekit-contrast-background-color:#f6f6f6;--sn-stylekit-contrast-foreground-color:#2e2e2e;--sn-stylekit-contrast-border-color:#e3e3e3;--sn-stylekit-secondary-background-color:#f6f6f6;--sn-stylekit-secondary-foreground-color:#2e2e2e;--sn-stylekit-secondary-border-color:#e3e3e3;--sn-stylekit-secondary-contrast-background-color:#e3e3e3;--sn-stylekit-secondary-contrast-foreground-color:#2e2e2e;--sn-stylekit-secondary-contrast-border-color:#a2a2a2;--sn-stylekit-editor-background-color:var(--sn-stylekit-background-color);--sn-stylekit-editor-foreground-color:var(--sn-stylekit-foreground-color);--sn-stylekit-paragraph-text-color:#454545;--sn-stylekit-input-placeholder-color:#a8a8a8;--sn-stylekit-input-border-color:#e3e3e3;--sn-stylekit-scrollbar-thumb-color:#dfdfdf;--sn-stylekit-scrollbar-track-border-color:#e7e7e7;--sn-stylekit-menu-border:none;--sn-stylekit-general-border-radius:2px;--sn-stylekit-simplified-chinese-font:\'Microsoft Yahei\', \'微软雅黑体\';--sn-stylekit-monospace-font:\'SFMono-Regular\', Consolas, \'Liberation Mono\', Menlo, \'Ubuntu Mono\', \'Courier New\', monospace;--sn-stylekit-sans-serif-font:-apple-system, BlinkMacSystemFont, \'Segoe UI\', \'Roboto\', \'Oxygen\', \'Ubuntu\', \'Cantarell\', \'Fira Sans\', \'Droid Sans\', \'Helvetica Neue\', var(--sn-stylekit-simplified-chinese-font), sans-serif;--sn-stylekit-editor-font-family:var(--sn-stylekit-sans-serif-font);--sn-stylekit-theme-type:light;--sn-stylekit-theme-name:sn-light;--sn-stylekit-passive-color-0:#515357;--sn-stylekit-passive-color-1:#72767e;--sn-stylekit-passive-color-2:#bbbec4;--sn-stylekit-passive-color-3:#dfe1e4;--sn-stylekit-passive-color-4:#eeeff1;--sn-stylekit-passive-color-4-opacity-variant:#bbbec43d;--sn-stylekit-passive-color-5:#f4f5f7;--sn-stylekit-passive-color-6:#e5e5e5;--sn-stylekit-passive-color-super-light:#f9f9f9;--sn-stylekit-accessory-tint-color-1:#086dd6;--sn-stylekit-accessory-tint-color-2:#ea6595;--sn-stylekit-accessory-tint-color-3:#ebad00;--sn-stylekit-accessory-tint-color-4:#7049cf;--sn-stylekit-accessory-tint-color-5:#1aa772;--sn-stylekit-accessory-tint-color-6:#f28c52}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace, monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type="button"],[type="reset"],[type="submit"],button{-webkit-appearance:button}[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}\n',""]);const a=s},244:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(o)for(var a=0;a0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},771:e=>{"use strict";e.exports=function(e){return e[1]}},581:e=>{var t;self,t=()=>(()=>{"use strict";var e,t,n={d:(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},o={};n.d(o,{default:()=>r}),function(e){e.StreamContextItem="stream-context-item",e.SaveItems="save-items",e.ComponentRegistered="component-registered",e.ActivateThemes="themes",e.ThemesActivated="themes-activated",e.SetComponentData="set-component-data"}(e||(e={})),function(e){e.Component="component"}(t||(t={}));const r=new class{constructor(){this.component={activeThemes:[],acceptsThemes:!0},this.sentMessages=[],this.messageQueue=[],this.subscriptions=[],this.generateNotePreview=!0}initialize(t={}){if(this.contentWindow)throw"Cannot initialize mediator more than once";this.contentWindow=window,this.coallesedSavingDelay=void 0!==t.debounceSave?t.debounceSave:250,this.registerMessageHandler(),this.postMessage(e.StreamContextItem,{},(e=>{const{item:t}=e;(!this.lastStreamedItem||this.lastStreamedItem.uuid!==t.uuid)&&this.pendingSaveTimeout&&(clearTimeout(this.pendingSaveTimeout),this.performSavingOfItems(this.pendingSaveParams),this.pendingSaveTimeout=void 0,this.pendingSaveParams=void 0),this.lastStreamedItem=t,this.lastStreamedItem.isMetadataUpdate||this.subscriptions.forEach((e=>{e(this.text,this.meta)}))}))}subscribe(e){return this.subscriptions.push(e),this.lastStreamedItem&&setTimeout((()=>{e(this.text,this.meta)})),()=>{const t=this.subscriptions.indexOf(e);t>=0&&this.subscriptions.splice(t,1)}}get text(){var e,t;return this.checkNoteExists(),(null===(t=null===(e=this.lastStreamedItem)||void 0===e?void 0:e.content)||void 0===t?void 0:t.text)||""}get meta(){var e;return this.checkNoteExists(),(null===(e=this.lastStreamedItem)||void 0===e?void 0:e.content)?this.lastStreamedItem.content.appData[this.lastStreamedItem.content.editorIdentifier]:{}}get extensionMeta(){return this.component.data}get locked(){var e,t;return this.checkNoteExists(),null===(t=null===(e=this.lastStreamedItem)||void 0===e?void 0:e.content)||void 0===t?void 0:t.appData["org.standardnotes.sn"].locked}get preview(){var e,t;return this.checkNoteExists(),null===(t=null===(e=this.lastStreamedItem)||void 0===e?void 0:e.content)||void 0===t?void 0:t.preview_plain}set text(e){this.checkNoteExists(),this.lastStreamedItem.content.text=e,this.saveNote(this.lastStreamedItem)}set preview(e){this.checkNoteExists(),this.generateNotePreview=!1,this.lastStreamedItem.content.preview_plain=e}set meta(e){this.checkNoteExists(),this.lastStreamedItem.content.appData[this.lastStreamedItem.content.editorIdentifier]=e,this.saveNote(this.lastStreamedItem)}set extensionMeta(t){this.component.data=t,this.postMessage(e.SetComponentData,{componentData:t})}registerMessageHandler(){this.messageHandler=e=>{if(document.referrer&&new URL(document.referrer).origin!==new URL(e.origin).origin)return;const{data:t}=e,n=(e=>{if("string"!=typeof e)return!1;try{const t=JSON.parse(e),n=Object.prototype.toString.call(t);return"[object Object]"===n||"[object Array]"===n}catch(e){return!1}})(t)?JSON.parse(t):t;n&&this.handleMessage(n)},this.contentWindow.document.addEventListener("message",this.messageHandler,!1),this.contentWindow.addEventListener("message",this.messageHandler,!1)}handleMessage(t){var n,o;switch(t.action){case e.ComponentRegistered:this.component.sessionKey=t.sessionKey,t.componentData&&(this.component.data=t.componentData),this.onReady(t.data);break;case e.ActivateThemes:this.activateThemes(t.data.themes);break;default:{if(!t.original)return;const e=null===(n=this.sentMessages)||void 0===n?void 0:n.filter((e=>{var n;return e.messageId===(null===(n=t.original)||void 0===n?void 0:n.messageId)}))[0];if(!e)return;null===(o=null==e?void 0:e.callback)||void 0===o||o.call(e,t.data);break}}}onReady(t){this.component.environment=t.environment,this.component.platform=t.platform,this.component.uuid=t.uuid;for(const e of this.messageQueue)this.postMessage(e.action,e.data,e.callback);this.messageQueue=[],this.activateThemes(t.activeThemeUrls||[]),this.postMessage(e.ThemesActivated,{})}get isRunningInDesktopApplication(){return"desktop"===this.component.environment}get isRunningInMobileApplication(){return"mobile"===this.component.environment}get isRunningInBrowser(){return"web"===this.component.environment}postMessage(e,n,o){if(!this.component.sessionKey)return void this.messageQueue.push({action:e,data:n,api:t.Component,callback:o});const r={action:e,data:n,messageId:this.generateUUID(),sessionKey:this.component.sessionKey,api:t.Component},i=JSON.parse(JSON.stringify(r));let s;i.callback=o,this.sentMessages.push(i),s=this.isRunningInMobileApplication?JSON.stringify(r):r,this.contentWindow.parent.postMessage(s,"*")}activateThemes(e=[]){if(!this.component.acceptsThemes)return;const{activeThemes:t}=this.component;if(t&&t.sort().toString()==e.sort().toString())return;let n=e;const o=[];for(const r of t)e.includes(r)?n=n.filter((e=>e!==r)):o.push(r);for(const e of o)this.deactivateTheme(e);this.component.activeThemes=e;for(const e of n){if(!e)continue;const t=e.endsWith("/org.standardnotes.theme-focus/index.css")?"https://app.standardnotes.com/components/assets/org.standardnotes.theme-focus/index.css":e,n=this.contentWindow.document.createElement("link");n.id=btoa(e),n.href=t,n.type="text/css",n.rel="stylesheet",n.media="screen,print",n.className="custom-theme",this.contentWindow.document.getElementsByTagName("head")[0].appendChild(n)}this.onThemesChangeCallback&&this.onThemesChangeCallback()}themeElementForUrl(e){return Array.from(this.contentWindow.document.getElementsByClassName("custom-theme")).slice().find((t=>t.id==btoa(e)))}deactivateTheme(e){const t=this.themeElementForUrl(e);t&&t.parentNode&&(t.setAttribute("disabled","true"),t.parentNode.removeChild(t))}generateUUID(){return crypto.randomUUID()}get platform(){return this.component.platform}get environment(){return this.component.environment}performSavingOfItems({items:t,callback:n}){this.generateNotePreview&&(t[0].content.preview_plain=((e,t=50)=>e.length<=t?e:e.substring(0,t)+"...")(t[0].content.text));const o=[];for(const e of t)o.push(this.jsonObjectForItem(e));this.postMessage(e.SaveItems,{items:o},(()=>{null==n||n()}))}saveNote(e,t){const n=[e];if(this.pendingSaveItems||(this.pendingSaveItems=[]),this.coallesedSavingDelay){this.pendingSaveTimeout&&clearTimeout(this.pendingSaveTimeout);const e=n.map((e=>e.uuid)),o=this.pendingSaveItems.filter((t=>!e.includes(t.uuid)));this.pendingSaveItems=o.concat(n),this.pendingSaveParams={items:this.pendingSaveItems,callback:t},this.pendingSaveTimeout=setTimeout((()=>{this.performSavingOfItems(this.pendingSaveParams),this.pendingSaveItems=[],this.pendingSaveTimeout=void 0,this.pendingSaveParams=null}),this.coallesedSavingDelay)}else this.performSavingOfItems({items:n,callback:t})}jsonObjectForItem(e){const t=Object.assign({},e);return t.children=null,t.parent=null,t}checkNoteExists(){if(!this.lastStreamedItem)throw"Trying to interact with note before it is received from Standard Notes. Use subscribe function."}};return o.default})(),e.exports=t()},40:e=>{"use strict";var t=[];function n(e){for(var n=-1,o=0;o{"use strict";var t={};e.exports=function(e,n){var o=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},524:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},16:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},385:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,r&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},737:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.nc=void 0;var o={};(()=>{"use strict";n.d(o,{K:()=>_t});var e,t,r,i,s,a,l,c,u,_,f={},d=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function m(e,t){for(var n in t)e[n]=t[n];return e}function v(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function y(t,n,o){var r,i,s,a={};for(s in n)"key"==s?r=n[s]:"ref"==s?i=n[s]:a[s]=n[s];if(arguments.length>2&&(a.children=arguments.length>3?e.call(arguments,2):o),"function"==typeof t&&null!=t.defaultProps)for(s in t.defaultProps)void 0===a[s]&&(a[s]=t.defaultProps[s]);return g(t,a,r,i,null)}function g(e,n,o,i,s){var a={type:e,props:n,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==s?++r:s,__i:-1,__u:0};return null==s&&null!=t.vnode&&t.vnode(a),a}function b(e){return e.children}function k(e,t){this.props=e,this.context=t}function S(e,t){if(null==t)return e.__?S(e.__,e.__i+1):null;for(var n;tn&&i.sort(l));I.__r=0}function C(e,t,n,o,r,i,s,a,l,c,u){var _,p,h,m,v,y=o&&o.__k||d,g=t.length;for(n.__d=l,T(n,t,y),l=n.__d,_=0;_0?g(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r).__=e,r.__b=e.__b+1,i=null,-1!==(a=r.__i=E(r,n,s,u))&&(u--,(i=n[a])&&(i.__u|=131072)),null==i||null===i.__v?(-1==a&&_--,"function"!=typeof r.type&&(r.__u|=65536)):a!==s&&(a==s-1?_--:a==s+1?_++:(a>s?_--:_++,r.__u|=65536))):r=e.__k[o]=null;if(u)for(o=0;o(null==l||131072&l.__u?0:1))for(;s>=0||a=0){if((l=t[s])&&!(131072&l.__u)&&r==l.key&&i===l.type)return s;s--}if(a=n.__.length&&n.__.push({}),n.__[e]}function te(e){return J=1,ne(le,e)}function ne(e,t,n){var o=ee(F++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):le(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],n=o.t(t,e);t!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=L,!L.u)){var r=function(e,t,n){if(!o.__c.__H)return!0;var r=o.__c.__H.__.filter((function(e){return!!e.__c}));if(r.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var s=!1;return r.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(s=!0)}})),!(!s&&o.__c.props===e)&&(!i||i.call(this,e,t,n))};L.u=!0;var i=L.shouldComponentUpdate,s=L.componentWillUpdate;L.componentWillUpdate=function(e,t,n){if(this.__e){var o=i;i=void 0,r(e,t,n),i=o}s&&s.call(this,e,t,n)},L.shouldComponentUpdate=r}return o.__N||o.__}function oe(){for(var e;e=K.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(se),e.__H.__h.forEach(ae),e.__H.__h=[]}catch(t){e.__H.__h=[],V.__e(t,e.__v)}}V.__b=function(e){L=null,q&&q(e)},V.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),X&&X(e,t)},V.__r=function(e){Q&&Q(e),F=0;var t=(L=e.__c).__H;t&&(B===L?(t.__h=[],L.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(se),t.__h.forEach(ae),t.__h=[],F=0)),B=L},V.diffed=function(e){Z&&Z(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==K.push(t)&&$===V.requestAnimationFrame||(($=V.requestAnimationFrame)||ie)(oe)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),B=L=null},V.__c=function(e,t){t.some((function(e){try{e.__h.forEach(se),e.__h=e.__h.filter((function(e){return!e.__||ae(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],V.__e(n,e.__v)}})),Y&&Y(e,t)},V.unmount=function(e){G&&G(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{se(e)}catch(e){t=e}})),n.__H=void 0,t&&V.__e(t,n.__v))};var re="function"==typeof requestAnimationFrame;function ie(e){var t,n=function(){clearTimeout(o),re&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,100);re&&(t=requestAnimationFrame(n))}function se(e){var t=L,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),L=t}function ae(e){var t=L;e.__c=e.__(),L=t}function le(e,t){return"function"==typeof t?t(e):t}function ce(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var o in t)if("__source"!==o&&e[o]!==t[o])return!0;return!1}function ue(e,t){this.props=e,this.context=t}(ue.prototype=new k).isPureReactComponent=!0,ue.prototype.shouldComponentUpdate=function(e,t){return ce(this.props,e)||ce(this.state,t)};var _e=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),_e&&_e(e)};"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var fe=t.__e;t.__e=function(e,t,n,o){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);fe(e,t,n,o)};var de=t.unmount;function pe(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return pe(e,t,n)}))),e}function he(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return he(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function me(){this.__u=0,this.t=null,this.__b=null}function ve(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ye(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),de&&de(e)},(me.prototype=new k).__c=function(e,t){var n=t.__c,o=this;null==o.t&&(o.t=[]),o.t.push(n);var r=ve(o.__v),i=!1,s=function(){i||(i=!0,n.__R=null,r?r(a):a())};n.__R=s;var a=function(){if(! --o.__u){if(o.state.__a){var e=o.state.__a;o.__v.__k[0]=he(e,e.__c.__P,e.__c.__O)}var t;for(o.setState({__a:o.__b=null});t=o.t.pop();)t.forceUpdate()}};o.__u++||32&t.__u||o.setState({__a:o.__b=o.__v.__k[0]}),e.then(s,s)},me.prototype.componentWillUnmount=function(){this.t=[]},me.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=pe(this.__b,n,o.__O=o.__P)}this.__b=null}var r=t.__a&&y(b,null,e.fallback);return r&&(r.__u&=-33),[y(b,null,t.__a?null:e.children),r]};var ge=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]e.length)&&(t=e.length);for(var n=0,o=Array(t);ne.length)&&(t=e.length);for(var n=0,o=Array(t);ne.length)&&(t=e.length);for(var n=0,o=Array(t);n