@arcgis/coding-components 5.1.0-next.33 → 5.1.0-next.35
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/cdn/{2EEFRTZX.js → BAZOSW2A.js} +1 -1
- package/dist/cdn/{TPFENF5U.js → J6FUOGKX.js} +1 -1
- package/dist/cdn/{77GSSZOD.js → OZPKKMNR.js} +4 -4
- package/dist/cdn/assets/code-editor/sql-expr.worker.js +732 -732
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/markdown.js +6 -6
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +5 -5
|
@@ -168,12 +168,12 @@ var Jl;
|
|
|
168
168
|
yield V(ie, q++);
|
|
169
169
|
}
|
|
170
170
|
t.map = E;
|
|
171
|
-
function*
|
|
171
|
+
function* N(F, V) {
|
|
172
172
|
let q = 0;
|
|
173
173
|
for (const ie of F)
|
|
174
174
|
yield* V(ie, q++);
|
|
175
175
|
}
|
|
176
|
-
t.flatMap =
|
|
176
|
+
t.flatMap = N;
|
|
177
177
|
function* k(...F) {
|
|
178
178
|
for (const V of F)
|
|
179
179
|
s6(V) ? yield* V : yield V;
|
|
@@ -532,13 +532,13 @@ var Vf;
|
|
|
532
532
|
}, ne);
|
|
533
533
|
}
|
|
534
534
|
t.latch = E;
|
|
535
|
-
function
|
|
535
|
+
function N(j, H, ne) {
|
|
536
536
|
return [
|
|
537
537
|
t.filter(j, H, ne),
|
|
538
538
|
t.filter(j, (ee) => !H(ee), ne)
|
|
539
539
|
];
|
|
540
540
|
}
|
|
541
|
-
t.split =
|
|
541
|
+
t.split = N;
|
|
542
542
|
function k(j, H = !1, ne = [], ee) {
|
|
543
543
|
let ae = ne.slice(), we = j((at) => {
|
|
544
544
|
ae ? ae.push(at) : tt.fire(at);
|
|
@@ -945,12 +945,12 @@ Jr && Jr.indexOf("Firefox") >= 0;
|
|
|
945
945
|
!S6 && Jr && Jr.indexOf("Safari") >= 0;
|
|
946
946
|
Jr && Jr.indexOf("Edg/") >= 0;
|
|
947
947
|
Jr && Jr.indexOf("Android") >= 0;
|
|
948
|
-
function
|
|
948
|
+
function x6(t) {
|
|
949
949
|
return t;
|
|
950
950
|
}
|
|
951
|
-
class
|
|
951
|
+
class N6 {
|
|
952
952
|
constructor(e, r) {
|
|
953
|
-
this.lastCache = void 0, this.lastArgKey = void 0, typeof e == "function" ? (this._fn = e, this._computeKey =
|
|
953
|
+
this.lastCache = void 0, this.lastArgKey = void 0, typeof e == "function" ? (this._fn = e, this._computeKey = x6) : (this._fn = r, this._computeKey = e.getCacheKey);
|
|
954
954
|
}
|
|
955
955
|
get(e) {
|
|
956
956
|
const r = this._computeKey(e);
|
|
@@ -1066,7 +1066,7 @@ class En {
|
|
|
1066
1066
|
this.ambiguousCharacterData = new Gf(() => JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,1523,96,8242,96,1370,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,118002,50,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,118003,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,118004,52,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,118005,53,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,118006,54,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,118007,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,118008,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,118009,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,117974,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,117975,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71913,67,71922,67,65315,67,8557,67,8450,67,8493,67,117976,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,117977,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,117978,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,117979,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,117980,71,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,117981,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,117983,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,117984,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,118001,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,117982,108,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,117985,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,117986,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,117987,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,118000,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,117988,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,117989,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,117990,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,117991,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,117992,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,117993,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,117994,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,117995,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71910,87,71919,87,117996,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,117997,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,117998,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,71909,90,66293,90,65338,90,8484,90,8488,90,117999,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65283,35,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"cs":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"es":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"fr":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"it":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ja":[8211,45,8218,44,65281,33,8216,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65292,44,65297,49,65307,59],"ko":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pt-BR":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ru":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"zh-hans":[160,32,65374,126,8218,44,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65297,49],"zh-hant":[8211,45,65374,126,8218,44,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89]}'));
|
|
1067
1067
|
}
|
|
1068
1068
|
static {
|
|
1069
|
-
this.cache = new
|
|
1069
|
+
this.cache = new N6({ getCacheKey: JSON.stringify }, (e) => {
|
|
1070
1070
|
function r(_) {
|
|
1071
1071
|
const y = /* @__PURE__ */ new Map();
|
|
1072
1072
|
for (let v = 0; v < _.length; v += 2)
|
|
@@ -1394,7 +1394,7 @@ class M0 {
|
|
|
1394
1394
|
}
|
|
1395
1395
|
}
|
|
1396
1396
|
function q6(t, e, r) {
|
|
1397
|
-
return new
|
|
1397
|
+
return new xn(new M0(t), new M0(e)).ComputeDiff(r).changes;
|
|
1398
1398
|
}
|
|
1399
1399
|
class ls {
|
|
1400
1400
|
static Assert(e, r) {
|
|
@@ -1473,13 +1473,13 @@ class O0 {
|
|
|
1473
1473
|
return (this.m_originalCount > 0 || this.m_modifiedCount > 0) && this.MarkNextChange(), this.m_changes.reverse(), this.m_changes;
|
|
1474
1474
|
}
|
|
1475
1475
|
}
|
|
1476
|
-
class
|
|
1476
|
+
class xn {
|
|
1477
1477
|
/**
|
|
1478
1478
|
* Constructs the DiffFinder
|
|
1479
1479
|
*/
|
|
1480
1480
|
constructor(e, r, n = null) {
|
|
1481
1481
|
this.ContinueProcessingPredicate = n, this._originalSequence = e, this._modifiedSequence = r;
|
|
1482
|
-
const [s, i, u] =
|
|
1482
|
+
const [s, i, u] = xn._getElements(e), [l, c, p] = xn._getElements(r);
|
|
1483
1483
|
this._hasStrings = u && p, this._originalStringElements = s, this._originalElementsOrHash = i, this._modifiedStringElements = l, this._modifiedElementsOrHash = c, this.m_forwardHistory = [], this.m_reverseHistory = [];
|
|
1484
1484
|
}
|
|
1485
1485
|
static _isStringArray(e) {
|
|
@@ -1487,7 +1487,7 @@ class Nn {
|
|
|
1487
1487
|
}
|
|
1488
1488
|
static _getElements(e) {
|
|
1489
1489
|
const r = e.getElements();
|
|
1490
|
-
if (
|
|
1490
|
+
if (xn._isStringArray(r)) {
|
|
1491
1491
|
const n = new Int32Array(r.length);
|
|
1492
1492
|
for (let s = 0, i = r.length; s < i; s++)
|
|
1493
1493
|
n[s] = B6(r[s], 0);
|
|
@@ -1501,7 +1501,7 @@ class Nn {
|
|
|
1501
1501
|
ElementsAreStrictEqual(e, r) {
|
|
1502
1502
|
if (!this.ElementsAreEqual(e, r))
|
|
1503
1503
|
return !1;
|
|
1504
|
-
const n =
|
|
1504
|
+
const n = xn._getStrictElement(this._originalSequence, e), s = xn._getStrictElement(this._modifiedSequence, r);
|
|
1505
1505
|
return n === s;
|
|
1506
1506
|
}
|
|
1507
1507
|
static _getStrictElement(e, r) {
|
|
@@ -1561,7 +1561,7 @@ class Nn {
|
|
|
1561
1561
|
new yn(e, r - e + 1, n, s - n + 1)
|
|
1562
1562
|
];
|
|
1563
1563
|
}
|
|
1564
|
-
WALKTRACE(e, r, n, s, i, u, l, c, p, _, y, v, S, E,
|
|
1564
|
+
WALKTRACE(e, r, n, s, i, u, l, c, p, _, y, v, S, E, N, k, W, z) {
|
|
1565
1565
|
let U = null, Q = null, te = new O0(), fe = r, F = n, V = S[0] - k[0] - s, q = -1073741824, ie = this.m_forwardHistory.length - 1;
|
|
1566
1566
|
do {
|
|
1567
1567
|
const _e = V + e;
|
|
@@ -1574,7 +1574,7 @@ class Nn {
|
|
|
1574
1574
|
_e = Math.max(_e, H.getOriginalEnd()), j = Math.max(j, H.getModifiedEnd());
|
|
1575
1575
|
}
|
|
1576
1576
|
Q = [
|
|
1577
|
-
new yn(_e, v - _e + 1, j,
|
|
1577
|
+
new yn(_e, v - _e + 1, j, N - j + 1)
|
|
1578
1578
|
];
|
|
1579
1579
|
} else {
|
|
1580
1580
|
te = new O0(), fe = u, F = l, V = S[0] - k[0] - c, q = 1073741824, ie = W ? this.m_reverseHistory.length - 1 : this.m_reverseHistory.length - 2;
|
|
@@ -1605,11 +1605,11 @@ class Nn {
|
|
|
1605
1605
|
ComputeRecursionPoint(e, r, n, s, i, u, l) {
|
|
1606
1606
|
let c = 0, p = 0, _ = 0, y = 0, v = 0, S = 0;
|
|
1607
1607
|
e--, n--, i[0] = 0, u[0] = 0, this.m_forwardHistory = [], this.m_reverseHistory = [];
|
|
1608
|
-
const E = r - e + (s - n),
|
|
1608
|
+
const E = r - e + (s - n), N = E + 1, k = new Int32Array(N), W = new Int32Array(N), z = s - n, U = r - e, Q = e - n, te = r - s, F = (U - z) % 2 === 0;
|
|
1609
1609
|
k[z] = e, W[U] = r, l[0] = !1;
|
|
1610
1610
|
for (let V = 1; V <= E / 2 + 1; V++) {
|
|
1611
1611
|
let q = 0, ie = 0;
|
|
1612
|
-
_ = this.ClipDiagonalBound(z - V, V, z,
|
|
1612
|
+
_ = this.ClipDiagonalBound(z - V, V, z, N), y = this.ClipDiagonalBound(z + V, V, z, N);
|
|
1613
1613
|
for (let j = _; j <= y; j += 2) {
|
|
1614
1614
|
j === _ || j < y && k[j - 1] < k[j + 1] ? c = k[j + 1] : c = k[j - 1] + 1, p = c - (j - z) - Q;
|
|
1615
1615
|
const H = c;
|
|
@@ -1623,7 +1623,7 @@ class Nn {
|
|
|
1623
1623
|
return l[0] = !0, i[0] = q, u[0] = ie, _e > 0 && V <= 1448 ? this.WALKTRACE(z, _, y, Q, U, v, S, te, k, W, c, r, i, p, s, u, F, l) : (e++, n++, [
|
|
1624
1624
|
new yn(e, r - e + 1, n, s - n + 1)
|
|
1625
1625
|
]);
|
|
1626
|
-
v = this.ClipDiagonalBound(U - V, V, U,
|
|
1626
|
+
v = this.ClipDiagonalBound(U - V, V, U, N), S = this.ClipDiagonalBound(U + V, V, U, N);
|
|
1627
1627
|
for (let j = v; j <= S; j += 2) {
|
|
1628
1628
|
j === v || j < S && W[j - 1] >= W[j + 1] ? c = W[j + 1] - 1 : c = W[j - 1], p = c - (j - U) - te;
|
|
1629
1629
|
const H = c;
|
|
@@ -1675,8 +1675,8 @@ class Nn {
|
|
|
1675
1675
|
const v = n.originalStart - y, S = n.modifiedStart - y;
|
|
1676
1676
|
if (v < s || S < i || u && !this.OriginalElementsAreEqual(v, v + n.originalLength) || l && !this.ModifiedElementsAreEqual(S, S + n.modifiedLength))
|
|
1677
1677
|
break;
|
|
1678
|
-
const
|
|
1679
|
-
|
|
1678
|
+
const N = (v === s && S === i ? 5 : 0) + this._boundaryScore(v, n.originalLength, S, n.modifiedLength);
|
|
1679
|
+
N > p && (p = N, c = y);
|
|
1680
1680
|
}
|
|
1681
1681
|
n.originalStart -= c, n.modifiedStart -= c;
|
|
1682
1682
|
const _ = [null];
|
|
@@ -1691,8 +1691,8 @@ class Nn {
|
|
|
1691
1691
|
if (u < 5 && p < 20 && v < 20) {
|
|
1692
1692
|
const S = this._findBetterContiguousSequence(l, p, _, v, u);
|
|
1693
1693
|
if (S) {
|
|
1694
|
-
const [E,
|
|
1695
|
-
(E !== s.originalStart + s.originalLength ||
|
|
1694
|
+
const [E, N] = S;
|
|
1695
|
+
(E !== s.originalStart + s.originalLength || N !== s.modifiedStart + s.modifiedLength) && (s.originalLength = E - s.originalStart, s.modifiedLength = N - s.modifiedStart, i.originalStart = E + u, i.modifiedStart = N + u, i.originalLength = c - i.originalStart, i.modifiedLength = y - i.modifiedStart);
|
|
1696
1696
|
}
|
|
1697
1697
|
}
|
|
1698
1698
|
}
|
|
@@ -1915,7 +1915,7 @@ let Ve = class Gn {
|
|
|
1915
1915
|
column: this.column
|
|
1916
1916
|
};
|
|
1917
1917
|
}
|
|
1918
|
-
},
|
|
1918
|
+
}, xe = class ct {
|
|
1919
1919
|
constructor(e, r, n, s) {
|
|
1920
1920
|
e > n || e === n && r > s ? (this.startLineNumber = n, this.startColumn = s, this.endLineNumber = e, this.endColumn = r) : (this.startLineNumber = e, this.startColumn = r, this.endLineNumber = n, this.endColumn = s);
|
|
1921
1921
|
}
|
|
@@ -2413,7 +2413,7 @@ class ec {
|
|
|
2413
2413
|
const n = X6(), s = [];
|
|
2414
2414
|
for (let i = 1, u = e.getLineCount(); i <= u; i++) {
|
|
2415
2415
|
const l = e.getLineContent(i), c = l.length;
|
|
2416
|
-
let p = 0, _ = 0, y = 0, v = 1, S = !1, E = !1,
|
|
2416
|
+
let p = 0, _ = 0, y = 0, v = 1, S = !1, E = !1, N = !1, k = !1;
|
|
2417
2417
|
for (; p < c; ) {
|
|
2418
2418
|
let W = !1;
|
|
2419
2419
|
const z = l.charCodeAt(p);
|
|
@@ -2427,10 +2427,10 @@ class ec {
|
|
|
2427
2427
|
U = S ? 0 : 1;
|
|
2428
2428
|
break;
|
|
2429
2429
|
case 91:
|
|
2430
|
-
|
|
2430
|
+
N = !0, E = !0, U = 0;
|
|
2431
2431
|
break;
|
|
2432
2432
|
case 93:
|
|
2433
|
-
|
|
2433
|
+
N = !1, U = E ? 0 : 1;
|
|
2434
2434
|
break;
|
|
2435
2435
|
case 123:
|
|
2436
2436
|
k = !0, U = 0;
|
|
@@ -2449,7 +2449,7 @@ class ec {
|
|
|
2449
2449
|
U = y === 42 ? 1 : 0;
|
|
2450
2450
|
break;
|
|
2451
2451
|
case 32:
|
|
2452
|
-
U =
|
|
2452
|
+
U = N ? 0 : 1;
|
|
2453
2453
|
break;
|
|
2454
2454
|
default:
|
|
2455
2455
|
U = n.get(z);
|
|
@@ -3122,13 +3122,13 @@ const Ht = {
|
|
|
3122
3122
|
if (r === n || (t = r.toLowerCase(), e = n.toLowerCase(), t === e))
|
|
3123
3123
|
return "";
|
|
3124
3124
|
if (r.length !== t.length || n.length !== e.length) {
|
|
3125
|
-
const E = r.split("\\"),
|
|
3126
|
-
E[E.length - 1] === "" && E.pop(),
|
|
3127
|
-
const k = E.length, W =
|
|
3125
|
+
const E = r.split("\\"), N = n.split("\\");
|
|
3126
|
+
E[E.length - 1] === "" && E.pop(), N[N.length - 1] === "" && N.pop();
|
|
3127
|
+
const k = E.length, W = N.length, z = k < W ? k : W;
|
|
3128
3128
|
let U;
|
|
3129
|
-
for (U = 0; U < z && E[U].toLowerCase() ===
|
|
3129
|
+
for (U = 0; U < z && E[U].toLowerCase() === N[U].toLowerCase(); U++)
|
|
3130
3130
|
;
|
|
3131
|
-
return U === 0 ? n : U === z ? W > z ?
|
|
3131
|
+
return U === 0 ? n : U === z ? W > z ? N.slice(U).join("\\") : k > z ? "..\\".repeat(k - 1 - U) + ".." : "" : "..\\".repeat(k - U) + N.slice(U).join("\\");
|
|
3132
3132
|
}
|
|
3133
3133
|
let s = 0;
|
|
3134
3134
|
for (; s < t.length && t.charCodeAt(s) === Qt; )
|
|
@@ -3767,7 +3767,7 @@ const k0 = /(%[0-9A-Za-z][0-9A-Za-z])+/g;
|
|
|
3767
3767
|
function hl(t) {
|
|
3768
3768
|
return t.match(k0) ? t.replace(k0, (e) => a_(e)) : t;
|
|
3769
3769
|
}
|
|
3770
|
-
class ur extends
|
|
3770
|
+
class ur extends xe {
|
|
3771
3771
|
constructor(e, r, n, s) {
|
|
3772
3772
|
super(e, r, n, s), this.selectionStartLineNumber = e, this.selectionStartColumn = r, this.positionLineNumber = n, this.positionColumn = s;
|
|
3773
3773
|
}
|
|
@@ -4540,7 +4540,7 @@ const v5 = {
|
|
|
4540
4540
|
...v5,
|
|
4541
4541
|
...S5
|
|
4542
4542
|
};
|
|
4543
|
-
class
|
|
4543
|
+
class x5 {
|
|
4544
4544
|
constructor() {
|
|
4545
4545
|
this._tokenizationSupports = /* @__PURE__ */ new Map(), this._factories = /* @__PURE__ */ new Map(), this._onDidChange = new Yr(), this.onDidChange = this._onDidChange.event, this._colorMap = null;
|
|
4546
4546
|
}
|
|
@@ -4560,7 +4560,7 @@ class N5 {
|
|
|
4560
4560
|
}
|
|
4561
4561
|
registerFactory(e, r) {
|
|
4562
4562
|
this._factories.get(e)?.dispose();
|
|
4563
|
-
const n = new
|
|
4563
|
+
const n = new N5(this, e, r);
|
|
4564
4564
|
return this._factories.set(e, n), Ql(() => {
|
|
4565
4565
|
const s = this._factories.get(e);
|
|
4566
4566
|
!s || s !== n || (this._factories.delete(e), s.dispose());
|
|
@@ -4595,7 +4595,7 @@ class N5 {
|
|
|
4595
4595
|
] : null;
|
|
4596
4596
|
}
|
|
4597
4597
|
}
|
|
4598
|
-
class
|
|
4598
|
+
class N5 extends Bi {
|
|
4599
4599
|
get isResolved() {
|
|
4600
4600
|
return this._isResolved;
|
|
4601
4601
|
}
|
|
@@ -5031,7 +5031,7 @@ var Z0;
|
|
|
5031
5031
|
(function(t) {
|
|
5032
5032
|
t[t.Type = 1] = "Type", t[t.Parameter = 2] = "Parameter";
|
|
5033
5033
|
})(Z0 || (Z0 = {}));
|
|
5034
|
-
new
|
|
5034
|
+
new x5();
|
|
5035
5035
|
var X0;
|
|
5036
5036
|
(function(t) {
|
|
5037
5037
|
t[t.Unknown = 0] = "Unknown", t[t.Disabled = 1] = "Disabled", t[t.Enabled = 2] = "Enabled";
|
|
@@ -5152,14 +5152,14 @@ var Sm;
|
|
|
5152
5152
|
(function(t) {
|
|
5153
5153
|
t[t.Invoke = 0] = "Invoke", t[t.Automatic = 1] = "Automatic";
|
|
5154
5154
|
})(Sm || (Sm = {}));
|
|
5155
|
-
var
|
|
5155
|
+
var xm;
|
|
5156
5156
|
(function(t) {
|
|
5157
5157
|
t[t.TOP_RIGHT_CORNER = 0] = "TOP_RIGHT_CORNER", t[t.BOTTOM_RIGHT_CORNER = 1] = "BOTTOM_RIGHT_CORNER", t[t.TOP_CENTER = 2] = "TOP_CENTER";
|
|
5158
|
-
})(
|
|
5159
|
-
var
|
|
5158
|
+
})(xm || (xm = {}));
|
|
5159
|
+
var Nm;
|
|
5160
5160
|
(function(t) {
|
|
5161
5161
|
t[t.Left = 1] = "Left", t[t.Center = 2] = "Center", t[t.Right = 4] = "Right", t[t.Full = 7] = "Full";
|
|
5162
|
-
})(
|
|
5162
|
+
})(Nm || (Nm = {}));
|
|
5163
5163
|
var Em;
|
|
5164
5164
|
(function(t) {
|
|
5165
5165
|
t[t.Word = 0] = "Word", t[t.Line = 1] = "Line", t[t.Suggest = 2] = "Suggest";
|
|
@@ -5252,7 +5252,7 @@ function P5() {
|
|
|
5252
5252
|
KeyCode: Xf,
|
|
5253
5253
|
KeyMod: T5,
|
|
5254
5254
|
Position: Ve,
|
|
5255
|
-
Range:
|
|
5255
|
+
Range: xe,
|
|
5256
5256
|
Selection: ur,
|
|
5257
5257
|
SelectionDirection: Kf,
|
|
5258
5258
|
MarkerSeverity: Jf,
|
|
@@ -5704,7 +5704,7 @@ class V5 {
|
|
|
5704
5704
|
let c;
|
|
5705
5705
|
l === "allNonBasicAscii" ? c = new RegExp("[^\\t\\n\\r\\x20-\\x7E]", "g") : c = new RegExp(`${z5(Array.from(l))}`, "g");
|
|
5706
5706
|
const p = new D5(null, c), _ = [];
|
|
5707
|
-
let y = !1, v, S = 0, E = 0,
|
|
5707
|
+
let y = !1, v, S = 0, E = 0, N = 0;
|
|
5708
5708
|
e: for (let k = s, W = i; k <= W; k++) {
|
|
5709
5709
|
const z = e.getLineContent(k), U = z.length;
|
|
5710
5710
|
p.reset(0);
|
|
@@ -5724,11 +5724,11 @@ class V5 {
|
|
|
5724
5724
|
F && F.endColumn <= Q + 1 && (F = null);
|
|
5725
5725
|
const V = u.shouldHighlightNonBasicASCII(fe, F ? F.word : null);
|
|
5726
5726
|
if (V !== 0) {
|
|
5727
|
-
if (V === 3 ? S++ : V === 2 ? E++ : V === 1 ?
|
|
5727
|
+
if (V === 3 ? S++ : V === 2 ? E++ : V === 1 ? N++ : t6(), _.length >= 1e3) {
|
|
5728
5728
|
y = !0;
|
|
5729
5729
|
break e;
|
|
5730
5730
|
}
|
|
5731
|
-
_.push(new
|
|
5731
|
+
_.push(new xe(k, Q + 1, k, te + 1));
|
|
5732
5732
|
}
|
|
5733
5733
|
}
|
|
5734
5734
|
while (v);
|
|
@@ -5738,7 +5738,7 @@ class V5 {
|
|
|
5738
5738
|
hasMore: y,
|
|
5739
5739
|
ambiguousCharacterCount: S,
|
|
5740
5740
|
invisibleCharacterCount: E,
|
|
5741
|
-
nonBasicAsciiCharacterCount:
|
|
5741
|
+
nonBasicAsciiCharacterCount: N
|
|
5742
5742
|
};
|
|
5743
5743
|
}
|
|
5744
5744
|
static computeUnicodeHighlightReason(e, r) {
|
|
@@ -5898,9 +5898,9 @@ class kl {
|
|
|
5898
5898
|
return this.iterate((s) => ((n || eh.isGreaterThan(e(s, r))) && (n = !1, r = s), !0)), r;
|
|
5899
5899
|
}
|
|
5900
5900
|
}
|
|
5901
|
-
class
|
|
5901
|
+
class Ne {
|
|
5902
5902
|
static fromTo(e, r) {
|
|
5903
|
-
return new
|
|
5903
|
+
return new Ne(e, r);
|
|
5904
5904
|
}
|
|
5905
5905
|
static addRange(e, r) {
|
|
5906
5906
|
let n = 0;
|
|
@@ -5913,21 +5913,21 @@ class xe {
|
|
|
5913
5913
|
r.splice(n, 0, e);
|
|
5914
5914
|
else {
|
|
5915
5915
|
const i = Math.min(e.start, r[n].start), u = Math.max(e.endExclusive, r[s - 1].endExclusive);
|
|
5916
|
-
r.splice(n, s - n, new
|
|
5916
|
+
r.splice(n, s - n, new Ne(i, u));
|
|
5917
5917
|
}
|
|
5918
5918
|
}
|
|
5919
5919
|
static tryCreate(e, r) {
|
|
5920
5920
|
if (!(e > r))
|
|
5921
|
-
return new
|
|
5921
|
+
return new Ne(e, r);
|
|
5922
5922
|
}
|
|
5923
5923
|
static ofLength(e) {
|
|
5924
|
-
return new
|
|
5924
|
+
return new Ne(0, e);
|
|
5925
5925
|
}
|
|
5926
5926
|
static ofStartAndLength(e, r) {
|
|
5927
|
-
return new
|
|
5927
|
+
return new Ne(e, e + r);
|
|
5928
5928
|
}
|
|
5929
5929
|
static emptyAt(e) {
|
|
5930
|
-
return new
|
|
5930
|
+
return new Ne(e, e);
|
|
5931
5931
|
}
|
|
5932
5932
|
constructor(e, r) {
|
|
5933
5933
|
if (this.start = e, this.endExclusive = r, e > r)
|
|
@@ -5937,13 +5937,13 @@ class xe {
|
|
|
5937
5937
|
return this.start === this.endExclusive;
|
|
5938
5938
|
}
|
|
5939
5939
|
delta(e) {
|
|
5940
|
-
return new
|
|
5940
|
+
return new Ne(this.start + e, this.endExclusive + e);
|
|
5941
5941
|
}
|
|
5942
5942
|
deltaStart(e) {
|
|
5943
|
-
return new
|
|
5943
|
+
return new Ne(this.start + e, this.endExclusive);
|
|
5944
5944
|
}
|
|
5945
5945
|
deltaEnd(e) {
|
|
5946
|
-
return new
|
|
5946
|
+
return new Ne(this.start, this.endExclusive + e);
|
|
5947
5947
|
}
|
|
5948
5948
|
get length() {
|
|
5949
5949
|
return this.endExclusive - this.start;
|
|
@@ -5962,7 +5962,7 @@ class xe {
|
|
|
5962
5962
|
* The joined range is the smallest range that contains both ranges.
|
|
5963
5963
|
*/
|
|
5964
5964
|
join(e) {
|
|
5965
|
-
return new
|
|
5965
|
+
return new Ne(Math.min(this.start, e.start), Math.max(this.endExclusive, e.endExclusive));
|
|
5966
5966
|
}
|
|
5967
5967
|
/**
|
|
5968
5968
|
* for all numbers n: range1.contains(n) and range2.contains(n) <=> range1.intersect(range2).contains(n)
|
|
@@ -5973,7 +5973,7 @@ class xe {
|
|
|
5973
5973
|
intersect(e) {
|
|
5974
5974
|
const r = Math.max(this.start, e.start), n = Math.min(this.endExclusive, e.endExclusive);
|
|
5975
5975
|
if (r <= n)
|
|
5976
|
-
return new
|
|
5976
|
+
return new Ne(r, n);
|
|
5977
5977
|
}
|
|
5978
5978
|
intersectionLength(e) {
|
|
5979
5979
|
const r = Math.max(this.start, e.start), n = Math.min(this.endExclusive, e.endExclusive);
|
|
@@ -6030,7 +6030,7 @@ class xe {
|
|
|
6030
6030
|
joinRightTouching(e) {
|
|
6031
6031
|
if (this.endExclusive !== e.start)
|
|
6032
6032
|
throw new Ct(`Invalid join: ${this.toString()} and ${e.toString()}`);
|
|
6033
|
-
return new
|
|
6033
|
+
return new Ne(this.start, e.endExclusive);
|
|
6034
6034
|
}
|
|
6035
6035
|
}
|
|
6036
6036
|
function $s(t, e) {
|
|
@@ -6179,13 +6179,13 @@ class ve {
|
|
|
6179
6179
|
return this.startLineNumber === e.startLineNumber && this.endLineNumberExclusive === e.endLineNumberExclusive;
|
|
6180
6180
|
}
|
|
6181
6181
|
toInclusiveRange() {
|
|
6182
|
-
return this.isEmpty ? null : new
|
|
6182
|
+
return this.isEmpty ? null : new xe(this.startLineNumber, 1, this.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER);
|
|
6183
6183
|
}
|
|
6184
6184
|
/**
|
|
6185
6185
|
* @deprecated Using this function is discouraged because it might lead to bugs: The end position is not guaranteed to be a valid position!
|
|
6186
6186
|
*/
|
|
6187
6187
|
toExclusiveRange() {
|
|
6188
|
-
return new
|
|
6188
|
+
return new xe(this.startLineNumber, 1, this.endLineNumberExclusive, 1);
|
|
6189
6189
|
}
|
|
6190
6190
|
mapToLineArray(e) {
|
|
6191
6191
|
const r = [];
|
|
@@ -6208,7 +6208,7 @@ class ve {
|
|
|
6208
6208
|
* @internal
|
|
6209
6209
|
*/
|
|
6210
6210
|
toOffsetRange() {
|
|
6211
|
-
return new
|
|
6211
|
+
return new Ne(this.startLineNumber - 1, this.endLineNumberExclusive - 1);
|
|
6212
6212
|
}
|
|
6213
6213
|
addMargin(e, r) {
|
|
6214
6214
|
return new ve(this.startLineNumber - e, this.endLineNumberExclusive + r);
|
|
@@ -6321,10 +6321,10 @@ class br {
|
|
|
6321
6321
|
return e.lineCount === 0 ? new br(this.lineCount, this.columnCount + e.columnCount) : new br(this.lineCount + e.lineCount, e.columnCount);
|
|
6322
6322
|
}
|
|
6323
6323
|
createRange(e) {
|
|
6324
|
-
return this.lineCount === 0 ? new
|
|
6324
|
+
return this.lineCount === 0 ? new xe(e.lineNumber, e.column, e.lineNumber, e.column + this.columnCount) : new xe(e.lineNumber, e.column, e.lineNumber + this.lineCount, this.columnCount + 1);
|
|
6325
6325
|
}
|
|
6326
6326
|
toRange() {
|
|
6327
|
-
return new
|
|
6327
|
+
return new xe(1, 1, this.lineCount + 1, this.columnCount + 1);
|
|
6328
6328
|
}
|
|
6329
6329
|
toLineRange() {
|
|
6330
6330
|
return ve.ofLength(1, this.lineCount + 1);
|
|
@@ -6338,10 +6338,10 @@ class br {
|
|
|
6338
6338
|
}
|
|
6339
6339
|
class X5 {
|
|
6340
6340
|
getOffsetRange(e) {
|
|
6341
|
-
return new
|
|
6341
|
+
return new Ne(this.getOffset(e.getStartPosition()), this.getOffset(e.getEndPosition()));
|
|
6342
6342
|
}
|
|
6343
6343
|
getRange(e) {
|
|
6344
|
-
return
|
|
6344
|
+
return xe.fromPositions(this.getPosition(e.start), this.getPosition(e.endExclusive));
|
|
6345
6345
|
}
|
|
6346
6346
|
getStringReplacement(e) {
|
|
6347
6347
|
return new Dl.deps.StringReplacement(this.getOffsetRange(e.range), e.text);
|
|
@@ -6418,13 +6418,13 @@ class Q5 {
|
|
|
6418
6418
|
return this.getValueOfRange(this.getTransformer().getRange(e));
|
|
6419
6419
|
}
|
|
6420
6420
|
getLineLength(e) {
|
|
6421
|
-
return this.getValueOfRange(new
|
|
6421
|
+
return this.getValueOfRange(new xe(e, 1, e, Number.MAX_SAFE_INTEGER)).length;
|
|
6422
6422
|
}
|
|
6423
6423
|
getTransformer() {
|
|
6424
6424
|
return this._transformer || (this._transformer = new J5(this.getValue())), this._transformer;
|
|
6425
6425
|
}
|
|
6426
6426
|
getLineAt(e) {
|
|
6427
|
-
return this.getValueOfRange(new
|
|
6427
|
+
return this.getValueOfRange(new xe(e, 1, e, Number.MAX_SAFE_INTEGER));
|
|
6428
6428
|
}
|
|
6429
6429
|
}
|
|
6430
6430
|
class K5 extends Q5 {
|
|
@@ -6465,11 +6465,11 @@ class vn {
|
|
|
6465
6465
|
for (let u = 0; u < e.length; u++) {
|
|
6466
6466
|
const l = e[u];
|
|
6467
6467
|
if (i += l.text, u < e.length - 1) {
|
|
6468
|
-
const c = e[u + 1], p =
|
|
6468
|
+
const c = e[u + 1], p = xe.fromPositions(l.range.getEndPosition(), c.range.getStartPosition()), _ = r.getValueOfRange(p);
|
|
6469
6469
|
i += _;
|
|
6470
6470
|
}
|
|
6471
6471
|
}
|
|
6472
|
-
return new vn(
|
|
6472
|
+
return new vn(xe.fromPositions(n, s), i);
|
|
6473
6473
|
}
|
|
6474
6474
|
static fromStringReplacement(e, r) {
|
|
6475
6475
|
return new vn(r.getTransformer().getRange(e.replaceRange), e.newText);
|
|
@@ -6497,7 +6497,7 @@ class vn {
|
|
|
6497
6497
|
`, `
|
|
6498
6498
|
`), n = this.text.replaceAll(`\r
|
|
6499
6499
|
`, `
|
|
6500
|
-
`), s = M6(r, n), i = br.ofText(r.substring(0, s)).addToPosition(this.range.getStartPosition()), u = n.substring(s), l =
|
|
6500
|
+
`), s = M6(r, n), i = br.ofText(r.substring(0, s)).addToPosition(this.range.getStartPosition()), u = n.substring(s), l = xe.fromPositions(i, this.range.getEndPosition());
|
|
6501
6501
|
return new vn(l, u);
|
|
6502
6502
|
}
|
|
6503
6503
|
removeCommonSuffix(e) {
|
|
@@ -6505,7 +6505,7 @@ class vn {
|
|
|
6505
6505
|
`, `
|
|
6506
6506
|
`), n = this.text.replaceAll(`\r
|
|
6507
6507
|
`, `
|
|
6508
|
-
`), s = O6(r, n), i = br.ofText(r.substring(0, r.length - s)).addToPosition(this.range.getStartPosition()), u = n.substring(0, n.length - s), l =
|
|
6508
|
+
`), s = O6(r, n), i = br.ofText(r.substring(0, r.length - s)).addToPosition(this.range.getStartPosition()), u = n.substring(0, n.length - s), l = xe.fromPositions(this.range.getStartPosition(), i);
|
|
6509
6509
|
return new vn(l, u);
|
|
6510
6510
|
}
|
|
6511
6511
|
toString() {
|
|
@@ -6513,22 +6513,22 @@ class vn {
|
|
|
6513
6513
|
return `(${e.lineNumber},${e.column} -> ${r.lineNumber},${r.column}): "${this.text}"`;
|
|
6514
6514
|
}
|
|
6515
6515
|
}
|
|
6516
|
-
class
|
|
6516
|
+
class xr {
|
|
6517
6517
|
static inverse(e, r, n) {
|
|
6518
6518
|
const s = [];
|
|
6519
6519
|
let i = 1, u = 1;
|
|
6520
6520
|
for (const c of e) {
|
|
6521
|
-
const p = new
|
|
6521
|
+
const p = new xr(new ve(i, c.original.startLineNumber), new ve(u, c.modified.startLineNumber));
|
|
6522
6522
|
p.modified.isEmpty || s.push(p), i = c.original.endLineNumberExclusive, u = c.modified.endLineNumberExclusive;
|
|
6523
6523
|
}
|
|
6524
|
-
const l = new
|
|
6524
|
+
const l = new xr(new ve(i, r + 1), new ve(u, n + 1));
|
|
6525
6525
|
return l.modified.isEmpty || s.push(l), s;
|
|
6526
6526
|
}
|
|
6527
6527
|
static clip(e, r, n) {
|
|
6528
6528
|
const s = [];
|
|
6529
6529
|
for (const i of e) {
|
|
6530
6530
|
const u = i.original.intersect(r), l = i.modified.intersect(n);
|
|
6531
|
-
u && !u.isEmpty && l && !l.isEmpty && s.push(new
|
|
6531
|
+
u && !u.isEmpty && l && !l.isEmpty && s.push(new xr(u, l));
|
|
6532
6532
|
}
|
|
6533
6533
|
return s;
|
|
6534
6534
|
}
|
|
@@ -6539,10 +6539,10 @@ class Nr {
|
|
|
6539
6539
|
return `{${this.original.toString()}->${this.modified.toString()}}`;
|
|
6540
6540
|
}
|
|
6541
6541
|
flip() {
|
|
6542
|
-
return new
|
|
6542
|
+
return new xr(this.modified, this.original);
|
|
6543
6543
|
}
|
|
6544
6544
|
join(e) {
|
|
6545
|
-
return new
|
|
6545
|
+
return new xr(this.original.join(e.original), this.modified.join(e.modified));
|
|
6546
6546
|
}
|
|
6547
6547
|
/**
|
|
6548
6548
|
* This method assumes that the LineRangeMapping describes a valid diff!
|
|
@@ -6556,9 +6556,9 @@ class Nr {
|
|
|
6556
6556
|
if (this.original.startLineNumber === 1 || this.modified.startLineNumber === 1) {
|
|
6557
6557
|
if (!(this.modified.startLineNumber === 1 && this.original.startLineNumber === 1))
|
|
6558
6558
|
throw new Ct("not a valid diff");
|
|
6559
|
-
return new wr(new
|
|
6559
|
+
return new wr(new xe(this.original.startLineNumber, 1, this.original.endLineNumberExclusive, 1), new xe(this.modified.startLineNumber, 1, this.modified.endLineNumberExclusive, 1));
|
|
6560
6560
|
} else
|
|
6561
|
-
return new wr(new
|
|
6561
|
+
return new wr(new xe(this.original.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), new xe(this.modified.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER));
|
|
6562
6562
|
}
|
|
6563
6563
|
/**
|
|
6564
6564
|
* This method assumes that the LineRangeMapping describes a valid diff!
|
|
@@ -6567,11 +6567,11 @@ class Nr {
|
|
|
6567
6567
|
*/
|
|
6568
6568
|
toRangeMapping2(e, r) {
|
|
6569
6569
|
if (Hm(this.original.endLineNumberExclusive, e) && Hm(this.modified.endLineNumberExclusive, r))
|
|
6570
|
-
return new wr(new
|
|
6570
|
+
return new wr(new xe(this.original.startLineNumber, 1, this.original.endLineNumberExclusive, 1), new xe(this.modified.startLineNumber, 1, this.modified.endLineNumberExclusive, 1));
|
|
6571
6571
|
if (!this.original.isEmpty && !this.modified.isEmpty)
|
|
6572
|
-
return new wr(
|
|
6572
|
+
return new wr(xe.fromPositions(new Ve(this.original.startLineNumber, 1), ds(new Ve(this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), e)), xe.fromPositions(new Ve(this.modified.startLineNumber, 1), ds(new Ve(this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), r)));
|
|
6573
6573
|
if (this.original.startLineNumber > 1 && this.modified.startLineNumber > 1)
|
|
6574
|
-
return new wr(
|
|
6574
|
+
return new wr(xe.fromPositions(ds(new Ve(this.original.startLineNumber - 1, Number.MAX_SAFE_INTEGER), e), ds(new Ve(this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), e)), xe.fromPositions(ds(new Ve(this.modified.startLineNumber - 1, Number.MAX_SAFE_INTEGER), r), ds(new Ve(this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), r)));
|
|
6575
6575
|
throw new Ct();
|
|
6576
6576
|
}
|
|
6577
6577
|
}
|
|
@@ -6586,7 +6586,7 @@ function ds(t, e) {
|
|
|
6586
6586
|
function Hm(t, e) {
|
|
6587
6587
|
return t >= 1 && t <= e.length;
|
|
6588
6588
|
}
|
|
6589
|
-
class an extends
|
|
6589
|
+
class an extends xr {
|
|
6590
6590
|
static fromRangeMappings(e) {
|
|
6591
6591
|
const r = ve.join(e.map((s) => ve.fromRangeInclusive(s.originalRange))), n = ve.join(e.map((s) => ve.fromRangeInclusive(s.modifiedRange)));
|
|
6592
6592
|
return new an(r, n, e);
|
|
@@ -6661,7 +6661,7 @@ class rw {
|
|
|
6661
6661
|
c.originalEndLineNumber === 0 ? p = new ve(c.originalStartLineNumber + 1, c.originalStartLineNumber + 1) : p = new ve(c.originalStartLineNumber, c.originalEndLineNumber + 1);
|
|
6662
6662
|
let _;
|
|
6663
6663
|
c.modifiedEndLineNumber === 0 ? _ = new ve(c.modifiedStartLineNumber + 1, c.modifiedStartLineNumber + 1) : _ = new ve(c.modifiedStartLineNumber, c.modifiedEndLineNumber + 1);
|
|
6664
|
-
let y = new an(p, _, c.charChanges?.map((v) => new wr(new
|
|
6664
|
+
let y = new an(p, _, c.charChanges?.map((v) => new wr(new xe(v.originalStartLineNumber, v.originalStartColumn, v.originalEndLineNumber, v.originalEndColumn), new xe(v.modifiedStartLineNumber, v.modifiedStartColumn, v.modifiedEndLineNumber, v.modifiedEndColumn))));
|
|
6665
6665
|
l && (l.modified.endLineNumberExclusive === y.modified.startLineNumber || l.original.endLineNumberExclusive === y.original.startLineNumber) && (y = new an(l.original.join(y.original), l.modified.join(y.modified), l.innerChanges && y.innerChanges ? l.innerChanges.concat(y.innerChanges) : void 0), u.pop()), u.push(y), l = y;
|
|
6666
6666
|
}
|
|
6667
6667
|
return Xl(() => X2(u, (c, p) => p.original.startLineNumber - c.original.endLineNumberExclusive === p.modified.startLineNumber - c.modified.endLineNumberExclusive && // There has to be an unchanged line in between (otherwise both diffs should have been joined)
|
|
@@ -6669,7 +6669,7 @@ class rw {
|
|
|
6669
6669
|
}
|
|
6670
6670
|
}
|
|
6671
6671
|
function f_(t, e, r, n) {
|
|
6672
|
-
return new
|
|
6672
|
+
return new xn(t, e, r).ComputeDiff(n);
|
|
6673
6673
|
}
|
|
6674
6674
|
let Zm = class {
|
|
6675
6675
|
constructor(e) {
|
|
@@ -6761,10 +6761,10 @@ class Ui {
|
|
|
6761
6761
|
if (r.originalLength === 0 ? (c = n.getStartLineNumber(r.originalStart) - 1, p = 0) : (c = n.getStartLineNumber(r.originalStart), p = n.getEndLineNumber(r.originalStart + r.originalLength - 1)), r.modifiedLength === 0 ? (_ = s.getStartLineNumber(r.modifiedStart) - 1, y = 0) : (_ = s.getStartLineNumber(r.modifiedStart), y = s.getEndLineNumber(r.modifiedStart + r.modifiedLength - 1)), u && r.originalLength > 0 && r.originalLength < 20 && r.modifiedLength > 0 && r.modifiedLength < 20 && i()) {
|
|
6762
6762
|
const S = n.createCharSequence(e, r.originalStart, r.originalStart + r.originalLength - 1), E = s.createCharSequence(e, r.modifiedStart, r.modifiedStart + r.modifiedLength - 1);
|
|
6763
6763
|
if (S.getElements().length > 0 && E.getElements().length > 0) {
|
|
6764
|
-
let
|
|
6765
|
-
l && (
|
|
6766
|
-
for (let k = 0, W =
|
|
6767
|
-
v.push(Rs.createFromDiffChange(
|
|
6764
|
+
let N = f_(S, E, i, !0).changes;
|
|
6765
|
+
l && (N = sw(N)), v = [];
|
|
6766
|
+
for (let k = 0, W = N.length; k < W; k++)
|
|
6767
|
+
v.push(Rs.createFromDiffChange(N[k], S, E));
|
|
6768
6768
|
}
|
|
6769
6769
|
}
|
|
6770
6770
|
return new Ui(c, p, _, y, v);
|
|
@@ -6818,25 +6818,25 @@ class iw {
|
|
|
6818
6818
|
const v = this.originalLines[i], S = this.modifiedLines[u];
|
|
6819
6819
|
if (v !== S) {
|
|
6820
6820
|
{
|
|
6821
|
-
let E = rh(v, 1),
|
|
6822
|
-
for (; E > 1 &&
|
|
6823
|
-
const k = v.charCodeAt(E - 2), W = S.charCodeAt(
|
|
6821
|
+
let E = rh(v, 1), N = rh(S, 1);
|
|
6822
|
+
for (; E > 1 && N > 1; ) {
|
|
6823
|
+
const k = v.charCodeAt(E - 2), W = S.charCodeAt(N - 2);
|
|
6824
6824
|
if (k !== W)
|
|
6825
6825
|
break;
|
|
6826
|
-
E--,
|
|
6826
|
+
E--, N--;
|
|
6827
6827
|
}
|
|
6828
|
-
(E > 1 ||
|
|
6828
|
+
(E > 1 || N > 1) && this._pushTrimWhitespaceCharChange(s, i + 1, 1, E, u + 1, 1, N);
|
|
6829
6829
|
}
|
|
6830
6830
|
{
|
|
6831
|
-
let E = nh(v, 1),
|
|
6831
|
+
let E = nh(v, 1), N = nh(S, 1);
|
|
6832
6832
|
const k = v.length + 1, W = S.length + 1;
|
|
6833
|
-
for (; E < k &&
|
|
6834
|
-
const z = v.charCodeAt(E - 1), U = v.charCodeAt(
|
|
6833
|
+
for (; E < k && N < W; ) {
|
|
6834
|
+
const z = v.charCodeAt(E - 1), U = v.charCodeAt(N - 1);
|
|
6835
6835
|
if (z !== U)
|
|
6836
6836
|
break;
|
|
6837
|
-
E++,
|
|
6837
|
+
E++, N++;
|
|
6838
6838
|
}
|
|
6839
|
-
(E < k ||
|
|
6839
|
+
(E < k || N < W) && this._pushTrimWhitespaceCharChange(s, i + 1, E, k, u + 1, N, W);
|
|
6840
6840
|
}
|
|
6841
6841
|
}
|
|
6842
6842
|
i++, u++;
|
|
@@ -6878,10 +6878,10 @@ function Xm(t) {
|
|
|
6878
6878
|
}
|
|
6879
6879
|
class un {
|
|
6880
6880
|
static trivial(e, r) {
|
|
6881
|
-
return new un([new Ke(
|
|
6881
|
+
return new un([new Ke(Ne.ofLength(e.length), Ne.ofLength(r.length))], !1);
|
|
6882
6882
|
}
|
|
6883
6883
|
static trivialTimedOut(e, r) {
|
|
6884
|
-
return new un([new Ke(
|
|
6884
|
+
return new un([new Ke(Ne.ofLength(e.length), Ne.ofLength(r.length))], !0);
|
|
6885
6885
|
}
|
|
6886
6886
|
constructor(e, r) {
|
|
6887
6887
|
this.diffs = e, this.hitTimeout = r;
|
|
@@ -6895,7 +6895,7 @@ class Ke {
|
|
|
6895
6895
|
}), n;
|
|
6896
6896
|
}
|
|
6897
6897
|
static fromOffsetPairs(e, r) {
|
|
6898
|
-
return new Ke(new
|
|
6898
|
+
return new Ke(new Ne(e.offset1, r.offset1), new Ne(e.offset2, r.offset2));
|
|
6899
6899
|
}
|
|
6900
6900
|
static assertSorted(e) {
|
|
6901
6901
|
let r;
|
|
@@ -7029,23 +7029,23 @@ class aw {
|
|
|
7029
7029
|
return un.trivial(e, r);
|
|
7030
7030
|
const i = new ef(e.length, r.length), u = new ef(e.length, r.length), l = new ef(e.length, r.length);
|
|
7031
7031
|
for (let E = 0; E < e.length; E++)
|
|
7032
|
-
for (let
|
|
7032
|
+
for (let N = 0; N < r.length; N++) {
|
|
7033
7033
|
if (!n.isValid())
|
|
7034
7034
|
return un.trivialTimedOut(e, r);
|
|
7035
|
-
const k = E === 0 ? 0 : i.get(E - 1,
|
|
7035
|
+
const k = E === 0 ? 0 : i.get(E - 1, N), W = N === 0 ? 0 : i.get(E, N - 1);
|
|
7036
7036
|
let z;
|
|
7037
|
-
e.getElement(E) === r.getElement(
|
|
7037
|
+
e.getElement(E) === r.getElement(N) ? (E === 0 || N === 0 ? z = 0 : z = i.get(E - 1, N - 1), E > 0 && N > 0 && u.get(E - 1, N - 1) === 3 && (z += l.get(E - 1, N - 1)), z += s ? s(E, N) : 1) : z = -1;
|
|
7038
7038
|
const U = Math.max(k, W, z);
|
|
7039
7039
|
if (U === z) {
|
|
7040
|
-
const Q = E > 0 &&
|
|
7041
|
-
l.set(E,
|
|
7042
|
-
} else U === k ? (l.set(E,
|
|
7043
|
-
i.set(E,
|
|
7040
|
+
const Q = E > 0 && N > 0 ? l.get(E - 1, N - 1) : 0;
|
|
7041
|
+
l.set(E, N, Q + 1), u.set(E, N, 3);
|
|
7042
|
+
} else U === k ? (l.set(E, N, 0), u.set(E, N, 1)) : U === W && (l.set(E, N, 0), u.set(E, N, 2));
|
|
7043
|
+
i.set(E, N, U);
|
|
7044
7044
|
}
|
|
7045
7045
|
const c = [];
|
|
7046
7046
|
let p = e.length, _ = r.length;
|
|
7047
|
-
function y(E,
|
|
7048
|
-
(E + 1 !== p ||
|
|
7047
|
+
function y(E, N) {
|
|
7048
|
+
(E + 1 !== p || N + 1 !== _) && c.push(new Ke(new Ne(E + 1, p), new Ne(N + 1, _))), p = E, _ = N;
|
|
7049
7049
|
}
|
|
7050
7050
|
let v = e.length - 1, S = r.length - 1;
|
|
7051
7051
|
for (; v >= 0 && S >= 0; )
|
|
@@ -7058,10 +7058,10 @@ class h_ {
|
|
|
7058
7058
|
if (e.length === 0 || r.length === 0)
|
|
7059
7059
|
return un.trivial(e, r);
|
|
7060
7060
|
const s = e, i = r;
|
|
7061
|
-
function u(
|
|
7062
|
-
for (;
|
|
7063
|
-
|
|
7064
|
-
return
|
|
7061
|
+
function u(N, k) {
|
|
7062
|
+
for (; N < s.length && k < i.length && s.getElement(N) === i.getElement(k); )
|
|
7063
|
+
N++, k++;
|
|
7064
|
+
return N;
|
|
7065
7065
|
}
|
|
7066
7066
|
let l = 0;
|
|
7067
7067
|
const c = new uw();
|
|
@@ -7072,9 +7072,9 @@ class h_ {
|
|
|
7072
7072
|
e: for (; ; ) {
|
|
7073
7073
|
if (l++, !n.isValid())
|
|
7074
7074
|
return un.trivialTimedOut(s, i);
|
|
7075
|
-
const
|
|
7076
|
-
for (_ =
|
|
7077
|
-
const W = _ === k ? -1 : c.get(_ + 1), z = _ ===
|
|
7075
|
+
const N = -Math.min(l, i.length + l % 2), k = Math.min(l, s.length + l % 2);
|
|
7076
|
+
for (_ = N; _ <= k; _ += 2) {
|
|
7077
|
+
const W = _ === k ? -1 : c.get(_ + 1), z = _ === N ? -1 : c.get(_ - 1) + 1, U = Math.min(Math.max(W, z), s.length), Q = U - _;
|
|
7078
7078
|
if (U > s.length || Q > i.length)
|
|
7079
7079
|
continue;
|
|
7080
7080
|
const te = u(U, Q);
|
|
@@ -7088,8 +7088,8 @@ class h_ {
|
|
|
7088
7088
|
const v = [];
|
|
7089
7089
|
let S = s.length, E = i.length;
|
|
7090
7090
|
for (; ; ) {
|
|
7091
|
-
const
|
|
7092
|
-
if ((
|
|
7091
|
+
const N = y ? y.x + y.length : 0, k = y ? y.y + y.length : 0;
|
|
7092
|
+
if ((N !== S || k !== E) && v.push(new Ke(new Ne(N, S), new Ne(k, E))), !y)
|
|
7093
7093
|
break;
|
|
7094
7094
|
S = y.x, E = y.y, y = y.prev;
|
|
7095
7095
|
}
|
|
@@ -7157,7 +7157,7 @@ class sc {
|
|
|
7157
7157
|
return `Slice: "${this.text}"`;
|
|
7158
7158
|
}
|
|
7159
7159
|
get text() {
|
|
7160
|
-
return this.getText(new
|
|
7160
|
+
return this.getText(new Ne(0, this.length));
|
|
7161
7161
|
}
|
|
7162
7162
|
getText(e) {
|
|
7163
7163
|
return this.elements.slice(e.start, e.endExclusive).map((r) => String.fromCharCode(r)).join("");
|
|
@@ -7183,7 +7183,7 @@ class sc {
|
|
|
7183
7183
|
}
|
|
7184
7184
|
translateRange(e) {
|
|
7185
7185
|
const r = this.translateOffset(e.start, "right"), n = this.translateOffset(e.endExclusive, "left");
|
|
7186
|
-
return n.isBefore(r) ?
|
|
7186
|
+
return n.isBefore(r) ? xe.fromPositions(n, n) : xe.fromPositions(r, n);
|
|
7187
7187
|
}
|
|
7188
7188
|
/**
|
|
7189
7189
|
* Finds the word that contains the character at the given offset
|
|
@@ -7197,7 +7197,7 @@ class sc {
|
|
|
7197
7197
|
let n = e;
|
|
7198
7198
|
for (; n < this.elements.length && ms(this.elements[n]); )
|
|
7199
7199
|
n++;
|
|
7200
|
-
return new
|
|
7200
|
+
return new Ne(r, n);
|
|
7201
7201
|
}
|
|
7202
7202
|
/** fooBar has the two sub-words foo and bar */
|
|
7203
7203
|
findSubWordContaining(e) {
|
|
@@ -7209,7 +7209,7 @@ class sc {
|
|
|
7209
7209
|
let n = e;
|
|
7210
7210
|
for (; n < this.elements.length && ms(this.elements[n]) && !Qm(this.elements[n]); )
|
|
7211
7211
|
n++;
|
|
7212
|
-
return new
|
|
7212
|
+
return new Ne(r, n);
|
|
7213
7213
|
}
|
|
7214
7214
|
countLinesIn(e) {
|
|
7215
7215
|
return this.translateOffset(e.endExclusive).lineNumber - this.translateOffset(e.start).lineNumber;
|
|
@@ -7219,7 +7219,7 @@ class sc {
|
|
|
7219
7219
|
}
|
|
7220
7220
|
extendToFullLines(e) {
|
|
7221
7221
|
const r = $s(this.firstElementOffsetByLineIdx, (s) => s <= e.start) ?? 0, n = Z5(this.firstElementOffsetByLineIdx, (s) => e.endExclusive <= s) ?? this.elements.length;
|
|
7222
|
-
return new
|
|
7222
|
+
return new Ne(r, n);
|
|
7223
7223
|
}
|
|
7224
7224
|
}
|
|
7225
7225
|
function ms(t) {
|
|
@@ -7270,7 +7270,7 @@ function dw(t, e, r, n) {
|
|
|
7270
7270
|
const v = c.computeSimilarity(y);
|
|
7271
7271
|
v > p && (p = v, _ = y);
|
|
7272
7272
|
}
|
|
7273
|
-
if (p > 0.9 && _ && (u.delete(_), s.push(new
|
|
7273
|
+
if (p > 0.9 && _ && (u.delete(_), s.push(new xr(c.range, _.range)), l.add(c.source), l.add(_.source)), !n.isValid())
|
|
7274
7274
|
return { moves: s, excludedChanges: l };
|
|
7275
7275
|
}
|
|
7276
7276
|
return { moves: s, excludedChanges: l };
|
|
@@ -7287,8 +7287,8 @@ function mw(t, e, r, n, s, i) {
|
|
|
7287
7287
|
for (const v of t) {
|
|
7288
7288
|
let S = [];
|
|
7289
7289
|
for (let E = v.modified.startLineNumber; E < v.modified.endLineNumberExclusive - 2; E++) {
|
|
7290
|
-
const
|
|
7291
|
-
l.forEach(
|
|
7290
|
+
const N = `${r[E - 1]}:${r[E + 1 - 1]}:${r[E + 2 - 1]}`, k = new ve(E, E + 3), W = [];
|
|
7291
|
+
l.forEach(N, ({ range: z }) => {
|
|
7292
7292
|
for (const Q of S)
|
|
7293
7293
|
if (Q.originalLineRange.endLineNumberExclusive + 1 === z.endLineNumberExclusive && Q.modifiedLineRange.endLineNumberExclusive + 1 === k.endLineNumberExclusive) {
|
|
7294
7294
|
Q.originalLineRange = new ve(Q.originalLineRange.startLineNumber, z.endLineNumberExclusive), Q.modifiedLineRange = new ve(Q.modifiedLineRange.startLineNumber, k.endLineNumberExclusive), W.push(Q);
|
|
@@ -7307,18 +7307,18 @@ function mw(t, e, r, n, s, i) {
|
|
|
7307
7307
|
c.sort(Y5($i((v) => v.modifiedLineRange.length, Fi)));
|
|
7308
7308
|
const p = new Zr(), _ = new Zr();
|
|
7309
7309
|
for (const v of c) {
|
|
7310
|
-
const S = v.modifiedLineRange.startLineNumber - v.originalLineRange.startLineNumber, E = p.subtractFrom(v.modifiedLineRange),
|
|
7310
|
+
const S = v.modifiedLineRange.startLineNumber - v.originalLineRange.startLineNumber, E = p.subtractFrom(v.modifiedLineRange), N = _.subtractFrom(v.originalLineRange).getWithDelta(S), k = E.getIntersection(N);
|
|
7311
7311
|
for (const W of k.ranges) {
|
|
7312
7312
|
if (W.length < 3)
|
|
7313
7313
|
continue;
|
|
7314
7314
|
const z = W, U = W.delta(-S);
|
|
7315
|
-
u.push(new
|
|
7315
|
+
u.push(new xr(U, z)), p.addRange(z), _.addRange(U);
|
|
7316
7316
|
}
|
|
7317
7317
|
}
|
|
7318
7318
|
u.sort($i((v) => v.original.startLineNumber, Fi));
|
|
7319
7319
|
const y = new Oc(t);
|
|
7320
7320
|
for (let v = 0; v < u.length; v++) {
|
|
7321
|
-
const S = u[v], E = y.findLastMonotonous((fe) => fe.original.startLineNumber <= S.original.startLineNumber),
|
|
7321
|
+
const S = u[v], E = y.findLastMonotonous((fe) => fe.original.startLineNumber <= S.original.startLineNumber), N = $s(t, (fe) => fe.modified.startLineNumber <= S.modified.startLineNumber), k = Math.max(S.original.startLineNumber - E.original.startLineNumber, S.modified.startLineNumber - N.modified.startLineNumber), W = y.findLastMonotonous((fe) => fe.original.startLineNumber < S.original.endLineNumberExclusive), z = $s(t, (fe) => fe.modified.startLineNumber < S.modified.endLineNumberExclusive), U = Math.max(W.original.endLineNumberExclusive - S.original.endLineNumberExclusive, z.modified.endLineNumberExclusive - S.modified.endLineNumberExclusive);
|
|
7322
7322
|
let Q;
|
|
7323
7323
|
for (Q = 0; Q < k; Q++) {
|
|
7324
7324
|
const fe = S.original.startLineNumber - Q - 1, F = S.modified.startLineNumber - Q - 1;
|
|
@@ -7332,7 +7332,7 @@ function mw(t, e, r, n, s, i) {
|
|
|
7332
7332
|
if (fe > n.length || F > s.length || p.contains(F) || _.contains(fe) || !tp(n[fe - 1], s[F - 1], i))
|
|
7333
7333
|
break;
|
|
7334
7334
|
}
|
|
7335
|
-
te > 0 && (_.addRange(new ve(S.original.endLineNumberExclusive, S.original.endLineNumberExclusive + te)), p.addRange(new ve(S.modified.endLineNumberExclusive, S.modified.endLineNumberExclusive + te))), (Q > 0 || te > 0) && (u[v] = new
|
|
7335
|
+
te > 0 && (_.addRange(new ve(S.original.endLineNumberExclusive, S.original.endLineNumberExclusive + te)), p.addRange(new ve(S.modified.endLineNumberExclusive, S.modified.endLineNumberExclusive + te))), (Q > 0 || te > 0) && (u[v] = new xr(new ve(S.original.startLineNumber - Q, S.original.endLineNumberExclusive + te), new ve(S.modified.startLineNumber - Q, S.modified.endLineNumberExclusive + te)));
|
|
7336
7336
|
}
|
|
7337
7337
|
return u;
|
|
7338
7338
|
}
|
|
@@ -7341,7 +7341,7 @@ function tp(t, e, r) {
|
|
|
7341
7341
|
return !0;
|
|
7342
7342
|
if (t.length > 300 && e.length > 300)
|
|
7343
7343
|
return !1;
|
|
7344
|
-
const s = new h_().compute(new sc([t], new
|
|
7344
|
+
const s = new h_().compute(new sc([t], new xe(1, 1, 1, t.length), !1), new sc([e], new xe(1, 1, 1, e.length), !1), r);
|
|
7345
7345
|
let i = 0;
|
|
7346
7346
|
const u = Ke.invert(s.diffs, t.length);
|
|
7347
7347
|
for (const _ of u)
|
|
@@ -7375,7 +7375,7 @@ function pw(t) {
|
|
|
7375
7375
|
function gw(t, e) {
|
|
7376
7376
|
const r = new Oc(t);
|
|
7377
7377
|
return e = e.filter((n) => {
|
|
7378
|
-
const s = r.findLastMonotonous((l) => l.original.startLineNumber < n.original.endLineNumberExclusive) || new
|
|
7378
|
+
const s = r.findLastMonotonous((l) => l.original.startLineNumber < n.original.endLineNumberExclusive) || new xr(new ve(1, 1), new ve(1, 1)), i = $s(t, (l) => l.modified.startLineNumber < n.modified.endLineNumberExclusive);
|
|
7379
7379
|
return s !== i;
|
|
7380
7380
|
}), e;
|
|
7381
7381
|
}
|
|
@@ -7397,7 +7397,7 @@ function np(t, e, r) {
|
|
|
7397
7397
|
for (p = 1; p <= c && !(t.getElement(l.seq1Range.start - p) !== t.getElement(l.seq1Range.endExclusive - p) || e.getElement(l.seq2Range.start - p) !== e.getElement(l.seq2Range.endExclusive - p)); p++)
|
|
7398
7398
|
;
|
|
7399
7399
|
if (p--, p === c) {
|
|
7400
|
-
n[n.length - 1] = new Ke(new
|
|
7400
|
+
n[n.length - 1] = new Ke(new Ne(u.seq1Range.start, l.seq1Range.endExclusive - c), new Ne(u.seq2Range.start, l.seq2Range.endExclusive - c));
|
|
7401
7401
|
continue;
|
|
7402
7402
|
}
|
|
7403
7403
|
l = l.delta(-p);
|
|
@@ -7414,7 +7414,7 @@ function np(t, e, r) {
|
|
|
7414
7414
|
for (p = 0; p < c && !(!t.isStronglyEqual(l.seq1Range.start + p, l.seq1Range.endExclusive + p) || !e.isStronglyEqual(l.seq2Range.start + p, l.seq2Range.endExclusive + p)); p++)
|
|
7415
7415
|
;
|
|
7416
7416
|
if (p === c) {
|
|
7417
|
-
n[i + 1] = new Ke(new
|
|
7417
|
+
n[i + 1] = new Ke(new Ne(l.seq1Range.start + c, u.seq1Range.endExclusive), new Ne(l.seq2Range.start + c, u.seq2Range.endExclusive));
|
|
7418
7418
|
continue;
|
|
7419
7419
|
}
|
|
7420
7420
|
p > 0 && (l = l.delta(p));
|
|
@@ -7427,7 +7427,7 @@ function _w(t, e, r) {
|
|
|
7427
7427
|
if (!t.getBoundaryScore || !e.getBoundaryScore)
|
|
7428
7428
|
return r;
|
|
7429
7429
|
for (let n = 0; n < r.length; n++) {
|
|
7430
|
-
const s = n > 0 ? r[n - 1] : void 0, i = r[n], u = n + 1 < r.length ? r[n + 1] : void 0, l = new
|
|
7430
|
+
const s = n > 0 ? r[n - 1] : void 0, i = r[n], u = n + 1 < r.length ? r[n + 1] : void 0, l = new Ne(s ? s.seq1Range.endExclusive + 1 : 0, u ? u.seq1Range.start - 1 : t.length), c = new Ne(s ? s.seq2Range.endExclusive + 1 : 0, u ? u.seq2Range.start - 1 : e.length);
|
|
7431
7431
|
i.seq1Range.isEmpty ? r[n] = sp(i, t, e, l, c) : i.seq2Range.isEmpty && (r[n] = sp(i.swap(), e, t, c, l).swap());
|
|
7432
7432
|
}
|
|
7433
7433
|
return r;
|
|
@@ -7471,8 +7471,8 @@ function ip(t, e, r, n, s = !1) {
|
|
|
7471
7471
|
if (!v || !S)
|
|
7472
7472
|
return;
|
|
7473
7473
|
let E = new Ke(v, S);
|
|
7474
|
-
const
|
|
7475
|
-
let k =
|
|
7474
|
+
const N = E.intersect(y);
|
|
7475
|
+
let k = N.seq1Range.length, W = N.seq2Range.length;
|
|
7476
7476
|
for (; i.length > 0; ) {
|
|
7477
7477
|
const z = i[0];
|
|
7478
7478
|
if (!(z.seq1Range.intersects(E.seq1Range) || z.seq2Range.intersects(E.seq2Range)))
|
|
@@ -7512,8 +7512,8 @@ function ww(t, e, r) {
|
|
|
7512
7512
|
];
|
|
7513
7513
|
for (let c = 1; c < n.length; c++) {
|
|
7514
7514
|
let y = function(S, E) {
|
|
7515
|
-
const
|
|
7516
|
-
return t.getText(
|
|
7515
|
+
const N = new Ne(_.seq1Range.endExclusive, p.seq1Range.start);
|
|
7516
|
+
return t.getText(N).replace(/\s/g, "").length <= 4 && (S.seq1Range.length + S.seq2Range.length > 5 || E.seq1Range.length + E.seq2Range.length > 5);
|
|
7517
7517
|
};
|
|
7518
7518
|
var u = y;
|
|
7519
7519
|
const p = n[c], _ = l[l.length - 1];
|
|
@@ -7534,14 +7534,14 @@ function vw(t, e, r) {
|
|
|
7534
7534
|
n[0]
|
|
7535
7535
|
];
|
|
7536
7536
|
for (let p = 1; p < n.length; p++) {
|
|
7537
|
-
let v = function(E,
|
|
7538
|
-
const k = new
|
|
7537
|
+
let v = function(E, N) {
|
|
7538
|
+
const k = new Ne(y.seq1Range.endExclusive, _.seq1Range.start);
|
|
7539
7539
|
if (t.countLinesIn(k) > 5 || k.length > 500)
|
|
7540
7540
|
return !1;
|
|
7541
7541
|
const z = t.getText(k).trim();
|
|
7542
7542
|
if (z.length > 20 || z.split(/\r\n|\r|\n/).length > 1)
|
|
7543
7543
|
return !1;
|
|
7544
|
-
const U = t.countLinesIn(E.seq1Range), Q = E.seq1Range.length, te = e.countLinesIn(E.seq2Range), fe = E.seq2Range.length, F = t.countLinesIn(
|
|
7544
|
+
const U = t.countLinesIn(E.seq1Range), Q = E.seq1Range.length, te = e.countLinesIn(E.seq2Range), fe = E.seq2Range.length, F = t.countLinesIn(N.seq1Range), V = N.seq1Range.length, q = e.countLinesIn(N.seq2Range), ie = N.seq2Range.length, _e = 130;
|
|
7545
7545
|
function j(H) {
|
|
7546
7546
|
return Math.min(H, _e);
|
|
7547
7547
|
}
|
|
@@ -7559,10 +7559,10 @@ function vw(t, e, r) {
|
|
|
7559
7559
|
function v(z) {
|
|
7560
7560
|
return z.length > 0 && z.trim().length <= 3 && p.seq1Range.length + p.seq2Range.length > 100;
|
|
7561
7561
|
}
|
|
7562
|
-
const S = t.extendToFullLines(p.seq1Range), E = t.getText(new
|
|
7562
|
+
const S = t.extendToFullLines(p.seq1Range), E = t.getText(new Ne(S.start, p.seq1Range.start));
|
|
7563
7563
|
v(E) && (y = y.deltaStart(-E.length));
|
|
7564
|
-
const
|
|
7565
|
-
v(
|
|
7564
|
+
const N = t.getText(new Ne(p.seq1Range.endExclusive, S.endExclusive));
|
|
7565
|
+
v(N) && (y = y.deltaEnd(N.length));
|
|
7566
7566
|
const k = Ke.fromOffsetPairs(c ? c.getEndExclusives() : Vr.zero, _ ? _.getStarts() : Vr.max), W = y.intersect(k);
|
|
7567
7567
|
u.length > 0 && W.getStarts().equals(u[u.length - 1].getEndExclusives()) ? u[u.length - 1] = u[u.length - 1].join(W) : u.push(W);
|
|
7568
7568
|
}), u;
|
|
@@ -7605,7 +7605,7 @@ class Sw {
|
|
|
7605
7605
|
if (e.length === 1 && e[0].length === 0 || r.length === 1 && r[0].length === 0)
|
|
7606
7606
|
return new Cl([
|
|
7607
7607
|
new an(new ve(1, e.length + 1), new ve(1, r.length + 1), [
|
|
7608
|
-
new wr(new
|
|
7608
|
+
new wr(new xe(1, 1, e.length, e[e.length - 1].length + 1), new xe(1, 1, r.length, r[r.length - 1].length + 1))
|
|
7609
7609
|
])
|
|
7610
7610
|
], [], !1);
|
|
7611
7611
|
const s = n.maxComputationTimeMs === 0 ? to.instance : new ow(n.maxComputationTimeMs), i = !n.ignoreTrimWhitespace, u = /* @__PURE__ */ new Map();
|
|
@@ -7616,14 +7616,14 @@ class Sw {
|
|
|
7616
7616
|
const c = e.map((F) => l(F.trim())), p = r.map((F) => l(F.trim())), _ = new op(c, e), y = new op(p, r), v = _.length + y.length < 1700 ? this.dynamicProgrammingDiffing.compute(_, y, s, (F, V) => e[F] === r[V] ? r[V].length === 0 ? 0.1 : 1 + Math.log(1 + r[V].length) : 0.99) : this.myersDiffingAlgorithm.compute(_, y, s);
|
|
7617
7617
|
let S = v.diffs, E = v.hitTimeout;
|
|
7618
7618
|
S = rp(_, y, S), S = ww(_, y, S);
|
|
7619
|
-
const
|
|
7619
|
+
const N = [], k = (F) => {
|
|
7620
7620
|
if (i)
|
|
7621
7621
|
for (let V = 0; V < F; V++) {
|
|
7622
7622
|
const q = W + V, ie = z + V;
|
|
7623
7623
|
if (e[q] !== r[ie]) {
|
|
7624
|
-
const _e = this.refineDiff(e, r, new Ke(new
|
|
7624
|
+
const _e = this.refineDiff(e, r, new Ke(new Ne(q, q + 1), new Ne(ie, ie + 1)), s, i, n);
|
|
7625
7625
|
for (const j of _e.mappings)
|
|
7626
|
-
|
|
7626
|
+
N.push(j);
|
|
7627
7627
|
_e.hitTimeout && (E = !0);
|
|
7628
7628
|
}
|
|
7629
7629
|
}
|
|
@@ -7636,10 +7636,10 @@ class Sw {
|
|
|
7636
7636
|
const q = this.refineDiff(e, r, F, s, i, n);
|
|
7637
7637
|
q.hitTimeout && (E = !0);
|
|
7638
7638
|
for (const ie of q.mappings)
|
|
7639
|
-
|
|
7639
|
+
N.push(ie);
|
|
7640
7640
|
}
|
|
7641
7641
|
k(e.length - W);
|
|
7642
|
-
const U = new dl(e), Q = new dl(r), te = Ym(
|
|
7642
|
+
const U = new dl(e), Q = new dl(r), te = Ym(N, U, Q);
|
|
7643
7643
|
let fe = [];
|
|
7644
7644
|
return n.computeMoves && (fe = this.computeMoves(te, e, r, c, p, s, i, n)), Xl(() => {
|
|
7645
7645
|
function F(q, ie) {
|
|
@@ -7670,16 +7670,16 @@ class Sw {
|
|
|
7670
7670
|
});
|
|
7671
7671
|
}
|
|
7672
7672
|
refineDiff(e, r, n, s, i, u) {
|
|
7673
|
-
const c =
|
|
7673
|
+
const c = xw(n).toRangeMapping2(e, r), p = new sc(e, c.originalRange, i), _ = new sc(r, c.modifiedRange, i), y = p.length + _.length < 500 ? this.dynamicProgrammingDiffing.compute(p, _, s) : this.myersDiffingAlgorithm.compute(p, _, s);
|
|
7674
7674
|
let v = y.diffs;
|
|
7675
|
-
return v = rp(p, _, v), v = ip(p, _, v, (E,
|
|
7675
|
+
return v = rp(p, _, v), v = ip(p, _, v, (E, N) => E.findWordContaining(N)), u.extendToSubwords && (v = ip(p, _, v, (E, N) => E.findSubWordContaining(N), !0)), v = yw(p, _, v), v = vw(p, _, v), {
|
|
7676
7676
|
mappings: v.map((E) => new wr(p.translateRange(E.seq1Range), _.translateRange(E.seq2Range))),
|
|
7677
7677
|
hitTimeout: y.hitTimeout
|
|
7678
7678
|
};
|
|
7679
7679
|
}
|
|
7680
7680
|
}
|
|
7681
|
-
function
|
|
7682
|
-
return new
|
|
7681
|
+
function xw(t) {
|
|
7682
|
+
return new xr(new ve(t.seq1Range.start + 1, t.seq1Range.endExclusive + 1), new ve(t.seq2Range.start + 1, t.seq2Range.endExclusive + 1));
|
|
7683
7683
|
}
|
|
7684
7684
|
const up = {
|
|
7685
7685
|
getLegacy: () => new rw(),
|
|
@@ -7909,62 +7909,62 @@ let ic = class ft {
|
|
|
7909
7909
|
(function(t) {
|
|
7910
7910
|
(function(e) {
|
|
7911
7911
|
(function(r) {
|
|
7912
|
-
function n(
|
|
7913
|
-
return
|
|
7912
|
+
function n(N) {
|
|
7913
|
+
return N.rgba.a === 1 ? `rgb(${N.rgba.r}, ${N.rgba.g}, ${N.rgba.b})` : t.Format.CSS.formatRGBA(N);
|
|
7914
7914
|
}
|
|
7915
7915
|
r.formatRGB = n;
|
|
7916
|
-
function s(
|
|
7917
|
-
return `rgba(${
|
|
7916
|
+
function s(N) {
|
|
7917
|
+
return `rgba(${N.rgba.r}, ${N.rgba.g}, ${N.rgba.b}, ${+N.rgba.a.toFixed(2)})`;
|
|
7918
7918
|
}
|
|
7919
7919
|
r.formatRGBA = s;
|
|
7920
|
-
function i(
|
|
7921
|
-
return
|
|
7920
|
+
function i(N) {
|
|
7921
|
+
return N.hsla.a === 1 ? `hsl(${N.hsla.h}, ${Math.round(N.hsla.s * 100)}%, ${Math.round(N.hsla.l * 100)}%)` : t.Format.CSS.formatHSLA(N);
|
|
7922
7922
|
}
|
|
7923
7923
|
r.formatHSL = i;
|
|
7924
|
-
function u(
|
|
7925
|
-
return `hsla(${
|
|
7924
|
+
function u(N) {
|
|
7925
|
+
return `hsla(${N.hsla.h}, ${Math.round(N.hsla.s * 100)}%, ${Math.round(N.hsla.l * 100)}%, ${N.hsla.a.toFixed(2)})`;
|
|
7926
7926
|
}
|
|
7927
7927
|
r.formatHSLA = u;
|
|
7928
|
-
function l(
|
|
7929
|
-
const k =
|
|
7928
|
+
function l(N) {
|
|
7929
|
+
const k = N.toString(16);
|
|
7930
7930
|
return k.length !== 2 ? "0" + k : k;
|
|
7931
7931
|
}
|
|
7932
|
-
function c(
|
|
7933
|
-
return `#${l(
|
|
7932
|
+
function c(N) {
|
|
7933
|
+
return `#${l(N.rgba.r)}${l(N.rgba.g)}${l(N.rgba.b)}`;
|
|
7934
7934
|
}
|
|
7935
7935
|
r.formatHex = c;
|
|
7936
|
-
function p(
|
|
7937
|
-
return k &&
|
|
7936
|
+
function p(N, k = !1) {
|
|
7937
|
+
return k && N.rgba.a === 1 ? t.Format.CSS.formatHex(N) : `#${l(N.rgba.r)}${l(N.rgba.g)}${l(N.rgba.b)}${l(Math.round(N.rgba.a * 255))}`;
|
|
7938
7938
|
}
|
|
7939
7939
|
r.formatHexA = p;
|
|
7940
|
-
function _(
|
|
7941
|
-
return
|
|
7940
|
+
function _(N) {
|
|
7941
|
+
return N.isOpaque() ? t.Format.CSS.formatHex(N) : t.Format.CSS.formatRGBA(N);
|
|
7942
7942
|
}
|
|
7943
7943
|
r.format = _;
|
|
7944
|
-
function y(
|
|
7945
|
-
if (
|
|
7944
|
+
function y(N) {
|
|
7945
|
+
if (N === "transparent")
|
|
7946
7946
|
return t.transparent;
|
|
7947
|
-
if (
|
|
7948
|
-
return S(
|
|
7949
|
-
if (
|
|
7950
|
-
const k =
|
|
7947
|
+
if (N.startsWith("#"))
|
|
7948
|
+
return S(N);
|
|
7949
|
+
if (N.startsWith("rgba(")) {
|
|
7950
|
+
const k = N.match(/rgba\((?<r>(?:\+|-)?\d+), *(?<g>(?:\+|-)?\d+), *(?<b>(?:\+|-)?\d+), *(?<a>(?:\+|-)?\d+(\.\d+)?)\)/);
|
|
7951
7951
|
if (!k)
|
|
7952
|
-
throw new Error("Invalid color format " +
|
|
7952
|
+
throw new Error("Invalid color format " + N);
|
|
7953
7953
|
const W = parseInt(k.groups?.r ?? "0"), z = parseInt(k.groups?.g ?? "0"), U = parseInt(k.groups?.b ?? "0"), Q = parseFloat(k.groups?.a ?? "0");
|
|
7954
7954
|
return new t(new A(W, z, U, Q));
|
|
7955
7955
|
}
|
|
7956
|
-
if (
|
|
7957
|
-
const k =
|
|
7956
|
+
if (N.startsWith("rgb(")) {
|
|
7957
|
+
const k = N.match(/rgb\((?<r>(?:\+|-)?\d+), *(?<g>(?:\+|-)?\d+), *(?<b>(?:\+|-)?\d+)\)/);
|
|
7958
7958
|
if (!k)
|
|
7959
|
-
throw new Error("Invalid color format " +
|
|
7959
|
+
throw new Error("Invalid color format " + N);
|
|
7960
7960
|
const W = parseInt(k.groups?.r ?? "0"), z = parseInt(k.groups?.g ?? "0"), U = parseInt(k.groups?.b ?? "0");
|
|
7961
7961
|
return new t(new A(W, z, U));
|
|
7962
7962
|
}
|
|
7963
|
-
return v(
|
|
7963
|
+
return v(N);
|
|
7964
7964
|
}
|
|
7965
7965
|
r.parse = y;
|
|
7966
|
-
function v(
|
|
7967
|
-
switch (
|
|
7966
|
+
function v(N) {
|
|
7967
|
+
switch (N) {
|
|
7968
7968
|
case "aliceblue":
|
|
7969
7969
|
return new t(new A(240, 248, 255, 1));
|
|
7970
7970
|
case "antiquewhite":
|
|
@@ -8265,31 +8265,31 @@ let ic = class ft {
|
|
|
8265
8265
|
return null;
|
|
8266
8266
|
}
|
|
8267
8267
|
}
|
|
8268
|
-
function S(
|
|
8269
|
-
const k =
|
|
8270
|
-
if (k === 0 ||
|
|
8268
|
+
function S(N) {
|
|
8269
|
+
const k = N.length;
|
|
8270
|
+
if (k === 0 || N.charCodeAt(0) !== 35)
|
|
8271
8271
|
return null;
|
|
8272
8272
|
if (k === 7) {
|
|
8273
|
-
const W = 16 * E(
|
|
8273
|
+
const W = 16 * E(N.charCodeAt(1)) + E(N.charCodeAt(2)), z = 16 * E(N.charCodeAt(3)) + E(N.charCodeAt(4)), U = 16 * E(N.charCodeAt(5)) + E(N.charCodeAt(6));
|
|
8274
8274
|
return new t(new A(W, z, U, 1));
|
|
8275
8275
|
}
|
|
8276
8276
|
if (k === 9) {
|
|
8277
|
-
const W = 16 * E(
|
|
8277
|
+
const W = 16 * E(N.charCodeAt(1)) + E(N.charCodeAt(2)), z = 16 * E(N.charCodeAt(3)) + E(N.charCodeAt(4)), U = 16 * E(N.charCodeAt(5)) + E(N.charCodeAt(6)), Q = 16 * E(N.charCodeAt(7)) + E(N.charCodeAt(8));
|
|
8278
8278
|
return new t(new A(W, z, U, Q / 255));
|
|
8279
8279
|
}
|
|
8280
8280
|
if (k === 4) {
|
|
8281
|
-
const W = E(
|
|
8281
|
+
const W = E(N.charCodeAt(1)), z = E(N.charCodeAt(2)), U = E(N.charCodeAt(3));
|
|
8282
8282
|
return new t(new A(16 * W + W, 16 * z + z, 16 * U + U));
|
|
8283
8283
|
}
|
|
8284
8284
|
if (k === 5) {
|
|
8285
|
-
const W = E(
|
|
8285
|
+
const W = E(N.charCodeAt(1)), z = E(N.charCodeAt(2)), U = E(N.charCodeAt(3)), Q = E(N.charCodeAt(4));
|
|
8286
8286
|
return new t(new A(16 * W + W, 16 * z + z, 16 * U + U, (16 * Q + Q) / 255));
|
|
8287
8287
|
}
|
|
8288
8288
|
return null;
|
|
8289
8289
|
}
|
|
8290
8290
|
r.parseHex = S;
|
|
8291
|
-
function E(
|
|
8292
|
-
switch (
|
|
8291
|
+
function E(N) {
|
|
8292
|
+
switch (N) {
|
|
8293
8293
|
case 48:
|
|
8294
8294
|
return 0;
|
|
8295
8295
|
case 49:
|
|
@@ -8368,7 +8368,7 @@ function Pi(t, e) {
|
|
|
8368
8368
|
endColumn: s.column + n
|
|
8369
8369
|
};
|
|
8370
8370
|
}
|
|
8371
|
-
function
|
|
8371
|
+
function Nw(t, e) {
|
|
8372
8372
|
if (!t)
|
|
8373
8373
|
return;
|
|
8374
8374
|
const r = ic.Format.CSS.parseHex(e);
|
|
@@ -8419,7 +8419,7 @@ function Ew(t) {
|
|
|
8419
8419
|
} else if (u === "hsla") {
|
|
8420
8420
|
const p = /^\(\s*((?:360(?:\.0+)?|(?:36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])(?:\.\d+)?))\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(0[.][0-9]+|[.][0-9]+|[01][.]0*|[01])\s*\)$/gm;
|
|
8421
8421
|
c = cp(Pi(t, s), Li(l, p), !0);
|
|
8422
|
-
} else u === "#" && (c =
|
|
8422
|
+
} else u === "#" && (c = Nw(Pi(t, s), u + l));
|
|
8423
8423
|
c && e.push(c);
|
|
8424
8424
|
}
|
|
8425
8425
|
return e;
|
|
@@ -8475,8 +8475,8 @@ function Ow(t, e) {
|
|
|
8475
8475
|
let _;
|
|
8476
8476
|
for (; (_ = i.exec(p)) !== null; ) {
|
|
8477
8477
|
const y = p.substring(0, _.index), v = (y.match(/\n/g) || []).length, S = u + v, E = _[0].split(`
|
|
8478
|
-
`),
|
|
8479
|
-
`) + 1, z = _.index - W + 1, U = E[E.length - 1], Q =
|
|
8478
|
+
`), N = E.length, k = S + N - 1, W = y.lastIndexOf(`
|
|
8479
|
+
`) + 1, z = _.index - W + 1, U = E[E.length - 1], Q = N === 1 ? z + _[0].length : U.length + 1, te = {
|
|
8480
8480
|
startLineNumber: S,
|
|
8481
8481
|
startColumn: z,
|
|
8482
8482
|
endLineNumber: k,
|
|
@@ -8834,7 +8834,7 @@ class Uw extends $w {
|
|
|
8834
8834
|
}
|
|
8835
8835
|
getWordAtPosition(e, r) {
|
|
8836
8836
|
const n = hd(e.column, l_(r), this._lines[e.lineNumber - 1], 0);
|
|
8837
|
-
return n ? new
|
|
8837
|
+
return n ? new xe(e.lineNumber, n.startColumn, e.lineNumber, n.endColumn) : null;
|
|
8838
8838
|
}
|
|
8839
8839
|
words(e) {
|
|
8840
8840
|
const r = this._lines, n = this._wordenize.bind(this);
|
|
@@ -8999,16 +8999,16 @@ class Vi {
|
|
|
8999
8999
|
let u;
|
|
9000
9000
|
r = r.slice(0).sort((c, p) => {
|
|
9001
9001
|
if (c.range && p.range)
|
|
9002
|
-
return
|
|
9002
|
+
return xe.compareRangesUsingStarts(c.range, p.range);
|
|
9003
9003
|
const _ = c.range ? 0 : 1, y = p.range ? 0 : 1;
|
|
9004
9004
|
return _ - y;
|
|
9005
9005
|
});
|
|
9006
9006
|
let l = 0;
|
|
9007
9007
|
for (let c = 1; c < r.length; c++)
|
|
9008
|
-
|
|
9008
|
+
xe.getEndPosition(r[l].range).equals(xe.getStartPosition(r[c].range)) ? (r[l].range = xe.fromPositions(xe.getStartPosition(r[l].range), xe.getEndPosition(r[c].range)), r[l].text += r[c].text) : (l++, r[l] = r[c]);
|
|
9009
9009
|
r.length = l + 1;
|
|
9010
9010
|
for (let { range: c, text: p, eol: _ } of r) {
|
|
9011
|
-
if (typeof _ == "number" && (u = _),
|
|
9011
|
+
if (typeof _ == "number" && (u = _), xe.isEmpty(c) && !p)
|
|
9012
9012
|
continue;
|
|
9013
9013
|
const y = s.getValueInRange(c);
|
|
9014
9014
|
if (p = p.replace(/\r\n|\n|\r/g, s.eol), y === p)
|
|
@@ -9017,11 +9017,11 @@ class Vi {
|
|
|
9017
9017
|
i.push({ range: c, text: p });
|
|
9018
9018
|
continue;
|
|
9019
9019
|
}
|
|
9020
|
-
const v = q6(y, p, n), S = s.offsetAt(
|
|
9020
|
+
const v = q6(y, p, n), S = s.offsetAt(xe.lift(c).getStartPosition());
|
|
9021
9021
|
for (const E of v) {
|
|
9022
|
-
const
|
|
9022
|
+
const N = s.positionAt(S + E.originalStart), k = s.positionAt(S + E.originalStart + E.originalLength), W = {
|
|
9023
9023
|
text: p.substr(E.modifiedStart, E.modifiedLength),
|
|
9024
|
-
range: { startLineNumber:
|
|
9024
|
+
range: { startLineNumber: N.lineNumber, startColumn: N.column, endLineNumber: k.lineNumber, endColumn: k.column }
|
|
9025
9025
|
};
|
|
9026
9026
|
s.getValueInRange(W.range) !== W.text && i.push(W);
|
|
9027
9027
|
}
|
|
@@ -9468,18 +9468,18 @@ var Sp;
|
|
|
9468
9468
|
(function(t) {
|
|
9469
9469
|
t.Error = 1, t.Warning = 2, t.Information = 3, t.Hint = 4;
|
|
9470
9470
|
})(Sp || (Sp = {}));
|
|
9471
|
-
var
|
|
9471
|
+
var xp;
|
|
9472
9472
|
(function(t) {
|
|
9473
9473
|
t.Unnecessary = 1, t.Deprecated = 2;
|
|
9474
|
-
})(
|
|
9475
|
-
var
|
|
9474
|
+
})(xp || (xp = {}));
|
|
9475
|
+
var Np;
|
|
9476
9476
|
(function(t) {
|
|
9477
9477
|
function e(r) {
|
|
9478
9478
|
const n = r;
|
|
9479
9479
|
return O.objectLiteral(n) && O.string(n.href);
|
|
9480
9480
|
}
|
|
9481
9481
|
t.is = e;
|
|
9482
|
-
})(
|
|
9482
|
+
})(Np || (Np = {}));
|
|
9483
9483
|
var lc;
|
|
9484
9484
|
(function(t) {
|
|
9485
9485
|
function e(n, s, i, u, l, c) {
|
|
@@ -10199,8 +10199,8 @@ var O;
|
|
|
10199
10199
|
return e.call(S) === "[object Number]";
|
|
10200
10200
|
}
|
|
10201
10201
|
t.number = u;
|
|
10202
|
-
function l(S, E,
|
|
10203
|
-
return e.call(S) === "[object Number]" && E <= S && S <=
|
|
10202
|
+
function l(S, E, N) {
|
|
10203
|
+
return e.call(S) === "[object Number]" && E <= S && S <= N;
|
|
10204
10204
|
}
|
|
10205
10205
|
t.numberRange = l;
|
|
10206
10206
|
function c(S) {
|
|
@@ -10881,7 +10881,7 @@ const K = "numeric", jr = "short", fr = "long", pc = {
|
|
|
10881
10881
|
year: K,
|
|
10882
10882
|
month: K,
|
|
10883
10883
|
day: K
|
|
10884
|
-
},
|
|
10884
|
+
}, x_ = {
|
|
10885
10885
|
year: K,
|
|
10886
10886
|
month: jr,
|
|
10887
10887
|
day: K
|
|
@@ -10890,7 +10890,7 @@ const K = "numeric", jr = "short", fr = "long", pc = {
|
|
|
10890
10890
|
month: jr,
|
|
10891
10891
|
day: K,
|
|
10892
10892
|
weekday: jr
|
|
10893
|
-
},
|
|
10893
|
+
}, N_ = {
|
|
10894
10894
|
year: K,
|
|
10895
10895
|
month: fr,
|
|
10896
10896
|
day: K
|
|
@@ -11129,9 +11129,9 @@ class Rc extends In {
|
|
|
11129
11129
|
return !0;
|
|
11130
11130
|
}
|
|
11131
11131
|
}
|
|
11132
|
-
const
|
|
11132
|
+
const xh = /* @__PURE__ */ new Map();
|
|
11133
11133
|
function g8(t) {
|
|
11134
|
-
let e =
|
|
11134
|
+
let e = xh.get(t);
|
|
11135
11135
|
return e === void 0 && (e = new Intl.DateTimeFormat("en-US", {
|
|
11136
11136
|
hour12: !1,
|
|
11137
11137
|
timeZone: t,
|
|
@@ -11142,7 +11142,7 @@ function g8(t) {
|
|
|
11142
11142
|
minute: "2-digit",
|
|
11143
11143
|
second: "2-digit",
|
|
11144
11144
|
era: "short"
|
|
11145
|
-
}),
|
|
11145
|
+
}), xh.set(t, e)), e;
|
|
11146
11146
|
}
|
|
11147
11147
|
const _8 = {
|
|
11148
11148
|
year: 0,
|
|
@@ -11180,7 +11180,7 @@ class Gr extends In {
|
|
|
11180
11180
|
* @return {void}
|
|
11181
11181
|
*/
|
|
11182
11182
|
static resetCache() {
|
|
11183
|
-
rf.clear(),
|
|
11183
|
+
rf.clear(), xh.clear();
|
|
11184
11184
|
}
|
|
11185
11185
|
/**
|
|
11186
11186
|
* Returns whether the provided string is a valid specifier. This only checks the string's format, not that the specifier identifies a known zone; see isValidZone for that.
|
|
@@ -11311,11 +11311,11 @@ function w8(t, e = {}) {
|
|
|
11311
11311
|
let n = yg[r];
|
|
11312
11312
|
return n || (n = new Intl.ListFormat(t, e), yg[r] = n), n;
|
|
11313
11313
|
}
|
|
11314
|
-
const
|
|
11314
|
+
const Nh = /* @__PURE__ */ new Map();
|
|
11315
11315
|
function Eh(t, e = {}) {
|
|
11316
11316
|
const r = JSON.stringify([t, e]);
|
|
11317
|
-
let n =
|
|
11318
|
-
return n === void 0 && (n = new Intl.DateTimeFormat(t, e),
|
|
11317
|
+
let n = Nh.get(r);
|
|
11318
|
+
return n === void 0 && (n = new Intl.DateTimeFormat(t, e), Nh.set(r, n)), n;
|
|
11319
11319
|
}
|
|
11320
11320
|
const Th = /* @__PURE__ */ new Map();
|
|
11321
11321
|
function v8(t, e = {}) {
|
|
@@ -11330,7 +11330,7 @@ function S8(t, e = {}) {
|
|
|
11330
11330
|
return i === void 0 && (i = new Intl.RelativeTimeFormat(t, e), Ph.set(s, i)), i;
|
|
11331
11331
|
}
|
|
11332
11332
|
let Ii = null;
|
|
11333
|
-
function
|
|
11333
|
+
function x8() {
|
|
11334
11334
|
return Ii || (Ii = new Intl.DateTimeFormat().resolvedOptions().locale, Ii);
|
|
11335
11335
|
}
|
|
11336
11336
|
const Lh = /* @__PURE__ */ new Map();
|
|
@@ -11339,7 +11339,7 @@ function j_(t) {
|
|
|
11339
11339
|
return e === void 0 && (e = new Intl.DateTimeFormat(t).resolvedOptions(), Lh.set(t, e)), e;
|
|
11340
11340
|
}
|
|
11341
11341
|
const Ah = /* @__PURE__ */ new Map();
|
|
11342
|
-
function
|
|
11342
|
+
function N8(t) {
|
|
11343
11343
|
let e = Ah.get(t);
|
|
11344
11344
|
if (!e) {
|
|
11345
11345
|
const r = new Intl.Locale(t);
|
|
@@ -11473,11 +11473,11 @@ class De {
|
|
|
11473
11473
|
);
|
|
11474
11474
|
}
|
|
11475
11475
|
static create(e, r, n, s, i = !1) {
|
|
11476
|
-
const u = e || it.defaultLocale, l = u || (i ? "en-US" :
|
|
11476
|
+
const u = e || it.defaultLocale, l = u || (i ? "en-US" : x8()), c = r || it.defaultNumberingSystem, p = n || it.defaultOutputCalendar, _ = Oh(s) || it.defaultWeekSettings;
|
|
11477
11477
|
return new De(l, c, p, _, u);
|
|
11478
11478
|
}
|
|
11479
11479
|
static resetCache() {
|
|
11480
|
-
Ii = null,
|
|
11480
|
+
Ii = null, Nh.clear(), Th.clear(), Ph.clear(), Lh.clear(), Ah.clear();
|
|
11481
11481
|
}
|
|
11482
11482
|
static fromObject({ locale: e, numberingSystem: r, outputCalendar: n, weekSettings: s } = {}) {
|
|
11483
11483
|
return De.create(e, r, n, s);
|
|
@@ -11572,7 +11572,7 @@ class De {
|
|
|
11572
11572
|
return this.locale === "en" || this.locale.toLowerCase() === "en-us" || j_(this.intl).locale.startsWith("en-us");
|
|
11573
11573
|
}
|
|
11574
11574
|
getWeekSettings() {
|
|
11575
|
-
return this.weekSettings ? this.weekSettings : J_() ?
|
|
11575
|
+
return this.weekSettings ? this.weekSettings : J_() ? N8(this.locale) : G_;
|
|
11576
11576
|
}
|
|
11577
11577
|
getStartOfWeek() {
|
|
11578
11578
|
return this.getWeekSettings().firstDay;
|
|
@@ -11747,7 +11747,7 @@ class I8 extends In {
|
|
|
11747
11747
|
return !1;
|
|
11748
11748
|
}
|
|
11749
11749
|
}
|
|
11750
|
-
function
|
|
11750
|
+
function Nn(t, e) {
|
|
11751
11751
|
if (ye(t) || t === null)
|
|
11752
11752
|
return e;
|
|
11753
11753
|
if (t instanceof In)
|
|
@@ -11829,7 +11829,7 @@ function Rr({ numberingSystem: t }, e = "") {
|
|
|
11829
11829
|
let s = n.get(e);
|
|
11830
11830
|
return s === void 0 && (s = new RegExp(`${md[r]}${e}`), n.set(e, s)), s;
|
|
11831
11831
|
}
|
|
11832
|
-
let wg = () => Date.now(), vg = "system", Sg = null,
|
|
11832
|
+
let wg = () => Date.now(), vg = "system", Sg = null, xg = null, Ng = null, Eg = 60, Tg, Pg = null;
|
|
11833
11833
|
class it {
|
|
11834
11834
|
/**
|
|
11835
11835
|
* Get the callback for returning the current timestamp.
|
|
@@ -11862,7 +11862,7 @@ class it {
|
|
|
11862
11862
|
* @type {Zone}
|
|
11863
11863
|
*/
|
|
11864
11864
|
static get defaultZone() {
|
|
11865
|
-
return
|
|
11865
|
+
return Nn(vg, Rc.instance);
|
|
11866
11866
|
}
|
|
11867
11867
|
/**
|
|
11868
11868
|
* Get the default locale to create DateTimes with. Does not affect existing instances.
|
|
@@ -11883,28 +11883,28 @@ class it {
|
|
|
11883
11883
|
* @type {string}
|
|
11884
11884
|
*/
|
|
11885
11885
|
static get defaultNumberingSystem() {
|
|
11886
|
-
return
|
|
11886
|
+
return xg;
|
|
11887
11887
|
}
|
|
11888
11888
|
/**
|
|
11889
11889
|
* Set the default numbering system to create DateTimes with. Does not affect existing instances.
|
|
11890
11890
|
* @type {string}
|
|
11891
11891
|
*/
|
|
11892
11892
|
static set defaultNumberingSystem(e) {
|
|
11893
|
-
|
|
11893
|
+
xg = e;
|
|
11894
11894
|
}
|
|
11895
11895
|
/**
|
|
11896
11896
|
* Get the default output calendar to create DateTimes with. Does not affect existing instances.
|
|
11897
11897
|
* @type {string}
|
|
11898
11898
|
*/
|
|
11899
11899
|
static get defaultOutputCalendar() {
|
|
11900
|
-
return
|
|
11900
|
+
return Ng;
|
|
11901
11901
|
}
|
|
11902
11902
|
/**
|
|
11903
11903
|
* Set the default output calendar to create DateTimes with. Does not affect existing instances.
|
|
11904
11904
|
* @type {string}
|
|
11905
11905
|
*/
|
|
11906
11906
|
static set defaultOutputCalendar(e) {
|
|
11907
|
-
|
|
11907
|
+
Ng = e;
|
|
11908
11908
|
}
|
|
11909
11909
|
/**
|
|
11910
11910
|
* @typedef {Object} WeekSettings
|
|
@@ -11978,7 +11978,7 @@ class zr {
|
|
|
11978
11978
|
}
|
|
11979
11979
|
}
|
|
11980
11980
|
const W_ = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], B_ = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335];
|
|
11981
|
-
function
|
|
11981
|
+
function Nr(t, e) {
|
|
11982
11982
|
return new zr(
|
|
11983
11983
|
"unit out of range",
|
|
11984
11984
|
`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`
|
|
@@ -12039,19 +12039,19 @@ function $8(t, e = 4, r = 1) {
|
|
|
12039
12039
|
1,
|
|
12040
12040
|
Zi(t.weekYear, e, r)
|
|
12041
12041
|
), i = Er(t.weekday, 1, 7);
|
|
12042
|
-
return n ? s ? i ? !1 :
|
|
12042
|
+
return n ? s ? i ? !1 : Nr("weekday", t.weekday) : Nr("week", t.weekNumber) : Nr("weekYear", t.weekYear);
|
|
12043
12043
|
}
|
|
12044
12044
|
function F8(t) {
|
|
12045
12045
|
const e = Ic(t.year), r = Er(t.ordinal, 1, Is(t.year));
|
|
12046
|
-
return e ? r ? !1 :
|
|
12046
|
+
return e ? r ? !1 : Nr("ordinal", t.ordinal) : Nr("year", t.year);
|
|
12047
12047
|
}
|
|
12048
12048
|
function Y_(t) {
|
|
12049
12049
|
const e = Ic(t.year), r = Er(t.month, 1, 12), n = Er(t.day, 1, _c(t.year, t.month));
|
|
12050
|
-
return e ? r ? n ? !1 :
|
|
12050
|
+
return e ? r ? n ? !1 : Nr("day", t.day) : Nr("month", t.month) : Nr("year", t.year);
|
|
12051
12051
|
}
|
|
12052
12052
|
function Z_(t) {
|
|
12053
12053
|
const { hour: e, minute: r, second: n, millisecond: s } = t, i = Er(e, 0, 23) || e === 24 && r === 0 && n === 0 && s === 0, u = Er(r, 0, 59), l = Er(n, 0, 59), c = Er(s, 0, 999);
|
|
12054
|
-
return i ? u ? l ? c ? !1 :
|
|
12054
|
+
return i ? u ? l ? c ? !1 : Nr("millisecond", s) : Nr("second", n) : Nr("minute", r) : Nr("hour", e);
|
|
12055
12055
|
}
|
|
12056
12056
|
function ye(t) {
|
|
12057
12057
|
return typeof t > "u";
|
|
@@ -12360,8 +12360,8 @@ function Ig(t, e) {
|
|
|
12360
12360
|
}
|
|
12361
12361
|
const t7 = {
|
|
12362
12362
|
D: pc,
|
|
12363
|
-
DD:
|
|
12364
|
-
DDD:
|
|
12363
|
+
DD: x_,
|
|
12364
|
+
DDD: N_,
|
|
12365
12365
|
DDDD: E_,
|
|
12366
12366
|
t: T_,
|
|
12367
12367
|
tt: P_,
|
|
@@ -12604,8 +12604,8 @@ class zt {
|
|
|
12604
12604
|
const S = s(v);
|
|
12605
12605
|
if (S) {
|
|
12606
12606
|
const E = y.isNegativeDuration && S !== y.largestUnit ? n : 1;
|
|
12607
|
-
let
|
|
12608
|
-
return this.opts.signMode === "negativeLargestOnly" && S !== y.largestUnit ?
|
|
12607
|
+
let N;
|
|
12608
|
+
return this.opts.signMode === "negativeLargestOnly" && S !== y.largestUnit ? N = "never" : this.opts.signMode === "all" ? N = "always" : N = "auto", this.num(_.get(S) * E, v.length, N);
|
|
12609
12609
|
} else
|
|
12610
12610
|
return v;
|
|
12611
12611
|
}, u = zt.parseFormat(r), l = u.reduce(
|
|
@@ -12751,7 +12751,7 @@ function v7(t) {
|
|
|
12751
12751
|
const [, e, r, n, s, i, u, l] = t;
|
|
12752
12752
|
return [vd(e, l, r, n, s, i, u), ot.utcInstance];
|
|
12753
12753
|
}
|
|
12754
|
-
const S7 = Hs(n7, wd),
|
|
12754
|
+
const S7 = Hs(n7, wd), x7 = Hs(s7, wd), N7 = Hs(i7, wd), E7 = Hs(cy), hy = Ys(
|
|
12755
12755
|
c7,
|
|
12756
12756
|
Xs,
|
|
12757
12757
|
no,
|
|
@@ -12775,8 +12775,8 @@ function A7(t) {
|
|
|
12775
12775
|
return Zs(
|
|
12776
12776
|
t,
|
|
12777
12777
|
[S7, hy],
|
|
12778
|
-
[
|
|
12779
|
-
[
|
|
12778
|
+
[x7, T7],
|
|
12779
|
+
[N7, P7],
|
|
12780
12780
|
[E7, L7]
|
|
12781
12781
|
);
|
|
12782
12782
|
}
|
|
@@ -14033,7 +14033,7 @@ class _l {
|
|
|
14033
14033
|
* @return {Zone}
|
|
14034
14034
|
*/
|
|
14035
14035
|
static normalizeZone(e) {
|
|
14036
|
-
return
|
|
14036
|
+
return Nn(e, it.defaultZone);
|
|
14037
14037
|
}
|
|
14038
14038
|
/**
|
|
14039
14039
|
* Get the weekday on which the week starts according to the given locale.
|
|
@@ -14230,7 +14230,7 @@ function Y7(t) {
|
|
|
14230
14230
|
return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
|
|
14231
14231
|
}
|
|
14232
14232
|
function Z7(t, e) {
|
|
14233
|
-
const r = Rr(e), n = Rr(e, "{2}"), s = Rr(e, "{3}"), i = Rr(e, "{4}"), u = Rr(e, "{6}"), l = Rr(e, "{1,2}"), c = Rr(e, "{1,3}"), p = Rr(e, "{1,6}"), _ = Rr(e, "{1,9}"), y = Rr(e, "{2,4}"), v = Rr(e, "{4,6}"), S = (k) => ({ regex: RegExp(Y7(k.val)), deser: ([W]) => W, literal: !0 }),
|
|
14233
|
+
const r = Rr(e), n = Rr(e, "{2}"), s = Rr(e, "{3}"), i = Rr(e, "{4}"), u = Rr(e, "{6}"), l = Rr(e, "{1,2}"), c = Rr(e, "{1,3}"), p = Rr(e, "{1,6}"), _ = Rr(e, "{1,9}"), y = Rr(e, "{2,4}"), v = Rr(e, "{4,6}"), S = (k) => ({ regex: RegExp(Y7(k.val)), deser: ([W]) => W, literal: !0 }), N = ((k) => {
|
|
14234
14234
|
if (t.literal)
|
|
14235
14235
|
return S(k);
|
|
14236
14236
|
switch (k.val) {
|
|
@@ -14353,7 +14353,7 @@ function Z7(t, e) {
|
|
|
14353
14353
|
})(t) || {
|
|
14354
14354
|
invalidReason: B7
|
|
14355
14355
|
};
|
|
14356
|
-
return
|
|
14356
|
+
return N.token = t, N;
|
|
14357
14357
|
}
|
|
14358
14358
|
const X7 = {
|
|
14359
14359
|
year: {
|
|
@@ -14736,7 +14736,7 @@ function u4(t) {
|
|
|
14736
14736
|
return r === void 0 && (r = t.offset(ki), Ih.set(e, r)), r;
|
|
14737
14737
|
}
|
|
14738
14738
|
function Bg(t, e) {
|
|
14739
|
-
const r =
|
|
14739
|
+
const r = Nn(e.zone, it.defaultZone);
|
|
14740
14740
|
if (!r.isValid)
|
|
14741
14741
|
return Z.invalid(Ci(r));
|
|
14742
14742
|
const n = De.fromObject(e);
|
|
@@ -14865,7 +14865,7 @@ class Z {
|
|
|
14865
14865
|
const n = V8(e) ? e.valueOf() : NaN;
|
|
14866
14866
|
if (Number.isNaN(n))
|
|
14867
14867
|
return Z.invalid("invalid input");
|
|
14868
|
-
const s =
|
|
14868
|
+
const s = Nn(r.zone, it.defaultZone);
|
|
14869
14869
|
return s.isValid ? new Z({
|
|
14870
14870
|
ts: n,
|
|
14871
14871
|
zone: s,
|
|
@@ -14887,7 +14887,7 @@ class Z {
|
|
|
14887
14887
|
if (Pn(e))
|
|
14888
14888
|
return e < -zg || e > zg ? Z.invalid("Timestamp out of range") : new Z({
|
|
14889
14889
|
ts: e,
|
|
14890
|
-
zone:
|
|
14890
|
+
zone: Nn(r.zone, it.defaultZone),
|
|
14891
14891
|
loc: De.fromObject(r)
|
|
14892
14892
|
});
|
|
14893
14893
|
throw new Vt(
|
|
@@ -14909,7 +14909,7 @@ class Z {
|
|
|
14909
14909
|
if (Pn(e))
|
|
14910
14910
|
return new Z({
|
|
14911
14911
|
ts: e * 1e3,
|
|
14912
|
-
zone:
|
|
14912
|
+
zone: Nn(r.zone, it.defaultZone),
|
|
14913
14913
|
loc: De.fromObject(r)
|
|
14914
14914
|
});
|
|
14915
14915
|
throw new Vt("fromSeconds requires a numerical input");
|
|
@@ -14949,7 +14949,7 @@ class Z {
|
|
|
14949
14949
|
*/
|
|
14950
14950
|
static fromObject(e, r = {}) {
|
|
14951
14951
|
e = e || {};
|
|
14952
|
-
const n =
|
|
14952
|
+
const n = Nn(r.zone, it.defaultZone);
|
|
14953
14953
|
if (!n.isValid)
|
|
14954
14954
|
return Z.invalid(Ci(n));
|
|
14955
14955
|
const s = De.fromObject(r), i = yc(e, Wg), { minDaysInFirstWeek: u, startOfWeek: l } = Mg(i, s), c = it.now(), p = ye(r.specificOffset) ? n.offset(c) : r.specificOffset, _ = !ye(i.ordinal), y = !ye(i.year), v = !ye(i.month) || !ye(i.day), S = y || v, E = i.weekYear || i.weekNumber;
|
|
@@ -14959,18 +14959,18 @@ class Z {
|
|
|
14959
14959
|
);
|
|
14960
14960
|
if (v && _)
|
|
14961
14961
|
throw new Ls("Can't mix ordinal dates with month/day");
|
|
14962
|
-
const
|
|
14962
|
+
const N = E || i.weekday && !S;
|
|
14963
14963
|
let k, W, z = bl(c, p);
|
|
14964
|
-
|
|
14964
|
+
N ? (k = o4, W = s4, z = gc(z, u, l)) : _ ? (k = a4, W = i4, z = sf(z)) : (k = Fl, W = Sy);
|
|
14965
14965
|
let U = !1;
|
|
14966
14966
|
for (const ie of k) {
|
|
14967
14967
|
const _e = i[ie];
|
|
14968
14968
|
ye(_e) ? U ? i[ie] = W[ie] : i[ie] = z[ie] : U = !0;
|
|
14969
14969
|
}
|
|
14970
|
-
const Q =
|
|
14970
|
+
const Q = N ? $8(i, u, l) : _ ? F8(i) : Y_(i), te = Q || Z_(i);
|
|
14971
14971
|
if (te)
|
|
14972
14972
|
return Z.invalid(te);
|
|
14973
|
-
const fe =
|
|
14973
|
+
const fe = N ? Lg(i, u, l) : _ ? Ag(i) : i, [F, V] = $l(fe, p, n), q = new Z({
|
|
14974
14974
|
ts: F,
|
|
14975
14975
|
zone: n,
|
|
14976
14976
|
o: V,
|
|
@@ -15537,7 +15537,7 @@ class Z {
|
|
|
15537
15537
|
* @return {DateTime}
|
|
15538
15538
|
*/
|
|
15539
15539
|
setZone(e, { keepLocalTime: r = !1, keepCalendarTime: n = !1 } = {}) {
|
|
15540
|
-
if (e =
|
|
15540
|
+
if (e = Nn(e, it.defaultZone), e.equals(this.zone))
|
|
15541
15541
|
return this;
|
|
15542
15542
|
if (e.isValid) {
|
|
15543
15543
|
let s = this.ts;
|
|
@@ -16204,7 +16204,7 @@ class Z {
|
|
|
16204
16204
|
* @type {Object}
|
|
16205
16205
|
*/
|
|
16206
16206
|
static get DATE_MED() {
|
|
16207
|
-
return
|
|
16207
|
+
return x_;
|
|
16208
16208
|
}
|
|
16209
16209
|
/**
|
|
16210
16210
|
* {@link DateTime#toLocaleString} format like 'Fri, Oct 14, 1983'
|
|
@@ -16218,7 +16218,7 @@ class Z {
|
|
|
16218
16218
|
* @type {Object}
|
|
16219
16219
|
*/
|
|
16220
16220
|
static get DATE_FULL() {
|
|
16221
|
-
return
|
|
16221
|
+
return N_;
|
|
16222
16222
|
}
|
|
16223
16223
|
/**
|
|
16224
16224
|
* {@link DateTime#toLocaleString} format like 'Tuesday, October 14, 1983'
|
|
@@ -16378,7 +16378,7 @@ function Et(t) {
|
|
|
16378
16378
|
function Sr(t) {
|
|
16379
16379
|
return t instanceof Date;
|
|
16380
16380
|
}
|
|
16381
|
-
function
|
|
16381
|
+
function xy(t, e, r) {
|
|
16382
16382
|
const n = t.get(e);
|
|
16383
16383
|
if (n !== void 0) return n;
|
|
16384
16384
|
const s = r();
|
|
@@ -16387,8 +16387,8 @@ function Ny(t, e, r) {
|
|
|
16387
16387
|
const l4 = "unknown", c4 = "UTC";
|
|
16388
16388
|
Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
16389
16389
|
const f4 = /* @__PURE__ */ new Map();
|
|
16390
|
-
function
|
|
16391
|
-
return t === l4 ? lr.instance : t === c4 || t === "Etc/UTC" ? ot.utcInstance :
|
|
16390
|
+
function Ny(t) {
|
|
16391
|
+
return t === l4 ? lr.instance : t === c4 || t === "Etc/UTC" ? ot.utcInstance : xy(f4, t, () => Gr.create(t));
|
|
16392
16392
|
}
|
|
16393
16393
|
let hf;
|
|
16394
16394
|
async function h4() {
|
|
@@ -16877,7 +16877,7 @@ const Jt = {
|
|
|
16877
16877
|
snippets: "b",
|
|
16878
16878
|
keywords: "c"
|
|
16879
16879
|
};
|
|
16880
|
-
function
|
|
16880
|
+
function x4(t) {
|
|
16881
16881
|
switch (t) {
|
|
16882
16882
|
case "functions":
|
|
16883
16883
|
return It.Function;
|
|
@@ -16887,7 +16887,7 @@ function N4(t) {
|
|
|
16887
16887
|
return It.Operator;
|
|
16888
16888
|
}
|
|
16889
16889
|
}
|
|
16890
|
-
class
|
|
16890
|
+
class N4 {
|
|
16891
16891
|
// #endregion
|
|
16892
16892
|
constructor(e, r) {
|
|
16893
16893
|
this._fields = [], this._sdkFunctions = e, this._fields = r;
|
|
@@ -16990,7 +16990,7 @@ class x4 {
|
|
|
16990
16990
|
return g4(e).forEach((u) => {
|
|
16991
16991
|
s.completionItems.push({
|
|
16992
16992
|
label: u.text,
|
|
16993
|
-
kind:
|
|
16993
|
+
kind: x4(u.category),
|
|
16994
16994
|
insertText: u.text,
|
|
16995
16995
|
sortText: Jt[u.category],
|
|
16996
16996
|
range: n
|
|
@@ -17328,7 +17328,7 @@ class E4 {
|
|
|
17328
17328
|
const i = this._getTextDocument(e);
|
|
17329
17329
|
if (!i)
|
|
17330
17330
|
return await Promise.resolve({ suggestions: [] });
|
|
17331
|
-
const u = i.getText(), l = await this.getApiDatabase(s), c = s.profile ? v_(s.profile) : [], _ = await new
|
|
17331
|
+
const u = i.getText(), l = await this.getApiDatabase(s), c = s.profile ? v_(s.profile) : [], _ = await new N4(l, c).getCompletions({ range: r, modelContent: u, position: n });
|
|
17332
17332
|
return await Promise.resolve({ suggestions: _ });
|
|
17333
17333
|
}
|
|
17334
17334
|
// async doFormat(modelId: string /*context: ApiContext*/): Promise<TextEdit[]> {
|
|
@@ -17381,7 +17381,7 @@ $.add = (t, e, r, n) => {
|
|
|
17381
17381
|
}), $.add("wasm-simd", () => {
|
|
17382
17382
|
const t = [0, 97, 115, 109, 1, 0, 0, 0, 1, 5, 1, 96, 0, 1, 123, 3, 2, 1, 0, 10, 10, 1, 8, 0, 65, 0, 253, 15, 253, 98, 11];
|
|
17383
17383
|
return WebAssembly.validate(new Uint8Array(t));
|
|
17384
|
-
}), $.add("esri-atomics", "Atomics" in er), $.add("esri-workers", "Worker" in er), $.add("web-feat:cache", "caches" in er), $.add("esri-workers-arraybuffer-transfer", !$("safari") || Number($("safari")) >= 12), $.add("workers-pool-size", 8), $.add("featurelayer-simplify-thresholds", [0.5, 0.5, 0.5, 0.5]), $.add("featurelayer-simplify-payload-size-factors", [1, 1, 4]), $.add("featurelayer-animation-enabled", !0), $.add("featurelayer-snapshot-enabled", !0), $.add("featurelayer-snapshot-initial-tolerance", 0), $.add("featurelayer-snapshot-point-min-threshold", 8e4), $.add("featurelayer-snapshot-point-max-threshold", 4e5), $.add("featurelayer-snapshot-multipoint-min-threshold", 2e4), $.add("featurelayer-snapshot-multipoint-max-threshold", 1e5), $.add("featurelayer-snapshot-polygon-min-threshold", 2e3), $.add("featurelayer-snapshot-polygon-max-threshold", 2e3), $.add("featurelayer-snapshot-polyline-min-threshold", 2e3), $.add("featurelayer-snapshot-polyline-max-threshold", 2e3), $.add("featurelayer-snapshot-max-vertex-count", 25e4), $.add("featurelayer-snapshot-non-hosted-exceedslimit-enabled", !0), $.add("featurelayer-snapshot-concurrency", 4), $.add("featurelayer-snapshot-allow-editable", !1), $.add("featurelayer-snapshot-coverage", 0.1), $.add("featurelayer-query-max-depth", 4), $.add("featurelayer-query-max-page-size", 8e3), $.add("featurelayer-query-pausing-enabled", !1), $.add("featurelayer-query-tile-concurrency", 4), $.add("featurelayer-query-tile-max-features", 6e5), $.add("featurelayer-advanced-symbols", !1), $.add("featurelayer-pbf", !0), $.add("featurelayer-pbf-statistics", !1), $.add("featurelayer-pbf-true-curves", !0), $.add("feature-layers-workers", !0), $.add("feature-polyline-generalization-factor", 1), $.add("featurelayer-relative-time-queries-enabled", !0), $.add("featurelayer-relative-time-queries-bin-window-public", 1), $.add("featurelayer-relative-time-queries-bin-window-private", 60), $.add("parquetlayer-full-query-feature-count", 2e4), $.add("parquetlayer-hittest-max-feature-count", 1), $.add("parquetlayer-persistence-enabled", !1), $.add("parquetlayer-cache-enabled", !0), $.add("mapview-transitions-duration", 200), $.add("mapview-essential-goto-duration", 200), $.add("mapview-srswitch-adjust-rotation-scale-threshold", 24e6), $.add("mapserver-pbf-version-support", 10.81), $.add("mapservice-popup-identify-max-tolerance", 20), $.add("request-queue-concurrency-global", 50), $.add("request-queue-concurrency-hosted", 16), $.add("request-queue-concurrency-non-hosted", 6), $.add("curve-densification-coarse-segments", 128), $.add("curve-densification-max-segments", 2e3), $.add("curve-densification-min-segments", 3), $.add("curve-densification-pixel-deviation", 0.5), $.add("view-readyState-waiting-delay", 1e3), $.add("gradient-depth-bias", 0.01), $.add("gradient-depth-epsilon", 1e-8), $.add("enable-feature:esri-compress-textures", !0), $.add("enable-feature:basemap-groundlayers", !0), $.add("enable-feature:oit-ground", !0), $.add("enable-feature:im-shading", !0), !$("host-webworker") && $("host-browser") && ($.add("esri-csp-restrictions", () => {
|
|
17384
|
+
}), $.add("esri-atomics", "Atomics" in er), $.add("esri-workers", "Worker" in er), $.add("web-feat:cache", "caches" in er), $.add("esri-workers-arraybuffer-transfer", !$("safari") || Number($("safari")) >= 12), $.add("workers-pool-size", 8), $.add("featurelayer-simplify-thresholds", [0.5, 0.5, 0.5, 0.5]), $.add("featurelayer-simplify-payload-size-factors", [1, 1, 4]), $.add("featurelayer-animation-enabled", !0), $.add("featurelayer-snapshot-enabled", !0), $.add("featurelayer-snapshot-initial-tolerance", 0), $.add("featurelayer-snapshot-point-min-threshold", 8e4), $.add("featurelayer-snapshot-point-max-threshold", 4e5), $.add("featurelayer-snapshot-multipoint-min-threshold", 2e4), $.add("featurelayer-snapshot-multipoint-max-threshold", 1e5), $.add("featurelayer-snapshot-polygon-min-threshold", 2e3), $.add("featurelayer-snapshot-polygon-max-threshold", 2e3), $.add("featurelayer-snapshot-polyline-min-threshold", 2e3), $.add("featurelayer-snapshot-polyline-max-threshold", 2e3), $.add("featurelayer-snapshot-max-vertex-count", 25e4), $.add("featurelayer-snapshot-non-hosted-exceedslimit-enabled", !0), $.add("featurelayer-snapshot-concurrency", 4), $.add("featurelayer-snapshot-allow-editable", !1), $.add("featurelayer-snapshot-coverage", 0.1), $.add("featurelayer-query-max-depth", 4), $.add("featurelayer-query-max-page-size", 8e3), $.add("featurelayer-query-pausing-enabled", !1), $.add("featurelayer-query-tile-concurrency", 4), $.add("featurelayer-query-tile-max-features", 6e5), $.add("featurelayer-advanced-symbols", !1), $.add("featurelayer-pbf", !0), $.add("featurelayer-pbf-statistics", !1), $.add("featurelayer-pbf-true-curves", !0), $.add("feature-layers-workers", !0), $.add("feature-polyline-generalization-factor", 1), $.add("featurelayer-relative-time-queries-enabled", !0), $.add("featurelayer-relative-time-queries-bin-window-public", 1), $.add("featurelayer-relative-time-queries-bin-window-private", 60), $.add("parquetlayer-full-query-feature-count", 2e4), $.add("parquetlayer-hittest-max-feature-count", 1), $.add("parquetlayer-persistence-enabled", !1), $.add("parquetlayer-cache-enabled", !0), $.add("mapview-transitions-duration", 200), $.add("mapview-essential-goto-duration", 200), $.add("mapview-srswitch-adjust-rotation-scale-threshold", 24e6), $.add("mapserver-pbf-version-support", 10.81), $.add("mapservice-popup-identify-max-tolerance", 20), $.add("request-queue-concurrency-global", 50), $.add("request-queue-concurrency-hosted", 16), $.add("request-queue-concurrency-non-hosted", 6), $.add("curve-densification-coarse-segments", 128), $.add("curve-densification-max-segments", 2e3), $.add("curve-densification-min-segments", 3), $.add("curve-densification-pixel-deviation", 0.5), $.add("view-readyState-waiting-delay", 1e3), $.add("gradient-depth-bias", 0.01), $.add("gradient-depth-epsilon", 1e-8), $.add("enable-feature:esri-compress-textures", !0), $.add("enable-feature:basemap-groundlayers", !0), $.add("enable-feature:oit-ground", !0), $.add("enable-feature:im-shading", !0), $.add("enable-feature:im-vertex-normals", !0), !$("host-webworker") && $("host-browser") && ($.add("esri-csp-restrictions", () => {
|
|
17385
17385
|
try {
|
|
17386
17386
|
new Function();
|
|
17387
17387
|
} catch {
|
|
@@ -18163,7 +18163,7 @@ function r2(t) {
|
|
|
18163
18163
|
return Number.isNaN(t) || t === 0 ? t : Math.trunc(t);
|
|
18164
18164
|
}
|
|
18165
18165
|
const n2 = "esri.core.sql.SqlTimeStampOffset";
|
|
18166
|
-
let Qr = class
|
|
18166
|
+
let Qr = class xs {
|
|
18167
18167
|
constructor(e) {
|
|
18168
18168
|
this._timeStampOffset = e, this.declaredRootClass = n2, this._millis = null, this._date = null;
|
|
18169
18169
|
}
|
|
@@ -18204,13 +18204,13 @@ let Qr = class Ns {
|
|
|
18204
18204
|
return this.toDateTime().year;
|
|
18205
18205
|
}
|
|
18206
18206
|
startOfDay() {
|
|
18207
|
-
return
|
|
18207
|
+
return xs.fromDateTime(this.toDateTime().startOf("day"));
|
|
18208
18208
|
}
|
|
18209
18209
|
static fromJSDate(e) {
|
|
18210
|
-
return new
|
|
18210
|
+
return new xs(Z.fromJSDate(e).toISO({ includeOffset: !0 }));
|
|
18211
18211
|
}
|
|
18212
18212
|
static fromDateTime(e) {
|
|
18213
|
-
return new
|
|
18213
|
+
return new xs(e.toISO({ includeOffset: !0 }));
|
|
18214
18214
|
}
|
|
18215
18215
|
static fromParts(e, r, n = 0, s = 0, i = 0, u = 0, l = 0, c = !1, p = 0, _ = 0) {
|
|
18216
18216
|
const y = `${e.toString().padStart(4, "0")}-${r.toString().padStart(2, "0")}-${n.toString().padStart(2, "0")}`;
|
|
@@ -18219,7 +18219,7 @@ let Qr = class Ns {
|
|
|
18219
18219
|
let S = `${s.toString().padStart(2, "0")}:${i.toString().padStart(2, "0")}:${v + u.toString()}`;
|
|
18220
18220
|
l !== 0 && (S += "." + l.toString().padStart(3, "0"));
|
|
18221
18221
|
const E = `${c ? "-" : "+"}${p.toString().padStart(2, "0")}:${_.toString().padStart(2, "0")}`;
|
|
18222
|
-
return new
|
|
18222
|
+
return new xs(y + "T" + S + E);
|
|
18223
18223
|
}
|
|
18224
18224
|
toStorageFormat() {
|
|
18225
18225
|
return this._timeStampOffset;
|
|
@@ -18236,7 +18236,7 @@ let Qr = class Ns {
|
|
|
18236
18236
|
}
|
|
18237
18237
|
addMilliseconds(e) {
|
|
18238
18238
|
const r = this.toDateTime().plus(e);
|
|
18239
|
-
return
|
|
18239
|
+
return xs.fromDateTime(r);
|
|
18240
18240
|
}
|
|
18241
18241
|
};
|
|
18242
18242
|
function se(t, e, r, n) {
|
|
@@ -18248,7 +18248,7 @@ function se(t, e, r, n) {
|
|
|
18248
18248
|
const cr = { apiKey: void 0, apiKeys: { scopes: [] }, applicationName: "", applicationUrl: globalThis.location?.href, assetsPath: "", fontsUrl: "https://static.arcgis.com/fonts", geometryServiceUrl: "https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer", geoRSSServiceUrl: "https://utility.arcgis.com/sharing/rss", kmlServiceUrl: "https://utility.arcgis.com/sharing/kml", userPrivilegesApplied: !0, portalUrl: "https://www.arcgis.com", respectPrefersReducedMotion: !0, routeServiceUrl: "https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World", workers: { loaderConfig: { has: {}, paths: {}, map: {}, packages: [] } }, request: { crossOriginNoCorsDomains: null, httpsDomains: ["arcgis.com", "arcgisonline.com", "esrikr.com", "premiumservices.blackbridge.com", "esripremium.accuweather.com", "gbm.digitalglobe.com", "firstlook.digitalglobe.com", "msi.digitalglobe.com"], interceptors: [], internalInterceptors: [], maxUrlLength: 2e3, priority: "high", proxyRules: [], proxyUrl: null, timeout: 62e3, trustedServers: [], useIdentity: !0 }, log: { interceptors: [], level: null } };
|
|
18249
18249
|
if (globalThis.esriConfig && (H4(cr, globalThis.esriConfig, !0), delete cr.has), !cr.assetsPath) {
|
|
18250
18250
|
{
|
|
18251
|
-
const t = "5.1.0-next.
|
|
18251
|
+
const t = "5.1.0-next.35";
|
|
18252
18252
|
cr.assetsPath = `https://cdn.jsdelivr.net/npm/@arcgis/core@${t}/assets`;
|
|
18253
18253
|
}
|
|
18254
18254
|
cr.defaultAssetsPath = cr.assetsPath;
|
|
@@ -18449,10 +18449,10 @@ function vv(t) {
|
|
|
18449
18449
|
return mv;
|
|
18450
18450
|
case Date:
|
|
18451
18451
|
return hv;
|
|
18452
|
-
case
|
|
18452
|
+
case xd:
|
|
18453
18453
|
return gv;
|
|
18454
18454
|
default:
|
|
18455
|
-
return
|
|
18455
|
+
return xy(wv, t, () => bv.bind(null, t));
|
|
18456
18456
|
}
|
|
18457
18457
|
}
|
|
18458
18458
|
function An(t, e) {
|
|
@@ -18477,7 +18477,7 @@ function wc(t, e, r) {
|
|
|
18477
18477
|
if (s !== void 0) for (let i = 0; i < n; i++) r = [r];
|
|
18478
18478
|
return r;
|
|
18479
18479
|
}
|
|
18480
|
-
function
|
|
18480
|
+
function xv(t, e, r) {
|
|
18481
18481
|
return arguments.length === 2 ? wc((n) => An(t, n), e) : wc((n) => An(t, n), e, r);
|
|
18482
18482
|
}
|
|
18483
18483
|
function Gy(t) {
|
|
@@ -18519,9 +18519,9 @@ function Fh(t, e) {
|
|
|
18519
18519
|
};
|
|
18520
18520
|
}
|
|
18521
18521
|
let Hn = class {
|
|
18522
|
-
},
|
|
18522
|
+
}, xd = class {
|
|
18523
18523
|
};
|
|
18524
|
-
function
|
|
18524
|
+
function Nv(t) {
|
|
18525
18525
|
if (!t || typeof t != "object" && typeof t != "function" || !("type" in t)) return !1;
|
|
18526
18526
|
switch (t.type) {
|
|
18527
18527
|
case "native":
|
|
@@ -18561,7 +18561,7 @@ function Uh(t) {
|
|
|
18561
18561
|
return "integer";
|
|
18562
18562
|
case Date:
|
|
18563
18563
|
return "date";
|
|
18564
|
-
case
|
|
18564
|
+
case xd:
|
|
18565
18565
|
return "null";
|
|
18566
18566
|
default:
|
|
18567
18567
|
return Fc(t.value);
|
|
@@ -18587,7 +18587,7 @@ function Vh(t, e) {
|
|
|
18587
18587
|
return typeof t == "boolean";
|
|
18588
18588
|
case String:
|
|
18589
18589
|
return typeof t == "string";
|
|
18590
|
-
case
|
|
18590
|
+
case xd:
|
|
18591
18591
|
return t === null;
|
|
18592
18592
|
}
|
|
18593
18593
|
return t instanceof e.value;
|
|
@@ -18781,12 +18781,12 @@ function Xy(t, e, r) {
|
|
|
18781
18781
|
}
|
|
18782
18782
|
function Cv(t) {
|
|
18783
18783
|
let e = 0, r = t;
|
|
18784
|
-
if (
|
|
18784
|
+
if (Nv(t)) return Wy(t);
|
|
18785
18785
|
for (; Array.isArray(r) && r.length === 1 && typeof r[0] != "string" && typeof r[0] != "number"; ) r = r[0], e++;
|
|
18786
18786
|
const n = r;
|
|
18787
18787
|
if (Gy(n)) return e === 0 ? $h(n) : wc($h(n), e);
|
|
18788
18788
|
if (e === 1) return Sv(n);
|
|
18789
|
-
if (e > 1) return
|
|
18789
|
+
if (e > 1) return xv(n, e);
|
|
18790
18790
|
const s = t;
|
|
18791
18791
|
return s.from ? s.from : An(s);
|
|
18792
18792
|
}
|
|
@@ -18833,14 +18833,14 @@ let Vc = class {
|
|
|
18833
18833
|
this._handles.pop().remove();
|
|
18834
18834
|
}
|
|
18835
18835
|
};
|
|
18836
|
-
const
|
|
18837
|
-
let Kn =
|
|
18836
|
+
const xc = new Vc(), Yn = [];
|
|
18837
|
+
let Kn = xc;
|
|
18838
18838
|
function zc(t) {
|
|
18839
18839
|
Kn.onAccessed(t);
|
|
18840
18840
|
}
|
|
18841
18841
|
let zl = !1, Wi = !1;
|
|
18842
18842
|
function Ws(t, e, r) {
|
|
18843
|
-
if (zl) return
|
|
18843
|
+
if (zl) return Nd(t, e, r);
|
|
18844
18844
|
let n;
|
|
18845
18845
|
if (Wi) {
|
|
18846
18846
|
Kn = t, Yn.push(t);
|
|
@@ -18862,9 +18862,9 @@ function Ws(t, e, r) {
|
|
|
18862
18862
|
return n;
|
|
18863
18863
|
}
|
|
18864
18864
|
function zv(t, e) {
|
|
18865
|
-
return Ws(
|
|
18865
|
+
return Ws(xc, t, e);
|
|
18866
18866
|
}
|
|
18867
|
-
function
|
|
18867
|
+
function Nd(t, e, r) {
|
|
18868
18868
|
const n = zl;
|
|
18869
18869
|
let s;
|
|
18870
18870
|
zl = !0, Kn = t, Yn.push(t);
|
|
@@ -18882,18 +18882,18 @@ function zh() {
|
|
|
18882
18882
|
Kn = Yn[t - 2], e.onTrackingEnd();
|
|
18883
18883
|
} else if (t === 1) {
|
|
18884
18884
|
const e = Yn.pop();
|
|
18885
|
-
Kn =
|
|
18886
|
-
} else Kn =
|
|
18885
|
+
Kn = xc, e.onTrackingEnd();
|
|
18886
|
+
} else Kn = xc;
|
|
18887
18887
|
}
|
|
18888
18888
|
function Qy(t, e) {
|
|
18889
18889
|
if (e.flags & Xe.DepTrackingInitialized) return;
|
|
18890
18890
|
e.flags |= Xe.DepTrackingInitialized;
|
|
18891
18891
|
const r = Wi;
|
|
18892
|
-
Wi = !1, e.flags & Xe.AutoTracked ?
|
|
18892
|
+
Wi = !1, e.flags & Xe.AutoTracked ? Nd(e.trackingTarget, e.metadata.get, t) : Ky(t, e), Wi = r;
|
|
18893
18893
|
}
|
|
18894
18894
|
const jv = [];
|
|
18895
18895
|
function Ky(t, e) {
|
|
18896
|
-
e.flags & Xe.ExplicitlyTracking || (e.flags |= Xe.ExplicitlyTracking,
|
|
18896
|
+
e.flags & Xe.ExplicitlyTracking || (e.flags |= Xe.ExplicitlyTracking, Nd(e.trackingTarget, () => {
|
|
18897
18897
|
const r = e.metadata.dependsOn || jv;
|
|
18898
18898
|
for (const n of r) if (typeof n != "string" || n.includes(".")) {
|
|
18899
18899
|
const s = By(n);
|
|
@@ -18931,7 +18931,7 @@ function e3(t) {
|
|
|
18931
18931
|
function Wv(t, e) {
|
|
18932
18932
|
return Ed(t, "any", e?.origin);
|
|
18933
18933
|
}
|
|
18934
|
-
function
|
|
18934
|
+
function Nc(t, e) {
|
|
18935
18935
|
return Ed(t, "read", e?.origin);
|
|
18936
18936
|
}
|
|
18937
18937
|
function Bv(t, e) {
|
|
@@ -19057,7 +19057,7 @@ function Kv(t) {
|
|
|
19057
19057
|
};
|
|
19058
19058
|
}
|
|
19059
19059
|
function eS(t, e, r) {
|
|
19060
|
-
const n = Object.values(e)[0], s = Qs(n.prototype)[t], i =
|
|
19060
|
+
const n = Object.values(e)[0], s = Qs(n.prototype)[t], i = Nc(s, r), u = i?.read?.source;
|
|
19061
19061
|
return u && typeof u == "string" ? u : t;
|
|
19062
19062
|
}
|
|
19063
19063
|
function tS(t) {
|
|
@@ -19338,14 +19338,14 @@ let Ad = class {
|
|
|
19338
19338
|
}
|
|
19339
19339
|
}
|
|
19340
19340
|
has(e) {
|
|
19341
|
-
return this._groups.has(
|
|
19341
|
+
return this._groups.has(xl(e));
|
|
19342
19342
|
}
|
|
19343
19343
|
remove(e) {
|
|
19344
19344
|
if (typeof e != "string" && Xg(e)) {
|
|
19345
19345
|
for (const r of e) this.remove(r);
|
|
19346
19346
|
return this;
|
|
19347
19347
|
}
|
|
19348
|
-
return this.has(e) ? (_2(this._getGroup(e)), this._groups.delete(
|
|
19348
|
+
return this.has(e) ? (_2(this._getGroup(e)), this._groups.delete(xl(e)), this) : this;
|
|
19349
19349
|
}
|
|
19350
19350
|
removeAll() {
|
|
19351
19351
|
return this._groups.forEach(_2), this._groups.clear(), this;
|
|
@@ -19356,13 +19356,13 @@ let Ad = class {
|
|
|
19356
19356
|
_getOrCreateGroup(e) {
|
|
19357
19357
|
if (this.has(e)) return this._getGroup(e);
|
|
19358
19358
|
const r = [];
|
|
19359
|
-
return this._groups.set(
|
|
19359
|
+
return this._groups.set(xl(e), r), r;
|
|
19360
19360
|
}
|
|
19361
19361
|
_getGroup(e) {
|
|
19362
|
-
return this._groups.get(
|
|
19362
|
+
return this._groups.get(xl(e));
|
|
19363
19363
|
}
|
|
19364
19364
|
};
|
|
19365
|
-
function
|
|
19365
|
+
function xl(t) {
|
|
19366
19366
|
return t || "_default_";
|
|
19367
19367
|
}
|
|
19368
19368
|
function _2(t) {
|
|
@@ -19427,7 +19427,7 @@ let Md = class {
|
|
|
19427
19427
|
this._observers = null, this.destroyed = !1;
|
|
19428
19428
|
}
|
|
19429
19429
|
observe(e) {
|
|
19430
|
-
if (this.destroyed || e.destroyed) return
|
|
19430
|
+
if (this.destroyed || e.destroyed) return xS;
|
|
19431
19431
|
this._observers == null && (this._observers = []);
|
|
19432
19432
|
const r = this._observers;
|
|
19433
19433
|
let n = !1, s = !1;
|
|
@@ -19464,7 +19464,7 @@ let Md = class {
|
|
|
19464
19464
|
}
|
|
19465
19465
|
}
|
|
19466
19466
|
};
|
|
19467
|
-
const
|
|
19467
|
+
const xS = Js();
|
|
19468
19468
|
let b2 = class extends SS {
|
|
19469
19469
|
constructor(e, r) {
|
|
19470
19470
|
super(), this.propertyName = e, this.metadata = r, this.trackingTarget = new Vc(this), this.flags = 0, this.flags = Xe.Dirty | (r.nonNullable ? Xe.NonNullable : 0) | (r.hasOwnProperty("value") ? Xe.HasDefaultValue : 0) | (r.get === void 0 ? Xe.DepTrackingInitialized : 0) | (r.dependsOn === void 0 ? Xe.AutoTracked : 0);
|
|
@@ -19543,7 +19543,7 @@ function Bh(t) {
|
|
|
19543
19543
|
return "user";
|
|
19544
19544
|
}
|
|
19545
19545
|
}
|
|
19546
|
-
function
|
|
19546
|
+
function NS(t) {
|
|
19547
19547
|
return Bh(t);
|
|
19548
19548
|
}
|
|
19549
19549
|
let ES = class c3 {
|
|
@@ -19788,11 +19788,11 @@ let OS = class extends Md {
|
|
|
19788
19788
|
this._set.delete(e), super._dispose(e);
|
|
19789
19789
|
}
|
|
19790
19790
|
};
|
|
19791
|
-
const
|
|
19791
|
+
const Nl = [];
|
|
19792
19792
|
function RS(t) {
|
|
19793
|
-
|
|
19794
|
-
const e =
|
|
19795
|
-
|
|
19793
|
+
Nl.push(t), Nl.length === 1 && queueMicrotask(() => {
|
|
19794
|
+
const e = Nl.slice();
|
|
19795
|
+
Nl.length = 0;
|
|
19796
19796
|
for (const r of e) r();
|
|
19797
19797
|
});
|
|
19798
19798
|
}
|
|
@@ -19988,7 +19988,7 @@ function JS(t, e, r) {
|
|
|
19988
19988
|
function QS(t, e, r, n = !1) {
|
|
19989
19989
|
return t.__accessor__ && t.__accessor__.lifecycle !== nr.DESTROYED ? n ? JS(t, e, r) : XS(t, e, r) : Js();
|
|
19990
19990
|
}
|
|
19991
|
-
var
|
|
19991
|
+
var x2, N2;
|
|
19992
19992
|
function KS(t) {
|
|
19993
19993
|
if (t == null) return { value: t };
|
|
19994
19994
|
if (Array.isArray(t)) return { type: [t[0]], value: null };
|
|
@@ -20010,7 +20010,7 @@ function KS(t) {
|
|
|
20010
20010
|
const pn = Symbol("Accessor-Handles"), wf = Symbol("Accessor-Initialized");
|
|
20011
20011
|
let Ms = class Gl {
|
|
20012
20012
|
static {
|
|
20013
|
-
|
|
20013
|
+
x2 = pn, N2 = wf;
|
|
20014
20014
|
}
|
|
20015
20015
|
static createSubclass(e = {}) {
|
|
20016
20016
|
if (Array.isArray(e)) throw new Error("Multi-inheritance unsupported since 4.16");
|
|
@@ -20052,7 +20052,7 @@ let Ms = class Gl {
|
|
|
20052
20052
|
return e instanceof Gl ? !e.__accessor__.mutable : Object.isFrozen(e);
|
|
20053
20053
|
}
|
|
20054
20054
|
constructor(...e) {
|
|
20055
|
-
if (this[
|
|
20055
|
+
if (this[x2] = null, this[N2] = !1, this.constructor === Gl) throw new Error("[accessor] cannot instantiate Accessor. This can be fixed by creating a subclass of Accessor");
|
|
20056
20056
|
const r = new TS(this);
|
|
20057
20057
|
Object.defineProperty(this, "__accessor__", { enumerable: !1, value: r }), e.length > 0 && (r.ctorArgs = this.normalizeCtorArgs?.apply(this, e) ?? e[0]);
|
|
20058
20058
|
}
|
|
@@ -20139,7 +20139,7 @@ let Ms = class Gl {
|
|
|
20139
20139
|
_set(e, r) {
|
|
20140
20140
|
return this.__accessor__.internalSet(e, r), this;
|
|
20141
20141
|
}
|
|
20142
|
-
},
|
|
20142
|
+
}, ex = class g3 {
|
|
20143
20143
|
constructor() {
|
|
20144
20144
|
this._values = /* @__PURE__ */ new Map(), this.multipleOriginsSupported = !1;
|
|
20145
20145
|
}
|
|
@@ -20167,7 +20167,7 @@ let Ms = class Gl {
|
|
|
20167
20167
|
const s = this._values.get(e);
|
|
20168
20168
|
if (s?.origin != null && s.origin > n) return;
|
|
20169
20169
|
}
|
|
20170
|
-
this._values.set(e, new
|
|
20170
|
+
this._values.set(e, new tx(r, n));
|
|
20171
20171
|
}
|
|
20172
20172
|
delete(e, r) {
|
|
20173
20173
|
(r = this._normalizeOrigin(r)) != null && this._values.get(e)?.origin !== r || this._values.delete(e);
|
|
@@ -20187,12 +20187,12 @@ let Ms = class Gl {
|
|
|
20187
20187
|
_normalizeOrigin(e) {
|
|
20188
20188
|
if (e != null) return e === 0 ? e : 7;
|
|
20189
20189
|
}
|
|
20190
|
-
},
|
|
20190
|
+
}, tx = class {
|
|
20191
20191
|
constructor(e, r) {
|
|
20192
20192
|
this.value = e, this.origin = r;
|
|
20193
20193
|
}
|
|
20194
20194
|
};
|
|
20195
|
-
function
|
|
20195
|
+
function rx(t, e, r) {
|
|
20196
20196
|
e.keys().forEach((s) => {
|
|
20197
20197
|
r.set(s, e.get(s), 0);
|
|
20198
20198
|
});
|
|
@@ -20201,7 +20201,7 @@ function rN(t, e, r) {
|
|
|
20201
20201
|
t.internalGet(s) && r.set(s, t.internalGet(s), 0);
|
|
20202
20202
|
});
|
|
20203
20203
|
}
|
|
20204
|
-
function
|
|
20204
|
+
function nx(t, e, r) {
|
|
20205
20205
|
if (!t?.read || t.read.enabled === !1 || !t.read.source) return !1;
|
|
20206
20206
|
const n = t.read.source;
|
|
20207
20207
|
if (typeof n == "string") {
|
|
@@ -20210,42 +20210,42 @@ function nN(t, e, r) {
|
|
|
20210
20210
|
if (s === e || s.includes(".") && s.startsWith(e) && u2(s, r)) return !0;
|
|
20211
20211
|
return !1;
|
|
20212
20212
|
}
|
|
20213
|
-
function
|
|
20213
|
+
function sx(t) {
|
|
20214
20214
|
return t && (!t.read || t.read.enabled !== !1 && !t.read.source);
|
|
20215
20215
|
}
|
|
20216
|
-
function
|
|
20217
|
-
let i =
|
|
20218
|
-
|
|
20219
|
-
for (const u of Object.getOwnPropertyNames(e)) i =
|
|
20216
|
+
function ix(t, e, r, n, s) {
|
|
20217
|
+
let i = Nc(e[r], s);
|
|
20218
|
+
sx(i) && (t[r] = !0);
|
|
20219
|
+
for (const u of Object.getOwnPropertyNames(e)) i = Nc(e[u], s), nx(i, r, n) && (t[u] = !0);
|
|
20220
20220
|
}
|
|
20221
|
-
function
|
|
20221
|
+
function ox(t, e, r, n) {
|
|
20222
20222
|
const s = r.metadata, i = Wv(s[e], n), u = i?.default;
|
|
20223
20223
|
if (u === void 0) return;
|
|
20224
20224
|
const l = typeof u == "function" ? u.call(t, e, n) : u;
|
|
20225
20225
|
l !== void 0 && r.set(e, l);
|
|
20226
20226
|
}
|
|
20227
|
-
const
|
|
20228
|
-
function
|
|
20227
|
+
const ax = { origin: "service" };
|
|
20228
|
+
function ux(t, e, r = ax) {
|
|
20229
20229
|
if (!e || typeof e != "object") return;
|
|
20230
20230
|
const n = oo(t), s = n.metadata, i = {};
|
|
20231
|
-
for (const u of Object.getOwnPropertyNames(e))
|
|
20231
|
+
for (const u of Object.getOwnPropertyNames(e)) ix(i, s, u, e, r);
|
|
20232
20232
|
n.setDefaultOrigin(r.origin);
|
|
20233
20233
|
for (const u of Object.getOwnPropertyNames(i)) {
|
|
20234
|
-
const l =
|
|
20234
|
+
const l = Nc(s[u], r).read, c = l?.source;
|
|
20235
20235
|
let p;
|
|
20236
20236
|
p = c && typeof c == "string" ? ao(e, c) : e[u], l?.reader && (p = l.reader.call(t, p, e, r)), p !== void 0 && n.set(u, p);
|
|
20237
20237
|
}
|
|
20238
20238
|
if (!r || !r.ignoreDefaults) {
|
|
20239
20239
|
n.setDefaultOrigin("defaults");
|
|
20240
|
-
for (const u of Object.getOwnPropertyNames(s)) i[u] ||
|
|
20240
|
+
for (const u of Object.getOwnPropertyNames(s)) i[u] || ox(t, u, n, r);
|
|
20241
20241
|
}
|
|
20242
20242
|
n.setDefaultOrigin("user");
|
|
20243
20243
|
}
|
|
20244
|
-
function
|
|
20244
|
+
function lx(t, e, r, n, s) {
|
|
20245
20245
|
const i = {};
|
|
20246
20246
|
return e.write?.writer?.call(t, n, i, r, s), i;
|
|
20247
20247
|
}
|
|
20248
|
-
function
|
|
20248
|
+
function cx(t, e, r, n, s, i) {
|
|
20249
20249
|
if (!n?.write) return !1;
|
|
20250
20250
|
const u = Gs(t, r);
|
|
20251
20251
|
if (!s && n.write.overridePolicy) {
|
|
@@ -20257,9 +20257,9 @@ function cN(t, e, r, n, s, i) {
|
|
|
20257
20257
|
const l = new uo("web-document-write:property-required", `Missing value for required property '${r}' on '${t.declaredClass}'`, { propertyName: r, target: t });
|
|
20258
20258
|
return l && i?.messages ? i.messages.push(l) : l && !i && Yt.getLogger("esri.core.accessorSupport.write").error(l.name, l.message), !1;
|
|
20259
20259
|
}
|
|
20260
|
-
return !(u === void 0 || u === null && !s.allowNull && !s.writerEnsuresNonNull || !s.alwaysWriteDefaults && (!e.store.multipleOriginsSupported || e.store.originOf(r) === 0) &&
|
|
20260
|
+
return !(u === void 0 || u === null && !s.allowNull && !s.writerEnsuresNonNull || !s.alwaysWriteDefaults && (!e.store.multipleOriginsSupported || e.store.originOf(r) === 0) && fx(t, r, i, n, u) || !s.ignoreOrigin && i?.origin && e.store.multipleOriginsSupported && e.store.originOf(r) < l3(i.origin));
|
|
20261
20261
|
}
|
|
20262
|
-
function
|
|
20262
|
+
function fx(t, e, r, n, s) {
|
|
20263
20263
|
const i = n.default;
|
|
20264
20264
|
if (i === void 0) return !1;
|
|
20265
20265
|
if (n.defaultEquals != null) return n.defaultEquals(s);
|
|
@@ -20272,47 +20272,47 @@ function fN(t, e, r, n, s) {
|
|
|
20272
20272
|
}
|
|
20273
20273
|
return i === s;
|
|
20274
20274
|
}
|
|
20275
|
-
function
|
|
20275
|
+
function hx(t, e, r) {
|
|
20276
20276
|
if (t && typeof t.toJSON == "function" && (!t.toJSON.isDefaultToJSON || !t.write)) return Vl(e, t.toJSON(r));
|
|
20277
20277
|
const n = oo(t), s = n.metadata;
|
|
20278
20278
|
for (const i in s) {
|
|
20279
20279
|
const u = Bv(s[i], r);
|
|
20280
|
-
if (!
|
|
20281
|
-
const l = Gs(t, i), c =
|
|
20282
|
-
Object.keys(c).length > 0 && (e = Vl(e, c), r?.resources?.pendingOperations?.length && r.resources.pendingOperations.push(Promise.all(r.resources.pendingOperations).then(() => Vl(e, c, () => "replace-arrays"))), r?.writtenProperties && r.writtenProperties.push({ target: t, propName: i, oldOrigin:
|
|
20280
|
+
if (!cx(t, n, i, u, void 0, r)) continue;
|
|
20281
|
+
const l = Gs(t, i), c = lx(t, u, u.write && typeof u.write.target == "string" ? u.write.target : i, l, r);
|
|
20282
|
+
Object.keys(c).length > 0 && (e = Vl(e, c), r?.resources?.pendingOperations?.length && r.resources.pendingOperations.push(Promise.all(r.resources.pendingOperations).then(() => Vl(e, c, () => "replace-arrays"))), r?.writtenProperties && r.writtenProperties.push({ target: t, propName: i, oldOrigin: NS(n.store.originOf(i)), newOrigin: r.origin }));
|
|
20283
20283
|
}
|
|
20284
20284
|
return e;
|
|
20285
20285
|
}
|
|
20286
|
-
const
|
|
20286
|
+
const dx = (t) => {
|
|
20287
20287
|
const e = t;
|
|
20288
20288
|
let r = class extends e {
|
|
20289
20289
|
constructor(...n) {
|
|
20290
20290
|
super(...n);
|
|
20291
|
-
const s = oo(this), i = s.store, u = new
|
|
20292
|
-
s.store = u,
|
|
20291
|
+
const s = oo(this), i = s.store, u = new ex();
|
|
20292
|
+
s.store = u, rx(s, i, u);
|
|
20293
20293
|
}
|
|
20294
20294
|
read(n, s) {
|
|
20295
|
-
|
|
20295
|
+
ux(this, n, s);
|
|
20296
20296
|
}
|
|
20297
20297
|
write(n, s) {
|
|
20298
|
-
return
|
|
20298
|
+
return hx(this, n ?? {}, s);
|
|
20299
20299
|
}
|
|
20300
20300
|
toJSON(n) {
|
|
20301
20301
|
return this.write({}, n);
|
|
20302
20302
|
}
|
|
20303
20303
|
static fromJSON(n, s) {
|
|
20304
|
-
return
|
|
20304
|
+
return mx.call(this, n, s);
|
|
20305
20305
|
}
|
|
20306
20306
|
};
|
|
20307
20307
|
return r = se([jc("esri.core.JSONSupport")], r), r.prototype.toJSON.isDefaultToJSON = !0, r;
|
|
20308
20308
|
};
|
|
20309
|
-
function
|
|
20309
|
+
function mx(t, e) {
|
|
20310
20310
|
if (!t) return null;
|
|
20311
20311
|
if (t.declaredClass) throw new Error("JSON object is already hydrated");
|
|
20312
20312
|
const r = new this();
|
|
20313
20313
|
return r.read(t, e), r;
|
|
20314
20314
|
}
|
|
20315
|
-
const _3 =
|
|
20315
|
+
const _3 = dx(Ms);
|
|
20316
20316
|
let Od = class {
|
|
20317
20317
|
constructor(e, r, n, s, i, u) {
|
|
20318
20318
|
this.semiMajorAxis = e, this.flattening = r, this.outerAtmosphereRimWidth = n, this.atmosphereHeight = s, this.scaleHeight = i;
|
|
@@ -20323,23 +20323,23 @@ let Od = class {
|
|
|
20323
20323
|
return this.semiMajorAxis;
|
|
20324
20324
|
}
|
|
20325
20325
|
};
|
|
20326
|
-
const Mn = new Od(6378137, 1 / 298.257223563, 3e5, 1e5, 0.085, 0.006694379990137799), y3 = new Od(3396190, 1 / 169.8944472236118, 23e4, 6e4, 0.111), b3 = new Od(1737400, 0, 0, 0, 0), w3 = cr.request, v3 = /^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i, S3 = /^\s*http:/i,
|
|
20327
|
-
let
|
|
20326
|
+
const Mn = new Od(6378137, 1 / 298.257223563, 3e5, 1e5, 0.085, 0.006694379990137799), y3 = new Od(3396190, 1 / 169.8944472236118, 23e4, 6e4, 0.111), b3 = new Od(1737400, 0, 0, 0, 0), w3 = cr.request, v3 = /^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i, S3 = /^\s*http:/i, px = /^\s*file:/i, gx = /:\d+$/, _x = /^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i, yx = new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"), bx = new RegExp("^((([^[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^[:]*))(:([0-9]+))?$");
|
|
20327
|
+
let x3 = class {
|
|
20328
20328
|
constructor(e = "") {
|
|
20329
20329
|
this.uri = e, this.scheme = null, this.authority = null, this.path = null, this.query = null, this.fragment = null, this.user = null, this.password = null, this.host = null, this.port = null;
|
|
20330
|
-
let r = this.uri.match(
|
|
20331
|
-
this.scheme = r[2] || (r[1] ? "" : null), this.authority = r[4] || (r[3] ? "" : null), this.path = r[5], this.query = r[7] || (r[6] ? "" : null), this.fragment = r[9] || (r[8] ? "" : null), this.authority != null && (r = this.authority.match(
|
|
20330
|
+
let r = this.uri.match(yx);
|
|
20331
|
+
this.scheme = r[2] || (r[1] ? "" : null), this.authority = r[4] || (r[3] ? "" : null), this.path = r[5], this.query = r[7] || (r[6] ? "" : null), this.fragment = r[9] || (r[8] ? "" : null), this.authority != null && (r = this.authority.match(bx), this.user = r[3] || null, this.password = r[4] || null, this.host = r[6] || r[7], this.port = r[9] || null);
|
|
20332
20332
|
}
|
|
20333
20333
|
toString() {
|
|
20334
20334
|
return this.uri;
|
|
20335
20335
|
}
|
|
20336
20336
|
};
|
|
20337
|
-
const
|
|
20338
|
-
let sr =
|
|
20339
|
-
const
|
|
20340
|
-
let
|
|
20341
|
-
const
|
|
20342
|
-
function
|
|
20337
|
+
const wx = new x3(cr.applicationUrl);
|
|
20338
|
+
let sr = wx;
|
|
20339
|
+
const vx = xx();
|
|
20340
|
+
let N3 = vx;
|
|
20341
|
+
const Sx = () => sr;
|
|
20342
|
+
function xx() {
|
|
20343
20343
|
const t = sr.path, e = t.slice(0, t.lastIndexOf("/") + 1);
|
|
20344
20344
|
return `${`${sr.scheme}://${sr.host}${sr.port != null ? `:${sr.port}` : ""}`}${e}`;
|
|
20345
20345
|
}
|
|
@@ -20348,22 +20348,22 @@ function E3(t) {
|
|
|
20348
20348
|
const e = t.indexOf("?");
|
|
20349
20349
|
return e !== -1 ? (Mi.path = t.slice(0, e), Mi.query = t.slice(e + 1)) : (Mi.path = t, Mi.query = null), Mi;
|
|
20350
20350
|
}
|
|
20351
|
-
function
|
|
20352
|
-
return t = (t = M3(t =
|
|
20351
|
+
function Nx(t) {
|
|
20352
|
+
return t = (t = M3(t = Cx(t = E3(t).path), !0)).toLowerCase();
|
|
20353
20353
|
}
|
|
20354
|
-
function
|
|
20355
|
-
const e = w3.proxyRules, r =
|
|
20354
|
+
function Ex(t) {
|
|
20355
|
+
const e = w3.proxyRules, r = Nx(t);
|
|
20356
20356
|
for (let n = 0; n < e.length; n++) if (r.startsWith(e[n].urlPrefix)) return e[n];
|
|
20357
20357
|
}
|
|
20358
|
-
function
|
|
20358
|
+
function Tx(t, e, r = !1) {
|
|
20359
20359
|
if (!t || !e) return !1;
|
|
20360
20360
|
const n = T2(t), s = T2(e);
|
|
20361
20361
|
return !(!r && n.scheme !== s.scheme) && n.host != null && s.host != null && n.host.toLowerCase() === s.host.toLowerCase() && n.port === s.port;
|
|
20362
20362
|
}
|
|
20363
|
-
function Wc(t, e =
|
|
20364
|
-
return Ks(t) ? r?.preserveProtocolRelative ? t : sr.scheme === "http" && sr.authority ===
|
|
20363
|
+
function Wc(t, e = N3, r) {
|
|
20364
|
+
return Ks(t) ? r?.preserveProtocolRelative ? t : sr.scheme === "http" && sr.authority === Px(t).slice(2) ? `http:${t}` : `https:${t}` : A3(t) ? t : P3(t.startsWith("/") ? Ix(e) : e, t);
|
|
20365
20365
|
}
|
|
20366
|
-
function T3(t, e =
|
|
20366
|
+
function T3(t, e = N3, r) {
|
|
20367
20367
|
if (t == null || !ks(t)) return t;
|
|
20368
20368
|
const n = Wl(t), s = n.toLowerCase(), i = Wl(e).toLowerCase().replace(/\/+$/, ""), u = r ? Wl(r).toLowerCase().replace(/\/+$/, "") : null;
|
|
20369
20369
|
if (u && !i.startsWith(u)) return t;
|
|
@@ -20378,7 +20378,7 @@ function T3(t, e = x3, r) {
|
|
|
20378
20378
|
return t;
|
|
20379
20379
|
}
|
|
20380
20380
|
function Wl(t) {
|
|
20381
|
-
return t = $
|
|
20381
|
+
return t = $x(t = Dx(t = kx(t = Wc(t = t.trim()))));
|
|
20382
20382
|
}
|
|
20383
20383
|
function P3(...t) {
|
|
20384
20384
|
const e = t.filter(I4);
|
|
@@ -20386,7 +20386,7 @@ function P3(...t) {
|
|
|
20386
20386
|
const r = [];
|
|
20387
20387
|
if (ks(e[0])) {
|
|
20388
20388
|
const s = e[0], i = s.indexOf("//");
|
|
20389
|
-
i !== -1 && (r.push(s.slice(0, i + 1)),
|
|
20389
|
+
i !== -1 && (r.push(s.slice(0, i + 1)), Mx(e[0]) && (r[0] += "/"), e[0] = s.slice(i + 2));
|
|
20390
20390
|
} else e[0].startsWith("/") && r.push("");
|
|
20391
20391
|
const n = e.reduce((s, i) => i ? s.concat(i.split("/")) : s, []);
|
|
20392
20392
|
for (let s = 0; s < n.length; s++) {
|
|
@@ -20395,8 +20395,8 @@ function P3(...t) {
|
|
|
20395
20395
|
}
|
|
20396
20396
|
return r.join("/");
|
|
20397
20397
|
}
|
|
20398
|
-
function
|
|
20399
|
-
if (t == null ||
|
|
20398
|
+
function Px(t, e = !1) {
|
|
20399
|
+
if (t == null || Lx(t) || L3(t)) return null;
|
|
20400
20400
|
let r = t.indexOf("://");
|
|
20401
20401
|
if (r === -1 && Ks(t)) r = 2;
|
|
20402
20402
|
else {
|
|
@@ -20409,7 +20409,7 @@ function PN(t, e = !1) {
|
|
|
20409
20409
|
function ks(t) {
|
|
20410
20410
|
return Ks(t) || A3(t);
|
|
20411
20411
|
}
|
|
20412
|
-
function
|
|
20412
|
+
function Lx(t) {
|
|
20413
20413
|
return t != null && t.startsWith("blob:");
|
|
20414
20414
|
}
|
|
20415
20415
|
function L3(t) {
|
|
@@ -20421,16 +20421,16 @@ function Ks(t) {
|
|
|
20421
20421
|
function A3(t) {
|
|
20422
20422
|
return t != null && v3.test(t);
|
|
20423
20423
|
}
|
|
20424
|
-
function
|
|
20424
|
+
function Ax(t) {
|
|
20425
20425
|
return t != null && S3.test(t) || sr.scheme === "http" && Ks(t);
|
|
20426
20426
|
}
|
|
20427
|
-
function
|
|
20428
|
-
return t != null &&
|
|
20427
|
+
function Mx(t) {
|
|
20428
|
+
return t != null && px.test(t);
|
|
20429
20429
|
}
|
|
20430
|
-
function
|
|
20430
|
+
function Ox(t) {
|
|
20431
20431
|
return Ks(t) ? `https:${t}` : t.replace(S3, "https:");
|
|
20432
20432
|
}
|
|
20433
|
-
function
|
|
20433
|
+
function Rx() {
|
|
20434
20434
|
return sr.scheme === "http";
|
|
20435
20435
|
}
|
|
20436
20436
|
function E2() {
|
|
@@ -20439,33 +20439,33 @@ function E2() {
|
|
|
20439
20439
|
function M3(t, e = !1) {
|
|
20440
20440
|
return Ks(t) ? t.slice(2) : (t = t.replace(v3, ""), e && t.length > 1 && t.startsWith("/") && t[1] === "/" && (t = t.slice(2)), t);
|
|
20441
20441
|
}
|
|
20442
|
-
function
|
|
20442
|
+
function Ix(t) {
|
|
20443
20443
|
const e = t.indexOf("//"), r = t.indexOf("/", e + 2);
|
|
20444
20444
|
return r === -1 ? t : t.slice(0, r);
|
|
20445
20445
|
}
|
|
20446
|
-
function
|
|
20446
|
+
function Cx(t) {
|
|
20447
20447
|
return t.endsWith("/") ? t : `${t}/`;
|
|
20448
20448
|
}
|
|
20449
|
-
function
|
|
20449
|
+
function kx(t) {
|
|
20450
20450
|
if (/^https?:\/\//i.test(t)) {
|
|
20451
20451
|
const e = E3(t);
|
|
20452
20452
|
t = (t = e.path.replaceAll(/\/{2,}/g, "/")).replace("/", "//"), e.query && (t += `?${e.query}`);
|
|
20453
20453
|
}
|
|
20454
20454
|
return t;
|
|
20455
20455
|
}
|
|
20456
|
-
function
|
|
20456
|
+
function Dx(t) {
|
|
20457
20457
|
return t.replace(/^(https?:\/\/)(arcgis\.com)/i, "$1www.$2");
|
|
20458
20458
|
}
|
|
20459
|
-
function $
|
|
20459
|
+
function $x(t) {
|
|
20460
20460
|
const e = w3.httpsDomains;
|
|
20461
|
-
if (!
|
|
20461
|
+
if (!Ax(t)) return t;
|
|
20462
20462
|
const r = t.indexOf("/", 7);
|
|
20463
20463
|
let n;
|
|
20464
|
-
if (n = r === -1 ? t : t.slice(0, r), n = n.toLowerCase().slice(7),
|
|
20464
|
+
if (n = r === -1 ? t : t.slice(0, r), n = n.toLowerCase().slice(7), gx.test(n)) {
|
|
20465
20465
|
if (!n.endsWith(":80")) return t;
|
|
20466
20466
|
n = n.slice(0, -3), t = t.replace(":80", "");
|
|
20467
20467
|
}
|
|
20468
|
-
return
|
|
20468
|
+
return Rx() && n === sr.authority && !_x.test(t) || (E2() && n === sr.authority || e && e.some((s) => n === s || n.endsWith(`.${s}`)) || E2() && !Ex(t)) && (t = Ox(t)), t;
|
|
20469
20469
|
}
|
|
20470
20470
|
function Yh(t, e, r) {
|
|
20471
20471
|
if (!(e && r && t && ks(t))) return t;
|
|
@@ -20473,21 +20473,21 @@ function Yh(t, e, r) {
|
|
|
20473
20473
|
return t.slice(n + 2, u).toLowerCase() !== e.toLowerCase() ? t : `${t.slice(0, n + 2)}${r}${t.slice(u)}`;
|
|
20474
20474
|
}
|
|
20475
20475
|
function T2(t) {
|
|
20476
|
-
return typeof t == "string" ? new
|
|
20476
|
+
return typeof t == "string" ? new x3(Wc(t)) : (t.scheme || (t.scheme = sr.scheme), t);
|
|
20477
20477
|
}
|
|
20478
20478
|
function P2(t) {
|
|
20479
20479
|
if (t == null) return null;
|
|
20480
|
-
const e = t.match(
|
|
20480
|
+
const e = t.match(Fx);
|
|
20481
20481
|
return e ? { path: e[1], extension: e[2] } : { path: t, extension: null };
|
|
20482
20482
|
}
|
|
20483
|
-
const
|
|
20483
|
+
const Fx = /([^.]*)\.([^/]*)$/;
|
|
20484
20484
|
Symbol.dispose ??= Symbol("Symbol.dispose"), Symbol.asyncDispose ??= Symbol("Symbol.asyncDispose");
|
|
20485
20485
|
$("host-webworker") || globalThis.$arcgis || Object.defineProperty(globalThis, "$arcgis", { configurable: !1, enumerable: !0, writable: !1, value: {} }), $("host-webworker");
|
|
20486
20486
|
function O3(t, e) {
|
|
20487
20487
|
const r = e?.url?.path;
|
|
20488
20488
|
if (t && r && (t = Wc(t, r, { preserveProtocolRelative: !0 }), e.portalItem && e.readResourcePaths)) {
|
|
20489
20489
|
const n = T3(t, e.portalItem.itemUrl);
|
|
20490
|
-
n != null && n.startsWith(
|
|
20490
|
+
n != null && n.startsWith(zx) && e.readResourcePaths.push(e.portalItem.resourceFromPath(n).path);
|
|
20491
20491
|
}
|
|
20492
20492
|
return (t = Zh(t, e?.portal)) && Bc.test(t) ? C3(t) : t;
|
|
20493
20493
|
}
|
|
@@ -20504,18 +20504,18 @@ function R3(t, e, r = 0) {
|
|
|
20504
20504
|
}
|
|
20505
20505
|
return n = I3(n, e?.portal), ks(n) && (n = Wl(n)), e?.resources && e?.portalItem && !ks(n) && !L3(n) && r === 0 && e.resources.toKeep.push({ resource: e.portalItem.resourceFromPath(n), compress: !1 }), n;
|
|
20506
20506
|
}
|
|
20507
|
-
function
|
|
20507
|
+
function Ux(t, e, r) {
|
|
20508
20508
|
return O3(t, r);
|
|
20509
20509
|
}
|
|
20510
|
-
function
|
|
20510
|
+
function Vx(t, e, r, n) {
|
|
20511
20511
|
const s = R3(t, n);
|
|
20512
20512
|
s !== void 0 && (e[r] = s);
|
|
20513
20513
|
}
|
|
20514
|
-
const Bc = /\/items\/([^/]+)\/resources\/(.*)/,
|
|
20515
|
-
function
|
|
20514
|
+
const Bc = /\/items\/([^/]+)\/resources\/(.*)/, zx = "./resources/";
|
|
20515
|
+
function jx(t) {
|
|
20516
20516
|
return (t?.match(Bc) ?? null)?.[1] ?? null;
|
|
20517
20517
|
}
|
|
20518
|
-
function
|
|
20518
|
+
function Gx(t) {
|
|
20519
20519
|
const e = t?.match(Bc) ?? null;
|
|
20520
20520
|
if (e == null) return null;
|
|
20521
20521
|
const r = e[2], n = r.lastIndexOf("/");
|
|
@@ -20531,8 +20531,8 @@ function I3(t, e) {
|
|
|
20531
20531
|
}
|
|
20532
20532
|
function Zh(t, e) {
|
|
20533
20533
|
if (!e || e.isPortal || !e.urlKey || !e.customBaseUrl) return t;
|
|
20534
|
-
const r = `${e.urlKey}.${e.customBaseUrl}`, n =
|
|
20535
|
-
return
|
|
20534
|
+
const r = `${e.urlKey}.${e.customBaseUrl}`, n = Sx();
|
|
20535
|
+
return Tx(n, `${n.scheme}://${r}`) ? Yh(t, e.portalHostname, r) : Yh(t, r, e.portalHostname);
|
|
20536
20536
|
}
|
|
20537
20537
|
function C3(t) {
|
|
20538
20538
|
return t || t || null;
|
|
@@ -20542,26 +20542,26 @@ function k3(t) {
|
|
|
20542
20542
|
let e = t;
|
|
20543
20543
|
return e = e.replace(/^https?:\/\/cdn\.arcgis\.com/, "https://www.arcgis.com"), e = e.replace(/^https?:\/\/cdndev\.arcgis\.com/, "https://devext.arcgis.com"), e = e.replace(/^https?:\/\/cdnqa\.arcgis\.com/, "https://qaext.arcgis.com"), e;
|
|
20544
20544
|
}
|
|
20545
|
-
Object.freeze(Object.defineProperty({ __proto__: null, ensureMainOnlineDomain: I3, fromCDNUrl: k3, fromJSON: O3, itemIdFromResourceUrl:
|
|
20546
|
-
const
|
|
20545
|
+
Object.freeze(Object.defineProperty({ __proto__: null, ensureMainOnlineDomain: I3, fromCDNUrl: k3, fromJSON: O3, itemIdFromResourceUrl: jx, prefixAndFilenameFromResourceUrl: Gx, read: Ux, toCDNUrl: C3, toJSON: R3, write: Vx }, Symbol.toStringTag, { value: "Module" }));
|
|
20546
|
+
const Wx = { mapserver: "MapServer", imageserver: "ImageServer", featureserver: "FeatureServer", knowledgegraphserver: "KnowledgeGraphServer", sceneserver: "SceneServer", streamserver: "StreamServer", vectortileserver: "VectorTileServer", "3dtilesserver": "3DTilesServer", videoserver: "VideoServer" }, Xh = Object.values(Wx);
|
|
20547
20547
|
new RegExp(`^(?<path>(?:https?:)?\\/\\/\\S+?\\/rest\\/services\\/(?<serviceTitle>.+?)\\/(?<serverType>${Xh.join("|")})(?:\\/exts\\/(?<soeTitle>.+?)\\/(?<soeServerType>${Xh.join("|")}))?)(?:\\/(?:layers))?(?:\\/(?<sublayer>\\d+))?`, "i");
|
|
20548
20548
|
new RegExp(`^(?<path>(?:https?:)?\\/\\/\\S+?\\/(?<serviceTitle>[^/\\n]+)\\/(?<serverType>${Xh.join("|")}))(?:\\/(?:layers))?(?:\\/(?<sublayer>\\d+))?`, "i");
|
|
20549
20549
|
cr.request;
|
|
20550
|
-
function
|
|
20550
|
+
function Bx(t) {
|
|
20551
20551
|
if (!cr.assetsPath) throw Yt.getLogger("esri.assets").errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"), new uo("assets:path-not-set", "config.assetsPath is not set");
|
|
20552
20552
|
return P3(cr.assetsPath, t);
|
|
20553
20553
|
}
|
|
20554
20554
|
let vf, T = null;
|
|
20555
|
-
function
|
|
20555
|
+
function qx() {
|
|
20556
20556
|
return !!T;
|
|
20557
20557
|
}
|
|
20558
|
-
function
|
|
20558
|
+
function Hx() {
|
|
20559
20559
|
return !!$("esri-wasm");
|
|
20560
20560
|
}
|
|
20561
|
-
function
|
|
20561
|
+
function Yx() {
|
|
20562
20562
|
return vf || (vf = Promise.resolve().then(function() {
|
|
20563
20563
|
return PT;
|
|
20564
|
-
}).then(({ default: t }) => t({ locateFile: (e) =>
|
|
20564
|
+
}).then(({ default: t }) => t({ locateFile: (e) => Bx(`esri/geometry/support/${e}`) })).then((t) => {
|
|
20565
20565
|
z3(t);
|
|
20566
20566
|
}), vf);
|
|
20567
20567
|
}
|
|
@@ -20603,9 +20603,9 @@ const L2 = {}, A2 = {}, Sf = (t) => {
|
|
|
20603
20603
|
e & Be.PE_TYPE_UNIT && (t = T.castObject(t, T.PeUnit));
|
|
20604
20604
|
}
|
|
20605
20605
|
return t;
|
|
20606
|
-
},
|
|
20606
|
+
}, Ns = { initialize() {
|
|
20607
20607
|
T.PeFactory.prototype.initialize(null);
|
|
20608
|
-
}, coordsys: (t) =>
|
|
20608
|
+
}, coordsys: (t) => Ns.factoryByType(Be.PE_TYPE_COORDSYS, t), factoryByType(t, e) {
|
|
20609
20609
|
let r = null, n = L2[t];
|
|
20610
20610
|
if (n || (n = {}, L2[t] = n), n.hasOwnProperty(String(e)) && (r = n[e], T.compare(r, T.NULL) && (r = null)), !r) {
|
|
20611
20611
|
const s = T.PeFactory.prototype.factoryByType(t, e);
|
|
@@ -20629,7 +20629,7 @@ const L2 = {}, A2 = {}, Sf = (t) => {
|
|
|
20629
20629
|
T.compare(i, T.NULL) || (n = Sf(i), s[e] = n);
|
|
20630
20630
|
}
|
|
20631
20631
|
return n;
|
|
20632
|
-
}, geogcs: (t) =>
|
|
20632
|
+
}, geogcs: (t) => Ns.factoryByType(Be.PE_TYPE_GEOGCS, t), geogtran: (t) => Ns.factoryByType(Be.PE_TYPE_GEOGTRAN, t), getCode: (t) => T.PeFactory.prototype.getCode(t), projcs: (t) => Ns.factoryByType(Be.PE_TYPE_PROJCS, t), unit: (t) => Ns.factoryByType(Be.PE_TYPE_UNIT, t) };
|
|
20633
20633
|
let M2, $3 = null;
|
|
20634
20634
|
const Rd = { PE_GTLIST_OPTS_COMMON: 0, init() {
|
|
20635
20635
|
Rd.PE_GTLIST_OPTS_COMMON = T.PeGTlistExtended.prototype.PE_GTLIST_OPTS_COMMON, M2 = T._pe_getPeGTlistExtendedEntrySize();
|
|
@@ -20646,7 +20646,7 @@ const Rd = { PE_GTLIST_OPTS_COMMON: 0, init() {
|
|
|
20646
20646
|
T.destroy(l);
|
|
20647
20647
|
}
|
|
20648
20648
|
return u;
|
|
20649
|
-
} },
|
|
20649
|
+
} }, Zx = { destroy(t) {
|
|
20650
20650
|
if (t?.length) {
|
|
20651
20651
|
for (const e of t) Dr(e), e.getEntries().forEach((r) => {
|
|
20652
20652
|
Dr(r);
|
|
@@ -20659,14 +20659,14 @@ const Rd = { PE_GTLIST_OPTS_COMMON: 0, init() {
|
|
|
20659
20659
|
});
|
|
20660
20660
|
T.PeGTlistExtendedEntry.prototype.Delete(t[0]);
|
|
20661
20661
|
}
|
|
20662
|
-
} },
|
|
20662
|
+
} }, Xx = { geogToGeog(t, e, r, n, s) {
|
|
20663
20663
|
T.ensureCache.prepare();
|
|
20664
20664
|
const i = es(r), u = r === i, l = T.ensureFloat64(i);
|
|
20665
20665
|
let c = 0;
|
|
20666
20666
|
n && (c = T.ensureFloat64(n));
|
|
20667
20667
|
const p = T._pe_geog_to_geog(T.getPointer(t), e, l, c, s);
|
|
20668
20668
|
return p && On(r, e, l, u), p;
|
|
20669
|
-
} },
|
|
20669
|
+
} }, Jx = { geodesicCoordinate(t, e, r, n, s, i, u, l) {
|
|
20670
20670
|
T.PeLineType.prototype.geodesic_coordinate(t, e, r, n, s, i, u, l);
|
|
20671
20671
|
}, geodeticCoordinate(t, e, r, n, s, i, u, l, c) {
|
|
20672
20672
|
T.PeLineType.prototype.geodetic_coordinate(t, e, r, n, s, i, u, l, c);
|
|
@@ -20674,7 +20674,7 @@ const Rd = { PE_GTLIST_OPTS_COMMON: 0, init() {
|
|
|
20674
20674
|
T.PeLineType.prototype.geodetic_distance(t, e, r, n, s, i, u, l, c, p);
|
|
20675
20675
|
}, greatEllipticDistance(t, e, r, n, s, i, u, l, c) {
|
|
20676
20676
|
T.PeLineType.prototype.great_elliptic_distance(t, e, r, n, s, i, u, l, c);
|
|
20677
|
-
} },
|
|
20677
|
+
} }, Qx = { phiToEta: (t, e) => T.PeMath.prototype.phi_to_eta(t, e), etaToPhi: (t, e) => T.PeMath.prototype.eta_to_phi(t, e), phiToPhig: (t, e) => T.PeMath.prototype.phi_to_phig(t, e), q: (t, e, r) => T.PeMath.prototype.q(t, e, r), q90: (t, e) => T.PeMath.prototype.q90(t, e) }, xf = (t, e, r, n, s, i) => {
|
|
20678
20678
|
let u, l;
|
|
20679
20679
|
switch (T.ensureCache.prepare(), t) {
|
|
20680
20680
|
case "dd":
|
|
@@ -20691,7 +20691,7 @@ const Rd = { PE_GTLIST_OPTS_COMMON: 0, init() {
|
|
|
20691
20691
|
const p = es(n), _ = T.ensureFloat64(p), y = qc(r, l), v = u(c, r, _, s, T.ensureInt32(y));
|
|
20692
20692
|
if (v) for (let S = 0; S < r; S++) i[S] = T.UTF8ToString(y[S]);
|
|
20693
20693
|
return v;
|
|
20694
|
-
},
|
|
20694
|
+
}, Nf = (t, e, r, n, s) => {
|
|
20695
20695
|
let i;
|
|
20696
20696
|
switch (T.ensureCache.prepare(), t) {
|
|
20697
20697
|
case "dd":
|
|
@@ -20707,7 +20707,7 @@ const Rd = { PE_GTLIST_OPTS_COMMON: 0, init() {
|
|
|
20707
20707
|
e && (u = T.getPointer(e));
|
|
20708
20708
|
const l = n.map((y) => T.ensureString(y)), c = T.ensureInt32(l), p = T.ensureFloat64(new Array(2 * r)), _ = i(u, r, c, p);
|
|
20709
20709
|
return _ && On(s, r, p), _;
|
|
20710
|
-
},
|
|
20710
|
+
}, Kx = { geogToDms: (t, e, r, n, s) => xf("dms", t, e, r, n, s), dmsToGeog: (t, e, r, n) => Nf("dms", t, e, r, n), geogToDdm: (t, e, r, n, s) => xf("ddm", t, e, r, n, s), ddmToGeog: (t, e, r, n) => Nf("ddm", t, e, r, n), geogToDd: (t, e, r, n, s) => xf("dd", t, e, r, n, s), ddToGeog: (t, e, r, n) => Nf("dd", t, e, r, n) };
|
|
20711
20711
|
let F3 = class Es {
|
|
20712
20712
|
static init() {
|
|
20713
20713
|
Es.PE_MGRS_STYLE_NEW = T.PeNotationMgrs.prototype.PE_MGRS_STYLE_NEW, Es.PE_MGRS_STYLE_OLD = T.PeNotationMgrs.prototype.PE_MGRS_STYLE_OLD, Es.PE_MGRS_STYLE_AUTO = T.PeNotationMgrs.prototype.PE_MGRS_STYLE_AUTO, Es.PE_MGRS_180_ZONE_1_PLUS = T.PeNotationMgrs.prototype.PE_MGRS_180_ZONE_1_PLUS, Es.PE_MGRS_ADD_SPACES = T.PeNotationMgrs.prototype.PE_MGRS_ADD_SPACES;
|
|
@@ -20728,7 +20728,7 @@ let F3 = class Es {
|
|
|
20728
20728
|
return _ && On(i, r, p), _;
|
|
20729
20729
|
}
|
|
20730
20730
|
};
|
|
20731
|
-
const
|
|
20731
|
+
const eN = { geogToUsng(t, e, r, n, s, i, u) {
|
|
20732
20732
|
T.ensureCache.prepare();
|
|
20733
20733
|
let l = 0;
|
|
20734
20734
|
t && (l = T.getPointer(t));
|
|
@@ -20773,7 +20773,7 @@ let U3 = class ql {
|
|
|
20773
20773
|
return on.cache.has(e) && (s = on.cache.get(e), s[r] && (n = s[r])), n || (n = T.PePCSInfo.prototype.generate(e, r), s || (s = [], on.cache.set(e, s)), s[r] = n), n;
|
|
20774
20774
|
}
|
|
20775
20775
|
};
|
|
20776
|
-
const
|
|
20776
|
+
const tN = { versionString: () => T.PeVersion.prototype.version_string() };
|
|
20777
20777
|
function z3(t) {
|
|
20778
20778
|
function e(i, u, l) {
|
|
20779
20779
|
i[u] = l(i[u]);
|
|
@@ -20885,11 +20885,11 @@ function On(t, e, r, n = !1) {
|
|
|
20885
20885
|
}
|
|
20886
20886
|
Object.freeze(Object.defineProperty({ __proto__: null, PeCSTransformations: Bl, PeDefs: Be, get PeDouble() {
|
|
20887
20887
|
return D3;
|
|
20888
|
-
}, PeFactory:
|
|
20888
|
+
}, PeFactory: Ns, get PeGCSExtent() {
|
|
20889
20889
|
return $3;
|
|
20890
|
-
}, PeGTTransformations:
|
|
20890
|
+
}, PeGTTransformations: Xx, PeGTlistExtended: Rd, PeGTlistExtendedEntry: Zx, PeLineType: Jx, PeMath: Qx, PeNotationDms: Kx, PeNotationMgrs: F3, PeNotationUsng: eN, PeNotationUtm: U3, PePCSInfo: V3, PeVersion: tN, _init: z3, get _pe() {
|
|
20891
20891
|
return T;
|
|
20892
|
-
}, isLoaded:
|
|
20892
|
+
}, isLoaded: qx, isSupported: Hx, load: Yx }, Symbol.toStringTag, { value: "Module" }));
|
|
20893
20893
|
let o;
|
|
20894
20894
|
const w = { values: [1e-3, 1, 0.3048, 0.3048006096012192, 0.3047972654, 0.9143917962, 0.201166195164, 0.9143984146160287, 0.3047994715386762, 20.11676512155263, 20.11678249437587, 0.9143985307444408, 0.91439523, 0.3047997101815088, 20.1168, 20.116756, 5e4, 15e4], units: ["Millimeter", "Meter", "Foot", "Foot_US", "Foot_Clarke", "Yard_Clarke", "Link_Clarke", "Yard_Sears", "Foot_Sears", "Chain_Sears", "Chain_Benoit_1895_B", "Yard_Indian", "Yard_Indian_1937", "Foot_Gold_Coast", "Chain", "Chain_Sears_1922_Truncated", "50_Kilometers", "150_Kilometers"], 2066: 6, 2136: 13, 2155: 3, 2157: 1, 2158: 1, 2159: 13, 2160: 13, 2204: 3, 2219: 1, 2220: 1, 2254: 3, 2255: 3, 2256: 2, 2265: 2, 2266: 2, 2267: 3, 2268: 3, 2269: 2, 2270: 2, 2271: 3, 2272: 3, 2273: 2, 2294: 1, 2295: 1, 2314: 4, 2899: 3, 2900: 3, 2901: 2, 2909: 2, 2910: 2, 2911: 3, 2912: 3, 2913: 2, 2914: 2, 2992: 2, 2993: 1, 2994: 2, 3080: 2, 3089: 3, 3090: 1, 3091: 3, 3102: 3, 3141: 1, 3142: 1, 3167: 15, 3359: 3, 3360: 1, 3361: 2, 3362: 1, 3363: 3, 3364: 1, 3365: 3, 3366: 4, 3404: 3, 3405: 1, 3406: 1, 3407: 4, 3439: 1, 3440: 1, 3479: 2, 3480: 1, 3481: 2, 3482: 1, 3483: 2, 3484: 1, 3485: 3, 3486: 1, 3487: 3, 3488: 1, 3489: 1, 3490: 3, 3491: 1, 3492: 3, 3493: 1, 3494: 3, 3495: 1, 3496: 3, 3497: 1, 3498: 3, 3499: 1, 3500: 3, 3501: 1, 3502: 3, 3503: 1, 3504: 3, 3505: 1, 3506: 3, 3507: 1, 3508: 3, 3509: 1, 3510: 3, 3511: 1, 3512: 3, 3513: 1, 3514: 1, 3515: 3, 3516: 1, 3517: 3, 3518: 1, 3519: 3, 3520: 1, 3521: 3, 3522: 1, 3523: 3, 3524: 1, 3525: 3, 3526: 1, 3527: 3, 3528: 1, 3529: 3, 3530: 1, 3531: 3, 3532: 1, 3533: 3, 3534: 1, 3535: 3, 3536: 1, 3537: 3, 3538: 1, 3539: 3, 3540: 1, 3541: 3, 3542: 1, 3543: 3, 3544: 1, 3545: 3, 3546: 1, 3547: 3, 3548: 1, 3549: 3, 3550: 1, 3551: 3, 3552: 1, 3553: 3, 3582: 3, 3583: 1, 3584: 3, 3585: 1, 3586: 3, 3587: 1, 3588: 2, 3589: 1, 3590: 2, 3591: 1, 3592: 1, 3593: 2, 3598: 3, 3599: 1, 3600: 3, 3605: 2, 3606: 1, 3607: 1, 3608: 3, 3609: 1, 3610: 3, 3611: 1, 3612: 3, 3613: 1, 3614: 3, 3615: 1, 3616: 3, 3617: 1, 3618: 3, 3619: 1, 3620: 3, 3621: 1, 3622: 3, 3623: 1, 3624: 3, 3625: 1, 3626: 3, 3627: 1, 3628: 3, 3629: 1, 3630: 3, 3631: 1, 3632: 3, 3633: 1, 3634: 2, 3635: 1, 3636: 2, 3640: 3, 3641: 1, 3642: 3, 3643: 1, 3644: 2, 3645: 1, 3646: 2, 3647: 1, 3648: 2, 3649: 1, 3650: 3, 3651: 1, 3652: 3, 3653: 1, 3654: 3, 3655: 1, 3656: 2, 3657: 1, 3658: 3, 3659: 1, 3660: 3, 3661: 1, 3662: 3, 3663: 1, 3664: 3, 3668: 3, 3669: 1, 3670: 3, 3671: 1, 3672: 3, 3673: 1, 3674: 3, 3675: 1, 3676: 2, 3677: 3, 3678: 1, 3679: 2, 3680: 3, 3681: 1, 3682: 2, 3683: 3, 3684: 1, 3685: 1, 3686: 3, 3687: 1, 3688: 3, 3689: 1, 3690: 3, 3691: 1, 3692: 3, 3696: 3, 3697: 1, 3698: 3, 3699: 1, 3700: 3, 3793: 1, 3794: 1, 3812: 1, 3854: 1, 3857: 1, 3920: 1, 3978: 1, 3979: 1, 3991: 3, 3992: 3, 4026: 1, 4037: 1, 4038: 1, 4071: 1, 4082: 1, 4083: 1, 4087: 1, 4088: 1, 4217: 3, 4414: 1, 4415: 1, 4417: 1, 4434: 1, 4437: 1, 4438: 3, 4439: 3, 4462: 1, 4467: 1, 4471: 1, 4474: 1, 4559: 1, 4647: 1, 4822: 1, 4826: 1, 4839: 1, 5018: 1, 5041: 1, 5042: 1, 5048: 1, 5221: 1, 5223: 1, 5234: 1, 5235: 1, 5243: 1, 5247: 1, 5266: 1, 5316: 1, 5320: 1, 5321: 1, 5325: 1, 5337: 1, 5361: 1, 5362: 1, 5367: 1, 5382: 1, 5383: 1, 5396: 1, 5456: 1, 5457: 1, 5469: 1, 5472: 5, 5490: 1, 5513: 1, 5514: 1, 5523: 1, 5559: 1, 5588: 2, 5589: 4, 5596: 1, 5627: 1, 5629: 1, 5641: 1, 5643: 1, 5644: 1, 5646: 3, 5654: 3, 5655: 3, 5659: 1, 5700: 1, 5825: 1, 5836: 1, 5837: 1, 5839: 1, 5842: 1, 5844: 1, 5858: 1, 5879: 1, 5880: 1, 5887: 1, 5890: 1, 6128: 2, 6129: 2, 6141: 2, 6204: 1, 6210: 1, 6211: 1, 6307: 1, 6312: 1, 6316: 1, 6362: 1, 6391: 2, 6405: 2, 6406: 1, 6407: 2, 6408: 1, 6409: 2, 6410: 1, 6411: 3, 6412: 1, 6413: 3, 6414: 1, 6415: 1, 6416: 3, 6417: 1, 6418: 3, 6419: 1, 6420: 3, 6421: 1, 6422: 3, 6423: 1, 6424: 3, 6425: 1, 6426: 3, 6427: 1, 6428: 3, 6429: 1, 6430: 3, 6431: 1, 6432: 3, 6433: 1, 6434: 3, 6435: 1, 6436: 3, 6437: 1, 6438: 3, 6439: 1, 6440: 1, 6441: 3, 6442: 1, 6443: 3, 6444: 1, 6445: 3, 6446: 1, 6447: 3, 6448: 1, 6449: 3, 6450: 1, 6451: 3, 6452: 1, 6453: 3, 6454: 1, 6455: 3, 6456: 1, 6457: 3, 6458: 1, 6459: 3, 6460: 1, 6461: 3, 6462: 1, 6463: 3, 6464: 1, 6465: 3, 6466: 1, 6467: 3, 6468: 1, 6469: 3, 6470: 1, 6471: 3, 6472: 1, 6473: 3, 6474: 1, 6475: 3, 6476: 1, 6477: 3, 6478: 1, 6479: 3, 6484: 3, 6485: 1, 6486: 3, 6487: 1, 6488: 3, 6489: 1, 6490: 3, 6491: 1, 6492: 3, 6493: 1, 6494: 2, 6495: 1, 6496: 2, 6497: 1, 6498: 1, 6499: 2, 6500: 1, 6501: 3, 6502: 1, 6503: 3, 6504: 1, 6505: 3, 6506: 1, 6507: 3, 6508: 1, 6509: 1, 6510: 3, 6515: 2, 6516: 1, 6518: 1, 6519: 3, 6520: 1, 6521: 3, 6522: 1, 6523: 3, 6524: 1, 6525: 3, 6526: 1, 6527: 3, 6528: 1, 6529: 3, 6530: 1, 6531: 3, 6532: 1, 6533: 3, 6534: 1, 6535: 3, 6536: 1, 6537: 3, 6538: 1, 6539: 3, 6540: 1, 6541: 3, 6542: 1, 6543: 3, 6544: 1, 6545: 2, 6546: 1, 6547: 2, 6548: 1, 6549: 3, 6550: 1, 6551: 3, 6552: 1, 6553: 3, 6554: 1, 6555: 3, 6556: 1, 6557: 2, 6558: 1, 6559: 2, 6560: 1, 6561: 2, 6562: 1, 6563: 3, 6564: 1, 6565: 3, 6566: 1, 6567: 1, 6568: 3, 6569: 1, 6570: 2, 6571: 1, 6572: 3, 6573: 1, 6574: 3, 6575: 1, 6576: 3, 6577: 1, 6578: 3, 6582: 3, 6583: 1, 6584: 3, 6585: 1, 6586: 3, 6587: 1, 6588: 3, 6589: 1, 6590: 3, 6591: 1, 6592: 1, 6593: 3, 6594: 1, 6595: 3, 6596: 1, 6597: 3, 6598: 1, 6599: 3, 6600: 1, 6601: 3, 6602: 1, 6603: 3, 6605: 3, 6606: 1, 6607: 3, 6608: 1, 6609: 3, 6610: 1, 6611: 1, 6612: 3, 6613: 1, 6614: 3, 6615: 1, 6616: 3, 6617: 1, 6618: 3, 6633: 3, 6646: 1, 6703: 1, 6784: 1, 6785: 2, 6786: 1, 6787: 2, 6788: 1, 6789: 2, 6790: 1, 6791: 2, 6792: 1, 6793: 2, 6794: 1, 6795: 2, 6796: 1, 6797: 2, 6798: 1, 6799: 2, 6800: 1, 6801: 2, 6802: 1, 6803: 2, 6804: 1, 6805: 2, 6806: 1, 6807: 2, 6808: 1, 6809: 2, 6810: 1, 6811: 2, 6812: 1, 6813: 2, 6814: 1, 6815: 2, 6816: 1, 6817: 2, 6818: 1, 6819: 2, 6820: 1, 6821: 2, 6822: 1, 6823: 2, 6824: 1, 6825: 2, 6826: 1, 6827: 2, 6828: 1, 6829: 2, 6830: 1, 6831: 2, 6832: 1, 6833: 2, 6834: 1, 6835: 2, 6836: 1, 6837: 2, 6838: 1, 6839: 2, 6840: 1, 6841: 2, 6842: 1, 6843: 2, 6844: 1, 6845: 2, 6846: 1, 6847: 2, 6848: 1, 6849: 2, 6850: 1, 6851: 2, 6852: 1, 6853: 2, 6854: 1, 6855: 2, 6856: 1, 6857: 2, 6858: 1, 6859: 2, 6860: 1, 6861: 2, 6862: 1, 6863: 2, 6867: 1, 6868: 2, 6870: 1, 6875: 1, 6876: 1, 6879: 1, 6880: 3, 6884: 1, 6885: 2, 6886: 1, 6887: 2, 6915: 1, 6922: 1, 6923: 3, 6924: 1, 6925: 3, 6962: 1, 6984: 1, 6991: 1, 7128: 3, 7131: 1, 7132: 3, 7142: 1, 7257: 1, 7258: 3, 7259: 1, 7260: 3, 7261: 1, 7262: 3, 7263: 1, 7264: 3, 7265: 1, 7266: 3, 7267: 1, 7268: 3, 7269: 1, 7270: 3, 7271: 1, 7272: 3, 7273: 1, 7274: 3, 7275: 1, 7276: 3, 7277: 1, 7278: 3, 7279: 1, 7280: 3, 7281: 1, 7282: 3, 7283: 1, 7284: 3, 7285: 1, 7286: 3, 7287: 1, 7288: 3, 7289: 1, 7290: 3, 7291: 1, 7292: 3, 7293: 1, 7294: 3, 7295: 1, 7296: 3, 7297: 1, 7298: 3, 7299: 1, 7300: 3, 7301: 1, 7302: 3, 7303: 1, 7304: 3, 7305: 1, 7306: 3, 7307: 1, 7308: 3, 7309: 1, 7310: 3, 7311: 1, 7312: 3, 7313: 1, 7314: 3, 7315: 1, 7316: 3, 7317: 1, 7318: 3, 7319: 1, 7320: 3, 7321: 1, 7322: 3, 7323: 1, 7324: 3, 7325: 1, 7326: 3, 7327: 1, 7328: 3, 7329: 1, 7330: 3, 7331: 1, 7332: 3, 7333: 1, 7334: 3, 7335: 1, 7336: 3, 7337: 1, 7338: 3, 7339: 1, 7340: 3, 7341: 1, 7342: 3, 7343: 1, 7344: 3, 7345: 1, 7346: 3, 7347: 1, 7348: 3, 7349: 1, 7350: 3, 7351: 1, 7352: 3, 7353: 1, 7354: 3, 7355: 1, 7356: 3, 7357: 1, 7358: 3, 7359: 1, 7360: 3, 7361: 1, 7362: 3, 7363: 1, 7364: 3, 7365: 1, 7366: 3, 7367: 1, 7368: 3, 7369: 1, 7370: 3, 7877: 1, 7878: 1, 7882: 1, 7883: 1, 7887: 1, 7899: 1, 7991: 1, 7992: 1, 8035: 3, 8036: 3, 8058: 1, 8059: 1, 8082: 1, 8083: 1, 8088: 1, 8090: 1, 8091: 3, 8092: 1, 8093: 3, 8095: 1, 8096: 3, 8097: 1, 8098: 3, 8099: 1, 8100: 3, 8101: 1, 8102: 3, 8103: 1, 8104: 3, 8105: 1, 8106: 3, 8107: 1, 8108: 3, 8109: 1, 8110: 3, 8111: 1, 8112: 3, 8113: 1, 8114: 3, 8115: 1, 8116: 3, 8117: 1, 8118: 3, 8119: 1, 8120: 3, 8121: 1, 8122: 3, 8123: 1, 8124: 3, 8125: 1, 8126: 3, 8127: 1, 8128: 3, 8129: 1, 8130: 3, 8131: 1, 8132: 3, 8133: 1, 8134: 3, 8135: 1, 8136: 3, 8137: 1, 8138: 3, 8139: 1, 8140: 3, 8141: 1, 8142: 3, 8143: 1, 8144: 3, 8145: 1, 8146: 3, 8147: 1, 8148: 3, 8149: 1, 8150: 3, 8151: 1, 8152: 3, 8153: 1, 8154: 3, 8155: 1, 8156: 3, 8157: 1, 8158: 3, 8159: 1, 8160: 3, 8161: 1, 8162: 3, 8163: 1, 8164: 3, 8165: 1, 8166: 3, 8167: 1, 8168: 3, 8169: 1, 8170: 3, 8171: 1, 8172: 3, 8173: 1, 8177: 3, 8179: 1, 8180: 3, 8181: 1, 8182: 3, 8184: 1, 8185: 3, 8187: 1, 8189: 3, 8191: 1, 8193: 3, 8196: 1, 8197: 3, 8198: 1, 8200: 3, 8201: 1, 8202: 3, 8203: 1, 8204: 3, 8205: 1, 8206: 3, 8207: 1, 8208: 3, 8209: 1, 8210: 3, 8212: 1, 8213: 3, 8214: 1, 8216: 3, 8218: 1, 8220: 3, 8222: 1, 8224: 3, 8225: 1, 8226: 3, 8311: 1, 8312: 2, 8313: 1, 8314: 2, 8315: 1, 8316: 2, 8317: 1, 8318: 2, 8319: 1, 8320: 2, 8321: 1, 8322: 2, 8323: 1, 8324: 2, 8325: 1, 8326: 2, 8327: 1, 8328: 2, 8329: 1, 8330: 2, 8331: 1, 8332: 2, 8333: 1, 8334: 2, 8335: 1, 8336: 2, 8337: 1, 8338: 2, 8339: 1, 8340: 2, 8341: 1, 8342: 2, 8343: 1, 8344: 2, 8345: 1, 8346: 2, 8347: 1, 8348: 2, 8352: 1, 8353: 1, 8379: 1, 8380: 3, 8381: 1, 8382: 3, 8383: 1, 8384: 3, 8385: 1, 8387: 3, 8391: 1, 8395: 1, 8433: 1, 8441: 1, 8455: 1, 8456: 1, 8531: 3, 8682: 1, 8686: 1, 8687: 1, 8692: 1, 8693: 1, 8826: 1, 8903: 1, 8950: 1, 8951: 1, 9039: 1, 9040: 1, 9141: 1, 9149: 1, 9150: 1, 9191: 1, 9221: 1, 9222: 1, 9249: 1, 9250: 1, 9252: 1, 9254: 1, 9265: 1, 9284: 1, 9285: 1, 9300: 1, 9354: 1, 9367: 1, 9373: 1, 9377: 1, 9387: 1, 9391: 1, 9456: 1, 9473: 1, 9498: 1, 9674: 1, 9678: 1, 9680: 1, 9709: 1, 9712: 1, 9713: 1, 9716: 1, 9741: 1, 9748: 3, 9749: 3, 9761: 1, 9766: 1, 9793: 1, 9794: 1, 9869: 1, 9874: 1, 9875: 1, 9880: 1, 9895: 1, 9943: 1, 9945: 1, 9947: 1, 9967: 1, 9972: 1, 9977: 1, 10160: 1, 10183: 1, 10188: 1, 10194: 1, 10199: 1, 10207: 1, 10212: 1, 10217: 1, 10222: 1, 10227: 1, 10235: 1, 10240: 1, 10250: 1, 10254: 1, 10270: 1, 10275: 1, 10280: 1, 10306: 1, 10329: 1, 10471: 1, 10477: 1, 10481: 3, 10516: 3, 10592: 1, 10594: 1, 10596: 1, 10598: 1, 10601: 1, 10603: 1, 10626: 1, 10632: 1, 10641: 1, 10665: 1, 10674: 1, 10699: 1, 10702: 1, 10744: 1, 10745: 1, 10759: 1, 10773: 1, 10801: 1, 10802: 1, 10820: 1, 10833: 1, 10836: 1, 10837: 1, 10851: 1, 10857: 1, 10863: 1, 10899: 1, 10917: 1, 20002: 1, 20042: 1, 20050: 2, 20499: 1, 20538: 1, 20539: 1, 20790: 1, 20791: 1, 21291: 1, 21292: 1, 21500: 1, 21817: 1, 21818: 1, 22032: 1, 22033: 1, 22091: 1, 22092: 1, 22239: 1, 22240: 1, 22332: 1, 22337: 1, 22338: 1, 22391: 1, 22392: 1, 22639: 1, 22700: 1, 22739: 1, 22770: 1, 22780: 1, 22832: 1, 23090: 1, 23095: 1, 23239: 1, 23240: 1, 23433: 1, 23700: 1, 24047: 1, 24048: 1, 24100: 4, 24200: 1, 24305: 1, 24306: 1, 24382: 11, 24383: 1, 24500: 1, 24547: 1, 24548: 1, 24571: 10, 24600: 1, 25e3: 1, 25231: 1, 25884: 1, 25932: 1, 26237: 1, 26331: 1, 26332: 1, 26432: 1, 26591: 1, 26592: 1, 26632: 1, 26692: 1, 27120: 1, 27200: 1, 27291: 7, 27292: 7, 27429: 1, 27492: 1, 27493: 1, 27500: 1, 28232: 1, 28600: 1, 28991: 1, 28992: 1, 29100: 1, 29101: 1, 29220: 1, 29221: 1, 29333: 1, 29635: 1, 29636: 1, 29701: 1, 29738: 1, 29739: 1, 29849: 1, 29850: 1, 29871: 9, 29872: 8, 29873: 1, 29874: 1, 30200: 6, 30339: 1, 30340: 1, 30591: 1, 30592: 1, 30791: 1, 30792: 1, 30800: 1, 31028: 1, 31121: 1, 31154: 1, 31170: 1, 31171: 1, 31370: 1, 31528: 1, 31529: 1, 31600: 1, 31700: 1, 31838: 1, 31839: 1, 31900: 1, 31901: 1, 32061: 1, 32062: 1, 32098: 1, 32099: 3, 32100: 1, 32104: 1, 32161: 1, 32766: 1, 53048: 1, 53049: 1, 65061: 3, 65062: 3, 102041: 3, 102064: 12, 102068: 16, 102069: 17, 102118: 3, 102119: 2, 102120: 3, 102121: 3, 102217: 3, 102218: 1, 102219: 3, 102220: 3, 102378: 2, 102379: 2, 102380: 1, 102381: 2, 102589: 3, 102599: 3, 102600: 3, 102604: 3, 102647: 1, 102704: 3, 102705: 3, 102706: 1, 102731: 1, 102732: 1, 102759: 2, 102760: 2, 102761: 3, 102762: 1, 102763: 3, 102764: 1, 102765: 1, 102766: 3, 102970: 2, 102974: 3, 102993: 1, 102994: 1, 102995: 3, 102996: 3, 103015: 1, 103016: 3, 103017: 1, 103018: 3, 103025: 1, 103026: 1, 103027: 3, 103028: 3, 103035: 1, 103036: 1, 103037: 3, 103038: 3, 103039: 1, 103040: 1, 103041: 3, 103042: 3, 103043: 1, 103044: 1, 103045: 3, 103046: 3, 103047: 1, 103048: 1, 103049: 3, 103050: 3, 103051: 1, 103052: 3, 103053: 1, 103054: 3, 103055: 1, 103056: 3, 103057: 1, 103058: 1, 103059: 3, 103060: 3, 103061: 1, 103062: 1, 103063: 3, 103064: 3, 103069: 3, 103070: 1, 103071: 1, 103072: 3, 103073: 3, 103086: 1, 103087: 1, 103088: 3, 103089: 3, 103094: 2, 103095: 1, 103096: 3, 103103: 1, 103104: 3, 103105: 1, 103106: 3, 103121: 1, 103122: 3, 103123: 1, 103124: 1, 103125: 2, 103126: 2, 103127: 1, 103128: 1, 103129: 3, 103130: 3, 103131: 1, 103132: 1, 103133: 3, 103134: 3, 103135: 1, 103136: 1, 103137: 2, 103138: 2, 103139: 1, 103140: 3, 103141: 1, 103142: 3, 103143: 1, 103144: 3, 103145: 1, 103146: 2, 103147: 1, 103148: 1, 103149: 3, 103150: 3, 103151: 1, 103152: 3, 103172: 1, 103173: 3, 103174: 1, 103175: 1, 103176: 3, 103177: 3, 103178: 1, 103179: 1, 103180: 3, 103181: 3, 103182: 1, 103183: 1, 103184: 3, 103185: 3, 103228: 1, 103229: 1, 103230: 3, 103231: 3, 103250: 1, 103251: 3, 103252: 1, 103253: 3, 103260: 1, 103261: 1, 103262: 3, 103263: 3, 103270: 1, 103271: 1, 103272: 3, 103273: 3, 103274: 1, 103275: 1, 103276: 3, 103277: 3, 103278: 1, 103279: 1, 103280: 3, 103281: 3, 103282: 1, 103283: 1, 103284: 3, 103285: 3, 103286: 1, 103287: 3, 103288: 1, 103289: 3, 103290: 1, 103291: 3, 103292: 1, 103293: 1, 103294: 3, 103295: 3, 103296: 1, 103297: 1, 103298: 3, 103299: 3, 103376: 3, 103377: 1, 103378: 1, 103379: 3, 103380: 3, 103393: 1, 103394: 1, 103395: 3, 103396: 3, 103472: 1, 103473: 2, 103474: 1, 103475: 3, 103482: 1, 103483: 3, 103484: 1, 103485: 3, 103500: 1, 103501: 3, 103502: 1, 103503: 1, 103504: 2, 103505: 2, 103506: 1, 103507: 1, 103508: 3, 103509: 3, 103510: 1, 103511: 1, 103512: 3, 103513: 3, 103514: 1, 103515: 3, 103516: 1, 103517: 3, 103518: 1, 103519: 3, 103520: 1, 103521: 2, 103522: 1, 103523: 1, 103524: 3, 103525: 3, 103526: 1, 103527: 3, 103561: 3, 103562: 3, 103563: 1, 103564: 1, 103565: 3, 103566: 3, 103567: 1, 103568: 1, 103569: 3, 103570: 3, 103584: 1, 103585: 3, 103586: 1, 103587: 3, 103588: 2, 103589: 1, 103590: 3, 103591: 2, 103592: 1, 103593: 3, 103594: 2, 103695: 3, 103897: 2, 103898: 1, 103899: 1, 103978: 3, 103979: 1, 103980: 3, 103981: 1, 103982: 3, 103986: 3, 103987: 3, 103988: 1, 103989: 0, 103991: 1, 112111: 1 };
|
|
20895
20895
|
for (o = 2e3; o <= 2045; o++) w[o] = 1;
|
|
@@ -21310,7 +21310,7 @@ for (o = 112e3; o <= 112101; o++) w[o] = 1;
|
|
|
21310
21310
|
for (o = 112151; o <= 112156; o++) w[o] = 1;
|
|
21311
21311
|
for (o = 112201; o <= 112210; o++) w[o] = 1;
|
|
21312
21312
|
for (o = 112212; o <= 112235; o++) w[o] = 1;
|
|
21313
|
-
const j3 = [102100, 102113, 3857, 3785, 900913],
|
|
21313
|
+
const j3 = [102100, 102113, 3857, 3785, 900913], rN = [104905, 104971], nN = [104903], sN = [4326, ...j3, ...rN, ...nN], Qi = [-20037508342788905e-9, 20037508342788905e-9], Jh = [-20037508342787e-6, 20037508342787e-6], Ef = { wkTemplate: 'PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]', valid: Qi, origin: Jh, dx: 1e-5 }, G3 = { 102113: { wkTemplate: 'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]', valid: Qi, origin: Jh, dx: 1e-5 }, 102100: Ef, 3785: { wkTemplate: 'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]', valid: Qi, origin: Jh, dx: 1e-5 }, 3857: Ef, 4326: { wkTemplate: 'GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",{Central_Meridian}],UNIT["Degree",0.0174532925199433]]', altTemplate: 'PROJCS["WGS_1984_Plate_Carree",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Plate_Carree"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],UNIT["Degrees",111319.491]]', valid: [-180, 180], origin: [-180, 90], dx: 1e-5 }, 104971: { wkTemplate: 'GEOGCS["Mars_2000_(Sphere)",DATUM["Mars_2000_(Sphere)",SPHEROID["Mars_2000_(Sphere)",3396190.0,0.0]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]', valid: [-180, 180], origin: [-180, 90], dx: 1e-5 }, 104905: { wkTemplate: 'GEOGCS["GCS_Mars_2000",DATUM["D_Mars_2000",SPHEROID["Mars_2000_IAU_IAG",3396190.0,169.8944472236118]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]', valid: [-180, 180], origin: [-180, 90], dx: 1e-5 }, 900913: Ef, 104903: { wkTemplate: 'GEOGCS["GCS_Moon_2000",DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400,0,AUTHORITY["ESRI","107903"]],AUTHORITY["ESRI","106903"]],PRIMEM["Reference_Meridian",0,AUTHORITY["ESRI","108900"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["ESRI","104903"]]', valid: [-180, 180], origin: [-180, 90], dx: 1e-5 } };
|
|
21314
21314
|
function Id(t, e) {
|
|
21315
21315
|
if (t === e) return !0;
|
|
21316
21316
|
if (t == null || e == null) return !1;
|
|
@@ -21330,7 +21330,7 @@ function Hl(t) {
|
|
|
21330
21330
|
return e != null && e >= 2e3 && G3[e] || null;
|
|
21331
21331
|
}
|
|
21332
21332
|
function W3(t) {
|
|
21333
|
-
if (!
|
|
21333
|
+
if (!uN(t)) return !1;
|
|
21334
21334
|
const { wkid: e } = t;
|
|
21335
21335
|
if (e) return w[e] == null;
|
|
21336
21336
|
const r = t.wkt2 || t.wkt;
|
|
@@ -21343,22 +21343,22 @@ function Bs(t) {
|
|
|
21343
21343
|
const e = t?.wkid;
|
|
21344
21344
|
return e != null && e >= 2e3 && j3.includes(e);
|
|
21345
21345
|
}
|
|
21346
|
-
function
|
|
21346
|
+
function iN(t) {
|
|
21347
21347
|
return t === 104971 || t === 104905;
|
|
21348
21348
|
}
|
|
21349
|
-
function
|
|
21349
|
+
function oN(t) {
|
|
21350
21350
|
return t === 104903;
|
|
21351
21351
|
}
|
|
21352
|
-
function
|
|
21352
|
+
function aN(t) {
|
|
21353
21353
|
const e = t?.wkid;
|
|
21354
|
-
return e != null && e >= 2e3 &&
|
|
21354
|
+
return e != null && e >= 2e3 && sN.includes(e);
|
|
21355
21355
|
}
|
|
21356
|
-
function
|
|
21356
|
+
function uN(t) {
|
|
21357
21357
|
if (t == null) return !1;
|
|
21358
21358
|
const e = t.wkid;
|
|
21359
21359
|
return e != null && e >= 2e3 || t.wkt2 != null || t.wkt != null;
|
|
21360
21360
|
}
|
|
21361
|
-
const B3 = { wkid: 4326, wkt: $c(G3[4326].wkTemplate, { Central_Meridian: "0.0" }) }, q3 = { wkid: 102100, latestWkid: 3857 },
|
|
21361
|
+
const B3 = { wkid: 4326, wkt: $c(G3[4326].wkTemplate, { Central_Meridian: "0.0" }) }, q3 = { wkid: 102100, latestWkid: 3857 }, lN = { wkid: 32662 };
|
|
21362
21362
|
function Cd(t) {
|
|
21363
21363
|
return { wkt: `GEOCCS["Spherical geocentric",
|
|
21364
21364
|
DATUM["Not specified",
|
|
@@ -21375,25 +21375,25 @@ Cd(Mn);
|
|
|
21375
21375
|
Cd(y3);
|
|
21376
21376
|
Cd(b3);
|
|
21377
21377
|
`${Mn.radius}`;
|
|
21378
|
-
const
|
|
21378
|
+
const cN = Mn.radius * Math.PI / 200, H3 = /(?:LENGTH)?UNIT\[([^\]]+)]]$/i, qs = w, Y3 = /UNIT\[([^\]]+)]/i, fN = /* @__PURE__ */ new Set([4305, 4807, 4810, 4811, 4812, 4816, 4819, 4821, 4901, 4902, 37225, 104025, 104026, 104139, 104140]), hN = Gc()({ millimeter: "millimeters", centimeter: "centimeters", meter: "meters", meter_german: "german-meters", kilometer: "kilometers", decimeter: "decimeters", micrometer: "micrometers", nanometer: "nanometers", "50_kilometers": "50-kilometers", "150_kilometers": "150-kilometers", foot: "feet", foot_us: "us-feet", foot_clarke: "clarke-feet", fathom: "fathoms", nautical_mile: "nautical-miles", chain_us: "us-chains", link_us: "us-links", mile_us: "us-miles", yard_clarke: "clarke-yards", chain_clarke: "clarke-chains", link_clarke: "clarke-links", yard_sears: "sears-yards", foot_sears: "sears-feet", chain_sears: "sears-chains", link_sears: "sears-links", yard_benoit_1895_a: "benoit-1895-a-yards", foot_benoit_1895_a: "benoit-1895-a-feet", chain_benoit_1895_a: "benoit-1895-a-chains", link_benoit_1895_a: "benoit-1895-a-links", yard_benoit_1895_b: "benoit-1895-b-yards", foot_benoit_1895_b: "benoit-1895-b-feet", chain_benoit_1895_b: "benoit-1895-b-chains", link_benoit_1895_b: "benoit-1895-b-links", foot_1865: "1865-feet", foot_indian: "indian-feet", foot_indian_1937: "indian-1937-feet", foot_indian_1962: "indian-1962-feet", foot_indian_1975: "indian-1975-feet", yard_indian: "indian-yards", yard_indian_1937: "indian-1937-yards", yard_indian_1962: "indian-1962-yards", yard_indian_1975: "indian-1975-yards", statute_mile: "statute-miles", foot_gold_coast: "gold-coast-feet", foot_british_1936: "british-1936-feet", yard: "yards", chain: "chains", link: "links", yard_sears_1922_truncated: "sears-1922-truncated-yards", foot_sears_1922_truncated: "sears-1922-truncated-feet", chain_sears_1922_truncated: "sears-1922-truncated-chains", link_sears_1922_truncated: "sears-1922-truncated-links", yard_us: "us-yards", inch: "inches", inch_us: "us-inches", rod: "rods", rod_us: "us-rods", nautical_mile_us: "us-nautical-miles", nautical_mile_uk: "uk-nautical-miles", smoot: "smoots", vara_tx: "tx-vara", point: "points" }), Cr = (t) => t * t, nn = (t) => t * t * t, O2 = { length: { baseUnit: "meters", units: { millimeters: { inBaseUnits: 1e-3 }, centimeters: { inBaseUnits: 0.01 }, meters: { inBaseUnits: 1 }, feet: { inBaseUnits: 0.3048 }, "us-feet": { inBaseUnits: 0.3048006096012192 }, "clarke-feet": { inBaseUnits: 0.3047972654 }, fathoms: { inBaseUnits: 1.8288 }, "nautical-miles": { inBaseUnits: 1852 }, "german-meters": { inBaseUnits: 1.0000135965 }, "us-chains": { inBaseUnits: 20.11684023368047 }, "us-links": { inBaseUnits: 0.2011684023368047 }, "us-miles": { inBaseUnits: 1609.347218694438 }, kilometers: { inBaseUnits: 1e3 }, "clarke-yards": { inBaseUnits: 0.9143917962 }, "clarke-chains": { inBaseUnits: 20.1166195164 }, "clarke-links": { inBaseUnits: 0.201166195164 }, "sears-yards": { inBaseUnits: 0.9143984146160287 }, "sears-feet": { inBaseUnits: 0.3047994715386762 }, "sears-chains": { inBaseUnits: 20.11676512155263 }, "sears-links": { inBaseUnits: 0.2011676512155263 }, "benoit-1895-a-yards": { inBaseUnits: 0.9143992 }, "benoit-1895-a-feet": { inBaseUnits: 0.3047997333333333 }, "benoit-1895-a-chains": { inBaseUnits: 20.1167824 }, "benoit-1895-a-links": { inBaseUnits: 0.201167824 }, "benoit-1895-b-yards": { inBaseUnits: 0.9143992042898124 }, "benoit-1895-b-feet": { inBaseUnits: 0.3047997347632708 }, "benoit-1895-b-chains": { inBaseUnits: 20.11678249437587 }, "benoit-1895-b-links": { inBaseUnits: 0.2011678249437587 }, "1865-feet": { inBaseUnits: 0.3048008333333334 }, "indian-feet": { inBaseUnits: 0.3047995102481469 }, "indian-1937-feet": { inBaseUnits: 0.30479841 }, "indian-1962-feet": { inBaseUnits: 0.3047996 }, "indian-1975-feet": { inBaseUnits: 0.3047995 }, "indian-yards": { inBaseUnits: 0.9143985307444408 }, "indian-1937-yards": { inBaseUnits: 0.91439523 }, "indian-1962-yards": { inBaseUnits: 0.9143988 }, "indian-1975-yards": { inBaseUnits: 0.9143985 }, miles: { inBaseUnits: 1609.344 }, "statute-miles": { inBaseUnits: 1609.344 }, "gold-coast-feet": { inBaseUnits: 0.3047997101815088 }, "british-1936-feet": { inBaseUnits: 0.3048007491 }, yards: { inBaseUnits: 0.9144 }, chains: { inBaseUnits: 20.1168 }, links: { inBaseUnits: 0.201168 }, "sears-1922-truncated-yards": { inBaseUnits: 0.914398 }, "sears-1922-truncated-feet": { inBaseUnits: 0.3047993333333334 }, "sears-1922-truncated-chains": { inBaseUnits: 20.116756 }, "sears-1922-truncated-links": { inBaseUnits: 0.20116756 }, "us-yards": { inBaseUnits: 0.9144018288036576 }, decimeters: { inBaseUnits: 0.1 }, inches: { inBaseUnits: 0.0254 }, "us-inches": { inBaseUnits: 0.0254000508001016 }, rods: { inBaseUnits: 5.0292 }, "us-rods": { inBaseUnits: 5.029210058420118 }, "us-nautical-miles": { inBaseUnits: 1853.248 }, "uk-nautical-miles": { inBaseUnits: 1853.184 }, smoots: { inBaseUnits: 1.7018 }, "tx-vara": { inBaseUnits: 0.8466683600033867 }, points: { inBaseUnits: 3527777777777778e-19 }, micrometers: { inBaseUnits: 1e-6 }, nanometers: { inBaseUnits: 1e-9 }, "50-kilometers": { inBaseUnits: 5e4 }, "150-kilometers": { inBaseUnits: 15e4 } } }, area: { baseUnit: "square-meters", units: { "square-millimeters": { inBaseUnits: Cr(1e-3) }, "square-centimeters": { inBaseUnits: Cr(0.01) }, "square-decimeters": { inBaseUnits: Cr(0.1) }, "square-meters": { inBaseUnits: 1 }, "square-kilometers": { inBaseUnits: Cr(1e3) }, "square-inches": { inBaseUnits: Cr(0.0254) }, "square-feet": { inBaseUnits: Cr(0.3048) }, "square-yards": { inBaseUnits: Cr(0.9144) }, "square-miles": { inBaseUnits: Cr(1609.344) }, "square-nautical-miles": { inBaseUnits: Cr(1852) }, "square-us-feet": { inBaseUnits: Cr(1200 / 3937) }, acres: { inBaseUnits: 15625e-7 * Cr(1609.344) }, ares: { inBaseUnits: 100 }, hectares: { inBaseUnits: 1e4 } } }, volume: { baseUnit: "liters", units: { liters: { inBaseUnits: 1 }, megaliters: { inBaseUnits: 1e6 }, gigaliters: { inBaseUnits: 1e9 }, "cubic-millimeters": { inBaseUnits: 1e3 * nn(1e-3) }, "cubic-centimeters": { inBaseUnits: 1e3 * nn(0.01) }, "cubic-decimeters": { inBaseUnits: 1e3 * nn(0.1) }, "cubic-meters": { inBaseUnits: 1e3 }, "cubic-kilometers": { inBaseUnits: 1e3 * nn(1e3) }, "cubic-inches": { inBaseUnits: 1e3 * nn(0.0254) }, "cubic-feet": { inBaseUnits: 1e3 * nn(0.3048) }, "cubic-yards": { inBaseUnits: 1e3 * nn(0.9144) }, "cubic-miles": { inBaseUnits: 1e3 * nn(1609.344) }, "cubic-us-feet": { inBaseUnits: 1e3 * nn(1200 / 3937) } } }, angle: { baseUnit: "radians", units: { radians: { inBaseUnits: 1 }, degrees: { inBaseUnits: Math.PI / 180 } } } };
|
|
21379
21379
|
(() => {
|
|
21380
21380
|
const t = {};
|
|
21381
21381
|
for (const e in O2) for (const r in O2[e].units) t[r] = e;
|
|
21382
21382
|
return t;
|
|
21383
21383
|
})();
|
|
21384
21384
|
function Z3(t) {
|
|
21385
|
-
return
|
|
21385
|
+
return hN.fromJSON(t.toLowerCase()) || null;
|
|
21386
21386
|
}
|
|
21387
|
-
function
|
|
21388
|
-
return
|
|
21387
|
+
function dN(t, e = Mn.metersPerDegree) {
|
|
21388
|
+
return mN(t, !0) ?? e;
|
|
21389
21389
|
}
|
|
21390
|
-
function
|
|
21390
|
+
function mN(t, e = !1) {
|
|
21391
21391
|
const r = t?.wkid ?? null, n = t?.wkt2 ?? t?.wkt ?? null;
|
|
21392
21392
|
let s = null;
|
|
21393
21393
|
if (r) {
|
|
21394
|
-
if (
|
|
21395
|
-
if (
|
|
21396
|
-
s = qs.values[qs[r]], !s && e &&
|
|
21394
|
+
if (iN(r)) return y3.metersPerDegree;
|
|
21395
|
+
if (oN(r)) return b3.metersPerDegree;
|
|
21396
|
+
s = qs.values[qs[r]], !s && e && fN.has(r) && (s = cN);
|
|
21397
21397
|
} else n && (Q3(n) ? s = R2(H3.exec(n), s) : J3(n) && (s = R2(Y3.exec(n), s)));
|
|
21398
21398
|
return s;
|
|
21399
21399
|
}
|
|
@@ -21403,7 +21403,7 @@ function R2(t, e) {
|
|
|
21403
21403
|
function X3(t) {
|
|
21404
21404
|
return parseFloat(t.split(",")[1]);
|
|
21405
21405
|
}
|
|
21406
|
-
function
|
|
21406
|
+
function pN(t) {
|
|
21407
21407
|
const e = t?.wkid ?? null, r = t?.wkt2 ?? t?.wkt ?? null;
|
|
21408
21408
|
let n = null;
|
|
21409
21409
|
if (e) n = qs.units[qs[e]];
|
|
@@ -21411,7 +21411,7 @@ function px(t) {
|
|
|
21411
21411
|
const s = Q3(r) ? H3 : J3(r) ? Y3 : null;
|
|
21412
21412
|
if (s) {
|
|
21413
21413
|
const i = s.exec(r);
|
|
21414
|
-
i?.[1] && (n =
|
|
21414
|
+
i?.[1] && (n = _N(i[1]));
|
|
21415
21415
|
}
|
|
21416
21416
|
}
|
|
21417
21417
|
return n != null ? Z3(n) : null;
|
|
@@ -21422,24 +21422,24 @@ function J3(t) {
|
|
|
21422
21422
|
function Q3(t) {
|
|
21423
21423
|
return /^\s*(?:PROJCS|PROJCRS|PROJECTEDCRS)/i.test(t);
|
|
21424
21424
|
}
|
|
21425
|
-
const
|
|
21426
|
-
function
|
|
21425
|
+
const gN = 1e-7;
|
|
21426
|
+
function _N(t) {
|
|
21427
21427
|
let r = /[\\"']([^\\"']+)/.exec(t)?.[1];
|
|
21428
21428
|
if (!r || !Z3(r)) {
|
|
21429
21429
|
const n = X3(t);
|
|
21430
21430
|
r = null;
|
|
21431
21431
|
const s = qs.values;
|
|
21432
|
-
for (let i = 0; i < s.length; ++i) if (Math.abs(n - s[i]) <
|
|
21432
|
+
for (let i = 0; i < s.length; ++i) if (Math.abs(n - s[i]) < gN) {
|
|
21433
21433
|
r = qs.units[i];
|
|
21434
21434
|
break;
|
|
21435
21435
|
}
|
|
21436
21436
|
}
|
|
21437
21437
|
return r;
|
|
21438
21438
|
}
|
|
21439
|
-
const
|
|
21440
|
-
Gc()(
|
|
21441
|
-
Gc()(
|
|
21442
|
-
Gc()(
|
|
21439
|
+
const yN = { esriAcres: "acres", esriAres: "ares", esriHectares: "hectares", esriSquareCentimeters: "square-centimeters", esriSquareDecimeters: "square-decimeters", esriSquareFeet: "square-feet", esriSquareInches: "square-inches", esriSquareKilometers: "square-kilometers", esriSquareMeters: "square-meters", esriSquareMiles: "square-miles", esriSquareMillimeters: "square-millimeters", esriSquareUsFeet: "square-us-feet", esriSquareYards: "square-yards" }, bN = { esriCentimeters: "centimeters", esriDecimeters: "decimeters", esriFeet: "feet", esriInches: "inches", esriKilometers: "kilometers", esriMeters: "meters", esriMiles: "miles", esriMillimeters: "millimeters", esriNauticalMiles: "nautical-miles", esriYards: "yards" }, wN = { esriDUDecimalDegrees: "degrees", esriDURadians: "radians" };
|
|
21440
|
+
Gc()(yN);
|
|
21441
|
+
Gc()(bN);
|
|
21442
|
+
Gc()(wN);
|
|
21443
21443
|
var Wr;
|
|
21444
21444
|
let ge = class extends _3 {
|
|
21445
21445
|
static {
|
|
@@ -21459,7 +21459,7 @@ let ge = class extends _3 {
|
|
|
21459
21459
|
}
|
|
21460
21460
|
static fromJSON(e) {
|
|
21461
21461
|
if (!e) return null;
|
|
21462
|
-
if (!
|
|
21462
|
+
if (!vN.some((n) => e[n] != null)) {
|
|
21463
21463
|
if (e?.wkid === 102100) return Wr.WebMercator;
|
|
21464
21464
|
if (e?.wkid === 4326) return Wr.WGS84;
|
|
21465
21465
|
}
|
|
@@ -21482,13 +21482,13 @@ let ge = class extends _3 {
|
|
|
21482
21482
|
return W3(this);
|
|
21483
21483
|
}
|
|
21484
21484
|
get isWrappable() {
|
|
21485
|
-
return
|
|
21485
|
+
return aN(this);
|
|
21486
21486
|
}
|
|
21487
21487
|
get metersPerUnit() {
|
|
21488
|
-
return
|
|
21488
|
+
return dN(this);
|
|
21489
21489
|
}
|
|
21490
21490
|
get unit() {
|
|
21491
|
-
return
|
|
21491
|
+
return pN(this) || (this.isGeographic ? "degrees" : null);
|
|
21492
21492
|
}
|
|
21493
21493
|
writeWkt(e, r) {
|
|
21494
21494
|
this.wkid || (r.wkt = e);
|
|
@@ -21516,8 +21516,8 @@ se([Ze({ readOnly: !0 })], ge.prototype, "isWGS84", null), se([Ze({ readOnly: !0
|
|
|
21516
21516
|
return { isRequired: this.wkt == null };
|
|
21517
21517
|
} } } } } })], ge.prototype, "wkid", void 0), se([Ze({ type: String, json: { origins: { "web-scene": { write: { overridePolicy() {
|
|
21518
21518
|
return { isRequired: this.wkid == null };
|
|
21519
|
-
} } } } } })], ge.prototype, "wkt", void 0), se([Wh("wkt"), Wh("web-scene", "wkt")], ge.prototype, "writeWkt", null), se([Ze({ type: String, json: { write: !1 } })], ge.prototype, "wkt2", void 0), se([Ze({ type: Hn, json: { write: !0 } })], ge.prototype, "vcsWkid", void 0), se([Ze({ type: Hn, json: { write: !0 } })], ge.prototype, "latestVcsWkid", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "falseM", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "falseX", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "falseY", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "falseZ", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "mTolerance", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "mUnits", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "xyTolerance", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "xyUnits", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "zTolerance", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "zUnits", void 0), se([Ze()], ge.prototype, "imageCoordinateSystem", void 0), ge = Wr = se([jc("esri.geometry.SpatialReference")], ge), ge.prototype.toJSON.isDefaultToJSON = !0, ge.GCS_NAD_1927 = Ms.freeze(new ge({ wkid: 4267, wkt: 'GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]' })), ge.WGS84 = Ms.freeze(new ge(B3)), ge.WebMercator = Ms.freeze(new ge(q3)), ge.PlateCarree = Ms.freeze(new ge(
|
|
21520
|
-
const
|
|
21519
|
+
} } } } } })], ge.prototype, "wkt", void 0), se([Wh("wkt"), Wh("web-scene", "wkt")], ge.prototype, "writeWkt", null), se([Ze({ type: String, json: { write: !1 } })], ge.prototype, "wkt2", void 0), se([Ze({ type: Hn, json: { write: !0 } })], ge.prototype, "vcsWkid", void 0), se([Ze({ type: Hn, json: { write: !0 } })], ge.prototype, "latestVcsWkid", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "falseM", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "falseX", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "falseY", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "falseZ", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "mTolerance", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "mUnits", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "xyTolerance", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "xyUnits", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "zTolerance", void 0), se([Ze({ type: Number, json: { write: !0 } })], ge.prototype, "zUnits", void 0), se([Ze()], ge.prototype, "imageCoordinateSystem", void 0), ge = Wr = se([jc("esri.geometry.SpatialReference")], ge), ge.prototype.toJSON.isDefaultToJSON = !0, ge.GCS_NAD_1927 = Ms.freeze(new ge({ wkid: 4267, wkt: 'GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]' })), ge.WGS84 = Ms.freeze(new ge(B3)), ge.WebMercator = Ms.freeze(new ge(q3)), ge.PlateCarree = Ms.freeze(new ge(lN));
|
|
21520
|
+
const vN = ["falseM", "falseX", "falseY", "falseZ", "mTolerance", "mUnits", "xyTolerance", "xyUnits", "zTolerance", "zUnits"];
|
|
21521
21521
|
let $r = class extends _3 {
|
|
21522
21522
|
constructor(...e) {
|
|
21523
21523
|
super(...e), this.type = null, this.hasM = !1, this.hasZ = !1, this.spatialReference = ge.WGS84;
|
|
@@ -21553,12 +21553,12 @@ se([Ce()], $r.prototype, "type", void 0), se([Ce({ readOnly: !0 })], $r.prototyp
|
|
|
21553
21553
|
function Lc(t) {
|
|
21554
21554
|
if (t && typeof t == "object" && "type" in t && t.type === "mesh") throw new uo("internal:mesh", "Mesh geometries are not supported for this operation");
|
|
21555
21555
|
}
|
|
21556
|
-
const
|
|
21556
|
+
const SN = 57.29577951308232, xN = 0.017453292519943;
|
|
21557
21557
|
function I2(t) {
|
|
21558
|
-
return t *
|
|
21558
|
+
return t * SN;
|
|
21559
21559
|
}
|
|
21560
21560
|
function C2(t) {
|
|
21561
|
-
return t *
|
|
21561
|
+
return t * xN;
|
|
21562
21562
|
}
|
|
21563
21563
|
function k2(t) {
|
|
21564
21564
|
return t.wkid != null || t.wkt != null;
|
|
@@ -21608,14 +21608,14 @@ function Lf(t, e = !1, r = dr(t)) {
|
|
|
21608
21608
|
function El(t, e = !1, r = dr(t)) {
|
|
21609
21609
|
return Lc(t), Lc(r), K3(t, kd, ge.WGS84, e, r);
|
|
21610
21610
|
}
|
|
21611
|
-
function
|
|
21611
|
+
function NN(t, e) {
|
|
21612
21612
|
const r = t.x - e.x, n = t.y - e.y, s = t.z != null && e.z != null ? t.z - e.z : 0;
|
|
21613
21613
|
return Math.sqrt(r * r + n * n + s * s);
|
|
21614
21614
|
}
|
|
21615
|
-
function
|
|
21615
|
+
function EN(t) {
|
|
21616
21616
|
return e9(t, t9)?.[0] ?? null;
|
|
21617
21617
|
}
|
|
21618
|
-
function
|
|
21618
|
+
function TN(t) {
|
|
21619
21619
|
return e9(t, t9)?.[1] ?? null;
|
|
21620
21620
|
}
|
|
21621
21621
|
function e9({ x: t, y: e, spatialReference: r }, n = [0, 0]) {
|
|
@@ -21672,14 +21672,14 @@ let Gt = Yl = class extends $r {
|
|
|
21672
21672
|
t !== (this._get("z") !== void 0) && (this._set("z", t ? 0 : void 0), this._set("hasZ", t));
|
|
21673
21673
|
}
|
|
21674
21674
|
get latitude() {
|
|
21675
|
-
return
|
|
21675
|
+
return TN(this);
|
|
21676
21676
|
}
|
|
21677
21677
|
set latitude(t) {
|
|
21678
21678
|
const { spatialReference: e, x: r } = this;
|
|
21679
21679
|
t != null && e && (e.isWebMercator ? this._set("y", Di(r, t, Af)[1]) : e.isGeographic && this._set("y", t), this._set("latitude", t));
|
|
21680
21680
|
}
|
|
21681
21681
|
get longitude() {
|
|
21682
|
-
return
|
|
21682
|
+
return EN(this);
|
|
21683
21683
|
}
|
|
21684
21684
|
set longitude(t) {
|
|
21685
21685
|
const { y: e, spatialReference: r } = this;
|
|
@@ -21722,7 +21722,7 @@ let Gt = Yl = class extends $r {
|
|
|
21722
21722
|
return e > n ? (i = Math.ceil(Math.abs(e - n) / s), e -= i * s) : e < r && (i = Math.ceil(Math.abs(e - r) / s), e += i * s), this._set("x", e), this;
|
|
21723
21723
|
}
|
|
21724
21724
|
distance(t) {
|
|
21725
|
-
return
|
|
21725
|
+
return NN(this, t);
|
|
21726
21726
|
}
|
|
21727
21727
|
toArray() {
|
|
21728
21728
|
const t = this.hasZ, e = this.hasM;
|
|
@@ -21740,27 +21740,27 @@ se([Ce({ readOnly: !0 })], Gt.prototype, "cache", null), se([Ce({ type: Boolean,
|
|
|
21740
21740
|
function r9(t, e) {
|
|
21741
21741
|
return e != null && Bt(t, e.x, e.y, e.z);
|
|
21742
21742
|
}
|
|
21743
|
-
function
|
|
21743
|
+
function PN(t, e) {
|
|
21744
21744
|
const { xmin: r, ymin: n, zmin: s, xmax: i, ymax: u, zmax: l } = e;
|
|
21745
21745
|
return t.hasZ && e.hasZ ? Bt(t, r, n, s) && Bt(t, r, u, s) && Bt(t, i, u, s) && Bt(t, i, n, s) && Bt(t, r, n, l) && Bt(t, r, u, l) && Bt(t, i, u, l) && Bt(t, i, n, l) : Bt(t, r, n) && Bt(t, r, u) && Bt(t, i, u) && Bt(t, i, n);
|
|
21746
21746
|
}
|
|
21747
21747
|
function Ki(t, e) {
|
|
21748
21748
|
return Bt(t, e[0], e[1]);
|
|
21749
21749
|
}
|
|
21750
|
-
function
|
|
21750
|
+
function LN(t, e) {
|
|
21751
21751
|
return Bt(t, e[0], e[1], e[2]);
|
|
21752
21752
|
}
|
|
21753
21753
|
function Bt(t, e, r, n) {
|
|
21754
21754
|
return e >= t.xmin && e <= t.xmax && r >= t.ymin && r <= t.ymax && (n == null || !t.hasZ || n >= t.zmin && n <= t.zmax);
|
|
21755
21755
|
}
|
|
21756
|
-
function
|
|
21756
|
+
function AN(t, e) {
|
|
21757
21757
|
if (!t || t.length < 1) return !1;
|
|
21758
|
-
if (
|
|
21758
|
+
if (MN(t)) return $2(!1, t, e);
|
|
21759
21759
|
let r = !1;
|
|
21760
21760
|
for (let n = 0, s = t.length; n < s; n++) r = $2(r, t[n], e);
|
|
21761
21761
|
return r;
|
|
21762
21762
|
}
|
|
21763
|
-
function
|
|
21763
|
+
function MN(t) {
|
|
21764
21764
|
return !Array.isArray(t[0][0]);
|
|
21765
21765
|
}
|
|
21766
21766
|
function $2(t, e, r) {
|
|
@@ -21773,10 +21773,10 @@ function $2(t, e, r) {
|
|
|
21773
21773
|
}
|
|
21774
21774
|
return i;
|
|
21775
21775
|
}
|
|
21776
|
-
function
|
|
21776
|
+
function ON(t, e) {
|
|
21777
21777
|
return r9(t, e);
|
|
21778
21778
|
}
|
|
21779
|
-
function
|
|
21779
|
+
function RN(t, e) {
|
|
21780
21780
|
const r = t.hasZ && e.hasZ;
|
|
21781
21781
|
let n, s, i;
|
|
21782
21782
|
if (t.xmin <= e.xmin) {
|
|
@@ -21792,18 +21792,18 @@ function Rx(t, e) {
|
|
|
21792
21792
|
}
|
|
21793
21793
|
return !0;
|
|
21794
21794
|
}
|
|
21795
|
-
function
|
|
21796
|
-
const { points: r, hasZ: n } = e, s = n ?
|
|
21795
|
+
function IN(t, e) {
|
|
21796
|
+
const { points: r, hasZ: n } = e, s = n ? LN : Ki;
|
|
21797
21797
|
for (const i of r) if (s(t, i)) return !0;
|
|
21798
21798
|
return !1;
|
|
21799
21799
|
}
|
|
21800
|
-
const ts = [0, 0], rs = [0, 0], ns = [0, 0], ss = [0, 0],
|
|
21801
|
-
function
|
|
21802
|
-
return
|
|
21800
|
+
const ts = [0, 0], rs = [0, 0], ns = [0, 0], ss = [0, 0], CN = [ts, rs, ns, ss], n9 = [[ns, ts], [ts, rs], [rs, ss], [ss, ns]];
|
|
21801
|
+
function kN(t, e) {
|
|
21802
|
+
return DN(t, e.rings);
|
|
21803
21803
|
}
|
|
21804
|
-
function
|
|
21804
|
+
function DN(t, e) {
|
|
21805
21805
|
ts[0] = t.xmin, ts[1] = t.ymax, rs[0] = t.xmax, rs[1] = t.ymax, ns[0] = t.xmin, ns[1] = t.ymin, ss[0] = t.xmax, ss[1] = t.ymin;
|
|
21806
|
-
for (const r of
|
|
21806
|
+
for (const r of CN) if (AN(e, r)) return !0;
|
|
21807
21807
|
for (const r of e) {
|
|
21808
21808
|
if (!r.length) continue;
|
|
21809
21809
|
let n = r[0];
|
|
@@ -21816,7 +21816,7 @@ function Dx(t, e) {
|
|
|
21816
21816
|
}
|
|
21817
21817
|
return !1;
|
|
21818
21818
|
}
|
|
21819
|
-
function $
|
|
21819
|
+
function $N(t, e) {
|
|
21820
21820
|
ts[0] = t.xmin, ts[1] = t.ymax, rs[0] = t.xmax, rs[1] = t.ymax, ns[0] = t.xmin, ns[1] = t.ymin, ss[0] = t.xmax, ss[1] = t.ymin;
|
|
21821
21821
|
const r = e.paths;
|
|
21822
21822
|
for (const n of r) {
|
|
@@ -21832,49 +21832,49 @@ function $x(t, e) {
|
|
|
21832
21832
|
return !1;
|
|
21833
21833
|
}
|
|
21834
21834
|
function s9(t, e, r) {
|
|
21835
|
-
for (let n = 0; n < r.length; n++) if (
|
|
21835
|
+
for (let n = 0; n < r.length; n++) if (FN(t, e, r[n][0], r[n][1])) return !0;
|
|
21836
21836
|
return !1;
|
|
21837
21837
|
}
|
|
21838
|
-
function
|
|
21839
|
-
const [i, u] = t, [l, c] = e, [p, _] = r, [y, v] = n, S = y - p, E = i - p,
|
|
21838
|
+
function FN(t, e, r, n, s) {
|
|
21839
|
+
const [i, u] = t, [l, c] = e, [p, _] = r, [y, v] = n, S = y - p, E = i - p, N = l - i, k = v - _, W = u - _, z = c - u, U = k * N - S * z;
|
|
21840
21840
|
if (U === 0) return !1;
|
|
21841
|
-
const Q = (S * W - k * E) / U, te = (
|
|
21841
|
+
const Q = (S * W - k * E) / U, te = (N * W - z * E) / U;
|
|
21842
21842
|
return Q >= 0 && Q <= 1 && te >= 0 && te <= 1 && !0;
|
|
21843
21843
|
}
|
|
21844
|
-
function
|
|
21844
|
+
function UN(t) {
|
|
21845
21845
|
switch (t) {
|
|
21846
21846
|
case "esriGeometryEnvelope":
|
|
21847
21847
|
case "extent":
|
|
21848
|
-
return
|
|
21848
|
+
return RN;
|
|
21849
21849
|
case "esriGeometryMultipoint":
|
|
21850
21850
|
case "multipoint":
|
|
21851
|
-
return
|
|
21851
|
+
return IN;
|
|
21852
21852
|
case "esriGeometryPoint":
|
|
21853
21853
|
case "point":
|
|
21854
|
-
return
|
|
21854
|
+
return ON;
|
|
21855
21855
|
case "esriGeometryMultiPatch":
|
|
21856
21856
|
case "multipatch":
|
|
21857
21857
|
case "esriGeometryPolygon":
|
|
21858
21858
|
case "polygon":
|
|
21859
|
-
return
|
|
21859
|
+
return kN;
|
|
21860
21860
|
case "esriGeometryPolyline":
|
|
21861
21861
|
case "polyline":
|
|
21862
|
-
return $
|
|
21862
|
+
return $N;
|
|
21863
21863
|
}
|
|
21864
21864
|
}
|
|
21865
21865
|
var kr;
|
|
21866
|
-
function
|
|
21866
|
+
function VN(t) {
|
|
21867
21867
|
return t && (t.declaredClass === "esri.geometry.SpatialReference" || t.wkid != null);
|
|
21868
21868
|
}
|
|
21869
21869
|
function gn(t, e, r) {
|
|
21870
21870
|
return e == null ? r : r == null ? e : t(e, r);
|
|
21871
21871
|
}
|
|
21872
|
-
let
|
|
21872
|
+
let Nt = kr = class extends $r {
|
|
21873
21873
|
constructor(...t) {
|
|
21874
21874
|
super(...t), this.type = "extent", this.xmin = 0, this.ymin = 0, this.mmin = void 0, this.zmin = void 0, this.xmax = 0, this.ymax = 0, this.mmax = void 0, this.zmax = void 0;
|
|
21875
21875
|
}
|
|
21876
21876
|
normalizeCtorArgs(t, e, r, n, s) {
|
|
21877
|
-
return
|
|
21877
|
+
return VN(t) ? { spatialReference: t, xmin: 0, ymin: 0, xmax: 0, ymax: 0 } : typeof t == "object" ? (t.spatialReference = t.spatialReference == null ? ge.WGS84 : t.spatialReference, t) : { xmin: t, ymin: e, xmax: r, ymax: n, spatialReference: s ?? ge.WGS84 };
|
|
21878
21878
|
}
|
|
21879
21879
|
static fromPoint(t) {
|
|
21880
21880
|
return new kr({ xmin: t.x, ymin: t.y, zmin: t.z, xmax: t.x, ymax: t.y, zmax: t.z, spatialReference: t.spatialReference });
|
|
@@ -21912,7 +21912,7 @@ let xt = kr = class extends $r {
|
|
|
21912
21912
|
contains(t) {
|
|
21913
21913
|
if (!t) return !1;
|
|
21914
21914
|
const e = this.spatialReference, r = t.spatialReference;
|
|
21915
|
-
return e && r && !e.equals(r) && Pf(e, r) && (t = e.isWebMercator ? Lf(t) : El(t, !0)), t.type === "point" ? r9(this, t) : t.type === "extent" &&
|
|
21915
|
+
return e && r && !e.equals(r) && Pf(e, r) && (t = e.isWebMercator ? Lf(t) : El(t, !0)), t.type === "point" ? r9(this, t) : t.type === "extent" && PN(this, t);
|
|
21916
21916
|
}
|
|
21917
21917
|
equals(t) {
|
|
21918
21918
|
if (this === t) return !0;
|
|
@@ -21936,7 +21936,7 @@ let xt = kr = class extends $r {
|
|
|
21936
21936
|
if (t == null) return !1;
|
|
21937
21937
|
t.type === "mesh" && (t = t.extent);
|
|
21938
21938
|
const e = this.spatialReference, r = t.spatialReference;
|
|
21939
|
-
return e && r && !Id(e, r) && Pf(e, r) && (t = e.isWebMercator ? Lf(t) : El(t, !0)),
|
|
21939
|
+
return e && r && !Id(e, r) && Pf(e, r) && (t = e.isWebMercator ? Lf(t) : El(t, !0)), UN(t.type)(this, t);
|
|
21940
21940
|
}
|
|
21941
21941
|
normalize() {
|
|
21942
21942
|
const t = this._normalize(!1, !0);
|
|
@@ -22008,13 +22008,13 @@ let xt = kr = class extends $r {
|
|
|
22008
22008
|
_ = Mf(this.xmin, t);
|
|
22009
22009
|
const S = _.x, E = _.frameId;
|
|
22010
22010
|
_ = Mf(this.xmax, t);
|
|
22011
|
-
const
|
|
22011
|
+
const N = _.x, k = _.frameId, W = S === N && l > 0;
|
|
22012
22012
|
if (l > 2 * v) {
|
|
22013
|
-
const z = new kr(c < p ? S :
|
|
22013
|
+
const z = new kr(c < p ? S : N, s, v, i, u), U = new kr(y, s, c < p ? N : S, i, u), Q = new kr(0, s, v, i, u), te = new kr(y, s, 0, i, u), fe = [], F = [];
|
|
22014
22014
|
z.contains(Q) && fe.push(E), z.contains(te) && F.push(E), U.contains(Q) && fe.push(k), U.contains(te) && F.push(k);
|
|
22015
22015
|
for (let V = E + 1; V < k; V++) fe.push(V), F.push(V);
|
|
22016
22016
|
e.push({ extent: z, frameIds: [E] }, { extent: U, frameIds: [k] }, { extent: Q, frameIds: fe }, { extent: te, frameIds: F });
|
|
22017
|
-
} else S >
|
|
22017
|
+
} else S > N || W ? e.push({ extent: new kr(S, s, v, i, u), frameIds: [E] }, { extent: new kr(y, s, N, i, u), frameIds: [k] }) : e.push({ extent: new kr(S, s, N, i, u), frameIds: [E] });
|
|
22018
22018
|
this.cache._parts = e;
|
|
22019
22019
|
}
|
|
22020
22020
|
const r = this.hasZ, n = this.hasM;
|
|
@@ -22031,15 +22031,15 @@ function Mf(t, e) {
|
|
|
22031
22031
|
let i, u = 0;
|
|
22032
22032
|
return t > n ? (i = Math.ceil(Math.abs(t - n) / s), t -= i * s, u = i) : t < r && (i = Math.ceil(Math.abs(t - r) / s), t += i * s, u = -i), { x: t, frameId: u };
|
|
22033
22033
|
}
|
|
22034
|
-
se([Ce({ readOnly: !0 })],
|
|
22034
|
+
se([Ce({ readOnly: !0 })], Nt.prototype, "cache", null), se([Ce({ readOnly: !0 })], Nt.prototype, "center", null), se([Ce({ readOnly: !0 })], Nt.prototype, "extent", null), se([Ce({ readOnly: !0, json: { write: { enabled: !1, overridePolicy: null } } })], Nt.prototype, "hasM", null), se([Ce({ readOnly: !0, json: { write: { enabled: !1, overridePolicy: null } } })], Nt.prototype, "hasZ", null), se([Ce({ readOnly: !0 })], Nt.prototype, "height", null), se([Ce({ type: ge, json: { write: !0 }, value: ge.WGS84 })], Nt.prototype, "spatialReference", void 0), se([Ce({ readOnly: !0 })], Nt.prototype, "width", null), se([Ce({ type: Number, json: { type: [Number, String], write: { enabled: !0, allowNull: !0 } } })], Nt.prototype, "xmin", void 0), se([Ce({ type: Number, json: { write: !0 } })], Nt.prototype, "ymin", void 0), se([Ce({ type: Number, json: { origins: { "web-scene": { write: !1 } }, read: (t) => t ?? void 0, write: { overridePolicy() {
|
|
22035
22035
|
return { enabled: this.hasM };
|
|
22036
|
-
} } } })],
|
|
22036
|
+
} } } })], Nt.prototype, "mmin", void 0), se([Ce({ type: Number, json: { origins: { "web-scene": { write: !1 } }, write: { overridePolicy() {
|
|
22037
22037
|
return { enabled: this.hasZ };
|
|
22038
|
-
} } } })],
|
|
22038
|
+
} } } })], Nt.prototype, "zmin", void 0), se([Ce({ type: Number, json: { write: !0 } })], Nt.prototype, "xmax", void 0), se([Ce({ type: Number, json: { write: !0 } })], Nt.prototype, "ymax", void 0), se([Ce({ type: Number, json: { origins: { "web-scene": { write: !1 } }, read: (t) => t ?? void 0, write: { overridePolicy() {
|
|
22039
22039
|
return { enabled: this.hasM };
|
|
22040
|
-
} } } })],
|
|
22040
|
+
} } } })], Nt.prototype, "mmax", void 0), se([Ce({ type: Number, json: { origins: { "web-scene": { write: !1 } }, write: { overridePolicy() {
|
|
22041
22041
|
return { enabled: this.hasZ };
|
|
22042
|
-
} } } })],
|
|
22042
|
+
} } } })], Nt.prototype, "zmax", void 0), Nt = kr = se([Ld("esri.geometry.Extent")], Nt), Nt.prototype.toJSON.isDefaultToJSON = !0;
|
|
22043
22043
|
function Tl(t) {
|
|
22044
22044
|
return typeof t == "number" && isFinite(t) && Math.floor(t) === t;
|
|
22045
22045
|
}
|
|
@@ -22200,7 +22200,7 @@ let hr = class Br {
|
|
|
22200
22200
|
}
|
|
22201
22201
|
}
|
|
22202
22202
|
};
|
|
22203
|
-
function
|
|
22203
|
+
function zN(t, e) {
|
|
22204
22204
|
const r = i9[t.toLowerCase()];
|
|
22205
22205
|
if (r == null) throw new C("FunctionNotRecognized");
|
|
22206
22206
|
if (e.length < r.minParams || e.length > r.maxParams) throw new C("InvalidParameterCount", { name: t.toUpperCase() });
|
|
@@ -22210,7 +22210,7 @@ function V2(t, e) {
|
|
|
22210
22210
|
const r = i9[t.toLowerCase()];
|
|
22211
22211
|
return r != null && e >= r.minParams && e <= r.maxParams;
|
|
22212
22212
|
}
|
|
22213
|
-
const i9 = { min: { minParams: 1, maxParams: 1, evaluate: (t) => z2(t[0], "min") }, max: { minParams: 1, maxParams: 1, evaluate: (t) => z2(t[0], "max") }, avg: { minParams: 1, maxParams: 1, evaluate: (t) => o9(t[0]) }, sum: { minParams: 1, maxParams: 1, evaluate: (t) =>
|
|
22213
|
+
const i9 = { min: { minParams: 1, maxParams: 1, evaluate: (t) => z2(t[0], "min") }, max: { minParams: 1, maxParams: 1, evaluate: (t) => z2(t[0], "max") }, avg: { minParams: 1, maxParams: 1, evaluate: (t) => o9(t[0]) }, sum: { minParams: 1, maxParams: 1, evaluate: (t) => jN(t[0]) }, stddev: { minParams: 1, maxParams: 1, evaluate: (t) => GN(t[0]) }, count: { minParams: 1, maxParams: 1, evaluate: (t) => t[0] == null ? null : t[0].length }, var: { minParams: 1, maxParams: 1, evaluate: (t) => a9(t[0]) } };
|
|
22214
22214
|
function o9(t) {
|
|
22215
22215
|
if (t === null) return null;
|
|
22216
22216
|
let e = 0, r = 0;
|
|
@@ -22235,7 +22235,7 @@ function z2(t, e) {
|
|
|
22235
22235
|
}
|
|
22236
22236
|
return r;
|
|
22237
22237
|
}
|
|
22238
|
-
function
|
|
22238
|
+
function jN(t) {
|
|
22239
22239
|
if (t === null) return null;
|
|
22240
22240
|
let e = 0;
|
|
22241
22241
|
for (let r = 0; r < t.length; r++) {
|
|
@@ -22247,7 +22247,7 @@ function jx(t) {
|
|
|
22247
22247
|
}
|
|
22248
22248
|
return e;
|
|
22249
22249
|
}
|
|
22250
|
-
function
|
|
22250
|
+
function GN(t) {
|
|
22251
22251
|
if (t === null) return null;
|
|
22252
22252
|
const e = a9(t);
|
|
22253
22253
|
return e === null ? null : Math.sqrt(e);
|
|
@@ -22362,7 +22362,7 @@ let kt = class Kh {
|
|
|
22362
22362
|
return (this.op === "-" ? -1 : 1) * (this.millis + 1e3 * this.second + 60 * this.minute * 1e3 + 60 * this.hour * 60 * 1e3 + 24 * this.day * 60 * 60 * 1e3 + this.month * (365 / 12) * 24 * 60 * 60 * 1e3 + 365 * this.year * 24 * 60 * 60 * 1e3);
|
|
22363
22363
|
}
|
|
22364
22364
|
};
|
|
22365
|
-
const
|
|
22365
|
+
const WN = /^(\d{1,2}):(\d{1,2}):(\d{1,2})$/, BN = /^(\d{1,2}):(\d{1,2})$/, qN = /^(\d{1,2}):(\d{1,2}):(\d{1,2}).([0-9]+)$/, u9 = /^(\d{4})-(\d{1,2})-(\d{1,2})$/, HN = /^(\d{4})-(\d{1,2})-(\d{1,2}) (\d{1,2}):(\d{1,2}):(\d{1,2})(\.[0-9]+)?$/, YN = /^(\d{4})-(\d{1,2})-(\d{1,2}) (\d{1,2}):(\d{1,2}):(\d{1,2})(\.[0-9]+)? {0,1}(\+|-)(\d{1,2}):(\d{1,2})$/, ZN = /^(\d{4})-(\d{1,2})-(\d{1,2}) (\d{1,2}):(\d{1,2})? {0,1}(\+|-)(\d{1,2}):(\d{1,2})$/, XN = /^(\d{4})-(\d{1,2})-(\d{1,2}) (\d{1,2}):(\d{1,2})$/;
|
|
22366
22366
|
function Hc(t, e) {
|
|
22367
22367
|
if (e instanceof In) return e === lr.instance ? Z.fromMillis(t.getTime(), { zone: lr.instance }) : Z.fromJSDate(t, { zone: e });
|
|
22368
22368
|
switch (e) {
|
|
@@ -22390,18 +22390,18 @@ function qe(t) {
|
|
|
22390
22390
|
return Qr.isTimestampOffset(t);
|
|
22391
22391
|
}
|
|
22392
22392
|
function Yc(t) {
|
|
22393
|
-
let e =
|
|
22393
|
+
let e = WN.exec(t);
|
|
22394
22394
|
if (e !== null) {
|
|
22395
22395
|
const [, r, n, s] = e, i = hr.fromParts(parseInt(r, 10), parseInt(n, 10), parseInt(s, 10), 0);
|
|
22396
22396
|
if (i !== null) return i;
|
|
22397
22397
|
throw new C("InvalidTime");
|
|
22398
22398
|
}
|
|
22399
|
-
if (e =
|
|
22399
|
+
if (e = BN.exec(t), e !== null) {
|
|
22400
22400
|
const [, r, n] = e, s = hr.fromParts(parseInt(r, 10), parseInt(n, 10), 0, 0);
|
|
22401
22401
|
if (s !== null) return s;
|
|
22402
22402
|
throw new C("InvalidTime");
|
|
22403
22403
|
}
|
|
22404
|
-
if (e =
|
|
22404
|
+
if (e = qN.exec(t), e !== null) {
|
|
22405
22405
|
const [, r, n, s, i] = e, u = hr.fromParts(parseInt(r, 10), parseInt(n, 10), parseInt(s, 10), parseInt(i, 10));
|
|
22406
22406
|
if (u !== null) return u;
|
|
22407
22407
|
throw new C("InvalidTime");
|
|
@@ -22409,23 +22409,23 @@ function Yc(t) {
|
|
|
22409
22409
|
throw new C("InvalidTime");
|
|
22410
22410
|
}
|
|
22411
22411
|
function ei(t, e) {
|
|
22412
|
-
let r =
|
|
22412
|
+
let r = HN.exec(t);
|
|
22413
22413
|
if (r !== null) {
|
|
22414
22414
|
const [, n, s, i, u, l, c, p] = r, _ = Z.fromObject({ year: parseInt(n, 10), month: parseInt(s, 10), day: parseInt(i, 10), hour: parseInt(u, 10), minute: parseInt(l, 10), second: parseInt(c, 10), millisecond: p ? parseInt(p.replace(".", ""), 10) : 0 }, { zone: ff(e) });
|
|
22415
22415
|
if (_.isValid === !1) throw new C("InvalidTimeStamp");
|
|
22416
22416
|
return _;
|
|
22417
22417
|
}
|
|
22418
|
-
if (r =
|
|
22418
|
+
if (r = YN.exec(t), r !== null) {
|
|
22419
22419
|
const [, n, s, i, u, l, c, p, _, y, v] = r, S = Qr.fromParts(parseInt(n, 10), parseInt(s, 10), parseInt(i, 10), parseInt(u, 10), parseInt(l, 10), parseInt(c, 10), p ? parseInt(p.replace(".", ""), 10) : 0, _ === "-", parseInt(y, 10), parseInt(v, 10));
|
|
22420
22420
|
if (S.isValid === !1) throw new C("InvalidTimeStamp");
|
|
22421
22421
|
return S;
|
|
22422
22422
|
}
|
|
22423
|
-
if (r =
|
|
22423
|
+
if (r = ZN.exec(t), r !== null) {
|
|
22424
22424
|
const [, n, s, i, u, l, c, p, _] = r, y = Qr.fromParts(parseInt(n, 10), parseInt(s, 10), parseInt(i, 10), parseInt(u, 10), parseInt(l, 10), 0, 0, c === "-", parseInt(p, 10), parseInt(_, 10));
|
|
22425
22425
|
if (y.isValid === !1) throw new C("InvalidTimeStamp");
|
|
22426
22426
|
return y;
|
|
22427
22427
|
}
|
|
22428
|
-
if (r =
|
|
22428
|
+
if (r = XN.exec(t), r !== null) {
|
|
22429
22429
|
const [, n, s, i, u, l] = r, c = Z.fromObject({ year: parseInt(n, 10), month: parseInt(s, 10), day: parseInt(i, 10), hour: parseInt(u, 10), minute: parseInt(l, 10), second: 0 }, { zone: ff(e) });
|
|
22430
22430
|
if (c.isValid === !1) throw new C("InvalidTimeStamp");
|
|
22431
22431
|
return c;
|
|
@@ -22449,16 +22449,16 @@ function $d(t, e) {
|
|
|
22449
22449
|
return u;
|
|
22450
22450
|
}
|
|
22451
22451
|
const G2 = new Float32Array(1), Ac = new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));
|
|
22452
|
-
function
|
|
22452
|
+
function JN(t) {
|
|
22453
22453
|
return Ac.setFloat64(0, t), Ac.getBigInt64(0);
|
|
22454
22454
|
}
|
|
22455
|
-
function
|
|
22455
|
+
function QN(t) {
|
|
22456
22456
|
return Ac.setBigInt64(0, t), Ac.getFloat64(0);
|
|
22457
22457
|
}
|
|
22458
22458
|
const Rf = 1000000n;
|
|
22459
|
-
|
|
22460
|
-
function
|
|
22461
|
-
const e =
|
|
22459
|
+
KN(1);
|
|
22460
|
+
function KN(t) {
|
|
22461
|
+
const e = JN(t = Math.abs(t)), r = QN(e <= Rf ? Rf : e - Rf);
|
|
22462
22462
|
return Math.abs(t - r);
|
|
22463
22463
|
}
|
|
22464
22464
|
function eE(t) {
|
|
@@ -22939,7 +22939,7 @@ function f9(t, e, r, n) {
|
|
|
22939
22939
|
}
|
|
22940
22940
|
if (et(e)) {
|
|
22941
22941
|
if (qt(r)) return CE(e, r, t);
|
|
22942
|
-
if (_n(r)) return
|
|
22942
|
+
if (_n(r)) return NE(e, r, t);
|
|
22943
22943
|
if (et(r)) return rT();
|
|
22944
22944
|
if (Je(r)) return eT();
|
|
22945
22945
|
if (qe(r)) return tT();
|
|
@@ -22951,7 +22951,7 @@ function f9(t, e, r, n) {
|
|
|
22951
22951
|
if (qt(r)) return PE(e, r, t);
|
|
22952
22952
|
if (_n(r)) return TE(e, r, t);
|
|
22953
22953
|
if (et(r)) return SE(e, r, t);
|
|
22954
|
-
if (Je(r)) return
|
|
22954
|
+
if (Je(r)) return xE(e, r, t);
|
|
22955
22955
|
if (qe(r)) return EE(e, r, t);
|
|
22956
22956
|
if (Ge(r)) return vE(e, r, t);
|
|
22957
22957
|
if (Et(r)) return GE();
|
|
@@ -23015,11 +23015,11 @@ function SE(t, e, r) {
|
|
|
23015
23015
|
if (r === "+") return e.plus("milliseconds", t.valueInMilliseconds());
|
|
23016
23016
|
throw new C("InvalidOperator");
|
|
23017
23017
|
}
|
|
23018
|
-
function
|
|
23018
|
+
function xE(t, e, r) {
|
|
23019
23019
|
if (r === "+") return e.plus("milliseconds", t.valueInMilliseconds());
|
|
23020
23020
|
throw new C("InvalidOperator");
|
|
23021
23021
|
}
|
|
23022
|
-
function
|
|
23022
|
+
function NE(t, e, r) {
|
|
23023
23023
|
switch (r) {
|
|
23024
23024
|
case "+":
|
|
23025
23025
|
return t.plus("milliseconds", e.valueInMilliseconds());
|
|
@@ -23335,7 +23335,7 @@ let kf = class extends SyntaxError {
|
|
|
23335
23335
|
const S = v.map(p);
|
|
23336
23336
|
if (S.sort(), S.length > 0) {
|
|
23337
23337
|
let E = 1;
|
|
23338
|
-
for (let
|
|
23338
|
+
for (let N = 1; N < S.length; N++) S[N - 1] !== S[N] && (S[E] = S[N], E++);
|
|
23339
23339
|
S.length = E;
|
|
23340
23340
|
}
|
|
23341
23341
|
switch (S.length) {
|
|
@@ -23356,7 +23356,7 @@ let kf = class extends SyntaxError {
|
|
|
23356
23356
|
function pT(t, e) {
|
|
23357
23357
|
const r = {}, n = (e = e !== void 0 ? e : {}).grammarSource, s = { start: jd };
|
|
23358
23358
|
let i = jd;
|
|
23359
|
-
const u = "!", l = "=", c = ">=", p = ">", _ = "<=", y = "<>", v = "!=", S = "||", E = "@",
|
|
23359
|
+
const u = "!", l = "=", c = ">=", p = ">", _ = "<=", y = "<>", v = "!=", S = "||", E = "@", N = "'", k = "N'", W = "''", z = ".", U = "null", Q = "true", te = "false", fe = "in", F = "is", V = "like", q = "escape", ie = "not", _e = "and", j = "or", H = "between", ne = "from", ee = "for", ae = "substring", we = "extract", Te = "trim", tt = "position", at = "timestamp", Pr = "date", Kr = "time", ut = "leading", ti = "trailing", cn = "both", ri = "cast", ni = "as", Zc = "integer", Xc = "int", Jc = "smallint", Qc = "float", Kc = "real", e1 = "varchar", t1 = "to", r1 = "interval", n1 = "year", s1 = "timezone_hour", i1 = "timezone_minute", o1 = "month", lo = "day", Cn = "hour", a1 = "minute", u1 = "second", l1 = "dow", co = "doy", c1 = "week", f1 = "case", si = "end", h1 = "when", kn = "then", d1 = "else", fo = ",", m1 = "(", p1 = ")", ho = "`", g1 = /^[<-=]/, Dn = /^[+\-]/, mo = /^[*\/]/, po = /^[A-Za-z_\x80-\uFFFF]/, go = /^[A-Za-z0-9_]/, ii = /^[A-Za-z0-9_.\x80-\uFFFF]/, _o = /^["]/, oi = /^[^']/, yo = /^[0-9]/, bo = /^[eE]/, wo = /^[ \t\n\r]/, ai = /^[^`]/, vo = re("!", !1), So = re("=", !1), xo = re(">=", !1), No = re(">", !1), Eo = re("<=", !1), To = re("<>", !1), Po = pr([["<", "="]], !1, !1, !1), Lo = re("!=", !1), $n = pr(["+", "-"], !1, !1, !1), Ao = re("||", !1), Mo = pr(["*", "/"], !1, !1, !1), Oo = pr([["A", "Z"], ["a", "z"], "_", ["", ""]], !1, !1, !1), Ro = pr([["A", "Z"], ["a", "z"], ["0", "9"], "_"], !1, !1, !1), ui = pr([["A", "Z"], ["a", "z"], ["0", "9"], "_", ".", ["", ""]], !1, !1, !1), Io = pr(['"'], !1, !1, !1), Co = re("@", !1), li = re("'", !1), ko = re("N'", !1), ci = re("''", !1), fi = pr(["'"], !0, !1, !1), Do = re(".", !1), $o = pr([["0", "9"]], !1, !1, !1), Fo = pr(["e", "E"], !1, !1, !1), Uo = re("NULL", !0), Vo = re("TRUE", !0), zo = re("FALSE", !0), jo = re("IN", !0), Go = re("IS", !0), Wo = re("LIKE", !0), Bo = re("ESCAPE", !0), qo = re("NOT", !0), Ho = re("AND", !0), Yo = re("OR", !0), Zo = re("BETWEEN", !0), Xo = re("FROM", !0), Jo = re("FOR", !0), Qo = re("SUBSTRING", !0), Ko = re("EXTRACT", !0), ea = re("TRIM", !0), ta = re("POSITION", !0), ra = re("TIMESTAMP", !0), na = re("DATE", !0), sa = re("TIME", !0), ia = re("LEADING", !0), oa = re("TRAILING", !0), aa = re("BOTH", !0), ua = re("CAST", !0), la = re("AS", !0), ca = re("INTEGER", !0), fa = re("INT", !0), ha = re("SMALLINT", !0), da = re("FLOAT", !0), ma = re("REAL", !0), pa = re("VARCHAR", !0), ga = re("TO", !0), _a = re("INTERVAL", !0), ya = re("YEAR", !0), ba = re("TIMEZONE_HOUR", !0), wa = re("TIMEZONE_MINUTE", !0), va = re("MONTH", !0), Sa = re("DAY", !0), xa = re("HOUR", !0), Na = re("MINUTE", !0), Ea = re("SECOND", !0), Ta = re("DOW", !0), Pa = re("DOY", !0), La = re("WEEK", !0), Aa = re("CASE", !0), Ma = re("END", !0), Oa = re("WHEN", !0), Ra = re("THEN", !0), Ia = re("ELSE", !0), Ca = re(",", !1), ka = re("(", !1), Da = re(")", !1), $a = pr([" ", " ", `
|
|
23360
23360
|
`, "\r"], !1, !1, !1), hi = re("`", !1), di = pr(["`"], !0, !1, !1);
|
|
23361
23361
|
function _1(a) {
|
|
23362
23362
|
return a;
|
|
@@ -23368,19 +23368,19 @@ function pT(t, e) {
|
|
|
23368
23368
|
return { op: f, expr: m, location: J() };
|
|
23369
23369
|
}
|
|
23370
23370
|
function Ua(a, f) {
|
|
23371
|
-
return
|
|
23371
|
+
return Ni(a, f);
|
|
23372
23372
|
}
|
|
23373
23373
|
function pi(a, f, m) {
|
|
23374
23374
|
return { op: f, expr: m, location: J() };
|
|
23375
23375
|
}
|
|
23376
23376
|
function Va(a, f) {
|
|
23377
|
-
return
|
|
23377
|
+
return Ni(a, f);
|
|
23378
23378
|
}
|
|
23379
23379
|
function za(a) {
|
|
23380
23380
|
return Yb("NOT", a, J());
|
|
23381
23381
|
}
|
|
23382
23382
|
function ja(a, f) {
|
|
23383
|
-
return f == "" || f == null || f == null ? a : f.type == "arithmetic" ?
|
|
23383
|
+
return f == "" || f == null || f == null ? a : f.type == "arithmetic" ? Ni(a, f.tail) : x0(f.op, a, f.right, f.escape, J());
|
|
23384
23384
|
}
|
|
23385
23385
|
function gi(a, f) {
|
|
23386
23386
|
return { op: a, expr: f, location: J() };
|
|
@@ -23428,13 +23428,13 @@ function pT(t, e) {
|
|
|
23428
23428
|
return { op: f, expr: m, location: J() };
|
|
23429
23429
|
}
|
|
23430
23430
|
function ru(a, f) {
|
|
23431
|
-
return
|
|
23431
|
+
return Ni(a, f);
|
|
23432
23432
|
}
|
|
23433
23433
|
function yi(a, f, m) {
|
|
23434
23434
|
return { op: f, expr: m, location: J() };
|
|
23435
23435
|
}
|
|
23436
23436
|
function nu(a, f) {
|
|
23437
|
-
return
|
|
23437
|
+
return Ni(a, f);
|
|
23438
23438
|
}
|
|
23439
23439
|
function su(a) {
|
|
23440
23440
|
return a.paren = !0, a;
|
|
@@ -23499,10 +23499,10 @@ function pT(t, e) {
|
|
|
23499
23499
|
function Su() {
|
|
23500
23500
|
return { type: "data-type", location: J(), value: { type: "smallint" } };
|
|
23501
23501
|
}
|
|
23502
|
-
function
|
|
23502
|
+
function xu() {
|
|
23503
23503
|
return { type: "data-type", location: J(), value: { type: "float" } };
|
|
23504
23504
|
}
|
|
23505
|
-
function
|
|
23505
|
+
function Nu() {
|
|
23506
23506
|
return { type: "data-type", location: J(), value: { type: "real" } };
|
|
23507
23507
|
}
|
|
23508
23508
|
function Eu() {
|
|
@@ -23583,10 +23583,10 @@ function pT(t, e) {
|
|
|
23583
23583
|
function S1(a) {
|
|
23584
23584
|
return { type: "interval-period", location: J(), period: a.value, precision: null, secondary: null };
|
|
23585
23585
|
}
|
|
23586
|
-
function
|
|
23586
|
+
function x1(a, f) {
|
|
23587
23587
|
return { type: "interval-period", location: J(), period: "second", precision: a, secondary: f };
|
|
23588
23588
|
}
|
|
23589
|
-
function
|
|
23589
|
+
function N1(a) {
|
|
23590
23590
|
return { type: "interval-period", location: J(), period: "second", precision: a, secondary: null };
|
|
23591
23591
|
}
|
|
23592
23592
|
function E1() {
|
|
@@ -23730,7 +23730,7 @@ function pT(t, e) {
|
|
|
23730
23730
|
function h() {
|
|
23731
23731
|
return "DATE";
|
|
23732
23732
|
}
|
|
23733
|
-
function
|
|
23733
|
+
function x() {
|
|
23734
23734
|
return "TIME";
|
|
23735
23735
|
}
|
|
23736
23736
|
function I() {
|
|
@@ -23787,10 +23787,10 @@ function pT(t, e) {
|
|
|
23787
23787
|
function S9() {
|
|
23788
23788
|
return "DAY";
|
|
23789
23789
|
}
|
|
23790
|
-
function
|
|
23790
|
+
function x9() {
|
|
23791
23791
|
return "HOUR";
|
|
23792
23792
|
}
|
|
23793
|
-
function
|
|
23793
|
+
function N9() {
|
|
23794
23794
|
return "MINUTE";
|
|
23795
23795
|
}
|
|
23796
23796
|
function E9() {
|
|
@@ -23881,7 +23881,7 @@ function pT(t, e) {
|
|
|
23881
23881
|
let a, f, m, b, P, B, le, Ee;
|
|
23882
23882
|
if (a = d, f = St(), f !== r) {
|
|
23883
23883
|
for (R(), m = [], b = Ue(); b !== r; ) m.push(b), b = d, P = d, B = R(), le = hn(), le !== r ? (Ee = R(), B = [B, le, Ee], P = B) : (d = P, P = r), P !== r ? (P = Ue(), P === r ? (d = b, b = r) : b = P) : b = P;
|
|
23884
|
-
b = R(), P =
|
|
23884
|
+
b = R(), P = xt(), P !== r ? (M = a, a = Fa(m)) : (d = a, a = r);
|
|
23885
23885
|
} else d = a, a = r;
|
|
23886
23886
|
return a;
|
|
23887
23887
|
}
|
|
@@ -23903,7 +23903,7 @@ function pT(t, e) {
|
|
|
23903
23903
|
}
|
|
23904
23904
|
function el() {
|
|
23905
23905
|
let a, f, m, b, P;
|
|
23906
|
-
return a = d, f =
|
|
23906
|
+
return a = d, f = xi(), f === r && (f = d, t.charCodeAt(d) === 33 ? (m = u, d++) : (m = r, L === 0 && Y(vo)), m !== r ? (b = d, L++, t.charCodeAt(d) === 61 ? (P = l, d++) : (P = r, L === 0 && Y(So)), L--, P === r ? b = void 0 : (d = b, b = r), b !== r ? (m = [m, b], f = m) : (d = f, f = r)) : (d = f, f = r)), f !== r ? (m = R(), b = el(), b !== r ? (M = a, a = za(b)) : (d = a, a = r)) : (d = a, a = r), a === r && (a = U9()), a;
|
|
23907
23907
|
}
|
|
23908
23908
|
function U9() {
|
|
23909
23909
|
let a, f, m, b;
|
|
@@ -23921,27 +23921,27 @@ function pT(t, e) {
|
|
|
23921
23921
|
}
|
|
23922
23922
|
function Wd() {
|
|
23923
23923
|
let a;
|
|
23924
|
-
return t.substr(d, 2) === c ? (a = c, d += 2) : (a = r, L === 0 && Y(
|
|
23924
|
+
return t.substr(d, 2) === c ? (a = c, d += 2) : (a = r, L === 0 && Y(xo)), a === r && (t.charCodeAt(d) === 62 ? (a = p, d++) : (a = r, L === 0 && Y(No)), a === r && (t.substr(d, 2) === _ ? (a = _, d += 2) : (a = r, L === 0 && Y(Eo)), a === r && (t.substr(d, 2) === y ? (a = y, d += 2) : (a = r, L === 0 && Y(To)), a === r && (a = t.charAt(d), g1.test(a) ? d++ : (a = r, L === 0 && Y(Po)), a === r && (t.substr(d, 2) === v ? (a = v, d += 2) : (a = r, L === 0 && Y(Lo))))))), a;
|
|
23925
23925
|
}
|
|
23926
23926
|
function j9() {
|
|
23927
23927
|
let a, f, m, b;
|
|
23928
|
-
return a = d, f = o0(), f !== r ? (R(), m =
|
|
23928
|
+
return a = d, f = o0(), f !== r ? (R(), m = xi(), m !== r ? (R(), b = Or(), b !== r ? (M = a, a = Wa(f, b)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r), a === r && (a = d, f = o0(), f !== r ? (R(), m = Or(), m !== r ? (M = a, a = Ba(f, m)) : (d = a, a = r)) : (d = a, a = r)), a;
|
|
23929
23929
|
}
|
|
23930
23930
|
function G9() {
|
|
23931
23931
|
let a, f, m, b, P, B, le, Ee;
|
|
23932
|
-
return a = d, f =
|
|
23932
|
+
return a = d, f = xi(), f !== r ? (R(), m = l0(), m !== r ? (b = R(), P = d, B = Or(), B !== r ? (R(), le = al(), le !== r ? (R(), Ee = Or(), Ee !== r ? (M = P, P = qa(m, B, Ee)) : (d = P, P = r)) : (d = P, P = r)) : (d = P, P = r), P !== r ? (M = a, a = Ha(m, P)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r), a === r && (a = d, f = l0(), f !== r ? (R(), m = d, b = Or(), b !== r ? (P = R(), B = al(), B !== r ? (R(), le = Or(), le !== r ? (M = m, m = Ya(f, b, le)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r), m !== r ? (M = a, a = Za(f, m)) : (d = a, a = r)) : (d = a, a = r)), a;
|
|
23933
23933
|
}
|
|
23934
23934
|
function Bd() {
|
|
23935
23935
|
let a, f, m, b, P;
|
|
23936
|
-
return a = d, f = d, m =
|
|
23936
|
+
return a = d, f = d, m = xi(), m !== r ? (b = R(), P = a0(), P !== r ? (m = [m, b, P], f = m) : (d = f, f = r)) : (d = f, f = r), f !== r && (M = a, f = Xa(f)), a = f, a === r && (a = a0()), a;
|
|
23937
23937
|
}
|
|
23938
23938
|
function qd() {
|
|
23939
23939
|
let a, f, m, b, P;
|
|
23940
|
-
return a = d, f = d, m =
|
|
23940
|
+
return a = d, f = d, m = xi(), m !== r ? (b = R(), P = B1(), P !== r ? (m = [m, b, P], f = m) : (d = f, f = r)) : (d = f, f = r), f !== r && (M = a, f = Ja(f)), a = f, a === r && (a = B1()), a;
|
|
23941
23941
|
}
|
|
23942
23942
|
function W9() {
|
|
23943
23943
|
let a, f, m, b, P;
|
|
23944
|
-
return a = d, f = Bd(), f !== r ? (R(), m = Or(), m !== r ? (R(), b =
|
|
23944
|
+
return a = d, f = Bd(), f !== r ? (R(), m = Or(), m !== r ? (R(), b = Nb(), b !== r ? (R(), P = W1(), P !== r ? (M = a, a = Qa(f, m, P)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r), a === r && (a = d, f = Bd(), f !== r ? (R(), m = Or(), m !== r ? (M = a, a = Ka(f, m)) : (d = a, a = r)) : (d = a, a = r)), a;
|
|
23945
23945
|
}
|
|
23946
23946
|
function B9() {
|
|
23947
23947
|
let a, f, m;
|
|
@@ -23973,7 +23973,7 @@ function pT(t, e) {
|
|
|
23973
23973
|
}
|
|
23974
23974
|
function z1() {
|
|
23975
23975
|
let a, f, m, b;
|
|
23976
|
-
return a = ib(), a === r && (a = K9(), a === r && (a = eb(), a === r && (a = rb(), a === r && (a = nb(), a === r && (a = tb(), a === r && (a = sb(), a === r && (a = pb(), a === r && (a = q9(), a === r && (a = G1(), a === r && (a = d, f = St(), f !== r ? (R(), m = Ue(), m !== r ? (R(), b =
|
|
23976
|
+
return a = ib(), a === r && (a = K9(), a === r && (a = eb(), a === r && (a = rb(), a === r && (a = nb(), a === r && (a = tb(), a === r && (a = sb(), a === r && (a = pb(), a === r && (a = q9(), a === r && (a = G1(), a === r && (a = d, f = St(), f !== r ? (R(), m = Ue(), m !== r ? (R(), b = xt(), b !== r ? (M = a, a = su(m)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r))))))))))), a;
|
|
23977
23977
|
}
|
|
23978
23978
|
function q9() {
|
|
23979
23979
|
let a, f;
|
|
@@ -24042,23 +24042,23 @@ function pT(t, e) {
|
|
|
24042
24042
|
}
|
|
24043
24043
|
function K9() {
|
|
24044
24044
|
let a, f, m, b, P, B, le, Ee;
|
|
24045
|
-
return a = d, f = c0(), f !== r ? (R(), m = d, b = St(), b !== r ? (R(), P = e0(), P !== r ? (R(), B = q1(), B !== r ? (R(), le = Ue(), le !== r ? (R(), Ee =
|
|
24045
|
+
return a = d, f = c0(), f !== r ? (R(), m = d, b = St(), b !== r ? (R(), P = e0(), P !== r ? (R(), B = q1(), B !== r ? (R(), le = Ue(), le !== r ? (R(), Ee = xt(), Ee !== r ? (M = m, m = hu(P, le)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r), m === r && (m = d, b = St(), b !== r ? (R(), P = e0(), P !== r ? (R(), B = hn(), B !== r ? (R(), le = Ue(), le !== r ? (R(), Ee = xt(), Ee !== r ? (M = m, m = du(P, le)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)), m !== r ? (M = a, a = mu(m)) : (d = a, a = r)) : (d = a, a = r), a;
|
|
24046
24046
|
}
|
|
24047
24047
|
function eb() {
|
|
24048
24048
|
let a, f, m, b, P, B, le, Ee, dn, cl, Ei;
|
|
24049
|
-
return a = d, f = Tb(), f !== r ? (R(), m = d, b = St(), b !== r ? (R(), P = Ue(), P !== r ? (R(), B = q1(), B !== r ? (R(), le = Ue(), le !== r ? (R(), Ee = d, dn = Eb(), dn !== r ? (cl = R(), Ei = Ue(), Ei !== r ? (R(), Ee = Ei) : (d = Ee, Ee = r)) : (d = Ee, Ee = r), Ee === r && (Ee = null), dn =
|
|
24049
|
+
return a = d, f = Tb(), f !== r ? (R(), m = d, b = St(), b !== r ? (R(), P = Ue(), P !== r ? (R(), B = q1(), B !== r ? (R(), le = Ue(), le !== r ? (R(), Ee = d, dn = Eb(), dn !== r ? (cl = R(), Ei = Ue(), Ei !== r ? (R(), Ee = Ei) : (d = Ee, Ee = r)) : (d = Ee, Ee = r), Ee === r && (Ee = null), dn = xt(), dn !== r ? (M = m, m = pu(P, le, Ee)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r), m === r && (m = d, b = St(), b !== r ? (R(), P = Ue(), P !== r ? (R(), B = hn(), B !== r ? (R(), le = Ue(), le !== r ? (R(), Ee = hn(), Ee !== r ? (dn = R(), cl = Ue(), cl !== r ? (Ei = xt(), Ei !== r ? (M = m, m = gu(P, le, cl)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)), m !== r ? (M = a, a = _u(m)) : (d = a, a = r)) : (d = a, a = r), a;
|
|
24050
24050
|
}
|
|
24051
24051
|
function tb() {
|
|
24052
24052
|
let a, f, m, b, P, B, le, Ee;
|
|
24053
|
-
return a = d, f = Rb(), f !== r ? (R(), m = d, b = St(), b !== r ? (R(), P = Ue(), P !== r ? (R(), B = Ib(), B !== r ? (R(), le = Qd(), le !== r ? (R(), Ee =
|
|
24053
|
+
return a = d, f = Rb(), f !== r ? (R(), m = d, b = St(), b !== r ? (R(), P = Ue(), P !== r ? (R(), B = Ib(), B !== r ? (R(), le = Qd(), le !== r ? (R(), Ee = xt(), Ee !== r ? (M = m, m = yu(P, le)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r), m === r && (m = d, b = St(), b !== r ? (R(), P = Ue(), P !== r ? (R(), B = hn(), B !== r ? (R(), le = Qd(), le !== r ? (R(), Ee = xt(), Ee !== r ? (M = m, m = bu(P, le)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)), m !== r ? (M = a, a = wu(m)) : (d = a, a = r)) : (d = a, a = r), a;
|
|
24054
24054
|
}
|
|
24055
24055
|
function Qd() {
|
|
24056
24056
|
let a, f, m, b, P;
|
|
24057
|
-
return a = d, f = Cb(), f === r && (f = kb()), f !== r && (M = a, f = vu()), a = f, a === r && (a = d, f = Db(), f !== r && (M = a, f = Su()), a = f, a === r && (a = d, f = $b(), f !== r && (M = a, f =
|
|
24057
|
+
return a = d, f = Cb(), f === r && (f = kb()), f !== r && (M = a, f = vu()), a = f, a === r && (a = d, f = Db(), f !== r && (M = a, f = Su()), a = f, a === r && (a = d, f = $b(), f !== r && (M = a, f = xu()), a = f, a === r && (a = d, f = Fb(), f !== r && (M = a, f = Nu()), a = f, a === r && (a = d, f = h0(), f !== r && (M = a, f = Eu()), a = f, a === r && (a = d, f = f0(), f !== r && (M = a, f = Tu()), a = f, a === r && (a = d, f = d0(), f !== r && (M = a, f = Pu()), a = f, a === r && (a = d, f = Ub(), f !== r ? (R(), m = St(), m !== r ? (R(), b = Fn(), b !== r ? (R(), P = xt(), P !== r ? (M = a, a = Lu(b)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r)))))))), a;
|
|
24058
24058
|
}
|
|
24059
24059
|
function rb() {
|
|
24060
24060
|
let a, f, m, b, P, B, le, Ee, dn;
|
|
24061
|
-
return a = d, f = Pb(), f !== r ? (R(), m = d, b = St(), b !== r ? (R(), P = Kd(), R(), B = Ue(), B !== r ? (R(), le = q1(), le !== r ? (R(), Ee = Ue(), Ee !== r ? (R(), dn =
|
|
24061
|
+
return a = d, f = Pb(), f !== r ? (R(), m = d, b = St(), b !== r ? (R(), P = Kd(), R(), B = Ue(), B !== r ? (R(), le = q1(), le !== r ? (R(), Ee = Ue(), Ee !== r ? (R(), dn = xt(), dn !== r ? (M = m, m = Au(P, B, Ee)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r), m === r && (m = d, b = St(), b !== r ? (R(), P = Kd(), R(), B = Ue(), B !== r ? (R(), le = xt(), le !== r ? (M = m, m = Mu(P, B)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)), m !== r ? (M = a, a = Ou(m)) : (d = a, a = r)) : (d = a, a = r), a;
|
|
24062
24062
|
}
|
|
24063
24063
|
function Kd() {
|
|
24064
24064
|
let a, f;
|
|
@@ -24066,7 +24066,7 @@ function pT(t, e) {
|
|
|
24066
24066
|
}
|
|
24067
24067
|
function nb() {
|
|
24068
24068
|
let a, f, m, b, P, B, le, Ee;
|
|
24069
|
-
return a = d, f = Lb(), f !== r ? (R(), m = d, b = St(), b !== r ? (R(), P = Ue(), P !== r ? (R(), B = B1(), B !== r ? (R(), le = Ue(), le !== r ? (R(), Ee =
|
|
24069
|
+
return a = d, f = Lb(), f !== r ? (R(), m = d, b = St(), b !== r ? (R(), P = Ue(), P !== r ? (R(), B = B1(), B !== r ? (R(), le = Ue(), le !== r ? (R(), Ee = xt(), Ee !== r ? (M = m, m = Iu(P, le)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r), m === r && (m = d, b = St(), b !== r ? (R(), P = Ue(), P !== r ? (R(), B = hn(), B !== r ? (R(), le = Ue(), le !== r ? (R(), Ee = xt(), Ee !== r ? (M = m, m = Cu(P, le)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)) : (d = m, m = r)), m !== r ? (M = a, a = ku(m)) : (d = a, a = r)) : (d = a, a = r), a;
|
|
24070
24070
|
}
|
|
24071
24071
|
function sb() {
|
|
24072
24072
|
let a, f, m, b;
|
|
@@ -24098,15 +24098,15 @@ function pT(t, e) {
|
|
|
24098
24098
|
}
|
|
24099
24099
|
function lb() {
|
|
24100
24100
|
let a, f, m, b, P;
|
|
24101
|
-
return a = d, f = vi(), f !== r ? (R(), m = St(), m !== r ? (R(), b = nl(), b !== r ? (R(), P =
|
|
24101
|
+
return a = d, f = vi(), f !== r ? (R(), m = St(), m !== r ? (R(), b = nl(), b !== r ? (R(), P = xt(), P !== r ? (M = a, a = Gu(f, b)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r), a === r && (a = d, f = vi(), f !== r && (M = a, f = Wu(f)), a = f), a;
|
|
24102
24102
|
}
|
|
24103
24103
|
function cb() {
|
|
24104
24104
|
let a, f, m, b, P, B, le;
|
|
24105
|
-
return a = d, f = vi(), f !== r && (M = a, f = Bu(f)), a = f, a === r && (a = d, f = Un(), f !== r ? (R(), m = St(), m !== r ? (R(), b = nl(), b !== r ? (R(), P = hn(), P !== r ? (R(), B = rl(), B !== r ? (R(), le =
|
|
24105
|
+
return a = d, f = vi(), f !== r && (M = a, f = Bu(f)), a = f, a === r && (a = d, f = Un(), f !== r ? (R(), m = St(), m !== r ? (R(), b = nl(), b !== r ? (R(), P = hn(), P !== r ? (R(), B = rl(), B !== r ? (R(), le = xt(), le !== r ? (M = a, a = qu(b, B)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r), a === r && (a = d, f = Un(), f !== r ? (R(), m = St(), m !== r ? (R(), b = nl(), b !== r ? (R(), P = xt(), P !== r ? (M = a, a = os(b)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r), a === r && (a = d, f = Un(), f !== r && (M = a, f = w1()), a = f))), a;
|
|
24106
24106
|
}
|
|
24107
24107
|
function fb() {
|
|
24108
24108
|
let a, f, m, b, P, B, le;
|
|
24109
|
-
return a = d, f = vi(), f !== r ? (R(), m = St(), m !== r ? (R(), b = rl(), b !== r ? (R(), P =
|
|
24109
|
+
return a = d, f = vi(), f !== r ? (R(), m = St(), m !== r ? (R(), b = rl(), b !== r ? (R(), P = xt(), P !== r ? (M = a, a = v1(f, b)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r), a === r && (a = d, f = vi(), f !== r && (M = a, f = S1(f)), a = f, a === r && (a = d, f = Un(), f !== r ? (R(), m = St(), m !== r ? (R(), b = nl(), b !== r ? (R(), P = hn(), P !== r ? (R(), B = rl(), B !== r ? (R(), le = xt(), le !== r ? (M = a, a = x1(b, B)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r), a === r && (a = d, f = Un(), f !== r ? (R(), m = St(), m !== r ? (R(), b = rl(), b !== r ? (R(), P = xt(), P !== r ? (M = a, a = N1(b)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r)) : (d = a, a = r), a === r && (a = d, f = Un(), f !== r && (M = a, f = E1()), a = f)))), a;
|
|
24110
24110
|
}
|
|
24111
24111
|
function vi() {
|
|
24112
24112
|
let a, f;
|
|
@@ -24130,7 +24130,7 @@ function pT(t, e) {
|
|
|
24130
24130
|
}
|
|
24131
24131
|
function mb() {
|
|
24132
24132
|
let a, f;
|
|
24133
|
-
return a = d, f = Sb(), f !== r && (M = a, f = O1()), a = f, a === r && (a = d, f =
|
|
24133
|
+
return a = d, f = Sb(), f !== r && (M = a, f = O1()), a = f, a === r && (a = d, f = xb(), f !== r && (M = a, f = R1()), a = f), a;
|
|
24134
24134
|
}
|
|
24135
24135
|
function Si() {
|
|
24136
24136
|
let a;
|
|
@@ -24138,9 +24138,9 @@ function pT(t, e) {
|
|
|
24138
24138
|
}
|
|
24139
24139
|
function W1() {
|
|
24140
24140
|
let a, f, m, b, P;
|
|
24141
|
-
if (a = d, t.charCodeAt(d) === 39 ? (f =
|
|
24141
|
+
if (a = d, t.charCodeAt(d) === 39 ? (f = N, d++) : (f = r, L === 0 && Y(li)), f === r && (t.substr(d, 2) === k ? (f = k, d += 2) : (f = r, L === 0 && Y(ko))), f !== r) {
|
|
24142
24142
|
for (m = [], b = d, t.substr(d, 2) === W ? (P = W, d += 2) : (P = r, L === 0 && Y(ci)), P !== r && (M = b, P = be()), b = P, b === r && (b = t.charAt(d), oi.test(b) ? d++ : (b = r, L === 0 && Y(fi))); b !== r; ) m.push(b), b = d, t.substr(d, 2) === W ? (P = W, d += 2) : (P = r, L === 0 && Y(ci)), P !== r && (M = b, P = be()), b = P, b === r && (b = t.charAt(d), oi.test(b) ? d++ : (b = r, L === 0 && Y(fi)));
|
|
24143
|
-
t.charCodeAt(d) === 39 ? (b =
|
|
24143
|
+
t.charCodeAt(d) === 39 ? (b = N, d++) : (b = r, L === 0 && Y(li)), b !== r ? (M = a, a = bi(m)) : (d = a, a = r);
|
|
24144
24144
|
} else d = a, a = r;
|
|
24145
24145
|
return a;
|
|
24146
24146
|
}
|
|
@@ -24228,7 +24228,7 @@ function pT(t, e) {
|
|
|
24228
24228
|
let a, f, m, b;
|
|
24229
24229
|
return a = d, f = t.substr(d, 4), f.toLowerCase() === Q ? d += 4 : (f = r, L === 0 && Y(Vo)), f !== r ? (m = d, L++, b = me(), L--, b === r ? m = void 0 : (d = m, m = r), m !== r ? (f = [f, m], a = f) : (d = a, a = r)) : (d = a, a = r), a;
|
|
24230
24230
|
}
|
|
24231
|
-
function
|
|
24231
|
+
function xb() {
|
|
24232
24232
|
let a, f, m, b;
|
|
24233
24233
|
return a = d, f = t.substr(d, 5), f.toLowerCase() === te ? d += 5 : (f = r, L === 0 && Y(zo)), f !== r ? (m = d, L++, b = me(), L--, b === r ? m = void 0 : (d = m, m = r), m !== r ? (f = [f, m], a = f) : (d = a, a = r)) : (d = a, a = r), a;
|
|
24234
24234
|
}
|
|
@@ -24244,11 +24244,11 @@ function pT(t, e) {
|
|
|
24244
24244
|
let a, f, m, b;
|
|
24245
24245
|
return a = d, f = t.substr(d, 4), f.toLowerCase() === V ? d += 4 : (f = r, L === 0 && Y(Wo)), f !== r ? (m = d, L++, b = me(), L--, b === r ? m = void 0 : (d = m, m = r), m !== r ? (M = a, a = Xt()) : (d = a, a = r)) : (d = a, a = r), a;
|
|
24246
24246
|
}
|
|
24247
|
-
function
|
|
24247
|
+
function Nb() {
|
|
24248
24248
|
let a, f, m, b;
|
|
24249
24249
|
return a = d, f = t.substr(d, 6), f.toLowerCase() === q ? d += 6 : (f = r, L === 0 && Y(Bo)), f !== r ? (m = d, L++, b = me(), L--, b === r ? m = void 0 : (d = m, m = r), m !== r ? (M = a, a = lt()) : (d = a, a = r)) : (d = a, a = r), a;
|
|
24250
24250
|
}
|
|
24251
|
-
function
|
|
24251
|
+
function xi() {
|
|
24252
24252
|
let a, f, m, b;
|
|
24253
24253
|
return a = d, f = t.substr(d, 3), f.toLowerCase() === ie ? d += 3 : (f = r, L === 0 && Y(qo)), f !== r ? (m = d, L++, b = me(), L--, b === r ? m = void 0 : (d = m, m = r), m !== r ? (M = a, a = wt()) : (d = a, a = r)) : (d = a, a = r), a;
|
|
24254
24254
|
}
|
|
@@ -24298,7 +24298,7 @@ function pT(t, e) {
|
|
|
24298
24298
|
}
|
|
24299
24299
|
function d0() {
|
|
24300
24300
|
let a, f, m, b;
|
|
24301
|
-
return a = d, f = t.substr(d, 4), f.toLowerCase() === Kr ? d += 4 : (f = r, L === 0 && Y(sa)), f !== r ? (m = d, L++, b = me(), L--, b === r ? m = void 0 : (d = m, m = r), m !== r ? (M = a, a =
|
|
24301
|
+
return a = d, f = t.substr(d, 4), f.toLowerCase() === Kr ? d += 4 : (f = r, L === 0 && Y(sa)), f !== r ? (m = d, L++, b = me(), L--, b === r ? m = void 0 : (d = m, m = r), m !== r ? (M = a, a = x()) : (d = a, a = r)) : (d = a, a = r), a;
|
|
24302
24302
|
}
|
|
24303
24303
|
function Ab() {
|
|
24304
24304
|
let a, f, m, b;
|
|
@@ -24374,11 +24374,11 @@ function pT(t, e) {
|
|
|
24374
24374
|
}
|
|
24375
24375
|
function y0() {
|
|
24376
24376
|
let a, f, m, b;
|
|
24377
|
-
return a = d, f = t.substr(d, 4), f.toLowerCase() === Cn ? d += 4 : (f = r, L === 0 && Y(
|
|
24377
|
+
return a = d, f = t.substr(d, 4), f.toLowerCase() === Cn ? d += 4 : (f = r, L === 0 && Y(xa)), f !== r ? (m = d, L++, b = me(), L--, b === r ? m = void 0 : (d = m, m = r), m !== r ? (M = a, a = x9()) : (d = a, a = r)) : (d = a, a = r), a;
|
|
24378
24378
|
}
|
|
24379
24379
|
function b0() {
|
|
24380
24380
|
let a, f, m, b;
|
|
24381
|
-
return a = d, f = t.substr(d, 6), f.toLowerCase() === a1 ? d += 6 : (f = r, L === 0 && Y(
|
|
24381
|
+
return a = d, f = t.substr(d, 6), f.toLowerCase() === a1 ? d += 6 : (f = r, L === 0 && Y(Na)), f !== r ? (m = d, L++, b = me(), L--, b === r ? m = void 0 : (d = m, m = r), m !== r ? (M = a, a = N9()) : (d = a, a = r)) : (d = a, a = r), a;
|
|
24382
24382
|
}
|
|
24383
24383
|
function Un() {
|
|
24384
24384
|
let a, f, m, b;
|
|
@@ -24424,7 +24424,7 @@ function pT(t, e) {
|
|
|
24424
24424
|
let a;
|
|
24425
24425
|
return t.charCodeAt(d) === 40 ? (a = m1, d++) : (a = r, L === 0 && Y(ka)), a;
|
|
24426
24426
|
}
|
|
24427
|
-
function
|
|
24427
|
+
function xt() {
|
|
24428
24428
|
let a;
|
|
24429
24429
|
return t.charCodeAt(d) === 41 ? (a = p1, d++) : (a = r, L === 0 && Y(Da)), a;
|
|
24430
24430
|
}
|
|
@@ -24449,16 +24449,16 @@ function pT(t, e) {
|
|
|
24449
24449
|
function Yb(a, f, m) {
|
|
24450
24450
|
return { type: "unary-expression", location: m, operator: a, expr: f };
|
|
24451
24451
|
}
|
|
24452
|
-
function
|
|
24452
|
+
function x0(a, f, m, b, P) {
|
|
24453
24453
|
const B = { type: "binary-expression", location: P, operator: a, left: f, right: m };
|
|
24454
24454
|
return b !== void 0 && (B.escape = b), B;
|
|
24455
24455
|
}
|
|
24456
24456
|
function gr(a, ...f) {
|
|
24457
24457
|
return { type: "expression-list", location: a, value: f };
|
|
24458
24458
|
}
|
|
24459
|
-
function
|
|
24459
|
+
function Ni(a, f) {
|
|
24460
24460
|
let m = a;
|
|
24461
|
-
for (const { op: b, expr: P, location: { end: B } } of f) m =
|
|
24461
|
+
for (const { op: b, expr: P, location: { end: B } } of f) m = x0(b, m, P, void 0, { ...m.location, end: B });
|
|
24462
24462
|
return m;
|
|
24463
24463
|
}
|
|
24464
24464
|
function Zb(a) {
|
|
@@ -24472,10 +24472,10 @@ function pT(t, e) {
|
|
|
24472
24472
|
}
|
|
24473
24473
|
wi = i();
|
|
24474
24474
|
const H1 = wi !== r && d === t.length;
|
|
24475
|
-
function
|
|
24475
|
+
function N0() {
|
|
24476
24476
|
throw wi !== r && d < t.length && Y(D9()), F9(Qu, Mr < t.length ? k9(Mr) : null, Mr < t.length ? Ku(Mr, Mr + 1) : Ku(Mr, Mr));
|
|
24477
24477
|
}
|
|
24478
|
-
return e.peg$library ? { peg$result: wi, peg$currPos: d, peg$FAILED: r, peg$maxFailExpected: Qu, peg$maxFailPos: Mr, peg$success: H1, peg$throw: H1 ? void 0 :
|
|
24478
|
+
return e.peg$library ? { peg$result: wi, peg$currPos: d, peg$FAILED: r, peg$maxFailExpected: Qu, peg$maxFailPos: Mr, peg$success: H1, peg$throw: H1 ? void 0 : N0 } : H1 ? wi : void N0();
|
|
24479
24479
|
}
|
|
24480
24480
|
class gT {
|
|
24481
24481
|
static parse(e) {
|
|
@@ -24915,7 +24915,7 @@ class Vd {
|
|
|
24915
24915
|
for (const y of s || []) _.push(this._evaluateNode(p, y, n, null, i));
|
|
24916
24916
|
c.push(_);
|
|
24917
24917
|
}
|
|
24918
|
-
return
|
|
24918
|
+
return zN(e.name, c);
|
|
24919
24919
|
}
|
|
24920
24920
|
const l = this._evaluateNode(e.args, r, n, s, i);
|
|
24921
24921
|
return Fd(e.name, l, this.timeZone);
|
|
@@ -24993,13 +24993,13 @@ function y9(t, e, r) {
|
|
|
24993
24993
|
}
|
|
24994
24994
|
const i = r.get(n.column);
|
|
24995
24995
|
if (i?.type !== "esriFieldTypeDate" && i?.type !== "date") return !1;
|
|
24996
|
-
const u = r.getTimeZone(i.name), l = u != null ?
|
|
24996
|
+
const u = r.getTimeZone(i.name), l = u != null ? Ny(u) : ot.utcInstance;
|
|
24997
24997
|
return !!l.isUniversal && (t.comparisonData = gE(i.name, l, e, s.value), !0);
|
|
24998
24998
|
} finally {
|
|
24999
24999
|
"comparisonData" in t || (t.comparisonData = null);
|
|
25000
25000
|
}
|
|
25001
25001
|
}
|
|
25002
|
-
function
|
|
25002
|
+
function xT(t) {
|
|
25003
25003
|
return t && typeof t.attributes == "object";
|
|
25004
25004
|
}
|
|
25005
25005
|
function id(t, e, r, n) {
|
|
@@ -25011,7 +25011,7 @@ function id(t, e, r, n) {
|
|
|
25011
25011
|
case "esriFieldTypeDate":
|
|
25012
25012
|
case "date": {
|
|
25013
25013
|
const u = r?.getTimeZone(i.name);
|
|
25014
|
-
return Hc(new Date(s), u != null ?
|
|
25014
|
+
return Hc(new Date(s), u != null ? Ny(u) : ot.utcInstance);
|
|
25015
25015
|
}
|
|
25016
25016
|
case "esriFieldTypeDateOnly":
|
|
25017
25017
|
case "date-only":
|
|
@@ -25025,8 +25025,8 @@ function id(t, e, r, n) {
|
|
|
25025
25025
|
}
|
|
25026
25026
|
return s;
|
|
25027
25027
|
}
|
|
25028
|
-
const Ri = { getAttribute: (t, e) => (
|
|
25029
|
-
class
|
|
25028
|
+
const Ri = { getAttribute: (t, e) => (xT(t) ? t.attributes : t)[e] };
|
|
25029
|
+
class NT {
|
|
25030
25030
|
constructor(e, r) {
|
|
25031
25031
|
this._cache = new Zg(e), this._invalidCache = new Zg(r);
|
|
25032
25032
|
}
|
|
@@ -25048,7 +25048,7 @@ class xT {
|
|
|
25048
25048
|
}
|
|
25049
25049
|
var ET = /* @__PURE__ */ Object.freeze({
|
|
25050
25050
|
__proto__: null,
|
|
25051
|
-
WhereClauseCache:
|
|
25051
|
+
WhereClauseCache: NT
|
|
25052
25052
|
});
|
|
25053
25053
|
async function TT(t = {}) {
|
|
25054
25054
|
var e, r = t, n = "./this.program", s = "", i = "";
|
|
@@ -25060,26 +25060,26 @@ async function TT(t = {}) {
|
|
|
25060
25060
|
} catch {
|
|
25061
25061
|
}
|
|
25062
25062
|
e = async (h) => {
|
|
25063
|
-
var
|
|
25064
|
-
if (
|
|
25065
|
-
throw new Error(
|
|
25063
|
+
var x = await fetch(h, { credentials: "same-origin" });
|
|
25064
|
+
if (x.ok) return x.arrayBuffer();
|
|
25065
|
+
throw new Error(x.status + " : " + x.url);
|
|
25066
25066
|
};
|
|
25067
|
-
var l, c, p, _, y, v, S, E,
|
|
25068
|
-
function te(h,
|
|
25069
|
-
h || ie(
|
|
25067
|
+
var l, c, p, _, y, v, S, E, N, k, W, z = console.log.bind(console), U = console.error.bind(console), Q = !1;
|
|
25068
|
+
function te(h, x) {
|
|
25069
|
+
h || ie(x);
|
|
25070
25070
|
}
|
|
25071
25071
|
var fe, F = !1;
|
|
25072
25072
|
function V() {
|
|
25073
25073
|
var h = os.buffer;
|
|
25074
|
-
_ = new Int8Array(h), v = new Int16Array(h), y = new Uint8Array(h), S = new Int32Array(h), E = new Uint32Array(h),
|
|
25074
|
+
_ = new Int8Array(h), v = new Int16Array(h), y = new Uint8Array(h), S = new Int32Array(h), E = new Uint32Array(h), N = new Float32Array(h), k = new Float64Array(h), W = new BigInt64Array(h), new BigUint64Array(h);
|
|
25075
25075
|
}
|
|
25076
25076
|
function q() {
|
|
25077
|
-
F = !0, Te(
|
|
25077
|
+
F = !0, Te(N1), as.t();
|
|
25078
25078
|
}
|
|
25079
25079
|
function ie(h) {
|
|
25080
25080
|
U(h = "Aborted(" + h + ")"), Q = !0, h += ". Build with -sASSERTIONS for more info.";
|
|
25081
|
-
var
|
|
25082
|
-
throw p?.(
|
|
25081
|
+
var x = new WebAssembly.RuntimeError(h);
|
|
25082
|
+
throw p?.(x), x;
|
|
25083
25083
|
}
|
|
25084
25084
|
function _e() {
|
|
25085
25085
|
return r.locateFile ? u("pe-wasm.wasm") : new URL("pe-wasm.wasm", "").href;
|
|
@@ -25089,28 +25089,28 @@ async function TT(t = {}) {
|
|
|
25089
25089
|
}
|
|
25090
25090
|
async function H(h) {
|
|
25091
25091
|
try {
|
|
25092
|
-
var
|
|
25093
|
-
return new Uint8Array(
|
|
25092
|
+
var x = await e(h);
|
|
25093
|
+
return new Uint8Array(x);
|
|
25094
25094
|
} catch {
|
|
25095
25095
|
}
|
|
25096
25096
|
return j();
|
|
25097
25097
|
}
|
|
25098
|
-
async function ne(h,
|
|
25098
|
+
async function ne(h, x) {
|
|
25099
25099
|
try {
|
|
25100
25100
|
var I = await H(h);
|
|
25101
|
-
return await WebAssembly.instantiate(I,
|
|
25101
|
+
return await WebAssembly.instantiate(I, x);
|
|
25102
25102
|
} catch (G) {
|
|
25103
25103
|
U(`failed to asynchronously prepare wasm: ${G}`), ie(G);
|
|
25104
25104
|
}
|
|
25105
25105
|
}
|
|
25106
|
-
async function ee(h,
|
|
25106
|
+
async function ee(h, x, I) {
|
|
25107
25107
|
try {
|
|
25108
|
-
var G = fetch(
|
|
25108
|
+
var G = fetch(x, { credentials: "same-origin" });
|
|
25109
25109
|
return await WebAssembly.instantiateStreaming(G, I);
|
|
25110
25110
|
} catch (X) {
|
|
25111
25111
|
U(`wasm streaming compile failed: ${X}`), U("falling back to ArrayBuffer instantiation");
|
|
25112
25112
|
}
|
|
25113
|
-
return ne(
|
|
25113
|
+
return ne(x, I);
|
|
25114
25114
|
}
|
|
25115
25115
|
function ae() {
|
|
25116
25116
|
return { a: T1 };
|
|
@@ -25119,17 +25119,17 @@ async function TT(t = {}) {
|
|
|
25119
25119
|
function h(G, X) {
|
|
25120
25120
|
return E1(as = G.exports), V(), as;
|
|
25121
25121
|
}
|
|
25122
|
-
function
|
|
25122
|
+
function x(G) {
|
|
25123
25123
|
return h(G.instance);
|
|
25124
25124
|
}
|
|
25125
25125
|
var I = ae();
|
|
25126
|
-
return fe ??= _e(),
|
|
25126
|
+
return fe ??= _e(), x(await ee(l, fe, I));
|
|
25127
25127
|
}
|
|
25128
25128
|
var Te = (h) => {
|
|
25129
25129
|
for (; h.length > 0; ) h.shift()(r);
|
|
25130
25130
|
};
|
|
25131
|
-
function tt(h,
|
|
25132
|
-
switch (
|
|
25131
|
+
function tt(h, x = "i8") {
|
|
25132
|
+
switch (x.endsWith("*") && (x = "*"), x) {
|
|
25133
25133
|
case "i1":
|
|
25134
25134
|
case "i8":
|
|
25135
25135
|
return _[h];
|
|
@@ -25140,30 +25140,30 @@ async function TT(t = {}) {
|
|
|
25140
25140
|
case "i64":
|
|
25141
25141
|
return W[h >> 3];
|
|
25142
25142
|
case "float":
|
|
25143
|
-
return
|
|
25143
|
+
return N[h >> 2];
|
|
25144
25144
|
case "double":
|
|
25145
25145
|
return k[h >> 3];
|
|
25146
25146
|
case "*":
|
|
25147
25147
|
return E[h >> 2];
|
|
25148
25148
|
default:
|
|
25149
|
-
ie(`invalid type for getValue: ${
|
|
25149
|
+
ie(`invalid type for getValue: ${x}`);
|
|
25150
25150
|
}
|
|
25151
25151
|
}
|
|
25152
|
-
var at = globalThis.TextDecoder && new TextDecoder(), Pr = (h,
|
|
25153
|
-
var X =
|
|
25152
|
+
var at = globalThis.TextDecoder && new TextDecoder(), Pr = (h, x, I, G) => {
|
|
25153
|
+
var X = x + I;
|
|
25154
25154
|
if (G) return X;
|
|
25155
|
-
for (; h[
|
|
25156
|
-
return
|
|
25157
|
-
}, Kr = (h,
|
|
25158
|
-
var X = Pr(h,
|
|
25159
|
-
if (X -
|
|
25160
|
-
for (var oe = "";
|
|
25161
|
-
var pe = h[
|
|
25155
|
+
for (; h[x] && !(x >= X); ) ++x;
|
|
25156
|
+
return x;
|
|
25157
|
+
}, Kr = (h, x = 0, I, G) => {
|
|
25158
|
+
var X = Pr(h, x, I, G);
|
|
25159
|
+
if (X - x > 16 && h.buffer && at) return at.decode(h.subarray(x, X));
|
|
25160
|
+
for (var oe = ""; x < X; ) {
|
|
25161
|
+
var pe = h[x++];
|
|
25162
25162
|
if (128 & pe) {
|
|
25163
|
-
var he = 63 & h[
|
|
25163
|
+
var he = 63 & h[x++];
|
|
25164
25164
|
if ((224 & pe) != 192) {
|
|
25165
|
-
var Re = 63 & h[
|
|
25166
|
-
if ((pe = (240 & pe) == 224 ? (15 & pe) << 12 | he << 6 | Re : (7 & pe) << 18 | he << 12 | Re << 6 | 63 & h[
|
|
25165
|
+
var Re = 63 & h[x++];
|
|
25166
|
+
if ((pe = (240 & pe) == 224 ? (15 & pe) << 12 | he << 6 | Re : (7 & pe) << 18 | he << 12 | Re << 6 | 63 & h[x++]) < 65536) oe += String.fromCharCode(pe);
|
|
25167
25167
|
else {
|
|
25168
25168
|
var mr = pe - 65536;
|
|
25169
25169
|
oe += String.fromCharCode(55296 | mr >> 10, 56320 | 1023 & mr);
|
|
@@ -25172,70 +25172,70 @@ async function TT(t = {}) {
|
|
|
25172
25172
|
} else oe += String.fromCharCode(pe);
|
|
25173
25173
|
}
|
|
25174
25174
|
return oe;
|
|
25175
|
-
}, ut = (h,
|
|
25176
|
-
function ti(h,
|
|
25175
|
+
}, ut = (h, x, I) => h ? Kr(y, h, x, I) : "";
|
|
25176
|
+
function ti(h, x, I) {
|
|
25177
25177
|
return 0;
|
|
25178
25178
|
}
|
|
25179
|
-
var cn = (h,
|
|
25179
|
+
var cn = (h, x, I) => {
|
|
25180
25180
|
};
|
|
25181
|
-
function ri(h,
|
|
25181
|
+
function ri(h, x, I) {
|
|
25182
25182
|
return 0;
|
|
25183
25183
|
}
|
|
25184
|
-
function ni(h,
|
|
25184
|
+
function ni(h, x, I, G) {
|
|
25185
25185
|
}
|
|
25186
25186
|
var Zc = (h) => {
|
|
25187
|
-
}, Xc = (h,
|
|
25188
|
-
}, Jc = (h,
|
|
25187
|
+
}, Xc = (h, x) => {
|
|
25188
|
+
}, Jc = (h, x, I) => {
|
|
25189
25189
|
}, Qc = () => ie(""), Kc = (h) => h % 4 == 0 && (h % 100 != 0 || h % 400 == 0), e1 = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335], t1 = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], r1 = (h) => (Kc(h.getFullYear()) ? e1 : t1)[h.getMonth()] + h.getDate() - 1, n1 = 9007199254740992, s1 = -9007199254740992, i1 = (h) => h < s1 || h > n1 ? NaN : Number(h);
|
|
25190
|
-
function o1(h,
|
|
25190
|
+
function o1(h, x) {
|
|
25191
25191
|
h = i1(h);
|
|
25192
25192
|
var I = new Date(1e3 * h);
|
|
25193
|
-
S[
|
|
25193
|
+
S[x >> 2] = I.getSeconds(), S[x + 4 >> 2] = I.getMinutes(), S[x + 8 >> 2] = I.getHours(), S[x + 12 >> 2] = I.getDate(), S[x + 16 >> 2] = I.getMonth(), S[x + 20 >> 2] = I.getFullYear() - 1900, S[x + 24 >> 2] = I.getDay();
|
|
25194
25194
|
var G = 0 | r1(I);
|
|
25195
|
-
S[
|
|
25195
|
+
S[x + 28 >> 2] = G, S[x + 36 >> 2] = -60 * I.getTimezoneOffset();
|
|
25196
25196
|
var X = new Date(I.getFullYear(), 0, 1), oe = new Date(I.getFullYear(), 6, 1).getTimezoneOffset(), pe = X.getTimezoneOffset(), he = 0 | (oe != pe && I.getTimezoneOffset() == Math.min(pe, oe));
|
|
25197
|
-
S[
|
|
25197
|
+
S[x + 32 >> 2] = he;
|
|
25198
25198
|
}
|
|
25199
|
-
var lo = (h,
|
|
25199
|
+
var lo = (h, x, I, G) => {
|
|
25200
25200
|
if (!(G > 0)) return 0;
|
|
25201
25201
|
for (var X = I, oe = I + G - 1, pe = 0; pe < h.length; ++pe) {
|
|
25202
25202
|
var he = h.codePointAt(pe);
|
|
25203
25203
|
if (he <= 127) {
|
|
25204
25204
|
if (I >= oe) break;
|
|
25205
|
-
|
|
25205
|
+
x[I++] = he;
|
|
25206
25206
|
} else if (he <= 2047) {
|
|
25207
25207
|
if (I + 1 >= oe) break;
|
|
25208
|
-
|
|
25208
|
+
x[I++] = 192 | he >> 6, x[I++] = 128 | 63 & he;
|
|
25209
25209
|
} else if (he <= 65535) {
|
|
25210
25210
|
if (I + 2 >= oe) break;
|
|
25211
|
-
|
|
25211
|
+
x[I++] = 224 | he >> 12, x[I++] = 128 | he >> 6 & 63, x[I++] = 128 | 63 & he;
|
|
25212
25212
|
} else {
|
|
25213
25213
|
if (I + 3 >= oe) break;
|
|
25214
|
-
|
|
25214
|
+
x[I++] = 240 | he >> 18, x[I++] = 128 | he >> 12 & 63, x[I++] = 128 | he >> 6 & 63, x[I++] = 128 | 63 & he, pe++;
|
|
25215
25215
|
}
|
|
25216
25216
|
}
|
|
25217
|
-
return
|
|
25218
|
-
}, Cn = (h,
|
|
25217
|
+
return x[I] = 0, I - X;
|
|
25218
|
+
}, Cn = (h, x, I) => lo(h, y, x, I), a1 = (h, x, I, G) => {
|
|
25219
25219
|
var X = (/* @__PURE__ */ new Date()).getFullYear(), oe = new Date(X, 0, 1), pe = new Date(X, 6, 1), he = oe.getTimezoneOffset(), Re = pe.getTimezoneOffset(), mr = Math.max(he, Re);
|
|
25220
|
-
E[h >> 2] = 60 * mr, S[
|
|
25220
|
+
E[h >> 2] = 60 * mr, S[x >> 2] = +(he != Re);
|
|
25221
25221
|
var Hu = (Xu) => {
|
|
25222
25222
|
var $1 = Xu >= 0 ? "-" : "+", Ju = Math.abs(Xu);
|
|
25223
25223
|
return `UTC${$1}${String(Math.floor(Ju / 60)).padStart(2, "0")}${String(Ju % 60).padStart(2, "0")}`;
|
|
25224
25224
|
}, Yu = Hu(he), Zu = Hu(Re);
|
|
25225
25225
|
Re < he ? (Cn(Yu, I, 17), Cn(Zu, G, 17)) : (Cn(Yu, G, 17), Cn(Zu, I, 17));
|
|
25226
|
-
}, u1 = () => Date.now(), l1 = () => 2147483648, co = (h,
|
|
25227
|
-
var
|
|
25226
|
+
}, u1 = () => Date.now(), l1 = () => 2147483648, co = (h, x) => Math.ceil(h / x) * x, c1 = (h) => {
|
|
25227
|
+
var x = (h - os.buffer.byteLength + 65535) / 65536 | 0;
|
|
25228
25228
|
try {
|
|
25229
|
-
return os.grow(
|
|
25229
|
+
return os.grow(x), V(), 1;
|
|
25230
25230
|
} catch {
|
|
25231
25231
|
}
|
|
25232
25232
|
}, f1 = (h) => {
|
|
25233
|
-
var
|
|
25233
|
+
var x = y.length;
|
|
25234
25234
|
h >>>= 0;
|
|
25235
25235
|
var I = l1();
|
|
25236
25236
|
if (h > I) return !1;
|
|
25237
25237
|
for (var G = 1; G <= 4; G *= 2) {
|
|
25238
|
-
var X =
|
|
25238
|
+
var X = x * (1 + 0.2 / G);
|
|
25239
25239
|
X = Math.min(X, h + 100663296);
|
|
25240
25240
|
var oe = Math.min(I, co(Math.max(h, X), 65536));
|
|
25241
25241
|
if (c1(oe)) return !0;
|
|
@@ -25244,52 +25244,52 @@ async function TT(t = {}) {
|
|
|
25244
25244
|
}, si = {}, h1 = () => n, kn = () => {
|
|
25245
25245
|
if (!kn.strings) {
|
|
25246
25246
|
var h = { USER: "web_user", LOGNAME: "web_user", PATH: "/", PWD: "/", HOME: "/home/web_user", LANG: (globalThis.navigator?.language ?? "C").replace("-", "_") + ".UTF-8", _: h1() };
|
|
25247
|
-
for (var
|
|
25247
|
+
for (var x in si) si[x] === void 0 ? delete h[x] : h[x] = si[x];
|
|
25248
25248
|
var I = [];
|
|
25249
|
-
for (var
|
|
25249
|
+
for (var x in h) I.push(`${x}=${h[x]}`);
|
|
25250
25250
|
kn.strings = I;
|
|
25251
25251
|
}
|
|
25252
25252
|
return kn.strings;
|
|
25253
|
-
}, d1 = (h,
|
|
25253
|
+
}, d1 = (h, x) => {
|
|
25254
25254
|
var I = 0, G = 0;
|
|
25255
25255
|
for (var X of kn()) {
|
|
25256
|
-
var oe =
|
|
25256
|
+
var oe = x + I;
|
|
25257
25257
|
E[h + G >> 2] = oe, I += Cn(X, oe, 1 / 0) + 1, G += 4;
|
|
25258
25258
|
}
|
|
25259
25259
|
return 0;
|
|
25260
25260
|
}, fo = (h) => {
|
|
25261
|
-
for (var
|
|
25261
|
+
for (var x = 0, I = 0; I < h.length; ++I) {
|
|
25262
25262
|
var G = h.charCodeAt(I);
|
|
25263
|
-
G <= 127 ?
|
|
25263
|
+
G <= 127 ? x++ : G <= 2047 ? x += 2 : G >= 55296 && G <= 57343 ? (x += 4, ++I) : x += 3;
|
|
25264
25264
|
}
|
|
25265
|
-
return
|
|
25266
|
-
}, m1 = (h,
|
|
25265
|
+
return x;
|
|
25266
|
+
}, m1 = (h, x) => {
|
|
25267
25267
|
var I = kn();
|
|
25268
25268
|
E[h >> 2] = I.length;
|
|
25269
25269
|
var G = 0;
|
|
25270
25270
|
for (var X of I) G += fo(X) + 1;
|
|
25271
|
-
return E[
|
|
25272
|
-
}, p1 = (h) => 52, ho = (h,
|
|
25273
|
-
function g1(h,
|
|
25271
|
+
return E[x >> 2] = G, 0;
|
|
25272
|
+
}, p1 = (h) => 52, ho = (h, x, I, G) => 52;
|
|
25273
|
+
function g1(h, x, I, G) {
|
|
25274
25274
|
return 70;
|
|
25275
25275
|
}
|
|
25276
|
-
var Dn, mo, po, go, ii, _o, oi, yo, bo, wo, ai, vo, So,
|
|
25276
|
+
var Dn, mo, po, go, ii, _o, oi, yo, bo, wo, ai, vo, So, xo, No, Eo, To, Po, Lo, $n, Ao, Mo, Oo, Ro, ui, Io, Co, li, ko, ci, fi, Do, $o, Fo, Uo, Vo, zo, jo, Go, Wo, Bo, qo, Ho, Yo, Zo, Xo, Jo, Qo, Ko, ea, ta, ra, na, sa, ia, oa, aa, ua, la, ca, fa, ha, da, ma, pa, ga, _a, ya, ba, wa, va, Sa, xa, Na, Ea, Ta, Pa, La, Aa, Ma, Oa, Ra, Ia, Ca, ka, Da, $a, hi, di, _1, Fa, mi, Ua, pi, Va, za, ja, gi, Ga, Wa, Ba, qa, Ha, Ya, Za, Xa, Ja, Qa, Ka, eu, tu, _i, ru, yi, nu, su, iu, ou, y1, au, uu, b1, lu, cu, fu, hu, du, mu, pu, gu, _u, yu, bu, wu, vu, Su, xu, Nu, Eu, Tu, Pu, Lu, Au, Mu, Ou, Ru, Iu, Cu, ku, Du, $u, Fu, Uu, Vu, zu, ju, Gu, Wu, Bu, qu, os, w1 = [null, [], []], v1 = (h, x) => {
|
|
25277
25277
|
var I = w1[h];
|
|
25278
|
-
|
|
25279
|
-
}, S1 = (h,
|
|
25278
|
+
x === 0 || x === 10 ? ((h === 1 ? z : U)(Kr(I)), I.length = 0) : I.push(x);
|
|
25279
|
+
}, S1 = (h, x, I, G) => {
|
|
25280
25280
|
for (var X = 0, oe = 0; oe < I; oe++) {
|
|
25281
|
-
var pe = E[
|
|
25282
|
-
|
|
25281
|
+
var pe = E[x >> 2], he = E[x + 4 >> 2];
|
|
25282
|
+
x += 8;
|
|
25283
25283
|
for (var Re = 0; Re < he; Re++) v1(h, y[pe + Re]);
|
|
25284
25284
|
X += he;
|
|
25285
25285
|
}
|
|
25286
25286
|
return E[G >> 2] = X, 0;
|
|
25287
|
-
},
|
|
25287
|
+
}, x1 = (h, x, I) => {
|
|
25288
25288
|
var G = fo(h) + 1, X = new Array(G);
|
|
25289
25289
|
return lo(h, X, 0, X.length), X;
|
|
25290
|
-
},
|
|
25290
|
+
}, N1 = [];
|
|
25291
25291
|
function E1(h) {
|
|
25292
|
-
r._webidl_free = h.u, r._webidl_malloc = h.v, Dn = r._emscripten_bind_PeObject_getCode_0 = h.w, mo = r._emscripten_bind_PeObject_getName_1 = h.x, po = r._emscripten_bind_PeObject_getType_0 = h.y, go = r._emscripten_bind_PeCoordsys_isEqual_1 = h.z, ii = r._emscripten_bind_PeCoordsys_getCode_0 = h.A, _o = r._emscripten_bind_PeCoordsys_getName_1 = h.B, oi = r._emscripten_bind_PeCoordsys_getType_0 = h.C, yo = r._emscripten_bind_PeUnit_getUnitFactor_0 = h.D, bo = r._emscripten_bind_PeUnit_getCode_0 = h.E, wo = r._emscripten_bind_PeUnit_getName_1 = h.F, ai = r._emscripten_bind_PeUnit_getType_0 = h.G, vo = r._emscripten_bind_VoidPtr___destroy___0 = h.H, So = r._emscripten_bind_PeAngunit_getCode_0 = h.I,
|
|
25292
|
+
r._webidl_free = h.u, r._webidl_malloc = h.v, Dn = r._emscripten_bind_PeObject_getCode_0 = h.w, mo = r._emscripten_bind_PeObject_getName_1 = h.x, po = r._emscripten_bind_PeObject_getType_0 = h.y, go = r._emscripten_bind_PeCoordsys_isEqual_1 = h.z, ii = r._emscripten_bind_PeCoordsys_getCode_0 = h.A, _o = r._emscripten_bind_PeCoordsys_getName_1 = h.B, oi = r._emscripten_bind_PeCoordsys_getType_0 = h.C, yo = r._emscripten_bind_PeUnit_getUnitFactor_0 = h.D, bo = r._emscripten_bind_PeUnit_getCode_0 = h.E, wo = r._emscripten_bind_PeUnit_getName_1 = h.F, ai = r._emscripten_bind_PeUnit_getType_0 = h.G, vo = r._emscripten_bind_VoidPtr___destroy___0 = h.H, So = r._emscripten_bind_PeAngunit_getCode_0 = h.I, xo = r._emscripten_bind_PeAngunit_getName_1 = h.J, No = r._emscripten_bind_PeAngunit_getType_0 = h.K, Eo = r._emscripten_bind_PeAngunit_getUnitFactor_0 = h.L, To = r._emscripten_bind_PeDatum_getSpheroid_0 = h.M, Po = r._emscripten_bind_PeDatum_getCode_0 = h.N, Lo = r._emscripten_bind_PeDatum_getName_1 = h.O, $n = r._emscripten_bind_PeDatum_getType_0 = h.P, Ao = r._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0 = h.Q, Mo = r._emscripten_bind_PeDefs_get_PE_NAME_MAX_0 = h.R, Oo = r._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0 = h.S, Ro = r._emscripten_bind_PeDefs_get_PE_USNG_MAX_0 = h.T, ui = r._emscripten_bind_PeDefs_get_PE_DD_MAX_0 = h.U, Io = r._emscripten_bind_PeDefs_get_PE_DMS_MAX_0 = h.V, Co = r._emscripten_bind_PeDefs_get_PE_DDM_MAX_0 = h.W, li = r._emscripten_bind_PeDefs_get_PE_UTM_MAX_0 = h.X, ko = r._emscripten_bind_PeDefs_get_PE_PARM_MAX_0 = h.Y, ci = r._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0 = h.Z, fi = r._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0 = h._, Do = r._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0 = h.$, $o = r._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0 = h.aa, Fo = r._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0 = h.ba, Uo = r._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0 = h.ca, Vo = r._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0 = h.da, zo = r._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0 = h.ea, jo = r._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0 = h.fa, Go = r._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0 = h.ga, Wo = r._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0 = h.ha, Bo = r._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT_0 = h.ia, qo = r._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT2_0 = h.ja, Ho = r._emscripten_bind_PeDefs_get_PE_PARM_X0_0 = h.ka, Yo = r._emscripten_bind_PeDefs_get_PE_PARM_ND_0 = h.la, Zo = r._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0 = h.ma, Xo = r._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0 = h.na, Jo = r._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0 = h.oa, Qo = r._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0 = h.pa, Ko = r._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0 = h.qa, ea = r._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0 = h.ra, ta = r._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0 = h.sa, ra = r._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0 = h.ta, na = r._emscripten_bind_PeDouble_PeDouble_1 = h.ua, sa = r._emscripten_bind_PeDouble_get_val_0 = h.va, ia = r._emscripten_bind_PeDouble_set_val_1 = h.wa, oa = r._emscripten_bind_PeDouble___destroy___0 = h.xa, aa = r._emscripten_bind_PeFactory_initialize_1 = h.ya, ua = r._emscripten_bind_PeFactory_factoryByType_2 = h.za, la = r._emscripten_bind_PeFactory_fromString_2 = h.Aa, ca = r._emscripten_bind_PeFactory_getCode_1 = h.Ba, fa = r._emscripten_bind_PeGCSExtent_PeGCSExtent_6 = h.Ca, ha = r._emscripten_bind_PeGCSExtent_getLLon_0 = h.Da, da = r._emscripten_bind_PeGCSExtent_getSLat_0 = h.Ea, ma = r._emscripten_bind_PeGCSExtent_getRLon_0 = h.Fa, pa = r._emscripten_bind_PeGCSExtent_getNLat_0 = h.Ga, ga = r._emscripten_bind_PeGCSExtent___destroy___0 = h.Ha, _a = r._emscripten_bind_PeGeogcs_Delete_0 = h.Ia, ya = r._emscripten_bind_PeGeogcs_cloneAlterUnits_1 = h.Ja, ba = r._emscripten_bind_PeGeogcs_getDatum_0 = h.Ka, wa = r._emscripten_bind_PeGeogcs_getPrimem_0 = h.La, va = r._emscripten_bind_PeGeogcs_getUnit_0 = h.Ma, Sa = r._emscripten_bind_PeGeogcs_isEqual_1 = h.Na, xa = r._emscripten_bind_PeGeogcs_getCode_0 = h.Oa, Na = r._emscripten_bind_PeGeogcs_getName_1 = h.Pa, Ea = r._emscripten_bind_PeGeogcs_getType_0 = h.Qa, Ta = r._emscripten_bind_PeGeogtran_isEqual_1 = h.Ra, Pa = r._emscripten_bind_PeGeogtran_getGeogcs1_0 = h.Sa, La = r._emscripten_bind_PeGeogtran_getGeogcs2_0 = h.Ta, Aa = r._emscripten_bind_PeGeogtran_getParameters_0 = h.Ua, Ma = r._emscripten_bind_PeGeogtran_loadConstants_0 = h.Va, Oa = r._emscripten_bind_PeGeogtran_getCode_0 = h.Wa, Ra = r._emscripten_bind_PeGeogtran_getName_1 = h.Xa, Ia = r._emscripten_bind_PeGeogtran_getType_0 = h.Ya, Ca = r._emscripten_bind_PeGTlistExtended_getGTlist_6 = h.Za, ka = r._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0 = h._a, Da = r._emscripten_bind_PeGTlistExtendedEntry_getEntries_0 = h.$a, $a = r._emscripten_bind_PeGTlistExtendedEntry_getSteps_0 = h.ab, hi = r._emscripten_bind_PeGTlistExtendedEntry_Delete_1 = h.bb, di = r._emscripten_bind_PeGTlistExtendedGTs_getDirection_0 = h.cb, _1 = r._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0 = h.db, Fa = r._emscripten_bind_PeHorizon_getNump_0 = h.eb, mi = r._emscripten_bind_PeHorizon_getKind_0 = h.fb, Ua = r._emscripten_bind_PeHorizon_getInclusive_0 = h.gb, pi = r._emscripten_bind_PeHorizon_getSize_0 = h.hb, Va = r._emscripten_bind_PeHorizon_getCoord_0 = h.ib, za = r._emscripten_bind_PeInteger_PeInteger_1 = h.jb, ja = r._emscripten_bind_PeInteger_get_val_0 = h.kb, gi = r._emscripten_bind_PeInteger_set_val_1 = h.lb, Ga = r._emscripten_bind_PeInteger___destroy___0 = h.mb, Wa = r._emscripten_bind_PeLineType_geodetic_distance_10 = h.nb, Ba = r._emscripten_bind_PeLineType_geodetic_coordinate_9 = h.ob, qa = r._emscripten_bind_PeLineType_geodesic_coordinate_8 = h.pb, Ha = r._emscripten_bind_PeLineType_great_elliptic_distance_9 = h.qb, Ya = r._emscripten_bind_PeMath_phi_to_eta_2 = h.rb, Za = r._emscripten_bind_PeMath_eta_to_phi_2 = h.sb, Xa = r._emscripten_bind_PeMath_phi_to_phig_2 = h.tb, Ja = r._emscripten_bind_PeMath_q_3 = h.ub, Qa = r._emscripten_bind_PeMath_q90_2 = h.vb, Ka = r._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0 = h.wb, eu = r._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0 = h.xb, tu = r._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0 = h.yb, _i = r._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0 = h.zb, ru = r._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0 = h.Ab, yi = r._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0 = h.Bb, nu = r._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0 = h.Cb, su = r._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0 = h.Db, iu = r._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0 = h.Eb, ou = r._emscripten_bind_PeParameter_getValue_0 = h.Fb, y1 = r._emscripten_bind_PeParameter_getCode_0 = h.Gb, au = r._emscripten_bind_PeParameter_getName_1 = h.Hb, uu = r._emscripten_bind_PeParameter_getType_0 = h.Ib, b1 = r._emscripten_bind_PePCSInfo_getCentralMeridian_0 = h.Jb, lu = r._emscripten_bind_PePCSInfo_getDomainMinx_0 = h.Kb, cu = r._emscripten_bind_PePCSInfo_getDomainMiny_0 = h.Lb, fu = r._emscripten_bind_PePCSInfo_getDomainMaxx_0 = h.Mb, hu = r._emscripten_bind_PePCSInfo_getDomainMaxy_0 = h.Nb, du = r._emscripten_bind_PePCSInfo_getNorthPoleLocation_0 = h.Ob, mu = r._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0 = h.Pb, pu = r._emscripten_bind_PePCSInfo_getSouthPoleLocation_0 = h.Qb, gu = r._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0 = h.Rb, _u = r._emscripten_bind_PePCSInfo_isDensificationNeeded_0 = h.Sb, yu = r._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0 = h.Tb, bu = r._emscripten_bind_PePCSInfo_isPannableRectangle_0 = h.Ub, wu = r._emscripten_bind_PePCSInfo_generate_2 = h.Vb, vu = r._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0 = h.Wb, Su = r._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0 = h.Xb, xu = r._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0 = h.Yb, Nu = r._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0 = h.Zb, Eu = r._emscripten_bind_PePrimem_getLongitude_0 = h._b, Tu = r._emscripten_bind_PePrimem_getCode_0 = h.$b, Pu = r._emscripten_bind_PePrimem_getName_1 = h.ac, Lu = r._emscripten_bind_PePrimem_getType_0 = h.bc, Au = r._emscripten_bind_PeProjcs_Delete_0 = h.cc, Mu = r._emscripten_bind_PeProjcs_getGeogcs_0 = h.dc, Ou = r._emscripten_bind_PeProjcs_getProjection_0 = h.ec, Ru = r._emscripten_bind_PeProjcs_getParameters_0 = h.fc, Iu = r._emscripten_bind_PeProjcs_getUnit_0 = h.gc, Cu = r._emscripten_bind_PeProjcs_loadConstants_0 = h.hc, ku = r._emscripten_bind_PeProjcs_horizonGcsGenerate_0 = h.ic, Du = r._emscripten_bind_PeProjcs_horizonPcsGenerate_0 = h.jc, $u = r._emscripten_bind_PeProjcs_isEqual_1 = h.kc, Fu = r._emscripten_bind_PeProjcs_getCode_0 = h.lc, Uu = r._emscripten_bind_PeProjcs_getName_1 = h.mc, Vu = r._emscripten_bind_PeProjcs_getType_0 = h.nc, zu = r._emscripten_bind_PeSpheroid_getAxis_0 = h.oc, ju = r._emscripten_bind_PeSpheroid_getFlattening_0 = h.pc, Gu = r._emscripten_bind_PeSpheroid_getCode_0 = h.qc, Wu = r._emscripten_bind_PeSpheroid_getName_1 = h.rc, Bu = r._emscripten_bind_PeSpheroid_getType_0 = h.sc, qu = r._emscripten_bind_PeVersion_version_string_0 = h.tc, r._pe_getPeGTlistExtendedEntrySize = h.uc, r._pe_getPeGTlistExtendedGTsSize = h.vc, r._pe_getPeHorizonSize = h.wc, r._pe_geog_to_geog = h.xc, r._pe_geog_to_proj = h.yc, r._pe_geog_to_dd = h.zc, r._pe_dd_to_geog = h.Ac, r._pe_geog_to_ddm = h.Bc, r._pe_ddm_to_geog = h.Cc, r._pe_geog_to_dms = h.Dc, r._pe_dms_to_geog = h.Ec, r._pe_geog_to_mgrs_extended = h.Fc, r._pe_mgrs_to_geog_extended = h.Gc, r._pe_geog_to_usng = h.Hc, r._pe_usng_to_geog = h.Ic, r._pe_geog_to_utm = h.Jc, r._pe_utm_to_geog = h.Kc, r._pe_object_to_string_ext = h.Lc, r._pe_object_is_wkt2_needed = h.Mc, r._pe_proj_to_geog_center = h.Nc, os = h.s, h.__indirect_function_table;
|
|
25293
25293
|
}
|
|
25294
25294
|
r.getValue = tt, r.UTF8ToString = ut;
|
|
25295
25295
|
var as, T1 = { c: ti, o: cn, i: ri, d: ni, m: Zc, l: Xc, n: Jc, j: Qc, p: o1, q: a1, r: u1, k: f1, f: d1, g: m1, a: p1, h: ho, e: g1, b: S1 };
|
|
@@ -25304,19 +25304,19 @@ async function TT(t = {}) {
|
|
|
25304
25304
|
function fn(h) {
|
|
25305
25305
|
return (h || $e).__cache__;
|
|
25306
25306
|
}
|
|
25307
|
-
function Qe(h,
|
|
25308
|
-
var I = fn(
|
|
25309
|
-
return G || ((G = Object.create((
|
|
25307
|
+
function Qe(h, x) {
|
|
25308
|
+
var I = fn(x), G = I[h];
|
|
25309
|
+
return G || ((G = Object.create((x || $e).prototype)).ptr = h, I[h] = G);
|
|
25310
25310
|
}
|
|
25311
|
-
function L1(h,
|
|
25312
|
-
return Qe(h.ptr,
|
|
25311
|
+
function L1(h, x) {
|
|
25312
|
+
return Qe(h.ptr, x);
|
|
25313
25313
|
}
|
|
25314
25314
|
function A1(h) {
|
|
25315
25315
|
if (!h.__destroy__) throw "Error: Cannot destroy object. (Did you create it yourself?)";
|
|
25316
25316
|
h.__destroy__(), delete fn(h.__class__)[h.ptr];
|
|
25317
25317
|
}
|
|
25318
|
-
function M1(h,
|
|
25319
|
-
return h.ptr ===
|
|
25318
|
+
function M1(h, x) {
|
|
25319
|
+
return h.ptr === x.ptr;
|
|
25320
25320
|
}
|
|
25321
25321
|
function O1(h) {
|
|
25322
25322
|
return h.ptr;
|
|
@@ -25331,50 +25331,50 @@ async function TT(t = {}) {
|
|
|
25331
25331
|
be.temps.length = 0, r._webidl_free(be.buffer), be.buffer = 0, be.size += be.needed, be.needed = 0;
|
|
25332
25332
|
}
|
|
25333
25333
|
be.buffer || (be.size += 128, be.buffer = r._webidl_malloc(be.size), te(be.buffer)), be.pos = 0;
|
|
25334
|
-
}, alloc(h,
|
|
25334
|
+
}, alloc(h, x) {
|
|
25335
25335
|
te(be.buffer);
|
|
25336
|
-
var I, G =
|
|
25336
|
+
var I, G = x.BYTES_PER_ELEMENT, X = h.length * G;
|
|
25337
25337
|
return X = co(X, 8), be.pos + X >= be.size ? (te(X > 0), be.needed += X, I = r._webidl_malloc(X), be.temps.push(I)) : (I = be.buffer + be.pos, be.pos += X), I;
|
|
25338
25338
|
} };
|
|
25339
25339
|
function bi(h) {
|
|
25340
25340
|
if (typeof h == "string") {
|
|
25341
|
-
for (var
|
|
25341
|
+
for (var x = x1(h), I = be.alloc(x, _), G = 0; G < x.length; G++) _[I + G] = x[G];
|
|
25342
25342
|
return I;
|
|
25343
25343
|
}
|
|
25344
25344
|
return h;
|
|
25345
25345
|
}
|
|
25346
25346
|
function Zt(h) {
|
|
25347
25347
|
if (typeof h == "object") {
|
|
25348
|
-
for (var
|
|
25349
|
-
return
|
|
25348
|
+
for (var x = be.alloc(h, _), I = 0; I < h.length; I++) _[x + I] = h[I];
|
|
25349
|
+
return x;
|
|
25350
25350
|
}
|
|
25351
25351
|
return h;
|
|
25352
25352
|
}
|
|
25353
25353
|
function I1(h) {
|
|
25354
25354
|
if (typeof h == "object") {
|
|
25355
|
-
for (var
|
|
25356
|
-
return
|
|
25355
|
+
for (var x = be.alloc(h, v), I = x / 2, G = 0; G < h.length; G++) v[I + G] = h[G];
|
|
25356
|
+
return x;
|
|
25357
25357
|
}
|
|
25358
25358
|
return h;
|
|
25359
25359
|
}
|
|
25360
25360
|
function C1(h) {
|
|
25361
25361
|
if (typeof h == "object") {
|
|
25362
|
-
for (var
|
|
25363
|
-
return
|
|
25362
|
+
for (var x = be.alloc(h, S), I = x / 4, G = 0; G < h.length; G++) S[I + G] = h[G];
|
|
25363
|
+
return x;
|
|
25364
25364
|
}
|
|
25365
25365
|
return h;
|
|
25366
25366
|
}
|
|
25367
25367
|
function k1(h) {
|
|
25368
25368
|
if (typeof h == "object") {
|
|
25369
|
-
for (var
|
|
25370
|
-
return
|
|
25369
|
+
for (var x = be.alloc(h, N), I = x / 4, G = 0; G < h.length; G++) N[I + G] = h[G];
|
|
25370
|
+
return x;
|
|
25371
25371
|
}
|
|
25372
25372
|
return h;
|
|
25373
25373
|
}
|
|
25374
25374
|
function D1(h) {
|
|
25375
25375
|
if (typeof h == "object") {
|
|
25376
|
-
for (var
|
|
25377
|
-
return
|
|
25376
|
+
for (var x = be.alloc(h, k), I = x / 8, G = 0; G < h.length; G++) k[I + G] = h[G];
|
|
25377
|
+
return x;
|
|
25378
25378
|
}
|
|
25379
25379
|
return h;
|
|
25380
25380
|
}
|
|
@@ -25405,8 +25405,8 @@ async function TT(t = {}) {
|
|
|
25405
25405
|
function Mt() {
|
|
25406
25406
|
throw "cannot construct a PeFactory, no constructor in IDL";
|
|
25407
25407
|
}
|
|
25408
|
-
function mt(h,
|
|
25409
|
-
h && typeof h == "object" && (h = h.ptr),
|
|
25408
|
+
function mt(h, x, I, G, X, oe) {
|
|
25409
|
+
h && typeof h == "object" && (h = h.ptr), x && typeof x == "object" && (x = x.ptr), I && typeof I == "object" && (I = I.ptr), G && typeof G == "object" && (G = G.ptr), X && typeof X == "object" && (X = X.ptr), oe && typeof oe == "object" && (oe = oe.ptr), this.ptr = fa(h, x, I, G, X, oe), fn(mt)[this.ptr] = this;
|
|
25410
25410
|
}
|
|
25411
25411
|
function Oe() {
|
|
25412
25412
|
throw "cannot construct a PeGeogcs, no constructor in IDL";
|
|
@@ -25463,20 +25463,20 @@ async function TT(t = {}) {
|
|
|
25463
25463
|
var h = this.ptr;
|
|
25464
25464
|
return Dn(h);
|
|
25465
25465
|
}, He.prototype.getName = He.prototype.getName = function(h) {
|
|
25466
|
-
var
|
|
25467
|
-
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(mo(
|
|
25466
|
+
var x = this.ptr;
|
|
25467
|
+
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(mo(x, h));
|
|
25468
25468
|
}, He.prototype.getType = He.prototype.getType = function() {
|
|
25469
25469
|
var h = this.ptr;
|
|
25470
25470
|
return po(h);
|
|
25471
25471
|
}, _t.prototype = Object.create(He.prototype), _t.prototype.constructor = _t, _t.prototype.__class__ = _t, _t.__cache__ = {}, r.PeCoordsys = _t, _t.prototype.isEqual = _t.prototype.isEqual = function(h) {
|
|
25472
|
-
var
|
|
25473
|
-
return h && typeof h == "object" && (h = h.ptr), !!go(
|
|
25472
|
+
var x = this.ptr;
|
|
25473
|
+
return h && typeof h == "object" && (h = h.ptr), !!go(x, h);
|
|
25474
25474
|
}, _t.prototype.getCode = _t.prototype.getCode = function() {
|
|
25475
25475
|
var h = this.ptr;
|
|
25476
25476
|
return ii(h);
|
|
25477
25477
|
}, _t.prototype.getName = _t.prototype.getName = function(h) {
|
|
25478
|
-
var
|
|
25479
|
-
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(_o(
|
|
25478
|
+
var x = this.ptr;
|
|
25479
|
+
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(_o(x, h));
|
|
25480
25480
|
}, _t.prototype.getType = _t.prototype.getType = function() {
|
|
25481
25481
|
var h = this.ptr;
|
|
25482
25482
|
return oi(h);
|
|
@@ -25487,8 +25487,8 @@ async function TT(t = {}) {
|
|
|
25487
25487
|
var h = this.ptr;
|
|
25488
25488
|
return bo(h);
|
|
25489
25489
|
}, yt.prototype.getName = yt.prototype.getName = function(h) {
|
|
25490
|
-
var
|
|
25491
|
-
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(wo(
|
|
25490
|
+
var x = this.ptr;
|
|
25491
|
+
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(wo(x, h));
|
|
25492
25492
|
}, yt.prototype.getType = yt.prototype.getType = function() {
|
|
25493
25493
|
var h = this.ptr;
|
|
25494
25494
|
return ai(h);
|
|
@@ -25499,11 +25499,11 @@ async function TT(t = {}) {
|
|
|
25499
25499
|
var h = this.ptr;
|
|
25500
25500
|
return So(h);
|
|
25501
25501
|
}, Tt.prototype.getName = Tt.prototype.getName = function(h) {
|
|
25502
|
-
var
|
|
25503
|
-
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(
|
|
25502
|
+
var x = this.ptr;
|
|
25503
|
+
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(xo(x, h));
|
|
25504
25504
|
}, Tt.prototype.getType = Tt.prototype.getType = function() {
|
|
25505
25505
|
var h = this.ptr;
|
|
25506
|
-
return
|
|
25506
|
+
return No(h);
|
|
25507
25507
|
}, Tt.prototype.getUnitFactor = Tt.prototype.getUnitFactor = function() {
|
|
25508
25508
|
var h = this.ptr;
|
|
25509
25509
|
return Eo(h);
|
|
@@ -25514,8 +25514,8 @@ async function TT(t = {}) {
|
|
|
25514
25514
|
var h = this.ptr;
|
|
25515
25515
|
return Po(h);
|
|
25516
25516
|
}, Pt.prototype.getName = Pt.prototype.getName = function(h) {
|
|
25517
|
-
var
|
|
25518
|
-
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(Lo(
|
|
25517
|
+
var x = this.ptr;
|
|
25518
|
+
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(Lo(x, h));
|
|
25519
25519
|
}, Pt.prototype.getType = Pt.prototype.getType = function() {
|
|
25520
25520
|
var h = this.ptr;
|
|
25521
25521
|
return $n(h);
|
|
@@ -25619,17 +25619,17 @@ async function TT(t = {}) {
|
|
|
25619
25619
|
var h = this.ptr;
|
|
25620
25620
|
return sa(h);
|
|
25621
25621
|
}, bt.prototype.set_val = bt.prototype.set_val = function(h) {
|
|
25622
|
-
var
|
|
25623
|
-
h && typeof h == "object" && (h = h.ptr), ia(
|
|
25622
|
+
var x = this.ptr;
|
|
25623
|
+
h && typeof h == "object" && (h = h.ptr), ia(x, h);
|
|
25624
25624
|
}, Object.defineProperty(bt.prototype, "val", { get: bt.prototype.get_val, set: bt.prototype.set_val }), bt.prototype.__destroy__ = bt.prototype.__destroy__ = function() {
|
|
25625
25625
|
var h = this.ptr;
|
|
25626
25626
|
oa(h);
|
|
25627
25627
|
}, Mt.prototype = Object.create($e.prototype), Mt.prototype.constructor = Mt, Mt.prototype.__class__ = Mt, Mt.__cache__ = {}, r.PeFactory = Mt, Mt.prototype.initialize = Mt.prototype.initialize = function(h) {
|
|
25628
25628
|
be.prepare(), h = h && typeof h == "object" ? h.ptr : bi(h), aa(h);
|
|
25629
|
-
}, Mt.prototype.factoryByType = Mt.prototype.factoryByType = function(h,
|
|
25630
|
-
return h && typeof h == "object" && (h = h.ptr),
|
|
25631
|
-
}, Mt.prototype.fromString = Mt.prototype.fromString = function(h,
|
|
25632
|
-
return be.prepare(), h && typeof h == "object" && (h = h.ptr),
|
|
25629
|
+
}, Mt.prototype.factoryByType = Mt.prototype.factoryByType = function(h, x) {
|
|
25630
|
+
return h && typeof h == "object" && (h = h.ptr), x && typeof x == "object" && (x = x.ptr), Qe(ua(h, x), He);
|
|
25631
|
+
}, Mt.prototype.fromString = Mt.prototype.fromString = function(h, x) {
|
|
25632
|
+
return be.prepare(), h && typeof h == "object" && (h = h.ptr), x = x && typeof x == "object" ? x.ptr : bi(x), Qe(la(h, x), He);
|
|
25633
25633
|
}, Mt.prototype.getCode = Mt.prototype.getCode = function(h) {
|
|
25634
25634
|
return h && typeof h == "object" && (h = h.ptr), ca(h);
|
|
25635
25635
|
}, mt.prototype = Object.create($e.prototype), mt.prototype.constructor = mt, mt.prototype.__class__ = mt, mt.__cache__ = {}, r.PeGCSExtent = mt, mt.prototype.getLLon = mt.prototype.getLLon = function() {
|
|
@@ -25651,8 +25651,8 @@ async function TT(t = {}) {
|
|
|
25651
25651
|
var h = this.ptr;
|
|
25652
25652
|
_a(h);
|
|
25653
25653
|
}, Oe.prototype.cloneAlterUnits = Oe.prototype.cloneAlterUnits = function(h) {
|
|
25654
|
-
var
|
|
25655
|
-
return h && typeof h == "object" && (h = h.ptr), Qe(ya(
|
|
25654
|
+
var x = this.ptr;
|
|
25655
|
+
return h && typeof h == "object" && (h = h.ptr), Qe(ya(x, h), Oe);
|
|
25656
25656
|
}, Oe.prototype.getDatum = Oe.prototype.getDatum = function() {
|
|
25657
25657
|
var h = this.ptr;
|
|
25658
25658
|
return Qe(ba(h), Pt);
|
|
@@ -25663,20 +25663,20 @@ async function TT(t = {}) {
|
|
|
25663
25663
|
var h = this.ptr;
|
|
25664
25664
|
return Qe(va(h), Tt);
|
|
25665
25665
|
}, Oe.prototype.isEqual = Oe.prototype.isEqual = function(h) {
|
|
25666
|
-
var
|
|
25667
|
-
return h && typeof h == "object" && (h = h.ptr), !!Sa(
|
|
25666
|
+
var x = this.ptr;
|
|
25667
|
+
return h && typeof h == "object" && (h = h.ptr), !!Sa(x, h);
|
|
25668
25668
|
}, Oe.prototype.getCode = Oe.prototype.getCode = function() {
|
|
25669
25669
|
var h = this.ptr;
|
|
25670
|
-
return
|
|
25670
|
+
return xa(h);
|
|
25671
25671
|
}, Oe.prototype.getName = Oe.prototype.getName = function(h) {
|
|
25672
|
-
var
|
|
25673
|
-
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(
|
|
25672
|
+
var x = this.ptr;
|
|
25673
|
+
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(Na(x, h));
|
|
25674
25674
|
}, Oe.prototype.getType = Oe.prototype.getType = function() {
|
|
25675
25675
|
var h = this.ptr;
|
|
25676
25676
|
return Ea(h);
|
|
25677
25677
|
}, We.prototype = Object.create(He.prototype), We.prototype.constructor = We, We.prototype.__class__ = We, We.__cache__ = {}, r.PeGeogtran = We, We.prototype.isEqual = We.prototype.isEqual = function(h) {
|
|
25678
|
-
var
|
|
25679
|
-
return h && typeof h == "object" && (h = h.ptr), !!Ta(
|
|
25678
|
+
var x = this.ptr;
|
|
25679
|
+
return h && typeof h == "object" && (h = h.ptr), !!Ta(x, h);
|
|
25680
25680
|
}, We.prototype.getGeogcs1 = We.prototype.getGeogcs1 = function() {
|
|
25681
25681
|
var h = this.ptr;
|
|
25682
25682
|
return Qe(Pa(h), Oe);
|
|
@@ -25693,13 +25693,13 @@ async function TT(t = {}) {
|
|
|
25693
25693
|
var h = this.ptr;
|
|
25694
25694
|
return Oa(h);
|
|
25695
25695
|
}, We.prototype.getName = We.prototype.getName = function(h) {
|
|
25696
|
-
var
|
|
25697
|
-
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(Ra(
|
|
25696
|
+
var x = this.ptr;
|
|
25697
|
+
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(Ra(x, h));
|
|
25698
25698
|
}, We.prototype.getType = We.prototype.getType = function() {
|
|
25699
25699
|
var h = this.ptr;
|
|
25700
25700
|
return Ia(h);
|
|
25701
|
-
}, jt.prototype = Object.create($e.prototype), jt.prototype.constructor = jt, jt.prototype.__class__ = jt, jt.__cache__ = {}, r.PeGTlistExtended = jt, jt.prototype.getGTlist = jt.prototype.getGTlist = function(h,
|
|
25702
|
-
return h && typeof h == "object" && (h = h.ptr),
|
|
25701
|
+
}, jt.prototype = Object.create($e.prototype), jt.prototype.constructor = jt, jt.prototype.__class__ = jt, jt.__cache__ = {}, r.PeGTlistExtended = jt, jt.prototype.getGTlist = jt.prototype.getGTlist = function(h, x, I, G, X, oe) {
|
|
25702
|
+
return h && typeof h == "object" && (h = h.ptr), x && typeof x == "object" && (x = x.ptr), I && typeof I == "object" && (I = I.ptr), G && typeof G == "object" && (G = G.ptr), X && typeof X == "object" && (X = X.ptr), oe && typeof oe == "object" && (oe = oe.ptr), Qe(Ca(h, x, I, G, X, oe), Dt);
|
|
25703
25703
|
}, jt.prototype.get_PE_GTLIST_OPTS_COMMON = jt.prototype.get_PE_GTLIST_OPTS_COMMON = function() {
|
|
25704
25704
|
var h = this.ptr;
|
|
25705
25705
|
return ka(h);
|
|
@@ -25736,29 +25736,29 @@ async function TT(t = {}) {
|
|
|
25736
25736
|
var h = this.ptr;
|
|
25737
25737
|
return ja(h);
|
|
25738
25738
|
}, wt.prototype.set_val = wt.prototype.set_val = function(h) {
|
|
25739
|
-
var
|
|
25740
|
-
h && typeof h == "object" && (h = h.ptr), gi(
|
|
25739
|
+
var x = this.ptr;
|
|
25740
|
+
h && typeof h == "object" && (h = h.ptr), gi(x, h);
|
|
25741
25741
|
}, Object.defineProperty(wt.prototype, "val", { get: wt.prototype.get_val, set: wt.prototype.set_val }), wt.prototype.__destroy__ = wt.prototype.__destroy__ = function() {
|
|
25742
25742
|
var h = this.ptr;
|
|
25743
25743
|
Ga(h);
|
|
25744
|
-
}, Ot.prototype = Object.create($e.prototype), Ot.prototype.constructor = Ot, Ot.prototype.__class__ = Ot, Ot.__cache__ = {}, r.PeLineType = Ot, Ot.prototype.geodetic_distance = Ot.prototype.geodetic_distance = function(h,
|
|
25745
|
-
h && typeof h == "object" && (h = h.ptr),
|
|
25746
|
-
}, Ot.prototype.geodetic_coordinate = Ot.prototype.geodetic_coordinate = function(h,
|
|
25747
|
-
h && typeof h == "object" && (h = h.ptr),
|
|
25748
|
-
}, Ot.prototype.geodesic_coordinate = Ot.prototype.geodesic_coordinate = function(h,
|
|
25749
|
-
h && typeof h == "object" && (h = h.ptr),
|
|
25750
|
-
}, Ot.prototype.great_elliptic_distance = Ot.prototype.great_elliptic_distance = function(h,
|
|
25751
|
-
h && typeof h == "object" && (h = h.ptr),
|
|
25752
|
-
}, vt.prototype = Object.create($e.prototype), vt.prototype.constructor = vt, vt.prototype.__class__ = vt, vt.__cache__ = {}, r.PeMath = vt, vt.prototype.phi_to_eta = vt.prototype.phi_to_eta = function(h,
|
|
25753
|
-
return h && typeof h == "object" && (h = h.ptr),
|
|
25754
|
-
}, vt.prototype.eta_to_phi = vt.prototype.eta_to_phi = function(h,
|
|
25755
|
-
return h && typeof h == "object" && (h = h.ptr),
|
|
25756
|
-
}, vt.prototype.phi_to_phig = vt.prototype.phi_to_phig = function(h,
|
|
25757
|
-
return h && typeof h == "object" && (h = h.ptr),
|
|
25758
|
-
}, vt.prototype.q = vt.prototype.q = function(h,
|
|
25759
|
-
return h && typeof h == "object" && (h = h.ptr),
|
|
25760
|
-
}, vt.prototype.q90 = vt.prototype.q90 = function(h,
|
|
25761
|
-
return h && typeof h == "object" && (h = h.ptr),
|
|
25744
|
+
}, Ot.prototype = Object.create($e.prototype), Ot.prototype.constructor = Ot, Ot.prototype.__class__ = Ot, Ot.__cache__ = {}, r.PeLineType = Ot, Ot.prototype.geodetic_distance = Ot.prototype.geodetic_distance = function(h, x, I, G, X, oe, pe, he, Re, mr) {
|
|
25745
|
+
h && typeof h == "object" && (h = h.ptr), x && typeof x == "object" && (x = x.ptr), I && typeof I == "object" && (I = I.ptr), G && typeof G == "object" && (G = G.ptr), X && typeof X == "object" && (X = X.ptr), oe && typeof oe == "object" && (oe = oe.ptr), pe && typeof pe == "object" && (pe = pe.ptr), he && typeof he == "object" && (he = he.ptr), Re && typeof Re == "object" && (Re = Re.ptr), mr && typeof mr == "object" && (mr = mr.ptr), Wa(h, x, I, G, X, oe, pe, he, Re, mr);
|
|
25746
|
+
}, Ot.prototype.geodetic_coordinate = Ot.prototype.geodetic_coordinate = function(h, x, I, G, X, oe, pe, he, Re) {
|
|
25747
|
+
h && typeof h == "object" && (h = h.ptr), x && typeof x == "object" && (x = x.ptr), I && typeof I == "object" && (I = I.ptr), G && typeof G == "object" && (G = G.ptr), X && typeof X == "object" && (X = X.ptr), oe && typeof oe == "object" && (oe = oe.ptr), pe && typeof pe == "object" && (pe = pe.ptr), he && typeof he == "object" && (he = he.ptr), Re && typeof Re == "object" && (Re = Re.ptr), Ba(h, x, I, G, X, oe, pe, he, Re);
|
|
25748
|
+
}, Ot.prototype.geodesic_coordinate = Ot.prototype.geodesic_coordinate = function(h, x, I, G, X, oe, pe, he) {
|
|
25749
|
+
h && typeof h == "object" && (h = h.ptr), x && typeof x == "object" && (x = x.ptr), I && typeof I == "object" && (I = I.ptr), G && typeof G == "object" && (G = G.ptr), X && typeof X == "object" && (X = X.ptr), oe && typeof oe == "object" && (oe = oe.ptr), pe && typeof pe == "object" && (pe = pe.ptr), he && typeof he == "object" && (he = he.ptr), qa(h, x, I, G, X, oe, pe, he);
|
|
25750
|
+
}, Ot.prototype.great_elliptic_distance = Ot.prototype.great_elliptic_distance = function(h, x, I, G, X, oe, pe, he, Re) {
|
|
25751
|
+
h && typeof h == "object" && (h = h.ptr), x && typeof x == "object" && (x = x.ptr), I && typeof I == "object" && (I = I.ptr), G && typeof G == "object" && (G = G.ptr), X && typeof X == "object" && (X = X.ptr), oe && typeof oe == "object" && (oe = oe.ptr), pe && typeof pe == "object" && (pe = pe.ptr), he && typeof he == "object" && (he = he.ptr), Re && typeof Re == "object" && (Re = Re.ptr), Ha(h, x, I, G, X, oe, pe, he, Re);
|
|
25752
|
+
}, vt.prototype = Object.create($e.prototype), vt.prototype.constructor = vt, vt.prototype.__class__ = vt, vt.__cache__ = {}, r.PeMath = vt, vt.prototype.phi_to_eta = vt.prototype.phi_to_eta = function(h, x) {
|
|
25753
|
+
return h && typeof h == "object" && (h = h.ptr), x && typeof x == "object" && (x = x.ptr), Ya(h, x);
|
|
25754
|
+
}, vt.prototype.eta_to_phi = vt.prototype.eta_to_phi = function(h, x) {
|
|
25755
|
+
return h && typeof h == "object" && (h = h.ptr), x && typeof x == "object" && (x = x.ptr), Za(h, x);
|
|
25756
|
+
}, vt.prototype.phi_to_phig = vt.prototype.phi_to_phig = function(h, x) {
|
|
25757
|
+
return h && typeof h == "object" && (h = h.ptr), x && typeof x == "object" && (x = x.ptr), Xa(h, x);
|
|
25758
|
+
}, vt.prototype.q = vt.prototype.q = function(h, x, I) {
|
|
25759
|
+
return h && typeof h == "object" && (h = h.ptr), x && typeof x == "object" && (x = x.ptr), I && typeof I == "object" && (I = I.ptr), Ja(h, x, I);
|
|
25760
|
+
}, vt.prototype.q90 = vt.prototype.q90 = function(h, x) {
|
|
25761
|
+
return h && typeof h == "object" && (h = h.ptr), x && typeof x == "object" && (x = x.ptr), Qa(h, x);
|
|
25762
25762
|
}, Fe.prototype = Object.create($e.prototype), Fe.prototype.constructor = Fe, Fe.prototype.__class__ = Fe, Fe.__cache__ = {}, r.PeNotationMgrs = Fe, Fe.prototype.get_PE_MGRS_STYLE_NEW = Fe.prototype.get_PE_MGRS_STYLE_NEW = function() {
|
|
25763
25763
|
var h = this.ptr;
|
|
25764
25764
|
return Ka(h);
|
|
@@ -25793,8 +25793,8 @@ async function TT(t = {}) {
|
|
|
25793
25793
|
var h = this.ptr;
|
|
25794
25794
|
return y1(h);
|
|
25795
25795
|
}, Rt.prototype.getName = Rt.prototype.getName = function(h) {
|
|
25796
|
-
var
|
|
25797
|
-
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(au(
|
|
25796
|
+
var x = this.ptr;
|
|
25797
|
+
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(au(x, h));
|
|
25798
25798
|
}, Rt.prototype.getType = Rt.prototype.getType = function() {
|
|
25799
25799
|
var h = this.ptr;
|
|
25800
25800
|
return uu(h);
|
|
@@ -25834,8 +25834,8 @@ async function TT(t = {}) {
|
|
|
25834
25834
|
}, de.prototype.isPannableRectangle = de.prototype.isPannableRectangle = function() {
|
|
25835
25835
|
var h = this.ptr;
|
|
25836
25836
|
return !!bu(h);
|
|
25837
|
-
}, de.prototype.generate = de.prototype.generate = function(h,
|
|
25838
|
-
return h && typeof h == "object" && (h = h.ptr),
|
|
25837
|
+
}, de.prototype.generate = de.prototype.generate = function(h, x) {
|
|
25838
|
+
return h && typeof h == "object" && (h = h.ptr), x && typeof x == "object" && (x = x.ptr), Qe(wu(h, x), de);
|
|
25839
25839
|
}, de.prototype.get_PE_PCSINFO_OPTION_NONE = de.prototype.get_PE_PCSINFO_OPTION_NONE = function() {
|
|
25840
25840
|
var h = this.ptr;
|
|
25841
25841
|
return vu(h);
|
|
@@ -25844,10 +25844,10 @@ async function TT(t = {}) {
|
|
|
25844
25844
|
return Su(h);
|
|
25845
25845
|
}, Object.defineProperty(de.prototype, "PE_PCSINFO_OPTION_DOMAIN", { get: de.prototype.get_PE_PCSINFO_OPTION_DOMAIN }), de.prototype.get_PE_POLE_OUTSIDE_BOUNDARY = de.prototype.get_PE_POLE_OUTSIDE_BOUNDARY = function() {
|
|
25846
25846
|
var h = this.ptr;
|
|
25847
|
-
return
|
|
25847
|
+
return xu(h);
|
|
25848
25848
|
}, Object.defineProperty(de.prototype, "PE_POLE_OUTSIDE_BOUNDARY", { get: de.prototype.get_PE_POLE_OUTSIDE_BOUNDARY }), de.prototype.get_PE_POLE_POINT = de.prototype.get_PE_POLE_POINT = function() {
|
|
25849
25849
|
var h = this.ptr;
|
|
25850
|
-
return
|
|
25850
|
+
return Nu(h);
|
|
25851
25851
|
}, Object.defineProperty(de.prototype, "PE_POLE_POINT", { get: de.prototype.get_PE_POLE_POINT }), Lt.prototype = Object.create(He.prototype), Lt.prototype.constructor = Lt, Lt.prototype.__class__ = Lt, Lt.__cache__ = {}, r.PePrimem = Lt, Lt.prototype.getLongitude = Lt.prototype.getLongitude = function() {
|
|
25852
25852
|
var h = this.ptr;
|
|
25853
25853
|
return Eu(h);
|
|
@@ -25855,8 +25855,8 @@ async function TT(t = {}) {
|
|
|
25855
25855
|
var h = this.ptr;
|
|
25856
25856
|
return Tu(h);
|
|
25857
25857
|
}, Lt.prototype.getName = Lt.prototype.getName = function(h) {
|
|
25858
|
-
var
|
|
25859
|
-
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(Pu(
|
|
25858
|
+
var x = this.ptr;
|
|
25859
|
+
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(Pu(x, h));
|
|
25860
25860
|
}, Lt.prototype.getType = Lt.prototype.getType = function() {
|
|
25861
25861
|
var h = this.ptr;
|
|
25862
25862
|
return Lu(h);
|
|
@@ -25885,14 +25885,14 @@ async function TT(t = {}) {
|
|
|
25885
25885
|
var h = this.ptr;
|
|
25886
25886
|
return Qe(Du(h), lt);
|
|
25887
25887
|
}, Pe.prototype.isEqual = Pe.prototype.isEqual = function(h) {
|
|
25888
|
-
var
|
|
25889
|
-
return h && typeof h == "object" && (h = h.ptr), !!$u(
|
|
25888
|
+
var x = this.ptr;
|
|
25889
|
+
return h && typeof h == "object" && (h = h.ptr), !!$u(x, h);
|
|
25890
25890
|
}, Pe.prototype.getCode = Pe.prototype.getCode = function() {
|
|
25891
25891
|
var h = this.ptr;
|
|
25892
25892
|
return Fu(h);
|
|
25893
25893
|
}, Pe.prototype.getName = Pe.prototype.getName = function(h) {
|
|
25894
|
-
var
|
|
25895
|
-
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(Uu(
|
|
25894
|
+
var x = this.ptr;
|
|
25895
|
+
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(Uu(x, h));
|
|
25896
25896
|
}, Pe.prototype.getType = Pe.prototype.getType = function() {
|
|
25897
25897
|
var h = this.ptr;
|
|
25898
25898
|
return Vu(h);
|
|
@@ -25906,16 +25906,16 @@ async function TT(t = {}) {
|
|
|
25906
25906
|
var h = this.ptr;
|
|
25907
25907
|
return Gu(h);
|
|
25908
25908
|
}, pt.prototype.getName = pt.prototype.getName = function(h) {
|
|
25909
|
-
var
|
|
25910
|
-
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(Wu(
|
|
25909
|
+
var x = this.ptr;
|
|
25910
|
+
return be.prepare(), typeof h == "object" && (h = Zt(h)), ut(Wu(x, h));
|
|
25911
25911
|
}, pt.prototype.getType = pt.prototype.getType = function() {
|
|
25912
25912
|
var h = this.ptr;
|
|
25913
25913
|
return Bu(h);
|
|
25914
25914
|
}, Ar.prototype = Object.create($e.prototype), Ar.prototype.constructor = Ar, Ar.prototype.__class__ = Ar, Ar.__cache__ = {}, r.PeVersion = Ar, Ar.prototype.version_string = Ar.prototype.version_string = function() {
|
|
25915
25915
|
var h = this.ptr;
|
|
25916
25916
|
return ut(qu(h));
|
|
25917
|
-
}, r.ensureCache = be, r.ensureString = bi, r.ensureInt8 = Zt, r.ensureInt16 = I1, r.ensureInt32 = C1, r.ensureFloat32 = k1, r.ensureFloat64 = D1, F ? r : new Promise((h,
|
|
25918
|
-
c = h, p =
|
|
25917
|
+
}, r.ensureCache = be, r.ensureString = bi, r.ensureInt8 = Zt, r.ensureInt16 = I1, r.ensureInt32 = C1, r.ensureFloat32 = k1, r.ensureFloat64 = D1, F ? r : new Promise((h, x) => {
|
|
25918
|
+
c = h, p = x;
|
|
25919
25919
|
});
|
|
25920
25920
|
}
|
|
25921
25921
|
var PT = /* @__PURE__ */ Object.freeze({
|