@burger-editor/local 4.0.0-alpha.42 → 4.0.0-alpha.44

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/client.js CHANGED
@@ -1291,10 +1291,10 @@ var editor$b = "<div>\n\t<fieldset>\n\t\t<legend>リンク</legend>\n\t\t<label>
1291
1291
 
1292
1292
  var style$b = "/* No Styling */\n";
1293
1293
 
1294
- var template$b = "<a href=\"\" data-kind=\"link\" data-before-icon=\"none\" data-after-icon=\"none\" data-bge=\"link:href, target:target, kind:data-kind, before-icon:data-before-icon, after-icon:data-after-icon\">\n\t<div>\n\t\t<span data-bge=\"text\">ボタン</span>\n\t\t<span data-bge=\"subtext\">サブテキスト</span>\n\t</div>\n</a>\n";
1294
+ var template$b = "<a href=\"\" data-kind=\"primary\" data-before-icon=\"none\" data-after-icon=\"none\" data-bge=\"link:href, target:target, kind:data-kind, before-icon:data-before-icon, after-icon:data-after-icon\">\n\t<div>\n\t\t<span data-bge=\"text\">ボタン</span>\n\t\t<span data-bge=\"subtext\">サブテキスト</span>\n\t</div>\n</a>\n";
1295
1295
 
1296
1296
  var button = createItem$1({
1297
- version: "4.0.0-alpha.39",
1297
+ version: "4.0.0-alpha.43",
1298
1298
  name: "button",
1299
1299
  template: template$b,
1300
1300
  style: style$b,
@@ -1350,7 +1350,7 @@ var style$a = "/* No Styling */\n";
1350
1350
  var template$a = "<details data-bge=\"open:open\">\n\t<summary data-bge=\"summary\">折りたたみコンテンツ</summary>\n\t<div data-bge=\"content\"><p>内容を入力してください</p></div>\n</details>\n";
1351
1351
 
1352
1352
  var details = createItem$1({
1353
- version: "4.0.0-alpha.39",
1353
+ version: "4.0.0-alpha.43",
1354
1354
  name: "details",
1355
1355
  template: template$a,
1356
1356
  style: style$a,
@@ -1364,7 +1364,7 @@ var style$9 = "[data-bgi='download-file'] {\n\t[data-bge*='size'] {\n\t\t&::befo
1364
1364
  var template$9 = "<a href=\"./files/bgeditor/bg-sample.pdf\" target=\"_blank\" data-bge=\"path:href, download:download\">\n\t<div>\n\t\t<span data-bge=\"name\">サンプルダウンロードファイル</span>\n\t\t<span data-bge=\"formated-size, size:data-size\" data-size=\"138158\">134.92kB</span>\n\t</div>\n</a>\n";
1365
1365
 
1366
1366
  var downloadFile = createItem$1({
1367
- version: "4.0.0-alpha.39",
1367
+ version: "4.0.0-alpha.43",
1368
1368
  name: "download-file",
1369
1369
  template: template$9,
1370
1370
  style: style$9,
@@ -1403,7 +1403,7 @@ var style$8 = "[data-bgi='google-maps'] {\n\tdiv {\n\t\tinline-size: 100%;\n\t\t
1403
1403
  var template$8 = "<div data-lat=\"35.681382\" data-lng=\"139.766084\" data-zoom=\"16\" data-bge=\"lat:data-lat, lng:data-lng, zoom:data-zoom\">\n\t<img data-bge=\"img:src\" src=\"https://maps.google.com/maps/api/staticmap?center=35.681382,139.766084&amp;zoom=16&amp;size=640x400&amp;markers=color:red|color:red|35.681382,139.766084&amp;scale=2&amp;key=%googleMapsApiKey%\" width=\"8\" height=\"5\" alt=\"Google Maps\" />\n</div>\n<a href=\"https://maps.apple.com/?q=35.681382,139.766084\" data-bge=\"url:href\" target=\"_blank\"><span>アプリで開く</span></a>\n";
1404
1404
 
1405
1405
  var googleMaps = createItem$1({
1406
- version: "4.0.0-alpha.39",
1406
+ version: "4.0.0-alpha.43",
1407
1407
  name: "google-maps",
1408
1408
  template: template$8,
1409
1409
  style: style$8,
@@ -1538,7 +1538,7 @@ var style$7 = "[data-bgi='hr'] {\n\t--inline-size: 100%;\n\t--border-color: #000
1538
1538
  var template$7 = "<div data-bgi-hr-kind=\"primary\" data-bge=\"kind:data-bgi-hr-kind\">\n\t<hr />\n</div>\n";
1539
1539
 
1540
1540
  var hr = createItem$1({
1541
- version: "4.0.0-alpha.39",
1541
+ version: "4.0.0-alpha.43",
1542
1542
  name: "hr",
1543
1543
  template: template$7,
1544
1544
  style: style$7,
@@ -1628,7 +1628,7 @@ function createWidthState() {
1628
1628
 
1629
1629
  const ORIGIN = "__org";
1630
1630
  var image = createItem$1({
1631
- version: "4.0.0-alpha.39",
1631
+ version: "4.0.0-alpha.43",
1632
1632
  name: "image",
1633
1633
  template: template$6,
1634
1634
  style: style$6,
@@ -1826,7 +1826,7 @@ var style$5 = "[data-bgi='import'] {\n\tbge-import {\n\t\t&::before {\n\t\t\tfon
1826
1826
  var template$5 = "<bge-import data-bge=\":src\" src=\"\"></bge-import>\n";
1827
1827
 
1828
1828
  var importItem = createItem$1({
1829
- version: "4.0.0-alpha.39",
1829
+ version: "4.0.0-alpha.43",
1830
1830
  name: "import",
1831
1831
  template: template$5,
1832
1832
  style: style$5,
@@ -1840,7 +1840,7 @@ var style$4 = "/* No Styling */\n";
1840
1840
  var template$4 = "<div data-bge=\":scrollable\" data-bge-scrollable=\"false\">\n\t<table>\n\t\t<caption data-bge=\"caption\">\n\t\t\tキャプションを入力してください\n\t\t</caption>\n\t\t<tbody data-bge-list>\n\t\t\t<tr>\n\t\t\t\t<th data-bge=\"th\">表組の見出し</th>\n\t\t\t\t<td data-bge=\"td\">表組の内容を入力してください</td>\n\t\t\t</tr>\n\t\t</tbody>\n\t</table>\n</div>\n";
1841
1841
 
1842
1842
  var table = createItem$1({
1843
- version: "4.0.0-alpha.39",
1843
+ version: "4.0.0-alpha.43",
1844
1844
  name: "table",
1845
1845
  template: template$4,
1846
1846
  style: style$4,
@@ -1868,7 +1868,7 @@ var style$3 = "/* No Styling */\n";
1868
1868
  var template$3 = "<h2 data-bge=\"title-h2\">見出しを入力してください</h2>\n";
1869
1869
 
1870
1870
  var titleH2 = createItem$1({
1871
- version: "4.0.0-alpha.39",
1871
+ version: "4.0.0-alpha.43",
1872
1872
  name: "title-h2",
1873
1873
  template: template$3,
1874
1874
  style: style$3,
@@ -1882,7 +1882,7 @@ var style$2 = "/* No Styling */\n";
1882
1882
  var template$2 = "<h3 data-bge=\"title-h3\">見出しを入力してください</h3>\n";
1883
1883
 
1884
1884
  var titleH3 = createItem$1({
1885
- version: "4.0.0-alpha.39",
1885
+ version: "4.0.0-alpha.43",
1886
1886
  name: "title-h3",
1887
1887
  template: template$2,
1888
1888
  style: style$2,
@@ -1896,7 +1896,7 @@ var style$1 = "/* No Styling */\n";
1896
1896
  var template$1 = "<div data-bge=\"wysiwyg\"><p>本文を入力してください</p></div>\n";
1897
1897
 
1898
1898
  var wysiwyg = createItem$1({
1899
- version: "4.0.0-alpha.39",
1899
+ version: "4.0.0-alpha.43",
1900
1900
  name: "wysiwyg",
1901
1901
  template: template$1,
1902
1902
  style: style$1,
@@ -1911,7 +1911,7 @@ var template = "<div data-id=\"3KtWfp0UopM\" data-title=\"YouTube動画\" data-w
1911
1911
 
1912
1912
  const FALLBACK_TITLE = "YouTube\u52D5\u753B";
1913
1913
  var youtube = createItem$1({
1914
- version: "4.0.0-alpha.39",
1914
+ version: "4.0.0-alpha.43",
1915
1915
  name: "youtube",
1916
1916
  template,
1917
1917
  style: style$c,
@@ -1966,7 +1966,7 @@ const items = {
1966
1966
  youtube
1967
1967
  };
1968
1968
 
1969
- var general = "[data-bge-container] {\n\t--bge-auto-repeat-base-width: calc(800 / 16 * 1rem);\n\n\t/* Custom max-width */\n\t--bge-options-max-width--normal: calc(800 / 16 * 1rem);\n\t--bge-options-max-width--small: calc(400 / 16 * 1rem);\n\t--bge-options-max-width--medium: calc(600 / 16 * 1rem);\n\t--bge-options-max-width--large: calc(1200 / 16 * 1rem);\n\t--bge-options-max-width--full: 100dvi;\n\t--bge-options-max-width: var(--bge-options-max-width--normal);\n\n\t/* Custom margin */\n\t--bge-options-margin--normal: 3rem;\n\t--bge-options-margin--none: 0;\n\t--bge-options-margin--small: 1rem;\n\t--bge-options-margin--large: 8rem;\n\t--bge-options-margin: var(--bge-options-margin--normal);\n\n\t/* Custom background color */\n\t--bge-options-bg-color--transparent: transparent;\n\t--bge-options-bg-color--white: #fff;\n\t--bge-options-bg-color--gray: #dfdfdf;\n\t--bge-options-bg-color--blue: #eaf3f8;\n\t--bge-options-bg-color--red: #fcc;\n\t--bge-options-bg-color: var(--bge-options-bg-color--transparent);\n\n\t/* Custom padding-block */\n\t--bge-options-padding-block--none: 0;\n\t--bge-options-padding-block--small: 1rem;\n\t--bge-options-padding-block--middle: 3rem;\n\t--bge-options-padding-block--large: 5rem;\n\t--bge-options-padding-block: var(--bge-options-padding-block--none);\n\n\t/* Custom padding-inline */\n\t--bge-options-padding-inline--default-gutter: 2rem;\n\t--bge-options-padding-inline--none: 0;\n\t--bge-options-padding-inline--small: 1rem;\n\t--bge-options-padding-inline--middle: 3rem;\n\t--bge-options-padding-inline--large: 5rem;\n\t--bge-options-padding-inline: var(--bge-options-padding-inline--default-gutter);\n\n\t/* Custom column gap */\n\t--bge-options-column-gap--normal: 1rem;\n\t--bge-options-column-gap--none: 0;\n\t--bge-options-column-gap--small: 0.5rem;\n\t--bge-options-column-gap--large: 5rem;\n\t--bge-options-column-gap: var(--bge-options-column-gap--normal);\n\n\t/* Custom row gap */\n\t--bge-options-row-gap--normal: 1rem;\n\t--bge-options-row-gap--none: 0;\n\t--bge-options-row-gap--small: 0.5rem;\n\t--bge-options-row-gap--large: 5rem;\n\t--bge-options-row-gap: var(--bge-options-row-gap--normal);\n\n\t/* Custom subgrid gap factor (grid type only) */\n\t--bge-options-_grid_subgrid-gap--normal: 1rem;\n\t--bge-options-_grid_subgrid-gap--none: 0;\n\t--bge-options-_grid_subgrid-gap--small: 0.5rem;\n\t--bge-options-_grid_subgrid-gap--large: 1rem;\n\t--bge-options-_grid_subgrid-gap: var(--bge-options-_grid_subgrid-gap--normal);\n}\n\n:where([data-bge-container]) {\n\t--_margin-block-end: var(--bge-options-margin);\n\t--_margin-block-end_when-last: 0;\n\tinline-size: 100%;\n\tmax-inline-size: var(--bge-options-max-width);\n\tpadding-block: var(--bge-options-padding-block);\n\tpadding-inline: var(--bge-options-padding-inline);\n\tmargin-block-end: var(--_margin-block-end);\n\tmargin-inline: auto;\n\tcontainer-name: bge-container;\n\tcontainer-type: inline-size;\n\tbackground-color: var(--bge-options-bg-color);\n\n\t&:where(:last-child) {\n\t\t--_margin-block-end: var(--_margin-block-end_when-last);\n\t}\n}\n\n:where([data-bge-container-frame]) {\n\tinline-size: 100%;\n\n\t/* Reset list styles for semantic container frames */\n\t&:is(ul, ol) {\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t\tlist-style: none;\n\t}\n}\n\n:where([data-bge-container='grid'], [data-bge-container^='grid:']) {\n\t--_gap-block: var(--bge-options-row-gap, var(--bge-options-gap));\n\t--_gap-inline: var(--bge-options-column-gap, var(--bge-options-gap));\n\t--_subgrid-gap: var(--bge-options-_grid_subgrid-gap, var(--_gap-block));\n\n\t&:where([data-bge-container$=':2'], [data-bge-container*=':2:'])\n\t\t:where([data-bge-container-frame]) {\n\t\t--bge-grid-col: 2;\n\t}\n\n\t&:where([data-bge-container$=':3'], [data-bge-container*=':3:'])\n\t\t:where([data-bge-container-frame]) {\n\t\t--bge-grid-col: 3;\n\t}\n\n\t&:where([data-bge-container$=':4'], [data-bge-container*=':4:'])\n\t\t:where([data-bge-container-frame]) {\n\t\t--bge-grid-col: 4;\n\t}\n\n\t&:where([data-bge-container$=':5'], [data-bge-container*=':5:'])\n\t\t:where([data-bge-container-frame]) {\n\t\t--bge-grid-col: 5;\n\t}\n\n\t:where([data-bge-container-frame]) {\n\t\t--_grid-col: var(--bge-grid-col, 1);\n\t\t--_repeat-base-width: calc(var(--bge-auto-repeat-base-width) / var(--_grid-col));\n\t\tdisplay: grid;\n\t\tgrid-template-columns: repeat(var(--_grid-col), minmax(0, 1fr));\n\t\tgap: var(--_gap-block) var(--_gap-inline);\n\n\t\t&:is([data-bge-container*=':auto-fit:'] *) {\n\t\t\tgrid-template-columns: repeat(\n\t\t\t\tauto-fit,\n\t\t\t\tminmax(min(100%, var(--_repeat-base-width)), 1fr)\n\t\t\t);\n\t\t}\n\n\t\t&:is([data-bge-container*=':auto-fill:'] *) {\n\t\t\tgrid-template-columns: repeat(\n\t\t\t\tauto-fill,\n\t\t\t\tminmax(min(100%, var(--_repeat-base-width)), 1fr)\n\t\t\t);\n\t\t}\n\t}\n\n\t:where([data-bge-group]) {\n\t\t--item-count: 1;\n\t\tdisplay: grid;\n\t\tgrid-template-rows: subgrid;\n\t\tgrid-row: span var(--item-count);\n\t\tgap: var(--_subgrid-gap) 0;\n\n\t\t/* Reset list styles for semantic groups */\n\t\t&:is(li) {\n\t\t\tlist-style: none;\n\t\t}\n\n\t\t/* Subgrid hack 2 items */\n\t\t&[data-bge-group]:has([data-bge-item]:nth-child(2):last-child) {\n\t\t\t--item-count: 2;\n\t\t}\n\n\t\t/* Subgrid hack 3 items */\n\t\t&[data-bge-group]:has([data-bge-item]:nth-child(3):last-child) {\n\t\t\t--item-count: 3;\n\t\t}\n\n\t\t/* Subgrid hack 4 items */\n\t\t&[data-bge-group]:has([data-bge-item]:nth-child(4):last-child) {\n\t\t\t--item-count: 4;\n\t\t}\n\n\t\t/* Subgrid hack 5 items */\n\t\t&[data-bge-group]:has([data-bge-item]:nth-child(5):last-child) {\n\t\t\t--item-count: 5;\n\t\t}\n\n\t\t/* Subgrid hack 6 items */\n\t\t&[data-bge-group]:has([data-bge-item]:nth-child(6):last-child) {\n\t\t\t--item-count: 6;\n\t\t}\n\n\t\t/* Subgrid hack 7 items */\n\t\t&[data-bge-group]:has([data-bge-item]:nth-child(7):last-child) {\n\t\t\t--item-count: 7;\n\t\t}\n\n\t\t/* Subgrid hack 8 items */\n\t\t&[data-bge-group]:has([data-bge-item]:nth-child(8):last-child) {\n\t\t\t--item-count: 8;\n\t\t}\n\t}\n\n\t:where([data-bge-item]) {\n\t\tdisplay: flex;\n\t\talign-items: stretch;\n\t\talign-self: stretch;\n\t\tjustify-content: start;\n\t\tcontainer-name: bge-item;\n\t\tcontainer-type: inline-size;\n\n\t\t> * {\n\t\t\tflex: 0 0 100%;\n\t\t}\n\t}\n}\n\n:where([data-bge-container='inline'], [data-bge-container^='inline:']) {\n\t--_gap-block: var(--bge-options-row-gap, var(--bge-options-gap));\n\t--_gap-inline: var(--bge-options-column-gap, var(--bge-options-gap));\n\n\t:where([data-bge-container-frame]) {\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\t\tgap: var(--_gap-block) var(--_gap-inline);\n\t\talign-items: stretch;\n\t\tjustify-content: center;\n\n\t\t&:where(:is([data-bge-container$=':center'], [data-bge-container*=':center:']) *) {\n\t\t\tjustify-content: center;\n\t\t}\n\n\t\t&:where(:is([data-bge-container$=':start'], [data-bge-container*=':start:']) *) {\n\t\t\tjustify-content: start;\n\t\t}\n\n\t\t&:where(:is([data-bge-container$=':end'], [data-bge-container*=':end:']) *) {\n\t\t\tjustify-content: end;\n\t\t}\n\n\t\t&:where(:is([data-bge-container$=':between'], [data-bge-container*=':between:']) *) {\n\t\t\tjustify-content: space-between;\n\t\t}\n\n\t\t&:where(:is([data-bge-container$=':around'], [data-bge-container*=':around:']) *) {\n\t\t\tjustify-content: space-around;\n\t\t}\n\n\t\t&:where(:is([data-bge-container$=':evenly'], [data-bge-container*=':evenly:']) *) {\n\t\t\tjustify-content: space-evenly;\n\t\t}\n\n\t\t&:where(\n\t\t\t:is([data-bge-container$=':align-center'], [data-bge-container*=':align-center:']) *\n\t\t) {\n\t\t\talign-items: center;\n\t\t}\n\n\t\t&:where(\n\t\t\t:is([data-bge-container$=':align-start'], [data-bge-container*=':align-start:']) *\n\t\t) {\n\t\t\talign-items: start;\n\t\t}\n\n\t\t&:where(\n\t\t\t:is([data-bge-container$=':align-end'], [data-bge-container*=':align-end:']) *\n\t\t) {\n\t\t\talign-items: end;\n\t\t}\n\n\t\t&:where(\n\t\t\t:is([data-bge-container$=':align-stretch'], [data-bge-container*=':align-stretch:'])\n\t\t\t\t*\n\t\t) {\n\t\t\talign-items: stretch;\n\t\t}\n\n\t\t&:where(\n\t\t\t:is(\n\t\t\t\t\t[data-bge-container$=':align-baseline'],\n\t\t\t\t\t[data-bge-container*=':align-baseline:']\n\t\t\t\t)\n\t\t\t\t*\n\t\t) {\n\t\t\t--align: baseline;\n\t\t}\n\n\t\t&:where(:is([data-bge-container$=':wrap'], [data-bge-container*=':wrap:']) *) {\n\t\t\tflex-wrap: wrap;\n\t\t}\n\n\t\t&:where(:is([data-bge-container$=':nowrap'], [data-bge-container*=':nowrap:']) *) {\n\t\t\tflex-wrap: nowrap;\n\t\t}\n\t}\n\n\t&:where([data-bge-container$=':immutable'], [data-bge-container*=':immutable:']) {\n\t\t/* Left-right split box with resizable item (has `[data-bge-scale]`) on one side */\n\t\t&:has([data-bge-group]:nth-child(2):last-child) {\n\t\t\t:where([data-bge-group]) {\n\t\t\t\t&:has([data-bge-scale]) {\n\t\t\t\t\tflex-grow: 0;\n\t\t\t\t\tflex-shrink: 0;\n\t\t\t\t}\n\n\t\t\t\t&:not(:has([data-bge-scale])) {\n\t\t\t\t\tflex-grow: 1;\n\t\t\t\t\tflex-shrink: 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t/* Standard with immutable container */\n\t\t:where([data-bge-group]) {\n\t\t\tflex: 1 1 auto;\n\t\t}\n\t}\n}\n\n:where([data-bge-container='float'], [data-bge-container^='float:']) {\n\t--_gap-block: var(--bge-options-row-gap, var(--bge-options-gap));\n\t--_gap-inline: var(--bge-options-column-gap, var(--bge-options-gap));\n\t--bge-grid-float: none;\n\t--margin-inline: 0;\n\n\t&:where([data-bge-container$=':start'], [data-bge-container*=':start:']) {\n\t\t--bge-grid-float: inline-start;\n\t\t--margin-inline: 0 var(--_gap-inline);\n\t}\n\n\t&:where([data-bge-container$=':end'], [data-bge-container*=':end:']) {\n\t\t--bge-grid-float: inline-end;\n\t\t--margin-inline: var(--_gap-inline) 0;\n\t}\n\n\t:where([data-bge-container-frame]) {\n\t\t&::after {\n\t\t\tclear: both;\n\t\t\tdisplay: block;\n\t\t\tcontent: '';\n\t\t}\n\n\t\t& > :where(:first-child) {\n\t\t\tfloat: var(--bge-grid-float, none);\n\t\t\tinline-size: fit-content;\n\t\t\tmargin-inline: var(--margin-inline);\n\t\t}\n\t}\n}\n\n/**\n * MARK: Wysiwyg内 横並び(フレックス)ボックス\n */\n:where([data-bgc-flex-box]) {\n\t--_gap-block: var(--bge-options-row-gap, var(--bge-options-gap));\n\t--_gap-inline: var(--bge-options-column-gap, var(--bge-options-gap));\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: var(--_gap-block) var(--_gap-inline);\n\talign-items: center;\n\n\t&[data-bgc-flex-box='start'] {\n\t\tjustify-content: start;\n\t}\n\n\t&[data-bgc-flex-box='end'] {\n\t\tjustify-content: end;\n\t}\n\n\t&[data-bgc-flex-box='center'] {\n\t\tjustify-content: center;\n\t}\n\n\t&[data-bgc-flex-box='between'] {\n\t\tjustify-content: space-between;\n\t}\n\n\t&[data-bgc-flex-box='around'] {\n\t\tjustify-content: space-around;\n\t}\n\n\t&[data-bgc-flex-box='evenly'] {\n\t\tjustify-content: space-evenly;\n\t}\n}\n";
1969
+ var general = "[data-bge-container] {\n\t--bge-auto-repeat-base-width: calc(800 / 16 * 1rem);\n\n\t/* Custom max-width */\n\t--bge-options-max-width--normal: calc(800 / 16 * 1rem);\n\t--bge-options-max-width--small: calc(400 / 16 * 1rem);\n\t--bge-options-max-width--large: calc(1200 / 16 * 1rem);\n\t--bge-options-max-width--full: 100dvi;\n\t--bge-options-max-width: var(--bge-options-max-width--normal);\n\n\t/* Custom margin */\n\t--bge-options-margin--normal: 3rem;\n\t--bge-options-margin--none: 0;\n\t--bge-options-margin--small: 1rem;\n\t--bge-options-margin--large: 8rem;\n\t--bge-options-margin: var(--bge-options-margin--normal);\n\n\t/* Custom background color */\n\t--bge-options-bg-color--transparent: transparent;\n\t--bge-options-bg-color--white: #fff;\n\t--bge-options-bg-color--gray: #dfdfdf;\n\t--bge-options-bg-color--blue: #eaf3f8;\n\t--bge-options-bg-color--red: #fcc;\n\t--bge-options-bg-color: var(--bge-options-bg-color--transparent);\n\n\t/* Custom padding-block */\n\t--bge-options-padding-block--none: 0;\n\t--bge-options-padding-block--small: 1rem;\n\t--bge-options-padding-block--medium: 3rem;\n\t--bge-options-padding-block--large: 5rem;\n\t--bge-options-padding-block: var(--bge-options-padding-block--none);\n\n\t/* Custom padding-inline */\n\t--bge-options-padding-inline--default-gutter: 2rem;\n\t--bge-options-padding-inline--none: 0;\n\t--bge-options-padding-inline--small: 1rem;\n\t--bge-options-padding-inline--medium: 3rem;\n\t--bge-options-padding-inline--large: 5rem;\n\t--bge-options-padding-inline: var(--bge-options-padding-inline--default-gutter);\n\n\t/* Custom column gap */\n\t--bge-options-column-gap--normal: 1rem;\n\t--bge-options-column-gap--none: 0;\n\t--bge-options-column-gap--small: 0.5rem;\n\t--bge-options-column-gap--large: 5rem;\n\t--bge-options-column-gap: var(--bge-options-column-gap--normal);\n\n\t/* Custom row gap */\n\t--bge-options-row-gap--normal: 1rem;\n\t--bge-options-row-gap--none: 0;\n\t--bge-options-row-gap--small: 0.5rem;\n\t--bge-options-row-gap--large: 5rem;\n\t--bge-options-row-gap: var(--bge-options-row-gap--normal);\n\n\t/* Custom subgrid gap factor (grid type only) */\n\t--bge-options-_grid_subgrid-gap--normal: 1rem;\n\t--bge-options-_grid_subgrid-gap--none: 0;\n\t--bge-options-_grid_subgrid-gap--small: 0.5rem;\n\t--bge-options-_grid_subgrid-gap--large: 1rem;\n\t--bge-options-_grid_subgrid-gap: var(--bge-options-_grid_subgrid-gap--normal);\n}\n\n:where([data-bge-container]) {\n\t--_margin-block-end: var(--bge-options-margin);\n\t--_margin-block-end_when-last: 0;\n\tinline-size: 100%;\n\tmax-inline-size: var(--bge-options-max-width);\n\tpadding-block: var(--bge-options-padding-block);\n\tpadding-inline: var(--bge-options-padding-inline);\n\tmargin-block-end: var(--_margin-block-end);\n\tmargin-inline: auto;\n\tcontainer-name: bge-container;\n\tcontainer-type: inline-size;\n\tbackground-color: var(--bge-options-bg-color);\n\n\t&:where(:last-child) {\n\t\t--_margin-block-end: var(--_margin-block-end_when-last);\n\t}\n}\n\n:where([data-bge-container-frame]) {\n\tinline-size: 100%;\n\n\t/* Reset list styles for semantic container frames */\n\t&:is(ul, ol) {\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t\tlist-style: none;\n\t}\n}\n\n:where([data-bge-container='grid'], [data-bge-container^='grid:']) {\n\t--_gap-block: var(--bge-options-row-gap, var(--bge-options-gap));\n\t--_gap-inline: var(--bge-options-column-gap, var(--bge-options-gap));\n\t--_subgrid-gap: var(--bge-options-_grid_subgrid-gap, var(--_gap-block));\n\n\t&:where([data-bge-container$=':2'], [data-bge-container*=':2:'])\n\t\t:where([data-bge-container-frame]) {\n\t\t--bge-grid-col: 2;\n\t}\n\n\t&:where([data-bge-container$=':3'], [data-bge-container*=':3:'])\n\t\t:where([data-bge-container-frame]) {\n\t\t--bge-grid-col: 3;\n\t}\n\n\t&:where([data-bge-container$=':4'], [data-bge-container*=':4:'])\n\t\t:where([data-bge-container-frame]) {\n\t\t--bge-grid-col: 4;\n\t}\n\n\t&:where([data-bge-container$=':5'], [data-bge-container*=':5:'])\n\t\t:where([data-bge-container-frame]) {\n\t\t--bge-grid-col: 5;\n\t}\n\n\t:where([data-bge-container-frame]) {\n\t\t--_grid-col: var(--bge-grid-col, 1);\n\t\t--_repeat-base-width: calc(var(--bge-auto-repeat-base-width) / var(--_grid-col));\n\t\tdisplay: grid;\n\t\tgrid-template-columns: repeat(var(--_grid-col), minmax(0, 1fr));\n\t\tgap: var(--_gap-block) var(--_gap-inline);\n\n\t\t&:is([data-bge-container*=':auto-fit:'] *) {\n\t\t\tgrid-template-columns: repeat(\n\t\t\t\tauto-fit,\n\t\t\t\tminmax(min(100%, var(--_repeat-base-width)), 1fr)\n\t\t\t);\n\t\t}\n\n\t\t&:is([data-bge-container*=':auto-fill:'] *) {\n\t\t\tgrid-template-columns: repeat(\n\t\t\t\tauto-fill,\n\t\t\t\tminmax(min(100%, var(--_repeat-base-width)), 1fr)\n\t\t\t);\n\t\t}\n\t}\n\n\t:where([data-bge-group]) {\n\t\t--item-count: 1;\n\t\tdisplay: grid;\n\t\tgrid-template-rows: subgrid;\n\t\tgrid-row: span var(--item-count);\n\t\tgap: var(--_subgrid-gap) 0;\n\n\t\t/* Reset list styles for semantic groups */\n\t\t&:is(li) {\n\t\t\tlist-style: none;\n\t\t}\n\n\t\t/* Subgrid hack 2 items */\n\t\t&[data-bge-group]:has([data-bge-item]:nth-child(2):last-child) {\n\t\t\t--item-count: 2;\n\t\t}\n\n\t\t/* Subgrid hack 3 items */\n\t\t&[data-bge-group]:has([data-bge-item]:nth-child(3):last-child) {\n\t\t\t--item-count: 3;\n\t\t}\n\n\t\t/* Subgrid hack 4 items */\n\t\t&[data-bge-group]:has([data-bge-item]:nth-child(4):last-child) {\n\t\t\t--item-count: 4;\n\t\t}\n\n\t\t/* Subgrid hack 5 items */\n\t\t&[data-bge-group]:has([data-bge-item]:nth-child(5):last-child) {\n\t\t\t--item-count: 5;\n\t\t}\n\n\t\t/* Subgrid hack 6 items */\n\t\t&[data-bge-group]:has([data-bge-item]:nth-child(6):last-child) {\n\t\t\t--item-count: 6;\n\t\t}\n\n\t\t/* Subgrid hack 7 items */\n\t\t&[data-bge-group]:has([data-bge-item]:nth-child(7):last-child) {\n\t\t\t--item-count: 7;\n\t\t}\n\n\t\t/* Subgrid hack 8 items */\n\t\t&[data-bge-group]:has([data-bge-item]:nth-child(8):last-child) {\n\t\t\t--item-count: 8;\n\t\t}\n\t}\n\n\t:where([data-bge-item]) {\n\t\tdisplay: flex;\n\t\talign-items: stretch;\n\t\talign-self: stretch;\n\t\tjustify-content: start;\n\t\tcontainer-name: bge-item;\n\t\tcontainer-type: inline-size;\n\n\t\t> * {\n\t\t\tflex: 0 0 100%;\n\t\t}\n\t}\n}\n\n:where([data-bge-container='inline'], [data-bge-container^='inline:']) {\n\t--_gap-block: var(--bge-options-row-gap, var(--bge-options-gap));\n\t--_gap-inline: var(--bge-options-column-gap, var(--bge-options-gap));\n\n\t:where([data-bge-container-frame]) {\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\t\tgap: var(--_gap-block) var(--_gap-inline);\n\t\talign-items: stretch;\n\t\tjustify-content: center;\n\n\t\t&:where(:is([data-bge-container$=':center'], [data-bge-container*=':center:']) *) {\n\t\t\tjustify-content: center;\n\t\t}\n\n\t\t&:where(:is([data-bge-container$=':start'], [data-bge-container*=':start:']) *) {\n\t\t\tjustify-content: start;\n\t\t}\n\n\t\t&:where(:is([data-bge-container$=':end'], [data-bge-container*=':end:']) *) {\n\t\t\tjustify-content: end;\n\t\t}\n\n\t\t&:where(:is([data-bge-container$=':between'], [data-bge-container*=':between:']) *) {\n\t\t\tjustify-content: space-between;\n\t\t}\n\n\t\t&:where(:is([data-bge-container$=':around'], [data-bge-container*=':around:']) *) {\n\t\t\tjustify-content: space-around;\n\t\t}\n\n\t\t&:where(:is([data-bge-container$=':evenly'], [data-bge-container*=':evenly:']) *) {\n\t\t\tjustify-content: space-evenly;\n\t\t}\n\n\t\t&:where(\n\t\t\t:is([data-bge-container$=':align-center'], [data-bge-container*=':align-center:']) *\n\t\t) {\n\t\t\talign-items: center;\n\t\t}\n\n\t\t&:where(\n\t\t\t:is([data-bge-container$=':align-start'], [data-bge-container*=':align-start:']) *\n\t\t) {\n\t\t\talign-items: start;\n\t\t}\n\n\t\t&:where(\n\t\t\t:is([data-bge-container$=':align-end'], [data-bge-container*=':align-end:']) *\n\t\t) {\n\t\t\talign-items: end;\n\t\t}\n\n\t\t&:where(\n\t\t\t:is([data-bge-container$=':align-stretch'], [data-bge-container*=':align-stretch:'])\n\t\t\t\t*\n\t\t) {\n\t\t\talign-items: stretch;\n\t\t}\n\n\t\t&:where(\n\t\t\t:is(\n\t\t\t\t\t[data-bge-container$=':align-baseline'],\n\t\t\t\t\t[data-bge-container*=':align-baseline:']\n\t\t\t\t)\n\t\t\t\t*\n\t\t) {\n\t\t\t--align: baseline;\n\t\t}\n\n\t\t&:where(:is([data-bge-container$=':wrap'], [data-bge-container*=':wrap:']) *) {\n\t\t\tflex-wrap: wrap;\n\t\t}\n\n\t\t&:where(:is([data-bge-container$=':nowrap'], [data-bge-container*=':nowrap:']) *) {\n\t\t\tflex-wrap: nowrap;\n\t\t}\n\t}\n\n\t&:where([data-bge-container$=':immutable'], [data-bge-container*=':immutable:']) {\n\t\t/* Left-right split box with resizable item (has `[data-bge-scale]`) on one side */\n\t\t&:has([data-bge-group]:nth-child(2):last-child) {\n\t\t\t:where([data-bge-group]) {\n\t\t\t\t&:has([data-bge-scale]) {\n\t\t\t\t\tflex-grow: 0;\n\t\t\t\t\tflex-shrink: 0;\n\t\t\t\t}\n\n\t\t\t\t&:not(:has([data-bge-scale])) {\n\t\t\t\t\tflex-grow: 1;\n\t\t\t\t\tflex-shrink: 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t/* Standard with immutable container */\n\t\t:where([data-bge-group]) {\n\t\t\tflex: 1 1 auto;\n\t\t}\n\t}\n}\n\n:where([data-bge-container='float'], [data-bge-container^='float:']) {\n\t--_gap-block: var(--bge-options-row-gap, var(--bge-options-gap));\n\t--_gap-inline: var(--bge-options-column-gap, var(--bge-options-gap));\n\t--bge-grid-float: none;\n\t--margin-inline: 0;\n\n\t&:where([data-bge-container$=':start'], [data-bge-container*=':start:']) {\n\t\t--bge-grid-float: inline-start;\n\t\t--margin-inline: 0 var(--_gap-inline);\n\t}\n\n\t&:where([data-bge-container$=':end'], [data-bge-container*=':end:']) {\n\t\t--bge-grid-float: inline-end;\n\t\t--margin-inline: var(--_gap-inline) 0;\n\t}\n\n\t:where([data-bge-container-frame]) {\n\t\t&::after {\n\t\t\tclear: both;\n\t\t\tdisplay: block;\n\t\t\tcontent: '';\n\t\t}\n\n\t\t& > :where(:first-child) {\n\t\t\tfloat: var(--bge-grid-float, none);\n\t\t\tinline-size: fit-content;\n\t\t\tmargin-inline: var(--margin-inline);\n\t\t}\n\t}\n}\n\n/**\n * MARK: Wysiwyg内 横並び(フレックス)ボックス\n */\n:where([data-bgc-flex-box]) {\n\t--_gap-block: var(--bge-options-row-gap, var(--bge-options-gap));\n\t--_gap-inline: var(--bge-options-column-gap, var(--bge-options-gap));\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: var(--_gap-block) var(--_gap-inline);\n\talign-items: center;\n\n\t&[data-bgc-flex-box='start'] {\n\t\tjustify-content: start;\n\t}\n\n\t&[data-bgc-flex-box='end'] {\n\t\tjustify-content: end;\n\t}\n\n\t&[data-bgc-flex-box='center'] {\n\t\tjustify-content: center;\n\t}\n\n\t&[data-bgc-flex-box='between'] {\n\t\tjustify-content: space-between;\n\t}\n\n\t&[data-bgc-flex-box='around'] {\n\t\tjustify-content: space-around;\n\t}\n\n\t&[data-bgc-flex-box='evenly'] {\n\t\tjustify-content: space-evenly;\n\t}\n}\n";
1970
1970
 
1971
1971
  function changeFrameSemantics(el, frameSemantics) {
1972
1972
  const containerFrame = el.querySelector("[data-bge-container-frame]");
@@ -3416,8 +3416,8 @@ function getNormalizedAttributes(el) {
3416
3416
  return attrs;
3417
3417
  }
3418
3418
  function compareAttributes(attrs1, attrs2) {
3419
- const keys1 = Object.keys(attrs1).sort();
3420
- const keys2 = Object.keys(attrs2).sort();
3419
+ const keys1 = Object.keys(attrs1).toSorted();
3420
+ const keys2 = Object.keys(attrs2).toSorted();
3421
3421
  if (keys1.length !== keys2.length) {
3422
3422
  return false;
3423
3423
  }
@@ -3445,9 +3445,9 @@ function requireDayjs_min() {
3445
3445
  if (hasRequiredDayjs_min) return dayjs_min$1.exports;
3446
3446
  hasRequiredDayjs_min = 1;
3447
3447
  (function(module, exports) {
3448
- !function(t, e) {
3448
+ !(function(t, e) {
3449
3449
  module.exports = e();
3450
- }(dayjs_min, function() {
3450
+ })(dayjs_min, (function() {
3451
3451
  var t = 1e3, e = 6e4, n = 36e5, r2 = "millisecond", i = "second", s = "minute", u3 = "hour", a = "day", o = "week", c = "month", f = "quarter", h2 = "year", d2 = "date", l = "Invalid Date", $2 = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y2 = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M2 = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t2) {
3452
3452
  var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
3453
3453
  return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
@@ -3492,13 +3492,13 @@ function requireDayjs_min() {
3492
3492
  b2.l = w2, b2.i = S2, b2.w = function(t2, e2) {
3493
3493
  return O(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
3494
3494
  };
3495
- var _2 = function() {
3495
+ var _2 = (function() {
3496
3496
  function M3(t2) {
3497
3497
  this.$L = w2(t2.locale, null, true), this.parse(t2), this.$x = this.$x || t2.x || {}, this[p] = true;
3498
3498
  }
3499
3499
  var m3 = M3.prototype;
3500
3500
  return m3.parse = function(t2) {
3501
- this.$d = function(t3) {
3501
+ this.$d = (function(t3) {
3502
3502
  var e2 = t3.date, n2 = t3.utc;
3503
3503
  if (null === e2) return /* @__PURE__ */ new Date(NaN);
3504
3504
  if (b2.u(e2)) return /* @__PURE__ */ new Date();
@@ -3511,7 +3511,7 @@ function requireDayjs_min() {
3511
3511
  }
3512
3512
  }
3513
3513
  return new Date(e2);
3514
- }(t2), this.init();
3514
+ })(t2), this.init();
3515
3515
  }, m3.init = function() {
3516
3516
  var t2 = this.$d;
3517
3517
  this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
@@ -3598,8 +3598,8 @@ function requireDayjs_min() {
3598
3598
  var r4 = t3 < 12 ? "AM" : "PM";
3599
3599
  return n3 ? r4.toLowerCase() : r4;
3600
3600
  };
3601
- return r3.replace(y2, function(t3, r4) {
3602
- return r4 || function(t4) {
3601
+ return r3.replace(y2, (function(t3, r4) {
3602
+ return r4 || (function(t4) {
3603
3603
  switch (t4) {
3604
3604
  case "YY":
3605
3605
  return String(e2.$y).slice(-2);
@@ -3651,8 +3651,8 @@ function requireDayjs_min() {
3651
3651
  return i2;
3652
3652
  }
3653
3653
  return null;
3654
- }(t3) || i2.replace(":", "");
3655
- });
3654
+ })(t3) || i2.replace(":", "");
3655
+ }));
3656
3656
  }, m3.utcOffset = function() {
3657
3657
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
3658
3658
  }, m3.diff = function(r3, d3, l2) {
@@ -3707,17 +3707,17 @@ function requireDayjs_min() {
3707
3707
  }, m3.toString = function() {
3708
3708
  return this.$d.toUTCString();
3709
3709
  }, M3;
3710
- }(), k2 = _2.prototype;
3711
- return O.prototype = k2, [["$ms", r2], ["$s", i], ["$m", s], ["$H", u3], ["$W", a], ["$M", c], ["$y", h2], ["$D", d2]].forEach(function(t2) {
3710
+ })(), k2 = _2.prototype;
3711
+ return O.prototype = k2, [["$ms", r2], ["$s", i], ["$m", s], ["$H", u3], ["$W", a], ["$M", c], ["$y", h2], ["$D", d2]].forEach((function(t2) {
3712
3712
  k2[t2[1]] = function(e2) {
3713
3713
  return this.$g(e2, t2[0], t2[1]);
3714
3714
  };
3715
- }), O.extend = function(t2, e2) {
3715
+ })), O.extend = function(t2, e2) {
3716
3716
  return t2.$i || (t2(e2, _2, O), t2.$i = true), O;
3717
3717
  }, O.locale = w2, O.isDayjs = S2, O.unix = function(t2) {
3718
3718
  return O(1e3 * t2);
3719
3719
  }, O.en = D2[g], O.Ls = D2, O.p = {}, O;
3720
- });
3720
+ }));
3721
3721
  })(dayjs_min$1);
3722
3722
  return dayjs_min$1.exports;
3723
3723
  }
@@ -6834,11 +6834,11 @@ class BurgerEditorEngine {
6834
6834
  }
6835
6835
  async #createItemElement(itemData) {
6836
6836
  if (typeof itemData !== "string" && "localName" in itemData) {
6837
- Item$1.rebind(itemData, this.items, this.itemEditorDialog);
6838
- return itemData;
6837
+ const item2 = Item$1.rebind(itemData, this.items, this.itemEditorDialog);
6838
+ return item2.el;
6839
6839
  }
6840
6840
  const name = typeof itemData === "string" ? itemData : itemData.name;
6841
- const item = await Item$1.create(name, this.items, this.itemEditorDialog);
6841
+ const item = await Item$1.create(name, this.items, this.itemEditorDialog, typeof itemData === "string" ? void 0 : itemData.data);
6842
6842
  return item.el;
6843
6843
  }
6844
6844
  #isUIName(name) {
@@ -28545,7 +28545,7 @@ RopeSequence.from = function from(values) {
28545
28545
  }
28546
28546
  return values && values.length ? new Leaf(values) : RopeSequence.empty;
28547
28547
  };
28548
- var Leaf = /* @__PURE__ */ function(RopeSequence3) {
28548
+ var Leaf = /* @__PURE__ */ (function(RopeSequence3) {
28549
28549
  function Leaf2(values) {
28550
28550
  RopeSequence3.call(this);
28551
28551
  this.values = values;
@@ -28598,9 +28598,9 @@ var Leaf = /* @__PURE__ */ function(RopeSequence3) {
28598
28598
  };
28599
28599
  Object.defineProperties(Leaf2.prototype, prototypeAccessors);
28600
28600
  return Leaf2;
28601
- }(RopeSequence);
28601
+ })(RopeSequence);
28602
28602
  RopeSequence.empty = new Leaf([]);
28603
- var Append = /* @__PURE__ */ function(RopeSequence3) {
28603
+ var Append = /* @__PURE__ */ (function(RopeSequence3) {
28604
28604
  function Append2(left, right) {
28605
28605
  RopeSequence3.call(this);
28606
28606
  this.left = left;
@@ -28667,7 +28667,7 @@ var Append = /* @__PURE__ */ function(RopeSequence3) {
28667
28667
  return new Append2(this, other);
28668
28668
  };
28669
28669
  return Append2;
28670
- }(RopeSequence);
28670
+ })(RopeSequence);
28671
28671
  const max_empty_items = 500;
28672
28672
  class Branch {
28673
28673
  constructor(items, eventCount) {
@@ -32715,7 +32715,7 @@ const _BgeWysiwygElement = class _BgeWysiwygElement2 extends HTMLElement {
32715
32715
  __privateGet$1(this, _textarea).value = value;
32716
32716
  }
32717
32717
  get mode() {
32718
- const modeAttr = this.shadowRoot?.querySelector(`[data-bge-mode]`)?.getAttribute("data-bge-mode");
32718
+ const modeAttr = this.shadowRoot?.querySelector(`[data-bge-mode]`)?.dataset.bgeMode;
32719
32719
  return modeAttr === "html" ? "html" : "wysiwyg";
32720
32720
  }
32721
32721
  set mode(mode) {
@@ -33530,7 +33530,7 @@ const PROPS_IS_BINDABLE = 1 << 3;
33530
33530
  const PROPS_IS_LAZY_INITIAL = 1 << 4;
33531
33531
  const TEMPLATE_FRAGMENT = 1;
33532
33532
  const TEMPLATE_USE_IMPORT_NODE = 1 << 1;
33533
- const UNINITIALIZED = Symbol();
33533
+ const UNINITIALIZED = /* @__PURE__ */ Symbol();
33534
33534
  const NAMESPACE_HTML = "http://www.w3.org/1999/xhtml";
33535
33535
  const NAMESPACE_SVG = "http://www.w3.org/2000/svg";
33536
33536
  const ATTACHMENT_KEY = "@attach";
@@ -33606,9 +33606,9 @@ const WAS_MARKED = 1 << 15;
33606
33606
  const REACTION_IS_UPDATING = 1 << 21;
33607
33607
  const ASYNC = 1 << 22;
33608
33608
  const ERROR_VALUE = 1 << 23;
33609
- const STATE_SYMBOL = Symbol("$state");
33610
- const LEGACY_PROPS = Symbol("legacy props");
33611
- const LOADING_ATTR_SYMBOL = Symbol("");
33609
+ const STATE_SYMBOL = /* @__PURE__ */ Symbol("$state");
33610
+ const LEGACY_PROPS = /* @__PURE__ */ Symbol("legacy props");
33611
+ const LOADING_ATTR_SYMBOL = /* @__PURE__ */ Symbol("");
33612
33612
  const STALE_REACTION = new class StaleReactionError extends Error {
33613
33613
  name = "StaleReactionError";
33614
33614
  message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
@@ -33822,14 +33822,14 @@ class Batch {
33822
33822
  #deferred = null;
33823
33823
  /**
33824
33824
  * Deferred effects (which run after async work has completed) that are DIRTY
33825
- * @type {Effect[]}
33825
+ * @type {Set<Effect>}
33826
33826
  */
33827
- #dirty_effects = [];
33827
+ #dirty_effects = /* @__PURE__ */ new Set();
33828
33828
  /**
33829
33829
  * Deferred effects that are MAYBE_DIRTY
33830
- * @type {Effect[]}
33830
+ * @type {Set<Effect>}
33831
33831
  */
33832
- #maybe_dirty_effects = [];
33832
+ #maybe_dirty_effects = /* @__PURE__ */ new Set();
33833
33833
  /**
33834
33834
  * A set of branches that still exist, but will be destroyed when this batch
33835
33835
  * is committed — we skip over these during `process`
@@ -33852,8 +33852,7 @@ class Batch {
33852
33852
  parent: null,
33853
33853
  effect: null,
33854
33854
  effects: [],
33855
- render_effects: [],
33856
- block_effects: []
33855
+ render_effects: []
33857
33856
  };
33858
33857
  for (const root2 of root_effects) {
33859
33858
  this.#traverse_effect_tree(root2, target);
@@ -33864,7 +33863,6 @@ class Batch {
33864
33863
  if (this.is_deferred()) {
33865
33864
  this.#defer_effects(target.effects);
33866
33865
  this.#defer_effects(target.render_effects);
33867
- this.#defer_effects(target.block_effects);
33868
33866
  } else {
33869
33867
  previous_batch = this;
33870
33868
  current_batch = null;
@@ -33894,8 +33892,7 @@ class Batch {
33894
33892
  parent: target,
33895
33893
  effect: effect2,
33896
33894
  effects: [],
33897
- render_effects: [],
33898
- block_effects: []
33895
+ render_effects: []
33899
33896
  };
33900
33897
  }
33901
33898
  if (!skip && effect2.fn !== null) {
@@ -33904,7 +33901,7 @@ class Batch {
33904
33901
  } else if ((flags2 & EFFECT) !== 0) {
33905
33902
  target.effects.push(effect2);
33906
33903
  } else if (is_dirty(effect2)) {
33907
- if ((effect2.f & BLOCK_EFFECT) !== 0) target.block_effects.push(effect2);
33904
+ if ((effect2.f & BLOCK_EFFECT) !== 0) this.#dirty_effects.add(effect2);
33908
33905
  update_effect(effect2);
33909
33906
  }
33910
33907
  var child2 = effect2.first;
@@ -33919,7 +33916,6 @@ class Batch {
33919
33916
  if (parent === target.effect) {
33920
33917
  this.#defer_effects(target.effects);
33921
33918
  this.#defer_effects(target.render_effects);
33922
- this.#defer_effects(target.block_effects);
33923
33919
  target = /** @type {EffectTarget} */
33924
33920
  target.parent;
33925
33921
  }
@@ -33933,8 +33929,11 @@ class Batch {
33933
33929
  */
33934
33930
  #defer_effects(effects) {
33935
33931
  for (const e of effects) {
33936
- const target = (e.f & DIRTY) !== 0 ? this.#dirty_effects : this.#maybe_dirty_effects;
33937
- target.push(e);
33932
+ if ((e.f & DIRTY) !== 0) {
33933
+ this.#dirty_effects.add(e);
33934
+ } else if ((e.f & MAYBE_DIRTY) !== 0) {
33935
+ this.#maybe_dirty_effects.add(e);
33936
+ }
33938
33937
  this.#clear_marked(e.deps);
33939
33938
  set_signal_status(e, CLEAN);
33940
33939
  }
@@ -34013,8 +34012,7 @@ class Batch {
34013
34012
  parent: null,
34014
34013
  effect: null,
34015
34014
  effects: [],
34016
- render_effects: [],
34017
- block_effects: []
34015
+ render_effects: []
34018
34016
  };
34019
34017
  for (const batch of batches) {
34020
34018
  if (batch === this) {
@@ -34080,6 +34078,7 @@ class Batch {
34080
34078
  }
34081
34079
  revive() {
34082
34080
  for (const e of this.#dirty_effects) {
34081
+ this.#maybe_dirty_effects.delete(e);
34083
34082
  set_signal_status(e, DIRTY);
34084
34083
  schedule_effect(e);
34085
34084
  }
@@ -34087,8 +34086,6 @@ class Batch {
34087
34086
  set_signal_status(e, MAYBE_DIRTY);
34088
34087
  schedule_effect(e);
34089
34088
  }
34090
- this.#dirty_effects = [];
34091
- this.#maybe_dirty_effects = [];
34092
34089
  this.flush();
34093
34090
  }
34094
34091
  /** @param {() => void} fn */
@@ -37415,10 +37412,10 @@ function get_option_value(option) {
37415
37412
  return option.value;
37416
37413
  }
37417
37414
  }
37418
- const CLASS = Symbol("class");
37419
- const STYLE = Symbol("style");
37420
- const IS_CUSTOM_ELEMENT = Symbol("is custom element");
37421
- const IS_HTML = Symbol("is html");
37415
+ const CLASS = /* @__PURE__ */ Symbol("class");
37416
+ const STYLE = /* @__PURE__ */ Symbol("style");
37417
+ const IS_CUSTOM_ELEMENT = /* @__PURE__ */ Symbol("is custom element");
37418
+ const IS_HTML = /* @__PURE__ */ Symbol("is html");
37422
37419
  function set_value(element2, value) {
37423
37420
  var attributes = get_attributes(element2);
37424
37421
  if (attributes.value === (attributes.value = // treat null and undefined the same for the initial value
@@ -38037,7 +38034,7 @@ function prop(props, key, flags2, fallback) {
38037
38034
  var legacy_parent = props.$$legacy;
38038
38035
  return (
38039
38036
  /** @type {() => V} */
38040
- function(value, mutation) {
38037
+ (function(value, mutation) {
38041
38038
  if (arguments.length > 0) {
38042
38039
  if (!runes || !mutation || legacy_parent || is_store_sub) {
38043
38040
  setter(mutation ? getter() : value);
@@ -38045,7 +38042,7 @@ function prop(props, key, flags2, fallback) {
38045
38042
  return value;
38046
38043
  }
38047
38044
  return getter();
38048
- }
38045
+ })
38049
38046
  );
38050
38047
  }
38051
38048
  var overridden = false;
@@ -38060,7 +38057,7 @@ function prop(props, key, flags2, fallback) {
38060
38057
  );
38061
38058
  return (
38062
38059
  /** @type {() => V} */
38063
- function(value, mutation) {
38060
+ (function(value, mutation) {
38064
38061
  if (arguments.length > 0) {
38065
38062
  const new_value = mutation ? get2(d2) : runes && bindable ? proxy(value) : value;
38066
38063
  set(d2, new_value);
@@ -38074,7 +38071,7 @@ function prop(props, key, flags2, fallback) {
38074
38071
  return d2.v;
38075
38072
  }
38076
38073
  return get2(d2);
38077
- }
38074
+ })
38078
38075
  );
38079
38076
  }
38080
38077
  var root_4$3 = /* @__PURE__ */ from_html(`<img alt="" loading="lazy" class="svelte-1hna6ki"/>`);
@@ -40313,18 +40310,20 @@ var createProxy = (callback, path) => {
40313
40310
  var ClientRequestImpl = class {
40314
40311
  url;
40315
40312
  method;
40313
+ buildSearchParams;
40316
40314
  queryParams = void 0;
40317
40315
  pathParams = {};
40318
40316
  rBody;
40319
40317
  cType = void 0;
40320
- constructor(url, method) {
40318
+ constructor(url, method, options) {
40321
40319
  this.url = url;
40322
40320
  this.method = method;
40321
+ this.buildSearchParams = options.buildSearchParams;
40323
40322
  }
40324
40323
  fetch = async (args, opt) => {
40325
40324
  if (args) {
40326
40325
  if (args.query) {
40327
- this.queryParams = buildSearchParams(args.query);
40326
+ this.queryParams = this.buildSearchParams(args.query);
40328
40327
  }
40329
40328
  if (args.form) {
40330
40329
  const form = new FormData();
@@ -40380,6 +40379,7 @@ var ClientRequestImpl = class {
40380
40379
  };
40381
40380
  };
40382
40381
  var hc = (baseUrl, options) => createProxy(function proxyCallback(opts) {
40382
+ const buildSearchParamsOption = options?.buildSearchParams ?? buildSearchParams;
40383
40383
  const parts = [...opts.path];
40384
40384
  const lastParts = parts.slice(-3).reverse();
40385
40385
  if (lastParts[0] === "toString") {
@@ -40410,7 +40410,7 @@ var hc = (baseUrl, options) => createProxy(function proxyCallback(opts) {
40410
40410
  result = replaceUrlParam(url, opts.args[0].param);
40411
40411
  }
40412
40412
  if (opts.args[0].query) {
40413
- result = result + "?" + buildSearchParams(opts.args[0].query).toString();
40413
+ result = result + "?" + buildSearchParamsOption(opts.args[0].query).toString();
40414
40414
  }
40415
40415
  }
40416
40416
  result = removeIndexString(result);
@@ -40440,7 +40440,9 @@ var hc = (baseUrl, options) => createProxy(function proxyCallback(opts) {
40440
40440
  };
40441
40441
  return establishWebSocket(targetUrl.toString());
40442
40442
  }
40443
- const req = new ClientRequestImpl(url, method);
40443
+ const req = new ClientRequestImpl(url, method, {
40444
+ buildSearchParams: buildSearchParamsOption
40445
+ });
40444
40446
  if (method) {
40445
40447
  options ??= {};
40446
40448
  const args = deepMerge(options, { ...opts.args[1] });