@burger-editor/local 4.0.0-alpha.17 → 4.0.0-alpha.18
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 +1003 -354
- package/dist/client.js.map +1 -1
- package/package.json +10 -10
- package/server/helpers/$upload.d.ts +12 -6
- package/server/helpers/$upload.js +22 -22
- package/server/helpers/client-path-validation.d.ts +1 -1
- package/server/helpers/client-path-validation.js +7 -7
- package/server/helpers/debug.d.ts +1 -1
- package/server/helpers/edit-content.d.ts +13 -3
- package/server/helpers/edit-content.js +113 -97
- package/server/helpers/file-name.d.ts +5 -5
- package/server/helpers/file-name.js +28 -28
- package/server/helpers/front-matter.d.ts +10 -3
- package/server/helpers/front-matter.js +39 -37
- package/server/helpers/html-detection.d.ts +15 -6
- package/server/helpers/html-detection.js +79 -81
- package/server/helpers/no-editable-area-error.d.ts +3 -3
- package/server/helpers/no-editable-area-error.js +5 -5
- package/server/helpers/pagination.d.ts +14 -10
- package/server/helpers/pagination.js +33 -33
- package/server/index.d.ts +1 -1
- package/server/index.js +6 -5
- package/server/model/default-config.d.ts +6 -6
- package/server/model/default-config.js +5 -5
- package/server/model/file-list-manager.d.ts +20 -11
- package/server/model/file-list-manager.js +176 -163
- package/server/model/file-tree.d.ts +10 -7
- package/server/model/file-tree.js +26 -25
- package/server/model/get-user-config.d.ts +1 -1
- package/server/model/get-user-config.d.ts.map +1 -1
- package/server/model/get-user-config.js +85 -76
- package/server/route.d.ts +312 -264
- package/server/route.d.ts.map +1 -1
- package/server/route.js +301 -215
- package/server/types.d.ts +56 -39
- package/server/types.d.ts.map +1 -1
- package/server/view/app.d.ts +15 -8
- package/server/view/app.js +38 -7
- package/server/view/layout.d.ts +6 -3
- package/server/view/layout.js +23 -2
- package/server/view/nav-tree.d.ts +6 -4
- package/server/view/nav-tree.js +19 -2
- package/server/view/nav.d.ts +6 -4
- package/server/view/nav.js +46 -3
- package/style/app.css +24 -0
- package/server/model/app-config.d.ts +0 -7
- package/server/model/app-config.d.ts.map +0 -1
- package/server/model/app-config.js +0 -6
package/dist/client.js
CHANGED
|
@@ -27,7 +27,7 @@ function kebabCase$1(str) {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* marked v16.2.
|
|
30
|
+
* marked v16.2.1 - a markdown parser
|
|
31
31
|
* Copyright (c) 2011-2025, Christopher Jeffrey. (MIT Licensed)
|
|
32
32
|
* https://github.com/markedjs/marked
|
|
33
33
|
*/
|
|
@@ -37,8 +37,8 @@ function kebabCase$1(str) {
|
|
|
37
37
|
* The code in this file is generated from files in ./src/
|
|
38
38
|
*/
|
|
39
39
|
|
|
40
|
-
function L$1(){return {async:false,breaks:false,extensions:null,gfm:true,hooks:null,pedantic:false,renderer:null,silent:false,tokenizer:null,walkTokens:null}}var O$1=L$1();function H$1(l){O$1=l;}var E$1={exec:()=>null};function h$2(l,e=""){let t=typeof l=="string"?l:l.source,n={replace:(r,i)=>{let s=typeof i=="string"?i:i.source;return s=s.replace(m$1.caret,"$1"),t=t.replace(r,s),n},getRegex:()=>new RegExp(t,e)};return n}var m$1={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:l=>new RegExp(`^( {0,3}${l})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}#`),htmlBeginRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}<(?:[a-z].*>|!--)`,"i")},xe$1=/^(?:[ \t]*(?:\n|$))+/,be$1=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Re$1=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,C$1=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Oe$1=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,j$1=/(?:[*+-]|\d{1,9}[.)])/,se$1=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ie$3=h$2(se$1).replace(/bull/g,j$1).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Te$1=h$2(se$1).replace(/bull/g,j$1).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),F$1=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,we$1=/^[^\n]+/,Q$1=/(?!\s*\])(
|
|
41
|
-
]`).replace("lheading",ie$3).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Me$1=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ze$1=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,ae$1=/^( {2,}|\\)\n(?!\s*$)/,Ae$1=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,D$1=/[\p{P}\p{S}]/u,W$1=/[\s\p{P}\p{S}]/u,le$1=/[^\s\p{P}\p{S}]/u,Ee$1=h$2(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,W$1).getRegex(),ue$1=/(?!~)[\p{P}\p{S}]/u,Ce$1=/(?!~)[\s\p{P}\p{S}]/u,Ie$1=/(?:[^\s\p{P}\p{S}]|~)/u,Be$1=/\[[
|
|
40
|
+
function L$1(){return {async:false,breaks:false,extensions:null,gfm:true,hooks:null,pedantic:false,renderer:null,silent:false,tokenizer:null,walkTokens:null}}var O$1=L$1();function H$1(l){O$1=l;}var E$1={exec:()=>null};function h$2(l,e=""){let t=typeof l=="string"?l:l.source,n={replace:(r,i)=>{let s=typeof i=="string"?i:i.source;return s=s.replace(m$1.caret,"$1"),t=t.replace(r,s),n},getRegex:()=>new RegExp(t,e)};return n}var m$1={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:l=>new RegExp(`^( {0,3}${l})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}#`),htmlBeginRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}<(?:[a-z].*>|!--)`,"i")},xe$1=/^(?:[ \t]*(?:\n|$))+/,be$1=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Re$1=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,C$1=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Oe$1=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,j$1=/(?:[*+-]|\d{1,9}[.)])/,se$1=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ie$3=h$2(se$1).replace(/bull/g,j$1).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Te$1=h$2(se$1).replace(/bull/g,j$1).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),F$1=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,we$1=/^[^\n]+/,Q$1=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,ye$1=h$2(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Q$1).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Pe$1=h$2(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,j$1).getRegex(),v$1="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",U$1=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Se$1=h$2("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",U$1).replace("tag",v$1).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),oe$1=h$2(F$1).replace("hr",C$1).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",v$1).getRegex(),$e$1=h$2(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",oe$1).getRegex(),K$1={blockquote:$e$1,code:be$1,def:ye$1,fences:Re$1,heading:Oe$1,hr:C$1,html:Se$1,lheading:ie$3,list:Pe$1,newline:xe$1,paragraph:oe$1,table:E$1,text:we$1},re$3=h$2("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",C$1).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",v$1).getRegex(),_e$1={...K$1,lheading:Te$1,table:re$3,paragraph:h$2(F$1).replace("hr",C$1).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",re$3).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",v$1).getRegex()},Le$1={...K$1,html:h$2(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",U$1).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:E$1,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:h$2(F$1).replace("hr",C$1).replace("heading",` *#{1,6} *[^
|
|
41
|
+
]`).replace("lheading",ie$3).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Me$1=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ze$1=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,ae$1=/^( {2,}|\\)\n(?!\s*$)/,Ae$1=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,D$1=/[\p{P}\p{S}]/u,W$1=/[\s\p{P}\p{S}]/u,le$1=/[^\s\p{P}\p{S}]/u,Ee$1=h$2(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,W$1).getRegex(),ue$1=/(?!~)[\p{P}\p{S}]/u,Ce$1=/(?!~)[\s\p{P}\p{S}]/u,Ie$1=/(?:[^\s\p{P}\p{S}]|~)/u,Be$1=/\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g,pe$1=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,qe$1=h$2(pe$1,"u").replace(/punct/g,D$1).getRegex(),ve$1=h$2(pe$1,"u").replace(/punct/g,ue$1).getRegex(),ce$1="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",De$1=h$2(ce$1,"gu").replace(/notPunctSpace/g,le$1).replace(/punctSpace/g,W$1).replace(/punct/g,D$1).getRegex(),Ze$1=h$2(ce$1,"gu").replace(/notPunctSpace/g,Ie$1).replace(/punctSpace/g,Ce$1).replace(/punct/g,ue$1).getRegex(),Ge$1=h$2("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,le$1).replace(/punctSpace/g,W$1).replace(/punct/g,D$1).getRegex(),He$1=h$2(/\\(punct)/,"gu").replace(/punct/g,D$1).getRegex(),Ne$1=h$2(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),je$1=h$2(U$1).replace("(?:-->|$)","-->").getRegex(),Fe$1=h$2("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",je$1).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),q$1=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/,Qe$1=h$2(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",q$1).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),he$1=h$2(/^!?\[(label)\]\[(ref)\]/).replace("label",q$1).replace("ref",Q$1).getRegex(),de$1=h$2(/^!?\[(ref)\](?:\[\])?/).replace("ref",Q$1).getRegex(),Ue$1=h$2("reflink|nolink(?!\\()","g").replace("reflink",he$1).replace("nolink",de$1).getRegex(),X$1={_backpedal:E$1,anyPunctuation:He$1,autolink:Ne$1,blockSkip:Be$1,br:ae$1,code:ze$1,del:E$1,emStrongLDelim:qe$1,emStrongRDelimAst:De$1,emStrongRDelimUnd:Ge$1,escape:Me$1,link:Qe$1,nolink:de$1,punctuation:Ee$1,reflink:he$1,reflinkSearch:Ue$1,tag:Fe$1,text:Ae$1,url:E$1},Ke$1={...X$1,link:h$2(/^!?\[(label)\]\((.*?)\)/).replace("label",q$1).getRegex(),reflink:h$2(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",q$1).getRegex()},N$1={...X$1,emStrongRDelimAst:Ze$1,emStrongLDelim:ve$1,url:h$2(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},We$1={...N$1,br:h$2(ae$1).replace("{2,}","*").getRegex(),text:h$2(N$1.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},I$1={normal:K$1,gfm:_e$1,pedantic:Le$1},M$1={normal:X$1,gfm:N$1,breaks:We$1,pedantic:Ke$1};var Xe$1={"&":"&","<":"<",">":">",'"':""","'":"'"},ke$1=l=>Xe$1[l];function w$1(l,e){if(e){if(m$1.escapeTest.test(l))return l.replace(m$1.escapeReplace,ke$1)}else if(m$1.escapeTestNoEncode.test(l))return l.replace(m$1.escapeReplaceNoEncode,ke$1);return l}function J$1(l){try{l=encodeURI(l).replace(m$1.percentDecode,"%");}catch{return null}return l}function V$1(l,e){let t=l.replace(m$1.findPipe,(i,s,o)=>{let a=false,u=s;for(;--u>=0&&o[u]==="\\";)a=!a;return a?"|":" |"}),n=t.split(m$1.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(m$1.slashPipe,"|");return n}function z$1(l,e,t){let n=l.length;if(n===0)return "";let r=0;for(;r<n;){let i=l.charAt(n-r-1);if(i===e&&true)r++;else break}return l.slice(0,n-r)}function ge$1(l,e){if(l.indexOf(e[1])===-1)return -1;let t=0;for(let n=0;n<l.length;n++)if(l[n]==="\\")n++;else if(l[n]===e[0])t++;else if(l[n]===e[1]&&(t--,t<0))return n;return t>0?-2:-1}function fe$1(l,e,t,n,r){let i=e.href,s=e.title||null,o=l[1].replace(r.other.outputLinkReplace,"$1");n.state.inLink=true;let a={type:l[0].charAt(0)==="!"?"image":"link",raw:t,href:i,title:s,text:o,tokens:n.inlineTokens(o)};return n.state.inLink=false,a}function Je$1(l,e,t){let n=l.match(t.other.indentCodeCompensation);if(n===null)return e;let r=n[1];return e.split(`
|
|
42
42
|
`).map(i=>{let s=i.match(t.other.beginningSpace);if(s===null)return i;let[o]=s;return o.length>=r.length?i.slice(r.length):i}).join(`
|
|
43
43
|
`)}var y$1=class y{options;rules;lexer;constructor(e){this.options=e||O$1;}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return {type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let n=t[0].replace(this.rules.other.codeRemoveIndent,"");return {type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:z$1(n,`
|
|
44
44
|
`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let n=t[0],r=Je$1(n,t[3]||"",this.rules);return {type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(this.rules.other.endingHash.test(n)){let r=z$1(n,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(n=r.trim());}return {type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return {type:"hr",raw:z$1(t[0],`
|
|
@@ -1088,6 +1088,64 @@ function htmlToMarkdown(html) {
|
|
|
1088
1088
|
return turndownService.turndown(html);
|
|
1089
1089
|
}
|
|
1090
1090
|
|
|
1091
|
+
/**
|
|
1092
|
+
* 汎用的なマージ関数
|
|
1093
|
+
* 指定されたキーフィールドを基準にアイテムのマージを行う
|
|
1094
|
+
* @param defaultItems デフォルトのアイテム配列
|
|
1095
|
+
* @param mergeItems マージ設定配列
|
|
1096
|
+
* @param keyField キーとなるフィールド名
|
|
1097
|
+
* @param isValidForAdd 新規追加時のバリデーション関数
|
|
1098
|
+
* @returns マージ後のアイテム配列
|
|
1099
|
+
* @example
|
|
1100
|
+
* ```typescript
|
|
1101
|
+
* // SelectableValue型での使用例
|
|
1102
|
+
* const result = mergeItems(
|
|
1103
|
+
* [{ value: 'a', label: 'A' }],
|
|
1104
|
+
* [{ value: 'b', label: 'B' }],
|
|
1105
|
+
* 'value',
|
|
1106
|
+
* (item) => Boolean(item.label)
|
|
1107
|
+
* );
|
|
1108
|
+
*
|
|
1109
|
+
* // 独自型での使用例
|
|
1110
|
+
* interface User { id: string; name: string; }
|
|
1111
|
+
* const users = mergeItems(
|
|
1112
|
+
* [{ id: '1', name: 'Alice' }],
|
|
1113
|
+
* [{ id: '2', name: 'Bob' }],
|
|
1114
|
+
* 'id'
|
|
1115
|
+
* );
|
|
1116
|
+
* ```
|
|
1117
|
+
*/
|
|
1118
|
+
function mergeItems(defaultItems, mergeItems, keyField, isValidForAdd) {
|
|
1119
|
+
// マージ設定がない場合はデフォルトをそのまま返す
|
|
1120
|
+
if (!mergeItems) {
|
|
1121
|
+
return [...defaultItems];
|
|
1122
|
+
}
|
|
1123
|
+
let result = [...defaultItems];
|
|
1124
|
+
for (const mergeItem of mergeItems) {
|
|
1125
|
+
if (mergeItem.delete) {
|
|
1126
|
+
// 削除: キーが一致するものを除去
|
|
1127
|
+
const keyValue = mergeItem[keyField];
|
|
1128
|
+
result = result.filter((item) => item[keyField] !== keyValue);
|
|
1129
|
+
}
|
|
1130
|
+
else {
|
|
1131
|
+
// 追加または更新
|
|
1132
|
+
const keyValue = mergeItem[keyField];
|
|
1133
|
+
const existingIndex = result.findIndex((item) => item[keyField] === keyValue);
|
|
1134
|
+
if (existingIndex === -1) {
|
|
1135
|
+
// 新規追加: バリデーション通過が必要
|
|
1136
|
+
if (!isValidForAdd || isValidForAdd(mergeItem)) {
|
|
1137
|
+
result.push(mergeItem);
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
else {
|
|
1141
|
+
// 既存の更新: マージする
|
|
1142
|
+
result[existingIndex] = { ...result[existingIndex], ...mergeItem };
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
return result;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1091
1149
|
/**
|
|
1092
1150
|
*
|
|
1093
1151
|
* @param html
|
|
@@ -4945,11 +5003,27 @@ function setContent$2(el, datum, asHtml = true, xssSanitize = true) {
|
|
|
4945
5003
|
el instanceof HTMLOutputElement) {
|
|
4946
5004
|
if (el instanceof HTMLInputElement &&
|
|
4947
5005
|
(el.type === 'radio' || el.type === 'checkbox')) {
|
|
5006
|
+
// Boolean values are always set directly regardless of value attribute
|
|
4948
5007
|
if (typeof datum === 'boolean') {
|
|
4949
5008
|
el.checked = datum;
|
|
4950
5009
|
return;
|
|
4951
5010
|
}
|
|
4952
|
-
|
|
5011
|
+
// Checkbox/radio with value attribute: traditional value comparison
|
|
5012
|
+
if (el.hasAttribute('value')) {
|
|
5013
|
+
el.checked = el.value === `${datum}`;
|
|
5014
|
+
return;
|
|
5015
|
+
}
|
|
5016
|
+
// Checkbox without value attribute: switch-like behavior (string boolean processing)
|
|
5017
|
+
if (datum === 'true') {
|
|
5018
|
+
el.checked = true;
|
|
5019
|
+
return;
|
|
5020
|
+
}
|
|
5021
|
+
if (datum === 'false') {
|
|
5022
|
+
el.checked = false;
|
|
5023
|
+
return;
|
|
5024
|
+
}
|
|
5025
|
+
// Other values default to false
|
|
5026
|
+
el.checked = false;
|
|
4953
5027
|
return;
|
|
4954
5028
|
}
|
|
4955
5029
|
el.value = `${datum}`;
|
|
@@ -5534,30 +5608,60 @@ function createItem(item) {
|
|
|
5534
5608
|
return item;
|
|
5535
5609
|
}
|
|
5536
5610
|
|
|
5537
|
-
var editor$a = "<div>\n\t<label>\n\t\t<span>ボタンの種類</span>\n\t\t<select name=\"bge-kind\">\n\t\t\t
|
|
5611
|
+
var editor$a = "<div>\n\t<label>\n\t\t<span>ボタンの種類</span>\n\t\t<select name=\"bge-kind\">\n\t\t\t<!-- 選択肢はJavaScriptで動的に生成されます -->\n\t\t</select>\n\t</label>\n\t<label>\n\t\t<span>テキスト</span>\n\t\t<input type=\"text\" name=\"bge-text\" />\n\t</label>\n\t<label>\n\t\t<span>サブテキスト</span>\n\t\t<input type=\"text\" name=\"bge-subtext\" />\n\t</label>\n\t<label>\n\t\t<span>リンク</span>\n\t\t<input type=\"text\" name=\"bge-link\" />\n\t</label>\n\t<label>\n\t\t<span>ターゲット</span>\n\t\t<select name=\"bge-target\">\n\t\t\t<option value=\"\">指定なし</option>\n\t\t\t<option value=\"_blank\">新しいウィンドウ(_blank)</option>\n\t\t\t<option value=\"_top\">最上部ウィンドウ(_top)</option>\n\t\t\t<option value=\"_self\">同じウィンドウ(_self)</option>\n\t\t</select>\n\t</label>\n</div>\n";
|
|
5538
5612
|
|
|
5539
5613
|
var style$a = "/* No Styling */\n";
|
|
5540
5614
|
|
|
5541
|
-
var template$
|
|
5615
|
+
var template$E = "<a href=\"\" data-bgi-button-kind=\"link\" data-bge=\"link:href, target:target, kind:data-bgi-button-kind\">\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";
|
|
5542
5616
|
|
|
5543
5617
|
var button = createItem({
|
|
5544
|
-
version: "4.0.0-alpha.
|
|
5618
|
+
version: "4.0.0-alpha.17",
|
|
5545
5619
|
name: "button",
|
|
5546
|
-
template: template$
|
|
5620
|
+
template: template$E,
|
|
5547
5621
|
style: style$a,
|
|
5548
|
-
editor: editor$a
|
|
5622
|
+
editor: editor$a,
|
|
5623
|
+
editorOptions: {
|
|
5624
|
+
beforeOpen(data, editor2) {
|
|
5625
|
+
const defaultKindOptions = [
|
|
5626
|
+
{ value: "link", label: "\u30EA\u30F3\u30AF" },
|
|
5627
|
+
{ value: "em", label: "\u5F37\u8ABF\u30EA\u30F3\u30AF" },
|
|
5628
|
+
{ value: "external", label: "\u5916\u90E8\u30EA\u30F3\u30AF" },
|
|
5629
|
+
{ value: "in-page", label: "\u30DA\u30FC\u30B8\u5185\u30EA\u30F3\u30AF" },
|
|
5630
|
+
{ value: "text", label: "\u30C6\u30AD\u30B9\u30C8\u30EA\u30F3\u30AF" },
|
|
5631
|
+
{ value: "back", label: "\u623B\u308B" }
|
|
5632
|
+
];
|
|
5633
|
+
const configKinds = editor2.engine.config.experimental?.itemOptions?.button?.kinds;
|
|
5634
|
+
const kindOptions = mergeItems(
|
|
5635
|
+
defaultKindOptions,
|
|
5636
|
+
configKinds,
|
|
5637
|
+
"value",
|
|
5638
|
+
(item) => Boolean(item.label)
|
|
5639
|
+
);
|
|
5640
|
+
const kindSelect = editor2.find('select[name="bge-kind"]');
|
|
5641
|
+
if (kindSelect) {
|
|
5642
|
+
kindSelect.innerHTML = "";
|
|
5643
|
+
for (const option of kindOptions) {
|
|
5644
|
+
const optionElement = kindSelect.ownerDocument.createElement("option");
|
|
5645
|
+
optionElement.value = option.value;
|
|
5646
|
+
optionElement.textContent = option.label;
|
|
5647
|
+
kindSelect.append(optionElement);
|
|
5648
|
+
}
|
|
5649
|
+
}
|
|
5650
|
+
return data;
|
|
5651
|
+
}
|
|
5652
|
+
}
|
|
5549
5653
|
});
|
|
5550
5654
|
|
|
5551
5655
|
var editor$9 = "<label>\n\t<input type=\"checkbox\" name=\"bge-open\" />\n\t<span>開いた状態で公開する</span>\n</label>\n<label>\n\t<span>概要</span>\n\t<input type=\"text\" name=\"bge-summary\" />\n</label>\n<bge-wysiwyg-editor name=\"bge-content\" item-name=\"details\" commands=\"bold,italic,underline,strikethrough,link,blockquote,bullet-list,ordered-list\"></bge-wysiwyg-editor>\n";
|
|
5552
5656
|
|
|
5553
5657
|
var style$9 = "/* No Styling */\n";
|
|
5554
5658
|
|
|
5555
|
-
var template$
|
|
5659
|
+
var template$D = "<details data-bge=\"open:open\">\n\t<summary data-bge=\"summary\">折りたたみコンテンツ</summary>\n\t<div data-bge=\"content\"><p>内容を入力してください</p></div>\n</details>\n";
|
|
5556
5660
|
|
|
5557
5661
|
var details = createItem({
|
|
5558
|
-
version: "4.0.0-alpha.
|
|
5662
|
+
version: "4.0.0-alpha.17",
|
|
5559
5663
|
name: "details",
|
|
5560
|
-
template: template$
|
|
5664
|
+
template: template$D,
|
|
5561
5665
|
style: style$9,
|
|
5562
5666
|
editor: editor$9
|
|
5563
5667
|
});
|
|
@@ -5566,12 +5670,12 @@ var editor$8 = "<div data-bge-dialog=\"2col\">\n\t<div data-bge-dialog-ui=\"stic
|
|
|
5566
5670
|
|
|
5567
5671
|
var style$8 = "[data-bgi='download-file'] {\n\t[data-bge*='size'] {\n\t\t&::before {\n\t\t\tcontent: '(';\n\t\t}\n\n\t\t&::after {\n\t\t\tcontent: ')';\n\t\t}\n\t}\n}\n";
|
|
5568
5672
|
|
|
5569
|
-
var template$
|
|
5673
|
+
var template$C = "<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";
|
|
5570
5674
|
|
|
5571
5675
|
var downloadFile = createItem({
|
|
5572
|
-
version: "4.0.0-alpha.
|
|
5676
|
+
version: "4.0.0-alpha.17",
|
|
5573
5677
|
name: "download-file",
|
|
5574
|
-
template: template$
|
|
5678
|
+
template: template$C,
|
|
5575
5679
|
style: style$8,
|
|
5576
5680
|
editor: editor$8,
|
|
5577
5681
|
editorOptions: {
|
|
@@ -5605,12 +5709,12 @@ var editor$7 = "<div id=\"bge-google-maps\" style=\"inline-size: 100%; aspect-ra
|
|
|
5605
5709
|
|
|
5606
5710
|
var style$7 = "[data-bgi='google-maps'] {\n\tdiv {\n\t\tinline-size: 100%;\n\t\taspect-ratio: 8 / 5;\n\t}\n\n\timg {\n\t\tdisplay: block;\n\t\tinline-size: 100%;\n\t\tblock-size: 100%;\n\t\tmargin-block: 0;\n\t\tmargin-inline: auto;\n\t\tobject-fit: contain;\n\t}\n\n\ta {\n\t\tdisplay: none;\n\t}\n}\n";
|
|
5607
5711
|
|
|
5608
|
-
var template$
|
|
5712
|
+
var template$B = "<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&zoom=16&size=640x400&markers=color:red|color:red|35.681382,139.766084&scale=2&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";
|
|
5609
5713
|
|
|
5610
5714
|
var googleMaps = createItem({
|
|
5611
|
-
version: "4.0.0-alpha.
|
|
5715
|
+
version: "4.0.0-alpha.17",
|
|
5612
5716
|
name: "google-maps",
|
|
5613
|
-
template: template$
|
|
5717
|
+
template: template$B,
|
|
5614
5718
|
style: style$7,
|
|
5615
5719
|
editor: editor$7,
|
|
5616
5720
|
editorOptions: {
|
|
@@ -5740,12 +5844,12 @@ var editor$6 = "<div>\n\t<label>\n\t\t<span>区切り線の種類</span>\n\t\t<s
|
|
|
5740
5844
|
|
|
5741
5845
|
var style$6 = "[data-bgi='hr'] {\n\t--inline-size: 100%;\n\t--border-color: #000;\n\t--border-width: 1px;\n\t--border-kind: solid;\n\n\t> div {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t}\n\n\thr {\n\t\tinline-size: var(--inline-size);\n\t\tborder: var(--border-color) var(--border-kind) var(--border-width);\n\t}\n}\n";
|
|
5742
5846
|
|
|
5743
|
-
var template$
|
|
5847
|
+
var template$A = "<div data-bgi-hr-kind=\"primary\" data-bge=\"kind:data-bgi-hr-kind\">\n\t<hr />\n</div>\n";
|
|
5744
5848
|
|
|
5745
5849
|
var hr = createItem({
|
|
5746
|
-
version: "4.0.0-alpha.
|
|
5850
|
+
version: "4.0.0-alpha.17",
|
|
5747
5851
|
name: "hr",
|
|
5748
|
-
template: template$
|
|
5852
|
+
template: template$A,
|
|
5749
5853
|
style: style$6,
|
|
5750
5854
|
editor: editor$6
|
|
5751
5855
|
});
|
|
@@ -5754,13 +5858,13 @@ var editor$5 = "<div data-bge-dialog=\"2col\">\n\t<div data-bge-dialog-ui=\"stic
|
|
|
5754
5858
|
|
|
5755
5859
|
var style$5 = "[data-bgi='image'] {\n\tfigure {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tinline-size: var(--css-width, 100%);\n\t\tmax-inline-size: 100cqi;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\n\t\t> :is(div, a, button) {\n\t\t\tdisplay: block;\n\t\t\tpadding: 0;\n\t\t\tbackground: transparent;\n\t\t\tborder: none;\n\t\t}\n\t}\n\n\timg {\n\t\tdisplay: block;\n\t\tinline-size: var(--css-width, auto);\n\t\tmax-inline-size: 100%;\n\t\tblock-size: auto;\n\t\taspect-ratio: var(--aspect-ratio, unset);\n\t\tobject-fit: var(--object-fit, unset);\n\t}\n\n\tfigcaption {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\tinline-size: 100%;\n\n\t\t&:empty {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n";
|
|
5756
5860
|
|
|
5757
|
-
var template$
|
|
5861
|
+
var template$z = "<div data-bge=\":style, :scale, :scale-type, :aspect-ratio\" data-bge-scale=\"100\" data-bge-scale-type=\"container\" data-bge-aspect-ratio=\"unset\" style=\"--css-width: 100cqi; --object-fit: cover; --aspect-ratio: unset\">\n\t<figure>\n\t\t<div data-bge=\":node, :href, :target, :command\">\n\t\t\t<picture data-bge-list>\n\t\t\t\t<img src=\"%sampleImagePath%\" alt=\"サンプル画像\" data-bge=\"path:src, :alt, :width, :height, :loading, :media\" width=\"400\" height=\"300\" loading=\"lazy\" />\n\t\t\t</picture>\n\t\t</div>\n\t\t<figcaption data-bge=\"caption\"></figcaption>\n\t</figure>\n</div>\n";
|
|
5758
5862
|
|
|
5759
5863
|
const ORIGIN = "__org";
|
|
5760
5864
|
var image = createItem({
|
|
5761
|
-
version: "4.0.0-alpha.
|
|
5865
|
+
version: "4.0.0-alpha.17",
|
|
5762
5866
|
name: "image",
|
|
5763
|
-
template: template$
|
|
5867
|
+
template: template$z,
|
|
5764
5868
|
style: style$5,
|
|
5765
5869
|
editor: editor$5,
|
|
5766
5870
|
editorOptions: {
|
|
@@ -5917,16 +6021,16 @@ async function loadImage(src) {
|
|
|
5917
6021
|
});
|
|
5918
6022
|
}
|
|
5919
6023
|
|
|
5920
|
-
var editor$4 = "<div data-bge-dialog=\"wide\">\n\t<div>\n\t\t<label>\n\t\t\t<span>表見出し</span>\n\t\t\t<input type=\"text\" name=\"bge-caption\" />\n\t\t</label>\n\t</div>\n\n\t<div data-bge-editor-ui=\"tableEditor\"></div>\n\t<input type=\"hidden\" name=\"bge\" />\n</div>\n";
|
|
6024
|
+
var editor$4 = "<div data-bge-dialog=\"wide\">\n\t<div>\n\t\t<label>\n\t\t\t<input type=\"checkbox\" name=\"bge-scrollable\" />\n\t\t\t<span>横スクロール可能</span>\n\t\t</label>\n\t</div>\n\n\t<div>\n\t\t<label>\n\t\t\t<span>表見出し</span>\n\t\t\t<input type=\"text\" name=\"bge-caption\" />\n\t\t</label>\n\t</div>\n\n\t<div data-bge-editor-ui=\"tableEditor\"></div>\n\t<input type=\"hidden\" name=\"bge\" />\n</div>\n";
|
|
5921
6025
|
|
|
5922
6026
|
var style$4 = "/* No Styling */\n";
|
|
5923
6027
|
|
|
5924
|
-
var template$
|
|
6028
|
+
var template$y = "<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";
|
|
5925
6029
|
|
|
5926
6030
|
var table = createItem({
|
|
5927
|
-
version: "4.0.0-alpha.
|
|
6031
|
+
version: "4.0.0-alpha.17",
|
|
5928
6032
|
name: "table",
|
|
5929
|
-
template: template$
|
|
6033
|
+
template: template$y,
|
|
5930
6034
|
style: style$4,
|
|
5931
6035
|
editor: editor$4,
|
|
5932
6036
|
editorOptions: {
|
|
@@ -5949,12 +6053,12 @@ var editor$3 = "<input type=\"text\" name=\"bge-title-h2\" placeholder=\"見出
|
|
|
5949
6053
|
|
|
5950
6054
|
var style$3 = "/* No Styling */\n";
|
|
5951
6055
|
|
|
5952
|
-
var template$
|
|
6056
|
+
var template$x = "<h2 data-bge=\"title-h2\">見出しを入力してください</h2>\n";
|
|
5953
6057
|
|
|
5954
6058
|
var titleH2 = createItem({
|
|
5955
|
-
version: "4.0.0-alpha.
|
|
6059
|
+
version: "4.0.0-alpha.17",
|
|
5956
6060
|
name: "title-h2",
|
|
5957
|
-
template: template$
|
|
6061
|
+
template: template$x,
|
|
5958
6062
|
style: style$3,
|
|
5959
6063
|
editor: editor$3
|
|
5960
6064
|
});
|
|
@@ -5963,12 +6067,12 @@ var editor$2 = "<input type=\"text\" name=\"bge-title-h3\" placeholder=\"見出
|
|
|
5963
6067
|
|
|
5964
6068
|
var style$2 = "/* No Styling */\n";
|
|
5965
6069
|
|
|
5966
|
-
var template$
|
|
6070
|
+
var template$w = "<h3 data-bge=\"title-h3\">見出しを入力してください</h3>\n";
|
|
5967
6071
|
|
|
5968
6072
|
var titleH3 = createItem({
|
|
5969
|
-
version: "4.0.0-alpha.
|
|
6073
|
+
version: "4.0.0-alpha.17",
|
|
5970
6074
|
name: "title-h3",
|
|
5971
|
-
template: template$
|
|
6075
|
+
template: template$w,
|
|
5972
6076
|
style: style$2,
|
|
5973
6077
|
editor: editor$2
|
|
5974
6078
|
});
|
|
@@ -5977,12 +6081,12 @@ var editor$1 = "<bge-wysiwyg-editor name=\"bge-wysiwyg\" item-name=\"wysiwyg\"><
|
|
|
5977
6081
|
|
|
5978
6082
|
var style$1 = "/* No Styling */\n";
|
|
5979
6083
|
|
|
5980
|
-
var template$
|
|
6084
|
+
var template$v = "<div data-bge=\"wysiwyg\"><p>本文を入力してください</p></div>\n";
|
|
5981
6085
|
|
|
5982
6086
|
var wysiwyg = createItem({
|
|
5983
|
-
version: "4.0.0-alpha.
|
|
6087
|
+
version: "4.0.0-alpha.17",
|
|
5984
6088
|
name: "wysiwyg",
|
|
5985
|
-
template: template$
|
|
6089
|
+
template: template$v,
|
|
5986
6090
|
style: style$1,
|
|
5987
6091
|
editor: editor$1
|
|
5988
6092
|
});
|
|
@@ -5991,13 +6095,13 @@ var editor = "<div>\n\t<iframe class=\"bge-youtube-preview\" title=\"YouTubeプ
|
|
|
5991
6095
|
|
|
5992
6096
|
var style$b = "[data-bgi='youtube'] {\n\t> div {\n\t\tposition: relative;\n\t\tdisplay: grid;\n\t\tgrid-template-areas: 'one';\n\t\tinline-size: 100%;\n\t\taspect-ratio: 16 / 9;\n\t\toverflow: hidden;\n\t}\n\n\tiframe {\n\t\tdisplay: block;\n\t\tgrid-area: one;\n\t\tinline-size: 100%;\n\t\tblock-size: 100%;\n\t\tmargin: 0;\n\t\tborder: none;\n\t}\n\n\timg {\n\t\tposition: relative;\n\t\tz-index: 0;\n\t\tdisplay: block;\n\t\tgrid-area: one;\n\t\tinline-size: 100%;\n\t\tblock-size: 100%;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t\tobject-fit: cover;\n\t}\n\n\tsvg {\n\t\tposition: relative;\n\t\tz-index: 1;\n\t\tdisplay: block;\n\t\tgrid-area: one;\n\t\tplace-self: center;\n\t\tinline-size: 10%;\n\t\tblock-size: auto;\n\t}\n}\n";
|
|
5993
6097
|
|
|
5994
|
-
var template$
|
|
6098
|
+
var template$u = "<div data-id=\"3KtWfp0UopM\" data-title=\"YouTube動画\" data-width=\"1920\" data-height=\"1080\" data-bge=\"id:data-id, title:data-title\">\n\t<img src=\"//img.youtube.com/vi/3KtWfp0UopM/maxresdefault.jpg\" alt=\"動画のサムネイル\" data-bge=\"thumb:src\" width=\"16\" height=\"9\" loading=\"lazy\" decoding=\"auto\" />\n\t<svg viewBox=\"0 0 68 48\" role=\"none\">\n\t\t<path d=\"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z\" fill=\"#f00\"></path>\n\t\t<path d=\"M 45,24 27,14 27,34\" fill=\"#fff\"></path>\n\t</svg>\n</div>\n";
|
|
5995
6099
|
|
|
5996
6100
|
const FALLBACK_TITLE = "YouTube\u52D5\u753B";
|
|
5997
6101
|
var youtube = createItem({
|
|
5998
|
-
version: "4.0.0-alpha.
|
|
6102
|
+
version: "4.0.0-alpha.17",
|
|
5999
6103
|
name: "youtube",
|
|
6000
|
-
template: template$
|
|
6104
|
+
template: template$u,
|
|
6001
6105
|
style: style$b,
|
|
6002
6106
|
editor,
|
|
6003
6107
|
editorOptions: {
|
|
@@ -6059,212 +6163,232 @@ function importItems(template) {
|
|
|
6059
6163
|
});
|
|
6060
6164
|
}
|
|
6061
6165
|
|
|
6062
|
-
var icon$
|
|
6166
|
+
var icon$t = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><clipPath id=\"fd209399-0134-4350-b981-c8b8ae94ae7e\"><rect width=\"50.59\" height=\"39.31\" fill=\"none\"/></clipPath><clipPath id=\"bf554fee-e2dd-4b87-bcb8-62d1fc0d1c7f\"><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"none\"/></clipPath><linearGradient id=\"ffaf2791-f62f-4e94-bf07-d06118b0fa68\" x1=\"179.67\" y1=\"-292.99\" x2=\"180.67\" y2=\"-292.99\" gradientTransform=\"matrix(0, -72.25, -72.25, 0, -21142.98, 13022.73)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#e7dbeb\"/><stop offset=\"1\" stop-color=\"#d6c1da\"/></linearGradient><clipPath id=\"b4d6358c-dbd1-461c-9863-afc1e103aeb7\"><rect x=\"9.75\" y=\"12.25\" width=\"31.09\" height=\"14.41\" rx=\"2.83\" fill=\"none\"/></clipPath></defs><title>button</title><g id=\"b38853b3-c703-4537-91c6-7499dd3828da\" data-name=\"レイヤー 2\"><g id=\"aad4bf5b-7942-4049-afa3-188448558c80\" data-name=\"レイヤー1\"><g clip-path=\"url(#fd209399-0134-4350-b981-c8b8ae94ae7e)\"><rect y=\"1.81\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#d1b9d5\"/></g><g clip-path=\"url(#bf554fee-e2dd-4b87-bcb8-62d1fc0d1c7f)\"><rect width=\"50.59\" height=\"37.5\" fill=\"url(#ffaf2791-f62f-4e94-bf07-d06118b0fa68)\"/></g><g clip-path=\"url(#fd209399-0134-4350-b981-c8b8ae94ae7e)\"><path d=\"M12.59,14.1H38a2.84,2.84,0,0,1,2.84,2.84v8.73A2.83,2.83,0,0,1,38,28.5H12.59a2.83,2.83,0,0,1-2.83-2.83V16.93A2.84,2.84,0,0,1,12.59,14.1Z\" fill=\"#905f94\"/><rect x=\"9.75\" y=\"12.22\" width=\"31.09\" height=\"14.41\" rx=\"2.83\" fill=\"#b992bc\"/><path d=\"M18,19.51a2.87,2.87,0,1,1-2.86-2.87A2.86,2.86,0,0,1,18,19.51Z\" fill=\"#fff\"/><g clip-path=\"url(#b4d6358c-dbd1-461c-9863-afc1e103aeb7)\"><polygon points=\"40.84 26.66 9.75 26.66 40.84 12.25 40.84 26.66\" fill=\"#ab7aac\"/></g><polygon points=\"14.35 21.09 14.35 17.92 16.65 19.5 14.35 21.09\" fill=\"#b992bc\"/></g></g></g></svg>";
|
|
6063
6167
|
|
|
6064
|
-
var template$
|
|
6168
|
+
var template$t = "<div data-bge-container=\"inline:center:wrap\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- button --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6065
6169
|
|
|
6066
|
-
const blockTemplate$
|
|
6170
|
+
const blockTemplate$t = {
|
|
6067
6171
|
name: "button",
|
|
6172
|
+
template: importItems(template$t),
|
|
6173
|
+
icon: icon$t
|
|
6174
|
+
};
|
|
6175
|
+
|
|
6176
|
+
var icon$s = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><clipPath id=\"b153ff07-895d-4804-87cf-aa7badc810a8\"><rect width=\"50.59\" height=\"39.31\" fill=\"none\"/></clipPath><clipPath id=\"a7bae0c0-62bc-446c-bf0d-663d897e5a48\"><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"none\"/></clipPath><linearGradient id=\"bb60e0bf-29b7-438c-ad93-35e0141ae3a9\" x1=\"116.39\" y1=\"-292.32\" x2=\"117.39\" y2=\"-292.32\" gradientTransform=\"matrix(0, -72.25, -72.25, 0, -21094.73, 8451.1)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#e7dbeb\"/><stop offset=\"1\" stop-color=\"#d6c1da\"/></linearGradient><clipPath id=\"a1723d6b-2f4d-4c07-ab69-97a7a59476e0\"><rect y=\"8.76\" width=\"28.03\" height=\"21.78\" fill=\"none\"/></clipPath><clipPath id=\"b0b34d52-2d56-4f80-827a-ad77b7bd7b2f\"><rect x=\"5.4\" y=\"15.55\" width=\"17.22\" height=\"7.98\" rx=\"1.57\" fill=\"none\"/></clipPath><clipPath id=\"b8d7ec36-a44f-439c-bf3e-ab66c919cbf7\"><rect x=\"22.56\" y=\"8.76\" width=\"28.03\" height=\"21.78\" fill=\"none\"/></clipPath><clipPath id=\"b450c3cd-31c6-4f6c-afbf-34881f955d9c\"><rect x=\"27.97\" y=\"15.55\" width=\"17.22\" height=\"7.98\" rx=\"1.57\" fill=\"none\"/></clipPath></defs><title>button2</title><g id=\"aeb13426-476a-417b-af4a-dd91ed7b5972\" data-name=\"レイヤー 2\"><g id=\"a3ae9667-184a-49a2-aacf-363d1e760b76\" data-name=\"レイヤー1\"><g clip-path=\"url(#b153ff07-895d-4804-87cf-aa7badc810a8)\"><rect y=\"1.81\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#d1b9d5\"/></g><g clip-path=\"url(#a7bae0c0-62bc-446c-bf0d-663d897e5a48)\"><rect width=\"50.59\" height=\"37.5\" fill=\"url(#bb60e0bf-29b7-438c-ad93-35e0141ae3a9)\"/></g><g clip-path=\"url(#a1723d6b-2f4d-4c07-ab69-97a7a59476e0)\"><rect x=\"5.4\" y=\"16.57\" width=\"17.22\" height=\"7.98\" rx=\"1.57\" fill=\"#905f94\"/><rect x=\"5.4\" y=\"15.54\" width=\"17.22\" height=\"7.98\" rx=\"1.57\" fill=\"#b992bc\"/><path d=\"M10,19.57A1.59,1.59,0,1,1,8.4,18,1.59,1.59,0,0,1,10,19.57Z\" fill=\"#fff\"/><g clip-path=\"url(#b0b34d52-2d56-4f80-827a-ad77b7bd7b2f)\"><polygon points=\"22.63 23.54 5.4 23.54 22.63 15.55 22.63 23.54\" fill=\"#ab7aac\"/></g><polygon points=\"7.95 20.45 7.95 18.69 9.22 19.57 7.95 20.45\" fill=\"#b992bc\"/></g><g clip-path=\"url(#b8d7ec36-a44f-439c-bf3e-ab66c919cbf7)\"><rect x=\"27.97\" y=\"16.57\" width=\"17.22\" height=\"7.98\" rx=\"1.57\" fill=\"#905f94\"/><rect x=\"27.97\" y=\"15.54\" width=\"17.22\" height=\"7.98\" rx=\"1.57\" fill=\"#b992bc\"/><path d=\"M32.55,19.57A1.59,1.59,0,1,1,31,18,1.59,1.59,0,0,1,32.55,19.57Z\" fill=\"#fff\"/><g clip-path=\"url(#b450c3cd-31c6-4f6c-afbf-34881f955d9c)\"><polygon points=\"45.19 23.54 27.97 23.54 45.19 15.55 45.19 23.54\" fill=\"#ab7aac\"/></g><polygon points=\"30.51 20.45 30.51 18.69 31.79 19.57 30.51 20.45\" fill=\"#b992bc\"/></g></g></g></svg>";
|
|
6177
|
+
|
|
6178
|
+
var template$s = "<div data-bge-container=\"inline:center:wrap\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- button --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- button --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6179
|
+
|
|
6180
|
+
const blockTemplate$s = {
|
|
6181
|
+
name: "button2",
|
|
6182
|
+
template: importItems(template$s),
|
|
6183
|
+
icon: icon$s
|
|
6184
|
+
};
|
|
6185
|
+
|
|
6186
|
+
var icon$r = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><clipPath id=\"b056bd87-8dba-4e0d-aa72-716878a05a5f\"><rect width=\"50.59\" height=\"39.31\" fill=\"none\"/></clipPath><clipPath id=\"b763a0c7-e5d3-4838-81d6-b56aed526447\"><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"none\"/></clipPath><linearGradient id=\"a7cf91cd-fd5f-42ee-ac16-f023fb4564a1\" x1=\"52.39\" y1=\"-293.21\" x2=\"53.39\" y2=\"-293.21\" gradientTransform=\"matrix(0, -72.25, -72.25, 0, -21158.73, 3827.14)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#e7dbeb\"/><stop offset=\"1\" stop-color=\"#d6c1da\"/></linearGradient><clipPath id=\"e3b93a2c-6a02-4ca9-8019-a0631cefd20c\"><rect y=\"10.78\" width=\"20.53\" height=\"15.95\" fill=\"none\"/></clipPath><clipPath id=\"bcd3e7b4-6b19-434c-b185-816b541cf24a\"><rect x=\"3.96\" y=\"15.75\" width=\"12.61\" height=\"5.84\" rx=\"1.15\" fill=\"none\"/></clipPath><clipPath id=\"f3c09aef-9059-4b8e-bdc4-94b27727ec2b\"><rect x=\"15.03\" y=\"10.78\" width=\"20.53\" height=\"15.95\" fill=\"none\"/></clipPath><clipPath id=\"a582dc04-5370-42cd-8885-ceab0760a39d\"><rect x=\"18.99\" y=\"15.75\" width=\"12.61\" height=\"5.84\" rx=\"1.15\" fill=\"none\"/></clipPath><clipPath id=\"b0615a06-7c95-4acd-9dc8-079f4b205ef6\"><rect x=\"30.07\" y=\"10.78\" width=\"20.53\" height=\"15.95\" fill=\"none\"/></clipPath><clipPath id=\"fe839737-2f17-42b7-9195-6f7d6bfc12f9\"><rect x=\"34.03\" y=\"15.75\" width=\"12.61\" height=\"5.84\" rx=\"1.15\" fill=\"none\"/></clipPath></defs><title>button3</title><g id=\"f1d0597a-7e94-40cc-81d2-7940e55002c1\" data-name=\"レイヤー 2\"><g id=\"bad110ee-d772-42ac-99a1-357d604f079b\" data-name=\"レイヤー1\"><g clip-path=\"url(#b056bd87-8dba-4e0d-aa72-716878a05a5f)\"><rect y=\"1.81\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#d1b9d5\"/></g><g clip-path=\"url(#b763a0c7-e5d3-4838-81d6-b56aed526447)\"><rect width=\"50.59\" height=\"37.5\" fill=\"url(#a7cf91cd-fd5f-42ee-ac16-f023fb4564a1)\"/></g><g clip-path=\"url(#e3b93a2c-6a02-4ca9-8019-a0631cefd20c)\"><rect x=\"3.96\" y=\"16.5\" width=\"12.61\" height=\"5.84\" rx=\"1.15\" fill=\"#905f94\"/><rect x=\"3.96\" y=\"15.74\" width=\"12.61\" height=\"5.84\" rx=\"1.15\" fill=\"#b992bc\"/><path d=\"M7.31,18.69a1.16,1.16,0,1,1-1.16-1.16A1.16,1.16,0,0,1,7.31,18.69Z\" fill=\"#fff\"/><g clip-path=\"url(#bcd3e7b4-6b19-434c-b185-816b541cf24a)\"><polygon points=\"16.57 21.59 3.96 21.59 16.57 15.75 16.57 21.59\" fill=\"#ab7aac\"/></g><polygon points=\"5.82 19.33 5.82 18.05 6.75 18.69 5.82 19.33\" fill=\"#b992bc\"/></g><g clip-path=\"url(#f3c09aef-9059-4b8e-bdc4-94b27727ec2b)\"><rect x=\"18.99\" y=\"16.5\" width=\"12.61\" height=\"5.84\" rx=\"1.15\" fill=\"#905f94\"/><rect x=\"18.99\" y=\"15.74\" width=\"12.61\" height=\"5.84\" rx=\"1.15\" fill=\"#b992bc\"/><path d=\"M22.35,18.69a1.17,1.17,0,1,1-1.16-1.16A1.16,1.16,0,0,1,22.35,18.69Z\" fill=\"#fff\"/><g clip-path=\"url(#a582dc04-5370-42cd-8885-ceab0760a39d)\"><polygon points=\"31.6 21.59 18.99 21.59 31.6 15.75 31.6 21.59\" fill=\"#ab7aac\"/></g><polygon points=\"20.85 19.33 20.85 18.05 21.79 18.69 20.85 19.33\" fill=\"#b992bc\"/></g><g clip-path=\"url(#b0615a06-7c95-4acd-9dc8-079f4b205ef6)\"><rect x=\"34.03\" y=\"16.49\" width=\"12.61\" height=\"5.84\" rx=\"1.15\" fill=\"#905f94\"/><rect x=\"34.03\" y=\"15.73\" width=\"12.61\" height=\"5.84\" rx=\"1.15\" fill=\"#b992bc\"/><path d=\"M37.38,18.69a1.16,1.16,0,1,1-1.16-1.16A1.16,1.16,0,0,1,37.38,18.69Z\" fill=\"#fff\"/><g clip-path=\"url(#fe839737-2f17-42b7-9195-6f7d6bfc12f9)\"><polygon points=\"46.64 21.59 34.02 21.59 46.64 15.75 46.64 21.59\" fill=\"#ab7aac\"/></g><polygon points=\"35.89 19.33 35.89 18.05 36.82 18.69 35.89 19.33\" fill=\"#b992bc\"/></g></g></g></svg>";
|
|
6187
|
+
|
|
6188
|
+
var template$r = "<div data-bge-container=\"inline:center:wrap\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- button --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- button --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- button --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6189
|
+
|
|
6190
|
+
const blockTemplate$r = {
|
|
6191
|
+
name: "button3",
|
|
6068
6192
|
template: importItems(template$r),
|
|
6069
6193
|
icon: icon$r
|
|
6070
6194
|
};
|
|
6071
6195
|
|
|
6072
|
-
var icon$q = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><
|
|
6196
|
+
var icon$q = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><linearGradient id=\"a9e1e99a-d48b-467c-84e1-bdced3515439\" x1=\"25.3\" y1=\"41.9\" x2=\"25.3\" y2=\"-30.35\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#d9e7a4\"/><stop offset=\"1\" stop-color=\"#b2d57b\"/></linearGradient></defs><title>image4</title><g id=\"f0cc911f-7c12-4b14-8f46-1addd9966920\" data-name=\"レイヤー 2\"><g id=\"a6ffb343-0125-41bc-9552-4ed6f8831b95\" data-name=\"レイヤー1\"><rect y=\"1.81\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#b7c678\"/><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#a9e1e99a-d48b-467c-84e1-bdced3515439)\"/><rect x=\"4.65\" y=\"12.22\" width=\"8.53\" height=\"14.41\" fill=\"#7aaf39\"/><rect x=\"15.57\" y=\"12.22\" width=\"8.53\" height=\"14.41\" fill=\"#7aaf39\"/><rect x=\"26.49\" y=\"12.22\" width=\"8.53\" height=\"14.41\" fill=\"#7aaf39\"/><rect x=\"37.41\" y=\"12.22\" width=\"8.53\" height=\"14.41\" fill=\"#7aaf39\"/><polygon points=\"13.18 26.63 4.65 26.63 13.18 12.22 13.18 26.63\" fill=\"#649432\"/><polygon points=\"24.11 26.63 15.57 26.63 24.11 12.22 24.11 26.63\" fill=\"#649432\"/><polygon points=\"35.02 26.63 26.49 26.63 35.02 12.22 35.02 26.63\" fill=\"#649432\"/><polygon points=\"45.95 26.63 37.41 26.63 45.95 12.22 45.95 26.63\" fill=\"#649432\"/></g></g></svg>";
|
|
6073
6197
|
|
|
6074
|
-
var template$q = "<div data-bge-container=\"
|
|
6198
|
+
var template$q = "<div data-bge-container=\"grid:4\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-item><!-- button{\"kind\":\"in-page\",\"text\":\"コンテンツ1\",\"link\":\"#content1\"} --></div>\n\t\t<div data-bge-item><!-- button{\"kind\":\"in-page\",\"text\":\"コンテンツ2\",\"link\":\"#content2\"} --></div>\n\t\t<div data-bge-item><!-- button{\"kind\":\"in-page\",\"text\":\"コンテンツ3\",\"link\":\"#content3\"} --></div>\n\t\t<div data-bge-item><!-- button{\"kind\":\"in-page\",\"text\":\"コンテンツ4\",\"link\":\"#content4\"} --></div>\n\t\t<div data-bge-item><!-- button{\"kind\":\"in-page\",\"text\":\"コンテンツ5\",\"link\":\"#content5\"} --></div>\n\t\t<div data-bge-item><!-- button{\"kind\":\"in-page\",\"text\":\"コンテンツ6\",\"link\":\"#content6\"} --></div>\n\t\t<div data-bge-item><!-- button{\"kind\":\"in-page\",\"text\":\"コンテンツ7\",\"link\":\"#content7\"} --></div>\n\t\t<div data-bge-item><!-- button{\"kind\":\"in-page\",\"text\":\"コンテンツ8\",\"link\":\"#content8\"} --></div>\n\t</div>\n</div>\n";
|
|
6075
6199
|
|
|
6076
6200
|
const blockTemplate$q = {
|
|
6077
|
-
name: "
|
|
6201
|
+
name: "content-navigation",
|
|
6078
6202
|
template: importItems(template$q),
|
|
6079
6203
|
icon: icon$q
|
|
6080
6204
|
};
|
|
6081
6205
|
|
|
6082
|
-
var icon$p = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.
|
|
6206
|
+
var icon$p = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.84mm\" viewBox=\"0 0 50.59 39.23\"><defs><linearGradient id=\"ac098ab8-4721-4033-811d-03504c007490\" x1=\"25.3\" y1=\"37.04\" x2=\"25.3\" y2=\"-30.21\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#d9e7a4\"/><stop offset=\"1\" stop-color=\"#b2d57b\"/></linearGradient></defs><title>wysiwyg</title><g id=\"aede14d2-0f85-4f1a-a67b-7eba98691afa\" data-name=\"レイヤー 2\"><g id=\"a92b9d83-2208-4aed-9619-b799895b4f6c\" data-name=\"レイヤー1\"><rect y=\"1.74\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#b7c678\"/><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#ac098ab8-4721-4033-811d-03504c007490)\"/><line x1=\"11.3\" y1=\"10.04\" x2=\"39.6\" y2=\"10.04\" fill=\"none\" stroke=\"#649432\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"11.3\" y1=\"15.85\" x2=\"39.6\" y2=\"15.85\" fill=\"none\" stroke=\"#649432\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"11.3\" y1=\"21.65\" x2=\"39.6\" y2=\"21.65\" fill=\"none\" stroke=\"#649432\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"11.3\" y1=\"27.46\" x2=\"39.6\" y2=\"27.46\" fill=\"none\" stroke=\"#649432\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/></g></g></svg>";
|
|
6083
6207
|
|
|
6084
|
-
var template$p = "<div data-bge-container=\"
|
|
6208
|
+
var template$p = "<div data-bge-container=\"grid:1:immediate\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- details --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- details --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- details --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6085
6209
|
|
|
6086
6210
|
const blockTemplate$p = {
|
|
6087
|
-
name: "
|
|
6211
|
+
name: "disclosure",
|
|
6088
6212
|
template: importItems(template$p),
|
|
6089
6213
|
icon: icon$p
|
|
6090
6214
|
};
|
|
6091
6215
|
|
|
6092
|
-
var icon$o = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.
|
|
6216
|
+
var icon$o = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.96mm\" viewBox=\"0 0 50.59 39.57\"><defs><linearGradient id=\"becb2f5d-9182-4a22-8379-911159e90b4e\" x1=\"25.3\" y1=\"-7.07\" x2=\"25.3\" y2=\"42.27\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#aecaea\"/><stop offset=\"1\" stop-color=\"#c7dcf2\"/></linearGradient><linearGradient id=\"f7b8815a-3812-4a86-9885-c90d87d413a4\" x1=\"16.52\" y1=\"11.42\" x2=\"33.21\" y2=\"24.26\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#4097cb\"/><stop offset=\"0.46\" stop-color=\"#4097cb\"/><stop offset=\"0.49\" stop-color=\"#2a88c2\"/><stop offset=\"1\" stop-color=\"#4097cb\"/></linearGradient></defs><title>download-file</title><g id=\"a40f4568-d3f8-494e-9ab4-361f542104e6\" data-name=\"レイヤー 2\"><g id=\"eac125cd-6705-4e59-94bd-9b5cf94c3ef0\" data-name=\"レイヤー1\"><rect y=\"2.07\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#759fc8\"/><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#becb2f5d-9182-4a22-8379-911159e90b4e)\"/><path d=\"M36.6,14.11a5.05,5.05,0,0,0-1.23.15,8.24,8.24,0,0,0,.13-1.42A7.94,7.94,0,0,0,20.24,9.79,4.79,4.79,0,0,0,13.09,14c0,.07,0,.14,0,.21A5.5,5.5,0,0,0,14,25.12H36.6a5.51,5.51,0,1,0,0-11Z\" fill=\"url(#f7b8815a-3812-4a86-9885-c90d87d413a4)\"/><polygon points=\"27.36 27.03 27.36 21.85 23.24 21.85 23.24 27.03 20.48 27.03 25.3 31.85 30.11 27.03 27.36 27.03\" fill=\"#f5a725\"/></g></g></svg>";
|
|
6093
6217
|
|
|
6094
|
-
var template$o = "<div data-bge-container=\"
|
|
6218
|
+
var template$o = "<div data-bge-container=\"inline:center:wrap\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- download-file --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6095
6219
|
|
|
6096
6220
|
const blockTemplate$o = {
|
|
6097
|
-
name: "
|
|
6221
|
+
name: "download-file",
|
|
6098
6222
|
template: importItems(template$o),
|
|
6099
6223
|
icon: icon$o
|
|
6100
6224
|
};
|
|
6101
6225
|
|
|
6102
|
-
var icon$n = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"
|
|
6226
|
+
var icon$n = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"18.31mm\" height=\"13.96mm\" viewBox=\"0 0 51.91 39.57\"><defs><clipPath id=\"aeba98e8-5323-42ea-8924-cab300f24bf1\"><rect x=\"0.66\" width=\"50.59\" height=\"39.57\" fill=\"none\"/></clipPath><clipPath id=\"f6b1f76c-159f-4fd8-9649-7d9b300879fc\"><rect x=\"0.66\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"none\"/></clipPath><linearGradient id=\"b46a8061-b6c9-412b-a7e7-7f9ed6e06e92\" x1=\"124.76\" y1=\"-148.78\" x2=\"125.76\" y2=\"-148.78\" gradientTransform=\"matrix(0, 49.34, 49.34, 0, 7367.05, -6163.21)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#aecaea\"/><stop offset=\"1\" stop-color=\"#c7dcf2\"/></linearGradient><clipPath id=\"b4befe88-beb5-4ebe-a1a8-f77c2ac349eb\"><path d=\"M11.09,14.63A2.49,2.49,0,0,0,7.4,16.8s0,.07,0,.1a2.84,2.84,0,0,0,.46,5.64H19.52a2.84,2.84,0,0,0,0-5.68,2.59,2.59,0,0,0-.63.08,4.4,4.4,0,0,0,.07-.73,4.09,4.09,0,0,0-7.87-1.58\" fill=\"none\"/></clipPath><linearGradient id=\"bc621572-15d4-4277-9b6a-7d3d12020503\" x1=\"121.69\" y1=\"-157.15\" x2=\"122.2\" y2=\"-157.15\" gradientTransform=\"matrix(0, 21.06, 21.06, 0, 3323.5, -2550.12)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#4097cb\"/><stop offset=\"0.46\" stop-color=\"#4097cb\"/><stop offset=\"0.49\" stop-color=\"#2a88c2\"/><stop offset=\"1\" stop-color=\"#4097cb\"/></linearGradient><clipPath id=\"bb111474-00c2-4fbf-a9dc-5e714817e195\"><rect x=\"0.66\" y=\"9.59\" width=\"26.07\" height=\"20.39\" fill=\"none\"/></clipPath><clipPath id=\"b007783d-68bc-413d-9f28-e62e9dfb24f4\"><path d=\"M35.61,14.63a2.48,2.48,0,0,0-3.68,2.17v.1a2.84,2.84,0,0,0,.46,5.64H44.05a2.84,2.84,0,0,0,0-5.68,2.67,2.67,0,0,0-.64.08,4.4,4.4,0,0,0,.07-.73,4.09,4.09,0,0,0-7.87-1.58\" fill=\"none\"/></clipPath><linearGradient id=\"bb87b7e6-813d-403d-866c-7911014b963e\" x1=\"122.61\" y1=\"-156.44\" x2=\"123.12\" y2=\"-156.44\" gradientTransform=\"matrix(0, 21.06, 21.06, 0, 3333.04, -2569.6)\" xlink:href=\"#bc621572-15d4-4277-9b6a-7d3d12020503\"/><clipPath id=\"b4283aa0-0333-4f0f-8df7-5bf95c6dbc45\"><rect x=\"25.18\" y=\"9.59\" width=\"26.07\" height=\"20.39\" fill=\"none\"/></clipPath></defs><title>download-file2</title><g id=\"b5256a70-7e9c-494d-90e0-da27b974e2cf\" data-name=\"レイヤー 2\"><g id=\"bb18e753-2582-40b5-a26f-b35666026a47\" data-name=\"レイヤー1\"><g clip-path=\"url(#aeba98e8-5323-42ea-8924-cab300f24bf1)\"><rect x=\"0.66\" y=\"2.07\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#759fc8\"/></g><g clip-path=\"url(#f6b1f76c-159f-4fd8-9649-7d9b300879fc)\"><rect x=\"0.66\" width=\"50.59\" height=\"37.5\" fill=\"url(#b46a8061-b6c9-412b-a7e7-7f9ed6e06e92)\"/></g><g clip-path=\"url(#b4befe88-beb5-4ebe-a1a8-f77c2ac349eb)\"><rect x=\"4.29\" y=\"7.29\" width=\"18.82\" height=\"20.08\" transform=\"translate(-8.39 17.62) rotate(-52.43)\" fill=\"url(#bc621572-15d4-4277-9b6a-7d3d12020503)\"/></g><g clip-path=\"url(#bb111474-00c2-4fbf-a9dc-5e714817e195)\"><polygon points=\"14.76 23.52 14.76 20.85 12.63 20.85 12.63 23.52 11.21 23.52 13.7 26 16.18 23.52 14.76 23.52\" fill=\"#f5a725\"/></g><g clip-path=\"url(#b007783d-68bc-413d-9f28-e62e9dfb24f4)\"><rect x=\"28.81\" y=\"7.29\" width=\"18.82\" height=\"20.08\" transform=\"translate(1.18 37.06) rotate(-52.43)\" fill=\"url(#bb87b7e6-813d-403d-866c-7911014b963e)\"/></g><g clip-path=\"url(#b4283aa0-0333-4f0f-8df7-5bf95c6dbc45)\"><polygon points=\"39.28 23.52 39.28 20.85 37.16 20.85 37.16 23.52 35.74 23.52 38.22 26 40.7 23.52 39.28 23.52\" fill=\"#f5a725\"/></g></g></g></svg>";
|
|
6103
6227
|
|
|
6104
|
-
var template$n = "<div data-bge-container=\"inline:center:wrap\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- download-file --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6228
|
+
var template$n = "<div data-bge-container=\"inline:center:wrap\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- download-file --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- download-file --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6105
6229
|
|
|
6106
6230
|
const blockTemplate$n = {
|
|
6107
|
-
name: "download-
|
|
6231
|
+
name: "download-file2",
|
|
6108
6232
|
template: importItems(template$n),
|
|
6109
6233
|
icon: icon$n
|
|
6110
6234
|
};
|
|
6111
6235
|
|
|
6112
|
-
var icon$m = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"18.
|
|
6236
|
+
var icon$m = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"18.38mm\" height=\"13.96mm\" viewBox=\"0 0 52.1 39.57\"><defs><clipPath id=\"fc47c137-c2c6-4e1d-9955-a758446e9717\"><rect x=\"0.51\" width=\"50.59\" height=\"39.57\" fill=\"none\"/></clipPath><clipPath id=\"f2282422-2f7d-4250-a887-40cacb69eba7\"><rect x=\"0.51\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"none\"/></clipPath><linearGradient id=\"fd78d5d8-11ba-411c-b50b-9b5a9a2dd933\" x1=\"57.5\" y1=\"-146.09\" x2=\"58.5\" y2=\"-146.09\" gradientTransform=\"matrix(0, 49.34, 49.34, 0, 7234.02, -2844.1)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#aecaea\"/><stop offset=\"1\" stop-color=\"#c7dcf2\"/></linearGradient><clipPath id=\"bfe41910-2927-4cae-bb45-7a9de0746fd6\"><path d=\"M8.51,18.2A1.92,1.92,0,0,0,7.58,18a1.9,1.9,0,0,0-1.9,1.9s0,.06,0,.08A2.18,2.18,0,0,0,6,24.27H15a2.18,2.18,0,0,0,0-4.36,1.86,1.86,0,0,0-.48.06,3.43,3.43,0,0,0,.05-.56,3.14,3.14,0,0,0-6-1.21\" fill=\"none\"/></clipPath><linearGradient id=\"a1deedfc-6700-46bc-9326-7e1a5ec9088c\" x1=\"56.95\" y1=\"-154.02\" x2=\"57.35\" y2=\"-154.02\" gradientTransform=\"matrix(0, 21.06, 21.06, 0, 3254.42, -1182.75)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#4097cb\"/><stop offset=\"0.46\" stop-color=\"#4097cb\"/><stop offset=\"0.49\" stop-color=\"#2a88c2\"/><stop offset=\"1\" stop-color=\"#4097cb\"/></linearGradient><clipPath id=\"a434258f-e726-4759-a348-e9fbf87aadbe\"><rect x=\"0.51\" y=\"14.33\" width=\"20.01\" height=\"15.65\" fill=\"none\"/></clipPath><clipPath id=\"fff6c14c-ebcb-43ff-98fa-f3ba704e929a\"><path d=\"M24.45,18.2a1.9,1.9,0,0,0-2.83,1.66s0,.06,0,.08A2.18,2.18,0,0,0,22,24.27h9a2.18,2.18,0,0,0,0-4.36,1.93,1.93,0,0,0-.49.06,3.43,3.43,0,0,0,0-.56,3.14,3.14,0,0,0-6-1.21\" fill=\"none\"/></clipPath><linearGradient id=\"b3254dd0-8a5d-4c6b-91e8-02c85f39d2b1\" x1=\"57.55\" y1=\"-153.56\" x2=\"57.95\" y2=\"-153.56\" gradientTransform=\"matrix(0, 21.06, 21.06, 0, 3260.67, -1195.33)\" xlink:href=\"#a1deedfc-6700-46bc-9326-7e1a5ec9088c\"/><clipPath id=\"b0491421-6c28-4d84-969e-b3c10a878591\"><rect x=\"16.45\" y=\"14.33\" width=\"20.01\" height=\"15.65\" fill=\"none\"/></clipPath><clipPath id=\"a49fdbc0-e8fe-4800-a59d-2e8880bd76f6\"><path d=\"M39.59,18.2a2,2,0,0,0-.93-.24,1.9,1.9,0,0,0-1.9,1.9s0,.06,0,.08a2.18,2.18,0,0,0,.35,4.33h8.94a2.18,2.18,0,0,0,0-4.36,2,2,0,0,0-.49.06,2.59,2.59,0,0,0,0-.56,3.14,3.14,0,0,0-6-1.21\" fill=\"none\"/></clipPath><linearGradient id=\"e660e89d-723a-418c-bc29-2f24fb2d77c1\" x1=\"58.12\" y1=\"-153.12\" x2=\"58.52\" y2=\"-153.12\" gradientTransform=\"matrix(0, 21.06, 21.06, 0, 3266.57, -1207.32)\" xlink:href=\"#a1deedfc-6700-46bc-9326-7e1a5ec9088c\"/><clipPath id=\"f738a949-7af7-400f-b077-a7513d9ba0f4\"><rect x=\"31.59\" y=\"14.33\" width=\"20.01\" height=\"15.65\" fill=\"none\"/></clipPath></defs><title>download-file3</title><g id=\"a14bcb13-b419-40d8-8d59-261fd7a95c5d\" data-name=\"レイヤー 2\"><g id=\"b152811e-a297-4713-8349-1b7da41a7018\" data-name=\"レイヤー1\"><g clip-path=\"url(#fc47c137-c2c6-4e1d-9955-a758446e9717)\"><rect x=\"0.51\" y=\"2.07\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#759fc8\"/></g><g clip-path=\"url(#f2282422-2f7d-4250-a887-40cacb69eba7)\"><rect x=\"0.51\" width=\"50.59\" height=\"37.5\" fill=\"url(#fd78d5d8-11ba-411c-b50b-9b5a9a2dd933)\"/></g><g clip-path=\"url(#bfe41910-2927-4cae-bb45-7a9de0746fd6)\"><rect x=\"3.29\" y=\"12.56\" width=\"14.44\" height=\"15.41\" transform=\"translate(-11.96 16.24) rotate(-52.43)\" fill=\"url(#a1deedfc-6700-46bc-9326-7e1a5ec9088c)\"/></g><g clip-path=\"url(#a434258f-e726-4759-a348-e9fbf87aadbe)\"><polygon points=\"11.33 25.02 11.33 22.98 9.7 22.98 9.7 25.02 8.61 25.02 10.51 26.93 12.41 25.02 11.33 25.02\" fill=\"#f5a725\"/></g><g clip-path=\"url(#fff6c14c-ebcb-43ff-98fa-f3ba704e929a)\"><rect x=\"19.23\" y=\"12.56\" width=\"14.44\" height=\"15.41\" transform=\"translate(-5.74 28.88) rotate(-52.43)\" fill=\"url(#b3254dd0-8a5d-4c6b-91e8-02c85f39d2b1)\"/></g><g clip-path=\"url(#b0491421-6c28-4d84-969e-b3c10a878591)\"><polygon points=\"27.27 25.02 27.27 22.98 25.64 22.98 25.64 25.02 24.55 25.02 26.45 26.93 28.36 25.02 27.27 25.02\" fill=\"#f5a725\"/></g><g clip-path=\"url(#a49fdbc0-e8fe-4800-a59d-2e8880bd76f6)\"><rect x=\"34.37\" y=\"12.56\" width=\"14.44\" height=\"15.41\" transform=\"translate(0.17 40.88) rotate(-52.43)\" fill=\"url(#e660e89d-723a-418c-bc29-2f24fb2d77c1)\"/></g><g clip-path=\"url(#f738a949-7af7-400f-b077-a7513d9ba0f4)\"><polygon points=\"42.4 25.02 42.4 22.98 40.77 22.98 40.77 25.02 39.69 25.02 41.59 26.93 43.49 25.02 42.4 25.02\" fill=\"#f5a725\"/></g></g></g></svg>";
|
|
6113
6237
|
|
|
6114
|
-
var template$m = "<div data-bge-container=\"inline:center:wrap\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- download-file --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- download-file --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6238
|
+
var template$m = "<div data-bge-container=\"inline:center:wrap\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- download-file --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- download-file --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- download-file --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6115
6239
|
|
|
6116
6240
|
const blockTemplate$m = {
|
|
6117
|
-
name: "download-
|
|
6241
|
+
name: "download-file3",
|
|
6118
6242
|
template: importItems(template$m),
|
|
6119
6243
|
icon: icon$m
|
|
6120
6244
|
};
|
|
6121
6245
|
|
|
6122
|
-
var icon$l = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"
|
|
6246
|
+
var icon$l = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.96mm\" viewBox=\"0 0 50.59 39.57\"><defs><linearGradient id=\"ae456b20-87fa-4b4f-b171-a8dbd5c3dbf6\" x1=\"25.3\" y1=\"-8.67\" x2=\"25.3\" y2=\"39.13\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#f8ce7b\"/><stop offset=\"1\" stop-color=\"#fade94\"/></linearGradient></defs><title>google-maps</title><g id=\"b66e014b-42e0-4ea9-ba03-3ab3c0771c55\" data-name=\"レイヤー 2\"><g id=\"b39994e8-17e8-400c-a41b-425f36897605\" data-name=\"レイヤー1\"><rect y=\"2.07\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#e9a646\"/><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#ae456b20-87fa-4b4f-b171-a8dbd5c3dbf6)\"/><path d=\"M33.44,29c0,1.24-3.9,2.24-8.72,2.24S16,30.24,16,29s3.9-2.24,8.71-2.24S33.44,27.76,33.44,29Z\" fill=\"#eabb67\"/><path d=\"M32.19,15.36c0,2.06-1.86,5.53-3,7.09C28,24.2,24.72,29,24.72,29s-2.95-4.72-4.23-6.55c-1.15-1.65-3.23-4.91-3.23-7.09a7.47,7.47,0,0,1,14.93,0Z\" fill=\"#e48e15\" stroke=\"#c1631b\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M27.05,15a2.33,2.33,0,1,1-2.33-2.32A2.32,2.32,0,0,1,27.05,15Z\" fill=\"#4b2111\"/></g></g></svg>";
|
|
6123
6247
|
|
|
6124
|
-
var template$l = "<div data-bge-container=\"
|
|
6248
|
+
var template$l = "<div data-bge-container=\"grid:1\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- google-maps --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6125
6249
|
|
|
6126
6250
|
const blockTemplate$l = {
|
|
6127
|
-
name: "
|
|
6251
|
+
name: "google-maps",
|
|
6128
6252
|
template: importItems(template$l),
|
|
6129
6253
|
icon: icon$l
|
|
6130
6254
|
};
|
|
6131
6255
|
|
|
6132
|
-
var icon$k = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.
|
|
6256
|
+
var icon$k = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><clipPath id=\"b85f4eba-2cae-4968-861c-1d885106d0a5\"><rect width=\"50.59\" height=\"39.31\" fill=\"none\"/></clipPath><clipPath id=\"b6e6fc4a-a298-4d6a-ae1f-e3d3394e55ec\"><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"none\"/></clipPath><linearGradient id=\"ad69456d-abad-4bab-92b8-817dd73fdc3e\" x1=\"178.73\" y1=\"-339.45\" x2=\"179.73\" y2=\"-339.45\" gradientTransform=\"matrix(0, -72.25, -72.25, 0, -24499.71, 12954.82)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#b8deed\"/><stop offset=\"1\" stop-color=\"#8dcce5\"/></linearGradient></defs><title>hr</title><g id=\"bfd8b054-55a2-4cc9-a151-4d78938e5e97\" data-name=\"レイヤー 2\"><g id=\"bb0c0355-99a0-433f-a5ab-db3c13c14c9a\" data-name=\"レイヤー1\"><g clip-path=\"url(#b85f4eba-2cae-4968-861c-1d885106d0a5)\"><rect y=\"1.81\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#7bbbcf\"/></g><g clip-path=\"url(#b6e6fc4a-a298-4d6a-ae1f-e3d3394e55ec)\"><rect width=\"50.59\" height=\"37.5\" fill=\"url(#ad69456d-abad-4bab-92b8-817dd73fdc3e)\"/></g><g clip-path=\"url(#b85f4eba-2cae-4968-861c-1d885106d0a5)\"><path d=\"M40.84,21.41c0,.31-.14.56-1.7.56h-28c-1.57,0-1.42-.25-1.42-.56V19.68c0-.31-.15-.56,1.42-.56h28c1.56,0,1.7.25,1.7.56Z\" fill=\"#1fa8cc\"/><path d=\"M40.84,20.39c0,.31.15.56-1.42.56H11.17c-1.57,0-1.42-.25-1.42-.56V19.31c0-.31-.15-.56,1.42-.56H39.42c1.57,0,1.42.25,1.42.56Z\" fill=\"#55bcd8\"/></g></g></g></svg>";
|
|
6133
6257
|
|
|
6134
|
-
var template$k = "<div data-bge-container=\"
|
|
6258
|
+
var template$k = "<div data-bge-container=\"inline:immutable\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-item><!-- hr --></div>\n\t</div>\n</div>\n";
|
|
6135
6259
|
|
|
6136
6260
|
const blockTemplate$k = {
|
|
6137
|
-
name: "
|
|
6261
|
+
name: "hr",
|
|
6138
6262
|
template: importItems(template$k),
|
|
6139
6263
|
icon: icon$k
|
|
6140
6264
|
};
|
|
6141
6265
|
|
|
6142
|
-
var icon$j = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><clipPath id=\"
|
|
6266
|
+
var icon$j = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><clipPath id=\"a14548ce-d842-4fd8-917c-74fc065283e0\"><rect width=\"50.59\" height=\"39.31\" fill=\"none\"/></clipPath><clipPath id=\"a760b4d9-d8b5-4ed5-a648-35d410384b4b\"><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"none\"/></clipPath><linearGradient id=\"f1b0e6a1-76a5-46d8-9e26-0d5144fc95c2\" x1=\"187.4\" y1=\"214.88\" x2=\"188.39\" y2=\"214.88\" gradientTransform=\"matrix(0, -72.25, -72.25, 0, 15550.6, 13581.17)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#d9e7a4\"/><stop offset=\"1\" stop-color=\"#b2d57b\"/></linearGradient></defs><title>image1</title><g id=\"f1bc02b5-2ece-4cc1-abc8-0695f8a7f32b\" data-name=\"レイヤー 2\"><g id=\"ee57bbe4-f1e8-4009-96f2-c3c0f25e8376\" data-name=\"レイヤー1\"><g clip-path=\"url(#a14548ce-d842-4fd8-917c-74fc065283e0)\"><rect y=\"1.81\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#b7c678\"/></g><g clip-path=\"url(#a760b4d9-d8b5-4ed5-a648-35d410384b4b)\"><rect width=\"50.59\" height=\"37.5\" fill=\"url(#f1b0e6a1-76a5-46d8-9e26-0d5144fc95c2)\"/></g><g clip-path=\"url(#a14548ce-d842-4fd8-917c-74fc065283e0)\"><rect x=\"9.75\" y=\"12.22\" width=\"31.09\" height=\"14.41\" fill=\"#7aaf39\"/><polygon points=\"40.84 26.63 9.75 26.63 40.84 12.22 40.84 26.63\" fill=\"#649432\"/></g></g></g></svg>";
|
|
6143
6267
|
|
|
6144
|
-
var template$j = "<div data-bge-container=\"
|
|
6268
|
+
var template$j = "<div data-bge-container=\"grid:1\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6145
6269
|
|
|
6146
6270
|
const blockTemplate$j = {
|
|
6147
|
-
name: "
|
|
6271
|
+
name: "image",
|
|
6148
6272
|
template: importItems(template$j),
|
|
6149
6273
|
icon: icon$j
|
|
6150
6274
|
};
|
|
6151
6275
|
|
|
6152
|
-
var icon$i = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><clipPath id=\"
|
|
6276
|
+
var icon$i = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><linearGradient id=\"a13e475c-bab2-4f76-88ce-779673ae02cb\" y1=\"18.75\" x2=\"50.59\" y2=\"18.75\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#fbe4ac\"/><stop offset=\"1\" stop-color=\"#f9d483\"/></linearGradient><clipPath id=\"ae68d89e-846f-4586-bb2c-b01e64f09622\"><rect id=\"b4f97c07-7867-4d0e-927c-7fc5c2f9dfc0\" data-name=\"SVGID\" width=\"50.59\" height=\"39.31\" fill=\"none\"/></clipPath><clipPath id=\"b3576c64-7056-4a6a-9306-b9fca0303334\"><rect id=\"ae6ce2d9-c572-4395-955f-8cd04a0d7672\" data-name=\"SVGID\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#a13e475c-bab2-4f76-88ce-779673ae02cb)\"/></clipPath><linearGradient id=\"e1d14a62-69c9-42a0-b381-17bf4a4c7e9a\" x1=\"188.86\" y1=\"1.92\" x2=\"189.86\" y2=\"1.92\" gradientTransform=\"matrix(0, -72.25, -72.25, 0, 163.95, 13686.67)\" xlink:href=\"#a13e475c-bab2-4f76-88ce-779673ae02cb\"/></defs><title>image-text2</title><g id=\"a4c5e2eb-5b65-4b99-ba08-1cf0109790e7\" data-name=\"レイヤー 2\"><g id=\"a3092b36-f761-4337-9a42-4ee4608e9277\" data-name=\"レイヤー1\"><g clip-path=\"url(#ae68d89e-846f-4586-bb2c-b01e64f09622)\"><rect y=\"1.81\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#f8d077\"/></g><rect id=\"f3d9adbe-e73a-44f5-8cab-0287ece41518\" data-name=\"SVGID\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#a13e475c-bab2-4f76-88ce-779673ae02cb)\"/><g clip-path=\"url(#b3576c64-7056-4a6a-9306-b9fca0303334)\"><rect width=\"50.59\" height=\"37.5\" fill=\"url(#e1d14a62-69c9-42a0-b381-17bf4a4c7e9a)\"/></g><rect x=\"8.96\" y=\"8.39\" width=\"14.69\" height=\"9.4\" fill=\"#f49e16\"/><polygon points=\"23.65 17.79 8.96 17.79 23.65 8.39 23.65 17.79\" fill=\"#ef7c1b\"/><rect x=\"28.14\" y=\"8.39\" width=\"14.69\" height=\"9.4\" fill=\"#f49e16\"/><polygon points=\"42.83 17.79 28.14 17.79 42.83 8.39 42.83 17.79\" fill=\"#ef7c1b\"/><line x1=\"9.07\" y1=\"22.64\" x2=\"23.22\" y2=\"22.64\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"28.41\" y1=\"22.64\" x2=\"42.56\" y2=\"22.64\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"9.07\" y1=\"26.47\" x2=\"23.22\" y2=\"26.47\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"28.41\" y1=\"26.47\" x2=\"42.56\" y2=\"26.47\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"9.07\" y1=\"30.47\" x2=\"23.22\" y2=\"30.47\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"28.41\" y1=\"30.47\" x2=\"42.56\" y2=\"30.47\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/></g></g></svg>";
|
|
6153
6277
|
|
|
6154
|
-
var template$i = "<div data-bge-container=\"grid:
|
|
6278
|
+
var template$i = "<div data-bge-container=\"grid:2\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6155
6279
|
|
|
6156
6280
|
const blockTemplate$i = {
|
|
6157
|
-
name: "image",
|
|
6281
|
+
name: "image-text2",
|
|
6158
6282
|
template: importItems(template$i),
|
|
6159
6283
|
icon: icon$i
|
|
6160
6284
|
};
|
|
6161
6285
|
|
|
6162
|
-
var icon$h = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><linearGradient id=\"
|
|
6286
|
+
var icon$h = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><linearGradient id=\"b3d7635b-336a-46da-aed2-cf9612dae13e\" y1=\"18.75\" x2=\"50.59\" y2=\"18.75\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#fbe4ac\"/><stop offset=\"1\" stop-color=\"#f9d483\"/></linearGradient><clipPath id=\"ed9488c5-3778-466e-9222-8a593da8c740\"><rect id=\"aef6018d-3879-474f-b2f3-28e49b30ba73\" data-name=\"SVGID\" width=\"50.59\" height=\"39.31\" fill=\"none\"/></clipPath><clipPath id=\"be67245b-d108-4df5-a335-be094bd98e34\"><rect id=\"b1946370-457a-47bc-9b88-3f18731c439d\" data-name=\"SVGID\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#b3d7635b-336a-46da-aed2-cf9612dae13e)\"/></clipPath><linearGradient id=\"e21256c9-1365-4a22-a5f8-0d944cde7ce0\" x1=\"124.56\" y1=\"1.86\" x2=\"125.56\" y2=\"1.86\" gradientTransform=\"matrix(0, -72.25, -72.25, 0, 159.95, 9041.72)\" xlink:href=\"#b3d7635b-336a-46da-aed2-cf9612dae13e\"/></defs><title>image-text3</title><g id=\"b571a902-29a7-4485-a7cf-39843b7c6314\" data-name=\"レイヤー 2\"><g id=\"bff51ce8-e1e6-4f3d-b598-f290df113ca3\" data-name=\"レイヤー1\"><g clip-path=\"url(#ed9488c5-3778-466e-9222-8a593da8c740)\"><rect y=\"1.81\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#f8d077\"/></g><rect id=\"f82b2be3-6cd6-460a-a1c3-8828e4d4e846\" data-name=\"SVGID\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#b3d7635b-336a-46da-aed2-cf9612dae13e)\"/><g clip-path=\"url(#be67245b-d108-4df5-a335-be094bd98e34)\"><rect width=\"50.59\" height=\"37.5\" fill=\"url(#e21256c9-1365-4a22-a5f8-0d944cde7ce0)\"/></g><rect x=\"5.42\" y=\"8.61\" width=\"10.81\" height=\"9.41\" fill=\"#f49e16\"/><polygon points=\"16.24 18.02 5.42 18.02 16.24 8.61 16.24 18.02\" fill=\"#ef7c1b\"/><line x1=\"5.5\" y1=\"22.86\" x2=\"15.92\" y2=\"22.86\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"5.5\" y1=\"26.7\" x2=\"15.92\" y2=\"26.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"5.5\" y1=\"30.7\" x2=\"15.92\" y2=\"30.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><rect x=\"19.89\" y=\"8.5\" width=\"10.81\" height=\"9.4\" fill=\"#f49e16\"/><polygon points=\"30.71 17.91 19.89 17.91 30.71 8.5 30.71 17.91\" fill=\"#ef7c1b\"/><line x1=\"19.97\" y1=\"22.75\" x2=\"30.39\" y2=\"22.75\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"19.97\" y1=\"26.59\" x2=\"30.39\" y2=\"26.59\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"19.97\" y1=\"30.59\" x2=\"30.39\" y2=\"30.59\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><rect x=\"34.36\" y=\"8.72\" width=\"10.81\" height=\"9.4\" fill=\"#f49e16\"/><polygon points=\"45.17 18.13 34.36 18.13 45.17 8.72 45.17 18.13\" fill=\"#ef7c1b\"/><line x1=\"34.44\" y1=\"22.97\" x2=\"44.86\" y2=\"22.97\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"34.44\" y1=\"26.81\" x2=\"44.86\" y2=\"26.81\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"34.44\" y1=\"30.81\" x2=\"44.86\" y2=\"30.81\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/></g></g></svg>";
|
|
6163
6287
|
|
|
6164
|
-
var template$h = "<div data-bge-container=\"grid:
|
|
6288
|
+
var template$h = "<div data-bge-container=\"grid:3\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6165
6289
|
|
|
6166
6290
|
const blockTemplate$h = {
|
|
6167
|
-
name: "image-
|
|
6291
|
+
name: "image-text3",
|
|
6168
6292
|
template: importItems(template$h),
|
|
6169
6293
|
icon: icon$h
|
|
6170
6294
|
};
|
|
6171
6295
|
|
|
6172
|
-
var icon$g = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><linearGradient id=\"
|
|
6296
|
+
var icon$g = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><linearGradient id=\"b4cf61b9-f2cd-49ce-a867-5f8d369c1156\" y1=\"18.75\" x2=\"50.59\" y2=\"18.75\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#fbe4ac\"/><stop offset=\"1\" stop-color=\"#f9d483\"/></linearGradient><clipPath id=\"a32f8230-a8ad-4b84-be59-3e2bc4f2cb02\"><rect width=\"50.59\" height=\"39.31\" fill=\"none\"/></clipPath><clipPath id=\"efbf5247-4c31-4a7f-bccd-4a4094ee5901\"><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#b4cf61b9-f2cd-49ce-a867-5f8d369c1156)\"/></clipPath><linearGradient id=\"b94b4e58-4701-4c56-9961-301112aafc1a\" x1=\"57.58\" y1=\"1.46\" x2=\"58.58\" y2=\"1.46\" gradientTransform=\"matrix(0, -72.25, -72.25, 0, 130.91, 4202.32)\" xlink:href=\"#b4cf61b9-f2cd-49ce-a867-5f8d369c1156\"/></defs><title>image-text4</title><g id=\"aad57eb1-9fca-41d0-b938-9d26383317c5\" data-name=\"レイヤー 2\"><g id=\"ef573272-e2dd-4fdb-9979-76c56500efb6\" data-name=\"レイヤー1\"><g clip-path=\"url(#a32f8230-a8ad-4b84-be59-3e2bc4f2cb02)\"><rect y=\"1.81\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#f8d077\"/></g><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#b4cf61b9-f2cd-49ce-a867-5f8d369c1156)\"/><g clip-path=\"url(#efbf5247-4c31-4a7f-bccd-4a4094ee5901)\"><rect width=\"50.59\" height=\"37.5\" fill=\"url(#b94b4e58-4701-4c56-9961-301112aafc1a)\"/></g><rect x=\"5.42\" y=\"8.61\" width=\"7.87\" height=\"9.41\" fill=\"#f49e16\"/><polygon points=\"13.29 18.02 5.42 18.02 13.29 8.61 13.29 18.02\" fill=\"#ef7c1b\"/><line x1=\"5.48\" y1=\"22.86\" x2=\"13.06\" y2=\"22.86\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"5.48\" y1=\"26.7\" x2=\"13.06\" y2=\"26.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"5.48\" y1=\"30.7\" x2=\"13.06\" y2=\"30.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><rect x=\"15.94\" y=\"8.61\" width=\"7.87\" height=\"9.4\" fill=\"#f49e16\"/><polygon points=\"23.82 18.02 15.94 18.02 23.82 8.61 23.82 18.02\" fill=\"#ef7c1b\"/><line x1=\"16\" y1=\"22.86\" x2=\"23.59\" y2=\"22.86\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"16\" y1=\"26.7\" x2=\"23.59\" y2=\"26.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"16\" y1=\"30.7\" x2=\"23.59\" y2=\"30.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><rect x=\"26.47\" y=\"8.61\" width=\"7.87\" height=\"9.4\" fill=\"#f49e16\"/><polygon points=\"34.34 18.02 26.46 18.02 34.34 8.61 34.34 18.02\" fill=\"#ef7c1b\"/><line x1=\"26.53\" y1=\"22.86\" x2=\"34.11\" y2=\"22.86\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"26.53\" y1=\"26.7\" x2=\"34.11\" y2=\"26.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"26.53\" y1=\"30.7\" x2=\"34.11\" y2=\"30.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><rect x=\"36.99\" y=\"8.61\" width=\"7.87\" height=\"9.4\" fill=\"#f49e16\"/><polygon points=\"44.86 18.02 36.99 18.02 44.86 8.61 44.86 18.02\" fill=\"#ef7c1b\"/><line x1=\"37.05\" y1=\"22.86\" x2=\"44.63\" y2=\"22.86\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"37.05\" y1=\"26.7\" x2=\"44.63\" y2=\"26.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"37.05\" y1=\"30.7\" x2=\"44.63\" y2=\"30.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/></g></g></svg>";
|
|
6173
6297
|
|
|
6174
|
-
var template$g = "<div data-bge-container=\"grid:
|
|
6298
|
+
var template$g = "<div data-bge-container=\"grid:4\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6175
6299
|
|
|
6176
6300
|
const blockTemplate$g = {
|
|
6177
|
-
name: "image-
|
|
6301
|
+
name: "image-text4",
|
|
6178
6302
|
template: importItems(template$g),
|
|
6179
6303
|
icon: icon$g
|
|
6180
6304
|
};
|
|
6181
6305
|
|
|
6182
|
-
var icon$f = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><linearGradient id=\"
|
|
6306
|
+
var icon$f = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><linearGradient id=\"afc1c886-e435-484e-aba3-c8984819c5fa\" y1=\"18.75\" x2=\"50.59\" y2=\"18.75\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#fbe4ac\"/><stop offset=\"1\" stop-color=\"#f9d483\"/></linearGradient><clipPath id=\"b7083a6f-9b2e-4d64-9eba-c12cea48c5a1\"><rect width=\"50.59\" height=\"39.31\" fill=\"none\"/></clipPath><clipPath id=\"b32d3dc8-1680-4a0a-bd22-e5d5a9eae871\"><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#afc1c886-e435-484e-aba3-c8984819c5fa)\"/></clipPath><linearGradient id=\"bc4b7dcc-075a-4cd0-9a0c-f0d98d36f0bf\" x1=\"-7.53\" y1=\"-2.41\" x2=\"-6.53\" y2=\"-2.41\" gradientTransform=\"matrix(0, -72.25, -72.25, 0, -148.74, -502.04)\" xlink:href=\"#afc1c886-e435-484e-aba3-c8984819c5fa\"/></defs><title>image-text5</title><g id=\"bbc914e4-9736-4823-acad-792b68f7a4dd\" data-name=\"レイヤー 2\"><g id=\"aba4fae2-89b5-4f3d-82b8-4d0808f83c77\" data-name=\"レイヤー1\"><g clip-path=\"url(#b7083a6f-9b2e-4d64-9eba-c12cea48c5a1)\"><rect y=\"1.81\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#f8d077\"/></g><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#afc1c886-e435-484e-aba3-c8984819c5fa)\"/><g clip-path=\"url(#b32d3dc8-1680-4a0a-bd22-e5d5a9eae871)\"><rect width=\"50.59\" height=\"37.5\" fill=\"url(#bc4b7dcc-075a-4cd0-9a0c-f0d98d36f0bf)\"/></g><rect x=\"3.42\" y=\"8.61\" width=\"6.85\" height=\"9.41\" fill=\"#f49e16\"/><polygon points=\"10.27 18.02 3.42 18.02 10.27 8.61 10.27 18.02\" fill=\"#ef7c1b\"/><line x1=\"3.47\" y1=\"22.86\" x2=\"10.07\" y2=\"22.86\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"3.47\" y1=\"26.7\" x2=\"10.07\" y2=\"26.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"3.47\" y1=\"30.7\" x2=\"10.07\" y2=\"30.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><rect x=\"12.58\" y=\"8.61\" width=\"6.85\" height=\"9.4\" fill=\"#f49e16\"/><polygon points=\"19.43 18.02 12.58 18.02 19.43 8.61 19.43 18.02\" fill=\"#ef7c1b\"/><line x1=\"12.63\" y1=\"22.86\" x2=\"19.23\" y2=\"22.86\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"12.63\" y1=\"26.7\" x2=\"19.23\" y2=\"26.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"12.63\" y1=\"30.7\" x2=\"19.23\" y2=\"30.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><rect x=\"21.73\" y=\"8.61\" width=\"6.85\" height=\"9.4\" fill=\"#f49e16\"/><polygon points=\"28.58 18.02 21.73 18.02 28.58 8.61 28.58 18.02\" fill=\"#ef7c1b\"/><line x1=\"21.78\" y1=\"22.86\" x2=\"28.38\" y2=\"22.86\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"21.78\" y1=\"26.7\" x2=\"28.38\" y2=\"26.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"21.78\" y1=\"30.7\" x2=\"28.38\" y2=\"30.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><rect x=\"30.88\" y=\"8.61\" width=\"6.85\" height=\"9.4\" fill=\"#f49e16\"/><polygon points=\"37.73 18.02 30.88 18.02 37.73 8.61 37.73 18.02\" fill=\"#ef7c1b\"/><line x1=\"30.94\" y1=\"22.86\" x2=\"37.53\" y2=\"22.86\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"30.94\" y1=\"26.7\" x2=\"37.53\" y2=\"26.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"30.94\" y1=\"30.7\" x2=\"37.53\" y2=\"30.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><rect x=\"40.13\" y=\"8.61\" width=\"6.85\" height=\"9.4\" fill=\"#f49e16\"/><polygon points=\"46.98 18.02 40.13 18.02 46.98 8.61 46.98 18.02\" fill=\"#ef7c1b\"/><line x1=\"40.18\" y1=\"22.86\" x2=\"46.78\" y2=\"22.86\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"40.18\" y1=\"26.7\" x2=\"46.78\" y2=\"26.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"40.18\" y1=\"30.7\" x2=\"46.78\" y2=\"30.7\" fill=\"none\" stroke=\"#f5b618\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/></g></g></svg>";
|
|
6183
6307
|
|
|
6184
|
-
var template$f = "<div data-bge-container=\"grid:
|
|
6308
|
+
var template$f = "<div data-bge-container=\"grid:5\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6185
6309
|
|
|
6186
6310
|
const blockTemplate$f = {
|
|
6187
|
-
name: "image-
|
|
6311
|
+
name: "image-text5",
|
|
6188
6312
|
template: importItems(template$f),
|
|
6189
6313
|
icon: icon$f
|
|
6190
6314
|
};
|
|
6191
6315
|
|
|
6192
|
-
var icon$e = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><linearGradient id=\"
|
|
6316
|
+
var icon$e = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><linearGradient id=\"a69bbfa8-6885-43d5-b254-8182049f4589\" x1=\"25.3\" y1=\"41.9\" x2=\"25.3\" y2=\"-30.35\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#d9e7a4\"/><stop offset=\"1\" stop-color=\"#b2d57b\"/></linearGradient></defs><title>image2</title><g id=\"b2700d76-3f17-4a5c-9bc0-079d3534dc2d\" data-name=\"レイヤー 2\"><g id=\"a90bf1f4-9d1d-425f-a456-c6304835570e\" data-name=\"レイヤー1\"><rect y=\"1.81\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#b7c678\"/><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#a69bbfa8-6885-43d5-b254-8182049f4589)\"/><rect x=\"8.96\" y=\"12.22\" width=\"14.69\" height=\"14.41\" fill=\"#7aaf39\"/><polygon points=\"23.65 26.63 8.96 26.63 23.65 12.22 23.65 26.63\" fill=\"#649432\"/><rect x=\"28.14\" y=\"12.22\" width=\"14.69\" height=\"14.41\" fill=\"#7aaf39\"/><polygon points=\"42.83 26.63 28.14 26.63 42.83 12.22 42.83 26.63\" fill=\"#649432\"/></g></g></svg>";
|
|
6193
6317
|
|
|
6194
|
-
var template$e = "<div data-bge-container=\"grid:
|
|
6318
|
+
var template$e = "<div data-bge-container=\"grid:2\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6195
6319
|
|
|
6196
6320
|
const blockTemplate$e = {
|
|
6197
|
-
name: "
|
|
6321
|
+
name: "image2",
|
|
6198
6322
|
template: importItems(template$e),
|
|
6199
6323
|
icon: icon$e
|
|
6200
6324
|
};
|
|
6201
6325
|
|
|
6202
|
-
var icon$d = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><linearGradient id=\"
|
|
6326
|
+
var icon$d = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><linearGradient id=\"e81c0481-c03c-4657-928e-93d05f9c6178\" x1=\"25.3\" y1=\"41.9\" x2=\"25.3\" y2=\"-30.35\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#d9e7a4\"/><stop offset=\"1\" stop-color=\"#b2d57b\"/></linearGradient></defs><title>image3</title><g id=\"b24ba5fb-a0d2-45a7-838d-0c7065e8d8a5\" data-name=\"レイヤー 2\"><g id=\"b516c388-dc5d-4637-9a04-3a48fd227d5f\" data-name=\"レイヤー1\"><rect y=\"1.81\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#b7c678\"/><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#e81c0481-c03c-4657-928e-93d05f9c6178)\"/><rect x=\"5.58\" y=\"12.22\" width=\"11.08\" height=\"14.41\" fill=\"#7aaf39\"/><rect x=\"19.74\" y=\"12.22\" width=\"11.08\" height=\"14.41\" fill=\"#7aaf39\"/><rect x=\"33.91\" y=\"12.22\" width=\"11.08\" height=\"14.41\" fill=\"#7aaf39\"/><polygon points=\"16.65 26.63 5.58 26.63 16.65 12.22 16.65 26.63\" fill=\"#649432\"/><polygon points=\"30.82 26.63 19.74 26.63 30.82 12.22 30.82 26.63\" fill=\"#649432\"/><polygon points=\"44.98 26.63 33.91 26.63 44.98 12.22 44.98 26.63\" fill=\"#649432\"/></g></g></svg>";
|
|
6203
6327
|
|
|
6204
|
-
var template$d = "<div data-bge-container=\"grid:
|
|
6328
|
+
var template$d = "<div data-bge-container=\"grid:3\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6205
6329
|
|
|
6206
6330
|
const blockTemplate$d = {
|
|
6207
|
-
name: "
|
|
6331
|
+
name: "image3",
|
|
6208
6332
|
template: importItems(template$d),
|
|
6209
6333
|
icon: icon$d
|
|
6210
6334
|
};
|
|
6211
6335
|
|
|
6212
|
-
var icon$c = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><linearGradient id=\"
|
|
6336
|
+
var icon$c = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><linearGradient id=\"a9e1e99a-d48b-467c-84e1-bdced3515439\" x1=\"25.3\" y1=\"41.9\" x2=\"25.3\" y2=\"-30.35\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#d9e7a4\"/><stop offset=\"1\" stop-color=\"#b2d57b\"/></linearGradient></defs><title>image4</title><g id=\"f0cc911f-7c12-4b14-8f46-1addd9966920\" data-name=\"レイヤー 2\"><g id=\"a6ffb343-0125-41bc-9552-4ed6f8831b95\" data-name=\"レイヤー1\"><rect y=\"1.81\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#b7c678\"/><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#a9e1e99a-d48b-467c-84e1-bdced3515439)\"/><rect x=\"4.65\" y=\"12.22\" width=\"8.53\" height=\"14.41\" fill=\"#7aaf39\"/><rect x=\"15.57\" y=\"12.22\" width=\"8.53\" height=\"14.41\" fill=\"#7aaf39\"/><rect x=\"26.49\" y=\"12.22\" width=\"8.53\" height=\"14.41\" fill=\"#7aaf39\"/><rect x=\"37.41\" y=\"12.22\" width=\"8.53\" height=\"14.41\" fill=\"#7aaf39\"/><polygon points=\"13.18 26.63 4.65 26.63 13.18 12.22 13.18 26.63\" fill=\"#649432\"/><polygon points=\"24.11 26.63 15.57 26.63 24.11 12.22 24.11 26.63\" fill=\"#649432\"/><polygon points=\"35.02 26.63 26.49 26.63 35.02 12.22 35.02 26.63\" fill=\"#649432\"/><polygon points=\"45.95 26.63 37.41 26.63 45.95 12.22 45.95 26.63\" fill=\"#649432\"/></g></g></svg>";
|
|
6213
6337
|
|
|
6214
|
-
var template$c = "<div data-bge-container=\"grid:
|
|
6338
|
+
var template$c = "<div data-bge-container=\"grid:4\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6215
6339
|
|
|
6216
6340
|
const blockTemplate$c = {
|
|
6217
|
-
name: "
|
|
6341
|
+
name: "image4",
|
|
6218
6342
|
template: importItems(template$c),
|
|
6219
6343
|
icon: icon$c
|
|
6220
6344
|
};
|
|
6221
6345
|
|
|
6222
|
-
var icon$b = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><linearGradient id=\"
|
|
6346
|
+
var icon$b = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.87mm\" viewBox=\"0 0 50.59 39.31\"><defs><linearGradient id=\"b1320079-38fa-401d-9ebf-291981369357\" x1=\"25.3\" y1=\"41.9\" x2=\"25.3\" y2=\"-30.35\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#d9e7a4\"/><stop offset=\"1\" stop-color=\"#b2d57b\"/></linearGradient></defs><title>image5</title><g id=\"be550575-836a-48c2-8654-7b0a40cc90e3\" data-name=\"レイヤー 2\"><g id=\"aa8efe02-0ecd-40bd-8511-c2d557404a19\" data-name=\"レイヤー1\"><rect y=\"1.81\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#b7c678\"/><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#b1320079-38fa-401d-9ebf-291981369357)\"/><rect x=\"4.83\" y=\"12.22\" width=\"6.74\" height=\"14.41\" fill=\"#7aaf39\"/><rect x=\"13.46\" y=\"12.22\" width=\"6.74\" height=\"14.41\" fill=\"#7aaf39\"/><rect x=\"22.09\" y=\"12.22\" width=\"6.74\" height=\"14.41\" fill=\"#7aaf39\"/><rect x=\"30.72\" y=\"12.22\" width=\"6.74\" height=\"14.41\" fill=\"#7aaf39\"/><rect x=\"39.35\" y=\"12.22\" width=\"6.74\" height=\"14.41\" fill=\"#7aaf39\"/><polygon points=\"11.57 26.63 4.83 26.63 11.57 12.22 11.57 26.63\" fill=\"#649432\"/><polygon points=\"20.2 26.63 13.46 26.63 20.2 12.22 20.2 26.63\" fill=\"#649432\"/><polygon points=\"28.83 26.63 22.09 26.63 28.83 12.22 28.83 26.63\" fill=\"#649432\"/><polygon points=\"37.46 26.63 30.72 26.63 37.46 12.22 37.46 26.63\" fill=\"#649432\"/><polygon points=\"46.09 26.63 39.35 26.63 46.09 12.22 46.09 26.63\" fill=\"#649432\"/></g></g></svg>";
|
|
6223
6347
|
|
|
6224
|
-
var template$b = "<div data-bge-container=\"grid:
|
|
6348
|
+
var template$b = "<div data-bge-container=\"grid:5\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6225
6349
|
|
|
6226
6350
|
const blockTemplate$b = {
|
|
6227
|
-
name: "
|
|
6351
|
+
name: "image5",
|
|
6228
6352
|
template: importItems(template$b),
|
|
6229
6353
|
icon: icon$b
|
|
6230
6354
|
};
|
|
6231
6355
|
|
|
6232
|
-
var icon$a = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.
|
|
6356
|
+
var icon$a = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.74mm\" viewBox=\"0 0 50.59 38.94\"><defs><linearGradient id=\"ebf11aa8-86c1-4c54-926e-095803e8493b\" x1=\"25.3\" y1=\"-7.96\" x2=\"25.3\" y2=\"34.98\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#89c5bf\"/><stop offset=\"1\" stop-color=\"#b0dcd3\"/></linearGradient></defs><title>table</title><g id=\"b80a490e-553f-4b14-8300-dcd8743b04ae\" data-name=\"レイヤー 2\"><g id=\"f3eda1bd-bdd6-40ff-9bb3-d857f548204a\" data-name=\"レイヤー1\"><rect y=\"1.44\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#57b4aa\"/><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#ebf11aa8-86c1-4c54-926e-095803e8493b)\"/><rect x=\"8.22\" y=\"9.17\" width=\"34.15\" height=\"20.75\" fill=\"#fff\"/><rect x=\"8.22\" y=\"9.17\" width=\"11.75\" height=\"20.75\" fill=\"#3ea6ae\"/><line x1=\"8.22\" y1=\"14.35\" x2=\"42.37\" y2=\"14.35\" fill=\"none\" stroke=\"#a0d6d1\" stroke-miterlimit=\"10\"/><line x1=\"8.22\" y1=\"19.54\" x2=\"42.37\" y2=\"19.54\" fill=\"none\" stroke=\"#a0d6d1\" stroke-miterlimit=\"10\"/><line x1=\"8.22\" y1=\"24.73\" x2=\"42.37\" y2=\"24.73\" fill=\"none\" stroke=\"#a0d6d1\" stroke-miterlimit=\"10\"/><line x1=\"19.97\" y1=\"29.92\" x2=\"19.97\" y2=\"9.17\" fill=\"none\" stroke=\"#a0d6d1\" stroke-miterlimit=\"10\"/></g></g></svg>";
|
|
6233
6357
|
|
|
6234
|
-
var template$a = "<div data-bge-container=\"
|
|
6358
|
+
var template$a = "<div data-bge-container=\"inline:immutable\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-item><!-- table --></div>\n\t</div>\n</div>\n";
|
|
6235
6359
|
|
|
6236
6360
|
const blockTemplate$a = {
|
|
6237
|
-
name: "
|
|
6361
|
+
name: "table",
|
|
6238
6362
|
template: importItems(template$a),
|
|
6239
6363
|
icon: icon$a
|
|
6240
6364
|
};
|
|
6241
6365
|
|
|
6242
|
-
var icon$9 = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.
|
|
6366
|
+
var icon$9 = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.84mm\" viewBox=\"0 0 50.59 39.23\"><defs><linearGradient id=\"a4929d81-4de7-4c43-9112-5279609b7798\" x1=\"25.3\" y1=\"44.66\" x2=\"25.3\" y2=\"-18.72\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#fbe4ac\"/><stop offset=\"1\" stop-color=\"#f9d483\"/></linearGradient></defs><title>text-float-image1</title><g id=\"f8cab05c-73ac-401a-a7b1-10cb7e7f06cd\" data-name=\"レイヤー 2\"><g id=\"bd3535a6-496b-4816-ab8e-a5c92425a4f1\" data-name=\"レイヤー1\"><rect y=\"1.73\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#f8d077\"/><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#a4929d81-4de7-4c43-9112-5279609b7798)\"/><line x1=\"11.15\" y1=\"11.74\" x2=\"25.3\" y2=\"11.74\" fill=\"none\" stroke=\"#f5b717\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"11.15\" y1=\"17.54\" x2=\"25.3\" y2=\"17.54\" fill=\"none\" stroke=\"#f5b717\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"11.15\" y1=\"23.35\" x2=\"39.45\" y2=\"23.35\" fill=\"none\" stroke=\"#f5b717\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"11.15\" y1=\"29.15\" x2=\"39.45\" y2=\"29.15\" fill=\"none\" stroke=\"#f5b717\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><rect x=\"27.9\" y=\"9.83\" width=\"11.54\" height=\"10.62\" fill=\"#f49e16\"/><polygon points=\"39.45 20.44 27.9 20.44 39.45 9.83 39.45 20.44\" fill=\"#ef7c1b\"/></g></g></svg>";
|
|
6243
6367
|
|
|
6244
|
-
var template$9 = "<div data-bge-container=\"
|
|
6368
|
+
var template$9 = "<div data-bge-container=\"float:end\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-item><!-- image{\"scale\":50,\"cssWidth\":\"50cqi\",\"style\":\"--css-width:50cqi;--object-fit:cover;--aspect-ratio:unset\"} --></div>\n\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t</div>\n</div>\n";
|
|
6245
6369
|
|
|
6246
6370
|
const blockTemplate$9 = {
|
|
6247
|
-
name: "
|
|
6371
|
+
name: "text-float-image1",
|
|
6248
6372
|
template: importItems(template$9),
|
|
6249
6373
|
icon: icon$9
|
|
6250
6374
|
};
|
|
6251
6375
|
|
|
6252
|
-
var icon$8 = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.84mm\" viewBox=\"0 0 50.59 39.23\"><defs><linearGradient id=\"
|
|
6376
|
+
var icon$8 = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"17.85mm\" height=\"13.84mm\" viewBox=\"0 0 50.59 39.23\"><defs><linearGradient id=\"ad7eb2fb-5ad3-4dc1-93fa-411c599f5c4f\" x1=\"25.3\" y1=\"44.66\" x2=\"25.3\" y2=\"-18.72\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#fbe4ac\"/><stop offset=\"1\" stop-color=\"#f9d483\"/></linearGradient></defs><title>text-float-image2</title><g id=\"ab38a4ed-822b-49e7-8a98-f022a4ee3c0b\" data-name=\"レイヤー 2\"><g id=\"e7413325-16e9-46a8-88b2-da176c4bb9e9\" data-name=\"レイヤー1\"><rect y=\"1.73\" width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"#f8d077\"/><rect width=\"50.59\" height=\"37.5\" rx=\"5.06\" fill=\"url(#ad7eb2fb-5ad3-4dc1-93fa-411c599f5c4f)\"/><line x1=\"39.45\" y1=\"11.74\" x2=\"25.3\" y2=\"11.74\" fill=\"none\" stroke=\"#f5b717\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"39.45\" y1=\"17.54\" x2=\"25.3\" y2=\"17.54\" fill=\"none\" stroke=\"#f5b717\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"39.45\" y1=\"23.35\" x2=\"11.15\" y2=\"23.35\" fill=\"none\" stroke=\"#f5b717\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"39.45\" y1=\"29.15\" x2=\"11.15\" y2=\"29.15\" fill=\"none\" stroke=\"#f5b717\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><rect x=\"11.15\" y=\"9.83\" width=\"11.54\" height=\"10.62\" fill=\"#f49e16\"/><polygon points=\"22.69 20.44 11.15 20.44 22.69 9.83 22.69 20.44\" fill=\"#ef7c1b\"/></g></g></svg>";
|
|
6253
6377
|
|
|
6254
|
-
var template$8 = "<div data-bge-container=\"float:
|
|
6378
|
+
var template$8 = "<div data-bge-container=\"float:start\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-item><!-- image{\"scale\":50,\"cssWidth\":\"50cqi\",\"style\":\"--css-width:50cqi;--object-fit:cover;--aspect-ratio:unset\"} --></div>\n\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t</div>\n</div>\n";
|
|
6255
6379
|
|
|
6256
6380
|
const blockTemplate$8 = {
|
|
6257
|
-
name: "text-float-
|
|
6381
|
+
name: "text-float-image2",
|
|
6258
6382
|
template: importItems(template$8),
|
|
6259
6383
|
icon: icon$8
|
|
6260
6384
|
};
|
|
6261
6385
|
|
|
6262
|
-
var icon$7 = "<svg
|
|
6386
|
+
var icon$7 = "<svg clip-rule=\"evenodd\" fill-rule=\"evenodd\" height=\"13.84mm\" stroke-linecap=\"round\" stroke-linejoin=\"round\" viewBox=\"0 0 50.59 39.23\" width=\"17.85mm\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m50.598 6.871c0-2.793-2.267-5.061-5.06-5.061h-40.477c-2.793 0-5.061 2.268-5.061 5.061v27.385c0 2.793 2.268 5.061 5.061 5.061h40.477c2.793 0 5.06-2.268 5.06-5.061z\" fill=\"#77b7f8\"/><path d=\"m50.598 5.061c0-2.793-2.267-5.061-5.06-5.061h-40.477c-2.793 0-5.061 2.268-5.061 5.061v27.384c0 2.794 2.268 5.061 5.061 5.061h40.477c2.793 0 5.06-2.267 5.06-5.061z\" fill=\"#acd6fb\"/><path d=\"m5.421 12.611h10.812v9.412h-10.812z\" fill=\"#62a9d2\"/><path d=\"m16.243 18.023h-10.822l10.822-9.412z\" fill=\"#1874b1\" fill-rule=\"nonzero\" transform=\"translate(0 4)\"/><g fill=\"none\" stroke-width=\"2\"><path d=\"m5.501 22.864h10.422\" stroke=\"#1e54af\" transform=\"translate(0 -15)\"/><path d=\"m5.501 26.704h10.422\" stroke=\"#639bc7\"/><path d=\"m5.501 30.705h10.422\" stroke=\"#639bc7\"/></g><path d=\"m19.893 12.501h10.812v9.402h-10.812z\" fill=\"#62a9d2\"/><path d=\"m30.715 17.913h-10.822l10.822-9.412z\" fill=\"#1874b1\" fill-rule=\"nonzero\" transform=\"translate(0 4)\"/><path d=\"m19.973 22.754h10.422\" fill=\"none\" stroke=\"#1e54af\" stroke-width=\"2\" transform=\"translate(0 -15)\"/><path d=\"m19.973 26.594h10.422\" fill=\"none\" stroke=\"#639bc7\" stroke-width=\"2\"/><path d=\"m19.973 30.595h10.422\" fill=\"none\" stroke=\"#639bc7\" stroke-width=\"2\"/><path d=\"m34.366 12.721h10.812v9.402h-10.812z\" fill=\"#62a9d2\"/><path d=\"m45.178 18.133h-10.812l10.812-9.412z\" fill=\"#1874b1\" fill-rule=\"nonzero\" transform=\"translate(0 4)\"/><path d=\"m34.446 22.974h10.421\" fill=\"none\" stroke=\"#1e54af\" stroke-width=\"2\" transform=\"translate(0 -15)\"/><path d=\"m34.446 26.814h10.421\" fill=\"none\" stroke=\"#639bc7\" stroke-width=\"2\"/><path d=\"m34.446 30.815h10.421\" fill=\"none\" stroke=\"#639bc7\" stroke-width=\"2\"/></svg>";
|
|
6263
6387
|
|
|
6264
|
-
var template$7 = "<div data-bge-container=\"
|
|
6388
|
+
var template$7 = "<div data-bge-container=\"grid:3\">\n\t<div data-bge-container-frame>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t\t<div data-bge-group>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t\t<div data-bge-item><!-- image --></div>\n\t\t\t<div data-bge-item><!-- wysiwyg --></div>\n\t\t</div>\n\t</div>\n</div>\n";
|
|
6265
6389
|
|
|
6266
6390
|
const blockTemplate$7 = {
|
|
6267
|
-
name: "text-
|
|
6391
|
+
name: "text-image-text",
|
|
6268
6392
|
template: importItems(template$7),
|
|
6269
6393
|
icon: icon$7
|
|
6270
6394
|
};
|
|
@@ -6340,26 +6464,28 @@ const blockTemplate = {
|
|
|
6340
6464
|
};
|
|
6341
6465
|
|
|
6342
6466
|
const blocks = {
|
|
6343
|
-
button: blockTemplate$
|
|
6344
|
-
button2: blockTemplate$
|
|
6345
|
-
button3: blockTemplate$
|
|
6346
|
-
"
|
|
6347
|
-
"download-
|
|
6348
|
-
"download-
|
|
6349
|
-
"
|
|
6350
|
-
|
|
6351
|
-
|
|
6352
|
-
|
|
6353
|
-
"image-
|
|
6354
|
-
"image-
|
|
6355
|
-
"image-
|
|
6356
|
-
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
"text-float-
|
|
6467
|
+
button: blockTemplate$t,
|
|
6468
|
+
button2: blockTemplate$s,
|
|
6469
|
+
button3: blockTemplate$r,
|
|
6470
|
+
"content-navigation": blockTemplate$q,
|
|
6471
|
+
"download-file": blockTemplate$o,
|
|
6472
|
+
"download-file2": blockTemplate$n,
|
|
6473
|
+
"download-file3": blockTemplate$m,
|
|
6474
|
+
"google-maps": blockTemplate$l,
|
|
6475
|
+
hr: blockTemplate$k,
|
|
6476
|
+
image: blockTemplate$j,
|
|
6477
|
+
"image-text2": blockTemplate$i,
|
|
6478
|
+
"image-text3": blockTemplate$h,
|
|
6479
|
+
"image-text4": blockTemplate$g,
|
|
6480
|
+
"image-text5": blockTemplate$f,
|
|
6481
|
+
image2: blockTemplate$e,
|
|
6482
|
+
image3: blockTemplate$d,
|
|
6483
|
+
image4: blockTemplate$c,
|
|
6484
|
+
image5: blockTemplate$b,
|
|
6485
|
+
table: blockTemplate$a,
|
|
6486
|
+
"text-float-image1": blockTemplate$9,
|
|
6487
|
+
"text-float-image2": blockTemplate$8,
|
|
6488
|
+
"text-image-text": blockTemplate$7,
|
|
6363
6489
|
"text-image1": blockTemplate$6,
|
|
6364
6490
|
"text-image2": blockTemplate$5,
|
|
6365
6491
|
title: blockTemplate$4,
|
|
@@ -6367,10 +6493,57 @@ const blocks = {
|
|
|
6367
6493
|
wysiwyg: blockTemplate$2,
|
|
6368
6494
|
wysiwyg2: blockTemplate$1,
|
|
6369
6495
|
youtube: blockTemplate,
|
|
6370
|
-
disclosure: blockTemplate$
|
|
6496
|
+
disclosure: blockTemplate$p
|
|
6371
6497
|
};
|
|
6372
6498
|
|
|
6373
|
-
|
|
6499
|
+
const defaultCatalog = {
|
|
6500
|
+
"\u898B\u51FA\u3057 / \u30C6\u30AD\u30B9\u30C8 / \u30C6\u30AD\u30B9\u30C8+\u753B\u50CF": {
|
|
6501
|
+
title: "\u5927\u898B\u51FA\u3057",
|
|
6502
|
+
title2: "\u4E2D\u898B\u51FA\u3057",
|
|
6503
|
+
wysiwyg: "1\u30AB\u30E9\u30E0\u30C6\u30AD\u30B9\u30C8",
|
|
6504
|
+
wysiwyg2: "2\u30AB\u30E9\u30E0\u30C6\u30AD\u30B9\u30C8",
|
|
6505
|
+
"text-float-image1": "\u753B\u50CF\u53F3\u5BC4\u305B: \u30C6\u30AD\u30B9\u30C8\u56DE\u308A\u8FBC\u307F",
|
|
6506
|
+
"text-float-image2": "\u753B\u50CF\u5DE6\u5BC4\u305B: \u30C6\u30AD\u30B9\u30C8\u56DE\u308A\u8FBC\u307F",
|
|
6507
|
+
"text-image1": "\u753B\u50CF\u53F3\u5BC4\u305B: \u30C6\u30AD\u30B9\u30C8\u56DE\u308A\u8FBC\u307F\u7121\u3057",
|
|
6508
|
+
"text-image2": "\u753B\u50CF\u5DE6\u5BC4\u305B: \u30C6\u30AD\u30B9\u30C8\u56DE\u308A\u8FBC\u307F\u7121\u3057"
|
|
6509
|
+
},
|
|
6510
|
+
\u753B\u50CF: {
|
|
6511
|
+
image: "\u753B\u50CF1\u5217",
|
|
6512
|
+
image2: "\u753B\u50CF2\u5217",
|
|
6513
|
+
image3: "\u753B\u50CF3\u5217",
|
|
6514
|
+
image4: "\u753B\u50CF4\u5217",
|
|
6515
|
+
image5: "\u753B\u50CF5\u5217"
|
|
6516
|
+
},
|
|
6517
|
+
"\u753B\u50CF+\u30C6\u30AD\u30B9\u30C8": {
|
|
6518
|
+
"image-text2": "\u753B\u50CF2\u5217: \u30C6\u30AD\u30B9\u30C8\u4ED8",
|
|
6519
|
+
"image-text3": "\u753B\u50CF3\u5217: \u30C6\u30AD\u30B9\u30C8\u4ED8",
|
|
6520
|
+
"image-text4": "\u753B\u50CF4\u5217: \u30C6\u30AD\u30B9\u30C8\u4ED8",
|
|
6521
|
+
"image-text5": "\u753B\u50CF5\u5217: \u30C6\u30AD\u30B9\u30C8\u4ED8"
|
|
6522
|
+
},
|
|
6523
|
+
\u30AB\u30FC\u30C9: {
|
|
6524
|
+
"text-image-text": "\u30C6\u30AD\u30B9\u30C8+\u753B\u50CF+\u30C6\u30AD\u30B9\u30C8"
|
|
6525
|
+
},
|
|
6526
|
+
\u30DC\u30BF\u30F3: {
|
|
6527
|
+
button: "\u30DC\u30BF\u30F3",
|
|
6528
|
+
button2: "\u30DC\u30BF\u30F3 x2",
|
|
6529
|
+
button3: "\u30DC\u30BF\u30F3 x3",
|
|
6530
|
+
"download-file": "\u30D5\u30A1\u30A4\u30EB\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",
|
|
6531
|
+
"download-file2": "\u30D5\u30A1\u30A4\u30EB\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9 x2",
|
|
6532
|
+
"download-file3": "\u30D5\u30A1\u30A4\u30EB\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9 x3"
|
|
6533
|
+
},
|
|
6534
|
+
\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3: {
|
|
6535
|
+
"content-navigation": "\u30B3\u30F3\u30C6\u30F3\u30C4\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3"
|
|
6536
|
+
},
|
|
6537
|
+
\u305D\u306E\u4ED6: {
|
|
6538
|
+
table: "2\u30AB\u30E9\u30E0\u30C6\u30FC\u30D6\u30EB",
|
|
6539
|
+
"google-maps": "Google Maps",
|
|
6540
|
+
youtube: "YouTube",
|
|
6541
|
+
hr: "\u533A\u5207\u308A\u7DDA",
|
|
6542
|
+
disclosure: "\u6298\u308A\u305F\u305F\u307F"
|
|
6543
|
+
}
|
|
6544
|
+
};
|
|
6545
|
+
|
|
6546
|
+
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\tborder: var(--bge-options-border);\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:where([data-bge-container-frame]) {\n\t\t& > * {\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";
|
|
6374
6547
|
|
|
6375
6548
|
const camelCaseCache = /* @__PURE__ */ new Map();
|
|
6376
6549
|
function camelCase(str) {
|
|
@@ -6405,8 +6578,8 @@ function h$1(l3, e = "") {
|
|
|
6405
6578
|
}, getRegex: () => new RegExp(t, e) };
|
|
6406
6579
|
return n;
|
|
6407
6580
|
}
|
|
6408
|
-
var m = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (l3) => new RegExp(`^( {0,3}${l3})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}#`), htmlBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}<(?:[a-z].*>|!--)`, "i") }, xe = /^(?:[ \t]*(?:\n|$))+/, be = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Re = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, C = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Oe = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, j = /(?:[*+-]|\d{1,9}[.)])/, se = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, ie$2 = h$1(se).replace(/bull/g, j).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Te = h$1(se).replace(/bull/g, j).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), F = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, we = /^[^\n]+/, Q = /(?!\s*\])(
|
|
6409
|
-
]`).replace("lheading", ie$2).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Me = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ze = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, ae = /^( {2,}|\\)\n(?!\s*$)/, Ae = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, D = /[\p{P}\p{S}]/u, W = /[\s\p{P}\p{S}]/u, le = /[^\s\p{P}\p{S}]/u, Ee = h$1(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W).getRegex(), ue = /(?!~)[\p{P}\p{S}]/u, Ce = /(?!~)[\s\p{P}\p{S}]/u, Ie = /(?:[^\s\p{P}\p{S}]|~)/u, Be = /\[[
|
|
6581
|
+
var m = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (l3) => new RegExp(`^( {0,3}${l3})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}#`), htmlBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}<(?:[a-z].*>|!--)`, "i") }, xe = /^(?:[ \t]*(?:\n|$))+/, be = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Re = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, C = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Oe = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, j = /(?:[*+-]|\d{1,9}[.)])/, se = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, ie$2 = h$1(se).replace(/bull/g, j).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Te = h$1(se).replace(/bull/g, j).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), F = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, we = /^[^\n]+/, Q = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, ye = h$1(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Q).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Pe = h$1(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, j).getRegex(), v = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", U = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Se = h$1("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", U).replace("tag", v).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), oe = h$1(F).replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), $e = h$1(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", oe).getRegex(), K = { blockquote: $e, code: be, def: ye, fences: Re, heading: Oe, hr: C, html: Se, lheading: ie$2, list: Pe, newline: xe, paragraph: oe, table: E, text: we }, re$1 = h$1("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), _e = { ...K, lheading: Te, table: re$1, paragraph: h$1(F).replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", re$1).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex() }, Le = { ...K, html: h$1(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", U).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: E, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: h$1(F).replace("hr", C).replace("heading", ` *#{1,6} *[^
|
|
6582
|
+
]`).replace("lheading", ie$2).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Me = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ze = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, ae = /^( {2,}|\\)\n(?!\s*$)/, Ae = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, D = /[\p{P}\p{S}]/u, W = /[\s\p{P}\p{S}]/u, le = /[^\s\p{P}\p{S}]/u, Ee = h$1(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W).getRegex(), ue = /(?!~)[\p{P}\p{S}]/u, Ce = /(?!~)[\s\p{P}\p{S}]/u, Ie = /(?:[^\s\p{P}\p{S}]|~)/u, Be = /\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g, pe = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, qe = h$1(pe, "u").replace(/punct/g, D).getRegex(), ve = h$1(pe, "u").replace(/punct/g, ue).getRegex(), ce = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", De = h$1(ce, "gu").replace(/notPunctSpace/g, le).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Ze = h$1(ce, "gu").replace(/notPunctSpace/g, Ie).replace(/punctSpace/g, Ce).replace(/punct/g, ue).getRegex(), Ge = h$1("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, le).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), He = h$1(/\\(punct)/, "gu").replace(/punct/g, D).getRegex(), Ne = h$1(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), je = h$1(U).replace("(?:-->|$)", "-->").getRegex(), Fe = h$1("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", je).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/, Qe = h$1(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), he = h$1(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", Q).getRegex(), de = h$1(/^!?\[(ref)\](?:\[\])?/).replace("ref", Q).getRegex(), Ue = h$1("reflink|nolink(?!\\()", "g").replace("reflink", he).replace("nolink", de).getRegex(), X = { _backpedal: E, anyPunctuation: He, autolink: Ne, blockSkip: Be, br: ae, code: ze, del: E, emStrongLDelim: qe, emStrongRDelimAst: De, emStrongRDelimUnd: Ge, escape: Me, link: Qe, nolink: de, punctuation: Ee, reflink: he, reflinkSearch: Ue, tag: Fe, text: Ae, url: E }, Ke = { ...X, link: h$1(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(), reflink: h$1(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex() }, N = { ...X, emStrongRDelimAst: Ze, emStrongLDelim: ve, url: h$1(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/ }, We = { ...N, br: h$1(ae).replace("{2,}", "*").getRegex(), text: h$1(N.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, I = { normal: K, gfm: _e, pedantic: Le }, M = { normal: X, gfm: N, breaks: We, pedantic: Ke };
|
|
6410
6583
|
var Xe = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }, ke = (l3) => Xe[l3];
|
|
6411
6584
|
function w(l3, e) {
|
|
6412
6585
|
if (e) {
|
|
@@ -10000,8 +10173,9 @@ class BlockOptionsDialog extends EditorDialog {
|
|
|
10000
10173
|
if (!this.#currentBlock) {
|
|
10001
10174
|
return;
|
|
10002
10175
|
}
|
|
10176
|
+
const containerType = formData.get("bge-options-container-type");
|
|
10003
10177
|
const columns = formData.get("bge-options-columns");
|
|
10004
|
-
const
|
|
10178
|
+
const autoRepeat = formData.get("bge-options-auto-repeat");
|
|
10005
10179
|
const justify = formData.get("bge-options-justify");
|
|
10006
10180
|
const align = formData.get("bge-options-align");
|
|
10007
10181
|
const float = formData.get("bge-options-float");
|
|
@@ -10016,8 +10190,9 @@ class BlockOptionsDialog extends EditorDialog {
|
|
|
10016
10190
|
const newOptions = {
|
|
10017
10191
|
props: {
|
|
10018
10192
|
...currentOptions.props,
|
|
10193
|
+
type: containerType ?? currentOptions.props.type,
|
|
10019
10194
|
columns: columns ? Number(columns) : null,
|
|
10020
|
-
|
|
10195
|
+
autoRepeat: autoRepeat ?? "fixed",
|
|
10021
10196
|
justify,
|
|
10022
10197
|
align,
|
|
10023
10198
|
float
|
|
@@ -10076,29 +10251,36 @@ async function createStylesheetFromUrl(url, layer) {
|
|
|
10076
10251
|
const blobUrl = URL.createObjectURL(blob);
|
|
10077
10252
|
return blobUrl;
|
|
10078
10253
|
}
|
|
10079
|
-
function getCustomProperties(scope) {
|
|
10254
|
+
function getCustomProperties(scope, containerType) {
|
|
10080
10255
|
const categories = /* @__PURE__ */ new Map();
|
|
10081
10256
|
const defaultValues = /* @__PURE__ */ new Map();
|
|
10082
10257
|
searchCustomProperty(scope, (cssProperty, value) => {
|
|
10083
10258
|
if (!cssProperty.startsWith(BLOCK_OPTION_CSS_CUSTOM_PROPERTY_PREFIX)) {
|
|
10084
10259
|
return;
|
|
10085
10260
|
}
|
|
10086
|
-
const [
|
|
10087
|
-
if (!
|
|
10261
|
+
const [propName, key] = cssProperty.slice(BLOCK_OPTION_CSS_CUSTOM_PROPERTY_PREFIX.length).split("--");
|
|
10262
|
+
if (!propName) {
|
|
10263
|
+
return;
|
|
10264
|
+
}
|
|
10265
|
+
if (propName.startsWith("_") && !propName.startsWith(`_${containerType}_`)) {
|
|
10088
10266
|
return;
|
|
10089
10267
|
}
|
|
10090
|
-
const currentMap = categories.get(
|
|
10268
|
+
const currentMap = categories.get(propName) ?? {
|
|
10269
|
+
id: propName,
|
|
10270
|
+
name: propName.replaceAll(/^_[a-z]+_/g, ""),
|
|
10271
|
+
properties: /* @__PURE__ */ new Map()
|
|
10272
|
+
};
|
|
10091
10273
|
if (key) {
|
|
10092
|
-
currentMap.set(key, { value, isDefault: false });
|
|
10274
|
+
currentMap.properties.set(key, { value, isDefault: false });
|
|
10093
10275
|
} else {
|
|
10094
|
-
defaultValues.set(
|
|
10276
|
+
defaultValues.set(propName, value);
|
|
10095
10277
|
}
|
|
10096
|
-
categories.set(
|
|
10278
|
+
categories.set(propName, currentMap);
|
|
10097
10279
|
});
|
|
10098
10280
|
for (const propList of categories.values()) {
|
|
10099
|
-
for (const [key, customProperty] of propList.entries()) {
|
|
10281
|
+
for (const [key, customProperty] of propList.properties.entries()) {
|
|
10100
10282
|
if (customProperty.value.trim().toLowerCase() === "null") {
|
|
10101
|
-
propList.delete(key);
|
|
10283
|
+
propList.properties.delete(key);
|
|
10102
10284
|
}
|
|
10103
10285
|
}
|
|
10104
10286
|
}
|
|
@@ -10107,7 +10289,7 @@ function getCustomProperties(scope) {
|
|
|
10107
10289
|
if (!currentMap) {
|
|
10108
10290
|
continue;
|
|
10109
10291
|
}
|
|
10110
|
-
for (const [key, customProperty] of currentMap.entries()) {
|
|
10292
|
+
for (const [key, customProperty] of currentMap.properties.entries()) {
|
|
10111
10293
|
if (value === `var(${BLOCK_OPTION_CSS_CUSTOM_PROPERTY_PREFIX}${category}--${key})`) {
|
|
10112
10294
|
customProperty.isDefault = true;
|
|
10113
10295
|
}
|
|
@@ -10137,20 +10319,21 @@ function getStyleRules(rules, scope) {
|
|
|
10137
10319
|
if (CSSStyleRule === void 0) {
|
|
10138
10320
|
throw new Error("CSSStyleRule is not available");
|
|
10139
10321
|
}
|
|
10140
|
-
const
|
|
10141
|
-
if (
|
|
10142
|
-
throw new Error("
|
|
10322
|
+
const CSSLayerBlockRule = scope.defaultView?.CSSLayerBlockRule;
|
|
10323
|
+
if (CSSLayerBlockRule === void 0) {
|
|
10324
|
+
throw new Error("CSSLayerBlockRule is not available");
|
|
10143
10325
|
}
|
|
10144
10326
|
const styleRules = [];
|
|
10145
10327
|
for (const rule of rules) {
|
|
10146
|
-
if (rule instanceof CSSStyleRule) {
|
|
10328
|
+
if (rule instanceof CSSStyleRule && rule.selectorText) {
|
|
10147
10329
|
styleRules.push(...getStyleRules(rule.cssRules, scope), rule);
|
|
10148
10330
|
continue;
|
|
10149
10331
|
}
|
|
10150
|
-
if (rule instanceof
|
|
10332
|
+
if (rule instanceof CSSLayerBlockRule) {
|
|
10151
10333
|
styleRules.push(...getStyleRules(rule.cssRules, scope));
|
|
10152
10334
|
continue;
|
|
10153
10335
|
}
|
|
10336
|
+
break;
|
|
10154
10337
|
}
|
|
10155
10338
|
return styleRules;
|
|
10156
10339
|
}
|
|
@@ -10553,6 +10736,127 @@ class EditableArea extends EditorUI {
|
|
|
10553
10736
|
function createBgeEvent(type, eventData) {
|
|
10554
10737
|
return new CustomEvent(type, { detail: eventData });
|
|
10555
10738
|
}
|
|
10739
|
+
class HealthMonitor {
|
|
10740
|
+
#checkHealth;
|
|
10741
|
+
/**
|
|
10742
|
+
* Default health check implementation (no-op, always returns true)
|
|
10743
|
+
*/
|
|
10744
|
+
#defaultHealthCheck = () => {
|
|
10745
|
+
return Promise.resolve(true);
|
|
10746
|
+
};
|
|
10747
|
+
#enabled;
|
|
10748
|
+
#engine;
|
|
10749
|
+
#failureCount = 0;
|
|
10750
|
+
#interval;
|
|
10751
|
+
#isOnline = true;
|
|
10752
|
+
#retryCount;
|
|
10753
|
+
#timeoutId = null;
|
|
10754
|
+
/**
|
|
10755
|
+
* Get current online status
|
|
10756
|
+
*/
|
|
10757
|
+
get isOnline() {
|
|
10758
|
+
return this.#isOnline;
|
|
10759
|
+
}
|
|
10760
|
+
constructor(engine, options) {
|
|
10761
|
+
this.#engine = engine;
|
|
10762
|
+
this.#enabled = options?.enabled ?? false;
|
|
10763
|
+
this.#interval = options?.interval ?? 1e4;
|
|
10764
|
+
this.#retryCount = options?.retryCount ?? 3;
|
|
10765
|
+
this.#checkHealth = options?.checkHealth ?? this.#defaultHealthCheck;
|
|
10766
|
+
}
|
|
10767
|
+
/**
|
|
10768
|
+
* Start health monitoring
|
|
10769
|
+
*/
|
|
10770
|
+
start() {
|
|
10771
|
+
if (!this.#enabled || this.#timeoutId !== null) {
|
|
10772
|
+
return;
|
|
10773
|
+
}
|
|
10774
|
+
void this.#performHealthCheck();
|
|
10775
|
+
}
|
|
10776
|
+
/**
|
|
10777
|
+
* Stop health monitoring
|
|
10778
|
+
*/
|
|
10779
|
+
stop() {
|
|
10780
|
+
if (this.#timeoutId !== null) {
|
|
10781
|
+
clearTimeout(this.#timeoutId);
|
|
10782
|
+
this.#timeoutId = null;
|
|
10783
|
+
}
|
|
10784
|
+
}
|
|
10785
|
+
/**
|
|
10786
|
+
* Calculate dynamic interval based on current state
|
|
10787
|
+
* - Normal/Recovery/Offline: use base interval (設定したintervalで等間隔)
|
|
10788
|
+
* - Retry phase: exponential backoff for fast detection
|
|
10789
|
+
*/
|
|
10790
|
+
#calculateInterval() {
|
|
10791
|
+
if (this.#failureCount === 0 || !this.#isOnline) {
|
|
10792
|
+
return this.#interval;
|
|
10793
|
+
}
|
|
10794
|
+
const baseRetryInterval = this.#interval / this.#retryCount;
|
|
10795
|
+
const exponentialFactor = Math.pow(1.5, this.#failureCount - 1);
|
|
10796
|
+
return Math.min(baseRetryInterval * exponentialFactor, this.#interval);
|
|
10797
|
+
}
|
|
10798
|
+
/**
|
|
10799
|
+
* Dispatch server offline event
|
|
10800
|
+
*/
|
|
10801
|
+
#dispatchServerOfflineEvent() {
|
|
10802
|
+
const event2 = createBgeEvent("bge:server-offline", { timestamp: Date.now() });
|
|
10803
|
+
this.#engine.el.dispatchEvent(event2);
|
|
10804
|
+
}
|
|
10805
|
+
/**
|
|
10806
|
+
* Dispatch server online event
|
|
10807
|
+
*/
|
|
10808
|
+
#dispatchServerOnlineEvent() {
|
|
10809
|
+
const event2 = createBgeEvent("bge:server-online", { timestamp: Date.now() });
|
|
10810
|
+
this.#engine.el.dispatchEvent(event2);
|
|
10811
|
+
}
|
|
10812
|
+
/**
|
|
10813
|
+
* Handle health check failure
|
|
10814
|
+
*/
|
|
10815
|
+
#handleFailure() {
|
|
10816
|
+
this.#failureCount++;
|
|
10817
|
+
if (this.#failureCount >= this.#retryCount && this.#isOnline) {
|
|
10818
|
+
this.#isOnline = false;
|
|
10819
|
+
this.#dispatchServerOfflineEvent();
|
|
10820
|
+
}
|
|
10821
|
+
}
|
|
10822
|
+
/**
|
|
10823
|
+
* Perform health check using provided callback
|
|
10824
|
+
*/
|
|
10825
|
+
async #performHealthCheck() {
|
|
10826
|
+
try {
|
|
10827
|
+
const context = {
|
|
10828
|
+
enabled: this.#enabled,
|
|
10829
|
+
interval: this.#interval,
|
|
10830
|
+
retryCount: this.#retryCount,
|
|
10831
|
+
currentFailureCount: this.#failureCount
|
|
10832
|
+
};
|
|
10833
|
+
const isHealthy = await this.#checkHealth(context);
|
|
10834
|
+
if (isHealthy) {
|
|
10835
|
+
if (this.#isOnline) {
|
|
10836
|
+
this.#failureCount = 0;
|
|
10837
|
+
} else {
|
|
10838
|
+
this.#isOnline = true;
|
|
10839
|
+
this.#failureCount = 0;
|
|
10840
|
+
this.#dispatchServerOnlineEvent();
|
|
10841
|
+
}
|
|
10842
|
+
} else {
|
|
10843
|
+
this.#handleFailure();
|
|
10844
|
+
}
|
|
10845
|
+
} catch {
|
|
10846
|
+
this.#handleFailure();
|
|
10847
|
+
}
|
|
10848
|
+
this.#scheduleNextCheck();
|
|
10849
|
+
}
|
|
10850
|
+
/**
|
|
10851
|
+
* Schedule next health check with dynamic interval
|
|
10852
|
+
*/
|
|
10853
|
+
#scheduleNextCheck() {
|
|
10854
|
+
const nextInterval = this.#calculateInterval();
|
|
10855
|
+
this.#timeoutId = window.setTimeout(() => {
|
|
10856
|
+
void this.#performHealthCheck();
|
|
10857
|
+
}, nextInterval);
|
|
10858
|
+
}
|
|
10859
|
+
}
|
|
10556
10860
|
const cache = /* @__PURE__ */ new Map();
|
|
10557
10861
|
function parseFields(query) {
|
|
10558
10862
|
const cached = cache.get(query);
|
|
@@ -11347,7 +11651,19 @@ function setContent$1(el, datum, asHtml = true, xssSanitize = true) {
|
|
|
11347
11651
|
el.checked = datum;
|
|
11348
11652
|
return;
|
|
11349
11653
|
}
|
|
11350
|
-
|
|
11654
|
+
if (el.hasAttribute("value")) {
|
|
11655
|
+
el.checked = el.value === `${datum}`;
|
|
11656
|
+
return;
|
|
11657
|
+
}
|
|
11658
|
+
if (datum === "true") {
|
|
11659
|
+
el.checked = true;
|
|
11660
|
+
return;
|
|
11661
|
+
}
|
|
11662
|
+
if (datum === "false") {
|
|
11663
|
+
el.checked = false;
|
|
11664
|
+
return;
|
|
11665
|
+
}
|
|
11666
|
+
el.checked = false;
|
|
11351
11667
|
return;
|
|
11352
11668
|
}
|
|
11353
11669
|
el.value = `${datum}`;
|
|
@@ -11633,6 +11949,7 @@ class BurgerEditorEngine {
|
|
|
11633
11949
|
#current;
|
|
11634
11950
|
#currentBlock = null;
|
|
11635
11951
|
#draft;
|
|
11952
|
+
#healthMonitor;
|
|
11636
11953
|
#isProcessed = false;
|
|
11637
11954
|
#main;
|
|
11638
11955
|
#migrationCheck = null;
|
|
@@ -11656,6 +11973,7 @@ class BurgerEditorEngine {
|
|
|
11656
11973
|
blockClipboard: "bge-copied-block",
|
|
11657
11974
|
...options.storageKey
|
|
11658
11975
|
};
|
|
11976
|
+
this.#healthMonitor = new HealthMonitor(this, options.healthCheck);
|
|
11659
11977
|
this.css = {
|
|
11660
11978
|
stylesheets: options.config.stylesheets ?? [],
|
|
11661
11979
|
classList: options.config.classList ?? [],
|
|
@@ -11702,6 +12020,12 @@ class BurgerEditorEngine {
|
|
|
11702
12020
|
await this.content.insertionPoint.insert(block2);
|
|
11703
12021
|
this.save();
|
|
11704
12022
|
}
|
|
12023
|
+
/**
|
|
12024
|
+
* Clean up resources and stop monitoring
|
|
12025
|
+
*/
|
|
12026
|
+
cleanUp() {
|
|
12027
|
+
this.#healthMonitor.stop();
|
|
12028
|
+
}
|
|
11705
12029
|
clearCurrentBlock() {
|
|
11706
12030
|
this.#currentBlock = null;
|
|
11707
12031
|
}
|
|
@@ -11728,8 +12052,8 @@ class BurgerEditorEngine {
|
|
|
11728
12052
|
}
|
|
11729
12053
|
return this.#currentBlock;
|
|
11730
12054
|
}
|
|
11731
|
-
getCustomProperties() {
|
|
11732
|
-
return getCustomProperties(this.#current.containerElement.ownerDocument);
|
|
12055
|
+
getCustomProperties(containerType) {
|
|
12056
|
+
return getCustomProperties(this.#current.containerElement.ownerDocument, containerType);
|
|
11733
12057
|
}
|
|
11734
12058
|
getCustomProperty(property) {
|
|
11735
12059
|
return getCustomProperty(this.#current.containerElement.ownerDocument, property);
|
|
@@ -11784,6 +12108,19 @@ class BurgerEditorEngine {
|
|
|
11784
12108
|
}
|
|
11785
12109
|
return isChanged;
|
|
11786
12110
|
}
|
|
12111
|
+
/**
|
|
12112
|
+
* Set editor read-only state
|
|
12113
|
+
* @param readOnly
|
|
12114
|
+
*/
|
|
12115
|
+
setReadOnly(readOnly) {
|
|
12116
|
+
if (readOnly) {
|
|
12117
|
+
this.el.inert = true;
|
|
12118
|
+
this.el.dataset.readonly = "true";
|
|
12119
|
+
return;
|
|
12120
|
+
}
|
|
12121
|
+
this.el.inert = false;
|
|
12122
|
+
delete this.el.dataset.readonly;
|
|
12123
|
+
}
|
|
11787
12124
|
showDraft() {
|
|
11788
12125
|
if (!this.#draft) {
|
|
11789
12126
|
return;
|
|
@@ -11793,6 +12130,17 @@ class BurgerEditorEngine {
|
|
|
11793
12130
|
showMain() {
|
|
11794
12131
|
this.#show(this.#main);
|
|
11795
12132
|
}
|
|
12133
|
+
/**
|
|
12134
|
+
* Setup health event listeners for automatic read-only mode
|
|
12135
|
+
*/
|
|
12136
|
+
#setupHealthEventListeners() {
|
|
12137
|
+
this.el.addEventListener("bge:server-offline", () => {
|
|
12138
|
+
this.setReadOnly(true);
|
|
12139
|
+
});
|
|
12140
|
+
this.el.addEventListener("bge:server-online", () => {
|
|
12141
|
+
this.setReadOnly(false);
|
|
12142
|
+
});
|
|
12143
|
+
}
|
|
11796
12144
|
#show(to) {
|
|
11797
12145
|
if (this.#current === to) {
|
|
11798
12146
|
return;
|
|
@@ -11831,6 +12179,8 @@ class BurgerEditorEngine {
|
|
|
11831
12179
|
className: options.config.classList.join(" ")
|
|
11832
12180
|
});
|
|
11833
12181
|
}
|
|
12182
|
+
engine.#healthMonitor.start();
|
|
12183
|
+
engine.#setupHealthEventListeners();
|
|
11834
12184
|
return engine;
|
|
11835
12185
|
}
|
|
11836
12186
|
static #addItem(seed) {
|
|
@@ -12480,7 +12830,7 @@ function exportContainerProps(containerPropsQuery) {
|
|
|
12480
12830
|
return {
|
|
12481
12831
|
type: findValueFromArray([type ?? "inline"], ["grid", "inline", "float"]) ?? "inline",
|
|
12482
12832
|
immutable: options.includes("immutable"),
|
|
12483
|
-
|
|
12833
|
+
autoRepeat: findValueFromArray(options, ["fixed", "auto-fill", "auto-fit"]) ?? "fixed",
|
|
12484
12834
|
justify: type === "inline" ? findValueFromArray(options, [
|
|
12485
12835
|
"center",
|
|
12486
12836
|
"start",
|
|
@@ -12498,7 +12848,8 @@ function exportContainerProps(containerPropsQuery) {
|
|
|
12498
12848
|
]) : null,
|
|
12499
12849
|
wrap: type === "inline" ? findValueFromArray(options, ["wrap", "nowrap"]) : null,
|
|
12500
12850
|
columns: type === "grid" ? Number.parseInt(findValuePatternFromArray(options, /[1-9]\d*/) ?? "", 10) ?? 1 : null,
|
|
12501
|
-
float: type === "float" ? findValueFromArray(options, ["start", "end"]) : null
|
|
12851
|
+
float: type === "float" ? findValueFromArray(options, ["start", "end"]) : null,
|
|
12852
|
+
frameSemantics: findValueFromArray(options, ["div", "ul", "ol"]) ?? "div"
|
|
12502
12853
|
};
|
|
12503
12854
|
}
|
|
12504
12855
|
function exportStyleOptions(el) {
|
|
@@ -12509,7 +12860,7 @@ function exportStyleOptions(el) {
|
|
|
12509
12860
|
}
|
|
12510
12861
|
const category = property.replace(BLOCK_OPTION_CSS_CUSTOM_PROPERTY_PREFIX, "");
|
|
12511
12862
|
const propValue = el.style.getPropertyValue(property);
|
|
12512
|
-
const [, _category, propName] = propValue.replace(`var(${BLOCK_OPTION_CSS_CUSTOM_PROPERTY_PREFIX}`, "").replace(/\)$/, "").match(/^([a-z]+(?:-[a-z]+)*)--([a-z]+(?:-[a-z]+)*)$/) ?? [];
|
|
12863
|
+
const [, _category, propName] = propValue.replace(`var(${BLOCK_OPTION_CSS_CUSTOM_PROPERTY_PREFIX}`, "").replace(/\)$/, "").match(/^((?:_[a-z]+_)?[a-z]+(?:-[a-z]+)*)--([a-z]+(?:-[a-z]+)*)$/) ?? [];
|
|
12513
12864
|
if (category !== _category || !propName) {
|
|
12514
12865
|
continue;
|
|
12515
12866
|
}
|
|
@@ -12530,13 +12881,15 @@ function exportOptions(el) {
|
|
|
12530
12881
|
};
|
|
12531
12882
|
}
|
|
12532
12883
|
function importContainerProps(containerProps) {
|
|
12533
|
-
const { type, immutable,
|
|
12884
|
+
const { type, immutable, autoRepeat, justify, align, wrap: wrap2, columns, float, frameSemantics } = containerProps ?? {};
|
|
12534
12885
|
const options = /* @__PURE__ */ new Set();
|
|
12535
12886
|
if (immutable) {
|
|
12536
12887
|
options.add("immutable");
|
|
12537
12888
|
}
|
|
12538
|
-
if (
|
|
12889
|
+
if (autoRepeat === "auto-fit") {
|
|
12539
12890
|
options.add("auto-fit");
|
|
12891
|
+
} else if (autoRepeat === "auto-fill") {
|
|
12892
|
+
options.add("auto-fill");
|
|
12540
12893
|
}
|
|
12541
12894
|
if (justify) {
|
|
12542
12895
|
options.add(justify);
|
|
@@ -12553,6 +12906,9 @@ function importContainerProps(containerProps) {
|
|
|
12553
12906
|
if (float) {
|
|
12554
12907
|
options.add(float);
|
|
12555
12908
|
}
|
|
12909
|
+
if (frameSemantics && frameSemantics !== "div") {
|
|
12910
|
+
options.add(frameSemantics);
|
|
12911
|
+
}
|
|
12556
12912
|
const query = [type, ...options].join(":");
|
|
12557
12913
|
return query;
|
|
12558
12914
|
}
|
|
@@ -12642,6 +12998,45 @@ class BurgerBlock {
|
|
|
12642
12998
|
}
|
|
12643
12999
|
BurgerBlock.#blocks.set(this.el, this);
|
|
12644
13000
|
}
|
|
13001
|
+
/**
|
|
13002
|
+
* Change the semantic type of container frame and groups
|
|
13003
|
+
* @param frameSemantics - The semantic type to change to
|
|
13004
|
+
*/
|
|
13005
|
+
changeFrameSemantics(frameSemantics) {
|
|
13006
|
+
const containerFrame = this.el.querySelector("[data-bge-container-frame]");
|
|
13007
|
+
if (!containerFrame) {
|
|
13008
|
+
throw new Error("Container frame not found");
|
|
13009
|
+
}
|
|
13010
|
+
const backup = this.#export();
|
|
13011
|
+
try {
|
|
13012
|
+
const frameTagName = frameSemantics === "div" ? "div" : frameSemantics;
|
|
13013
|
+
const groupTagName = frameSemantics === "div" ? "div" : "li";
|
|
13014
|
+
const newFrame = document.createElement(frameTagName);
|
|
13015
|
+
this.#copyAttributes(containerFrame, newFrame);
|
|
13016
|
+
const groups = containerFrame.querySelectorAll("[data-bge-group]");
|
|
13017
|
+
for (const group of groups) {
|
|
13018
|
+
const newGroup = document.createElement(groupTagName);
|
|
13019
|
+
this.#copyAttributes(group, newGroup);
|
|
13020
|
+
while (group.firstChild) {
|
|
13021
|
+
newGroup.append(group.firstChild);
|
|
13022
|
+
}
|
|
13023
|
+
newFrame.append(newGroup);
|
|
13024
|
+
}
|
|
13025
|
+
containerFrame.parentNode?.replaceChild(newFrame, containerFrame);
|
|
13026
|
+
BurgerBlock.#blocks.set(this.el, this);
|
|
13027
|
+
const currentOptions = this.exportOptions();
|
|
13028
|
+
this.importOptions({
|
|
13029
|
+
...currentOptions,
|
|
13030
|
+
props: {
|
|
13031
|
+
...currentOptions.props,
|
|
13032
|
+
frameSemantics
|
|
13033
|
+
}
|
|
13034
|
+
});
|
|
13035
|
+
} catch (error) {
|
|
13036
|
+
this.#import(backup);
|
|
13037
|
+
throw new Error(`Frame semantics change failed: ${error instanceof Error ? error.message : error}`);
|
|
13038
|
+
}
|
|
13039
|
+
}
|
|
12645
13040
|
clone() {
|
|
12646
13041
|
const originalData = this.#export();
|
|
12647
13042
|
const newBlock = new BurgerBlock(this.engine, this.el.dataset.bgeName ?? "unknown");
|
|
@@ -12701,6 +13096,17 @@ class BurgerBlock {
|
|
|
12701
13096
|
async updateGridItems(addOrRemove) {
|
|
12702
13097
|
await updateGridItems([...this.el.querySelectorAll("[data-bge-group]")], this.engine, addOrRemove, this.items, (items) => this.items = items);
|
|
12703
13098
|
}
|
|
13099
|
+
/**
|
|
13100
|
+
* Copy all attributes from source to target element
|
|
13101
|
+
* @param source - Source element
|
|
13102
|
+
* @param target - Target element
|
|
13103
|
+
*/
|
|
13104
|
+
#copyAttributes(source2, target) {
|
|
13105
|
+
for (const attr of source2.attributes) {
|
|
13106
|
+
target.setAttribute(attr.name, attr.value);
|
|
13107
|
+
}
|
|
13108
|
+
target.className = source2.className;
|
|
13109
|
+
}
|
|
12704
13110
|
#export() {
|
|
12705
13111
|
const data = {
|
|
12706
13112
|
...this.exportOptions(),
|
|
@@ -27391,7 +27797,8 @@ function canSetMark(state2, tr2, newMarkType) {
|
|
|
27391
27797
|
}
|
|
27392
27798
|
if (cursor) {
|
|
27393
27799
|
const currentMarks = (_a = state2.storedMarks) != null ? _a : cursor.marks();
|
|
27394
|
-
|
|
27800
|
+
const parentAllowsMarkType = cursor.parent.type.allowsMarkType(newMarkType);
|
|
27801
|
+
return parentAllowsMarkType && (!!newMarkType.isInSet(currentMarks) || !currentMarks.some((mark) => mark.type.excludes(newMarkType)));
|
|
27395
27802
|
}
|
|
27396
27803
|
const { ranges } = selection;
|
|
27397
27804
|
return ranges.some(({ $from, $to }) => {
|
|
@@ -28491,6 +28898,8 @@ var Editor = class extends EventEmitter {
|
|
|
28491
28898
|
emitContentError: false,
|
|
28492
28899
|
onBeforeCreate: () => null,
|
|
28493
28900
|
onCreate: () => null,
|
|
28901
|
+
onMount: () => null,
|
|
28902
|
+
onUnmount: () => null,
|
|
28494
28903
|
onUpdate: () => null,
|
|
28495
28904
|
onSelectionUpdate: () => null,
|
|
28496
28905
|
onTransaction: () => null,
|
|
@@ -28512,6 +28921,8 @@ var Editor = class extends EventEmitter {
|
|
|
28512
28921
|
this.createSchema();
|
|
28513
28922
|
this.on("beforeCreate", this.options.onBeforeCreate);
|
|
28514
28923
|
this.emit("beforeCreate", { editor: this });
|
|
28924
|
+
this.on("mount", this.options.onMount);
|
|
28925
|
+
this.on("unmount", this.options.onUnmount);
|
|
28515
28926
|
this.on("contentError", this.options.onContentError);
|
|
28516
28927
|
this.on("create", this.options.onCreate);
|
|
28517
28928
|
this.on("update", this.options.onUpdate);
|
|
@@ -28544,6 +28955,7 @@ var Editor = class extends EventEmitter {
|
|
|
28544
28955
|
);
|
|
28545
28956
|
}
|
|
28546
28957
|
this.createView(el);
|
|
28958
|
+
this.emit("mount", { editor: this });
|
|
28547
28959
|
window.setTimeout(() => {
|
|
28548
28960
|
if (this.isDestroyed) {
|
|
28549
28961
|
return;
|
|
@@ -28578,6 +28990,7 @@ var Editor = class extends EventEmitter {
|
|
|
28578
28990
|
}
|
|
28579
28991
|
}
|
|
28580
28992
|
this.css = null;
|
|
28993
|
+
this.emit("unmount", { editor: this });
|
|
28581
28994
|
}
|
|
28582
28995
|
/**
|
|
28583
28996
|
* Returns the editor storage.
|
|
@@ -29231,7 +29644,7 @@ var h = (tag, attributes) => {
|
|
|
29231
29644
|
}
|
|
29232
29645
|
return [tag, rest, children];
|
|
29233
29646
|
};
|
|
29234
|
-
var inputRegex$
|
|
29647
|
+
var inputRegex$4 = /^\s*>\s$/;
|
|
29235
29648
|
var Blockquote = Node3.create({
|
|
29236
29649
|
name: "blockquote",
|
|
29237
29650
|
addOptions() {
|
|
@@ -29269,7 +29682,7 @@ var Blockquote = Node3.create({
|
|
|
29269
29682
|
addInputRules() {
|
|
29270
29683
|
return [
|
|
29271
29684
|
wrappingInputRule({
|
|
29272
|
-
find: inputRegex$
|
|
29685
|
+
find: inputRegex$4,
|
|
29273
29686
|
type: this.type
|
|
29274
29687
|
})
|
|
29275
29688
|
];
|
|
@@ -29352,7 +29765,7 @@ var Bold = Mark2.create({
|
|
|
29352
29765
|
];
|
|
29353
29766
|
}
|
|
29354
29767
|
});
|
|
29355
|
-
var inputRegex$
|
|
29768
|
+
var inputRegex$3 = /(^|[^`])`([^`]+)`(?!`)$/;
|
|
29356
29769
|
var pasteRegex$1 = /(^|[^`])`([^`]+)`(?!`)/g;
|
|
29357
29770
|
var Code = Mark2.create({
|
|
29358
29771
|
name: "code",
|
|
@@ -29391,7 +29804,7 @@ var Code = Mark2.create({
|
|
|
29391
29804
|
addInputRules() {
|
|
29392
29805
|
return [
|
|
29393
29806
|
markInputRule({
|
|
29394
|
-
find: inputRegex$
|
|
29807
|
+
find: inputRegex$3,
|
|
29395
29808
|
type: this.type
|
|
29396
29809
|
})
|
|
29397
29810
|
];
|
|
@@ -29415,6 +29828,8 @@ var CodeBlock = Node3.create({
|
|
|
29415
29828
|
exitOnTripleEnter: true,
|
|
29416
29829
|
exitOnArrowDown: true,
|
|
29417
29830
|
defaultLanguage: null,
|
|
29831
|
+
enableTabIndentation: false,
|
|
29832
|
+
tabSize: 4,
|
|
29418
29833
|
HTMLAttributes: {}
|
|
29419
29834
|
};
|
|
29420
29835
|
},
|
|
@@ -29488,6 +29903,91 @@ var CodeBlock = Node3.create({
|
|
|
29488
29903
|
}
|
|
29489
29904
|
return false;
|
|
29490
29905
|
},
|
|
29906
|
+
// handle tab indentation
|
|
29907
|
+
Tab: ({ editor }) => {
|
|
29908
|
+
if (!this.options.enableTabIndentation) {
|
|
29909
|
+
return false;
|
|
29910
|
+
}
|
|
29911
|
+
const { state: state2 } = editor;
|
|
29912
|
+
const { selection } = state2;
|
|
29913
|
+
const { $from, empty: empty2 } = selection;
|
|
29914
|
+
if ($from.parent.type !== this.type) {
|
|
29915
|
+
return false;
|
|
29916
|
+
}
|
|
29917
|
+
const indent = " ".repeat(this.options.tabSize);
|
|
29918
|
+
if (empty2) {
|
|
29919
|
+
return editor.commands.insertContent(indent);
|
|
29920
|
+
}
|
|
29921
|
+
return editor.commands.command(({ tr: tr2 }) => {
|
|
29922
|
+
const { from: from2, to } = selection;
|
|
29923
|
+
const text2 = state2.doc.textBetween(from2, to, "\n", "\n");
|
|
29924
|
+
const lines = text2.split("\n");
|
|
29925
|
+
const indentedText = lines.map((line) => indent + line).join("\n");
|
|
29926
|
+
tr2.replaceWith(from2, to, state2.schema.text(indentedText));
|
|
29927
|
+
return true;
|
|
29928
|
+
});
|
|
29929
|
+
},
|
|
29930
|
+
// handle shift+tab reverse indentation
|
|
29931
|
+
"Shift-Tab": ({ editor }) => {
|
|
29932
|
+
if (!this.options.enableTabIndentation) {
|
|
29933
|
+
return false;
|
|
29934
|
+
}
|
|
29935
|
+
const { state: state2 } = editor;
|
|
29936
|
+
const { selection } = state2;
|
|
29937
|
+
const { $from, empty: empty2 } = selection;
|
|
29938
|
+
if ($from.parent.type !== this.type) {
|
|
29939
|
+
return false;
|
|
29940
|
+
}
|
|
29941
|
+
if (empty2) {
|
|
29942
|
+
return editor.commands.command(({ tr: tr2 }) => {
|
|
29943
|
+
var _a;
|
|
29944
|
+
const { pos } = $from;
|
|
29945
|
+
const codeBlockStart = $from.start();
|
|
29946
|
+
const codeBlockEnd = $from.end();
|
|
29947
|
+
const allText = state2.doc.textBetween(codeBlockStart, codeBlockEnd, "\n", "\n");
|
|
29948
|
+
const lines = allText.split("\n");
|
|
29949
|
+
let currentLineIndex = 0;
|
|
29950
|
+
let charCount = 0;
|
|
29951
|
+
const relativeCursorPos = pos - codeBlockStart;
|
|
29952
|
+
for (let i = 0; i < lines.length; i += 1) {
|
|
29953
|
+
if (charCount + lines[i].length >= relativeCursorPos) {
|
|
29954
|
+
currentLineIndex = i;
|
|
29955
|
+
break;
|
|
29956
|
+
}
|
|
29957
|
+
charCount += lines[i].length + 1;
|
|
29958
|
+
}
|
|
29959
|
+
const currentLine = lines[currentLineIndex];
|
|
29960
|
+
const leadingSpaces = ((_a = currentLine.match(/^ */)) == null ? void 0 : _a[0]) || "";
|
|
29961
|
+
const spacesToRemove = Math.min(leadingSpaces.length, this.options.tabSize);
|
|
29962
|
+
if (spacesToRemove === 0) {
|
|
29963
|
+
return true;
|
|
29964
|
+
}
|
|
29965
|
+
let lineStartPos = codeBlockStart;
|
|
29966
|
+
for (let i = 0; i < currentLineIndex; i += 1) {
|
|
29967
|
+
lineStartPos += lines[i].length + 1;
|
|
29968
|
+
}
|
|
29969
|
+
tr2.delete(lineStartPos, lineStartPos + spacesToRemove);
|
|
29970
|
+
const cursorPosInLine = pos - lineStartPos;
|
|
29971
|
+
if (cursorPosInLine <= spacesToRemove) {
|
|
29972
|
+
tr2.setSelection(TextSelection.create(tr2.doc, lineStartPos));
|
|
29973
|
+
}
|
|
29974
|
+
return true;
|
|
29975
|
+
});
|
|
29976
|
+
}
|
|
29977
|
+
return editor.commands.command(({ tr: tr2 }) => {
|
|
29978
|
+
const { from: from2, to } = selection;
|
|
29979
|
+
const text2 = state2.doc.textBetween(from2, to, "\n", "\n");
|
|
29980
|
+
const lines = text2.split("\n");
|
|
29981
|
+
const reverseIndentText = lines.map((line) => {
|
|
29982
|
+
var _a;
|
|
29983
|
+
const leadingSpaces = ((_a = line.match(/^ */)) == null ? void 0 : _a[0]) || "";
|
|
29984
|
+
const spacesToRemove = Math.min(leadingSpaces.length, this.options.tabSize);
|
|
29985
|
+
return line.slice(spacesToRemove);
|
|
29986
|
+
}).join("\n");
|
|
29987
|
+
tr2.replaceWith(from2, to, state2.schema.text(reverseIndentText));
|
|
29988
|
+
return true;
|
|
29989
|
+
});
|
|
29990
|
+
},
|
|
29491
29991
|
// exit node on triple enter
|
|
29492
29992
|
Enter: ({ editor }) => {
|
|
29493
29993
|
if (!this.options.exitOnTripleEnter) {
|
|
@@ -31789,7 +32289,7 @@ var OrderedList = Node3.create({
|
|
|
31789
32289
|
return [inputRule];
|
|
31790
32290
|
}
|
|
31791
32291
|
});
|
|
31792
|
-
var inputRegex$
|
|
32292
|
+
var inputRegex$2 = /^\s*(\[([( |x])?\])\s$/;
|
|
31793
32293
|
var TaskItem = Node3.create({
|
|
31794
32294
|
name: "taskItem",
|
|
31795
32295
|
addOptions() {
|
|
@@ -31929,7 +32429,7 @@ var TaskItem = Node3.create({
|
|
|
31929
32429
|
addInputRules() {
|
|
31930
32430
|
return [
|
|
31931
32431
|
wrappingInputRule({
|
|
31932
|
-
find: inputRegex$
|
|
32432
|
+
find: inputRegex$2,
|
|
31933
32433
|
type: this.type,
|
|
31934
32434
|
getAttributes: (match) => ({
|
|
31935
32435
|
checked: match[match.length - 1] === "x"
|
|
@@ -32028,7 +32528,7 @@ var Paragraph = Node3.create({
|
|
|
32028
32528
|
};
|
|
32029
32529
|
}
|
|
32030
32530
|
});
|
|
32031
|
-
var inputRegex = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/;
|
|
32531
|
+
var inputRegex$1 = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/;
|
|
32032
32532
|
var pasteRegex = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g;
|
|
32033
32533
|
var Strike = Mark2.create({
|
|
32034
32534
|
name: "strike",
|
|
@@ -32079,7 +32579,7 @@ var Strike = Mark2.create({
|
|
|
32079
32579
|
addInputRules() {
|
|
32080
32580
|
return [
|
|
32081
32581
|
markInputRule({
|
|
32082
|
-
find: inputRegex,
|
|
32582
|
+
find: inputRegex$1,
|
|
32083
32583
|
type: this.type
|
|
32084
32584
|
})
|
|
32085
32585
|
];
|
|
@@ -33424,6 +33924,75 @@ var StarterKit = Extension.create({
|
|
|
33424
33924
|
}
|
|
33425
33925
|
});
|
|
33426
33926
|
var index_default = StarterKit;
|
|
33927
|
+
var inputRegex = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/;
|
|
33928
|
+
var Image$2 = Node3.create({
|
|
33929
|
+
name: "image",
|
|
33930
|
+
addOptions() {
|
|
33931
|
+
return {
|
|
33932
|
+
inline: false,
|
|
33933
|
+
allowBase64: false,
|
|
33934
|
+
HTMLAttributes: {}
|
|
33935
|
+
};
|
|
33936
|
+
},
|
|
33937
|
+
inline() {
|
|
33938
|
+
return this.options.inline;
|
|
33939
|
+
},
|
|
33940
|
+
group() {
|
|
33941
|
+
return this.options.inline ? "inline" : "block";
|
|
33942
|
+
},
|
|
33943
|
+
draggable: true,
|
|
33944
|
+
addAttributes() {
|
|
33945
|
+
return {
|
|
33946
|
+
src: {
|
|
33947
|
+
default: null
|
|
33948
|
+
},
|
|
33949
|
+
alt: {
|
|
33950
|
+
default: null
|
|
33951
|
+
},
|
|
33952
|
+
title: {
|
|
33953
|
+
default: null
|
|
33954
|
+
},
|
|
33955
|
+
width: {
|
|
33956
|
+
default: null
|
|
33957
|
+
},
|
|
33958
|
+
height: {
|
|
33959
|
+
default: null
|
|
33960
|
+
}
|
|
33961
|
+
};
|
|
33962
|
+
},
|
|
33963
|
+
parseHTML() {
|
|
33964
|
+
return [
|
|
33965
|
+
{
|
|
33966
|
+
tag: this.options.allowBase64 ? "img[src]" : 'img[src]:not([src^="data:"])'
|
|
33967
|
+
}
|
|
33968
|
+
];
|
|
33969
|
+
},
|
|
33970
|
+
renderHTML({ HTMLAttributes }) {
|
|
33971
|
+
return ["img", mergeAttributes(this.options.HTMLAttributes, HTMLAttributes)];
|
|
33972
|
+
},
|
|
33973
|
+
addCommands() {
|
|
33974
|
+
return {
|
|
33975
|
+
setImage: (options) => ({ commands }) => {
|
|
33976
|
+
return commands.insertContent({
|
|
33977
|
+
type: this.name,
|
|
33978
|
+
attrs: options
|
|
33979
|
+
});
|
|
33980
|
+
}
|
|
33981
|
+
};
|
|
33982
|
+
},
|
|
33983
|
+
addInputRules() {
|
|
33984
|
+
return [
|
|
33985
|
+
nodeInputRule({
|
|
33986
|
+
find: inputRegex,
|
|
33987
|
+
type: this.type,
|
|
33988
|
+
getAttributes: (match) => {
|
|
33989
|
+
const [, , alt, src, title] = match;
|
|
33990
|
+
return { src, alt, title };
|
|
33991
|
+
}
|
|
33992
|
+
})
|
|
33993
|
+
];
|
|
33994
|
+
}
|
|
33995
|
+
});
|
|
33427
33996
|
var readFromCache;
|
|
33428
33997
|
var addToCache;
|
|
33429
33998
|
if (typeof WeakMap != "undefined") {
|
|
@@ -36208,6 +36777,11 @@ const GeneralBlock = Node3.create({
|
|
|
36208
36777
|
return ["div", HTMLAttributes, 0];
|
|
36209
36778
|
}
|
|
36210
36779
|
});
|
|
36780
|
+
const Image$1 = Image$2.extend({
|
|
36781
|
+
renderHTML({ HTMLAttributes }) {
|
|
36782
|
+
return ["img", HTMLAttributes];
|
|
36783
|
+
}
|
|
36784
|
+
});
|
|
36211
36785
|
const Note = Node3.create({
|
|
36212
36786
|
name: "note",
|
|
36213
36787
|
group: "block",
|
|
@@ -36317,6 +36891,7 @@ const BgeWysiwygEditorKit = Extension.create({
|
|
|
36317
36891
|
name: "bge-wysiwyg-editor-kit",
|
|
36318
36892
|
addExtensions() {
|
|
36319
36893
|
return [
|
|
36894
|
+
Image$1,
|
|
36320
36895
|
FlexBox,
|
|
36321
36896
|
DescriptionList,
|
|
36322
36897
|
DescriptionListTermGroup,
|
|
@@ -36540,6 +37115,9 @@ const _BgeWysiwygElement = class _BgeWysiwygElement2 extends HTMLElement {
|
|
|
36540
37115
|
isActive(name) {
|
|
36541
37116
|
return this.editor.isActive(name) ?? false;
|
|
36542
37117
|
}
|
|
37118
|
+
setImage(options) {
|
|
37119
|
+
this.editor.chain().focus().setImage(options).run();
|
|
37120
|
+
}
|
|
36543
37121
|
setStyle(css) {
|
|
36544
37122
|
if (!__privateGet$1(this, _previewStyle)) {
|
|
36545
37123
|
throw new ReferenceError("<bge-wysiwyg> is not connected");
|
|
@@ -36703,6 +37281,10 @@ transaction_fn = function(editor) {
|
|
|
36703
37281
|
flexBox: {
|
|
36704
37282
|
disabled: !editor.can().chain().focus().toggleFlexBox().run(),
|
|
36705
37283
|
active: editor.isActive("flexBox")
|
|
37284
|
+
},
|
|
37285
|
+
image: {
|
|
37286
|
+
disabled: !editor.can().chain().focus().setImage({ src: "" }).run(),
|
|
37287
|
+
active: editor.isActive("image")
|
|
36706
37288
|
}
|
|
36707
37289
|
}
|
|
36708
37290
|
};
|
|
@@ -37314,25 +37896,36 @@ function apply_adjustments(error) {
|
|
|
37314
37896
|
}
|
|
37315
37897
|
}
|
|
37316
37898
|
let micro_tasks = [];
|
|
37899
|
+
let idle_tasks = [];
|
|
37317
37900
|
function run_micro_tasks() {
|
|
37318
37901
|
var tasks2 = micro_tasks;
|
|
37319
37902
|
micro_tasks = [];
|
|
37320
37903
|
run_all(tasks2);
|
|
37321
37904
|
}
|
|
37905
|
+
function run_idle_tasks() {
|
|
37906
|
+
var tasks2 = idle_tasks;
|
|
37907
|
+
idle_tasks = [];
|
|
37908
|
+
run_all(tasks2);
|
|
37909
|
+
}
|
|
37322
37910
|
function queue_micro_task(fn) {
|
|
37323
37911
|
if (micro_tasks.length === 0) {
|
|
37324
37912
|
queueMicrotask(run_micro_tasks);
|
|
37325
37913
|
}
|
|
37326
37914
|
micro_tasks.push(fn);
|
|
37327
37915
|
}
|
|
37328
|
-
function
|
|
37329
|
-
|
|
37916
|
+
function flush_tasks() {
|
|
37917
|
+
if (micro_tasks.length > 0) {
|
|
37918
|
+
run_micro_tasks();
|
|
37919
|
+
}
|
|
37920
|
+
if (idle_tasks.length > 0) {
|
|
37921
|
+
run_idle_tasks();
|
|
37922
|
+
}
|
|
37923
|
+
}
|
|
37924
|
+
function get_boundary() {
|
|
37925
|
+
const boundary = (
|
|
37330
37926
|
/** @type {Effect} */
|
|
37331
37927
|
active_effect.b
|
|
37332
37928
|
);
|
|
37333
|
-
while (boundary !== null && !boundary.has_pending_snippet()) {
|
|
37334
|
-
boundary = boundary.parent;
|
|
37335
|
-
}
|
|
37336
37929
|
if (boundary === null) {
|
|
37337
37930
|
await_outside_boundary();
|
|
37338
37931
|
}
|
|
@@ -37396,6 +37989,8 @@ function async_derived(fn, location2) {
|
|
|
37396
37989
|
async_effect(() => {
|
|
37397
37990
|
try {
|
|
37398
37991
|
var p = fn();
|
|
37992
|
+
if (prev) Promise.resolve(p).catch(() => {
|
|
37993
|
+
});
|
|
37399
37994
|
} catch (error) {
|
|
37400
37995
|
p = Promise.reject(error);
|
|
37401
37996
|
}
|
|
@@ -37406,7 +38001,7 @@ function async_derived(fn, location2) {
|
|
|
37406
38001
|
/** @type {Batch} */
|
|
37407
38002
|
current_batch
|
|
37408
38003
|
);
|
|
37409
|
-
var pending = boundary.
|
|
38004
|
+
var pending = boundary.is_pending();
|
|
37410
38005
|
if (should_suspend) {
|
|
37411
38006
|
boundary.update_pending_count(1);
|
|
37412
38007
|
if (!pending) batch.increment();
|
|
@@ -37512,9 +38107,7 @@ function update_derived(derived2) {
|
|
|
37512
38107
|
if (is_destroying_effect) {
|
|
37513
38108
|
return;
|
|
37514
38109
|
}
|
|
37515
|
-
|
|
37516
|
-
batch_deriveds.set(derived2, derived2.v);
|
|
37517
|
-
} else {
|
|
38110
|
+
{
|
|
37518
38111
|
var status = (skip_reaction || (derived2.f & UNOWNED) !== 0) && derived2.deps !== null ? MAYBE_DIRTY : CLEAN;
|
|
37519
38112
|
set_signal_status(derived2, status);
|
|
37520
38113
|
}
|
|
@@ -37531,7 +38124,7 @@ function flatten(sync, async, fn) {
|
|
|
37531
38124
|
active_effect
|
|
37532
38125
|
);
|
|
37533
38126
|
var restore = capture();
|
|
37534
|
-
var boundary =
|
|
38127
|
+
var boundary = get_boundary();
|
|
37535
38128
|
Promise.all(async.map((expression) => /* @__PURE__ */ async_derived(expression))).then((result) => {
|
|
37536
38129
|
batch?.activate();
|
|
37537
38130
|
restore();
|
|
@@ -37552,10 +38145,12 @@ function capture() {
|
|
|
37552
38145
|
var previous_effect = active_effect;
|
|
37553
38146
|
var previous_reaction = active_reaction;
|
|
37554
38147
|
var previous_component_context = component_context;
|
|
38148
|
+
var previous_batch2 = current_batch;
|
|
37555
38149
|
return function restore() {
|
|
37556
38150
|
set_active_effect(previous_effect);
|
|
37557
38151
|
set_active_reaction(previous_reaction);
|
|
37558
38152
|
set_component_context(previous_component_context);
|
|
38153
|
+
previous_batch2?.activate();
|
|
37559
38154
|
};
|
|
37560
38155
|
}
|
|
37561
38156
|
function unset_context() {
|
|
@@ -37566,7 +38161,6 @@ function unset_context() {
|
|
|
37566
38161
|
const batches = /* @__PURE__ */ new Set();
|
|
37567
38162
|
let current_batch = null;
|
|
37568
38163
|
let previous_batch = null;
|
|
37569
|
-
let batch_deriveds = null;
|
|
37570
38164
|
let effect_pending_updates = /* @__PURE__ */ new Set();
|
|
37571
38165
|
let tasks = [];
|
|
37572
38166
|
function dequeue() {
|
|
@@ -37582,6 +38176,7 @@ function dequeue() {
|
|
|
37582
38176
|
let queued_root_effects = [];
|
|
37583
38177
|
let last_scheduled_effect = null;
|
|
37584
38178
|
let is_flushing = false;
|
|
38179
|
+
let is_flushing_sync = false;
|
|
37585
38180
|
class Batch {
|
|
37586
38181
|
/**
|
|
37587
38182
|
* The current values of any sources that are updated in this batch
|
|
@@ -37669,24 +38264,6 @@ class Batch {
|
|
|
37669
38264
|
process(root_effects) {
|
|
37670
38265
|
queued_root_effects = [];
|
|
37671
38266
|
previous_batch = null;
|
|
37672
|
-
var current_values = null;
|
|
37673
|
-
if (batches.size > 1) {
|
|
37674
|
-
current_values = /* @__PURE__ */ new Map();
|
|
37675
|
-
batch_deriveds = /* @__PURE__ */ new Map();
|
|
37676
|
-
for (const [source2, current] of this.current) {
|
|
37677
|
-
current_values.set(source2, { v: source2.v, wv: source2.wv });
|
|
37678
|
-
source2.v = current;
|
|
37679
|
-
}
|
|
37680
|
-
for (const batch of batches) {
|
|
37681
|
-
if (batch === this) continue;
|
|
37682
|
-
for (const [source2, previous] of batch.#previous) {
|
|
37683
|
-
if (!current_values.has(source2)) {
|
|
37684
|
-
current_values.set(source2, { v: source2.v, wv: source2.wv });
|
|
37685
|
-
source2.v = previous;
|
|
37686
|
-
}
|
|
37687
|
-
}
|
|
37688
|
-
}
|
|
37689
|
-
}
|
|
37690
38267
|
for (const root2 of root_effects) {
|
|
37691
38268
|
this.#traverse_effect_tree(root2);
|
|
37692
38269
|
}
|
|
@@ -37712,14 +38289,6 @@ class Batch {
|
|
|
37712
38289
|
this.#defer_effects(this.#effects);
|
|
37713
38290
|
this.#defer_effects(this.#block_effects);
|
|
37714
38291
|
}
|
|
37715
|
-
if (current_values) {
|
|
37716
|
-
for (const [source2, { v: v2, wv }] of current_values) {
|
|
37717
|
-
if (source2.wv <= wv) {
|
|
37718
|
-
source2.v = v2;
|
|
37719
|
-
}
|
|
37720
|
-
}
|
|
37721
|
-
batch_deriveds = null;
|
|
37722
|
-
}
|
|
37723
38292
|
for (const effect2 of this.#async_effects) {
|
|
37724
38293
|
update_effect(effect2);
|
|
37725
38294
|
}
|
|
@@ -37749,7 +38318,7 @@ class Batch {
|
|
|
37749
38318
|
this.#effects.push(effect2);
|
|
37750
38319
|
} else if ((flags & CLEAN) === 0) {
|
|
37751
38320
|
if ((flags & ASYNC) !== 0) {
|
|
37752
|
-
var effects = effect2.b?.
|
|
38321
|
+
var effects = effect2.b?.is_pending() ? this.#boundary_async_effects : this.#async_effects;
|
|
37753
38322
|
effects.push(effect2);
|
|
37754
38323
|
} else if (is_dirty(effect2)) {
|
|
37755
38324
|
if ((effect2.f & BLOCK_EFFECT) !== 0) this.#block_effects.push(effect2);
|
|
@@ -37867,7 +38436,7 @@ class Batch {
|
|
|
37867
38436
|
if (current_batch === null) {
|
|
37868
38437
|
const batch = current_batch = new Batch();
|
|
37869
38438
|
batches.add(current_batch);
|
|
37870
|
-
{
|
|
38439
|
+
if (!is_flushing_sync) {
|
|
37871
38440
|
Batch.enqueue(() => {
|
|
37872
38441
|
if (current_batch !== batch) {
|
|
37873
38442
|
return;
|
|
@@ -37886,6 +38455,30 @@ class Batch {
|
|
|
37886
38455
|
tasks.unshift(task);
|
|
37887
38456
|
}
|
|
37888
38457
|
}
|
|
38458
|
+
function flushSync(fn) {
|
|
38459
|
+
var was_flushing_sync = is_flushing_sync;
|
|
38460
|
+
is_flushing_sync = true;
|
|
38461
|
+
try {
|
|
38462
|
+
var result;
|
|
38463
|
+
if (fn) ;
|
|
38464
|
+
while (true) {
|
|
38465
|
+
flush_tasks();
|
|
38466
|
+
if (queued_root_effects.length === 0) {
|
|
38467
|
+
current_batch?.flush();
|
|
38468
|
+
if (queued_root_effects.length === 0) {
|
|
38469
|
+
last_scheduled_effect = null;
|
|
38470
|
+
return (
|
|
38471
|
+
/** @type {T} */
|
|
38472
|
+
result
|
|
38473
|
+
);
|
|
38474
|
+
}
|
|
38475
|
+
}
|
|
38476
|
+
flush_effects();
|
|
38477
|
+
}
|
|
38478
|
+
} finally {
|
|
38479
|
+
is_flushing_sync = was_flushing_sync;
|
|
38480
|
+
}
|
|
38481
|
+
}
|
|
37889
38482
|
function flush_effects() {
|
|
37890
38483
|
var was_updating_effect = is_updating_effect;
|
|
37891
38484
|
is_flushing = true;
|
|
@@ -37932,7 +38525,7 @@ function flush_queued_effects(effects) {
|
|
|
37932
38525
|
effect2.fn = null;
|
|
37933
38526
|
}
|
|
37934
38527
|
}
|
|
37935
|
-
if (eager_block_effects
|
|
38528
|
+
if (eager_block_effects?.length > 0) {
|
|
37936
38529
|
old_values.clear();
|
|
37937
38530
|
for (const e of eager_block_effects) {
|
|
37938
38531
|
update_effect(e);
|
|
@@ -39052,6 +39645,10 @@ function update_effect(effect2) {
|
|
|
39052
39645
|
active_effect = previous_effect;
|
|
39053
39646
|
}
|
|
39054
39647
|
}
|
|
39648
|
+
async function tick() {
|
|
39649
|
+
await Promise.resolve();
|
|
39650
|
+
flushSync();
|
|
39651
|
+
}
|
|
39055
39652
|
function get2(signal) {
|
|
39056
39653
|
var flags = signal.f;
|
|
39057
39654
|
var is_derived = (flags & DERIVED) !== 0;
|
|
@@ -39110,9 +39707,6 @@ function get2(signal) {
|
|
|
39110
39707
|
} else if (is_derived) {
|
|
39111
39708
|
derived2 = /** @type {Derived} */
|
|
39112
39709
|
signal;
|
|
39113
|
-
if (batch_deriveds?.has(derived2)) {
|
|
39114
|
-
return batch_deriveds.get(derived2);
|
|
39115
|
-
}
|
|
39116
39710
|
if (is_dirty(derived2)) {
|
|
39117
39711
|
update_derived(derived2);
|
|
39118
39712
|
}
|
|
@@ -40607,9 +41201,10 @@ function get_attributes(element2) {
|
|
|
40607
41201
|
}
|
|
40608
41202
|
var setters_cache = /* @__PURE__ */ new Map();
|
|
40609
41203
|
function get_setters(element2) {
|
|
40610
|
-
var
|
|
41204
|
+
var cache_key = element2.getAttribute("is") || element2.nodeName;
|
|
41205
|
+
var setters = setters_cache.get(cache_key);
|
|
40611
41206
|
if (setters) return setters;
|
|
40612
|
-
setters_cache.set(
|
|
41207
|
+
setters_cache.set(cache_key, setters = []);
|
|
40613
41208
|
var descriptors;
|
|
40614
41209
|
var proto = element2;
|
|
40615
41210
|
var element_proto = Element.prototype;
|
|
@@ -40625,16 +41220,16 @@ function get_setters(element2) {
|
|
|
40625
41220
|
return setters;
|
|
40626
41221
|
}
|
|
40627
41222
|
function bind_value(input, get3, set2 = get3) {
|
|
40628
|
-
var runes = is_runes();
|
|
40629
41223
|
var batches2 = /* @__PURE__ */ new WeakSet();
|
|
40630
|
-
listen_to_event_and_reset_event(input, "input", (is_reset) => {
|
|
41224
|
+
listen_to_event_and_reset_event(input, "input", async (is_reset) => {
|
|
40631
41225
|
var value = is_reset ? input.defaultValue : input.value;
|
|
40632
41226
|
value = is_numberlike_input(input) ? to_number(value) : value;
|
|
40633
41227
|
set2(value);
|
|
40634
41228
|
if (current_batch !== null) {
|
|
40635
41229
|
batches2.add(current_batch);
|
|
40636
41230
|
}
|
|
40637
|
-
|
|
41231
|
+
await tick();
|
|
41232
|
+
if (value !== (value = get3())) {
|
|
40638
41233
|
var start = input.selectionStart;
|
|
40639
41234
|
var end = input.selectionEnd;
|
|
40640
41235
|
input.value = value ?? "";
|
|
@@ -41031,7 +41626,7 @@ function prop(props, key, flags, fallback) {
|
|
|
41031
41626
|
);
|
|
41032
41627
|
}
|
|
41033
41628
|
var root_4$3 = /* @__PURE__ */ from_html(`<img alt="" loading="lazy" class="svelte-zdu8xx"/>`);
|
|
41034
|
-
var root_3$
|
|
41629
|
+
var root_3$5 = /* @__PURE__ */ from_html(`<figure class="svelte-zdu8xx"><div class="img svelte-zdu8xx"><!></div> <figcaption class="svelte-zdu8xx"> </figcaption></figure>`);
|
|
41035
41630
|
var root_2$3 = /* @__PURE__ */ from_html(`<dd class="svelte-zdu8xx"><button type="button" class="svelte-zdu8xx"><!></button></dd>`);
|
|
41036
41631
|
var root_1$6 = /* @__PURE__ */ from_html(`<dt class="svelte-zdu8xx"> </dt> <div class="svelte-zdu8xx"></div>`, 1);
|
|
41037
41632
|
var root$b = /* @__PURE__ */ from_html(`<div class="block-catalog"><dl class="svelte-zdu8xx"></dl></div>`);
|
|
@@ -41067,7 +41662,7 @@ function Block_catalog($$anchor, $$props) {
|
|
|
41067
41662
|
var node = child(button);
|
|
41068
41663
|
{
|
|
41069
41664
|
var consequent_2 = ($$anchor4) => {
|
|
41070
|
-
var figure = root_3$
|
|
41665
|
+
var figure = root_3$5();
|
|
41071
41666
|
var div_2 = child(figure);
|
|
41072
41667
|
var node_1 = child(div_2);
|
|
41073
41668
|
{
|
|
@@ -41714,62 +42309,138 @@ function Block_menu($$anchor, $$props) {
|
|
|
41714
42309
|
append2($$anchor, div);
|
|
41715
42310
|
pop();
|
|
41716
42311
|
}
|
|
41717
|
-
|
|
41718
|
-
|
|
41719
|
-
|
|
41720
|
-
|
|
41721
|
-
var
|
|
41722
|
-
var
|
|
41723
|
-
var
|
|
41724
|
-
var
|
|
42312
|
+
function handleContainerTypeChange(e, currentContainerType) {
|
|
42313
|
+
const target = e.currentTarget;
|
|
42314
|
+
set(currentContainerType, target.value, true);
|
|
42315
|
+
}
|
|
42316
|
+
var root_2$2 = /* @__PURE__ */ from_html(`<label><span>コンテナタイプ</span> <output> </output></label>`);
|
|
42317
|
+
var root_3$4 = /* @__PURE__ */ from_html(`<label><span>コンテナタイプ</span> <select name="bge-options-container-type"><option> </option><option> </option></select></label>`);
|
|
42318
|
+
var root_4$2 = /* @__PURE__ */ from_html(`<label><span>セマンティック要素</span> <select name="bge-options-frame-semantics"><option>div(汎用)</option><option>ul(順序なしリスト)</option><option>ol(順序ありリスト)</option></select></label>`);
|
|
42319
|
+
var root_5$2 = /* @__PURE__ */ from_html(`<div role="radiogroup" aria-labelledby="justify-group"><div id="justify-group">横方向配置</div> <label><input type="radio" name="bge-options-justify" value="center"/><span>中央寄せ</span></label> <label><input type="radio" name="bge-options-justify" value="start"/><span>左寄せ</span></label> <label><input type="radio" name="bge-options-justify" value="end"/><span>右寄せ</span></label> <label><input type="radio" name="bge-options-justify" value="between"/><span>両端寄せ</span></label> <label><input type="radio" name="bge-options-justify" value="around"/><span>要素間余白均等</span></label> <label><input type="radio" name="bge-options-justify" value="evenly"/><span>要素間均等</span></label></div> <div role="radiogroup" aria-labelledby="align-group"><div id="align-group">縦向配置</div> <label><input type="radio" name="bge-options-align" value="align-center"/><span>垂直中央寄せ</span></label> <label><input type="radio" name="bge-options-align" value="align-start"/><span>上寄せ</span></label> <label><input type="radio" name="bge-options-align" value="align-end"/><span>下寄せ</span></label> <label><input type="radio" name="bge-options-align" value="align-stretch"/><span>伸縮</span></label> <label><input type="radio" name="bge-options-align" value="align-baseline"/><span>ベースライン</span></label></div>`, 1);
|
|
42320
|
+
var root_7$2 = /* @__PURE__ */ from_html(`<p>このブロックはコンテナタイプを変更できません。</p>`);
|
|
42321
|
+
var root_8$1 = /* @__PURE__ */ from_html(`<label><span>基準列数</span> <output> </output> <input name="bge-options-columns" type="range" min="1" max="5"/></label> <label><span>列の自動調整</span> <select name="bge-options-auto-repeat"><option>固定列数</option><option>auto-fill(空白保持)</option><option>auto-fit(空白最小)</option></select></label> <small>規定幅(<code title="CSSカスタムプロパティ: --bge-auto-repeat-base-width に設定されている値"> </code>)を基準に「基準列数: <code> </code>」で割った数値に近い幅を保ちます。「空白保持」は空のスペースを残し、「空白最小」はアイテムの幅を広げます。</small>`, 1);
|
|
42322
|
+
var root_9$1 = /* @__PURE__ */ from_html(`<div role="radiogroup" aria-labelledby="float-group"><div id="float-group">回り込み</div> <label><input type="radio" name="bge-options-float" value="start"/><span>左寄せ</span></label> <label><input type="radio" name="bge-options-float" value="end"/><span>右寄せ</span></label></div>`);
|
|
42323
|
+
var root_1$5 = /* @__PURE__ */ from_html(`<fieldset><legend>コンテナ特性</legend> <!> <!> <!> <!> <!></fieldset>`);
|
|
42324
|
+
var root_12$1 = /* @__PURE__ */ from_html(`<option> </option>`);
|
|
42325
|
+
var root_11$1 = /* @__PURE__ */ from_html(`<label><span> </span> <select></select></label>`);
|
|
42326
|
+
var root_10$1 = /* @__PURE__ */ from_html(`<fieldset><legend>ブロックのスタイル拡張</legend> <!></fieldset>`);
|
|
41725
42327
|
var root$7 = /* @__PURE__ */ from_html(`<!> <!> <label><span>独自class設定</span> <input type="text" name="bge-options-classes" aria-describedby="block-option-classes-desc"/></label> <small id="block-option-classes-desc">複数指定する場合はスペース(空白文字)で区切ってください。</small> <label><span>ID設定: <code>bge-</code></span> <input name="bge-options-id" type="text" aria-describedby="block-option-id-desc"/></label> <small id="block-option-id-desc">アンカーリンク用のID属性を設定します。実際のIDは<code>bge-</code>が自動的に先頭に付加されます。</small>`, 1);
|
|
41726
42328
|
function Block_options($$anchor, $$props) {
|
|
41727
42329
|
push($$props, true);
|
|
41728
42330
|
const containerTypeLabel = { grid: "グリッド", inline: "横並び", float: "左右折り返し" };
|
|
41729
42331
|
const currentBlock = $$props.engine.getCurrentBlock();
|
|
41730
|
-
const cssProps = $$props.engine.getCustomProperties();
|
|
41731
42332
|
if (!currentBlock) {
|
|
41732
42333
|
throw new Error("currentBlock is null");
|
|
41733
42334
|
}
|
|
41734
42335
|
const options = currentBlock.exportOptions();
|
|
41735
|
-
const
|
|
42336
|
+
const cssProps = $$props.engine.getCustomProperties(options.props.type);
|
|
42337
|
+
const autoRepeatBaseWidth = $$props.engine.getCustomProperty("--bge-auto-repeat-base-width");
|
|
41736
42338
|
let currentColumns = /* @__PURE__ */ state(proxy(options.props.columns ?? 1));
|
|
42339
|
+
let currentContainerType = /* @__PURE__ */ state(proxy(options.props.type));
|
|
42340
|
+
let currentFrameSemantics = /* @__PURE__ */ state(proxy(options.props.frameSemantics));
|
|
42341
|
+
const itemCount = /* @__PURE__ */ user_derived(() => currentBlock.items.length);
|
|
42342
|
+
const effectiveContainerType = /* @__PURE__ */ user_derived(() => options.props.type === "float" ? options.props.type : get2(currentContainerType));
|
|
42343
|
+
function handleFrameSemanticsChange(e) {
|
|
42344
|
+
const target = e.currentTarget;
|
|
42345
|
+
const newSemantics = target.value;
|
|
42346
|
+
if (!currentBlock) {
|
|
42347
|
+
return;
|
|
42348
|
+
}
|
|
42349
|
+
try {
|
|
42350
|
+
currentBlock.changeFrameSemantics(newSemantics);
|
|
42351
|
+
set(currentFrameSemantics, newSemantics, true);
|
|
42352
|
+
} catch {
|
|
42353
|
+
target.value = get2(currentFrameSemantics);
|
|
42354
|
+
}
|
|
42355
|
+
}
|
|
41737
42356
|
var fragment = root$7();
|
|
41738
42357
|
var node = first_child(fragment);
|
|
41739
42358
|
{
|
|
41740
|
-
var
|
|
42359
|
+
var consequent_6 = ($$anchor2) => {
|
|
41741
42360
|
var fieldset = root_1$5();
|
|
41742
|
-
var
|
|
41743
|
-
var output = sibling(child(label), 2);
|
|
41744
|
-
var text2 = child(output);
|
|
41745
|
-
var node_1 = sibling(label, 2);
|
|
42361
|
+
var node_1 = sibling(child(fieldset), 2);
|
|
41746
42362
|
{
|
|
41747
42363
|
var consequent = ($$anchor3) => {
|
|
41748
|
-
var
|
|
42364
|
+
var label = root_2$2();
|
|
42365
|
+
var output = sibling(child(label), 2);
|
|
42366
|
+
var text2 = child(output);
|
|
42367
|
+
template_effect(() => set_text(text2, `${containerTypeLabel[options.props.type] ?? ""} (${options.props.type ?? ""})`));
|
|
42368
|
+
append2($$anchor3, label);
|
|
42369
|
+
};
|
|
42370
|
+
var alternate = ($$anchor3) => {
|
|
42371
|
+
var label_1 = root_3$4();
|
|
42372
|
+
var select = sibling(child(label_1), 2);
|
|
42373
|
+
select.__change = [handleContainerTypeChange, currentContainerType];
|
|
42374
|
+
var option = child(select);
|
|
42375
|
+
var text_1 = child(option);
|
|
42376
|
+
option.value = option.__value = "grid";
|
|
42377
|
+
var option_1 = sibling(option);
|
|
42378
|
+
var text_2 = child(option_1);
|
|
42379
|
+
option_1.value = option_1.__value = "inline";
|
|
42380
|
+
template_effect(() => {
|
|
42381
|
+
set_selected(option, get2(currentContainerType) === "grid");
|
|
42382
|
+
set_text(text_1, containerTypeLabel.grid);
|
|
42383
|
+
set_selected(option_1, get2(currentContainerType) === "inline");
|
|
42384
|
+
set_text(text_2, containerTypeLabel.inline);
|
|
42385
|
+
});
|
|
42386
|
+
append2($$anchor3, label_1);
|
|
42387
|
+
};
|
|
42388
|
+
if_block(node_1, ($$render) => {
|
|
42389
|
+
if (options.props.immutable || options.props.type === "float") $$render(consequent);
|
|
42390
|
+
else $$render(alternate, false);
|
|
42391
|
+
});
|
|
42392
|
+
}
|
|
42393
|
+
var node_2 = sibling(node_1, 2);
|
|
42394
|
+
{
|
|
42395
|
+
var consequent_1 = ($$anchor3) => {
|
|
42396
|
+
var label_2 = root_4$2();
|
|
42397
|
+
var select_1 = sibling(child(label_2), 2);
|
|
42398
|
+
select_1.__change = handleFrameSemanticsChange;
|
|
42399
|
+
var option_2 = child(select_1);
|
|
42400
|
+
option_2.value = option_2.__value = "div";
|
|
42401
|
+
var option_3 = sibling(option_2);
|
|
42402
|
+
option_3.value = option_3.__value = "ul";
|
|
42403
|
+
var option_4 = sibling(option_3);
|
|
42404
|
+
option_4.value = option_4.__value = "ol";
|
|
42405
|
+
template_effect(() => {
|
|
42406
|
+
set_selected(option_2, get2(currentFrameSemantics) === "div");
|
|
42407
|
+
set_selected(option_3, get2(currentFrameSemantics) === "ul");
|
|
42408
|
+
set_selected(option_4, get2(currentFrameSemantics) === "ol");
|
|
42409
|
+
});
|
|
42410
|
+
append2($$anchor3, label_2);
|
|
42411
|
+
};
|
|
42412
|
+
if_block(node_2, ($$render) => {
|
|
42413
|
+
if (!options.props.immutable && options.props.type !== "float") $$render(consequent_1);
|
|
42414
|
+
});
|
|
42415
|
+
}
|
|
42416
|
+
var node_3 = sibling(node_2, 2);
|
|
42417
|
+
{
|
|
42418
|
+
var consequent_2 = ($$anchor3) => {
|
|
42419
|
+
var fragment_1 = root_5$2();
|
|
41749
42420
|
var div = first_child(fragment_1);
|
|
41750
|
-
var
|
|
41751
|
-
var input = child(
|
|
41752
|
-
var label_2 = sibling(label_1, 2);
|
|
41753
|
-
var input_1 = child(label_2);
|
|
41754
|
-
var label_3 = sibling(label_2, 2);
|
|
41755
|
-
var input_2 = child(label_3);
|
|
42421
|
+
var label_3 = sibling(child(div), 2);
|
|
42422
|
+
var input = child(label_3);
|
|
41756
42423
|
var label_4 = sibling(label_3, 2);
|
|
41757
|
-
var
|
|
42424
|
+
var input_1 = child(label_4);
|
|
41758
42425
|
var label_5 = sibling(label_4, 2);
|
|
41759
|
-
var
|
|
42426
|
+
var input_2 = child(label_5);
|
|
41760
42427
|
var label_6 = sibling(label_5, 2);
|
|
41761
|
-
var
|
|
41762
|
-
var
|
|
41763
|
-
var
|
|
41764
|
-
var input_6 = child(label_7);
|
|
42428
|
+
var input_3 = child(label_6);
|
|
42429
|
+
var label_7 = sibling(label_6, 2);
|
|
42430
|
+
var input_4 = child(label_7);
|
|
41765
42431
|
var label_8 = sibling(label_7, 2);
|
|
41766
|
-
var
|
|
41767
|
-
var
|
|
41768
|
-
var
|
|
42432
|
+
var input_5 = child(label_8);
|
|
42433
|
+
var div_1 = sibling(div, 2);
|
|
42434
|
+
var label_9 = sibling(child(div_1), 2);
|
|
42435
|
+
var input_6 = child(label_9);
|
|
41769
42436
|
var label_10 = sibling(label_9, 2);
|
|
41770
|
-
var
|
|
42437
|
+
var input_7 = child(label_10);
|
|
41771
42438
|
var label_11 = sibling(label_10, 2);
|
|
41772
|
-
var
|
|
42439
|
+
var input_8 = child(label_11);
|
|
42440
|
+
var label_12 = sibling(label_11, 2);
|
|
42441
|
+
var input_9 = child(label_12);
|
|
42442
|
+
var label_13 = sibling(label_12, 2);
|
|
42443
|
+
var input_10 = child(label_13);
|
|
41773
42444
|
template_effect(() => {
|
|
41774
42445
|
input.defaultChecked = options.props.justify === "center";
|
|
41775
42446
|
input_1.defaultChecked = options.props.justify === "start";
|
|
@@ -41785,134 +42456,141 @@ function Block_options($$anchor, $$props) {
|
|
|
41785
42456
|
});
|
|
41786
42457
|
append2($$anchor3, fragment_1);
|
|
41787
42458
|
};
|
|
41788
|
-
if_block(
|
|
41789
|
-
if (options.props.
|
|
42459
|
+
if_block(node_3, ($$render) => {
|
|
42460
|
+
if (get2(effectiveContainerType) === "inline" && !(options.props.immutable && get2(itemCount) === 1)) $$render(consequent_2);
|
|
41790
42461
|
});
|
|
41791
42462
|
}
|
|
41792
|
-
var
|
|
42463
|
+
var node_4 = sibling(node_3, 2);
|
|
41793
42464
|
{
|
|
41794
|
-
var
|
|
42465
|
+
var consequent_4 = ($$anchor3) => {
|
|
41795
42466
|
var fragment_2 = comment();
|
|
41796
|
-
var
|
|
42467
|
+
var node_5 = first_child(fragment_2);
|
|
41797
42468
|
{
|
|
41798
|
-
var
|
|
41799
|
-
var p =
|
|
42469
|
+
var consequent_3 = ($$anchor4) => {
|
|
42470
|
+
var p = root_7$2();
|
|
41800
42471
|
append2($$anchor4, p);
|
|
41801
42472
|
};
|
|
41802
|
-
var
|
|
41803
|
-
var fragment_3 =
|
|
41804
|
-
var
|
|
41805
|
-
var output_1 = sibling(child(
|
|
41806
|
-
var
|
|
42473
|
+
var alternate_1 = ($$anchor4) => {
|
|
42474
|
+
var fragment_3 = root_8$1();
|
|
42475
|
+
var label_14 = first_child(fragment_3);
|
|
42476
|
+
var output_1 = sibling(child(label_14), 2);
|
|
42477
|
+
var text_3 = child(output_1);
|
|
41807
42478
|
var input_11 = sibling(output_1, 2);
|
|
41808
|
-
var
|
|
41809
|
-
var
|
|
41810
|
-
var
|
|
42479
|
+
var label_15 = sibling(label_14, 2);
|
|
42480
|
+
var select_2 = sibling(child(label_15), 2);
|
|
42481
|
+
var option_5 = child(select_2);
|
|
42482
|
+
option_5.value = option_5.__value = "fixed";
|
|
42483
|
+
var option_6 = sibling(option_5);
|
|
42484
|
+
option_6.value = option_6.__value = "auto-fill";
|
|
42485
|
+
var option_7 = sibling(option_6);
|
|
42486
|
+
option_7.value = option_7.__value = "auto-fit";
|
|
42487
|
+
var small = sibling(label_15, 2);
|
|
41811
42488
|
var code = sibling(child(small));
|
|
41812
|
-
var
|
|
42489
|
+
var text_4 = child(code);
|
|
41813
42490
|
var code_1 = sibling(code, 2);
|
|
41814
|
-
var
|
|
42491
|
+
var text_5 = child(code_1);
|
|
41815
42492
|
template_effect(() => {
|
|
41816
|
-
set_text(text_1, get2(currentColumns));
|
|
41817
|
-
input_11.defaultValue = options.props.columns ?? 1;
|
|
41818
|
-
input_12.defaultChecked = options.props.autoFit;
|
|
41819
|
-
set_text(text_2, autoFitBaseWidth);
|
|
41820
42493
|
set_text(text_3, get2(currentColumns));
|
|
42494
|
+
input_11.defaultValue = options.props.columns ?? 1;
|
|
42495
|
+
set_selected(option_5, (options.props.autoRepeat ?? "fixed") === "fixed");
|
|
42496
|
+
set_selected(option_6, options.props.autoRepeat === "auto-fill");
|
|
42497
|
+
set_selected(option_7, options.props.autoRepeat === "auto-fit");
|
|
42498
|
+
set_text(text_4, autoRepeatBaseWidth);
|
|
42499
|
+
set_text(text_5, get2(currentColumns));
|
|
41821
42500
|
});
|
|
41822
42501
|
bind_value(input_11, () => get2(currentColumns), ($$value) => set(currentColumns, $$value));
|
|
41823
42502
|
append2($$anchor4, fragment_3);
|
|
41824
42503
|
};
|
|
41825
|
-
if_block(
|
|
41826
|
-
if (options.props.immutable) $$render(
|
|
41827
|
-
else $$render(
|
|
42504
|
+
if_block(node_5, ($$render) => {
|
|
42505
|
+
if (options.props.immutable || options.props.type === "float") $$render(consequent_3);
|
|
42506
|
+
else $$render(alternate_1, false);
|
|
41828
42507
|
});
|
|
41829
42508
|
}
|
|
41830
42509
|
append2($$anchor3, fragment_2);
|
|
41831
42510
|
};
|
|
41832
|
-
if_block(
|
|
41833
|
-
if (
|
|
42511
|
+
if_block(node_4, ($$render) => {
|
|
42512
|
+
if (get2(effectiveContainerType) === "grid") $$render(consequent_4);
|
|
41834
42513
|
});
|
|
41835
42514
|
}
|
|
41836
|
-
var
|
|
42515
|
+
var node_6 = sibling(node_4, 2);
|
|
41837
42516
|
{
|
|
41838
|
-
var
|
|
41839
|
-
var div_2 =
|
|
41840
|
-
var
|
|
41841
|
-
var
|
|
41842
|
-
var
|
|
41843
|
-
var
|
|
42517
|
+
var consequent_5 = ($$anchor3) => {
|
|
42518
|
+
var div_2 = root_9$1();
|
|
42519
|
+
var label_16 = sibling(child(div_2), 2);
|
|
42520
|
+
var input_12 = child(label_16);
|
|
42521
|
+
var label_17 = sibling(label_16, 2);
|
|
42522
|
+
var input_13 = child(label_17);
|
|
41844
42523
|
template_effect(() => {
|
|
41845
|
-
|
|
41846
|
-
|
|
42524
|
+
input_12.defaultChecked = options.props.float === "start";
|
|
42525
|
+
input_13.defaultChecked = options.props.float === "end";
|
|
41847
42526
|
});
|
|
41848
42527
|
append2($$anchor3, div_2);
|
|
41849
42528
|
};
|
|
41850
|
-
if_block(
|
|
41851
|
-
if (
|
|
42529
|
+
if_block(node_6, ($$render) => {
|
|
42530
|
+
if (get2(effectiveContainerType) === "float") $$render(consequent_5);
|
|
41852
42531
|
});
|
|
41853
42532
|
}
|
|
41854
|
-
template_effect(() => set_text(text2, `${containerTypeLabel[options.props.type] ?? ""} (${options.props.type ?? ""})`));
|
|
41855
42533
|
append2($$anchor2, fieldset);
|
|
41856
42534
|
};
|
|
41857
42535
|
if_block(node, ($$render) => {
|
|
41858
|
-
if (options) $$render(
|
|
42536
|
+
if (options) $$render(consequent_6);
|
|
41859
42537
|
});
|
|
41860
42538
|
}
|
|
41861
|
-
var
|
|
42539
|
+
var node_7 = sibling(node, 2);
|
|
41862
42540
|
{
|
|
41863
|
-
var
|
|
41864
|
-
var fieldset_1 =
|
|
41865
|
-
var
|
|
41866
|
-
each(
|
|
42541
|
+
var consequent_7 = ($$anchor2) => {
|
|
42542
|
+
var fieldset_1 = root_10$1();
|
|
42543
|
+
var node_8 = sibling(child(fieldset_1), 2);
|
|
42544
|
+
each(node_8, 17, () => cssProps, ([, category]) => `bge-options-style-${category.id}`, ($$anchor3, $$item) => {
|
|
41867
42545
|
var $$array = /* @__PURE__ */ user_derived(() => to_array(get2($$item), 2));
|
|
41868
|
-
let category = () => get2($$array)[
|
|
41869
|
-
|
|
41870
|
-
var
|
|
41871
|
-
var
|
|
41872
|
-
var
|
|
41873
|
-
|
|
41874
|
-
each(select, 21, props, ([propName, data]) => propName, ($$anchor4, $$item2) => {
|
|
42546
|
+
let category = () => get2($$array)[1];
|
|
42547
|
+
var label_18 = root_11$1();
|
|
42548
|
+
var span = child(label_18);
|
|
42549
|
+
var text_6 = child(span);
|
|
42550
|
+
var select_3 = sibling(span, 2);
|
|
42551
|
+
each(select_3, 21, () => category().properties, ([propName, data]) => propName, ($$anchor4, $$item2) => {
|
|
41875
42552
|
var $$array_1 = /* @__PURE__ */ user_derived(() => to_array(get2($$item2), 2));
|
|
41876
42553
|
let propName = () => get2($$array_1)[0];
|
|
41877
42554
|
let data = () => get2($$array_1)[1];
|
|
41878
|
-
var
|
|
41879
|
-
var
|
|
41880
|
-
var
|
|
42555
|
+
var option_8 = root_12$1();
|
|
42556
|
+
var text_7 = child(option_8);
|
|
42557
|
+
var option_8_value = {};
|
|
41881
42558
|
template_effect(() => {
|
|
41882
|
-
set_selected(
|
|
41883
|
-
set_text(
|
|
41884
|
-
if (
|
|
41885
|
-
|
|
42559
|
+
set_selected(option_8, options.style[category().id] === propName() || data().isDefault);
|
|
42560
|
+
set_text(text_7, `${propName()} (${data().value})`);
|
|
42561
|
+
if (option_8_value !== (option_8_value = data().isDefault ? "@@default" : propName())) {
|
|
42562
|
+
option_8.value = (option_8.__value = data().isDefault ? "@@default" : propName()) ?? "";
|
|
41886
42563
|
}
|
|
41887
42564
|
});
|
|
41888
|
-
append2($$anchor4,
|
|
42565
|
+
append2($$anchor4, option_8);
|
|
41889
42566
|
});
|
|
41890
42567
|
template_effect(() => {
|
|
41891
|
-
set_text(
|
|
41892
|
-
set_attribute(
|
|
42568
|
+
set_text(text_6, category().name);
|
|
42569
|
+
set_attribute(select_3, "name", `bge-options-style-${category().id}`);
|
|
41893
42570
|
});
|
|
41894
|
-
append2($$anchor3,
|
|
42571
|
+
append2($$anchor3, label_18);
|
|
41895
42572
|
});
|
|
41896
42573
|
append2($$anchor2, fieldset_1);
|
|
41897
42574
|
};
|
|
41898
|
-
if_block(
|
|
41899
|
-
if (cssProps.size > 0) $$render(
|
|
42575
|
+
if_block(node_7, ($$render) => {
|
|
42576
|
+
if (cssProps.size > 0) $$render(consequent_7);
|
|
41900
42577
|
});
|
|
41901
42578
|
}
|
|
41902
|
-
var
|
|
41903
|
-
var
|
|
41904
|
-
var
|
|
41905
|
-
var
|
|
42579
|
+
var label_19 = sibling(node_7, 2);
|
|
42580
|
+
var input_14 = sibling(child(label_19), 2);
|
|
42581
|
+
var label_20 = sibling(label_19, 4);
|
|
42582
|
+
var input_15 = sibling(child(label_20), 2);
|
|
41906
42583
|
template_effect(
|
|
41907
42584
|
($0) => {
|
|
41908
|
-
|
|
41909
|
-
|
|
42585
|
+
input_14.defaultValue = $0;
|
|
42586
|
+
input_15.defaultValue = options.id ?? "";
|
|
41910
42587
|
},
|
|
41911
42588
|
[() => options.classList.join(" ") ?? ""]
|
|
41912
42589
|
);
|
|
41913
42590
|
append2($$anchor, fragment);
|
|
41914
42591
|
pop();
|
|
41915
42592
|
}
|
|
42593
|
+
delegate(["change"]);
|
|
41916
42594
|
function File($$anchor, $$props) {
|
|
41917
42595
|
const $$sanitized_props = legacy_rest_props($$props, ["children", "$$slots", "$$events", "$$legacy"]);
|
|
41918
42596
|
const iconNode = [
|
|
@@ -43388,47 +44066,18 @@ async function createEditor() {
|
|
|
43388
44066
|
blocks,
|
|
43389
44067
|
items,
|
|
43390
44068
|
generalCSS: general,
|
|
43391
|
-
catalog:
|
|
43392
|
-
"見出し / テキスト / テキスト+画像": {
|
|
43393
|
-
title: "大見出し",
|
|
43394
|
-
title2: "中見出し",
|
|
43395
|
-
wysiwyg: "1カラムテキスト",
|
|
43396
|
-
wysiwyg2: "2カラムテキスト",
|
|
43397
|
-
"text-float-image1": "画像右寄せ: テキスト回り込み",
|
|
43398
|
-
"text-float-image2": "画像左寄せ: テキスト回り込み",
|
|
43399
|
-
"text-image1": "画像右寄せ: テキスト回り込み無し",
|
|
43400
|
-
"text-image2": "画像左寄せ: テキスト回り込み無し"
|
|
43401
|
-
},
|
|
43402
|
-
画像: {
|
|
43403
|
-
image: "画像1列",
|
|
43404
|
-
image2: "画像2列",
|
|
43405
|
-
image3: "画像3列",
|
|
43406
|
-
image4: "画像4列",
|
|
43407
|
-
image5: "画像5列"
|
|
43408
|
-
},
|
|
43409
|
-
"画像+テキスト": {
|
|
43410
|
-
"image-text2": "画像2列: テキスト付",
|
|
43411
|
-
"image-text3": "画像3列: テキスト付",
|
|
43412
|
-
"image-text4": "画像4列: テキスト付",
|
|
43413
|
-
"image-text5": "画像5列: テキスト付"
|
|
43414
|
-
},
|
|
43415
|
-
ボタン: {
|
|
43416
|
-
button: "ボタン",
|
|
43417
|
-
button2: "ボタン x2",
|
|
43418
|
-
button3: "ボタン x3",
|
|
43419
|
-
"download-file": "ファイルダウンロード",
|
|
43420
|
-
"download-file2": "ファイルダウンロード x2",
|
|
43421
|
-
"download-file3": "ファイルダウンロード x3"
|
|
43422
|
-
},
|
|
43423
|
-
その他: {
|
|
43424
|
-
table: "2カラムテーブル",
|
|
43425
|
-
"google-maps": "Google Maps",
|
|
43426
|
-
youtube: "YouTube",
|
|
43427
|
-
hr: "区切り線",
|
|
43428
|
-
disclosure: "折りたたみ"
|
|
43429
|
-
}
|
|
43430
|
-
},
|
|
44069
|
+
catalog: defaultCatalog,
|
|
43431
44070
|
initialContents: mainInput.value,
|
|
44071
|
+
healthCheck: config.healthCheck ? {
|
|
44072
|
+
...config.healthCheck,
|
|
44073
|
+
async checkHealth() {
|
|
44074
|
+
const response = await client.api.health.$get().catch((error) => error);
|
|
44075
|
+
if (response instanceof Error) {
|
|
44076
|
+
return false;
|
|
44077
|
+
}
|
|
44078
|
+
return response.ok;
|
|
44079
|
+
}
|
|
44080
|
+
} : void 0,
|
|
43432
44081
|
async onUpdated(content) {
|
|
43433
44082
|
if (mainInput.value === content) {
|
|
43434
44083
|
return;
|