1(self.webpackChunkdecidim_application=self.webpackChunkdecidim_application||[]).push([[3662,6890,7552],{56890:function(B,Q,F){(function(u){u(F(43422),F(77552),F(63662))})(function(u){"use strict";u.defineOption("search",{bottom:!1});function y(e,n){return typeof e=="string"?e=new RegExp(e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),n?"gi":"g"):e.global||(e=new RegExp(e.source,e.ignoreCase?"gi":"g")),{token:function(c){e.lastIndex=c.pos;var s=e.exec(c.string);if(s&&s.index==c.pos)return c.pos+=s[0].length||1,"searching";s?c.pos=s.index:c.skipToEnd()}}}function I(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function b(e){return e.state.search||(e.state.search=new I)}function w(e){return typeof e=="string"&&e==e.toLowerCase()}function g(e,n,c){return e.getSearchCursor(n,c,{caseFold:w(n),multiline:!0})}function k(e,n,c,s,r){e.openDialog(n,s,{value:c,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){T(e)},onKeyDown:r,bottom:e.options.search.bottom})}function O(e,n,c,s,r){e.openDialog?e.openDialog(n,r,{value:s,selectValueOnOpen:!0,bottom:e.options.search.bottom}):r(prompt(c,s))}function P(e,n,c,s){e.openConfirm?e.openConfirm(n,s):confirm(c)&&s[0]()}function S(e){return e.replace(/\\([nrt\\])/g,function(n,c){return c=="n"?` 2`:c=="r"?"\r":c=="t"?" ":c=="\\"?"\\":n})}function m(e){var n=e.match(/^\/(.*)\/([a-z]*)$/);if(n)try{e=new RegExp(n[1],n[2].indexOf("i")==-1?"":"i")}catch(c){}else e=S(e);return(typeof e=="string"?e=="":e.test(""))&&(e=/x^/),e}function _(e,n,c){n.queryText=c,n.query=m(c),e.removeOverlay(n.overlay,w(n.query)),n.overlay=y(n.query,w(n.query)),e.addOverlay(n.overlay),e.showMatchesOnScrollbar&&(n.annotate&&(n.annotate.clear(),n.annotate=null),n.annotate=e.showMatchesOnScrollbar(n.query,w(n.query)))}function p(e,n,c,s){var r=b(e);if(r.query)return L(e,n);var h=e.getSelection()||r.lastQuery;if(h instanceof RegExp&&h.source=="x^"&&(h=null),c&&e.openDialog){var d=null,v=function(x,E){u.e_stop(E),x&&(x!=r.queryText&&(_(e,r,x),r.posFrom=r.posTo=e.getCursor()),d&&(d.style.opacity=1),L(e,E.shiftKey,function(D,C){var R;C.line<3&&document.querySelector&&(R=e.display.wrapper.querySelector(".CodeMirror-dialog"))&&R.getBoundingClientRect().bottom-4>e.cursorCoords(C,"window").top&&((d=R).style.opacity=.4)}))};k(e,i(e),h,v,function(x,E){var D=u.keyName(x),C=e.getOption("extraKeys"),R=C&&C[D]||u.keyMap[e.getOption("keyMap")][D];R=="findNext"||R=="findPrev"||R=="findPersistentNext"||R=="findPersistentPrev"?(u.e_stop(x),_(e,b(e),E),e.execCommand(R)):(R=="find"||R=="findPersistent")&&(u.e_stop(x),v(E,x))}),s&&h&&(_(e,r,h),L(e,n))}else O(e,i(e),"Search for:",h,function(x){x&&!r.query&&e.operation(function(){_(e,r,x),r.posFrom=r.posTo=e.getCursor(),L(e,n)})})}function L(e,n,c){e.operation(function(){var s=b(e),r=g(e,s.query,n?s.posFrom:s.posTo);!r.find(n)&&(r=g(e,s.query,n?u.Pos(e.lastLine()):u.Pos(e.firstLine(),0)),!r.find(n))||(e.setSelection(r.from(),r.to()),e.scrollIntoView({from:r.from(),to:r.to()},20),s.posFrom=r.from(),s.posTo=r.to(),c&&c(r.from(),r.to()))})}function T(e){e.operation(function(){var n=b(e);n.lastQuery=n.query,n.query&&(n.query=n.queryText=null,e.removeOverlay(n.overlay),n.annotate&&(n.annotate.clear(),n.annotate=null))})}function N(e,n){var c=e?document.createElement(e):document.createDocumentFragment();for(var s in n)c[s]=n[s];for(var r=2;r<arguments.length;r++){var h=arguments[r];c.appendChild(typeof h=="string"?document.createTextNode(h):h)}return c}function i(e){var n=N("label",{className:"CodeMirror-search-label"},e.phrase("Search:"),N("input",{type:"text",style:"width: 10em",className:"CodeMirror-search-field",id:"CodeMirror-search-field"}));return n.setAttribute("for","CodeMirror-search-field"),N("",null,n," ",N("span",{style:"color: #666",className:"CodeMirror-search-hint"},e.phrase("(Use /re/ syntax for regexp search)")))}function t(e){return N("",null," ",N("input",{type:"text",style:"width: 10em",className:"CodeMirror-search-field"})," ",N("span",{style:"color: #666",className:"CodeMirror-search-hint"},e.phrase("(Use /re/ syntax for regexp search)")))}function a(e){return N("",null,N("span",{className:"CodeMirror-search-label"},e.phrase("With:"))," ",N("input",{type:"text",style:"width: 10em",className:"CodeMirror-search-field"}))}function l(e){return N("",null,N("span",{className:"CodeMirror-search-label"},e.phrase("Replace?"))," ",N("button",{},e.phrase("Yes"))," ",N("button",{},e.phrase("No"))," ",N("button",{},e.phrase("All"))," ",N("button",{},e.phrase("Stop")))}function f(e,n,c){e.operation(function(){for(var s=g(e,n);
2s.findNext();)if(typeof n!="string"){var r=e.getRange(s.from(),s.to()).match(n);s.replace(c.replace(/\$(\d)/g,function(h,d){return r[d]}))}else s.replace(c)})}function o(e,n){if(!e.getOption("readOnly")){var c=e.getSelection()||b(e).lastQuery,s=n?e.phrase("Replace all:"):e.phrase("Replace:"),r=N("",null,N("span",{className:"CodeMirror-search-label"},s),t(e));O(e,r,s,c,function(h){h&&(h=m(h),O(e,a(e),e.phrase("Replace with:"),"",function(d){if(d=S(d),n)f(e,h,d);else{T(e);var v=g(e,h,e.getCursor("from")),x=function(){var D=v.from(),C;!(C=v.findNext())&&(v=g(e,h),!(C=v.findNext())||D&&v.from().line==D.line&&v.from().ch==D.ch)||(e.setSelection(v.from(),v.to()),e.scrollIntoView({from:v.from(),to:v.to()}),P(e,l(e),e.phrase("Replace?"),[function(){E(C)},x,function(){f(e,h,d)}]))},E=function(D){v.replace(typeof h=="string"?d:d.replace(/\$(\d)/g,function(C,R){return D[R]})),x()};x()}}))})}}u.commands.find=function(e){T(e),p(e)},u.commands.findPersistent=function(e){T(e),p(e,!1,!0)},u.commands.findPersistentNext=function(e){p(e,!1,!0,!0)},u.commands.findPersistentPrev=function(e){p(e,!0,!0,!0)},u.commands.findNext=p,u.commands.findPrev=function(e){p(e,!0)},u.commands.clearSearch=T,u.commands.replace=o,u.commands.replaceAll=function(e){o(e,!0)}})},63662:function(B,Q,F){(function(u){u(F(43422))})(function(u){function y(b,w,g){var k=b.getWrapperElement(),O;return O=k.appendChild(document.createElement("div")),g?O.className="CodeMirror-dialog CodeMirror-dialog-bottom":O.className="CodeMirror-dialog CodeMirror-dialog-top",typeof w=="string"?O.innerHTML=w:O.appendChild(w),u.addClass(k,"dialog-opened"),O}function I(b,w){b.state.currentNotificationClose&&b.state.currentNotificationClose(),b.state.currentNotificationClose=w}u.defineExtension("openDialog",function(b,w,g){g||(g={}),I(this,null);var k=y(this,b,g.bottom),O=!1,P=this;function S(p){if(typeof p=="string")m.value=p;else{if(O)return;O=!0,u.rmClass(k.parentNode,"dialog-opened"),k.parentNode.removeChild(k),P.focus(),g.onClose&&g.onClose(k)}}var m=k.getElementsByTagName("input")[0],_;return m?(m.focus(),g.value&&(m.value=g.value,g.selectValueOnOpen!==!1&&m.select()),g.onInput&&u.on(m,"input",function(p){g.onInput(p,m.value,S)}),g.onKeyUp&&u.on(m,"keyup",function(p){g.onKeyUp(p,m.value,S)}),u.on(m,"keydown",function(p){g&&g.onKeyDown&&g.onKeyDown(p,m.value,S)||((p.keyCode==27||g.closeOnEnter!==!1&&p.keyCode==13)&&(m.blur(),u.e_stop(p),S()),p.keyCode==13&&w(m.value,p))}),g.closeOnBlur!==!1&&u.on(k,"focusout",function(p){p.relatedTarget!==null&&S()})):(_=k.getElementsByTagName("button")[0])&&(u.on(_,"click",function(){S(),P.focus()}),g.closeOnBlur!==!1&&u.on(_,"blur",S),_.focus()),S}),u.defineExtension("openConfirm",function(b,w,g){I(this,null);var k=y(this,b,g&&g.bottom),O=k.getElementsByTagName("button"),P=!1,S=this,m=1;function _(){P||(P=!0,u.rmClass(k.parentNode,"dialog-opened"),k.parentNode.removeChild(k),S.focus())}O[0].focus();for(var p=0;p<O.length;++p){var L=O[p];(function(T){u.on(L,"click",function(N){u.e_preventDefault(N),_(),T&&T(S)})})(w[p]),u.on(L,"blur",function(){--m,setTimeout(function(){m<=0&&_()},200)}),u.on(L,"focus",function(){++m})}}),u.defineExtension("openNotification",function(b,w){I(this,S);var g=y(this,b,w&&w.bottom),k=!1,O,P=w&&typeof w.duration!="undefined"?w.duration:5e3;function S(){k||(k=!0,clearTimeout(O),u.rmClass(g.parentNode,"dialog-opened"),g.parentNode.removeChild(g))}return u.on(g,"click",function(m){u.e_preventDefault(m),S()}),P&&(O=setTimeout(S,P)),S})})},77552:function(B,Q,F){(function(u){u(F(43422))})(function(u){"use strict";var y=u.Pos;function I(i){var t=i.flags;return t!=null?t:(i.ignoreCase?"i":"")+(i.global?"g":"")+(i.multiline?"m":"")}function b(i,t){for(var a=I(i),l=a,f=0;f<t.length;f++)l.indexOf(t.charAt(f))==-1&&(l+=t.charAt(f));return a==l?i:new RegExp(i.source,l)}function w(i){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(i.source)}function g(i,t,a){t=b(t,"g");for(var l=a.line,f=a.ch,o=i.lastLine();l<=o;l++,f=0){t.lastIndex=f;var e=i.getLine(l),n=t.exec(e);if(n)return{from:y(l,n.index),to:y(l,n.index+n[0].length),match:n}}}function k(i,t,a){if(!w(t))return g(i,t,a);t=b(t,"gm");for(var l,f=1,o=a.line,e=i.lastLine();o<=e;){for(var n=0;n<f&&!(o>e);n++){var c=i.getLine(o++);l=l==null?c:l+` 3`+c}f=f*2,t.lastIndex=a.ch;var s=t.exec(l);if(s){var r=l.slice(0,s.index).split(` 4`),h=s[0].split(` 5`),d=a.line+r.length-1,v=r[r.length-1].length;return{from:y(d,v),to:y(d+h.length-1,h.length==1?v+h[0].length:h[h.length-1].length),match:s}}}}function O(i,t,a){for(var l,f=0;f<=i.length;){t.lastIndex=f;var o=t.exec(i);if(!o)break;var e=o.index+o[0].length;if(e>i.length-a)break;(!l||e>l.index+l[0].length)&&(l=o),f=o.index+1}return l}function P(i,t,a){t=b(t,"g");for(var l=a.line,f=a.ch,o=i.firstLine();l>=o;l--,f=-1){var e=i.getLine(l),n=O(e,t,f<0?0:e.length-f);if(n)return{from:y(l,n.index),to:y(l,n.index+n[0].length),match:n}}}function S(i,t,a){if(!w(t))return P(i,t,a);t=b(t,"gm");for(var l,f=1,o=i.getLine(a.line).length-a.ch,e=a.line,n=i.firstLine();e>=n;){for(var c=0;c<f&&e>=n;c++){var s=i.getLine(e--);l=l==null?s:s+` 6`+l}f*=2;var r=O(l,t,o);if(r){var h=l.slice(0,r.index).split(` 7`),d=r[0].split(` 8`),v=e+h.length,x=h[h.length-1].length;return{from:y(v,x),to:y(v+d.length-1,d.length==1?x+d[0].length:d[d.length-1].length),match:r}}}}var m,_;String.prototype.normalize?(m=function(i){return i.normalize("NFD").toLowerCase()},_=function(i){return i.normalize("NFD")}):(m=function(i){return i.toLowerCase()},_=function(i){return i});function p(i,t,a,l){if(i.length==t.length)return a;for(var f=0,o=a+Math.max(0,i.length-t.length);;){if(f==o)return f;var e=f+o>>1,n=l(i.slice(0,e)).length;if(n==a)return e;n>a?o=e:f=e+1}}function L(i,t,a,l){if(!t.length)return null;var f=l?m:_,o=f(t).split(/\r|\n\r?/);e:for(var e=a.line,n=a.ch,c=i.lastLine()+1-o.length;e<=c;e++,n=0){var s=i.getLine(e).slice(n),r=f(s);if(o.length==1){var h=r.indexOf(o[0]);if(h==-1)continue e;var a=p(s,r,h,f)+n;return{from:y(e,p(s,r,h,f)+n),to:y(e,p(s,r,h+o[0].length,f)+n)}}else{var d=r.length-o[0].length;if(r.slice(d)!=o[0])continue e;
8for(var v=1;v<o.length-1;v++)if(f(i.getLine(e+v))!=o[v])continue e;var x=i.getLine(e+o.length-1),E=f(x),D=o[o.length-1];if(E.slice(0,D.length)!=D)continue e;return{from:y(e,p(s,r,d,f)+n),to:y(e+o.length-1,p(x,E,D.length,f))}}}}function T(i,t,a,l){if(!t.length)return null;var f=l?m:_,o=f(t).split(/\r|\n\r?/);e:for(var e=a.line,n=a.ch,c=i.firstLine()-1+o.length;e>=c;e--,n=-1){var s=i.getLine(e);n>-1&&(s=s.slice(0,n));var r=f(s);if(o.length==1){var h=r.lastIndexOf(o[0]);if(h==-1)continue e;return{from:y(e,p(s,r,h,f)),to:y(e,p(s,r,h+o[0].length,f))}}else{var d=o[o.length-1];if(r.slice(0,d.length)!=d)continue e;for(var v=1,a=e-o.length+1;v<o.length-1;v++)if(f(i.getLine(a+v))!=o[v])continue e;var x=i.getLine(e+1-o.length),E=f(x);if(E.slice(E.length-o[0].length)!=o[0])continue e;return{from:y(e+1-o.length,p(x,E,x.length-o[0].length,f)),to:y(e,p(s,r,d.length,f))}}}}function N(i,t,a,l){this.atOccurrence=!1,this.afterEmptyMatch=!1,this.doc=i,a=a?i.clipPos(a):y(0,0),this.pos={from:a,to:a};var f;typeof l=="object"?f=l.caseFold:(f=l,l=null),typeof t=="string"?(f==null&&(f=!1),this.matches=function(o,e){return(o?T:L)(i,t,e,f)}):(t=b(t,"gm"),!l||l.multiline!==!1?this.matches=function(o,e){return(o?S:k)(i,t,e)}:this.matches=function(o,e){return(o?P:g)(i,t,e)})}N.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(i){var t=this.doc.clipPos(i?this.pos.from:this.pos.to);if(this.afterEmptyMatch&&this.atOccurrence&&(t=y(t.line,t.ch),i?(t.ch--,t.ch<0&&(t.line--,t.ch=(this.doc.getLine(t.line)||"").length)):(t.ch++,t.ch>(this.doc.getLine(t.line)||"").length&&(t.ch=0,t.line++)),u.cmpPos(t,this.doc.clipPos(t))!=0))return this.atOccurrence=!1;var a=this.matches(i,t);if(this.afterEmptyMatch=a&&u.cmpPos(a.from,a.to)==0,a)return this.pos=a,this.atOccurrence=!0,this.pos.match||!0;var l=y(i?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:l,to:l},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(i,t){if(this.atOccurrence){var a=u.splitLines(i);this.doc.replaceRange(a,this.pos.from,this.pos.to,t),this.pos.to=y(this.pos.from.line+a.length-1,a[a.length-1].length+(a.length==1?this.pos.from.ch:0))}}},u.defineExtension("getSearchCursor",function(i,t,a){return new N(this.doc,i,t,a)}),u.defineDocExtension("getSearchCursor",function(i,t,a){return new N(this,i,t,a)}),u.defineExtension("selectMatches",function(i,t){for(var a=[],l=this.getSearchCursor(i,this.getCursor("from"),t);l.findNext()&&!(u.cmpPos(l.to(),this.getCursor("to"))>0);)a.push({anchor:l.from(),head:l.to()});a.length&&this.setSelections(a,0)})})}}]); 9 10//# sourceMappingURL=6890-30872caf3b9490604015.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.