Lines Matching refs:type

269 declare type Block = any;
270 declare type BufArray = {
277 type RecordHopperCB = {(d:any, Rn:string, RT:number):?boolean;};
279 type EvertType = {[string]:string};
280 type EvertNumType = {[string]:number};
281 type EvertArrType = {[string]:Array<string>};
283 type StringConv = {(string):string};
570 function SSF_write_date(type/*:number*/, fmt/*:string*/, val, ss0/*:?number*/)/*:string*/ { argument
572 switch(type) {
646 function write_num_pct(type/*:string*/, fmt/*:string*/, val/*:number*/)/*:string*/{ argument
648 return write_num(type, sfmt, val * Math.pow(10,2*mul)) + fill("%",mul);
651 function write_num_cm(type/*:string*/, fmt/*:string*/, val/*:number*/)/*:string*/{ argument
654 return write_num(type, fmt.substr(0,idx), val / Math.pow(10,3*(fmt.length-idx)));
721 function write_num_flt(type/*:string*/, fmt/*:string*/, val/*:number*/)/*:string*/ { argument
722 if(type.charCodeAt(0) === 40 && !fmt.match(closeparen)) {
727 if(fmt.charCodeAt(fmt.length - 1) === 44) return write_num_cm(type, fmt, val);
728 if(fmt.indexOf('%') !== -1) return write_num_pct(type, fmt, val);
730 if(fmt.charCodeAt(0) === 36) return "$"+write_num_flt(type,fmt.substr(fmt.charAt(1)==' '?2:1),val);
750 …return val < 0 ? "-" + write_num_flt(type, fmt, -val) : commaify(""+(Math.floor(val) + carry(val, …
752 if((r = fmt.match(/^#,#*,#0/))) return write_num_flt(type,fmt.replace(/^#,#*,/,""),val);
754 o = _strrev(write_num_flt(type, fmt.replace(/[\\-]/g,""), val));
759 o = write_num_flt(type, "##########", val);
793 …return val < 0 ? "-" + write_num_flt(type, fmt, -val) : commaify(flr(val)).replace(/^\d,\d{3}$/,"0…
796 case "###,##0.00": return write_num_flt(type, "#,##0.00", val);
800 case "###,###.00": return write_num_flt(type, "###,##0.00",val).replace(/^0\./,".");
801 case "#,###.00": return write_num_flt(type, "#,##0.00",val).replace(/^0\./,".");
806 function write_num_cm2(type/*:string*/, fmt/*:string*/, val/*:number*/)/*:string*/{ argument
809 return write_num(type, fmt.substr(0,idx), val / Math.pow(10,3*(fmt.length-idx)));
811 function write_num_pct2(type/*:string*/, fmt/*:string*/, val/*:number*/)/*:string*/{ argument
813 return write_num(type, sfmt, val * Math.pow(10,2*mul)) + fill("%",mul);
837 function write_num_int(type/*:string*/, fmt/*:string*/, val/*:number*/)/*:string*/ { argument
838 if(type.charCodeAt(0) === 40 && !fmt.match(closeparen)) {
843 if(fmt.charCodeAt(fmt.length - 1) === 44) return write_num_cm2(type, fmt, val);
844 if(fmt.indexOf('%') !== -1) return write_num_pct2(type, fmt, val);
846 if(fmt.charCodeAt(0) === 36) return "$"+write_num_int(type,fmt.substr(fmt.charAt(1)==' '?2:1),val);
870 …return val < 0 ? "-" + write_num_int(type, fmt, -val) : commaify((""+val)) + "." + fill('0',r[1].l…
872 if((r = fmt.match(/^#,#*,#0/))) return write_num_int(type,fmt.replace(/^#,#*,/,""),val);
874 o = _strrev(write_num_int(type, fmt.replace(/[\\-]/g,""), val));
879 o = write_num_int(type, "##########", val);
912 …return val < 0 ? "-" + write_num_int(type, fmt, -val) : commaify(""+val).replace(/^\d,\d{3}$/,"0$&…
919 …if(fmt.match(/\.[0#?]*$/)) return write_num_int(type, fmt.slice(0,fmt.lastIndexOf(".")), val) + ha…
923 function write_num(type/*:string*/, fmt/*:string*/, val/*:number*/)/*:string*/ { argument
924 return (val|0) === val ? write_num_int(type, fmt, val) : write_num_flt(type, fmt, val);
1388 type SectorEntry = {
1393 type SectorList = {
1399 type CFBFiles = {[n:string]:CFBEntry};
1562 var type = blob.read_shift(2);
1565 switch(type) {
1587 o[type] = p;
1763 if(FI[i].type === 0 /* unknown */) continue;
1774 if(FI[i].type !== 2 /* stream */) FP[i] += "/";
1868 type: blob.read_shift(1),
1884 if(o.size < 0 && o.start < 0) { o.size = o.type = 0; o.start = ENDOFCHAIN; o.name = ""; }
1885 if(o.type === 5) { /* root */
1917 var type = options && options.type;
1918 if(!type) {
1919 if(has_buf && Buffer.isBuffer(blob)) type = "buffer";
1921 switch(type || "base64") {
1922 …case "file": /*:: if(typeof blob !== 'string') throw "Must pass a filename when type='file'"; */re…
1923 …f blob !== 'string') throw "Must pass a base64-encoded binary string when type='file'"; */return p…
1924 …case "binary": /*:: if(typeof blob !== 'string') throw "Must pass a binary string when type='file'…
1936 cfb.FileIndex[0] = ({ name: root, type: 5 }/*:any*/);
1945 cfb.FileIndex.push(({ name: nm, type: 2, content:p, size:4, L:69, R:69, C:69 }/*:any*/));
1954 switch(_file.type) {
1975 if(cfb.FileIndex[i].type === 0) continue;
1986 type: 1,
2015 elt.type = 5;
2021 elt.type = 1;
2024 elt.type = 2;
2141 o.write_shift(1, file.type);
2252 switch(options && options.type || "buffer") {
2650 /* header includes final bit and type bits */
3051 case "content-type": ctype = m[2].trim(); break;
3170 file = ({name: filename(name), type: 2}/*:any*/);
3261 var blob = new Blob([blobify(data)], {type:"application/octet-stream"});
3508 if(data.content && data.type) return cc2str(data.content, true);
3525 if(data.content && data.type) return data.content;
3591 switch(o.type) {
3592 case "base64": return CFB.read(d, { type: "base64" });
3593 case "binary": return CFB.read(d, { type: "binary" });
3594 case "buffer": case "array": return CFB.read(d, { type: "buffer" });
3596 throw new Error("Unrecognized type " + o.type);
4208 function write_record(ba/*:BufArray*/, type/*:number*/, payload, length/*:?number*/) { argument
4209 var t/*:number*/ = +type, l;
5382 /* book type-specific */
5392 /* standard type */
5495 function add_rels(rels, rId/*:number*/, f, type, relobj, targetmode/*:?string*/)/*:number*/ { argument
5502 relobj.Type = type;
5522 …if(FEtag.path == '/' && FEtag.type !== CT_ODS) throw new Error("This OpenDocument is not a spreads…
5536 …o.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="…
5537 …est:file-entry manifest:full-path="' + manifest[i][0] + '" manifest:media-type="' + manifest[i][1]…
5546 …' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/' + (tag || "odf") + '#…
5636 …"string" ? cp.CreatedDate : write_w3cdtf(cp.CreatedDate, opts.WTF), {"xsi:type":"dcterms:W3CDTF"},…
5637 …tring" ? cp.ModifiedDate : write_w3cdtf(cp.ModifiedDate, opts.WTF), {"xsi:type":"dcterms:W3CDTF"},…
5780 var type = toks[0].slice(4), text = toks[1];
5782 switch(type) {
5802 if(type.slice(-1) == '/') break;
5803 if(opts.WTF && typeof console !== 'undefined') console.warn('Unexpected', x, type, toks);
5939 function parse_lpstr(blob, type, pad/*:?number*/) { argument
5947 function parse_lpwstr(blob, type, pad) { argument
6036 function parse_TypedPropertyValue(blob, type/*:number*/, _opts)/*:any*/ { argument
6039 if(type !== VT_VARIANT)
6040 …if(t !== type && VT_CUSTOM.indexOf(type)===-1 && !((type & 0xFFFE) == 0x101E && (t & 0xFFFE) == 0x…
6041 switch(type === VT_VARIANT ? t : type) {
6057 default: throw new Error("TypedPropertyValue unrecognized type " + type + " " + t);
6060 function write_TypedPropertyValue(type/*:number*/, value) { argument
6062 o.write_shift(4, type == 0x50 ? 0x1F : type);
6063 switch(type) {
6076 default: throw new Error("TypedPropertyValue unrecognized type " + type + " " + value);
6289 hdr.write_shift(2, 0x0000); /* TODO: type 1 props */
6579 return {type: rt, flags: flags};
6868 if(header.type != 0x08A3) throw new Error("Invalid Future Record " + header.type);
7201 if(cch < 0x01 || cch >0xff) throw new Error("Unexpected SupBook type: "+cch);
7706 switch(opts.type) {
7757 /*:: type DBFField = { name:string; len:number; type:string; } */
7765 field.type = String.fromCharCode(d.read_shift(1));
7772 switch(field.type) {
7774 … if((!vfp || field.len != 8) && opts.WTF) console.log('Skipping ' + field.name + ':' + field.type);
7778 if(opts.WTF) console.log('Skipping ' + field.name + ':' + field.type);
7794 default: throw new Error('Unknown Field Type: ' + field.type);
7818 switch(fields[C].type) {
7836 if(!memo) throw new Error("DBF Unexpected MEMO for type " + ft.toString(16));
7856 default: throw new Error("DBF Unsupported data type " + fields[C].type);
7892 if(o.type == "string") throw new Error("Cannot write DBF to JS string");
7932 _guess = ((cols[i]||{}).DBF||{}).type;
7933 /* TODO: more fine grained control over DBF type resolution */
8051 switch(opts.type) {
8057 throw new Error("Unrecognized type " + opts.type);
8119 …if(typeof $cptable !== 'undefined' && typeof val == "string" && ((opts||{}).type != "string") && (…
8287 switch(opts.type) {
8293 throw new Error("Unrecognized type " + opts.type);
8301 var type = metadata[0], value = metadata[1];
8306 switch (+type) {
8433 "Content-type: text/plain; charset=UTF-8"
8651 var str = "", bytes = opts.type == 'string' ? [0,0,0,0] : firstbyte(d, opts);
8652 switch(opts.type) {
8662 default: throw new Error("Unrecognized type " + opts.type);
8665 …else if(opts.type != 'string' && opts.type != 'buffer' && opts.codepage == 65001) str = utf8read(s…
8666 …else if((opts.type == 'binary') && typeof $cptable !== 'undefined' && opts.codepage) str = $cptab…
8667 …if(str.slice(0,19) == "socialcalc:version:") return ETH.to_sheet(opts.type == 'string' ? str : utf…
8730 switch(opts.type) {
8736 throw "Unsupported type " + opts.type;
8869 if(o.type == "string") throw new Error("Cannot write WK1 to JS string");
8903 if(o.type == "string") throw new Error("Cannot write WK3 to JS string");
9637 var cnt = 0, type = 0, C = 0, R = 0;
9657 type = p.read_shift(1);
9679 type = p.read_shift(1);
9718 case 7: cell = { t: "s", v: SST[type = p.read_shift(4) - 1] }; break;
9720 default: throw "Unrecognized QPW cell type " + (flags & 0x1F);
9727 default: throw "Unsupported delta for QPW cell type " + (flags & 0x1F);
9740 case 7: cell = { t: "s", v: SST[type = (type + delta) >>> 0] }; break;
9741 default: throw "Cannot apply delta for QPW cell type " + (flags & 0x1F);
9745 case 7: cell = { t: "s", v: SST[type = p.read_shift(4) - 1] }; break;
9746 default: throw "Cannot apply repeat for QPW cell type " + (flags & 0x1F);
10378 switch (opts.type) {
10388 throw new Error("Unrecognized type " + opts.type);
11702 var zip; try { zip = zip_read(data, {type: "array"}); } catch(e) { return; }
11748 default: throw new Error("Unrecognized ExtProp type: " + extType + " " + cb);
11845 out.Cell.push({ type: out.Types[r[0] - 1].name, index: r[1] });
11847 out.Value.push({ type: out.Types[r[0] - 1].name, index: r[1] });
11932 out.Cell.push({ type: out.Types[y.t - 1].name, index: +y.v });
11934 out.Value.push({ type: out.Types[y.t - 1].name, index: +y.v });
12095 the actual type is based on the URI of the graphicData
12128 var fillopts = /*::(*/{'color2':"#BEFF82", 'type':"gradient"}/*:: :any)*/; property in write_vml_comment.fillopts
12129 if(fillopts.type == "gradient") fillopts.angle = "-180";
12130 …var fillparm = fillopts.type == "gradient" ? writextag("o:fill", null, {type:"gradientUnscaled", '…
12138 type:"#_x0000_t202",
12501 …ata:any, opts, idx:number, rels, wb, themes, styles*/)/*:Worksheet*/ { return {'!type':'dialog'}; }
12502 …ata:any, opts, idx:number, rels, wb, themes, styles*/)/*:Worksheet*/ { return {'!type':'dialog'}; }
12503 …data:any, opts, idx:number, rels, wb, themes, styles*/)/*:Worksheet*/ { return {'!type':'macro'}; }
12504 …data:any, opts, idx:number, rels, wb, themes, styles*/)/*:Worksheet*/ { return {'!type':'macro'}; }
12646 var type = (blob[blob.l++] & 0x60) >> 5;
12648 return [type, area];
12653 var type = (blob[blob.l++] & 0x60) >> 5;
12661 return [type, ixti, area];
12666 var type = (blob[blob.l++] & 0x60) >> 5;
12668 return [type];
12672 var type = (blob[blob.l++] & 0x60) >> 5;
12680 return [type, ixti];
12685 var type = (blob[blob.l++] & 0x60) >> 5;
12687 return [type, area];
12692 var type = (blob[blob.l++] & 0x60) >> 5;
12694 return [type];
12745 var type = blob.read_shift(1), cch = blob.read_shift(1);
12746 return [type, cch];
12764 var type = (blob[blob.l] & 0x60)>>5;
12767 return [type, loc];
12772 var type = (blob[blob.l] & 0x60)>>5;
12775 return [type, loc];
12780 var type = (blob[blob.l] & 0x60)>>5;
12785 return [type, ixti, loc];
12792 var type = (blob[blob.l] & 0x60)>>5;
12795 return [FtabArgc[iftab], Ftab[iftab], type];
12799 var type = blob[blob.l++];
12800 …var cparams = blob.read_shift(1), tab = opts && opts.biff <= 3 ? [(type == 0x58 ? -1 : 0), blob.re…
12893 var type = (blob.read_shift(1) >>> 5) & 0x03;
12901 return [type, 0, nameindex];
12907 var type = (blob.read_shift(1) >>> 5) & 0x03;
12910 return [type, ixti, nameindex];
12913 var type = (blob.read_shift(1) >>> 5) & 0x03;
12918 return [type, ixti, nameindex];
12923 var type = (blob.read_shift(1) >>> 5) & 0x03;
12926 return [type, cce];
12931 var type = (blob.read_shift(1) >>> 5) & 0x03;
12933 return [type, cce];
12939 var type = (blob.read_shift(1) >>> 5) & 0x03;
12943 return [type];
12948 var type = (blob[blob.l++] & 0x60) >> 5;
12956 return [type, ixti];
13046 var type = (blob.read_shift(1) >>> 5) & 0x03;
13048 return [type, cce];
13051 var type = (blob.read_shift(1) >>> 5) & 0x03;
13053 return [type, cce];
13305 …var stack/*:Array<string>*/ = [], e1, e2, /*::type,*/ c/*:CellAddress*/, ixti=0, nameidx=0, r, sna…
13374 /*::type = f[1][0]; */c = shift_cell_xls((f[1][1]/*:any*/), _range, opts);
13378 …/*::type = f[1][0]; */c = cell ? shift_cell_xls((f[1][1]/*:any*/), cell, opts) : (f[1][1]/*:any*/);
13382 …/*::type = f[1][0]; */ixti = /*::Number(*/f[1][1]/*::)*/; c = shift_cell_xls((f[1][2]/*:any*/), _r…
13390 /* f[1] = [argc, func, type] */
13412 /*::type = f[1][0]; */r = shift_range_xls(f[1][1], cell ? {s:cell} : _range, opts);
13416 /*::type = f[1][0]; */r = shift_range_xls(f[1][1], _range, opts);
13420 /*::type = f[1][0]; */ixti = /*::Number(*/f[1][1]/*::)*/; r = f[1][2];
13433 /* f[1] = type, 0, nameindex */
13443 /* f[1] = type, ixti, nameindex */
15725 if(cm && cm.type == 'XLDAPR') p.D = true;
16510 if(cm.type == 'XLDAPR') p.D = true;
16528 if(cm.type == 'XLDAPR') p.D = true;
16956 var cs/*:Worksheet*/ = ((csheet || {"!type":"chart"})/*:any*/);
16984 var s = ({'!type':"chart", '!drawel':null, '!rel':""}/*:any*/);
17019 var s = {'!type':"chart", '!drawel':null, '!rel':""};
18069 if(opts.type == 'binary' || opts.type == 'array' || opts.type == 'base64') {
18075 …exOf(",") & 1023), (opening.indexOf(";")&1023))) { var _o = dup(opts); _o.type = "string"; return …
18710 case 'type' /*case 'Type'*/: break;
18740 case 'type' /*case 'Type'*/: break;
18820 switch(opts.type||"base64") {
18825 /*:: throw new Error("unsupported type " + opts.type); */
19406 if(val.fDialog) out["!type"] = "dialog";
19502 if(val.dt == 0x20) out["!type"] = "chart";
19503 if(val.dt == 0x40) out["!type"] = "macro";
19512 …if(out["!type"] == "chart") if(options.dense ? (out[val.r]||[])[val.c]: out[encode_cell({c:val.c, …
19814 switch(options.type) {
19832 …_MAIN')) && _data.content) WorkbookP = WK_.to_workbook(_data.content, (options.type = T, options));
19834 …_MAIN')) && _data.content) WorkbookP = WK_.to_workbook(_data.content, (options.type = T, options));
19862 default: throw new Error("invalid type " + o.bookType + " for XLS CFB");
19867 …if(o.biff == 8 && wb.vbaraw) fill_vba_xls(cfb, CFB.read(wb.vbaraw, {type: typeof wb.vbaraw == "str…
21204 function write_biff_rec(ba/*:BufArray*/, type/*:number*/, payload, length/*:?number*/)/*:void*/ { argument
21205 var t/*:number*/ = type;
21214 function write_biff_continue(ba/*:BufArray*/, type/*:number*/, payload, length/*:?number*/)/*:void*… argument
21216 if(len <= 8224) return write_biff_rec(ba, type, payload, len);
21217 var t = type;
21229 o.write_shift(2, 0x3c); // TODO: figure out correct continue type
21606 throw new Error("invalid type " + o.bookType + " for BIFF");
21831 //o.bookType = "dom"; // TODO: define a type for this
22175 if((ctag['数据类型'] || ctag['value-type']) == "string") {
22196 q = ({t:ctag['数据类型'] || ctag['value-type'], v:null/*:: , z:null, w:"",c:[]*/}/*:any*/);
22223 /* 19.385 office:value-type */
22240 } else throw new Error('Unsupported value type ' + q.t);
22667 var type = "number", payload = "", nopts = { "style:name": nfidx }, c = "", i = 0;
22677 if(nf == "@") { type = "text"; payload = "<number:text-content/>"; break j; }
22680 if(nf.indexOf(/\$/) > -1) { type = "currency"; }
22701 …if((t=nf.match(/(\d+)(|\.\d+)%/))) { type = "percentage"; payload += writextag("number:number", nu…
22706 type = "date";
22740 if(type == "number") type = "time";
22771 if(nf.indexOf(/\$/) > -1) { type = "currency"; }
22812 return writextag("number:" + type + "-style", payload, nopts);
22886 ct['office:value-type'] = "boolean";
22891 ct['office:value-type'] = "float";
22896 ct['office:value-type'] = "string";
22900 ct['office:value-type'] = "date";
23322 var type = num & 7;
23328 switch (type) {
23355 … throw new Error("PB Type ".concat(type, " for Field ").concat(num, " at offset ").concat(off));
23357 var v = { data: res, type: type }; property in parse_shallow.v
23373 out.push(write_varint49(idx * 8 + item.type));
23374 if (item.type == 2)
23417 [{ data: write_varint49(ia.id), type: 0 }],
23421 ai[3] = [{ data: write_varint49(+!!ia.merge), type: 0 }];
23425 mi.meta[3] = [{ type: 0, data: write_varint49(mi.data.length) }];
23426 ai[2].push({ data: write_shallow(mi.meta), type: 2 });
23437 function parse_snappy_chunk(type, buf) { argument
23438 if (type != 0)
23439 throw new Error("Unexpected Snappy chunk type ".concat(type));
23754 throw new Error("Unsupported cell type ".concat(buf[subarray](0, 4)));
23758 throw new Error("Unsupported cell type ".concat(buf[subarray](0, 4)));
23822 …throw new Error("Unsupported cell type ".concat(buf[1], " : ").concat(fields & 31, " : ").concat(b…
23863 throw "unsupported cell type " + cell.t;
23895 throw "unsupported cell type " + cell.t;
23921 [{ type: 0, data: write_varint49(idx) }]
23930 iwa.messages[0].meta[5] = [{ type: 2, data: write_packed_varints(orefs) }];
23936 iwa.messages[0].meta[5] = [{ type: 2, data: write_packed_varints(orefs.filter(function(r) {
23942 var type = varint_to_i32(pb[1][0].data);
23950 switch (type) {
23972 throw type;
23977 function parse_TST_TileRowInfo(u8, type) { argument
23984 if (((_d = (_c = pb[7]) == null ? void 0 : _c[0]) == null ? void 0 : _d.data) && type != 0) {
23987 …} else if (((_j = (_i = pb[4]) == null ? void 0 : _i[0]) == null ? void 0 : _j.data) && type != 1)…
23991 throw "NUMBERS Tile missing ".concat(type, " cell storage");
24088 throw new Error("Expected merge type 6144, found ".concat(mtype));
24211 [{ type: 0, data: write_varint49(0) }],
24212 [{ type: 0, data: write_varint49(0) }],
24213 [{ type: 2, data: new Uint8Array([]) }],
24214 [{ type: 2, data: new Uint8Array(Array.from({ length: 510 }, function() {
24217 [{ type: 0, data: write_varint49(5) }],
24218 [{ type: 2, data: new Uint8Array([]) }],
24219 [{ type: 2, data: new Uint8Array(Array.from({ length: 510 }, function() {
24222 [{ type: 0, data: write_varint49(1) }]
24286 tri[8] = [{ type: 0, data: write_varint49(wide ? 1 : 0) }];
24289 function write_iwam(type, payload) { argument
24293 [{ type: 0, data: write_varint49(type) }]
24315 if (fi.type != 2)
24323 …dependents[packet.id] = { deps: [], location: fp, type: varint_to_i32(packet.messages[0].meta[1][0… property in AnonymousFunction701aad5bba00.dependents
24354 var cfb = CFB.read(opts.numbers, { type: "base64" });
24400 newsheetref = get_unique_msgid({ deps: [1], location: deps[sheetref].location, type: 2 }, deps);
24403 doc[1].push({ type: 2, data: write_TSP_Reference(newsheetref) });
24423 …{ deps: [newsheetref], location: deps[drawables[0]].location, type: deps[drawables[0]].type }, dep…
24426 sa[2] = [{ type: 2, data: write_TSP_Reference(tiaref) }];
24450 type: 2,
24453 [{ type: 0, data: write_varint49(tiaref) }]
24476 …ue_msgid({ deps: [tiaref], location: deps[oldtmaref].location, type: deps[oldtmaref].type }, deps);
24561 …t_unique_msgid({ deps: [tmaref], location: deps[oldref].location, type: deps[oldref].type }, deps);
24579 mlist[3].push({ type: 2, data: write_shallow([
24581 [{ type: 0, data: write_varint49(newref) }],
24582 [{ type: 2, data: stru8(newloc.replace(/-.*$/, "")) }],
24583 [{ type: 2, data: stru8(newloc) }],
24584 [{ type: 2, data: new Uint8Array([2, 0, 0]) }],
24585 [{ type: 2, data: new Uint8Array([2, 0, 0]) }],
24590 [{ type: 0, data: write_varint49(0) }],
24592 [{ type: 0, data: write_varint49(0) }]
24594 …mlist[1] = [{ type: 0, data: write_varint49(Math.max(newref + 1, parse_varint49(mlist[1][0].data))…
24608 type: 2,
24611 [{ type: 0, data: write_varint49(newref) }]
24624 …t_unique_msgid({ deps: [tmaref], location: deps[oldref].location, type: deps[oldref].type }, deps);
24642 mlist[3].push({ type: 2, data: write_shallow([
24644 [{ type: 0, data: write_varint49(newref) }],
24645 [{ type: 2, data: stru8(newloc.replace(/-.*$/, "")) }],
24646 [{ type: 2, data: stru8(newloc) }],
24647 [{ type: 2, data: new Uint8Array([2, 0, 0]) }],
24648 [{ type: 2, data: new Uint8Array([2, 0, 0]) }],
24653 [{ type: 0, data: write_varint49(0) }],
24655 [{ type: 0, data: write_varint49(0) }]
24657 …mlist[1] = [{ type: 0, data: write_varint49(Math.max(newref + 1, parse_varint49(mlist[1][0].data))…
24671 type: 2,
24674 [{ type: 0, data: write_varint49(newref) }]
24692 …newtileref = get_unique_msgid({ deps: [tmaref], location: "", type: deps[oldtileref].type }, deps);
24702 mlist[3].push({ type: 2, data: write_shallow([
24704 [{ type: 0, data: write_varint49(newtileref) }],
24705 [{ type: 2, data: stru8("Tables/Tile") }],
24706 [{ type: 2, data: stru8("Tables/Tile-".concat(newtileref)) }],
24707 [{ type: 2, data: new Uint8Array([2, 0, 0]) }],
24708 [{ type: 2, data: new Uint8Array([2, 0, 0]) }],
24713 [{ type: 0, data: write_varint49(0) }],
24715 [{ type: 0, data: write_varint49(0) }]
24717 …mlist[1] = [{ type: 0, data: write_varint49(Math.max(newtileref + 1, parse_varint49(mlist[1][0].da…
24731 type: 2,
24734 [{ type: 0, data: write_varint49(newtileref) }]
24756 sheetref[1] = [{ type: 2, data: stru8(wsname) }];
24803 base_bucket[2][R2] = { type: base_bucket[2][0].type, data: write_shallow(_bucket) }; property in write_numbers_tma.AnonymousFunction701aad5bdf00.base_bucket
24814 base_bucket[2][C] = { type: base_bucket[2][0].type, data: write_shallow(_bucket) }; property in write_numbers_tma.AnonymousFunction701aad5be000.base_bucket
24823 tilestore[2] = [{ type: 0, data: write_varint49(tstride) }];
24866 type: 6002
24871 [{ type: 0, data: write_varint49(0) }],
24872 [{ type: 0, data: write_varint49(Math.min(range.e.r + 1, (tidx + 1) * tstride)) }],
24873 [{ type: 0, data: write_varint49(0) }],
24874 …[{ type: 0, data: write_varint49(Math.min((tidx + 1) * tstride, range.e.r + 1) - tidx * tstride) }…
24876 [{ type: 0, data: write_varint49(5) }],
24877 [{ type: 0, data: write_varint49(1) }],
24878 [{ type: 0, data: write_varint49(USE_WIDE_ROWS ? 1 : 0) }]
24883 tiledata[5].push({ data: write_shallow(tilerow), type: 2 });
24885 tilestore[1].push({ type: 2, data: write_shallow([
24887 [{ type: 0, data: write_varint49(tidx) }],
24888 [{ type: 2, data: write_TSP_Reference(newtileid) }]
24898 mlist[3].push({ type: 2, data: write_shallow([
24900 [{ type: 0, data: write_varint49(newtileid) }],
24901 [{ type: 2, data: stru8("Tables/Tile") }],
24902 [{ type: 2, data: stru8("Tables/Tile-".concat(newtileid)) }],
24903 [{ type: 2, data: new Uint8Array([2, 0, 0]) }],
24904 [{ type: 2, data: new Uint8Array([2, 0, 0]) }],
24909 [{ type: 0, data: write_varint49(0) }],
24911 [{ type: 0, data: write_varint49(save_token) }]
24913 …mlist[1] = [{ type: 0, data: write_varint49(Math.max(newtileid + 1, parse_varint49(mlist[1][0].dat…
24927 type: 2,
24930 [{ type: 0, data: write_varint49(newtileid) }]
24937 rbtree[1].push({ type: 2, data: write_shallow([
24939 [{ type: 0, data: write_varint49(tidx * tstride) }],
24940 [{ type: 0, data: write_varint49(tidx) }]
24946 store[10] = [{ type: 2, data: new Uint8Array([]) }];
24949 type: 6144,
24958 return { type: 2, data: write_shallow([
24960 [{ type: 2, data: write_shallow([
24962 [{ type: 5, data: new Uint8Array(new Uint16Array([m.s.r, m.s.c]).buffer) }]
24964 [{ type: 2, data: write_shallow([
24966 …[{ type: 5, data: new Uint8Array(new Uint16Array([m.e.r - m.s.r + 1, m.e.c - m.s.c + 1]).buffer) }]
24972 store[13] = [{ type: 2, data: write_TSP_Reference(mergeid) }];
24988 type: 2,
24991 [{ type: 0, data: write_varint49(mergeid) }]
25008 sstdata[3].push({ type: 2, data: write_shallow([
25010 [{ type: 0, data: write_varint49(i) }],
25011 [{ type: 0, data: write_varint49(1) }],
25012 [{ type: 2, data: stru8(str) }]
25040 ['cellDates', false], /* emit date cells with type `d` */
25058 ['cellDates', false], /* write date cells with type `d` */
25102 default: throw new Error("Unrecognized sheet type " + stype);
25153 delete opts.type;
25154 if(typeof index_zip.content == "string") opts.type = "binary";
25427 var _type = (ws || {})["!type"] || "sheet";
25565 var _type = (ws || {})["!type"] || "sheet";
25663 switch((o||{}).type || "base64") {
25668 default: throw new Error("Unrecognized type " + (o && o.type || "undefined"));
25681 if(!o.type) o.type = (has_buf && Buffer.isBuffer(data)) ? "buffer" : "base64";
25698 switch(o.type) {
25703 default: throw new Error("Unrecognized type " + o.type);
25706 o.type = "binary";
25712 if(o.type == 'base64') d = Base64_decode(d);
25714 o.type = "binary";
25723 if(str) { o.type = "string"; return PRN.to_workbook(data, o); }
25731 …a instanceof ArrayBuffer) return readSync(new Uint8Array(data), (o = dup(o), o.type = "array", o));
25732 …if(typeof Uint8Array !== 'undefined' && data instanceof Uint8Array && !o.type) o.type = typeof Den…
25737 if(!o.type) o.type = (has_buf && Buffer.isBuffer(data)) ? "buffer" : "base64";
25738 …if(o.type == "file") { o.type = has_buf ? "buffer" : "binary"; d = read_binary(data); if(typeof Ui…
25739 if(o.type == "string") { str = true; o.type = "binary"; o.codepage = 65001; d = bstrify(data); }
25740 …if(o.type == 'array' && typeof Uint8Array !== 'undefined' && data instanceof Uint8Array && typeof …
25744 if(!vu.foo) {o=dup(o); o.type='array'; return readSync(ab2a(d), o);}
25782 var o = opts||{}; o.type = 'file';
25786 switch(o.type) {
25788 case "buffer": case "array": o.type = ""; break;
25789 case "file": return write_dl(o.file, CFB.write(cfb, {type:has_buf ? 'buffer' : ""}));
25790 case "string": throw new Error("'string' output type invalid for '" + o.bookType + "' files");
25791 default: throw new Error("Unrecognized type " + o.type);
25820 if(o.password) oopts.type = ftype;
25821 else switch(o.type) {
25822 case "base64": oopts.type = "base64"; break;
25823 case "binary": oopts.type = "string"; break;
25824 case "string": throw new Error("'string' output type invalid for '" + o.bookType + "' files");
25826 case "file": oopts.type = ftype; break;
25827 default: throw new Error("Unrecognized type " + o.type);
25829 …FB.write(z, {fileType:"zip", type: /*::(*/{"nodebuffer": "buffer", "string": "binary"}/*:: :any)*/…
25832 if(o.type == "binary" || o.type == "base64") return out;
25839 if(o.type === "file") return write_dl(o.file, out);
25840 return o.type == "string" ? utf8read(/*::(*/out/*:: :any)*/) : out;
25852 switch(opts.type) {
25860 …else return write_string_type(o, {type:'binary'}).split("").map(function(c) { return c.charCodeAt(…
25863 throw new Error("Unrecognized type " + opts.type);
25867 switch(opts.type) {
25877 throw new Error("Unrecognized type " + opts.type);
25882 switch(opts.type) {
25889 …return opts.type == 'base64' ? Base64_encode(bstr) : opts.type == 'string' ? utf8read(bstr) : bstr;
25892 default: throw new Error("Unrecognized type " + opts.type);
25901 …if(o.type == "array") { o.type = "binary"; var out/*:string*/ = (writeSyncXLSX(wb, o)/*:any*/); o.
25910 …if(o.type == "array") { o.type = "binary"; var out/*:string*/ = (writeSync(wb, o)/*:any*/); o.type
25966 var o = opts||{}; o.type = 'file';
25973 var o = opts||{}; o.type = 'file';
25981 var o = opts||{}; o.type = 'file';
25984 o.type = 'buffer';
25989 type MJRObject = {
26015 default: throw new Error('unrecognized type ' + val.t);
26140 if(typeof $cptable == 'undefined' || opts.type == 'string') return s;