latex-editor-cli 1.0.3 → 1.0.5
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/build/assets/latex-editor/3rdpartylicenses.txt +1 -1
- package/build/assets/latex-editor/browser/assets/{pdf.sandbox-5.4.1100-es5.mjs → pdf.sandbox-5.4.1105-es5.mjs} +2 -2
- package/build/assets/latex-editor/browser/assets/{pdf.sandbox-5.4.1100.min.mjs → pdf.sandbox-5.4.1105.min.mjs} +2 -2
- package/build/assets/latex-editor/browser/assets/{pdf.sandbox-5.4.1100.mjs → pdf.sandbox-5.4.1105.mjs} +2 -2
- package/build/assets/latex-editor/browser/assets/{pdf.worker-5.4.1100-es5.mjs → pdf.worker-5.4.1105-es5.mjs} +3 -3
- package/build/assets/latex-editor/browser/assets/{pdf.worker-5.4.1100.min.mjs → pdf.worker-5.4.1105.min.mjs} +3 -3
- package/build/assets/latex-editor/browser/assets/{pdf.worker-5.4.1100.mjs → pdf.worker-5.4.1105.mjs} +3 -3
- package/build/assets/latex-editor/browser/assets/{viewer-5.4.1100-es5.mjs → viewer-5.4.1105-es5.mjs} +67 -23
- package/build/assets/latex-editor/browser/assets/{viewer-5.4.1100.min.mjs → viewer-5.4.1105.min.mjs} +6 -6
- package/build/assets/latex-editor/browser/assets/{viewer-5.4.1100.mjs → viewer-5.4.1105.mjs} +67 -23
- package/build/assets/latex-editor/browser/chunk-2BBESEDJ.js +1 -0
- package/build/assets/latex-editor/browser/{chunk-B7GYZ4WX.js → chunk-2ZCHJ4LQ.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-3DHH7WFG.js +1 -0
- package/build/assets/latex-editor/browser/{chunk-KF5TJCJQ.js → chunk-3L5YDNK2.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-24IUQ2MV.js → chunk-3VBJVVZR.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-73RY2KW2.js → chunk-3WGN6R25.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-ZB4JU7WT.js → chunk-4JVTVI62.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-4OZE3NHM.js +1 -0
- package/build/assets/latex-editor/browser/{chunk-O5J3Y3L7.js → chunk-4TJF2OJ3.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-4EOYPKOI.js → chunk-5ZKXG644.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-MSK5WAZG.js → chunk-5ZNBLA4K.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-75YGEQNU.js +1 -0
- package/build/assets/latex-editor/browser/{chunk-NYEB6TBF.js → chunk-7DUWD47N.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-EUTGOWIE.js → chunk-7JPAJBCT.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-5C7O7QP5.js → chunk-A5UBKE6S.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-GH6DFKRO.js → chunk-A6VQ25DP.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-PDJLBOI6.js → chunk-BJK5MXZB.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-BLSZXTO5.js +1 -0
- package/build/assets/latex-editor/browser/{chunk-2UJWNOWC.js → chunk-BP3SRSQ3.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-CEGGG4MW.js +1 -0
- package/build/assets/latex-editor/browser/{chunk-XZUSPHUJ.js → chunk-CQSL3W6Y.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-ADKYR6BA.js → chunk-CWVBUSYX.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-N5FPGLFW.js → chunk-DCD2SCCO.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-V6KHBBKF.js → chunk-DHNUBMSL.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-6WH3BGXL.js → chunk-DME26OOD.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-GT4NYD43.js → chunk-DUOOHP3I.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-EDQNL3ID.js +7 -0
- package/build/assets/latex-editor/browser/{chunk-QXQJJ2SD.js → chunk-EUXGLUDK.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-EXRJ6IRL.js +1 -0
- package/build/assets/latex-editor/browser/{chunk-7Z3JRUB7.js → chunk-FGMHU37X.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-4NFTXFH2.js → chunk-FROMWQDU.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-5J43ASUN.js → chunk-FT7CTCDT.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-DFV4P2Z7.js → chunk-GE5FMQAQ.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-HOR7DQFB.js → chunk-GRTTJ5GJ.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-34FS6KBD.js → chunk-GVTSOCKY.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-GYEZIGOH.js +1 -0
- package/build/assets/latex-editor/browser/chunk-H7JNLLHN.js +1 -0
- package/build/assets/latex-editor/browser/{chunk-4QKTIK2W.js → chunk-HQSFSBF5.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-HSCC6Y3Z.js +1 -0
- package/build/assets/latex-editor/browser/{chunk-IKFXPDEW.js → chunk-ICCIAI24.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-IK2IBSL5.js +11 -0
- package/build/assets/latex-editor/browser/{chunk-JJMIO6OD.js → chunk-J4U6TH7A.js} +2 -2
- package/build/assets/latex-editor/browser/chunk-JJ7QO4SV.js +3 -0
- package/build/assets/latex-editor/browser/{chunk-FFA6CGT2.js → chunk-K3W5MMJ7.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-NCWAMEEV.js → chunk-KRJT56AR.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-UFRVRKMS.js → chunk-LDTXD65M.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-FDL5KDY4.js → chunk-LEP7GLKI.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-QNVQWVBM.js → chunk-LUL2L5CY.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-UNAE3JG5.js → chunk-NLN7CR4C.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-2KGEQVPR.js → chunk-NOHSGSFD.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-4UJYLC6N.js → chunk-OFFRTM2S.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-XE4VDS74.js → chunk-OOQTK2VG.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-PUGAIDR5.js → chunk-OWP637BC.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-VXEWKX7X.js → chunk-OXYZZ63H.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-W6LPZD42.js → chunk-PBEB2VID.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-3FBVUMZU.js → chunk-PMRT6UP4.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-LLLACJWD.js → chunk-PVRGLOUP.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-Q4UGQISN.css +1 -0
- package/build/assets/latex-editor/browser/{chunk-6P5DP5K6.js → chunk-QEWOJBZG.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-BPEIK6H6.js → chunk-QTIVPA7U.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-QUXXO5A5.js +903 -0
- package/build/assets/latex-editor/browser/chunk-RGFHHWZD.js +1 -0
- package/build/assets/latex-editor/browser/chunk-RGTUQKLR.js +1 -0
- package/build/assets/latex-editor/browser/{chunk-HWUKL373.js → chunk-RHLYQPBS.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-AHNYK46F.js → chunk-RIXGD6IK.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-57KPLBLW.js → chunk-RJV5RT56.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-S33STG2E.js +1 -0
- package/build/assets/latex-editor/browser/{chunk-7RMT4HBF.js → chunk-S7NLYCXK.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-SAHSYVOX.js +1 -0
- package/build/assets/latex-editor/browser/{chunk-MBKEJNT2.js → chunk-SCZOPCFC.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-W3VUPDEC.js → chunk-SVWDBGWA.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-MR4LD2ZN.js → chunk-T442EELO.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-ZRYASBR7.js → chunk-TGDZBWKV.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-NA3JWVQB.js → chunk-TXJZTFBH.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-23ACGIAR.js → chunk-U46XB2WF.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-AN3EYM7M.js → chunk-UABAZMN7.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-D76E7THE.js → chunk-V7HZIPSW.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-W7KC2FSG.js → chunk-VBUNZTAW.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-I4CKQIH6.js → chunk-VHJLDT52.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-ZWVR77BX.js → chunk-VHX3IXUR.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-OI2ZOW6T.js → chunk-VXSAZON2.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-W3F43F3O.js +4 -0
- package/build/assets/latex-editor/browser/{chunk-OPGPIDJM.js → chunk-WHZGRWNO.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-3J7QQQJO.js → chunk-WNBI3SKA.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-PW5DVYYE.js → chunk-WTHB55QN.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-WUZUFPZZ.js → chunk-XKF5ZD3L.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-XSTB37VS.js +4 -0
- package/build/assets/latex-editor/browser/{chunk-6NWCKC4R.js → chunk-Y5BPXZ6A.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-5JE7RQ2F.js → chunk-YAEKPTII.js} +1 -1
- package/build/assets/latex-editor/browser/chunk-YF6DGJ2Q.js +1 -0
- package/build/assets/latex-editor/browser/{chunk-GRYERMJ2.js → chunk-YJS2ZNZG.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-BYJW4GAD.js → chunk-YO3IECDI.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-YYQ6WD2Z.js → chunk-ZRIQ255R.js} +1 -1
- package/build/assets/latex-editor/browser/{chunk-R7HOYRRP.js → chunk-ZWHUSKMI.js} +1 -1
- package/build/assets/latex-editor/browser/index.html +2 -2
- package/build/assets/latex-editor/browser/main-LQCCN2JL.js +7257 -0
- package/build/assets/latex-editor/browser/main-X4IUVA5T.css +1 -0
- package/build/assets/latex-editor/browser/{styles-LJVRSM5K.css → styles-QSPTKCPS.css} +1 -1
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/build/assets/latex-editor/browser/chunk-4QRP66BG.js +0 -1
- package/build/assets/latex-editor/browser/chunk-7OIHM2XG.js +0 -1
- package/build/assets/latex-editor/browser/chunk-AT3DQ77V.js +0 -669
- package/build/assets/latex-editor/browser/chunk-BOZXEBYA.js +0 -4
- package/build/assets/latex-editor/browser/chunk-EJUJSVO6.js +0 -1
- package/build/assets/latex-editor/browser/chunk-GTO27H2I.js +0 -1
- package/build/assets/latex-editor/browser/chunk-HIAT2FCX.js +0 -1
- package/build/assets/latex-editor/browser/chunk-J55MCTV6.css +0 -1
- package/build/assets/latex-editor/browser/chunk-K4MSRLPF.js +0 -11
- package/build/assets/latex-editor/browser/chunk-KOWJO2XF.js +0 -10
- package/build/assets/latex-editor/browser/chunk-LGKHQWOM.js +0 -1
- package/build/assets/latex-editor/browser/chunk-MDRV3ZLQ.js +0 -3
- package/build/assets/latex-editor/browser/chunk-OMILAHGT.js +0 -1
- package/build/assets/latex-editor/browser/chunk-RJMSLSMR.js +0 -1
- package/build/assets/latex-editor/browser/chunk-S3KGWAJA.js +0 -1
- package/build/assets/latex-editor/browser/chunk-TAZDO5BO.js +0 -4
- package/build/assets/latex-editor/browser/chunk-VUTBKH5T.js +0 -1
- package/build/assets/latex-editor/browser/chunk-Y762CR37.js +0 -1
- package/build/assets/latex-editor/browser/chunk-YCCPGHOH.js +0 -1
- package/build/assets/latex-editor/browser/chunk-YIPPHTCK.js +0 -4
- package/build/assets/latex-editor/browser/main-DOH4MLTT.js +0 -7393
- package/build/assets/latex-editor/browser/main-IYK5LUY7.css +0 -1
package/build/assets/latex-editor/browser/assets/{viewer-5.4.1100.mjs → viewer-5.4.1105.mjs}
RENAMED
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* pdfjsVersion = 5.4.
|
|
25
|
-
* pdfjsBuild =
|
|
24
|
+
* pdfjsVersion = 5.4.1105
|
|
25
|
+
* pdfjsBuild = 7496c25f6
|
|
26
26
|
*/
|
|
27
27
|
/******/ var __webpack_modules__ = ({
|
|
28
28
|
|
|
@@ -10977,6 +10977,7 @@ class AnnotationEditorUIManager {
|
|
|
10977
10977
|
type: "moved",
|
|
10978
10978
|
page: newPageIndex + 1,
|
|
10979
10979
|
editorType: editor.constructor.name,
|
|
10980
|
+
id: editor.uid,
|
|
10980
10981
|
previousValue: {
|
|
10981
10982
|
x: savedX,
|
|
10982
10983
|
y: savedY,
|
|
@@ -12518,7 +12519,8 @@ class AnnotationEditor {
|
|
|
12518
12519
|
type: "commit",
|
|
12519
12520
|
page: this.pageIndex + 1,
|
|
12520
12521
|
editorType: this.constructor.name,
|
|
12521
|
-
value: this
|
|
12522
|
+
value: this,
|
|
12523
|
+
id: this.uid
|
|
12522
12524
|
});
|
|
12523
12525
|
}
|
|
12524
12526
|
addToAnnotationStorage() {
|
|
@@ -12593,6 +12595,7 @@ class AnnotationEditor {
|
|
|
12593
12595
|
source: this,
|
|
12594
12596
|
type: "moved",
|
|
12595
12597
|
page: this.pageIndex + 1,
|
|
12598
|
+
id: this.uid,
|
|
12596
12599
|
editorType: this.constructor.name,
|
|
12597
12600
|
value: {
|
|
12598
12601
|
x,
|
|
@@ -12718,6 +12721,7 @@ class AnnotationEditor {
|
|
|
12718
12721
|
source: this,
|
|
12719
12722
|
type: "altTextChanged",
|
|
12720
12723
|
page: this.pageIndex + 1,
|
|
12724
|
+
id: this.uid,
|
|
12721
12725
|
editorType: this.constructor.name,
|
|
12722
12726
|
value: editor_classPrivateFieldGet(editor_altText, this)
|
|
12723
12727
|
});
|
|
@@ -13198,6 +13202,7 @@ class AnnotationEditor {
|
|
|
13198
13202
|
source: this,
|
|
13199
13203
|
type: "removed",
|
|
13200
13204
|
page: this.pageIndex + 1,
|
|
13205
|
+
id: this.uid,
|
|
13201
13206
|
editorType: this.constructor.name,
|
|
13202
13207
|
value: this
|
|
13203
13208
|
});
|
|
@@ -13665,6 +13670,7 @@ function _addResizeToUndoStack() {
|
|
|
13665
13670
|
source: this,
|
|
13666
13671
|
type: "sizeChanged",
|
|
13667
13672
|
editorType: this.constructor.name,
|
|
13673
|
+
id: this.uid,
|
|
13668
13674
|
page: this.pageIndex + 1,
|
|
13669
13675
|
value: {
|
|
13670
13676
|
x: savedX,
|
|
@@ -22794,7 +22800,7 @@ function getDocument() {
|
|
|
22794
22800
|
}
|
|
22795
22801
|
const docParams = {
|
|
22796
22802
|
docId,
|
|
22797
|
-
apiVersion: "5.4.
|
|
22803
|
+
apiVersion: "5.4.1105",
|
|
22798
22804
|
data,
|
|
22799
22805
|
password,
|
|
22800
22806
|
disableAutoFetch,
|
|
@@ -24524,8 +24530,8 @@ class InternalRenderTask {
|
|
|
24524
24530
|
var _canvasInUse = {
|
|
24525
24531
|
_: new WeakSet()
|
|
24526
24532
|
};
|
|
24527
|
-
const version = "5.4.
|
|
24528
|
-
const build = "
|
|
24533
|
+
const version = "5.4.1105";
|
|
24534
|
+
const build = "7496c25f6";
|
|
24529
24535
|
|
|
24530
24536
|
;// ./src/display/editor/color_picker.js
|
|
24531
24537
|
var _ColorPicker;
|
|
@@ -28698,6 +28704,7 @@ class FreeTextEditor extends AnnotationEditor {
|
|
|
28698
28704
|
source: this,
|
|
28699
28705
|
type: "commit",
|
|
28700
28706
|
page: this.pageIndex + 1,
|
|
28707
|
+
id: this.uid,
|
|
28701
28708
|
value: newText,
|
|
28702
28709
|
previousValue: savedText
|
|
28703
28710
|
});
|
|
@@ -28952,6 +28959,8 @@ class FreeTextEditor extends AnnotationEditor {
|
|
|
28952
28959
|
}
|
|
28953
28960
|
serialize() {
|
|
28954
28961
|
let isForCopying = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
28962
|
+
let context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
28963
|
+
let includeId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
28955
28964
|
if (this.isEmpty()) {
|
|
28956
28965
|
return null;
|
|
28957
28966
|
}
|
|
@@ -28959,20 +28968,23 @@ class FreeTextEditor extends AnnotationEditor {
|
|
|
28959
28968
|
return this.serializeDeleted();
|
|
28960
28969
|
}
|
|
28961
28970
|
const color = AnnotationEditor._colorManager.convert(this.isAttachedToDOM ? getComputedStyle(this.editorDiv).color : this.color);
|
|
28962
|
-
const serialized = Object.assign(super.serialize(isForCopying), {
|
|
28971
|
+
const serialized = Object.assign(super.serialize(isForCopying, context), {
|
|
28963
28972
|
color,
|
|
28964
28973
|
fontSize: freetext_classPrivateFieldGet(_fontSize, this),
|
|
28965
28974
|
value: freetext_assertClassBrand(_FreeTextEditor_brand, this, _serializeContent).call(this)
|
|
28966
28975
|
});
|
|
28967
28976
|
this.addComment(serialized);
|
|
28968
28977
|
if (isForCopying) {
|
|
28978
|
+
if (includeId) {
|
|
28979
|
+
serialized.id = this.uid;
|
|
28980
|
+
}
|
|
28969
28981
|
serialized.isCopy = true;
|
|
28970
28982
|
return serialized;
|
|
28971
28983
|
}
|
|
28972
28984
|
if (this.annotationElementId && !freetext_assertClassBrand(_FreeTextEditor_brand, this, _hasElementChanged).call(this, serialized)) {
|
|
28973
28985
|
return null;
|
|
28974
28986
|
}
|
|
28975
|
-
serialized.id = this.
|
|
28987
|
+
serialized.id = this.uid;
|
|
28976
28988
|
return serialized;
|
|
28977
28989
|
}
|
|
28978
28990
|
renderAnnotationElement(annotation) {
|
|
@@ -29026,6 +29038,7 @@ function _updateFontSize(fontSize) {
|
|
|
29026
29038
|
source: this,
|
|
29027
29039
|
type: "fontSizeChanged",
|
|
29028
29040
|
page: this.pageIndex + 1,
|
|
29041
|
+
id: this.uid,
|
|
29029
29042
|
editorType: this.constructor.name,
|
|
29030
29043
|
value: fontSize,
|
|
29031
29044
|
previousValue: freetext_classPrivateFieldGet(_fontSize, this)
|
|
@@ -29050,6 +29063,7 @@ function freetext_updateColor(color) {
|
|
|
29050
29063
|
source: this,
|
|
29051
29064
|
type: "colorChanged",
|
|
29052
29065
|
page: this.pageIndex + 1,
|
|
29066
|
+
id: this.uid,
|
|
29053
29067
|
editorType: this.constructor.name,
|
|
29054
29068
|
value: color,
|
|
29055
29069
|
previousValue: savedColor
|
|
@@ -30063,6 +30077,7 @@ class HighlightEditor extends AnnotationEditor {
|
|
|
30063
30077
|
source: this,
|
|
30064
30078
|
type: "added",
|
|
30065
30079
|
page: this.pageIndex + 1,
|
|
30080
|
+
id: this.uid,
|
|
30066
30081
|
editorType: this.constructor.name,
|
|
30067
30082
|
value: {
|
|
30068
30083
|
color: this.color,
|
|
@@ -30596,14 +30611,16 @@ class HighlightEditor extends AnnotationEditor {
|
|
|
30596
30611
|
}
|
|
30597
30612
|
serialize() {
|
|
30598
30613
|
let isForCopying = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
30599
|
-
|
|
30614
|
+
let context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
30615
|
+
let includeId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
30616
|
+
if (this.isEmpty() || isForCopying && !includeId) {
|
|
30600
30617
|
return null;
|
|
30601
30618
|
}
|
|
30602
30619
|
if (this.deleted) {
|
|
30603
30620
|
return this.serializeDeleted();
|
|
30604
30621
|
}
|
|
30605
30622
|
const color = AnnotationEditor._colorManager.convert(this._uiManager.getNonHCMColor(this.color));
|
|
30606
|
-
const serialized = super.serialize(isForCopying);
|
|
30623
|
+
const serialized = super.serialize(isForCopying, context);
|
|
30607
30624
|
Object.assign(serialized, {
|
|
30608
30625
|
color,
|
|
30609
30626
|
opacity: this.opacity,
|
|
@@ -30612,10 +30629,15 @@ class HighlightEditor extends AnnotationEditor {
|
|
|
30612
30629
|
outlines: editor_highlight_assertClassBrand(_HighlightEditor_brand, this, _serializeOutlines).call(this, serialized.rect)
|
|
30613
30630
|
});
|
|
30614
30631
|
this.addComment(serialized);
|
|
30632
|
+
if (isForCopying && includeId) {
|
|
30633
|
+
serialized.id = this.uid;
|
|
30634
|
+
serialized.isCopy = true;
|
|
30635
|
+
return serialized;
|
|
30636
|
+
}
|
|
30615
30637
|
if (this.annotationElementId && !editor_highlight_assertClassBrand(_HighlightEditor_brand, this, highlight_hasElementChanged).call(this, serialized)) {
|
|
30616
30638
|
return null;
|
|
30617
30639
|
}
|
|
30618
|
-
serialized.id = this.
|
|
30640
|
+
serialized.id = this.uid;
|
|
30619
30641
|
return serialized;
|
|
30620
30642
|
}
|
|
30621
30643
|
renderAnnotationElement(annotation) {
|
|
@@ -30759,6 +30781,7 @@ function highlight_updateColor(color) {
|
|
|
30759
30781
|
source: this,
|
|
30760
30782
|
type: "colorChanged",
|
|
30761
30783
|
page: this.pageIndex + 1,
|
|
30784
|
+
id: this.uid,
|
|
30762
30785
|
editorType: this.constructor.name,
|
|
30763
30786
|
value: color,
|
|
30764
30787
|
previousValue: savedColor
|
|
@@ -30787,6 +30810,7 @@ function _updateThickness(thickness) {
|
|
|
30787
30810
|
source: this,
|
|
30788
30811
|
type: "thicknessChanged",
|
|
30789
30812
|
page: this.pageIndex + 1,
|
|
30813
|
+
id: this.uid,
|
|
30790
30814
|
editorType: this.constructor.name,
|
|
30791
30815
|
value: thickness,
|
|
30792
30816
|
previousValue: savedThickness
|
|
@@ -31104,7 +31128,8 @@ class DrawingEditor extends AnnotationEditor {
|
|
|
31104
31128
|
type: "colorChanged",
|
|
31105
31129
|
page: this.pageIndex + 1,
|
|
31106
31130
|
editorType: this.constructor.name,
|
|
31107
|
-
value
|
|
31131
|
+
value,
|
|
31132
|
+
id: this.uid
|
|
31108
31133
|
});
|
|
31109
31134
|
} else if (name === "stroke-width") {
|
|
31110
31135
|
this.eventBus?.dispatch("annotation-editor-event", {
|
|
@@ -31112,7 +31137,8 @@ class DrawingEditor extends AnnotationEditor {
|
|
|
31112
31137
|
type: "thicknessChanged",
|
|
31113
31138
|
page: this.pageIndex + 1,
|
|
31114
31139
|
editorType: this.constructor.name,
|
|
31115
|
-
value
|
|
31140
|
+
value,
|
|
31141
|
+
id: this.uid
|
|
31116
31142
|
});
|
|
31117
31143
|
} else if (name === "stroke-opacity") {
|
|
31118
31144
|
this.eventBus?.dispatch("annotation-editor-event", {
|
|
@@ -31120,7 +31146,8 @@ class DrawingEditor extends AnnotationEditor {
|
|
|
31120
31146
|
type: "opacityChanged",
|
|
31121
31147
|
page: this.pageIndex + 1,
|
|
31122
31148
|
editorType: this.constructor.name,
|
|
31123
|
-
value
|
|
31149
|
+
value,
|
|
31150
|
+
id: this.uid
|
|
31124
31151
|
});
|
|
31125
31152
|
}
|
|
31126
31153
|
if (type === this.colorType) {
|
|
@@ -31416,7 +31443,8 @@ class DrawingEditor extends AnnotationEditor {
|
|
|
31416
31443
|
source: this,
|
|
31417
31444
|
type: "bezierPathChanged",
|
|
31418
31445
|
page: this._currentParent ? this._currentParent.pageIndex + 1 : NaN,
|
|
31419
|
-
editorType: this.name
|
|
31446
|
+
editorType: this.name,
|
|
31447
|
+
id: this.uid
|
|
31420
31448
|
});
|
|
31421
31449
|
if (this.supportMultipleDrawings) {
|
|
31422
31450
|
const draw = _currentDraw._;
|
|
@@ -32562,6 +32590,8 @@ class InkEditor extends DrawingEditor {
|
|
|
32562
32590
|
}
|
|
32563
32591
|
serialize() {
|
|
32564
32592
|
let isForCopying = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
32593
|
+
let context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
32594
|
+
let includeId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
32565
32595
|
if (this.isEmpty()) {
|
|
32566
32596
|
return null;
|
|
32567
32597
|
}
|
|
@@ -32579,7 +32609,7 @@ class InkEditor extends DrawingEditor {
|
|
|
32579
32609
|
"stroke-width": thickness
|
|
32580
32610
|
}
|
|
32581
32611
|
} = this;
|
|
32582
|
-
const serialized = Object.assign(super.serialize(isForCopying), {
|
|
32612
|
+
const serialized = Object.assign(super.serialize(isForCopying, context), {
|
|
32583
32613
|
color: AnnotationEditor._colorManager.convert(stroke),
|
|
32584
32614
|
opacity,
|
|
32585
32615
|
thickness,
|
|
@@ -32590,13 +32620,16 @@ class InkEditor extends DrawingEditor {
|
|
|
32590
32620
|
});
|
|
32591
32621
|
this.addComment(serialized);
|
|
32592
32622
|
if (isForCopying) {
|
|
32623
|
+
if (includeId) {
|
|
32624
|
+
serialized.id = this.uid;
|
|
32625
|
+
}
|
|
32593
32626
|
serialized.isCopy = true;
|
|
32594
32627
|
return serialized;
|
|
32595
32628
|
}
|
|
32596
32629
|
if (this.annotationElementId && !ink_assertClassBrand(_InkEditor_brand, this, ink_hasElementChanged).call(this, serialized)) {
|
|
32597
32630
|
return null;
|
|
32598
32631
|
}
|
|
32599
|
-
serialized.id = this.
|
|
32632
|
+
serialized.id = this.uid;
|
|
32600
32633
|
return serialized;
|
|
32601
32634
|
}
|
|
32602
32635
|
renderAnnotationElement(annotation) {
|
|
@@ -33619,6 +33652,8 @@ class SignatureEditor extends DrawingEditor {
|
|
|
33619
33652
|
}
|
|
33620
33653
|
serialize() {
|
|
33621
33654
|
let isForCopying = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
33655
|
+
let context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
33656
|
+
let includeId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
33622
33657
|
if (this.isEmpty()) {
|
|
33623
33658
|
return null;
|
|
33624
33659
|
}
|
|
@@ -33631,7 +33666,7 @@ class SignatureEditor extends DrawingEditor {
|
|
|
33631
33666
|
"stroke-width": thickness
|
|
33632
33667
|
}
|
|
33633
33668
|
} = this;
|
|
33634
|
-
const serialized = Object.assign(super.serialize(isForCopying), {
|
|
33669
|
+
const serialized = Object.assign(super.serialize(isForCopying, context), {
|
|
33635
33670
|
isSignature: true,
|
|
33636
33671
|
areContours: signature_classPrivateFieldGet(_isExtracted, this),
|
|
33637
33672
|
color: [0, 0, 0],
|
|
@@ -33647,6 +33682,9 @@ class SignatureEditor extends DrawingEditor {
|
|
|
33647
33682
|
serialized.isCopy = true;
|
|
33648
33683
|
} else {
|
|
33649
33684
|
serialized.lines = lines;
|
|
33685
|
+
if (includeId) {
|
|
33686
|
+
serialized.id = this.uid;
|
|
33687
|
+
}
|
|
33650
33688
|
}
|
|
33651
33689
|
if (signature_classPrivateFieldGet(_description, this)) {
|
|
33652
33690
|
serialized.accessibilityData = {
|
|
@@ -34093,13 +34131,14 @@ class StampEditor extends AnnotationEditor {
|
|
|
34093
34131
|
serialize() {
|
|
34094
34132
|
let isForCopying = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
34095
34133
|
let context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
34134
|
+
let includeId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
34096
34135
|
if (this.isEmpty()) {
|
|
34097
34136
|
return null;
|
|
34098
34137
|
}
|
|
34099
34138
|
if (this.deleted) {
|
|
34100
34139
|
return this.serializeDeleted();
|
|
34101
34140
|
}
|
|
34102
|
-
const serialized = Object.assign(super.serialize(isForCopying), {
|
|
34141
|
+
const serialized = Object.assign(super.serialize(isForCopying, context), {
|
|
34103
34142
|
bitmapId: stamp_classPrivateFieldGet(_bitmapId, this),
|
|
34104
34143
|
isSvg: stamp_classPrivateFieldGet(_isSvg, this)
|
|
34105
34144
|
});
|
|
@@ -34107,6 +34146,9 @@ class StampEditor extends AnnotationEditor {
|
|
|
34107
34146
|
if (isForCopying) {
|
|
34108
34147
|
serialized.bitmapUrl = stamp_assertClassBrand(_StampEditor_brand, this, _serializeBitmap).call(this, true);
|
|
34109
34148
|
serialized.accessibilityData = this.serializeAltText(true);
|
|
34149
|
+
if (includeId) {
|
|
34150
|
+
serialized.id = this.uid;
|
|
34151
|
+
}
|
|
34110
34152
|
serialized.isCopy = true;
|
|
34111
34153
|
return serialized;
|
|
34112
34154
|
}
|
|
@@ -34130,7 +34172,7 @@ class StampEditor extends AnnotationEditor {
|
|
|
34130
34172
|
} else {
|
|
34131
34173
|
serialized.accessibilityData.structParent = this._initialData.structParent ?? -1;
|
|
34132
34174
|
}
|
|
34133
|
-
serialized.id = this.
|
|
34175
|
+
serialized.id = this.uid;
|
|
34134
34176
|
delete serialized.bitmapId;
|
|
34135
34177
|
return serialized;
|
|
34136
34178
|
}
|
|
@@ -34308,6 +34350,7 @@ function _createCanvas() {
|
|
|
34308
34350
|
source: this,
|
|
34309
34351
|
type: "imageAdded",
|
|
34310
34352
|
page: this.pageIndex + 1,
|
|
34353
|
+
id: this.uid,
|
|
34311
34354
|
editorType: this.constructor.name,
|
|
34312
34355
|
value: canvas,
|
|
34313
34356
|
width,
|
|
@@ -36481,7 +36524,7 @@ class SimpleLinkService extends PDFLinkService {
|
|
|
36481
36524
|
}
|
|
36482
36525
|
|
|
36483
36526
|
;// ./web/ngx-extended-pdf-viewer-version.js
|
|
36484
|
-
const ngxExtendedPdfViewerVersion = '25.6.
|
|
36527
|
+
const ngxExtendedPdfViewerVersion = '25.6.4';
|
|
36485
36528
|
;// ./web/event_utils.js
|
|
36486
36529
|
function event_utils_classPrivateFieldSet(s, a, r) { return s.set(event_utils_assertClassBrand(s, a), r), r; }
|
|
36487
36530
|
function event_utils_classPrivateFieldInitSpec(e, t, a) { event_utils_checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
@@ -51635,7 +51678,7 @@ class PDFViewer {
|
|
|
51635
51678
|
pdf_viewer_classPrivateFieldInitSpec(this, _maxZoom, MAX_SCALE);
|
|
51636
51679
|
pdf_viewer_classPrivateFieldInitSpec(this, _minZoom, MIN_SCALE);
|
|
51637
51680
|
pdf_viewer_classPrivateFieldInitSpec(this, pdf_viewer_viewerAlert, null);
|
|
51638
|
-
const viewerVersion = "5.4.
|
|
51681
|
+
const viewerVersion = "5.4.1105";
|
|
51639
51682
|
if (version !== viewerVersion) {
|
|
51640
51683
|
throw new Error(`The API version "${version}" does not match the Viewer version "${viewerVersion}".`);
|
|
51641
51684
|
}
|
|
@@ -53143,7 +53186,7 @@ class PDFViewer {
|
|
|
53143
53186
|
const annotations = [];
|
|
53144
53187
|
for (const [key, annotation] of annotationStorage) {
|
|
53145
53188
|
if (annotation && typeof annotation.serialize === "function") {
|
|
53146
|
-
const serialized = annotation.serialize(true);
|
|
53189
|
+
const serialized = annotation.serialize(true, null, true);
|
|
53147
53190
|
if (serialized && serialized.annotationType !== undefined) {
|
|
53148
53191
|
annotations.push(serialized);
|
|
53149
53192
|
}
|
|
@@ -56739,6 +56782,7 @@ const PDFViewerApplication = {
|
|
|
56739
56782
|
annotationStorage.onResetModified = () => {
|
|
56740
56783
|
window.removeEventListener("beforeunload", beforeUnload);
|
|
56741
56784
|
delete this._annotationStorageModified;
|
|
56785
|
+
this._initialAnnotationValues = null;
|
|
56742
56786
|
};
|
|
56743
56787
|
annotationStorage.onAnnotationEditor = typeStr => {
|
|
56744
56788
|
this._hasAnnotationEditors = !!typeStr;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as t}from"./chunk-QUXXO5A5.js";import"./chunk-YF6DGJ2Q.js";var qt={comments:{blockComment:["<!--","-->"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:t.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:t.IndentAction.Indent}}]},Nt={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]]}};export{qt as conf,Nt as language};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-
|
|
1
|
+
import"./chunk-YF6DGJ2Q.js";var e={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},o={defaultToken:"",tokenPostfix:".ecl",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],pounds:["append","break","declare","demangle","end","for","getdatatype","if","inmodule","loop","mangle","onwarning","option","set","stored","uniquename"].join("|"),keywords:["__compressed__","after","all","and","any","as","atmost","before","beginc","best","between","case","cluster","compressed","compression","const","counter","csv","default","descend","embed","encoding","encrypt","end","endc","endembed","endmacro","enum","escape","except","exclusive","expire","export","extend","fail","few","fileposition","first","flat","forward","from","full","function","functionmacro","group","grouped","heading","hole","ifblock","import","in","inner","interface","internal","joined","keep","keyed","last","left","limit","linkcounted","literal","little_endian","load","local","locale","lookup","lzw","macro","many","maxcount","maxlength","min skew","module","mofn","multiple","named","namespace","nocase","noroot","noscan","nosort","not","noxpath","of","onfail","only","opt","or","outer","overwrite","packed","partition","penalty","physicallength","pipe","prefetch","quote","record","repeat","retry","return","right","right1","right2","rows","rowset","scan","scope","self","separator","service","shared","skew","skip","smart","soapaction","sql","stable","store","terminator","thor","threshold","timelimit","timeout","token","transform","trim","type","unicodeorder","unordered","unsorted","unstable","update","use","validate","virtual","whole","width","wild","within","wnotrim","xml","xpath"],functions:["abs","acos","aggregate","allnodes","apply","ascii","asin","assert","asstring","atan","atan2","ave","build","buildindex","case","catch","choose","choosen","choosesets","clustersize","combine","correlation","cos","cosh","count","covariance","cron","dataset","dedup","define","denormalize","dictionary","distribute","distributed","distribution","ebcdic","enth","error","evaluate","event","eventextra","eventname","exists","exp","fail","failcode","failmessage","fetch","fromunicode","fromxml","getenv","getisvalid","global","graph","group","hash","hash32","hash64","hashcrc","hashmd5","having","httpcall","httpheader","if","iff","index","intformat","isvalid","iterate","join","keydiff","keypatch","keyunicode","length","library","limit","ln","loadxml","local","log","loop","map","matched","matchlength","matchposition","matchtext","matchunicode","max","merge","mergejoin","min","nofold","nolocal","nonempty","normalize","nothor","notify","output","parallel","parse","pipe","power","preload","process","project","pull","random","range","rank","ranked","realformat","recordof","regexfind","regexreplace","regroup","rejected","rollup","round","roundup","row","rowdiff","sample","sequential","set","sin","sinh","sizeof","soapcall","sort","sorted","sqrt","stepped","stored","sum","table","tan","tanh","thisnode","topn","tounicode","toxml","transfer","transform","trim","truncate","typeof","ungroup","unicodeorder","variance","wait","which","workunit","xmldecode","xmlencode","xmltext","xmlunicode"],typesint:["integer","unsigned"].join("|"),typesnum:["data","qstring","string","unicode","utf8","varstring","varunicode"],typesone:["ascii","big_endian","boolean","data","decimal","ebcdic","grouped","integer","linkcounted","pattern","qstring","real","record","rule","set of","streamed","string","token","udecimal","unicode","unsigned","utf8","varstring","varunicode"].join("|"),operators:["+","-","/",":=","<","<>","=",">","\\","and","in","not","or"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/@typesint[4|8]/,"type"],[/#(@pounds)/,"type"],[/@typesone/,"type"],[/[a-zA-Z_$][\w-$]*/,{cases:{"@functions":"keyword.function","@keywords":"keyword","@operators":"operator"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]]}};export{e as conf,o as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as m,g as p}from"./chunk-QUXXO5A5.js";import{d as E}from"./chunk-YF6DGJ2Q.js";var C={};E(C,{JsxEmit:()=>c,ModuleKind:()=>u,ModuleResolutionKind:()=>_,NewLineKind:()=>l,ScriptTarget:()=>b,getJavaScriptWorker:()=>v,getTypeScriptWorker:()=>x,javascriptDefaults:()=>d,typescriptDefaults:()=>f,typescriptVersion:()=>L});var h="5.9.3";var u=(t=>(t[t.None=0]="None",t[t.CommonJS=1]="CommonJS",t[t.AMD=2]="AMD",t[t.UMD=3]="UMD",t[t.System=4]="System",t[t.ES2015=5]="ES2015",t[t.ESNext=99]="ESNext",t))(u||{}),c=(t=>(t[t.None=0]="None",t[t.Preserve=1]="Preserve",t[t.React=2]="React",t[t.ReactNative=3]="ReactNative",t[t.ReactJSX=4]="ReactJSX",t[t.ReactJSXDev=5]="ReactJSXDev",t))(c||{}),l=(t=>(t[t.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",t[t.LineFeed=1]="LineFeed",t))(l||{}),b=(t=>(t[t.ES3=0]="ES3",t[t.ES5=1]="ES5",t[t.ES2015=2]="ES2015",t[t.ES2016=3]="ES2016",t[t.ES2017=4]="ES2017",t[t.ES2018=5]="ES2018",t[t.ES2019=6]="ES2019",t[t.ES2020=7]="ES2020",t[t.ESNext=99]="ESNext",t[t.JSON=100]="JSON",t[t.Latest=99]="Latest",t))(b||{}),_=(t=>(t[t.Classic=1]="Classic",t[t.NodeJs=2]="NodeJs",t))(_||{}),n=class{constructor(i,r,e,o,s){this._onDidChange=new m,this._onDidExtraLibsChange=new m,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(i),this.setDiagnosticsOptions(r),this.setWorkerOptions(e),this.setInlayHintsOptions(o),this.setModeConfiguration(s),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(i,r){let e;if(typeof r>"u"?e=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:e=r,this._extraLibs[e]&&this._extraLibs[e].content===i)return{dispose:()=>{}};let o=1;return this._removedExtraLibs[e]&&(o=this._removedExtraLibs[e]+1),this._extraLibs[e]&&(o=this._extraLibs[e].version+1),this._extraLibs[e]={content:i,version:o},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let s=this._extraLibs[e];s&&s.version===o&&(delete this._extraLibs[e],this._removedExtraLibs[e]=o,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(i){for(let r in this._extraLibs)this._removedExtraLibs[r]=this._extraLibs[r].version;if(this._extraLibs=Object.create(null),i&&i.length>0)for(let r of i){let e=r.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,o=r.content,s=1;this._removedExtraLibs[e]&&(s=this._removedExtraLibs[e]+1),this._extraLibs[e]={content:o,version:s}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(i){this._compilerOptions=i||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(i){this._diagnosticsOptions=i||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(i){this._workerOptions=i||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(i){this._inlayHintsOptions=i||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(i){}setEagerModelSync(i){this._eagerModelSync=i}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(i){this._modeConfiguration=i||Object.create(null),this._onDidChange.fire(void 0)}},L=h,g={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},f=new n({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},g),d=new n({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},g),x=()=>a().then(t=>t.getTypeScriptWorker()),v=()=>a().then(t=>t.getJavaScriptWorker());function a(){return import("./chunk-IK2IBSL5.js")}p.onLanguage("typescript",()=>a().then(t=>t.setupTypeScript(f)));p.onLanguage("javascript",()=>a().then(t=>t.setupJavaScript(d)));export{f as a,C as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-
|
|
1
|
+
import"./chunk-YF6DGJ2Q.js";var e={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},t={tokenPostfix:".tcl",specialFunctions:["set","unset","rename","variable","proc","coroutine","foreach","incr","append","lappend","linsert","lreplace"],mainFunctions:["if","then","elseif","else","case","switch","while","for","break","continue","return","package","namespace","catch","exit","eval","expr","uplevel","upvar"],builtinFunctions:["file","info","concat","join","lindex","list","llength","lrange","lsearch","lsort","split","array","parray","binary","format","regexp","regsub","scan","string","subst","dict","cd","clock","exec","glob","pid","pwd","close","eof","fblocked","fconfigure","fcopy","fileevent","flush","gets","open","puts","read","seek","socket","tell","interp","after","auto_execok","auto_load","auto_mkindex","auto_reset","bgerror","error","global","history","load","source","time","trace","unknown","unset","update","vwait","winfo","wm","bind","event","pack","place","grid","font","bell","clipboard","destroy","focus","grab","lower","option","raise","selection","send","tk","tkwait","tk_bisque","tk_focusNext","tk_focusPrev","tk_focusFollowsMouse","tk_popup","tk_setPalette"],symbols:/[=><!~?:&|+\-*\/\^%]+/,brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],escapes:/\\(?:[abfnrtv\\"'\[\]\{\};\$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,variables:/(?:\$+(?:(?:\:\:?)?[a-zA-Z_]\w*)+)/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@specialFunctions":{token:"keyword.flow",next:"@specialFunc"},"@mainFunctions":"keyword","@builtinFunctions":"variable","@default":"operator.scss"}}],[/\s+\-+(?!\d|\.)\w*|{\*}/,"metatag"],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,"operator"],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/\.(?!\d|\.)[\w\-]*/,"operator.sql"],[/\d+(\.\d+)?/,"number"],[/\d+/,"number"],[/;/,"delimiter"],[/"/,{token:"string.quote",bracket:"@open",next:"@dstring"}],[/'/,{token:"string.quote",bracket:"@open",next:"@sstring"}]],dstring:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/[^\\$\[\]"]+/,"string"],[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],sstring:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/[^\\$\[\]']+/,"string"],[/@escapes/,"string.escape"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/#.*\\$/,{token:"comment",next:"@newlineComment"}],[/#.*(?!\\)$/,"comment"]],newlineComment:[[/.*\\$/,"comment"],[/.*(?!\\)$/,{token:"comment",next:"@pop"}]],nestedVariable:[[/[^\{\}\$]+/,"type.identifier"],[/\}/,{token:"identifier",next:"@pop"}]],nestedCall:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\]/,{token:"@brackets",next:"@pop"}],{include:"root"}],specialFunc:[[/"/,{token:"string",next:"@dstring"}],[/'/,{token:"string",next:"@sstring"}],[/\S+/,{token:"type",next:"@pop"}]]}};export{e as conf,t as language};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-
|
|
1
|
+
import"./chunk-YF6DGJ2Q.js";var e={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},r={defaultToken:"",ignoreCase:!0,tokenPostfix:".shell",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],builtins:["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"],startingWithDash:/\-+\w+/,identifiersWithDashes:/[a-zA-Z]\w+(?:@startingWithDash)+/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,tokenizer:{root:[[/@identifiersWithDashes/,""],[/(\s)((?:@startingWithDash)+)/,["white","attribute.name"]],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@builtins":"type.identifier","@default":""}}],{include:"@whitespace"},{include:"@strings"},{include:"@parameters"},{include:"@heredoc"},[/[{}\[\]()]/,"@brackets"],[/@symbols/,"delimiter"],{include:"@numbers"},[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"],[/(^#!.*$)/,"metatag"],[/(^#.*$)/,"comment"]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"]],strings:[[/'/,"string","@stringBody"],[/"/,"string","@dblStringBody"]],stringBody:[[/'/,"string","@popall"],[/./,"string"]],dblStringBody:[[/"/,"string","@popall"],[/./,"string"]],heredoc:[[/(<<[-<]?)(\s*)(['"`]?)([\w\-]+)(['"`]?)/,["constants","white","string.heredoc.delimiter","string.heredoc","string.heredoc.delimiter"]]],parameters:[[/\$\d+/,"variable.predefined"],[/\$\w+/,"variable"],[/\$[*@#?\-$!0_]/,"variable"],[/\$'/,"variable","@parameterBodyQuote"],[/\$"/,"variable","@parameterBodyDoubleQuote"],[/\$\(/,"variable","@parameterBodyParen"],[/\$\{/,"variable","@parameterBodyCurlyBrace"]],parameterBodyQuote:[[/[^#:%*@\-!_']+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[']/,"variable","@pop"]],parameterBodyDoubleQuote:[[/[^#:%*@\-!_"]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/["]/,"variable","@pop"]],parameterBodyParen:[[/[^#:%*@\-!_)]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[)]/,"variable","@pop"]],parameterBodyCurlyBrace:[[/[^#:%*@\-!_}]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[}]/,"variable","@pop"]]}};export{e as conf,r as language};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-
|
|
1
|
+
import"./chunk-YF6DGJ2Q.js";var e={comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},o={defaultToken:"",tokenPostfix:".flow",keywords:["import","require","export","forbid","native","if","else","cast","unsafe","switch","default"],types:["io","mutable","bool","int","double","string","flow","void","ref","true","false","with"],operators:["=",">","<","<=",">=","==","!","!=",":=","::=","&&","||","+","-","*","/","@","&","%",":","->","\\","$","??","^"],symbols:/[@$=><!~?:&|+\-*\\\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@types":"type","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"delimiter"],[/[<>](?!@symbols)/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}};export{e as conf,o as language};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-
|
|
1
|
+
import"./chunk-YF6DGJ2Q.js";var e={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},o={defaultToken:"",tokenPostfix:".swift",identifier:/[a-zA-Z_][\w$]*/,attributes:["@GKInspectable","@IBAction","@IBDesignable","@IBInspectable","@IBOutlet","@IBSegueAction","@NSApplicationMain","@NSCopying","@NSManaged","@Sendable","@UIApplicationMain","@autoclosure","@actorIndependent","@asyncHandler","@available","@convention","@derivative","@differentiable","@discardableResult","@dynamicCallable","@dynamicMemberLookup","@escaping","@frozen","@globalActor","@inlinable","@inline","@main","@noDerivative","@nonobjc","@noreturn","@objc","@objcMembers","@preconcurrency","@propertyWrapper","@requires_stored_property_inits","@resultBuilder","@testable","@unchecked","@unknown","@usableFromInline","@warn_unqualified_access"],accessmodifiers:["open","public","internal","fileprivate","private"],keywords:["#available","#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning","Any","Protocol","Self","Type","actor","as","assignment","associatedtype","associativity","async","await","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","dynamicType","else","enum","extension","fallthrough","false","fileprivate","final","for","func","get","guard","higherThan","if","import","in","indirect","infix","init","inout","internal","is","isolated","lazy","left","let","lowerThan","mutating","nil","none","nonisolated","nonmutating","open","operator","optional","override","postfix","precedence","precedencegroup","prefix","private","protocol","public","repeat","required","rethrows","return","right","safe","self","set","some","static","struct","subscript","super","switch","throw","throws","true","try","typealias","unowned","unsafe","var","weak","where","while","willSet","__consuming","__owned"],symbols:/[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},{include:"@attribute"},{include:"@literal"},{include:"@keyword"},{include:"@invokedmethod"},{include:"@symbol"}],whitespace:[[/\s+/,"white"],[/"""/,"string.quote","@endDblDocString"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string.quote","@popall"],[/"/,"string"]],symbol:[[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/[.]/,"delimiter"],[/@operators/,"operator"],[/@symbols/,"operator"]],comment:[[/\/\/\/.*$/,"comment.doc"],[/\/\*\*/,"comment.doc","@commentdocbody"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@commentbody"]],commentdocbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment.doc","@pop"],[/\:[a-zA-Z]+\:/,"comment.doc.param"],[/./,"comment.doc"]],commentbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment","@pop"],[/./,"comment"]],attribute:[[/@@@identifier/,{cases:{"@attributes":"keyword.control","@default":""}}]],literal:[[/"/,{token:"string.quote",next:"@stringlit"}],[/0[b]([01]_?)+/,"number.binary"],[/0[o]([0-7]_?)+/,"number.octal"],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,"number.hex"],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,"number.float"],[/(\d_?)+/,"number"]],stringlit:[[/\\\(/,{token:"operator",next:"@interpolatedexpression"}],[/@escapes/,"string"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}],[/./,"string"]],interpolatedexpression:[[/\(/,{token:"operator",next:"@interpolatedexpression"}],[/\)/,{token:"operator",next:"@pop"}],{include:"@literal"},{include:"@keyword"},{include:"@symbol"}],keyword:[[/`/,{token:"operator",next:"@escapedkeyword"}],[/@identifier/,{cases:{"@keywords":"keyword","[A-Z][a-zA-Z0-9$]*":"type.identifier","@default":"identifier"}}]],escapedkeyword:[[/`/,{token:"operator",next:"@pop"}],[/./,"identifier"]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:["delimeter","type.identifier"],"@default":""}}]]}};export{e as conf,o as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as t}from"./chunk-QUXXO5A5.js";import"./chunk-YF6DGJ2Q.js";var e=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],Et={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${e.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:t.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${e.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:t.IndentAction.Indent}}]},wt={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@commentHtml"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],doctype:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}};export{Et as conf,wt as language};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-
|
|
1
|
+
import"./chunk-YF6DGJ2Q.js";var e={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},t={defaultToken:"",tokenPostfix:".kt",keywords:["as","as?","break","class","continue","do","else","false","for","fun","if","in","!in","interface","is","!is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","field","it"],operators:["+","-","*","/","%","=","+=","-=","*=","/=","%=","++","--","&&","||","!","==","!=","===","!==",">","<","<=",">=","[","]","!!","?.","?:","::","..",":","?","->","@",";","$","_"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[A-Z][\w\$]*/,"type.identifier"],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fF]?/,"number.float"],[/(@digits)?\.(@digits)([eE][\-+]?(@digits))?[fF]?/,"number.float"],[/0[xX](@hexdigits)[uU]?L?/,"number.hex"],[/0[bB](@binarydigits)[uU]?L?/,"number.binary"],[/(@digits)[fF]/,"number.float"],[/(@digits)[uU]?L?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc","@push"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}};export{e as conf,t as language};
|