@next-bricks/markdown 1.12.9 → 1.12.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bricks.json +3 -3
- package/dist/chunks/114.03d3ec7a.js +2 -0
- package/dist/chunks/{114.29298b9a.js.map → 114.03d3ec7a.js.map} +1 -1
- package/dist/chunks/{210.f0e948c8.js → 210.da95d283.js} +2 -2
- package/dist/chunks/{210.f0e948c8.js.map → 210.da95d283.js.map} +1 -1
- package/dist/chunks/229.14ba7fec.js +3 -0
- package/dist/chunks/229.14ba7fec.js.map +1 -0
- package/dist/chunks/426.a0d6ab31.js +2 -0
- package/dist/chunks/426.a0d6ab31.js.map +1 -0
- package/dist/chunks/45.ccff7b67.js +2 -0
- package/dist/chunks/45.ccff7b67.js.map +1 -0
- package/dist/chunks/548.d2622ec2.js +3 -0
- package/dist/chunks/548.d2622ec2.js.map +1 -0
- package/dist/chunks/{698.de5d6392.js → 698.c740c490.js} +2 -2
- package/dist/chunks/{698.de5d6392.js.map → 698.c740c490.js.map} +1 -1
- package/dist/chunks/733.b47e92e7.js +2 -0
- package/dist/chunks/{733.c4d324b2.js.map → 733.b47e92e7.js.map} +1 -1
- package/dist/chunks/807.ee591695.js +2 -0
- package/dist/chunks/807.ee591695.js.map +1 -0
- package/dist/chunks/876.c3b3df28.js +2 -0
- package/dist/chunks/{876.88a29e99.js.map → 876.c3b3df28.js.map} +1 -1
- package/dist/chunks/{eo-markdown-display.cc672b78.js → eo-markdown-display.8b5ae0c9.js} +2 -2
- package/dist/chunks/{eo-markdown-display.cc672b78.js.map → eo-markdown-display.8b5ae0c9.js.map} +1 -1
- package/dist/chunks/{eo-markdown-editor.651cb155.js → eo-markdown-editor.4e7a9fe3.js} +2 -2
- package/dist/chunks/{eo-markdown-editor.651cb155.js.map → eo-markdown-editor.4e7a9fe3.js.map} +1 -1
- package/dist/chunks/main.1f35eca7.js +2 -0
- package/dist/chunks/{main.b3b3e6bb.js.map → main.1f35eca7.js.map} +1 -1
- package/dist/examples.json +3 -3
- package/dist/index.ac9567ec.js +2 -0
- package/dist/{index.d8b9bf4e.js.map → index.ac9567ec.js.map} +1 -1
- package/dist/manifest.json +14 -14
- package/package.json +3 -3
- package/dist/chunks/114.29298b9a.js +0 -2
- package/dist/chunks/229.a1110c20.js +0 -3
- package/dist/chunks/229.a1110c20.js.map +0 -1
- package/dist/chunks/426.ec49fbaa.js +0 -2
- package/dist/chunks/426.ec49fbaa.js.map +0 -1
- package/dist/chunks/45.dcf1a302.js +0 -2
- package/dist/chunks/45.dcf1a302.js.map +0 -1
- package/dist/chunks/733.c4d324b2.js +0 -2
- package/dist/chunks/749.c7b0a0aa.js +0 -3
- package/dist/chunks/749.c7b0a0aa.js.map +0 -1
- package/dist/chunks/807.b04db523.js +0 -2
- package/dist/chunks/807.b04db523.js.map +0 -1
- package/dist/chunks/876.88a29e99.js +0 -2
- package/dist/chunks/main.b3b3e6bb.js +0 -2
- package/dist/index.d8b9bf4e.js +0 -2
- /package/dist/chunks/{229.a1110c20.js.LICENSE.txt → 229.14ba7fec.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{749.c7b0a0aa.js.LICENSE.txt → 548.d2622ec2.js.LICENSE.txt} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_markdown=globalThis.webpackChunk_next_bricks_markdown||[]).push([[807],{4586:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(1369);function r(t,e,n){return(e=(0,i.A)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},1045:(t,e,n)=>{n.r(e),n.d(e,{NextElement:()=>A,createDecorators:()=>a,supportsAdoptingStyleSheets:()=>y});const i=Symbol.for("attributeHasBeenSet"),r=Symbol.for("markAttributeHasBeenSet"),s=Symbol.for("stopAttributeChangedCallback"),o={attribute:!0,type:String,converter:{toAttribute:(t,e)=>e===Boolean?t?"":null:t,fromAttribute(t,e){switch(e){case Boolean:return null!==t&&"false"!==t;case Number:return null===t?null:Number(t)}return t}},render:!0,hasChanged:(t,e)=>e!==t&&(e==e||t==t)};function a(){const t=new Map,e=new Set,n=new Set,a=new Set;return{defineElement:function(i){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(s,o)=>{let{kind:u,name:c,addInitializer:h}=o;h((function(){const o=Object.getPrototypeOf(this);if(d(this,"observedAttributes",l(o.observedAttributes??[],t.keys())),d(this,"__attributeReflections",new Map([...o.__attributeReflections??[],...t])),d(this,"styleTexts",r.styleTexts),d(this,"shadowOptions",!1!==r.shadowOptions?{mode:"open",...r.shadowOptions}:null),d(this,"__tagName",i),d(this,"_dev_only_definedProperties",l(o._dev_only_definedProperties??[],e)),d(this,"_dev_only_definedMethods",l(o._dev_only_definedMethods??[],n)),d(this,"_dev_only_definedEvents",l(o._dev_only_definedEvents??[],a)),customElements.define(i,this),Array.isArray(r.alias))for(const t of r.alias){const e=class extends s{};d(e,"__tagName",t),customElements.define(t,e)}}))}},property:function(n){return function(a,d){let{get:l,set:u}=a,{kind:c,name:h,static:f,private:b}=d;e.add(h);const p=Object.assign({},o,n),_=function(t,e){const n=e.attribute;return!1===n?void 0:"string"==typeof n?n:t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}(h,p);return void 0!==_&&t.set(_,{...p,property:h}),{get(){return void 0!==_&&this[i](_)?p.converter.fromAttribute(this.getAttribute(_),p.type):l.call(this)},set(t){const e=l.call(this);if(u.call(this,t),p.hasChanged(t,e)){if(void 0!==_){const e=p.converter.toAttribute(t,p.type);this[s](!0),null==e?this.removeAttribute(_):this.setAttribute(_,e),this[r](_),this[s](!1)}p.render&&this._requestRender()}},init(t){if(void 0!==_&&p.hasChanged(t,void 0)){const e=p.converter.toAttribute(t,p.type);null!=e&&requestAnimationFrame((()=>{this[i](_)||(this[s](!0),this.setAttribute(_,e),this[s](!1))}))}return t}}}},method:function(t){return function(e,i){let{kind:r,name:s,static:o,private:a,addInitializer:d}=i;null!=t&&t.bound&&d((function(){this[s]=this[s].bind(this)})),n.add(s)}},event:function(t){return function(e,n){let{get:i}=e,{kind:r,name:s,static:o,private:d}=n;const{type:l,...u}=t;return a.add(l),{get(){return i.call(this)},set(){throw new Error("Decorated events are readonly")},init(t){return Object.freeze({emit:t=>this.dispatchEvent(new CustomEvent(l,{...u,detail:t}))})}}}}}}function d(t,e,n){Object.defineProperty(t,e,{get:()=>n,configurable:!0})}function l(t,e){const n=new Set(t);for(const t of e)n.add(t);return[...n]}new Set(["prefix"]);var u=n(918),c=n(4586),h=n(829),f=n(6121),b=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap;class A extends HTMLElement{constructor(){super(...arguments),(0,u.A)(this,b,!1),(0,u.A)(this,p,!1),(0,u.A)(this,_,!1),(0,u.A)(this,v,new Set)}_markConnectedCallbackCalled(){(0,f.A)(p,this,!0)}connectedCallback(){this._markConnectedCallbackCalled(),this._render()}[i](t){return(0,h.A)(v,this).has(t)}[r](t){(0,h.A)(v,this).add(t)}[s](t){(0,f.A)(_,this,t)}attributeChangedCallback(t,e,n){if((0,h.A)(v,this).add(t),!(0,h.A)(_,this)&&e!==n){const e=this.constructor.__attributeReflections.get(t),i=e.converter.fromAttribute(n,e.type);this[e.property]=i}}_requestRender(){this.isConnected&&(0,h.A)(p,this)&&!(0,h.A)(b,this)&&((0,f.A)(b,this,!0),Promise.resolve().then((()=>{(0,f.A)(b,this,!1),this._render()})))}}let m;function y(){return void 0===m&&(m=!!(window.ShadowRoot&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype)),m}(0,c.A)(A,"styleTexts",void 0),(0,c.A)(A,"shadowOptions",void 0),(0,c.A)(A,"__attributeReflections",void 0),(0,c.A)(A,"__tagName",void 0)}}]);
|
|
2
|
-
//# sourceMappingURL=807.b04db523.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/807.b04db523.js","mappings":"w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rE,uBAAuBgB,IAAIhC,GAEtDyE,EAAYmB,EAAQ5G,UAAUG,cAAclB,EAAO2H,EAAQ9G,MACjE6B,KAAKiF,EAAQ/D,UAAY4C,CAC3B,CACF,CAMA,cAAArB,GAGMzC,KAAKkF,cAAe,OAAsBb,EAA0BrE,SAAU,OAAsBmE,EAAqBnE,SAC3H,OAAsBmE,EAAqBnE,MAAM,GACjDmF,QAAQC,UAAUC,MAAK,MACrB,OAAsBlB,EAAqBnE,MAAM,GACjDA,KAAK8E,SAAS,IAGpB,ECtEF,IAAIQ,EACG,SAASC,IAMd,YALiB9F,IAAb6F,IACFA,KAAcE,OAAOC,YAErB,uBAAwBC,SAASC,WAAa,YAAaC,cAAcD,YAEpEL,CACT,EDgEA,OAAgBd,EAAa,kBAAc,IAC3C,OAAgBA,EAAa,qBAAiB,IAC9C,OAAgBA,EAAa,8BAA0B,IACvD,OAAgBA,EAAa,iBAAa,E","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///../../node_modules/@next-core/element/dist/esm/internal/symbols.js","webpack:///../../node_modules/@next-core/element/dist/esm/createDecorators.js","webpack:///../../node_modules/@next-core/element/dist/esm/NextElement.js","webpack:///../../node_modules/@next-core/element/dist/esm/supportsAdoptingStyleSheets.js"],"sourcesContent":["import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","export const symbolOfAttributeHasBeenSet = Symbol.for(\"attributeHasBeenSet\");\nexport const symbolOfMarkAttributeHasBeenSet = Symbol.for(\"markAttributeHasBeenSet\");\nexport const symbolOfStopAttributeChangedCallback = Symbol.for(\"stopAttributeChangedCallback\");\n//# sourceMappingURL=symbols.js.map","import { symbolOfAttributeHasBeenSet, symbolOfMarkAttributeHasBeenSet, symbolOfStopAttributeChangedCallback } from \"./internal/symbols.js\";\nconst defaultConverter = {\n toAttribute(value, type) {\n switch (type) {\n case Boolean:\n return value ? \"\" : null;\n }\n return value;\n },\n fromAttribute(value, type) {\n switch (type) {\n case Boolean:\n return value !== null && value !== \"false\";\n case Number:\n return value === null ? null : Number(value);\n }\n return value;\n }\n};\n\n/**\n * Change function that returns true if `value` is different from `oldValue`.\n * This method is used as the default for a property's `hasChanged` function.\n */\nconst notEqual = (value, old) => {\n // This ensures (old==NaN, value==NaN) always returns false\n return old !== value && (old === old || value === value);\n};\nconst defaultPropertyDeclaration = {\n attribute: true,\n type: String,\n converter: defaultConverter,\n // reflect: true,\n render: true,\n hasChanged: notEqual\n};\n\n// Note: `prefix` is a native prop on Element, but it's only used in XML documents.\nconst allowedNativeProps = new Set([\"prefix\"]);\nexport function createDecorators() {\n const attributeReflections = new Map();\n const definedProperties = new Set();\n const definedMethods = new Set();\n const definedEvents = new Set();\n function defineElement(name) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return (value, _ref) => {\n let {\n kind,\n name: className,\n addInitializer\n } = _ref;\n // istanbul ignore next\n if (process.env.NODE_ENV === \"development\" && kind !== \"class\") {\n throw new Error(`Invalid usage of \\`@defineElement()\\` on a ${kind}: \"${className}\"`);\n }\n addInitializer(function () {\n const superClass = Object.getPrototypeOf(this);\n const mergedAttributes = mergeIterables(superClass.observedAttributes ?? [], attributeReflections.keys());\n defineReadonlyProperty(this, \"observedAttributes\", mergedAttributes);\n const mergedAttributeReflections = new Map([...(superClass.__attributeReflections ?? []), ...attributeReflections]);\n defineReadonlyProperty(this, \"__attributeReflections\", mergedAttributeReflections);\n defineReadonlyProperty(this, \"styleTexts\", options.styleTexts);\n defineReadonlyProperty(this, \"shadowOptions\", options.shadowOptions !== false ? {\n mode: \"open\",\n ...options.shadowOptions\n } : null);\n defineReadonlyProperty(this, \"__tagName\", name);\n const mergedProperties = mergeIterables(superClass._dev_only_definedProperties ?? [], definedProperties);\n defineReadonlyProperty(this, \"_dev_only_definedProperties\", mergedProperties);\n const mergedMethods = mergeIterables(superClass._dev_only_definedMethods ?? [], definedMethods);\n defineReadonlyProperty(this, \"_dev_only_definedMethods\", mergedMethods);\n const mergedEvents = mergeIterables(superClass._dev_only_definedEvents ?? [], definedEvents);\n defineReadonlyProperty(this, \"_dev_only_definedEvents\", mergedEvents);\n customElements.define(name, this);\n if (Array.isArray(options.alias)) {\n for (const alias of options.alias) {\n // Use a parenthesized expression to make the class has no name.\n const Alias = (\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n 0, class extends value {});\n defineReadonlyProperty(Alias, \"__tagName\", alias);\n customElements.define(alias, Alias);\n }\n }\n });\n };\n }\n function property(options) {\n return function (_ref2, _ref3) {\n let {\n get,\n set\n } = _ref2;\n let {\n kind,\n name,\n static: isStatic,\n private: isPrivate\n } = _ref3;\n // istanbul ignore next\n if (process.env.NODE_ENV !== \"production\") {\n if (kind !== \"accessor\") {\n throw new Error(`Invalid usage of \\`@property()\\` on a ${kind}: \"${String(name)}\"`);\n }\n if (typeof name !== \"string\") {\n throw new Error(`Invalid usage of \\`@property()\\` on a ${kind} of ${typeof name}`);\n }\n if (isStatic) {\n throw new Error(`Invalid usage of \\`@property()\\` on a static ${kind}: \"${name}\"`);\n }\n if (isPrivate) {\n throw new Error(`Invalid usage of \\`@property()\\` on a private ${kind}: \"${name}\"`);\n }\n if (name in HTMLElement.prototype && !allowedNativeProps.has(name)) {\n const message = `\"${name}\" is a native HTMLElement property, and is deprecated to be used as a brick property.`;\n throw new Error(message);\n }\n }\n definedProperties.add(name);\n const _options = Object.assign({}, defaultPropertyDeclaration, options);\n const attrName = attributeNameForProperty(name, _options);\n if (attrName !== undefined) {\n attributeReflections.set(attrName, {\n ..._options,\n property: name\n });\n }\n return {\n get() {\n // If the attribute has been set (not by initialization), returns the\n // value converted by the attribute. Otherwise returns the prop value.\n // This works as a type conversion when reading a prop value.\n if (attrName !== undefined && this[symbolOfAttributeHasBeenSet](attrName)) {\n return _options.converter.fromAttribute(this.getAttribute(attrName), _options.type);\n }\n return get.call(this);\n },\n set(value) {\n const oldValue = get.call(this);\n set.call(this, value);\n if (_options.hasChanged(value, oldValue)) {\n if (attrName !== undefined) {\n const attrValue = _options.converter.toAttribute(value, _options.type);\n this[symbolOfStopAttributeChangedCallback](true);\n if (attrValue == null) {\n this.removeAttribute(attrName);\n } else {\n this.setAttribute(attrName, attrValue);\n }\n this[symbolOfMarkAttributeHasBeenSet](attrName);\n this[symbolOfStopAttributeChangedCallback](false);\n }\n if (_options.render) {\n this._requestRender();\n }\n }\n },\n init(initialValue) {\n if (attrName !== undefined && _options.hasChanged(initialValue, undefined)) {\n const attrValue = _options.converter.toAttribute(initialValue, _options.type);\n if (attrValue != null) {\n // No attributes should be created during constructing custom elements.\n // This is true even if the work is done inside a constructor-initiated microtask.\n // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-conformance\n requestAnimationFrame(() => {\n if (!this[symbolOfAttributeHasBeenSet](attrName)) {\n this[symbolOfStopAttributeChangedCallback](true);\n this.setAttribute(attrName, attrValue);\n this[symbolOfStopAttributeChangedCallback](false);\n }\n });\n }\n }\n return initialValue;\n }\n };\n };\n }\n function method(options) {\n return function (_value, _ref4) {\n let {\n kind,\n name,\n static: isStatic,\n private: isPrivate,\n addInitializer\n } = _ref4;\n // istanbul ignore next\n if (process.env.NODE_ENV !== \"production\") {\n if (kind !== \"method\") {\n throw new Error(`Invalid usage of \\`@method()\\` on a ${kind}: \"${String(name)}\"`);\n }\n if (typeof name !== \"string\") {\n throw new Error(`Invalid usage of \\`@method()\\` on a ${kind} of ${typeof name}`);\n }\n if (isStatic) {\n throw new Error(`Invalid usage of \\`@method()\\` on a static ${kind}: \"${name}\"`);\n }\n if (isPrivate) {\n throw new Error(`Invalid usage of \\`@method()\\` on a private ${kind}: \"${name}\"`);\n }\n if (name in HTMLElement.prototype && !allowedNativeProps.has(name)) {\n const message = `\"${name}\" is a native HTMLElement property, and is deprecated to be used as a brick method.`;\n throw new Error(message);\n }\n }\n if (options !== null && options !== void 0 && options.bound) {\n addInitializer(function () {\n this[name] = this[name].bind(this);\n });\n }\n definedMethods.add(name);\n };\n }\n function event(options) {\n return function (_ref5, _ref6) {\n let {\n get\n } = _ref5;\n let {\n kind,\n name,\n static: isStatic,\n private: isPrivate\n } = _ref6;\n // istanbul ignore next\n if (process.env.NODE_ENV !== \"production\") {\n if (kind !== \"accessor\") {\n throw new Error(`Invalid usage of \\`@event()\\` on a ${kind}: \"${String(name)}\"`);\n }\n if (!isPrivate) {\n throw new Error(`Invalid usage of \\`@event()\\` on a non-private ${kind}: \"${String(name)}\"`);\n }\n if (isStatic) {\n throw new Error(`Invalid usage of \\`@event()\\` on a static ${kind}: \"${String(name)}\"`);\n }\n }\n const {\n type,\n ...eventInit\n } = options;\n definedEvents.add(type);\n return {\n get() {\n return get.call(this);\n },\n set() {\n throw new Error(\"Decorated events are readonly\");\n },\n init(initialValue) {\n // istanbul ignore next\n if (process.env.NODE_ENV === \"development\" && initialValue !== undefined) {\n throw new Error(`Do not set an initial value for a decorated event: \"${String(name)}\"`);\n }\n return Object.freeze({\n emit: detail => this.dispatchEvent(new CustomEvent(type, {\n ...eventInit,\n detail\n }))\n });\n }\n };\n };\n }\n return {\n defineElement,\n property,\n method,\n event\n };\n}\nfunction defineReadonlyProperty(target, propName, propValue) {\n Object.defineProperty(target, propName, {\n get() {\n return propValue;\n },\n configurable: true\n });\n}\nfunction mergeIterables(list1, list2) {\n const newList = new Set(list1);\n for (const item of list2) {\n newList.add(item);\n }\n return [...newList];\n}\nfunction attributeNameForProperty(name, options) {\n const attribute = options.attribute;\n return attribute === false ? undefined : typeof attribute === \"string\" ? attribute : name.replace(/[A-Z]/g, char => `-${char.toLowerCase()}`);\n}\n//# sourceMappingURL=createDecorators.js.map","import _classPrivateFieldInitSpec from \"@babel/runtime/helpers/classPrivateFieldInitSpec\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _classPrivateFieldGet from \"@babel/runtime/helpers/classPrivateFieldGet2\";\nimport _classPrivateFieldSet from \"@babel/runtime/helpers/classPrivateFieldSet2\";\nimport { symbolOfAttributeHasBeenSet, symbolOfMarkAttributeHasBeenSet, symbolOfStopAttributeChangedCallback } from \"./internal/symbols.js\";\nvar _hasRequestedRender = /*#__PURE__*/new WeakMap();\nvar _connectedCallbackCalled = /*#__PURE__*/new WeakMap();\nvar _attributeChangedCallbackStopped = /*#__PURE__*/new WeakMap();\nvar _attributesBeenSet = /*#__PURE__*/new WeakMap();\nexport class NextElement extends HTMLElement {\n constructor() {\n super(...arguments);\n _classPrivateFieldInitSpec(this, _hasRequestedRender, false);\n _classPrivateFieldInitSpec(this, _connectedCallbackCalled, false);\n _classPrivateFieldInitSpec(this, _attributeChangedCallbackStopped, false);\n _classPrivateFieldInitSpec(this, _attributesBeenSet, new Set());\n }\n /**\n * When render a custom element as parsed DOM, it is already connected in the\n * first place. The attributes are set while isConnected is true, which will\n * trigger a render request, and then before the next micro-task, the\n * `connectedCallback` will be called, which will trigger an immediate render.\n * Thus we would see two calls of render. So we manually set a mark of whether\n * the `connectedCallback` is actually get called, to prevent a trigger of\n * render request during attributes initialization before `connectedCallback`.\n */\n _markConnectedCallbackCalled() {\n _classPrivateFieldSet(_connectedCallbackCalled, this, true);\n }\n connectedCallback() {\n this._markConnectedCallbackCalled();\n this._render();\n }\n [symbolOfAttributeHasBeenSet](name) {\n return _classPrivateFieldGet(_attributesBeenSet, this).has(name);\n }\n [symbolOfMarkAttributeHasBeenSet](name) {\n _classPrivateFieldGet(_attributesBeenSet, this).add(name);\n }\n\n /** Whether to process attributeChangedCallback. */\n [symbolOfStopAttributeChangedCallback](value) {\n _classPrivateFieldSet(_attributeChangedCallbackStopped, this, value);\n }\n\n /** @internal */\n attributeChangedCallback(name, old, value) {\n _classPrivateFieldGet(_attributesBeenSet, this).add(name);\n if (!_classPrivateFieldGet(_attributeChangedCallbackStopped, this) && old !== value) {\n const attrRef = this.constructor.__attributeReflections.get(name);\n assertAttributeIsReflected(attrRef, name);\n const propValue = attrRef.converter.fromAttribute(value, attrRef.type);\n this[attrRef.property] = propValue;\n }\n }\n\n /**\n * Request a render in the next micro-task. This ensures multiple properties\n * or attributes will trigger a render once in a batch.\n */\n _requestRender() {\n // If the element is not connected,\n // let `connectedCallback()` do the job of calling _render.\n if (this.isConnected && _classPrivateFieldGet(_connectedCallbackCalled, this) && !_classPrivateFieldGet(_hasRequestedRender, this)) {\n _classPrivateFieldSet(_hasRequestedRender, this, true);\n Promise.resolve().then(() => {\n _classPrivateFieldSet(_hasRequestedRender, this, false);\n this._render();\n });\n }\n }\n}\n_defineProperty(NextElement, \"styleTexts\", void 0);\n_defineProperty(NextElement, \"shadowOptions\", void 0);\n_defineProperty(NextElement, \"__attributeReflections\", void 0);\n_defineProperty(NextElement, \"__tagName\", void 0);\nfunction assertAttributeIsReflected(attrRef, name) {\n // istanbul ignore next\n if (process.env.NODE_ENV === \"development\" && !attrRef) {\n throw new Error(`Attribute [${name}] is not reflected`);\n }\n}\n//# sourceMappingURL=NextElement.js.map","let supports;\nexport function supportsAdoptingStyleSheets() {\n if (supports === undefined) {\n supports = !!(window.ShadowRoot &&\n // (window.ShadyCSS === undefined || window.ShadyCSS.nativeShadow) &&\n \"adoptedStyleSheets\" in Document.prototype && \"replace\" in CSSStyleSheet.prototype);\n }\n return supports;\n}\n//# sourceMappingURL=supportsAdoptingStyleSheets.js.map"],"names":["_defineProperty","obj","key","value","Object","defineProperty","enumerable","configurable","writable","symbolOfAttributeHasBeenSet","Symbol","for","symbolOfMarkAttributeHasBeenSet","symbolOfStopAttributeChangedCallback","defaultPropertyDeclaration","attribute","type","String","converter","toAttribute","Boolean","fromAttribute","Number","render","hasChanged","old","createDecorators","attributeReflections","Map","definedProperties","Set","definedMethods","definedEvents","defineElement","name","options","arguments","length","undefined","_ref","kind","className","addInitializer","superClass","getPrototypeOf","this","defineReadonlyProperty","mergeIterables","observedAttributes","keys","__attributeReflections","styleTexts","shadowOptions","mode","_dev_only_definedProperties","_dev_only_definedMethods","_dev_only_definedEvents","customElements","define","Array","isArray","alias","Alias","property","_ref2","_ref3","get","set","static","isStatic","private","isPrivate","add","_options","assign","attrName","replace","char","toLowerCase","attributeNameForProperty","getAttribute","call","oldValue","attrValue","removeAttribute","setAttribute","_requestRender","init","initialValue","requestAnimationFrame","method","_value","_ref4","bound","bind","event","_ref5","_ref6","eventInit","Error","freeze","emit","detail","dispatchEvent","CustomEvent","target","propName","propValue","list1","list2","newList","item","_hasRequestedRender","WeakMap","_connectedCallbackCalled","_attributeChangedCallbackStopped","_attributesBeenSet","NextElement","HTMLElement","constructor","super","_markConnectedCallbackCalled","connectedCallback","_render","has","attributeChangedCallback","attrRef","isConnected","Promise","resolve","then","supports","supportsAdoptingStyleSheets","window","ShadowRoot","Document","prototype","CSSStyleSheet"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_markdown=globalThis.webpackChunk_next_bricks_markdown||[]).push([[876],{5873:(e,t,n)=>{var r=n(9435);t.H=r.createRoot,r.hydrateRoot},114:(e,t,n)=>{n.r(t),n.d(t,{ReactNextElement:()=>f,wrapBrick:()=>A,wrapLocalBrick:()=>k});var r=n(4635),s=n(918),o=n(2559),i=n(6121),l=n(829),c=n(8769),a=n(5873),h=n(9435),d=n(300),u=new WeakMap,p=new WeakSet;class f extends d.NextElement{constructor(){super(...arguments),(0,r.A)(this,p),(0,s.A)(this,u,void 0)}connectedCallback(){super._markConnectedCallbackCalled(),(0,o.A)(p,this,w).call(this),this._render()}disconnectedCallback(){var e;null===(e=(0,l.A)(u,this))||void 0===e||e.render(null)}_render(){const e=()=>{if(!this.isConnected||!(0,l.A)(u,this))return;const e=this.constructor;var t;e.shadowOptions?(0,l.A)(u,this).render((0,d.supportsAdoptingStyleSheets)()||null===(t=e.styleTexts)||void 0===t||!t.length?this.render():c.createElement(c.Fragment,null,c.createElement("style",null,e.styleTexts.join("\n")),this.render())):(0,l.A)(u,this).render(this.render())};window.BRICK_NEXT_VERSIONS&&!window.DISABLE_REACT_FLUSH_SYNC?(0,h.flushSync)(e):e()}}function w(){if((0,l.A)(u,this))return;const e=this.constructor;if(e.shadowOptions){const n=this.attachShadow(e.shadowOptions);var t;if((0,d.supportsAdoptingStyleSheets)()&&null!==(t=e.styleTexts)&&void 0!==t&&t.length){const t=new CSSStyleSheet;t.replaceSync(e.styleTexts.join("")),n.adoptedStyleSheets=[t]}(0,i.A)(u,this,(0,a.H)(n))}else(0,i.A)(u,this,(0,a.H)(this))}var S=n(9575);function k(e,t){return(0,c.forwardRef)((function(n,r){let{children:s,...o}=n;const i="string"==typeof e?e:e.__tagName,l=_(o,t);return c.createElement(i,(0,S.A)({},l,{ref:r}),s)}))}function A(e,t){return(0,c.forwardRef)((function(n,r){let{children:s,...o}=n;const i=_(o,t);return c.createElement(e,(0,S.A)({},i,{ref:r}),s)}))}function _(e,t){let n;if(t){n={};for(const[r,s]of Object.entries(e))Object.prototype.hasOwnProperty.call(t,r)?n[`on${t[r]}`]=s:n[r]=s}else n=e;return n}}}]);
|
|
2
|
-
//# sourceMappingURL=876.88a29e99.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(()=>{var e,r,t,n,o,a,i,l,u,d,c,f,s,h,p,m,v,b,g,y,x,k,w,S,j,P={7934:(e,r,t)=>{Promise.all([t.e(661),t.e(229),t.e(749),t.e(769),t.e(50),t.e(901),t.e(210),t.e(698)]).then(t.bind(t,698))}},O={};function T(e){var r=O[e];if(void 0!==r)return r.exports;var t=O[e]={id:e,loaded:!1,exports:{}};return P[e].call(t.exports,t,t.exports,T),t.loaded=!0,t.exports}T.m=P,T.c=O,T.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return T.d(r,{a:r}),r},T.d=(e,r)=>{for(var t in r)T.o(r,t)&&!T.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},T.f={},T.e=e=>Promise.all(Object.keys(T.f).reduce(((r,t)=>(T.f[t](e,r),r)),[])),T.u=e=>"chunks/"+e+"."+{41:"cac7a28e",45:"dcf1a302",50:"9bdcd0d0",52:"45084502",114:"29298b9a",144:"46ce79aa",210:"f0e948c8",229:"a1110c20",250:"b9f31268",370:"3a944ca6",426:"ec49fbaa",661:"eb38763e",698:"de5d6392",733:"c4d324b2",749:"c7b0a0aa",769:"40ddf5d1",807:"b04db523",876:"88a29e99",889:"60b0feb2",901:"ac7489da",989:"b3660646"}[e]+".js",T.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),T.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@next-bricks/markdown:",T.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==o)for(var u=document.getElementsByTagName("script"),d=0;d<u.length;d++){var c=u[d];if(c.getAttribute("src")==t||c.getAttribute("data-webpack")==r+o){i=c;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,T.nc&&i.setAttribute("nonce",T.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(s);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},s=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},T.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},T.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{T.S={};var e={},r={};T.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];T.o(T.S,t)||(T.S[t]={});var a=T.S[t],i="@next-bricks/markdown",l=(e,r,t,n)=>{var o=a[e]=a[e]||{},l=o[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(o[r]={get:t,from:i,eager:!!n})},u=[];return"default"===t&&(l("@next-core/element","1.2.13",(()=>T.e(45).then((()=>()=>T(1045))))),l("@next-core/http","1.2.8",(()=>T.e(989).then((()=>()=>T(8989))))),l("@next-core/react-element","1.0.32",(()=>Promise.all([T.e(769),T.e(50),T.e(114)]).then((()=>()=>T(114))))),l("@next-core/theme","1.5.4",(()=>Promise.all([T.e(889),T.e(52)]).then((()=>()=>T(1889))))),l("lodash","4.17.21",(()=>T.e(250).then((()=>()=>T(5250))))),l("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([T.e(144),T.e(769)]).then((()=>()=>T(3144))))),l("react","0.0.0-experimental-ee8509801-20230117",(()=>T.e(41).then((()=>()=>T(4041)))))),e[t]=u.length?Promise.all(u).then((()=>e[t]=1)):1}}})(),(()=>{var e;T.g.importScripts&&(e=T.g.location+"");var r=T.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),T.p=e+"../"})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}},o=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,t+="u"==(typeof(l=e[a]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var i=[];for(a=1;a<e.length;a++){var l=e[a];i.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?i.pop()+" "+i.pop():o(l))}return u();function u(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var i=0,l=1,u=!0;;l++,i++){var d,c,f=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(c=(typeof(d=r[i]))[0]))return!u||("u"==f?l>n&&!o:""==f!=o);if("u"==c){if(!u||"u"!=f)return!1}else if(u)if(f==c)if(l<=n){if(d!=e[l])return!1}else{if(o?d>e[l]:d<e[l])return!1;d!=e[l]&&(u=!1)}else if("s"!=f&&"n"!=f){if(o||l<=n)return!1;u=!1,l--}else{if(l<=n||c<f!=o)return!1;u=!1}else"s"!=f&&"n"!=f&&(u=!1,l--)}}var s=[],h=s.pop.bind(s);for(i=1;i<e.length;i++){var p=e[i];s.push(1==p?h()|h():2==p?h()&h():p?a(p,r):!h())}return!!h()},i=(e,r)=>e&&T.o(e,r),l=e=>(e.loaded=1,e.get()),u=e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}),d=(e,r,t)=>{var o=t?u(e[r]):e[r];return(r=Object.keys(o).reduce(((e,r)=>!e||n(e,r)?r:e),0))&&o[r]},c=(e,r,t,o)=>{var i=o?u(e[r]):e[r];return(r=Object.keys(i).reduce(((e,r)=>!a(t,r)||e&&!n(e,r)?e:r),0))&&i[r]},f=(e,r,t)=>{var o=t?u(e[r]):e[r];return Object.keys(o).reduce(((e,r)=>!e||!o[e].loaded&&n(e,r)?r:e),0)},s=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",h=(e,r,t,n,a)=>{var i=e[t];return"No satisfying version ("+o(n)+")"+(a?" for eager consumption":"")+" of shared module "+t+" found in shared scope "+r+".\nAvailable versions: "+Object.keys(i).map((e=>e+" from "+i[e].from)).join(", ")},p=e=>{throw new Error(e)},m=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},b=(e,r,t)=>t?t():((e,r)=>p("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),g=(v=e=>function(r,t,n,o,a){var i=T.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,T.S[r],t,!1,o,a)):e(r,T.S[r],t,n,o,a)})(((e,r,t,n,o)=>i(r,t)?l(d(r,t,n)):b(e,t,o))),y=v(((e,r,t,n,o,a)=>{if(!i(r,t))return b(e,t,a);var u=c(r,t,o,n);return u?l(u):a?a():void p(h(r,e,t,o,n))})),x=v(((e,r,t,n,o,u)=>{if(!i(r,t))return b(e,t,u);var d=f(r,t,n);return a(o,d)||m(s(r,t,d,o)),l(r[t][d])})),k={},w={8769:()=>y("default","react",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>T.e(41).then((()=>()=>T(4041))))),300:()=>y("default","@next-core/element",!1,[1,1,2,13],(()=>T.e(426).then((()=>()=>T(1045))))),9435:()=>y("default","react-dom",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>T.e(144).then((()=>()=>T(3144))))),169:()=>g("default","@next-core/element",!1,(()=>T.e(807).then((()=>()=>T(1045))))),5617:()=>g("default","@next-core/react-element",!1,(()=>Promise.all([T.e(50),T.e(733)]).then((()=>()=>T(114))))),6477:()=>x("default","@next-core/theme",!1,[1,1,5,4],(()=>T.e(889).then((()=>()=>T(1889))))),4295:()=>y("default","@next-core/react-element",!1,[1,1,0,32],(()=>T.e(876).then((()=>()=>T(114))))),6730:()=>x("default","@next-core/http",!1,[1,1,0,0],(()=>T.e(370).then((()=>()=>T(8989)))))},S={50:[300,9435],210:[4295,6730],769:[8769],901:[169,5617,6477]},j={},T.f.consumes=(e,r)=>{T.o(S,e)&&S[e].forEach((e=>{if(T.o(k,e))return r.push(k[e]);if(!j[e]){var t=r=>{k[e]=0,T.m[e]=t=>{delete T.c[e],t.exports=r()}};j[e]=!0;var n=r=>{delete k[e],T.m[e]=t=>{throw delete T.c[e],r}};try{var o=w[e]();o.then?r.push(k[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}}))},(()=>{T.b=document.baseURI||self.location.href;var e={792:0};T.f.j=(r,t)=>{var n=T.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(50|769|901)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=T.p+T.u(r),i=new Error;T.l(a,(t=>{if(T.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,l]=t,u=0;if(a.some((r=>0!==e[r]))){for(n in i)T.o(i,n)&&(T.m[n]=i[n]);l&&l(T)}for(r&&r(t);u<a.length;u++)o=a[u],T.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_next_bricks_markdown=globalThis.webpackChunk_next_bricks_markdown||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),T.nc=void 0,T(7934)})();
|
|
2
|
-
//# sourceMappingURL=main.b3b3e6bb.js.map
|
package/dist/index.d8b9bf4e.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";var e,r,t,n,o,a,i,l,d,s,u,f,c,h,p,m,v,b,g,y,w,k,x,S,P,j={324:(e,r,t)=>{var n={"./eo-markdown-editor":()=>Promise.all([t.e(661),t.e(229),t.e(769),t.e(50),t.e(901),t.e(210),t.e(967)]).then((()=>()=>t(7196))),"./markdown-editor":()=>Promise.all([t.e(661),t.e(229),t.e(769),t.e(50),t.e(901),t.e(210),t.e(967)]).then((()=>()=>t(7196))),"./eo-markdown-display":()=>Promise.all([t.e(661),t.e(749),t.e(769),t.e(901),t.e(838)]).then((()=>()=>t(7471)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},E={};function O(e){var r=E[e];if(void 0!==r)return r.exports;var t=E[e]={id:e,loaded:!1,exports:{}};return j[e].call(t.exports,t,t.exports,O),t.loaded=!0,t.exports}O.m=j,O.c=E,O.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return O.d(r,{a:r}),r},O.d=(e,r)=>{for(var t in r)O.o(r,t)&&!O.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},O.f={},O.e=e=>Promise.all(Object.keys(O.f).reduce(((r,t)=>(O.f[t](e,r),r)),[])),O.u=e=>"chunks/"+({838:"eo-markdown-display",967:"eo-markdown-editor"}[e]||e)+"."+{41:"cac7a28e",45:"dcf1a302",50:"9bdcd0d0",52:"45084502",114:"29298b9a",144:"46ce79aa",210:"f0e948c8",229:"a1110c20",250:"b9f31268",370:"3a944ca6",426:"ec49fbaa",661:"eb38763e",733:"c4d324b2",749:"c7b0a0aa",769:"40ddf5d1",807:"b04db523",838:"cc672b78",876:"88a29e99",889:"60b0feb2",901:"ac7489da",967:"651cb155",989:"b3660646"}[e]+".js",O.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),O.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@next-bricks/markdown:",O.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==o)for(var d=document.getElementsByTagName("script"),s=0;s<d.length;s++){var u=d[s];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==r+o){i=u;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,O.nc&&i.setAttribute("nonce",O.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(c);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},c=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},O.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},O.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{O.S={};var e={},r={};O.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];O.o(O.S,t)||(O.S[t]={});var a=O.S[t],i="@next-bricks/markdown",l=(e,r,t,n)=>{var o=a[e]=a[e]||{},l=o[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(o[r]={get:t,from:i,eager:!!n})},d=[];return"default"===t&&(l("@next-core/element","1.2.13",(()=>O.e(45).then((()=>()=>O(1045))))),l("@next-core/http","1.2.8",(()=>O.e(989).then((()=>()=>O(8989))))),l("@next-core/react-element","1.0.32",(()=>Promise.all([O.e(769),O.e(50),O.e(114)]).then((()=>()=>O(114))))),l("@next-core/theme","1.5.4",(()=>Promise.all([O.e(889),O.e(52)]).then((()=>()=>O(1889))))),l("lodash","4.17.21",(()=>O.e(250).then((()=>()=>O(5250))))),l("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([O.e(144),O.e(769)]).then((()=>()=>O(3144))))),l("react","0.0.0-experimental-ee8509801-20230117",(()=>O.e(41).then((()=>()=>O(4041)))))),e[t]=d.length?Promise.all(d).then((()=>e[t]=1)):1}}})(),(()=>{var e;O.g.importScripts&&(e=O.g.location+"");var r=O.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),O.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}},o=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,t+="u"==(typeof(l=e[a]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var i=[];for(a=1;a<e.length;a++){var l=e[a];i.push(0===l?"not("+d()+")":1===l?"("+d()+" || "+d()+")":2===l?i.pop()+" "+i.pop():o(l))}return d();function d(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var i=0,l=1,d=!0;;l++,i++){var s,u,f=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(u=(typeof(s=r[i]))[0]))return!d||("u"==f?l>n&&!o:""==f!=o);if("u"==u){if(!d||"u"!=f)return!1}else if(d)if(f==u)if(l<=n){if(s!=e[l])return!1}else{if(o?s>e[l]:s<e[l])return!1;s!=e[l]&&(d=!1)}else if("s"!=f&&"n"!=f){if(o||l<=n)return!1;d=!1,l--}else{if(l<=n||u<f!=o)return!1;d=!1}else"s"!=f&&"n"!=f&&(d=!1,l--)}}var c=[],h=c.pop.bind(c);for(i=1;i<e.length;i++){var p=e[i];c.push(1==p?h()|h():2==p?h()&h():p?a(p,r):!h())}return!!h()},i=(e,r)=>e&&O.o(e,r),l=e=>(e.loaded=1,e.get()),d=e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}),s=(e,r,t)=>{var o=t?d(e[r]):e[r];return(r=Object.keys(o).reduce(((e,r)=>!e||n(e,r)?r:e),0))&&o[r]},u=(e,r,t,o)=>{var i=o?d(e[r]):e[r];return(r=Object.keys(i).reduce(((e,r)=>!a(t,r)||e&&!n(e,r)?e:r),0))&&i[r]},f=(e,r,t)=>{var o=t?d(e[r]):e[r];return Object.keys(o).reduce(((e,r)=>!e||!o[e].loaded&&n(e,r)?r:e),0)},c=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",h=(e,r,t,n,a)=>{var i=e[t];return"No satisfying version ("+o(n)+")"+(a?" for eager consumption":"")+" of shared module "+t+" found in shared scope "+r+".\nAvailable versions: "+Object.keys(i).map((e=>e+" from "+i[e].from)).join(", ")},p=e=>{throw new Error(e)},m=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},b=(e,r,t)=>t?t():((e,r)=>p("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),g=(v=e=>function(r,t,n,o,a){var i=O.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,O.S[r],t,!1,o,a)):e(r,O.S[r],t,n,o,a)})(((e,r,t,n,o)=>i(r,t)?l(s(r,t,n)):b(e,t,o))),y=v(((e,r,t,n,o,a)=>{if(!i(r,t))return b(e,t,a);var d=u(r,t,o,n);return d?l(d):a?a():void p(h(r,e,t,o,n))})),w=v(((e,r,t,n,o,d)=>{if(!i(r,t))return b(e,t,d);var s=f(r,t,n);return a(o,s)||m(c(r,t,s,o)),l(r[t][s])})),k={},x={8769:()=>y("default","react",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>O.e(41).then((()=>()=>O(4041))))),300:()=>y("default","@next-core/element",!1,[1,1,2,13],(()=>O.e(426).then((()=>()=>O(1045))))),9435:()=>y("default","react-dom",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>O.e(144).then((()=>()=>O(3144))))),169:()=>g("default","@next-core/element",!1,(()=>O.e(807).then((()=>()=>O(1045))))),5617:()=>g("default","@next-core/react-element",!1,(()=>Promise.all([O.e(50),O.e(733)]).then((()=>()=>O(114))))),6477:()=>w("default","@next-core/theme",!1,[1,1,5,4],(()=>O.e(889).then((()=>()=>O(1889))))),4295:()=>y("default","@next-core/react-element",!1,[1,1,0,32],(()=>O.e(876).then((()=>()=>O(114))))),6730:()=>w("default","@next-core/http",!1,[1,1,0,0],(()=>O.e(370).then((()=>()=>O(8989)))))},S={50:[300,9435],210:[4295,6730],769:[8769],901:[169,5617,6477]},P={},O.f.consumes=(e,r)=>{O.o(S,e)&&S[e].forEach((e=>{if(O.o(k,e))return r.push(k[e]);if(!P[e]){var t=r=>{k[e]=0,O.m[e]=t=>{delete O.c[e],t.exports=r()}};P[e]=!0;var n=r=>{delete k[e],O.m[e]=t=>{throw delete O.c[e],r}};try{var o=x[e]();o.then?r.push(k[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}}))},(()=>{O.b=document.baseURI||self.location.href;var e={999:0};O.f.j=(r,t)=>{var n=O.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(50|769|901)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=O.p+O.u(r),i=new Error;O.l(a,(t=>{if(O.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,l]=t,d=0;if(a.some((r=>0!==e[r]))){for(n in i)O.o(i,n)&&(O.m[n]=i[n]);l&&l(O)}for(r&&r(t);d<a.length;d++)o=a[d],O.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_next_bricks_markdown=globalThis.webpackChunk_next_bricks_markdown||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),O.nc=void 0;var T=O(324);window["bricks/markdown"]=T})();
|
|
2
|
-
//# sourceMappingURL=index.d8b9bf4e.js.map
|
|
File without changes
|
|
File without changes
|