PageSourceSearch

https://ilaword.org/_next/static/chunks/1130.504404191cbe08df.js

js ilaword.org collected 2026-10-02 10:07:02 UTC 11,476 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1130],{38298:function(t,e,n){var r=n(40677);t.exports=function(t){var e;for(e in r)if(r[e].detect(t))return e}},73269:function(t,e,n){var r=n(96434).Buffer,i=n(40677),s=n(38298);t.exports=function(t){if(r.isBuffer(t))return function(t){var e=s(t);if(e in i){var n=i[e].calculate(t);if(!1!==n)return n.type=e,n}throw TypeError("unsupported file type: "+e)}(t);throw TypeError("expecting only a buffer as input")},t.exports.types=Object.keys(i)},40677:function(t,e,n){var r={bmp:n(16127),cur:n(35790),dds:n(68603),gif:n(61358),ico:n(31187),jpg:n(20537),png:n(74113),psd:n(20693),svg:n(28743),webp:n(33394)};t.exports=r},16127:function(t){t.exports={detect:function(t){return"BM"===t.toString("ascii",0,2)},calculate:function(t){return{width:t.readUInt32LE(18),height:Math.abs(t.readInt32LE(22))}}}},35790:function(t,e,n){t.exports={detect:function(t){return 0===t.readUInt16LE(0)&&2===t.readUInt16LE(2)},calculate:n(31187).calculate}},68603:function(t){t.exports={detect:function(t){return 542327876===t.readUInt32LE(0)},calculate:function(t){return{height:t.readUInt32LE(12),width:t.readUInt32LE(16)}}}},61358:function(t){var e=/^GIF8[79]a/;t.exports={detect:function(t){var n=t.toString("ascii",0,6);return e.test(n)},calculate:function(t){return{width:t.readUInt16LE(6),height:t.readUInt16LE(8)}}}},31187:function(t){function e(t,e){var n=t.readUInt8(e);return 0===n?256:n}function n(t,n){var r=6+16*n;return{width:e(t,r),height:e(t,r+1)}}t.exports={detect:function(t){return 0===t.readUInt16LE(0)&&1===t.readUInt16LE(2)},calculate:function(t){var e,r=t.readUInt16LE(4),i=n(t,0);if(1===r)return i;for(e=1,i.images=[{width:i.width,height:i.height}];e<r;e+=1)i.images.push(n(t,e));return i}}},20537:function(t){t.exports={detect:function(t){return"ffd8"===t.toString("hex",0,2)},calculate:function(t){var e,n,r,i;for(t=t.slice(4);t.length;){if(e=t.readUInt16BE(0),!function(t,e){if(e>t.length)throw TypeError("Corrupt JPG, exceeded buffer limits");if(255!==t[e])throw TypeError("Invalid JPG, marker table corrupted")}(t,e),192===(n=t[e+1])||193===n||194===n)return r=t,i=e+5,{height:r.readUInt16BE(i),width:r.readUInt16BE(i+2)};t=t.slice(e+2)}throw TypeError("Invalid JPG, no size found")}}},74113:function(t){var e="CgBI";t.exports={detect:function(t){if("PNG\r\n\x1a\n"===t.toString("ascii",1,8)){var n=t.toString("ascii",12,16);if(n===e&&(n=t.toString("ascii",28,32)),"IHDR"!==n)throw TypeError("invalid png");return!0}},calculate:function(t){return t.toString("ascii",12,16)===e?{width:t.readUInt32BE(32),height:t.readUInt32BE(36)}:{width:t.readUInt32BE(16),height:t.readUInt32BE(20)}}}},20693:function(t){t.exports={detect:function(t){return"8BPS"===t.toString("ascii",0,4)},calculate:function(t){return{width:t.readUInt32BE(18),height:t.readUInt32BE(14)}}}},28743:function(t){var e=/<svg[^>]+[^>]*>/,n=/<svg\s[^>]+>/,r=/\bwidth=(['"])([^%]+?)\1/,i=/\bheight=(['"])([^%]+?)\1/,s=/\bviewBox=(['"])(.+?)\1/;t.exports={detect:function(t){return e.test(t)},calculate:function(t){var e=t.toString("utf8").match(n);if(e){var a,o,h,l,c,u,d=(h=(a=e[0]).match(r),l=a.match(i),c=a.match(s),{width:h&&parseInt(h[2],10),height:l&&parseInt(l[2],10),viewbox:c&&{width:parseInt((o=c[2].split(" "))[2],10),height:parseInt(o[3],10)}});if(d.width&&d.height)return{width:d.width,height:d.height};if(d.viewbox)return u=d.viewbox.width/d.viewbox.height,d.width?{width:d.width,height:Math.floor(d.width/u)}:d.height?{width:Math.floor(d.height*u),height:d.height}:{width:d.viewbox.width,height:d.viewbox.height}}throw TypeError("invalid svg")}}},33394:function(t){t.exports={detect:function(t){var e="RIFF"===t.toString("ascii",0,4),n="WEBP"===t.toString("ascii",8,12),r="VP8"===t.toString("ascii",12,15);return e&&n&&r},calculate:function(t){var e,n,r=t.toString("ascii",12,16);if(t=t.slice(20,30),"VP8X"===r){var i,s=t[0];return(192&s)==0&&(1&s)==0&&{width:1+(i=t).readUIntLE(4,3),height:1+i.readUIntLE(7,3)}}if("VP8 "===r&&47!==t[0])return{width:16383&(e=t).readInt16LE(6),height:16383&e.readInt16LE(8)};var a=t.toString("hex",3,6);return"VP8L"===r&&"9d012a"!==a&&{width:1+((63&(n=t)[2])<<8|n[1]),height:1+((15&n[4])<<10|n[3]<<2|(192&n[2])>>6)}}}},51130:function(t,e,n){n.r(e),n.d(e,{createWordBlob:function(){return b}});var r=n(60432),i=n(73269),s=n.n(i);function a(t){return{alignment:r.B1p.START,style:{paragraph:{indent:{left:(0,r.vwV)(t),hanging:(0,r.vwV)(.18)}}}}}let o={numbered:[,,,].fill([r.WaB.DECIMAL,r.WaB.LOWER_LETTER,r.WaB.LOWER_ROMAN]).flat().map((t,e)=>Object.assign({level:e,format:t,text:`%${e+1}.`},a((e+1)/2))),bullets:[,,,].fill(["●","○","■"]).flat().map((t,e)=>Object.assign({level:e,format:r.WaB.BULLET,text:t},a((e+1)/2)))};function h(){return Math.random().toString(36).substr(2,9)}function l(t){let e="";return t.forEach(t=>{t.isText&&(e+=t.text)}),e}function c(t,e,n,i){let s=n?[new r.hal(n)]:[],a=i?[new r.hal(i)]:[];return new r.rp_({id:t,children:[...s,new r.IWO(e),...a]})}class u{constructor(t,e,n){this.footnotes={},this.current=[],this.maxImageWidth=600,this.$footnoteCounter=0,this.nodes=t,this.marks=e,this.options=null!=n?n:{},this.children=[],this.numbering=[]}renderContent(t,e){t.forEach((n,r,i)=>
1{e&&this.addParagraphOptions(e),this.render(n,t,i)})}render(t,e,n){if("number"==typeof e)throw Error("!");if(!this.nodes[t.type.name])throw Error(`Token type \`${t.type.name}\` not supported by Word renderer`);this.nodes[t.type.name](this,t,e,n)}renderMarks(t,e){return e.map(e=>{var n,r;return null===(r=(n=this.marks)[e.type.name])||void 0===r?void 0:r.call(n,this,t,e)}).reduce((t,e)=>Object.assign(Object.assign({},t),e),{})}renderInline(t){let e;let n=()=>{if(!e)return;let t=new r.EpJ({link:e.link,children:this.current});this.current=[...e.stack,t],e=void 0},i=t=>{let r=t===(null==e?void 0:e.link);this.addRunOptions({style:"Hyperlink"}),e&&r||(e&&!r&&n(),e={link:t,stack:this.current},this.current=[])};t.forEach((r,s,a)=>{let o=r.marks.filter(t=>"link"===t.type.name),h=o.length>0;h?i(o[0].attrs.href):!h&&e&&n(),r.isText?this.text(r.text,this.renderMarks(r,[...r.marks])):this.render(r,t,a)}),n()}renderList(t,e){if(this.currentNumbering){let{reference:t,level:e}=this.currentNumbering;this.currentNumbering={reference:t,level:e+1}}else{let t=h();this.numbering.push({reference:t,levels:o[e]}),this.currentNumbering={reference:t,level:0}}if(this.renderContent(t),0===this.currentNumbering.level)delete this.currentNumbering;else{let{reference:t,level:e}=this.currentNumbering;this.currentNumbering={reference:t,level:e-1}}}renderListItem(t){if(!this.currentNumbering)throw Error("Trying to create a list item without a list?");this.addParagraphOptions({numbering:this.currentNumbering}),this.renderContent(t)}addParagraphOptions(t){this.nextParentParagraphOpts=Object.assign(Object.assign({},this.nextParentParagraphOpts),t)}addRunOptions(t){this.nextRunOpts=Object.assign(Object.assign({},this.nextRunOpts),t)}text(t,e){t&&(this.current.push(new r.hal(Object.assign(Object.assign({text:t},this.nextRunOpts),e))),delete this.nextRunOpts)}math(t,e={inline:!0}){var n;if(e.inline||!e.numbered){this.current.push(new r.ZX$({children:[new r.t3y(t)]}));return}let i=null!==(n=e.id)&&void 0!==n?n:h();this.current=[new r.hal("	"),new r.ZX$({children:[new r.t3y(t)]}),new r.hal("	("),c(i,"Equation"),new r.hal(")")],this.addParagraphOptions({tabStops:[{type:r.C_2.CENTER,position:r.L2D.MAX/2},{type:r.C_2.RIGHT,position:r.L2D.MAX}]})}image(t,e=70,n="center",i){let a;let o=this.options.getImageBuffer(t),h=s()(o),l=h.height/h.width,c=this.maxImageWidth*(e/100);switch(this.current.push(new r._oj(Object.assign(Object.assign({},i),{data:o,type:t.replace(/.*\./,"").toLowerCase(),transformation:Object.assign(Object.assign({},(null==i?void 0:i.transformation)||{}),{width:c,height:c*l})}))),n){case"right":a=r.B1p.RIGHT;break;case"left":a=r.B1p.LEFT;break;default:a=r.B1p.CENTER}this.addParagraphOptions({alignment:a})}table(t,e={}){let{getCellOptions:n,getRowOptions:i,tableOptions:s}=e,a=this.children,o=[];t.content.forEach(t=>{let e=[],s=!0;t.content.forEach(t=>{"table_header"!==t.type.name&&(s=!1)}),this.maxImageWidth=600/t.content.childCount,t.content.forEach(t=>{var i,s;this.children=[],this.renderContent(t);let a={children:this.children},o=null!==(i=t.attrs.colspan)&&void 0!==i?i:1,h=null!==(s=t.attrs.rowspan)&&void 0!==s?s:1;o>1&&(a.columnSpan=o),h>1&&(a.rowSpan=h),e.push(new r.pj1(Object.assign(Object.assign({},a),(null==n?void 0:n(t))||{})))}),o.push(new r.SCH(Object.assign(Object.assign({},(null==i?void 0:i(t))||{}),{children:e,tableHeader:s})))}),this.maxImageWidth=600;let h=new r.iA_(Object.assign(Object.assign({},s),{rows:o}));a.push(h),a.push(new r.nvN("")),this.children=a}captionLabel(t,e,{suffix:n}={suffix:": "}){this.current.push(c(t,e,`${e} `),new r.hal(n))}footnote(t){let{current:e,nextRunOpts:n}=this;this.current=[],delete this.nextRunOpts,this.$footnoteCounter+=1,this.renderInline(t),this.footnotes[this.$footnoteCounter]={children:[new r.nvN({children:this.current})]},this.current=e,this.nextRunOpts=n,this.current.push(new r.spV(this.$footnoteCounter))}closeBlock(t,e){let n=new r.nvN(Object.assign(Object.assign({children:this.current},this.nextParentParagraphOpts),e));this.current=[],delete this.nextParentParagraphOpts,this.children.push(n)}createReference(t,e,n){let i=[];e&&i.push(new r.hal(e)),i.push(new r.vwk(`REF ${t} \\h`)),n&&i.push(new r.hal(n));let s=new r.$PO({anchor:t,children:i});this.current.push(s)}}class d{constructor(t,e){this.nodes=t,this.marks=e}serialize(t,e){let n=new u(this.nodes,this.marks,e);return n.renderContent(t),new r.BBB({footnotes:n.footnotes,numbering:{config:n.numbering},sections:[{properties:{type:r.bAK.CONTINUOUS},children:n.children}]})}}let p={text(t,e){var n;t.text(null!==(n=e.text)&&void 0!==n?n:"")},paragraph(t,e){t.renderInline(e),t.closeBlock(e)},heading(t,e){t.renderInline(e);let n=[r.y5t.HEADING_1,r.y5t.HEADING_2,r.y5t.HEADING_3,r.y5t.HEADING_4,r.y5t.HEADING_5,r.y5t.HEADING_6][e.attrs.level-1];t.closeBlock(e,{heading:n})},blockquote(t,e){t.renderContent(e,{style:"IntenseQuote"})},code_block(t,e){t.renderContent(e),t.closeBlock(e)},horizontal_rule(t,e){t.closeBlock(e,{thematicBreak:!0}),t.closeBlock(e)},hard_break(t){t.addRunOptions({break:1})},ordered_list(t,e){t.renderList(e,"numbered")},bullet_list(t,e){t.renderList(e,"bullets")},list_item(t,e){t.renderListItem(e)},image(t,e){let{src:n}=e.attrs;t.image(n),t.closeBlock(e)},math(t,e){t.math(l(e),{inline:!0})},equation(t,e){let{id:n,numbered:r}=e.attrs;t.math(l(e),{inline:!1,numbered:r,id:n}),t.closeBlock(e)},table(t,e){t.table(e)}},g={em:()=>({italics:!0}),strong:()=>({bold:!0}),italic:()=>({italics:!0}),bold:()=>({bold:!0}),link:()=>({}),code:()=>({font:{name:"Monospace"},color:"000000",shading:{type:r.zde.SOLID,color:"D2D3D2",fill:"D2D3D2"}}),abbr:()=>({}),subscript:()=>({subScript:!0}),superscript:()=>({superScript:!0}),strikethrough:()=>({strike:!0}),underline:()=>({underline:{}}),smallcaps:()=>({smallCaps:!0}),allcaps:()=>({allCaps:!0})};new d(p,g);var f=new d({...p,hardBreak:p.hard_break,codeBlock:p.code_block,orderedList:p.ordered_list,listItem:p.list_item,bulletList:p.bullet_list,horizontalRule:p.horizontal_rule,image(t,e){t.renderInline(e),t.closeBlock(e)},table(t,e){t.table(e,{tableOptions:{width:{size:100,type:r.Y1N.PERCENTAGE}}})}},g);function b(t){let e=f.serialize(t,{getImageBuffer:()=>{throw Error("Image export is disabled by the image serializer.")}});return r.UDs.toBlob(e)}}}]);

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.