@lostgradient/cinder 0.11.0 → 0.12.1
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/CHANGELOG.md +16 -0
- package/components.json +3 -2
- package/dist/components/accordion/index.js +14 -11
- package/dist/components/accordion-item/accordion-item.css +20 -7
- package/dist/components/accordion-item/accordion-item.schema.js +5 -1
- package/dist/components/accordion-item/accordion-item.types.d.ts +4 -0
- package/dist/components/accordion-item/accordion-item.variables.js +13 -2
- package/dist/components/accordion-item/index.js +14 -11
- package/dist/components/action-row/action-row.css +20 -9
- package/dist/components/action-row/action-row.schema.js +5 -1
- package/dist/components/action-row/action-row.types.d.ts +43 -0
- package/dist/components/action-row/action-row.variables.js +12 -2
- package/dist/components/chat/chat.svelte.d.ts +1 -0
- package/dist/components/code-block/code-block.css +15 -9
- package/dist/components/code-block/code-block.variables.js +8 -2
- package/dist/components/confirm-dialog/confirm-dialog.css +2 -0
- package/dist/components/confirm-dialog/confirm-dialog.schema.js +10 -1
- package/dist/components/confirm-dialog/confirm-dialog.types.d.ts +7 -0
- package/dist/components/confirm-dialog/index.js +478 -106
- package/dist/components/faceted-filter-bar/faceted-filter-bar.schema.js +5 -1
- package/dist/components/faceted-filter-bar/faceted-filter-bar.types.d.ts +2 -0
- package/dist/components/faceted-filter-bar/index.js +40 -31
- package/dist/components/navigation-bar/index.js +11 -17
- package/dist/components/run-step-timeline/index.js +65 -6
- package/dist/components/run-step-timeline/run-step-timeline.utilities.d.ts +9 -1
- package/dist/components/side-navigation/side-navigation.css +2 -1
- package/dist/components/side-navigation/side-navigation.schema.js +9 -6
- package/dist/components/side-navigation/side-navigation.types.d.ts +11 -0
- package/dist/components/side-navigation/side-navigation.variables.js +2 -2
- package/dist/components/stat/stat.css +16 -8
- package/dist/components/stat/stat.schema.js +5 -1
- package/dist/components/stat/stat.types.d.ts +19 -0
- package/dist/components/stat/stat.variables.js +11 -2
- package/dist/components/stat-group/stat-group.css +7 -4
- package/dist/components/stat-group/stat-group.schema.js +5 -1
- package/dist/components/stat-group/stat-group.types.d.ts +27 -0
- package/dist/components/stat-group/stat-group.variables.js +6 -2
- package/dist/index.js +365 -256
- package/dist/server/components/accordion/index.js +2 -2
- package/dist/server/components/accordion-item/index.js +2 -2
- package/dist/server/components/color-field/index.js +2 -2
- package/dist/server/components/confirm-dialog/index.js +7 -2
- package/dist/server/components/faceted-filter-bar/index.js +1 -1
- package/dist/server/components/navigation-bar/index.js +1 -1
- package/dist/server/components/run-step-timeline/index.js +1 -1
- package/dist/server/index.js +10 -10
- package/dist/server/{index.server-cf6pxeyg.js → index.server-0rzd71e0.js} +1 -1
- package/dist/server/{index.server-5tf22d6e.js → index.server-4wx0qven.js} +3 -3
- package/dist/server/{index.server-894t97kv.js → index.server-7yvpb6z7.js} +4 -4
- package/dist/server/{index.server-btgb3d56.js → index.server-d5a5ccz7.js} +18 -12
- package/dist/server/{index.server-z38bxms8.js → index.server-g5jgq3jp.js} +65 -6
- package/dist/server/{index.server-y83kqayt.js → index.server-h3nzp8g8.js} +1 -1
- package/dist/server/index.server-jwvxxjvc.js +50 -0
- package/dist/server/{index.server-39ne5cd1.js → index.server-pxq277t5.js} +32 -1
- package/package.json +22 -95
- package/src/components/accordion/accordion.examples.json +6 -0
- package/src/components/accordion-item/accordion-item.css +20 -7
- package/src/components/accordion-item/accordion-item.schema.json +4 -0
- package/src/components/accordion-item/accordion-item.schema.ts +4 -0
- package/src/components/accordion-item/accordion-item.svelte +9 -7
- package/src/components/accordion-item/accordion-item.types.ts +4 -0
- package/src/components/accordion-item/accordion-item.variables.json +12 -1
- package/src/components/accordion-item/accordion-item.variables.ts +12 -1
- package/src/components/action-row/action-row.css +20 -9
- package/src/components/action-row/action-row.examples.json +6 -0
- package/src/components/action-row/action-row.schema.json +4 -0
- package/src/components/action-row/action-row.schema.ts +4 -0
- package/src/components/action-row/action-row.types.ts +44 -0
- package/src/components/action-row/action-row.variables.json +11 -1
- package/src/components/action-row/action-row.variables.ts +11 -1
- package/src/components/chat/chat.examples.json +6 -0
- package/src/components/code-block/code-block.css +15 -9
- package/src/components/code-block/code-block.variables.json +7 -1
- package/src/components/code-block/code-block.variables.ts +7 -1
- package/src/components/confirm-dialog/confirm-dialog.css +2 -0
- package/src/components/confirm-dialog/confirm-dialog.schema.json +8 -0
- package/src/components/confirm-dialog/confirm-dialog.schema.ts +10 -0
- package/src/components/confirm-dialog/confirm-dialog.svelte +31 -3
- package/src/components/confirm-dialog/confirm-dialog.types.ts +7 -0
- package/src/components/faceted-filter-bar/faceted-filter-bar.schema.json +4 -0
- package/src/components/faceted-filter-bar/faceted-filter-bar.schema.ts +4 -0
- package/src/components/faceted-filter-bar/faceted-filter-bar.svelte +13 -11
- package/src/components/faceted-filter-bar/faceted-filter-bar.types.ts +2 -0
- package/src/components/navigation-bar/navigation-bar.svelte +2 -2
- package/src/components/run-step-timeline/run-step-timeline.svelte +4 -4
- package/src/components/run-step-timeline/run-step-timeline.utilities.ts +68 -0
- package/src/components/side-navigation/side-navigation.css +2 -1
- package/src/components/side-navigation/side-navigation.examples.json +6 -0
- package/src/components/side-navigation/side-navigation.schema.json +8 -5
- package/src/components/side-navigation/side-navigation.schema.ts +8 -5
- package/src/components/side-navigation/side-navigation.types.ts +12 -0
- package/src/components/side-navigation/side-navigation.variables.json +1 -1
- package/src/components/side-navigation/side-navigation.variables.ts +1 -1
- package/src/components/stat/stat.css +16 -8
- package/src/components/stat/stat.schema.json +4 -0
- package/src/components/stat/stat.schema.ts +4 -0
- package/src/components/stat/stat.types.ts +20 -0
- package/src/components/stat/stat.variables.json +10 -1
- package/src/components/stat/stat.variables.ts +10 -1
- package/src/components/stat-group/stat-group.css +7 -4
- package/src/components/stat-group/stat-group.examples.json +6 -0
- package/src/components/stat-group/stat-group.schema.json +4 -0
- package/src/components/stat-group/stat-group.schema.ts +4 -0
- package/src/components/stat-group/stat-group.types.ts +28 -0
- package/src/components/stat-group/stat-group.variables.json +5 -1
- package/src/components/stat-group/stat-group.variables.ts +5 -1
- package/dist/server/index.server-hfx487zj.js +0 -42
package/dist/index.js
CHANGED
|
@@ -5938,15 +5938,16 @@ function strictStableContext(key, missingMessage) {
|
|
|
5938
5938
|
var [getAccordionContext, setAccordionContext] = strictStableContext("@lostgradient/cinder/accordion/context", "AccordionItem must be rendered inside an Accordion");
|
|
5939
5939
|
|
|
5940
5940
|
// src/components/accordion-item/accordion-item.svelte
|
|
5941
|
-
var root4 = $53.from_html(`<div class="cinder-accordion-item__panel
|
|
5942
|
-
var root_12 = $53.from_html(`<div><h3 class="cinder-accordion-item__heading"><button type="button" class="cinder-accordion-item__trigger"><span class="cinder-accordion-item__title"> </span> <svg class="cinder-accordion-item__chevron" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" focusable="false"><path fill-rule="evenodd" d="M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06z" clip-rule="evenodd"></path></svg></button></h3>
|
|
5941
|
+
var root4 = $53.from_html(`<div class="cinder-accordion-item__panel-inner"><!></div>`);
|
|
5942
|
+
var root_12 = $53.from_html(`<div><h3 class="cinder-accordion-item__heading"><button type="button" class="cinder-accordion-item__trigger"><span class="cinder-accordion-item__title"> </span> <svg class="cinder-accordion-item__chevron" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" focusable="false"><path fill-rule="evenodd" d="M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06z" clip-rule="evenodd"></path></svg></button></h3> <div class="cinder-accordion-item__panel"><!></div></div>`);
|
|
5943
5943
|
function Accordion_item($$anchor, $$props) {
|
|
5944
|
+
const instanceId = $53.props_id();
|
|
5944
5945
|
$53.push($$props, true);
|
|
5945
5946
|
let disabled = $53.prop($$props, "disabled", 3, false);
|
|
5946
5947
|
const context = getAccordionContext();
|
|
5947
5948
|
const isExpanded = $53.derived(() => context.expandedIds.includes($$props.id));
|
|
5948
|
-
const headerId = $53.derived(() => `${
|
|
5949
|
-
const panelId = $53.derived(() => `${
|
|
5949
|
+
const headerId = $53.derived(() => `${instanceId}-header`);
|
|
5950
|
+
const panelId = $53.derived(() => `${instanceId}-panel`);
|
|
5950
5951
|
function handleClick() {
|
|
5951
5952
|
if (disabled())
|
|
5952
5953
|
return;
|
|
@@ -5961,26 +5962,26 @@ function Accordion_item($$anchor, $$props) {
|
|
|
5961
5962
|
$53.next(2);
|
|
5962
5963
|
$53.reset(button);
|
|
5963
5964
|
$53.reset(h3);
|
|
5964
|
-
var
|
|
5965
|
+
var div_1 = $53.sibling(h3, 2);
|
|
5966
|
+
var node = $53.child(div_1);
|
|
5965
5967
|
{
|
|
5966
5968
|
var consequent = ($$anchor2) => {
|
|
5967
|
-
var
|
|
5968
|
-
var div_2 = $53.child(div_1);
|
|
5969
|
+
var div_2 = root4();
|
|
5969
5970
|
var node_1 = $53.child(div_2);
|
|
5970
5971
|
$53.snippet(node_1, () => $$props.children);
|
|
5971
5972
|
$53.reset(div_2);
|
|
5972
|
-
$53.
|
|
5973
|
-
$53.template_effect(() => $53.set_attribute(div_1, "id", $53.get(panelId)));
|
|
5974
|
-
$53.append($$anchor2, div_1);
|
|
5973
|
+
$53.append($$anchor2, div_2);
|
|
5975
5974
|
};
|
|
5976
5975
|
$53.if(node, ($$render) => {
|
|
5977
5976
|
if ($53.get(isExpanded))
|
|
5978
5977
|
$$render(consequent);
|
|
5979
5978
|
});
|
|
5980
5979
|
}
|
|
5980
|
+
$53.reset(div_1);
|
|
5981
5981
|
$53.reset(div);
|
|
5982
5982
|
$53.template_effect(($0) => {
|
|
5983
5983
|
$53.set_class(div, 1, $0);
|
|
5984
|
+
$53.set_style(div, $$props.style);
|
|
5984
5985
|
$53.set_attribute(div, "data-cinder-expanded", $53.get(isExpanded) ? "" : undefined);
|
|
5985
5986
|
$53.set_attribute(div, "data-cinder-disabled", disabled() ? "" : undefined);
|
|
5986
5987
|
$53.set_attribute(button, "id", $53.get(headerId));
|
|
@@ -5988,6 +5989,8 @@ function Accordion_item($$anchor, $$props) {
|
|
|
5988
5989
|
$53.set_attribute(button, "aria-controls", $53.get(panelId));
|
|
5989
5990
|
button.disabled = disabled();
|
|
5990
5991
|
$53.set_text(text, $$props.title);
|
|
5992
|
+
$53.set_attribute(div_1, "id", $53.get(panelId));
|
|
5993
|
+
$53.set_attribute(div_1, "hidden", !$53.get(isExpanded));
|
|
5991
5994
|
}, [
|
|
5992
5995
|
() => $53.clsx(classNames("cinder-accordion-item", $$props.class))
|
|
5993
5996
|
]);
|
|
@@ -26894,8 +26897,20 @@ var root_189 = $167.from_html(`<p class="cinder-confirm-dialog__description"> </
|
|
|
26894
26897
|
function Confirm_dialog($$anchor, $$props) {
|
|
26895
26898
|
const descriptionId = $167.props_id();
|
|
26896
26899
|
$167.push($$props, true);
|
|
26900
|
+
const typedConfirmationId = `${descriptionId}-typed-confirmation`;
|
|
26897
26901
|
let open = $167.prop($$props, "open", 15, false), cancelLabel = $167.prop($$props, "cancelLabel", 3, "Cancel"), destructive = $167.prop($$props, "destructive", 3, false), triggerRef = $167.prop($$props, "triggerRef", 3, null);
|
|
26898
26902
|
const describedById = $167.derived(() => $$props.description ? descriptionId : undefined);
|
|
26903
|
+
const normalizedTypeToConfirm = $167.derived(() => $$props.typeToConfirm?.trim() || undefined);
|
|
26904
|
+
const normalizedTypeToConfirmLabel = $167.derived(() => $$props.typeToConfirmLabel?.trim() || undefined);
|
|
26905
|
+
let typedConfirmation = $167.state("");
|
|
26906
|
+
let previousOpen = open();
|
|
26907
|
+
const typedConfirmationMatches = $167.derived(() => $167.get(normalizedTypeToConfirm) === undefined || $167.get(typedConfirmation).trim().toLowerCase() === $167.get(normalizedTypeToConfirm).toLowerCase());
|
|
26908
|
+
$167.user_effect(() => {
|
|
26909
|
+
if (open() === previousOpen)
|
|
26910
|
+
return;
|
|
26911
|
+
previousOpen = open();
|
|
26912
|
+
$167.set(typedConfirmation, "");
|
|
26913
|
+
});
|
|
26899
26914
|
function handleCancel() {
|
|
26900
26915
|
open(false);
|
|
26901
26916
|
$$props.oncancel?.();
|
|
@@ -26923,10 +26938,14 @@ function Confirm_dialog($$anchor, $$props) {
|
|
|
26923
26938
|
var node_1 = $167.sibling(node, 2);
|
|
26924
26939
|
{
|
|
26925
26940
|
let $02 = $167.derived(() => destructive() ? "danger" : "primary");
|
|
26941
|
+
let $1 = $167.derived(() => !$167.get(typedConfirmationMatches));
|
|
26926
26942
|
Button(node_1, {
|
|
26927
26943
|
get variant() {
|
|
26928
26944
|
return $167.get($02);
|
|
26929
26945
|
},
|
|
26946
|
+
get disabled() {
|
|
26947
|
+
return $167.get($1);
|
|
26948
|
+
},
|
|
26930
26949
|
onclick: handleConfirm,
|
|
26931
26950
|
children: ($$anchor3, $$slotProps) => {
|
|
26932
26951
|
$167.next();
|
|
@@ -26959,7 +26978,7 @@ function Confirm_dialog($$anchor, $$props) {
|
|
|
26959
26978
|
},
|
|
26960
26979
|
footer,
|
|
26961
26980
|
children: ($$anchor2, $$slotProps) => {
|
|
26962
|
-
var fragment_4 =
|
|
26981
|
+
var fragment_4 = root87();
|
|
26963
26982
|
var node_2 = $167.first_child(fragment_4);
|
|
26964
26983
|
{
|
|
26965
26984
|
var consequent = ($$anchor3) => {
|
|
@@ -26977,6 +26996,34 @@ function Confirm_dialog($$anchor, $$props) {
|
|
|
26977
26996
|
$$render(consequent);
|
|
26978
26997
|
});
|
|
26979
26998
|
}
|
|
26999
|
+
var node_3 = $167.sibling(node_2, 2);
|
|
27000
|
+
{
|
|
27001
|
+
var consequent_1 = ($$anchor3) => {
|
|
27002
|
+
{
|
|
27003
|
+
let $02 = $167.derived(() => $167.get(normalizedTypeToConfirmLabel) ?? `Type "${$167.get(normalizedTypeToConfirm)}" to confirm`);
|
|
27004
|
+
Input($$anchor3, {
|
|
27005
|
+
get id() {
|
|
27006
|
+
return typedConfirmationId;
|
|
27007
|
+
},
|
|
27008
|
+
class: "cinder-confirm-dialog__typed-confirmation",
|
|
27009
|
+
get label() {
|
|
27010
|
+
return $167.get($02);
|
|
27011
|
+
},
|
|
27012
|
+
autocomplete: "off",
|
|
27013
|
+
get value() {
|
|
27014
|
+
return $167.get(typedConfirmation);
|
|
27015
|
+
},
|
|
27016
|
+
set value($$value) {
|
|
27017
|
+
$167.set(typedConfirmation, $$value, true);
|
|
27018
|
+
}
|
|
27019
|
+
});
|
|
27020
|
+
}
|
|
27021
|
+
};
|
|
27022
|
+
$167.if(node_3, ($$render) => {
|
|
27023
|
+
if ($167.get(normalizedTypeToConfirm) !== undefined)
|
|
27024
|
+
$$render(consequent_1);
|
|
27025
|
+
});
|
|
27026
|
+
}
|
|
26980
27027
|
$167.append($$anchor2, fragment_4);
|
|
26981
27028
|
},
|
|
26982
27029
|
$$slots: { footer: true, default: true }
|
|
@@ -33670,13 +33717,13 @@ class SegmentedControlController {
|
|
|
33670
33717
|
if (!segment || segment.disabled)
|
|
33671
33718
|
return;
|
|
33672
33719
|
if (this.#options.selectionMode() === "multiple") {
|
|
33673
|
-
const
|
|
33674
|
-
if (!
|
|
33720
|
+
const set70 = this.#options.getValue();
|
|
33721
|
+
if (!set70 || typeof set70 === "string")
|
|
33675
33722
|
return;
|
|
33676
|
-
if (
|
|
33677
|
-
|
|
33723
|
+
if (set70.has(value))
|
|
33724
|
+
set70.delete(value);
|
|
33678
33725
|
else
|
|
33679
|
-
|
|
33726
|
+
set70.add(value);
|
|
33680
33727
|
return;
|
|
33681
33728
|
}
|
|
33682
33729
|
const current = this.#options.getValue();
|
|
@@ -35410,10 +35457,10 @@ function Event_timeline($$anchor, $$props) {
|
|
|
35410
35457
|
function clampPercent(value) {
|
|
35411
35458
|
return Math.max(0, Math.min(100, value));
|
|
35412
35459
|
}
|
|
35413
|
-
function stateLabelForItem(
|
|
35414
|
-
if (
|
|
35460
|
+
function stateLabelForItem(state73) {
|
|
35461
|
+
if (state73 === "done")
|
|
35415
35462
|
return "Done";
|
|
35416
|
-
if (
|
|
35463
|
+
if (state73 === "failed")
|
|
35417
35464
|
return "Failed";
|
|
35418
35465
|
return "Upcoming";
|
|
35419
35466
|
}
|
|
@@ -35454,8 +35501,8 @@ function Event_timeline($$anchor, $$props) {
|
|
|
35454
35501
|
const lane = availableLane === -1 ? lanePositions.length : availableLane;
|
|
35455
35502
|
lanePositions[lane] = position;
|
|
35456
35503
|
const isoDatetime = new Date(timestamp).toISOString();
|
|
35457
|
-
const
|
|
35458
|
-
const stateLabel = stateLabelForItem(
|
|
35504
|
+
const state73 = item.state ?? "upcoming";
|
|
35505
|
+
const stateLabel = stateLabelForItem(state73);
|
|
35459
35506
|
const sublabel = item.sublabel?.trim() || undefined;
|
|
35460
35507
|
const timeLabel = sublabel ?? isoDatetime;
|
|
35461
35508
|
return {
|
|
@@ -35466,7 +35513,7 @@ function Event_timeline($$anchor, $$props) {
|
|
|
35466
35513
|
lane,
|
|
35467
35514
|
position,
|
|
35468
35515
|
isoDatetime,
|
|
35469
|
-
state:
|
|
35516
|
+
state: state73,
|
|
35470
35517
|
stateLabel,
|
|
35471
35518
|
sublabel
|
|
35472
35519
|
};
|
|
@@ -36298,6 +36345,7 @@ var rest_excludes83 = new Set([
|
|
|
36298
36345
|
"$$legacy",
|
|
36299
36346
|
"aria-label",
|
|
36300
36347
|
"searchQuery",
|
|
36348
|
+
"showSearch",
|
|
36301
36349
|
"searchPlaceholder",
|
|
36302
36350
|
"searchAriaLabel",
|
|
36303
36351
|
"facets",
|
|
@@ -36317,7 +36365,7 @@ var root_436 = $210.from_html(`<div><div class="cinder-faceted-filter-bar__contr
|
|
|
36317
36365
|
function Faceted_filter_bar($$anchor, $$props) {
|
|
36318
36366
|
const generatedId = $210.props_id();
|
|
36319
36367
|
$210.push($$props, true);
|
|
36320
|
-
let ariaLabel = $210.prop($$props, "aria-label", 3, "Filters"), searchPlaceholder = $210.prop($$props, "searchPlaceholder", 3, "Search…"), searchAriaLabel = $210.prop($$props, "searchAriaLabel", 3, "Search"), facets = $210.prop($$props, "facets", 19, () => []), appliedFilters = $210.prop($$props, "appliedFilters", 19, () => []), disabled = $210.prop($$props, "disabled", 3, false), rest = $210.rest_props($$props, rest_excludes83);
|
|
36368
|
+
let ariaLabel = $210.prop($$props, "aria-label", 3, "Filters"), showSearch = $210.prop($$props, "showSearch", 3, true), searchPlaceholder = $210.prop($$props, "searchPlaceholder", 3, "Search…"), searchAriaLabel = $210.prop($$props, "searchAriaLabel", 3, "Search"), facets = $210.prop($$props, "facets", 19, () => []), appliedFilters = $210.prop($$props, "appliedFilters", 19, () => []), disabled = $210.prop($$props, "disabled", 3, false), rest = $210.rest_props($$props, rest_excludes83);
|
|
36321
36369
|
const searchId = $210.derived(() => `${generatedId}-search`);
|
|
36322
36370
|
let rootElement = $210.state(undefined);
|
|
36323
36371
|
let internalSearchQuery = $210.state("");
|
|
@@ -36332,7 +36380,7 @@ function Faceted_filter_bar($$anchor, $$props) {
|
|
|
36332
36380
|
return value;
|
|
36333
36381
|
return facet.options.find((option) => option.value === value)?.label ?? value;
|
|
36334
36382
|
}
|
|
36335
|
-
const hasAppliedFilters = $210.derived(() => appliedFilters().length > 0 || $210.get(currentSearchQuery).length > 0);
|
|
36383
|
+
const hasAppliedFilters = $210.derived(() => appliedFilters().length > 0 || showSearch() && $210.get(currentSearchQuery).length > 0);
|
|
36336
36384
|
const totalActiveCount = $210.derived(() => appliedFilters().length);
|
|
36337
36385
|
const summaryMessage = $210.derived(() => {
|
|
36338
36386
|
if ($210.get(totalActiveCount) === 0)
|
|
@@ -36376,31 +36424,39 @@ function Faceted_filter_bar($$anchor, $$props) {
|
|
|
36376
36424
|
}), [() => classNames("cinder-faceted-filter-bar", $$props.class)]);
|
|
36377
36425
|
var div_1 = $210.child(div);
|
|
36378
36426
|
var node = $210.child(div_1);
|
|
36379
|
-
|
|
36380
|
-
|
|
36381
|
-
|
|
36382
|
-
|
|
36383
|
-
|
|
36384
|
-
|
|
36385
|
-
|
|
36386
|
-
|
|
36387
|
-
|
|
36388
|
-
|
|
36389
|
-
|
|
36390
|
-
|
|
36391
|
-
|
|
36392
|
-
|
|
36393
|
-
|
|
36394
|
-
|
|
36395
|
-
|
|
36396
|
-
|
|
36397
|
-
|
|
36427
|
+
{
|
|
36428
|
+
var consequent = ($$anchor2) => {
|
|
36429
|
+
Search_field($$anchor2, {
|
|
36430
|
+
get id() {
|
|
36431
|
+
return $210.get(searchId);
|
|
36432
|
+
},
|
|
36433
|
+
class: "cinder-faceted-filter-bar__search",
|
|
36434
|
+
get value() {
|
|
36435
|
+
return $210.get(currentSearchQuery);
|
|
36436
|
+
},
|
|
36437
|
+
get placeholder() {
|
|
36438
|
+
return searchPlaceholder();
|
|
36439
|
+
},
|
|
36440
|
+
get "aria-label"() {
|
|
36441
|
+
return searchAriaLabel();
|
|
36442
|
+
},
|
|
36443
|
+
get disabled() {
|
|
36444
|
+
return disabled();
|
|
36445
|
+
},
|
|
36446
|
+
oninput: handleSearchInput
|
|
36447
|
+
});
|
|
36448
|
+
};
|
|
36449
|
+
$210.if(node, ($$render) => {
|
|
36450
|
+
if (showSearch())
|
|
36451
|
+
$$render(consequent);
|
|
36452
|
+
});
|
|
36453
|
+
}
|
|
36398
36454
|
var node_1 = $210.sibling(node, 2);
|
|
36399
36455
|
$210.each(node_1, 17, facets, (facet) => facet.key, ($$anchor2, facet) => {
|
|
36400
|
-
var
|
|
36401
|
-
var node_2 = $210.first_child(
|
|
36456
|
+
var fragment_1 = $210.comment();
|
|
36457
|
+
var node_2 = $210.first_child(fragment_1);
|
|
36402
36458
|
{
|
|
36403
|
-
var
|
|
36459
|
+
var consequent_1 = ($$anchor3) => {
|
|
36404
36460
|
const selectFacet = $210.derived(() => $210.get(facet));
|
|
36405
36461
|
var div_2 = root_1120();
|
|
36406
36462
|
var label = $210.child(div_2);
|
|
@@ -36448,7 +36504,7 @@ function Faceted_filter_bar($$anchor, $$props) {
|
|
|
36448
36504
|
});
|
|
36449
36505
|
$210.append($$anchor3, div_2);
|
|
36450
36506
|
};
|
|
36451
|
-
var
|
|
36507
|
+
var consequent_2 = ($$anchor3) => {
|
|
36452
36508
|
var div_3 = root_274();
|
|
36453
36509
|
var node_4 = $210.child(div_3);
|
|
36454
36510
|
{
|
|
@@ -36465,17 +36521,17 @@ function Faceted_filter_bar($$anchor, $$props) {
|
|
|
36465
36521
|
};
|
|
36466
36522
|
$210.if(node_2, ($$render) => {
|
|
36467
36523
|
if ($210.get(facet).type === "select")
|
|
36468
|
-
$$render(
|
|
36524
|
+
$$render(consequent_1);
|
|
36469
36525
|
else if ($210.get(facet).type === "custom")
|
|
36470
|
-
$$render(
|
|
36526
|
+
$$render(consequent_2, 1);
|
|
36471
36527
|
});
|
|
36472
36528
|
}
|
|
36473
|
-
$210.append($$anchor2,
|
|
36529
|
+
$210.append($$anchor2, fragment_1);
|
|
36474
36530
|
});
|
|
36475
36531
|
$210.reset(div_1);
|
|
36476
36532
|
var node_5 = $210.sibling(div_1, 2);
|
|
36477
36533
|
{
|
|
36478
|
-
var
|
|
36534
|
+
var consequent_3 = ($$anchor2) => {
|
|
36479
36535
|
var div_4 = root_356();
|
|
36480
36536
|
var node_6 = $210.child(div_4);
|
|
36481
36537
|
$210.each(node_6, 17, appliedFilters, (filter) => filter.key, ($$anchor3, filter) => {
|
|
@@ -36520,7 +36576,7 @@ function Faceted_filter_bar($$anchor, $$props) {
|
|
|
36520
36576
|
};
|
|
36521
36577
|
$210.if(node_5, ($$render) => {
|
|
36522
36578
|
if ($210.get(hasAppliedFilters))
|
|
36523
|
-
$$render(
|
|
36579
|
+
$$render(consequent_3);
|
|
36524
36580
|
});
|
|
36525
36581
|
}
|
|
36526
36582
|
var node_8 = $210.sibling(node_5, 2);
|
|
@@ -39257,12 +39313,12 @@ function Property_list($$anchor, $$props) {
|
|
|
39257
39313
|
function toggleRequired(key2) {
|
|
39258
39314
|
if (readonly())
|
|
39259
39315
|
return;
|
|
39260
|
-
const
|
|
39261
|
-
if (
|
|
39262
|
-
|
|
39316
|
+
const set84 = new Set($$props.required);
|
|
39317
|
+
if (set84.has(key2))
|
|
39318
|
+
set84.delete(key2);
|
|
39263
39319
|
else
|
|
39264
|
-
|
|
39265
|
-
$$props.onchange($$props.properties, [...
|
|
39320
|
+
set84.add(key2);
|
|
39321
|
+
$$props.onchange($$props.properties, [...set84]);
|
|
39266
39322
|
}
|
|
39267
39323
|
function setPropertySchema(key2, schema) {
|
|
39268
39324
|
if (readonly())
|
|
@@ -49043,14 +49099,11 @@ function Navigation_bar($$anchor, $$props) {
|
|
|
49043
49099
|
var consequent = ($$anchor2) => {
|
|
49044
49100
|
var div = root166();
|
|
49045
49101
|
var node_1 = $264.child(div);
|
|
49046
|
-
{
|
|
49047
|
-
|
|
49048
|
-
|
|
49049
|
-
|
|
49050
|
-
|
|
49051
|
-
}));
|
|
49052
|
-
$264.snippet(node_1, () => $$props.menuToggle, () => $264.get($0));
|
|
49053
|
-
}
|
|
49102
|
+
$264.snippet(node_1, () => $$props.menuToggle, () => ({
|
|
49103
|
+
"aria-expanded": mobileMenuOpen() ? "true" : "false",
|
|
49104
|
+
"aria-controls": regionId,
|
|
49105
|
+
onclick: handleToggle
|
|
49106
|
+
}));
|
|
49054
49107
|
$264.reset(div);
|
|
49055
49108
|
$264.append($$anchor2, div);
|
|
49056
49109
|
};
|
|
@@ -49078,14 +49131,11 @@ function Navigation_bar($$anchor, $$props) {
|
|
|
49078
49131
|
var consequent_2 = ($$anchor2) => {
|
|
49079
49132
|
var div_2 = root166();
|
|
49080
49133
|
var node_5 = $264.child(div_2);
|
|
49081
|
-
{
|
|
49082
|
-
|
|
49083
|
-
|
|
49084
|
-
|
|
49085
|
-
|
|
49086
|
-
}));
|
|
49087
|
-
$264.snippet(node_5, () => $$props.menuToggle, () => $264.get($0));
|
|
49088
|
-
}
|
|
49134
|
+
$264.snippet(node_5, () => $$props.menuToggle, () => ({
|
|
49135
|
+
"aria-expanded": mobileMenuOpen() ? "true" : "false",
|
|
49136
|
+
"aria-controls": regionId,
|
|
49137
|
+
onclick: handleToggle
|
|
49138
|
+
}));
|
|
49089
49139
|
$264.reset(div_2);
|
|
49090
49140
|
$264.append($$anchor2, div_2);
|
|
49091
49141
|
};
|
|
@@ -50422,11 +50472,11 @@ function Permission_matrix($$anchor, $$props) {
|
|
|
50422
50472
|
"not-applicable": "not applicable"
|
|
50423
50473
|
};
|
|
50424
50474
|
const mergedStateLabels = $272.derived(() => ({ ...defaultStateLabels, ...$$props.stateLabels ?? {} }));
|
|
50425
|
-
function stateLabel(
|
|
50426
|
-
return $272.get(mergedStateLabels)[
|
|
50475
|
+
function stateLabel(state104) {
|
|
50476
|
+
return $272.get(mergedStateLabels)[state104];
|
|
50427
50477
|
}
|
|
50428
|
-
function cellLabel(row, column,
|
|
50429
|
-
return `${row.label} × ${column.label}: ${stateLabel(
|
|
50478
|
+
function cellLabel(row, column, state104) {
|
|
50479
|
+
return `${row.label} × ${column.label}: ${stateLabel(state104)}`;
|
|
50430
50480
|
}
|
|
50431
50481
|
var figure = root_823();
|
|
50432
50482
|
$272.attribute_effect(figure, ($0) => ({
|
|
@@ -50536,9 +50586,9 @@ function Permission_matrix($$anchor, $$props) {
|
|
|
50536
50586
|
$272.reset(th_2);
|
|
50537
50587
|
var node_7 = $272.sibling(th_2);
|
|
50538
50588
|
$272.each(node_7, 17, () => $$props.columns, (column) => column.id, ($$anchor4, column) => {
|
|
50539
|
-
const
|
|
50540
|
-
const accessibleLabel = $272.derived(() => cellLabel($272.get(row), $272.get(column), $272.get(
|
|
50541
|
-
const visibleLabel = $272.derived(() => stateLabel($272.get(
|
|
50589
|
+
const state104 = $272.derived(() => $$props.getCellState($272.get(row), $272.get(column)));
|
|
50590
|
+
const accessibleLabel = $272.derived(() => cellLabel($272.get(row), $272.get(column), $272.get(state104)));
|
|
50591
|
+
const visibleLabel = $272.derived(() => stateLabel($272.get(state104)));
|
|
50542
50592
|
var td = root_548();
|
|
50543
50593
|
var node_8 = $272.child(td);
|
|
50544
50594
|
{
|
|
@@ -50557,9 +50607,9 @@ function Permission_matrix($$anchor, $$props) {
|
|
|
50557
50607
|
Minus($$anchor6, { size: 16, strokeWidth: 2.25 });
|
|
50558
50608
|
};
|
|
50559
50609
|
$272.if(node_9, ($$render) => {
|
|
50560
|
-
if ($272.get(
|
|
50610
|
+
if ($272.get(state104) === "granted")
|
|
50561
50611
|
$$render(consequent_5);
|
|
50562
|
-
else if ($272.get(
|
|
50612
|
+
else if ($272.get(state104) === "denied")
|
|
50563
50613
|
$$render(consequent_6, 1);
|
|
50564
50614
|
else
|
|
50565
50615
|
$$render(alternate_2, -1);
|
|
@@ -50574,10 +50624,10 @@ function Permission_matrix($$anchor, $$props) {
|
|
|
50574
50624
|
$272.set_attribute(button, "aria-label", $272.get(accessibleLabel));
|
|
50575
50625
|
$272.set_attribute(button, "data-cinder-row", $272.get(row).id);
|
|
50576
50626
|
$272.set_attribute(button, "data-cinder-column", $272.get(column).id);
|
|
50577
|
-
$272.set_attribute(button, "data-cinder-state", $272.get(
|
|
50627
|
+
$272.set_attribute(button, "data-cinder-state", $272.get(state104));
|
|
50578
50628
|
$272.set_text(text_8, $272.get(visibleLabel));
|
|
50579
50629
|
});
|
|
50580
|
-
$272.delegated("click", button, () => $$props.onCellClick($272.get(row), $272.get(column), $272.get(
|
|
50630
|
+
$272.delegated("click", button, () => $$props.onCellClick($272.get(row), $272.get(column), $272.get(state104)));
|
|
50581
50631
|
$272.append($$anchor5, button);
|
|
50582
50632
|
};
|
|
50583
50633
|
var alternate_4 = ($$anchor5) => {
|
|
@@ -50595,9 +50645,9 @@ function Permission_matrix($$anchor, $$props) {
|
|
|
50595
50645
|
Minus($$anchor6, { size: 16, strokeWidth: 2.25 });
|
|
50596
50646
|
};
|
|
50597
50647
|
$272.if(node_10, ($$render) => {
|
|
50598
|
-
if ($272.get(
|
|
50648
|
+
if ($272.get(state104) === "granted")
|
|
50599
50649
|
$$render(consequent_8);
|
|
50600
|
-
else if ($272.get(
|
|
50650
|
+
else if ($272.get(state104) === "denied")
|
|
50601
50651
|
$$render(consequent_9, 1);
|
|
50602
50652
|
else
|
|
50603
50653
|
$$render(alternate_3, -1);
|
|
@@ -50611,7 +50661,7 @@ function Permission_matrix($$anchor, $$props) {
|
|
|
50611
50661
|
$272.template_effect(() => {
|
|
50612
50662
|
$272.set_attribute(span_2, "data-cinder-row", $272.get(row).id);
|
|
50613
50663
|
$272.set_attribute(span_2, "data-cinder-column", $272.get(column).id);
|
|
50614
|
-
$272.set_attribute(span_2, "data-cinder-state", $272.get(
|
|
50664
|
+
$272.set_attribute(span_2, "data-cinder-state", $272.get(state104));
|
|
50615
50665
|
$272.set_text(text_9, $272.get(visibleLabel));
|
|
50616
50666
|
});
|
|
50617
50667
|
$272.append($$anchor5, span_2);
|
|
@@ -50625,7 +50675,7 @@ function Permission_matrix($$anchor, $$props) {
|
|
|
50625
50675
|
}
|
|
50626
50676
|
$272.reset(td);
|
|
50627
50677
|
$272.template_effect(() => {
|
|
50628
|
-
$272.set_attribute(td, "data-cinder-state", $272.get(
|
|
50678
|
+
$272.set_attribute(td, "data-cinder-state", $272.get(state104));
|
|
50629
50679
|
$272.set_attribute(td, "aria-label", $272.get(accessibleLabel));
|
|
50630
50680
|
});
|
|
50631
50681
|
$272.append($$anchor4, td);
|
|
@@ -53123,11 +53173,11 @@ function populateTemplateWithDigits(template, position, digits) {
|
|
|
53123
53173
|
}
|
|
53124
53174
|
|
|
53125
53175
|
// ../../node_modules/libphonenumber-js/es6/AsYouTypeFormatter.complete.js
|
|
53126
|
-
function formatCompleteNumber(
|
|
53176
|
+
function formatCompleteNumber(state104, format, _ref) {
|
|
53127
53177
|
var { metadata, shouldTryNationalPrefixFormattingRule, getSeparatorAfterNationalPrefix } = _ref;
|
|
53128
53178
|
var matcher = new RegExp("^(?:".concat(format.pattern(), ")$"));
|
|
53129
|
-
if (matcher.test(
|
|
53130
|
-
return formatNationalNumberWithAndWithoutNationalPrefixFormattingRule(
|
|
53179
|
+
if (matcher.test(state104.nationalSignificantNumber)) {
|
|
53180
|
+
return formatNationalNumberWithAndWithoutNationalPrefixFormattingRule(state104, format, {
|
|
53131
53181
|
metadata,
|
|
53132
53182
|
shouldTryNationalPrefixFormattingRule,
|
|
53133
53183
|
getSeparatorAfterNationalPrefix
|
|
@@ -53137,11 +53187,11 @@ function formatCompleteNumber(state103, format, _ref) {
|
|
|
53137
53187
|
function canFormatCompleteNumber(nationalSignificantNumber, country, metadata) {
|
|
53138
53188
|
return checkNumberLength(nationalSignificantNumber, country, metadata) === "IS_POSSIBLE";
|
|
53139
53189
|
}
|
|
53140
|
-
function formatNationalNumberWithAndWithoutNationalPrefixFormattingRule(
|
|
53190
|
+
function formatNationalNumberWithAndWithoutNationalPrefixFormattingRule(state104, format, _ref2) {
|
|
53141
53191
|
var { metadata, shouldTryNationalPrefixFormattingRule, getSeparatorAfterNationalPrefix } = _ref2;
|
|
53142
|
-
var { nationalSignificantNumber, international, nationalPrefix, carrierCode } =
|
|
53192
|
+
var { nationalSignificantNumber, international, nationalPrefix, carrierCode } = state104;
|
|
53143
53193
|
if (shouldTryNationalPrefixFormattingRule(format)) {
|
|
53144
|
-
var formattedNumber = formatNationalNumber2(
|
|
53194
|
+
var formattedNumber = formatNationalNumber2(state104, format, {
|
|
53145
53195
|
useNationalPrefixFormattingRule: true,
|
|
53146
53196
|
getSeparatorAfterNationalPrefix,
|
|
53147
53197
|
metadata
|
|
@@ -53150,33 +53200,33 @@ function formatNationalNumberWithAndWithoutNationalPrefixFormattingRule(state103
|
|
|
53150
53200
|
return formattedNumber;
|
|
53151
53201
|
}
|
|
53152
53202
|
}
|
|
53153
|
-
return formatNationalNumber2(
|
|
53203
|
+
return formatNationalNumber2(state104, format, {
|
|
53154
53204
|
useNationalPrefixFormattingRule: false,
|
|
53155
53205
|
getSeparatorAfterNationalPrefix,
|
|
53156
53206
|
metadata
|
|
53157
53207
|
});
|
|
53158
53208
|
}
|
|
53159
|
-
function formatNationalNumber2(
|
|
53209
|
+
function formatNationalNumber2(state104, format, _ref3) {
|
|
53160
53210
|
var { metadata, useNationalPrefixFormattingRule, getSeparatorAfterNationalPrefix } = _ref3;
|
|
53161
|
-
var formattedNationalNumber = formatNationalNumberUsingFormat(
|
|
53162
|
-
carrierCode:
|
|
53163
|
-
useInternationalFormat:
|
|
53211
|
+
var formattedNationalNumber = formatNationalNumberUsingFormat(state104.nationalSignificantNumber, format, {
|
|
53212
|
+
carrierCode: state104.carrierCode,
|
|
53213
|
+
useInternationalFormat: state104.international,
|
|
53164
53214
|
withNationalPrefix: useNationalPrefixFormattingRule,
|
|
53165
53215
|
metadata
|
|
53166
53216
|
});
|
|
53167
53217
|
if (!useNationalPrefixFormattingRule) {
|
|
53168
|
-
if (
|
|
53169
|
-
formattedNationalNumber =
|
|
53170
|
-
} else if (
|
|
53171
|
-
formattedNationalNumber =
|
|
53218
|
+
if (state104.nationalPrefix) {
|
|
53219
|
+
formattedNationalNumber = state104.nationalPrefix + getSeparatorAfterNationalPrefix(format) + formattedNationalNumber;
|
|
53220
|
+
} else if (state104.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix) {
|
|
53221
|
+
formattedNationalNumber = state104.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix + " " + formattedNationalNumber;
|
|
53172
53222
|
}
|
|
53173
53223
|
}
|
|
53174
|
-
if (isValidFormattedNationalNumber(formattedNationalNumber,
|
|
53224
|
+
if (isValidFormattedNationalNumber(formattedNationalNumber, state104)) {
|
|
53175
53225
|
return formattedNationalNumber;
|
|
53176
53226
|
}
|
|
53177
53227
|
}
|
|
53178
|
-
function isValidFormattedNationalNumber(formattedNationalNumber,
|
|
53179
|
-
return parseDigits(formattedNationalNumber) ===
|
|
53228
|
+
function isValidFormattedNationalNumber(formattedNationalNumber, state104) {
|
|
53229
|
+
return parseDigits(formattedNationalNumber) === state104.getNationalDigits();
|
|
53180
53230
|
}
|
|
53181
53231
|
|
|
53182
53232
|
// ../../node_modules/libphonenumber-js/es6/AsYouTypeFormatter.PatternParser.js
|
|
@@ -53686,7 +53736,7 @@ var NON_ALTERING_FORMAT_REG_EXP = new RegExp("[" + VALID_PUNCTUATION + "]*" + "\
|
|
|
53686
53736
|
var MIN_LEADING_DIGITS_LENGTH = 3;
|
|
53687
53737
|
var AsYouTypeFormatter = /* @__PURE__ */ function() {
|
|
53688
53738
|
function AsYouTypeFormatter2(_ref) {
|
|
53689
|
-
var { state:
|
|
53739
|
+
var { state: state104, metadata } = _ref;
|
|
53690
53740
|
_classCallCheck7(this, AsYouTypeFormatter2);
|
|
53691
53741
|
this.metadata = metadata;
|
|
53692
53742
|
this.resetFormat();
|
|
@@ -53702,13 +53752,13 @@ var AsYouTypeFormatter = /* @__PURE__ */ function() {
|
|
|
53702
53752
|
}
|
|
53703
53753
|
}, {
|
|
53704
53754
|
key: "reset",
|
|
53705
|
-
value: function reset175(numberingPlan,
|
|
53755
|
+
value: function reset175(numberingPlan, state104) {
|
|
53706
53756
|
this.resetFormat();
|
|
53707
53757
|
if (numberingPlan) {
|
|
53708
53758
|
this.isNANP = numberingPlan.callingCode() === "1";
|
|
53709
53759
|
this.matchingFormats = numberingPlan.formats();
|
|
53710
|
-
if (
|
|
53711
|
-
this.narrowDownMatchingFormats(
|
|
53760
|
+
if (state104.nationalSignificantNumber) {
|
|
53761
|
+
this.narrowDownMatchingFormats(state104);
|
|
53712
53762
|
}
|
|
53713
53763
|
} else {
|
|
53714
53764
|
this.isNANP = undefined;
|
|
@@ -53717,17 +53767,17 @@ var AsYouTypeFormatter = /* @__PURE__ */ function() {
|
|
|
53717
53767
|
}
|
|
53718
53768
|
}, {
|
|
53719
53769
|
key: "format",
|
|
53720
|
-
value: function format(nextDigits,
|
|
53770
|
+
value: function format(nextDigits, state104) {
|
|
53721
53771
|
var _this = this;
|
|
53722
|
-
if (canFormatCompleteNumber(
|
|
53772
|
+
if (canFormatCompleteNumber(state104.nationalSignificantNumber, state104.country, this.metadata)) {
|
|
53723
53773
|
for (var _iterator = _createForOfIteratorHelperLoose8(this.matchingFormats), _step;!(_step = _iterator()).done; ) {
|
|
53724
53774
|
var _format = _step.value;
|
|
53725
|
-
var formattedCompleteNumber = formatCompleteNumber(
|
|
53775
|
+
var formattedCompleteNumber = formatCompleteNumber(state104, _format, {
|
|
53726
53776
|
metadata: this.metadata,
|
|
53727
53777
|
shouldTryNationalPrefixFormattingRule: function shouldTryNationalPrefixFormattingRule(format2) {
|
|
53728
53778
|
return _this.shouldTryNationalPrefixFormattingRule(format2, {
|
|
53729
|
-
international:
|
|
53730
|
-
nationalPrefix:
|
|
53779
|
+
international: state104.international,
|
|
53780
|
+
nationalPrefix: state104.nationalPrefix
|
|
53731
53781
|
});
|
|
53732
53782
|
},
|
|
53733
53783
|
getSeparatorAfterNationalPrefix: function getSeparatorAfterNationalPrefix(format2) {
|
|
@@ -53737,25 +53787,25 @@ var AsYouTypeFormatter = /* @__PURE__ */ function() {
|
|
|
53737
53787
|
if (formattedCompleteNumber) {
|
|
53738
53788
|
this.resetFormat();
|
|
53739
53789
|
this.chosenFormat = _format;
|
|
53740
|
-
this.setNationalNumberTemplate(formattedCompleteNumber.replace(/\d/g, DIGIT_PLACEHOLDER),
|
|
53790
|
+
this.setNationalNumberTemplate(formattedCompleteNumber.replace(/\d/g, DIGIT_PLACEHOLDER), state104);
|
|
53741
53791
|
this.populatedNationalNumberTemplate = formattedCompleteNumber;
|
|
53742
53792
|
this.populatedNationalNumberTemplatePosition = this.template.lastIndexOf(DIGIT_PLACEHOLDER);
|
|
53743
53793
|
return formattedCompleteNumber;
|
|
53744
53794
|
}
|
|
53745
53795
|
}
|
|
53746
53796
|
}
|
|
53747
|
-
return this.formatNationalNumberWithNextDigits(nextDigits,
|
|
53797
|
+
return this.formatNationalNumberWithNextDigits(nextDigits, state104);
|
|
53748
53798
|
}
|
|
53749
53799
|
}, {
|
|
53750
53800
|
key: "formatNationalNumberWithNextDigits",
|
|
53751
|
-
value: function formatNationalNumberWithNextDigits(nextDigits,
|
|
53801
|
+
value: function formatNationalNumberWithNextDigits(nextDigits, state104) {
|
|
53752
53802
|
var previouslyChosenFormat = this.chosenFormat;
|
|
53753
|
-
var newlyChosenFormat = this.chooseFormat(
|
|
53803
|
+
var newlyChosenFormat = this.chooseFormat(state104);
|
|
53754
53804
|
if (newlyChosenFormat) {
|
|
53755
53805
|
if (newlyChosenFormat === previouslyChosenFormat) {
|
|
53756
53806
|
return this.formatNextNationalNumberDigits(nextDigits);
|
|
53757
53807
|
} else {
|
|
53758
|
-
return this.formatNextNationalNumberDigits(
|
|
53808
|
+
return this.formatNextNationalNumberDigits(state104.getNationalDigits());
|
|
53759
53809
|
}
|
|
53760
53810
|
}
|
|
53761
53811
|
}
|
|
@@ -53815,17 +53865,17 @@ var AsYouTypeFormatter = /* @__PURE__ */ function() {
|
|
|
53815
53865
|
}
|
|
53816
53866
|
}, {
|
|
53817
53867
|
key: "chooseFormat",
|
|
53818
|
-
value: function chooseFormat(
|
|
53868
|
+
value: function chooseFormat(state104) {
|
|
53819
53869
|
var _this3 = this;
|
|
53820
53870
|
var _loop = function _loop2() {
|
|
53821
53871
|
var format = _step2.value;
|
|
53822
53872
|
if (_this3.chosenFormat === format) {
|
|
53823
53873
|
return 0;
|
|
53824
53874
|
}
|
|
53825
|
-
if (!NON_ALTERING_FORMAT_REG_EXP.test(_this3.getFormatFormat(format,
|
|
53875
|
+
if (!NON_ALTERING_FORMAT_REG_EXP.test(_this3.getFormatFormat(format, state104.international))) {
|
|
53826
53876
|
return 1;
|
|
53827
53877
|
}
|
|
53828
|
-
if (!_this3.createTemplateForFormat(format,
|
|
53878
|
+
if (!_this3.createTemplateForFormat(format, state104)) {
|
|
53829
53879
|
_this3.matchingFormats = _this3.matchingFormats.filter(function(_) {
|
|
53830
53880
|
return _ !== format;
|
|
53831
53881
|
});
|
|
@@ -53848,13 +53898,13 @@ var AsYouTypeFormatter = /* @__PURE__ */ function() {
|
|
|
53848
53898
|
}
|
|
53849
53899
|
}, {
|
|
53850
53900
|
key: "createTemplateForFormat",
|
|
53851
|
-
value: function createTemplateForFormat(format,
|
|
53901
|
+
value: function createTemplateForFormat(format, state104) {
|
|
53852
53902
|
if (SUPPORT_LEGACY_FORMATTING_PATTERNS && format.pattern().indexOf("|") >= 0) {
|
|
53853
53903
|
return;
|
|
53854
53904
|
}
|
|
53855
|
-
var template = this.getTemplateForFormat(format,
|
|
53905
|
+
var template = this.getTemplateForFormat(format, state104);
|
|
53856
53906
|
if (template) {
|
|
53857
|
-
this.setNationalNumberTemplate(template,
|
|
53907
|
+
this.setNationalNumberTemplate(template, state104);
|
|
53858
53908
|
return true;
|
|
53859
53909
|
}
|
|
53860
53910
|
}
|
|
@@ -53883,16 +53933,16 @@ var AsYouTypeFormatter = /* @__PURE__ */ function() {
|
|
|
53883
53933
|
}
|
|
53884
53934
|
}, {
|
|
53885
53935
|
key: "getTemplate",
|
|
53886
|
-
value: function getTemplate(
|
|
53936
|
+
value: function getTemplate(state104) {
|
|
53887
53937
|
if (!this.template) {
|
|
53888
53938
|
return;
|
|
53889
53939
|
}
|
|
53890
53940
|
var index6 = -1;
|
|
53891
53941
|
var i = 0;
|
|
53892
|
-
var internationalPrefix =
|
|
53942
|
+
var internationalPrefix = state104.international ? this.getInternationalPrefixBeforeCountryCallingCode(state104, {
|
|
53893
53943
|
spacing: false
|
|
53894
53944
|
}) : "";
|
|
53895
|
-
while (i < internationalPrefix.length +
|
|
53945
|
+
while (i < internationalPrefix.length + state104.getDigitsWithoutInternationalPrefix().length) {
|
|
53896
53946
|
index6 = this.template.indexOf(DIGIT_PLACEHOLDER, index6 + 1);
|
|
53897
53947
|
i++;
|
|
53898
53948
|
}
|
|
@@ -53900,12 +53950,12 @@ var AsYouTypeFormatter = /* @__PURE__ */ function() {
|
|
|
53900
53950
|
}
|
|
53901
53951
|
}, {
|
|
53902
53952
|
key: "setNationalNumberTemplate",
|
|
53903
|
-
value: function setNationalNumberTemplate(template,
|
|
53953
|
+
value: function setNationalNumberTemplate(template, state104) {
|
|
53904
53954
|
this.nationalNumberTemplate = template;
|
|
53905
53955
|
this.populatedNationalNumberTemplate = template;
|
|
53906
53956
|
this.populatedNationalNumberTemplatePosition = -1;
|
|
53907
|
-
if (
|
|
53908
|
-
this.template = this.getInternationalPrefixBeforeCountryCallingCode(
|
|
53957
|
+
if (state104.international) {
|
|
53958
|
+
this.template = this.getInternationalPrefixBeforeCountryCallingCode(state104).replace(/[\d\+]/g, DIGIT_PLACEHOLDER) + repeat(DIGIT_PLACEHOLDER, state104.callingCode.length) + " " + template;
|
|
53909
53959
|
} else {
|
|
53910
53960
|
this.template = template;
|
|
53911
53961
|
}
|
|
@@ -54090,20 +54140,20 @@ var AsYouTypeParser = /* @__PURE__ */ function() {
|
|
|
54090
54140
|
}
|
|
54091
54141
|
return _createClass8(AsYouTypeParser2, [{
|
|
54092
54142
|
key: "input",
|
|
54093
|
-
value: function input(text47,
|
|
54143
|
+
value: function input(text47, state104) {
|
|
54094
54144
|
var _extractFormattedDigi = extractFormattedDigitsAndPlus(text47), _extractFormattedDigi2 = _slicedToArray2(_extractFormattedDigi, 2), formattedDigits = _extractFormattedDigi2[0], hasPlus = _extractFormattedDigi2[1];
|
|
54095
54145
|
var digits = parseDigits(formattedDigits);
|
|
54096
54146
|
var justLeadingPlus;
|
|
54097
54147
|
if (hasPlus) {
|
|
54098
|
-
if (!
|
|
54099
|
-
|
|
54148
|
+
if (!state104.digits) {
|
|
54149
|
+
state104.startInternationalNumber(undefined, undefined);
|
|
54100
54150
|
if (!digits) {
|
|
54101
54151
|
justLeadingPlus = true;
|
|
54102
54152
|
}
|
|
54103
54153
|
}
|
|
54104
54154
|
}
|
|
54105
54155
|
if (digits) {
|
|
54106
|
-
this.inputDigits(digits,
|
|
54156
|
+
this.inputDigits(digits, state104);
|
|
54107
54157
|
}
|
|
54108
54158
|
return {
|
|
54109
54159
|
digits,
|
|
@@ -54112,24 +54162,24 @@ var AsYouTypeParser = /* @__PURE__ */ function() {
|
|
|
54112
54162
|
}
|
|
54113
54163
|
}, {
|
|
54114
54164
|
key: "inputDigits",
|
|
54115
|
-
value: function inputDigits(nextDigits,
|
|
54116
|
-
var digits =
|
|
54165
|
+
value: function inputDigits(nextDigits, state104) {
|
|
54166
|
+
var digits = state104.digits;
|
|
54117
54167
|
var hasReceivedThreeLeadingDigits = digits.length < 3 && digits.length + nextDigits.length >= 3;
|
|
54118
|
-
|
|
54168
|
+
state104.appendDigits(nextDigits);
|
|
54119
54169
|
if (hasReceivedThreeLeadingDigits) {
|
|
54120
|
-
this.extractIddPrefix(
|
|
54170
|
+
this.extractIddPrefix(state104);
|
|
54121
54171
|
}
|
|
54122
|
-
if (this.isWaitingForCountryCallingCode(
|
|
54123
|
-
if (!this.extractCountryCallingCode(
|
|
54172
|
+
if (this.isWaitingForCountryCallingCode(state104)) {
|
|
54173
|
+
if (!this.extractCountryCallingCode(state104)) {
|
|
54124
54174
|
return;
|
|
54125
54175
|
}
|
|
54126
54176
|
} else {
|
|
54127
|
-
|
|
54177
|
+
state104.appendNationalSignificantNumberDigits(nextDigits);
|
|
54128
54178
|
}
|
|
54129
|
-
if (!
|
|
54179
|
+
if (!state104.international) {
|
|
54130
54180
|
if (!this.hasExtractedNationalSignificantNumber) {
|
|
54131
|
-
this.extractNationalSignificantNumber(
|
|
54132
|
-
return
|
|
54181
|
+
this.extractNationalSignificantNumber(state104.getNationalDigits(), function(stateUpdate) {
|
|
54182
|
+
return state104.update(stateUpdate);
|
|
54133
54183
|
});
|
|
54134
54184
|
}
|
|
54135
54185
|
}
|
|
@@ -54142,11 +54192,11 @@ var AsYouTypeParser = /* @__PURE__ */ function() {
|
|
|
54142
54192
|
}
|
|
54143
54193
|
}, {
|
|
54144
54194
|
key: "extractCountryCallingCode",
|
|
54145
|
-
value: function extractCountryCallingCode2(
|
|
54146
|
-
var _extractCountryCallin = extractCountryCallingCode("+" +
|
|
54195
|
+
value: function extractCountryCallingCode2(state104) {
|
|
54196
|
+
var _extractCountryCallin = extractCountryCallingCode("+" + state104.getDigitsWithoutInternationalPrefix(), state104.country, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), countryCallingCode = _extractCountryCallin.countryCallingCode, number = _extractCountryCallin.number;
|
|
54147
54197
|
if (countryCallingCode) {
|
|
54148
|
-
|
|
54149
|
-
|
|
54198
|
+
state104.setCallingCode(countryCallingCode);
|
|
54199
|
+
state104.update({
|
|
54150
54200
|
nationalSignificantNumber: number
|
|
54151
54201
|
});
|
|
54152
54202
|
return true;
|
|
@@ -54221,34 +54271,34 @@ var AsYouTypeParser = /* @__PURE__ */ function() {
|
|
|
54221
54271
|
}
|
|
54222
54272
|
}, {
|
|
54223
54273
|
key: "reExtractNationalSignificantNumber",
|
|
54224
|
-
value: function reExtractNationalSignificantNumber(
|
|
54225
|
-
if (this.extractAnotherNationalSignificantNumber(
|
|
54226
|
-
return
|
|
54274
|
+
value: function reExtractNationalSignificantNumber(state104) {
|
|
54275
|
+
if (this.extractAnotherNationalSignificantNumber(state104.getNationalDigits(), state104.nationalSignificantNumber, function(stateUpdate) {
|
|
54276
|
+
return state104.update(stateUpdate);
|
|
54227
54277
|
})) {
|
|
54228
54278
|
return true;
|
|
54229
54279
|
}
|
|
54230
|
-
if (this.extractIddPrefix(
|
|
54231
|
-
this.extractCallingCodeAndNationalSignificantNumber(
|
|
54280
|
+
if (this.extractIddPrefix(state104)) {
|
|
54281
|
+
this.extractCallingCodeAndNationalSignificantNumber(state104);
|
|
54232
54282
|
return true;
|
|
54233
54283
|
}
|
|
54234
|
-
if (this.fixMissingPlus(
|
|
54235
|
-
this.extractCallingCodeAndNationalSignificantNumber(
|
|
54284
|
+
if (this.fixMissingPlus(state104)) {
|
|
54285
|
+
this.extractCallingCodeAndNationalSignificantNumber(state104);
|
|
54236
54286
|
return true;
|
|
54237
54287
|
}
|
|
54238
54288
|
}
|
|
54239
54289
|
}, {
|
|
54240
54290
|
key: "extractIddPrefix",
|
|
54241
|
-
value: function extractIddPrefix(
|
|
54242
|
-
var { international, IDDPrefix, digits, nationalSignificantNumber } =
|
|
54291
|
+
value: function extractIddPrefix(state104) {
|
|
54292
|
+
var { international, IDDPrefix, digits, nationalSignificantNumber } = state104;
|
|
54243
54293
|
if (international || IDDPrefix) {
|
|
54244
54294
|
return;
|
|
54245
54295
|
}
|
|
54246
54296
|
var numberWithoutIDD = stripIddPrefix(digits, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata);
|
|
54247
54297
|
if (numberWithoutIDD !== undefined && numberWithoutIDD !== digits) {
|
|
54248
|
-
|
|
54298
|
+
state104.update({
|
|
54249
54299
|
IDDPrefix: digits.slice(0, digits.length - numberWithoutIDD.length)
|
|
54250
54300
|
});
|
|
54251
|
-
this.startInternationalNumber(
|
|
54301
|
+
this.startInternationalNumber(state104, {
|
|
54252
54302
|
country: undefined,
|
|
54253
54303
|
callingCode: undefined
|
|
54254
54304
|
});
|
|
@@ -54257,15 +54307,15 @@ var AsYouTypeParser = /* @__PURE__ */ function() {
|
|
|
54257
54307
|
}
|
|
54258
54308
|
}, {
|
|
54259
54309
|
key: "fixMissingPlus",
|
|
54260
|
-
value: function fixMissingPlus(
|
|
54261
|
-
if (!
|
|
54262
|
-
var _extractCountryCallin2 = extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(
|
|
54310
|
+
value: function fixMissingPlus(state104) {
|
|
54311
|
+
if (!state104.international) {
|
|
54312
|
+
var _extractCountryCallin2 = extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(state104.digits, state104.country, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), newCallingCode = _extractCountryCallin2.countryCallingCode;
|
|
54263
54313
|
if (newCallingCode) {
|
|
54264
|
-
|
|
54314
|
+
state104.update({
|
|
54265
54315
|
missingPlus: true
|
|
54266
54316
|
});
|
|
54267
|
-
this.startInternationalNumber(
|
|
54268
|
-
country:
|
|
54317
|
+
this.startInternationalNumber(state104, {
|
|
54318
|
+
country: state104.country,
|
|
54269
54319
|
callingCode: newCallingCode
|
|
54270
54320
|
});
|
|
54271
54321
|
return true;
|
|
@@ -54274,21 +54324,21 @@ var AsYouTypeParser = /* @__PURE__ */ function() {
|
|
|
54274
54324
|
}
|
|
54275
54325
|
}, {
|
|
54276
54326
|
key: "startInternationalNumber",
|
|
54277
|
-
value: function startInternationalNumber(
|
|
54327
|
+
value: function startInternationalNumber(state104, _ref3) {
|
|
54278
54328
|
var { country, callingCode } = _ref3;
|
|
54279
|
-
|
|
54280
|
-
if (
|
|
54281
|
-
|
|
54329
|
+
state104.startInternationalNumber(country, callingCode);
|
|
54330
|
+
if (state104.nationalSignificantNumber) {
|
|
54331
|
+
state104.resetNationalSignificantNumber();
|
|
54282
54332
|
this.onNationalSignificantNumberChange();
|
|
54283
54333
|
this.hasExtractedNationalSignificantNumber = undefined;
|
|
54284
54334
|
}
|
|
54285
54335
|
}
|
|
54286
54336
|
}, {
|
|
54287
54337
|
key: "extractCallingCodeAndNationalSignificantNumber",
|
|
54288
|
-
value: function extractCallingCodeAndNationalSignificantNumber(
|
|
54289
|
-
if (this.extractCountryCallingCode(
|
|
54290
|
-
this.extractNationalSignificantNumber(
|
|
54291
|
-
return
|
|
54338
|
+
value: function extractCallingCodeAndNationalSignificantNumber(state104) {
|
|
54339
|
+
if (this.extractCountryCallingCode(state104)) {
|
|
54340
|
+
this.extractNationalSignificantNumber(state104.getNationalDigits(), function(stateUpdate) {
|
|
54341
|
+
return state104.update(stateUpdate);
|
|
54292
54342
|
});
|
|
54293
54343
|
}
|
|
54294
54344
|
}
|
|
@@ -56520,6 +56570,65 @@ function Run_step_branch_disclosure($$anchor, $$props) {
|
|
|
56520
56570
|
}
|
|
56521
56571
|
|
|
56522
56572
|
// src/components/run-step-timeline/run-step-timeline.utilities.ts
|
|
56573
|
+
function relocateCompensationSteps(steps) {
|
|
56574
|
+
return relocateSiblingItems(steps, (step) => step);
|
|
56575
|
+
}
|
|
56576
|
+
function relocateSiblingItems(items, getStep) {
|
|
56577
|
+
if (!items.some((item) => getStep(item)?.compensates !== undefined))
|
|
56578
|
+
return items;
|
|
56579
|
+
const stepById = new Map;
|
|
56580
|
+
for (const item of items) {
|
|
56581
|
+
const step = getStep(item);
|
|
56582
|
+
if (step !== undefined) {
|
|
56583
|
+
stepById.set(step.id, step);
|
|
56584
|
+
}
|
|
56585
|
+
}
|
|
56586
|
+
const canRelocate = (step) => {
|
|
56587
|
+
const visited = new Set([step.id]);
|
|
56588
|
+
let targetId = step.compensates;
|
|
56589
|
+
while (targetId !== undefined) {
|
|
56590
|
+
const target = stepById.get(targetId);
|
|
56591
|
+
if (target === undefined || visited.has(targetId))
|
|
56592
|
+
return false;
|
|
56593
|
+
visited.add(targetId);
|
|
56594
|
+
targetId = target.compensates;
|
|
56595
|
+
}
|
|
56596
|
+
return true;
|
|
56597
|
+
};
|
|
56598
|
+
const relocatable = new Set;
|
|
56599
|
+
const compensationsByTarget = new Map;
|
|
56600
|
+
for (const item of items) {
|
|
56601
|
+
const step = getStep(item);
|
|
56602
|
+
if (step === undefined || step.compensates === undefined || !canRelocate(step))
|
|
56603
|
+
continue;
|
|
56604
|
+
relocatable.add(step);
|
|
56605
|
+
const compensations = compensationsByTarget.get(step.compensates) ?? [];
|
|
56606
|
+
compensations.push(item);
|
|
56607
|
+
compensationsByTarget.set(step.compensates, compensations);
|
|
56608
|
+
}
|
|
56609
|
+
const result2 = [];
|
|
56610
|
+
const appendWithCompensations = (item) => {
|
|
56611
|
+
result2.push(item);
|
|
56612
|
+
const step = getStep(item);
|
|
56613
|
+
if (step === undefined)
|
|
56614
|
+
return;
|
|
56615
|
+
for (const compensation of compensationsByTarget.get(step.id) ?? []) {
|
|
56616
|
+
appendWithCompensations(compensation);
|
|
56617
|
+
}
|
|
56618
|
+
};
|
|
56619
|
+
for (const item of items) {
|
|
56620
|
+
const step = getStep(item);
|
|
56621
|
+
if (step === undefined || !relocatable.has(step))
|
|
56622
|
+
appendWithCompensations(item);
|
|
56623
|
+
}
|
|
56624
|
+
return result2;
|
|
56625
|
+
}
|
|
56626
|
+
function relocateCompensationEntries(entries) {
|
|
56627
|
+
return relocateSiblingItems(entries, (entry) => isBranchGroup(entry) ? undefined : entry);
|
|
56628
|
+
}
|
|
56629
|
+
function isBranchGroup(entry) {
|
|
56630
|
+
return "kind" in entry && entry.kind === "branch";
|
|
56631
|
+
}
|
|
56523
56632
|
function statusDotStatus(status) {
|
|
56524
56633
|
switch (status) {
|
|
56525
56634
|
case "succeeded":
|
|
@@ -57104,8 +57213,8 @@ function Run_step_timeline($$anchor, $$props) {
|
|
|
57104
57213
|
const MAX_NESTED_STEP_DEPTH = 3;
|
|
57105
57214
|
let rest = $281.rest_props($$props, rest_excludes124);
|
|
57106
57215
|
const resolvedAriaLabel = $281.derived(() => $$props["aria-labelledby"] === undefined && $$props["aria-label"] === undefined ? $$props.label : $$props["aria-label"]);
|
|
57107
|
-
const renderedEntries = $281.derived(() => flattenEntries($$props.steps));
|
|
57108
|
-
function
|
|
57216
|
+
const renderedEntries = $281.derived(() => flattenEntries(relocateCompensationEntries($$props.steps)));
|
|
57217
|
+
function isBranchGroup2(entry) {
|
|
57109
57218
|
return "kind" in entry && entry.kind === "branch";
|
|
57110
57219
|
}
|
|
57111
57220
|
function flattenEntries(entries) {
|
|
@@ -57118,7 +57227,7 @@ function Run_step_timeline($$anchor, $$props) {
|
|
|
57118
57227
|
stepRun = [];
|
|
57119
57228
|
};
|
|
57120
57229
|
for (const entry of entries) {
|
|
57121
|
-
if (
|
|
57230
|
+
if (isBranchGroup2(entry)) {
|
|
57122
57231
|
flushRun();
|
|
57123
57232
|
result2.push({
|
|
57124
57233
|
kind: "branch",
|
|
@@ -57180,7 +57289,7 @@ function Run_step_timeline($$anchor, $$props) {
|
|
|
57180
57289
|
}
|
|
57181
57290
|
function flattenSteps(list, pathPrefix) {
|
|
57182
57291
|
const rows = [];
|
|
57183
|
-
appendRunStepRows(rows, list, 0, pathPrefix);
|
|
57292
|
+
appendRunStepRows(rows, relocateCompensationSteps(list), 0, pathPrefix);
|
|
57184
57293
|
const currentRowIndex = deepestCurrentStepIndex(rows);
|
|
57185
57294
|
const labelByPathKey = new Map;
|
|
57186
57295
|
for (const row of rows) {
|
|
@@ -57218,7 +57327,7 @@ function Run_step_timeline($$anchor, $$props) {
|
|
|
57218
57327
|
rows.push({ kind: "step", step, depth, pathKey });
|
|
57219
57328
|
if (step.children && step.children.length > 0) {
|
|
57220
57329
|
if (depth < MAX_NESTED_STEP_DEPTH) {
|
|
57221
|
-
appendRunStepRows(rows, step.children, depth + 1, pathKey);
|
|
57330
|
+
appendRunStepRows(rows, relocateCompensationSteps(step.children), depth + 1, pathKey);
|
|
57222
57331
|
} else {
|
|
57223
57332
|
const hiddenSummary = summarizeNestedRunSteps(step.children);
|
|
57224
57333
|
rows.push({
|
|
@@ -57703,8 +57812,8 @@ function createInitialLayoutState(panes, availablePanePixels, orientation) {
|
|
|
57703
57812
|
}))
|
|
57704
57813
|
};
|
|
57705
57814
|
}
|
|
57706
|
-
function rebaseLayoutState(
|
|
57707
|
-
const previousById = new Map(
|
|
57815
|
+
function rebaseLayoutState(state107, panes, availablePanePixels, orientation, options = {}) {
|
|
57816
|
+
const previousById = new Map(state107.panels.map((panel) => [panel.id, panel]));
|
|
57708
57817
|
const constraints = getPanelConstraints(panes, availablePanePixels);
|
|
57709
57818
|
const fallback = createInitialLayoutState(panes, availablePanePixels, orientation);
|
|
57710
57819
|
const collapsedFlags = panes.map((pane, index6) => {
|
|
@@ -57719,9 +57828,9 @@ function rebaseLayoutState(state106, panes, availablePanePixels, orientation, op
|
|
|
57719
57828
|
return 0;
|
|
57720
57829
|
if (options.useDefaultSizes)
|
|
57721
57830
|
return fallback.panels[index6].sizePixels;
|
|
57722
|
-
if (
|
|
57831
|
+
if (state107.availablePanePixels <= 0)
|
|
57723
57832
|
return fallback.panels[index6].sizePixels;
|
|
57724
|
-
return previous.sizePixels /
|
|
57833
|
+
return previous.sizePixels / state107.availablePanePixels * availablePanePixels;
|
|
57725
57834
|
});
|
|
57726
57835
|
const normalized = normalizeToAvailable(desiredSizes, constraints, availablePanePixels, collapsedFlags);
|
|
57727
57836
|
return {
|
|
@@ -57729,22 +57838,22 @@ function rebaseLayoutState(state106, panes, availablePanePixels, orientation, op
|
|
|
57729
57838
|
orientation,
|
|
57730
57839
|
panels: panes.map((pane, index6) => {
|
|
57731
57840
|
const previous = previousById.get(pane.id);
|
|
57732
|
-
const previousRestore =
|
|
57841
|
+
const previousRestore = state107.availablePanePixels > 0 ? previous?.restorePixels ?? fallback.panels[index6].restorePixels : fallback.panels[index6].restorePixels;
|
|
57733
57842
|
const collapsed = collapsedFlags[index6];
|
|
57734
57843
|
return {
|
|
57735
57844
|
id: pane.id,
|
|
57736
57845
|
sizePixels: normalized[index6] ?? 0,
|
|
57737
|
-
restorePixels:
|
|
57846
|
+
restorePixels: state107.availablePanePixels > 0 ? previousRestore / state107.availablePanePixels * availablePanePixels : previousRestore,
|
|
57738
57847
|
collapsed,
|
|
57739
57848
|
preferredUnit: getPreferredUnit(pane)
|
|
57740
57849
|
};
|
|
57741
57850
|
})
|
|
57742
57851
|
};
|
|
57743
57852
|
}
|
|
57744
|
-
function getPairBounds(
|
|
57745
|
-
const constraints = getPanelConstraints(panes,
|
|
57746
|
-
const leading =
|
|
57747
|
-
const trailing =
|
|
57853
|
+
function getPairBounds(state107, panes, handleIndex, options = {}) {
|
|
57854
|
+
const constraints = getPanelConstraints(panes, state107.availablePanePixels);
|
|
57855
|
+
const leading = state107.panels[handleIndex];
|
|
57856
|
+
const trailing = state107.panels[handleIndex + 1];
|
|
57748
57857
|
const leadingConstraints = constraints[handleIndex];
|
|
57749
57858
|
const trailingConstraints = constraints[handleIndex + 1];
|
|
57750
57859
|
const pairTotal = leading.sizePixels + trailing.sizePixels;
|
|
@@ -57755,8 +57864,8 @@ function getPairBounds(state106, panes, handleIndex, options = {}) {
|
|
|
57755
57864
|
const maximumLeading = clamp3(leadingConstraints.maxPixels, minimumLeading, Math.max(minimumLeading, pairMaximumLeading));
|
|
57756
57865
|
return { pairTotal, minimumLeading, maximumLeading };
|
|
57757
57866
|
}
|
|
57758
|
-
function clonePanels(
|
|
57759
|
-
return
|
|
57867
|
+
function clonePanels(state107) {
|
|
57868
|
+
return state107.panels.map((panel) => ({ ...panel }));
|
|
57760
57869
|
}
|
|
57761
57870
|
function hasLayoutPixelChanges(previous, next32) {
|
|
57762
57871
|
if (previous.panels.length !== next32.panels.length)
|
|
@@ -57768,9 +57877,9 @@ function hasLayoutPixelChanges(previous, next32) {
|
|
|
57768
57877
|
return Math.abs(panel.sizePixels - nextPanel.sizePixels) >= 0.001 || panel.collapsed !== nextPanel.collapsed;
|
|
57769
57878
|
});
|
|
57770
57879
|
}
|
|
57771
|
-
function setLeadingPanePixels(
|
|
57772
|
-
const { pairTotal, minimumLeading, maximumLeading } = getPairBounds(
|
|
57773
|
-
const panels = clonePanels(
|
|
57880
|
+
function setLeadingPanePixels(state107, panes, handleIndex, leadingPixels, options = {}) {
|
|
57881
|
+
const { pairTotal, minimumLeading, maximumLeading } = getPairBounds(state107, panes, handleIndex, options);
|
|
57882
|
+
const panels = clonePanels(state107);
|
|
57774
57883
|
const nextLeading = clamp3(leadingPixels, minimumLeading, maximumLeading);
|
|
57775
57884
|
const nextTrailing = pairTotal - nextLeading;
|
|
57776
57885
|
panels[handleIndex].sizePixels = nextLeading;
|
|
@@ -57781,27 +57890,27 @@ function setLeadingPanePixels(state106, panes, handleIndex, leadingPixels, optio
|
|
|
57781
57890
|
panels[handleIndex + 1].collapsed = panes[handleIndex + 1].collapsible ? nextTrailing === 0 : false;
|
|
57782
57891
|
if (nextTrailing > 0)
|
|
57783
57892
|
panels[handleIndex + 1].restorePixels = nextTrailing;
|
|
57784
|
-
return { ...
|
|
57893
|
+
return { ...state107, panels };
|
|
57785
57894
|
}
|
|
57786
|
-
function applyPairDelta(
|
|
57787
|
-
const leading =
|
|
57788
|
-
return setLeadingPanePixels(
|
|
57895
|
+
function applyPairDelta(state107, panes, handleIndex, deltaPixels) {
|
|
57896
|
+
const leading = state107.panels[handleIndex];
|
|
57897
|
+
return setLeadingPanePixels(state107, panes, handleIndex, leading.sizePixels + deltaPixels, {
|
|
57789
57898
|
allowCollapsedLeadingMinimum: leading.collapsed,
|
|
57790
|
-
allowCollapsedTrailingMinimum:
|
|
57899
|
+
allowCollapsedTrailingMinimum: state107.panels[handleIndex + 1].collapsed
|
|
57791
57900
|
});
|
|
57792
57901
|
}
|
|
57793
|
-
function getSnapCandidates(
|
|
57902
|
+
function getSnapCandidates(state107, panes, handleIndex) {
|
|
57794
57903
|
const leadingPane = panes[handleIndex];
|
|
57795
57904
|
const trailingPane = panes[handleIndex + 1];
|
|
57796
|
-
const pairTotal =
|
|
57797
|
-
const leadingCandidates = (leadingPane.snapPoints ?? []).map((size3) => resolveSizeToPixels(size3,
|
|
57798
|
-
const trailingCandidates = (trailingPane.snapPoints ?? []).map((size3) => resolveSizeToPixels(size3,
|
|
57905
|
+
const pairTotal = state107.panels[handleIndex].sizePixels + state107.panels[handleIndex + 1].sizePixels;
|
|
57906
|
+
const leadingCandidates = (leadingPane.snapPoints ?? []).map((size3) => resolveSizeToPixels(size3, state107.availablePanePixels)).filter((value) => value !== undefined).map((value) => clamp3(value, 0, pairTotal));
|
|
57907
|
+
const trailingCandidates = (trailingPane.snapPoints ?? []).map((size3) => resolveSizeToPixels(size3, state107.availablePanePixels)).filter((value) => value !== undefined).map((value) => clamp3(pairTotal - value, 0, pairTotal));
|
|
57799
57908
|
return [...leadingCandidates, ...trailingCandidates];
|
|
57800
57909
|
}
|
|
57801
|
-
function applyPairSnap(
|
|
57802
|
-
const thresholdPixels = resolveSizeToPixels(threshold,
|
|
57803
|
-
const currentLeading =
|
|
57804
|
-
const candidates = getSnapCandidates(
|
|
57910
|
+
function applyPairSnap(state107, panes, handleIndex, threshold = DEFAULT_SNAP_THRESHOLD) {
|
|
57911
|
+
const thresholdPixels = resolveSizeToPixels(threshold, state107.availablePanePixels) ?? 0;
|
|
57912
|
+
const currentLeading = state107.panels[handleIndex].sizePixels;
|
|
57913
|
+
const candidates = getSnapCandidates(state107, panes, handleIndex);
|
|
57805
57914
|
let chosen = null;
|
|
57806
57915
|
let chosenDistance = Number.POSITIVE_INFINITY;
|
|
57807
57916
|
for (const candidate of candidates) {
|
|
@@ -57814,24 +57923,24 @@ function applyPairSnap(state106, panes, handleIndex, threshold = DEFAULT_SNAP_TH
|
|
|
57814
57923
|
}
|
|
57815
57924
|
}
|
|
57816
57925
|
if (chosen === null)
|
|
57817
|
-
return
|
|
57818
|
-
return setLeadingPanePixels(
|
|
57819
|
-
allowCollapsedLeadingMinimum:
|
|
57820
|
-
allowCollapsedTrailingMinimum:
|
|
57926
|
+
return state107;
|
|
57927
|
+
return setLeadingPanePixels(state107, panes, handleIndex, chosen, {
|
|
57928
|
+
allowCollapsedLeadingMinimum: state107.panels[handleIndex].collapsed,
|
|
57929
|
+
allowCollapsedTrailingMinimum: state107.panels[handleIndex + 1].collapsed
|
|
57821
57930
|
});
|
|
57822
57931
|
}
|
|
57823
|
-
function applyPointerDragDelta(
|
|
57932
|
+
function applyPointerDragDelta(state107, panes, handleIndex, previousAxis, currentAxis, threshold = DEFAULT_SNAP_THRESHOLD) {
|
|
57824
57933
|
const delta = currentAxis - previousAxis;
|
|
57825
57934
|
if (Math.abs(delta) < 0.001) {
|
|
57826
|
-
return { axis: previousAxis, changed: false, state:
|
|
57935
|
+
return { axis: previousAxis, changed: false, state: state107 };
|
|
57827
57936
|
}
|
|
57828
|
-
const resized = applyPairDelta(
|
|
57937
|
+
const resized = applyPairDelta(state107, panes, handleIndex, delta);
|
|
57829
57938
|
const snapped = applyPairSnap(resized, panes, handleIndex, threshold);
|
|
57830
|
-
const changed = hasLayoutPixelChanges(
|
|
57939
|
+
const changed = hasLayoutPixelChanges(state107, snapped);
|
|
57831
57940
|
return {
|
|
57832
57941
|
axis: currentAxis,
|
|
57833
57942
|
changed,
|
|
57834
|
-
state: changed ? snapped :
|
|
57943
|
+
state: changed ? snapped : state107
|
|
57835
57944
|
};
|
|
57836
57945
|
}
|
|
57837
57946
|
function resolveKeyboardStep(keyboardStep, availablePanePixels, multiplier = 1) {
|
|
@@ -57852,51 +57961,51 @@ function chooseCollapseIndex(panes, handleIndex, collapseTarget) {
|
|
|
57852
57961
|
return trailingIndex;
|
|
57853
57962
|
return null;
|
|
57854
57963
|
}
|
|
57855
|
-
function toggleCollapseForHandle(
|
|
57964
|
+
function toggleCollapseForHandle(state107, panes, handleIndex, collapseTarget) {
|
|
57856
57965
|
const targetIndex = chooseCollapseIndex(panes, handleIndex, collapseTarget);
|
|
57857
57966
|
if (targetIndex === null)
|
|
57858
|
-
return { state:
|
|
57859
|
-
const target =
|
|
57860
|
-
const pairTotal =
|
|
57967
|
+
return { state: state107, changed: false };
|
|
57968
|
+
const target = state107.panels[targetIndex];
|
|
57969
|
+
const pairTotal = state107.panels[handleIndex].sizePixels + state107.panels[handleIndex + 1].sizePixels;
|
|
57861
57970
|
if (!target.collapsed) {
|
|
57862
|
-
const panels2 = clonePanels(
|
|
57971
|
+
const panels2 = clonePanels(state107);
|
|
57863
57972
|
panels2[targetIndex].restorePixels = target.sizePixels;
|
|
57864
57973
|
panels2[targetIndex].collapsed = true;
|
|
57865
|
-
const collapsed = setLeadingPanePixels({ ...
|
|
57974
|
+
const collapsed = setLeadingPanePixels({ ...state107, panels: panels2 }, panes, handleIndex, targetIndex === handleIndex ? 0 : pairTotal, {
|
|
57866
57975
|
allowCollapsedLeadingMinimum: targetIndex === handleIndex,
|
|
57867
57976
|
allowCollapsedTrailingMinimum: targetIndex !== handleIndex
|
|
57868
57977
|
});
|
|
57869
|
-
return { state: collapsed, changed: hasLayoutPixelChanges(
|
|
57978
|
+
return { state: collapsed, changed: hasLayoutPixelChanges(state107, collapsed) };
|
|
57870
57979
|
}
|
|
57871
|
-
const panels = clonePanels(
|
|
57872
|
-
const restored = setLeadingPanePixels({ ...
|
|
57980
|
+
const panels = clonePanels(state107);
|
|
57981
|
+
const restored = setLeadingPanePixels({ ...state107, panels }, panes, handleIndex, targetIndex === handleIndex ? target.restorePixels : pairTotal - target.restorePixels, {
|
|
57873
57982
|
allowCollapsedLeadingMinimum: targetIndex === handleIndex,
|
|
57874
57983
|
allowCollapsedTrailingMinimum: targetIndex !== handleIndex
|
|
57875
57984
|
});
|
|
57876
57985
|
return { state: restored, changed: true };
|
|
57877
57986
|
}
|
|
57878
|
-
function getLayoutSnapshot(
|
|
57987
|
+
function getLayoutSnapshot(state107, panes) {
|
|
57879
57988
|
return panes.map((pane, index6) => {
|
|
57880
|
-
const runtime =
|
|
57881
|
-
const percentage =
|
|
57989
|
+
const runtime = state107.panels[index6];
|
|
57990
|
+
const percentage = state107.availablePanePixels > 0 ? runtime.sizePixels / state107.availablePanePixels * 100 : 0;
|
|
57882
57991
|
return {
|
|
57883
57992
|
id: pane.id,
|
|
57884
|
-
size: formatSizeFromPixels(runtime.sizePixels, runtime.preferredUnit,
|
|
57993
|
+
size: formatSizeFromPixels(runtime.sizePixels, runtime.preferredUnit, state107.availablePanePixels),
|
|
57885
57994
|
pixelSize: roundToThousandth(runtime.sizePixels),
|
|
57886
57995
|
percentage: roundToThousandth(percentage),
|
|
57887
57996
|
collapsed: runtime.collapsed
|
|
57888
57997
|
};
|
|
57889
57998
|
});
|
|
57890
57999
|
}
|
|
57891
|
-
function getHandleAriaState(
|
|
57892
|
-
const { pairTotal, minimumLeading, maximumLeading } = getPairBounds(
|
|
57893
|
-
allowCollapsedLeadingMinimum:
|
|
57894
|
-
allowCollapsedTrailingMinimum:
|
|
58000
|
+
function getHandleAriaState(state107, panes, handleIndex) {
|
|
58001
|
+
const { pairTotal, minimumLeading, maximumLeading } = getPairBounds(state107, panes, handleIndex, {
|
|
58002
|
+
allowCollapsedLeadingMinimum: state107.panels[handleIndex].collapsed,
|
|
58003
|
+
allowCollapsedTrailingMinimum: state107.panels[handleIndex + 1].collapsed
|
|
57895
58004
|
});
|
|
57896
|
-
if (
|
|
58005
|
+
if (state107.availablePanePixels <= 0 || pairTotal <= 0) {
|
|
57897
58006
|
return { valueNow: 0, valueMin: 0, valueMax: 100, valueText: "0px (0%)" };
|
|
57898
58007
|
}
|
|
57899
|
-
const currentPixels =
|
|
58008
|
+
const currentPixels = state107.panels[handleIndex].sizePixels;
|
|
57900
58009
|
const currentPercent = Math.round(currentPixels / pairTotal * 100);
|
|
57901
58010
|
const minimumPercent = Math.round(minimumLeading / pairTotal * 100);
|
|
57902
58011
|
const maximumPercent = Math.round(maximumLeading / pairTotal * 100);
|
|
@@ -60717,11 +60826,11 @@ function Schema_form_body($$anchor, $$props) {
|
|
|
60717
60826
|
[key2]: ($286.get(arrayKeys)[key2] ?? []).filter((_, candidateIndex) => candidateIndex !== index6)
|
|
60718
60827
|
}, true);
|
|
60719
60828
|
}
|
|
60720
|
-
function reindexArrayPathState(
|
|
60829
|
+
function reindexArrayPathState(state111, arrayPath, removedIndex) {
|
|
60721
60830
|
const prefix = pathKey(arrayPath);
|
|
60722
60831
|
const pathPrefix = prefix === "" ? "" : `${prefix}/`;
|
|
60723
60832
|
const next34 = {};
|
|
60724
|
-
for (const [key2, stateValue] of Object.entries(
|
|
60833
|
+
for (const [key2, stateValue] of Object.entries(state111)) {
|
|
60725
60834
|
if (!key2.startsWith(pathPrefix)) {
|
|
60726
60835
|
next34[key2] = stateValue;
|
|
60727
60836
|
continue;
|
|
@@ -60748,11 +60857,11 @@ function Schema_form_body($$anchor, $$props) {
|
|
|
60748
60857
|
}
|
|
60749
60858
|
return next34;
|
|
60750
60859
|
}
|
|
60751
|
-
function bumpPathValidationSequences(
|
|
60860
|
+
function bumpPathValidationSequences(state111, path) {
|
|
60752
60861
|
const prefix = pathKey(path);
|
|
60753
60862
|
const pathPrefix = prefix === "" ? "" : `${prefix}/`;
|
|
60754
60863
|
const next34 = {};
|
|
60755
|
-
for (const [key2, sequence] of Object.entries(
|
|
60864
|
+
for (const [key2, sequence] of Object.entries(state111)) {
|
|
60756
60865
|
next34[key2] = key2 === prefix || key2.startsWith(pathPrefix) ? sequence + 1 : sequence;
|
|
60757
60866
|
}
|
|
60758
60867
|
return next34;
|
|
@@ -65379,9 +65488,9 @@ function Steps($$anchor, $$props) {
|
|
|
65379
65488
|
var nav = root_926();
|
|
65380
65489
|
var ol = $310.child(nav);
|
|
65381
65490
|
$310.each(ol, 23, () => $$props.steps, (step) => step.id, ($$anchor2, step, index9) => {
|
|
65382
|
-
const
|
|
65383
|
-
const isCurrent2 = $310.derived(() => $310.get(
|
|
65384
|
-
const isComplete = $310.derived(() => $310.get(
|
|
65491
|
+
const state121 = $310.derived(() => $310.get(stepStates)[$310.get(index9)] ?? "upcoming");
|
|
65492
|
+
const isCurrent2 = $310.derived(() => $310.get(state121) === "current");
|
|
65493
|
+
const isComplete = $310.derived(() => $310.get(state121) === "complete");
|
|
65385
65494
|
const connectorState = $310.derived(() => $310.get(clampedCurrent) !== undefined && $310.get(index9) < $310.get(clampedCurrent) ? "complete" : "upcoming");
|
|
65386
65495
|
const hasHref = $310.derived(() => $310.get(step).href !== undefined);
|
|
65387
65496
|
const isInteractive = $310.derived(() => $310.get(hasHref) || $310.get(step).onclick !== undefined);
|
|
@@ -65414,7 +65523,7 @@ function Steps($$anchor, $$props) {
|
|
|
65414
65523
|
var consequent_4 = ($$anchor3) => {
|
|
65415
65524
|
var a = root_481();
|
|
65416
65525
|
var node_4 = $310.child(a);
|
|
65417
|
-
stepBody(node_4, () => $310.get(stepLabel), () => $310.get(stepDescription), () => $310.get(
|
|
65526
|
+
stepBody(node_4, () => $310.get(stepLabel), () => $310.get(stepDescription), () => $310.get(state121), completedLabel, skippedLabel);
|
|
65418
65527
|
$310.reset(a);
|
|
65419
65528
|
$310.template_effect(() => {
|
|
65420
65529
|
$310.set_attribute(a, "href", $310.get(step).href);
|
|
@@ -65428,7 +65537,7 @@ function Steps($$anchor, $$props) {
|
|
|
65428
65537
|
var consequent_5 = ($$anchor3) => {
|
|
65429
65538
|
var button = root_566();
|
|
65430
65539
|
var node_5 = $310.child(button);
|
|
65431
|
-
stepBody(node_5, () => $310.get(stepLabel), () => $310.get(stepDescription), () => $310.get(
|
|
65540
|
+
stepBody(node_5, () => $310.get(stepLabel), () => $310.get(stepDescription), () => $310.get(state121), completedLabel, skippedLabel);
|
|
65432
65541
|
$310.reset(button);
|
|
65433
65542
|
$310.template_effect(() => $310.set_attribute(button, "aria-current", $310.get(isCurrent2) ? "step" : undefined));
|
|
65434
65543
|
$310.delegated("click", button, function(...$$args) {
|
|
@@ -65439,7 +65548,7 @@ function Steps($$anchor, $$props) {
|
|
|
65439
65548
|
var alternate_1 = ($$anchor3) => {
|
|
65440
65549
|
var span_7 = root_648();
|
|
65441
65550
|
var node_6 = $310.child(span_7);
|
|
65442
|
-
stepBody(node_6, () => $310.get(stepLabel), () => $310.get(stepDescription), () => $310.get(
|
|
65551
|
+
stepBody(node_6, () => $310.get(stepLabel), () => $310.get(stepDescription), () => $310.get(state121), completedLabel, skippedLabel);
|
|
65443
65552
|
$310.reset(span_7);
|
|
65444
65553
|
$310.append($$anchor3, span_7);
|
|
65445
65554
|
};
|
|
@@ -65466,7 +65575,7 @@ function Steps($$anchor, $$props) {
|
|
|
65466
65575
|
}
|
|
65467
65576
|
$310.reset(li);
|
|
65468
65577
|
$310.template_effect(() => {
|
|
65469
|
-
$310.set_attribute(li, "data-cinder-state", $310.get(
|
|
65578
|
+
$310.set_attribute(li, "data-cinder-state", $310.get(state121));
|
|
65470
65579
|
$310.set_attribute(li, "aria-current", $310.get(isCurrent2) && !$310.get(isInteractive) ? "step" : undefined);
|
|
65471
65580
|
});
|
|
65472
65581
|
$310.append($$anchor2, li);
|
|
@@ -70463,8 +70572,8 @@ function toggleSelectionScope(selectedIds, targetIds, disabledIds = new Set) {
|
|
|
70463
70572
|
const targets = selectableIds(targetIds, disabledIds);
|
|
70464
70573
|
if (targets.length === 0)
|
|
70465
70574
|
return [...selectedIds];
|
|
70466
|
-
const
|
|
70467
|
-
return
|
|
70575
|
+
const state128 = selectionStateFor(selectedIds, targets);
|
|
70576
|
+
return state128.checked ? deselectIds(selectedIds, targets, disabledIds) : selectIds(selectedIds, targets, disabledIds);
|
|
70468
70577
|
}
|
|
70469
70578
|
|
|
70470
70579
|
// src/components/tree/tree.svelte
|
|
@@ -71067,12 +71176,12 @@ function Tree($$anchor, $$props) {
|
|
|
71067
71176
|
function checkboxSelectionActive() {
|
|
71068
71177
|
return checkboxSelection() && selectionMode() === "multiple";
|
|
71069
71178
|
}
|
|
71070
|
-
function ariaCheckedForSelectionState(
|
|
71179
|
+
function ariaCheckedForSelectionState(state129) {
|
|
71071
71180
|
if (!checkboxSelectionActive())
|
|
71072
71181
|
return;
|
|
71073
|
-
if (
|
|
71182
|
+
if (state129.indeterminate)
|
|
71074
71183
|
return "mixed";
|
|
71075
|
-
return
|
|
71184
|
+
return state129.checked ? "true" : "false";
|
|
71076
71185
|
}
|
|
71077
71186
|
function selectionTargetsFor(id) {
|
|
71078
71187
|
if ($332.get(isVirtualizedTree)) {
|
|
@@ -71574,9 +71683,9 @@ function Tree($$anchor, $$props) {
|
|
|
71574
71683
|
setExpandedInternal(item.id, !expandedIds().includes(item.id));
|
|
71575
71684
|
}
|
|
71576
71685
|
function syncVirtualizedCheckboxElement(element30, id) {
|
|
71577
|
-
const
|
|
71578
|
-
element30.checked =
|
|
71579
|
-
element30.indeterminate =
|
|
71686
|
+
const state129 = selectionStateForId(id);
|
|
71687
|
+
element30.checked = state129.checked;
|
|
71688
|
+
element30.indeterminate = state129.indeterminate && !state129.checked;
|
|
71580
71689
|
}
|
|
71581
71690
|
function handleVirtualizedCheckboxClick(item, event36) {
|
|
71582
71691
|
event36.stopPropagation();
|
|
@@ -72924,4 +73033,4 @@ export {
|
|
|
72924
73033
|
AccessGateExport as AccessGate
|
|
72925
73034
|
};
|
|
72926
73035
|
|
|
72927
|
-
//# debugId=
|
|
73036
|
+
//# debugId=85F50876735F032E64756E2164756E21
|