(window.webpackChunkEvfrenkelDecapCms=window.webpackChunkEvfrenkelDecapCms||[]).push([[5469],{85469(e,n,t){!function(e){"use strict";e.defineMode("coffeescript",function(e,n){var t="error";function r(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var o=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,c=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,i=/^[_A-Za-z$][_A-Za-z$0-9]*/,f=/^@[_A-Za-z$][_A-Za-z$0-9]*/,a=r(["and","or","not","is","isnt","in","instanceof","typeof"]),p=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],s=r(p.concat(["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"]));p=r(p);var u=/^('{3}|\"{3}|['\"])/,l=/^(\/{3}|\/)/,d=r(["Infinity","NaN","undefined","null","true","false","on","off","yes","no"]);function h(e,n){if(e.sol()){null===n.scope.align&&(n.scope.align=!1);var r=n.scope.offset;if(e.eatSpace()){var p=e.indentation();return p>r&&"coffee"==n.scope.type?"indent":p<r?"dedent":null}r>0&&g(e,n)}if(e.eatSpace())return null;var h=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return n.tokenize=v,n.tokenize(e,n);if("#"===h)return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var k=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(k=!0),e.match(/^-?\d+\.\d*/)&&(k=!0),e.match(/^-?\.\d+/)&&(k=!0),k)return"."==e.peek()&&e.backUp(1),"number";var y=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(y=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(y=!0),e.match(/^-?0(?![\dx])/i)&&(y=!0),y)return"number"}if(e.match(u))return n.tokenize=m(e.current(),!1,"string"),n.tokenize(e,n);if(e.match(l)){if("/"!=e.current()||e.match(/^.*\//,!1))return n.tokenize=m(e.current(),!0,"string-2"),n.tokenize(e,n);e.backUp(1)}return e.match(o)||e.match(a)?"operator":e.match(c)?"punctuation":e.match(d)?"atom":e.match(f)||n.prop&&e.match(i)?"property":e.match(s)?"keyword":e.match(i)?"variable":(e.next(),t)}function m(e,r,o){return function(c,i){for(;!c.eol();)if(c.eatWhile(/[^'"\/\\]/),c.eat("\\")){if(c.next(),r&&c.eol())return o}else{if(c.match(e))return i.tokenize=h,o;c.eat(/['"\/]/)}return r&&(n.singleLineStringErrors?o=t:i.tokenize=h),o}}function v(e,n){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){n.tokenize=h;break}e.eatWhile("#")}return"comment"}function k(n,t,r){r=r||"coffee";for(var o=0,c=!1,i=null,f=t.scope;f;f=f.prev)if("coffee"===f.type||"}"==f.type){o=f.offset+e.indentUnit;break}"coffee"!==r?(c=null,i=n.column()+n.current().length):t.scope.align&&(t.scope.align=!1),t.scope={offset:o,type:r,prev:t.scope,align:c,alignOffset:i}}function g(e,n){if(n.scope.prev){if("coffee"===n.scope.type){for(var t=e.indentation(),r=!1,o=n.scope;o;o=o.prev)if(t===o.offset){r=!0;break}if(!r)return!0;for(;n.scope.prev&&n.scope.offset!==t;)n.scope=n.scope.prev;return!1}return n.scope=n.scope.prev,!1}}return{startState:function(e){return{tokenize:h,scope:{offset:e||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,n){var r=null===n.scope.align&&n.scope;r&&e.sol()&&(r.align=!1);var o=function(e,n){var r=n.tokenize(e,n),o=e.current();"return"===o&&(n.dedent=!0),(("->"===o||"=>"===o)&&e.eol()||"indent"===r)&&k(e,n);var c="[({".indexOf(o);if(-1!==c&&k(e,n,"])}".slice(c,c+1)),p.exec(o)&&k(e,n),"then"==o&&g(e,n),"dedent"===r&&g(e,n))return t;if(-1!==(c="])}".indexOf(o))){for(;"coffee"==n.scope.type&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==o&&(n.scope=n.scope.prev)}return n.dedent&&e.eol()&&("coffee"==n.scope.type&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),r}(e,n);return o&&"comment"!=o&&(r&&(r.align=!0),n.prop="punctuation"==o&&"."==e.current()),o},indent:function(e,n){if(e.tokenize!=h)return 0;var t=e.scope,r=n&&"])}".indexOf(n.charAt(0))>-1;if(r)for(;"coffee"==t.type&&t.prev;)t=t.prev;var o=r&&t.type===n.charAt(0);return t.align?t.alignOffset-(o?1:0):(o?t.prev:t).offset},lineComment:"#",fold:"indent"}}),e.defineMIME("application/vnd.coffeescript","coffeescript"),e.defineMIME("text/x-coffeescript","coffeescript"),e.defineMIME("text/coffeescript","coffeescript")}(t(11448))}}]);
//# sourceMappingURL=5469.decap-cms.js.map