@surendrasinghc80/pagemaster-editor 0.1.0

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.
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1200" fill="none"><rect width="1200" height="1200" fill="#EAEAEA" rx="3"/><g opacity=".5"><g opacity=".5"><path fill="#FAFAFA" d="M600.709 736.5c-75.454 0-136.621-61.167-136.621-136.62 0-75.454 61.167-136.621 136.621-136.621 75.453 0 136.62 61.167 136.62 136.621 0 75.453-61.167 136.62-136.62 136.62Z"/><path stroke="#C9C9C9" stroke-width="2.418" d="M600.709 736.5c-75.454 0-136.621-61.167-136.621-136.62 0-75.454 61.167-136.621 136.621-136.621 75.453 0 136.62 61.167 136.62 136.621 0 75.453-61.167 136.62-136.62 136.62Z"/></g><path stroke="url(#a)" stroke-width="2.418" d="M0-1.209h553.581" transform="scale(1 -1) rotate(45 1163.11 91.165)"/><path stroke="url(#b)" stroke-width="2.418" d="M404.846 598.671h391.726"/><path stroke="url(#c)" stroke-width="2.418" d="M599.5 795.742V404.017"/><path stroke="url(#d)" stroke-width="2.418" d="m795.717 796.597-391.441-391.44"/><path fill="#fff" d="M600.709 656.704c-31.384 0-56.825-25.441-56.825-56.824 0-31.384 25.441-56.825 56.825-56.825 31.383 0 56.824 25.441 56.824 56.825 0 31.383-25.441 56.824-56.824 56.824Z"/><g clip-path="url(#e)"><path fill="#666" fill-rule="evenodd" d="M616.426 586.58h-31.434v16.176l3.553-3.554.531-.531h9.068l.074-.074 8.463-8.463h2.565l7.18 7.181V586.58Zm-15.715 14.654 3.698 3.699 1.283 1.282-2.565 2.565-1.282-1.283-5.2-5.199h-6.066l-5.514 5.514-.073.073v2.876a2.418 2.418 0 0 0 2.418 2.418h26.598a2.418 2.418 0 0 0 2.418-2.418v-8.317l-8.463-8.463-7.181 7.181-.071.072Zm-19.347 5.442v4.085a6.045 6.045 0 0 0 6.046 6.045h26.598a6.044 6.044 0 0 0 6.045-6.045v-7.108l1.356-1.355-1.282-1.283-.074-.073v-17.989h-38.689v23.43l-.146.146.146.147Z" clip-rule="evenodd"/></g><path stroke="#C9C9C9" stroke-width="2.418" d="M600.709 656.704c-31.384 0-56.825-25.441-56.825-56.824 0-31.384 25.441-56.825 56.825-56.825 31.383 0 56.824 25.441 56.824 56.825 0 31.383-25.441 56.824-56.824 56.824Z"/></g><defs><linearGradient id="a" x1="554.061" x2="-.48" y1=".083" y2=".087" gradientUnits="userSpaceOnUse"><stop stop-color="#C9C9C9" stop-opacity="0"/><stop offset=".208" stop-color="#C9C9C9"/><stop offset=".792" stop-color="#C9C9C9"/><stop offset="1" stop-color="#C9C9C9" stop-opacity="0"/></linearGradient><linearGradient id="b" x1="796.912" x2="404.507" y1="599.963" y2="599.965" gradientUnits="userSpaceOnUse"><stop stop-color="#C9C9C9" stop-opacity="0"/><stop offset=".208" stop-color="#C9C9C9"/><stop offset=".792" stop-color="#C9C9C9"/><stop offset="1" stop-color="#C9C9C9" stop-opacity="0"/></linearGradient><linearGradient id="c" x1="600.792" x2="600.794" y1="403.677" y2="796.082" gradientUnits="userSpaceOnUse"><stop stop-color="#C9C9C9" stop-opacity="0"/><stop offset=".208" stop-color="#C9C9C9"/><stop offset=".792" stop-color="#C9C9C9"/><stop offset="1" stop-color="#C9C9C9" stop-opacity="0"/></linearGradient><linearGradient id="d" x1="404.85" x2="796.972" y1="403.903" y2="796.02" gradientUnits="userSpaceOnUse"><stop stop-color="#C9C9C9" stop-opacity="0"/><stop offset=".208" stop-color="#C9C9C9"/><stop offset=".792" stop-color="#C9C9C9"/><stop offset="1" stop-color="#C9C9C9" stop-opacity="0"/></linearGradient><clipPath id="e"><path fill="#fff" d="M581.364 580.535h38.689v38.689h-38.689z"/></clipPath></defs></svg>
@@ -0,0 +1,562 @@
1
+ /*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
2
+ const {
3
+ entries: _t,
4
+ setPrototypeOf: ct,
5
+ isFrozen: Yt,
6
+ getPrototypeOf: Xt,
7
+ getOwnPropertyDescriptor: jt
8
+ } = Object;
9
+ let {
10
+ freeze: S,
11
+ seal: y,
12
+ create: ve
13
+ } = Object, {
14
+ apply: ke,
15
+ construct: Ue
16
+ } = typeof Reflect < "u" && Reflect;
17
+ S || (S = function(o) {
18
+ return o;
19
+ });
20
+ y || (y = function(o) {
21
+ return o;
22
+ });
23
+ ke || (ke = function(o, l) {
24
+ for (var a = arguments.length, c = new Array(a > 2 ? a - 2 : 0), O = 2; O < a; O++)
25
+ c[O - 2] = arguments[O];
26
+ return o.apply(l, c);
27
+ });
28
+ Ue || (Ue = function(o) {
29
+ for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), c = 1; c < l; c++)
30
+ a[c - 1] = arguments[c];
31
+ return new o(...a);
32
+ });
33
+ const ce = R(Array.prototype.forEach), Vt = R(Array.prototype.lastIndexOf), ft = R(Array.prototype.pop), q = R(Array.prototype.push), $t = R(Array.prototype.splice), ue = R(String.prototype.toLowerCase), Ie = R(String.prototype.toString), Ce = R(String.prototype.match), K = R(String.prototype.replace), qt = R(String.prototype.indexOf), Kt = R(String.prototype.trim), L = R(Object.prototype.hasOwnProperty), h = R(RegExp.prototype.test), Z = Zt(TypeError);
34
+ function R(s) {
35
+ return function(o) {
36
+ o instanceof RegExp && (o.lastIndex = 0);
37
+ for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), c = 1; c < l; c++)
38
+ a[c - 1] = arguments[c];
39
+ return ke(s, o, a);
40
+ };
41
+ }
42
+ function Zt(s) {
43
+ return function() {
44
+ for (var o = arguments.length, l = new Array(o), a = 0; a < o; a++)
45
+ l[a] = arguments[a];
46
+ return Ue(s, l);
47
+ };
48
+ }
49
+ function r(s, o) {
50
+ let l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ue;
51
+ ct && ct(s, null);
52
+ let a = o.length;
53
+ for (; a--; ) {
54
+ let c = o[a];
55
+ if (typeof c == "string") {
56
+ const O = l(c);
57
+ O !== c && (Yt(o) || (o[a] = O), c = O);
58
+ }
59
+ s[c] = !0;
60
+ }
61
+ return s;
62
+ }
63
+ function Jt(s) {
64
+ for (let o = 0; o < s.length; o++)
65
+ L(s, o) || (s[o] = null);
66
+ return s;
67
+ }
68
+ function I(s) {
69
+ const o = ve(null);
70
+ for (const [l, a] of _t(s))
71
+ L(s, l) && (Array.isArray(a) ? o[l] = Jt(a) : a && typeof a == "object" && a.constructor === Object ? o[l] = I(a) : o[l] = a);
72
+ return o;
73
+ }
74
+ function J(s, o) {
75
+ for (; s !== null; ) {
76
+ const a = jt(s, o);
77
+ if (a) {
78
+ if (a.get)
79
+ return R(a.get);
80
+ if (typeof a.value == "function")
81
+ return R(a.value);
82
+ }
83
+ s = Xt(s);
84
+ }
85
+ function l() {
86
+ return null;
87
+ }
88
+ return l;
89
+ }
90
+ const ut = S(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Me = S(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), we = S(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Qt = S(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), xe = S(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), en = S(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), mt = S(["#text"]), pt = S(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Pe = S(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), dt = S(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), fe = S(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), tn = y(/\{\{[\w\W]*|[\w\W]*\}\}/gm), nn = y(/<%[\w\W]*|[\w\W]*%>/gm), on = y(/\$\{[\w\W]*/gm), an = y(/^data-[\-\w.\u00B7-\uFFFF]+$/), rn = y(/^aria-[\-\w]+$/), gt = y(
91
+ /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
92
+ // eslint-disable-line no-useless-escape
93
+ ), sn = y(/^(?:\w+script|data):/i), ln = y(
94
+ /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
95
+ // eslint-disable-line no-control-regex
96
+ ), At = y(/^html$/i), cn = y(/^[a-z][.\w]*(-[.\w]+)+$/i);
97
+ var Tt = /* @__PURE__ */ Object.freeze({
98
+ __proto__: null,
99
+ ARIA_ATTR: rn,
100
+ ATTR_WHITESPACE: ln,
101
+ CUSTOM_ELEMENT: cn,
102
+ DATA_ATTR: an,
103
+ DOCTYPE_NAME: At,
104
+ ERB_EXPR: nn,
105
+ IS_ALLOWED_URI: gt,
106
+ IS_SCRIPT_OR_DATA: sn,
107
+ MUSTACHE_EXPR: tn,
108
+ TMPLIT_EXPR: on
109
+ });
110
+ const Q = {
111
+ element: 1,
112
+ attribute: 2,
113
+ text: 3,
114
+ cdataSection: 4,
115
+ entityReference: 5,
116
+ // Deprecated
117
+ entityNode: 6,
118
+ // Deprecated
119
+ progressingInstruction: 7,
120
+ comment: 8,
121
+ document: 9,
122
+ documentType: 10,
123
+ documentFragment: 11,
124
+ notation: 12
125
+ // Deprecated
126
+ }, fn = function() {
127
+ return typeof window > "u" ? null : window;
128
+ }, un = function(o, l) {
129
+ if (typeof o != "object" || typeof o.createPolicy != "function")
130
+ return null;
131
+ let a = null;
132
+ const c = "data-tt-policy-suffix";
133
+ l && l.hasAttribute(c) && (a = l.getAttribute(c));
134
+ const O = "dompurify" + (a ? "#" + a : "");
135
+ try {
136
+ return o.createPolicy(O, {
137
+ createHTML(v) {
138
+ return v;
139
+ },
140
+ createScriptURL(v) {
141
+ return v;
142
+ }
143
+ });
144
+ } catch {
145
+ return console.warn("TrustedTypes policy " + O + " could not be created."), null;
146
+ }
147
+ }, Et = function() {
148
+ return {
149
+ afterSanitizeAttributes: [],
150
+ afterSanitizeElements: [],
151
+ afterSanitizeShadowDOM: [],
152
+ beforeSanitizeAttributes: [],
153
+ beforeSanitizeElements: [],
154
+ beforeSanitizeShadowDOM: [],
155
+ uponSanitizeAttribute: [],
156
+ uponSanitizeElement: [],
157
+ uponSanitizeShadowNode: []
158
+ };
159
+ };
160
+ function ht() {
161
+ let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : fn();
162
+ const o = (i) => ht(i);
163
+ if (o.version = "3.3.1", o.removed = [], !s || !s.document || s.document.nodeType !== Q.document || !s.Element)
164
+ return o.isSupported = !1, o;
165
+ let {
166
+ document: l
167
+ } = s;
168
+ const a = l, c = a.currentScript, {
169
+ DocumentFragment: O,
170
+ HTMLTemplateElement: v,
171
+ Node: me,
172
+ Element: Fe,
173
+ NodeFilter: B,
174
+ NamedNodeMap: St = s.NamedNodeMap || s.MozNamedAttrMap,
175
+ HTMLFormElement: Rt,
176
+ DOMParser: Ot,
177
+ trustedTypes: ee
178
+ } = s, Y = Fe.prototype, Dt = J(Y, "cloneNode"), yt = J(Y, "remove"), Lt = J(Y, "nextSibling"), bt = J(Y, "childNodes"), te = J(Y, "parentNode");
179
+ if (typeof v == "function") {
180
+ const i = l.createElement("template");
181
+ i.content && i.content.ownerDocument && (l = i.content.ownerDocument);
182
+ }
183
+ let g, X = "";
184
+ const {
185
+ implementation: pe,
186
+ createNodeIterator: Nt,
187
+ createDocumentFragment: It,
188
+ getElementsByTagName: Ct
189
+ } = l, {
190
+ importNode: Mt
191
+ } = a;
192
+ let A = Et();
193
+ o.isSupported = typeof _t == "function" && typeof te == "function" && pe && pe.createHTMLDocument !== void 0;
194
+ const {
195
+ MUSTACHE_EXPR: de,
196
+ ERB_EXPR: Te,
197
+ TMPLIT_EXPR: Ee,
198
+ DATA_ATTR: wt,
199
+ ARIA_ATTR: xt,
200
+ IS_SCRIPT_OR_DATA: Pt,
201
+ ATTR_WHITESPACE: He,
202
+ CUSTOM_ELEMENT: vt
203
+ } = Tt;
204
+ let {
205
+ IS_ALLOWED_URI: ze
206
+ } = Tt, d = null;
207
+ const Ge = r({}, [...ut, ...Me, ...we, ...xe, ...mt]);
208
+ let T = null;
209
+ const We = r({}, [...pt, ...Pe, ...dt, ...fe]);
210
+ let u = Object.seal(ve(null, {
211
+ tagNameCheck: {
212
+ writable: !0,
213
+ configurable: !1,
214
+ enumerable: !0,
215
+ value: null
216
+ },
217
+ attributeNameCheck: {
218
+ writable: !0,
219
+ configurable: !1,
220
+ enumerable: !0,
221
+ value: null
222
+ },
223
+ allowCustomizedBuiltInElements: {
224
+ writable: !0,
225
+ configurable: !1,
226
+ enumerable: !0,
227
+ value: !1
228
+ }
229
+ })), j = null, _e = null;
230
+ const k = Object.seal(ve(null, {
231
+ tagCheck: {
232
+ writable: !0,
233
+ configurable: !1,
234
+ enumerable: !0,
235
+ value: null
236
+ },
237
+ attributeCheck: {
238
+ writable: !0,
239
+ configurable: !1,
240
+ enumerable: !0,
241
+ value: null
242
+ }
243
+ }));
244
+ let Be = !0, ge = !0, Ye = !1, Xe = !0, U = !1, ne = !0, x = !1, Ae = !1, he = !1, F = !1, oe = !1, ie = !1, je = !0, Ve = !1;
245
+ const kt = "user-content-";
246
+ let Se = !0, V = !1, H = {}, b = null;
247
+ const Re = r({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
248
+ let $e = null;
249
+ const qe = r({}, ["audio", "video", "img", "source", "image", "track"]);
250
+ let Oe = null;
251
+ const Ke = r({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), ae = "http://www.w3.org/1998/Math/MathML", re = "http://www.w3.org/2000/svg", C = "http://www.w3.org/1999/xhtml";
252
+ let z = C, De = !1, ye = null;
253
+ const Ut = r({}, [ae, re, C], Ie);
254
+ let se = r({}, ["mi", "mo", "mn", "ms", "mtext"]), le = r({}, ["annotation-xml"]);
255
+ const Ft = r({}, ["title", "style", "font", "a", "script"]);
256
+ let $ = null;
257
+ const Ht = ["application/xhtml+xml", "text/html"], zt = "text/html";
258
+ let p = null, G = null;
259
+ const Gt = l.createElement("form"), Ze = function(e) {
260
+ return e instanceof RegExp || e instanceof Function;
261
+ }, Le = function() {
262
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
263
+ if (!(G && G === e)) {
264
+ if ((!e || typeof e != "object") && (e = {}), e = I(e), $ = // eslint-disable-next-line unicorn/prefer-includes
265
+ Ht.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? zt : e.PARSER_MEDIA_TYPE, p = $ === "application/xhtml+xml" ? Ie : ue, d = L(e, "ALLOWED_TAGS") ? r({}, e.ALLOWED_TAGS, p) : Ge, T = L(e, "ALLOWED_ATTR") ? r({}, e.ALLOWED_ATTR, p) : We, ye = L(e, "ALLOWED_NAMESPACES") ? r({}, e.ALLOWED_NAMESPACES, Ie) : Ut, Oe = L(e, "ADD_URI_SAFE_ATTR") ? r(I(Ke), e.ADD_URI_SAFE_ATTR, p) : Ke, $e = L(e, "ADD_DATA_URI_TAGS") ? r(I(qe), e.ADD_DATA_URI_TAGS, p) : qe, b = L(e, "FORBID_CONTENTS") ? r({}, e.FORBID_CONTENTS, p) : Re, j = L(e, "FORBID_TAGS") ? r({}, e.FORBID_TAGS, p) : I({}), _e = L(e, "FORBID_ATTR") ? r({}, e.FORBID_ATTR, p) : I({}), H = L(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Be = e.ALLOW_ARIA_ATTR !== !1, ge = e.ALLOW_DATA_ATTR !== !1, Ye = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Xe = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, U = e.SAFE_FOR_TEMPLATES || !1, ne = e.SAFE_FOR_XML !== !1, x = e.WHOLE_DOCUMENT || !1, F = e.RETURN_DOM || !1, oe = e.RETURN_DOM_FRAGMENT || !1, ie = e.RETURN_TRUSTED_TYPE || !1, he = e.FORCE_BODY || !1, je = e.SANITIZE_DOM !== !1, Ve = e.SANITIZE_NAMED_PROPS || !1, Se = e.KEEP_CONTENT !== !1, V = e.IN_PLACE || !1, ze = e.ALLOWED_URI_REGEXP || gt, z = e.NAMESPACE || C, se = e.MATHML_TEXT_INTEGRATION_POINTS || se, le = e.HTML_INTEGRATION_POINTS || le, u = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && Ze(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (u.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && Ze(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (u.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (u.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), U && (ge = !1), oe && (F = !0), H && (d = r({}, mt), T = [], H.html === !0 && (r(d, ut), r(T, pt)), H.svg === !0 && (r(d, Me), r(T, Pe), r(T, fe)), H.svgFilters === !0 && (r(d, we), r(T, Pe), r(T, fe)), H.mathMl === !0 && (r(d, xe), r(T, dt), r(T, fe))), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? k.tagCheck = e.ADD_TAGS : (d === Ge && (d = I(d)), r(d, e.ADD_TAGS, p))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? k.attributeCheck = e.ADD_ATTR : (T === We && (T = I(T)), r(T, e.ADD_ATTR, p))), e.ADD_URI_SAFE_ATTR && r(Oe, e.ADD_URI_SAFE_ATTR, p), e.FORBID_CONTENTS && (b === Re && (b = I(b)), r(b, e.FORBID_CONTENTS, p)), e.ADD_FORBID_CONTENTS && (b === Re && (b = I(b)), r(b, e.ADD_FORBID_CONTENTS, p)), Se && (d["#text"] = !0), x && r(d, ["html", "head", "body"]), d.table && (r(d, ["tbody"]), delete j.tbody), e.TRUSTED_TYPES_POLICY) {
266
+ if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
267
+ throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
268
+ if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
269
+ throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
270
+ g = e.TRUSTED_TYPES_POLICY, X = g.createHTML("");
271
+ } else
272
+ g === void 0 && (g = un(ee, c)), g !== null && typeof X == "string" && (X = g.createHTML(""));
273
+ S && S(e), G = e;
274
+ }
275
+ }, Je = r({}, [...Me, ...we, ...Qt]), Qe = r({}, [...xe, ...en]), Wt = function(e) {
276
+ let t = te(e);
277
+ (!t || !t.tagName) && (t = {
278
+ namespaceURI: z,
279
+ tagName: "template"
280
+ });
281
+ const n = ue(e.tagName), f = ue(t.tagName);
282
+ return ye[e.namespaceURI] ? e.namespaceURI === re ? t.namespaceURI === C ? n === "svg" : t.namespaceURI === ae ? n === "svg" && (f === "annotation-xml" || se[f]) : !!Je[n] : e.namespaceURI === ae ? t.namespaceURI === C ? n === "math" : t.namespaceURI === re ? n === "math" && le[f] : !!Qe[n] : e.namespaceURI === C ? t.namespaceURI === re && !le[f] || t.namespaceURI === ae && !se[f] ? !1 : !Qe[n] && (Ft[n] || !Je[n]) : !!($ === "application/xhtml+xml" && ye[e.namespaceURI]) : !1;
283
+ }, N = function(e) {
284
+ q(o.removed, {
285
+ element: e
286
+ });
287
+ try {
288
+ te(e).removeChild(e);
289
+ } catch {
290
+ yt(e);
291
+ }
292
+ }, P = function(e, t) {
293
+ try {
294
+ q(o.removed, {
295
+ attribute: t.getAttributeNode(e),
296
+ from: t
297
+ });
298
+ } catch {
299
+ q(o.removed, {
300
+ attribute: null,
301
+ from: t
302
+ });
303
+ }
304
+ if (t.removeAttribute(e), e === "is")
305
+ if (F || oe)
306
+ try {
307
+ N(t);
308
+ } catch {
309
+ }
310
+ else
311
+ try {
312
+ t.setAttribute(e, "");
313
+ } catch {
314
+ }
315
+ }, et = function(e) {
316
+ let t = null, n = null;
317
+ if (he)
318
+ e = "<remove></remove>" + e;
319
+ else {
320
+ const m = Ce(e, /^[\r\n\t ]+/);
321
+ n = m && m[0];
322
+ }
323
+ $ === "application/xhtml+xml" && z === C && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
324
+ const f = g ? g.createHTML(e) : e;
325
+ if (z === C)
326
+ try {
327
+ t = new Ot().parseFromString(f, $);
328
+ } catch {
329
+ }
330
+ if (!t || !t.documentElement) {
331
+ t = pe.createDocument(z, "template", null);
332
+ try {
333
+ t.documentElement.innerHTML = De ? X : f;
334
+ } catch {
335
+ }
336
+ }
337
+ const _ = t.body || t.documentElement;
338
+ return e && n && _.insertBefore(l.createTextNode(n), _.childNodes[0] || null), z === C ? Ct.call(t, x ? "html" : "body")[0] : x ? t.documentElement : _;
339
+ }, tt = function(e) {
340
+ return Nt.call(
341
+ e.ownerDocument || e,
342
+ e,
343
+ // eslint-disable-next-line no-bitwise
344
+ B.SHOW_ELEMENT | B.SHOW_COMMENT | B.SHOW_TEXT | B.SHOW_PROCESSING_INSTRUCTION | B.SHOW_CDATA_SECTION,
345
+ null
346
+ );
347
+ }, be = function(e) {
348
+ return e instanceof Rt && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof St) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
349
+ }, nt = function(e) {
350
+ return typeof me == "function" && e instanceof me;
351
+ };
352
+ function M(i, e, t) {
353
+ ce(i, (n) => {
354
+ n.call(o, e, t, G);
355
+ });
356
+ }
357
+ const ot = function(e) {
358
+ let t = null;
359
+ if (M(A.beforeSanitizeElements, e, null), be(e))
360
+ return N(e), !0;
361
+ const n = p(e.nodeName);
362
+ if (M(A.uponSanitizeElement, e, {
363
+ tagName: n,
364
+ allowedTags: d
365
+ }), ne && e.hasChildNodes() && !nt(e.firstElementChild) && h(/<[/\w!]/g, e.innerHTML) && h(/<[/\w!]/g, e.textContent) || e.nodeType === Q.progressingInstruction || ne && e.nodeType === Q.comment && h(/<[/\w]/g, e.data))
366
+ return N(e), !0;
367
+ if (!(k.tagCheck instanceof Function && k.tagCheck(n)) && (!d[n] || j[n])) {
368
+ if (!j[n] && at(n) && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n)))
369
+ return !1;
370
+ if (Se && !b[n]) {
371
+ const f = te(e) || e.parentNode, _ = bt(e) || e.childNodes;
372
+ if (_ && f) {
373
+ const m = _.length;
374
+ for (let D = m - 1; D >= 0; --D) {
375
+ const w = Dt(_[D], !0);
376
+ w.__removalCount = (e.__removalCount || 0) + 1, f.insertBefore(w, Lt(e));
377
+ }
378
+ }
379
+ }
380
+ return N(e), !0;
381
+ }
382
+ return e instanceof Fe && !Wt(e) || (n === "noscript" || n === "noembed" || n === "noframes") && h(/<\/no(script|embed|frames)/i, e.innerHTML) ? (N(e), !0) : (U && e.nodeType === Q.text && (t = e.textContent, ce([de, Te, Ee], (f) => {
383
+ t = K(t, f, " ");
384
+ }), e.textContent !== t && (q(o.removed, {
385
+ element: e.cloneNode()
386
+ }), e.textContent = t)), M(A.afterSanitizeElements, e, null), !1);
387
+ }, it = function(e, t, n) {
388
+ if (je && (t === "id" || t === "name") && (n in l || n in Gt))
389
+ return !1;
390
+ if (!(ge && !_e[t] && h(wt, t))) {
391
+ if (!(Be && h(xt, t))) {
392
+ if (!(k.attributeCheck instanceof Function && k.attributeCheck(t, e))) {
393
+ if (!T[t] || _e[t]) {
394
+ if (
395
+ // First condition does a very basic check if a) it's basically a valid custom element tagname AND
396
+ // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
397
+ // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
398
+ !(at(e) && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, e) || u.tagNameCheck instanceof Function && u.tagNameCheck(e)) && (u.attributeNameCheck instanceof RegExp && h(u.attributeNameCheck, t) || u.attributeNameCheck instanceof Function && u.attributeNameCheck(t, e)) || // Alternative, second condition checks if it's an `is`-attribute, AND
399
+ // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
400
+ t === "is" && u.allowCustomizedBuiltInElements && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n)))
401
+ ) return !1;
402
+ } else if (!Oe[t]) {
403
+ if (!h(ze, K(n, He, ""))) {
404
+ if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && qt(n, "data:") === 0 && $e[e])) {
405
+ if (!(Ye && !h(Pt, K(n, He, "")))) {
406
+ if (n)
407
+ return !1;
408
+ }
409
+ }
410
+ }
411
+ }
412
+ }
413
+ }
414
+ }
415
+ return !0;
416
+ }, at = function(e) {
417
+ return e !== "annotation-xml" && Ce(e, vt);
418
+ }, rt = function(e) {
419
+ M(A.beforeSanitizeAttributes, e, null);
420
+ const {
421
+ attributes: t
422
+ } = e;
423
+ if (!t || be(e))
424
+ return;
425
+ const n = {
426
+ attrName: "",
427
+ attrValue: "",
428
+ keepAttr: !0,
429
+ allowedAttributes: T,
430
+ forceKeepAttr: void 0
431
+ };
432
+ let f = t.length;
433
+ for (; f--; ) {
434
+ const _ = t[f], {
435
+ name: m,
436
+ namespaceURI: D,
437
+ value: w
438
+ } = _, W = p(m), Ne = w;
439
+ let E = m === "value" ? Ne : Kt(Ne);
440
+ if (n.attrName = W, n.attrValue = E, n.keepAttr = !0, n.forceKeepAttr = void 0, M(A.uponSanitizeAttribute, e, n), E = n.attrValue, Ve && (W === "id" || W === "name") && (P(m, e), E = kt + E), ne && h(/((--!?|])>)|<\/(style|title|textarea)/i, E)) {
441
+ P(m, e);
442
+ continue;
443
+ }
444
+ if (W === "attributename" && Ce(E, "href")) {
445
+ P(m, e);
446
+ continue;
447
+ }
448
+ if (n.forceKeepAttr)
449
+ continue;
450
+ if (!n.keepAttr) {
451
+ P(m, e);
452
+ continue;
453
+ }
454
+ if (!Xe && h(/\/>/i, E)) {
455
+ P(m, e);
456
+ continue;
457
+ }
458
+ U && ce([de, Te, Ee], (lt) => {
459
+ E = K(E, lt, " ");
460
+ });
461
+ const st = p(e.nodeName);
462
+ if (!it(st, W, E)) {
463
+ P(m, e);
464
+ continue;
465
+ }
466
+ if (g && typeof ee == "object" && typeof ee.getAttributeType == "function" && !D)
467
+ switch (ee.getAttributeType(st, W)) {
468
+ case "TrustedHTML": {
469
+ E = g.createHTML(E);
470
+ break;
471
+ }
472
+ case "TrustedScriptURL": {
473
+ E = g.createScriptURL(E);
474
+ break;
475
+ }
476
+ }
477
+ if (E !== Ne)
478
+ try {
479
+ D ? e.setAttributeNS(D, m, E) : e.setAttribute(m, E), be(e) ? N(e) : ft(o.removed);
480
+ } catch {
481
+ P(m, e);
482
+ }
483
+ }
484
+ M(A.afterSanitizeAttributes, e, null);
485
+ }, Bt = function i(e) {
486
+ let t = null;
487
+ const n = tt(e);
488
+ for (M(A.beforeSanitizeShadowDOM, e, null); t = n.nextNode(); )
489
+ M(A.uponSanitizeShadowNode, t, null), ot(t), rt(t), t.content instanceof O && i(t.content);
490
+ M(A.afterSanitizeShadowDOM, e, null);
491
+ };
492
+ return o.sanitize = function(i) {
493
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = null, n = null, f = null, _ = null;
494
+ if (De = !i, De && (i = "<!-->"), typeof i != "string" && !nt(i))
495
+ if (typeof i.toString == "function") {
496
+ if (i = i.toString(), typeof i != "string")
497
+ throw Z("dirty is not a string, aborting");
498
+ } else
499
+ throw Z("toString is not a function");
500
+ if (!o.isSupported)
501
+ return i;
502
+ if (Ae || Le(e), o.removed = [], typeof i == "string" && (V = !1), V) {
503
+ if (i.nodeName) {
504
+ const w = p(i.nodeName);
505
+ if (!d[w] || j[w])
506
+ throw Z("root node is forbidden and cannot be sanitized in-place");
507
+ }
508
+ } else if (i instanceof me)
509
+ t = et("<!---->"), n = t.ownerDocument.importNode(i, !0), n.nodeType === Q.element && n.nodeName === "BODY" || n.nodeName === "HTML" ? t = n : t.appendChild(n);
510
+ else {
511
+ if (!F && !U && !x && // eslint-disable-next-line unicorn/prefer-includes
512
+ i.indexOf("<") === -1)
513
+ return g && ie ? g.createHTML(i) : i;
514
+ if (t = et(i), !t)
515
+ return F ? null : ie ? X : "";
516
+ }
517
+ t && he && N(t.firstChild);
518
+ const m = tt(V ? i : t);
519
+ for (; f = m.nextNode(); )
520
+ ot(f), rt(f), f.content instanceof O && Bt(f.content);
521
+ if (V)
522
+ return i;
523
+ if (F) {
524
+ if (oe)
525
+ for (_ = It.call(t.ownerDocument); t.firstChild; )
526
+ _.appendChild(t.firstChild);
527
+ else
528
+ _ = t;
529
+ return (T.shadowroot || T.shadowrootmode) && (_ = Mt.call(a, _, !0)), _;
530
+ }
531
+ let D = x ? t.outerHTML : t.innerHTML;
532
+ return x && d["!doctype"] && t.ownerDocument && t.ownerDocument.doctype && t.ownerDocument.doctype.name && h(At, t.ownerDocument.doctype.name) && (D = "<!DOCTYPE " + t.ownerDocument.doctype.name + `>
533
+ ` + D), U && ce([de, Te, Ee], (w) => {
534
+ D = K(D, w, " ");
535
+ }), g && ie ? g.createHTML(D) : D;
536
+ }, o.setConfig = function() {
537
+ let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
538
+ Le(i), Ae = !0;
539
+ }, o.clearConfig = function() {
540
+ G = null, Ae = !1;
541
+ }, o.isValidAttribute = function(i, e, t) {
542
+ G || Le({});
543
+ const n = p(i), f = p(e);
544
+ return it(n, f, t);
545
+ }, o.addHook = function(i, e) {
546
+ typeof e == "function" && q(A[i], e);
547
+ }, o.removeHook = function(i, e) {
548
+ if (e !== void 0) {
549
+ const t = Vt(A[i], e);
550
+ return t === -1 ? void 0 : $t(A[i], t, 1)[0];
551
+ }
552
+ return ft(A[i]);
553
+ }, o.removeHooks = function(i) {
554
+ A[i] = [];
555
+ }, o.removeAllHooks = function() {
556
+ A = Et();
557
+ }, o;
558
+ }
559
+ var mn = ht();
560
+ export {
561
+ mn as default
562
+ };
@@ -0,0 +1,14 @@
1
+ User-agent: Googlebot
2
+ Allow: /
3
+
4
+ User-agent: Bingbot
5
+ Allow: /
6
+
7
+ User-agent: Twitterbot
8
+ Allow: /
9
+
10
+ User-agent: facebookexternalhit
11
+ Allow: /
12
+
13
+ User-agent: *
14
+ Allow: /
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ :root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors: active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--total-scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--total-scale-factor));width:100%;min-width:calc(180px * var(--total-scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--total-scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--total-scale-factor)) calc(5px * var(--total-scale-factor)) #888;border-radius:calc(2px * var(--total-scale-factor));padding:calc(6px * var(--total-scale-factor));margin-left:calc(5px * var(--total-scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--total-scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--total-scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--total-scale-factor));padding-top:calc(2px * var(--total-scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--total-scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors: active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::-moz-selection{background:transparent}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{position:absolute;top:0;left:0;width:0;height:0;display:none}.pdf-viewer-enhanced{height:100vh;display:flex;background:hsl(var(--background))}.pdf-thumbnail{border-radius:.375rem;overflow:hidden;transition:all .2s;border:1px solid transparent}.pdf-thumbnail:hover{transform:translateY(-2px);box-shadow:0 4px 6px -1px #0000001a}.pdf-thumbnail.active{border-color:hsl(var(--primary));background:hsl(var(--accent) / .2)}.pdf-thumbnail .react-pdf__Page{margin:0 auto}.pdf-thumbnail .react-pdf__Page__canvas{display:block;width:100%!important;height:auto!important}.thumbnails-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.thumbnails-list{display:flex;flex-direction:column;gap:.5rem}.pdf-document-main{max-width:100%;max-height:calc(100vh - 100px);background:#fff;border-radius:.5rem;overflow:auto}.pdf-document-main .react-pdf__Document{display:flex;justify-content:center}.pdf-document-main .react-pdf__Page{margin:0 auto;box-shadow:0 4px 6px -1px #0000001a}.pdf-document-main .react-pdf__Page__canvas{display:block;max-width:100%;height:auto}.zoom-slider-container{position:fixed;bottom:1.5rem;right:1.5rem;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:.5rem;padding:.75rem 1rem;min-width:220px;box-shadow:0 10px 15px -3px #0000001a;z-index:50}.pdf-document-main .react-pdf__Page{transition:transform .3s ease-in-out}.pdf-loading{display:flex;align-items:center;justify-content:center;min-height:400px;color:hsl(var(--muted-foreground))}.pdf-sidebar::-webkit-scrollbar{width:6px}.pdf-sidebar::-webkit-scrollbar-track{background:transparent}.pdf-sidebar::-webkit-scrollbar-thumb{background:hsl(var(--muted-foreground) / .3);border-radius:3px}.pdf-sidebar::-webkit-scrollbar-thumb:hover{background:hsl(var(--muted-foreground) / .5)}@media (max-width: 768px){.pdf-sidebar{width:180px}.thumbnails-grid{grid-template-columns:1fr}.zoom-slider-container{min-width:180px;bottom:1rem;right:1rem}}.editor-content{font-family:Arial,sans-serif;font-size:16px;line-height:1.6;color:hsl(var(--foreground))}.editor-content h1{font-size:2em;font-weight:700;margin-top:.67em;margin-bottom:.67em}.editor-content h2{font-size:1.5em;font-weight:700;margin-top:.83em;margin-bottom:.83em}.editor-content h3{font-size:1.17em;font-weight:700;margin-top:1em;margin-bottom:1em}.editor-content h4{font-size:1em;font-weight:700;margin-top:1.33em;margin-bottom:1.33em}.editor-content h5{font-size:.83em;font-weight:700;margin-top:1.67em;margin-bottom:1.67em}.editor-content h6{font-size:.67em;font-weight:700;margin-top:2.33em;margin-bottom:2.33em}.editor-content p{margin-top:1em;margin-bottom:1em}.editor-content ul,.editor-content ol{padding-left:2em;margin-top:1em;margin-bottom:1em;list-style-position:outside}.editor-content ul{list-style-type:disc}.editor-content ol{list-style-type:decimal}.editor-content ul ul{list-style-type:circle}.editor-content ul ul ul{list-style-type:square}.editor-content li{margin-top:.25em;margin-bottom:.25em;display:list-item}.editor-content li p{margin:0}.editor-content strong{font-weight:700}.editor-content em{font-style:italic}.editor-content u{text-decoration:underline}.editor-content code{background-color:hsl(var(--muted));color:hsl(var(--foreground));padding:.2rem .4rem;border-radius:.25rem;font-family:JetBrains Mono,Fira Code,Courier New,Courier,monospace;font-size:.85em;box-decoration-break:clone;-webkit-box-decoration-break:clone}.editor-content pre{background:hsl(var(--muted));color:hsl(var(--foreground));font-family:JetBrains Mono,Fira Code,Courier New,Courier,monospace;padding:.75rem 1rem;border-radius:.5rem;margin:1rem 0;overflow-x:auto}.editor-content pre code{background:none;color:inherit;padding:0;font-size:.85em}.editor-content s{text-decoration:line-through}.editor-content hr{border:none;border-top:2px solid hsl(var(--border));margin:2em 0}.editor-link{color:hsl(var(--primary));text-decoration:underline;cursor:pointer}.editor-link:hover{color:hsl(var(--primary) / .8)}.ProseMirror table,.editor-content table,.editor-table{border-collapse:collapse;width:100%;table-layout:fixed;margin:1em 0;overflow:hidden;border:2px solid #ccc;border-color:hsl(var(--border));background-color:hsl(var(--background));display:table}.ProseMirror td,.ProseMirror th,.editor-content td,.editor-content th,.editor-table td,.editor-table th{border:1px solid #ccc;border-color:hsl(var(--border));padding:8px 12px;position:relative;vertical-align:top;box-sizing:border-box;min-width:50px;min-height:40px;height:40px}.ProseMirror td:empty:before,.ProseMirror th:empty:before,.editor-content td:empty:before,.editor-content th:empty:before,.editor-table td:empty:before,.editor-table th:empty:before{content:" "}.ProseMirror td:hover,.editor-content td:hover,.editor-table td:hover{background-color:hsl(var(--accent) / .1)}.ProseMirror th,.editor-content th,.editor-table th{background-color:hsl(var(--muted));font-weight:700;text-align:left;border-bottom:2px solid hsl(var(--border))}.editor-table .selectedCell{background-color:hsl(var(--accent) / .3)}.ProseMirror .column-resize-handle,.editor-content .column-resize-handle,.editor-table .column-resize-handle{position:absolute;right:-2px;top:0;bottom:-1px;width:4px;background-color:transparent;cursor:col-resize;pointer-events:all;z-index:10;transition:background-color .2s}.ProseMirror .column-resize-handle:hover,.editor-content .column-resize-handle:hover,.editor-table .column-resize-handle:hover{background-color:hsl(var(--primary) / .5)}.ProseMirror .selectedCell .column-resize-handle,.editor-content .selectedCell .column-resize-handle,.editor-table .selectedCell .column-resize-handle{background-color:hsl(var(--primary))}.editor-content p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:hsl(var(--muted-foreground));pointer-events:none;height:0}.ProseMirror-selectednode{outline:2px solid hsl(var(--primary))}.ProseMirror:focus{outline:none}.editor-content mark{background-color:#ff0;padding:0 .2em;border-radius:.2em}.page-container{page-break-after:always;-moz-column-break-after:page;break-after:page;position:relative;min-height:1300px!important;overflow:visible;background-image:linear-gradient(to bottom,transparent 1290px,hsl(var(--border)) 1290px,hsl(var(--border)) 1300px);background-size:100% 1300px;background-repeat:repeat-y}@media screen{.page-container{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.page-container:after{content:"";position:absolute;bottom:0;left:-72px;right:-72px;height:2px;background:linear-gradient(to right,transparent 0%,hsl(var(--border)) 10%,hsl(var(--border)) 90%,transparent 100%);pointer-events:none}}.editor-content img{max-width:100%;height:auto;display:block;margin:1em 0;border-radius:4px;cursor:pointer;transition:box-shadow .2s,transform .2s;position:relative}.editor-content img:hover{box-shadow:0 0 0 2px hsl(var(--border))}.editor-content img.ProseMirror-selectednode{outline:2px solid hsl(var(--primary));outline-offset:2px;position:relative}.editor-content img[data-rotation="90"]{transform:rotate(90deg)}.editor-content img[data-rotation="180"]{transform:rotate(180deg)}.editor-content img[data-rotation="270"]{transform:rotate(270deg)}.editor-content img[data-flip-h=true]{transform:scaleX(-1)}.editor-content img[data-flip-v=true]{transform:scaleY(-1)}.editor-content img[data-flip-h=true][data-rotation="90"]{transform:scaleX(-1) rotate(90deg)}.editor-content img[data-flip-h=true][data-rotation="180"]{transform:scaleX(-1) rotate(180deg)}.editor-content img[data-flip-h=true][data-rotation="270"]{transform:scaleX(-1) rotate(270deg)}.editor-content img[data-flip-v=true][data-rotation="90"]{transform:scaleY(-1) rotate(90deg)}.editor-content img[data-flip-v=true][data-rotation="180"]{transform:scaleY(-1) rotate(180deg)}.editor-content img[data-flip-v=true][data-rotation="270"]{transform:scaleY(-1) rotate(270deg)}.editor-content img[data-flip-h=true][data-flip-v=true]{transform:scale(-1)}.editor-content img[data-alignment=left]{margin-left:0;margin-right:auto}.editor-content img[data-alignment=center]{margin-left:auto;margin-right:auto}.editor-content img[data-alignment=right]{margin-left:auto;margin-right:0}.editor-content img[data-text-wrap=inline]{display:block;clear:both}.editor-content img[data-text-wrap=wrap]{float:left;margin-right:1.5em;margin-bottom:1em;margin-top:.5em}.editor-content img[data-text-wrap=break]{display:block;clear:both;margin:1em 0}.editor-content img[data-text-wrap=behind]{position:relative;z-index:-1;opacity:.3}.editor-content img[data-text-wrap=front]{position:relative;z-index:10}.editor-content img.ProseMirror-selectednode:before{content:"";position:absolute;top:-4px;left:-4px;right:-4px;bottom:-4px;border:2px dashed hsl(var(--primary));pointer-events:none;z-index:1}.editor-content img.ProseMirror-selectednode:after{content:"";position:absolute;right:-6px;bottom:-6px;width:12px;height:12px;background:hsl(var(--primary));border:2px solid white;border-radius:50%;cursor:nwse-resize;box-shadow:0 2px 4px #0003;z-index:2}.editor-content .selected-image{position:relative}.editor-content .selected-image:before{content:"";position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;border:2px dashed hsl(var(--primary));pointer-events:none}.editor-content img.ProseMirror-selectednode{cursor:move}.editor-content img.ProseMirror-selectednode:hover{cursor:nwse-resize}