@pksep/yui 0.1.132 → 0.1.135
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/components/Tabs/interface/interface.d.ts +1 -0
- package/dist/sep-yui.es.ts +487 -476
- package/dist/sep-yui.umd.ts +14 -14
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/sep-yui.es.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as te, computed as z, openBlock as R, createElementBlock as Y, normalizeStyle as on, unref as q, createElementVNode as K, reactive as ue, ref as P, onMounted as qe, normalizeClass as ke, toDisplayString as ze, createVNode as de, Fragment as Qe, renderList as pt, createCommentVNode as me, createTextVNode as Ni, createBlock as Le, withKeys as Lu, renderSlot as je, watch as G, toRef as
|
|
1
|
+
import { defineComponent as te, computed as z, openBlock as R, createElementBlock as Y, normalizeStyle as on, unref as q, createElementVNode as K, reactive as ue, ref as P, onMounted as qe, normalizeClass as ke, toDisplayString as ze, createVNode as de, Fragment as Qe, renderList as pt, createCommentVNode as me, createTextVNode as Ni, createBlock as Le, withKeys as Lu, renderSlot as je, watch as G, toRef as q4, readonly as it, customRef as Qr, isRef as Tt, getCurrentScope as ih, onScopeDispose as _g, toRefs as $s, nextTick as _t, onUnmounted as Pr, getCurrentInstance as Vi, shallowRef as Ue, isReadonly as Hs, watchEffect as Gt, toRaw as rh, h as Vt, withDirectives as tn, vShow as No, withCtx as Ee, withModifiers as jt, shallowReadonly as ys, onBeforeUnmount as Xa, mergeModels as zi, useModel as za, effectScope as G4, provide as K4, inject as Aa, onBeforeMount as JA, isReactive as ZA, onUpdated as Q4, shallowReactive as Fc, onBeforeUpdate as eE, TransitionGroup as tE, markRaw as J4, useAttrs as Z4, mergeProps as ah, vModelText as ol, vModelDynamic as nE, vModelCheckbox as iE, resolveDynamicComponent as rE, Transition as Pg, useId as oh, Teleport as e6, vModelRadio as aE, resolveComponent as Ac, useTemplateRef as wp } from "vue";
|
|
2
2
|
var At = /* @__PURE__ */ ((e) => (e.default = "default", e.lightBlue = "light-blue", e.blue = "blue", e.green = "green", e.red = "red", e.orange = "orange", e.pink = "pink", e.violet = "violet", e.yellow = "yellow", e.contrastBlue = "contrast-blue", e))(At || {}), ve = /* @__PURE__ */ ((e) => (e.notification = "notification", e.notificationYes = "notification-yes", e.help = "help", e.moonFill = "moon-fill", e.arrowLeft = "arrow-left", e.chevronDown = "chevron-down", e.chevronUp = "chevron-up", e.checkbox = "checkbox", e.chevronRight = "chevron-right", e.chevronLeft = "chevron-left", e.dark = "dark", e.deleteSmall = "delete-small", e.exitBig = "exit-big", e.exitSmall = "exit-small", e.exit = "exit", e.exitCircle = "exit-circle", e.externalLink = "external-link", e.leftBigSmall = "left-big-small", e.light = "light", e.leftBig = "left-big", e.rightSmall = "right-small", e.settings = "settings", e.settingsDark = "settings-dark", e.searchNormal = "search-normal", e.search = "search", e.filter = "filter", e.bgNotContent = "bg-not-content", e.document = "document", e.baseDetail = "base-detail", e.plusSmall = "plus-small", e.plus = "plus", e.addPlus = "add-plus", e.closeVision = "close-vision", e.openVision = "open-vision", e.trash = "trash", e.printer = "printer", e.uploadCloud = "upload-cloud", e.archive = "archive", e.menuClose = "menu-close", e.menuOpen = "menu-open", e.bookOpen = "book-open", e.chartLine = "chart-line", e.marriage = "marriage", e.baseOfAssemblyUnits = "base-of-assembly-units", e.equipmentBase = "equipment-base", e.supplierDatabase = "supplier-database", e.theDatabaseOfMaterials = "the-database-of-materials", e.theBaseOfTheTool = "the-base-of-the-tool", e.fileDatabase = "file-database", e.baseOfEquipmentAndInventory = "base-of-equipment-and-inventory", e.mainPage = "main-page", e.shopping = "shopping", e.shippingTasks = "shipping-tasks", e.warehouse = "warehouse", e.production = "production", e.wastes = "wastes", e.paperClip = "paper-clip", e.writeDowns = "write-downs", e.theComplaint = "the-complaint", e.usersGroup = "users-group", e.reports = "reports", e.editing = "editing", e.shadedArrowDown = "shaded-arrow-down", e.shadedArrowRight = "shaded-arrow-right", e.shadedArrowLeft = "shaded-arrow-left", e.shadedArrowUp = "shaded-arrow-up", e.star = "star", e.info = "info", e.files = "files", e.moreHorizontal = "more-horizontal", e.moreVertical = "more-vertical", e.fileText = "file-text", e.gitPullRequest = "git-pull-request", e.folder = "folder", e.crossLarge = "cross-large", e.crossSmall = "cross-small", e.profileIcon = "profile-icon", e.profile = "profile", e.rightBig = "right-big", e.alertTriangle = "alert-triangle", e.copy = "copy", e.action = "action", e.reset = "reset", e.move = "move", e.eye = "eye", e.eyeOff = "eye-off", e.handSignEmoji = "hand-sign-emoji", e.calendar = "calendar", e.paint = "paint", e.closeTag = "close-tag", e.arrowUp = "arrow-up", e.arrowDown = "arrow-down", e.openDocument = "open-document", e.time = "time", e.menuArchive = "menu-archive", e.baseProduct = "base-product", e.sidebar = "sidebar", e.pin = "pin", e.read = "read", e.atSign = "at-sign", e.smile = "smile", e.planeRight = "plane-right", e.addUser = "add-user", e.noDistrub = "no-distrub", e.logout = "logout", e.minus = "minus", e.keyboard = "keyboard", e.planeRightFill = "plane-right-fill", e.message = "message", e.darkThemeSwitcher = "dark-theme-switcher", e.qrCode = "qr-code", e))(ve || {});
|
|
3
3
|
const oE = {
|
|
4
4
|
name: "alert-triangle",
|
|
@@ -1602,7 +1602,7 @@ function r6(e) {
|
|
|
1602
1602
|
}
|
|
1603
1603
|
function lh(...e) {
|
|
1604
1604
|
if (e.length !== 1)
|
|
1605
|
-
return
|
|
1605
|
+
return q4(...e);
|
|
1606
1606
|
const t = e[0];
|
|
1607
1607
|
return typeof t == "function" ? it(Qr(() => ({ get: t, set: yt }))) : P(t);
|
|
1608
1608
|
}
|
|
@@ -5700,8 +5700,8 @@ let gr = class extends Cs {
|
|
|
5700
5700
|
return Io;
|
|
5701
5701
|
}
|
|
5702
5702
|
};
|
|
5703
|
-
var
|
|
5704
|
-
gr._$litElement$ = !0, gr.finalized = !0, (
|
|
5703
|
+
var U4;
|
|
5704
|
+
gr._$litElement$ = !0, gr.finalized = !0, (U4 = To.litElementHydrateSupport) == null || U4.call(To, { LitElement: gr });
|
|
5705
5705
|
const Sm = To.litElementPolyfillSupport;
|
|
5706
5706
|
Sm == null || Sm({ LitElement: gr });
|
|
5707
5707
|
(To.litElementVersions ?? (To.litElementVersions = [])).push("4.2.1");
|
|
@@ -7206,7 +7206,7 @@ var iO = `:host {
|
|
|
7206
7206
|
function Fb(e) {
|
|
7207
7207
|
return e !== null && typeof e == "object" && "getBoundingClientRect" in e && ("contextElement" in e ? e instanceof Element : !0);
|
|
7208
7208
|
}
|
|
7209
|
-
var
|
|
7209
|
+
var X4, oc = (X4 = globalThis == null ? void 0 : globalThis.HTMLElement) == null ? void 0 : X4.prototype.hasOwnProperty("popover"), ct = class extends Vu {
|
|
7210
7210
|
constructor() {
|
|
7211
7211
|
super(...arguments), this.localize = new eI(this), this.active = !1, this.placement = "top", this.boundary = "viewport", this.distance = 0, this.skidding = 0, this.arrow = !1, this.arrowPlacement = "anchor", this.arrowPadding = 10, this.flip = !1, this.flipFallbackPlacements = "", this.flipFallbackStrategy = "best-fit", this.flipPadding = 0, this.shift = !1, this.shiftPadding = 0, this.autoSizePadding = 0, this.hoverBridge = !1, this.updateHoverBridge = () => {
|
|
7212
7212
|
if (this.hoverBridge && this.anchorEl) {
|
|
@@ -38043,17 +38043,17 @@ const Xye = (e, t, n) => {
|
|
|
38043
38043
|
/^n/i,
|
|
38044
38044
|
/^d/i
|
|
38045
38045
|
]
|
|
38046
|
-
},
|
|
38046
|
+
}, e3e = {
|
|
38047
38047
|
narrow: /^[npusčc]/i,
|
|
38048
38048
|
short: /^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,
|
|
38049
38049
|
abbreviated: /^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,
|
|
38050
38050
|
wide: /^(nedelja|ponedeljak|utorak|sreda|(četvrtak|cetvrtak)|petak|subota)/i
|
|
38051
|
-
},
|
|
38051
|
+
}, t3e = {
|
|
38052
38052
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
38053
38053
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
38054
|
-
},
|
|
38054
|
+
}, n3e = {
|
|
38055
38055
|
any: /^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|posle podne|ujutru)/i
|
|
38056
|
-
},
|
|
38056
|
+
}, i3e = {
|
|
38057
38057
|
any: {
|
|
38058
38058
|
am: /^a/i,
|
|
38059
38059
|
pm: /^p/i,
|
|
@@ -38064,7 +38064,7 @@ const Xye = (e, t, n) => {
|
|
|
38064
38064
|
evening: /(uvece|uveče)/i,
|
|
38065
38065
|
night: /(nocu|noću)/i
|
|
38066
38066
|
}
|
|
38067
|
-
},
|
|
38067
|
+
}, r3e = {
|
|
38068
38068
|
ordinalNumber: he({
|
|
38069
38069
|
matchPattern: Uwe,
|
|
38070
38070
|
parsePattern: Xwe,
|
|
@@ -38090,29 +38090,29 @@ const Xye = (e, t, n) => {
|
|
|
38090
38090
|
defaultParseWidth: "any"
|
|
38091
38091
|
}),
|
|
38092
38092
|
day: A({
|
|
38093
|
-
matchPatterns:
|
|
38093
|
+
matchPatterns: e3e,
|
|
38094
38094
|
defaultMatchWidth: "wide",
|
|
38095
|
-
parsePatterns:
|
|
38095
|
+
parsePatterns: t3e,
|
|
38096
38096
|
defaultParseWidth: "any"
|
|
38097
38097
|
}),
|
|
38098
38098
|
dayPeriod: A({
|
|
38099
|
-
matchPatterns:
|
|
38099
|
+
matchPatterns: n3e,
|
|
38100
38100
|
defaultMatchWidth: "any",
|
|
38101
|
-
parsePatterns:
|
|
38101
|
+
parsePatterns: i3e,
|
|
38102
38102
|
defaultParseWidth: "any"
|
|
38103
38103
|
})
|
|
38104
|
-
},
|
|
38104
|
+
}, a3e = {
|
|
38105
38105
|
code: "sr-Latn",
|
|
38106
38106
|
formatDistance: Ewe,
|
|
38107
38107
|
formatLong: Wwe,
|
|
38108
38108
|
formatRelative: Owe,
|
|
38109
38109
|
localize: Ywe,
|
|
38110
|
-
match:
|
|
38110
|
+
match: r3e,
|
|
38111
38111
|
options: {
|
|
38112
38112
|
weekStartsOn: 1,
|
|
38113
38113
|
firstWeekContainsDate: 1
|
|
38114
38114
|
}
|
|
38115
|
-
},
|
|
38115
|
+
}, o3e = {
|
|
38116
38116
|
lessThanXSeconds: {
|
|
38117
38117
|
one: "mindre än en sekund",
|
|
38118
38118
|
other: "mindre än {{count}} sekunder"
|
|
@@ -38174,7 +38174,7 @@ const Xye = (e, t, n) => {
|
|
|
38174
38174
|
one: "nästan ett år",
|
|
38175
38175
|
other: "nästan {{count}} år"
|
|
38176
38176
|
}
|
|
38177
|
-
},
|
|
38177
|
+
}, s3e = [
|
|
38178
38178
|
"noll",
|
|
38179
38179
|
"en",
|
|
38180
38180
|
"två",
|
|
@@ -38188,57 +38188,57 @@ const Xye = (e, t, n) => {
|
|
|
38188
38188
|
"tio",
|
|
38189
38189
|
"elva",
|
|
38190
38190
|
"tolv"
|
|
38191
|
-
],
|
|
38191
|
+
], l3e = (e, t, n) => {
|
|
38192
38192
|
let i;
|
|
38193
|
-
const r =
|
|
38193
|
+
const r = o3e[e];
|
|
38194
38194
|
return typeof r == "string" ? i = r : t === 1 ? i = r.one : i = r.other.replace(
|
|
38195
38195
|
"{{count}}",
|
|
38196
|
-
t < 13 ?
|
|
38196
|
+
t < 13 ? s3e[t] : String(t)
|
|
38197
38197
|
), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "om " + i : i + " sedan" : i;
|
|
38198
|
-
},
|
|
38198
|
+
}, u3e = {
|
|
38199
38199
|
full: "EEEE d MMMM y",
|
|
38200
38200
|
long: "d MMMM y",
|
|
38201
38201
|
medium: "d MMM y",
|
|
38202
38202
|
short: "y-MM-dd"
|
|
38203
|
-
},
|
|
38203
|
+
}, d3e = {
|
|
38204
38204
|
full: "'kl'. HH:mm:ss zzzz",
|
|
38205
38205
|
long: "HH:mm:ss z",
|
|
38206
38206
|
medium: "HH:mm:ss",
|
|
38207
38207
|
short: "HH:mm"
|
|
38208
|
-
},
|
|
38208
|
+
}, c3e = {
|
|
38209
38209
|
full: "{{date}} 'kl.' {{time}}",
|
|
38210
38210
|
long: "{{date}} 'kl.' {{time}}",
|
|
38211
38211
|
medium: "{{date}} {{time}}",
|
|
38212
38212
|
short: "{{date}} {{time}}"
|
|
38213
|
-
},
|
|
38213
|
+
}, f3e = {
|
|
38214
38214
|
date: O({
|
|
38215
|
-
formats:
|
|
38215
|
+
formats: u3e,
|
|
38216
38216
|
defaultWidth: "full"
|
|
38217
38217
|
}),
|
|
38218
38218
|
time: O({
|
|
38219
|
-
formats:
|
|
38219
|
+
formats: d3e,
|
|
38220
38220
|
defaultWidth: "full"
|
|
38221
38221
|
}),
|
|
38222
38222
|
dateTime: O({
|
|
38223
|
-
formats:
|
|
38223
|
+
formats: c3e,
|
|
38224
38224
|
defaultWidth: "full"
|
|
38225
38225
|
})
|
|
38226
|
-
},
|
|
38226
|
+
}, h3e = {
|
|
38227
38227
|
lastWeek: "'i' EEEE's kl.' p",
|
|
38228
38228
|
yesterday: "'igår kl.' p",
|
|
38229
38229
|
today: "'idag kl.' p",
|
|
38230
38230
|
tomorrow: "'imorgon kl.' p",
|
|
38231
38231
|
nextWeek: "EEEE 'kl.' p",
|
|
38232
38232
|
other: "P"
|
|
38233
|
-
},
|
|
38233
|
+
}, m3e = (e, t, n, i) => h3e[e], p3e = {
|
|
38234
38234
|
narrow: ["f.Kr.", "e.Kr."],
|
|
38235
38235
|
abbreviated: ["f.Kr.", "e.Kr."],
|
|
38236
38236
|
wide: ["före Kristus", "efter Kristus"]
|
|
38237
|
-
},
|
|
38237
|
+
}, g3e = {
|
|
38238
38238
|
narrow: ["1", "2", "3", "4"],
|
|
38239
38239
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
38240
38240
|
wide: ["1:a kvartalet", "2:a kvartalet", "3:e kvartalet", "4:e kvartalet"]
|
|
38241
|
-
},
|
|
38241
|
+
}, v3e = {
|
|
38242
38242
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
38243
38243
|
abbreviated: [
|
|
38244
38244
|
"jan.",
|
|
@@ -38268,12 +38268,12 @@ const Xye = (e, t, n) => {
|
|
|
38268
38268
|
"november",
|
|
38269
38269
|
"december"
|
|
38270
38270
|
]
|
|
38271
|
-
},
|
|
38271
|
+
}, y3e = {
|
|
38272
38272
|
narrow: ["S", "M", "T", "O", "T", "F", "L"],
|
|
38273
38273
|
short: ["sö", "må", "ti", "on", "to", "fr", "lö"],
|
|
38274
38274
|
abbreviated: ["sön", "mån", "tis", "ons", "tors", "fre", "lör"],
|
|
38275
38275
|
wide: ["söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag"]
|
|
38276
|
-
},
|
|
38276
|
+
}, b3e = {
|
|
38277
38277
|
narrow: {
|
|
38278
38278
|
am: "fm",
|
|
38279
38279
|
pm: "em",
|
|
@@ -38304,7 +38304,7 @@ const Xye = (e, t, n) => {
|
|
|
38304
38304
|
evening: "kväll",
|
|
38305
38305
|
night: "natt"
|
|
38306
38306
|
}
|
|
38307
|
-
},
|
|
38307
|
+
}, w3e = {
|
|
38308
38308
|
narrow: {
|
|
38309
38309
|
am: "fm",
|
|
38310
38310
|
pm: "em",
|
|
@@ -38335,7 +38335,7 @@ const Xye = (e, t, n) => {
|
|
|
38335
38335
|
evening: "på kvällen",
|
|
38336
38336
|
night: "på natten"
|
|
38337
38337
|
}
|
|
38338
|
-
},
|
|
38338
|
+
}, k3e = (e, t) => {
|
|
38339
38339
|
const n = Number(e), i = n % 100;
|
|
38340
38340
|
if (i > 20 || i < 10)
|
|
38341
38341
|
switch (i % 10) {
|
|
@@ -38344,48 +38344,48 @@ const Xye = (e, t, n) => {
|
|
|
38344
38344
|
return n + ":a";
|
|
38345
38345
|
}
|
|
38346
38346
|
return n + ":e";
|
|
38347
|
-
},
|
|
38348
|
-
ordinalNumber:
|
|
38347
|
+
}, M3e = {
|
|
38348
|
+
ordinalNumber: k3e,
|
|
38349
38349
|
era: _({
|
|
38350
|
-
values:
|
|
38350
|
+
values: p3e,
|
|
38351
38351
|
defaultWidth: "wide"
|
|
38352
38352
|
}),
|
|
38353
38353
|
quarter: _({
|
|
38354
|
-
values:
|
|
38354
|
+
values: g3e,
|
|
38355
38355
|
defaultWidth: "wide",
|
|
38356
38356
|
argumentCallback: (e) => e - 1
|
|
38357
38357
|
}),
|
|
38358
38358
|
month: _({
|
|
38359
|
-
values:
|
|
38359
|
+
values: v3e,
|
|
38360
38360
|
defaultWidth: "wide"
|
|
38361
38361
|
}),
|
|
38362
38362
|
day: _({
|
|
38363
|
-
values:
|
|
38363
|
+
values: y3e,
|
|
38364
38364
|
defaultWidth: "wide"
|
|
38365
38365
|
}),
|
|
38366
38366
|
dayPeriod: _({
|
|
38367
|
-
values:
|
|
38367
|
+
values: b3e,
|
|
38368
38368
|
defaultWidth: "wide",
|
|
38369
|
-
formattingValues:
|
|
38369
|
+
formattingValues: w3e,
|
|
38370
38370
|
defaultFormattingWidth: "wide"
|
|
38371
38371
|
})
|
|
38372
|
-
},
|
|
38372
|
+
}, C3e = /^(\d+)(:a|:e)?/i, x3e = /\d+/i, S3e = {
|
|
38373
38373
|
narrow: /^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,
|
|
38374
38374
|
abbreviated: /^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,
|
|
38375
38375
|
wide: /^(före Kristus|före vår tid|efter Kristus|vår tid)/i
|
|
38376
|
-
},
|
|
38376
|
+
}, T3e = {
|
|
38377
38377
|
any: [/^f/i, /^[ev]/i]
|
|
38378
|
-
},
|
|
38378
|
+
}, _3e = {
|
|
38379
38379
|
narrow: /^[1234]/i,
|
|
38380
38380
|
abbreviated: /^q[1234]/i,
|
|
38381
38381
|
wide: /^[1234](:a|:e)? kvartalet/i
|
|
38382
|
-
},
|
|
38382
|
+
}, P3e = {
|
|
38383
38383
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
38384
|
-
},
|
|
38384
|
+
}, A3e = {
|
|
38385
38385
|
narrow: /^[jfmasond]/i,
|
|
38386
38386
|
abbreviated: /^(jan|feb|mar[s]?|apr|maj|jun[i]?|jul[i]?|aug|sep|okt|nov|dec)\.?/i,
|
|
38387
38387
|
wide: /^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|november|december)/i
|
|
38388
|
-
},
|
|
38388
|
+
}, E3e = {
|
|
38389
38389
|
narrow: [
|
|
38390
38390
|
/^j/i,
|
|
38391
38391
|
/^f/i,
|
|
@@ -38414,16 +38414,16 @@ const Xye = (e, t, n) => {
|
|
|
38414
38414
|
/^n/i,
|
|
38415
38415
|
/^d/i
|
|
38416
38416
|
]
|
|
38417
|
-
},
|
|
38417
|
+
}, D3e = {
|
|
38418
38418
|
narrow: /^[smtofl]/i,
|
|
38419
38419
|
short: /^(sö|må|ti|on|to|fr|lö)/i,
|
|
38420
38420
|
abbreviated: /^(sön|mån|tis|ons|tors|fre|lör)/i,
|
|
38421
38421
|
wide: /^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i
|
|
38422
|
-
},
|
|
38422
|
+
}, j3e = {
|
|
38423
38423
|
any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i]
|
|
38424
|
-
},
|
|
38424
|
+
}, N3e = {
|
|
38425
38425
|
any: /^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgonen|eftermiddagen|kvällen|natten))/i
|
|
38426
|
-
},
|
|
38426
|
+
}, W3e = {
|
|
38427
38427
|
any: {
|
|
38428
38428
|
am: /^f/i,
|
|
38429
38429
|
pm: /^e/i,
|
|
@@ -38434,59 +38434,59 @@ const Xye = (e, t, n) => {
|
|
|
38434
38434
|
evening: /kväll/i,
|
|
38435
38435
|
night: /natt/i
|
|
38436
38436
|
}
|
|
38437
|
-
},
|
|
38437
|
+
}, I3e = {
|
|
38438
38438
|
ordinalNumber: he({
|
|
38439
|
-
matchPattern:
|
|
38440
|
-
parsePattern:
|
|
38439
|
+
matchPattern: C3e,
|
|
38440
|
+
parsePattern: x3e,
|
|
38441
38441
|
valueCallback: (e) => parseInt(e, 10)
|
|
38442
38442
|
}),
|
|
38443
38443
|
era: A({
|
|
38444
|
-
matchPatterns:
|
|
38444
|
+
matchPatterns: S3e,
|
|
38445
38445
|
defaultMatchWidth: "wide",
|
|
38446
|
-
parsePatterns:
|
|
38446
|
+
parsePatterns: T3e,
|
|
38447
38447
|
defaultParseWidth: "any"
|
|
38448
38448
|
}),
|
|
38449
38449
|
quarter: A({
|
|
38450
|
-
matchPatterns:
|
|
38450
|
+
matchPatterns: _3e,
|
|
38451
38451
|
defaultMatchWidth: "wide",
|
|
38452
|
-
parsePatterns:
|
|
38452
|
+
parsePatterns: P3e,
|
|
38453
38453
|
defaultParseWidth: "any",
|
|
38454
38454
|
valueCallback: (e) => e + 1
|
|
38455
38455
|
}),
|
|
38456
38456
|
month: A({
|
|
38457
|
-
matchPatterns:
|
|
38457
|
+
matchPatterns: A3e,
|
|
38458
38458
|
defaultMatchWidth: "wide",
|
|
38459
|
-
parsePatterns:
|
|
38459
|
+
parsePatterns: E3e,
|
|
38460
38460
|
defaultParseWidth: "any"
|
|
38461
38461
|
}),
|
|
38462
38462
|
day: A({
|
|
38463
|
-
matchPatterns:
|
|
38463
|
+
matchPatterns: D3e,
|
|
38464
38464
|
defaultMatchWidth: "wide",
|
|
38465
|
-
parsePatterns:
|
|
38465
|
+
parsePatterns: j3e,
|
|
38466
38466
|
defaultParseWidth: "any"
|
|
38467
38467
|
}),
|
|
38468
38468
|
dayPeriod: A({
|
|
38469
|
-
matchPatterns:
|
|
38469
|
+
matchPatterns: N3e,
|
|
38470
38470
|
defaultMatchWidth: "any",
|
|
38471
|
-
parsePatterns:
|
|
38471
|
+
parsePatterns: W3e,
|
|
38472
38472
|
defaultParseWidth: "any"
|
|
38473
38473
|
})
|
|
38474
|
-
},
|
|
38474
|
+
}, O3e = {
|
|
38475
38475
|
code: "sv",
|
|
38476
|
-
formatDistance:
|
|
38477
|
-
formatLong:
|
|
38478
|
-
formatRelative:
|
|
38479
|
-
localize:
|
|
38480
|
-
match:
|
|
38476
|
+
formatDistance: l3e,
|
|
38477
|
+
formatLong: f3e,
|
|
38478
|
+
formatRelative: m3e,
|
|
38479
|
+
localize: M3e,
|
|
38480
|
+
match: I3e,
|
|
38481
38481
|
options: {
|
|
38482
38482
|
weekStartsOn: 1,
|
|
38483
38483
|
firstWeekContainsDate: 4
|
|
38484
38484
|
}
|
|
38485
38485
|
};
|
|
38486
|
-
function
|
|
38486
|
+
function L3e(e) {
|
|
38487
38487
|
return e.one !== void 0;
|
|
38488
38488
|
}
|
|
38489
|
-
const
|
|
38489
|
+
const z3e = {
|
|
38490
38490
|
lessThanXSeconds: {
|
|
38491
38491
|
one: {
|
|
38492
38492
|
default: "ஒரு வினாடிக்கு குறைவாக",
|
|
@@ -38672,51 +38672,51 @@ const z4e = {
|
|
|
38672
38672
|
ago: "கிட்டத்தட்ட {{count}} ஆண்டுகளுக்கு முன்பு"
|
|
38673
38673
|
}
|
|
38674
38674
|
}
|
|
38675
|
-
}, $
|
|
38676
|
-
const i = n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in" : "ago" : "default", r =
|
|
38677
|
-
return
|
|
38678
|
-
},
|
|
38675
|
+
}, $3e = (e, t, n) => {
|
|
38676
|
+
const i = n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in" : "ago" : "default", r = z3e[e];
|
|
38677
|
+
return L3e(r) ? t === 1 ? r.one[i] : r.other[i].replace("{{count}}", String(t)) : r[i];
|
|
38678
|
+
}, H3e = {
|
|
38679
38679
|
full: "EEEE, d MMMM, y",
|
|
38680
38680
|
long: "d MMMM, y",
|
|
38681
38681
|
medium: "d MMM, y",
|
|
38682
38682
|
short: "d/M/yy"
|
|
38683
|
-
},
|
|
38683
|
+
}, R3e = {
|
|
38684
38684
|
full: "a h:mm:ss zzzz",
|
|
38685
38685
|
long: "a h:mm:ss z",
|
|
38686
38686
|
medium: "a h:mm:ss",
|
|
38687
38687
|
short: "a h:mm"
|
|
38688
|
-
},
|
|
38688
|
+
}, B3e = {
|
|
38689
38689
|
full: "{{date}} {{time}}",
|
|
38690
38690
|
long: "{{date}} {{time}}",
|
|
38691
38691
|
medium: "{{date}}, {{time}}",
|
|
38692
38692
|
short: "{{date}}, {{time}}"
|
|
38693
|
-
},
|
|
38693
|
+
}, V3e = {
|
|
38694
38694
|
date: O({
|
|
38695
|
-
formats:
|
|
38695
|
+
formats: H3e,
|
|
38696
38696
|
defaultWidth: "full"
|
|
38697
38697
|
}),
|
|
38698
38698
|
time: O({
|
|
38699
|
-
formats:
|
|
38699
|
+
formats: R3e,
|
|
38700
38700
|
defaultWidth: "full"
|
|
38701
38701
|
}),
|
|
38702
38702
|
dateTime: O({
|
|
38703
|
-
formats:
|
|
38703
|
+
formats: B3e,
|
|
38704
38704
|
defaultWidth: "full"
|
|
38705
38705
|
})
|
|
38706
|
-
},
|
|
38706
|
+
}, F3e = {
|
|
38707
38707
|
lastWeek: "'கடந்த' eeee p 'மணிக்கு'",
|
|
38708
38708
|
yesterday: "'நேற்று ' p 'மணிக்கு'",
|
|
38709
38709
|
today: "'இன்று ' p 'மணிக்கு'",
|
|
38710
38710
|
tomorrow: "'நாளை ' p 'மணிக்கு'",
|
|
38711
38711
|
nextWeek: "eeee p 'மணிக்கு'",
|
|
38712
38712
|
other: "P"
|
|
38713
|
-
},
|
|
38713
|
+
}, Y3e = (e, t, n, i) => F3e[e], U3e = {
|
|
38714
38714
|
narrow: ["கி.மு.", "கி.பி."],
|
|
38715
38715
|
abbreviated: ["கி.மு.", "கி.பி."],
|
|
38716
38716
|
// CLDR #1624, #1626
|
|
38717
38717
|
wide: ["கிறிஸ்துவுக்கு முன்", "அன்னோ டோமினி"]
|
|
38718
38718
|
// CLDR #1620, #1622
|
|
38719
|
-
},
|
|
38719
|
+
}, X3e = {
|
|
38720
38720
|
// CLDR #1644 - #1647
|
|
38721
38721
|
narrow: ["1", "2", "3", "4"],
|
|
38722
38722
|
// CLDR #1636 - #1639
|
|
@@ -38728,7 +38728,7 @@ const z4e = {
|
|
|
38728
38728
|
"மூன்றாம் காலாண்டு",
|
|
38729
38729
|
"நான்காம் காலாண்டு"
|
|
38730
38730
|
]
|
|
38731
|
-
},
|
|
38731
|
+
}, q3e = {
|
|
38732
38732
|
// CLDR #700 - #711
|
|
38733
38733
|
narrow: ["ஜ", "பி", "மா", "ஏ", "மே", "ஜூ", "ஜூ", "ஆ", "செ", "அ", "ந", "டி"],
|
|
38734
38734
|
// CLDR #1676 - #1687
|
|
@@ -38773,7 +38773,7 @@ const z4e = {
|
|
|
38773
38773
|
"டிசம்பர்"
|
|
38774
38774
|
// December
|
|
38775
38775
|
]
|
|
38776
|
-
},
|
|
38776
|
+
}, G3e = {
|
|
38777
38777
|
// CLDR #1766 - #1772
|
|
38778
38778
|
narrow: ["ஞா", "தி", "செ", "பு", "வி", "வெ", "ச"],
|
|
38779
38779
|
// CLDR #1752 - #1758
|
|
@@ -38797,7 +38797,7 @@ const z4e = {
|
|
|
38797
38797
|
"சனி"
|
|
38798
38798
|
// Saturday
|
|
38799
38799
|
]
|
|
38800
|
-
},
|
|
38800
|
+
}, K3e = {
|
|
38801
38801
|
narrow: {
|
|
38802
38802
|
am: "மு.ப",
|
|
38803
38803
|
pm: "பி.ப",
|
|
@@ -38828,7 +38828,7 @@ const z4e = {
|
|
|
38828
38828
|
evening: "மாலை",
|
|
38829
38829
|
night: "இரவு"
|
|
38830
38830
|
}
|
|
38831
|
-
},
|
|
38831
|
+
}, Q3e = {
|
|
38832
38832
|
narrow: {
|
|
38833
38833
|
am: "மு.ப",
|
|
38834
38834
|
pm: "பி.ப",
|
|
@@ -38859,42 +38859,42 @@ const z4e = {
|
|
|
38859
38859
|
evening: "மாலை",
|
|
38860
38860
|
night: "இரவு"
|
|
38861
38861
|
}
|
|
38862
|
-
},
|
|
38863
|
-
ordinalNumber:
|
|
38862
|
+
}, J3e = (e, t) => String(e), Z3e = {
|
|
38863
|
+
ordinalNumber: J3e,
|
|
38864
38864
|
era: _({
|
|
38865
|
-
values:
|
|
38865
|
+
values: U3e,
|
|
38866
38866
|
defaultWidth: "wide"
|
|
38867
38867
|
}),
|
|
38868
38868
|
quarter: _({
|
|
38869
|
-
values:
|
|
38869
|
+
values: X3e,
|
|
38870
38870
|
defaultWidth: "wide",
|
|
38871
38871
|
argumentCallback: (e) => e - 1
|
|
38872
38872
|
}),
|
|
38873
38873
|
month: _({
|
|
38874
|
-
values:
|
|
38874
|
+
values: q3e,
|
|
38875
38875
|
defaultWidth: "wide"
|
|
38876
38876
|
}),
|
|
38877
38877
|
day: _({
|
|
38878
|
-
values:
|
|
38878
|
+
values: G3e,
|
|
38879
38879
|
defaultWidth: "wide"
|
|
38880
38880
|
}),
|
|
38881
38881
|
dayPeriod: _({
|
|
38882
|
-
values:
|
|
38882
|
+
values: K3e,
|
|
38883
38883
|
defaultWidth: "wide",
|
|
38884
|
-
formattingValues:
|
|
38884
|
+
formattingValues: Q3e,
|
|
38885
38885
|
defaultFormattingWidth: "wide"
|
|
38886
38886
|
})
|
|
38887
|
-
},
|
|
38887
|
+
}, e4e = /^(\d+)(வது)?/i, t4e = /\d+/i, n4e = {
|
|
38888
38888
|
narrow: /^(கி.மு.|கி.பி.)/i,
|
|
38889
38889
|
abbreviated: /^(கி\.?\s?மு\.?|கி\.?\s?பி\.?)/,
|
|
38890
38890
|
wide: /^(கிறிஸ்துவுக்கு\sமுன்|அன்னோ\sடோமினி)/i
|
|
38891
|
-
},
|
|
38891
|
+
}, i4e = {
|
|
38892
38892
|
any: [/கி\.?\s?மு\.?/, /கி\.?\s?பி\.?/]
|
|
38893
|
-
},
|
|
38893
|
+
}, r4e = {
|
|
38894
38894
|
narrow: /^[1234]/i,
|
|
38895
38895
|
abbreviated: /^காலா.[1234]/i,
|
|
38896
38896
|
wide: /^(ஒன்றாம்|இரண்டாம்|மூன்றாம்|நான்காம்) காலாண்டு/i
|
|
38897
|
-
},
|
|
38897
|
+
}, a4e = {
|
|
38898
38898
|
narrow: [/1/i, /2/i, /3/i, /4/i],
|
|
38899
38899
|
any: [
|
|
38900
38900
|
/(1|காலா.1|ஒன்றாம்)/i,
|
|
@@ -38902,11 +38902,11 @@ const z4e = {
|
|
|
38902
38902
|
/(3|காலா.3|மூன்றாம்)/i,
|
|
38903
38903
|
/(4|காலா.4|நான்காம்)/i
|
|
38904
38904
|
]
|
|
38905
|
-
},
|
|
38905
|
+
}, o4e = {
|
|
38906
38906
|
narrow: /^(ஜ|பி|மா|ஏ|மே|ஜூ|ஆ|செ|அ|ந|டி)$/i,
|
|
38907
38907
|
abbreviated: /^(ஜன.|பிப்.|மார்.|ஏப்.|மே|ஜூன்|ஜூலை|ஆக.|செப்.|அக்.|நவ.|டிச.)/i,
|
|
38908
38908
|
wide: /^(ஜனவரி|பிப்ரவரி|மார்ச்|ஏப்ரல்|மே|ஜூன்|ஜூலை|ஆகஸ்ட்|செப்டம்பர்|அக்டோபர்|நவம்பர்|டிசம்பர்)/i
|
|
38909
|
-
},
|
|
38909
|
+
}, s4e = {
|
|
38910
38910
|
narrow: [
|
|
38911
38911
|
/^ஜ$/i,
|
|
38912
38912
|
/^பி/i,
|
|
@@ -38935,18 +38935,18 @@ const z4e = {
|
|
|
38935
38935
|
/^ந/i,
|
|
38936
38936
|
/^டி/i
|
|
38937
38937
|
]
|
|
38938
|
-
},
|
|
38938
|
+
}, l4e = {
|
|
38939
38939
|
narrow: /^(ஞா|தி|செ|பு|வி|வெ|ச)/i,
|
|
38940
38940
|
short: /^(ஞா|தி|செ|பு|வி|வெ|ச)/i,
|
|
38941
38941
|
abbreviated: /^(ஞாயி.|திங்.|செவ்.|புத.|வியா.|வெள்.|சனி)/i,
|
|
38942
38942
|
wide: /^(ஞாயிறு|திங்கள்|செவ்வாய்|புதன்|வியாழன்|வெள்ளி|சனி)/i
|
|
38943
|
-
},
|
|
38943
|
+
}, u4e = {
|
|
38944
38944
|
narrow: [/^ஞா/i, /^தி/i, /^செ/i, /^பு/i, /^வி/i, /^வெ/i, /^ச/i],
|
|
38945
38945
|
any: [/^ஞா/i, /^தி/i, /^செ/i, /^பு/i, /^வி/i, /^வெ/i, /^ச/i]
|
|
38946
|
-
},
|
|
38946
|
+
}, d4e = {
|
|
38947
38947
|
narrow: /^(மு.ப|பி.ப|நள்|நண்|காலை|மதியம்|மாலை|இரவு)/i,
|
|
38948
38948
|
any: /^(மு.ப|பி.ப|முற்பகல்|பிற்பகல்|நள்ளிரவு|நண்பகல்|காலை|மதியம்|மாலை|இரவு)/i
|
|
38949
|
-
},
|
|
38949
|
+
}, c4e = {
|
|
38950
38950
|
any: {
|
|
38951
38951
|
am: /^மு/i,
|
|
38952
38952
|
pm: /^பி/i,
|
|
@@ -38957,50 +38957,50 @@ const z4e = {
|
|
|
38957
38957
|
evening: /மாலை/i,
|
|
38958
38958
|
night: /இரவு/i
|
|
38959
38959
|
}
|
|
38960
|
-
},
|
|
38960
|
+
}, f4e = {
|
|
38961
38961
|
ordinalNumber: he({
|
|
38962
|
-
matchPattern:
|
|
38963
|
-
parsePattern:
|
|
38962
|
+
matchPattern: e4e,
|
|
38963
|
+
parsePattern: t4e,
|
|
38964
38964
|
valueCallback: (e) => parseInt(e, 10)
|
|
38965
38965
|
}),
|
|
38966
38966
|
era: A({
|
|
38967
|
-
matchPatterns:
|
|
38967
|
+
matchPatterns: n4e,
|
|
38968
38968
|
defaultMatchWidth: "wide",
|
|
38969
|
-
parsePatterns:
|
|
38969
|
+
parsePatterns: i4e,
|
|
38970
38970
|
defaultParseWidth: "any"
|
|
38971
38971
|
}),
|
|
38972
38972
|
quarter: A({
|
|
38973
|
-
matchPatterns:
|
|
38973
|
+
matchPatterns: r4e,
|
|
38974
38974
|
defaultMatchWidth: "wide",
|
|
38975
|
-
parsePatterns:
|
|
38975
|
+
parsePatterns: a4e,
|
|
38976
38976
|
defaultParseWidth: "any",
|
|
38977
38977
|
valueCallback: (e) => e + 1
|
|
38978
38978
|
}),
|
|
38979
38979
|
month: A({
|
|
38980
|
-
matchPatterns:
|
|
38980
|
+
matchPatterns: o4e,
|
|
38981
38981
|
defaultMatchWidth: "wide",
|
|
38982
|
-
parsePatterns:
|
|
38982
|
+
parsePatterns: s4e,
|
|
38983
38983
|
defaultParseWidth: "any"
|
|
38984
38984
|
}),
|
|
38985
38985
|
day: A({
|
|
38986
|
-
matchPatterns:
|
|
38986
|
+
matchPatterns: l4e,
|
|
38987
38987
|
defaultMatchWidth: "wide",
|
|
38988
|
-
parsePatterns:
|
|
38988
|
+
parsePatterns: u4e,
|
|
38989
38989
|
defaultParseWidth: "any"
|
|
38990
38990
|
}),
|
|
38991
38991
|
dayPeriod: A({
|
|
38992
|
-
matchPatterns:
|
|
38992
|
+
matchPatterns: d4e,
|
|
38993
38993
|
defaultMatchWidth: "any",
|
|
38994
|
-
parsePatterns:
|
|
38994
|
+
parsePatterns: c4e,
|
|
38995
38995
|
defaultParseWidth: "any"
|
|
38996
38996
|
})
|
|
38997
|
-
},
|
|
38997
|
+
}, h4e = {
|
|
38998
38998
|
code: "ta",
|
|
38999
|
-
formatDistance: $
|
|
39000
|
-
formatLong:
|
|
39001
|
-
formatRelative:
|
|
39002
|
-
localize:
|
|
39003
|
-
match:
|
|
38999
|
+
formatDistance: $3e,
|
|
39000
|
+
formatLong: V3e,
|
|
39001
|
+
formatRelative: Y3e,
|
|
39002
|
+
localize: Z3e,
|
|
39003
|
+
match: f4e,
|
|
39004
39004
|
options: {
|
|
39005
39005
|
weekStartsOn: 1,
|
|
39006
39006
|
firstWeekContainsDate: 4
|
|
@@ -39167,39 +39167,39 @@ const z4e = {
|
|
|
39167
39167
|
other: "దాదాపు {{count}} సంవత్సరాల"
|
|
39168
39168
|
}
|
|
39169
39169
|
}
|
|
39170
|
-
},
|
|
39170
|
+
}, m4e = (e, t, n) => {
|
|
39171
39171
|
let i;
|
|
39172
39172
|
const r = n != null && n.addSuffix ? xw[e].withPreposition : xw[e].standalone;
|
|
39173
39173
|
return typeof r == "string" ? i = r : t === 1 ? i = r.one : i = r.other.replace("{{count}}", String(t)), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? i + "లో" : i + " క్రితం" : i;
|
|
39174
|
-
},
|
|
39174
|
+
}, p4e = {
|
|
39175
39175
|
full: "d, MMMM y, EEEE",
|
|
39176
39176
|
long: "d MMMM, y",
|
|
39177
39177
|
medium: "d MMM, y",
|
|
39178
39178
|
short: "dd-MM-yy"
|
|
39179
|
-
},
|
|
39179
|
+
}, g4e = {
|
|
39180
39180
|
full: "h:mm:ss a zzzz",
|
|
39181
39181
|
long: "h:mm:ss a z",
|
|
39182
39182
|
medium: "h:mm:ss a",
|
|
39183
39183
|
short: "h:mm a"
|
|
39184
|
-
},
|
|
39184
|
+
}, v4e = {
|
|
39185
39185
|
full: "{{date}} {{time}}'కి'",
|
|
39186
39186
|
long: "{{date}} {{time}}'కి'",
|
|
39187
39187
|
medium: "{{date}} {{time}}",
|
|
39188
39188
|
short: "{{date}} {{time}}"
|
|
39189
|
-
},
|
|
39189
|
+
}, y4e = {
|
|
39190
39190
|
date: O({
|
|
39191
|
-
formats:
|
|
39191
|
+
formats: p4e,
|
|
39192
39192
|
defaultWidth: "full"
|
|
39193
39193
|
}),
|
|
39194
39194
|
time: O({
|
|
39195
|
-
formats:
|
|
39195
|
+
formats: g4e,
|
|
39196
39196
|
defaultWidth: "full"
|
|
39197
39197
|
}),
|
|
39198
39198
|
dateTime: O({
|
|
39199
|
-
formats:
|
|
39199
|
+
formats: v4e,
|
|
39200
39200
|
defaultWidth: "full"
|
|
39201
39201
|
})
|
|
39202
|
-
},
|
|
39202
|
+
}, b4e = {
|
|
39203
39203
|
lastWeek: "'గత' eeee p",
|
|
39204
39204
|
// CLDR #1384
|
|
39205
39205
|
yesterday: "'నిన్న' p",
|
|
@@ -39211,15 +39211,15 @@ const z4e = {
|
|
|
39211
39211
|
nextWeek: "'తదుపరి' eeee p",
|
|
39212
39212
|
// CLDR #1386
|
|
39213
39213
|
other: "P"
|
|
39214
|
-
},
|
|
39214
|
+
}, w4e = (e, t, n, i) => b4e[e], k4e = {
|
|
39215
39215
|
narrow: ["క్రీ.పూ.", "క్రీ.శ."],
|
|
39216
39216
|
abbreviated: ["క్రీ.పూ.", "క్రీ.శ."],
|
|
39217
39217
|
wide: ["క్రీస్తు పూర్వం", "క్రీస్తుశకం"]
|
|
39218
|
-
},
|
|
39218
|
+
}, M4e = {
|
|
39219
39219
|
narrow: ["1", "2", "3", "4"],
|
|
39220
39220
|
abbreviated: ["త్రై1", "త్రై2", "త్రై3", "త్రై4"],
|
|
39221
39221
|
wide: ["1వ త్రైమాసికం", "2వ త్రైమాసికం", "3వ త్రైమాసికం", "4వ త్రైమాసికం"]
|
|
39222
|
-
},
|
|
39222
|
+
}, C4e = {
|
|
39223
39223
|
narrow: ["జ", "ఫి", "మా", "ఏ", "మే", "జూ", "జు", "ఆ", "సె", "అ", "న", "డి"],
|
|
39224
39224
|
abbreviated: [
|
|
39225
39225
|
"జన",
|
|
@@ -39249,7 +39249,7 @@ const z4e = {
|
|
|
39249
39249
|
"నవంబర్",
|
|
39250
39250
|
"డిసెంబర్"
|
|
39251
39251
|
]
|
|
39252
|
-
},
|
|
39252
|
+
}, x4e = {
|
|
39253
39253
|
narrow: ["ఆ", "సో", "మ", "బు", "గు", "శు", "శ"],
|
|
39254
39254
|
short: ["ఆది", "సోమ", "మంగళ", "బుధ", "గురు", "శుక్ర", "శని"],
|
|
39255
39255
|
abbreviated: ["ఆది", "సోమ", "మంగళ", "బుధ", "గురు", "శుక్ర", "శని"],
|
|
@@ -39262,7 +39262,7 @@ const z4e = {
|
|
|
39262
39262
|
"శుక్రవారం",
|
|
39263
39263
|
"శనివారం"
|
|
39264
39264
|
]
|
|
39265
|
-
},
|
|
39265
|
+
}, S4e = {
|
|
39266
39266
|
narrow: {
|
|
39267
39267
|
am: "పూర్వాహ్నం",
|
|
39268
39268
|
pm: "అపరాహ్నం",
|
|
@@ -39293,7 +39293,7 @@ const z4e = {
|
|
|
39293
39293
|
evening: "సాయంత్రం",
|
|
39294
39294
|
night: "రాత్రి"
|
|
39295
39295
|
}
|
|
39296
|
-
},
|
|
39296
|
+
}, T4e = {
|
|
39297
39297
|
narrow: {
|
|
39298
39298
|
am: "పూర్వాహ్నం",
|
|
39299
39299
|
pm: "అపరాహ్నం",
|
|
@@ -39324,48 +39324,48 @@ const z4e = {
|
|
|
39324
39324
|
evening: "సాయంత్రం",
|
|
39325
39325
|
night: "రాత్రి"
|
|
39326
39326
|
}
|
|
39327
|
-
},
|
|
39328
|
-
ordinalNumber:
|
|
39327
|
+
}, _4e = (e, t) => Number(e) + "వ", P4e = {
|
|
39328
|
+
ordinalNumber: _4e,
|
|
39329
39329
|
era: _({
|
|
39330
|
-
values:
|
|
39330
|
+
values: k4e,
|
|
39331
39331
|
defaultWidth: "wide"
|
|
39332
39332
|
}),
|
|
39333
39333
|
quarter: _({
|
|
39334
|
-
values:
|
|
39334
|
+
values: M4e,
|
|
39335
39335
|
defaultWidth: "wide",
|
|
39336
39336
|
argumentCallback: (e) => e - 1
|
|
39337
39337
|
}),
|
|
39338
39338
|
month: _({
|
|
39339
|
-
values:
|
|
39339
|
+
values: C4e,
|
|
39340
39340
|
defaultWidth: "wide"
|
|
39341
39341
|
}),
|
|
39342
39342
|
day: _({
|
|
39343
|
-
values:
|
|
39343
|
+
values: x4e,
|
|
39344
39344
|
defaultWidth: "wide"
|
|
39345
39345
|
}),
|
|
39346
39346
|
dayPeriod: _({
|
|
39347
|
-
values:
|
|
39347
|
+
values: S4e,
|
|
39348
39348
|
defaultWidth: "wide",
|
|
39349
|
-
formattingValues:
|
|
39349
|
+
formattingValues: T4e,
|
|
39350
39350
|
defaultFormattingWidth: "wide"
|
|
39351
39351
|
})
|
|
39352
|
-
},
|
|
39352
|
+
}, A4e = /^(\d+)(వ)?/i, E4e = /\d+/i, D4e = {
|
|
39353
39353
|
narrow: /^(క్రీ\.పూ\.|క్రీ\.శ\.)/i,
|
|
39354
39354
|
abbreviated: /^(క్రీ\.?\s?పూ\.?|ప్ర\.?\s?శ\.?\s?పూ\.?|క్రీ\.?\s?శ\.?|సా\.?\s?శ\.?)/i,
|
|
39355
39355
|
wide: /^(క్రీస్తు పూర్వం|ప్రస్తుత శకానికి పూర్వం|క్రీస్తు శకం|ప్రస్తుత శకం)/i
|
|
39356
|
-
},
|
|
39356
|
+
}, j4e = {
|
|
39357
39357
|
any: [/^(పూ|శ)/i, /^సా/i]
|
|
39358
|
-
},
|
|
39358
|
+
}, N4e = {
|
|
39359
39359
|
narrow: /^[1234]/i,
|
|
39360
39360
|
abbreviated: /^త్రై[1234]/i,
|
|
39361
39361
|
wide: /^[1234](వ)? త్రైమాసికం/i
|
|
39362
|
-
},
|
|
39362
|
+
}, W4e = {
|
|
39363
39363
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
39364
|
-
},
|
|
39364
|
+
}, I4e = {
|
|
39365
39365
|
narrow: /^(జూ|జు|జ|ఫి|మా|ఏ|మే|ఆ|సె|అ|న|డి)/i,
|
|
39366
39366
|
abbreviated: /^(జన|ఫిబ్ర|మార్చి|ఏప్రి|మే|జూన్|జులై|ఆగ|సెప్|అక్టో|నవ|డిసె)/i,
|
|
39367
39367
|
wide: /^(జనవరి|ఫిబ్రవరి|మార్చి|ఏప్రిల్|మే|జూన్|జులై|ఆగస్టు|సెప్టెంబర్|అక్టోబర్|నవంబర్|డిసెంబర్)/i
|
|
39368
|
-
},
|
|
39368
|
+
}, O4e = {
|
|
39369
39369
|
narrow: [
|
|
39370
39370
|
/^జ/i,
|
|
39371
39371
|
/^ఫి/i,
|
|
@@ -39394,18 +39394,18 @@ const z4e = {
|
|
|
39394
39394
|
/^న/i,
|
|
39395
39395
|
/^డి/i
|
|
39396
39396
|
]
|
|
39397
|
-
},
|
|
39397
|
+
}, L4e = {
|
|
39398
39398
|
narrow: /^(ఆ|సో|మ|బు|గు|శు|శ)/i,
|
|
39399
39399
|
short: /^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,
|
|
39400
39400
|
abbreviated: /^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,
|
|
39401
39401
|
wide: /^(ఆదివారం|సోమవారం|మంగళవారం|బుధవారం|గురువారం|శుక్రవారం|శనివారం)/i
|
|
39402
|
-
},
|
|
39402
|
+
}, z4e = {
|
|
39403
39403
|
narrow: [/^ఆ/i, /^సో/i, /^మ/i, /^బు/i, /^గు/i, /^శు/i, /^శ/i],
|
|
39404
39404
|
any: [/^ఆది/i, /^సోమ/i, /^మం/i, /^బుధ/i, /^గురు/i, /^శుక్ర/i, /^శని/i]
|
|
39405
|
-
}, $
|
|
39405
|
+
}, $4e = {
|
|
39406
39406
|
narrow: /^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i,
|
|
39407
39407
|
any: /^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i
|
|
39408
|
-
},
|
|
39408
|
+
}, H4e = {
|
|
39409
39409
|
any: {
|
|
39410
39410
|
am: /^పూర్వాహ్నం/i,
|
|
39411
39411
|
pm: /^అపరాహ్నం/i,
|
|
@@ -39416,55 +39416,55 @@ const z4e = {
|
|
|
39416
39416
|
evening: /సాయంత్రం/i,
|
|
39417
39417
|
night: /రాత్రి/i
|
|
39418
39418
|
}
|
|
39419
|
-
},
|
|
39419
|
+
}, R4e = {
|
|
39420
39420
|
ordinalNumber: he({
|
|
39421
|
-
matchPattern:
|
|
39422
|
-
parsePattern:
|
|
39421
|
+
matchPattern: A4e,
|
|
39422
|
+
parsePattern: E4e,
|
|
39423
39423
|
valueCallback: (e) => parseInt(e, 10)
|
|
39424
39424
|
}),
|
|
39425
39425
|
era: A({
|
|
39426
|
-
matchPatterns:
|
|
39426
|
+
matchPatterns: D4e,
|
|
39427
39427
|
defaultMatchWidth: "wide",
|
|
39428
|
-
parsePatterns:
|
|
39428
|
+
parsePatterns: j4e,
|
|
39429
39429
|
defaultParseWidth: "any"
|
|
39430
39430
|
}),
|
|
39431
39431
|
quarter: A({
|
|
39432
|
-
matchPatterns:
|
|
39432
|
+
matchPatterns: N4e,
|
|
39433
39433
|
defaultMatchWidth: "wide",
|
|
39434
|
-
parsePatterns:
|
|
39434
|
+
parsePatterns: W4e,
|
|
39435
39435
|
defaultParseWidth: "any",
|
|
39436
39436
|
valueCallback: (e) => e + 1
|
|
39437
39437
|
}),
|
|
39438
39438
|
month: A({
|
|
39439
|
-
matchPatterns:
|
|
39439
|
+
matchPatterns: I4e,
|
|
39440
39440
|
defaultMatchWidth: "wide",
|
|
39441
|
-
parsePatterns:
|
|
39441
|
+
parsePatterns: O4e,
|
|
39442
39442
|
defaultParseWidth: "any"
|
|
39443
39443
|
}),
|
|
39444
39444
|
day: A({
|
|
39445
|
-
matchPatterns:
|
|
39445
|
+
matchPatterns: L4e,
|
|
39446
39446
|
defaultMatchWidth: "wide",
|
|
39447
|
-
parsePatterns:
|
|
39447
|
+
parsePatterns: z4e,
|
|
39448
39448
|
defaultParseWidth: "any"
|
|
39449
39449
|
}),
|
|
39450
39450
|
dayPeriod: A({
|
|
39451
|
-
matchPatterns: $
|
|
39451
|
+
matchPatterns: $4e,
|
|
39452
39452
|
defaultMatchWidth: "any",
|
|
39453
|
-
parsePatterns:
|
|
39453
|
+
parsePatterns: H4e,
|
|
39454
39454
|
defaultParseWidth: "any"
|
|
39455
39455
|
})
|
|
39456
|
-
},
|
|
39456
|
+
}, B4e = {
|
|
39457
39457
|
code: "te",
|
|
39458
|
-
formatDistance:
|
|
39459
|
-
formatLong:
|
|
39460
|
-
formatRelative:
|
|
39461
|
-
localize:
|
|
39462
|
-
match:
|
|
39458
|
+
formatDistance: m4e,
|
|
39459
|
+
formatLong: y4e,
|
|
39460
|
+
formatRelative: w4e,
|
|
39461
|
+
localize: P4e,
|
|
39462
|
+
match: R4e,
|
|
39463
39463
|
options: {
|
|
39464
39464
|
weekStartsOn: 0,
|
|
39465
39465
|
firstWeekContainsDate: 1
|
|
39466
39466
|
}
|
|
39467
|
-
},
|
|
39467
|
+
}, V4e = {
|
|
39468
39468
|
lessThanXSeconds: {
|
|
39469
39469
|
one: "น้อยกว่า 1 วินาที",
|
|
39470
39470
|
other: "น้อยกว่า {{count}} วินาที"
|
|
@@ -39526,54 +39526,54 @@ const z4e = {
|
|
|
39526
39526
|
one: "เกือบ 1 ปี",
|
|
39527
39527
|
other: "เกือบ {{count}} ปี"
|
|
39528
39528
|
}
|
|
39529
|
-
},
|
|
39529
|
+
}, F4e = (e, t, n) => {
|
|
39530
39530
|
let i;
|
|
39531
|
-
const r =
|
|
39531
|
+
const r = V4e[e];
|
|
39532
39532
|
return typeof r == "string" ? i = r : t === 1 ? i = r.one : i = r.other.replace("{{count}}", String(t)), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? e === "halfAMinute" ? "ใน" + i : "ใน " + i : i + "ที่ผ่านมา" : i;
|
|
39533
|
-
},
|
|
39533
|
+
}, Y4e = {
|
|
39534
39534
|
full: "วันEEEEที่ do MMMM y",
|
|
39535
39535
|
long: "do MMMM y",
|
|
39536
39536
|
medium: "d MMM y",
|
|
39537
39537
|
short: "dd/MM/yyyy"
|
|
39538
|
-
},
|
|
39538
|
+
}, U4e = {
|
|
39539
39539
|
full: "H:mm:ss น. zzzz",
|
|
39540
39540
|
long: "H:mm:ss น. z",
|
|
39541
39541
|
medium: "H:mm:ss น.",
|
|
39542
39542
|
short: "H:mm น."
|
|
39543
|
-
},
|
|
39543
|
+
}, X4e = {
|
|
39544
39544
|
full: "{{date}} 'เวลา' {{time}}",
|
|
39545
39545
|
long: "{{date}} 'เวลา' {{time}}",
|
|
39546
39546
|
medium: "{{date}}, {{time}}",
|
|
39547
39547
|
short: "{{date}}, {{time}}"
|
|
39548
|
-
},
|
|
39548
|
+
}, q4e = {
|
|
39549
39549
|
date: O({
|
|
39550
|
-
formats:
|
|
39550
|
+
formats: Y4e,
|
|
39551
39551
|
defaultWidth: "full"
|
|
39552
39552
|
}),
|
|
39553
39553
|
time: O({
|
|
39554
|
-
formats:
|
|
39554
|
+
formats: U4e,
|
|
39555
39555
|
defaultWidth: "medium"
|
|
39556
39556
|
}),
|
|
39557
39557
|
dateTime: O({
|
|
39558
|
-
formats:
|
|
39558
|
+
formats: X4e,
|
|
39559
39559
|
defaultWidth: "full"
|
|
39560
39560
|
})
|
|
39561
|
-
},
|
|
39561
|
+
}, G4e = {
|
|
39562
39562
|
lastWeek: "eeee'ที่แล้วเวลา' p",
|
|
39563
39563
|
yesterday: "'เมื่อวานนี้เวลา' p",
|
|
39564
39564
|
today: "'วันนี้เวลา' p",
|
|
39565
39565
|
tomorrow: "'พรุ่งนี้เวลา' p",
|
|
39566
39566
|
nextWeek: "eeee 'เวลา' p",
|
|
39567
39567
|
other: "P"
|
|
39568
|
-
},
|
|
39568
|
+
}, K4e = (e, t, n, i) => G4e[e], Q4e = {
|
|
39569
39569
|
narrow: ["B", "คศ"],
|
|
39570
39570
|
abbreviated: ["BC", "ค.ศ."],
|
|
39571
39571
|
wide: ["ปีก่อนคริสตกาล", "คริสต์ศักราช"]
|
|
39572
|
-
},
|
|
39572
|
+
}, J4e = {
|
|
39573
39573
|
narrow: ["1", "2", "3", "4"],
|
|
39574
39574
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
39575
39575
|
wide: ["ไตรมาสแรก", "ไตรมาสที่สอง", "ไตรมาสที่สาม", "ไตรมาสที่สี่"]
|
|
39576
|
-
},
|
|
39576
|
+
}, Z4e = {
|
|
39577
39577
|
narrow: ["อา.", "จ.", "อ.", "พ.", "พฤ.", "ศ.", "ส."],
|
|
39578
39578
|
short: ["อา.", "จ.", "อ.", "พ.", "พฤ.", "ศ.", "ส."],
|
|
39579
39579
|
abbreviated: ["อา.", "จ.", "อ.", "พ.", "พฤ.", "ศ.", "ส."],
|
|
@@ -39686,11 +39686,11 @@ const z4e = {
|
|
|
39686
39686
|
}, i6e = (e, t) => String(e), r6e = {
|
|
39687
39687
|
ordinalNumber: i6e,
|
|
39688
39688
|
era: _({
|
|
39689
|
-
values:
|
|
39689
|
+
values: Q4e,
|
|
39690
39690
|
defaultWidth: "wide"
|
|
39691
39691
|
}),
|
|
39692
39692
|
quarter: _({
|
|
39693
|
-
values:
|
|
39693
|
+
values: J4e,
|
|
39694
39694
|
defaultWidth: "wide",
|
|
39695
39695
|
argumentCallback: (e) => e - 1
|
|
39696
39696
|
}),
|
|
@@ -39699,7 +39699,7 @@ const z4e = {
|
|
|
39699
39699
|
defaultWidth: "wide"
|
|
39700
39700
|
}),
|
|
39701
39701
|
day: _({
|
|
39702
|
-
values:
|
|
39702
|
+
values: Z4e,
|
|
39703
39703
|
defaultWidth: "wide"
|
|
39704
39704
|
}),
|
|
39705
39705
|
dayPeriod: _({
|
|
@@ -39813,9 +39813,9 @@ const z4e = {
|
|
|
39813
39813
|
})
|
|
39814
39814
|
}, y6e = {
|
|
39815
39815
|
code: "th",
|
|
39816
|
-
formatDistance:
|
|
39817
|
-
formatLong:
|
|
39818
|
-
formatRelative:
|
|
39816
|
+
formatDistance: F4e,
|
|
39817
|
+
formatLong: q4e,
|
|
39818
|
+
formatRelative: K4e,
|
|
39819
39819
|
localize: r6e,
|
|
39820
39820
|
match: v6e,
|
|
39821
39821
|
options: {
|
|
@@ -43452,10 +43452,10 @@ const QMe = {
|
|
|
43452
43452
|
sl: kbe,
|
|
43453
43453
|
sq: Qbe,
|
|
43454
43454
|
sr: Pwe,
|
|
43455
|
-
srLatn:
|
|
43456
|
-
sv:
|
|
43457
|
-
ta:
|
|
43458
|
-
te:
|
|
43455
|
+
srLatn: a3e,
|
|
43456
|
+
sv: O3e,
|
|
43457
|
+
ta: h4e,
|
|
43458
|
+
te: B4e,
|
|
43459
43459
|
th: y6e,
|
|
43460
43460
|
tr: q6e,
|
|
43461
43461
|
ug: x5e,
|
|
@@ -46364,7 +46364,7 @@ function zn() {
|
|
|
46364
46364
|
}
|
|
46365
46365
|
function lCe(e) {
|
|
46366
46366
|
let t = !1, n;
|
|
46367
|
-
const i =
|
|
46367
|
+
const i = G4(!0);
|
|
46368
46368
|
return (...r) => (t || (n = i.run(() => e(...r)), t = !0), n);
|
|
46369
46369
|
}
|
|
46370
46370
|
const Is = /* @__PURE__ */ new WeakMap(), B5 = (e, t) => {
|
|
@@ -46374,7 +46374,7 @@ const Is = /* @__PURE__ */ new WeakMap(), B5 = (e, t) => {
|
|
|
46374
46374
|
throw new Error("provideLocal must be called in setup");
|
|
46375
46375
|
Is.has(i) || Is.set(i, /* @__PURE__ */ Object.create(null));
|
|
46376
46376
|
const r = Is.get(i);
|
|
46377
|
-
r[e] = t,
|
|
46377
|
+
r[e] = t, K4(e, t);
|
|
46378
46378
|
}, V5 = (...e) => {
|
|
46379
46379
|
var t;
|
|
46380
46380
|
const n = e[0], i = (t = Vi()) == null ? void 0 : t.proxy;
|
|
@@ -46394,7 +46394,7 @@ function dCe(e) {
|
|
|
46394
46394
|
const r = () => {
|
|
46395
46395
|
t -= 1, i && t <= 0 && (i.stop(), n = void 0, i = void 0);
|
|
46396
46396
|
};
|
|
46397
|
-
return (...a) => (t += 1, i || (i =
|
|
46397
|
+
return (...a) => (t += 1, i || (i = G4(!0), n = i.run(() => e(...a))), et(r), n);
|
|
46398
46398
|
}
|
|
46399
46399
|
function F5(e, t, { enumerable: n = !1, unwrap: i = !0 } = {}) {
|
|
46400
46400
|
for (const [r, a] of Object.entries(t))
|
|
@@ -46613,7 +46613,7 @@ function Ku(e) {
|
|
|
46613
46613
|
}
|
|
46614
46614
|
function qt(...e) {
|
|
46615
46615
|
if (e.length !== 1)
|
|
46616
|
-
return
|
|
46616
|
+
return q4(...e);
|
|
46617
46617
|
const t = e[0];
|
|
46618
46618
|
return typeof t == "function" ? it(Qr(() => ({ get: t, set: lt }))) : P(t);
|
|
46619
46619
|
}
|
|
@@ -47667,7 +47667,7 @@ function jxe(e, t = null) {
|
|
|
47667
47667
|
set() {
|
|
47668
47668
|
}
|
|
47669
47669
|
}));
|
|
47670
|
-
return dn(i),
|
|
47670
|
+
return dn(i), Q4(i), r;
|
|
47671
47671
|
}
|
|
47672
47672
|
function uk() {
|
|
47673
47673
|
const e = P(!1), t = Vi();
|
|
@@ -48688,7 +48688,7 @@ function gk(e) {
|
|
|
48688
48688
|
() => null,
|
|
48689
48689
|
() => e ? Je(e) : t.proxy.$el
|
|
48690
48690
|
);
|
|
48691
|
-
return
|
|
48691
|
+
return Q4(n.trigger), qe(n.trigger), n;
|
|
48692
48692
|
}
|
|
48693
48693
|
function sSe(e, t) {
|
|
48694
48694
|
const n = Ue(d()), i = qt(e), r = z({
|
|
@@ -48773,7 +48773,7 @@ function yk(e, t = {}) {
|
|
|
48773
48773
|
setSource: a = uSe
|
|
48774
48774
|
} = t;
|
|
48775
48775
|
function o() {
|
|
48776
|
-
return
|
|
48776
|
+
return J4({
|
|
48777
48777
|
snapshot: i(e.value),
|
|
48778
48778
|
timestamp: Ro()
|
|
48779
48779
|
});
|
|
@@ -50874,15 +50874,15 @@ function kTe(e, t) {
|
|
|
50874
50874
|
{ flush: "sync" }
|
|
50875
50875
|
), it(n);
|
|
50876
50876
|
}
|
|
50877
|
-
const Qw = "--vueuse-safe-area-top", Jw = "--vueuse-safe-area-right", Zw = "--vueuse-safe-area-bottom",
|
|
50877
|
+
const Qw = "--vueuse-safe-area-top", Jw = "--vueuse-safe-area-right", Zw = "--vueuse-safe-area-bottom", e3 = "--vueuse-safe-area-left";
|
|
50878
50878
|
function MTe() {
|
|
50879
50879
|
const e = P(""), t = P(""), n = P(""), i = P("");
|
|
50880
50880
|
if (sn) {
|
|
50881
|
-
const a = Gl(Qw), o = Gl(Jw), s = Gl(Zw), l = Gl(
|
|
50881
|
+
const a = Gl(Qw), o = Gl(Jw), s = Gl(Zw), l = Gl(e3);
|
|
50882
50882
|
a.value = "env(safe-area-inset-top, 0px)", o.value = "env(safe-area-inset-right, 0px)", s.value = "env(safe-area-inset-bottom, 0px)", l.value = "env(safe-area-inset-left, 0px)", r(), ne("resize", Ch(r));
|
|
50883
50883
|
}
|
|
50884
50884
|
function r() {
|
|
50885
|
-
e.value = cc(Qw), t.value = cc(Jw), n.value = cc(Zw), i.value = cc(
|
|
50885
|
+
e.value = cc(Qw), t.value = cc(Jw), n.value = cc(Zw), i.value = cc(e3);
|
|
50886
50886
|
}
|
|
50887
50887
|
return {
|
|
50888
50888
|
top: e,
|
|
@@ -51566,7 +51566,7 @@ function ZTe([e, t, n, i]) {
|
|
|
51566
51566
|
};
|
|
51567
51567
|
return (c) => e === t && n === i ? c : s(d(c), t, i);
|
|
51568
51568
|
}
|
|
51569
|
-
function
|
|
51569
|
+
function t3(e, t, n) {
|
|
51570
51570
|
return e + n * (t - e);
|
|
51571
51571
|
}
|
|
51572
51572
|
function Vm(e) {
|
|
@@ -51583,10 +51583,10 @@ function Ik(e, t, n, i = {}) {
|
|
|
51583
51583
|
b();
|
|
51584
51584
|
return;
|
|
51585
51585
|
}
|
|
51586
|
-
const k = Date.now(), C = g((k - f) / c), x = Vm(e.value).map((S, j) =>
|
|
51586
|
+
const k = Date.now(), C = g((k - f) / c), x = Vm(e.value).map((S, j) => t3(l[j], d[j], C));
|
|
51587
51587
|
Array.isArray(e.value) ? e.value = x.map((S, j) => {
|
|
51588
51588
|
var T, W;
|
|
51589
|
-
return
|
|
51589
|
+
return t3((T = l[j]) != null ? T : 0, (W = d[j]) != null ? W : 0, C);
|
|
51590
51590
|
}) : typeof e.value == "number" && (e.value = x[0]), k < p ? requestAnimationFrame(w) : (e.value = s, b());
|
|
51591
51591
|
};
|
|
51592
51592
|
w();
|
|
@@ -52027,7 +52027,7 @@ function d_e(e = {}) {
|
|
|
52027
52027
|
onClose: g
|
|
52028
52028
|
};
|
|
52029
52029
|
}
|
|
52030
|
-
const
|
|
52030
|
+
const n3 = "ping";
|
|
52031
52031
|
function Fm(e) {
|
|
52032
52032
|
return e === !0 ? {} : e;
|
|
52033
52033
|
}
|
|
@@ -52073,7 +52073,7 @@ function c_e(e, t = {}) {
|
|
|
52073
52073
|
if (t.heartbeat) {
|
|
52074
52074
|
x();
|
|
52075
52075
|
const {
|
|
52076
|
-
message: L =
|
|
52076
|
+
message: L = n3,
|
|
52077
52077
|
responseMessage: B = L
|
|
52078
52078
|
} = Fm(t.heartbeat);
|
|
52079
52079
|
if (D.data === B)
|
|
@@ -52084,7 +52084,7 @@ function c_e(e, t = {}) {
|
|
|
52084
52084
|
};
|
|
52085
52085
|
if (t.heartbeat) {
|
|
52086
52086
|
const {
|
|
52087
|
-
message: $ =
|
|
52087
|
+
message: $ = n3,
|
|
52088
52088
|
interval: D = 1e3,
|
|
52089
52089
|
pongTimeout: L = 1e3
|
|
52090
52090
|
} = Fm(t.heartbeat), { pause: B, resume: J } = Qa(
|
|
@@ -52562,7 +52562,7 @@ const zBe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
52562
52562
|
},
|
|
52563
52563
|
emits: ["close"],
|
|
52564
52564
|
setup(e, { emit: t }) {
|
|
52565
|
-
const n = e, i = P(null), r =
|
|
52565
|
+
const n = e, i = P(null), r = Z4(), a = P(!1), o = z(() => ({
|
|
52566
52566
|
width: n.width,
|
|
52567
52567
|
height: n.height
|
|
52568
52568
|
})), s = t, l = () => {
|
|
@@ -57264,7 +57264,7 @@ const TPe = ["data-testid"], _Pe = ["data-testid"], PPe = ["data-testid"], APe =
|
|
|
57264
57264
|
], 8, IPe)
|
|
57265
57265
|
], 42, DPe));
|
|
57266
57266
|
}
|
|
57267
|
-
}), cf = /* @__PURE__ */ xe(zPe, [["__scopeId", "data-v-a0ba0155"]]),
|
|
57267
|
+
}), cf = /* @__PURE__ */ xe(zPe, [["__scopeId", "data-v-a0ba0155"]]), i3 = "data:image/svg+xml,%3csvg%20width='147'%20height='111'%20viewBox='0%200%20147%20111'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M132.938%2087.875C132.938%2090.3283%20131.871%2092.681%20129.973%2094.4157C128.074%2096.1504%20125.499%2097.125%20122.814%2097.125H31.6978C29.0128%2097.125%2026.4377%2096.1504%2024.5391%2094.4157C22.6405%2092.681%2021.5738%2090.3283%2021.5738%2087.875V37C21.5738%2034.5467%2022.6405%2032.194%2024.5391%2030.4593C26.4377%2028.7246%2029.0128%2027.75%2031.6978%2027.75H51.9459L62.0699%2013.875H92.4419L102.566%2027.75H122.814C125.499%2027.75%20128.074%2028.7246%20129.973%2030.4593C131.871%2032.194%20132.938%2034.5467%20132.938%2037V87.875Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M77.2559%2078.625C88.4386%2078.625%2097.5039%2070.3423%2097.5039%2060.125C97.5039%2049.9077%2088.4386%2041.625%2077.2559%2041.625C66.0732%2041.625%2057.0079%2049.9077%2057.0079%2060.125C57.0079%2070.3423%2066.0732%2078.625%2077.2559%2078.625Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15%2026L138.699%2097.4178'%20stroke='%23A6A3AD'%20stroke-width='10'%20stroke-linecap='round'/%3e%3c/svg%3e";
|
|
57268
57268
|
var D0 = /* @__PURE__ */ ((e) => (e.jpg = "jpg", e.png = "png", e.jpeg = "jpeg", e.webp = "webp", e.svg = "svg", e.pdf = "pdf", e))(D0 || {}), j0 = /* @__PURE__ */ ((e) => (e.mp4 = "mp4", e.mp3 = "mp3", e.avif = "avif", e))(j0 || {});
|
|
57269
57269
|
const $Pe = ["data-testid"], HPe = ["data-testid"], RPe = ["disabled", "data-testid"], BPe = ["data-testid"], VPe = ["data-testid"], FPe = ["data-testid"], YPe = ["data-testid"], UPe = ["data-testid"], XPe = ["src", "data-testid"], qPe = ["data-testid"], GPe = ["src"], KPe = ["disabled", "data-testid"], hc = "slider-yui-kit__full-size", QPe = /* @__PURE__ */ te({
|
|
57270
57270
|
__name: "Slider",
|
|
@@ -57356,7 +57356,7 @@ const $Pe = ["data-testid"], HPe = ["data-testid"], RPe = ["disabled", "data-tes
|
|
|
57356
57356
|
"data-testid": `${n.dataTestid}-NoContent-Placeholder`
|
|
57357
57357
|
}, [
|
|
57358
57358
|
K("img", {
|
|
57359
|
-
src:
|
|
57359
|
+
src: i3,
|
|
57360
57360
|
alt: "",
|
|
57361
57361
|
width: "111px",
|
|
57362
57362
|
height: "111px",
|
|
@@ -57371,7 +57371,7 @@ const $Pe = ["data-testid"], HPe = ["data-testid"], RPe = ["disabled", "data-tes
|
|
|
57371
57371
|
"data-testid": `${n.dataTestid}-Invalid-Extension-Placeholder`
|
|
57372
57372
|
}, [
|
|
57373
57373
|
k[2] || (k[2] = K("img", {
|
|
57374
|
-
src:
|
|
57374
|
+
src: i3,
|
|
57375
57375
|
alt: "",
|
|
57376
57376
|
width: "111px",
|
|
57377
57377
|
height: "111px"
|
|
@@ -57489,16 +57489,16 @@ function mc(e) {
|
|
|
57489
57489
|
var t = document.createElement("div");
|
|
57490
57490
|
return t.className = e, t;
|
|
57491
57491
|
}
|
|
57492
|
-
var
|
|
57492
|
+
var r3 = typeof Element < "u" && (Element.prototype.matches || Element.prototype.webkitMatchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector);
|
|
57493
57493
|
function Sa(e, t) {
|
|
57494
|
-
if (!
|
|
57494
|
+
if (!r3)
|
|
57495
57495
|
throw new Error("No element matching method supported");
|
|
57496
|
-
return
|
|
57496
|
+
return r3.call(e, t);
|
|
57497
57497
|
}
|
|
57498
57498
|
function Ds(e) {
|
|
57499
57499
|
e.remove ? e.remove() : e.parentNode && e.parentNode.removeChild(e);
|
|
57500
57500
|
}
|
|
57501
|
-
function
|
|
57501
|
+
function a3(e, t) {
|
|
57502
57502
|
return Array.prototype.filter.call(
|
|
57503
57503
|
e.children,
|
|
57504
57504
|
function(n) {
|
|
@@ -57651,27 +57651,27 @@ var Ss = {
|
|
|
57651
57651
|
};
|
|
57652
57652
|
function Kr(e) {
|
|
57653
57653
|
var t = e.element, n = Math.floor(t.scrollTop), i = t.getBoundingClientRect();
|
|
57654
|
-
e.containerWidth = Math.round(i.width), e.containerHeight = Math.round(i.height), e.contentWidth = t.scrollWidth, e.contentHeight = t.scrollHeight, t.contains(e.scrollbarXRail) || (
|
|
57654
|
+
e.containerWidth = Math.round(i.width), e.containerHeight = Math.round(i.height), e.contentWidth = t.scrollWidth, e.contentHeight = t.scrollHeight, t.contains(e.scrollbarXRail) || (a3(t, Yt.element.rail("x")).forEach(
|
|
57655
57655
|
function(r) {
|
|
57656
57656
|
return Ds(r);
|
|
57657
57657
|
}
|
|
57658
|
-
), t.appendChild(e.scrollbarXRail)), t.contains(e.scrollbarYRail) || (
|
|
57658
|
+
), t.appendChild(e.scrollbarXRail)), t.contains(e.scrollbarYRail) || (a3(t, Yt.element.rail("y")).forEach(
|
|
57659
57659
|
function(r) {
|
|
57660
57660
|
return Ds(r);
|
|
57661
57661
|
}
|
|
57662
|
-
), t.appendChild(e.scrollbarYRail)), !e.settings.suppressScrollX && e.containerWidth + e.settings.scrollXMarginOffset < e.contentWidth ? (e.scrollbarXActive = !0, e.railXWidth = e.containerWidth - e.railXMarginWidth, e.railXRatio = e.containerWidth / e.railXWidth, e.scrollbarXWidth =
|
|
57662
|
+
), t.appendChild(e.scrollbarYRail)), !e.settings.suppressScrollX && e.containerWidth + e.settings.scrollXMarginOffset < e.contentWidth ? (e.scrollbarXActive = !0, e.railXWidth = e.containerWidth - e.railXMarginWidth, e.railXRatio = e.containerWidth / e.railXWidth, e.scrollbarXWidth = o3(
|
|
57663
57663
|
e,
|
|
57664
57664
|
Et(e.railXWidth * e.containerWidth / e.contentWidth)
|
|
57665
57665
|
), e.scrollbarXLeft = Et(
|
|
57666
57666
|
(e.negativeScrollAdjustment + t.scrollLeft) * (e.railXWidth - e.scrollbarXWidth) / (e.contentWidth - e.containerWidth)
|
|
57667
|
-
)) : e.scrollbarXActive = !1, !e.settings.suppressScrollY && e.containerHeight + e.settings.scrollYMarginOffset < e.contentHeight ? (e.scrollbarYActive = !0, e.railYHeight = e.containerHeight - e.railYMarginHeight, e.railYRatio = e.containerHeight / e.railYHeight, e.scrollbarYHeight =
|
|
57667
|
+
)) : e.scrollbarXActive = !1, !e.settings.suppressScrollY && e.containerHeight + e.settings.scrollYMarginOffset < e.contentHeight ? (e.scrollbarYActive = !0, e.railYHeight = e.containerHeight - e.railYMarginHeight, e.railYRatio = e.containerHeight / e.railYHeight, e.scrollbarYHeight = o3(
|
|
57668
57668
|
e,
|
|
57669
57669
|
Et(e.railYHeight * e.containerHeight / e.contentHeight)
|
|
57670
57670
|
), e.scrollbarYTop = Et(
|
|
57671
57671
|
n * (e.railYHeight - e.scrollbarYHeight) / (e.contentHeight - e.containerHeight)
|
|
57672
57672
|
)) : e.scrollbarYActive = !1, e.scrollbarXLeft >= e.railXWidth - e.scrollbarXWidth && (e.scrollbarXLeft = e.railXWidth - e.scrollbarXWidth), e.scrollbarYTop >= e.railYHeight - e.scrollbarYHeight && (e.scrollbarYTop = e.railYHeight - e.scrollbarYHeight), uAe(t, e), e.scrollbarXActive ? t.classList.add(Yt.state.active("x")) : (t.classList.remove(Yt.state.active("x")), e.scrollbarXWidth = 0, e.scrollbarXLeft = 0, t.scrollLeft = e.isRtl === !0 ? e.contentWidth : 0), e.scrollbarYActive ? t.classList.add(Yt.state.active("y")) : (t.classList.remove(Yt.state.active("y")), e.scrollbarYHeight = 0, e.scrollbarYTop = 0, t.scrollTop = 0);
|
|
57673
57673
|
}
|
|
57674
|
-
function
|
|
57674
|
+
function o3(e, t) {
|
|
57675
57675
|
return e.settings.minScrollbarLength && (t = Math.max(t, e.settings.minScrollbarLength)), e.settings.maxScrollbarLength && (t = Math.min(t, e.settings.maxScrollbarLength)), t;
|
|
57676
57676
|
}
|
|
57677
57677
|
function uAe(e, t) {
|
|
@@ -57700,7 +57700,7 @@ function dAe(e) {
|
|
|
57700
57700
|
});
|
|
57701
57701
|
}
|
|
57702
57702
|
function cAe(e) {
|
|
57703
|
-
|
|
57703
|
+
s3(e, [
|
|
57704
57704
|
"containerWidth",
|
|
57705
57705
|
"contentWidth",
|
|
57706
57706
|
"pageX",
|
|
@@ -57710,7 +57710,7 @@ function cAe(e) {
|
|
|
57710
57710
|
"scrollLeft",
|
|
57711
57711
|
"x",
|
|
57712
57712
|
"scrollbarXRail"
|
|
57713
|
-
]),
|
|
57713
|
+
]), s3(e, [
|
|
57714
57714
|
"containerHeight",
|
|
57715
57715
|
"contentHeight",
|
|
57716
57716
|
"pageY",
|
|
@@ -57722,7 +57722,7 @@ function cAe(e) {
|
|
|
57722
57722
|
"scrollbarYRail"
|
|
57723
57723
|
]);
|
|
57724
57724
|
}
|
|
57725
|
-
function
|
|
57725
|
+
function s3(e, t) {
|
|
57726
57726
|
var n = t[0], i = t[1], r = t[2], a = t[3], o = t[4], s = t[5], l = t[6], d = t[7], c = t[8], f = e.element, p = null, m = null, g = null;
|
|
57727
57727
|
function b(k) {
|
|
57728
57728
|
k.touches && k.touches[0] && (k[r] = k.touches[0].pageY), f[l] = p + g * (k[r] - m), tM(e, d), Kr(e), k.stopPropagation(), k.type.startsWith("touch") && k.changedTouches.length > 1 && k.preventDefault();
|
|
@@ -58169,7 +58169,7 @@ const bAe = () => {
|
|
|
58169
58169
|
},
|
|
58170
58170
|
emits: ["close", "unmounted"],
|
|
58171
58171
|
setup(e, { expose: t, emit: n }) {
|
|
58172
|
-
const { lastOpenedModal: i, addOpenedModal: r, reduceOpenedModal: a } = bAe(), o = e, s = P(null), l =
|
|
58172
|
+
const { lastOpenedModal: i, addOpenedModal: r, reduceOpenedModal: a } = bAe(), o = e, s = P(null), l = Z4(), d = P(!1), c = z(() => ({
|
|
58173
58173
|
width: o.width,
|
|
58174
58174
|
height: o.height
|
|
58175
58175
|
})), f = n;
|
|
@@ -60023,7 +60023,7 @@ const fEe = ["id", "data-testid"], hEe = ["data-testid"], mEe = ["data-testid"],
|
|
|
60023
60023
|
], 8, lDe))), 128))
|
|
60024
60024
|
], 8, sDe));
|
|
60025
60025
|
}
|
|
60026
|
-
}),
|
|
60026
|
+
}), l3 = /* @__PURE__ */ xe(uDe, [["__scopeId", "data-v-65ba1506"]]), dDe = ["data-testid"], cDe = ["data-testid"], fDe = ["data-testid"], hDe = ["data-testid"], mDe = ["data-testid"], pDe = ["data-testid"], gDe = /* @__PURE__ */ te({
|
|
60027
60027
|
name: "BaseFilter",
|
|
60028
60028
|
__name: "BaseFilter",
|
|
60029
60029
|
props: /* @__PURE__ */ zi({
|
|
@@ -60151,7 +60151,7 @@ const fEe = ["id", "data-testid"], hEe = ["data-testid"], mEe = ["data-testid"],
|
|
|
60151
60151
|
class: "filter__values",
|
|
60152
60152
|
"data-testid": `${n.dataTestid}-Filter-Value`
|
|
60153
60153
|
}, [
|
|
60154
|
-
de(
|
|
60154
|
+
de(l3, {
|
|
60155
60155
|
"data-testid": `${n.dataTestid}-Filter-Value-MiniOptions`,
|
|
60156
60156
|
onClick: L[0] || (L[0] = jt(() => {
|
|
60157
60157
|
}, ["stop"])),
|
|
@@ -60173,7 +60173,7 @@ const fEe = ["id", "data-testid"], hEe = ["data-testid"], mEe = ["data-testid"],
|
|
|
60173
60173
|
class: "filter__values",
|
|
60174
60174
|
"data-testid": `${n.dataTestid}-Filter-Values`
|
|
60175
60175
|
}, [
|
|
60176
|
-
de(
|
|
60176
|
+
de(l3, {
|
|
60177
60177
|
onClick: L[1] || (L[1] = jt(() => {
|
|
60178
60178
|
}, ["stop"])),
|
|
60179
60179
|
options: p.value,
|
|
@@ -60670,6 +60670,7 @@ const fEe = ["id", "data-testid"], hEe = ["data-testid"], mEe = ["data-testid"],
|
|
|
60670
60670
|
name: "Tabs",
|
|
60671
60671
|
__name: "Tabs",
|
|
60672
60672
|
props: {
|
|
60673
|
+
defaultActiveTabId: {},
|
|
60673
60674
|
tabCount: {},
|
|
60674
60675
|
dataTestid: { default: "Tabs" }
|
|
60675
60676
|
},
|
|
@@ -60677,7 +60678,17 @@ const fEe = ["id", "data-testid"], hEe = ["data-testid"], mEe = ["data-testid"],
|
|
|
60677
60678
|
setup(e, { emit: t }) {
|
|
60678
60679
|
const n = e, i = t, r = ue({
|
|
60679
60680
|
activeTab: 1
|
|
60680
|
-
}), a = (s) => Array.from({ length: s }, (l, d) => d + 1)
|
|
60681
|
+
}), a = (s) => Array.from({ length: s }, (l, d) => d + 1);
|
|
60682
|
+
G(
|
|
60683
|
+
() => n.defaultActiveTabId,
|
|
60684
|
+
() => {
|
|
60685
|
+
n.defaultActiveTabId && (r.activeTab = n.defaultActiveTabId);
|
|
60686
|
+
},
|
|
60687
|
+
{
|
|
60688
|
+
immediate: !0
|
|
60689
|
+
}
|
|
60690
|
+
);
|
|
60691
|
+
const o = (s) => {
|
|
60681
60692
|
r.activeTab = s, i("unmount-tab", s);
|
|
60682
60693
|
};
|
|
60683
60694
|
return (s, l) => (R(), Y("div", {
|
|
@@ -60713,7 +60724,7 @@ const fEe = ["id", "data-testid"], hEe = ["data-testid"], mEe = ["data-testid"],
|
|
|
60713
60724
|
], 64))), 128))
|
|
60714
60725
|
], 8, IDe));
|
|
60715
60726
|
}
|
|
60716
|
-
}), AM = /* @__PURE__ */ xe($De, [["__scopeId", "data-v-
|
|
60727
|
+
}), AM = /* @__PURE__ */ xe($De, [["__scopeId", "data-v-1f8937e6"]]);
|
|
60717
60728
|
function pn(e) {
|
|
60718
60729
|
this.content = e;
|
|
60719
60730
|
}
|
|
@@ -61650,7 +61661,7 @@ class Cu {
|
|
|
61650
61661
|
@internal
|
|
61651
61662
|
*/
|
|
61652
61663
|
static resolveCached(t, n) {
|
|
61653
|
-
let i =
|
|
61664
|
+
let i = u3.get(t);
|
|
61654
61665
|
if (i)
|
|
61655
61666
|
for (let a = 0; a < i.elts.length; a++) {
|
|
61656
61667
|
let o = i.elts[a];
|
|
@@ -61658,7 +61669,7 @@ class Cu {
|
|
|
61658
61669
|
return o;
|
|
61659
61670
|
}
|
|
61660
61671
|
else
|
|
61661
|
-
|
|
61672
|
+
u3.set(t, i = new BDe());
|
|
61662
61673
|
let r = i.elts[i.i] = Cu.resolve(t, n);
|
|
61663
61674
|
return i.i = (i.i + 1) % VDe, r;
|
|
61664
61675
|
}
|
|
@@ -61668,7 +61679,7 @@ class BDe {
|
|
|
61668
61679
|
this.elts = [], this.i = 0;
|
|
61669
61680
|
}
|
|
61670
61681
|
}
|
|
61671
|
-
const VDe = 12,
|
|
61682
|
+
const VDe = 12, u3 = /* @__PURE__ */ new WeakMap();
|
|
61672
61683
|
class gf {
|
|
61673
61684
|
/**
|
|
61674
61685
|
Construct a node range. `$from` and `$to` should point into the
|
|
@@ -62329,14 +62340,14 @@ function XDe(e) {
|
|
|
62329
62340
|
break;
|
|
62330
62341
|
return t;
|
|
62331
62342
|
}
|
|
62332
|
-
function
|
|
62343
|
+
function d3(e) {
|
|
62333
62344
|
/\D/.test(e.next) && e.err("Expected number, got '" + e.next + "'");
|
|
62334
62345
|
let t = Number(e.next);
|
|
62335
62346
|
return e.pos++, t;
|
|
62336
62347
|
}
|
|
62337
62348
|
function qDe(e, t) {
|
|
62338
|
-
let n =
|
|
62339
|
-
return e.eat(",") && (e.next != "}" ? i =
|
|
62349
|
+
let n = d3(e), i = n;
|
|
62350
|
+
return e.eat(",") && (e.next != "}" ? i = d3(e) : i = -1), e.eat("}") || e.err("Unclosed braced range"), { type: "range", min: n, max: i, expr: t };
|
|
62340
62351
|
}
|
|
62341
62352
|
function GDe(e, t) {
|
|
62342
62353
|
let n = e.nodeTypes, i = n[t];
|
|
@@ -62417,7 +62428,7 @@ function QDe(e) {
|
|
|
62417
62428
|
function $M(e, t) {
|
|
62418
62429
|
return t - e;
|
|
62419
62430
|
}
|
|
62420
|
-
function
|
|
62431
|
+
function c3(e, t) {
|
|
62421
62432
|
let n = [];
|
|
62422
62433
|
return i(t), n.sort($M);
|
|
62423
62434
|
function i(r) {
|
|
@@ -62433,7 +62444,7 @@ function c4(e, t) {
|
|
|
62433
62444
|
}
|
|
62434
62445
|
function JDe(e) {
|
|
62435
62446
|
let t = /* @__PURE__ */ Object.create(null);
|
|
62436
|
-
return n(
|
|
62447
|
+
return n(c3(e, 0));
|
|
62437
62448
|
function n(i) {
|
|
62438
62449
|
let r = [];
|
|
62439
62450
|
i.forEach((o) => {
|
|
@@ -62443,7 +62454,7 @@ function JDe(e) {
|
|
|
62443
62454
|
let d;
|
|
62444
62455
|
for (let c = 0; c < r.length; c++)
|
|
62445
62456
|
r[c][0] == s && (d = r[c][1]);
|
|
62446
|
-
|
|
62457
|
+
c3(e, l).forEach((c) => {
|
|
62447
62458
|
d || r.push([s, d = []]), d.indexOf(c) == -1 && d.push(c);
|
|
62448
62459
|
});
|
|
62449
62460
|
});
|
|
@@ -62507,7 +62518,7 @@ function VM(e, t) {
|
|
|
62507
62518
|
n[i] = new tje(e, i, t[i]);
|
|
62508
62519
|
return n;
|
|
62509
62520
|
}
|
|
62510
|
-
let
|
|
62521
|
+
let f3 = class FM {
|
|
62511
62522
|
/**
|
|
62512
62523
|
@internal
|
|
62513
62524
|
*/
|
|
@@ -62766,7 +62777,7 @@ class YM {
|
|
|
62766
62777
|
let n = this.spec = {};
|
|
62767
62778
|
for (let r in t)
|
|
62768
62779
|
n[r] = t[r];
|
|
62769
|
-
n.nodes = pn.from(t.nodes), n.marks = pn.from(t.marks || {}), this.nodes =
|
|
62780
|
+
n.nodes = pn.from(t.nodes), n.marks = pn.from(t.marks || {}), this.nodes = f3.compile(this.spec.nodes, this), this.marks = jh.compile(this.spec.marks, this);
|
|
62770
62781
|
let i = /* @__PURE__ */ Object.create(null);
|
|
62771
62782
|
for (let r in this.nodes) {
|
|
62772
62783
|
if (r in this.marks)
|
|
@@ -62779,11 +62790,11 @@ class YM {
|
|
|
62779
62790
|
throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");
|
|
62780
62791
|
this.linebreakReplacement = a;
|
|
62781
62792
|
}
|
|
62782
|
-
a.markSet = s == "_" ? null : s ?
|
|
62793
|
+
a.markSet = s == "_" ? null : s ? h3(this, s.split(" ")) : s == "" || !a.inlineContent ? [] : null;
|
|
62783
62794
|
}
|
|
62784
62795
|
for (let r in this.marks) {
|
|
62785
62796
|
let a = this.marks[r], o = a.spec.excludes;
|
|
62786
|
-
a.excluded = o == null ? [a] : o == "" ? [] :
|
|
62797
|
+
a.excluded = o == null ? [a] : o == "" ? [] : h3(this, o.split(" "));
|
|
62787
62798
|
}
|
|
62788
62799
|
this.nodeFromJSON = (r) => ja.fromJSON(this, r), this.markFromJSON = (r) => mt.fromJSON(this, r), this.topNodeType = this.nodes[this.spec.topNode || "doc"], this.cached.wrappings = /* @__PURE__ */ Object.create(null);
|
|
62789
62800
|
}
|
|
@@ -62796,7 +62807,7 @@ class YM {
|
|
|
62796
62807
|
node(t, n = null, i, r) {
|
|
62797
62808
|
if (typeof t == "string")
|
|
62798
62809
|
t = this.nodeType(t);
|
|
62799
|
-
else if (t instanceof
|
|
62810
|
+
else if (t instanceof f3) {
|
|
62800
62811
|
if (t.schema != this)
|
|
62801
62812
|
throw new RangeError("Node type from different schema used (" + t.name + ")");
|
|
62802
62813
|
} else throw new RangeError("Invalid node type: " + t);
|
|
@@ -62826,7 +62837,7 @@ class YM {
|
|
|
62826
62837
|
return n;
|
|
62827
62838
|
}
|
|
62828
62839
|
}
|
|
62829
|
-
function
|
|
62840
|
+
function h3(e, t) {
|
|
62830
62841
|
let n = [];
|
|
62831
62842
|
for (let i = 0; i < t.length; i++) {
|
|
62832
62843
|
let r = t[i], a = e.marks[r], o = a;
|
|
@@ -62874,7 +62885,7 @@ class Na {
|
|
|
62874
62885
|
Parse a document from the content of a DOM node.
|
|
62875
62886
|
*/
|
|
62876
62887
|
parse(t, n = {}) {
|
|
62877
|
-
let i = new
|
|
62888
|
+
let i = new p3(this, n, !1);
|
|
62878
62889
|
return i.addAll(t, mt.none, n.from, n.to), i.finish();
|
|
62879
62890
|
}
|
|
62880
62891
|
/**
|
|
@@ -62886,7 +62897,7 @@ class Na {
|
|
|
62886
62897
|
the left of the input and the end of nodes at the end.
|
|
62887
62898
|
*/
|
|
62888
62899
|
parseSlice(t, n = {}) {
|
|
62889
|
-
let i = new
|
|
62900
|
+
let i = new p3(this, n, !0);
|
|
62890
62901
|
return i.addAll(t, mt.none, n.from, n.to), be.maxOpen(i.finish());
|
|
62891
62902
|
}
|
|
62892
62903
|
/**
|
|
@@ -62943,13 +62954,13 @@ class Na {
|
|
|
62943
62954
|
for (let r in t.marks) {
|
|
62944
62955
|
let a = t.marks[r].spec.parseDOM;
|
|
62945
62956
|
a && a.forEach((o) => {
|
|
62946
|
-
i(o =
|
|
62957
|
+
i(o = g3(o)), o.mark || o.ignore || o.clearMark || (o.mark = r);
|
|
62947
62958
|
});
|
|
62948
62959
|
}
|
|
62949
62960
|
for (let r in t.nodes) {
|
|
62950
62961
|
let a = t.nodes[r].spec.parseDOM;
|
|
62951
62962
|
a && a.forEach((o) => {
|
|
62952
|
-
i(o =
|
|
62963
|
+
i(o = g3(o)), o.node || o.ignore || o.mark || (o.node = r);
|
|
62953
62964
|
});
|
|
62954
62965
|
}
|
|
62955
62966
|
return n;
|
|
@@ -63004,7 +63015,7 @@ const UM = {
|
|
|
63004
63015
|
style: !0,
|
|
63005
63016
|
title: !0
|
|
63006
63017
|
}, XM = { ol: !0, ul: !0 }, xu = 1, Jp = 2, ou = 4;
|
|
63007
|
-
function
|
|
63018
|
+
function m3(e, t, n) {
|
|
63008
63019
|
return t != null ? (t ? xu : 0) | (t === "full" ? Jp : 0) : e && e.whitespace == "pre" ? xu | Jp : n & ~ou;
|
|
63009
63020
|
}
|
|
63010
63021
|
class vc {
|
|
@@ -63040,10 +63051,10 @@ class vc {
|
|
|
63040
63051
|
return this.type ? this.type.inlineContent : this.content.length ? this.content[0].isInline : t.parentNode && !UM.hasOwnProperty(t.parentNode.nodeName.toLowerCase());
|
|
63041
63052
|
}
|
|
63042
63053
|
}
|
|
63043
|
-
class
|
|
63054
|
+
class p3 {
|
|
63044
63055
|
constructor(t, n, i) {
|
|
63045
63056
|
this.parser = t, this.options = n, this.isOpen = i, this.open = 0, this.localPreserveWS = !1;
|
|
63046
|
-
let r = n.topNode, a, o =
|
|
63057
|
+
let r = n.topNode, a, o = m3(null, n.preserveWhitespace, 0) | (i ? ou : 0);
|
|
63047
63058
|
r ? a = new vc(r.type, r.attrs, mt.none, !0, n.topMatch || r.type.contentMatch, o) : i ? a = new vc(null, null, mt.none, !0, null, o) : a = new vc(t.schema.topNodeType, null, mt.none, !0, null, o), this.nodes = [a], this.find = n.findPositions, this.needsBlock = !1;
|
|
63048
63059
|
}
|
|
63049
63060
|
get top() {
|
|
@@ -63201,7 +63212,7 @@ class p4 {
|
|
|
63201
63212
|
a.match && (a.match = a.match.matchType(t.type));
|
|
63202
63213
|
let o = mt.none;
|
|
63203
63214
|
for (let s of r.concat(t.marks))
|
|
63204
|
-
(a.type ? a.type.allowsMarkType(s.type) :
|
|
63215
|
+
(a.type ? a.type.allowsMarkType(s.type) : v3(s.type, t.type)) && (o = s.addToSet(o));
|
|
63205
63216
|
return a.content.push(t.mark(o)), !0;
|
|
63206
63217
|
}
|
|
63207
63218
|
return !1;
|
|
@@ -63217,10 +63228,10 @@ class p4 {
|
|
|
63217
63228
|
this.closeExtra();
|
|
63218
63229
|
let o = this.top;
|
|
63219
63230
|
o.match = o.match && o.match.matchType(t);
|
|
63220
|
-
let s =
|
|
63231
|
+
let s = m3(t, a, o.options);
|
|
63221
63232
|
o.options & ou && o.content.length == 0 && (s |= ou);
|
|
63222
63233
|
let l = mt.none;
|
|
63223
|
-
return i = i.filter((d) => (o.type ? o.type.allowsMarkType(d.type) :
|
|
63234
|
+
return i = i.filter((d) => (o.type ? o.type.allowsMarkType(d.type) : v3(d.type, t)) ? (l = d.addToSet(l), !1) : !0), this.nodes.push(new vc(t, n, l, r, null, s)), this.open++, i;
|
|
63224
63235
|
}
|
|
63225
63236
|
// Make sure all nodes above this.open are finished and added to
|
|
63226
63237
|
// their parents
|
|
@@ -63323,13 +63334,13 @@ function aje(e) {
|
|
|
63323
63334
|
function oje(e, t) {
|
|
63324
63335
|
return (e.matches || e.msMatchesSelector || e.webkitMatchesSelector || e.mozMatchesSelector).call(e, t);
|
|
63325
63336
|
}
|
|
63326
|
-
function
|
|
63337
|
+
function g3(e) {
|
|
63327
63338
|
let t = {};
|
|
63328
63339
|
for (let n in e)
|
|
63329
63340
|
t[n] = e[n];
|
|
63330
63341
|
return t;
|
|
63331
63342
|
}
|
|
63332
|
-
function
|
|
63343
|
+
function v3(e, t) {
|
|
63333
63344
|
let n = t.schema.nodes;
|
|
63334
63345
|
for (let i in n) {
|
|
63335
63346
|
let r = n[i];
|
|
@@ -63441,17 +63452,17 @@ class Zo {
|
|
|
63441
63452
|
This can be useful as a base to build a custom serializer from.
|
|
63442
63453
|
*/
|
|
63443
63454
|
static nodesFromSchema(t) {
|
|
63444
|
-
let n =
|
|
63455
|
+
let n = y3(t.nodes);
|
|
63445
63456
|
return n.text || (n.text = (i) => i.text), n;
|
|
63446
63457
|
}
|
|
63447
63458
|
/**
|
|
63448
63459
|
Gather the serializers in a schema's mark specs into an object.
|
|
63449
63460
|
*/
|
|
63450
63461
|
static marksFromSchema(t) {
|
|
63451
|
-
return
|
|
63462
|
+
return y3(t.marks);
|
|
63452
63463
|
}
|
|
63453
63464
|
}
|
|
63454
|
-
function
|
|
63465
|
+
function y3(e) {
|
|
63455
63466
|
let t = {};
|
|
63456
63467
|
for (let n in e) {
|
|
63457
63468
|
let i = e[n].spec.toDOM;
|
|
@@ -63462,10 +63473,10 @@ function y4(e) {
|
|
|
63462
63473
|
function Um(e) {
|
|
63463
63474
|
return e.document || window.document;
|
|
63464
63475
|
}
|
|
63465
|
-
const
|
|
63476
|
+
const b3 = /* @__PURE__ */ new WeakMap();
|
|
63466
63477
|
function sje(e) {
|
|
63467
|
-
let t =
|
|
63468
|
-
return t === void 0 &&
|
|
63478
|
+
let t = b3.get(e);
|
|
63479
|
+
return t === void 0 && b3.set(e, t = lje(e)), t;
|
|
63469
63480
|
}
|
|
63470
63481
|
function lje(e) {
|
|
63471
63482
|
let t = null;
|
|
@@ -63527,7 +63538,7 @@ const qM = 65535, GM = Math.pow(2, 16);
|
|
|
63527
63538
|
function uje(e, t) {
|
|
63528
63539
|
return e + t * GM;
|
|
63529
63540
|
}
|
|
63530
|
-
function
|
|
63541
|
+
function w3(e) {
|
|
63531
63542
|
return e & qM;
|
|
63532
63543
|
}
|
|
63533
63544
|
function dje(e) {
|
|
@@ -63584,7 +63595,7 @@ class gi {
|
|
|
63584
63595
|
@internal
|
|
63585
63596
|
*/
|
|
63586
63597
|
recover(t) {
|
|
63587
|
-
let n = 0, i =
|
|
63598
|
+
let n = 0, i = w3(t);
|
|
63588
63599
|
if (!this.inverted)
|
|
63589
63600
|
for (let r = 0; r < i; r++)
|
|
63590
63601
|
n += this.ranges[r * 3 + 2] - this.ranges[r * 3 + 1];
|
|
@@ -63621,7 +63632,7 @@ class gi {
|
|
|
63621
63632
|
@internal
|
|
63622
63633
|
*/
|
|
63623
63634
|
touches(t, n) {
|
|
63624
|
-
let i = 0, r =
|
|
63635
|
+
let i = 0, r = w3(n), a = this.inverted ? 2 : 1, o = this.inverted ? 1 : 2;
|
|
63625
63636
|
for (let s = 0; s < this.ranges.length; s += 3) {
|
|
63626
63637
|
let l = this.ranges[s] - (this.inverted ? i : 0);
|
|
63627
63638
|
if (l > t)
|
|
@@ -64228,9 +64239,9 @@ function mje(e, t, n) {
|
|
|
64228
64239
|
}
|
|
64229
64240
|
function Y0(e, t, n = null, i = e) {
|
|
64230
64241
|
let r = pje(e, t), a = r && gje(i, t);
|
|
64231
|
-
return a ? r.map(
|
|
64242
|
+
return a ? r.map(k3).concat({ type: t, attrs: n }).concat(a.map(k3)) : null;
|
|
64232
64243
|
}
|
|
64233
|
-
function
|
|
64244
|
+
function k3(e) {
|
|
64234
64245
|
return { type: e, attrs: null };
|
|
64235
64246
|
}
|
|
64236
64247
|
function pje(e, t) {
|
|
@@ -65089,7 +65100,7 @@ class Ye {
|
|
|
65089
65100
|
let a = t.steps.length, o = this.ranges;
|
|
65090
65101
|
for (let s = 0; s < o.length; s++) {
|
|
65091
65102
|
let { $from: l, $to: d } = o[s], c = t.mapping.slice(a);
|
|
65092
|
-
t.replaceRange(c.map(l.pos), c.map(d.pos), s ? be.empty : n), s == 0 &&
|
|
65103
|
+
t.replaceRange(c.map(l.pos), c.map(d.pos), s ? be.empty : n), s == 0 && x3(t, a, (i ? i.isInline : r && r.isTextblock) ? -1 : 1);
|
|
65093
65104
|
}
|
|
65094
65105
|
}
|
|
65095
65106
|
/**
|
|
@@ -65100,7 +65111,7 @@ class Ye {
|
|
|
65100
65111
|
let i = t.steps.length, r = this.ranges;
|
|
65101
65112
|
for (let a = 0; a < r.length; a++) {
|
|
65102
65113
|
let { $from: o, $to: s } = r[a], l = t.mapping.slice(i), d = l.map(o.pos), c = l.map(s.pos);
|
|
65103
|
-
a ? t.deleteRange(d, c) : (t.replaceRangeWith(d, c, n),
|
|
65114
|
+
a ? t.deleteRange(d, c) : (t.replaceRangeWith(d, c, n), x3(t, i, n.isInline ? -1 : 1));
|
|
65104
65115
|
}
|
|
65105
65116
|
}
|
|
65106
65117
|
/**
|
|
@@ -65190,16 +65201,16 @@ class Dje {
|
|
|
65190
65201
|
this.$from = t, this.$to = n;
|
|
65191
65202
|
}
|
|
65192
65203
|
}
|
|
65193
|
-
let
|
|
65194
|
-
function
|
|
65195
|
-
!
|
|
65204
|
+
let M3 = !1;
|
|
65205
|
+
function C3(e) {
|
|
65206
|
+
!M3 && !e.parent.inlineContent && (M3 = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + e.parent.type.name + ")"));
|
|
65196
65207
|
}
|
|
65197
65208
|
class Ie extends Ye {
|
|
65198
65209
|
/**
|
|
65199
65210
|
Construct a text selection between the given points.
|
|
65200
65211
|
*/
|
|
65201
65212
|
constructor(t, n = t) {
|
|
65202
|
-
|
|
65213
|
+
C3(t), C3(n), super(t, n);
|
|
65203
65214
|
}
|
|
65204
65215
|
/**
|
|
65205
65216
|
Returns a resolved position if this is a cursor selection (an
|
|
@@ -65399,7 +65410,7 @@ function Ts(e, t, n, i, r, a = !1) {
|
|
|
65399
65410
|
}
|
|
65400
65411
|
return null;
|
|
65401
65412
|
}
|
|
65402
|
-
function
|
|
65413
|
+
function x3(e, t, n) {
|
|
65403
65414
|
let i = e.steps.length - 1;
|
|
65404
65415
|
if (i < t)
|
|
65405
65416
|
return;
|
|
@@ -65411,7 +65422,7 @@ function x4(e, t, n) {
|
|
|
65411
65422
|
o == null && (o = c);
|
|
65412
65423
|
}), e.setSelection(Ye.near(e.doc.resolve(o), n));
|
|
65413
65424
|
}
|
|
65414
|
-
const
|
|
65425
|
+
const S3 = 1, yc = 2, T3 = 4;
|
|
65415
65426
|
class Nje extends s9 {
|
|
65416
65427
|
/**
|
|
65417
65428
|
@internal
|
|
@@ -65435,13 +65446,13 @@ class Nje extends s9 {
|
|
|
65435
65446
|
setSelection(t) {
|
|
65436
65447
|
if (t.$from.doc != this.doc)
|
|
65437
65448
|
throw new RangeError("Selection passed to setSelection must point at the current document");
|
|
65438
|
-
return this.curSelection = t, this.curSelectionFor = this.steps.length, this.updated = (this.updated |
|
|
65449
|
+
return this.curSelection = t, this.curSelectionFor = this.steps.length, this.updated = (this.updated | S3) & ~yc, this.storedMarks = null, this;
|
|
65439
65450
|
}
|
|
65440
65451
|
/**
|
|
65441
65452
|
Whether the selection was explicitly updated by this transaction.
|
|
65442
65453
|
*/
|
|
65443
65454
|
get selectionSet() {
|
|
65444
|
-
return (this.updated &
|
|
65455
|
+
return (this.updated & S3) > 0;
|
|
65445
65456
|
}
|
|
65446
65457
|
/**
|
|
65447
65458
|
Set the current stored marks.
|
|
@@ -65554,21 +65565,21 @@ class Nje extends s9 {
|
|
|
65554
65565
|
when updated to the state produced by this transaction.
|
|
65555
65566
|
*/
|
|
65556
65567
|
scrollIntoView() {
|
|
65557
|
-
return this.updated |=
|
|
65568
|
+
return this.updated |= T3, this;
|
|
65558
65569
|
}
|
|
65559
65570
|
/**
|
|
65560
65571
|
True when this transaction has had `scrollIntoView` called on it.
|
|
65561
65572
|
*/
|
|
65562
65573
|
get scrolledIntoView() {
|
|
65563
|
-
return (this.updated &
|
|
65574
|
+
return (this.updated & T3) > 0;
|
|
65564
65575
|
}
|
|
65565
65576
|
}
|
|
65566
|
-
function
|
|
65577
|
+
function _3(e, t) {
|
|
65567
65578
|
return !t || !e ? e : e.bind(t);
|
|
65568
65579
|
}
|
|
65569
65580
|
class Zl {
|
|
65570
65581
|
constructor(t, n, i) {
|
|
65571
|
-
this.name = t, this.init =
|
|
65582
|
+
this.name = t, this.init = _3(n.init, i), this.apply = _3(n.apply, i);
|
|
65572
65583
|
}
|
|
65573
65584
|
}
|
|
65574
65585
|
const Wje = [
|
|
@@ -65840,9 +65851,9 @@ const Ur = function(e, t, n) {
|
|
|
65840
65851
|
}, Ije = function() {
|
|
65841
65852
|
tg = null;
|
|
65842
65853
|
}, Fo = function(e, t, n, i) {
|
|
65843
|
-
return n && (
|
|
65854
|
+
return n && (P3(e, t, n, i, -1) || P3(e, t, n, i, 1));
|
|
65844
65855
|
}, Oje = /^(img|br|input|textarea|hr)$/i;
|
|
65845
|
-
function
|
|
65856
|
+
function P3(e, t, n, i, r) {
|
|
65846
65857
|
for (var a; ; ) {
|
|
65847
65858
|
if (e == n && t == i)
|
|
65848
65859
|
return !0;
|
|
@@ -65938,9 +65949,9 @@ function Rje(e, t, n) {
|
|
|
65938
65949
|
return { node: i.startContainer, offset: Math.min(ji(i.startContainer), i.startOffset) };
|
|
65939
65950
|
}
|
|
65940
65951
|
}
|
|
65941
|
-
const xr = typeof navigator < "u" ? navigator : null,
|
|
65952
|
+
const xr = typeof navigator < "u" ? navigator : null, A3 = typeof document < "u" ? document : null, Za = xr && xr.userAgent || "", ng = /Edge\/(\d+)/.exec(Za), d9 = /MSIE \d/.exec(Za), ig = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Za), ti = !!(d9 || ig || ng), Wa = d9 ? document.documentMode : ig ? +ig[1] : ng ? +ng[1] : 0, Ii = !ti && /gecko\/(\d+)/i.test(Za);
|
|
65942
65953
|
Ii && +(/Firefox\/(\d+)/.exec(Za) || [0, 0])[1];
|
|
65943
|
-
const rg = !ti && /Chrome\/(\d+)/.exec(Za), xn = !!rg, c9 = rg ? +rg[1] : 0, Rn = !ti && !!xr && /Apple Computer/.test(xr.vendor), Ks = Rn && (/Mobile\/\w+/.test(Za) || !!xr && xr.maxTouchPoints > 2), Di = Ks || (xr ? /Mac/.test(xr.platform) : !1), Bje = xr ? /Win/.test(xr.platform) : !1, qr = /Android \d/.test(Za), nd = !!
|
|
65954
|
+
const rg = !ti && /Chrome\/(\d+)/.exec(Za), xn = !!rg, c9 = rg ? +rg[1] : 0, Rn = !ti && !!xr && /Apple Computer/.test(xr.vendor), Ks = Rn && (/Mobile\/\w+/.test(Za) || !!xr && xr.maxTouchPoints > 2), Di = Ks || (xr ? /Mac/.test(xr.platform) : !1), Bje = xr ? /Win/.test(xr.platform) : !1, qr = /Android \d/.test(Za), nd = !!A3 && "webkitFontSmoothing" in A3.documentElement.style, Vje = nd ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
65944
65955
|
function Fje(e) {
|
|
65945
65956
|
let t = e.defaultView && e.defaultView.visualViewport;
|
|
65946
65957
|
return t ? {
|
|
@@ -65967,7 +65978,7 @@ function Yje(e) {
|
|
|
65967
65978
|
bottom: t.top + e.clientHeight * i
|
|
65968
65979
|
};
|
|
65969
65980
|
}
|
|
65970
|
-
function
|
|
65981
|
+
function E3(e, t, n) {
|
|
65971
65982
|
let i = e.someProp("scrollThreshold") || 0, r = e.someProp("scrollMargin") || 5, a = e.dom.ownerDocument;
|
|
65972
65983
|
for (let o = n || e.dom; o; ) {
|
|
65973
65984
|
if (o.nodeType != 1) {
|
|
@@ -66141,17 +66152,17 @@ function Zje(e, t) {
|
|
|
66141
66152
|
let l = e.docView.nearestDesc(o, !0);
|
|
66142
66153
|
return { pos: s, inside: l ? l.posAtStart - l.border : -1 };
|
|
66143
66154
|
}
|
|
66144
|
-
function
|
|
66155
|
+
function D3(e) {
|
|
66145
66156
|
return e.top < e.bottom || e.left < e.right;
|
|
66146
66157
|
}
|
|
66147
66158
|
function va(e, t) {
|
|
66148
66159
|
let n = e.getClientRects();
|
|
66149
66160
|
if (n.length) {
|
|
66150
66161
|
let i = n[t < 0 ? 0 : n.length - 1];
|
|
66151
|
-
if (
|
|
66162
|
+
if (D3(i))
|
|
66152
66163
|
return i;
|
|
66153
66164
|
}
|
|
66154
|
-
return Array.prototype.find.call(n,
|
|
66165
|
+
return Array.prototype.find.call(n, D3) || e.getBoundingClientRect();
|
|
66155
66166
|
}
|
|
66156
66167
|
const eNe = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;
|
|
66157
66168
|
function g9(e, t, n) {
|
|
@@ -66270,11 +66281,11 @@ function iNe(e, t, n) {
|
|
|
66270
66281
|
return p != null && (s.caretBidiLevel = p), w;
|
|
66271
66282
|
}) : i.pos == i.start() || i.pos == i.end();
|
|
66272
66283
|
}
|
|
66273
|
-
let
|
|
66284
|
+
let j3 = null, N3 = null, W3 = !1;
|
|
66274
66285
|
function rNe(e, t, n) {
|
|
66275
|
-
return
|
|
66286
|
+
return j3 == t && N3 == n ? W3 : (j3 = t, N3 = n, W3 = n == "up" || n == "down" ? tNe(e, t, n) : iNe(e, t, n));
|
|
66276
66287
|
}
|
|
66277
|
-
const Oi = 0,
|
|
66288
|
+
const Oi = 0, I3 = 1, Mo = 2, Sr = 3;
|
|
66278
66289
|
class id {
|
|
66279
66290
|
constructor(t, n, i, r) {
|
|
66280
66291
|
this.parent = t, this.children = n, this.dom = i, this.contentDOM = r, this.dirty = Oi, i.pmViewDesc = this;
|
|
@@ -66590,7 +66601,7 @@ class id {
|
|
|
66590
66601
|
if (i == o ? t <= o && n >= i : t < o && n > i) {
|
|
66591
66602
|
let s = i + a.border, l = o - a.border;
|
|
66592
66603
|
if (t >= s && n <= l) {
|
|
66593
|
-
this.dirty = t == i || n == o ? Mo :
|
|
66604
|
+
this.dirty = t == i || n == o ? Mo : I3, t == s && n == l && (a.contentLost || a.dom.parentNode != this.contentDOM) ? a.dirty = Sr : a.markDirty(t - s, n - s);
|
|
66594
66605
|
return;
|
|
66595
66606
|
} else
|
|
66596
66607
|
a.dirty = a.dom == a.contentDOM && a.dom.parentNode == this.contentDOM && !a.children.length ? Mo : Sr;
|
|
@@ -66602,7 +66613,7 @@ class id {
|
|
|
66602
66613
|
markParentsDirty() {
|
|
66603
66614
|
let t = 1;
|
|
66604
66615
|
for (let n = this.parent; n; n = n.parent, t++) {
|
|
66605
|
-
let i = t == 1 ? Mo :
|
|
66616
|
+
let i = t == 1 ? Mo : I3;
|
|
66606
66617
|
n.dirty < i && (n.dirty = i);
|
|
66607
66618
|
}
|
|
66608
66619
|
}
|
|
@@ -66841,7 +66852,7 @@ class Ia extends id {
|
|
|
66841
66852
|
return this.node.isAtom;
|
|
66842
66853
|
}
|
|
66843
66854
|
}
|
|
66844
|
-
function
|
|
66855
|
+
function O3(e, t, n, i, r) {
|
|
66845
66856
|
M9(i, t, e);
|
|
66846
66857
|
let a = new Ia(void 0, e, t, n, i, i, i, r, 0);
|
|
66847
66858
|
return a.contentDOM && a.updateChildren(r, 0), a;
|
|
@@ -66943,7 +66954,7 @@ function w9(e, t, n) {
|
|
|
66943
66954
|
let o = t[a], s = o.dom;
|
|
66944
66955
|
if (s.parentNode == e) {
|
|
66945
66956
|
for (; s != i; )
|
|
66946
|
-
i =
|
|
66957
|
+
i = L3(i), r = !0;
|
|
66947
66958
|
i = i.nextSibling;
|
|
66948
66959
|
} else
|
|
66949
66960
|
r = !0, e.insertBefore(s, i);
|
|
@@ -66953,7 +66964,7 @@ function w9(e, t, n) {
|
|
|
66953
66964
|
}
|
|
66954
66965
|
}
|
|
66955
66966
|
for (; i; )
|
|
66956
|
-
i =
|
|
66967
|
+
i = L3(i), r = !0;
|
|
66957
66968
|
r && n.trackWrites == e && (n.trackWrites = null);
|
|
66958
66969
|
}
|
|
66959
66970
|
const su = function(e) {
|
|
@@ -67024,7 +67035,7 @@ function yf(e, t) {
|
|
|
67024
67035
|
return !1;
|
|
67025
67036
|
return !0;
|
|
67026
67037
|
}
|
|
67027
|
-
function
|
|
67038
|
+
function L3(e) {
|
|
67028
67039
|
let t = e.nextSibling;
|
|
67029
67040
|
return e.parentNode.removeChild(e), t;
|
|
67030
67041
|
}
|
|
@@ -67349,13 +67360,13 @@ function Gr(e, t = !1) {
|
|
|
67349
67360
|
pNe(e);
|
|
67350
67361
|
else {
|
|
67351
67362
|
let { anchor: i, head: r } = n, a, o;
|
|
67352
|
-
|
|
67363
|
+
z3 && !(n instanceof Ie) && (n.$from.parent.inlineContent || (a = $3(e, n.from)), !n.empty && !n.$from.parent.inlineContent && (o = $3(e, n.to))), e.docView.setSelection(i, r, e, t), z3 && (a && H3(a), o && H3(o)), n.visible ? e.dom.classList.remove("ProseMirror-hideselection") : (e.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && mNe(e));
|
|
67353
67364
|
}
|
|
67354
67365
|
e.domObserver.setCurSelection(), e.domObserver.connectSelection();
|
|
67355
67366
|
}
|
|
67356
67367
|
}
|
|
67357
|
-
const
|
|
67358
|
-
function $
|
|
67368
|
+
const z3 = Rn || xn && c9 < 63;
|
|
67369
|
+
function $3(e, t) {
|
|
67359
67370
|
let { node: n, offset: i } = e.docView.domFromPos(t, 0), r = i < n.childNodes.length ? n.childNodes[i] : null, a = i ? n.childNodes[i - 1] : null;
|
|
67360
67371
|
if (Rn && r && r.contentEditable == "false")
|
|
67361
67372
|
return ep(r);
|
|
@@ -67369,7 +67380,7 @@ function $4(e, t) {
|
|
|
67369
67380
|
function ep(e) {
|
|
67370
67381
|
return e.contentEditable = "true", Rn && e.draggable && (e.draggable = !1, e.wasDraggable = !0), e;
|
|
67371
67382
|
}
|
|
67372
|
-
function
|
|
67383
|
+
function H3(e) {
|
|
67373
67384
|
e.contentEditable = "false", e.wasDraggable && (e.draggable = !0, e.wasDraggable = null);
|
|
67374
67385
|
}
|
|
67375
67386
|
function mNe(e) {
|
|
@@ -67392,17 +67403,17 @@ function pNe(e) {
|
|
|
67392
67403
|
function x9(e, t) {
|
|
67393
67404
|
if (t instanceof Pe) {
|
|
67394
67405
|
let n = e.docView.descAt(t.from);
|
|
67395
|
-
n != e.lastSelectedViewDesc && (
|
|
67406
|
+
n != e.lastSelectedViewDesc && (R3(e), n && n.selectNode(), e.lastSelectedViewDesc = n);
|
|
67396
67407
|
} else
|
|
67397
|
-
|
|
67408
|
+
R3(e);
|
|
67398
67409
|
}
|
|
67399
|
-
function
|
|
67410
|
+
function R3(e) {
|
|
67400
67411
|
e.lastSelectedViewDesc && (e.lastSelectedViewDesc.parent && e.lastSelectedViewDesc.deselectNode(), e.lastSelectedViewDesc = void 0);
|
|
67401
67412
|
}
|
|
67402
67413
|
function G0(e, t, n, i) {
|
|
67403
67414
|
return e.someProp("createSelectionBetween", (r) => r(e, t, n)) || Ie.between(t, n, i);
|
|
67404
67415
|
}
|
|
67405
|
-
function
|
|
67416
|
+
function B3(e) {
|
|
67406
67417
|
return e.editable && !e.hasFocus() ? !1 : S9(e);
|
|
67407
67418
|
}
|
|
67408
67419
|
function S9(e) {
|
|
@@ -67426,7 +67437,7 @@ function sg(e, t) {
|
|
|
67426
67437
|
function ya(e, t) {
|
|
67427
67438
|
return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()), !0;
|
|
67428
67439
|
}
|
|
67429
|
-
function
|
|
67440
|
+
function V3(e, t, n) {
|
|
67430
67441
|
let i = e.state.selection;
|
|
67431
67442
|
if (i instanceof Ie)
|
|
67432
67443
|
if (n.indexOf("s") > -1) {
|
|
@@ -67580,7 +67591,7 @@ function lg(e, t, n) {
|
|
|
67580
67591
|
e.state == r && Gr(e);
|
|
67581
67592
|
}, 50);
|
|
67582
67593
|
}
|
|
67583
|
-
function
|
|
67594
|
+
function F3(e, t) {
|
|
67584
67595
|
let n = e.state.doc.resolve(t);
|
|
67585
67596
|
if (!(xn || Bje) && n.parent.inlineContent) {
|
|
67586
67597
|
let r = e.coordsAtPos(t);
|
|
@@ -67597,7 +67608,7 @@ function F4(e, t) {
|
|
|
67597
67608
|
}
|
|
67598
67609
|
return getComputedStyle(e.dom).direction == "rtl" ? "rtl" : "ltr";
|
|
67599
67610
|
}
|
|
67600
|
-
function
|
|
67611
|
+
function Y3(e, t, n) {
|
|
67601
67612
|
let i = e.state.selection;
|
|
67602
67613
|
if (i instanceof Ie && !i.empty || n.indexOf("s") > -1 || Di && n.indexOf("m") > -1)
|
|
67603
67614
|
return !1;
|
|
@@ -67613,7 +67624,7 @@ function Y4(e, t, n) {
|
|
|
67613
67624
|
}
|
|
67614
67625
|
return !1;
|
|
67615
67626
|
}
|
|
67616
|
-
function
|
|
67627
|
+
function U3(e, t) {
|
|
67617
67628
|
if (!(e.state.selection instanceof Ie))
|
|
67618
67629
|
return !0;
|
|
67619
67630
|
let { $head: n, $anchor: i, empty: r } = e.state.selection;
|
|
@@ -67630,7 +67641,7 @@ function U4(e, t) {
|
|
|
67630
67641
|
}
|
|
67631
67642
|
return !1;
|
|
67632
67643
|
}
|
|
67633
|
-
function
|
|
67644
|
+
function X3(e, t, n) {
|
|
67634
67645
|
e.domObserver.stop(), t.contentEditable = n, e.domObserver.start();
|
|
67635
67646
|
}
|
|
67636
67647
|
function kNe(e) {
|
|
@@ -67639,7 +67650,7 @@ function kNe(e) {
|
|
|
67639
67650
|
let { focusNode: t, focusOffset: n } = e.domSelectionRange();
|
|
67640
67651
|
if (t && t.nodeType == 1 && n == 0 && t.firstChild && t.firstChild.contentEditable == "false") {
|
|
67641
67652
|
let i = t.firstChild;
|
|
67642
|
-
|
|
67653
|
+
X3(e, i, "true"), setTimeout(() => X3(e, i, "false"), 20);
|
|
67643
67654
|
}
|
|
67644
67655
|
return !1;
|
|
67645
67656
|
}
|
|
@@ -67650,22 +67661,22 @@ function MNe(e) {
|
|
|
67650
67661
|
function CNe(e, t) {
|
|
67651
67662
|
let n = t.keyCode, i = MNe(t);
|
|
67652
67663
|
if (n == 8 || Di && n == 72 && i == "c")
|
|
67653
|
-
return
|
|
67664
|
+
return U3(e, -1) || Ms(e, -1);
|
|
67654
67665
|
if (n == 46 && !t.shiftKey || Di && n == 68 && i == "c")
|
|
67655
|
-
return
|
|
67666
|
+
return U3(e, 1) || Ms(e, 1);
|
|
67656
67667
|
if (n == 13 || n == 27)
|
|
67657
67668
|
return !0;
|
|
67658
67669
|
if (n == 37 || Di && n == 66 && i == "c") {
|
|
67659
|
-
let r = n == 37 ?
|
|
67660
|
-
return
|
|
67670
|
+
let r = n == 37 ? F3(e, e.state.selection.from) == "ltr" ? -1 : 1 : -1;
|
|
67671
|
+
return V3(e, r, i) || Ms(e, r);
|
|
67661
67672
|
} else if (n == 39 || Di && n == 70 && i == "c") {
|
|
67662
|
-
let r = n == 39 ?
|
|
67663
|
-
return
|
|
67673
|
+
let r = n == 39 ? F3(e, e.state.selection.from) == "ltr" ? 1 : -1 : 1;
|
|
67674
|
+
return V3(e, r, i) || Ms(e, r);
|
|
67664
67675
|
} else {
|
|
67665
67676
|
if (n == 38 || Di && n == 80 && i == "c")
|
|
67666
|
-
return
|
|
67677
|
+
return Y3(e, -1, i) || Ms(e, -1);
|
|
67667
67678
|
if (n == 40 || Di && n == 78 && i == "c")
|
|
67668
|
-
return kNe(e) ||
|
|
67679
|
+
return kNe(e) || Y3(e, 1, i) || Ms(e, 1);
|
|
67669
67680
|
if (i == (Di ? "m" : "c") && (n == 66 || n == 73 || n == 89 || n == 90))
|
|
67670
67681
|
return !0;
|
|
67671
67682
|
}
|
|
@@ -67743,14 +67754,14 @@ function _9(e, t, n, i, r) {
|
|
|
67743
67754
|
return p.nodeName == "BR" && !p.nextSibling && p.parentNode && !xNe.test(p.parentNode.nodeName) ? { ignore: !0 } : null;
|
|
67744
67755
|
}
|
|
67745
67756
|
})), c)
|
|
67746
|
-
s = ANe(
|
|
67757
|
+
s = ANe(q3(s, +c[1], +c[2]), c[4]);
|
|
67747
67758
|
else if (s = be.maxOpen(SNe(s.content, r), !0), s.openStart || s.openEnd) {
|
|
67748
67759
|
let f = 0, p = 0;
|
|
67749
67760
|
for (let m = s.content.firstChild; f < s.openStart && !m.type.spec.isolating; f++, m = m.firstChild)
|
|
67750
67761
|
;
|
|
67751
67762
|
for (let m = s.content.lastChild; p < s.openEnd && !m.type.spec.isolating; p++, m = m.lastChild)
|
|
67752
67763
|
;
|
|
67753
|
-
s =
|
|
67764
|
+
s = q3(s, f, p);
|
|
67754
67765
|
}
|
|
67755
67766
|
return e.someProp("transformPasted", (f) => {
|
|
67756
67767
|
s = f(s, e, l);
|
|
@@ -67804,7 +67815,7 @@ function ug(e, t, n, i, r, a) {
|
|
|
67804
67815
|
let o = t < 0 ? e.firstChild : e.lastChild, s = o.content;
|
|
67805
67816
|
return e.childCount > 1 && (a = 0), r < i - 1 && (s = ug(s, t, n, i, r + 1, a)), r >= n && (s = t < 0 ? o.contentMatchAt(0).fillBefore(s, a <= r).append(s) : s.append(o.contentMatchAt(o.childCount).fillBefore(le.empty, !0))), e.replaceChild(t < 0 ? 0 : e.childCount - 1, o.copy(s));
|
|
67806
67817
|
}
|
|
67807
|
-
function
|
|
67818
|
+
function q3(e, t, n) {
|
|
67808
67819
|
return t < e.openStart && (e = new be(ug(e.content, -1, t, e.openStart, 0, e.openEnd), t, e.openEnd)), n < e.openEnd && (e = new be(ug(e.content, 1, n, e.openEnd, 0, 0), e.openStart, n)), e;
|
|
67809
67820
|
}
|
|
67810
67821
|
const D9 = {
|
|
@@ -67818,9 +67829,9 @@ const D9 = {
|
|
|
67818
67829
|
td: ["table", "tbody", "tr"],
|
|
67819
67830
|
th: ["table", "tbody", "tr"]
|
|
67820
67831
|
};
|
|
67821
|
-
let
|
|
67832
|
+
let G3 = null;
|
|
67822
67833
|
function j9() {
|
|
67823
|
-
return
|
|
67834
|
+
return G3 || (G3 = document.implementation.createHTMLDocument("title"));
|
|
67824
67835
|
}
|
|
67825
67836
|
let tp = null;
|
|
67826
67837
|
function TNe(e) {
|
|
@@ -68776,17 +68787,17 @@ function tv(e) {
|
|
|
68776
68787
|
for (let r = n + 1; r < t.length; r++) {
|
|
68777
68788
|
let a = t[r];
|
|
68778
68789
|
if (a.from == i.from) {
|
|
68779
|
-
a.to != i.to && (t == e && (t = e.slice()), t[r] = a.copy(a.from, i.to),
|
|
68790
|
+
a.to != i.to && (t == e && (t = e.slice()), t[r] = a.copy(a.from, i.to), K3(t, r + 1, a.copy(i.to, a.to)));
|
|
68780
68791
|
continue;
|
|
68781
68792
|
} else {
|
|
68782
|
-
a.from < i.to && (t == e && (t = e.slice()), t[n] = i.copy(i.from, a.from),
|
|
68793
|
+
a.from < i.to && (t == e && (t = e.slice()), t[n] = i.copy(i.from, a.from), K3(t, r, i.copy(a.from, i.to)));
|
|
68783
68794
|
break;
|
|
68784
68795
|
}
|
|
68785
68796
|
}
|
|
68786
68797
|
}
|
|
68787
68798
|
return t;
|
|
68788
68799
|
}
|
|
68789
|
-
function
|
|
68800
|
+
function K3(e, t, n) {
|
|
68790
68801
|
for (; t < e.length && Eo(n, e[t]) > 0; )
|
|
68791
68802
|
t++;
|
|
68792
68803
|
e.splice(t, 0, n);
|
|
@@ -68863,7 +68874,7 @@ class nWe {
|
|
|
68863
68874
|
this.suppressingSelectionUpdates = !0, setTimeout(() => this.suppressingSelectionUpdates = !1, 50);
|
|
68864
68875
|
}
|
|
68865
68876
|
onSelectionChange() {
|
|
68866
|
-
if (
|
|
68877
|
+
if (B3(this.view)) {
|
|
68867
68878
|
if (this.suppressingSelectionUpdates)
|
|
68868
68879
|
return Gr(this.view);
|
|
68869
68880
|
if (ti && Wa <= 11 && !this.view.state.selection.empty) {
|
|
@@ -68907,7 +68918,7 @@ class nWe {
|
|
|
68907
68918
|
return;
|
|
68908
68919
|
let n = this.pendingRecords();
|
|
68909
68920
|
n.length && (this.queue = []);
|
|
68910
|
-
let i = t.domSelectionRange(), r = !this.suppressingSelectionUpdates && !this.currentSelection.eq(i) &&
|
|
68921
|
+
let i = t.domSelectionRange(), r = !this.suppressingSelectionUpdates && !this.currentSelection.eq(i) && B3(t) && !this.ignoreSelectionChange(i), a = -1, o = -1, s = !1, l = [];
|
|
68911
68922
|
if (t.editable)
|
|
68912
68923
|
for (let c = 0; c < n.length; c++) {
|
|
68913
68924
|
let f = this.registerMutation(n[c], l);
|
|
@@ -68962,15 +68973,15 @@ class nWe {
|
|
|
68962
68973
|
});
|
|
68963
68974
|
}
|
|
68964
68975
|
}
|
|
68965
|
-
let
|
|
68976
|
+
let Q3 = /* @__PURE__ */ new WeakMap(), J3 = !1;
|
|
68966
68977
|
function iWe(e) {
|
|
68967
|
-
if (!
|
|
68968
|
-
if (e.requiresGeckoHackNode = Ii,
|
|
68978
|
+
if (!Q3.has(e) && (Q3.set(e, null), ["normal", "nowrap", "pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace) !== -1)) {
|
|
68979
|
+
if (e.requiresGeckoHackNode = Ii, J3)
|
|
68969
68980
|
return;
|
|
68970
|
-
console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),
|
|
68981
|
+
console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), J3 = !0;
|
|
68971
68982
|
}
|
|
68972
68983
|
}
|
|
68973
|
-
function
|
|
68984
|
+
function Z3(e, t) {
|
|
68974
68985
|
let n = t.startContainer, i = t.startOffset, r = t.endContainer, a = t.endOffset, o = e.domAtPos(e.state.selection.anchor);
|
|
68975
68986
|
return Fo(o.node, o.offset, r, a) && ([n, i, r, a] = [r, a, n, i]), { anchorNode: n, anchorOffset: i, focusNode: r, focusOffset: a };
|
|
68976
68987
|
}
|
|
@@ -68978,13 +68989,13 @@ function rWe(e, t) {
|
|
|
68978
68989
|
if (t.getComposedRanges) {
|
|
68979
68990
|
let r = t.getComposedRanges(e.root)[0];
|
|
68980
68991
|
if (r)
|
|
68981
|
-
return
|
|
68992
|
+
return Z3(e, r);
|
|
68982
68993
|
}
|
|
68983
68994
|
let n;
|
|
68984
68995
|
function i(r) {
|
|
68985
68996
|
r.preventDefault(), r.stopImmediatePropagation(), n = r.getTargetRanges()[0];
|
|
68986
68997
|
}
|
|
68987
|
-
return e.dom.addEventListener("beforeinput", i, !0), document.execCommand("indent"), e.dom.removeEventListener("beforeinput", i, !0), n ?
|
|
68998
|
+
return e.dom.addEventListener("beforeinput", i, !0), document.execCommand("indent"), e.dom.removeEventListener("beforeinput", i, !0), n ? Z3(e, n) : null;
|
|
68988
68999
|
}
|
|
68989
69000
|
function aWe(e, t) {
|
|
68990
69001
|
for (let n = t.parentNode; n && n != e.dom; n = n.parentNode) {
|
|
@@ -69064,7 +69075,7 @@ function uWe(e, t, n, i, r) {
|
|
|
69064
69075
|
g = { start: l.from, endA: l.to, endB: l.to };
|
|
69065
69076
|
else {
|
|
69066
69077
|
if (d.sel) {
|
|
69067
|
-
let T =
|
|
69078
|
+
let T = e4(e, e.state.doc, d.sel);
|
|
69068
69079
|
if (T && !T.eq(e.state.selection)) {
|
|
69069
69080
|
let W = e.state.tr.setSelection(T);
|
|
69070
69081
|
a && W.setMeta("composition", a), e.dispatch(W);
|
|
@@ -69090,7 +69101,7 @@ function uWe(e, t, n, i, r) {
|
|
|
69090
69101
|
let C = g.start, x = g.endA, S = (T) => {
|
|
69091
69102
|
let W = T || e.state.tr.replace(C, x, d.doc.slice(g.start - d.from, g.endB - d.from));
|
|
69092
69103
|
if (d.sel) {
|
|
69093
|
-
let $ =
|
|
69104
|
+
let $ = e4(e, W.doc, d.sel);
|
|
69094
69105
|
$ && !(xn && e.composing && $.empty && (g.start != g.endB || e.input.lastChromeDelete < Date.now() - 100) && ($.head == C || $.head == W.mapping.map(x) - 1) || ti && $.empty && $.head == C) && W.setSelection($);
|
|
69095
69106
|
}
|
|
69096
69107
|
return a && W.setMeta("composition", a), W.scrollIntoView();
|
|
@@ -69113,7 +69124,7 @@ function uWe(e, t, n, i, r) {
|
|
|
69113
69124
|
} else
|
|
69114
69125
|
e.dispatch(S());
|
|
69115
69126
|
}
|
|
69116
|
-
function
|
|
69127
|
+
function e4(e, t, n) {
|
|
69117
69128
|
return Math.max(n.anchor, n.head) > t.content.size ? null : G0(e, t.resolve(n.anchor), t.resolve(n.head));
|
|
69118
69129
|
}
|
|
69119
69130
|
function dWe(e, t) {
|
|
@@ -69173,14 +69184,14 @@ function fWe(e, t, n, i, r) {
|
|
|
69173
69184
|
}
|
|
69174
69185
|
if (o < a && e.size < t.size) {
|
|
69175
69186
|
let l = i <= a && i >= o ? a - i : 0;
|
|
69176
|
-
a -= l, a && a < t.size &&
|
|
69187
|
+
a -= l, a && a < t.size && t4(t.textBetween(a - 1, a + 1)) && (a += l ? 1 : -1), s = a + (s - o), o = a;
|
|
69177
69188
|
} else if (s < a) {
|
|
69178
69189
|
let l = i <= a && i >= s ? a - i : 0;
|
|
69179
|
-
a -= l, a && a < e.size &&
|
|
69190
|
+
a -= l, a && a < e.size && t4(e.textBetween(a - 1, a + 1)) && (a += l ? 1 : -1), o = a + (o - s), s = a;
|
|
69180
69191
|
}
|
|
69181
69192
|
return { start: a, endA: o, endB: s };
|
|
69182
69193
|
}
|
|
69183
|
-
function
|
|
69194
|
+
function t4(e) {
|
|
69184
69195
|
if (e.length != 2)
|
|
69185
69196
|
return !1;
|
|
69186
69197
|
let t = e.charCodeAt(0), n = e.charCodeAt(1);
|
|
@@ -69195,7 +69206,7 @@ class V9 {
|
|
|
69195
69206
|
added to the document.
|
|
69196
69207
|
*/
|
|
69197
69208
|
constructor(t, n) {
|
|
69198
|
-
this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new DNe(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = n, this.state = n.state, this.directPlugins = n.plugins || [], this.directPlugins.forEach(
|
|
69209
|
+
this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new DNe(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = n, this.state = n.state, this.directPlugins = n.plugins || [], this.directPlugins.forEach(o4), this.dispatch = this.dispatch.bind(this), this.dom = t && t.mount || document.createElement("div"), t && (t.appendChild ? t.appendChild(this.dom) : typeof t == "function" ? t(this.dom) : t.mount && (this.mounted = !0)), this.editable = r4(this), i4(this), this.nodeViews = a4(this), this.docView = O3(this.state.doc, n4(this), np(this), this.dom, this), this.domObserver = new nWe(this, (i, r, a, o) => uWe(this, i, r, a, o)), this.domObserver.start(), jNe(this), this.updatePluginViews();
|
|
69199
69210
|
}
|
|
69200
69211
|
/**
|
|
69201
69212
|
Holds `true` when a
|
|
@@ -69225,7 +69236,7 @@ class V9 {
|
|
|
69225
69236
|
update(t) {
|
|
69226
69237
|
t.handleDOMEvents != this._props.handleDOMEvents && dg(this);
|
|
69227
69238
|
let n = this._props;
|
|
69228
|
-
this._props = t, t.plugins && (t.plugins.forEach(
|
|
69239
|
+
this._props = t, t.plugins && (t.plugins.forEach(o4), this.directPlugins = t.plugins), this.updateStateInner(t.state, n);
|
|
69229
69240
|
}
|
|
69230
69241
|
/**
|
|
69231
69242
|
Update the view by updating existing props object with the object
|
|
@@ -69254,11 +69265,11 @@ class V9 {
|
|
|
69254
69265
|
t.storedMarks && this.composing && (O9(this), o = !0), this.state = t;
|
|
69255
69266
|
let s = r.plugins != t.plugins || this._props.plugins != n.plugins;
|
|
69256
69267
|
if (s || this._props.plugins != n.plugins || this._props.nodeViews != n.nodeViews) {
|
|
69257
|
-
let m =
|
|
69268
|
+
let m = a4(this);
|
|
69258
69269
|
mWe(m, this.nodeViews) && (this.nodeViews = m, a = !0);
|
|
69259
69270
|
}
|
|
69260
|
-
(s || n.handleDOMEvents != this._props.handleDOMEvents) && dg(this), this.editable =
|
|
69261
|
-
let l = np(this), d =
|
|
69271
|
+
(s || n.handleDOMEvents != this._props.handleDOMEvents) && dg(this), this.editable = r4(this), i4(this);
|
|
69272
|
+
let l = np(this), d = n4(this), c = r.plugins != t.plugins && !r.doc.eq(t.doc) ? "reset" : t.scrollToSelection > r.scrollToSelection ? "to selection" : "preserve", f = a || !this.docView.matchesNode(t.doc, d, l);
|
|
69262
69273
|
(f || !t.selection.eq(r.selection)) && (o = !0);
|
|
69263
69274
|
let p = c == "preserve" && o && this.dom.style.overflowAnchor == null && Uje(this);
|
|
69264
69275
|
if (o) {
|
|
@@ -69266,7 +69277,7 @@ class V9 {
|
|
|
69266
69277
|
let m = f && (ti || xn) && !this.composing && !r.selection.empty && !t.selection.empty && hWe(r.selection, t.selection);
|
|
69267
69278
|
if (f) {
|
|
69268
69279
|
let g = xn ? this.trackWrites = this.domSelectionRange().focusNode : null;
|
|
69269
|
-
this.composing && (this.input.compositionNode = YNe(this)), (a || !this.docView.update(t.doc, d, l, this)) && (this.docView.updateOuterDeco(d), this.docView.destroy(), this.docView =
|
|
69280
|
+
this.composing && (this.input.compositionNode = YNe(this)), (a || !this.docView.update(t.doc, d, l, this)) && (this.docView.updateOuterDeco(d), this.docView.destroy(), this.docView = O3(t.doc, d, l, this.dom, this)), g && !this.trackWrites && (m = !0);
|
|
69270
69281
|
}
|
|
69271
69282
|
m || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && gNe(this)) ? Gr(this, m) : (x9(this, t.selection), this.domObserver.setCurSelection()), this.domObserver.start();
|
|
69272
69283
|
}
|
|
@@ -69280,9 +69291,9 @@ class V9 {
|
|
|
69280
69291
|
if (!(!t || !this.dom.contains(t.nodeType == 1 ? t : t.parentNode))) {
|
|
69281
69292
|
if (!this.someProp("handleScrollToSelection", (n) => n(this))) if (this.state.selection instanceof Pe) {
|
|
69282
69293
|
let n = this.docView.domAfterPos(this.state.selection.from);
|
|
69283
|
-
n.nodeType == 1 &&
|
|
69294
|
+
n.nodeType == 1 && E3(this, n.getBoundingClientRect(), t);
|
|
69284
69295
|
} else
|
|
69285
|
-
|
|
69296
|
+
E3(this, this.coordsAtPos(this.state.selection.head, 1), t);
|
|
69286
69297
|
}
|
|
69287
69298
|
}
|
|
69288
69299
|
destroyPluginViews() {
|
|
@@ -69522,7 +69533,7 @@ V9.prototype.dispatch = function(e) {
|
|
|
69522
69533
|
let t = this._props.dispatchTransaction;
|
|
69523
69534
|
t ? t.call(this, e) : this.updateState(this.state.apply(e));
|
|
69524
69535
|
};
|
|
69525
|
-
function
|
|
69536
|
+
function n4(e) {
|
|
69526
69537
|
let t = /* @__PURE__ */ Object.create(null);
|
|
69527
69538
|
return t.class = "ProseMirror", t.contenteditable = String(e.editable), e.someProp("attributes", (n) => {
|
|
69528
69539
|
if (typeof n == "function" && (n = n(e.state)), n)
|
|
@@ -69530,21 +69541,21 @@ function n3(e) {
|
|
|
69530
69541
|
i == "class" ? t.class += " " + n[i] : i == "style" ? t.style = (t.style ? t.style + ";" : "") + n[i] : !t[i] && i != "contenteditable" && i != "nodeName" && (t[i] = String(n[i]));
|
|
69531
69542
|
}), t.translate || (t.translate = "no"), [$n.node(0, e.state.doc.content.size, t)];
|
|
69532
69543
|
}
|
|
69533
|
-
function
|
|
69544
|
+
function i4(e) {
|
|
69534
69545
|
if (e.markCursor) {
|
|
69535
69546
|
let t = document.createElement("img");
|
|
69536
69547
|
t.className = "ProseMirror-separator", t.setAttribute("mark-placeholder", "true"), t.setAttribute("alt", ""), e.cursorWrapper = { dom: t, deco: $n.widget(e.state.selection.from, t, { raw: !0, marks: e.markCursor }) };
|
|
69537
69548
|
} else
|
|
69538
69549
|
e.cursorWrapper = null;
|
|
69539
69550
|
}
|
|
69540
|
-
function
|
|
69551
|
+
function r4(e) {
|
|
69541
69552
|
return !e.someProp("editable", (t) => t(e.state) === !1);
|
|
69542
69553
|
}
|
|
69543
69554
|
function hWe(e, t) {
|
|
69544
69555
|
let n = Math.min(e.$anchor.sharedDepth(e.head), t.$anchor.sharedDepth(t.head));
|
|
69545
69556
|
return e.$anchor.start(n) != t.$anchor.start(n);
|
|
69546
69557
|
}
|
|
69547
|
-
function
|
|
69558
|
+
function a4(e) {
|
|
69548
69559
|
let t = /* @__PURE__ */ Object.create(null);
|
|
69549
69560
|
function n(i) {
|
|
69550
69561
|
for (let r in i)
|
|
@@ -69563,7 +69574,7 @@ function mWe(e, t) {
|
|
|
69563
69574
|
i++;
|
|
69564
69575
|
return n != i;
|
|
69565
69576
|
}
|
|
69566
|
-
function
|
|
69577
|
+
function o4(e) {
|
|
69567
69578
|
if (e.spec.state || e.spec.filterTransaction || e.spec.appendTransaction)
|
|
69568
69579
|
throw new RangeError("Plugins passed directly to the view must not have a state component");
|
|
69569
69580
|
}
|
|
@@ -70000,7 +70011,7 @@ function RWe(e, t = null) {
|
|
|
70000
70011
|
return s ? (i && i(n.tr.wrap(o, s).scrollIntoView()), !0) : !1;
|
|
70001
70012
|
};
|
|
70002
70013
|
}
|
|
70003
|
-
function
|
|
70014
|
+
function s4(e, t = null) {
|
|
70004
70015
|
return function(n, i) {
|
|
70005
70016
|
let r = !1;
|
|
70006
70017
|
for (let a = 0; a < n.selection.ranges.length && !r; a++) {
|
|
@@ -70477,7 +70488,7 @@ function xf(e, t) {
|
|
|
70477
70488
|
function tIe(e) {
|
|
70478
70489
|
return typeof e != "string" ? e : e.match(/^[+-]?(?:\d*\.)?\d+$/) ? Number(e) : e === "true" ? !0 : e === "false" ? !1 : e;
|
|
70479
70490
|
}
|
|
70480
|
-
function
|
|
70491
|
+
function l4(e, t) {
|
|
70481
70492
|
return "style" in e ? e : {
|
|
70482
70493
|
...e,
|
|
70483
70494
|
getAttrs: (n) => {
|
|
@@ -70495,7 +70506,7 @@ function l3(e, t) {
|
|
|
70495
70506
|
}
|
|
70496
70507
|
};
|
|
70497
70508
|
}
|
|
70498
|
-
function
|
|
70509
|
+
function u4(e) {
|
|
70499
70510
|
return Object.fromEntries(
|
|
70500
70511
|
// @ts-ignore
|
|
70501
70512
|
Object.entries(e).filter(([t, n]) => t === "attrs" && eIe(n) ? !1 : n != null)
|
|
@@ -70516,7 +70527,7 @@ function nIe(e, t) {
|
|
|
70516
70527
|
...y,
|
|
70517
70528
|
...C ? C(d) : {}
|
|
70518
70529
|
};
|
|
70519
|
-
}, {}), m =
|
|
70530
|
+
}, {}), m = u4({
|
|
70520
70531
|
...p,
|
|
70521
70532
|
content: ot(Te(d, "content", f)),
|
|
70522
70533
|
marks: ot(Te(d, "marks", f)),
|
|
@@ -70543,7 +70554,7 @@ function nIe(e, t) {
|
|
|
70543
70554
|
)
|
|
70544
70555
|
}), g = ot(Te(d, "parseHTML", f));
|
|
70545
70556
|
g && (m.parseDOM = g.map(
|
|
70546
|
-
(y) =>
|
|
70557
|
+
(y) => l4(y, c)
|
|
70547
70558
|
));
|
|
70548
70559
|
const b = Te(d, "renderHTML", f);
|
|
70549
70560
|
b && (m.toDOM = (y) => b({
|
|
@@ -70566,7 +70577,7 @@ function nIe(e, t) {
|
|
|
70566
70577
|
...w,
|
|
70567
70578
|
...k ? k(d) : {}
|
|
70568
70579
|
};
|
|
70569
|
-
}, {}), m =
|
|
70580
|
+
}, {}), m = u4({
|
|
70570
70581
|
...p,
|
|
70571
70582
|
inclusive: ot(Te(d, "inclusive", f)),
|
|
70572
70583
|
excludes: ot(Te(d, "excludes", f)),
|
|
@@ -70584,7 +70595,7 @@ function nIe(e, t) {
|
|
|
70584
70595
|
)
|
|
70585
70596
|
}), g = ot(Te(d, "parseHTML", f));
|
|
70586
70597
|
g && (m.parseDOM = g.map(
|
|
70587
|
-
(w) =>
|
|
70598
|
+
(w) => l4(w, c)
|
|
70588
70599
|
));
|
|
70589
70600
|
const b = Te(d, "renderHTML", f);
|
|
70590
70601
|
return b && (m.toDOM = (w) => b({
|
|
@@ -70743,7 +70754,7 @@ function l8(e, t, n = {}) {
|
|
|
70743
70754
|
n
|
|
70744
70755
|
));
|
|
70745
70756
|
}
|
|
70746
|
-
function
|
|
70757
|
+
function d4(e, t, n = {}) {
|
|
70747
70758
|
return !!l8(e, t, n);
|
|
70748
70759
|
}
|
|
70749
70760
|
function lv(e, t, n) {
|
|
@@ -70754,9 +70765,9 @@ function lv(e, t, n) {
|
|
|
70754
70765
|
if ((!r.node || !r.node.marks.some((c) => c.type === t)) && (r = e.parent.childBefore(e.parentOffset)), !r.node || !r.node.marks.some((c) => c.type === t) || (n = n || ((i = r.node.marks[0]) == null ? void 0 : i.attrs), !l8([...r.node.marks], t, n)))
|
|
70755
70766
|
return;
|
|
70756
70767
|
let o = r.index, s = e.start() + r.offset, l = o + 1, d = s + r.node.nodeSize;
|
|
70757
|
-
for (; o > 0 &&
|
|
70768
|
+
for (; o > 0 && d4([...e.parent.child(o - 1).marks], t, n); )
|
|
70758
70769
|
o -= 1, s -= e.parent.child(o).nodeSize;
|
|
70759
|
-
for (; l < e.parent.childCount &&
|
|
70770
|
+
for (; l < e.parent.childCount && d4([...e.parent.child(l).marks], t, n); )
|
|
70760
70771
|
d += e.parent.child(l).nodeSize, l += 1;
|
|
70761
70772
|
return {
|
|
70762
70773
|
from: s,
|
|
@@ -70875,10 +70886,10 @@ var cIe = (e, t) => {
|
|
|
70875
70886
|
const { $from: t, $to: n } = e.selection;
|
|
70876
70887
|
return !(t.parentOffset > 0 || t.pos !== n.pos);
|
|
70877
70888
|
};
|
|
70878
|
-
function
|
|
70889
|
+
function c4(e, t) {
|
|
70879
70890
|
return Array.isArray(t) ? t.some((n) => (typeof n == "string" ? n : n.name) === e.name) : t;
|
|
70880
70891
|
}
|
|
70881
|
-
function
|
|
70892
|
+
function f4(e, t) {
|
|
70882
70893
|
const { nodeExtensions: n } = Du(t), i = n.find((o) => o.name === e);
|
|
70883
70894
|
if (!i)
|
|
70884
70895
|
return !1;
|
|
@@ -71364,7 +71375,7 @@ var Yh = class {
|
|
|
71364
71375
|
const l = MWe(s);
|
|
71365
71376
|
a.push(l);
|
|
71366
71377
|
const d = Te(i, "addInputRules", r);
|
|
71367
|
-
if (
|
|
71378
|
+
if (c4(i, e.options.enableInputRules) && d) {
|
|
71368
71379
|
const p = d();
|
|
71369
71380
|
if (p && p.length) {
|
|
71370
71381
|
const m = pIe({
|
|
@@ -71375,7 +71386,7 @@ var Yh = class {
|
|
|
71375
71386
|
}
|
|
71376
71387
|
}
|
|
71377
71388
|
const c = Te(i, "addPasteRules", r);
|
|
71378
|
-
if (
|
|
71389
|
+
if (c4(i, e.options.enablePasteRules) && c) {
|
|
71379
71390
|
const p = c();
|
|
71380
71391
|
if (p && p.length) {
|
|
71381
71392
|
const m = MIe({ editor: e, rules: p });
|
|
@@ -71838,7 +71849,7 @@ var ZIe = (e) => ({ editor: t, view: n, tr: i, dispatch: r }) => {
|
|
|
71838
71849
|
const i = Kt(e, t.schema);
|
|
71839
71850
|
return YWe(i)(t, n);
|
|
71840
71851
|
}, iOe = () => ({ state: e, dispatch: t }) => NWe(e, t);
|
|
71841
|
-
function
|
|
71852
|
+
function h4(e, t) {
|
|
71842
71853
|
const n = typeof t == "string" ? [t] : t;
|
|
71843
71854
|
return Object.keys(e).reduce((i, r) => (n.includes(r) || (i[r] = e[r]), i), {});
|
|
71844
71855
|
}
|
|
@@ -71850,8 +71861,8 @@ var rOe = (e, t) => ({ tr: n, state: i, dispatch: r }) => {
|
|
|
71850
71861
|
);
|
|
71851
71862
|
return s ? (s === "node" && (a = Kt(e, i.schema)), s === "mark" && (o = ta(e, i.schema)), r && n.selection.ranges.forEach((l) => {
|
|
71852
71863
|
i.doc.nodesBetween(l.$from.pos, l.$to.pos, (d, c) => {
|
|
71853
|
-
a && a === d.type && n.setNodeMarkup(c, void 0,
|
|
71854
|
-
o === f.type && n.addMark(c, c + d.nodeSize, o.create(
|
|
71864
|
+
a && a === d.type && n.setNodeMarkup(c, void 0, h4(d.attrs, t)), o && d.marks.length && d.marks.forEach((f) => {
|
|
71865
|
+
o === f.type && n.addMark(c, c + d.nodeSize, o.create(h4(f.attrs, t)));
|
|
71855
71866
|
});
|
|
71856
71867
|
});
|
|
71857
71868
|
}), !0) : !1;
|
|
@@ -71928,7 +71939,7 @@ var mOe = (e, t = {}) => ({ tr: n, state: i, dispatch: r }) => {
|
|
|
71928
71939
|
}, pOe = (e, t) => ({ tr: n }) => (n.setMeta(e, t), !0), gOe = (e, t = {}) => ({ state: n, dispatch: i, chain: r }) => {
|
|
71929
71940
|
const a = Kt(e, n.schema);
|
|
71930
71941
|
let o;
|
|
71931
|
-
return n.selection.$anchor.sameParent(n.selection.$head) && (o = n.selection.$anchor.parent.attrs), a.isTextblock ? r().command(({ commands: s }) =>
|
|
71942
|
+
return n.selection.$anchor.sameParent(n.selection.$head) && (o = n.selection.$anchor.parent.attrs), a.isTextblock ? r().command(({ commands: s }) => s4(a, { ...o, ...t })(n) ? !0 : s.clearNodes()).command(({ state: s }) => s4(a, { ...o, ...t })(s, i)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
|
|
71932
71943
|
}, vOe = (e) => ({ tr: t, dispatch: n }) => {
|
|
71933
71944
|
if (n) {
|
|
71934
71945
|
const { doc: i } = t, r = xo(e, 0, i.content.size), a = Pe.create(i, r);
|
|
@@ -71945,7 +71956,7 @@ var mOe = (e, t = {}) => ({ tr: n, state: i, dispatch: r }) => {
|
|
|
71945
71956
|
const i = Kt(e, t.schema);
|
|
71946
71957
|
return qWe(i)(t, n);
|
|
71947
71958
|
};
|
|
71948
|
-
function
|
|
71959
|
+
function m4(e, t) {
|
|
71949
71960
|
const n = e.storedMarks || e.selection.$to.parentOffset && e.selection.$from.marks();
|
|
71950
71961
|
if (n) {
|
|
71951
71962
|
const i = n.filter((r) => t == null ? void 0 : t.includes(r.type.name));
|
|
@@ -71955,7 +71966,7 @@ function m3(e, t) {
|
|
|
71955
71966
|
var wOe = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, editor: r }) => {
|
|
71956
71967
|
const { selection: a, doc: o } = t, { $from: s, $to: l } = a, d = r.extensionManager.attributes, c = $c(d, s.node().type.name, s.node().attrs);
|
|
71957
71968
|
if (a instanceof Pe && a.node.isBlock)
|
|
71958
|
-
return !s.parentOffset || !Os(o, s.pos) ? !1 : (i && (e &&
|
|
71969
|
+
return !s.parentOffset || !Os(o, s.pos) ? !1 : (i && (e && m4(n, r.extensionManager.splittableMarks), t.split(s.pos).scrollIntoView()), !0);
|
|
71959
71970
|
if (!s.parent.isBlock)
|
|
71960
71971
|
return !1;
|
|
71961
71972
|
const f = l.parentOffset === l.parent.content.size, p = s.depth === 0 ? void 0 : QWe(s.node(-1).contentMatchAt(s.indexAfter(-1)));
|
|
@@ -71975,7 +71986,7 @@ var wOe = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edito
|
|
|
71975
71986
|
const b = t.mapping.map(s.before()), w = t.doc.resolve(b);
|
|
71976
71987
|
s.node(-1).canReplaceWith(w.index(), w.index() + 1, p) && t.setNodeMarkup(t.mapping.map(s.before()), p);
|
|
71977
71988
|
}
|
|
71978
|
-
e &&
|
|
71989
|
+
e && m4(n, r.extensionManager.splittableMarks), t.scrollIntoView();
|
|
71979
71990
|
}
|
|
71980
71991
|
return g;
|
|
71981
71992
|
}, kOe = (e, t = {}) => ({ tr: n, state: i, dispatch: r, editor: a }) => {
|
|
@@ -72058,11 +72069,11 @@ var wOe = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edito
|
|
|
72058
72069
|
const { extensions: f, splittableMarks: p } = r.extensionManager, m = Kt(e, o.schema), g = Kt(t, o.schema), { selection: b, storedMarks: w } = o, { $from: y, $to: k } = b, C = y.blockRange(k), x = w || b.$to.parentOffset && b.$from.marks();
|
|
72059
72070
|
if (!C)
|
|
72060
72071
|
return !1;
|
|
72061
|
-
const S = Rh((j) =>
|
|
72072
|
+
const S = Rh((j) => f4(j.type.name, f))(b);
|
|
72062
72073
|
if (C.depth >= 1 && S && C.depth - S.depth <= 1) {
|
|
72063
72074
|
if (S.node.type === m)
|
|
72064
72075
|
return d.liftListItem(g);
|
|
72065
|
-
if (
|
|
72076
|
+
if (f4(S.node.type.name, f) && m.validContent(S.node.content) && s)
|
|
72066
72077
|
return l().command(() => (a.setNodeMarkup(S.pos, m), !0)).command(() => sp(a, m)).command(() => lp(a, m)).run();
|
|
72067
72078
|
}
|
|
72068
72079
|
return !n || !x || !s ? l().command(() => c().wrapInList(m, i) ? !0 : d.clearNodes()).wrapInList(m, i).command(() => sp(a, m)).command(() => lp(a, m)).run() : l().command(() => {
|
|
@@ -73167,7 +73178,7 @@ function Uo(e) {
|
|
|
73167
73178
|
}
|
|
73168
73179
|
});
|
|
73169
73180
|
}
|
|
73170
|
-
function
|
|
73181
|
+
function p4(e) {
|
|
73171
73182
|
return Qr((t, n) => ({
|
|
73172
73183
|
get() {
|
|
73173
73184
|
return t(), e;
|
|
@@ -73183,9 +73194,9 @@ function p3(e) {
|
|
|
73183
73194
|
}
|
|
73184
73195
|
var zOe = class extends IOe {
|
|
73185
73196
|
constructor(e = {}) {
|
|
73186
|
-
return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState =
|
|
73197
|
+
return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState = p4(this.view.state), this.reactiveExtensionStorage = p4(this.extensionStorage), this.on("beforeTransaction", ({ nextState: t }) => {
|
|
73187
73198
|
this.reactiveState.value = t, this.reactiveExtensionStorage.value = this.extensionStorage;
|
|
73188
|
-
}),
|
|
73199
|
+
}), J4(this);
|
|
73189
73200
|
}
|
|
73190
73201
|
get state() {
|
|
73191
73202
|
return this.reactiveState ? this.reactiveState.value : this.view.state;
|
|
@@ -74017,7 +74028,7 @@ Zn.prototype = {
|
|
|
74017
74028
|
return r.j[e] = o, o;
|
|
74018
74029
|
}
|
|
74019
74030
|
};
|
|
74020
|
-
const Fe = (e, t, n, i, r) => e.ta(t, n, i, r), Wt = (e, t, n, i, r) => e.tr(t, n, i, r),
|
|
74031
|
+
const Fe = (e, t, n, i, r) => e.ta(t, n, i, r), Wt = (e, t, n, i, r) => e.tr(t, n, i, r), g4 = (e, t, n, i, r) => e.ts(t, n, i, r), ce = (e, t, n, i, r) => e.tt(t, n, i, r), Yr = "WORD", yg = "UWORD", E8 = "ASCIINUMERICAL", D8 = "ALPHANUMERICAL", ju = "LOCALHOST", bg = "TLD", wg = "UTLD", Hc = "SCHEME", As = "SLASH_SCHEME", fv = "NUM", kg = "WS", hv = "NL", du = "OPENBRACE", cu = "CLOSEBRACE", _f = "OPENBRACKET", Pf = "CLOSEBRACKET", Af = "OPENPAREN", Ef = "CLOSEPAREN", Df = "OPENANGLEBRACKET", jf = "CLOSEANGLEBRACKET", Nf = "FULLWIDTHLEFTPAREN", Wf = "FULLWIDTHRIGHTPAREN", If = "LEFTCORNERBRACKET", Of = "RIGHTCORNERBRACKET", Lf = "LEFTWHITECORNERBRACKET", zf = "RIGHTWHITECORNERBRACKET", $f = "FULLWIDTHLESSTHAN", Hf = "FULLWIDTHGREATERTHAN", Rf = "AMPERSAND", Bf = "APOSTROPHE", Vf = "ASTERISK", ba = "AT", Ff = "BACKSLASH", Yf = "BACKTICK", Uf = "CARET", xa = "COLON", mv = "COMMA", Xf = "DOLLAR", fr = "DOT", qf = "EQUALS", pv = "EXCLAMATION", Ei = "HYPHEN", fu = "PERCENT", Gf = "PIPE", Kf = "PLUS", Qf = "POUND", hu = "QUERY", gv = "QUOTE", j8 = "FULLWIDTHMIDDLEDOT", vv = "SEMI", hr = "SLASH", mu = "TILDE", Jf = "UNDERSCORE", N8 = "EMOJI", Zf = "SYM";
|
|
74021
74032
|
var W8 = /* @__PURE__ */ Object.freeze({
|
|
74022
74033
|
__proto__: null,
|
|
74023
74034
|
ALPHANUMERICAL: D8,
|
|
@@ -74076,14 +74087,14 @@ var W8 = /* @__PURE__ */ Object.freeze({
|
|
|
74076
74087
|
WORD: Yr,
|
|
74077
74088
|
WS: kg
|
|
74078
74089
|
});
|
|
74079
|
-
const Vr = /[a-z]/, Xl = new RegExp("\\p{L}", "u"), dp = new RegExp("\\p{Emoji}", "u"), Fr = /\d/, cp = /\s/,
|
|
74090
|
+
const Vr = /[a-z]/, Xl = new RegExp("\\p{L}", "u"), dp = new RegExp("\\p{Emoji}", "u"), Fr = /\d/, cp = /\s/, v4 = "\r", fp = `
|
|
74080
74091
|
`, pLe = "️", gLe = "", hp = "";
|
|
74081
74092
|
let Cc = null, xc = null;
|
|
74082
74093
|
function vLe(e = []) {
|
|
74083
74094
|
const t = {};
|
|
74084
74095
|
Zn.groups = t;
|
|
74085
74096
|
const n = new Zn();
|
|
74086
|
-
Cc == null && (Cc =
|
|
74097
|
+
Cc == null && (Cc = y4(uLe)), xc == null && (xc = y4(dLe)), ce(n, "'", Bf), ce(n, "{", du), ce(n, "}", cu), ce(n, "[", _f), ce(n, "]", Pf), ce(n, "(", Af), ce(n, ")", Ef), ce(n, "<", Df), ce(n, ">", jf), ce(n, "(", Nf), ce(n, ")", Wf), ce(n, "「", If), ce(n, "」", Of), ce(n, "『", Lf), ce(n, "』", zf), ce(n, "<", $f), ce(n, ">", Hf), ce(n, "&", Rf), ce(n, "*", Vf), ce(n, "@", ba), ce(n, "`", Yf), ce(n, "^", Uf), ce(n, ":", xa), ce(n, ",", mv), ce(n, "$", Xf), ce(n, ".", fr), ce(n, "=", qf), ce(n, "!", pv), ce(n, "-", Ei), ce(n, "%", fu), ce(n, "|", Gf), ce(n, "+", Kf), ce(n, "#", Qf), ce(n, "?", hu), ce(n, '"', gv), ce(n, "/", hr), ce(n, ";", vv), ce(n, "~", mu), ce(n, "_", Jf), ce(n, "\\", Ff), ce(n, "・", j8);
|
|
74087
74098
|
const i = Wt(n, Fr, fv, {
|
|
74088
74099
|
[mg]: !0
|
|
74089
74100
|
});
|
|
@@ -74102,12 +74113,12 @@ function vLe(e = []) {
|
|
|
74102
74113
|
Wt(s, Vr), Wt(s, Fr, a), Wt(s, Xl, s), Wt(a, Fr, a), Wt(a, Vr), Wt(a, Xl, a);
|
|
74103
74114
|
const l = ce(n, fp, hv, {
|
|
74104
74115
|
[up]: !0
|
|
74105
|
-
}), d = ce(n,
|
|
74116
|
+
}), d = ce(n, v4, kg, {
|
|
74106
74117
|
[up]: !0
|
|
74107
74118
|
}), c = Wt(n, cp, kg, {
|
|
74108
74119
|
[up]: !0
|
|
74109
74120
|
});
|
|
74110
|
-
ce(n, hp, c), ce(d, fp, l), ce(d, hp, c), Wt(d, cp, c), ce(c,
|
|
74121
|
+
ce(n, hp, c), ce(d, fp, l), ce(d, hp, c), Wt(d, cp, c), ce(c, v4), ce(c, fp), Wt(c, cp, c), ce(c, hp, c);
|
|
74111
74122
|
const f = Wt(n, dp, N8, {
|
|
74112
74123
|
[A8]: !0
|
|
74113
74124
|
});
|
|
@@ -74138,9 +74149,9 @@ function vLe(e = []) {
|
|
|
74138
74149
|
} : {
|
|
74139
74150
|
[fLe]: !0
|
|
74140
74151
|
};
|
|
74141
|
-
w.indexOf("-") >= 0 ? k[vg] = !0 : Vr.test(w) ? Fr.test(w) ? k[uu] = !0 : k[pg] = !0 : k[mg] = !0,
|
|
74152
|
+
w.indexOf("-") >= 0 ? k[vg] = !0 : Vr.test(w) ? Fr.test(w) ? k[uu] = !0 : k[pg] = !0 : k[mg] = !0, g4(n, w, w, k);
|
|
74142
74153
|
}
|
|
74143
|
-
return
|
|
74154
|
+
return g4(n, "localhost", ju, {
|
|
74144
74155
|
ascii: !0
|
|
74145
74156
|
}), n.jd = new Zn(Zf), {
|
|
74146
74157
|
start: n,
|
|
@@ -74187,7 +74198,7 @@ function ga(e, t, n, i, r) {
|
|
|
74187
74198
|
}
|
|
74188
74199
|
return a = new Zn(n), a.jr = r.slice(), e.j[t[o - 1]] = a, a;
|
|
74189
74200
|
}
|
|
74190
|
-
function
|
|
74201
|
+
function y4(e) {
|
|
74191
74202
|
const t = [], n = [];
|
|
74192
74203
|
let i = 0, r = "0123456789";
|
|
74193
74204
|
for (; i < e.length; ) {
|
|
@@ -74207,8 +74218,8 @@ function y3(e) {
|
|
|
74207
74218
|
const Nu = {
|
|
74208
74219
|
defaultProtocol: "http",
|
|
74209
74220
|
events: null,
|
|
74210
|
-
format:
|
|
74211
|
-
formatHref:
|
|
74221
|
+
format: b4,
|
|
74222
|
+
formatHref: b4,
|
|
74212
74223
|
nl2br: !1,
|
|
74213
74224
|
tagName: "a",
|
|
74214
74225
|
target: null,
|
|
@@ -74290,7 +74301,7 @@ yv.prototype = {
|
|
|
74290
74301
|
return (this.get("render", null, e) || this.defaultRender)(t, e.t, e);
|
|
74291
74302
|
}
|
|
74292
74303
|
};
|
|
74293
|
-
function
|
|
74304
|
+
function b4(e) {
|
|
74294
74305
|
return e;
|
|
74295
74306
|
}
|
|
74296
74307
|
function O8(e, t) {
|
|
@@ -74410,12 +74421,12 @@ function Uh(e, t) {
|
|
|
74410
74421
|
n.prototype[i] = t[i];
|
|
74411
74422
|
return n.t = e, n;
|
|
74412
74423
|
}
|
|
74413
|
-
const
|
|
74424
|
+
const w4 = Uh("email", {
|
|
74414
74425
|
isLink: !0,
|
|
74415
74426
|
toHref() {
|
|
74416
74427
|
return "mailto:" + this.toString();
|
|
74417
74428
|
}
|
|
74418
|
-
}),
|
|
74429
|
+
}), k4 = Uh("text"), bLe = Uh("nl"), Sc = Uh("url", {
|
|
74419
74430
|
isLink: !0,
|
|
74420
74431
|
/**
|
|
74421
74432
|
Lowercases relevant parts of the domain and adds the protocol if
|
|
@@ -74451,12 +74462,12 @@ function wLe({
|
|
|
74451
74462
|
Fe(d, e.domain, f), Fe(f, e.domain, f);
|
|
74452
74463
|
const p = ce(f, fr);
|
|
74453
74464
|
Fe(p, e.domain, f);
|
|
74454
|
-
const m = Ai(
|
|
74465
|
+
const m = Ai(w4);
|
|
74455
74466
|
Fe(p, e.tld, m), Fe(p, e.utld, m), ce(d, ju, m);
|
|
74456
74467
|
const g = ce(f, Ei);
|
|
74457
74468
|
ce(g, Ei, g), Fe(g, e.domain, f), Fe(m, e.domain, f), ce(m, fr, p), ce(m, Ei, g);
|
|
74458
74469
|
const b = ce(m, xa);
|
|
74459
|
-
Fe(b, e.numeric,
|
|
74470
|
+
Fe(b, e.numeric, w4);
|
|
74460
74471
|
const w = ce(o, Ei), y = ce(o, fr);
|
|
74461
74472
|
ce(w, Ei, w), Fe(w, e.domain, o), Fe(y, i, a), Fe(y, e.domain, o);
|
|
74462
74473
|
const k = Ai(Sc);
|
|
@@ -74509,12 +74520,12 @@ function kLe(e, t, n) {
|
|
|
74509
74520
|
if (p < 0)
|
|
74510
74521
|
r -= c, r < i && (o.push(n[r]), r++);
|
|
74511
74522
|
else {
|
|
74512
|
-
o.length > 0 && (a.push(mp(
|
|
74523
|
+
o.length > 0 && (a.push(mp(k4, t, o)), o = []), r -= p, c -= p;
|
|
74513
74524
|
const m = f.t, g = n.slice(r - c, r);
|
|
74514
74525
|
a.push(mp(m, t, g));
|
|
74515
74526
|
}
|
|
74516
74527
|
}
|
|
74517
|
-
return o.length > 0 && a.push(mp(
|
|
74528
|
+
return o.length > 0 && a.push(mp(k4, t, o)), a;
|
|
74518
74529
|
}
|
|
74519
74530
|
function mp(e, t, n) {
|
|
74520
74531
|
const i = n[0].s, r = n[n.length - 1].e, a = t.slice(i, r);
|
|
@@ -74532,7 +74543,7 @@ const MLe = typeof console < "u" && console && console.warn || (() => {
|
|
|
74532
74543
|
function xLe() {
|
|
74533
74544
|
return Zn.groups = {}, wt.scanner = null, wt.parser = null, wt.tokenQueue = [], wt.pluginQueue = [], wt.customSchemes = [], wt.initialized = !1, wt;
|
|
74534
74545
|
}
|
|
74535
|
-
function
|
|
74546
|
+
function M4(e, t = !1) {
|
|
74536
74547
|
if (wt.initialized && MLe(`linkifyjs: already initialized - will not register custom scheme "${e}" ${CLe}`), !/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))
|
|
74537
74548
|
throw new Error(`linkifyjs: incorrect scheme format.
|
|
74538
74549
|
1. Must only contain digits, lowercase ASCII letters or "-"
|
|
@@ -74697,10 +74708,10 @@ var z8 = es.create({
|
|
|
74697
74708
|
onCreate() {
|
|
74698
74709
|
this.options.validate && !this.options.shouldAutoLink && (this.options.shouldAutoLink = this.options.validate, console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")), this.options.protocols.forEach((e) => {
|
|
74699
74710
|
if (typeof e == "string") {
|
|
74700
|
-
|
|
74711
|
+
M4(e);
|
|
74701
74712
|
return;
|
|
74702
74713
|
}
|
|
74703
|
-
|
|
74714
|
+
M4(e.scheme, e.optionalSlashes);
|
|
74704
74715
|
});
|
|
74705
74716
|
},
|
|
74706
74717
|
onDestroy() {
|
|
@@ -74854,7 +74865,7 @@ var z8 = es.create({
|
|
|
74854
74865
|
}), NLe = z8, WLe = Object.defineProperty, ILe = (e, t) => {
|
|
74855
74866
|
for (var n in t)
|
|
74856
74867
|
WLe(e, n, { get: t[n], enumerable: !0 });
|
|
74857
|
-
}, OLe = "listItem",
|
|
74868
|
+
}, OLe = "listItem", C4 = "textStyle", x4 = /^\s*([-+*])\s$/, $8 = Yn.create({
|
|
74858
74869
|
name: "bulletList",
|
|
74859
74870
|
addOptions() {
|
|
74860
74871
|
return {
|
|
@@ -74876,7 +74887,7 @@ var z8 = es.create({
|
|
|
74876
74887
|
},
|
|
74877
74888
|
addCommands() {
|
|
74878
74889
|
return {
|
|
74879
|
-
toggleBulletList: () => ({ commands: e, chain: t }) => this.options.keepAttributes ? t().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(OLe, this.editor.getAttributes(
|
|
74890
|
+
toggleBulletList: () => ({ commands: e, chain: t }) => this.options.keepAttributes ? t().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(OLe, this.editor.getAttributes(C4)).run() : e.toggleList(this.name, this.options.itemTypeName, this.options.keepMarks)
|
|
74880
74891
|
};
|
|
74881
74892
|
},
|
|
74882
74893
|
addKeyboardShortcuts() {
|
|
@@ -74886,15 +74897,15 @@ var z8 = es.create({
|
|
|
74886
74897
|
},
|
|
74887
74898
|
addInputRules() {
|
|
74888
74899
|
let e = Zs({
|
|
74889
|
-
find:
|
|
74900
|
+
find: x4,
|
|
74890
74901
|
type: this.type
|
|
74891
74902
|
});
|
|
74892
74903
|
return (this.options.keepMarks || this.options.keepAttributes) && (e = Zs({
|
|
74893
|
-
find:
|
|
74904
|
+
find: x4,
|
|
74894
74905
|
type: this.type,
|
|
74895
74906
|
keepMarks: this.options.keepMarks,
|
|
74896
74907
|
keepAttributes: this.options.keepAttributes,
|
|
74897
|
-
getAttributes: () => this.editor.getAttributes(
|
|
74908
|
+
getAttributes: () => this.editor.getAttributes(C4),
|
|
74898
74909
|
editor: this.editor
|
|
74899
74910
|
})), [e];
|
|
74900
74911
|
}
|
|
@@ -75048,7 +75059,7 @@ var rd = (e, t) => {
|
|
|
75048
75059
|
}
|
|
75049
75060
|
};
|
|
75050
75061
|
}
|
|
75051
|
-
}), $Le = "listItem",
|
|
75062
|
+
}), $Le = "listItem", S4 = "textStyle", T4 = /^(\d+)\.\s$/, X8 = Yn.create({
|
|
75052
75063
|
name: "orderedList",
|
|
75053
75064
|
addOptions() {
|
|
75054
75065
|
return {
|
|
@@ -75087,7 +75098,7 @@ var rd = (e, t) => {
|
|
|
75087
75098
|
},
|
|
75088
75099
|
addCommands() {
|
|
75089
75100
|
return {
|
|
75090
|
-
toggleOrderedList: () => ({ commands: e, chain: t }) => this.options.keepAttributes ? t().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes($Le, this.editor.getAttributes(
|
|
75101
|
+
toggleOrderedList: () => ({ commands: e, chain: t }) => this.options.keepAttributes ? t().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes($Le, this.editor.getAttributes(S4)).run() : e.toggleList(this.name, this.options.itemTypeName, this.options.keepMarks)
|
|
75091
75102
|
};
|
|
75092
75103
|
},
|
|
75093
75104
|
addKeyboardShortcuts() {
|
|
@@ -75097,17 +75108,17 @@ var rd = (e, t) => {
|
|
|
75097
75108
|
},
|
|
75098
75109
|
addInputRules() {
|
|
75099
75110
|
let e = Zs({
|
|
75100
|
-
find:
|
|
75111
|
+
find: T4,
|
|
75101
75112
|
type: this.type,
|
|
75102
75113
|
getAttributes: (t) => ({ start: +t[1] }),
|
|
75103
75114
|
joinPredicate: (t, n) => n.childCount + n.attrs.start === +t[1]
|
|
75104
75115
|
});
|
|
75105
75116
|
return (this.options.keepMarks || this.options.keepAttributes) && (e = Zs({
|
|
75106
|
-
find:
|
|
75117
|
+
find: T4,
|
|
75107
75118
|
type: this.type,
|
|
75108
75119
|
keepMarks: this.options.keepMarks,
|
|
75109
75120
|
keepAttributes: this.options.keepAttributes,
|
|
75110
|
-
getAttributes: (t) => ({ start: +t[1], ...this.editor.getAttributes(
|
|
75121
|
+
getAttributes: (t) => ({ start: +t[1], ...this.editor.getAttributes(S4) }),
|
|
75111
75122
|
joinPredicate: (t, n) => n.childCount + n.attrs.start === +t[1],
|
|
75112
75123
|
editor: this.editor
|
|
75113
75124
|
})), [e];
|
|
@@ -75904,9 +75915,9 @@ function lze(e, t, n, i) {
|
|
|
75904
75915
|
if (n.steps.length == 0)
|
|
75905
75916
|
return e;
|
|
75906
75917
|
if (o && o.getMeta(Do))
|
|
75907
|
-
return o.getMeta(Do).redo ? new wa(e.done.addTransform(n, void 0, i, Rc(t)), e.undone,
|
|
75918
|
+
return o.getMeta(Do).redo ? new wa(e.done.addTransform(n, void 0, i, Rc(t)), e.undone, _4(n.mapping.maps), e.prevTime, e.prevComposition) : new wa(e.done, e.undone.addTransform(n, void 0, i, Rc(t)), null, e.prevTime, e.prevComposition);
|
|
75908
75919
|
if (n.getMeta("addToHistory") !== !1 && !(o && o.getMeta("addToHistory") === !1)) {
|
|
75909
|
-
let s = n.getMeta("composition"), l = e.prevTime == 0 || !o && e.prevComposition != s && (e.prevTime < (n.time || 0) - i.newGroupDelay || !uze(n, e.prevRanges)), d = o ? pp(e.prevRanges, n.mapping) :
|
|
75920
|
+
let s = n.getMeta("composition"), l = e.prevTime == 0 || !o && e.prevComposition != s && (e.prevTime < (n.time || 0) - i.newGroupDelay || !uze(n, e.prevRanges)), d = o ? pp(e.prevRanges, n.mapping) : _4(n.mapping.maps);
|
|
75910
75921
|
return new wa(e.done.addTransform(n, l ? t.selection.getBookmark() : void 0, i, Rc(t)), qi.empty, d, n.time, s ?? e.prevComposition);
|
|
75911
75922
|
} else return (a = n.getMeta("rebased")) ? new wa(e.done.rebased(n, a), e.undone.rebased(n, a), pp(e.prevRanges, n.mapping), e.prevTime, e.prevComposition) : new wa(e.done.addMaps(n.mapping.maps), e.undone.addMaps(n.mapping.maps), pp(e.prevRanges, n.mapping), e.prevTime, e.prevComposition);
|
|
75912
75923
|
}
|
|
@@ -75921,7 +75932,7 @@ function uze(e, t) {
|
|
|
75921
75932
|
i <= t[a + 1] && r >= t[a] && (n = !0);
|
|
75922
75933
|
}), n;
|
|
75923
75934
|
}
|
|
75924
|
-
function
|
|
75935
|
+
function _4(e) {
|
|
75925
75936
|
let t = [];
|
|
75926
75937
|
for (let n = e.length - 1; n >= 0 && t.length == 0; n--)
|
|
75927
75938
|
e[n].forEach((i, r, a, o) => t.push(a, o));
|
|
@@ -75944,11 +75955,11 @@ function dze(e, t, n) {
|
|
|
75944
75955
|
let o = a.selection.resolve(a.transform.doc), s = (n ? e.done : e.undone).addTransform(a.transform, t.selection.getBookmark(), r, i), l = new wa(n ? s : a.remaining, n ? a.remaining : s, null, 0, -1);
|
|
75945
75956
|
return a.transform.setSelection(o).setMeta(Do, { redo: n, historyState: l });
|
|
75946
75957
|
}
|
|
75947
|
-
let gp = !1,
|
|
75958
|
+
let gp = !1, P4 = null;
|
|
75948
75959
|
function Rc(e) {
|
|
75949
75960
|
let t = e.plugins;
|
|
75950
|
-
if (
|
|
75951
|
-
gp = !1,
|
|
75961
|
+
if (P4 != t) {
|
|
75962
|
+
gp = !1, P4 = t;
|
|
75952
75963
|
for (let n = 0; n < t.length; n++)
|
|
75953
75964
|
if (t[n].spec.historyPreserveItems) {
|
|
75954
75965
|
gp = !0;
|
|
@@ -76208,7 +76219,7 @@ Qt.create({
|
|
|
76208
76219
|
];
|
|
76209
76220
|
}
|
|
76210
76221
|
});
|
|
76211
|
-
function
|
|
76222
|
+
function A4({ types: e, node: t }) {
|
|
76212
76223
|
return t && Array.isArray(e) && e.includes(t.type) || (t == null ? void 0 : t.type) === e;
|
|
76213
76224
|
}
|
|
76214
76225
|
var gze = Qt.create({
|
|
@@ -76232,13 +76243,13 @@ var gze = Qt.create({
|
|
|
76232
76243
|
state: {
|
|
76233
76244
|
init: (n, i) => {
|
|
76234
76245
|
const r = i.tr.doc.lastChild;
|
|
76235
|
-
return !
|
|
76246
|
+
return !A4({ node: r, types: t });
|
|
76236
76247
|
},
|
|
76237
76248
|
apply: (n, i) => {
|
|
76238
76249
|
if (!n.docChanged)
|
|
76239
76250
|
return i;
|
|
76240
76251
|
const r = n.doc.lastChild;
|
|
76241
|
-
return !
|
|
76252
|
+
return !A4({ node: r, types: t });
|
|
76242
76253
|
}
|
|
76243
76254
|
}
|
|
76244
76255
|
})
|
|
@@ -88300,7 +88311,7 @@ var Rze = {
|
|
|
88300
88311
|
objects: zze,
|
|
88301
88312
|
symbols: $ze,
|
|
88302
88313
|
flags: Hze
|
|
88303
|
-
},
|
|
88314
|
+
}, E4 = [
|
|
88304
88315
|
{
|
|
88305
88316
|
key: "recent",
|
|
88306
88317
|
title: "Recently Used",
|
|
@@ -88348,9 +88359,9 @@ var Rze = {
|
|
|
88348
88359
|
}
|
|
88349
88360
|
];
|
|
88350
88361
|
const Bze = (e, t) => t.some((n) => e instanceof n);
|
|
88351
|
-
let
|
|
88362
|
+
let D4, j4;
|
|
88352
88363
|
function Vze() {
|
|
88353
|
-
return
|
|
88364
|
+
return D4 || (D4 = [
|
|
88354
88365
|
IDBDatabase,
|
|
88355
88366
|
IDBObjectStore,
|
|
88356
88367
|
IDBIndex,
|
|
@@ -88359,7 +88370,7 @@ function Vze() {
|
|
|
88359
88370
|
]);
|
|
88360
88371
|
}
|
|
88361
88372
|
function Fze() {
|
|
88362
|
-
return
|
|
88373
|
+
return j4 || (j4 = [
|
|
88363
88374
|
IDBCursor.prototype.advance,
|
|
88364
88375
|
IDBCursor.prototype.continue,
|
|
88365
88376
|
IDBCursor.prototype.continuePrimaryKey
|
|
@@ -88455,7 +88466,7 @@ function xv(e, t, { blocked: n, upgrade: i, blocking: r, terminated: a } = {}) {
|
|
|
88455
88466
|
}), s;
|
|
88456
88467
|
}
|
|
88457
88468
|
const Kze = ["get", "getKey", "getAll", "getAllKeys", "count"], Qze = ["put", "add", "delete", "clear"], bp = /* @__PURE__ */ new Map();
|
|
88458
|
-
function
|
|
88469
|
+
function N4(e, t) {
|
|
88459
88470
|
if (!(e instanceof IDBDatabase && !(t in e) && typeof t == "string"))
|
|
88460
88471
|
return;
|
|
88461
88472
|
if (bp.get(t))
|
|
@@ -88475,8 +88486,8 @@ function N3(e, t) {
|
|
|
88475
88486
|
}
|
|
88476
88487
|
Xze((e) => ({
|
|
88477
88488
|
...e,
|
|
88478
|
-
get: (t, n, i) =>
|
|
88479
|
-
has: (t, n) => !!
|
|
88489
|
+
get: (t, n, i) => N4(t, n) || e.get(t, n, i),
|
|
88490
|
+
has: (t, n) => !!N4(t, n) || e.has(t, n)
|
|
88480
88491
|
}));
|
|
88481
88492
|
const Sv = "EMJ", el = "emojis", Tv = 3;
|
|
88482
88493
|
async function Jze() {
|
|
@@ -88529,7 +88540,7 @@ function t$e() {
|
|
|
88529
88540
|
return this.options.displayRecent || (f = ["recent", ...f]), f;
|
|
88530
88541
|
},
|
|
88531
88542
|
get groups() {
|
|
88532
|
-
return
|
|
88543
|
+
return E4.filter(
|
|
88533
88544
|
(f) => !this.disabled.includes(f.key)
|
|
88534
88545
|
);
|
|
88535
88546
|
},
|
|
@@ -88537,7 +88548,7 @@ function t$e() {
|
|
|
88537
88548
|
const f = [
|
|
88538
88549
|
...this.options.groupOrder,
|
|
88539
88550
|
...Object.keys(this.options.additionalGroups),
|
|
88540
|
-
...
|
|
88551
|
+
...E4.map((p) => p.key)
|
|
88541
88552
|
];
|
|
88542
88553
|
return [...new Set(f)].filter((p) => !this.disabled.includes(p));
|
|
88543
88554
|
}
|
|
@@ -88591,7 +88602,7 @@ function t$e() {
|
|
|
88591
88602
|
updateSelect: c
|
|
88592
88603
|
};
|
|
88593
88604
|
}
|
|
88594
|
-
var ni = "top", Ri = "bottom", Bi = "right", ii = "left", _v = "auto", ad = [ni, Ri, Bi, ii], tl = "start", Iu = "end", n$e = "clippingParents", i7 = "viewport", ql = "popper", i$e = "reference",
|
|
88605
|
+
var ni = "top", Ri = "bottom", Bi = "right", ii = "left", _v = "auto", ad = [ni, Ri, Bi, ii], tl = "start", Iu = "end", n$e = "clippingParents", i7 = "viewport", ql = "popper", i$e = "reference", W4 = /* @__PURE__ */ ad.reduce(function(e, t) {
|
|
88595
88606
|
return e.concat([t + "-" + tl, t + "-" + Iu]);
|
|
88596
88607
|
}, []), r7 = /* @__PURE__ */ [].concat(ad, [_v]).reduce(function(e, t) {
|
|
88597
88608
|
return e.concat([t, t + "-" + tl, t + "-" + Iu]);
|
|
@@ -88721,7 +88732,7 @@ function eo(e) {
|
|
|
88721
88732
|
function qh(e) {
|
|
88722
88733
|
return Tr(e) === "html" ? e : e.assignedSlot || e.parentNode || (a7(e) ? e.host : null) || eo(e);
|
|
88723
88734
|
}
|
|
88724
|
-
function
|
|
88735
|
+
function I4(e) {
|
|
88725
88736
|
return !Li(e) || _r(e).position === "fixed" ? null : e.offsetParent;
|
|
88726
88737
|
}
|
|
88727
88738
|
function y$e(e) {
|
|
@@ -88740,8 +88751,8 @@ function y$e(e) {
|
|
|
88740
88751
|
return null;
|
|
88741
88752
|
}
|
|
88742
88753
|
function od(e) {
|
|
88743
|
-
for (var t = or(e), n =
|
|
88744
|
-
n =
|
|
88754
|
+
for (var t = or(e), n = I4(e); n && v$e(n) && _r(n).position === "static"; )
|
|
88755
|
+
n = I4(n);
|
|
88745
88756
|
return n && (Tr(n) === "html" || Tr(n) === "body" && _r(n).position === "static") ? t : n || y$e(e) || t;
|
|
88746
88757
|
}
|
|
88747
88758
|
function Av(e) {
|
|
@@ -88811,7 +88822,7 @@ function S$e(e) {
|
|
|
88811
88822
|
y: il(n * r) / r || 0
|
|
88812
88823
|
};
|
|
88813
88824
|
}
|
|
88814
|
-
function
|
|
88825
|
+
function O4(e) {
|
|
88815
88826
|
var t, n = e.popper, i = e.popperRect, r = e.placement, a = e.variation, o = e.offsets, s = e.position, l = e.gpuAcceleration, d = e.adaptive, c = e.roundOffsets, f = e.isFixed, p = c === !0 ? S$e(o) : typeof c == "function" ? c(o) : o, m = p.x, g = m === void 0 ? 0 : m, b = p.y, w = b === void 0 ? 0 : b, y = o.hasOwnProperty("x"), k = o.hasOwnProperty("y"), C = ii, x = ni, S = window;
|
|
88816
88827
|
if (d) {
|
|
88817
88828
|
var j = od(n), T = "clientHeight", W = "clientWidth";
|
|
@@ -88844,12 +88855,12 @@ function T$e(e) {
|
|
|
88844
88855
|
gpuAcceleration: r,
|
|
88845
88856
|
isFixed: t.options.strategy === "fixed"
|
|
88846
88857
|
};
|
|
88847
|
-
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper,
|
|
88858
|
+
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, O4(Object.assign({}, d, {
|
|
88848
88859
|
offsets: t.modifiersData.popperOffsets,
|
|
88849
88860
|
position: t.options.strategy,
|
|
88850
88861
|
adaptive: o,
|
|
88851
88862
|
roundOffsets: l
|
|
88852
|
-
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow,
|
|
88863
|
+
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, O4(Object.assign({}, d, {
|
|
88853
88864
|
offsets: t.modifiersData.arrow,
|
|
88854
88865
|
position: "absolute",
|
|
88855
88866
|
adaptive: !1,
|
|
@@ -88900,7 +88911,7 @@ var D$e = {
|
|
|
88900
88911
|
start: "end",
|
|
88901
88912
|
end: "start"
|
|
88902
88913
|
};
|
|
88903
|
-
function
|
|
88914
|
+
function L4(e) {
|
|
88904
88915
|
return e.replace(/start|end/g, function(t) {
|
|
88905
88916
|
return D$e[t];
|
|
88906
88917
|
});
|
|
@@ -88958,7 +88969,7 @@ function W$e(e) {
|
|
|
88958
88969
|
var t = rl(e);
|
|
88959
88970
|
return t.top = t.top + e.clientTop, t.left = t.left + e.clientLeft, t.bottom = t.top + e.clientHeight, t.right = t.left + e.clientWidth, t.width = e.clientWidth, t.height = e.clientHeight, t.x = t.left, t.y = t.top, t;
|
|
88960
88971
|
}
|
|
88961
|
-
function
|
|
88972
|
+
function z4(e, t) {
|
|
88962
88973
|
return t === i7 ? Tg(j$e(e)) : nl(t) ? W$e(t) : Tg(N$e(eo(e)));
|
|
88963
88974
|
}
|
|
88964
88975
|
function I$e(e) {
|
|
@@ -88969,9 +88980,9 @@ function I$e(e) {
|
|
|
88969
88980
|
}
|
|
88970
88981
|
function O$e(e, t, n) {
|
|
88971
88982
|
var i = t === "clippingParents" ? I$e(e) : [].concat(t), r = [].concat(i, [n]), a = r[0], o = r.reduce(function(s, l) {
|
|
88972
|
-
var d =
|
|
88983
|
+
var d = z4(e, l);
|
|
88973
88984
|
return s.top = jo(d.top, s.top), s.right = nh(d.right, s.right), s.bottom = nh(d.bottom, s.bottom), s.left = jo(d.left, s.left), s;
|
|
88974
|
-
},
|
|
88985
|
+
}, z4(e, a));
|
|
88975
88986
|
return o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
|
|
88976
88987
|
}
|
|
88977
88988
|
function c7(e) {
|
|
@@ -89045,7 +89056,7 @@ function Ou(e, t) {
|
|
|
89045
89056
|
}
|
|
89046
89057
|
function L$e(e, t) {
|
|
89047
89058
|
t === void 0 && (t = {});
|
|
89048
|
-
var n = t, i = n.placement, r = n.boundary, a = n.rootBoundary, o = n.padding, s = n.flipVariations, l = n.allowedAutoPlacements, d = l === void 0 ? r7 : l, c = al(i), f = c ? s ?
|
|
89059
|
+
var n = t, i = n.placement, r = n.boundary, a = n.rootBoundary, o = n.padding, s = n.flipVariations, l = n.allowedAutoPlacements, d = l === void 0 ? r7 : l, c = al(i), f = c ? s ? W4 : W4.filter(function(g) {
|
|
89049
89060
|
return al(g) === c;
|
|
89050
89061
|
}) : ad, p = f.filter(function(g) {
|
|
89051
89062
|
return d.indexOf(g) >= 0;
|
|
@@ -89067,7 +89078,7 @@ function z$e(e) {
|
|
|
89067
89078
|
if (br(e) === _v)
|
|
89068
89079
|
return [];
|
|
89069
89080
|
var t = Bc(e);
|
|
89070
|
-
return [
|
|
89081
|
+
return [L4(e), t, L4(t)];
|
|
89071
89082
|
}
|
|
89072
89083
|
function $$e(e) {
|
|
89073
89084
|
var t = e.state, n = e.options, i = e.name;
|
|
@@ -89128,7 +89139,7 @@ var H$e = {
|
|
|
89128
89139
|
_skip: !1
|
|
89129
89140
|
}
|
|
89130
89141
|
};
|
|
89131
|
-
function $
|
|
89142
|
+
function $4(e, t, n) {
|
|
89132
89143
|
return n === void 0 && (n = {
|
|
89133
89144
|
x: 0,
|
|
89134
89145
|
y: 0
|
|
@@ -89139,7 +89150,7 @@ function $3(e, t, n) {
|
|
|
89139
89150
|
left: e.left - t.width - n.x
|
|
89140
89151
|
};
|
|
89141
89152
|
}
|
|
89142
|
-
function
|
|
89153
|
+
function H4(e) {
|
|
89143
89154
|
return [ni, Bi, Ri, ii].some(function(t) {
|
|
89144
89155
|
return e[t] >= 0;
|
|
89145
89156
|
});
|
|
@@ -89149,7 +89160,7 @@ function R$e(e) {
|
|
|
89149
89160
|
elementContext: "reference"
|
|
89150
89161
|
}), s = Ou(t, {
|
|
89151
89162
|
altBoundary: !0
|
|
89152
|
-
}), l = $
|
|
89163
|
+
}), l = $4(o, i), d = $4(s, r, a), c = H4(l), f = H4(d);
|
|
89153
89164
|
t.modifiersData[n] = {
|
|
89154
89165
|
referenceClippingOffsets: l,
|
|
89155
89166
|
popperEscapeOffsets: d,
|
|
@@ -89329,12 +89340,12 @@ function rHe(e) {
|
|
|
89329
89340
|
return t[n];
|
|
89330
89341
|
});
|
|
89331
89342
|
}
|
|
89332
|
-
var
|
|
89343
|
+
var R4 = {
|
|
89333
89344
|
placement: "bottom",
|
|
89334
89345
|
modifiers: [],
|
|
89335
89346
|
strategy: "absolute"
|
|
89336
89347
|
};
|
|
89337
|
-
function
|
|
89348
|
+
function B4() {
|
|
89338
89349
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
89339
89350
|
t[n] = arguments[n];
|
|
89340
89351
|
return !t.some(function(i) {
|
|
@@ -89343,13 +89354,13 @@ function B3() {
|
|
|
89343
89354
|
}
|
|
89344
89355
|
function aHe(e) {
|
|
89345
89356
|
e === void 0 && (e = {});
|
|
89346
|
-
var t = e, n = t.defaultModifiers, i = n === void 0 ? [] : n, r = t.defaultOptions, a = r === void 0 ?
|
|
89357
|
+
var t = e, n = t.defaultModifiers, i = n === void 0 ? [] : n, r = t.defaultOptions, a = r === void 0 ? R4 : r;
|
|
89347
89358
|
return function(s, l, d) {
|
|
89348
89359
|
d === void 0 && (d = a);
|
|
89349
89360
|
var c = {
|
|
89350
89361
|
placement: "bottom",
|
|
89351
89362
|
orderedModifiers: [],
|
|
89352
|
-
options: Object.assign({},
|
|
89363
|
+
options: Object.assign({}, R4, a),
|
|
89353
89364
|
modifiersData: {},
|
|
89354
89365
|
elements: {
|
|
89355
89366
|
reference: s,
|
|
@@ -89373,7 +89384,7 @@ function aHe(e) {
|
|
|
89373
89384
|
forceUpdate: function() {
|
|
89374
89385
|
if (!p) {
|
|
89375
89386
|
var y = c.elements, k = y.reference, C = y.popper;
|
|
89376
|
-
if (
|
|
89387
|
+
if (B4(k, C)) {
|
|
89377
89388
|
c.rects = {
|
|
89378
89389
|
reference: eHe(k, od(C), c.options.strategy === "fixed"),
|
|
89379
89390
|
popper: Pv(C)
|
|
@@ -89405,7 +89416,7 @@ function aHe(e) {
|
|
|
89405
89416
|
b(), p = !0;
|
|
89406
89417
|
}
|
|
89407
89418
|
};
|
|
89408
|
-
if (!
|
|
89419
|
+
if (!B4(s, l))
|
|
89409
89420
|
return m;
|
|
89410
89421
|
m.setOptions(d).then(function(w) {
|
|
89411
89422
|
!p && d.onFirstUpdate && d.onFirstUpdate(w);
|
|
@@ -90011,7 +90022,7 @@ const tRe = te({
|
|
|
90011
90022
|
groupOrder: e.groupOrder,
|
|
90012
90023
|
groupIcons: e.groupIcons,
|
|
90013
90024
|
colorTheme: jze.includes(e.theme) ? e.theme : "light"
|
|
90014
|
-
}),
|
|
90025
|
+
}), K4("store", r), {
|
|
90015
90026
|
type: e.pickerType,
|
|
90016
90027
|
input: n,
|
|
90017
90028
|
onChangeText: i
|
|
@@ -90027,7 +90038,7 @@ function nRe(e, t, n, i, r, a) {
|
|
|
90027
90038
|
"onUpdate:text": e.onChangeText
|
|
90028
90039
|
}, null, 8, ["type", "text", "onUpdate:text"]);
|
|
90029
90040
|
}
|
|
90030
|
-
var
|
|
90041
|
+
var V4 = /* @__PURE__ */ sd(tRe, [["render", nRe]]), Nv = /* @__PURE__ */ ((e) => (e.primary = "primary", e.secondary = "secondary", e.red = "red", e.green = "green", e.yellow = "yellow", e.blue = "blue", e.white = "white", e.black = "black", e))(Nv || {});
|
|
90031
90042
|
const iRe = { class: "editor-component" }, rRe = { class: "right-buttons" }, aRe = { class: "toolbar" }, p7 = /* @__PURE__ */ te({
|
|
90032
90043
|
__name: "ContentEditor",
|
|
90033
90044
|
props: {
|
|
@@ -90175,7 +90186,7 @@ const iRe = { class: "editor-component" }, rRe = { class: "right-buttons" }, aRe
|
|
|
90175
90186
|
}, ["stop"])),
|
|
90176
90187
|
class: "emoji-picker"
|
|
90177
90188
|
}, [
|
|
90178
|
-
de(q(
|
|
90189
|
+
de(q(V4), {
|
|
90179
90190
|
native: !0,
|
|
90180
90191
|
onSelect: d
|
|
90181
90192
|
})
|
|
@@ -90251,7 +90262,7 @@ const iRe = { class: "editor-component" }, rRe = { class: "right-buttons" }, aRe
|
|
|
90251
90262
|
}, ["stop"])),
|
|
90252
90263
|
class: "emoji-picker"
|
|
90253
90264
|
}, [
|
|
90254
|
-
de(q(
|
|
90265
|
+
de(q(V4), {
|
|
90255
90266
|
native: !0,
|
|
90256
90267
|
onSelect: d
|
|
90257
90268
|
})
|
|
@@ -90861,7 +90872,7 @@ const iRe = { class: "editor-component" }, rRe = { class: "right-buttons" }, aRe
|
|
|
90861
90872
|
}
|
|
90862
90873
|
});
|
|
90863
90874
|
}
|
|
90864
|
-
},
|
|
90875
|
+
}, F4 = {
|
|
90865
90876
|
Accordion: Yk,
|
|
90866
90877
|
Badges: Ln,
|
|
90867
90878
|
BreadCrumbs: t6,
|
|
@@ -90915,12 +90926,12 @@ const iRe = { class: "editor-component" }, rRe = { class: "right-buttons" }, aRe
|
|
|
90915
90926
|
Avatar: O0,
|
|
90916
90927
|
TimePicker: v7
|
|
90917
90928
|
}, TRe = (e) => {
|
|
90918
|
-
Object.keys(
|
|
90919
|
-
e.component("Y" + t,
|
|
90929
|
+
Object.keys(F4).forEach((t) => {
|
|
90930
|
+
e.component("Y" + t, F4[t]);
|
|
90920
90931
|
});
|
|
90921
90932
|
}, _Re = {
|
|
90922
90933
|
install: TRe
|
|
90923
|
-
},
|
|
90934
|
+
}, Y4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90924
90935
|
__proto__: null,
|
|
90925
90936
|
Accordion: Yk,
|
|
90926
90937
|
Avatar: O0,
|
|
@@ -90991,8 +91002,8 @@ const iRe = { class: "editor-component" }, rRe = { class: "right-buttons" }, aRe
|
|
|
90991
91002
|
vuePluginRemoveTestid: y7
|
|
90992
91003
|
}, Symbol.toStringTag, { value: "Module" })), HBe = {
|
|
90993
91004
|
install(e) {
|
|
90994
|
-
for (const t in
|
|
90995
|
-
const n =
|
|
91005
|
+
for (const t in Y4) {
|
|
91006
|
+
const n = Y4[t];
|
|
90996
91007
|
e.use(n).use(y7, { enabled: !1 });
|
|
90997
91008
|
}
|
|
90998
91009
|
}
|