1(self.webpackChunkdecidim_development_app=self.webpackChunkdecidim_development_app||[]).push([[400,9187],{80400:function(g,h,p){(function(t){t(p(42308))})(function(t){function r(f,n,e){var u=f.getWrapperElement(),l;return l=u.appendChild(document.createElement("div")),e?l.className="CodeMirror-dialog CodeMirror-dialog-bottom":l.className="CodeMirror-dialog CodeMirror-dialog-top",typeof n=="string"?l.innerHTML=n:l.appendChild(n),t.addClass(u,"dialog-opened"),l}function d(f,n){f.state.currentNotificationClose&&f.state.currentNotificationClose(),f.state.currentNotificationClose=n}t.defineExtension("openDialog",function(f,n,e){e||(e={}),d(this,null);var u=r(this,f,e.bottom),l=!1,s=this;function o(a){if(typeof a=="string")i.value=a;else{if(l)return;l=!0,t.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),s.focus(),e.onClose&&e.onClose(u)}}var i=u.getElementsByTagName("input")[0],c;return i?(i.focus(),e.value&&(i.value=e.value,e.selectValueOnOpen!==!1&&i.select()),e.onInput&&t.on(i,"input",function(a){e.onInput(a,i.value,o)}),e.onKeyUp&&t.on(i,"keyup",function(a){e.onKeyUp(a,i.value,o)}),t.on(i,"keydown",function(a){e&&e.onKeyDown&&e.onKeyDown(a,i.value,o)||((a.keyCode==27||e.closeOnEnter!==!1&&a.keyCode==13)&&(i.blur(),t.e_stop(a),o()),a.keyCode==13&&n(i.value,a))}),e.closeOnBlur!==!1&&t.on(u,"focusout",function(a){a.relatedTarget!==null&&o()})):(c=u.getElementsByTagName("button")[0])&&(t.on(c,"click",function(){o(),s.focus()}),e.closeOnBlur!==!1&&t.on(c,"blur",o),c.focus()),o}),t.defineExtension("openConfirm",function(f,n,e){d(this,null);var u=r(this,f,e&&e.bottom),l=u.getElementsByTagName("button"),s=!1,o=this,i=1;function c(){s||(s=!0,t.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),o.focus())}l[0].focus();for(var a=0;a<l.length;++a){var m=l[a];(function(v){t.on(m,"click",function(b){t.e_preventDefault(b),c(),v&&v(o)})})(n[a]),t.on(m,"blur",function(){--i,setTimeout(function(){i<=0&&c()},200)}),t.on(m,"focus",function(){++i})}}),t.defineExtension("openNotification",function(f,n){d(this,o);var e=r(this,f,n&&n.bottom),u=!1,l,s=n&&typeof n.duration!="undefined"?n.duration:5e3;function o(){u||(u=!0,clearTimeout(l),t.rmClass(e.parentNode,"dialog-opened"),e.parentNode.removeChild(e))}return t.on(e,"click",function(i){t.e_preventDefault(i),o()}),s&&(l=setTimeout(o,s)),o})})},29187:function(g,h,p){(function(t){t(p(42308),p(80400))})(function(t){"use strict";t.defineOption("search",{bottom:!1});function r(n,e,u,l,s){n.openDialog?n.openDialog(e,s,{value:l,selectValueOnOpen:!0,bottom:n.options.search.bottom}):s(prompt(u,l))}function d(n){return n.phrase("Jump to line:")+' <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">'+n.phrase("(Use line:column or scroll% syntax)")+"</span>"}function f(n,e){var u=Number(e);return/^[-+]/.test(e)?n.getCursor().line+u:u-1}t.commands.jumpToLine=function(n){var e=n.getCursor();r(n,d(n),n.phrase("Jump to line:"),e.line+1+":"+e.ch,function(u){if(u){var l;if(l=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(u))n.setCursor(f(n,l[1]),Number(l[2]));else if(l=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(u)){var s=Math.round(n.lineCount()*Number(l[1])/100);/^[-+]/.test(l[1])&&(s=e.line+s+1),n.setCursor(s-1,e.ch)}else(l=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(u))&&n.setCursor(f(n,l[1]),e.ch)}})},t.keyMap.default["Alt-G"]="jumpToLine"})}}]); 2 3//# sourceMappingURL=9187-9569cc966e25e56b4f1e.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.