1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8394],{3495:(t,e,s)=>{s.d(e,{A:()=>n});var i=s(9492);let n=i.bP.create({name:"taskList",addOptions:()=>({itemTypeName:"taskItem",HTMLAttributes:{}}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:t}){return["ul",(0,i.KV)(this.options.HTMLAttributes,t,{"data-type":this.name}),0]},addCommands(){return{toggleTaskList:()=>({commands:t})=>t.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}})},11493:(t,e,s)=>{s.d(e,{A:()=>w});var i=s(9492);let n=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,r=i.bP.create({name:"image",addOptions:()=>({inline:!1,allowBase64:!1,HTMLAttributes:{}}),inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes:()=>({src:{default:null},alt:{default:null},title:{default:null}}),parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:t}){return["img",(0,i.KV)(this.options.HTMLAttributes,t)]},addCommands(){return{setImage:t=>({commands:e})=>e.insertContent({type:this.name,attrs:t})}}
1,addInputRules(){return[(0,i.jT)({find:n,type:this.type,getAttributes:t=>{let[,,e,s,i]=t;return{src:s,alt:e,title:i}}})]}}),o="24px",l=16,a=9,h="-8px",d="-4px",c="#6C6C6C",p="rgba(255, 255, 255, 1)",u="https://fonts.gstatic.com/s/i/short-term/release/materialsymbolsoutlined/format_align_left/default/20px.svg",m="https://fonts.gstatic.com/s/i/short-term/release/materialsymbolsoutlined/format_align_center/default/20px.svg",g="https://fonts.gstatic.com/s/i/short-term/release/materialsymbolsoutlined/format_align_right/default/20px.svg",b={isMobile:()=>document.documentElement.clientWidth<768,getDotPosition:()=>b.isMobile()?h:d,getDotSize:()=>b.isMobile()?l:a,clearContainerBorder(t){let e=t.getAttribute("style"),s=null==e?void 0:e.replace("border: 1px dashed #6C6C6C;","").replace("border: 1px dashed rgb(108, 108, 108)","");t.setAttribute("style",s)},removeResizeElements(t){if(t.childElementCount>3)for(let e=0;e<5;e++)t.removeChild(t.lastChild)}};class y{static getContainerStyle(t,e){let s=`width: ${e||"100%"}; height: auto; cursor: pointer;`;return`${s} ${t?"display: inline-block;":""}`}static getWrapperStyle(t){return t?"display: inline-block; float: left; padding-right: 8px;":"display: flex"}static getPositionControllerStyle(t){return` 2 position: absolute; 3 top: 0%; 4 left: 50%; 5 width: ${t?"66px":"100px"}; 6 height: 25px; 7 z-index: 999; 8 background-color: ${p}; 9 border-radius: 3px; 10 border: 1px solid ${c}; 11 cursor: pointer; 12 transform: translate(-50%, -50%); 13 display: flex; 14 justify-content: space-between; 15 align-items: center; 16 padding: 0 6px; 17 `.replace(/\s+/g," ").trim()}static getDotStyle(t){let e=b.getDotPosition(),s=b.getDotSize(),i=[`top: ${e}; left: ${e}; cursor: nwse-resize;`,`top: ${e}; right: ${e}; cursor: nesw-resize;`,`bottom: ${e}; left: ${e}; cursor: nesw-resize;`,`bottom: ${e}; right: ${e}; cursor: nwse-resize;`];return` 18 position: absolute; 19 width: ${s}px; 20 height: ${s}px; 21 border: 1.5px solid ${c}; 22 border-radius: 50%; 23 ${i[t]} 24 `.replace(/\s+/g," ").trim()}}class f{static parseImageAttributes(t,e){Object.entries(t).forEach(([t,s])=>{if(null!=s&&"wrapperStyle"!==t){if("containerStyle"===t){let t=s.match(/width:\s*([0-9.]+)px/);t&&e.setAttribute("width",t[1]);return}e.setAttribute(t,s)}})}static extractWidthFromStyle(t){let e=t.match(/width:\s*([0-9.]+)px/);return e?e[1]:null}}class k{constructor(t,e,s){this.elements=t,this.inline=e,this.dispatchNodeView=s}createControllerIcon(t){let e=document.createElement("img");return e.setAttribute("src",t),e.setAttribute("style",`width: ${o}; height: ${o}; cursor: pointer;`),e.addEventListener("mouseover",t=>{t.target.style.opacity="0.6"}),e.addEventListener("mouseout",t=>{t.target.style.opacity="1"}),e}handleLeftClick(){if(this.inline){let t="display: inline-block; float: left; padding-right: 8px;";this.elements.wrapper.setAttribute("style",t),this.elements.container.setAttribute("style",t)}else this.elements.container.setAttribute("style",`${this.elements.container.style.cssText} margin: 0 auto 0 0;`);this.dispatchNodeView()}handleCenterClick(){this.elements.container.setAttribute("style",`${this.elements.container.style.cssText} margin: 0 auto;`),this.dispatchNodeView()}handleRightClick(){if(this.inline){let t="display: inline-block; float: right; padding-left: 8px;";this.elements.wrapper.setAttribute("style",t),this.elements.container.setAttribute("style",t)}else this.elements.container.setAttribute("style",`${this.elements.container.style.cssText} margin: 0 0 0 auto;`);this.dispatchNodeView()}createPositionControls(){let t=document.createElement("div");t.setAttribute("style",y.getPositionControllerStyle(this.inline));let e=this.createControllerIcon(u);if(e.addEventListener("click",()=>this.handleLeftClick()),t.appendChild(e),!this.inline){let e=this.createControllerIcon(m);e.addEventListener("click",()=>this.handleCenterClick()),t.appendChild(e)}let s=this.createControllerIcon(g);return s.addEventListener("click",()=>this.handleRightClick()),t.appendChild(s),this.elements.container.appendChild(t),this}}class v{constructor(t,e){this.state={isResizing:!1,startX:0,startWidth:0},this.handleMouseMove=(t,e)=>{if(!this.state.isResizing)return;let s=e%2==0?-(t.clientX-this.state.startX):t.clientX-this.state.startX,i=this.state.startWidth+s;this.elements.container.style.width=i+"px",this.elements.img.style.width=i+"px"},this.handleMouseUp=()=>{this.state.isResizing&&(this.state.isResizing=!1),this.dispatchNodeView()},this.handleTouchMove=(t,e)=>{if(!this.state.isResizing)return;let s=e%2==0?-(t.touches[0].clientX-this.state.startX):t.touches[0].clientX-this.state.startX,i=this.state.startWidth+s;this.elements.container.style.width=i+"px",this.elements.img.style.width=i+"px"},this.handleTouchEnd=()=>{this.state.isResizing&&(this.state.isResizing=!1),this.dispatchNodeView()},this.elements=t,this.dispatchNodeView=e}createResizeHandle(t){let e=document.createElement("div");return e.setAttribute("style",y.getDotStyle(t)),e.addEventListener("mousedown",e=>{e.preventDefault(),this.state.isResizing=!0,this.state.startX=e.clientX,this.state.startWidth=this.elements.container.offsetWidth;let s=e=>this.handleMouseMove(e,t),i=()=>{this.handleMouseUp(),document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",i)};document.addEventListener("mousemove",s),document.addEventListener("mouseup",i)}),e.addEventListener("touchstart",e=>{e.cancelable&&e.preventDefault(),this.state.isResizing=!0,this.state.startX=e.touches[0].clientX,this.state.startWidth=this.elements.container.offsetWidth;let s=e=>this.handleTouchMove(e,t),i=()=>{this.handleTouchEnd(),document.removeEventListener("touchmove",s),document.removeEventListener("touchend",i)};document.addEventListener("touchmove",s),document.addEventListener("touchend",i)},{passive:!1}),e}}class A{constructor(t,e){this.clearContainerBorder=()=>{b.clearContainerBorder(this.elements.container)},this.dispatchNodeView=()=>{var t;let{view:e,getPos:s}=this.context;if("function"==typeof s){this.clearContainerBorder();let i=Object.assign(Object.assign({},this.context.node.attrs),{width:null!=(t=f.extractWidthFromStyle(this.elements.container.style.cssText))?t:this.context.node.attrs.width,containerStyle:`${this.elements.container.style.cssText}`,wrapperStyle:`${this.elements.wrapper.style.cssText}`});e.dispatch(e.state.tr.setNodeMarkup(s(),null,i))}},this.removeResizeElements=()=>{b.removeResizeElements(this.elements.container)},this.context=t,this.inline=e,this.elements=this.createElements()}createElements(){return{wrapper:document.createElement("div"),container:document.createElement("div"),img:document.createElement("img")}}setupImageAttributes(){f.parseImageAttributes(this.context.node.attrs,this.elements.img)}setupDOMStructure(){let{wrapperStyle:t,containerStyle:e}=this.context.node.attrs;this.elements.wrapper.setAttribute("style",t),this.elements.wrapper.appendChild(this.elements.container),this.elements.container.setAttribute("style",e),this.elements.container.appendChild(this.elements.img)}createPositionController(){new k(this.elements,this.inline,this.dispatchNodeView).createPositionControls()}createResizeHandler(){let t=new v(this.elements,this.dispatchNodeView);Array.from({length:4},(e,s)=>{let i=t.createResizeHandle(s);this.elements.container.appendChild(i)})}setupContainerClick(){this.elements.container.addEventListener("click",()=>{var t;b.isMobile()&&(null==(t=document.querySelector(".ProseMirror-focused"))||t.blur()),this.removeResizeElements(),this.createPositionController(),this.elements.container.setAttribute("style",`position: relative; border: 1px dashed ${c}; ${this.context.node.attrs.containerStyle}`),this.createResizeHandler()})}setupContentClick(){document.addEventListener("click",t=>{let e=t.target;this.elements.container.contains(e)||e.style.cssText===`width: ${o}; height: ${o}; cursor: pointer;`||(this.clearContainerBorder(),this.removeResizeElements())})}initialize(){this.setupDOMStructure(),this.setupImageAttributes();let{editable:t}=this.context.editor.options;return t?(this.setupContainerClick(),this.setupContentClick(),{dom:this.elements.wrapper}):{dom:this.elements.container}}
24}let w=r.extend({name:"imageResize",addOptions(){var t;return Object.assign(Object.assign({},null==(t=this.parent)?void 0:t.call(this)),{inline:!1})},addAttributes(){var t;let e=this.options.inline;return Object.assign(Object.assign({},null==(t=this.parent)?void 0:t.call(this)),{containerStyle:{default:null,parseHTML:t=>{let s=t.getAttribute("containerstyle");if(s)return s;let i=t.getAttribute("width");return i?y.getContainerStyle(e,`${i}px`):`${t.style.cssText}`}},wrapperStyle:{default:y.getWrapperStyle(e)}})},addNodeView(){return({node:t,editor:e,getPos:s})=>{let i=this.options.inline;return new A({node:t,editor:e,view:e.view,getPos:"function"==typeof s?s:void 0},i).initialize()}}})},74007:(t,e,s)=>{s.d(e,{Ay:()=>o});var i=s(9492);let n=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/,r=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g,o=i.CU.create({name:"highlight",addOptions:()=>({multicolor:!1,HTMLAttributes:{}}),addAttributes(){return this.options.multicolor?{color:{default:null,parseHTML:t=>t.getAttribute("data-color")||t.style.backgroundColor,renderHTML:t=>t.color?{"data-color":t.color,style:`background-color: ${t.color}; color: inherit`}:{}}}:{}},parseHTML:()=>[{tag:"mark"}],renderHTML({HTMLAttributes:t}){return["mark",(0,i.KV)(this.options.HTMLAttributes,t),0]},addCommands(){return{setHighlight:t=>({commands:e})=>e.setMark(this.name,t),toggleHighlight:t=>({commands:e})=>e.toggleMark(this.name,t),unsetHighlight:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-h":()=>this.editor.commands.toggleHighlight()}}
24,addInputRules(){return[(0,i.OX)({find:n,type:this.type})]},addPasteRules(){return[(0,i.Zc)({find:r,type:this.type})]}})},77054:(t,e,s)=>{s.d(e,{Ay:()=>r});var i=s(9492);let n=/^\s*(\[([( |x])?\])\s$/,r=i.bP.create({name:"taskItem",addOptions:()=>({nested:!1,HTMLAttributes:{},taskListTypeName:"taskList"}),content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes:()=>({checked:{default:!1,keepOnSplit:!1,parseHTML:t=>{let e=t.getAttribute("data-checked");return""===e||"true"===e},renderHTML:t=>({"data-checked":t.checked})}}),parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:t,HTMLAttributes:e}){return["li",(0,i.KV)(this.options.HTMLAttributes,e,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:t.attrs.checked?"checked":null}],["span"]],["div",0]]},addKeyboardShortcuts(){let t={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...t,Tab:()=>this.editor.commands.sinkListItem(this.name)}:t},addNodeView(){return({node:t,HTMLAttributes:e,getPos:s,editor:i})=>{let n=document.createElement("li"),r=document.createElement("label"),o=document.createElement("span"),l=document.createElement("input"),a=document.createElement("div");return r.contentEditable="false",l.type="checkbox",l.addEventListener("mousedown",t=>t.preventDefault()),l.addEventListener("change",e=>{if(!i.isEditable&&!this.options.onReadOnlyChecked){l.checked=!l.checked;return}let{checked:n}=e.target;i.isEditable&&"function"==typeof s&&i.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:t})=>{let e=s();if("number"!=typeof e)return!1;let i=t.doc.nodeAt(e);return t.setNodeMarkup(e,void 0,{...null==i?void 0:i.attrs,checked:n}),!0}).run(),i.isEditable||!this.options.onReadOnlyChecked||this.options.onReadOnlyChecked(t,n)||(l.checked=!l.checked)}),Object.entries(this.options.HTMLAttributes).forEach(([t,e])=>{n.setAttribute(t,e)}),n.dataset.checked=t.attrs.checked,l.checked=t.attrs.checked,r.append(l,o),n.append(r,a),Object.entries(e).forEach(([t,e])=>{n.setAttribute(t,e)}),{dom:n,contentDOM:a,update:t=>t.type===this.type&&(n.dataset.checked=t.attrs.checked,l.checked=t.attrs.checked,!0)}}}
24,addInputRules(){return[(0,i.tG)({find:n,type:this.type,getAttributes:t=>({checked:"x"===t[t.length-1]})})]}})},93568:(t,e,s)=>{s.d(e,{A:()=>n});var i=s(9492);let n=i.CU.create({name:"textStyle",priority:101,addOptions:()=>({HTMLAttributes:{},mergeNestedSpanStyles:!1}),parseHTML(){return[{tag:"span",getAttrs:t=>!!t.hasAttribute("style")&&(this.options.mergeNestedSpanStyles&&(t=>{if(!t.children.length)return;let e=t.querySelectorAll("span");e&&e.forEach(t=>{var e,s;let i=t.getAttribute("style"),n=null==(s=null==(e=t.parentElement)?void 0:e.closest("span"))?void 0:s.getAttribute("style");t.setAttribute("style",`${n};${i}`)})})(t),{})}]},renderHTML({HTMLAttributes:t}){return["span",(0,i.KV)(this.options.HTMLAttributes,t),0]},addCommands(){return{removeEmptyTextStyle:()=>({tr:t})=>{let{selection:e}=t;return t.doc.nodesBetween(e.from,e.to,(e,s)=>{if(e.isTextblock)return!0;e.marks.filter(t=>t.type===this.type).some(t=>Object.values(t.attrs).some(t=>!!t))||t.removeMark(s,s+e.nodeSize,this.type)}),!0}}}})},94646:(t,e,s)=>{s.d(e,{Ay:()=>n});var i=s(9492);let n=i.YY.create({name:"typography",addOptions:()=>({closeDoubleQuote:"â",closeSingleQuote:"â",copyright:"\xa9",ellipsis:"â¦",emDash:"â",laquo:"\xab",leftArrow:"â",multiplication:"\xd7",notEqual:"â ",oneHalf:"\xbd",oneQuarter:"\xbc",openDoubleQuote:"â",openSingleQuote:"â",plusMinus:"\xb1",raquo:"\xbb",registeredTrademark:"\xae",rightArrow:"â",servicemark:"â ",superscriptThree:"\xb3",superscriptTwo:"\xb2",threeQuarters:"\xbe",trademark:"â¢"}),addInputRules(){let t,e,s,n,r,o,l,a,h,d,c,p,u,m,g,b,y,f,k,v,A,w,C=[];return!1!==this.options.emDash&&C.push((t=this.options.emDash,(0,i.Yp)({find:/--$/,replace:null!=t?t:"â"}))),!1!==this.options.ellipsis&&C.push((e=this.options.ellipsis,(0,i.Yp)({find:/\.\.\.$/,replace:null!=e?e:"â¦"}))),!1!==this.options.openDoubleQuote&&C.push((s=this.options.openDoubleQuote,(0,i.Yp)({find:/(?:^|[\s{[(<'"\u2018\u201C])(")$/,replace:null!=s?s:"â"}))),!1!==this.options.closeDoubleQuote&&C.push((n=this.options.closeDoubleQuote,(0,i.Yp)({find:/"$/,replace:null!=n?n:"â"}))),!1!==this.options.openSingleQuote&&C.push((r=this.options.openSingleQuote,(0,i.Yp)({find:/(?:^|[\s{[(<'"\u2018\u201C])(')$/,replace:null!=r?r:"â"}))),!1!==this.options.closeSingleQuote&&C.push((o=this.options.closeSingleQuote,(0,i.Yp)({find:/'$/,replace:null!=o?o:"â"}))),!1!==this.options.leftArrow&&C.push((l=this.options.leftArrow,(0,i.Yp)({find:/<-$/,replace:null!=l?l:"â"}))),!1!==this.options.rightArrow&&C.push((a=this.options.rightArrow,(0,i.Yp)({find:/->$/,replace:null!=a?a:"â"}))),!1!==this.options.copyright&&C.push((h=this.options.copyright,(0,i.Yp)({find:/\(c\)$/,replace:null!=h?h:"\xa9"}))),!1!==this.options.trademark&&C.push((d=this.options.trademark,(0,i.Yp)({find:/\(tm\)$/,replace:null!=d?d:"â¢"}))),!1!==this.options.servicemark&&C.push((c=this.options.servicemark,(0,i.Yp)({find:/\(sm\)$/,replace:null!=c?c:"â "}))),!1!==this.options.registeredTrademark&&C.push((p=this.options.registeredTrademark,(0,i.Yp)({find:/\(r\)$/,replace:null!=p?p:"\xae"}))),!1!==this.options.oneHalf&&C.push((u=this.options.oneHalf,(0,i.Yp)({find:/(?:^|\s)(1\/2)\s$/,replace:null!=u?u:"\xbd"}))),!1!==this.options.plusMinus&&C.push((m=this.options.plusMinus,(0,i.Yp)({find:/\+\/-$/,replace:null!=m?m:"\xb1"}))),!1!==this.options.notEqual&&C.push((g=this.options.notEqual,(0,i.Yp)({find:/!=$/,replace:null!=g?g:"â "}))),!1!==this.options.laquo&&C.push((b=this.options.laquo,(0,i.Yp)({find:/<<$/,replace:null!=b?b:"\xab"}))),!1!==this.options.raquo&&C.push((y=this.options.raquo,(0,i.Yp)({find:/>>$/,replace:null!=y?y:"\xbb"}))),!1!==this.options.multiplication&&C.push((f=this.options.multiplication,(0,i.Yp)({find:/\d+\s?([*x])\s?\d+$/,replace:null!=f?f:"\xd7"}))),!1!==this.options.superscriptTwo&&C.push((k=this.options.superscriptTwo,(0,i.Yp)({find:/\^2$/,replace:null!=k?k:"\xb2"}))),!1!==this.options.superscriptThree&&C.push((v=this.options.superscriptThree,(0,i.Yp)({find:/\^3$/,replace:null!=v?v:"\xb3"}))),!1!==this.options.oneQuarter&&C.push((A=this.options.oneQuarter,(0,i.Yp)({find:/(?:^|\s)(1\/4)\s$/,replace:null!=A?A:"\xbc"}))),!1!==this.options.threeQuarters&&C.push((w=this.options.threeQuarters,(0,i.Yp)({find:/(?:^|\s)(3\/4)\s$/,replace:null!=w?w:"\xbe"}))),C}})}}]);
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.