"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4],{4:(O,$,a)=>{a.r($),a.d($,{closePercentBrace:()=>_,liquid:()=>w,liquidCompletionSource:()=>y,liquidLanguage:()=>R});var e=a(4859),i=a(5221),r=a(1345),n=a(4450),t=a(4179),Q=a(2400),c=a(4563);const o=new t.Lu((O=>{let $=O.pos;for(;;){let{next:a}=O;if(a<0)break;if(123==a){let a=O.peek(1);if(123==a){if(O.pos>$)break;return void O.acceptToken(1,2)}if(37==a){if(O.pos>$)break;let a=2,e=2;for(;;){let $=O.peek(a);if(32==$||10==$)++a;else if(35==$)for(++a;;){let $=O.peek(a);if($<0||10==$)break;a++}else{if(45!=$||2!=e){let i=101==$&&110==O.peek(a+1)&&100==O.peek(a+2);return void O.acceptToken(i?3:2,e)}e=++a}}}}if(O.advance(),10==a)break}O.pos>$&&O.acceptToken(180)}));function l(O,$,a){return new t.Lu((e=>{let i=e.pos;for(;;){let{next:$}=e;if(123==$&&37==e.peek(1)){let $=2;for(;;$++){let O=e.peek($);if(32!=O&&10!=O)break}let n="";for(;;$++){let O=e.peek($);if(!((r=O)>=65&&r<=90||r>=97&&r<=122))break;n+=String.fromCharCode(O)}if(n==O){if(e.pos>i)break;e.acceptToken(a,2);break}}else if($<0)break;if(e.advance(),10==$)break}var r;e.pos>i&&e.acceptToken($)}))}const s=l("endcomment",182,5),m=l("endraw",181,4),P=new t.Lu((O=>{if(35==O.next){for(O.advance();!(10==O.next||O.next<0)&&(37!=O.next&&125!=O.next||125!=O.peek(1));)O.advance();O.acceptToken(6)}})),p={__proto__:null,contains:32,or:36,and:36,true:50,false:50,empty:52,forloop:54,tablerowloop:56,continue:58,in:128,with:194,for:196,as:198,if:234,endif:238,unless:244,endunless:248,elsif:252,else:256,case:262,endcase:266,when:270,endfor:278,tablerow:284,endtablerow:288,break:292,cycle:298,echo:302,render:306,include:312,assign:316,capture:322,endcapture:326,increment:330,decrement:334},q={__proto__:null,if:82,endif:86,elsif:90,else:94,unless:100,endunless:104,case:110,endcase:114,when:118,for:126,endfor:136,tablerow:142,endtablerow:146,break:150,continue:154,cycle:158,comment:164,endcomment:170,raw:176,endraw:182,echo:186,render:190,include:202,assign:206,capture:212,endcapture:216,increment:220,decrement:224,liquid:228},d=t.U1.deserialize({version:14,states:"HOQYOPOOOOOP'#F{'#F{OeOaO'#CdOsQhO'#CfO!bQxO'#DQO#{OPO'#DTO$ZOPO'#D^O$iOPO'#DcO$wOPO'#DkO%VOPO'#DsO%eOSO'#EOO%jOQO'#EUO%oOPO'#EhOOOP'#G`'#G`OOOP'#G]'#G]OOOP'#Fz'#FzQYOPOOOOOP-E9y-E9yOOQW'#Cg'#CgO&`Q!jO,59QO&gQ!jO'#G^OsQhO'#CsOOQW'#G^'#G^OOOP,59l,59lO)PQhO,59lOsQhO,59pOsQhO,59tO)ZQhO,59vOsQhO,59yOsQhO,5:OOsQhO,5:SO!]QhO,5:WO!]QhO,5:`O)`QhO,5:dO)eQhO,5:fO)jQhO,5:hO)oQhO,5:kO)tQhO,5:qOsQhO,5:vOsQhO,5:xOsQhO,5;OOsQhO,5;QOsQhO,5;TOsQhO,5;XOsQhO,5;ZO+TQhO,5;]O+[OPO'#CdOOOP,59o,59oO#{OPO,59oO+jQxO'#DWOOOP,59x,59xO$ZOPO,59xO+oQxO'#DaOOOP,59},59}O$iOPO,59}O+tQxO'#DfOOOP,5:V,5:VO$wOPO,5:VO+yQxO'#DqOOOP,5:_,5:_O%VOPO,5:_O,OQxO'#DvOOOS'#GQ'#GQO,TOSO'#ERO,]OSO,5:jOOOQ'#GR'#GRO,bOQO'#EXO,jOQO,5:pOOOP,5;S,5;SO%oOPO,5;SO,oQxO'#EkOOOP-E9x-E9xO,tQ#|O,59SOsQhO,59VOsQhO,59VO,yQhO'#C|OOQW'#F|'#F|O-OQhO1G.lOOOP1G.l1G.lOsQhO,59VOsQhO,59ZO-WQ!jO,59_O-iQ!jO1G/WO-pQhO1G/WOOOP1G/W1G/WO-xQ!jO1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AN>dAN>dO!7QQhOAN>lOOOPAN>lAN>lO!7YQhOAN>tOOOPAN>tAN>tOsQhO1G0fO!]QhO1G0fO!7bQ!jO7+&{O!8qQ!jO7+'PO!:QQhO7+'WO!;tQhO,5p[O]||-1},{term:37,get:O=>q[O]||-1}],tokenPrec:0});function h(O,$){return O.split(" ").map((O=>({label:O,type:$})))}const f=h("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where","function"),g=h("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include","keyword"),b=h("empty forloop tablerowloop in with as contains","keyword"),v=h("first index index0 last length rindex","property"),u=h("col col0 col_first col_last first index index0 last length rindex rindex0 row","property");function y(){let O=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},$=O.filters?O.filters.concat(f):f,a=O.tags?O.tags.concat(g):g,i=O.variables?O.variables.concat(b):b,{properties:r}=O;return O=>{var n;let t=function(O){var $;let{state:a,pos:i}=O,r=(0,e.mv)(a).resolveInner(i,-1).enterUnfinishedNodesBefore(i),n=(null===($=r.childBefore(i))||void 0===$?void 0:$.name)||r.name;if("FilterName"==r.name)return{type:"filter",node:r};if(O.explicit&&"|"==n)return{type:"filter"};if("TagName"==r.name)return{type:"tag",node:r};if(O.explicit&&"{%"==n)return{type:"tag"};if("PropertyName"==r.name&&"MemberExpression"==r.parent.name)return{type:"property",node:r,target:r.parent};if("."==r.name&&"MemberExpression"==r.parent.name)return{type:"property",target:r.parent};if("MemberExpression"==r.name&&"."==n)return{type:"property",target:r};if("VariableName"==r.name)return{type:"expression",from:r.from};let t=O.matchBefore(/[\w\u00c0-\uffff]+$/);return t?{type:"expression",from:t.from}:O.explicit&&"CommentText"!=r.name&&"StringLiteral"!=r.name&&"NumberLiteral"!=r.name&&"InlineComment"!=r.name?{type:"expression"}:null}(O);if(!t)return null;let Q,c=null!==(n=t.from)&&void 0!==n?n:t.node?t.node.from:O.pos;return Q="filter"==t.type?$:"tag"==t.type?a:"expression"==t.type?i:function(O,$,a,e){let i=[];for(;;){let a=$.getChild("Expression");if(!a)return[];if("forloop"==a.name)return i.length?[]:v;if("tablerowloop"==a.name)return i.length?[]:u;if("VariableName"==a.name){i.unshift(O.sliceDoc(a.from,a.to));break}if("MemberExpression"!=a.name)return[];{let e=a.getChild("PropertyName");e&&i.unshift(O.sliceDoc(e.from,e.to)),$=a}}return e?e(i,O,a):[]}(O.state,t.target,O,r),Q.length?{options:Q,from:c,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const _=c.Lz.inputHandler.of(((O,$,a,e)=>"%"==e&&$==a&&"{}"==O.state.doc.sliceString($-1,a+1)&&(O.dispatch(O.state.changeByRange((O=>({changes:{from:O.from,to:O.to,insert:"%%"},range:Q.OF.cursor(O.from+1)}))),{scrollIntoView:!0,userEvent:"input.type"}),!0)));function k(O){return $=>{let a=O.test($.textAfter);return $.lineIndent($.node.from)+(a?0:$.unit)}}const W=e.bj.define({name:"liquid",parser:d.configure({props:[(0,r.pn)({"cycle comment endcomment raw endraw echo increment decrement liquid in with as":r._A.keyword,"empty forloop tablerowloop":r._A.atom,"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue":r._A.controlKeyword,"assign capture endcapture":r._A.definitionKeyword,contains:r._A.operatorKeyword,"render include":r._A.moduleKeyword,VariableName:r._A.variableName,TagName:r._A.tagName,FilterName:r._A.function(r._A.variableName),PropertyName:r._A.propertyName,CompareOp:r._A.compareOperator,AssignOp:r._A.definitionOperator,LogicOp:r._A.logicOperator,NumberLiteral:r._A.number,StringLiteral:r._A.string,BooleanLiteral:r._A.bool,InlineComment:r._A.lineComment,CommentText:r._A.blockComment,"{% %} {{ }}":r._A.brace,"( )":r._A.paren,".":r._A.derefOperator,", .. : |":r._A.punctuation}),e.Oh.add({Tag:(0,e.Ay)({closing:"%}"}),"UnlessDirective ForDirective TablerowDirective CaptureDirective":k(/^\s*(\{%-?\s*)?end\w/),IfDirective:k(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),CaseDirective:k(/^\s*(\{%-?\s*)?(endcase|when)\b/)}),e.b_.add({"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O){let $=O.firstChild,a=O.lastChild;return $&&"Tag"==$.name?{from:$.to,to:"EndTag"==a.name?a.from:O.to}:null}})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*{%-?\s*(?:end|elsif|else|when|)$/}}),T=(0,i.html)();function Y(O){return W.configure({wrap:(0,n.$g)(($=>$.type.isTop?{parser:O.parser,overlay:O=>"Text"==O.name||"RawText"==O.name}:null))},"liquid")}const R=Y(T.language);function w(){let O=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},$=O.base||T,a=$.language==T.language?R:Y($.language);return new e.Yy(a,[$.support,a.data.of({autocomplete:y(O)}),$.language.data.of({closeBrackets:{brackets:["{"]}}),_])}}}]); //# sourceMappingURL=4.59fd292b.chunk.js.map