@mescius/spread-excelio 17.1.1 → 17.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * SpreadJS ExcelIO Library 17.1.1
3
+ * SpreadJS ExcelIO Library 17.1.3
4
4
  *
5
5
  * Copyright(c) MESCIUS inc. All rights reserved.
6
6
  *
@@ -22,10 +22,10 @@ borderWidth:1,borderStyle:"thin",borderColor:"#999999"}},selectedItemWithNoDataS
22
22
  "HYShortSamul-Medium":5,"HYSinMyeongJo-Medium":8,Impact:7,"Imprint MT Shadow":6,"Informal Roman":7,"Ink Free":6,IrisUPC:6,"Iskoola Pota":6,JasmineUPC:6,"Javanese Text":7,Jokerman:9,"Juice ITC":4,KaiTi:6,Kalinga:6,Kartika:6,"Khmer UI":6,KodchiangUPC:6,Kokila:6,"Kristen ITC":7,"Kunstler Script":4,"Lao UI":6,Latha:6,Leelawadee:6,"Leelawadee UI":6,"Leelawadee UI Semilight":7,"Levenim MT":6,LilyUPC:6,"Lucida Bright":7,"Lucida Calligraphy":9,"Lucida Console":8,"Lucida Fax":8,"Lucida Handwriting":9,"Lucida Sans":8,"Lucida Sans Typewriter":7,"Lucida Sans Unicode":9,"Magic R":8,Magneto:9,"Maiandra GD":8,"Malgun Gothic":7,"Malgun Gothic Semilight":8,Mangal:7,Marlett:13,"Matura MT Script Capitals":9,Meiryo:8,"Meiryo UI":8,"Microsoft GothicNeo":7,"Microsoft Himalaya":5,"Microsoft JhengHei":7,"Microsoft JhengHei Light":8,"Microsoft JhengHei UI":7,"Microsoft JhengHei UI Light":8,"Microsoft New Tai Lue":7,"Microsoft PhagsPa":7,"Microsoft Sans Serif":8,"Microsoft Tai Le":7,"Microsoft Uighur":5,"Microsoft YaHei Light":8,"Microsoft YaHei UI":7,"Microsoft YaHei UI Light":8,"Microsoft Yi Baiti":7,MingLiU:7,MingLiU_HKSCS:7,"MingLiU_HKSCS-ExtB":7,"MingLiU-ExtB":7,Miriam:7,"Miriam Fixed":7,Mistral:6,"Modern No. 20":6,"MoeumT R":8,"Mongolian Baiti":7,"Monotype Corsiva":6,MoolBoran:7,"MS Gothic":6,"MS Mincho":7,"MS Outlook":7,"MS PGothic":7,"MS PMincho":7,"MS Reference Sans Serif":9,"MS Reference Specialty":15,"MS UI Gothic":7,"MT Extra":13,"MV Boli":9,"Myanmar Text":7,Narkisim:7,"Neue Haas Grotesk Text Pro":7,"New Gulim":8,"News Gothic MT":7,"Niagara Engraved":5,"Niagara Solid":5,"Nirmala UI":7,"Nirmala UI Semilight":8,Nyala:7,"OCR A Extended":8,OCRB:8,"Old English Text MT":7,Onyx:5,"Palace Script MT":5,"Palatino Linotype":6,Papyrus:8,Parchment:4,Perpetua:6,"Perpetua Titling MT":8,"Plantagenet Cherokee":7,Playbill:5,PMingLiU:7,"PMingLiU-ExtB":7,"Poor Richard":8,Pristina:6,"Pyunji R":7,Raavi:7,"Rage Italic":7,Ravie:12,Rockwell:7,"Rockwell Condensed":5,"Rockwell Extra Bold":8,"Rockwell Light":7,"Rockwell Nova":7,"Rockwell Nova Cond":7,"Rockwell Nova Cond Light":7,"Rockwell Nova Extra Bold":7,"Rockwell Nova Light":7,Rod:7,"Sakkal Majalla":7,"Sanskrit Text":7,"Script MT Bold":6,"Segoe MDL2 Assets":5,"Segoe Print":9,"Segoe Script":9,"Segoe UI":6,"Segoe UI Black":7,"Segoe UI Emoji":6,"Segoe UI Historic":6,"Segoe UI Light":6,"Segoe UI Semibold":7,"Segoe UI Semilight":7,"Segoe UI Symbol":6,Selawik:6,"Selawik Light":6,"Selawik Semibold":6,"Shonar Bangla":6,"Showcard Gothic":8,Shruti:6,"Simplified Arabic":6,"Simplified Arabic Fixed":6,"SimSun-ExtB":6,"Sitka Banner":6,"Sitka Display":6,"Sitka Heading":7,"Sitka Small":8,"Sitka Subheading":7,"Sitka Text":8,"Snap ITC":10,"Source Sans Pro":6,"Source Sans Pro Black":6,"Source Sans Pro ExtraLight":6,"Source Sans Pro Light":6,"Source Sans Pro SemiBold":6,Stencil:7,Sylfaen:6,Symbol:6,Tahoma:7,"Tempus Sans ITC":8,"TH SarabunPSK":6,"Times New Roman":6,"Traditional Arabic":6,"Trebuchet MS":6,Tunga:6,"Tw Cen MT":7,"Tw Cen MT Condensed":4,"Tw Cen MT Condensed Extra Bold":6,"UD Digi Kyokasho N-B":6,"UD Digi Kyokasho NK-B":6,"UD Digi Kyokasho NK-R":6,"UD Digi Kyokasho NP-B":6,"UD Digi Kyokasho NP-R":6,"UD Digi Kyokasho N-R":6,Univers:6,"Univers Condensed":6,"Univers Condensed Light":6,"Univers Light":6,"Urdu Typesetting":6,Utsaah:6,Vani:6,Verdana:8,"Verdana Pro":6,"Verdana Pro Black":6,"Verdana Pro Cond":6,"Verdana Pro Cond Black":6,"Verdana Pro Cond Light":6,"Verdana Pro Cond SemiBold":6,"Verdana Pro Light":6,"Verdana Pro SemiBold":6,Vijaya:6,"Viner Hand ITC":8,Vivaldi:5,"Vladimir Script":6,Vrinda:6,Webdings:12,"Wide Latin":15,Wingdings:16,"Wingdings 2":14,"Wingdings 3":11,"Yet R":6,"Yu Gothic":7,"Yu Gothic Light":6,"Yu Gothic Medium":7,"Yu Gothic UI":6,"Yu Gothic UI Light":6,"Yu Gothic UI Semibold":7,"Yu Gothic UI Semilight":7,"Yu Mincho":7,"Yu Mincho Demibold":6,"Yu Mincho Light":6,"\u4eff\u5b8b":6,"\u534e\u6587\u4e2d\u5b8b":7,"\u534e\u6587\u4eff\u5b8b":6,"\u534e\u6587\u5b8b\u4f53":6,"\u534e\u6587\u5f69\u4e91":7,"\u534e\u6587\u65b0\u9b4f":7,"\u534e\u6587\u6977\u4f53":6,"\u534e\u6587\u7425\u73c0":7,"\u534e\u6587\u7ec6\u9ed1":7,"\u534e\u6587\u884c\u6977":6,"\u534e\u6587\u96b6\u4e66":5,"\u5b8b\u4f53":6,"\u5e7c\u5706":6,"\u5fae\u8f6f\u96c5\u9ed1":7,"\u5fae\u8f6f\u96c5\u9ed1 Light":7,"\u65b0\u5b8b\u4f53":6,"\u65b9\u6b63\u59da\u4f53":6,"\u65b9\u6b63\u8212\u4f53":7,"\u6977\u4f53":6,"\u7b49\u7ebf":6,"\u7b49\u7ebf Light":6,"\u96b6\u4e66":6,"\u9ed1\u4f53":6,"\u6e38\u30b4\u30b7\u30c3\u30af":7,"\uff2d\uff33 \uff30\u660e\u671d":6,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':6,"\u30e1\u30a4\u30ea\u30aa":7,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":6,"HG\u660e\u671dB":6,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":6},10:{"Gill Sans MT":7,Abadi:8,"Abadi Extra Light":7,"Agency FB":5,Aharoni:5,Aldhabi:4,Algerian:8,"Ami R":5,"Angsana New":4,AngsanaUPC:4,Aparajita:5,"Arabic Typesetting":4,Arial:7,"Arial Black":9,"Arial Narrow":6,"Arial Nova":7,"Arial Nova Cond":7,"Arial Nova Cond Light":6,"Arial Nova Light":7,"Arial Rounded MT Bold":8,"Baskerville Old Face":6,Batang:7,BatangChe:7,"Bauhaus 93":7,"Bell MT":7,Bembo:6,"Berlin Sans FB":8,"Berlin Sans FB Demi":8,"Bernard MT Condensed":6,"Blackadder ITC":5,"Bodoni MT":6,"Bodoni MT Black":9,"Bodoni MT Condensed":4,"Bodoni MT Poster Compressed":5,"Book Antiqua":7,"Bookman Old Style":8,"Bookshelf Symbol 7":10,"Bradley Hand ITC":8,"Britannic Bold":8,Broadway:8,"Browallia New":5,BrowalliaUPC:5,"Brush Script MT":7,Calibri:7,"Calibri Light":7,"Californian FB":7,"Calisto MT":7,Cambria:7,"Cambria Math":7,Candara:7,Castellar:9,Centaur:6,Century:7,"Century Gothic":7,"Century Schoolbook":7,Chiller:6,"Colonna MT":7,"Comic Sans MS":8,Consolas:7,Constantia:7,"Cooper Black":8,"Copperplate Gothic Bold":9,"Copperplate Gothic Light":9,Corbel:7,"Cordia New":5,CordiaUPC:5,"Courier New":8,"Curlz MT":7,Dante:6,DaunPenh:4,David:6,DilleniaUPC:4,DokChampa:7,Dotum:6,DotumChe:7,Dubai:7,"Dubai Light":7,"Dubai Medium":7,Ebrima:7,"Edwardian Script ITC":6,Elephant:10,"Engravers MT":8,"Eras Bold ITC":8,"Eras Demi ITC":8,"Eras Light ITC":7,"Eras Medium ITC":7,EucrosiaUPC:5,Euphemia:8,"Expo M":11,FangSong:7,"Felix Titling":8,"Footlight MT Light":7,Forte:7,"Franklin Gothic Book":8,"Franklin Gothic Demi":8,"Franklin Gothic Demi Cond":7,"Franklin Gothic Heavy":8,"Franklin Gothic Medium":8,"Franklin Gothic Medium Cond":7,FrankRuehl:5,FreesiaUPC:6,"Freestyle Script":5,"French Script MT":5,Gabriola:5,Gadugi:7,Garamond:6,Gautami:8,Georgia:9,"Georgia Pro":7,"Georgia Pro Black":9,"Georgia Pro Cond":7,"Georgia Pro Cond Black":8,"Georgia Pro Cond Light":7,"Georgia Pro Cond Semibold":7,"Georgia Pro Light":7,"Georgia Pro Semibold":8,Gigi:7,"Gill Sans MT Condensed":5,"Gill Sans MT Ext Condensed Bold":4,"Gill Sans Nova":7,"Gill Sans Nova Cond":4,"Gill Sans Nova Cond Lt":4,"Gill Sans Nova Cond Ultra Bold":8,"Gill Sans Nova Cond XBd":7,"Gill Sans Nova Light":7,"Gill Sans Nova Ultra Bold":11,"Gill Sans Ultra Bold":11,"Gill Sans Ultra Bold Condensed":8,Gisha:7,"Gloucester MT Extra Condensed":5,"Goudy Old Style":7,"Goudy Stout":11,Grotesque:6,"Grotesque Light":6,Gulim:7,GulimChe:7,Gungsuh:6,GungsuhChe:7,"Hadassah Friedlaender":7,Haettenschweiler:6,"Harlow Solid Italic":6,Harrington:7,"Headline R":9,HGGothicE:7,HGGothicM:7,HGGyoshotai:7,HGKyokashotai:7,HGMaruGothicMPRO:10,HGMinchoB:8,HGMinchoE:8,HGPGothicE:8,HGPGothicM:9,HGPGyoshotai:7,HGPKyokashotai:7,HGPMinchoB:7,HGPMinchoE:8,HGPSoeiKakugothicUB:9,HGPSoeiKakupoptai:9,HGPSoeiPresenceEB:8,HGSeikaishotaiPRO:8,HGSGothicE:7,HGSGothicM:8,HGSGyoshotai:6,HGSKyokashotai:6,HGSMinchoB:7,HGSMinchoE:8,HGSoeiKakugothicUB:8,HGSoeiKakupoptai:8,HGSoeiPresenceEB:8,HGSSoeiKakugothicUB:8,HGSSoeiKakupoptai:8,HGSSoeiPresenceEB:7,"High Tower Text":6,"HYGothic-Extra":8,"HYGothic-Medium":8,"HYGraphic-Medium":8,"HYGungSo-Bold":8,"HYHeadLine-Medium":8,"HYMyeongJo-Extra":9,"HYPMokGak-Bold":9,"HYPost-Light":9,"HYPost-Medium":9,"HYShortSamul-Medium":5,"HYSinMyeongJo-Medium":8,Impact:7,"Imprint MT Shadow":7,"Informal Roman":7,"Ink Free":7,IrisUPC:7,"Iskoola Pota":7,JasmineUPC:7,"Javanese Text":8,Jokerman:9,"Juice ITC":5,KaiTi:7,Kalinga:7,Kartika:7,"Khmer UI":7,KodchiangUPC:4,Kokila:7,"Kristen ITC":8,"Kunstler Script":5,"Lao UI":7,Latha:7,Leelawadee:7,"Leelawadee UI":7,"Leelawadee UI Semilight":7,"Levenim MT":7,LilyUPC:7,"Lucida Bright":8,"Lucida Calligraphy":10,"Lucida Console":9,"Lucida Fax":9,"Lucida Handwriting":10,"Lucida Sans":9,"Lucida Sans Typewriter":8,"Lucida Sans Unicode":9,"Magic R":8,Magneto:10,"Maiandra GD":9,"Malgun Gothic":8,"Malgun Gothic Semilight":8,Mangal:8,Marlett:14,"Matura MT Script Capitals":10,Meiryo:9,"Meiryo UI":9,"Microsoft GothicNeo":8,"Microsoft Himalaya":5,"Microsoft JhengHei":8,"Microsoft JhengHei Light":8,"Microsoft JhengHei UI":8,"Microsoft JhengHei UI Light":8,"Microsoft New Tai Lue":7,"Microsoft PhagsPa":7,"Microsoft Sans Serif":8,"Microsoft Tai Le":7,"Microsoft Uighur":5,"Microsoft YaHei Light":8,"Microsoft YaHei UI":8,"Microsoft YaHei UI Light":8,"Microsoft Yi Baiti":8,MingLiU:8,MingLiU_HKSCS:8,"MingLiU_HKSCS-ExtB":8,"MingLiU-ExtB":8,Miriam:8,"Miriam Fixed":8,Mistral:7,"Modern No. 20":7,"MoeumT R":8,"Mongolian Baiti":8,"Monotype Corsiva":7,MoolBoran:8,"MS Gothic":7,"MS Mincho":8,"MS Outlook":8,"MS PGothic":8,"MS PMincho":8,"MS Reference Sans Serif":9,"MS Reference Specialty":17,"MS UI Gothic":8,"MT Extra":14,"MV Boli":10,"Myanmar Text":7,Narkisim:8,"Neue Haas Grotesk Text Pro":8,"New Gulim":8,"News Gothic MT":8,"Niagara Engraved":5,"Niagara Solid":5,"Nirmala UI":7,"Nirmala UI Semilight":8,Nyala:8,"OCR A Extended":9,OCRB:9,"Old English Text MT":8,Onyx:6,"Palace Script MT":5,"Palatino Linotype":7,Papyrus:9,Parchment:4,Perpetua:6,"Perpetua Titling MT":9,"Plantagenet Cherokee":8,Playbill:6,PMingLiU:7,"PMingLiU-ExtB":7,"Poor Richard":8,Pristina:8,"Pyunji R":7,Raavi:8,"Rage Italic":8,Ravie:13,Rockwell:7,"Rockwell Condensed":6,"Rockwell Extra Bold":9,"Rockwell Light":8,"Rockwell Nova":8,"Rockwell Nova Cond":8,"Rockwell Nova Cond Light":8,"Rockwell Nova Extra Bold":8,"Rockwell Nova Light":8,Rod:8,"Sakkal Majalla":8,"Sanskrit Text":8,"Script MT Bold":7,"Segoe MDL2 Assets":5,"Segoe Print":10,"Segoe Script":10,"Segoe UI":7,"Segoe UI Black":8,"Segoe UI Emoji":7,"Segoe UI Historic":7,"Segoe UI Light":7,"Segoe UI Semibold":7,"Segoe UI Semilight":7,"Segoe UI Symbol":7,Selawik:7,"Selawik Light":7,"Selawik Semibold":7,"Shonar Bangla":7,"Showcard Gothic":8,Shruti:7,"Simplified Arabic":7,"Simplified Arabic Fixed":7,"SimSun-ExtB":7,"Sitka Banner":7,"Sitka Display":7,"Sitka Heading":7,"Sitka Small":9,"Sitka Subheading":8,"Sitka Text":8,"Snap ITC":11,"Source Sans Pro":7,"Source Sans Pro Black":7,"Source Sans Pro ExtraLight":7,"Source Sans Pro Light":7,"Source Sans Pro SemiBold":7,Stencil:7,Sylfaen:7,Symbol:7,Tahoma:7,"Tempus Sans ITC":9,"TH SarabunPSK":7,"Times New Roman":6,"Traditional Arabic":7,"Trebuchet MS":7,Tunga:7,"Tw Cen MT":7,"Tw Cen MT Condensed":5,"Tw Cen MT Condensed Extra Bold":6,"UD Digi Kyokasho N-B":7,"UD Digi Kyokasho NK-B":7,"UD Digi Kyokasho NK-R":7,"UD Digi Kyokasho NP-B":7,"UD Digi Kyokasho NP-R":7,"UD Digi Kyokasho N-R":7,Univers:7,"Univers Condensed":7,"Univers Condensed Light":7,"Univers Light":7,"Urdu Typesetting":7,Utsaah:7,Vani:7,Verdana:8,"Verdana Pro":8,"Verdana Pro Black":7,"Verdana Pro Cond":7,"Verdana Pro Cond Black":7,"Verdana Pro Cond Light":7,"Verdana Pro Cond SemiBold":7,"Verdana Pro Light":7,"Verdana Pro SemiBold":7,Vijaya:7,"Viner Hand ITC":9,Vivaldi:6,"Vladimir Script":6,Vrinda:7,Webdings:13,"Wide Latin":16,Wingdings:17,"Wingdings 2":15,"Wingdings 3":12,"Yet R":7,"Yu Gothic":7,"Yu Gothic Light":7,"Yu Gothic Medium":7,"Yu Gothic UI":7,"Yu Gothic UI Light":7,"Yu Gothic UI Semibold":7,"Yu Gothic UI Semilight":7,"Yu Mincho":7,"Yu Mincho Demibold":7,"Yu Mincho Light":7,"\u4eff\u5b8b":7,"\u534e\u6587\u4e2d\u5b8b":8,"\u534e\u6587\u4eff\u5b8b":6,"\u534e\u6587\u5b8b\u4f53":6,"\u534e\u6587\u5f69\u4e91":7,"\u534e\u6587\u65b0\u9b4f":8,"\u534e\u6587\u6977\u4f53":6,"\u534e\u6587\u7425\u73c0":7,"\u534e\u6587\u7ec6\u9ed1":7,"\u534e\u6587\u884c\u6977":7,"\u534e\u6587\u96b6\u4e66":6,"\u5b8b\u4f53":7,"\u5e7c\u5706":7,"\u5fae\u8f6f\u96c5\u9ed1":8,"\u5fae\u8f6f\u96c5\u9ed1 Light":7,"\u65b0\u5b8b\u4f53":7,"\u65b9\u6b63\u59da\u4f53":7,"\u65b9\u6b63\u8212\u4f53":7,"\u6977\u4f53":7,"\u7b49\u7ebf":7,"\u7b49\u7ebf Light":7,"\u96b6\u4e66":7,"\u9ed1\u4f53":7,"\u6e38\u30b4\u30b7\u30c3\u30af":7,"\uff2d\uff33 \uff30\u660e\u671d":7,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':7,"\u30e1\u30a4\u30ea\u30aa":8,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":7,"HG\u660e\u671dB":7,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":7},11:{"Gill Sans MT":8,Abadi:9,"Abadi Extra Light":8,"Agency FB":6,Aharoni:6,Aldhabi:5,Algerian:9,"Ami R":6,"Angsana New":5,AngsanaUPC:5,Aparajita:6,"Arabic Typesetting":5,Arial:8,"Arial Black":10,"Arial Narrow":7,"Arial Nova":8,"Arial Nova Cond":8,"Arial Nova Cond Light":7,"Arial Nova Light":8,"Arial Rounded MT Bold":9,"Baskerville Old Face":7,Batang:8,BatangChe:8,"Bauhaus 93":9,"Bell MT":8,Bembo:7,"Berlin Sans FB":9,"Berlin Sans FB Demi":9,"Bernard MT Condensed":7,"Blackadder ITC":6,"Bodoni MT":7,"Bodoni MT Black":10,"Bodoni MT Condensed":5,"Bodoni MT Poster Compressed":5,"Book Antiqua":8,"Bookman Old Style":9,"Bookshelf Symbol 7":11,"Bradley Hand ITC":10,"Britannic Bold":9,Broadway:10,"Browallia New":5,BrowalliaUPC:5,"Brush Script MT":8,Calibri:7,"Calibri Light":8,"Californian FB":9,"Calisto MT":8,Cambria:8,"Cambria Math":8,Candara:8,Castellar:11,Centaur:7,Century:8,"Century Gothic":8,"Century Schoolbook":8,Chiller:7,"Colonna MT":8,"Comic Sans MS":9,Consolas:8,Constantia:8,"Cooper Black":9,"Copperplate Gothic Bold":11,"Copperplate Gothic Light":11,Corbel:8,"Cordia New":5,CordiaUPC:5,"Courier New":9,"Curlz MT":8,Dante:7,DaunPenh:5,David:7,DilleniaUPC:5,DokChampa:8,Dotum:9,DotumChe:8,Dubai:8,"Dubai Light":8,"Dubai Medium":8,Ebrima:8,"Edwardian Script ITC":7,Elephant:11,"Engravers MT":10,"Eras Bold ITC":10,"Eras Demi ITC":9,"Eras Light ITC":8,"Eras Medium ITC":9,EucrosiaUPC:6,Euphemia:9,"Expo M":13,FangSong:8,"Felix Titling":9,"Footlight MT Light":8,Forte:8,"Franklin Gothic Book":9,"Franklin Gothic Demi":9,"Franklin Gothic Demi Cond":8,"Franklin Gothic Heavy":9,"Franklin Gothic Medium":9,"Franklin Gothic Medium Cond":8,FrankRuehl:6,FreesiaUPC:7,"Freestyle Script":6,"French Script MT":5,Gabriola:6,Gadugi:8,Garamond:7,Gautami:9,Georgia:9,"Georgia Pro":8,"Georgia Pro Black":11,"Georgia Pro Cond":8,"Georgia Pro Cond Black":10,"Georgia Pro Cond Light":8,"Georgia Pro Cond Semibold":8,"Georgia Pro Light":8,"Georgia Pro Semibold":9,Gigi:7,"Gill Sans MT Condensed":5,"Gill Sans MT Ext Condensed Bold":5,"Gill Sans Nova":8,"Gill Sans Nova Cond":5,"Gill Sans Nova Cond Lt":5,"Gill Sans Nova Cond Ultra Bold":9,"Gill Sans Nova Cond XBd":8,"Gill Sans Nova Light":8,"Gill Sans Nova Ultra Bold":13,"Gill Sans Ultra Bold":13,"Gill Sans Ultra Bold Condensed":9,Gisha:8,"Gloucester MT Extra Condensed":6,"Goudy Old Style":8,"Goudy Stout":12,Grotesque:7,"Grotesque Light":7,Gulim:8,GulimChe:8,Gungsuh:7,GungsuhChe:8,"Hadassah Friedlaender":9,Haettenschweiler:7,"Harlow Solid Italic":7,Harrington:8,"Headline R":11,HGGothicE:8,HGGothicM:8,HGGyoshotai:8,HGKyokashotai:8,HGMaruGothicMPRO:11,HGMinchoB:9,HGMinchoE:9,HGPGothicE:9,HGPGothicM:10,HGPGyoshotai:8,HGPKyokashotai:8,HGPMinchoB:8,HGPMinchoE:9,HGPSoeiKakugothicUB:10,HGPSoeiKakupoptai:11,HGPSoeiPresenceEB:9,HGSeikaishotaiPRO:9,HGSGothicE:8,HGSGothicM:9,HGSGyoshotai:7,HGSKyokashotai:7,HGSMinchoB:8,HGSMinchoE:9,HGSoeiKakugothicUB:9,HGSoeiKakupoptai:9,HGSoeiPresenceEB:9,HGSSoeiKakugothicUB:9,HGSSoeiKakupoptai:10,HGSSoeiPresenceEB:8,"High Tower Text":7,"HYGothic-Extra":9,"HYGothic-Medium":9,"HYGraphic-Medium":9,"HYGungSo-Bold":9,"HYHeadLine-Medium":9,"HYMyeongJo-Extra":10,"HYPMokGak-Bold":11,"HYPost-Light":10,"HYPost-Medium":11,"HYShortSamul-Medium":6,"HYSinMyeongJo-Medium":9,Impact:8,"Imprint MT Shadow":8,"Informal Roman":8,"Ink Free":8,IrisUPC:8,"Iskoola Pota":8,JasmineUPC:8,"Javanese Text":9,Jokerman:11,"Juice ITC":6,KaiTi:8,Kalinga:8,Kartika:8,"Khmer UI":8,KodchiangUPC:5,Kokila:8,"Kristen ITC":9,"Kunstler Script":5,"Lao UI":8,Latha:8,Leelawadee:8,"Leelawadee UI":8,"Leelawadee UI Semilight":8,"Levenim MT":9,LilyUPC:8,"Lucida Bright":9,"Lucida Calligraphy":11,"Lucida Console":10,"Lucida Fax":10,"Lucida Handwriting":11,"Lucida Sans":10,"Lucida Sans Typewriter":9,"Lucida Sans Unicode":10,"Magic R":9,Magneto:12,"Maiandra GD":10,"Malgun Gothic":9,"Malgun Gothic Semilight":9,Mangal:9,Marlett:16,"Matura MT Script Capitals":11,Meiryo:9,"Meiryo UI":10,"Microsoft GothicNeo":9,"Microsoft Himalaya":6,"Microsoft JhengHei":9,"Microsoft JhengHei Light":10,"Microsoft JhengHei UI":9,"Microsoft JhengHei UI Light":10,"Microsoft New Tai Lue":9,"Microsoft PhagsPa":9,"Microsoft Sans Serif":9,"Microsoft Tai Le":9,"Microsoft Uighur":6,"Microsoft YaHei Light":10,"Microsoft YaHei UI":9,"Microsoft YaHei UI Light":10,"Microsoft Yi Baiti":9,MingLiU:9,MingLiU_HKSCS:9,"MingLiU_HKSCS-ExtB":9,"MingLiU-ExtB":9,Miriam:9,"Miriam Fixed":10,Mistral:8,"Modern No. 20":8,"MoeumT R":9,"Mongolian Baiti":9,"Monotype Corsiva":8,MoolBoran:9,"MS Gothic":8,"MS Mincho":9,"MS Outlook":9,"MS PGothic":9,"MS PMincho":9,"MS Reference Sans Serif":11,"MS Reference Specialty":19,"MS UI Gothic":9,"MT Extra":16,"MV Boli":12,"Myanmar Text":9,Narkisim:7,"Neue Haas Grotesk Text Pro":9,"New Gulim":10,"News Gothic MT":9,"Niagara Engraved":5,"Niagara Solid":6,"Nirmala UI":9,"Nirmala UI Semilight":9,Nyala:9,"OCR A Extended":10,OCRB:10,"Old English Text MT":9,Onyx:6,"Palace Script MT":6,"Palatino Linotype":8,Papyrus:10,Parchment:4,Perpetua:7,"Perpetua Titling MT":10,"Plantagenet Cherokee":9,Playbill:6,PMingLiU:8,"PMingLiU-ExtB":8,"Poor Richard":9,Pristina:9,"Pyunji R":8,Raavi:9,"Rage Italic":9,Ravie:15,Rockwell:8,"Rockwell Condensed":6,"Rockwell Extra Bold":10,"Rockwell Light":9,"Rockwell Nova":9,"Rockwell Nova Cond":9,"Rockwell Nova Cond Light":9,"Rockwell Nova Extra Bold":9,"Rockwell Nova Light":9,Rod:9,"Sakkal Majalla":9,"Sanskrit Text":9,"Script MT Bold":8,"Segoe MDL2 Assets":6,"Segoe Print":11,"Segoe Script":11,"Segoe UI":8,"Segoe UI Black":9,"Segoe UI Emoji":8,"Segoe UI Historic":8,"Segoe UI Light":8,"Segoe UI Semibold":9,"Segoe UI Semilight":8,"Segoe UI Symbol":8,Selawik:8,"Selawik Light":8,"Selawik Semibold":8,"Shonar Bangla":8,"Showcard Gothic":9,Shruti:8,"Simplified Arabic":8,"Simplified Arabic Fixed":8,"SimSun-ExtB":8,"Sitka Banner":8,"Sitka Display":8,"Sitka Heading":8,"Sitka Small":10,"Sitka Subheading":9,"Sitka Text":9,"Snap ITC":13,"Source Sans Pro":8,"Source Sans Pro Black":8,"Source Sans Pro ExtraLight":8,"Source Sans Pro Light":8,"Source Sans Pro SemiBold":8,Stencil:9,Sylfaen:8,Symbol:8,Tahoma:8,"Tempus Sans ITC":10,"TH SarabunPSK":8,"Times New Roman":7,"Traditional Arabic":8,"Trebuchet MS":8,Tunga:8,"Tw Cen MT":8,"Tw Cen MT Condensed":5,"Tw Cen MT Condensed Extra Bold":7,"UD Digi Kyokasho N-B":8,"UD Digi Kyokasho NK-B":8,"UD Digi Kyokasho NK-R":8,"UD Digi Kyokasho NP-B":8,"UD Digi Kyokasho NP-R":8,"UD Digi Kyokasho N-R":8,Univers:8,"Univers Condensed":8,"Univers Condensed Light":8,"Univers Light":8,"Urdu Typesetting":8,Utsaah:8,Vani:8,Verdana:10,"Verdana Pro":10,"Verdana Pro Black":8,"Verdana Pro Cond":8,"Verdana Pro Cond Black":8,"Verdana Pro Cond Light":8,"Verdana Pro Cond SemiBold":8,"Verdana Pro Light":8,"Verdana Pro SemiBold":8,Vijaya:8,"Viner Hand ITC":10,Vivaldi:6,"Vladimir Script":7,Vrinda:9,Webdings:15,"Wide Latin":19,Wingdings:20,"Wingdings 2":17,"Wingdings 3":13,"Yet R":8,"Yu Gothic":8,"Yu Gothic Light":8,"Yu Gothic Medium":8,"Yu Gothic UI":8,"Yu Gothic UI Light":8,"Yu Gothic UI Semibold":9,"Yu Gothic UI Semilight":8,"Yu Mincho":8,"Yu Mincho Demibold":8,"Yu Mincho Light":8,"\u4eff\u5b8b":8,"\u534e\u6587\u4e2d\u5b8b":9,"\u534e\u6587\u4eff\u5b8b":7,"\u534e\u6587\u5b8b\u4f53":7,"\u534e\u6587\u5f69\u4e91":9,"\u534e\u6587\u65b0\u9b4f":9,"\u534e\u6587\u6977\u4f53":7,"\u534e\u6587\u7425\u73c0":9,"\u534e\u6587\u7ec6\u9ed1":8,"\u534e\u6587\u884c\u6977":8,"\u534e\u6587\u96b6\u4e66":7,"\u5b8b\u4f53":8,"\u5e7c\u5706":8,"\u5fae\u8f6f\u96c5\u9ed1":9,"\u5fae\u8f6f\u96c5\u9ed1 Light":9,"\u65b0\u5b8b\u4f53":8,"\u65b9\u6b63\u59da\u4f53":8,"\u65b9\u6b63\u8212\u4f53":8,"\u6977\u4f53":8,"\u7b49\u7ebf":8,"\u7b49\u7ebf Light":8,"\u96b6\u4e66":8,"\u9ed1\u4f53":8,"\u6e38\u30b4\u30b7\u30c3\u30af":8,"\uff2d\uff33 \uff30\u660e\u671d":8,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':8,"\u30e1\u30a4\u30ea\u30aa":9,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":8,"HG\u660e\u671dB":8,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":8},12:{"Gill Sans MT":8,Abadi:10,"Abadi Extra Light":9,"Agency FB":6,Aharoni:7,Aldhabi:5,Algerian:10,"Ami R":7,"Angsana New":5,AngsanaUPC:5,Aparajita:6,"Arabic Typesetting":5,Arial:9,"Arial Black":11,"Arial Narrow":7,"Arial Nova":9,"Arial Nova Cond":8,"Arial Nova Cond Light":7,"Arial Nova Light":9,"Arial Rounded MT Bold":10,"Baskerville Old Face":8,Batang:9,BatangChe:8,"Bauhaus 93":9,"Bell MT":8,Bembo:8,"Berlin Sans FB":10,"Berlin Sans FB Demi":10,"Bernard MT Condensed":8,"Blackadder ITC":6,"Bodoni MT":8,"Bodoni MT Black":11,"Bodoni MT Condensed":5,"Bodoni MT Poster Compressed":6,"Book Antiqua":8,"Bookman Old Style":10,"Bookshelf Symbol 7":12,"Bradley Hand ITC":10,"Britannic Bold":10,Broadway:10,"Browallia New":6,BrowalliaUPC:6,"Brush Script MT":8,Calibri:8,"Calibri Light":8,"Californian FB":9,"Calisto MT":8,Cambria:9,"Cambria Math":9,Candara:9,Castellar:12,Centaur:8,Century:9,"Century Gothic":9,"Century Schoolbook":9,Chiller:8,"Colonna MT":8,"Comic Sans MS":10,Consolas:9,Constantia:9,"Cooper Black":10,"Copperplate Gothic Bold":11,"Copperplate Gothic Light":12,Corbel:8,"Cordia New":6,CordiaUPC:6,"Courier New":10,"Curlz MT":9,Dante:7,DaunPenh:5,David:7,DilleniaUPC:5,DokChampa:9,Dotum:8,DotumChe:8,Dubai:9,"Dubai Light":9,"Dubai Medium":9,Ebrima:9,"Edwardian Script ITC":8,Elephant:12,"Engravers MT":10,"Eras Bold ITC":10,"Eras Demi ITC":10,"Eras Light ITC":9,"Eras Medium ITC":9,EucrosiaUPC:6,Euphemia:9,"Expo M":14,FangSong:8,"Felix Titling":9,"Footlight MT Light":9,Forte:8,"Franklin Gothic Book":9,"Franklin Gothic Demi":9,"Franklin Gothic Demi Cond":8,"Franklin Gothic Heavy":9,"Franklin Gothic Medium":9,"Franklin Gothic Medium Cond":8,FrankRuehl:7,FreesiaUPC:7,"Freestyle Script":6,"French Script MT":6,Gabriola:6,Gadugi:9,Garamond:8,Gautami:10,Georgia:10,"Georgia Pro":9,"Georgia Pro Black":11,"Georgia Pro Cond":8,"Georgia Pro Cond Black":10,"Georgia Pro Cond Light":8,"Georgia Pro Cond Semibold":9,"Georgia Pro Light":9,"Georgia Pro Semibold":10,Gigi:7,"Gill Sans MT Condensed":6,"Gill Sans MT Ext Condensed Bold":6,"Gill Sans Nova":8,"Gill Sans Nova Cond":5,"Gill Sans Nova Cond Lt":5,"Gill Sans Nova Cond Ultra Bold":9,"Gill Sans Nova Cond XBd":8,"Gill Sans Nova Light":8,"Gill Sans Nova Ultra Bold":14,"Gill Sans Ultra Bold":14,"Gill Sans Ultra Bold Condensed":9,Gisha:9,"Gloucester MT Extra Condensed":6,"Goudy Old Style":8,"Goudy Stout":13,Grotesque:8,"Grotesque Light":8,Gulim:9,GulimChe:8,Gungsuh:9,GungsuhChe:8,"Hadassah Friedlaender":9,Haettenschweiler:7,"Harlow Solid Italic":7,Harrington:9,"Headline R":11,HGGothicE:8,HGGothicM:8,HGGyoshotai:8,HGKyokashotai:8,HGMaruGothicMPRO:12,HGMinchoB:9,HGMinchoE:9,HGPGothicE:10,HGPGothicM:10,HGPGyoshotai:9,HGPKyokashotai:8,HGPMinchoB:9,HGPMinchoE:9,HGPSoeiKakugothicUB:11,HGPSoeiKakupoptai:11,HGPSoeiPresenceEB:10,HGSeikaishotaiPRO:10,HGSGothicE:9,HGSGothicM:9,HGSGyoshotai:8,HGSKyokashotai:7,HGSMinchoB:9,HGSMinchoE:9,HGSoeiKakugothicUB:9,HGSoeiKakupoptai:9,HGSoeiPresenceEB:9,HGSSoeiKakugothicUB:10,HGSSoeiKakupoptai:10,HGSSoeiPresenceEB:9,"High Tower Text":8,"HYGothic-Extra":10,"HYGothic-Medium":9,"HYGraphic-Medium":9,"HYGungSo-Bold":9,"HYHeadLine-Medium":9,"HYMyeongJo-Extra":11,"HYPMokGak-Bold":11,"HYPost-Light":11,"HYPost-Medium":11,"HYShortSamul-Medium":6,"HYSinMyeongJo-Medium":10,Impact:9,"Imprint MT Shadow":8,"Informal Roman":9,"Ink Free":8,IrisUPC:8,"Iskoola Pota":8,JasmineUPC:8,"Javanese Text":9,Jokerman:11,"Juice ITC":6,KaiTi:8,Kalinga:9,Kartika:8,"Khmer UI":8,KodchiangUPC:5,Kokila:8,"Kristen ITC":10,"Kunstler Script":6,"Lao UI":8,Latha:8,Leelawadee:9,"Leelawadee UI":9,"Leelawadee UI Semilight":9,"Levenim MT":9,LilyUPC:7,"Lucida Bright":10,"Lucida Calligraphy":12,"Lucida Console":11,"Lucida Fax":11,"Lucida Handwriting":12,"Lucida Sans":11,"Lucida Sans Typewriter":10,"Lucida Sans Unicode":11,"Magic R":10,Magneto:12,"Maiandra GD":10,"Malgun Gothic":9,"Malgun Gothic Semilight":10,Mangal:9,Marlett:17,"Matura MT Script Capitals":12,Meiryo:11,"Meiryo UI":11,"Microsoft GothicNeo":9,"Microsoft Himalaya":6,"Microsoft JhengHei":10,"Microsoft JhengHei Light":10,"Microsoft JhengHei UI":10,"Microsoft JhengHei UI Light":10,"Microsoft New Tai Lue":9,"Microsoft PhagsPa":9,"Microsoft Sans Serif":10,"Microsoft Tai Le":9,"Microsoft Uighur":6,"Microsoft YaHei Light":10,"Microsoft YaHei UI":10,"Microsoft YaHei UI Light":10,"Microsoft Yi Baiti":9,MingLiU:9,MingLiU_HKSCS:9,"MingLiU_HKSCS-ExtB":9,"MingLiU-ExtB":9,Miriam:9,"Miriam Fixed":11,Mistral:8,"Modern No. 20":8,"MoeumT R":10,"Mongolian Baiti":9,"Monotype Corsiva":8,MoolBoran:7,"MS Gothic":8,"MS Mincho":9,"MS Outlook":9,"MS PGothic":9,"MS PMincho":9,"MS Reference Sans Serif":11,"MS Reference Specialty":20,"MS UI Gothic":9,"MT Extra":17,"MV Boli":12,"Myanmar Text":9,Narkisim:8,"Neue Haas Grotesk Text Pro":9,"New Gulim":10,"News Gothic MT":9,"Niagara Engraved":6,"Niagara Solid":6,"Nirmala UI":9,"Nirmala UI Semilight":10,Nyala:9,"OCR A Extended":11,OCRB:11,"Old English Text MT":9,Onyx:7,"Palace Script MT":6,"Palatino Linotype":8,Papyrus:10,Parchment:4,Perpetua:7,"Perpetua Titling MT":11,"Plantagenet Cherokee":9,Playbill:7,PMingLiU:9,"PMingLiU-ExtB":9,"Poor Richard":10,Pristina:9,"Pyunji R":9,Raavi:8,"Rage Italic":9,Ravie:16,Rockwell:9,"Rockwell Condensed":7,"Rockwell Extra Bold":11,"Rockwell Light":10,"Rockwell Nova":9,"Rockwell Nova Cond":9,"Rockwell Nova Cond Light":9,"Rockwell Nova Extra Bold":9,"Rockwell Nova Light":9,Rod:9,"Sakkal Majalla":9,"Sanskrit Text":9,"Script MT Bold":8,"Segoe MDL2 Assets":7,"Segoe Print":12,"Segoe Script":12,"Segoe UI":9,"Segoe UI Black":10,"Segoe UI Emoji":9,"Segoe UI Historic":9,"Segoe UI Light":8,"Segoe UI Semibold":9,"Segoe UI Semilight":9,"Segoe UI Symbol":9,Selawik:8,"Selawik Light":8,"Selawik Semibold":8,"Shonar Bangla":8,"Showcard Gothic":9,Shruti:8,"Simplified Arabic":8,"Simplified Arabic Fixed":8,"SimSun-ExtB":8,"Sitka Banner":8,"Sitka Display":8,"Sitka Heading":9,"Sitka Small":11,"Sitka Subheading":9,"Sitka Text":10,"Snap ITC":14,"Source Sans Pro":8,"Source Sans Pro Black":8,"Source Sans Pro ExtraLight":8,"Source Sans Pro Light":8,"Source Sans Pro SemiBold":8,Stencil:9,Sylfaen:8,Symbol:8,Tahoma:9,"Tempus Sans ITC":11,"TH SarabunPSK":8,"Times New Roman":8,"Traditional Arabic":8,"Trebuchet MS":8,Tunga:8,"Tw Cen MT":9,"Tw Cen MT Condensed":6,"Tw Cen MT Condensed Extra Bold":8,"UD Digi Kyokasho N-B":8,"UD Digi Kyokasho NK-B":8,"UD Digi Kyokasho NK-R":8,"UD Digi Kyokasho NP-B":8,"UD Digi Kyokasho NP-R":8,"UD Digi Kyokasho N-R":8,Univers:8,"Univers Condensed":8,"Univers Condensed Light":8,"Univers Light":8,"Urdu Typesetting":8,Utsaah:6,Vani:8,Verdana:10,"Verdana Pro":10,"Verdana Pro Black":8,"Verdana Pro Cond":8,"Verdana Pro Cond Black":8,"Verdana Pro Cond Light":8,"Verdana Pro Cond SemiBold":8,"Verdana Pro Light":8,"Verdana Pro SemiBold":8,Vijaya:8,"Viner Hand ITC":11,Vivaldi:7,"Vladimir Script":7,Vrinda:9,Webdings:16,"Wide Latin":20,Wingdings:22,"Wingdings 2":18,"Wingdings 3":14,"Yet R":9,"Yu Gothic":9,"Yu Gothic Light":9,"Yu Gothic Medium":9,"Yu Gothic UI":9,"Yu Gothic UI Light":9,"Yu Gothic UI Semibold":9,"Yu Gothic UI Semilight":9,"Yu Mincho":9,"Yu Mincho Demibold":8,"Yu Mincho Light":8,"\u4eff\u5b8b":8,"\u534e\u6587\u4e2d\u5b8b":10,"\u534e\u6587\u4eff\u5b8b":8,"\u534e\u6587\u5b8b\u4f53":8,"\u534e\u6587\u5f69\u4e91":9,"\u534e\u6587\u65b0\u9b4f":9,"\u534e\u6587\u6977\u4f53":8,"\u534e\u6587\u7425\u73c0":9,"\u534e\u6587\u7ec6\u9ed1":9,"\u534e\u6587\u884c\u6977":8,"\u534e\u6587\u96b6\u4e66":7,"\u5b8b\u4f53":8,"\u5e7c\u5706":8,"\u5fae\u8f6f\u96c5\u9ed1":9,"\u5fae\u8f6f\u96c5\u9ed1 Light":9,"\u65b0\u5b8b\u4f53":8,"\u65b9\u6b63\u59da\u4f53":8,"\u65b9\u6b63\u8212\u4f53":9,"\u6977\u4f53":8,"\u7b49\u7ebf":8,"\u7b49\u7ebf Light":8,"\u96b6\u4e66":8,"\u9ed1\u4f53":8,"\u6e38\u30b4\u30b7\u30c3\u30af":9,"\uff2d\uff33 \uff30\u660e\u671d":8,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':8,"\u30e1\u30a4\u30ea\u30aa":10,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":8,"HG\u660e\u671dB":8,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":8},14:{"Gill Sans MT":10,Abadi:11,"Abadi Extra Light":11,"Agency FB":8,Aharoni:8,Aldhabi:6,Algerian:11,"Ami R":8,"Angsana New":6,AngsanaUPC:6,Aparajita:8,"Arabic Typesetting":6,Arial:11,"Arial Black":13,"Arial Narrow":9,"Arial Nova":11,"Arial Nova Cond":10,"Arial Nova Cond Light":9,"Arial Nova Light":11,"Arial Rounded MT Bold":11,"Baskerville Old Face":9,Batang:10,BatangChe:10,"Bauhaus 93":11,"Bell MT":10,Bembo:9,"Berlin Sans FB":11,"Berlin Sans FB Demi":12,"Bernard MT Condensed":9,"Blackadder ITC":8,"Bodoni MT":9,"Bodoni MT Black":12,"Bodoni MT Condensed":6,"Bodoni MT Poster Compressed":6,"Book Antiqua":10,"Bookman Old Style":12,"Bookshelf Symbol 7":14,"Bradley Hand ITC":12,"Britannic Bold":12,Broadway:12,"Browallia New":7,BrowalliaUPC:7,"Brush Script MT":10,Calibri:10,"Calibri Light":10,"Californian FB":11,"Calisto MT":10,Cambria:11,"Cambria Math":11,Candara:10,Castellar:14,Centaur:9,Century:11,"Century Gothic":11,"Century Schoolbook":11,Chiller:9,"Colonna MT":10,"Comic Sans MS":12,Consolas:10,Constantia:10,"Cooper Black":11,"Copperplate Gothic Bold":14,"Copperplate Gothic Light":14,Corbel:10,"Cordia New":7,CordiaUPC:7,"Courier New":11,"Curlz MT":10,Dante:9,DaunPenh:6,David:8,DilleniaUPC:6,DokChampa:11,Dotum:10,DotumChe:10,Dubai:10,"Dubai Light":10,"Dubai Medium":10,Ebrima:10,"Edwardian Script ITC":9,Elephant:14,"Engravers MT":12,"Eras Bold ITC":12,"Eras Demi ITC":12,"Eras Light ITC":10,"Eras Medium ITC":11,EucrosiaUPC:8,Euphemia:11,"Expo M":16,FangSong:10,"Felix Titling":11,"Footlight MT Light":11,Forte:10,"Franklin Gothic Book":11,"Franklin Gothic Demi":11,"Franklin Gothic Demi Cond":10,"Franklin Gothic Heavy":11,"Franklin Gothic Medium":11,"Franklin Gothic Medium Cond":10,FrankRuehl:8,FreesiaUPC:8,"Freestyle Script":7,"French Script MT":7,Gabriola:8,Gadugi:10,Garamond:9,Gautami:11,Georgia:12,"Georgia Pro":11,"Georgia Pro Black":13,"Georgia Pro Cond":10,"Georgia Pro Cond Black":12,"Georgia Pro Cond Light":10,"Georgia Pro Cond Semibold":11,"Georgia Pro Light":10,"Georgia Pro Semibold":12,Gigi:10,"Gill Sans MT Condensed":7,"Gill Sans MT Ext Condensed Bold":7,"Gill Sans Nova":10,"Gill Sans Nova Cond":6,"Gill Sans Nova Cond Lt":6,"Gill Sans Nova Cond Ultra Bold":11,"Gill Sans Nova Cond XBd":10,"Gill Sans Nova Light":10,"Gill Sans Nova Ultra Bold":16,"Gill Sans Ultra Bold":16,"Gill Sans Ultra Bold Condensed":11,Gisha:10,"Gloucester MT Extra Condensed":7,"Goudy Old Style":10,"Goudy Stout":16,Grotesque:9,"Grotesque Light":9,Gulim:10,GulimChe:10,Gungsuh:10,GungsuhChe:10,"Hadassah Friedlaender":11,Haettenschweiler:8,"Harlow Solid Italic":9,Harrington:11,"Headline R":14,HGGothicE:10,HGGothicM:10,HGGyoshotai:10,HGKyokashotai:10,HGMaruGothicMPRO:14,HGMinchoB:11,HGMinchoE:11,HGPGothicE:11,HGPGothicM:12,HGPGyoshotai:10,HGPKyokashotai:10,HGPMinchoB:10,HGPMinchoE:11,HGPSoeiKakugothicUB:13,HGPSoeiKakupoptai:13,HGPSoeiPresenceEB:12,HGSeikaishotaiPRO:11,HGSGothicE:10,HGSGothicM:11,HGSGyoshotai:9,HGSKyokashotai:9,HGSMinchoB:10,HGSMinchoE:11,HGSoeiKakugothicUB:11,HGSoeiKakupoptai:11,HGSoeiPresenceEB:11,HGSSoeiKakugothicUB:12,HGSSoeiKakupoptai:12,HGSSoeiPresenceEB:11,"High Tower Text":9,"HYGothic-Extra":12,"HYGothic-Medium":11,"HYGraphic-Medium":11,"HYGungSo-Bold":11,"HYHeadLine-Medium":11,"HYMyeongJo-Extra":13,"HYPMokGak-Bold":13,"HYPost-Light":13,"HYPost-Medium":13,"HYShortSamul-Medium":7,"HYSinMyeongJo-Medium":12,Impact:10,"Imprint MT Shadow":10,"Informal Roman":10,"Ink Free":10,IrisUPC:10,"Iskoola Pota":10,JasmineUPC:10,"Javanese Text":11,Jokerman:14,"Juice ITC":7,KaiTi:10,Kalinga:11,Kartika:11,"Khmer UI":10,KodchiangUPC:7,Kokila:10,"Kristen ITC":11,
23
23
  "Kunstler Script":7,"Lao UI":10,Latha:10,Leelawadee:10,"Leelawadee UI":10,"Leelawadee UI Semilight":10,"Levenim MT":11,LilyUPC:8,"Lucida Bright":12,"Lucida Calligraphy":14,"Lucida Console":12,"Lucida Fax":13,"Lucida Handwriting":14,"Lucida Sans":13,"Lucida Sans Typewriter":11,"Lucida Sans Unicode":13,"Magic R":12,Magneto:15,"Maiandra GD":12,"Malgun Gothic":11,"Malgun Gothic Semilight":12,Mangal:11,Marlett:20,"Matura MT Script Capitals":13,Meiryo:13,"Meiryo UI":13,"Microsoft GothicNeo":11,"Microsoft Himalaya":7,"Microsoft JhengHei":11,"Microsoft JhengHei Light":12,"Microsoft JhengHei UI":11,"Microsoft JhengHei UI Light":12,"Microsoft New Tai Lue":11,"Microsoft PhagsPa":11,"Microsoft Sans Serif":11,"Microsoft Tai Le":11,"Microsoft Uighur":7,"Microsoft YaHei Light":12,"Microsoft YaHei UI":12,"Microsoft YaHei UI Light":12,"Microsoft Yi Baiti":11,MingLiU:11,MingLiU_HKSCS:11,"MingLiU_HKSCS-ExtB":11,"MingLiU-ExtB":11,Miriam:10,"Miriam Fixed":12,Mistral:10,"Modern No. 20":10,"MoeumT R":11,"Mongolian Baiti":11,"Monotype Corsiva":9,MoolBoran:8,"MS Gothic":10,"MS Mincho":11,"MS Outlook":11,"MS PGothic":11,"MS PMincho":11,"MS Reference Sans Serif":13,"MS Reference Specialty":24,"MS UI Gothic":11,"MT Extra":20,"MV Boli":14,"Myanmar Text":11,Narkisim:9,"Neue Haas Grotesk Text Pro":11,"New Gulim":12,"News Gothic MT":12,"Niagara Engraved":7,"Niagara Solid":7,"Nirmala UI":11,"Nirmala UI Semilight":11,Nyala:11,"OCR A Extended":12,OCRB:12,"Old English Text MT":11,Onyx:7,"Palace Script MT":7,"Palatino Linotype":10,Papyrus:12,Parchment:5,Perpetua:9,"Perpetua Titling MT":13,"Plantagenet Cherokee":11,Playbill:8,PMingLiU:10,"PMingLiU-ExtB":10,"Poor Richard":11,Pristina:10,"Pyunji R":10,Raavi:10,"Rage Italic":11,Ravie:19,Rockwell:10,"Rockwell Condensed":8,"Rockwell Extra Bold":13,"Rockwell Light":11,"Rockwell Nova":11,"Rockwell Nova Cond":11,"Rockwell Nova Cond Light":11,"Rockwell Nova Extra Bold":11,"Rockwell Nova Light":11,Rod:11,"Sakkal Majalla":11,"Sanskrit Text":12,"Script MT Bold":10,"Segoe MDL2 Assets":8,"Segoe Print":14,"Segoe Script":14,"Segoe UI":10,"Segoe UI Black":12,"Segoe UI Emoji":10,"Segoe UI Historic":10,"Segoe UI Light":10,"Segoe UI Semibold":11,"Segoe UI Semilight":10,"Segoe UI Symbol":10,Selawik:10,"Selawik Light":10,"Selawik Semibold":10,"Shonar Bangla":10,"Showcard Gothic":11,Shruti:11,"Simplified Arabic":10,"Simplified Arabic Fixed":11,"SimSun-ExtB":10,"Sitka Banner":10,"Sitka Display":10,"Sitka Heading":11,"Sitka Small":13,"Sitka Subheading":11,"Sitka Text":12,"Snap ITC":16,"Source Sans Pro":9,"Source Sans Pro Black":10,"Source Sans Pro ExtraLight":9,"Source Sans Pro Light":10,"Source Sans Pro SemiBold":10,Stencil:11,Sylfaen:10,Symbol:10,Tahoma:10,"Tempus Sans ITC":13,"TH SarabunPSK":7,"Times New Roman":10,"Traditional Arabic":10,"Trebuchet MS":10,Tunga:10,"Tw Cen MT":10,"Tw Cen MT Condensed":7,"Tw Cen MT Condensed Extra Bold":9,"UD Digi Kyokasho N-B":10,"UD Digi Kyokasho NK-B":10,"UD Digi Kyokasho NK-R":10,"UD Digi Kyokasho NP-B":10,"UD Digi Kyokasho NP-R":10,"UD Digi Kyokasho N-R":10,Univers:10,"Univers Condensed":10,"Univers Condensed Light":8,"Univers Light":10,"Urdu Typesetting":10,Utsaah:8,Vani:11,Verdana:12,"Verdana Pro":12,"Verdana Pro Black":10,"Verdana Pro Cond":10,"Verdana Pro Cond Black":10,"Verdana Pro Cond Light":10,"Verdana Pro Cond SemiBold":10,"Verdana Pro Light":10,"Verdana Pro SemiBold":10,Vijaya:10,"Viner Hand ITC":13,Vivaldi:8,"Vladimir Script":9,Vrinda:11,Webdings:19,"Wide Latin":24,Wingdings:26,"Wingdings 2":22,"Wingdings 3":17,"Yet R":10,"Yu Gothic":11,"Yu Gothic Light":10,"Yu Gothic Medium":11,"Yu Gothic UI":10,"Yu Gothic UI Light":10,"Yu Gothic UI Semibold":11,"Yu Gothic UI Semilight":10,"Yu Mincho":10,"Yu Mincho Demibold":10,"Yu Mincho Light":10,"\u4eff\u5b8b":10,"\u534e\u6587\u4e2d\u5b8b":12,"\u534e\u6587\u4eff\u5b8b":9,"\u534e\u6587\u5b8b\u4f53":9,"\u534e\u6587\u5f69\u4e91":11,"\u534e\u6587\u65b0\u9b4f":11,"\u534e\u6587\u6977\u4f53":9,"\u534e\u6587\u7425\u73c0":11,"\u534e\u6587\u7ec6\u9ed1":11,"\u534e\u6587\u884c\u6977":10,"\u534e\u6587\u96b6\u4e66":8,"\u5b8b\u4f53":10,"\u5e7c\u5706":10,"\u5fae\u8f6f\u96c5\u9ed1":11,"\u5fae\u8f6f\u96c5\u9ed1 Light":11,"\u65b0\u5b8b\u4f53":10,"\u65b9\u6b63\u59da\u4f53":10,"\u65b9\u6b63\u8212\u4f53":10,"\u6977\u4f53":10,"\u7b49\u7ebf":10,"\u7b49\u7ebf Light":10,"\u96b6\u4e66":10,"\u9ed1\u4f53":10,"\u6e38\u30b4\u30b7\u30c3\u30af":11,"\uff2d\uff33 \uff30\u660e\u671d":10,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':10,"\u30e1\u30a4\u30ea\u30aa":12,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":10,"HG\u660e\u671dB":10,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":10},16:{"Gill Sans MT":11,Abadi:13,"Abadi Extra Light":12,"Agency FB":9,Aharoni:9,Aldhabi:7,Algerian:13,"Ami R":9,"Angsana New":7,AngsanaUPC:7,Aparajita:8,"Arabic Typesetting":7,Arial:12,"Arial Black":14,"Arial Narrow":10,"Arial Nova":12,"Arial Nova Cond":11,"Arial Nova Cond Light":9,"Arial Nova Light":12,"Arial Rounded MT Bold":12,"Baskerville Old Face":10,Batang:10,BatangChe:11,"Bauhaus 93":12,"Bell MT":11,Bembo:10,"Berlin Sans FB":13,"Berlin Sans FB Demi":13,"Bernard MT Condensed":10,"Blackadder ITC":8,"Bodoni MT":10,"Bodoni MT Black":14,"Bodoni MT Condensed":7,"Bodoni MT Poster Compressed":7,"Book Antiqua":11,"Bookman Old Style":13,"Bookshelf Symbol 7":16,"Bradley Hand ITC":14,"Britannic Bold":13,Broadway:14,"Browallia New":8,BrowalliaUPC:8,"Brush Script MT":11,Calibri:11,"Calibri Light":11,"Californian FB":12,"Calisto MT":11,Cambria:12,"Cambria Math":12,Candara:12,Castellar:15,Centaur:10,Century:12,"Century Gothic":12,"Century Schoolbook":12,Chiller:10,"Colonna MT":11,"Comic Sans MS":13,Consolas:12,Constantia:11,"Cooper Black":13,"Copperplate Gothic Bold":15,"Copperplate Gothic Light":15,Corbel:11,"Cordia New":8,CordiaUPC:8,"Courier New":13,"Curlz MT":11,Dante:9,DaunPenh:7,David:9,DilleniaUPC:7,DokChampa:12,Dotum:11,DotumChe:11,Dubai:11,"Dubai Light":11,"Dubai Medium":11,Ebrima:11,"Edwardian Script ITC":10,Elephant:16,"Engravers MT":14,"Eras Bold ITC":14,"Eras Demi ITC":13,"Eras Light ITC":11,"Eras Medium ITC":12,EucrosiaUPC:9,Euphemia:12,"Expo M":18,FangSong:11,"Felix Titling":12,"Footlight MT Light":12,Forte:11,"Franklin Gothic Book":12,"Franklin Gothic Demi":12,"Franklin Gothic Demi Cond":11,"Franklin Gothic Heavy":12,"Franklin Gothic Medium":12,"Franklin Gothic Medium Cond":11,FrankRuehl:9,FreesiaUPC:9,"Freestyle Script":8,"French Script MT":8,Gabriola:8,Gadugi:11,Garamond:10,Gautami:13,Georgia:13,"Georgia Pro":12,"Georgia Pro Black":15,"Georgia Pro Cond":11,"Georgia Pro Cond Black":13,"Georgia Pro Cond Light":11,"Georgia Pro Cond Semibold":12,"Georgia Pro Light":12,"Georgia Pro Semibold":13,Gigi:12,"Gill Sans MT Condensed":8,"Gill Sans MT Ext Condensed Bold":7,"Gill Sans Nova":11,"Gill Sans Nova Cond":7,"Gill Sans Nova Cond Lt":6,"Gill Sans Nova Cond Ultra Bold":12,"Gill Sans Nova Cond XBd":11,"Gill Sans Nova Light":11,"Gill Sans Nova Ultra Bold":18,"Gill Sans Ultra Bold":18,"Gill Sans Ultra Bold Condensed":12,Gisha:11,"Gloucester MT Extra Condensed":8,"Goudy Old Style":11,"Goudy Stout":17,Grotesque:10,"Grotesque Light":10,Gulim:11,GulimChe:11,Gungsuh:11,GungsuhChe:11,"Hadassah Friedlaender":12,Haettenschweiler:9,"Harlow Solid Italic":10,Harrington:12,"Headline R":15,HGGothicE:11,HGGothicM:11,HGGyoshotai:11,HGKyokashotai:11,HGMaruGothicMPRO:16,HGMinchoB:12,HGMinchoE:12,HGPGothicE:12,HGPGothicM:13,HGPGyoshotai:11,HGPKyokashotai:11,HGPMinchoB:11,HGPMinchoE:12,HGPSoeiKakugothicUB:14,HGPSoeiKakupoptai:15,HGPSoeiPresenceEB:13,HGSeikaishotaiPRO:12,HGSGothicE:11,HGSGothicM:12,HGSGyoshotai:10,HGSKyokashotai:10,HGSMinchoB:11,HGSMinchoE:12,HGSoeiKakugothicUB:12,HGSoeiKakupoptai:12,HGSoeiPresenceEB:12,HGSSoeiKakugothicUB:13,HGSSoeiKakupoptai:14,HGSSoeiPresenceEB:12,"High Tower Text":10,"HYGothic-Extra":13,"HYGothic-Medium":12,"HYGraphic-Medium":12,"HYGungSo-Bold":12,"HYHeadLine-Medium":12,"HYMyeongJo-Extra":14,"HYPMokGak-Bold":15,"HYPost-Light":14,"HYPost-Medium":15,"HYShortSamul-Medium":8,"HYSinMyeongJo-Medium":13,Impact:11,"Imprint MT Shadow":11,"Informal Roman":11,"Ink Free":11,IrisUPC:11,"Iskoola Pota":11,JasmineUPC:10,"Javanese Text":12,Jokerman:15,"Juice ITC":8,KaiTi:11,Kalinga:12,Kartika:12,"Khmer UI":11,KodchiangUPC:7,Kokila:8,"Kristen ITC":13,"Kunstler Script":7,"Lao UI":11,Latha:11,Leelawadee:11,"Leelawadee UI":11,"Leelawadee UI Semilight":12,"Levenim MT":12,LilyUPC:9,"Lucida Bright":13,"Lucida Calligraphy":15,"Lucida Console":14,"Lucida Fax":14,"Lucida Handwriting":15,"Lucida Sans":14,"Lucida Sans Typewriter":13,"Lucida Sans Unicode":14,"Magic R":13,Magneto:16,"Maiandra GD":13,"Malgun Gothic":12,"Malgun Gothic Semilight":13,Mangal:12,Marlett:22,"Matura MT Script Capitals":15,Meiryo:14,"Meiryo UI":14,"Microsoft GothicNeo":12,"Microsoft Himalaya":8,"Microsoft JhengHei":13,"Microsoft JhengHei Light":13,"Microsoft JhengHei UI":13,"Microsoft JhengHei UI Light":13,"Microsoft New Tai Lue":12,"Microsoft PhagsPa":12,"Microsoft Sans Serif":13,"Microsoft Tai Le":12,"Microsoft Uighur":8,"Microsoft YaHei Light":13,"Microsoft YaHei UI":13,"Microsoft YaHei UI Light":13,"Microsoft Yi Baiti":12,MingLiU:12,MingLiU_HKSCS:12,"MingLiU_HKSCS-ExtB":12,"MingLiU-ExtB":12,Miriam:11,"Miriam Fixed":14,Mistral:10,"Modern No. 20":11,"MoeumT R":13,"Mongolian Baiti":12,"Monotype Corsiva":10,MoolBoran:8,"MS Gothic":11,"MS Mincho":12,"MS Outlook":12,"MS PGothic":12,"MS PMincho":12,"MS Reference Sans Serif":14,"MS Reference Specialty":26,"MS UI Gothic":12,"MT Extra":22,"MV Boli":16,"Myanmar Text":12,Narkisim:10,"Neue Haas Grotesk Text Pro":12,"New Gulim":13,"News Gothic MT":14,"Niagara Engraved":8,"Niagara Solid":8,"Nirmala UI":12,"Nirmala UI Semilight":13,Nyala:12,"OCR A Extended":14,OCRB:14,"Old English Text MT":12,Onyx:8,"Palace Script MT":8,"Palatino Linotype":11,Papyrus:14,Parchment:5,Perpetua:10,"Perpetua Titling MT":14,"Plantagenet Cherokee":12,Playbill:8,PMingLiU:11,"PMingLiU-ExtB":11,"Poor Richard":13,Pristina:11,"Pyunji R":11,Raavi:11,"Rage Italic":12,Ravie:21,Rockwell:11,"Rockwell Condensed":9,"Rockwell Extra Bold":14,"Rockwell Light":12,"Rockwell Nova":12,"Rockwell Nova Cond":12,"Rockwell Nova Cond Light":12,"Rockwell Nova Extra Bold":12,"Rockwell Nova Light":12,Rod:12,"Sakkal Majalla":12,"Sanskrit Text":13,"Script MT Bold":11,"Segoe MDL2 Assets":8,"Segoe Print":15,"Segoe Script":15,"Segoe UI":11,"Segoe UI Black":13,"Segoe UI Emoji":11,"Segoe UI Historic":11,"Segoe UI Light":11,"Segoe UI Semibold":12,"Segoe UI Semilight":11,"Segoe UI Symbol":11,Selawik:11,"Selawik Light":11,"Selawik Semibold":12,"Shonar Bangla":11,"Showcard Gothic":12,Shruti:13,"Simplified Arabic":11,"Simplified Arabic Fixed":13,"SimSun-ExtB":11,"Sitka Banner":11,"Sitka Display":11,"Sitka Heading":12,"Sitka Small":14,"Sitka Subheading":12,"Sitka Text":13,"Snap ITC":18,"Source Sans Pro":10,"Source Sans Pro Black":11,"Source Sans Pro ExtraLight":10,"Source Sans Pro Light":11,"Source Sans Pro SemiBold":11,Stencil:12,Sylfaen:11,Symbol:11,Tahoma:11,"Tempus Sans ITC":14,"TH SarabunPSK":8,"Times New Roman":11,"Traditional Arabic":10,"Trebuchet MS":11,Tunga:11,"Tw Cen MT":12,"Tw Cen MT Condensed":8,"Tw Cen MT Condensed Extra Bold":10,"UD Digi Kyokasho N-B":11,"UD Digi Kyokasho NK-B":11,"UD Digi Kyokasho NK-R":11,"UD Digi Kyokasho NP-B":11,"UD Digi Kyokasho NP-R":11,"UD Digi Kyokasho N-R":11,Univers:11,"Univers Condensed":11,"Univers Condensed Light":9,"Univers Light":11,"Urdu Typesetting":11,Utsaah:8,Vani:13,Verdana:13,"Verdana Pro":13,"Verdana Pro Black":11,"Verdana Pro Cond":11,"Verdana Pro Cond Black":11,"Verdana Pro Cond Light":11,"Verdana Pro Cond SemiBold":11,"Verdana Pro Light":11,"Verdana Pro SemiBold":11,Vijaya:11,"Viner Hand ITC":14,Vivaldi:9,"Vladimir Script":10,Vrinda:12,Webdings:21,"Wide Latin":26,Wingdings:28,"Wingdings 2":24,"Wingdings 3":19,"Yet R":11,"Yu Gothic":12,"Yu Gothic Light":11,"Yu Gothic Medium":12,"Yu Gothic UI":11,"Yu Gothic UI Light":11,"Yu Gothic UI Semibold":12,"Yu Gothic UI Semilight":12,"Yu Mincho":11,"Yu Mincho Demibold":11,"Yu Mincho Light":11,"\u4eff\u5b8b":11,"\u534e\u6587\u4e2d\u5b8b":13,"\u534e\u6587\u4eff\u5b8b":10,"\u534e\u6587\u5b8b\u4f53":10,"\u534e\u6587\u5f69\u4e91":12,"\u534e\u6587\u65b0\u9b4f":12,"\u534e\u6587\u6977\u4f53":10,"\u534e\u6587\u7425\u73c0":12,"\u534e\u6587\u7ec6\u9ed1":12,"\u534e\u6587\u884c\u6977":11,"\u534e\u6587\u96b6\u4e66":9,"\u5b8b\u4f53":11,"\u5e7c\u5706":11,"\u5fae\u8f6f\u96c5\u9ed1":12,"\u5fae\u8f6f\u96c5\u9ed1 Light":12,"\u65b0\u5b8b\u4f53":11,"\u65b9\u6b63\u59da\u4f53":11,"\u65b9\u6b63\u8212\u4f53":11,"\u6977\u4f53":11,"\u7b49\u7ebf":11,"\u7b49\u7ebf Light":11,"\u96b6\u4e66":11,"\u9ed1\u4f53":11,"\u6e38\u30b4\u30b7\u30c3\u30af":12,"\uff2d\uff33 \uff30\u660e\u671d":11,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':11,"\u30e1\u30a4\u30ea\u30aa":13,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":11,"HG\u660e\u671dB":11,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":11},18:{"Gill Sans MT":12,Abadi:15,"Abadi Extra Light":13,"Agency FB":10,Aharoni:10,Aldhabi:8,Algerian:14,"Ami R":10,"Angsana New":8,AngsanaUPC:8,Aparajita:10,"Arabic Typesetting":8,Arial:13,"Arial Black":16,"Arial Narrow":11,"Arial Nova":13,"Arial Nova Cond":12,"Arial Nova Cond Light":11,"Arial Nova Light":13,"Arial Rounded MT Bold":14,"Baskerville Old Face":12,Batang:12,BatangChe:12,"Bauhaus 93":14,"Bell MT":12,Bembo:12,"Berlin Sans FB":14,"Berlin Sans FB Demi":15,"Bernard MT Condensed":12,"Blackadder ITC":9,"Bodoni MT":12,"Bodoni MT Black":16,"Bodoni MT Condensed":8,"Bodoni MT Poster Compressed":8,"Book Antiqua":12,"Bookman Old Style":15,"Bookshelf Symbol 7":18,"Bradley Hand ITC":15,"Britannic Bold":15,Broadway:16,"Browallia New":9,BrowalliaUPC:9,"Brush Script MT":12,Calibri:12,"Calibri Light":12,"Californian FB":13,"Calisto MT":12,Cambria:13,"Cambria Math":13,Candara:13,Castellar:17,Centaur:12,Century:13,"Century Gothic":13,"Century Schoolbook":13,Chiller:11,"Colonna MT":12,"Comic Sans MS":15,Consolas:13,Constantia:13,"Cooper Black":14,"Copperplate Gothic Bold":17,"Copperplate Gothic Light":17,Corbel:13,"Cordia New":9,CordiaUPC:9,"Courier New":14,"Curlz MT":13,Dante:11,DaunPenh:8,David:11,DilleniaUPC:7,DokChampa:13,Dotum:13,DotumChe:12,Dubai:13,"Dubai Light":13,"Dubai Medium":13,Ebrima:13,"Edwardian Script ITC":11,Elephant:18,"Engravers MT":16,"Eras Bold ITC":16,"Eras Demi ITC":15,"Eras Light ITC":13,"Eras Medium ITC":14,EucrosiaUPC:10,Euphemia:14,"Expo M":21,FangSong:12,"Felix Titling":14,"Footlight MT Light":13,Forte:13,"Franklin Gothic Book":14,"Franklin Gothic Demi":14,"Franklin Gothic Demi Cond":12,"Franklin Gothic Heavy":14,"Franklin Gothic Medium":14,"Franklin Gothic Medium Cond":12,FrankRuehl:10,FreesiaUPC:11,"Freestyle Script":9,"French Script MT":9,Gabriola:10,Gadugi:13,Garamond:11,Gautami:14,Georgia:15,"Georgia Pro":14,"Georgia Pro Black":17,"Georgia Pro Cond":13,"Georgia Pro Cond Black":15,"Georgia Pro Cond Light":12,"Georgia Pro Cond Semibold":13,"Georgia Pro Light":13,"Georgia Pro Semibold":15,Gigi:12,"Gill Sans MT Condensed":9,"Gill Sans MT Ext Condensed Bold":8,"Gill Sans Nova":12,"Gill Sans Nova Cond":8,"Gill Sans Nova Cond Lt":7,"Gill Sans Nova Cond Ultra Bold":14,"Gill Sans Nova Cond XBd":13,"Gill Sans Nova Light":12,"Gill Sans Nova Ultra Bold":20,"Gill Sans Ultra Bold":21,"Gill Sans Ultra Bold Condensed":14,Gisha:13,"Gloucester MT Extra Condensed":9,"Goudy Old Style":12,"Goudy Stout":20,Grotesque:12,"Grotesque Light":12,Gulim:13,GulimChe:12,Gungsuh:13,GungsuhChe:12,"Hadassah Friedlaender":14,Haettenschweiler:11,"Harlow Solid Italic":11,Harrington:13,"Headline R":17,HGGothicE:12,HGGothicM:12,HGGyoshotai:12,HGKyokashotai:12,HGMaruGothicMPRO:18,HGMinchoB:13,HGMinchoE:13,HGPGothicE:14,HGPGothicM:15,HGPGyoshotai:12,HGPKyokashotai:12,HGPMinchoB:12,HGPMinchoE:13,HGPSoeiKakugothicUB:16,HGPSoeiKakupoptai:17,HGPSoeiPresenceEB:14,HGSeikaishotaiPRO:14,HGSGothicE:13,HGSGothicM:14,HGSGyoshotai:11,HGSKyokashotai:11,HGSMinchoB:12,HGSMinchoE:13,HGSoeiKakugothicUB:13,HGSoeiKakupoptai:13,HGSoeiPresenceEB:13,HGSSoeiKakugothicUB:15,HGSSoeiKakupoptai:16,HGSSoeiPresenceEB:13,"High Tower Text":12,"HYGothic-Extra":15,"HYGothic-Medium":14,"HYGraphic-Medium":14,"HYGungSo-Bold":14,"HYHeadLine-Medium":14,"HYMyeongJo-Extra":16,"HYPMokGak-Bold":17,"HYPost-Light":16,"HYPost-Medium":17,"HYShortSamul-Medium":9,"HYSinMyeongJo-Medium":15,Impact:13,"Imprint MT Shadow":12,"Informal Roman":13,"Ink Free":12,IrisUPC:12,"Iskoola Pota":12,JasmineUPC:11,"Javanese Text":14,Jokerman:17,"Juice ITC":8,KaiTi:12,Kalinga:13,Kartika:14,"Khmer UI":13,KodchiangUPC:8,Kokila:9,"Kristen ITC":14,"Kunstler Script":8,"Lao UI":13,Latha:12,Leelawadee:13,"Leelawadee UI":13,"Leelawadee UI Semilight":13,"Levenim MT":14,LilyUPC:11,"Lucida Bright":15,"Lucida Calligraphy":17,"Lucida Console":15,"Lucida Fax":16,"Lucida Handwriting":17,"Lucida Sans":16,"Lucida Sans Typewriter":14,"Lucida Sans Unicode":16,"Magic R":14,Magneto:19,"Maiandra GD":15,"Malgun Gothic":14,"Malgun Gothic Semilight":14,Mangal:14,Marlett:25,"Matura MT Script Capitals":17,Meiryo:16,"Meiryo UI":16,"Microsoft GothicNeo":13,"Microsoft Himalaya":9,"Microsoft JhengHei":14,"Microsoft JhengHei Light":15,"Microsoft JhengHei UI":14,"Microsoft JhengHei UI Light":15,"Microsoft New Tai Lue":14,"Microsoft PhagsPa":14,"Microsoft Sans Serif":14,"Microsoft Tai Le":14,"Microsoft Uighur":9,"Microsoft YaHei Light":15,"Microsoft YaHei UI":15,"Microsoft YaHei UI Light":15,"Microsoft Yi Baiti":13,MingLiU:13,MingLiU_HKSCS:13,"MingLiU_HKSCS-ExtB":13,"MingLiU-ExtB":13,Miriam:12,"Miriam Fixed":15,Mistral:12,"Modern No. 20":12,"MoeumT R":14,"Mongolian Baiti":13,"Monotype Corsiva":12,MoolBoran:9,"MS Gothic":12,"MS Mincho":13,"MS Outlook":13,"MS PGothic":13,"MS PMincho":13,"MS Reference Sans Serif":16,"MS Reference Specialty":30,"MS UI Gothic":13,"MT Extra":25,"MV Boli":18,"Myanmar Text":14,Narkisim:11,"Neue Haas Grotesk Text Pro":13,"New Gulim":15,"News Gothic MT":16,"Niagara Engraved":9,"Niagara Solid":9,"Nirmala UI":14,"Nirmala UI Semilight":14,Nyala:13,"OCR A Extended":15,OCRB:15,"Old English Text MT":13,Onyx:9,"Palace Script MT":9,"Palatino Linotype":12,Papyrus:15,Parchment:6,Perpetua:11,"Perpetua Titling MT":16,"Plantagenet Cherokee":13,Playbill:10,PMingLiU:12,"PMingLiU-ExtB":12,"Poor Richard":14,Pristina:13,"Pyunji R":13,Raavi:12,"Rage Italic":13,Ravie:24,Rockwell:13,"Rockwell Condensed":10,"Rockwell Extra Bold":17,"Rockwell Light":14,"Rockwell Nova":13,"Rockwell Nova Cond":13,"Rockwell Nova Cond Light":13,"Rockwell Nova Extra Bold":13,"Rockwell Nova Light":13,Rod:15,"Sakkal Majalla":10,"Sanskrit Text":15,"Script MT Bold":13,"Segoe MDL2 Assets":10,"Segoe Print":18,"Segoe Script":18,"Segoe UI":13,"Segoe UI Black":15,"Segoe UI Emoji":13,"Segoe UI Historic":13,"Segoe UI Light":12,"Segoe UI Semibold":14,"Segoe UI Semilight":13,"Segoe UI Symbol":13,Selawik:12,"Selawik Light":13,"Selawik Semibold":14,"Shonar Bangla":12,"Showcard Gothic":14,Shruti:14,"Simplified Arabic":13,"Simplified Arabic Fixed":14,"SimSun-ExtB":12,"Sitka Banner":12,"Sitka Display":13,"Sitka Heading":13,"Sitka Small":16,"Sitka Subheading":14,"Sitka Text":15,"Snap ITC":21,"Source Sans Pro":12,"Source Sans Pro Black":12,"Source Sans Pro ExtraLight":11,"Source Sans Pro Light":12,"Source Sans Pro SemiBold":12,Stencil:14,Sylfaen:12,Symbol:12,Tahoma:13,"Tempus Sans ITC":16,"TH SarabunPSK":9,"Times New Roman":12,"Traditional Arabic":12,"Trebuchet MS":13,Tunga:13,"Tw Cen MT":13,"Tw Cen MT Condensed":9,"Tw Cen MT Condensed Extra Bold":12,"UD Digi Kyokasho N-B":12,"UD Digi Kyokasho NK-B":12,"UD Digi Kyokasho NK-R":12,"UD Digi Kyokasho NP-B":17,"UD Digi Kyokasho NP-R":12,"UD Digi Kyokasho N-R":12,Univers:12,"Univers Condensed":12,"Univers Condensed Light":11,"Univers Light":12,"Urdu Typesetting":12,Utsaah:10,Vani:15,Verdana:15,"Verdana Pro":15,"Verdana Pro Black":12,"Verdana Pro Cond":12,"Verdana Pro Cond Black":12,"Verdana Pro Cond Light":12,"Verdana Pro Cond SemiBold":12,"Verdana Pro Light":12,"Verdana Pro SemiBold":12,Vijaya:12,"Viner Hand ITC":16,Vivaldi:10,"Vladimir Script":11,Vrinda:14,Webdings:24,"Wide Latin":30,Wingdings:32,"Wingdings 2":27,"Wingdings 3":21,"Yet R":13,"Yu Gothic":13,"Yu Gothic Light":13,"Yu Gothic Medium":13,"Yu Gothic UI":13,"Yu Gothic UI Light":13,"Yu Gothic UI Semibold":14,"Yu Gothic UI Semilight":13,"Yu Mincho":13,"Yu Mincho Demibold":13,"Yu Mincho Light":12,"\u4eff\u5b8b":12,"\u534e\u6587\u4e2d\u5b8b":15,"\u534e\u6587\u4eff\u5b8b":11,"\u534e\u6587\u5b8b\u4f53":11,"\u534e\u6587\u5f69\u4e91":14,"\u534e\u6587\u65b0\u9b4f":14,"\u534e\u6587\u6977\u4f53":11,"\u534e\u6587\u7425\u73c0":14,"\u534e\u6587\u7ec6\u9ed1":13,"\u534e\u6587\u884c\u6977":12,"\u534e\u6587\u96b6\u4e66":11,"\u5b8b\u4f53":12,"\u5e7c\u5706":12,"\u5fae\u8f6f\u96c5\u9ed1":14,"\u5fae\u8f6f\u96c5\u9ed1 Light":14,"\u65b0\u5b8b\u4f53":12,"\u65b9\u6b63\u59da\u4f53":12,"\u65b9\u6b63\u8212\u4f53":13,"\u6977\u4f53":12,"\u7b49\u7ebf":13,"\u7b49\u7ebf Light":12,"\u96b6\u4e66":12,"\u9ed1\u4f53":12,"\u6e38\u30b4\u30b7\u30c3\u30af":13,"\uff2d\uff33 \uff30\u660e\u671d":12,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':12,"\u30e1\u30a4\u30ea\u30aa":15,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":12,"HG\u660e\u671dB":12,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":12},20:{"Gill Sans MT":14,Abadi:16,"Abadi Extra Light":15,"Agency FB":11,Aharoni:11,Aldhabi:9,Algerian:16,"Ami R":11,"Angsana New":9,AngsanaUPC:9,Aparajita:11,"Arabic Typesetting":9,Arial:15,"Arial Black":18,"Arial Narrow":12,"Arial Nova":15,"Arial Nova Cond":14,"Arial Nova Cond Light":12,"Arial Nova Light":15,"Arial Rounded MT Bold":16,"Baskerville Old Face":13,Batang:16,BatangChe:14,"Bauhaus 93":15,"Bell MT":14,Bembo:13,"Berlin Sans FB":16,"Berlin Sans FB Demi":17,"Bernard MT Condensed":13,"Blackadder ITC":11,"Bodoni MT":13,"Bodoni MT Black":18,"Bodoni MT Condensed":9,"Bodoni MT Poster Compressed":8,"Book Antiqua":14,"Bookman Old Style":17,"Bookshelf Symbol 7":20,"Bradley Hand ITC":17,"Britannic Bold":17,Broadway:17,"Browallia New":10,BrowalliaUPC:10,"Brush Script MT":14,Calibri:14,"Calibri Light":14,"Californian FB":14,"Calisto MT":14,Cambria:15,"Cambria Math":15,Candara:15,Castellar:19,Centaur:13,Century:15,"Century Gothic":15,"Century Schoolbook":15,Chiller:13,"Colonna MT":14,"Comic Sans MS":16,Consolas:15,Constantia:15,"Cooper Black":16,"Copperplate Gothic Bold":19,"Copperplate Gothic Light":19,Corbel:14,"Cordia New":10,CordiaUPC:10,"Courier New":16,"Curlz MT":15,Dante:12,DaunPenh:9,David:12,DilleniaUPC:8,DokChampa:15,Dotum:16,DotumChe:14,Dubai:15,"Dubai Light":15,"Dubai Medium":15,Ebrima:15,"Edwardian Script ITC":13,Elephant:20,"Engravers MT":17,"Eras Bold ITC":18,"Eras Demi ITC":16,"Eras Light ITC":14,"Eras Medium ITC":15,EucrosiaUPC:11,Euphemia:16,"Expo M":23,FangSong:14,"Felix Titling":16,"Footlight MT Light":15,Forte:14,"Franklin Gothic Book":16,"Franklin Gothic Demi":16,"Franklin Gothic Demi Cond":14,"Franklin Gothic Heavy":16,"Franklin Gothic Medium":16,"Franklin Gothic Medium Cond":14,FrankRuehl:11,FreesiaUPC:12,"Freestyle Script":10,"French Script MT":10,Gabriola:11,Gadugi:15,Garamond:13,Gautami:16,Georgia:17,"Georgia Pro":15,"Georgia Pro Black":19,"Georgia Pro Cond":14,"Georgia Pro Cond Black":17,"Georgia Pro Cond Light":14,"Georgia Pro Cond Semibold":15,"Georgia Pro Light":15,"Georgia Pro Semibold":17,Gigi:14,"Gill Sans MT Condensed":10,"Gill Sans MT Ext Condensed Bold":9,"Gill Sans Nova":14,"Gill Sans Nova Cond":9,"Gill Sans Nova Cond Lt":8,"Gill Sans Nova Cond Ultra Bold":16,"Gill Sans Nova Cond XBd":14,"Gill Sans Nova Light":14,"Gill Sans Nova Ultra Bold":23,"Gill Sans Ultra Bold":23,"Gill Sans Ultra Bold Condensed":16,Gisha:15,"Gloucester MT Extra Condensed":10,"Goudy Old Style":14,"Goudy Stout":22,Grotesque:13,"Grotesque Light":13,Gulim:16,GulimChe:14,Gungsuh:16,GungsuhChe:14,"Hadassah Friedlaender":15,Haettenschweiler:12,"Harlow Solid Italic":13,Harrington:15,"Headline R":19,HGGothicE:14,HGGothicM:14,HGGyoshotai:14,HGKyokashotai:14,HGMaruGothicMPRO:20,HGMinchoB:15,HGMinchoE:15,HGPGothicE:16,HGPGothicM:17,HGPGyoshotai:14,HGPKyokashotai:14,HGPMinchoB:14,HGPMinchoE:15,HGPSoeiKakugothicUB:18,HGPSoeiKakupoptai:19,HGPSoeiPresenceEB:16,HGSeikaishotaiPRO:16,HGSGothicE:15,HGSGothicM:16,HGSGyoshotai:13,HGSKyokashotai:13,HGSMinchoB:14,HGSMinchoE:15,HGSoeiKakugothicUB:15,HGSoeiKakupoptai:15,HGSoeiPresenceEB:15,HGSSoeiKakugothicUB:17,HGSSoeiKakupoptai:18,HGSSoeiPresenceEB:15,"High Tower Text":13,"HYGothic-Extra":17,"HYGothic-Medium":16,"HYGraphic-Medium":16,"HYGungSo-Bold":16,"HYHeadLine-Medium":16,"HYMyeongJo-Extra":18,"HYPMokGak-Bold":19,"HYPost-Light":18,"HYPost-Medium":19,"HYShortSamul-Medium":10,"HYSinMyeongJo-Medium":17,Impact:15,"Imprint MT Shadow":14,"Informal Roman":15,"Ink Free":14,IrisUPC:14,"Iskoola Pota":14,JasmineUPC:12,"Javanese Text":16,Jokerman:19,"Juice ITC":10,KaiTi:14,Kalinga:15,Kartika:16,"Khmer UI":15,KodchiangUPC:9,Kokila:10,"Kristen ITC":16,"Kunstler Script":10,"Lao UI":15,Latha:14,Leelawadee:15,"Leelawadee UI":15,"Leelawadee UI Semilight":15,"Levenim MT":15,LilyUPC:12,"Lucida Bright":16,"Lucida Calligraphy":19,"Lucida Console":17,"Lucida Fax":18,"Lucida Handwriting":19,"Lucida Sans":18,"Lucida Sans Typewriter":16,"Lucida Sans Unicode":18,"Magic R":16,Magneto:21,"Maiandra GD":17,"Malgun Gothic":16,"Malgun Gothic Semilight":16,Mangal:16,Marlett:28,"Matura MT Script Capitals":19,Meiryo:18,"Meiryo UI":18,"Microsoft GothicNeo":15,"Microsoft Himalaya":10,"Microsoft JhengHei":16,"Microsoft JhengHei Light":17,"Microsoft JhengHei UI":16,"Microsoft JhengHei UI Light":17,"Microsoft New Tai Lue":16,"Microsoft PhagsPa":16,"Microsoft Sans Serif":16,"Microsoft Tai Le":16,"Microsoft Uighur":10,"Microsoft YaHei Light":16,"Microsoft YaHei UI":17,"Microsoft YaHei UI Light":16,"Microsoft Yi Baiti":15,MingLiU:15,MingLiU_HKSCS:15,"MingLiU_HKSCS-ExtB":15,"MingLiU-ExtB":15,Miriam:14,"Miriam Fixed":17,Mistral:13,"Modern No. 20":13,"MoeumT R":16,"Mongolian Baiti":15,"Monotype Corsiva":13,MoolBoran:10,"MS Gothic":14,"MS Mincho":15,"MS Outlook":15,"MS PGothic":15,"MS PMincho":15,"MS Reference Sans Serif":18,"MS Reference Specialty":33,"MS UI Gothic":15,"MT Extra":29,"MV Boli":20,"Myanmar Text":16,Narkisim:12,"Neue Haas Grotesk Text Pro":15,"New Gulim":17,"News Gothic MT":18,"Niagara Engraved":9,"Niagara Solid":9,"Nirmala UI":16,"Nirmala UI Semilight":16,Nyala:15,"OCR A Extended":17,OCRB:17,"Old English Text MT":15,Onyx:9,"Palace Script MT":9,"Palatino Linotype":14,Papyrus:16,Parchment:7,Perpetua:12,"Perpetua Titling MT":18,"Plantagenet Cherokee":15,Playbill:11,PMingLiU:14,"PMingLiU-ExtB":14,"Poor Richard":16,Pristina:14,"Pyunji R":14,Raavi:14,"Rage Italic":15,Ravie:27,Rockwell:15,"Rockwell Condensed":12,"Rockwell Extra Bold":19,"Rockwell Light":15,"Rockwell Nova":15,"Rockwell Nova Cond":15,"Rockwell Nova Cond Light":15,"Rockwell Nova Extra Bold":15,"Rockwell Nova Light":15,Rod:17,"Sakkal Majalla":11,"Sanskrit Text":17,"Script MT Bold":14,"Segoe MDL2 Assets":11,"Segoe Print":20,"Segoe Script":20,"Segoe UI":15,"Segoe UI Black":17,"Segoe UI Emoji":15,"Segoe UI Historic":15,"Segoe UI Light":14,"Segoe UI Semibold":15,"Segoe UI Semilight":15,"Segoe UI Symbol":15,Selawik:14,"Selawik Light":14,"Selawik Semibold":15,"Shonar Bangla":14,"Showcard Gothic":16,Shruti:16,"Simplified Arabic":14,"Simplified Arabic Fixed":16,"SimSun-ExtB":14,"Sitka Banner":14,"Sitka Display":14,"Sitka Heading":15,"Sitka Small":18,"Sitka Subheading":16,"Sitka Text":17,"Snap ITC":23,"Source Sans Pro":13,"Source Sans Pro Black":14,"Source Sans Pro ExtraLight":12,"Source Sans Pro Light":12,"Source Sans Pro SemiBold":14,Stencil:16,Sylfaen:14,Symbol:14,Tahoma:15,"Tempus Sans ITC":18,"TH SarabunPSK":10,"Times New Roman":14,"Traditional Arabic":13,"Trebuchet MS":14,Tunga:14,"Tw Cen MT":15,"Tw Cen MT Condensed":10,"Tw Cen MT Condensed Extra Bold":13,"UD Digi Kyokasho N-B":14,"UD Digi Kyokasho NK-B":14,"UD Digi Kyokasho NK-R":14,"UD Digi Kyokasho NP-B":19,"UD Digi Kyokasho NP-R":14,"UD Digi Kyokasho N-R":14,Univers:14,"Univers Condensed":14,"Univers Condensed Light":12,"Univers Light":14,"Urdu Typesetting":14,Utsaah:11,Vani:17,Verdana:17,"Verdana Pro":17,"Verdana Pro Black":14,"Verdana Pro Cond":14,"Verdana Pro Cond Black":14,"Verdana Pro Cond Light":14,"Verdana Pro Cond SemiBold":14,"Verdana Pro Light":14,"Verdana Pro SemiBold":14,Vijaya:14,"Viner Hand ITC":18,Vivaldi:12,"Vladimir Script":13,Vrinda:16,Webdings:27,"Wide Latin":33,Wingdings:36,"Wingdings 2":31,"Wingdings 3":24,"Yet R":14,"Yu Gothic":15,"Yu Gothic Light":14,"Yu Gothic Medium":15,"Yu Gothic UI":15,"Yu Gothic UI Light":14,"Yu Gothic UI Semibold":16,"Yu Gothic UI Semilight":15,"Yu Mincho":15,"Yu Mincho Demibold":14,"Yu Mincho Light":14,"\u4eff\u5b8b":14,"\u534e\u6587\u4e2d\u5b8b":17,"\u534e\u6587\u4eff\u5b8b":13,"\u534e\u6587\u5b8b\u4f53":13,"\u534e\u6587\u5f69\u4e91":15,"\u534e\u6587\u65b0\u9b4f":16,"\u534e\u6587\u6977\u4f53":13,"\u534e\u6587\u7425\u73c0":15,"\u534e\u6587\u7ec6\u9ed1":15,"\u534e\u6587\u884c\u6977":14,"\u534e\u6587\u96b6\u4e66":12,"\u5b8b\u4f53":14,"\u5e7c\u5706":14,"\u5fae\u8f6f\u96c5\u9ed1":16,"\u5fae\u8f6f\u96c5\u9ed1 Light":15,"\u65b0\u5b8b\u4f53":14,"\u65b9\u6b63\u59da\u4f53":14,"\u65b9\u6b63\u8212\u4f53":15,"\u6977\u4f53":14,"\u7b49\u7ebf":14,"\u7b49\u7ebf Light":14,"\u96b6\u4e66":14,"\u9ed1\u4f53":14,"\u6e38\u30b4\u30b7\u30c3\u30af":15,"\uff2d\uff33 \uff30\u660e\u671d":14,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':14,"\u30e1\u30a4\u30ea\u30aa":17,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":14,"HG\u660e\u671dB":14,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":14},22:{"Gill Sans MT":15,Abadi:18,"Abadi Extra Light":16,"Agency FB":11,Aharoni:12,Aldhabi:9,Algerian:17,"Ami R":12,"Angsana New":10,AngsanaUPC:10,Aparajita:12,"Arabic Typesetting":10,Arial:16,"Arial Black":19,"Arial Narrow":13,"Arial Nova":16,"Arial Nova Cond":15,"Arial Nova Cond Light":13,"Arial Nova Light":16,"Arial Rounded MT Bold":17,"Baskerville Old Face":14,Batang:17,BatangChe:15,"Bauhaus 93":16,"Bell MT":15,Bembo:14,"Berlin Sans FB":17,"Berlin Sans FB Demi":18,"Bernard MT Condensed":14,"Blackadder ITC":11,"Bodoni MT":14,"Bodoni MT Black":19,"Bodoni MT Condensed":10,"Bodoni MT Poster Compressed":9,"Book Antiqua":15,"Bookman Old Style":18,"Bookshelf Symbol 7":21,"Bradley Hand ITC":19,"Britannic Bold":18,Broadway:19,"Browallia New":11,BrowalliaUPC:11,"Brush Script MT":15,Calibri:15,"Calibri Light":15,"Californian FB":15,"Calisto MT":15,Cambria:16,"Cambria Math":16,Candara:16,Castellar:21,Centaur:14,Century:16,"Century Gothic":16,"Century Schoolbook":16,Chiller:14,"Colonna MT":15,"Comic Sans MS":18,Consolas:16,Constantia:16,"Cooper Black":17,"Copperplate Gothic Bold":21,"Copperplate Gothic Light":21,Corbel:15,"Cordia New":11,CordiaUPC:11,"Courier New":17,"Curlz MT":16,Dante:13,DaunPenh:10,David:13,DilleniaUPC:9,DokChampa:16,Dotum:17,DotumChe:15,Dubai:16,"Dubai Light":16,"Dubai Medium":16,Ebrima:16,"Edwardian Script ITC":14,Elephant:22,"Engravers MT":19,"Eras Bold ITC":19,"Eras Demi ITC":18,"Eras Light ITC":16,"Eras Medium ITC":17,EucrosiaUPC:12,Euphemia:17,"Expo M":25,FangSong:15,"Felix Titling":17,"Footlight MT Light":16,Forte:15,"Franklin Gothic Book":17,"Franklin Gothic Demi":17,"Franklin Gothic Demi Cond":15,"Franklin Gothic Heavy":17,"Franklin Gothic Medium":17,"Franklin Gothic Medium Cond":15,FrankRuehl:12,FreesiaUPC:13,"Freestyle Script":10,"French Script MT":11,Gabriola:12,Gadugi:16,Garamond:14,Gautami:17,Georgia:18,"Georgia Pro":16,"Georgia Pro Black":21,"Georgia Pro Cond":15,"Georgia Pro Cond Black":18,"Georgia Pro Cond Light":15,"Georgia Pro Cond Semibold":16,"Georgia Pro Light":16,"Georgia Pro Semibold":18,Gigi:14,"Gill Sans MT Condensed":11,"Gill Sans MT Ext Condensed Bold":10,"Gill Sans Nova":15,"Gill Sans Nova Cond":10,"Gill Sans Nova Cond Lt":9,"Gill Sans Nova Cond Ultra Bold":17,"Gill Sans Nova Cond XBd":15,"Gill Sans Nova Light":15,"Gill Sans Nova Ultra Bold":25,"Gill Sans Ultra Bold":25,"Gill Sans Ultra Bold Condensed":17,Gisha:16,"Gloucester MT Extra Condensed":11,"Goudy Old Style":15,"Goudy Stout":24,Grotesque:14,"Grotesque Light":14,Gulim:17,GulimChe:15,Gungsuh:17,GungsuhChe:15,"Hadassah Friedlaender":17,Haettenschweiler:13,"Harlow Solid Italic":14,Harrington:16,"Headline R":21,HGGothicE:15,HGGothicM:15,HGGyoshotai:15,HGKyokashotai:15,HGMaruGothicMPRO:22,
24
24
  HGMinchoB:16,HGMinchoE:16,HGPGothicE:17,HGPGothicM:18,HGPGyoshotai:15,HGPKyokashotai:14,HGPMinchoB:15,HGPMinchoE:16,HGPSoeiKakugothicUB:19,HGPSoeiKakupoptai:20,HGPSoeiPresenceEB:17,HGSeikaishotaiPRO:17,HGSGothicE:16,HGSGothicM:17,HGSGyoshotai:14,HGSKyokashotai:13,HGSMinchoB:15,HGSMinchoE:16,HGSoeiKakugothicUB:16,HGSoeiKakupoptai:16,HGSoeiPresenceEB:16,HGSSoeiKakugothicUB:18,HGSSoeiKakupoptai:19,HGSSoeiPresenceEB:16,"High Tower Text":14,"HYGothic-Extra":18,"HYGothic-Medium":17,"HYGraphic-Medium":17,"HYGungSo-Bold":17,"HYHeadLine-Medium":17,"HYMyeongJo-Extra":19,"HYPMokGak-Bold":21,"HYPost-Light":19,"HYPost-Medium":21,"HYShortSamul-Medium":11,"HYSinMyeongJo-Medium":18,Impact:16,"Imprint MT Shadow":15,"Informal Roman":16,"Ink Free":15,IrisUPC:15,"Iskoola Pota":15,JasmineUPC:13,"Javanese Text":17,Jokerman:21,"Juice ITC":11,KaiTi:15,Kalinga:16,Kartika:17,"Khmer UI":16,KodchiangUPC:10,Kokila:11,"Kristen ITC":17,"Kunstler Script":10,"Lao UI":16,Latha:15,Leelawadee:16,"Leelawadee UI":16,"Leelawadee UI Semilight":16,"Levenim MT":17,LilyUPC:13,"Lucida Bright":18,"Lucida Calligraphy":20,"Lucida Console":18,"Lucida Fax":19,"Lucida Handwriting":21,"Lucida Sans":19,"Lucida Sans Typewriter":17,"Lucida Sans Unicode":19,"Magic R":17,Magneto:22,"Maiandra GD":18,"Malgun Gothic":17,"Malgun Gothic Semilight":17,Mangal:17,Marlett:30,"Matura MT Script Capitals":20,Meiryo:20,"Meiryo UI":20,"Microsoft GothicNeo":16,"Microsoft Himalaya":11,"Microsoft JhengHei":17,"Microsoft JhengHei Light":18,"Microsoft JhengHei UI":17,"Microsoft JhengHei UI Light":18,"Microsoft New Tai Lue":17,"Microsoft PhagsPa":17,"Microsoft Sans Serif":17,"Microsoft Tai Le":17,"Microsoft Uighur":11,"Microsoft YaHei Light":18,"Microsoft YaHei UI":18,"Microsoft YaHei UI Light":18,"Microsoft Yi Baiti":16,MingLiU:16,MingLiU_HKSCS:16,"MingLiU_HKSCS-ExtB":16,"MingLiU-ExtB":16,Miriam:15,"Miriam Fixed":18,Mistral:14,"Modern No. 20":14,"MoeumT R":17,"Mongolian Baiti":16,"Monotype Corsiva":14,MoolBoran:11,"MS Gothic":15,"MS Mincho":16,"MS Outlook":16,"MS PGothic":16,"MS PMincho":16,"MS Reference Sans Serif":19,"MS Reference Specialty":36,"MS UI Gothic":16,"MT Extra":31,"MV Boli":21,"Myanmar Text":17,Narkisim:13,"Neue Haas Grotesk Text Pro":16,"New Gulim":18,"News Gothic MT":19,"Niagara Engraved":10,"Niagara Solid":10,"Nirmala UI":17,"Nirmala UI Semilight":17,Nyala:16,"OCR A Extended":19,OCRB:18,"Old English Text MT":16,Onyx:10,"Palace Script MT":10,"Palatino Linotype":15,Papyrus:18,Parchment:7,Perpetua:13,"Perpetua Titling MT":20,"Plantagenet Cherokee":16,Playbill:11,PMingLiU:15,"PMingLiU-ExtB":15,"Poor Richard":17,Pristina:15,"Pyunji R":15,Raavi:15,"Rage Italic":16,Ravie:29,Rockwell:16,"Rockwell Condensed":12,"Rockwell Extra Bold":20,"Rockwell Light":16,"Rockwell Nova":16,"Rockwell Nova Cond":16,"Rockwell Nova Cond Light":16,"Rockwell Nova Extra Bold":16,"Rockwell Nova Light":16,Rod:18,"Sakkal Majalla":12,"Sanskrit Text":18,"Script MT Bold":15,"Segoe MDL2 Assets":12,"Segoe Print":21,"Segoe Script":21,"Segoe UI":16,"Segoe UI Black":18,"Segoe UI Emoji":16,"Segoe UI Historic":16,"Segoe UI Light":15,"Segoe UI Semibold":17,"Segoe UI Semilight":16,"Segoe UI Symbol":16,Selawik:15,"Selawik Light":15,"Selawik Semibold":16,"Shonar Bangla":15,"Showcard Gothic":17,Shruti:17,"Simplified Arabic":15,"Simplified Arabic Fixed":17,"SimSun-ExtB":15,"Sitka Banner":15,"Sitka Display":15,"Sitka Heading":16,"Sitka Small":20,"Sitka Subheading":17,"Sitka Text":18,"Snap ITC":25,"Source Sans Pro":14,"Source Sans Pro Black":15,"Source Sans Pro ExtraLight":13,"Source Sans Pro Light":13,"Source Sans Pro SemiBold":14,Stencil:17,Sylfaen:15,Symbol:15,Tahoma:16,"Tempus Sans ITC":19,"TH SarabunPSK":11,"Times New Roman":15,"Traditional Arabic":14,"Trebuchet MS":15,Tunga:15,"Tw Cen MT":16,"Tw Cen MT Condensed":11,"Tw Cen MT Condensed Extra Bold":14,"UD Digi Kyokasho N-B":15,"UD Digi Kyokasho NK-B":15,"UD Digi Kyokasho NK-R":15,"UD Digi Kyokasho NP-B":21,"UD Digi Kyokasho NP-R":15,"UD Digi Kyokasho N-R":15,Univers:15,"Univers Condensed":15,"Univers Condensed Light":13,"Univers Light":15,"Urdu Typesetting":15,Utsaah:12,Vani:18,Verdana:18,"Verdana Pro":18,"Verdana Pro Black":15,"Verdana Pro Cond":15,"Verdana Pro Cond Black":15,"Verdana Pro Cond Light":15,"Verdana Pro Cond SemiBold":15,"Verdana Pro Light":15,"Verdana Pro SemiBold":15,Vijaya:12,"Viner Hand ITC":20,Vivaldi:12,"Vladimir Script":13,Vrinda:17,Webdings:29,"Wide Latin":36,Wingdings:39,"Wingdings 2":33,"Wingdings 3":26,"Yet R":16,"Yu Gothic":16,"Yu Gothic Light":16,"Yu Gothic Medium":16,"Yu Gothic UI":16,"Yu Gothic UI Light":15,"Yu Gothic UI Semibold":17,"Yu Gothic UI Semilight":16,"Yu Mincho":16,"Yu Mincho Demibold":15,"Yu Mincho Light":15,"\u4eff\u5b8b":15,"\u534e\u6587\u4e2d\u5b8b":18,"\u534e\u6587\u4eff\u5b8b":14,"\u534e\u6587\u5b8b\u4f53":14,"\u534e\u6587\u5f69\u4e91":16,"\u534e\u6587\u65b0\u9b4f":17,"\u534e\u6587\u6977\u4f53":14,"\u534e\u6587\u7425\u73c0":16,"\u534e\u6587\u7ec6\u9ed1":16,"\u534e\u6587\u884c\u6977":15,"\u534e\u6587\u96b6\u4e66":13,"\u5b8b\u4f53":15,"\u5e7c\u5706":15,"\u5fae\u8f6f\u96c5\u9ed1":17,"\u5fae\u8f6f\u96c5\u9ed1 Light":17,"\u65b0\u5b8b\u4f53":15,"\u65b9\u6b63\u59da\u4f53":15,"\u65b9\u6b63\u8212\u4f53":16,"\u6977\u4f53":15,"\u7b49\u7ebf":15,"\u7b49\u7ebf Light":15,"\u96b6\u4e66":15,"\u9ed1\u4f53":15,"\u6e38\u30b4\u30b7\u30c3\u30af":16,"\uff2d\uff33 \uff30\u660e\u671d":15,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':15,"\u30e1\u30a4\u30ea\u30aa":18,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":15,"HG\u660e\u671dB":15,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":15},24:{"Gill Sans MT":16,Abadi:19,"Abadi Extra Light":18,"Agency FB":14,Aharoni:13,Aldhabi:10,Algerian:19,"Ami R":13,"Angsana New":11,AngsanaUPC:11,Aparajita:13,"Arabic Typesetting":11,Arial:18,"Arial Black":21,"Arial Narrow":15,"Arial Nova":18,"Arial Nova Cond":16,"Arial Nova Cond Light":14,"Arial Nova Light":18,"Arial Rounded MT Bold":19,"Baskerville Old Face":16,Batang:19,BatangChe:16,"Bauhaus 93":18,"Bell MT":16,Bembo:16,"Berlin Sans FB":19,"Berlin Sans FB Demi":20,"Bernard MT Condensed":16,"Blackadder ITC":13,"Bodoni MT":16,"Bodoni MT Black":21,"Bodoni MT Condensed":11,"Bodoni MT Poster Compressed":9,"Book Antiqua":16,"Bookman Old Style":20,"Bookshelf Symbol 7":24,"Bradley Hand ITC":21,"Britannic Bold":20,Broadway:21,"Browallia New":12,BrowalliaUPC:12,"Brush Script MT":16,Calibri:16,"Calibri Light":16,"Californian FB":17,"Calisto MT":16,Cambria:18,"Cambria Math":18,Candara:18,Castellar:23,Centaur:16,Century:18,"Century Gothic":18,"Century Schoolbook":18,Chiller:15,"Colonna MT":16,"Comic Sans MS":20,Consolas:18,Constantia:17,"Cooper Black":19,"Copperplate Gothic Bold":23,"Copperplate Gothic Light":23,Corbel:17,"Cordia New":12,CordiaUPC:12,"Courier New":19,"Curlz MT":17,Dante:14,DaunPenh:11,David:14,DilleniaUPC:10,DokChampa:18,Dotum:19,DotumChe:16,Dubai:17,"Dubai Light":17,"Dubai Medium":17,Ebrima:17,"Edwardian Script ITC":15,Elephant:24,"Engravers MT":21,"Eras Bold ITC":21,"Eras Demi ITC":20,"Eras Light ITC":17,"Eras Medium ITC":18,EucrosiaUPC:13,Euphemia:19,"Expo M":28,FangSong:16,"Felix Titling":19,"Footlight MT Light":18,Forte:17,"Franklin Gothic Book":19,"Franklin Gothic Demi":19,"Franklin Gothic Demi Cond":16,"Franklin Gothic Heavy":19,"Franklin Gothic Medium":19,"Franklin Gothic Medium Cond":16,FrankRuehl:13,FreesiaUPC:14,"Freestyle Script":12,"French Script MT":12,Gabriola:13,Gadugi:17,Garamond:15,Gautami:19,Georgia:20,"Georgia Pro":18,"Georgia Pro Black":23,"Georgia Pro Cond":17,"Georgia Pro Cond Black":20,"Georgia Pro Cond Light":16,"Georgia Pro Cond Semibold":18,"Georgia Pro Light":18,"Georgia Pro Semibold":20,Gigi:17,"Gill Sans MT Condensed":12,"Gill Sans MT Ext Condensed Bold":11,"Gill Sans Nova":16,"Gill Sans Nova Cond":11,"Gill Sans Nova Cond Lt":10,"Gill Sans Nova Cond Ultra Bold":19,"Gill Sans Nova Cond XBd":17,"Gill Sans Nova Light":16,"Gill Sans Nova Ultra Bold":27,"Gill Sans Ultra Bold":27,"Gill Sans Ultra Bold Condensed":19,Gisha:17,"Gloucester MT Extra Condensed":12,"Goudy Old Style":16,"Goudy Stout":26,Grotesque:15,"Grotesque Light":15,Gulim:18,GulimChe:16,Gungsuh:19,GungsuhChe:16,"Hadassah Friedlaender":18,Haettenschweiler:14,"Harlow Solid Italic":15,Harrington:18,"Headline R":23,HGGothicE:16,HGGothicM:16,HGGyoshotai:16,HGKyokashotai:16,HGMaruGothicMPRO:24,HGMinchoB:17,HGMinchoE:17,HGPGothicE:18,HGPGothicM:20,HGPGyoshotai:16,HGPKyokashotai:16,HGPMinchoB:16,HGPMinchoE:18,HGPSoeiKakugothicUB:21,HGPSoeiKakupoptai:22,HGPSoeiPresenceEB:19,HGSeikaishotaiPRO:19,HGSGothicE:17,HGSGothicM:19,HGSGyoshotai:15,HGSKyokashotai:15,HGSMinchoB:16,HGSMinchoE:18,HGSoeiKakugothicUB:17,HGSoeiKakupoptai:17,HGSoeiPresenceEB:17,HGSSoeiKakugothicUB:20,HGSSoeiKakupoptai:21,HGSSoeiPresenceEB:18,"High Tower Text":15,"HYGothic-Extra":20,"HYGothic-Medium":19,"HYGraphic-Medium":19,"HYGungSo-Bold":19,"HYHeadLine-Medium":19,"HYMyeongJo-Extra":21,"HYPMokGak-Bold":23,"HYPost-Light":21,"HYPost-Medium":23,"HYShortSamul-Medium":12,"HYSinMyeongJo-Medium":20,Impact:17,"Imprint MT Shadow":16,"Informal Roman":17,"Ink Free":16,IrisUPC:16,"Iskoola Pota":16,JasmineUPC:15,"Javanese Text":19,Jokerman:23,"Juice ITC":11,KaiTi:16,Kalinga:18,Kartika:18,"Khmer UI":17,KodchiangUPC:11,Kokila:12,"Kristen ITC":19,"Kunstler Script":11,"Lao UI":17,Latha:16,Leelawadee:17,"Leelawadee UI":17,"Leelawadee UI Semilight":18,"Levenim MT":18,LilyUPC:14,"Lucida Bright":19,"Lucida Calligraphy":22,"Lucida Console":20,"Lucida Fax":21,"Lucida Handwriting":23,"Lucida Sans":21,"Lucida Sans Typewriter":19,"Lucida Sans Unicode":21,"Magic R":19,Magneto:25,"Maiandra GD":20,"Malgun Gothic":19,"Malgun Gothic Semilight":19,Mangal:18,Marlett:33,"Matura MT Script Capitals":22,Meiryo:22,"Meiryo UI":22,"Microsoft GothicNeo":17,"Microsoft Himalaya":12,"Microsoft JhengHei":19,"Microsoft JhengHei Light":19,"Microsoft JhengHei UI":19,"Microsoft JhengHei UI Light":19,"Microsoft New Tai Lue":18,"Microsoft PhagsPa":18,"Microsoft Sans Serif":19,"Microsoft Tai Le":18,"Microsoft Uighur":12,"Microsoft YaHei Light":19,"Microsoft YaHei UI":20,"Microsoft YaHei UI Light":19,"Microsoft Yi Baiti":17,MingLiU:17,MingLiU_HKSCS:17,"MingLiU_HKSCS-ExtB":17,"MingLiU-ExtB":17,Miriam:16,"Miriam Fixed":20,Mistral:15,"Modern No. 20":16,"MoeumT R":19,"Mongolian Baiti":17,"Monotype Corsiva":15,MoolBoran:12,"MS Gothic":16,"MS Mincho":17,"MS Outlook":17,"MS PGothic":17,"MS PMincho":17,"MS Reference Sans Serif":21,"MS Reference Specialty":39,"MS UI Gothic":17,"MT Extra":34,"MV Boli":23,"Myanmar Text":18,Narkisim:14,"Neue Haas Grotesk Text Pro":17,"New Gulim":19,"News Gothic MT":21,"Niagara Engraved":11,"Niagara Solid":11,"Nirmala UI":18,"Nirmala UI Semilight":19,Nyala:17,"OCR A Extended":20,OCRB:20,"Old English Text MT":17,Onyx:10,"Palace Script MT":11,"Palatino Linotype":16,Papyrus:20,Parchment:8,Perpetua:15,"Perpetua Titling MT":22,"Plantagenet Cherokee":18,Playbill:12,PMingLiU:16,"PMingLiU-ExtB":16,"Poor Richard":19,Pristina:16,"Pyunji R":17,Raavi:16,"Rage Italic":18,Ravie:31,Rockwell:17,"Rockwell Condensed":14,"Rockwell Extra Bold":22,"Rockwell Light":18,"Rockwell Nova":17,"Rockwell Nova Cond":17,"Rockwell Nova Cond Light":17,"Rockwell Nova Extra Bold":17,"Rockwell Nova Light":17,Rod:20,"Sakkal Majalla":13,"Sanskrit Text":19,"Script MT Bold":17,"Segoe MDL2 Assets":13,"Segoe Print":23,"Segoe Script":23,"Segoe UI":17,"Segoe UI Black":20,"Segoe UI Emoji":17,"Segoe UI Historic":17,"Segoe UI Light":16,"Segoe UI Semibold":18,"Segoe UI Semilight":17,"Segoe UI Symbol":17,Selawik:17,"Selawik Light":17,"Selawik Semibold":18,"Shonar Bangla":13,"Showcard Gothic":19,Shruti:19,"Simplified Arabic":17,"Simplified Arabic Fixed":19,"SimSun-ExtB":16,"Sitka Banner":16,"Sitka Display":17,"Sitka Heading":18,"Sitka Small":22,"Sitka Subheading":19,"Sitka Text":20,"Snap ITC":28,"Source Sans Pro":15,"Source Sans Pro Black":17,"Source Sans Pro ExtraLight":15,"Source Sans Pro Light":15,"Source Sans Pro SemiBold":16,Stencil:18,Sylfaen:16,Symbol:16,Tahoma:17,"Tempus Sans ITC":21,"TH SarabunPSK":12,"Times New Roman":16,"Traditional Arabic":16,"Trebuchet MS":17,Tunga:17,"Tw Cen MT":18,"Tw Cen MT Condensed":12,"Tw Cen MT Condensed Extra Bold":16,"UD Digi Kyokasho N-B":16,"UD Digi Kyokasho NK-B":16,"UD Digi Kyokasho NK-R":16,"UD Digi Kyokasho NP-B":23,"UD Digi Kyokasho NP-R":16,"UD Digi Kyokasho N-R":16,Univers:16,"Univers Condensed":16,"Univers Condensed Light":14,"Univers Light":16,"Urdu Typesetting":16,Utsaah:13,Vani:20,Verdana:20,"Verdana Pro":20,"Verdana Pro Black":16,"Verdana Pro Cond":16,"Verdana Pro Cond Black":16,"Verdana Pro Cond Light":16,"Verdana Pro Cond SemiBold":16,"Verdana Pro Light":16,"Verdana Pro SemiBold":16,Vijaya:13,"Viner Hand ITC":22,Vivaldi:14,"Vladimir Script":15,Vrinda:18,Webdings:32,"Wide Latin":40,Wingdings:43,"Wingdings 2":36,"Wingdings 3":29,"Yet R":17,"Yu Gothic":18,"Yu Gothic Light":17,"Yu Gothic Medium":18,"Yu Gothic UI":17,"Yu Gothic UI Light":17,"Yu Gothic UI Semibold":18,"Yu Gothic UI Semilight":18,"Yu Mincho":17,"Yu Mincho Demibold":17,"Yu Mincho Light":16,"\u4eff\u5b8b":16,"\u534e\u6587\u4e2d\u5b8b":20,"\u534e\u6587\u4eff\u5b8b":15,"\u534e\u6587\u5b8b\u4f53":15,"\u534e\u6587\u5f69\u4e91":18,"\u534e\u6587\u65b0\u9b4f":19,"\u534e\u6587\u6977\u4f53":15,"\u534e\u6587\u7425\u73c0":18,"\u534e\u6587\u7ec6\u9ed1":18,"\u534e\u6587\u884c\u6977":16,"\u534e\u6587\u96b6\u4e66":14,"\u5b8b\u4f53":16,"\u5e7c\u5706":16,"\u5fae\u8f6f\u96c5\u9ed1":19,"\u5fae\u8f6f\u96c5\u9ed1 Light":18,"\u65b0\u5b8b\u4f53":16,"\u65b9\u6b63\u59da\u4f53":16,"\u65b9\u6b63\u8212\u4f53":18,"\u6977\u4f53":16,"\u7b49\u7ebf":17,"\u7b49\u7ebf Light":16,"\u96b6\u4e66":16,"\u9ed1\u4f53":16,"\u6e38\u30b4\u30b7\u30c3\u30af":18,"\uff2d\uff33 \uff30\u660e\u671d":16,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':16,"\u30e1\u30a4\u30ea\u30aa":20,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":16,"HG\u660e\u671dB":16,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":16}},t.unknownFontMaxDigitWidthMap={},a="http://schemas.openxmlformats.org/spreadsheetml/2006/main",t.XFileConstants={Bb:"_rels",Cb:"/xl",Db:"[Content_Types].xml",Eb:"bin",Fb:"application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings",Gb:"rels",Hb:"application/vnd.openxmlformats-package.relationships+xml",Ib:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",Jb:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",Kb:"application/vnd.openxmlformats-officedocument.theme+xml",Lb:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",Mb:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",Ob:"application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml",Pb:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml",Qb:"application/vnd.openxmlformats-officedocument.drawing+xml",Rb:"application/vnd.openxmlformats-officedocument.drawingml.chart+xml",Sb:"application/vnd.ms-office.chartex+xml",Tb:"application/vnd.ms-office.chartstyle+xml",Ub:"application/vnd.ms-office.chartcolorstyle+xml",Vb:"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml",Wb:"application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml",Xb:"application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml",Yb:"application/vnd.ms-office.drawingml.diagramDrawing+xml",Zb:"application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml",$b:"application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml",_b:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",ac:"application/vnd.ms-excel.threadedcomments+xml",bc:"application/vnd.ms-excel.person+xml",cc:"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml",dc:"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml",ec:"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml",fc:"application/vnd.ms-excel.slicer+xml",gc:"application/vnd.ms-excel.slicerCache+xml",hc:"application/vnd.ms-excel.timeline+xml",ic:"application/vnd.ms-excel.timelineCache+xml",jc:"application/vnd.ms-office.vbaProject",kc:"application/vnd.openxmlformats-officedocument.vmlDrawing",lc:"application/vnd.ms-excel.controlproperties+xml",nc:"xml",oc:"vml",pc:"application/xml",qc:"jpg",sc:"image/jpg",tc:"tiff",uc:"image/tiff",vc:"jpeg",wc:"image/jpeg",xc:"svg",yc:"image/svg+xml",zc:"png",Ac:"image/png",Bc:"bmp",Cc:"image/bmp",Dc:"gif",Ec:"image/gif",Fc:"emf",Gc:"image/x-emf",Hc:"wmf",Ic:"image/x-wmf",Jc:"drawings",Kc:"vmlDrawing",Lc:"/xl/charts",Mc:"/xl/drawings",Nc:"/xl/persons",Oc:"/xl/media",Pc:"/xl/ctrlProps",Qc:"/xl/threadedComments",Rc:"/xl/worksheets",Sc:"/xl/tables",Tc:"/xl/slicers",Uc:"/xl/timelines",Vc:"/xl/externalLinks",Wc:"/xl/slicerCaches",Xc:"/xl/timelineCaches",Yc:"/xl/pivotCache",Zc:"/xl/pivotTables",$c:"sheet",_c:"externalLink",ad:"comments",bd:"chart",dd:"chartEx",ed:"style",fd:"person",hd:"colors",jd:"drawing",kd:"threadedComment",ld:"image",md:"ctrlProp",od:"table",pd:"slicer",qd:"timeline",rd:"slicerCache",sd:"timelineCache",td:"pivotCacheDefinition",ud:"pivotCacheRecords",vd:"pivotTable",wd:"/xl/sharedStrings.xml",xd:"/xl/theme/theme1.xml",yd:"/xl/worksheets",zd:"/xl/workbook.xml",Ad:"/docProps/core.xml",Bd:"/docProps/app.xml",Cd:"/docProps/custom.xml",Dd:"/xl/styles.xml",Ed:"/xl/theme/theme1.xml",Fd:"metadata.xml",Gd:"/xl/_rels/workbook.xml.rels",Hd:a,Jd:"http://schemas.openxmlformats.org/markup-compatibility/2006",Kd:"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing",Ld:"http://schemas.openxmlformats.org/drawingml/2006/main",Md:a,Nd:"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac",Od:"x14ac",Pd:"x14ac xr xr2 xr3",Qd:"xr",Rd:"http://schemas.microsoft.com/office/spreadsheetml/2014/revision",Sd:"http://schemas.microsoft.com/office/spreadsheetml/2015/revision2",Td:"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3",Ud:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",Vd:"http://schemas.openxmlformats.org/package/2006/content-types",Wd:"http://schemas.openxmlformats.org/package/2006/relationships",Xd:"http://schemas.openxmlformats.org/drawingml/2006/main",Yd:"http://schemas.microsoft.com/office/drawing/2010/main",Zd:"http://schemas.microsoft.com/office/drawing/2016/SVG/main",$d:"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main",_d:"http://schemas.microsoft.com/office/excel/2006/main",ae:"http://schemas.openxmlformats.org/markup-compatibility/2006",be:a,ce:"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main",de:"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main",ee:"http://schemas.microsoft.com/office/spreadsheetml/2018/calcfeatures",fe:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",ge:"http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray",he:"http://schemas.microsoft.com/office/spreadsheetml/2017/richdata",ie:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",je:a,ke:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",le:a,me:"http://schemas.microsoft.com/office/spreadsheetml/2014/revision",ne:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",oe:"http://purl.org/dc/elements/1.1/",pe:"http://purl.org/dc/terms/",qe:"http://purl.org/dc/dcmitype/",re:"http://www.w3.org/2001/XMLSchema-instance",se:"application/vnd.openxmlformats-package.core-properties+xml",te:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",ue:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",ve:"application/vnd.openxmlformats-officedocument.extended-properties+xml",we:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",xe:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",ye:"application/vnd.openxmlformats-officedocument.custom-properties+xml"},function(e){e[e.latin=0]="latin",e[e.cs=1]="cs",e[e.ea=2]="ea",e[e.sym=3]="sym"}(l=t.FontLanguage||(t.FontLanguage={})),s=function(){function e(e,t){this.row=e,this.col=t}return e}(),t.ExcelCell=s,c=function(){function e(e){this.index=e}return e}(),t.ExcelColumn=c,d=function(){function e(e){this.index=e}return e}(),t.ExcelRow=d,u=function(){function e(e,t,r){this.name=e,this.colorScheme=t,this.fontScheme=r}return e}(),t.ExcelTheme=u,f=function(){function e(e,t){this.name=e,this.schemeColors=t}return e}(),t.ColorScheme=f,b=function(){function e(e,t,r){this.name=e,this.majorFont=t,this.minorFont=r}return e}(),t.FontScheme=b,h=function(){function e(e,t){this.script=e,this.typeface=t}return e}(),t.ThemeFont=h,p=function(){function e(e,t){this.runFormattings=e,this.themesFonts=t}return e}(),t.ThemeFonts=p,m=function(){function e(e,t){this.fontLanguage=e,this.typeface=t}return e}(),t.RunFormatting=m,g=function(){function e(){}return e}(),t.SheetInfo=g,y=function(){function e(){}return e}(),t.DefaultContentType=y,S=function(){function e(){}return e}(),t.OverrideContentType=S,C=function(){function e(){}return e}(),w=function(){function e(e,t){this.fileName=e,this.fileType=t,this.relationFiles={count:0}}return e.prototype.ze=function(e){if(!e)return"";this.relationFiles.count++;var r=t.RelationshipConstants.Ja+this.relationFiles.count;return this.relationFiles[r]=e,r},e.prototype.Ae=function(r){var i,n,a,l,s,c,d,u,f;if(r&&(i=this.Be(this.fileName,r)))for(n=0,a=i.length;n<a;n++)l=i[n],s=l.target,c="hyperlink",d=l.type.substring(l.type.length-c.length,l.type.length)===c,u=l.type===t.RelationshipConstants.rb,d||u||o.isNullOrUndefined(s)||""===s||(s="/"!==s[0]?o.Util.qa(this.fileName,s):s.substr(1)),f=new e(s,l.type),f.targetMode=l.targetMode,f.Ae(r),this.relationFiles[l.id]||this.relationFiles.count++,this.relationFiles[l.id]=f},e.prototype.Be=function(e,t){if(null===e||!t)return null;var r=this.Ce(e);return r?this.De(t[r.toLowerCase()]):null},e.prototype.Ce=function(e){return null===e||void 0===e?"":0===e.length?t.XFileConstants.Bb+"/."+t.XFileConstants.Gb:e.substring("/"===e.charAt(0)?1:0,e.lastIndexOf("/"))+"/"+t.XFileConstants.Bb+"/"+e.substring(e.lastIndexOf("/")+1)+"."+t.XFileConstants.Gb},e.prototype.Ee=function(e){var t,r;if(!this.relationFiles||0===this.relationFiles.count)return null;if(o.StringEx.L(e))return null;for(t in this.relationFiles)if("count"!==t&&(r=this.relationFiles[t],r.fileType===e))return r;return null},e.prototype.Fe=function(e){var t,r,i;if(!this.relationFiles||0===this.relationFiles.count)return null;if(o.StringEx.L(e))return null;t=[];for(r in this.relationFiles)"count"!==r&&(i=this.relationFiles[r],i.fileType===e&&t.push({id:r,file:i}));return t},e.prototype.Ge=function(e){return!this.relationFiles||0===this.relationFiles.count||o.StringEx.O(e)?null:this.relationFiles[e]},e.prototype.De=function(e){var t,r,o,n,a,l,s,c;if(e){if(t=[],r=i.parseXmlToObject(e),o=r.Relationships)for(n=o.Relationship,Array.isArray(n)||(n=[n]),a=0,l=n.length;a<l;a++)s=n[a],s&&(c=new C,s._attr.Id&&(c.id=s._attr.Id),s._attr.Target&&(c.target=s._attr.Target),s._attr.Type&&(c.type=s._attr.Type),s._attr.TargetMode&&(c.targetMode=s._attr.TargetMode),t.push(c));return t}},e}(),t.XFile=w,t.PivotSharedItemType={B:"b",D:"d",E:"e",M:"m",N:"n",S:"s",X:"x"}},"./src/common/range-parser.ts":function(e,t,r){"use strict";var o,i;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/excel-types.ts");function n(e,t){var r,o=[];return null===e?o:(r=e.replace(/('.+')/g,"").split(" "),r.forEach(function(e){var r=a(e,t);!r||r.row>i.ExcelConstants.wb||r.col>i.ExcelConstants.vb||r.rowCount>i.ExcelConstants.wb||r.col>i.ExcelConstants.vb||o.push(r)}),o)}t.getRangesFromString=n;function a(e,t){var r,n,a,l,s,c,d,u={},f=e.indexOf("!");if(f>-1&&(e=e.substr(f+1)),r=e.split("$").join(""),r=r.split(":"),1===r.length){if(c=r[0],n=o.IndexHelper.P(c),a=o.IndexHelper.R(c),n===-1&&a===-1)return null;u.row=n,u.col=a,u.rowCount=1,u.colCount=1}else 2===r.length&&(c=r[0],d=r[1],n=o.IndexHelper.P(c),a=o.IndexHelper.R(c),l=o.IndexHelper.P(d),s=o.IndexHelper.R(d),u.row=n,u.col=a,u.rowCount=l-n+1,u.colCount=s-a+1,t||0!==n||u.rowCount!==i.ExcelConstants.wb||(u.row=-1,u.rowCount=-1),t||0!==a||u.colCount!==i.ExcelConstants.vb||(u.col=-1,u.colCount=-1));return u}function l(e){var t,r,n,a,l,s,c,d=[];for(t=0;t<e.length;t++)r=e[t],o.isRangeWholeRow(r)&&(r.col=0,r.colCount=i.ExcelConstants.vb),o.isRangeWholeColumn(r)&&(r.row=0,r.rowCount=i.ExcelConstants.wb),n=r.row,a=r.row+r.rowCount-1,l=r.col,s=r.col+r.colCount-1,c=o.IndexHelper.T(l)+(n+1),(r.rowCount>1||r.colCount>1)&&(c+=":"+o.IndexHelper.T(s)+(a+1)),d.push(c);return d.join(" ")}t.getRangeString=l},"./src/common/tuple.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(){var e,t,r,o=[];for(e=0;e<arguments.length;e++)o[e]=arguments[e];for(this.equals=function(e,t){var r,o,i,n;for(r=1,o=this.count;r<=o;r++)if(i=this["item"+r],n=e["item"+r],!(i&&n&&i.equals&&i.equals(n,t)||i===n))return!1;return!0},t=o.length,r=1;r<=t;r++)this["item"+r]=o[r-1];this.count=t}return e}();t.Tuple=o},"./src/datamodel/chart-model.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A,T,v,k,F,R,E,I,L,D,B,P,W,_,N,M,O,H,G,U,J,z,V,j,X,K,q,Y,Q,Z,$,ee,te,re,oe,ie,ne,ae,le,se,ce,de,ue,fe,be,he,pe,me,ge,ye,Se,Ce,we,xe,Ae,Te,ve,ke,Fe,Re,Ee,Ie,Le,De,Be,Pe,We,_e,Ne,Me,Oe,He,Ge;Object.defineProperty(t,"__esModule",{value:!0}),o=void 0;function Ue(e){for(var t in e)e[t]!==o&&(e[e[t]]=t)}t.Charts={},i={major:0,minor:1,none:2},Ue(i),t.Charts.ST_FontCollectionIndex=i,n={dk1:0,lt1:1,dk2:2,lt2:3,accent1:4,accent2:5,accent3:6,accent4:7,accent5:8,accent6:9,hlink:10,folHlink:11},Ue(n),t.Charts.ST_ColorSchemeIndex=n,a={scrollBar:0,background:1,activeCaption:2,inactiveCaption:3,menu:4,window:5,windowFrame:6,menuText:7,windowText:8,captionText:9,activeBorder:10,inactiveBorder:11,appWorkspace:12,highlight:13,highlightText:14,btnFace:15,btnShadow:16,grayText:17,btnText:18,inactiveCaptionText:19,btnHighlight:20,Item3dDkShadow:21,Item3dLight:22,infoText:23,infoBk:24,hotLight:25,gradientActiveCaption:26,gradientInactiveCaption:27,menuHighlight:28,menuBar:29},Ue(a),t.Charts.ST_SystemColorVal=a,l={bg1:0,tx1:1,bg2:2,tx2:3,accent1:4,accent2:5,accent3:6,accent4:7,accent5:8,accent6:9,hlink:10,folHlink:11,phClr:12,dk1:13,lt1:14,dk2:15,lt2:16},Ue(l),t.Charts.ST_SchemeColorVal=l,s={aliceBlue:0,antiqueWhite:1,aqua:2,aquamarine:3,azure:4,beige:5,bisque:6,black:7,blanchedAlmond:8,blue:9,blueViolet:10,brown:11,burlyWood:12,cadetBlue:13,chartreuse:14,chocolate:15,coral:16,cornflowerBlue:17,cornsilk:18,crimson:19,cyan:20,darkBlue:21,darkCyan:22,darkGoldenrod:23,darkGray:24,darkGreen:25,darkGrey:26,darkKhaki:27,darkMagenta:28,darkOliveGreen:29,darkOrange:30,darkOrchid:31,darkRed:32,darkSalmon:33,darkSeaGreen:34,darkSlateBlue:35,darkSlateGray:36,darkSlateGrey:37,darkTurquoise:38,darkViolet:39,deepPink:40,deepSkyBlue:41,dimGray:42,dimGrey:43,dkBlue:44,dkCyan:45,dkGoldenrod:46,dkGray:47,dkGreen:48,dkGrey:49,dkKhaki:50,dkMagenta:51,dkOliveGreen:52,dkOrange:53,dkOrchid:54,dkRed:55,dkSalmon:56,dkSeaGreen:57,dkSlateBlue:58,dkSlateGray:59,dkSlateGrey:60,dkTurquoise:61,dkViolet:62,dodgerBlue:63,firebrick:64,floralWhite:65,forestGreen:66,fuchsia:67,gainsboro:68,ghostWhite:69,gold:70,goldenrod:71,gray:72,green:73,greenYellow:74,grey:75,honeydew:76,hotPink:77,indianRed:78,indigo:79,ivory:80,khaki:81,lavender:82,lavenderBlush:83,lawnGreen:84,lemonChiffon:85,lightBlue:86,lightCoral:87,lightCyan:88,lightGoldenrodYellow:89,lightGray:90,lightGreen:91,lightGrey:92,lightPink:93,lightSalmon:94,lightSeaGreen:95,lightSkyBlue:96,lightSlateGray:97,lightSlateGrey:98,lightSteelBlue:99,lightYellow:100,lime:101,limeGreen:102,linen:103,ltBlue:104,ltCoral:105,ltCyan:106,ltGoldenrodYellow:107,ltGray:108,ltGreen:109,ltGrey:110,ltPink:111,ltSalmon:112,ltSeaGreen:113,ltSkyBlue:114,ltSlateGray:115,ltSlateGrey:116,ltSteelBlue:117,ltYellow:118,magenta:119,maroon:120,medAquamarine:121,medBlue:122,mediumAquamarine:123,mediumBlue:124,mediumOrchid:125,mediumPurple:126,mediumSeaGreen:127,mediumSlateBlue:128,mediumSpringGreen:129,mediumTurquoise:130,mediumVioletRed:131,medOrchid:132,medPurple:133,medSeaGreen:134,medSlateBlue:135,medSpringGreen:136,medTurquoise:137,medVioletRed:138,midnightBlue:139,mintCream:140,mistyRose:141,moccasin:142,navajoWhite:143,navy:144,oldLace:145,olive:146,oliveDrab:147,orange:148,orangeRed:149,orchid:150,paleGoldenrod:151,paleGreen:152,paleTurquoise:153,paleVioletRed:154,papayaWhip:155,peachPuff:156,peru:157,pink:158,plum:159,powderBlue:160,purple:161,red:162,rosyBrown:163,royalBlue:164,saddleBrown:165,salmon:166,sandyBrown:167,seaGreen:168,seaShell:169,sienna:170,silver:171,skyBlue:172,slateBlue:173,slateGray:174,slateGrey:175,snow:176,springGreen:177,steelBlue:178,tan:179,teal:180,thistle:181,tomato:182,turquoise:183,violet:184,wheat:185,white:186,whiteSmoke:187,yellow:188,yellowGreen:189},Ue(s),t.Charts.ST_PresetColorVal=s,c={tl:0,t:1,tr:2,l:3,ctr:4,r:5,bl:6,b:7,br:8},Ue(c),t.Charts.ST_RectAlignment=c,d={clr:0,auto:1,gray:2,ltGray:3,invGray:4,grayWhite:5,blackGray:6,blackWhite:7,black:8,white:9,hidden:10},Ue(d),t.Charts.ST_BlackWhiteMode=d,u={inner:0,outer:1},Ue(u),t.Charts.ST_LayoutTarget=u,f={edge:0,factor:1},Ue(f),t.Charts.ST_LayoutMode=f,b={area:0,w:1},Ue(b),t.Charts.ST_SizeRepresents=b,h={auto:0,cust:1,percent:2,pos:3,val:4},Ue(h),t.Charts.ST_SplitType=h,p={ctr:0,l:1,r:2},Ue(p),t.Charts.ST_LblAlgn=p,m={bestFit:0,b:1,ctr:2,inBase:3,inEnd:4,l:5,outEnd:6,r:7,t:8},Ue(m),t.Charts.ST_DLblPos=m,g={circle:0,dash:1,diamond:2,dot:3,none:4,picture:5,plus:6,square:7,star:8,triangle:9,x:10},Ue(g),t.Charts.ST_MarkerStyle=g,y={exp:0,linear:1,log:2,movingAvg:3,poly:4,power:5},Ue(y),t.Charts.ST_TrendlineType=y,S={x:0,y:1},Ue(S),t.Charts.ST_ErrDir=S,C={both:0,minus:1,plus:2},Ue(C),t.Charts.ST_ErrBarType=C,w={cust:0,fixedVal:1,percentage:2,stdDev:3,stdErr:4},Ue(w),t.Charts.ST_ErrValType=w,x={percentStacked:0,standard:1,stacked:2},Ue(x),t.Charts.ST_Grouping=x,A={none:0,line:1,lineMarker:2,marker:3,smooth:4,smoothMarker:5},Ue(A),t.Charts.ST_ScatterStyle=A,T={standard:0,marker:1,filled:2},Ue(T),t.Charts.ST_RadarStyle=T,v={percentStacked:0,clustered:1,standard:2,stacked:3},Ue(v),t.Charts.ST_BarGrouping=v,k={bar:0,col:1},Ue(k),t.Charts.ST_BarDir=k,F={cone:0,coneToMax:1,box:2,cylinder:3,pyramid:4,pyramidToMax:5},Ue(F),t.Charts.ST_Shape=F,R={pie:0,bar:1},Ue(R),t.Charts.ST_OfPieType=R,E={b:0,l:1,r:2,t:3},Ue(E),t.Charts.ST_AxPos=E,I={autoZero:0,max:1,min:2},Ue(I),t.Charts.ST_Crosses=I,L={between:0,midCat:1},Ue(L),t.Charts.ST_CrossBetween=L,D={cross:0,in:1,none:2,out:3},Ue(D),t.Charts.ST_TickMark=D,B={high:0,low:1,nextTo:2,none:3},Ue(B),t.Charts.ST_TickLblPos=B,P={days:0,months:1,years:2},Ue(P),t.Charts.ST_TimeUnit=P,W={hundreds:0,thousands:1,tenThousands:2,hundredThousands:3,millions:4,tenMillions:5,hundredMillions:6,billions:7,trillions:8},Ue(W),t.Charts.ST_BuiltInUnit=W,_={stretch:0,stack:1,stackScale:2},Ue(_),t.Charts.ST_PictureFormat=_,N={maxMin:0,minMax:1},Ue(N),t.Charts.ST_Orientation=N,M={b:0,tr:1,l:2,r:3,t:4},Ue(M),t.Charts.ST_LegendPos=M,O={span:0,gap:1,zero:2},Ue(O),t.Charts.ST_DispBlanksAs=O,H={default:0,portrait:1,landscape:2},Ue(H),t.Charts.ST_PageSetupOrientation=H,G={legacyObliqueTopLeft:0,legacyObliqueTop:1,legacyObliqueTopRight:2,legacyObliqueLeft:3,legacyObliqueFront:4,legacyObliqueRight:5,legacyObliqueBottomLeft:6,legacyObliqueBottom:7,legacyObliqueBottomRight:8,legacyPerspectiveTopLeft:9,legacyPerspectiveTop:10,legacyPerspectiveTopRight:11,legacyPerspectiveLeft:12,legacyPerspectiveFront:13,legacyPerspectiveRight:14,legacyPerspectiveBottomLeft:15,legacyPerspectiveBottom:16,legacyPerspectiveBottomRight:17,orthographicFront:18,isometricTopUp:19,isometricTopDown:20,isometricBottomUp:21,isometricBottomDown:22,isometricLeftUp:23,isometricLeftDown:24,isometricRightUp:25,isometricRightDown:26,isometricOffAxis1Left:27,isometricOffAxis1Right:28,isometricOffAxis1Top:29,isometricOffAxis2Left:30,isometricOffAxis2Right:31,isometricOffAxis2Top:32,isometricOffAxis3Left:33,isometricOffAxis3Right:34,isometricOffAxis3Bottom:35,isometricOffAxis4Left:36,
25
- isometricOffAxis4Right:37,isometricOffAxis4Bottom:38,obliqueTopLeft:39,obliqueTop:40,obliqueTopRight:41,obliqueLeft:42,obliqueRight:43,obliqueBottomLeft:44,obliqueBottom:45,obliqueBottomRight:46,perspectiveFront:47,perspectiveLeft:48,perspectiveRight:49,perspectiveAbove:50,perspectiveBelow:51,perspectiveAboveLeftFacing:52,perspectiveAboveRightFacing:53,perspectiveContrastingLeftFacing:54,perspectiveContrastingRightFacing:55,perspectiveHeroicLeftFacing:56,perspectiveHeroicRightFacing:57,perspectiveHeroicExtremeLeftFacing:58,perspectiveHeroicExtremeRightFacing:59,perspectiveRelaxed:60,perspectiveRelaxedModerately:61},Ue(G),t.Charts.ST_PresetCameraType=G,U={tl:0,t:1,tr:2,l:3,r:4,bl:5,b:6,br:7},Ue(U),t.Charts.ST_LightRigDirection=U,J={legacyFlat1:0,legacyFlat2:1,legacyFlat3:2,legacyFlat4:3,legacyNormal1:4,legacyNormal2:5,legacyNormal3:6,legacyNormal4:7,legacyHarsh1:8,legacyHarsh2:9,legacyHarsh3:10,legacyHarsh4:11,threePt:12,balanced:13,soft:14,harsh:15,flood:16,contrasting:17,morning:18,sunrise:19,sunset:20,chilly:21,freezing:22,flat:23,twoPt:24,glow:25,brightRoom:26},Ue(J),t.Charts.ST_LightRigType=J,z={relaxedInset:0,circle:1,slope:2,cross:3,angle:4,softRound:5,convex:6,coolSlant:7,divot:8,riblet:9,hardEdge:10,artDeco:11},Ue(z),t.Charts.ST_BevelPresetType=z,V={legacyMatte:0,legacyPlastic:1,legacyMetal:2,legacyWireframe:3,matte:4,plastic:5,metal:6,warmMatte:7,translucentPowder:8,powder:9,dkEdge:10,softEdge:11,clear:12,flat:13,softmetal:14},Ue(V),t.Charts.ST_PresetMaterialType=V,j={shdw1:0,shdw2:1,shdw3:2,shdw4:3,shdw5:4,shdw6:5,shdw7:6,shdw8:7,shdw9:8,shdw10:9,shdw11:10,shdw12:11,shdw13:12,shdw14:13,shdw15:14,shdw16:15,shdw17:16,shdw18:17,shdw19:18,shdw20:19},Ue(j),t.Charts.ST_PresetShadowVal=j,X={shape:0,circle:1,rect:2},Ue(X),t.Charts.ST_PathShadeType=X,K={none:0,x:1,y:2,xy:3},Ue(K),t.Charts.ST_TileFlipMode=K,q={email:0,screen:1,print:2,hqprint:3,none:4},Ue(q),t.Charts.ST_BlipCompression=q,Y={pct5:0,pct10:1,pct20:2,pct25:3,pct30:4,pct40:5,pct50:6,pct60:7,pct70:8,pct75:9,pct80:10,pct90:11,horz:12,vert:13,ltHorz:14,ltVert:15,dkHorz:16,dkVert:17,narHorz:18,narVert:19,dashHorz:20,dashVert:21,cross:22,dnDiag:23,upDiag:24,ltDnDiag:25,ltUpDiag:26,dkDnDiag:27,dkUpDiag:28,wdDnDiag:29,wdUpDiag:30,dashDnDiag:31,dashUpDiag:32,diagCross:33,smCheck:34,lgCheck:35,smGrid:36,lgGrid:37,dotGrid:38,smConfetti:39,lgConfetti:40,horzBrick:41,diagBrick:42,solidDmnd:43,openDmnd:44,dotDmnd:45,plaid:46,sphere:47,weave:48,divot:49,shingle:50,wave:51,trellis:52,zigZag:53},Ue(Y),t.Charts.ST_PresetPatternVal=Y,Q={png:0,jpg:1,jpeg:2,emf:3},Ue(Q),t.Charts.ST_BobType=Q,Z={over:0,mult:1,screen:2,darken:3,lighten:4},Ue(Z),t.Charts.ST_BlendMode=Z,$={sib:0,tree:1},Ue($),t.Charts.ST_EffectContainerType=$,t.Charts.ST_PathToType={PathLine:0,PathMove:1,PathQuadBez:2,PathCubicBez:3},ee={line:0,lineInv:1,triangle:2,rtTriangle:3,rect:4,diamond:5,parallelogram:6,trapezoid:7,nonIsoscelesTrapezoid:8,pentagon:9,hexagon:10,heptagon:11,octagon:12,decagon:13,dodecagon:14,star4:15,star5:16,star6:17,star7:18,star8:19,star10:20,star12:21,star16:22,star24:23,star32:24,roundRect:25,round1Rect:26,round2SameRect:27,round2DiagRect:28,snipRoundRect:29,snip1Rect:30,snip2SameRect:31,snip2DiagRect:32,plaque:33,ellipse:34,teardrop:35,homePlate:36,chevron:37,pieWedge:38,pie:39,blockArc:40,donut:41,noSmoking:42,rightArrow:43,leftArrow:44,upArrow:45,downArrow:46,stripedRightArrow:47,notchedRightArrow:48,bentUpArrow:49,leftRightArrow:50,upDownArrow:51,leftUpArrow:52,leftRightUpArrow:53,quadArrow:54,leftArrowCallout:55,rightArrowCallout:56,upArrowCallout:57,downArrowCallout:58,leftRightArrowCallout:59,upDownArrowCallout:60,quadArrowCallout:61,bentArrow:62,uturnArrow:63,circularArrow:64,leftCircularArrow:65,leftRightCircularArrow:66,curvedRightArrow:67,curvedLeftArrow:68,curvedUpArrow:69,curvedDownArrow:70,swooshArrow:71,cube:72,can:73,lightningBolt:74,heart:75,sun:76,moon:77,smileyFace:78,irregularSeal1:79,irregularSeal2:80,foldedCorner:81,bevel:82,frame:83,halfFrame:84,corner:85,diagStripe:86,chord:87,arc:88,leftBracket:89,rightBracket:90,leftBrace:91,rightBrace:92,bracketPair:93,bracePair:94,straightConnector1:95,bentConnector2:96,bentConnector3:97,bentConnector4:98,bentConnector5:99,curvedConnector2:100,curvedConnector3:101,curvedConnector4:102,curvedConnector5:103,callout1:104,callout2:105,callout3:106,accentCallout1:107,accentCallout2:108,accentCallout3:109,borderCallout1:110,borderCallout2:111,borderCallout3:112,accentBorderCallout1:113,accentBorderCallout2:114,accentBorderCallout3:115,wedgeRectCallout:116,wedgeRoundRectCallout:117,wedgeEllipseCallout:118,cloudCallout:119,cloud:120,ribbon:121,ribbon2:122,ellipseRibbon:123,ellipseRibbon2:124,leftRightRibbon:125,verticalScroll:126,horizontalScroll:127,wave:128,doubleWave:129,plus:130,flowChartProcess:131,flowChartDecision:132,flowChartInputOutput:133,flowChartPredefinedProcess:134,flowChartInternalStorage:135,flowChartDocument:136,flowChartMultidocument:137,flowChartTerminator:138,flowChartPreparation:139,flowChartManualInput:140,flowChartManualOperation:141,flowChartConnector:142,flowChartPunchedCard:143,flowChartPunchedTape:144,flowChartSummingJunction:145,flowChartOr:146,flowChartCollate:147,flowChartSort:148,flowChartExtract:149,flowChartMerge:150,flowChartOfflineStorage:151,flowChartOnlineStorage:152,flowChartMagneticTape:153,flowChartMagneticDisk:154,flowChartMagneticDrum:155,flowChartDisplay:156,flowChartDelay:157,flowChartAlternateProcess:158,flowChartOffpageConnector:159,actionButtonBlank:160,actionButtonHome:161,actionButtonHelp:162,actionButtonInformation:163,actionButtonForwardNext:164,actionButtonBackPrevious:165,actionButtonEnd:166,actionButtonBeginning:167,actionButtonReturn:168,actionButtonDocument:169,actionButtonSound:170,actionButtonMovie:171,gear6:172,gear9:173,funnel:174,mathPlus:175,mathMinus:176,mathMultiply:177,mathDivide:178,mathEqual:179,mathNotEqual:180,cornerTabs:181,squareTabs:182,plaqueTabs:183,chartX:184,chartStar:185,chartPlus:186},Ue(ee),t.Charts.ST_ShapeType=ee,te={textNoShape:0,textPlain:1,textStop:2,textTriangle:3,textTriangleInverted:4,textChevron:5,textChevronInverted:6,textRingInside:7,textRingOutside:8,textArchUp:9,textArchDown:10,textCircle:11,textButton:12,textArchUpPour:13,textArchDownPour:14,textCirclePour:15,textButtonPour:16,textCurveUp:17,textCurveDown:18,textCanUp:19,textCanDown:20,textWave1:21,textWave2:22,textDoubleWave1:23,textWave4:24,textInflate:25,textDeflate:26,textInflateBottom:27,textDeflateBottom:28,textInflateTop:29,textDeflateTop:30,textDeflateInflate:31,textDeflateInflateDeflate:32,textFadeRight:33,textFadeLeft:34,textFadeUp:35,textFadeDown:36,textSlantUp:37,textSlantDown:38,textCascadeUp:39,textCascadeDown:40},Ue(te),t.Charts.ST_TextShapeType=te,re={none:0,norm:1,lighten:2,lightenLess:3,darken:4,darkenLess:5},Ue(re),t.Charts.ST_PathFillMode=re,oe={none:0,triangle:1,stealth:2,diamond:3,oval:4,arrow:5},Ue(oe),t.Charts.ST_LineEndType=oe,ie={sm:0,med:1,lg:2},Ue(ie),t.Charts.ST_LineEndWidth=ie,ne={sm:0,med:1,lg:2},Ue(ne),t.Charts.ST_LineEndLength=ne,ae={solid:0,dot:1,dash:2,lgDash:3,dashDot:4,lgDashDot:5,lgDashDotDot:6,sysDash:7,sysDot:8,sysDashDot:9,sysDashDotDot:10},Ue(ae),t.Charts.ST_PresetLineDashVal=ae,le={rnd:0,sq:1,flat:2},Ue(le),t.Charts.ST_LineCap=le,se={ctr:0,in:1},Ue(se),t.Charts.ST_PenAlignment=se,ce={sng:0,dbl:1,thickThin:2,thinThick:3,tri:4},Ue(ce),t.Charts.ST_CompoundLine=ce,de={twoCell:0,oneCell:1,absolute:2},Ue(de),t.Charts.ST_EditAs=de,ue={t:0,ctr:1,b:2,just:3,dist:4},Ue(ue),t.Charts.ST_TextAnchoringType=ue,fe={overflow:0,ellipsis:1,clip:2},Ue(fe),t.Charts.ST_TextVertOverflowType=fe,be={overflow:0,clip:1},Ue(be),t.Charts.ST_TextHorzOverflowType=be,he={horz:0,vert:1,vert270:2,wordArtVert:3,eaVert:4,mongolianVert:5,wordArtVertRtl:6},Ue(he),t.Charts.ST_TextVerticalType=he,pe={none:0,square:1},Ue(pe),t.Charts.ST_TextWrappingType=pe;me={alphaLcParenBoth:0,alphaUcParenBoth:1,alphaLcParenR:2,alphaUcParenR:3,alphaLcPeriod:4,alphaUcPeriod:5,arabicParenBoth:6,arabicParenR:7,arabicPeriod:8,arabicPlain:9,romanLcParenBoth:10,romanUcParenBoth:11,romanLcParenR:12,romanUcParenR:13,romanLcPeriod:14,romanUcPeriod:15,circleNumDbPlain:16,circleNumWdBlackPlain:17,circleNumWdWhitePlain:18,arabicDbPeriod:19,arabicDbPlain:20,ea1ChsPeriod:21,ea1ChsPlain:22,ea1ChtPeriod:23,ea1ChtPlain:24,ea1JpnChsDbPeriod:25,ea1JpnKorPlain:26,ea1JpnKorPeriod:27,arabic1Minus:28,arabic2Minus:29,hebrew2Minus:30,thaiAlphaPeriod:31,thaiAlphaParenR:32,thaiAlphaParenBoth:33,thaiNumPeriod:34,thaiNumParenR:35,thaiNumParenBoth:36,hindiAlphaPeriod:37,hindiNumPeriod:38,hindiNumParenR:39,hindiAlpha1Period:40};Ue(me),t.Charts.ST_TextAutonumberScheme=me,ge={none:0,words:1,sng:2,dbl:3,heavy:4,dotted:5,dottedHeavy:6,dash:7,dashHeavy:8,dashLong:9,dashLongHeavy:10,dotDash:11,dotDashHeavy:12,dotDotDash:13,dotDotDashHeavy:14,wavy:15,wavyHeavy:16,wavyDbl:17},Ue(ge),t.Charts.ST_TextUnderlineType=ge,ye={noStrike:0,sngStrike:1,dblStrike:2},Ue(ye),t.Charts.ST_TextStrikeType=ye,Se={none:0,small:1,all:2},Ue(Se),t.Charts.ST_TextCapsType=Se,Ce={l:0,ctr:1,r:2,dec:3},Ue(Ce),t.Charts.ST_TextTabAlignType=Ce,we={l:0,ctr:1,r:2,just:3,justLow:4,dist:5,thaiDist:6},Ue(we),t.Charts.ST_TextAlignType=we,xe={auto:0,t:1,ctr:2,base:3,b:4},Ue(xe),t.Charts.ST_TextFontAlignType=xe,Ae={auto:0},Ue(Ae),t.Charts.ST_StyleColorVal=Ae,t.Charts.CT_PathType={CT_PathToList:0,CT_Path2DArcTo:1,CT_Path2DClose:2},Te={col:0,row:1},Ue(Te),t.Charts.ST_FormulaDirection=Te,ve={cat:0,colorStr:1},Ue(ve),t.Charts.ST_StringDimensionType=ve,ke={val:0,x:1,y:2,size:3,colorVal:4},Ue(ke),t.Charts.ST_NumericDimensionType=ke,Fe={l:0,t:1,r:2,b:3},Ue(Fe),t.Charts.ST_SidePos=Fe,Re={t:1,r:2,l:3,b:4},Ue(Re),t.Charts.ST_2016ChartPosLegend=Re,Ee={min:0,ctr:1,max:2},Ue(Ee),t.Charts.ST_PosAlign=Ee,Ie={hundreds:0,thousands:1,tenThousands:2,hundredThousands:3,millions:4,tenMillions:5,hundredMillions:6,billions:7,trillions:8,percentage:9},Ue(Ie),t.Charts.ST_AxisUnit=Ie,Le={in:1,out:3,cross:0,none:2},Ue(Le),t.Charts.ST_TickMarksType=Le,De={boxWhisker:0,funnel:1,paretoLine:2,regionMap:3,sunburst:4,treemap:5,waterfall:6,clusteredColumn:7},Ue(De),t.Charts.ST_SeriesLayout=De,Be={none:0,banner:1,overlapping:2},Ue(Be),t.Charts.ST_ParentLabelLayout=Be,Pe={none:0,bestFitOnly:1,showAll:2},Ue(Pe),t.Charts.ST_RegionLabelLayout=Pe,We={l:0,r:1},Ue(We),t.Charts.ST_IntervalClosedSide=We,_e={Address:0,AdminDistrict:1,AdminDistrict2:2,AdminDistrict3:3,Continent:4,CountryRegion:5,Locality:6,Ocean:7,Planet:8,PostalCode:9,Region:10,Unsupported:11},Ue(_e),t.Charts.ST_EntityType=_e,Ne={mercator:0,miller:1,robinson:2,albers:3},Ue(Ne),t.Charts.ST_GeoProjectionType=Ne,Me={dataOnly:0,postalCode:1,county:2,state:3,countryRegion:4,countryRegionList:5,world:6},Ue(Me),t.Charts.ST_GeoMappingLevel=Me,Oe={inclusive:0,exclusive:1},Ue(Oe),t.Charts.ST_QuartileMethod=Oe,He={bestFit:0,b:1,ctr:2,inBase:3,inEnd:4,l:5,outEnd:6,r:7,t:8},Ue(He),t.Charts.ST_DataLabelPos=He,Ge={default:0,portrait:1,landscape:2},Ue(Ge),t.Charts.ST_PageOrientation=Ge},"./src/datamodel/datamodel-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/excel-types.ts"),n=r("./src/datamodel/excel-style.ts"),a=r("./src/datamodel/excel-helper.ts"),l=r("./src/datamodel/datetime-helper.ts"),s=r("./src/common/range-parser.ts"),c=r("./src/xml-io/node-helper.ts"),d=o.StringEx.O,u=n.ConverterHelper.convertDxfToStyle,f=c.XmlNodeHelper.He,b=null,h=void 0,p="Normal";function S(e,t,r,o,i,n){var a,l,s,c,d=e.itemsData;d&&(a=d[d.length-1],l=d[d.length-2],s=a&&a.info,c=l&&l.info,s&&(o&&i&&1===a.count?c&&l.index===a.index-1&&c.level===s.level-1?c.collapsed=!0:t>0?d.splice(d.length-2,0,{index:a.index-1,count:1,info:{level:s.level-1,collapsed:!0}}):e.head={collapsed:!0,level:r-1}:!o&&n&&(c&&a.index===l.index+1&&s.level===c.level-1?a.collapsed=!0:t>=a.index+a.count&&d.push({index:a.index+a.count,count:1,info:{level:s.level-1,collapsed:!0}}))))}function C(e,t,r,i,n,a,l,s,c,d){var u={};return u.conType=e,o.J(t)||(u.compareType=t),o.J(r)||(u.expected=r),o.J(i)||(u.ignoreBlank=i),o.J(n)||(u.type=n),o.J(a)||(u.isPercent=a),o.J(l)||(u.item1=l),o.J(s)||(u.item2=s),o.J(c)||(u.ranges=c),o.J(d)||(u.expectTypeId=d),2===e&&(u.ignoreCase=!0),u}function w(e,t){var r,o,i=e.cellColor?0:1,a=t.fill;return a&&(0===a.patternType?r="":(o={},n.ConverterHelper.Ie(a,o),r=o.backColor)),C(3,i,r)}function x(e){if(e.length>0){var t=e[0];if("number"==typeof t)return"number";if("string"==typeof t&&0===t.indexOf("/OADate(")&&t.indexOf(")")===t.length-2)return"date";if("boolean"==typeof t)return"boolean"}return""}function A(e,t,r){var o,i,n={none:0,equal:0,lessThan:4,lessThanOrEqual:5,notEqual:1,greaterThan:2,greaterThanOrEqual:3};switch(e){case"string":o=2;break;case"number":o=1,r=parseFloat(r);break;case"date":o=5,"string"==typeof r&&0===r.indexOf("/OADate(")?(i=parseInt(r.replace("/OADate(",""),10),r=l.DateTimeHelper.Je(i)):r=l.DateTimeHelper.Je(parseInt(r,10)),n={none:0,equal:0,lessThan:2,lessThanOrEqual:3,notEqual:1,greaterThan:4,greaterThanOrEqual:5};break;case"boolean":default:o=11}return C(o,n[t],r)}function T(e,t){var r,o;function i(e){var r,o,i,n,a="notEqual"===e.operator,l=e.value,s=l.indexOf("*"),c=l.lastIndexOf("*");return s!==-1?s===l.length-1&&0!==s?(o=a?3:2,r=C(2,o,l.substring(0,l.length-1))):0===s&&s===c?(o=a?5:4,r=C(2,o,l.substring(1))):(i=a?7:6,s!==-1&&c!==-1&&(l=l.substr(1,l.length-2)),r=C(2,i,l)):(n=x(t),r=A(n,e.operator||"none",l)),r}return e.filter1&&(r=i(e.filter1)),e.filter2&&(o=e.and?1:0,r=C(0,o,b,b,b,b,r,i(e.filter2))),r}function v(e,t){function r(e){var r,i=e.value,n=i.indexOf("*"),a=i.lastIndexOf("*");return n!==-1?n===i.length-1&&0!==n?r=C(t.conType,t.compareType,i.substring(0,i.length-1)):0===n&&n===a?r=C(t.conType,t.compareType,i.substring(1)):(n!==-1&&a!==-1&&(i=i.substr(1,i.length-2)),r=C(t.conType,t.compareType,i)):o.J(t)||(r=C(t.conType,t.compareType,i)),r}var i;return e.filter1&&(i=r(e.filter1)),i=e.filter2?C(t.conType,t.compareType,b,b,b,b,i,r(e.filter2)):C(t.conType,t.compareType,b,b,b,b,i,b)}function k(e,t,r){var i,n=new o.Range(t.row,r,t.rowCount,1),a=e.type;return 100===a||101===a?i=C(10,b,b,b,a-100,b,b,b,n):16===a?i=C(6,b,0,b,b,b,b,b,b,6):a>=17&&a<=20?i=C(6,b,a-17,b,b,b,b,b,b,2):a>=21&&a<=32?i=C(6,b,a-21,b,b,b,b,b,b,3):a>=0&&a<=15&&(i=C(6,b,a)),i}function F(e,t){var r,o=t.conType;return 1===o&&(r=C(1,t.compareType,b)),r}function R(e){var t=e.top?0:1;return C(8,b,e.value,b,t,e.percent)}function E(e,t){var r=e.top?1:-1;return C(3,t.compareType,e.value,b,r,e.percent)}function I(e){return d(e)?e:"="+e}function L(e){return d(e)||e.length<=2?e:e.substr(1,e.length-2)}function D(e,t){var r=null;return t.forEach(function(t){t.id===e&&(r=t.name)}),r}t.getTableName=D;function B(e,t,r){var o=null;return r.forEach(function(r){r.id===e&&r.columns.forEach(function(e){e.id===t&&(o=e.name)})}),o}t.getTableColumnName=B;function P(e,t,r){var o,i,n=null;for(o=0;o<t.length;o++)if(i=t[o],""+r[i.cacheId].pivotCacheId===e){n=i.name;break}return n}function W(e,t){return t=t||" ",e.map(_).join(t)}function _(e){var t,r=e.row,n=e.col,a=e.rowCount,l=e.colCount,s=n+l-1,c=r+a-1;return o.isRangeWholeRow(e)&&o.isRangeWholeColumn(e)?t="$1:$"+i.ExcelConstants.wb:o.isRangeWholeRow(e)?t=r+1+":"+(c+1):o.isRangeWholeColumn(e)?t=o.IndexHelper.T(n)+":"+o.IndexHelper.T(s):(t=o.IndexHelper.T(n)+(r+1),(a>1||l>1)&&(t+=":"+o.IndexHelper.T(s)+(c+1))),t}m=["fillStyleLst","lnStyleLst","effectStyleLst","bgFillStyleLst"],g=["w","cap","cmpd","algn","prstDash","custDash","round","bevel","miter","headEnd","tailEnd"];function N(e,t){g.forEach(function(r){void 0===t[r]&&void 0!==e[r]&&(t[r]=e[r])})}function M(e,t){e&&N(e,t)}function O(e,t){return!!e[t]}function H(e,t,r,i,n,l){var s,c,d,u=e.Ke;if(r[i]&&r[i][n]){if(s=r[i][n].style,!s)return;c=o.ga._(t.namedStyles,s),c&&(d=a.processTableCellStyle(c,u),d.name="__builtInTableStyle"+e.Le+c.name,o.ga.aa(t.namedStyles,e.Me,d),e.Le++,r[i][n].style=d.name,l[s]=d.name)}}function G(e,t){var r=e.filter(function(e){return e._attr.name===t});return r&&r[0]}function U(e,t){var r=f(e.bk);return r[t]}function J(e){return e.filter(function(e){return!(e.pic&&!e.pic.cameraTool)})}function z(e){return e&&e.indexOf(" ")>=0&&("'"!==e[0]||'"'!==e[0])&&(e="'"+e+"'"),e}y=function(){function e(){var e=this;e.Ne={version:"17.1.1"},e.Ke=b,e.Oe=b,e.Pe=[],e.Qe=[],e.Re=[],e.Se=[],e.Te=1,e.Le=0,e.Ue=0,e.Ve=0,e.We=[],e.Xe=[],e.Ye={},e.Ze={},e.$e=!0,e._e=b,e.af=[],e.bf=!1,e.cf=3,e.df=[],e.ef=[],e.ff="Calibri Light",e.gf="Calibri",e.hf=[],e.if=[],e.jf=[],e.Me={},e.kf=[]}return e.prototype.lf=function(e){this.mf=e,this.pf={}},e.prototype.qf=function(e,t){var r,o,i,n,a,l,s,c,d=this;return d.pf||(d.pf={}),r=this.pf,o=e+","+t,(i=r[o])?i:(n=this.mf,l=n&&n.themeElements&&n.themeElements.fmtScheme,l&&(s=m[e],c=s&&l[s],a=c,c&&(1===e?c=c.ln:0===e&&(c=c.items),a=c[t])),r[o]=a,a)},e.prototype.rf=function(e){var t,r,o,i,n,a,l,s,c;if(e){if(t={name:e.name},e.colorScheme&&(r=e.colorScheme,t.themeColor={name:r.name,text1:r.schemeColors[1],text2:r.schemeColors[3],background1:r.schemeColors[0],background2:r.schemeColors[2],accent1:r.schemeColors[4],accent2:r.schemeColors[5],accent3:r.schemeColors[6],accent4:r.schemeColors[7],accent5:r.schemeColors[8],accent6:r.schemeColors[9],hyperlink:r.schemeColors[10],followedHyperlink:r.schemeColors[11]}),e.fontScheme){for(o=e.fontScheme,i=o.majorFont.runFormattings,n=o.minorFont.runFormattings,a=0,l=i.length;a<l;a++)s=i[a],s&&0===s.fontLanguage&&(c=z(s.typeface),t.headingFont=c,this.ff=c);for(a=0,l=n.length;a<l;a++)s=n[a],s&&0===s.fontLanguage&&(c=z(s.typeface),t.bodyFont=c,this.gf=c)}this.sf=t}},e.prototype.tf=function(e){var t,r;e&&(t=this,t.Ke=n.ConverterHelper.toCellStyle(e,t.ff,t.gf),r={},n.ConverterHelper.setStyleInfoFont(e.font,r,h,h),t.Ke.fontForColumnWidth=r.font,t.Oe=e)},e.prototype.uf=function(e,t){var r,i,a,s,c,d,u,f,b,m,g,y;if(e){if(r=this,i=r.Ne,a=n.ConverterHelper.toCellStyle(e,r.ff,r.gf),!o.J(a.formatter)){for(s=RegExp("\\[DBNum\\d+\\]","ig"),c=s.exec(a.formatter),d=a.formatter;null!==c;)u=c[0],f=parseInt(u.substring(u.indexOf("m")+1,u.indexOf("]")),10),(f>4||4===f&&d.indexOf("[$-412]")<0&&"ko-kr"!==o.Fa())&&(d=d.replace(u,"[DBNum3]")),c=s.exec(a.formatter);a.formatter=d}r.Pe.push(a),b=n.ExtendedNumberFormatHelper.getFormatCode(e),r.Qe.push(l.DateTimeHelper.vf(b)),"@"===b?r.Re.push(!0):r.Re.push(!1),e.isStyleFormat?(m=r.wf(t),m===-1&&(m=r.Ve),r.We.length>m?r.Se[r.Se.length]=r.We[m]:(r.Se[r.Se.length]="__builtInStyle"+r.Te,r.Te++)):(g="",e.parentFormatID!==h&&r.Se.length>e.parentFormatID&&(g=r.Se[e.parentFormatID]),(g===p||"__builtInStyle"===g.substring(0,14)||o.StringEx.L(g))&&(g="__builtInStyle"+r.Te,r.Te++),a.name=g,y=r.Ze[g],"__builtInStyle"===g.substring(0,14)||y===h||e.equals(y)||(a.parentName=g,g="__builtInStyle"+r.Te,r.Te++,a.name=g),i.namedStyles||(i.namedStyles=[]),o.ga.aa(i.namedStyles,r.Me,a),r.Se[r.Se.length]=g)}},e.prototype.wf=function(e){return this.Ye[e]?this.Ye[e]:-1},e.prototype.xf=function(e,t){var r,i,a,l,s,c,d,u,f;if(e){if(r=this,i=r.Ne,r.$e&&(r.yf(),r.$e=!1),a=e.name,l=r._e,l&&e.isBuiltInStyle())for(s=0,c=l.length;s<c;s++)if(d=l[s],d.builtInStyle===e.builtInStyle){a=d.name;break}if(o.ga.Z(r.Me,a)){for(s=0,c=r.af.length;s<c;s++)if(f=r.af[s],f.name===a){r.af[s]=e,r.Xe[s]=e.format(),r.Ye[t]=s;break}r.Ze[a]=e.format(),u=n.ConverterHelper.toCellStyle(e.format(),r.ff,r.gf),u.name=a,o.ga.aa(i.namedStyles,r.Me,u)}else r.Ze[a]=e.format(),r.af.push(e),r.Xe.push(e.format()),r.Ye[t]=r.Xe.length-1,r.We.push(a),i.namedStyles||(i.namedStyles=[]),u=n.ConverterHelper.toCellStyle(e.format(),r.ff,r.gf),u.name=a,o.ga.aa(i.namedStyles,r.Me,u)}},e.prototype.yf=function(){var e,t,r,o,i=this,a=i.Ne;if(i.$e)for(a.namedStyles||(a.namedStyles=[]),i._e=n.BuiltInExcelStyles.getBuiltInStyles(),e=0,t=i._e.length;e<t;e++)r=i._e[e],r&&r.name===p&&(i.Ve=i.Xe.length),i.af.push(r),i.Xe.push(r.format()),i.We.push(r.name),i.Ze[r.name]=r.format(),o=n.ConverterHelper.toCellStyle(r.format(),i.ff,i.gf),o.name=r.name},e.prototype.zf=function(e){this.bf=e},e.prototype.Af=function(e,t){var r=this.Ne;e||(r.showHorizontalScrollbar=e),t||(r.showVerticalScrollbar=t)},e.prototype.Bf=function(e,t,r,o){var i=this.Ne;e||(i.tabStripVisible=e),i.startSheetIndex=r,i.activeSheetIndex=t,i.tabStripRatio=o/1e3},e.prototype.Cf=function(e,t,r){var i={},n=this.Ne;i.name=e,i.index=t,1===r?i.visible=0:2===r&&(i.visible=2),i.allowCellOverflow=!0,i.theme=this.sf,i.defaults=o.Ea(),o.J(n.sheetCount)&&(n.sheetCount=0),n.sheetCount++,n.sheets||(n.sheets={}),n.sheets[e]=i},e.prototype.Df=function(e,t,r){var i,n,a=this.Ne;if(e&&(a.referenceStyle=1,a.sheets))for(i in a.sheets)a.sheets.hasOwnProperty(i)&&(n=a.sheets[i],n.referenceStyle=1,n.colHeaderAutoText=1);a.calculationMode=r,a.iterativeCalculation="1"===t.iterate,a.iterativeCalculationMaximumIterations=o.J(t.count)?100:parseInt(t.count,10),a.iterativeCalculationMaximumChange=o.J(t.delta)?.001:parseFloat(t.delta)},e.prototype.Ef=function(e,t,r){var o=this.Ne,i=o.sheets&&o.sheets[e];r===!1&&(i.rowOutlines||(i.rowOutlines={}),i.rowOutlines.direction=0),t===!1&&(i.columnOutlines||(i.columnOutlines={}),i.columnOutlines.direction=0)},e.prototype.Ff=function(e,t){var r=this.Ne,o=r.sheets&&r.sheets[e];t!==n.ExcelColor.EmptyColor&&(t.isThemeColor()?o.sheetTabColor=n.ColorHelper.getThemeColorName(t):o.sheetTabColor=n.ColorHelper.toRGBColor(t))},e.prototype.Gf=function(e,t,r){var o=this.Ne,i=o.sheets&&o.sheets[e];i.rowCount=t,i.columnCount=r},e.prototype.Hf=function(e,t,r,o,i,a,l,s){var c,d=this.Ne,u=d.sheets&&d.sheets[e];o||(u.rowHeaderVisible=o,u.colHeaderVisible=o),a&&(u.showFormulas=!0),l?u.showZeros=!0:u.showZeros=!1,100!==i&&(u.zoomFactor=i/100),t&&t.isIndexedColor()&&64===t.value()&&(t=null),null===t&&r||(c={},null!==t&&(c.color=""+n.ColorHelper.toRGBColor(t)),r||(c.showVerticalGridline=r,c.showHorizontalGridline=r),u.gridline=c),u.isSelected=s},e.prototype.If=function(e,t,r,o,i,n,a,l,s){var c,d,u,f,b,h,p,m,g=this.Ne,y=g.sheets&&g.sheets[e];if(this.cf===t){for(y.rowCount<=r&&(y.rowCount=r+1),y.columnCount<=o&&(y.columnCount=o+1),c=0,d=n.length;c<d;c++)u=n[c],f=a[c],b=l[c],h=s[c],f===-1&&(f=y.rowCount-1),h===-1&&(h=y.columnCount-1),u=u>=0?u:0,f=f>=0?f:0,b=b>=0?b:0,h=h>=0?h:0,u<y.rowCount&&b<y.columnCount&&(p=Math.min(y.rowCount-u,f-u+1),m=Math.min(y.columnCount-b,h-b+1),p>=1&&m>=1&&(y.selections=y.selections||{},y.selections[c]={row:u,rowCount:p,col:b,colCount:m}));y.selections&&(y.selections.length=n.length),y.activeRow=r>=0&&r<y.rowCount?r:0,y.activeCol=o>=0&&o<y.columnCount?o:0}},e.prototype.Jf=function(e,t,r,i,n){var a,l,s,c,d,u,f,b,h;n&&(a=this.Ne,l=a.sheets&&a.sheets[e],s=this.Kf,c=o.IndexHelper.P(s),d=o.IndexHelper.R(s),u=o.IndexHelper.P(i),f=o.IndexHelper.R(i),r&&t?this.Lf(u,f,e):r&&!t?this.Lf(u,d,e):!r&&t&&this.Lf(c,f,e),r&&(b=r+c,l.rowCount<=b&&(l.rowCount=b),l.frozenRowCount=b,l.frozenTopRow=c),t&&(h=t+d,l.columnCount<=h&&(l.columnCount=h),l.frozenColCount=h,l.frozenLeftCol=d))},e.prototype.Mf=function(e,t,r){var o=this.Ne,i=o.sheets&&o.sheets[e];i.defaults={colHeaderRowHeight:20,rowHeaderColWidth:40,rowHeight:t,colWidth:r}},e.prototype.Nf=function(e,t){var r=this.Ne,o=r.sheets&&r.sheets[e];o.defaults.rowHeight=n.UnitHelper.pointToPixel(t)},e.prototype.Of=function(e,t,r){var o,i=this.Ne,n=i.sheets&&i.sheets[e];isNaN(r)?(o=this.Pf(t),n.defaults._isExcelDefaultColumnWidth=!0):o=this.Qf(r),n.defaults.colWidth=o},e.prototype.Pf=function(e){var t=this.Ke,r=this.getMaxiumDigitWidth(t.fontForColumnWidth?t.fontForColumnWidth:t.font),o=2*Math.ceil(r/4)+1,i=this.Qf(e,r)+o;return 8*Math.ceil(i/8)},e.prototype.Qf=function(e,t){if(0===e)return 0;var r=this.Ke,i=r.fontForColumnWidth?r.fontForColumnWidth:r.font;return Math.floor(Math.floor(256*e)/256*(o.J(t)?this.getMaxiumDigitWidth(i):t)+.5)},e.prototype.getMaxiumDigitWidth=function(e){return this.Rf===h&&(this.Rf=n.UnitHelper.getMaxiumDigitWidth(e)),this.Rf},e.prototype.Sf=function(e){var t=this,r=t.Ne,o=r.sheets&&r.sheets[e],i=o.columnCount||0,n=o.rowCount||0,a=t.Tf,l=t.Uf;o.columnCount=Math.max(i,a+1),o.rowCount=Math.max(n,l+1)},e.prototype.Vf=function(e,t,r,o,n,a,l,s){var c,d,u,f,p,m,g,y,C,w,x,A,T,v,k=this.Ne,F=k.sheets&&k.sheets[e],R=F.columnOutlines&&0===F.columnOutlines.direction,E=this.jf,I=this.Qf(n),L=i.ExcelConstants.vb;for(r>=L-1&&(r=L-1),c=!1,d=t;d<=r;d++){if(u=!1,(l>0||s)&&(d+2>F.columnCount&&(f=F.columnOutlines&&F.columnOutlines.items,l<=0&&(!f||!f[d-1]||f[d-1].level<0)&&(c=!0),c||(F.columnCount=d+2)),c||(F.columnOutlines||(F.columnOutlines={}),F.columnOutlines.items||(F.columnOutlines.items=[]),F.columnOutlines.itemsData||(F.columnOutlines.itemsData=[]),p=F.columnOutlines.items,p[d]={level:l-1,collapsed:s},a&&(u=!0),m=F.columnOutlines.itemsData,g=m[m.length-1],g&&d===g.index+g.count&&g.info.level===l-1&&g.info.collapsed===s?g.count++:m.push({index:d,count:1,info:{level:l-1,collapsed:s}}))),F.columnOutlines&&F.columnOutlines.itemsData&&(y=F.columnOutlines.itemsData,S(y,d,l,R,a,E[d-1]&&E[d-1].hidden)),I!==-1||a){for(F.columns||(F.columns=[]),C=F.columns.length,w=C;w<d;w++)F.columns[w]=b,E[w]=b;x={},A={},x.hidden=a,a&&0===l&&(A.visible=x.visible=!1),I!==-1&&(A.size=x.size=I),x.visible!==!1&&u!==!0||0!==x.size||(A.size=x.size=h),E[d]=x,F.columns[d]=A}1!==o&&(T=this.Se[o],T!==h?this.df[d]={style:T}:o<this.Pe.length&&(this.df[d]={style:this.Pe[o]}),v=this.Pe[o],v&&v.isVerticalText===!0&&this.kf.push(d))}F.columnCount>L&&(F.columnCount=L)},e.prototype.Wf=function(e){var t,r,o,i,n,a,l,s,c,d,u=this,f=u.Ne,b=f.sheets&&f.sheets[e],h=b.defaults,p=b.data,m=b.columns,g=b.columnCount,y=h.colWidth;if(m&&(t=m.length,g<t))for(r=g;r<t;r++)if(o=m[r],o&&o.size===y){i=m.slice(0,r),u.jf=i,b.columns=i,p&&p.columnDataArray&&(p.columnDataArray=p.columnDataArray.slice(0,r));break}if(n=b.rows,a=b.rowCount,l=h.rowHeight,n&&(s=n.length,a<s))for(r=a;r<s;r++)if(c=n[r],c&&c.size===l){d=n.slice(0,r),u.if=d,b.rows=d,p&&p.rowDataArray&&(p.rowDataArray=p.rowDataArray.slice(0,r));break}},e.prototype.Xf=function(e,t,r,i,n){var a=this.Ne,l=a.sheets&&a.sheets[e];l.spans||(l.spans=[]),l.spans.push(new o.Range(t,i,r-t+1,n-i+1))},e.prototype.Yf=function(e,t){var r=this.Ne,o=r.sheets&&r.sheets[e];o.isProtected=t},e.prototype.Zf=function(e,t,r){var o,i,n,l,s=this.Ne,c=s.sheets&&s.sheets[e];for(c.protectionOptions=c.protectionOptions||{},o=0;o<t.length;o++)i=t[o].name,n=t[o].value,l=a.toProtectionOptions[i],l?c.protectionOptions[l]=n:c.protectionOptions[i]=n;r&&c.protectionOptions.allowEditObjects===h&&(c.protectionOptions.allowEditObjects=!0)},e.prototype.$f=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e];o.data||(o.data={}),t=o.data,this.ef.length>0&&(t.rowDataArray=this.ef,this.ef=[]),this.df.length>0&&(t.columnDataArray=this.df,this.df=[]),this.Ke&&(t.defaultDataNode={style:this.Ke}),this.sf&&(o.theme=this.sf),this.Sf(e)},e.prototype._f=function(e,t){var r,o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x=this.Ne,A=x.sheets&&x.sheets[e];if(A&&(r=t?A.rowOutlines:A.columnOutlines))for(o=0===r.direction,i=r.items,n=t?A.rows:A.columns,a=t?this.if:this.jf,l=function(){return o?0:n.length-1},s=function(e){return o?e<n.length:e>=0},c=function(e){return o?e+1:e-1},d=function(e){return o?e-1:e+1},u=function(e,t){var r=i[e];if(r)return r.level<=t?r:u(r.parentIndex,t)},f=l(),b=void 0;s(f);f=c(f))h=i[f],h&&h.level!==-1?(p=d(f),m=i[p],g=!m&&"number"==typeof h.level||m&&m.level<h.level,y=m&&m.level>h.level,S=void 0,C=void 0,g?(S=p,C=!!m&&(m.collapsed||m.viewCollapsed)):y?h.level===-1?C=!1:(w=void 0,w=m.parentIndex===b?m:u(m.parentIndex,h.level),w&&(S=w.parentIndex,C=w.viewCollapsed)):(S=m.parentIndex,C=m.viewCollapsed),h.parentIndex=S,h.viewCollapsed=C,!C&&a[f].hidden&&(n[f].visible=!1)):b=f},e.prototype.ag=function(e,t,r,o,i,a,l){var s,c,d,u,f,p,m,g,y=this.Ne,C=y.sheets&&y.sheets[e],w=C.rowOutlines&&0===C.rowOutlines.direction,x=this.if;if((i>0||a)&&(!w&&t+2>C.rowCount&&(C.rowCount=t+2),C.rowOutlines||(C.rowOutlines={}),C.rowOutlines.items||(C.rowOutlines.items=[]),C.rowOutlines.itemsData||(C.rowOutlines.itemsData=[]),s=C.rowOutlines.items,s[t]={level:i-1,collapsed:a},c=C.rowOutlines.itemsData,d=c[c.length-1],d&&t===d.index+d.count&&d.info.level===i-1&&d.info.collapsed===a?d.count++:c.push({index:t,count:1,info:{level:i-1,collapsed:a}})),u=x[t-1]&&x[t-1].hidden,C.rowOutlines&&C.rowOutlines.itemsData&&S(C.rowOutlines,t,i,w,l,u),i<=0&&t+1>C.rowCount&&(C.rowCount=t+1),r!==-1&&t<C.rowCount&&(f=this.Se[r],f!==h?this.ef[t]={style:f}:r<this.Pe.length&&(this.ef[t]={style:this.Pe[r]})),o!==-1||l){for(C.rows||(C.rows=[]),p=C.rows.length;p<t;p++)C.rows.push(b),x.push(b);m={},g={},m.hidden=l,l&&0===i&&(g.visible=m.visible=!1),o!==-1&&(g.size=m.size=Math.round(n.UnitHelper.pointToPixel(o))),m.visible===!1&&0===m.size&&(g.size=m.size=h),x.push(m),C.rows.push(g)}},e.prototype.bg=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e];o.data||(o.data={}),t=o.data,t.dataTable||(t.dataTable={})},e.prototype.cg=function(e,t){var r=this.Ne,o=r.sheets&&r.sheets[e],i=o.data.dataTable;i[t]||(i[t]={})},e.prototype.dg=function(e,t,r,i){var n,a,l,s=this,c=s.Ne,d=c.sheets&&c.sheets[e],u=d.data.dataTable[t];u[r]||(u[r]={}),n=u[r],a=s.Se[i],a!==h?n.style=a:i<s.Pe.length&&(n.style=s.Pe[i]),s.kf.indexOf(r)>-1&&(l=s.Pe[i],l&&o.J(l.isVerticalText)&&(s.Pe[i].isVerticalText=!1))},e.prototype.eg=function(e,t,r,o){var i,n=this,a=n.Ne,l=a.sheets&&a.sheets[e],s=l.data.dataTable[t];s||(l.data.dataTable[t]=s={}),s[r]||(s[r]={}),i=s[r],i.hyperlink=o},e.prototype.fg=function(e,t){if(t[0]){var r=this,o=r.Ne,i=o.sheets&&o.sheets[e];i&&(i.sharedFormulas=t)}},e.prototype.gg=function(e,t,r,o,i,a,l,s){var c,d,u,f=this,b=f.Ne,h=b.sheets&&b.sheets[e],p=h.data.dataTable[t];if(p[r]||(p[r]={}),c=p[r],o<f.Qe.length&&f.Qe[o]&&"number"==typeof i&&(i=f.hg(i)),void 0!==i&&(c.value=i),void 0!==a&&(c.formula=a),l&&(c.arrayInfo=l),s){for(d=[],u=0;u<s.length;u++)s[u].style?d.push({style:n.ConverterHelper.toRichTextStyle(s[u].style,f.ff,f.gf),text:s[u].text}):d.push(s[u]);c.value={richText:d}}},e.prototype.hg=function(e){return this.bf&&(e+=1462),e=l.DateTimeHelper.Je(e),e instanceof Date&&(e=l.DateTimeHelper.ig(e)),l.DateTimeHelper.jg(e)},e.prototype.kg=function(e){var t,r,o;if(e&&e.length>0){for(n.ColorHelper.useCustomPalette=!0,t={},r=0,o=e.length;r<o;r++)t[r]=n.ColorHelper.fromArgb(e[r]);n.ColorHelper.customPalette=t}},e.prototype.mg=function(){this.cf=3},e.prototype.ng=function(e){this.cf=e},e.prototype.Lf=function(e,t,r){var o=this.Ne,i=o.sheets&&o.sheets[r];i.topCellIndex=e,i.leftCellIndex=t},e.prototype.og=function(){this.Ne.names=[];for(var e in this.Ne.sheets)this.Ne.sheets.hasOwnProperty(e)&&(this.Ne.sheets[e].names=[])},e.prototype.pg=function(e,t,r,o){var i,n;if(r===-1)this.Ne.names.push({name:e,formula:t,row:0,col:0,comment:o});else for(i in this.Ne.sheets)this.Ne.sheets.hasOwnProperty(i)&&(n=this.Ne.sheets[i],n.index===r&&n.names.push({name:e,formula:t,row:0,col:0,comment:o}))},e.prototype.qg=function(e){var t=this.rg[e];return u(t,this.ff,this.gf)},e.prototype.sg=function(e){var t=this.tg[e];return u(t,this.ff,this.gf)},e.prototype.ug=function(e){var t=this.hf[e];return u(t,this.ff,this.gf)},e.prototype.vg=function(e,t){return u(e,this.ff,this.gf,t)},e.prototype.wg=function(e,t){var r,i,n,a=this.Ne.sheets[e];for(a.conditionalFormats||(a.conditionalFormats={rules:[]}),r=0;r<t.rules.length;r++)i=t.rules[r],!o.J(i.dxfId)&&i.dxfId>-1&&(n=this.ug(i.dxfId),n.font&&0===n.font.indexOf("normal normal")&&delete n.font,i.style=n,delete i.dxfId),a.conditionalFormats.rules.push(i)},e.prototype.xg=function(e){return this.Ne.sheets[e].conditionalFormats},e.prototype.yg=function(e,t){var r=this,o=r.Ne,i=o.sheets&&o.sheets[t];i.comments=e.map(function(e){return a.convertFromExcelComment(i,e)})},e.prototype.zg=function(e,t){var r=this,o=r.Ne,i=o.sheets&&o.sheets[t];i.pivotTables=e},e.prototype.Ag=function(e,t){var r=this,o=r.Ne,i=o.sheets&&o.sheets[t],n=e.pictures,a=e.charts,l=e.shapes,s=r.Bg&&r.Bg.importPictureAsFloatingObject;n&&s&&this.Cg(n,i),a&&this.Dg(a,i),l&&(s&&(l=J(l)),this.Eg(l,i))},e.prototype.Cg=function(e,t){t.floatingObjects=t.floatingObjects||[];var r=t.floatingObjects;e.forEach(function(e){
26
- var o=a.convertFromExcelPicture(t,e,r);o.typeName="1",r.push(o)})},e.prototype.Dg=function(e,t){t.charts=t.charts||[],e.map(function(e){var r=a.convertFromExcelChart(t,e);t.charts.push(r)})},e.prototype.Fg=function(e,t){var r,o=this,i=o.Ne.pivotCaches;if(i)for(r in i)if(i.hasOwnProperty(r)&&i[r]&&i[r][e]===t)return i[r]},e.prototype.Gg=function(e){var t,r,o,i,n,a,l=this,s=e.sp||e.cxnSp,c=s&&s.style,d=s&&s.spPr;c&&(t=c.lnRef,r=void 0,o=void 0,i=d.ln,i||(i={}),t&&(r=t.idx,r&&(o=l.qf(1,r-1),M(o,i),d.ln=i))),n=e.grpSp,n&&(a=n.sp,a&&a.length&&a.forEach(function(e){l.Gg({sp:e})}))},e.prototype.Eg=function(e,t){var r=this;t.shapes=t.shapes||[],e.map(function(e){r.Gg(e);var o=a.convertFromExcelShape(t,e);t.shapes.push(o)})},e.prototype.Hg=function(e,t){var r=this,o=r.Ne,i=o.sheets&&o.sheets[t];i.controls=e},e.prototype.Ig=function(e,t){var r=function(e){var t,r,o=e&&e.nvSpPr&&e.nvSpPr.cNvPr,i=o&&o.extLst&&o.extLst.ext||[];for(t=0;t<i.length;t++)if(r=i[t],r.compatExt)return r.compatExt.spid},o=function(e){return r(e)===t},i=function(e){var t,r,n,a=e&&e.sp||[];for(t=0;t<a.length;t++){if(r=a[t],o(r))return r;if(3===r.shapeType&&(n=i(r)))return n}},n=function(e){var t,r,n;for(t=0;t<e.length;t++)if(r=e[t],7===r.shapeType){if(o(r.shapeData&&r.shapeData.sp))return r.shapeData.sp}else if(3===r.shapeType&&(n=i(r.shapeData.grpSp)))return n},a=this,l=a.Ne,s=l.sheets&&l.sheets[e];return s&&s.shapes&&n(s.shapes)},e.prototype.Jg=function(e,t){var r,o,i,n=this,a=n.Ne,l=a.sheets&&a.sheets[t];for(l.sparklineGroups=e,r=0;r<e.length;r++)for(o=e[r].sparklines,i=0;i<o.length;i++)o[i].row>=l.rowCount&&(l.rowCount=o[i].row+1),o[i].col>=l.columnCount&&(l.columnCount=o[i].col+1)},e.prototype.Kg=function(e,t){var r,o,i,a,l,s,c,d,u,f,b,h=this,p=h.Ne,m=p.sheets&&p.sheets[t];for(m.tables=e,r=0;r<e.length;r++){e[r].row+e[r].rowCount>m.rowCount&&(m.rowCount=e[r].row+e[r].rowCount),e[r].col+e[r].colCount>m.columnCount&&(m.columnCount=e[r].col+e[r].colCount),o=m.data&&m.data.dataTable,i=e[r],a=m.data&&m.data.defaultDataNode&&m.data.defaultDataNode.style&&m.data.defaultDataNode.style.font;for(l in i.style)i.style.hasOwnProperty(l)&&i.style[l]&&i.style[l].font&&(i.style[l].font=n.ConverterHelper.composeFontWeightAndFontStyleToDestFont(i.style[l].font,a));for(s={},c=i.row+i.rowCount,d=i.col+i.colCount,u=i.row;u<c;u++)for(f=i.col;f<d;f++)o[u]&&o[u][f]&&(b=o[u][f].style,O(s,b)?o[u][f].style=s[b]:H(h,p,o,u,f,s))}},e.prototype.Lg=function(e,t,r,i){var n=this.Ne.sheets[e],a,l=[],s=0,c;if(n&&n.data&&n.data.dataTable&&(a=n.data.dataTable))for(;i>0&&s<t.rowCount;)a[t.row+s]&&(c=a[t.row+s][r],o.J(c.value)||(l.push(c.value),i--)),s++;return l},e.prototype.Mg=function(e,t){var r,i,a,l,s,c,d,u=this;if(!o.J(e)&&!o.J(e.range))return r={},r.filterItemMap=[],r.filteredColumns=[],i=e.range,i=new o.Range(i.row+1,i.col,i.rowCount-1,i.colCount),r.range=i,e.filterColumns.forEach(function(e){var n,a=e.autoFilterColumnId+i.col,l=[],s=!1,c=e.colorFilter;c&&(l.push(w(c,u.hf[c.dxfId])),s=!0),n=e.filters,n&&(n.blank&&n.filter.push(""),n.filter.forEach(function(e){l.push(C(2,0,e,n.blank))}),n.dateGroupItem.forEach(function(e){var t=new Date(e.year,e.month>0?e.month-1:e.month,e.day,e.hour,e.minute,e.second);l.push(C(5,0,t,!n.blank))}),s=!0),e.customFilters&&(l.push(T(e.customFilters,o.J(t)?i:u.Lg(t,i,a,1))),s=!0),e.dynamicFilter&&(l.push(k(e.dynamicFilter,i,a)),s=!0),e.top10Filter&&(l.push(R(e.top10Filter)),s=!0),s&&(r.filteredColumns.push(a),r.filterItemMap.push({index:a,conditions:l}))}),a=e.sortInfo,a&&a.dxfId===h?r.sortInfo=a:a&&a.dxfId!==h&&(l=void 0,s=e.sortInfo.isBackColor,c=u.hf[a.dxfId]&&u.hf[a.dxfId].fill,c&&(0===c.patternType?l="":(d={},n.ConverterHelper.Ie(c,d),l="object"==typeof d.backColor?JSON.stringify(d.backColor):d.backColor)),r.sortInfo={ascending:a.ascending,index:a.index,isBackColor:s,color:l}),r},e.prototype.Ng=function(e,t){if(!o.J(e)){var r={};return r.filterItemMap=[],e.filterColumns.forEach(function(e){var o=[],i=e.filters;i&&(i.filter.forEach(function(e){o.push(C(t.conType,0,e,i.blank))}),i.dateGroupItem.forEach(function(e){var r=new Date(e.year,e.month>0?e.month-1:e.month,e.day,e.hour,e.minute,e.second);o.push(C(t.conType,0,r,!i.blank))})),e.customFilters&&o.push(v(e.customFilters,t)),e.dynamicFilter&&o.push(F(e.dynamicFilter,t)),e.top10Filter&&o.push(E(e.top10Filter,t)),r.filterItemMap.push({conditions:o})}),r}},e.prototype.Og=function(e,t){if(!o.J(e)){var r=this,i=r.Ne,n=i.sheets&&i.sheets[e];n.rowFilter=r.Mg(t,e),i.allowAutoExtendFilterRange=!0}},e.prototype.Pg=function(e,t){var r,o,i,n,l,s=this,c=s.Ne,d=c.sheets&&c.sheets[t];d.slicers=d.slicers||[],r=d.slicers,o=[];for(i in c.sheets)c.sheets[i].tables&&(o=o.concat(c.sheets[i].tables));n=[];for(l in c.sheets)c.sheets[l].pivotTables&&(n=n.concat(c.sheets[l].pivotTables));e.forEach(function(e){"pivot"===e.type||"timeline"===e.type?e.pivotName=P(e.pivotCacheId,n,c.pivotCaches):(e.tableName=D(e.tableId,o),e.columnName=B(e.tableId,e.columnId,o),delete e.tableId,delete e.columnId),a.inflateWorksheetByAnchor(d,e),r.push(e)})},e.prototype.Qg=function(e,t){var r,i,n,a,l;o.J(e)||(r=this,i=r.Ne,n=i.sheets&&i.sheets[e],a=r.Rg(t),l=n.validations,l||(l=n.validations=[]),a.ranges=W(t.ranges,", "),l.push(a))},e.prototype.Rg=function(e){var t,r,i,n,a,l,s,c;if(o.J(e))return b;switch(t=e.type,r=e.compareOperator,i=e.firstFormula,n=e.secondFormula,a={type:t},t){case 0:break;case 1:case 2:case 6:l={operator:r,value1:I(i),value2:I(n)};break;case 3:s=i,o.J(s)&&(s=n),s&&(l='"'===s[0]&&'"'===s[s.length-1]?{value:L(s)}:{formula:I(s)});break;case 4:case 5:c=void 0,o.J(i)||(c=parseFloat(i),isNaN(c)||(i=this.hg(c))),o.J(n)||(c=parseFloat(n),isNaN(c)||(n=this.hg(c))),l={operator:r,value1:i&&i.indexOf("/OADate(")!==-1?i:I(i),value2:n&&n.indexOf("/OADate(")!==-1?n:I(n)};break;case 7:l={formula:I(i)}}return l&&(a.validatorInfo=l),a!==b&&(a.errorStyle=e.errorType,a.errorMessage=e.error,a.errorTitle=e.errorTitle,a.ignoreBlank=e.allowBlank,a.inCellDropdown=e.showPromptBox,a.inputMessage=e.prompt,a.inputTitle=e.promptTitle,a.showErrorMessage=e.showErrorMessage,a.showInputMessage=e.showInputMessage),a},e.prototype.Sg=function(e,t){var r,i,n,a;function l(e){return e=e||0,parseInt(Math.round(100*e),10)}o.J(e)||(r=this,i=r.Ne,n=i.sheets&&i.sheets[e],n.printInfo||(n.printInfo={}),a=n.printInfo,a.margin={top:l(t.top),bottom:l(t.bottom),left:l(t.left),right:l(t.right),header:l(t.header),footer:l(t.footer)})},e.prototype.Tg=function(e,t){var r,i,n,a,l,s,c,d;o.J(e)||(r=this,i=r.Ne,n=i.sheets&&i.sheets[e],n.printInfo||(n.printInfo={}),a=n.printInfo,a.showGridLine=t.printGridLine,l=t.horizontalCentered,s=t.verticalCentered,c=0,l&&s?c=3:l?c=1:s&&(c=2),a.centering=c,d=t.printRowColumnsHeaders?2:1,a.showColumnHeader=d,a.showRowHeader=d)},e.prototype.Ug=function(e,t,r){e.rows||(e.rows=[]);var o=e.rows[t];o?o.pageBreak=r:e.rows[t]={pageBreak:r}},e.prototype.Vg=function(e,t,r){e.columns||(e.columns=[]);var o=e.columns[t];o?o.pageBreak=r:e.columns[t]={pageBreak:r}},e.prototype.Wg=function(e,t){var r,i,n,a,l,s,c,d,u,f,p,m,g,y,S;function C(e){var t,r,o,i,n;if(e===h)return b;if(t=["","",""],e===b||""===e)return t;for(r=0,o=1,i=e.length;r<i;){if(r<i-1){if(n=e.substr(r,2),"&L"===n){o=0,r+=2;continue}if("&C"===n){o=1,r+=2;continue}if("&R"===n){o=2,r+=2;continue}}t[o]=t[o].concat(e[r]),r++}return t}o.J(e)||(r=this,i=r.Ne,n=i.sheets&&i.sheets[e],n.printInfo||(n.printInfo={}),a=n.printInfo,l=t.paperSizeIndex,0!==l&&(a.paperSize={kind:l}),t.useCustomStartingPage&&(a.firstPageNumber=t.firstPageNumber),o.J(t.showColor)||(a.blackAndWhite=!t.showColor),a.orientation=2===t.orientation?2:1,a.pageOrder=2===t.pageOrder?2:1,t.zoomFactor>0&&(a.zoomFactor=t.zoomFactor),t.useSmartPrint&&(t.smartPrintPagesWidth>=1&&(a.fitPagesWide=t.smartPrintPagesWidth),t.smartPrintPagesHeight>=1&&(a.fitPagesTall=t.smartPrintPagesHeight)),s=t.advancedHeadFooterSetting,s&&(c=a.pageHeaderFooter={},a.differentOddAndEvenPages=s.headerFooterDifferentOddEvenPages,a.differentFirstPage=s.headerFooterDifferentFirstPage,d=C(s.headerOddPage),d&&(s.headerFooterDifferentOddEvenPages?c.odd={header:{left:d[0],center:d[1],right:d[2],leftImage:s.headerLeftImage,centerImage:s.headerCenterImage,rightImage:s.headerRightImage}}:c.normal={header:{left:d[0],center:d[1],right:d[2],leftImage:s.headerLeftImage,centerImage:s.headerCenterImage,rightImage:s.headerRightImage}},a.headerLeft=d[0],a.headerCenter=d[1],a.headerRight=d[2]),u=C(s.footerOddPage),u&&(s.headerFooterDifferentOddEvenPages?(c.odd=c.odd||{},c.odd.footer={left:u[0],center:u[1],right:u[2],leftImage:s.footerLeftImage,centerImage:s.footerCenterImage,rightImage:s.footerRightImage}):(c.normal=c.normal||{},c.normal.footer={left:u[0],center:u[1],right:u[2],leftImage:s.footerLeftImage,centerImage:s.footerCenterImage,rightImage:s.footerRightImage}),a.footerLeft=u[0],a.footerCenter=u[1],a.footerRight=u[2]),f=C(s.headerEvenPage),f&&(c.even={header:{left:f[0],center:f[1],right:f[2],leftImage:s.evenHeaderLeftImage,centerImage:s.evenHeaderCenterImage,rightImage:s.evenHeaderRightImage}}),p=C(s.footerEvenPage),p&&(c.even=c.even||{},c.even.footer={left:p[0],center:p[1],right:p[2],leftImage:s.evenFooterLeftImage,centerImage:s.evenFooterCenterImage,rightImage:s.evenFooterRightImage}),m=C(s.headerFirstPage),m&&(c.first={header:{left:m[0],center:m[1],right:m[2],leftImage:s.firstHeaderLeftImage,centerImage:s.firstHeaderCenterImage,rightImage:s.firstHeaderRightImage}}),g=C(s.footerFirstPage),g&&(c.first=c.first||{},c.first.footer={left:g[0],center:g[1],right:g[2],leftImage:s.firstFooterLeftImage,centerImage:s.firstFooterCenterImage,rightImage:s.firstFooterRightImage}),s.headerLeftImage&&(a.headerLeftImage=s.headerLeftImage),s.headerCenterImage&&(a.headerCenterImage=s.headerCenterImage),s.headerRightImage&&(a.headerRightImage=s.headerRightImage),s.footerLeftImage&&(a.footerLeftImage=s.footerLeftImage),s.footerCenterImage&&(a.footerCenterImage=s.footerCenterImage),s.footerRightImage&&(a.footerRightImage=s.footerRightImage)),y=t.rowBreakLines,y&&y.length>0&&y.forEach(function(e){r.Ug(n,e,!0)}),S=t.columnBreakLines,S&&S.length>0&&S.forEach(function(e){r.Vg(n,e,!0)}))},e.prototype.Xg=function(e,t){var r,o,i,n;e<0||(r=this,o=r.Yg(e),o.printInfo||(o.printInfo={}),i=s.getRangesFromString(t),1===i.length&&(n=i[0],n.row>-1&&(o.printInfo.rowStart=n.row),n.rowCount>0&&(o.printInfo.rowEnd=n.row+n.rowCount-1),n.col>-1&&(o.printInfo.columnStart=n.col),n.colCount>0&&(o.printInfo.columnEnd=n.col+n.colCount-1)))},e.prototype.Zg=function(e,t){var r,i,n,a,l;if(!(e<0))for(r=this,i=r.Yg(e),i.printInfo||(i.printInfo={}),n=s.getRangesFromString(t.replace(","," ")),a=0;a<n.length;a++)l=n[a],o.isRangeWholeRow(l)?(i.printInfo.repeatRowStart=l.row,i.printInfo.repeatRowEnd=l.row+l.rowCount-1):o.isRangeWholeColumn(l)&&(i.printInfo.repeatColumnStart=l.col,i.printInfo.repeatColumnEnd=l.col+l.colCount-1)},e.prototype.Yg=function(e){var t,r,o=this.Ne.sheets;for(t in o)if(o.hasOwnProperty(t)&&(r=o[t],r.index===e))return r;return h},e.prototype.$g=function(e){this._g=e,this.ah={},this.bh={}},e.prototype.dh=function(e,t){var r,o,i,n,a,l,s,c,d,u,b,h,p,m,g=this._g,y=+t-1;if(g&&("cm"===e?(r=g.cellMetadata,o=this.ah):"vm"===e&&(r=g.valueMetadata,o=this.bh)),r){if(i=[e,y].join(","),n=o[i])return n;if(a=U(r,y)){l=a.rc,s=l._attr,c=+s.t-1,d=+s.v;try{if(u=f(g.metadataTypes.metadataType),b=f(g.futureMetadata),h=u[c],p=h&&h._attr.name,m=G(b,p))return n={name:p,detail:U(m,d)},o[i]=n,n}catch(e){}}}},e.prototype.eh=function(e){var t=this.dh("cm",e);return t&&"XLDAPR"===t.name},e.prototype.fh=function(e,t){var r=this;o.J(r.Ne.docProps)&&(r.Ne.docProps={}),o.J(r.Ne.docProps.docPropsCore)&&(r.Ne.docProps.docPropsCore={}),r.Ne.docProps.docPropsCore[e]=t},e.prototype.gh=function(e,t){var r=this;o.J(r.Ne.docProps)&&(r.Ne.docProps={}),o.J(r.Ne.docProps.docPropsApp)&&(r.Ne.docProps.docPropsApp={}),r.Ne.docProps.docPropsApp[e]=t},e.prototype.hh=function(e){var t=this;o.J(t.Ne.docProps)&&(t.Ne.docProps={}),o.J(t.Ne.docProps.docPropsCustom)&&(t.Ne.docProps.docPropsCustom=[]),t.Ne.docProps.docPropsCustom=e},e}(),t.ReaderDataModel=y},"./src/datamodel/datamodel-writer.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/excel-types.ts"),n=r("./src/datamodel/excel-style.ts"),a=r("./src/common/excel-types.ts"),l=r("./src/datamodel/excel-helper.ts"),s=r("./src/common/tuple.ts"),c=r("./src/datamodel/datetime-helper.ts"),d=r("./src/excel-io.ts"),u=n.ColorHelper.fromColorToExcelColor,f=n.ColorHelper.toExcelColor,b=o.Util.sa,h=o.Util.ta,p=void 0,m=null,g="__builtInStyle",y="__builtInValidatorStyle",S="__builtInTableStyle",C=/^(__builtInTableStyle\d+)?__builtInStyle\d+$/,w=/^__builtInTableStyle\d+__builtInStyle\d+$/;function T(e){return"string"==typeof e}function v(e){return"string"==typeof e||!e}function k(e){return"object"==typeof e}function F(e){return e.substring(0,19)===S}function R(e){return e.substring(0,23)===y}function E(e){var t=e.formula;return o.J(t)&&(t=e.expected,T(t)&&(t='"'+t+'"')),t}function I(e){var t,r,o;return T(e)&&(t=e.indexOf("/OADate(")+1,r=e.indexOf(")"),0!==t&&r>t&&(o=parseFloat(e.substring(t+7,r)),isNaN(o)||(e=""+o))),e}function L(e,t,r){var o,i=e.tables||[];return i.every(function(e){return!(e.row<=t&&t<=e.row+e.rowCount-1&&e.col<=r&&r<=e.col+e.colCount-1)||(o=e,!1)}),o}function D(e,t,r){var o,i=e.spans||[];return i.every(function(e){return!(e.row<=t&&t<=e.row+e.rowCount-1&&e.col<=r&&r<=e.col+e.colCount-1)||(o=e,!1)}),o}function B(e,t){var r,o=e.spans||[];for(r=0;r<o.length;r++)if(t.row===o[r].row&&t.col===o[r].col){o.splice(r,1);break}}function P(e){if("/OADate("===e.substr(0,8)){var t=parseFloat(e.substr(8,e.length-10));return c.DateTimeHelper.Je(t)}}function W(e,t,r){e.ih||(e.ih={}),e.ih[t]=r}function _(e){return e.defaults?e.defaults.rowHeight:i.DefaultSize.Ab}function N(e){return e.defaults?e.defaults.colWidth:i.DefaultSize.zb}function M(e,t,r){var o=e.data.dataTable[t];if(o&&o[r])return o[r].value}function O(e,t,r){void 0===r&&(r=0);var i=t.row,n=t.col,a=t.rowCount,l=t.colCount;return i===-1&&(i=r,a=e.rowCount),n===-1&&(n=0,l=e.columnCount),i<=0?i=0:(i--,a+=1),new o.Range(i,n,a,l)}t.getFilterRange=O;function H(e){return o.J(e)?e:e.length>=2&&"="===e[0]?e.substring(1):"="===e?"":e}function G(e,t,r,i){var n,a,l;if(1===r.colCount){for(n=[],l=r.row;l<r.row+r.rowCount;l++)a=M(e,l,r.col),o.J(a)||n.push(a);return n.sort(function(e,t){return i?t-e:e-t}),n[t-1]}}function U(e,t,r){var i,n={filterType:1};if(n.isBottom=1===t.type,t.percent&&(n.percent=!0),i=t.expected,!o.J(i))return n.value=i,n.percent&&(i=Math.ceil(r.rowCount%i/100)),o.J(r)?n.filterValue=NaN:n.filterValue=G(e,i,r,!n.isBottom),n}function J(e){var t,r={filterType:1};return r.isBottom=e.type===-1,r.percent=1===e.compareType,t=e.expected,o.J(t)||(r.value=t,r.filterValue=t),r}function z(e,t,r){var o,i,n,a,l={filterType:2};if(0===t.type?l.type=100:1===t.type&&(l.type=101),r===m)return m;for(o=0,i=0,n=0;n<r.rowCount;n++)a=parseFloat(M(e,r.row+n,r.col)),isNaN(a)||(o+=a,i++);return i>0&&(l.value=o/i),l}function V(e){var t=new Date,r=t.getDay(),o=t.getDate(),i=new Date(t),n=new Date(t);switch(e){case 3:i.setDate(o-6);break;case 1:i.setDate(o-1);break;case 0:break;case 2:i.setDate(o+1);break;case 8:i.setDate(o-r-7),n.setDate(o-r-1);break;case 7:i.setDate(o-r),n.setDate(o-r+6);break;case 9:i.setDate(o-r+7),n.setDate(o-r+13);break;case 5:i.setDate(1),i.setMonth(i.getMonth()-1),n.setDate(0);break;case 4:i.setDate(1),n.setMonth(n.getMonth()+1),n.setDate(0);break;case 6:i.setDate(1),i.setMonth(i.getMonth()+1),n.setMonth(n.getMonth()+2),n.setDate(0)}return i.setHours(0),i.setMinutes(0),i.setSeconds(0),n.setHours(23),n.setMinutes(59),n.setSeconds(59),{from:i,to:n}}function j(e){var t,r,o,i,n,a,l=new Date,s=l.getDay(),d=l.getDate(),u=new Date(l),f=new Date(l);switch(e){case 11:u.setDate(d-6);break;case 9:u.setDate(d-1);break;case 8:break;case 10:u.setDate(d+1);break;case 16:u.setDate(d-s-7),f.setDate(d-s-1);break;case 15:u.setDate(d-s),f.setDate(d-s+6);break;case 17:u.setDate(d-s+7),f.setDate(d-s+13);break;case 13:u.setDate(1),u.setMonth(u.getMonth()-1),f.setDate(0);break;case 12:u.setDate(1),f.setMonth(f.getMonth()+1),f.setDate(0);break;case 14:u.setDate(1),u.setMonth(u.getMonth()+1),f.setMonth(f.getMonth()+2),f.setDate(0);break;case 18:t=u.getMonth()-u.getMonth()%3+1+3,r=t+3+3,u.setDate(1),u.setMonth(t),f.setMonth(r),f.setDate(0);break;case 19:o=u.getMonth()-u.getMonth()%3+1,i=o+3,u.setDate(1),u.setMonth(o),f.setMonth(i),f.setDate(0);break;case 20:n=u.getMonth()-u.getMonth()%3+1-3,a=o+3-3,u.setDate(1),u.setMonth(n),f.setMonth(a),f.setDate(0);break;case 21:u.setDate(1),u.setMonth(1),u.setFullYear(u.getFullYear()+1),f.setFullYear(f.getFullYear()+2),f.setMonth(0),f.setDate(0);break;case 22:u.setDate(1),u.setMonth(1),f.setFullYear(f.getFullYear()+1),f.setMonth(0),f.setDate(0);break;case 23:u.setDate(1),u.setMonth(1),u.setMonth(u.getFullYear()-1),f.setMonth(0),f.setDate(0);break;case 40:u.setMonth(0,1),u.setHours(0,0,0,0),f.setHours(23,59,59,999)}return u.setHours(0),u.setMinutes(0),u.setSeconds(0),f.setHours(23),f.setMinutes(59),f.setSeconds(59),{from:c.DateTimeHelper.ig(u),to:c.DateTimeHelper.ig(f)}}function X(e){var t,r=e.expected,o={filterType:2,type:r,conType:e.conType,expectTypeId:e.expectTypeId};return r>=0&&r<=15||r>=21&&r<=32?(t=V(r),t.from&&t.to&&(o.value=t.from,o.maxValue=t.to)):o.type=-1,o}function K(e){if(!o.J(e.compareType)){var t={filterType:4};return t.filter1={},t.filter1.operator=e.compareType,o.J(e.expected)?t.filter1.value=H(e.formula):t.filter1.value=e.expected,t}}function q(e){var t,r,i,n;if(!o.J(e.compareType))return t={filterType:4},t.filter1={},r=e.compareType,i=void 0,n=void 0,6===r?(i=5,n=3,t.and=!0):(i=r,n=r),t.filter1.operator=i,e.item1&&!o.J(e.item1.expected)&&(t.filter1.value=e.item1.expected),e.item2&&!o.J(e.item2.expected)&&(t.filter2={},t.filter2.operator=n,t.filter2.value=e.item2.expected),t}function Y(e){var t=e.expected,r=-1;switch(e.compareType){case 0:return{filterType:3,filter:[t]};case 1:r=1;break;case 2:t+="*";break;case 3:r=1,t+="*";break;case 4:t="*"+t;break;case 5:r=1,t="*"+t;break;case 6:t="*"+t+"*";break;case 7:r=1,t="*"+t+"*"}return{filterType:4,filter1:{operator:r,value:t}}}function Q(e){var t,r,i;if(o.J(e.value1)?o.J(e.item1)||(t=e.item1.expected):t=e.value1,o.J(e.value2)?o.J(e.item2)||(r=e.item2.expected):r=e.value2,!r){switch(i=-1,e.compareType){case 0:return{filterType:3,filter:[t]};case 1:i=1;break;case 2:t+="*";break;case 3:i=1,t+="*";break;case 4:t="*"+t;break;case 5:i=1,t="*"+t;break;case 6:t="*"+t+"*";break;case 7:i=1,t="*"+t+"*";break;case 8:i=2;break;case 9:i=5;break;case 10:i=4;break;case 11:i=3}return{filterType:4,filter1:{operator:i,value:t}}}return 12===e.compareType?{filterType:4,filter1:{operator:3,value:t},filter2:{operator:5,value:r}}:13===e.compareType?{filterType:4,filter1:{operator:4,value:t},filter2:{operator:2,value:r}}:void 0}function Z(e,t){var r;r="/OADate"===e.expected.substring(0,7)?P(e.expected):new Date(e.expected),t.dateGroupItem=t.dateGroupItem||[],t.dateGroupItem.push({year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate(),hour:r.getHours(),minute:r.getMinutes(),second:r.getSeconds(),dateTimeGrouping:2})}function $(e,t){var r,i,n,a=o.J(e.compareType)?e.operator:e.compareType;if(a>=8&&a<=23||40===a)r={filterType:2,type:t},i=j(a),i.from&&i.to&&(r.value=i.from,r.maxValue=i.to);else if(a>=24&&a<=39)r={filterType:2,type:t};else if(a>=0&&a<=7)return n=q(e),e.isWholeDay&&(n.isWholeDay=e.isWholeDay),n;return r}t.getPivotDateFilter=$;function ee(e){var t,r,o;if(0===e.compareType)return t={filterType:3},Z(e,t),t;switch(r=-1,e.compareType){case 0:break;case 1:r=1;break;case 2:r=4;break;case 3:r=5;break;case 4:r=2;break;case 5:r=3}return r!==-1?(o=E(e),o=I(o),{filterType:4,filter1:{operator:r,value:o}}):void 0}function te(e){var t,r,i=[],n=[];for(n.push(e);n.length>0;)t=n.shift(),0===t.conType?(r=t,o.J(r.item1)||n.push(r.item1),o.J(r.item2)||n.push(r.item2)):i.push(t);return i}function re(e){var t=-1;switch(e){case 0:case 2:case 4:case 6:t=0;break;case 1:case 3:case 5:case 7:t=1;break;default:t=0}return t}function oe(e,t){switch(t){case 0:case 1:return e;case 2:case 3:return e.concat("*");case 4:case 5:return"*".concat(e);case 6:case 7:return"*".concat(e).concat("*");default:return e}}function ie(e){var t={filterType:3,filter:[]};return e.forEach(function(e){o.J(e.expected)||t.filter.push(e.expected)}),t}function ne(e,t){return e.every(function(e){return e.conType===t})}function ae(e,t,r){var i,n,a,l,s,c,d,u,f,b,h,p,g;if(0===e.compareType){if(i=te(e),ne(i,5))return n={filterType:3},i.forEach(function(e){Z(e,n)}),n;if(ne(i,2)){if(s=!1,i.length<=2)for(c=0;c<i.length;c++)if(0!==i[c].compareType){s=!0;break}return s?(l={filterType:4},d=i[0],a=re(d.compareType),l.filter1={},l.filter1.operator=a,o.J(d.expected)?l.filter1.value=H(d.formula):l.filter1.value=oe(d.expected,d.compareType),2===i.length&&(d=i[1],a=re(d.compareType),l.filter2={},l.filter2.operator=a,o.J(d.expected)?l.filter2.value=H(d.formula):l.filter2.value=oe(d.expected,d.compareType)),l.and=!1,l):ie(i)}if(ne(i,11)){if(u=!0,i.length<=2&&(u=!1),u)return ie(i);if(i.length>0)return f=i[0],l={filterType:4,filter1:{operator:f.compareType}},o.J(f.expected)?l.filter1.value=H(f.formula):l.filter1.value=f.expected,2===i.length&&(f=i[1],l.filter2={operator:f.compareType},o.J(f.expected)?l.filter2.value=H(f.formula):l.filter2.value=f.expected),l.and=!1,l}return l={filterType:4,and:!1},b=le(t,i[0],r),l.filter1=b.filter1,i.length>1&&(h=le(t,i[1],r),l.filter2=h.filter1),l}if(i=te(e),2===i.length)return l={filterType:4},l.and=!0,p=le(t,i[0],r),o.J(p)||!p.filter1?m:(l.filter1=p.filter1,g=le(t,i[1],r),o.J(g)||!g.filter1?m:(l.filter2=g.filter1,l))}function le(e,t,r){if(e===m)return m;var o=t.conType;if(3===o);else{if(8===o)return U(e,t,r);if(10===o)return z(e,t,r);if(6===o)return X(t);if(11===o||1===o)return K(t);if(2===o)return Y(t);if(5===o)return ee(t);if(0===o)return ae(t,e,r)}}function se(e,t){var r=e.conType;return 3===r?J(e):2===r?q(e):0===r?Q(e):1===r?$(e,t):void 0}function ce(e){var t,r,i;return o.J(e)?m:(t=m,r=m,i=0,i=1===e.compareType?6:7,e.item1&&(t=0===e.item1.conType?ce(e.item1):de(e.item1)),e.item2&&(r=0===e.item2.conType?ce(e.item2):de(e.item2)),new s.Tuple(t,r,i))}function de(e){if(!o.J(e)){var t=e.conType,r,i;return 0===t?ce(e):1===t||7===t?(r=e.compareType,i=e.formula,o.J(i)&&(i=e.expected),new s.Tuple(i,m,r)):4===t?new s.Tuple(o.J(e.formula)?e.expected:e.formula,m,1):12===t||5===t||13===t?(i=E(e),new s.Tuple(i,m,1)):m}}function ue(e){if(e instanceof s.Tuple){var t=e;if(!o.J(t.item1))return ue(t.item1)}else if(!o.J(e))return H(""+e);return""}function fe(e,t,r){var i,n,a,l,s;return o.J(e)?m:(i=de(e.condition),n=m,a=m,o.J(i)||(o.J(i.item1)||(n=ue(i.item1)),o.J(i.item2)||(a=ue(i.item2))),l={},(h(n,t,r)||h(a,t,r))&&(l.external=!0),s=e.type,l.type=s,l.firstFormula=n,l.secondFormula=a,4!==s&&5!==s||(o.J(l.firstFormula)||(l.firstFormula=I(l.firstFormula)),o.J(l.secondFormula)||(l.secondFormula=I(l.secondFormula))),l.compareOperator=e.comparisonOperator,l.allowBlank=e.ignoreBlank,l.error=e.errorMessage,l.errorTitle=e.errorTitle,l.errorStyle=e.errorStyle,l.prompt=e.inputMessage,l.showPromptBox=e.inCellDropdown,l.promptTitle=e.inputTitle,l.showErrorBox=e.showErrorMessage,l.showInputMessage=e.showInputMessage,l)}function be(e,t,r){if(r.ih&&r.ih[e])return r.ih[e];var i=o.ga._(r.namedStyles,e);return i?(W(r,e,i),i):t.ih&&t.ih[e]?t.ih[e]:(i=o.ga._(t.namedStyles,e),i&&W(t,e,i),i)}function he(e,t,r,o){e.forEach(function(e){var i=fe(e,r,o);i.ranges=e.ranges.split(", ").join(" "),t.push(i)})}x={empty:0,thin:1,medium:2,dashed:3,dotted:4,thick:5,double:6,hair:7,mediumDashed:8,dashDot:9,mediumDashDot:10,dashDotDot:11,mediumDashDotDot:12,slantedDashDot:13};function pe(e){if(e){var t={};return e.borderColor&&(t.color=e.borderColor),e.borderStyle&&(t.style=x[e.borderStyle]),t}}function me(e,t){var r,o;if(e){for(r in e)e.hasOwnProperty(r)&&r.indexOf("border")>=0&&(o=e[r],o&&(e[r]=pe(o)));return t&&(e.isSlicerHeader=!0),e}}function ge(e){var t,r,i=e.sheets;if(i)for(t in i)i.hasOwnProperty(t)&&(r=i[t],r.defaults=r.defaults||o.Ea())}function ye(e){var t,r;if(o.J(e)||!Array.isArray(e))return m;for(t=[],r=0;r<e.length;r++)t.push(e[r].text?e[r].text:"");return t.join("")}function Se(e,t){var r=null;return t.forEach(function(t){t.name===e&&(r=t.id)}),r}function Ce(e,t,r){for(var o=0;o<e.styleElements.length;o++)e.styleElements[o].type===t&&(e.styleElements[o].size=r)}function we(e,t){return b(e,t,l.isBorderEqual)}function xe(e,t){return e[t.name]&&b(e[t.name],t,we)}function Ae(e,t){for(var r=t,o=1;e[r];)r=t+"_"+o,o++;return r}function Te(e,t){var r=t;return null!==e&&void 0!==e&&(r=e),(r/100).toFixed(2)}function ve(e){var t,r=e.names;if(r)for(t=0;t<r.length;t++)if("@"===r[t].name){r.splice(t,1);break}}function ke(e){var t,r,o,i,n,a=e.jh;if(a&&a.dataSourceOption&&a.dataSourceOption.schema&&a.dataSourceOption.schema.hierarchy)for(t=a.dataSourceOption.schema.hierarchy,r=a.views.filter(function(t){return t.name===e.addition.dataView.name})[0],o=r.columns,i=0;i<o.length;i++)if(n=o[i],n.outlineColumn||n.value===t.outlineColumn||t.outlineColumn&&n.value===t.outlineColumn.value)return!0}function Fe(e){var t,r,i,n,a,l,s,c,d,u,f,b,h=e.colHeaderRowCount||1;if(e.rowCount+=h,t=e.data,ke(e)){for(r=0;r<h;r++)e.rowOutlines.items.unshift(p);for(i=e.rowOutlines.itemsData,r=0;r<i.length;r++)n=i[r],n.index+=h}for(a=t.dataTable,a||(a=t.dataTable={}),l=e.rowCount-h;l>=0;l--)a[l+h]=a[l];for(s=e.colHeaderData.dataTable,l=0;l<h;l++)a[l]=s&&s[l]||{};if(c=e.colHeaderRowInfos,d=e.defaults&&e.defaults.colHeaderRowHeight,!o.J(d))for(c||(c=[]),l=0;l<h;l++)c[l]?o.J(c[l].size)&&(c[l].size=d):c[l]={size:d};if(c&&c.length>0)for(u=e.rows,u||(e.rows=[]),l=0;l<c.length;l++)e.rows.splice(l,0,c[l]);for(f=t.rowDataArray,f||(f=t.rowDataArray={}),l=e.rowCount-h;l>=0;l--)f[l+h]=f[l];for(b=e.colHeaderData.rowDataArray,l=0;l<h;l++)f[l]=b&&b[l]||{};e.frozenRowCount>0&&(e.frozenRowCount+=h,e.topCellIndex+=h)}function Re(e){var t,r,o,i,n,a=e.colHeaderRowCount||1,l=[],s=e.data,c=s.dataTable,d=c[a-1];if(e.columnCount=e.columnCount||e.columns&&e.columns.length||0,0!==e.rowCount&&0!==e.columnCount){if(d)for(t=0;t<e.columnCount;t++)r={id:t+1},o=d[t],r.name=o&&o.value||"Column"+(t+1),l.push(r);for(i={},t=l.length-1;t>=0;t--)n=l[t],i[n.name]?n.name=n.name+" "+t:i[n.name]=!0;e.tables=[{name:e.name,row:a-1,col:0,rowCount:e.rowCount,colCount:e.columnCount,rowFilter:{range:{row:a,col:0,rowCount:e.rowCount-1,colCount:e.columnCount},showFilterButton:!0},columns:l}]}}function Ee(e,t){var r=e;return r.length>255?r=r.slice(-240):(r=t+" "+r,r.length>250&&(r=e+" "+Math.random().toString(36).slice(-6))),r}function Ie(e){Fe(e),delete e.rowFilter,Re(e)}function Le(e,t){var r,i,a,l,s;o.J(e.numberFormat)||(r=e.numberFormat,i={},a=n.ExtendedNumberFormatHelper.getFormatId(r),l=a.id,s=a.isBuiltIn,s?(i.numberFormatIndex=l,e.numberFormatId=l):(i.numberFormat=new n.ExcelNumerFormat(l,r),e.numberFormatId=i.numberFormat.numberFormatId),t.push(i))}function De(e,t){var r={name:e};return l.getPictureInfo(t,r),r}function Be(e,t,r){var i=m,n=p,a=!1;return o.J(e)||(k(e)?Array.isArray(e)?i=e.join(","):(n=e.richText,n?i=ye(n):o.J(e._code)||(i=e),a=e._code>=99,a&&r<3&&(r=t?2:3)):(i=e,t&&r<1&&(r=1))),{value:i,richText:n,isSpillError:a,dynamicArrayLevel:r}}function Pe(e){return e&&"'"===e[0]&&"'"===e[e.length-1]&&(e=e.substring(1,e.length-1)),e}A=function(){function e(e){var t=this;t.kh(e),t.Ne=e,t.lh={},t.mh=[],t.nh={},t.oh=[],t.ph={},t.qh=[],t.rh={},t.sh={},t.af=[],t.th=[],t.uh={},t.vh={},t.wh={},t.xh={},t.yh={},t.Ah={},t.Bh={},t.hf=[],t.Ch=[],t.Dh=[],t.Eh=e.allowDynamicArray?1:0,t.Fh={},t.Gh={},t.Hh={},t.Ih=[]}return e.prototype.kh=function(e){var t,r,o,i,n,a,l,s,c,d=e.sheetCount||0;if(e.sheetCount=d+(e.sheetTabCount||0),t=e.activeSheetIndex,r=e.activeSheetTabIndex,(void 0===t||t<0)&&void 0!==r&&r>=0&&(e.activeSheetIndex=d+r),o=e.sheetTabs){i=function(t){if(o.hasOwnProperty(t)){var r=o[t];e.dataManager&&e.dataManager.tables&&r.addition&&r.addition.dataView&&r.addition.dataView.tableName&&(r.jh=e.dataManager.tables.filter(function(e){return e.name===r.addition.dataView.tableName})[0]),Ie(r),ve(r)}};for(n in o)i(n);if(a=e.sheets){for(l in o)o.hasOwnProperty(l)&&(a[l]=o[l]);for(s in a)a.hasOwnProperty(s)&&(c=a[s],"number"==typeof c.order&&(c.index=c.order))}else e.sheets=o}void 0===e.startSheetIndex&&(e.startSheetIndex=0)},e.prototype.$e=function(){var e=n.DefaultStyle.Jh(this.Ne);this.lh.Normal=0,this.af.push(e),this.th.push(e),this.vh[e.name]=this.af.length-1},e.prototype.Kh=function(e){var t=e.index;this.uh[t]||(this.uh[t]={}),this.wh[t]||(this.wh[t]={}),this.xh[t]||(this.xh[t]={}),this.yh[t]||(this.yh[t]={}),this.Ah[t]||(this.Ah[t]={})},e.prototype.Lh=function(e,t){var r,i,n,l,s,c,d,u;if(!e||!t)return!1;if(r=!0,!o.StringEx.L(t.fileName)&&(i=this.Mh(t.fileType),!o.StringEx.L(i))){for(n=new a.OverrideContentType,n.partName=t.fileName,n.contentType=i,l=!1,s=0,c=e.length;s<c;s++)if(d=e[s],d instanceof a.OverrideContentType&&d.contentType===n.contentType&&d.partName===n.partName){l=!0;break}l||e.push(n)}if(t.relationFiles&&t.relationFiles.count>0)for(u in t.relationFiles)t.relationFiles.hasOwnProperty(u)&&"count"!==u&&(r=r&&this.Lh(e,t.relationFiles[u]));return r},e.prototype.Mh=function(e){if(o.StringEx.L(e))return"";switch(e){case i.RelationshipConstants.Sa:return i.XFileConstants.Ib;case i.RelationshipConstants.Pa:return i.XFileConstants.Jb;case i.RelationshipConstants.Ua:return i.XFileConstants.Kb;case i.RelationshipConstants.Na:return i.XFileConstants.Lb;case i.RelationshipConstants.Ra:return i.XFileConstants.Mb;case i.RelationshipConstants.Za:return i.XFileConstants.Ob;case i.RelationshipConstants.$a:return i.XFileConstants.Pb;case i.RelationshipConstants._a:return i.XFileConstants._b;case i.RelationshipConstants.eb:return i.XFileConstants.Qb;case i.RelationshipConstants.jb:return i.XFileConstants.fc;case i.RelationshipConstants.kb:return i.XFileConstants.gc;case i.RelationshipConstants.lb:return i.XFileConstants.Rb;case i.RelationshipConstants.mb:return i.XFileConstants.Sb;case i.RelationshipConstants.pb:return i.XFileConstants.Ub;case i.RelationshipConstants.qb:return i.XFileConstants.Tb;case i.RelationshipConstants.ob:return i.XFileConstants.Vb;case i.RelationshipConstants.sb:return i.XFileConstants.fe;case i.RelationshipConstants.Ka:return i.XFileConstants.se;case i.RelationshipConstants.La:return i.XFileConstants.ve;case i.RelationshipConstants.Ma:return i.XFileConstants.ye;case i.RelationshipConstants.Wa:return i.XFileConstants.cc;case i.RelationshipConstants.Xa:return i.XFileConstants.dc;case i.RelationshipConstants.Ya:return i.XFileConstants.ec;case i.RelationshipConstants.bb:return i.XFileConstants.lc;case i.RelationshipConstants.ub:return i.XFileConstants.ic;case i.RelationshipConstants.tb:return i.XFileConstants.hc;default:return""}},e.prototype.Nh=function(e,t,r,o,i){var n,a,s,c,d,u,f,b,h,p,m,y,C,w=this,x=w.Ne,A=x.namedStyles;for(n=0;n<e.length;n++)if(a=e[n])for(s=a.row,c=a.col,d=a.rowCount,u=a.colCount,f=0;f<d;f++)if(b=t[s+f])for(h=0;h<u;h++)if(p=b[c+h],p&&p.style){if("string"==typeof p.style){if(i[p.style]){p.style=i[p.style];continue}p.style=r[p.style]}p.style&&(p.style=l.resetTableCellStyle(p.style,o),p.style.name&&(m=p.style.name,y=m.indexOf(g),w.Oh++,C=S+w.Oh+m.substring(y),p.style.name=C,A.push(p.style),p.style=C,i[m]=C))}},e.prototype.Ph=function(){var e,t,r=this,o=r.Ne;r.$e(),r.Qh();for(e in o.sheets)if(o.sheets.hasOwnProperty(e)){if(t=o.sheets[e],!t)continue;r.Rh(t),r.Kh(t),r.Sh(t),r.Th(t),r.Uh(t),r.Vh(t),r.Wh(t)}ge(r.Ne)},e.prototype.Xh=function(){var e=this;e.onCompleted&&e.onCompleted()},e.prototype.Wh=function(e){var t,r,o=e.conditionalFormats&&e.conditionalFormats.rules;if(o)for(t=0;t<o.length;t++)r=o[t],r.style&&(r.style.isPartFontStyle=!0,r.style.isFormatStyle=!0,r.dxfId=this.Yh(r.style));e.Zh=this.$h(e),this._h(e),this.ai(e),this.bi(e),this.ci(e)},e.prototype.Yh=function(e){var t=this,r=t.hf.indexOf(e);
27
- return r===-1&&(r=t.hf.length,t.hf.push(e)),r},e.prototype.di=function(e){var t=this,r=t.Ch.indexOf(e);return r===-1&&(r=t.Ch.length,t.Ch.push(e)),r},e.prototype.ei=function(e){var t=this,r=t.Dh.indexOf(e);return r===-1&&(r=t.Dh.length,t.Dh.push(e)),r},e.prototype.ci=function(e){var t=this,r=e.slicers,i=t.fi();r&&r.length>0&&r.forEach(function(e){var r,n,a,l,s,c,u,f,b,h,p,m;if(e&&(r="timeline"===e.type,n=r?d.IO.timelineStyles:d.IO.slicerStyles,"string"==typeof e.style?(a=e.style.toLowerCase().replace(r?/^timeslicerstyle/:/^slicerstyle/,""),n[a]?e.style=n[a]:delete e.style):e.style instanceof Object&&(l=e.style&&e.style.name,s=l&&l.length>11&&n[l.toLowerCase().replace(r?/^timeslicerstyle/:/^slicerstyle/,"")],s&&(e.style.name="CustomSlicerStyle_"+e.name)),c=e.style,!o.J(c&&c.name))){if(u={},!xe(t.nh,c)){u={styleElements:[],name:Ae(t.nh,c.name)},c.name=u.name;for(f in c)if(c.hasOwnProperty(f)&&"name"!==f&&!o.J(c[f]))switch(f){case"headerStyle":case"wholeSlicerStyle":b={},b.type=f,b.dxfId=t.Yh(me(c[f],"headerStyle"===f)),b.tableId=Se(e.tableName,i),u.styleElements.push(b)}t.mh.push(u)}if(r){if(!xe(t.rh,c)){h={styleElements:[],name:Ae(t.rh,c.name)},c.name=u.name;for(p in c)if(c.hasOwnProperty(p)&&"name"!==p&&!o.J(c[p]))switch(p){case"selectionLabelStyle":case"timeLevelStyle":case"periodLabel1Style":case"periodLabel2Style":case"selectedTimeBlockStyle":case"unselectedTimeBlockStyle":case"selectedTimeBlockSpaceStyle":h.styleElements.push({type:p,dxfId:t.ei(me(c[p]))})}t.qh.push(h),t.rh[h.name]=c}}else if(!xe(t.ph,c)){m={styleElements:[],name:Ae(t.nh,c.name)},c.name=u.name;for(p in c)if(c.hasOwnProperty(p)&&"name"!==p&&!o.J(c[p]))switch(p){case"selectedItemWithDataStyle":case"selectedItemWithNoDataStyle":case"unSelectedItemWithDataStyle":case"unSelectedItemWithNoDataStyle":case"hoveredSelectedItemWithDataStyle":case"hoveredSelectedItemWithNoDataStyle":case"hoveredUnSelectedItemWithDataStyle":case"hoveredUnSelectedItemWithNoDataStyle":m.styleElements.push({type:p,dxfId:t.di(me(c[p]))})}t.oh.push(m),t.ph[m.name]=c}}})},e.prototype._h=function(e){var t,r,i=this;function n(e,t){var r,n,a,l,s,c,u,f,b,h;if(e&&(t?(r=e.style&&e.style.name,r&&r.length>10&&d.IO.pivotTableThemes[r.toLowerCase().replace(/^pivotstyle/,"")]&&(e.style.name="CustomPivotTableStyle_"+e.name)):"string"==typeof e.style?d.IO.tableThemes[e.style]?e.style=d.IO.tableThemes[e.style]:delete e.style:e.style instanceof Object&&(n=e.style&&e.style.name,n&&d.IO.tableThemes[n]&&(e.style.name="CustomTableStyle_"+e.name)),a=e.style,!o.J(a&&a.name))){if(xe(i.nh,a))return;l={styleElements:[]},l.name=Ae(i.nh,a.name),a.name=l.name,s=void 0,c=void 0,u=void 0,f=void 0;for(b in a)if(a.hasOwnProperty(b)&&"name"!==b&&void 0!==a[b])switch(b){case"firstRowStripSize":s=a[b];break;case"secondRowStripSize":c=a[b];break;case"firstColumnStripSize":u=a[b];break;case"secondColumnStripSize":f=a[b];break;default:h={},h.type=b,a[b].isPartFontStyle=!0,h.dxfId=i.Yh(a[b]),l.styleElements.push(h)}Ce(l,"firstRowStripStyle",s||1),Ce(l,"secondRowStripStyle",c||1),Ce(l,"firstColumnStripStyle",u||1),Ce(l,"secondColumnStripStyle",f||1),Ce(l,"firstRowStripeStyle",s||1),Ce(l,"secondRowStripeStyle",c||1),Ce(l,"firstColumnStripeStyle",u||1),Ce(l,"secondColumnStripeStyle",f||1),l.isPivot=t,i.mh.push(l),i.nh[l.name]=a}}t=e.pivotTables,t&&t.length>0&&t.forEach(function(e){return n(e,!0)}),r=e.tables,r&&r.length>0&&r.forEach(function(e){return n(e,!1)})},e.prototype.ai=function(e){var t=this,r=e.pivotTables;r&&r.length>0&&r.forEach(function(e){!o.J(e.formats)&&e.formats.length>0&&e.formats.forEach(function(e){var r,i,a,l,s;o.J(e.style)||(e.dxfId=t.Yh(e.style),e.style&&!o.J(e.style.formatter)&&(r=e.style.formatter,i={},a=n.ExtendedNumberFormatHelper.getFormatId(r),l=a.id,s=a.isBuiltIn,s?(i.numberFormatIndex=l,e.style.numberFormatId=l):(i.numberFormat=new n.ExcelNumerFormat(l,r),e.style.numberFormatId=i.numberFormat.numberFormatId),t.Ih.push(i)))}),!o.J(e.fields)&&e.fields.length>0&&e.fields.forEach(function(e){Le(e,t.Ih)}),!o.J(e.dataFields)&&e.dataFields.length>0&&e.dataFields.forEach(function(e){Le(e,t.Ih)})})},e.prototype.bi=function(e){var t,r=e.tables,o=r?r.length:0,i={};for(t=0;t<o;t++)r[t].tableSortInfo=this.gi(r[t].rowFilter);e.hi=i,e.rowFilter&&(e.rowFilter.autoFilterSortInfo=this.gi(e.rowFilter))},e.prototype.Th=function(e){var t,r=this,o=e.rows,i=_(e);for(e.rowsVisibleInfo={},t=0;t<e.rowCount;t++)e.rowsVisibleInfo[t]={},e.rowsVisibleInfo[t].size=o&&o[t]&&o[t].size||i,e.rowsVisibleInfo[t].visible=r.ii(e,t)},e.prototype.Uh=function(e){var t,r,o=e.columns,i=N(e),n=e.columnOutlines;for(e.columnVisibleInfo={},t=0;t<e.columnCount;t++)e.columnVisibleInfo[t]={},r=o&&o[t],e.columnVisibleInfo[t].size=r&&r.size||i,r&&r.visible===!1&&(e.columnVisibleInfo[t].visible=!1),l.isCollapsed(t,n)&&(e.columnVisibleInfo[t].visible=!1)},e.prototype.Rh=function(e){e.rowCount===p&&(e.rowCount=200),e.columnCount===p&&(e.columnCount=20),e.activeRow===p&&(e.activeRow=0),e.activeCol===p&&(e.activeCol=0),e.visible===p&&(e.visible=!0)},e.prototype.Vh=function(e){var t,r,o=e.index,i=this.yh[o],n=e.columnCount,a=e.data&&e.data.defaultDataNode&&e.data.defaultDataNode.style;for(t=0;t<n;t++)r=this.ji(e,-1,t),this.ki(e,i,t,r,a)},e.prototype.Sh=function(e){var t,r,i,n,l,s,c,d,u,f,b,h,g,y,S,C,w,x,A,T,v,k,F,R,E,P,W,_,N,M,O,H,G,U,J,z,V,j,X,K,q,Y,Q,Z,$,ee,te,re=this,oe=e.index,ie=e.data&&e.data.dataTable,ne=e.data&&e.data.rowDataArray,ae=e.defaultData,le=re.Eh,se=re.Hh;if(0!==e.rowCount){if(t=re.li(ie,e,ae)+1,r=re.wh[oe],i=re.xh[oe],n=re.mi(e,t),l=re.Ah[oe],s=57,c=re.ni(e),d=[],u=e.tables,!o.J(u)&&Array.isArray(u))for(f=0;f<u.length;f++)for(b=u[f],h=b.row,g=h+b.rowCount-1,y=h;y<=g;y++)d[y]||(d[y]=!0);for(S={},C=e.data&&e.data.defaultDataNode&&e.data.defaultDataNode.style,w=0;w<=c&&w>=0;w++)if(ie&&ie.hasOwnProperty(w+"")||ne&&ne[w]||d[w]||ae&&ae.hasOwnProperty(w+"")){for(x=re.ki(e,i,w,re.ji(e,w,-1),C),A=s,T=ie&&ie[w],v=ae&&ae[w],k=0;k<t&&k>=0;k++)if(F=L(e,w,k),T&&T.hasOwnProperty(k+"")||F||v&&v.hasOwnProperty(k+"")){if(R=w*t+k,E=void 0,P=void 0,W=m,_=m,N=m,M=T&&T[k],O=v&&v[k],H=p,G=!1,M&&(_=M.formula,N=M.arrayInfo,U=N&&N.isDynamicArray,J=M.value,z=Be(J,U,le),W=z.value,H=z.richText,G=z.isSpillError,le=z.dynamicArrayLevel),!_&&o.J(W)&&O&&(W=Be(O.v,p,le).value),V=!1,F&&(V=!0,j=D(e,w,k),j&&B(e,j)),X=re.oi(e,w,k,r,n[k],x,C,R,W),P=X.styleName,E=X.styleInfo,V){if(F.showHeader!==!1&&w===F.row&&(W=F.columns[k-F.col]&&F.columns[k-F.col].name,W&&W.indexOf("\n")!==-1&&H))for(K=0;K<H.length;K++)H[K].text=o.Util.ua(H[K].text,"\r","");F.showFooter&&w===F.row+F.rowCount-1&&(q=F.columns[k-F.col],o.J(q&&q.footerValue)||(W=""+q.footerValue))}if(Y=re.pi(W,!o.J(H)),Q=Y.value,Q=I(Q),Z=Y.cellType,E||_||Q!==m||!o.StringEx.L(P)){if($=new a.ExcelCell(w,k),$.cellType=Z,$.value=Q,$.richText=H,$.isSpillError=G,$.qi=S[w+","+k],re.dg(r,R,E,P,$),re.ri(_,N,$),N&&N.isDynamicArray&&!$.isSpillError)for(ee=N.row;ee<N.row+N.rowCount;ee++)for(te=N.col;te<N.col+N.colCount;te++)S[ee+","+te]=1;re.ti(oe,w,$),re.ui($,e,w,k,se)}}l[w]=A}re.Eh=le,re.sh={}}},e.prototype.ni=function(e){var t=this.vi(e);return Math.min(e.rowCount-1,t.length>0?t.length:0)},e.prototype.ki=function(e,t,r,i,n){var a,l,s=this;return i&&(a=s.wi(e,i)),a?(a.parentName&&(a.parentName=s.xi(e,a.parentName),l=s.af[s.lh[a.parentName]],o.ga.ca(a,l)),s.yi(e,a,n),o.ga.ba(a)||(t[r]=s.zi(a),a.parentName&&s.isSameStyleInfo(s.af[s.lh[a.parentName]],a,!0)||(a.parentName=m)),i):m},e.prototype.Ai=function(){var t,r,i,n,a,l,s,c,d,u=this,f=u.Ne,b=f.sheets;for(r in b)if(b.hasOwnProperty(r)&&(i=b[r],n=i.namedStyles,n&&n.length>0)){if(!t)if(t={},f.namedStyles)for(a=f.namedStyles,l=0;l<a.length;l++)t[a[l].name]=1;else f.namedStyles=[];for(l=0;l<n.length;l++)if(s=n[l],c=s.name,!R(c)&&!F(c)&&o.J(e.Bi[c])){for(d=s.name;t[d]||d.length>255;)d=Ee(d,i.name);s.name=d,f.namedStyles.push(s),t[d]=1,c!==d&&(i.renamedStyles=i.renamedStyles||{},i.renamedStyles[c]=d)}}},e.prototype.Ci=function(){var t,r,o,i,n,a=this,l=a.Ne,s=l.namedStyles,c={},d={};a.Oh=0,t=e.Jh(l),s?s.forEach(function(e){var t,r,o,i;e&&(t=e.name,c[t]=e,t&&w.test(t)&&(r=19,o=t.indexOf(g),i=parseInt(t.substring(r,o),10),a.Oh=Math.max(i,a.Oh)))}):l.namedStyles=[];for(r in l.sheets)if(l.sheets.hasOwnProperty(r)){if(o=l.sheets[r],!o||!o.data||!o.data.dataTable)continue;if(i=o.tables,n=o.data.dataTable,!i||i.length<=0)continue;a.Nh(i,n,c,t,d)}},e.prototype.Qh=function(){var e,t,r,i,a,l,s,c,d,u,f,b,h,m,g=this,y=g.Ne,S={},C=[];for(S.Normal={},g.Ai(),g.Ci(),g.Di(y.namedStyles,S,C),t=0,r=g.th.length;t<r;t++)e=g.th[t],e&&e.parentName&&o.ga.da(g.th,e);for(i={},a=[],l={},t=0,r=C.length;t<r;t++)s=C[t],c=n.ConverterHelper.toStringStyle(s),i[c]===p?a.push(s):l[s.name]=C[i[c]].name,i[c]=t,s.Ei=c;for(d={},t=0,r=g.af.length;t<r;t++)e=g.af[t],u=n.ConverterHelper.cloneSpreadJSStyle(e),u.parentName=e.name,u.name=p,d[t]=g.lh[e.name]=g.af.length,g.af.push(u),f=n.ConverterHelper.toStringStyle(e),i[f]!==p&&(b=C[i[f]],b&&(g.lh[b.name]=g.lh[e.name],b.added=!0));for(Object.keys(g.vh).forEach(function(e){g.lh[e]===p&&(g.lh[e]=d[g.vh[e]])}),h=o.ga._(y.namedStyles,"Normal"),m=n.ConverterHelper.toStringStyle(h),t=0,r=a.length;t<r;t++)s=a[t],s.added||(s.Ei===m?g.lh[s.name]=0:(g.lh[s.name]=g.af.length,g.af.push(s)));Object.keys(l).forEach(function(e){g.lh[e]=g.lh[l[e]]})},e.prototype.isSameStyleInfo=function(e,t,r,o){if(!e&&!t)return!0;if(!e||!t)return!1;var i,a;return e.Fi||(e.Fi={Gi:n.ConverterHelper.toExtendedFormat(e,this)}),i=e.Fi.Gi,t.Fi||(t.Fi={Gi:n.ConverterHelper.toExtendedFormat(t,this)}),a=t.Fi.Gi,i.equals(a,r,o)},e.prototype.getEqualStyle=function(e,t){var r,o;for(r=0;r<t.length;r++)if(o=t[r],this.isSameStyleInfo(e,o,!0,!0))return o;return m},e.prototype.Di=function(t,r,o){var i,n,a,l,s,c;function d(e){var t,r,o="",i=Object.getOwnPropertyNames(e);for(t=0;t<i.length;t++)r=i[t],k(e[r])?o+=r+":"+JSON.stringify(e[r])+"_":"name"!==r&&(o+=r+":"+e[r]+"_");return o}if(t)for(i={},n=0,a=t.length;n<a;n++)l=t[n],s=l.name,r[s]||(r[s]={},R(s)||F(s)||(s.indexOf(g)>=0?o.push(l):(c=d(l),i.hasOwnProperty(c)?this.vh[l.name]=i[c]:(this.af.push(l),this.th.push(l),this.vh[l.name]=this.af.length-1,e.Bi[l.name]||(i[c]=this.af.length-1)))))},e.prototype.ji=function(e,t,r){var o=e.data,i=m;return o?(t<0&&r>=0?i=o.columnDataArray&&o.columnDataArray[r]?o.columnDataArray[r].style:m:t>=0&&r<0?i=o.rowDataArray&&o.rowDataArray[t]?o.rowDataArray[t].style:m:t>=0&&r>=0&&(i=o.dataTable&&o.dataTable[t]&&o.dataTable[t][r]?e.data.dataTable[t][r].style:m),i):m},e.prototype.Hi=function(){var e,t,r,i=this.Ne,n=m;for(e in i.sheets)if(i.sheets.hasOwnProperty(e)&&(t=i.sheets[e],t&&t.theme)){n=t.theme;break}return n?T(n)?n:(r=n.name,o.StringEx.O(r)?m:("OFFICE"===r.toUpperCase()&&(r="Office Theme"),new a.ExcelTheme(r,this.Ii(n),this.Ji(n)))):m},e.prototype.Ii=function(e){var t=[];return t.push(u(e.themeColor.background1)),t.push(u(e.themeColor.text1)),t.push(u(e.themeColor.background2)),t.push(u(e.themeColor.text2)),t.push(u(e.themeColor.accent1)),t.push(u(e.themeColor.accent2)),t.push(u(e.themeColor.accent3)),t.push(u(e.themeColor.accent4)),t.push(u(e.themeColor.accent5)),t.push(u(e.themeColor.accent6)),t.push(u(e.themeColor.hyperlink)),t.push(u(e.themeColor.followedHyperlink)),new a.ColorScheme(e.themeColor.name,t)},e.prototype.Ji=function(e){var t=Pe(e.headingFont),r=Pe(e.bodyFont),o=new a.ThemeFonts([new a.RunFormatting(0,t)],[]),i=new a.ThemeFonts([new a.RunFormatting(0,r)],[]);return new a.FontScheme(e.name,o,i)},e.prototype.Ki=function(e){return e=Math.min(e,i.ExcelConstants.vb-1),o.IndexHelper.T(e)},e.prototype.Li=function(e,t){var r,o=[],n=new i.DefaultContentType;return n.extension=i.XFileConstants.Eb,n.contentType=i.XFileConstants.Fb,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Gb,n.contentType=i.XFileConstants.Hb,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.nc,n.contentType=i.XFileConstants.pc,o.push(n),t&&(n=new i.DefaultContentType,n.extension=i.XFileConstants.oc,n.contentType=i.XFileConstants.kc,o.push(n)),n=new i.DefaultContentType,n.extension=i.XFileConstants.qc,n.contentType=i.XFileConstants.sc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.tc,n.contentType=i.XFileConstants.uc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.vc,n.contentType=i.XFileConstants.wc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.zc,n.contentType=i.XFileConstants.Ac,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Bc,n.contentType=i.XFileConstants.Cc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Dc,n.contentType=i.XFileConstants.Ec,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.xc,n.contentType=i.XFileConstants.yc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Fc,n.contentType=i.XFileConstants.Gc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Hc,n.contentType=i.XFileConstants.Ic,o.push(n),r=this.Lh(o,e),r?o:m},e.prototype.Mi=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return this.uh[r.index]},e.prototype.Ni=function(e){var t,r,i=this,n=[],l=i.Ne,s=l.sheets&&l.sheets[e],c=i.vi(s),d=Math.min(s.rowCount-1,c.length),u=i.Oi(s.rowOutlines);for(t=0;t<=d;t++)c[t]?(r=i.Pi(s,t,u),(r||r.collapsed||!o.J(r.outLineLevel)&&0!==r.outLineLevel||r.visible===!1||r.formatId>=0)&&(r.customHeight=!isNaN(r.height),n.push(r))):s.rowFilter&&i.Qi(s.rowFilter,t)&&(r=new a.ExcelRow(t),r.visible=!1,n.push(r));return n},e.prototype.Qi=function(e,t){var r,o,i,n=!1;if(e&&(r=e.filteredOutRows))for(o=0;o<r.length;o++)if(i=r[o],t===i){n=!0;break}return n},e.prototype.ii=function(e,t){var r=e.rows,o=e.rowOutlines;return(!r||!r[t]||r[t].visible!==!1)&&!l.isCollapsed(t,o)},e.prototype.Pi=function(e,t,r){var i,l,s=this,c=new a.ExcelRow(t),d=e.rowOutlines,u=e.rows&&e.rows[t];return c.height=n.UnitHelper.pixelToPoint(u&&void 0!==u.size?u.size:_(e)),r>=0&&(c.collapsed=this.Ri(t,d),i=this.Si(t,d),c.outLineLevel=i===-1?0:i),t<e.rowCount&&(c.visible=s.ii(e,t)),o.J(this.xh[e.index])||(l=this.xh[e.index][t],c.formatId=o.J(l)?-1:l),c},e.prototype.vi=function(e){var t,r,o,i,n,a,l,s,c,d,u,f,b,h,p=this.Bh[e.index];if(void 0!==p)return p;if(p=[],t=e.rows,r=e.data&&e.data.rowDataArray,o=e.data&&e.data.dataTable,i=e.defaultData,t)for(n=0,a=t.length;n<a;n++)t[n]&&(p[n]=!0);if(r)for(n=0,a=r.length;n<a;n++)r[n]&&(p[n]=!0);if(o)for(l in o)o[l]&&o.hasOwnProperty(l)&&(p[l]=!0);if(i)for(l in i)i[l]&&i.hasOwnProperty(l)&&(p[l]=!0);if(s=e.tables,s&&s.forEach(function(e){var t,r=e.row,o=e.row+e.rowCount;for(t=r;t<o;t++)p[t]=!0}),c=e.spans)for(a=c.length,d=0;d<a;d++)for(u=c[d],f=u.row;f<u.row+u.rowCount;f++)p[f]=!0;if(b=e.rowOutlines&&e.rowOutlines.itemsData)for(n=0,a=b.length;n<a;n++)for(h=b[n],l=h.index;l<h.index+h.count;l++)p[l]=!0;return this.Bh[e.index]=p,p},e.prototype.Ti=function(e){var t,r,o=[],i=this.Ne,n=i.sheets&&i.sheets[e],a=this.Oi(n.columnOutlines),l=n.columnCount;for(t=0;t<l;t++)r=this.Ui(n,t,a),r&&(Math.abs(r.width-this.Vi(e))>1e-4||r.collapsed||void 0!==r.outLineLevel&&r.outLineLevel!==m&&0!==r.outLineLevel||r.visible===!1||r.formatId>=0)&&o.push(r);return o},e.prototype.Si=function(e,t){var r,o,i,n;if(!t||!t.itemsData)return 0;for(r=t.itemsData,o=0,i=r.length;o<i;o++)if(n=r[o],e>=n.index&&e<n.index+n.count)return n.info?n.info.level+1:1;return 0},e.prototype.Ri=function(e,t){var r,o,i,n;if(!t||!t.itemsData)return!1;for(r=t.itemsData,o=0,i=r.length;o<i;o++)if(n=r[o],e>=n.index&&e<n.index+n.count)return!!n.info&&!!n.info.collapsed;return!1},e.prototype.Ui=function(e,t,r){var i,n,s=new a.ExcelColumn(t),c=e.columnOutlines,d=e.columns&&e.columns[t];return s.width=this.calcColumnWidth(d&&void 0!==d.size?d.size:N(e)),r>=0&&t<e.columnCount&&(s.collapsed=this.Ri(t,c),i=this.Si(t,c),s.outLineLevel=i===-1?0:i),t<e.columnCount&&(d&&d.visible===!1&&(s.visible=!1),l.isCollapsed(t,c)&&(s.visible=!1)),o.J(this.yh[e.index])||(n=this.yh[e.index][t],s.formatId=o.J(n)?-1:n),s},e.prototype.Oi=function(e){var t,r,o,i;if(!e||!e.itemsData)return-1;for(t=-1,r=0,o=e.itemsData.length;r<o;r++)i=e.itemsData[r],i.info&&i.info.level>t&&(t=i.info.level);return t},e.prototype.Wi=function(e){var t,r,o=this.Ne,i=o.sheets&&o.sheets[e],n=0,a=0,l=-1,s=i.rowOutlines;return s&&(l=this.Oi(s)),l!==-1&&(n=l+2),t=-1,r=i.columnOutlines,r&&(t=this.Oi(r)),t!==-1&&(a=t+2),{outlineLevelRow:n,outlineLevelColumn:a}},e.prototype.Xi=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o=n.UnitHelper.pixelToPoint(r.defaults?r.defaults.rowHeight:_(r)),i=!1,a=57;return i=Math.abs(a-o)>=2,{height:o,customHeight:i}},e.prototype.Vi=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return this.calcColumnWidth(r.defaults?r.defaults.colWidth:N(r))},e.prototype.Yi=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e];if(o.defaults&&o.defaults.colWidth&&o.defaults._isExcelDefaultColumnWidth!==!0)return t=o.defaults?o.defaults.colWidth:N(o),this.calcColumnWidth(t)},e.prototype.calcColumnWidth=function(t){var r,o,i;return 0===t?0:(r=e.Jh(this.Ne),o=Math.round(this.Zi(r.fontForColumnWidth?r.fontForColumnWidth:r.font)),i=Math.floor((t-5)/o*100+.5)/100,Math.floor((i*o+5)/o*256)/256)},e.prototype.Zi=function(e){return this.Rf===p&&(this.Rf=n.UnitHelper.getMaxiumDigitWidth(e)),this.Rf},e.prototype.$i=function(e,t,r,n){var a,l,s,c,d,u,f,b=this.Ne,h=b.sheets&&b.sheets[e];if(!h)return!1;if(a=h.frozenRowCount,l=h.frozenColCount,r.col=h.activeCol>=0?h.activeCol:0,r.row=h.activeRow>=0?h.activeRow:0,s=a>0,c=l>0,0===n){if(!s||!c)return!1}else if(1===n){if(!c)return!1;s&&(r.col=l,r.row=0)}else if(2===n){if(!s)return!1;c&&(r.col=0,r.row=a)}if(r.col=Math.min(i.ExcelConstants.vb,r.col),r.row=Math.min(i.ExcelConstants.wb,r.row),t)if(d=void 0,h.selections)for(u=0;u<h.selections.length;u++)f=h.selections[u],k(f)&&(d=new o.Range(f.row>0?f.row:0,f.col>0?f.col:0,f.rowCount>0?f.rowCount:i.ExcelConstants.wb,f.colCount>0?f.colCount:i.ExcelConstants.vb),t.push(d));else t.push(new o.Range(r.row,r.col,1,1));return!0},e.prototype.ti=function(e,t,r){o.J(this.uh[e][t])&&(this.uh[e][t]=[]),this.uh[e][t].push(r)},e.prototype._i=function(e,t){var r,o,i;if(T(e)&&"/OADate"===e.substring(0,7)&&t&&!t.formatter){if(t.autoFormatter)return void(t.formatter=t.autoFormatter.formatCached);r=e.indexOf("("),o=e.indexOf(")"),r!==-1&&o!==-1&&(i=parseInt(e.substring(r+1,o),10),i<1?t.formatter="h:mm:ss":i>1&&(t.formatter="M/d/yyyy"))}},e.prototype.dg=function(e,t,r,i,n){var a;o.StringEx.L(i)?r&&(a=e[t]):a=this.lh[i],void 0!==a?n.formatId=a:n.formatId=-1},e.prototype.ri=function(e,t,r){o.StringEx.O(e)||(r.formula=e,r.arrayFormulaRange=t)},e.prototype.ui=function(e,t,r,i,n){var a,l,s,c,d,u,f,b;if(t.data&&t.data.dataTable&&t.data.dataTable[r]&&(a=t.data.dataTable[r][i]&&t.data.dataTable[r][i].hyperlink)){if(l={},s=this.aj(t.name),c=!1,s)for(d=0;d<s.length;d++)if(u=s[d],u.row===r&&u.col===i){l.ref=o.IndexHelper.T(u.col)+(u.row+1)+":"+o.IndexHelper.T(u.col+u.colCount-1)+(u.row+u.rowCount),c=!0;break}c||(l.ref=o.IndexHelper.T(i)+(r+1)),f="sjs://",a.url&&(a.url.substring(0,f.length)===f?(l.location=o.Util.oa(a.url.replace(f,"")),b=t.data.dataTable[r][i].value,"string"==typeof b&&(l.display=o.Util.oa(b))):l.url=o.Util.oa(a.url)),a.tooltip&&(l.tooltip=o.Util.oa(a.tooltip)),l["xr:uid"]=o.Ha(),n[t.name]||(n[t.name]=[]),n[t.name].push(l)}},e.prototype.pi=function(e,t){var r=0;if(o.J(e))e=m;else{if(e._error||e._calcError)return r=7,{value:e._error||e._calcError,cellType:r};"number"==typeof e?(r=1,isNaN(e)&&(e=0)):"boolean"==typeof e?r=5:T(e)&&"/OADate"===e.substring(0,7)?r=6:t?r=9:T(e)?r=2:(r=2,e=""+e)}return{value:e,cellType:r}},e.prototype.wi=function(e,t){var r,o,i=this;return k(t)?n.ConverterHelper.cloneSpreadJSStyle(t):T(t)?C.test(t)?(r=t.indexOf(g),o=i.xi(e,t.substring(r)),n.ConverterHelper.cloneSpreadJSStyle(i.af[i.lh[o]])):{parentName:t}:void 0},e.prototype.bj=function(e){var t=this;return e&&t.af[t.lh[e]]},e.prototype.yi=function(e,t,r){var i,n=this;r&&(r=n.wi(e,r),o.ga.ca(t,r,!0),r&&r.parentName&&(r.parentName=n.xi(e,r.parentName),i=n.af[n.lh[r.parentName]],o.ga.ca(t,i)))},e.prototype.cj=function(e,t){o.J(t.linkColor)?(t.linkColor!==p||!e.foreColor&&e.foreColor!==m)&&(e.foreColor="hyperlink"):e.foreColor=t.linkColor,o.J(e.textDecoration)?e.textDecoration=1:1!==(1&e.textDecoration)&&(e.textDecoration+=1)},e.prototype.xi=function(e,t){return e.renamedStyles&&e.renamedStyles[t]&&(t=e.renamedStyles[t]),t},e.prototype.oi=function(e,t,r,i,n,a,l,s,c){var d,u,f=this,b=e.data,h=f.ji(e,t,r),g=m,y=m,S=b&&b.dataTable&&b.dataTable[t]&&b.dataTable[t][r]&&b.dataTable[t][r].hyperlink,C=S||T(c)&&"/OADate"===c.substring(0,7)||c!==m&&void 0!==c&&(n||a),w=p;return v(h)&&v(a)&&v(n)&&!C&&(w=""+h+"|"+n+"|"+a),w&&f.sh[w]?(i[s]=f.sh[w].styleIndex,f.sh[w]):(h?g=f.wi(e,h):C&&(g={}),g&&(g.parentName&&(g.parentName=f.xi(e,g.parentName),d=f.af[f.lh[g.parentName]]||f.af[f.vh[g.parentName]],o.ga.ca(g,d)),f.yi(e,g,a),f.yi(e,g,n),f.yi(e,g,l),S&&f.cj(g,S),f._i(c,g),o.ga.ba(g)?g=m:(u=i[s]=f.zi(g),g.parentName&&f.isSameStyleInfo(f.af[f.lh[g.parentName]],g,!0)&&(y=g.parentName),g.name&&f.isSameStyleInfo(f.af[f.lh[g.name]],g,!0)&&(y=g.name),w&&(f.sh[w]={styleIndex:u,styleName:y,styleInfo:g}))),{styleName:y,styleInfo:g})},e.prototype.zi=function(e){var t,r=this.af;if(!e)return 0;for(t=r.length-1;t>=0;t--)if((!r[t].name||r[t].name.indexOf(g)>=0)&&o.ga.fa(r[t],e))return t;return e.name=p,r.push(e),r.length-1},e.prototype.dj=function(e){var t,r;if(!e)return 0;t=0;for(r in e)e.hasOwnProperty(r)&&parseInt(r,10)>t&&(t=parseInt(r,10));return t},e.prototype.li=function(e,t,r){var o,i,n,a=0;if(e)for(o in e)if(e.hasOwnProperty(o))for(i in e[o])parseInt(i,10)>a&&(a=parseInt(i,10));if(r)for(o in r)if(r.hasOwnProperty(o))for(i in r[o])parseInt(i,10)>a&&(a=parseInt(i,10));return n=t.tables,n&&n.forEach(function(e){e.col+e.colCount>a&&(a=e.col+e.colCount)}),a},e.prototype.ej=function(e,t,r){for(r++;r>=0&&r<t&&!e[r];)r++;return r<t?r:-1},e.prototype.fj=function(e,t,r,o,i){var n=m;if(o>=0&&o<t&&(n=e[o]),!n)return-1;for(i++;i>=0&&i<r&&!n[i];)i++;return i<r?i:-1},e.prototype.mi=function(e,t){var r,o,i=[],n=e.columnCount;if(!e.data||!e.data.columnDataArray)return i;for(r=0;r<t;r++)r<n?(o=this.ji(e,-1,r),i.push(o)):i.push(m);return i},e.prototype.gj=function(){var e,t,r,o,i,a,l=this,s=[],c={count:0};for(e=0,t=l.af.length;e<t;e++)r=l.af[e],o=n.ConverterHelper.toExtendedFormat(r,l),r.name&&r.name.indexOf(g)<0?(c[r.name]||(c[r.name]=c.count,c.count++),o.isStyleFormat=!0):(i=0,void 0!==c[r.parentName]&&c[r.parentName]!==m&&(i=c[r.parentName],a=s[i],!o.applyNumberFormat&&a&&(a.numberFormat?o.numberFormat=a.numberFormat:void 0!==a.numberFormatIndex&&(o.numberFormatIndex=a.numberFormatIndex))),o.parentFormatID=i),s.push(o);return s},e.prototype.hj=function(){var t=n.ConverterHelper.cloneSpreadJSStyle(e.Jh(this.Ne)),r=n.ConverterHelper.toExtendedFormat(t,this);return r.parentFormatID=0,r},e.prototype.ij=function(){var t,r,o,i,a,l,s,c=this,d=[],u=m;for(t=0,r=c.th.length;t<r;t++)if(o=c.th[t],"Normal"===o.name){i=new n.ExcelStyle,i.name="Normal",i.format(n.ConverterHelper.toExtendedFormat(o,c)),i.format().isStyleFormat=!0,i.builtInStyle=0,u=i,c.Ke=o;break}for(u||(a=new n.ExcelStyle,a.name="Normal",a.format(n.ConverterHelper.toExtendedFormat(e.Jh(this.Ne),c)),a.format().font.fontSize=14.67,a.format().isStyleFormat=!0,a.builtInStyle=0,d.push(a)),t=0,r=c.th.length;t<r;t++)l=c.th[t],l.name&&(void 0!==e.Bi[l.name]?(i=new n.ExcelStyle,i.name=l.name,i.format(n.ConverterHelper.toExtendedFormat(l,c)),i.format().isStyleFormat=!0,i.builtInStyle=e.Bi[l.name],("RowLevel_"===l.name.substring(0,9)||"ColLevel_"===l.name.substring(0,9))&&l.name.length>9&&(i.outLineLevel=parseInt(l.name.substring(9),10)-1),d.push(i)):(s=new n.CustomExcelStyle,s.name=l.name,s.format(n.ConverterHelper.toExtendedFormat(l,c)),s.format().isStyleFormat=!0,d.push(s)));return d},e.prototype.jj=function(){var e,t,r=[],o=this.Ne.sheets;for(e in o)o.hasOwnProperty(e)&&(t=o[e],r[t.index]=e);return r},e.prototype.kj=function(e){return this.Ne.sheets[e]},e.prototype.lj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?{colsSumRight:!(r.columnOutlines&&0===r.columnOutlines.direction),rowsSumBelow:!(r.rowOutlines&&0===r.rowOutlines.direction)}:{}},e.prototype.mj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?f(r.sheetTabColor):m},e.prototype.nj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?{rowCount:r.rowCount,columnCount:r.columnCount}:{}},e.prototype.oj=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e],i={showGridLine:!0,showRowColHeaders:!0,gridlineColor:m,zoom:1};return o?(!o.gridline||o.gridline.showVerticalGridline!==!1&&o.gridline.showHorizontalGridline!==!1||(i.showGridLine=!1),o.rowHeaderVisible===!1&&o.colHeaderVisible===!1&&(i.showRowColHeaders=!1),o.gridline&&o.gridline.color&&(i.gridlineColor=n.ColorHelper.toExcelIndexedColor(f(o.gridline.color,4291876837))),void 0!==o.topCellIndex&&void 0!==o.leftCellIndex&&(t={row:o.topCellIndex,col:o.leftCellIndex},i.topLeftCell=t),i.zoom=o.zoomFactor,i):i},e.prototype.pj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o={frozenRowCount:0,frozenColCount:0,frozenTopRow:0,frozenLeftCol:0};return r?(o.frozenRowCount=r.frozenRowCount||0,o.frozenColCount=r.frozenColCount||0,o.frozenTopRow=r.frozenTopRow||0,o.frozenLeftCol=r.frozenLeftCol||0,o):o},e.prototype.qj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return!!r&&r.isProtected},e.prototype.rj=function(e,t){var r,o,i=this.Ne,n=i.sheets&&i.sheets[e],a=n.protectionOptions,s={};for(o in a)a.hasOwnProperty(o)&&(r=a[o],r&&"allowSelectLockedCells"===o||r&&"allowSelectUnlockedCells"===o||r&&"allowEditObjects"===o||(s[l.fromProtectionOptions[o]?l.fromProtectionOptions[o]:o]=a[o]));return t&&!a&&(s.objects=!1),s},e.prototype.aj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?r.spans:[]},e.prototype.sj=function(){var e=this.Ne;return{showHorizontalScrollbar:e.showHorizontalScrollbar,showVerticalScrollbar:e.showVerticalScrollbar,tabStripVisible:e.tabStripVisible,tabStripRatio:e.tabStripRatio,startSheetIndex:e.startSheetIndex,activeSheetIndex:e.activeSheetIndex}},e.prototype.tj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return!r||0===r.visible},e.prototype.uj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return!r||2===r.visible},e.prototype.vj=function(){var e,t,r,o,i,n=[];if(this.Ne.names)for(t=0;t<this.Ne.names.length;t++)e=this.Ne.names[t],n.push({name:e.name,localSheetId:-1,formula:e.formula,comment:e.comment});r=this.Ne.sheets;for(o in r)if(r.hasOwnProperty(o)&&(i=r[o],i.names))for(t=0;t<i.names.length;t++)e=i.names[t],n.push({name:e.name,localSheetId:i.index,formula:e.formula,comment:e.comment});return n},e.prototype.xg=function(e){var t=this,r=t.Ne.sheets&&t.Ne.sheets[e];return r.conditionalFormats},e.Jh=function(e){var t,r,i,n,a,l,s={foreColor:"black",font:"normal normal normal 11pt/normal Calibri",locked:!0,name:"Normal",textDecoration:0,hAlign:3,vAlign:0};for(t in e.sheets)if(e.sheets.hasOwnProperty(t)&&(r=e.sheets[t],r.data&&r.data.defaultDataNode&&r.data.defaultDataNode.style)){for(i=r.data.defaultDataNode.style,n=this.prototype.wi(r,i),a=n.parentName;a&&(l=be(a,e,r));)o.ga.ca(n,l),a=l.parentName;return o.ga.ca(n,s),n}return s},e.prototype.wj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r.comments&&r.comments.map(function(e){return l.convertToExcelComment(r,e)})},e.prototype.xj=function(e){var t,r=[],o=this.Ne;if(e)return o.sheets[e].pivotTables;for(t in o.sheets)o.sheets[t].pivotTables&&(r=r.concat(o.sheets[t].pivotTables));return r},e.prototype.yj=function(e){return e.floatingObjects&&e.floatingObjects.filter(function(e){return"1"===e.typeName&&e.src&&e.src.indexOf(";base64,")!==-1}).map(function(t){return l.convertToExcelPicture(e,t)})},e.prototype.zj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r.sparklineGroups},e.prototype.$h=function(e){var t,r,o,i=e.rowFilter,a=this;if(i)return t=[],r=i.filteredColumns,o=i.filterItemMap,o&&r&&r.length>0&&o.forEach(function(o){var l,s;r.indexOf(o.index)<0||(l=o.conditions[0],3===l.conType&&(s=0===l.compareType,t.push({autoFilterColumnId:o.index-O(e,i.range).col,colorFilter:{cellColor:s,dxfId:a.Yh({isColorFilter:!0,fill:n.ColorHelper.toExcelBackColor(l.expected,s)})}})))}),t},e.prototype.gi=function(e){var t,r,i=m;return e&&(t=e.sortInfo,!t||o.J(t.ascending)||o.J(t.index)||(i={range:new o.Range(e.range.row,t.index,e.range.rowCount,1),descending:!t.ascending},t.color!==p&&(r=t.isBackColor,i.isBackColor=r,"{"===t.color[0]&&(t.color=JSON.parse(t.color)),i.dxfid=this.Yh({isColorFilter:!0,fill:n.ColorHelper.toExcelBackColor(t.color,r)})))),i},e.prototype.Aj=function(e,t){var r=e.autoFilter,i={range:"A1",filterColumns:[]},n=r.filterItemMap;return n&&n.forEach(function(e){var r,n,a,l,s;e&&(r=e.conditions,n=r[0],a={autoFilterColumnId:0},l=se(n,t),o.J(l)||(s=l.filterType,1===s?a.top10=l:2===s?a.dynamicFilter=l:4===s?a.customFilters=l:3===s&&(a.filters=l),i.filterColumns.push(a)))}),i},e.prototype.Bj=function(e,t,r){var i,n,a,l,s,c,d,u,f,b,h,p,g,y,S,C,w,x,A,T,v,k,F=this,R=F.Ne,E=R.sheets&&R.sheets[e];if(o.J(t)||o.J(t.range))return m;if(i=t.range,n=t.adjustRangeForFrozen?E.frozenRowCount:0,a={range:O(E,i,n),filterColumns:[]},E.Zh&&E.Zh.length>0&&(a.filterColumns=E.Zh),l=t.filteredColumns,s=t.filterItemMap,s&&l&&l.length>0&&s.forEach(function(e){var t,r,n,s,c,d;if(!(e.index<i.col||e.index>=i.col+i.colCount||l.indexOf(e.index)<0)){for(t=e.conditions,r=t[0],n=1;n<t.length;n++)r={conType:0,compareType:0,item1:r,item2:t[n]};r&&(s={autoFilterColumnId:e.index-a.range.col},c=le(E,r,new o.Range(a.range.row+1,a.range.col,a.range.rowCount-1,1)),o.J(c)||(d=c.filterType,1===d?s.top10=c:2===d?s.dynamicFilter=c:3===d?s.filters=c:4===d&&(s.customFilters=c),a.filterColumns.push(s)))}}),c=F.aj(e),c&&c.length>0){for(d=i.row-1,u=i.col,f=i.colCount,b=a.filterColumns.length>0,h=[],p=0,g=c;p<g.length;p++)if(y=g[p],S=y.row,C=y.rowCount,w=y.col,x=y.colCount,w>=u&&w+x<=f&&(d===S||d===S+C-1))for(A=w;A<w+x-1;A++)T=A-u,b?(v=a.filterColumns[A],v&&v.autoFilterColumnId===T?v.showButton=0:(k={autoFilterColumnId:T,showButton:0},h.push(k))):(k={autoFilterColumnId:T,showButton:0},h.push(k));h.length>0&&(a.filterColumns=a.filterColumns.concat(h))}return a.sortInfo=r,a},e.prototype.Cj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o=m;return r.rowFilter&&(o=r.rowFilter.autoFilterSortInfo),this.Bj(e,r.rowFilter,o)},e.prototype.fi=function(e){var t,r=[],o=this.Ne;if(e)return o.sheets[e].tables;for(t in o.sheets)o.sheets[t].tables&&(r=r.concat(o.sheets[t].tables));return r},e.prototype.Dj=function(e){var t,r,o,i=this.Ne.sheets[e];if(!i.slicers)return[];for(t=[],r=0;r<i.slicers.length;r++)o=i.slicers[r],o.type&&"table"!==o.type||t.push(l.convertToExcelSlicer(i,o));return t},e.prototype.Ej=function(e,t){var r,o,i,n=this.Ne.sheets[e];if(!n.slicers)return[];for(r=[],o=0;o<n.slicers.length;o++)i=n.slicers[o],i.type===t&&r.push(l.convertToExcelSlicer(n,i));return r},e.prototype.Fj=function(e){return e.charts&&e.charts.map(function(t){return l.convertToExcelChart(e,t)})},e.prototype.Gj=function(e){return e.shapes&&e.shapes.map(function(t){return l.convertToExcelShape(e,t)})},e.prototype.Hj=function(e){var t,r=function(e){var t=[],o=e&&e.sp||[];return o.forEach(function(e){e.control?t.push({sp:e}):3===e.shapeType&&t.push.apply(t,r(e))}),t},o=function(e){var t=[];return e.forEach(function(e){e.sp&&e.sp.control?t.push(e):e.grpSp&&t.push.apply(t,r(e.grpSp))}),t},i=o(this.Gj(e)||[]);return i.forEach(function(e){var t=e.sp.control,r=e.sp.nvSpPr.cNvPr;t.id=r.id,t.name=r.name,t.visible=!r.hidden,r.hidden=!0}),t=function(e){return e.sp.control.id},i.sort(function(e,r){return t(e)-t(r)}),i},e.prototype.Ij=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o=this.Dj(e),i=this.Ej(e,"pivot"),n=this.Ej(e,"timeline"),a=o.concat(i).concat(n),l=this.yj(r),s=this.Fj(r),c=this.Gj(r),d=this.Hj(r),u=0;return[a,l,s,c].forEach(function(e){e&&(u+=e.length)}),{slicers:a,pictures:l,charts:s,shapes:c,controlShapes:d,withDrawingObjects:u>0}},e.prototype.Jj=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e],i=[],n=o.validations;return n&&(t=this.jj(),he(n,i,e,t)),i},e.prototype.Kj=function(e){
28
- var t={top:75,bottom:75,left:70,right:70,header:30,footer:30},r=this.Ne,o=r.sheets&&r.sheets[e],i=o.printInfo,n=i&&i.margin;return n?{bottom:Te(n.bottom,t.bottom),top:Te(n.top,t.bottom),left:Te(n.left,t.bottom),right:Te(n.right,t.bottom),header:Te(n.header,t.bottom),footer:Te(n.footer,t.bottom)}:m},e.prototype.Lj=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e],i=o.printInfo;if(i)return t=i.centering,{horizontalCentered:1===t||3===t,verticalCentered:2===t||3===t,printGridLine:i.showGridLine,printRowColumnsHeaders:2===i.showRowHeader&&2===i.showColumnHeader}},e.prototype.Mj=function(e,t){var r,i,n,a,l,s,c,d,u,f,b,h,p,g,y,S,C;function w(e,t,r){return e=e||"",t=t||"",r=r||"","&L"+e+"&C"+t+"&R"+r}function x(e,t,r){if(e[t]&&e[t][r]){var o=e[t][r];return w(o.left,o.center,o.right)}}return r=this.Ne,i=r.sheets&&r.sheets[e],(n=i.printInfo)?(a={},l=n.fitPagesTall,s=n.fitPagesWide,o.J(l)||l===-1||(a.useSmartPrint=!0,a.smartPrintPagesHeight=Math.max(0,l)),o.J(s)||s===-1||(a.useSmartPrint=!0,a.smartPrintPagesWidth=Math.max(0,s)),t||(n.paperSize&&(c=n.paperSize.kind,0!==c&&(a.paperSizeIndex=c)),a.copies=1,o.J(n.firstPageNumber)||(a.useCustomStartingPage=!0,a.firstPageNumber=n.firstPageNumber),a.orientation=2===n.orientation?2:1,a.pageOrder=1===n.pageOrder?1:2,a.zoomFactor=parseFloat(n.zoomFactor),a.showColor=!n.blackAndWhite,a.advancedHeadFooterSetting={},d=a.advancedHeadFooterSetting,u=n.pageHeaderFooter,f=void 0,u?(d.headerFooterDifferentFirstPage=n.differentFirstPage,f=x(u,"first","header"),f&&(d.headerFirstPage=f),f=x(u,"first","footer"),f&&(d.footerFirstPage=f),b=n.differentOddAndEvenPages,d.headerFooterDifferentOddEvenPages=n.differentOddAndEvenPages,f=b?x(u,"odd","header"):x(u,"normal","header"),f&&(d.headerOddPage=f),f=b?x(u,"odd","footer"):x(u,"normal","footer"),f&&(d.footerOddPage=f),f=x(u,"even","header"),f&&(d.headerEvenPage=f),f=x(u,"even","footer"),f&&(d.footerEvenPage=f)):(h=w(n.headerLeft,n.headerCenter,n.headerRight),p=w(n.footerLeft,n.footerCenter,n.footerRight),a.advancedHeadFooterSetting={headerEvenPage:h,headerOddPage:h,footerOddPage:p,footerEvenPage:p}),g=i.rows,y=[],g&&g.length>0&&g.forEach(function(e,t){e&&e.pageBreak&&y.push(t)}),S=i.columns,C=[],S&&S.length>0&&S.forEach(function(e,t){e&&e.pageBreak&&C.push(t)}),y.length>0&&(a.rowBreakLines=y),C.length>0&&(a.columnBreakLines=C)),a):m},e.prototype.Nj=function(e){return this.Ne.sheets&&this.Ne.sheets[e].printInfo},e.prototype.Oj=function(e){return this.Ne.sheets&&this.Ne.sheets[e].rowFilter},e.prototype.Pj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o=r.shapes,i=[];return o&&o.length>0&&this.Qj(o,i),i},e.prototype.Qj=function(e,t){var r=this;e.forEach(function(e,o){var i,n,a,l;1===e.shapeType?(i=void 0,e.shapeData&&e.shapeData.pic&&e.shapeData.pic.cameraTool?i=e.shapeData.pic:e.cameraTool===!0&&(i=e),i&&(n=o+1,a=De("Picture_x0020_"+n,i.src),a.style=i.vmlStyle,a.anchor=i.anchor,a.cellRange=i.cellRange,a.spid="_x0000_s10"+i.spid,t.push(a))):3===e.shapeType&&(l=e.shapeData&&e.shapeData.grpSp&&e.shapeData.grpSp.sp||e.sp,l&&r.Qj(l,t))})},e.prototype.Rj=function(e){var t,r,o,i,n,a,l,s=this.Ne,c=s.sheets&&s.sheets[e],d=c.printInfo,u=[];return d&&(t=d.pageHeaderFooter,t?(r=t.normal,o=t.odd,o?(i=o.header||{},i.leftImage&&u.push(De("LH",i.leftImage)),i.centerImage&&u.push(De("CH",i.centerImage)),i.rightImage&&u.push(De("RH",i.rightImage)),n=o.footer||{},n.leftImage&&u.push(De("LF",n.leftImage)),n.centerImage&&u.push(De("CF",n.centerImage)),n.rightImage&&u.push(De("RF",n.rightImage))):r&&(i=r.header||{},i.leftImage&&u.push(De("LH",i.leftImage)),i.centerImage&&u.push(De("CH",i.centerImage)),i.rightImage&&u.push(De("RH",i.rightImage)),n=r.footer||{},n.leftImage&&u.push(De("LF",n.leftImage)),n.centerImage&&u.push(De("CF",n.centerImage)),n.rightImage&&u.push(De("RF",n.rightImage))),a=t.even,a&&(i=a.header||{},i.leftImage&&u.push(De("LHEVEN",i.leftImage)),i.centerImage&&u.push(De("CHEVEN",i.centerImage)),i.rightImage&&u.push(De("RHEVEN",i.rightImage)),n=a.footer||{},n.leftImage&&u.push(De("LFEVEN",n.leftImage)),n.centerImage&&u.push(De("CFEVEN",n.centerImage)),n.rightImage&&u.push(De("RFEVEN",n.rightImage))),l=t.first,l&&(i=l.header||{},i.leftImage&&u.push(De("LHFIRST",i.leftImage)),i.centerImage&&u.push(De("CHFIRST",i.centerImage)),i.rightImage&&u.push(De("RHFIRST",i.rightImage)),n=l.footer||{},n.leftImage&&u.push(De("LFFIRST",n.leftImage)),n.centerImage&&u.push(De("CFFIRST",n.centerImage)),n.rightImage&&u.push(De("RFFIRST",n.rightImage)))):(d.headerLeftImage&&u.push(De("LH",d.headerLeftImage)),d.headerCenterImage&&u.push(De("CH",d.headerCenterImage)),d.headerRightImage&&u.push(De("RH",d.headerRightImage)),d.footerLeftImage&&u.push(De("LF",d.footerLeftImage)),d.footerCenterImage&&u.push(De("CF",d.footerCenterImage)),d.footerRightImage&&u.push(De("RF",d.footerRightImage)))),u},e.prototype.Sj=function(){return this.vh},e.Bi={"20% - Accent1":30,"20% - Accent2":34,"20% - Accent3":38,"20% - Accent4":42,"20% - Accent5":46,"20% - Accent6":50,"40% - Accent1":31,"40% - Accent2":35,"40% - Accent3":39,"40% - Accent4":43,"40% - Accent5":47,"40% - Accent6":51,"60% - Accent1":32,"60% - Accent2":36,"60% - Accent3":40,"60% - Accent4":44,"60% - Accent5":48,"60% - Accent6":52,Accent1:29,Accent2:33,Accent3:37,Accent4:41,Accent5:45,Accent6:49,Bad:27,Calculation:22,"Check Cell":23,Comma:3,"Comma [0]":6,Currency:4,"Currency [0]":7,"Explanatory Text":53,Good:26,"Heading 1":16,"Heading 2":17,"Heading 3":18,"Heading 4":19,Input:20,"Linked Cell":24,Neutral:28,Normal:0,Note:10,Output:21,Percent:5,Title:15,Total:25,"Warning Text":11,Hyperlink:8,FollowedHyperLink:9,RowLevel_1:1,RowLevel_2:1,RowLevel_3:1,RowLevel_4:1,RowLevel_5:1,RowLevel_6:1,RowLevel_7:1,ColLevel_1:2,ColLevel_2:2,ColLevel_3:2,ColLevel_4:2,ColLevel_5:2,ColLevel_6:2,ColLevel_7:2},e}(),t.WriterDataModel=A},"./src/datamodel/datetime-helper.ts":function(e,t,r){"use strict";var o,i,n,a;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=null,n=void 0;function l(e){var t=e.getTimezoneOffset();return t===-485&&(t=-485-43/60),t===-321&&(t=-321-10/60),t===-507&&(t=-507-52/60),t===-402&&(t=-402-4/60),t}a=function(){function e(){}return e.jg=function(e){return"/OADate("+e+")/"},e.Tj=function(e){return"string"==typeof e&&"/OADate("===e.substr(0,8)?parseInt(e.substr(8,e.length-8-1-1),10):e},e.ig=function(e){return e===n||e===i?0:("number"!=typeof e&&"string"!=typeof e||(e=new Date(e)),e instanceof Date?(1440*e.getTime()+3181192704e6-864e5*l(e))/124416e6:0)},e.Je=function(e){var t=e-25569,r=new Date(864e5*t),o=t>=0?1:-1,i=l(r),n=(864e5*e*1440+o-3181192704e6+864e5*i)/1440,a=new Date(n),s=i>=0?1:-1,c=new Date(n+36e5*s),d=l(c);return Math.abs(i-d)>=60?new Date(n+60*(d-i)*1e3):a},e.vf=function(t){var r,o,n,a,l,s,c;if(!t||" "===t)return!1;if(0===t.length)return!1;if(t=t.toUpperCase(),t=t.replace(/(\[.*\])+/g," "),t=t.replace(/"[^"]*"/g," "),t=t.replace(/(\*.|_.|\\.)+/g," "),t.indexOf("GENERAL")!==-1)return!1;for(r=-1,o=0,n=!1,a=null,l=0;l<t.length;l++){if(s=t[l],"["===s)do s=t[l],l++;while(l<t.length&&"]"!==s);if("Y"===s||"D"===s||"M"===s||"H"===s||"S"===s||"A"===s)n?o++:(0===l||t.length>0&&"\\"!==t[l-1])&&(n=!0,r=l,o=1);else{if(n=!1," "===s&&a)return!0;0!==o&&(c=t.substring(r,r+o),r=l,o=0,a=a===i?e.Uj(c):a&&e.Uj(c))}}return 0!==o&&l===t.length&&(c=t.substring(r,r+o),a=a===i?e.Uj(c):a&&e.Uj(c)),!!a},e.Uj=function(e){var t,r,i,a,l,s,c,d,u;if(o.StringEx.O(e))return!1;for(t=[],r="",i=0,a=e.length;i<a;i++)l=e[i],r.indexOf(l)===-1&&(t.push({key:l,count:e.match(RegExp(l,"g")).length}),r+=l);for(s={Y:4,D:4,M:5,H:2,S:2,A:4},i=0,c=t.length;i<c;i++){if(d=t[i],u=s[d.key],u===n)return!1;if(d.count>u)return!1}return!0},e}(),t.DateTimeHelper=a},"./src/datamodel/excel-helper.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/datamodel/excel-style.ts"),n=r("./src/datamodel/chart-model.ts"),a=r("./src/common/excel-types.ts"),l=null;function h(e,t,r){var o,i=e.defaults.colWidth,n=e.columns,a=0,s=n?l:i;for(o=t;o<r;o++)a+=s||p(n,o,i,e.columnOutlines);return a}function p(e,t,r,o){var i=e[t];return i?o&&w(t,o)?0:i.visible===!1?0:i.size:r}function m(e,t,r){var o,i=e.defaults.rowHeight,n=e.rows,a=0,s=n?l:i;for(o=t;o<r;o++)a+=s||g(n,o,i,e.rowOutlines);return a}function g(e,t,r,o){var i=e[t];return i?o&&w(t,o)?0:i.visible===!1?0:i.size:r}function y(e,t){for(var r,o,i=e.defaults.colWidth,n=e.columns,s=0,c=0,d=n&&n.length||a.ExcelConstants.vb,u=n?l:i;s<t&&c<d;)r=u||p(n,c,i),s+=r,c++;return o=s-t,o>0?(c--,o=r-o):o=t-s,{col:c,colOffset:o}}function S(e,t){for(var r,o,i=e.defaults.rowHeight,n=e.rowsVisibleInfo||e.rows,s=0,c=0,d=n&&n.length||a.ExcelConstants.wb,u=n?l:i;s<t&&c<d;)r=u||g(n,c,i),s+=r,c++;return o=s-t,o>0?(c--,o=r-o):o=t-s,{row:c,rowOffset:o}}function C(e,t){var r=t.x,o=t.y,i={},n={},a=S(e,o);return A(a,i,["row","rowOffset"]),a=y(e,r),A(a,i,["col","colOffset"]),a=S(e,o+t.height),A(a,n,["row","rowOffset"]),a=y(e,r+t.width),A(a,n,["col","colOffset"]),{startPoint:i,endPoint:n}}function w(e,t){if(!t)return!1;if(t.items)return t.items[e]&&t.items[e].viewCollapsed;if(!t.itemsData)return!1;t.collapseIndexMap||x(t);var r=t.collapseIndexMap;return!!r[e]}t.isCollapsed=w;function x(e){var t,r,o,i,n,a,l,s=e.itemsData,c=e.collapseIndexMap={},d=!1;if(0===e.direction){for(t=s.length-1;t>=0;t--)if(o=s[t],o&&1===o.count&&o.info&&o.info.collapsed){for(i=o.index+o.count,n=t+1;n<s.length;n++)a=s[n],a&&a.info&&a.info.level>o.info.level&&a.index===i&&(i=a.index+a.count);for(l=o.index+1;l<i;l++)c[l]=!0}}else for(r=s.length,t=0;t<r;t++)if(o=s[t],o&&1===o.count&&o.info&&o.info.collapsed){if(i=o.index-1,i<0&&o.info.level===-1)break;for(n=t-1;n>=0;n--)a=s[n],a&&a.info&&a.info.level>o.info.level&&a.index+a.count-1===i&&(i=a.index-1);for(l=i+1;l<o.index;l++)c[l]=!0}}s=7;function A(e,t,r){r.forEach(function(r){void 0!==e[r]&&(t[r]=e[r])})}function T(e,t){var r,n,a,c,d,u,f,b,p,g,y,S,C,w,x,T,v={};return A(t,v,["fontSize","fontStyle","fontFamily","fontWeight","textDecoration","text","autoSize","dynamicMove","dynamicSize","locked","lockText","displayMode"]),r=e.forzenRowCount||0,n=e.forzenColumnCount||0,a=t.row,c=t.col,d=t.anchor,u=h(e,n,c+1),f=m(e,r,a),v.rowIndex=a-r,v.colIndex=c-n,d?(b=h(e,n,d[0])+d[1]-s,p=m(e,r,d[2])+d[3]-s,g=h(e,n,d[4])+d[5]+s,y=m(e,r,d[6])+d[7]+s,v.location={x:b-u,y:p-f},v.width=g-b,v.height=y-p,V(e,d)):(v.location={x:i.UnitHelper.pointToPixel(t.marginLeft)-u-s,y:i.UnitHelper.pointToPixel(t.marginTop)-f-s},v.width=k(t.width)+2*s,v.height=k(t.height)+2*s,V(e,l,{x:v.location.x+u,y:v.location.y+f,width:v.width,height:v.height})),S=t.foreColor,S&&S!==i.ExcelColor.EmptyColor&&(v.foreColor=i.ColorHelper.toRGBColor(S)),S=t.backColor,S&&(v.backColor=S.split(" ")[0]),S=t.borderColor,S&&(v.borderColor=S.split(" ")[0]),C=t.borderWidth,C&&(v.borderWidth=k(C)),v.borderStyle=R(t.dashStyle,t.lineStyle),w=t.zIndex,o.J(w)||(v.zIndex=w),w=t.opacity,o.J(w)||(v.opacity=w),t.autoSize&&(v.autoSize=!0),v.locked=t.locked!==!1,v.lockText=t.lockText!==!1,v.dynamicSize=t.dynamicSize!==!1,v.dynamicMove=t.dynamicMove!==!1,w=t.inset,w&&(x=[0,0,0,0],w.trim().split(",").forEach(function(e,t){var r=e||["0.1in","0.05in"][t%2];x[t]=F(r)}),v.padding={left:x[0],top:x[1],right:x[2],bottom:x[3]}),T=["left","center","right"].indexOf(t.hAlign),T!==-1&&(v.horizontalAlign=T),v}t.convertFromExcelComment=T;function v(e,t){var r,n,a,l,c,d,u=t.rowIndex,f=t.colIndex,b=t.location||{x:9,y:-18},p={row:u,col:f};return o.J(t.width)&&(t.width=160),o.J(t.height)&&(t.height=100),t.fontFamily=t.fontFamily||"Arial",t.borderColor=t.borderColor||"black",t.backColor=t.backColor||"#FFFFE1",A(t,p,["zIndex","opacity","fontStyle","fontFamily","fontWeight","textDecoration","text","autoSize","dynamicMove","dynamicSize","locked","lockText","displayMode","backColor","borderColor"]),r=h(e,0,f+1),n=m(e,0,u),p.marginLeft=i.UnitHelper.pixelToPoint(r+b.x+s),p.marginTop=i.UnitHelper.pixelToPoint(n+b.y+s),p.width=i.UnitHelper.pixelToPoint(t.width-2*s)+"pt",p.height=i.UnitHelper.pixelToPoint(t.height-2*s)+"pt",a=t.fontSize||"9pt",a.indexOf("px")!==-1?p.fontSize=i.UnitHelper.pixelToPoint(parseFloat(a)):p.fontSize=a.replace("pt",""),l=t.foreColor,p.foreColor=l&&i.ColorHelper.toExcelColor(l),p.borderWidth=i.UnitHelper.pixelToPoint(t.borderWidth||1)+"pt",c=E(t.borderStyle),p.dashStyle=c.dashStyle,p.lineStyle=c.lineStyle,d=t.padding,d&&(p.inset=[i.UnitHelper.pixelToPoint(d.left)+"pt",i.UnitHelper.pixelToPoint(d.top)+"pt",i.UnitHelper.pixelToPoint(d.right)+"pt",i.UnitHelper.pixelToPoint(d.bottom)+"pt"].join(",")),p.hAlign=["Left","Center","Right"][t.horizontalAlign||0]||"Left",p.visibility=1===t.displayMode?"visible":"hidden",p}t.convertToExcelComment=v;function k(e){return e?i.UnitHelper.pointToPixel(parseFloat(e.replace("pt",""))):0}function F(e){var t=0;return e.indexOf("in")!==-1?t=72*parseFloat(e.replace("in","").trim()):e.indexOf("cm")!==-1?t=72*parseFloat(e.replace("cm","").trim())/2.54:e.indexOf("mm")!==-1?t=72*parseFloat(e.replace("mm","").trim())/25.4:e.indexOf("pt")!==-1&&(t=parseFloat(e.replace("pt","").trim())),i.UnitHelper.pointToPixel(t)}function R(e,t){if(!o.StringEx.L(t))return"double";if(e)switch(e.toLowerCase()){case"solid":return"solid";case"1 1":return"dotted";case"dash":case"dashdot":case"longdash":case"longdashdot":case"longdashdotdot":return"dashed"}return"solid"}function E(e){var t,r;if(e)switch(e.toLowerCase()){case"solid":t="solid";break;case"dotted":t="1 1";break;case"dashed":t="dash";break;case"double":r="thinThin"}return{dashStyle:t,lineStyle:r}}function I(e,t){if(e){var r=e.startPoint,o=e.endPoint;t.startRow=r.row,t.startRowOffset=r.rowOffset,t.startRowOffsetEmu=r.rowOffsetEmu,t.startColumn=r.col,t.startColumnOffset=r.colOffset,t.startColumnOffsetEmu=r.colOffsetEmu,t.endRow=o.row,t.endRowOffset=o.rowOffset,t.endRowOffsetEmu=o.rowOffsetEmu,t.endColumn=o.col,t.endColumnOffset=o.colOffset,t.endColumnOffsetEmu=o.colOffsetEmu}}c=1e5;function L(e){return{l:e.l/c,t:e.t/c,r:e.r/c,b:e.b/c}}function D(e){return{l:parseInt((e.l||0)*c,10),t:parseInt((e.t||0)*c,10),r:parseInt((e.r||0)*c,10),b:parseInt((e.b||0)*c,10)}}function B(e,t,r){var o,i=G(r,t.name,"picture"),n={name:i,alt:t.descr};return A(t,n,["src","isVisible","locked","rot"]),de(t.anchor,e,n,t.xfrm),U(t.pictureFormat,n),o=t.srcRect,o&&(n.srcRect=L(o)),n}t.convertFromExcelPicture=B;function P(e,t){return t.twoCellAnchor=Z(e,t),t}t.convertToExcelSlicer=P;function W(e,t){switch(e){case"solid":return"dbl"===t?"double":"solid";case"dot":case"sysDot":return"dotted"}return"dashed"}function _(e){return!e||"hidden"===e}function N(e){switch(e){case"dotted":return"dot";case"dashed":return"dash";case"double":return"dbl"}return"solid"}function M(e,t){var r,o={},n=t.src;return O(n,o),A(t,o,["name","locked","rot"]),o.descr=t.alt,o.twoCellAnchor=Z(e,t,!0),o.hidden=t.isVisible===!1,o.fillColor=i.ColorHelper.toExcelColor(t.backColor),o.lineBorder={width:_(t.borderStyle)?0:t.borderWidth,color:i.ColorHelper.toExcelColor(t.borderColor),style:N(t.borderStyle),noFill:t.noFill},r=t.srcRect,r&&(o.srcRect=D(r)),o}t.convertToExcelPicture=M,d=";base64,";function O(e,t){var r,o=e.indexOf(d);o>0&&(t.base64Image=e.substr(o+d.length),r=e.substr(0,o).split("/").pop(),"x-icon"===r&&(r="png"),t.imageType=r)}t.getPictureInfo=O;function H(e){if(!e)return!1;var t={};return O(e,t),"svg+xml"===t.imageType}t.isSVGPicture=H;function G(e,t,r){function o(e){return e.name===this.name}function i(t){var r=o.bind({name:t});return void 0!==e.filter(r)[0]}t=t||r;for(var n=t,a=1;i(n);)n=t+"_"+a,a++;return n}function U(e,t){var r,o,n,a,l;return e?(r=e.fillFormat,r&&1===r.fillFormatType&&(t.backColor=i.ColorHelper.toRGBColor(r.color)),o=e.lineFormat,void(o&&(t.borderWidth=o.width,n=o.fillFormat,n&&1===n.fillFormatType?t.borderColor=i.ColorHelper.toRGBColor(n.color):n&&0===n.fillFormatType&&(t.noFill=!0),a=o.lineDashType,a&&(l=o.compoundLineType,t.borderStyle=W(a,l))))):null}u=2;function J(e,t,r){e.rowCount<t&&(e.rowCount=t),e.columnCount<r&&(e.columnCount=r)}function z(e,t){var r=0,o=0,i=t.endPoint;i&&(r=i.row,o=i.col),r+=u,o+=u,J(e,r,o)}t.inflateWorksheetByAnchor=z;function V(e,t,r){var o,i,n;t?(o=t[6]+1,i=t[4]+1):(n=C(e,r),o=n.endPoint.row+u,i=n.endPoint.col+u),J(e,o,i)}function j(e,t,r){var o,i,n,a;return o=h(e,0,t.col)+t.colOffset,i=m(e,0,t.row)+t.rowOffset,n=h(e,0,r.col)+r.colOffset,a=m(e,0,r.row)+r.rowOffset,{x:o,y:i,width:n-o,height:a-i}}t.getBounds=j;function X(e,t){return j(e,t.startPoint,t.endPoint)}function K(e,t){var r=t.startPoint,o=h(e,0,r.col)+r.colOffset,i=m(e,0,r.row)+r.rowOffset;return{x:o,y:i,width:t.width,height:t.height}}function q(e){return{x:e.x,y:e.y,width:e.width,height:e.height}}function Y(e,t,r){var o=e.startPoint,i=e.endPoint,n=o.x*t,a=o.y*r,l=i.x*t,s=i.y*r;return{x:n,y:a,width:l-n,height:s-a}}function Q(e,t,r){var o=e.startPoint;return{x:o.x*t,y:o.y*r,width:e.width,height:e.height}}function Z(e,t,r){var i,n,a;return o.J(t.startRow)?C(e,{x:t.x||0,y:t.y||0,width:t.width||0,height:t.height||0}):(r&&(t=$(e,t)),i={row:t.startRow,rowOffset:t.startRowOffset||0,col:t.startColumn,colOffset:t.startColumnOffset||0},n={row:t.endRow,rowOffset:t.endRowOffset||0,col:t.endColumn,colOffset:t.endColumnOffset||0},a=ne(t.dynamicMove,t.dynamicSize),{startPoint:i,endPoint:n,editAs:a})}function $(e,t){var r=t.pictureStretch;return 0===r?t:1===r?ee(e,t):2===r?te(e,t):3===r?re(e,t):t}function ee(e,t){var r,o,i,n,a,l,s,c,d,u,f=e.rowCount,b=e.columnCount,p=t.width,g=t.height,y=t.startRow,S=t.startRowOffset||0,C=t.startColumn,w=t.startColumnOffset||0,x=t.endRow,A=t.endRowOffset||0,T=t.endColumn,v=t.endColumnOffset||0,k=t.originalWidth,F=t.originalHeight,R=Math.min(p,k),E=Math.min(g,F),I=F>g?S:S+(g-F)/2,L=k>p?w:w+(p-k)/2;for(p=R,g=E,r=0,o=y,i=I,n=!1;o<f;)if(a=m(e,o,o+1),o++,r+=a,!n&&(i-=a),i<0&&!n&&(y=o-1<0?0:o-1,S=a+i,n=!0),r>g+I){x=o-1<0?0:o-1,A=a-(r-g-I);break}for(l=0,s=C,c=L,d=!1;s<b;)if(u=h(e,s,s+1),s++,l+=u,!d&&(c-=u),c<0&&!d&&(C=s-1<0?0:s-1,w=u+c,d=!0),l>p+L){T=s-1<0?0:s-1,v=u-(l-p-L);break}return t.width=p,t.height=g,t.startRow=y,t.startRowOffset=S,t.endRow=x,t.endRowOffset=A,t.startColumn=C,t.startColumnOffset=w,t.endColumn=T,t.endColumnOffset=v,t}function te(e,t){var r,o,i,n,a,l,s,c,d=e.rowCount,u=e.columnCount,f=t.width,b=t.height,p=t.startRow,g=t.startRowOffset||0,y=t.startColumn,S=t.startColumnOffset||0,C=t.endRow,w=t.endRowOffset||0,x=t.endColumn,A=t.endColumnOffset||0,T=t.originalWidth,v=t.originalHeight,k=f/b,F=T/v,R=0,E=0,I=f,L=b;if(b>0&&v>0&&k>F)I=F*b,R=S+f/2-I/2,f=I,b=1/F*f;else{if(!(f>0&&T>0&&1/k>1/F))return t;L=1/F*f,E=g+b/2-L/2,b=L,f=F*b}if(R>0){for(;y<u;)if(r=h(e,y,y+1),y++,R-=r,R<0){y--,S=R+r;break}for(o=0,i=y;i<u;)if(n=h(e,i,i+1),i++,o+=n,o>I+S){A=n-(o-I-S),x=i-1<0?0:i-1;break}}else if(E>0){for(;p<d;)if(a=m(e,p,p+1),p++,E-=a,E<0){p--,g=E+a;break}for(l=0,s=p;s<d;)if(c=m(e,s,s+1),s++,l+=c,l>L+g){w=c-(l-L-g),C=s-1<0?0:s-1;break}}return t.width=f,t.height=b,t.startRow=p,t.startRowOffset=g,t.endRow=C,t.endRowOffset=w,t.startColumn=y,t.startColumnOffset=S,t.endColumn=x,t.endColumnOffset=A,t}function re(e,t){var r,o,i,n,a,l,s=e.rowCount,c=e.columnCount,d=t.width,u=t.height,f=t.startRow,b=t.startRowOffset||0,p=t.startColumn,g=t.startColumnOffset||0,y=t.endRow,S=t.endRowOffset||0,C=t.endColumn,w=t.endColumnOffset||0,x=t.originalWidth,A=t.originalHeight;for(d=Math.min(d,x),u=Math.min(u,A),r=0,o=f;o<s;)if(i=m(e,o,o+1),o++,r+=i,r>u+b){y=o-1<0?0:o-1,S=i-(r-u-b);break}for(n=0,a=p;a<c;)if(l=h(e,a,a+1),a++,n+=l,n>d+g){C=a-1<0?0:a-1,w=l-(n-d-g);break}return t.width=d,t.height=u,t.startRow=f,t.startRowOffset=b,t.endRow=y,t.endRowOffset=S,t.startColumn=p,t.startColumnOffset=g,t.endColumn=C,t.endColumnOffset=w,t}function oe(e,t,r,o){var i=t.anchorType;return 0===i?X(e,t):1===i?K(e,t):2===i?q(t):3===i?Y(t,r,o):4===i?Q(t,r,o):null}function ie(e){var t=e.anchorType||e.editAs||0,r=!0,o=!0;return 2===t?(r=!1,o=!1):1===t&&(o=!1),{dynamicMove:r,dynamicSize:o}}function ne(e,t){var r;return e===!1&&t===!1?r=2:t===!1&&(r=1),r}function ae(e,t,r){var o={x:e.x||0,y:e.y||0,width:e.width||0,height:e.height||0};return{startPoint:{x:(o.x/t).toFixed(5),y:(o.y/r).toFixed(5)},endPoint:{x:((o.x+o.width)/t).toFixed(5),y:((o.y+o.height)/r).toFixed(5)}}}function le(e){var t,r,o;return e?(t=i.ColorHelper.toExcelColor(e),r=t.colorType(),2===r?(o=i.ColorHelper.getRGBAColorData(t),{srgbClr:{val:o.rgb}}):3===r?{schemeClr:{val:t.value()}}:null):null}function se(e,t,r){return{x:e.x*r-e.y*t,y:e.x*t+e.y*r}}f=Math.PI/180/6e4;function ce(e){var t,r,i,n,a,l,s,c,d,u,b,h,p,m,g,y,S,C,w,x;if(e&&!o.J(e.rot))return t=e.rot,r=e.off,i=e.ext,n=r.x,a=r.y,l=i.cx,s=i.cy,c=l/2,d=s/2,u=t*f,b=Math.sin(u),h=Math.cos(u),p=n+c,m=a+d,g=[],y=[],[{x:-c,y:-d},{x:c,y:-d},{x:-c,y:d},{x:c,y:d}].forEach(function(e){var t=se(e,b,h);g.push(t.x+p),y.push(t.y+m)}),S=Math.min.apply(null,g),C=Math.max.apply(null,g),w=Math.min.apply(null,y),x=Math.max.apply(null,y),{x:S,y:w,width:C-S,height:x-w}}function de(e,t,r,o){var i,n,a=ce(o)||oe(t,e),l=ie(e);r.dynamicMove=l.dynamicMove,r.dynamicSize=l.dynamicSize,A(a,r,["x","y","width","height"]),0===e.anchorType?(i=o?C(t,a):e,I(i,r)):i=C(t,a),z(t,i),n=e.clientData,n&&(r.isLocked=n.fLocksWithSheet,r.canPrint=n.fPrintsWithSheet)}function ue(e,t){var r,i,n,a,l,s,c,d,u,f,b;return z(e,t),n=o.Util.za(t),a=n&&n.layoutId,l=o.Util.Aa(a),r=l?t.AlternateContent&&t.AlternateContent.Choice&&t.AlternateContent.Choice.GraphicalObjectFrame&&t.AlternateContent.Choice.GraphicalObjectFrame.nvGraphicFramePr:2===t.shapeType?t.nvGraphicFramePr:t.graphicFrame&&t.graphicFrame.nvGraphicFramePr,i=r&&r.cNvPr,s=G(e.charts,i.name,"chart"),c=t.chartSpace,d={name:s,chartSpace:c,isVisible:!i.hidden,alt:i.descr,AlternateContent:t.AlternateContent},de(t,e,d,t.xfrm),u=d.width,f=d.height,b=c.userShapes,b&&(c.userShapes=b.map(function(t){return t.pic?me(e,t,u,f):t.graphicFrame?he(e,t,u,f):void 0})),d}t.convertFromExcelChart=ue;function fe(e,t){var r,o=t.shapeData;return o.editAs=ne(t.dynamicMove,t.dynamicSize),o.clientData={fLocksWithSheet:t.isLocked,fPrintsWithSheet:t.canPrint},r=t.alt,r&&(o.sp?o.sp.nvSpPr.cNvPr.descr=r:o.cxnSp?o.cxnSp.nvCxnSpPr.cNvPr.descr=r:o.grpSp?o.grpSp.nvGrpSpPr.cNvPr.descr=r:o.pic&&(o.pic.nvPicPr.cNvPr.descr=r)),o}t.convertToExcelShape=fe;function be(e,t){var r,i=Z(e,t),n=t.isVisible,a=t.chartSpace,l={anchorType:0,startPoint:i.startPoint,endPoint:i.endPoint,editAs:i.editAs,graphicFrame:{nvGraphicFramePr:{cNvPr:{name:t.name,descr:t.alt||"",hidden:!o.J(n)&&!n}}},clientData:{fLocksWithSheet:t.isLocked,fPrintsWithSheet:t.canPrint},chartSpace:a,AlternateContent:t.AlternateContent},s=1,c=a.userShapes;return c&&c.length>0&&(r=c.map(function(e){var r;return"1"===e.typeName?(r=ge(e,s,t.width,t.height),s++):"2"===e.typeName&&(r=pe(e,s,t.width,t.height),s++),r}).filter(function(e){return!!e}),r.length>0?a.userShapes={relSizeAnchor:r}:delete a.userShapes),l}t.convertToExcelChart=be;function he(e,t,r,o){var i=t.graphicFrame&&t.graphicFrame.nvGraphicFramePr&&t.graphicFrame.nvGraphicFramePr.cNvPr&&t.graphicFrame.nvGraphicFramePr.cNvPr,n=G(e.charts,i.name,"chart"),a=oe(e,t,r,o),l={name:n,chartSpace:t.chartSpace,isVisible:!i.hidden,alt:i.descr};return A(a,l,["x","y","width","height"]),l}function pe(e,t,r,i){var n=ae(e,r,i),a=e.isVisible;return{typeName:e.typeName,anchorType:3,startPoint:n.startPoint,endPoint:n.endPoint,graphicFrame:{nvGraphicFramePr:{cNvPr:{name:e.name,descr:e.alt||"",hidden:!o.J(a)&&!a}}},chartSpace:e.chartSpace}}function me(e,t,r,o){var i,n,a,l,s,c=t.pic&&t.pic.nvPicPr&&t.pic.nvPicPr.cNvPr,d=c.name,u=e.floatingObjects;return u&&(d=G(u,d,"picture")),i=t.pic&&t.pic.blipFill,n=i&&i.blip&&i.blip.blipBlob,a=n&&n.blob,l={name:d,alt:c.descr,src:a,isVisible:!c.hidden},s=oe(e,t,r,o),A(s,l,["x","y","width","height"]),U(t.pictureFormat,l),l}function ge(e,t,r,o){var i,a,l=ae(e,r,o),s={typeName:e.typeName,anchorType:3,startPoint:l.startPoint,endPoint:l.endPoint,pic:{nvPicPr:{cNvPr:{name:e.name,descr:e.alt||""},cNvPicPr:{picLocks:{}}},spPr:{ln:{w:_(e.borderStyle)?0:e.borderWidth},prstGeom:{prst:1,avLst:{}}}},src:e.src},c=s.pic.spPr,d=c.ln,u=le(e.backColor);return u&&(c.solidFill=u),i=le(e.borderColor),i&&(d.solidFill=i),a=N(e.borderStyle),"dbl"===a?d.cmpd=n.Charts.ST_CompoundLine[a]:d.prstDash=n.Charts.ST_PresetLineDashVal[a],s}function ye(e,t){return!(!e||!t||e.color!==t.color||e.type!==t.type)||!e&&!t}t.isBorderEqual=ye,b={backColor:2,foreColor:0,borderBottom:1,borderLeft:1,borderRight:1,borderTop:1,font:0,textDecoration:0};function Se(e,t){var r,i={};for(r in e)e.hasOwnProperty(r)&&(0===b[r]?e[r]!==t[r]&&(i[r]=e[r]):1===b[r]?ye(e[r],t[r])||(i[r]=e[r]):2===b[r]?o.Util.Da(e[r],t[r])||(i[r]=e[r]):i[r]=e[r]);return i}t.processTableCellStyle=Se;function Ce(e,t){var r,o={};for(r in e)e.hasOwnProperty(r)&&(o[r]=e[r]);for(r in b)void 0===e[r]&&void 0!==t[r]&&(o[r]=t[r]);return o}t.resetTableCellStyle=Ce;function we(e,t){var r,o="png",i=e.lastIndexOf(".");return i!==-1&&(o=e.substr(i+1)),"svg"===o&&(o="svg+xml"),r=t(e,!0),r?"data:image/"+o+";base64,"+r:l}t.getImageContent=we;function xe(e){return JSON.parse(JSON.stringify(e))}function Ae(e){var t=e.sp||e.cxnSp||e.grpSp;return t&&(t.spPr&&t.spPr.xfrm||t.grpSpPr&&t.grpSpPr.xfrm)}t.getXFrm=Ae;function Te(e,t){if(e&&5===e.shapeType){var r=t[e.nvSpPr.cNvPr.id];r&&(e.shapeType=7,e.control=r)}}function ve(e,t){var r=e&&e.sp||[];r.forEach(function(e){5===e.shapeType?Te(e,t):3===e.shapeType&&ve(e,t)})}function ke(e,t){var r,o,i={},n=e.controls||{};return de(t,e,i),t.sp?(Te(t.sp,n),i.shapeType=t.sp.shapeType,i.name=t.sp.nvSpPr.cNvPr.name,i.alt=t.sp.nvSpPr.cNvPr.descr,i.shapeData=xe(t)):t.cxnSp?(i.shapeType=t.cxnSp.shapeType,i.name=t.cxnSp.nvCxnSpPr.cNvPr.name,i.alt=t.cxnSp.nvCxnSpPr.cNvPr.descr,i.shapeData=xe(t)):t.grpSp?(ve(t.grpSp,n),i.shapeType=t.grpSp.shapeType,i.name=t.grpSp.nvGrpSpPr.cNvPr.name,i.alt=t.grpSp.nvGrpSpPr.cNvPr.descr,i.shapeData=xe(t)):t.pic&&(r=t.pic,i.shapeType=r.shapeType,i.name=r.nvPicPr.cNvPr.name,i.alt=r.nvPicPr.cNvPr.descr,i.shapeData=xe(t)),o=i.shapeData,o&&o.hidden&&(o.isVisible=!1,i.isVisible=!1,delete o.hidden),i}t.convertFromExcelShape=ke,t.toProtectionOptions={selectLockedCells:"allowSelectLockedCells",selectUnlockedCells:"allowSelectUnlockedCells",autoFilter:"allowFilter",sort:"allowSort",insertColumns:"allowInsertColumns",insertRows:"allowInsertRows",deleteColumns:"allowDeleteColumns",deleteRows:"allowDeleteRows",objects:"allowEditObjects"},t.fromProtectionOptions={allowSelectLockedCells:"selectLockedCells",allowSelectUnlockedCells:"selectUnlockedCells",allowFilter:"autoFilter",allowSort:"sort",allowInsertColumns:"insertColumns",allowInsertRows:"insertRows",allowDeleteColumns:"deleteColumns",allowDeleteRows:"deleteRows",allowEditObjects:"objects"},t.excelSupportProtectionOptions={formatCells:!0,formatColumns:!0,formatRows:!0,insertColumns:!0,insertRows:!0,insertHyperlinks:!0,deleteColumns:!0,deleteRows:!0,sort:!0,autoFilter:!0,pivotTables:!0};function Fe(e){return Ee(e)?(e>4294934530&&e<4294967296&&(e-=4294967296),e):e}t.convertFirstPageNumber=Fe;function Re(e){return Ee(e)?(e<0&&(e+=4294967296),e):e}t.convertFirstPageNumberToExcel=Re;function Ee(e){return"string"==typeof e&&(e=+e),!(isNaN(e)||!isFinite(e))}},"./src/datamodel/excel-style.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A,T,v,k,F,R,E,I,L,D,B,P,W,_,N,M,O,H,G;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/builtIn-resource.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/xml-io/xml-reader.ts"),l=r("./src/xlsx-io/reader/style-reader.ts"),s=null,c=void 0,d="Headings",u="Body",f="Calibri",b="bold",h="italic",function(e){e[e.none=0]="none",e[e.major=1]="major",e[e.minor=2]="minor",e[e.ninched=255]="ninched"}(p=t.FontSchemeCategory||(t.FontSchemeCategory={})),function(e){e[e.top=0]="top",e[e.center=1]="center",e[e.bottom=2]="bottom",e[e.justify=3]="justify",e[e.distributed=4]="distributed"}(m=t.ExcelVerticalAlignment||(t.ExcelVerticalAlignment={})),function(e){e[e.general=0]="general",e[e.left=1]="left",e[e.center=2]="center",e[e.right=3]="right",e[e.fill=4]="fill",e[e.justify=5]="justify",e[e.centerContinuous=6]="centerContinuous",e[e.distributed=7]="distributed"}(g=t.ExcelHorizontalAlignment||(t.ExcelHorizontalAlignment={})),function(e){e[e.accordingToContext=0]="accordingToContext",e[e.leftToRight=1]="leftToRight",e[e.rightToLeft=2]="rightToLeft"}(y=t.TextDirection||(t.TextDirection={})),function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.double=2]="double",e[e.singleaccounting=3]="singleaccounting",e[e.doubleaccounting=4]="doubleaccounting"}(S=t.UnderLineStyle||(t.UnderLineStyle={})),function(e){e[e.baseLine=0]="baseLine",e[e.superscript=1]="superscript",e[e.subscript=2]="subscript"}(C=t.VertAlign||(t.VertAlign={})),function(e){e[e.none=0]="none",e[e.thin=1]="thin",e[e.medium=2]="medium",e[e.dashed=3]="dashed",e[e.dotted=4]="dotted",e[e.thick=5]="thick",e[e.double=6]="double",e[e.hair=7]="hair",e[e.mediumDashed=8]="mediumDashed",e[e.dashDot=9]="dashDot",e[e.mediumDashDot=10]="mediumDashDot",e[e.dashDotDot=11]="dashDotDot",e[e.mediumDashDotDot=12]="mediumDashDotDot",e[e.slantDashDot=13]="slantDashDot"}(w=t.ExcelBorderStyle||(t.ExcelBorderStyle={})),function(e){e[e.none=0]="none",e[e.solid=1]="solid",e[e.darkGray=2]="darkGray",e[e.mediumGray=3]="mediumGray",e[e.lightGray=4]="lightGray",e[e.gray125=5]="gray125",e[e.gray0625=6]="gray0625",e[e.darkHorizontal=7]="darkHorizontal",e[e.darkVertical=8]="darkVertical",e[e.darkDown=9]="darkDown",e[e.darkUp=10]="darkUp",e[e.darkGrid=11]="darkGrid",e[e.darkTrellis=12]="darkTrellis",e[e.lightHorizontal=13]="lightHorizontal",e[e.lightVertical=14]="lightVertical",e[e.lightDown=15]="lightDown",e[e.lightUp=16]="lightUp",e[e.lightGrid=17]="lightGrid",e[e.lightTrellis=18]="lightTrellis"}(x=t.FillPatternType||(t.FillPatternType={})),A=function(){function e(e,t,r){var o=this;if(3===e&&t>11&&241!==t&&242!==t&&243!==t&&244!==t&&255!==t)throw Error("themeColorIndexError");if(r>1||r<-1)throw Error("colorTintError");1===e&&32767===t&&(o.Vj=!0),o.Wj=e||2,o.Xj=t||0,o.Yj=r||0}return e.prototype.colorType=function(){return this.Wj},e.prototype.value=function(){return this.Xj},e.prototype.tint=function(){return this.Yj},e.prototype.isAutoColor=function(e){var t=this;return 0===arguments.length?t.Vj:void("boolean"==typeof e&&e!==t.Vj&&(t.Vj=e))},e.prototype.isIndexedColor=function(){return 1===this.Wj},e.prototype.isRGBColor=function(){return 2===this.Wj},e.prototype.isThemeColor=function(){return 3===this.Wj},e.prototype.equals=function(e){return this===e||!!e&&(this.Wj===e.colorType()&&this.value()===e.value()&&this.tint()===e.tint()&&this.isAutoColor()===e.isAutoColor())},e.EmptyColor=new e,e}(),t.ExcelColor=A,T=function(){function e(e,t){this.color=e||null,this.lineStyle=t||0}return e.prototype.equals=function(e){var t=this;return t===e||!!e&&(t.color?t.color.equals(e.color)&&t.lineStyle===e.lineStyle:!e.color&&t.lineStyle===e.lineStyle)},e.prototype.isDefault=function(){return null===this.color&&0===this.lineStyle},e}(),t.ExcelBorderSide=T,v=function(){function e(){var e=this;e.left=new T,e.top=new T,e.right=new T,e.bottom=new T,e.diagonalUp=new T,e.diagonalDown=new T}return e.prototype.clone=function(){var t=this,r=new e;return r.left=t.left?new T(t.left.color,t.left.lineStyle):t.left,r.right=t.right?new T(t.right.color,t.right.lineStyle):t.right,r.top=t.top?new T(t.top.color,t.top.lineStyle):t.top,r.bottom=t.bottom?new T(t.bottom.color,t.bottom.lineStyle):t.bottom,r.diagonalUp=t.diagonalUp?new T(t.diagonalUp.color,t.diagonalUp.lineStyle):t.diagonalUp,r.diagonalDown=t.diagonalDown?new T(t.diagonalDown.color,t.diagonalDown.lineStyle):t.diagonalDown,r},e.prototype.compose=function(e){var t=this;t.left&&t.left.isDefault()&&(t.left=e.left),t.right&&t.right.isDefault()&&(t.right=e.right),t.top&&t.top.isDefault()&&(t.top=e.top),t.bottom&&t.bottom.isDefault()&&(t.bottom=e.bottom),t.diagonalUp&&t.diagonalUp.isDefault()&&(t.diagonalUp=e.diagonalUp),t.diagonalDown&&t.diagonalDown.isDefault()&&(t.diagonalDown=e.diagonalDown)},e.prototype.equals=function(e){var t=this;return t===e||!!e&&(t.left.equals(e.left)&&t.right.equals(e.right)&&t.top.equals(e.top)&&t.bottom.equals(e.bottom)&&t.diagonalUp.equals(e.diagonalUp)&&t.diagonalDown.equals(e.diagonalDown));
25
+ isometricOffAxis4Right:37,isometricOffAxis4Bottom:38,obliqueTopLeft:39,obliqueTop:40,obliqueTopRight:41,obliqueLeft:42,obliqueRight:43,obliqueBottomLeft:44,obliqueBottom:45,obliqueBottomRight:46,perspectiveFront:47,perspectiveLeft:48,perspectiveRight:49,perspectiveAbove:50,perspectiveBelow:51,perspectiveAboveLeftFacing:52,perspectiveAboveRightFacing:53,perspectiveContrastingLeftFacing:54,perspectiveContrastingRightFacing:55,perspectiveHeroicLeftFacing:56,perspectiveHeroicRightFacing:57,perspectiveHeroicExtremeLeftFacing:58,perspectiveHeroicExtremeRightFacing:59,perspectiveRelaxed:60,perspectiveRelaxedModerately:61},Ue(G),t.Charts.ST_PresetCameraType=G,U={tl:0,t:1,tr:2,l:3,r:4,bl:5,b:6,br:7},Ue(U),t.Charts.ST_LightRigDirection=U,J={legacyFlat1:0,legacyFlat2:1,legacyFlat3:2,legacyFlat4:3,legacyNormal1:4,legacyNormal2:5,legacyNormal3:6,legacyNormal4:7,legacyHarsh1:8,legacyHarsh2:9,legacyHarsh3:10,legacyHarsh4:11,threePt:12,balanced:13,soft:14,harsh:15,flood:16,contrasting:17,morning:18,sunrise:19,sunset:20,chilly:21,freezing:22,flat:23,twoPt:24,glow:25,brightRoom:26},Ue(J),t.Charts.ST_LightRigType=J,z={relaxedInset:0,circle:1,slope:2,cross:3,angle:4,softRound:5,convex:6,coolSlant:7,divot:8,riblet:9,hardEdge:10,artDeco:11},Ue(z),t.Charts.ST_BevelPresetType=z,V={legacyMatte:0,legacyPlastic:1,legacyMetal:2,legacyWireframe:3,matte:4,plastic:5,metal:6,warmMatte:7,translucentPowder:8,powder:9,dkEdge:10,softEdge:11,clear:12,flat:13,softmetal:14},Ue(V),t.Charts.ST_PresetMaterialType=V,j={shdw1:0,shdw2:1,shdw3:2,shdw4:3,shdw5:4,shdw6:5,shdw7:6,shdw8:7,shdw9:8,shdw10:9,shdw11:10,shdw12:11,shdw13:12,shdw14:13,shdw15:14,shdw16:15,shdw17:16,shdw18:17,shdw19:18,shdw20:19},Ue(j),t.Charts.ST_PresetShadowVal=j,X={shape:0,circle:1,rect:2},Ue(X),t.Charts.ST_PathShadeType=X,K={none:0,x:1,y:2,xy:3},Ue(K),t.Charts.ST_TileFlipMode=K,q={email:0,screen:1,print:2,hqprint:3,none:4},Ue(q),t.Charts.ST_BlipCompression=q,Y={pct5:0,pct10:1,pct20:2,pct25:3,pct30:4,pct40:5,pct50:6,pct60:7,pct70:8,pct75:9,pct80:10,pct90:11,horz:12,vert:13,ltHorz:14,ltVert:15,dkHorz:16,dkVert:17,narHorz:18,narVert:19,dashHorz:20,dashVert:21,cross:22,dnDiag:23,upDiag:24,ltDnDiag:25,ltUpDiag:26,dkDnDiag:27,dkUpDiag:28,wdDnDiag:29,wdUpDiag:30,dashDnDiag:31,dashUpDiag:32,diagCross:33,smCheck:34,lgCheck:35,smGrid:36,lgGrid:37,dotGrid:38,smConfetti:39,lgConfetti:40,horzBrick:41,diagBrick:42,solidDmnd:43,openDmnd:44,dotDmnd:45,plaid:46,sphere:47,weave:48,divot:49,shingle:50,wave:51,trellis:52,zigZag:53},Ue(Y),t.Charts.ST_PresetPatternVal=Y,Q={png:0,jpg:1,jpeg:2,emf:3},Ue(Q),t.Charts.ST_BobType=Q,Z={over:0,mult:1,screen:2,darken:3,lighten:4},Ue(Z),t.Charts.ST_BlendMode=Z,$={sib:0,tree:1},Ue($),t.Charts.ST_EffectContainerType=$,t.Charts.ST_PathToType={PathLine:0,PathMove:1,PathQuadBez:2,PathCubicBez:3},ee={line:0,lineInv:1,triangle:2,rtTriangle:3,rect:4,diamond:5,parallelogram:6,trapezoid:7,nonIsoscelesTrapezoid:8,pentagon:9,hexagon:10,heptagon:11,octagon:12,decagon:13,dodecagon:14,star4:15,star5:16,star6:17,star7:18,star8:19,star10:20,star12:21,star16:22,star24:23,star32:24,roundRect:25,round1Rect:26,round2SameRect:27,round2DiagRect:28,snipRoundRect:29,snip1Rect:30,snip2SameRect:31,snip2DiagRect:32,plaque:33,ellipse:34,teardrop:35,homePlate:36,chevron:37,pieWedge:38,pie:39,blockArc:40,donut:41,noSmoking:42,rightArrow:43,leftArrow:44,upArrow:45,downArrow:46,stripedRightArrow:47,notchedRightArrow:48,bentUpArrow:49,leftRightArrow:50,upDownArrow:51,leftUpArrow:52,leftRightUpArrow:53,quadArrow:54,leftArrowCallout:55,rightArrowCallout:56,upArrowCallout:57,downArrowCallout:58,leftRightArrowCallout:59,upDownArrowCallout:60,quadArrowCallout:61,bentArrow:62,uturnArrow:63,circularArrow:64,leftCircularArrow:65,leftRightCircularArrow:66,curvedRightArrow:67,curvedLeftArrow:68,curvedUpArrow:69,curvedDownArrow:70,swooshArrow:71,cube:72,can:73,lightningBolt:74,heart:75,sun:76,moon:77,smileyFace:78,irregularSeal1:79,irregularSeal2:80,foldedCorner:81,bevel:82,frame:83,halfFrame:84,corner:85,diagStripe:86,chord:87,arc:88,leftBracket:89,rightBracket:90,leftBrace:91,rightBrace:92,bracketPair:93,bracePair:94,straightConnector1:95,bentConnector2:96,bentConnector3:97,bentConnector4:98,bentConnector5:99,curvedConnector2:100,curvedConnector3:101,curvedConnector4:102,curvedConnector5:103,callout1:104,callout2:105,callout3:106,accentCallout1:107,accentCallout2:108,accentCallout3:109,borderCallout1:110,borderCallout2:111,borderCallout3:112,accentBorderCallout1:113,accentBorderCallout2:114,accentBorderCallout3:115,wedgeRectCallout:116,wedgeRoundRectCallout:117,wedgeEllipseCallout:118,cloudCallout:119,cloud:120,ribbon:121,ribbon2:122,ellipseRibbon:123,ellipseRibbon2:124,leftRightRibbon:125,verticalScroll:126,horizontalScroll:127,wave:128,doubleWave:129,plus:130,flowChartProcess:131,flowChartDecision:132,flowChartInputOutput:133,flowChartPredefinedProcess:134,flowChartInternalStorage:135,flowChartDocument:136,flowChartMultidocument:137,flowChartTerminator:138,flowChartPreparation:139,flowChartManualInput:140,flowChartManualOperation:141,flowChartConnector:142,flowChartPunchedCard:143,flowChartPunchedTape:144,flowChartSummingJunction:145,flowChartOr:146,flowChartCollate:147,flowChartSort:148,flowChartExtract:149,flowChartMerge:150,flowChartOfflineStorage:151,flowChartOnlineStorage:152,flowChartMagneticTape:153,flowChartMagneticDisk:154,flowChartMagneticDrum:155,flowChartDisplay:156,flowChartDelay:157,flowChartAlternateProcess:158,flowChartOffpageConnector:159,actionButtonBlank:160,actionButtonHome:161,actionButtonHelp:162,actionButtonInformation:163,actionButtonForwardNext:164,actionButtonBackPrevious:165,actionButtonEnd:166,actionButtonBeginning:167,actionButtonReturn:168,actionButtonDocument:169,actionButtonSound:170,actionButtonMovie:171,gear6:172,gear9:173,funnel:174,mathPlus:175,mathMinus:176,mathMultiply:177,mathDivide:178,mathEqual:179,mathNotEqual:180,cornerTabs:181,squareTabs:182,plaqueTabs:183,chartX:184,chartStar:185,chartPlus:186},Ue(ee),t.Charts.ST_ShapeType=ee,te={textNoShape:0,textPlain:1,textStop:2,textTriangle:3,textTriangleInverted:4,textChevron:5,textChevronInverted:6,textRingInside:7,textRingOutside:8,textArchUp:9,textArchDown:10,textCircle:11,textButton:12,textArchUpPour:13,textArchDownPour:14,textCirclePour:15,textButtonPour:16,textCurveUp:17,textCurveDown:18,textCanUp:19,textCanDown:20,textWave1:21,textWave2:22,textDoubleWave1:23,textWave4:24,textInflate:25,textDeflate:26,textInflateBottom:27,textDeflateBottom:28,textInflateTop:29,textDeflateTop:30,textDeflateInflate:31,textDeflateInflateDeflate:32,textFadeRight:33,textFadeLeft:34,textFadeUp:35,textFadeDown:36,textSlantUp:37,textSlantDown:38,textCascadeUp:39,textCascadeDown:40},Ue(te),t.Charts.ST_TextShapeType=te,re={none:0,norm:1,lighten:2,lightenLess:3,darken:4,darkenLess:5},Ue(re),t.Charts.ST_PathFillMode=re,oe={none:0,triangle:1,stealth:2,diamond:3,oval:4,arrow:5},Ue(oe),t.Charts.ST_LineEndType=oe,ie={sm:0,med:1,lg:2},Ue(ie),t.Charts.ST_LineEndWidth=ie,ne={sm:0,med:1,lg:2},Ue(ne),t.Charts.ST_LineEndLength=ne,ae={solid:0,dot:1,dash:2,lgDash:3,dashDot:4,lgDashDot:5,lgDashDotDot:6,sysDash:7,sysDot:8,sysDashDot:9,sysDashDotDot:10},Ue(ae),t.Charts.ST_PresetLineDashVal=ae,le={rnd:0,sq:1,flat:2},Ue(le),t.Charts.ST_LineCap=le,se={ctr:0,in:1},Ue(se),t.Charts.ST_PenAlignment=se,ce={sng:0,dbl:1,thickThin:2,thinThick:3,tri:4},Ue(ce),t.Charts.ST_CompoundLine=ce,de={twoCell:0,oneCell:1,absolute:2},Ue(de),t.Charts.ST_EditAs=de,ue={t:0,ctr:1,b:2,just:3,dist:4},Ue(ue),t.Charts.ST_TextAnchoringType=ue,fe={overflow:0,ellipsis:1,clip:2},Ue(fe),t.Charts.ST_TextVertOverflowType=fe,be={overflow:0,clip:1},Ue(be),t.Charts.ST_TextHorzOverflowType=be,he={horz:0,vert:1,vert270:2,wordArtVert:3,eaVert:4,mongolianVert:5,wordArtVertRtl:6},Ue(he),t.Charts.ST_TextVerticalType=he,pe={none:0,square:1},Ue(pe),t.Charts.ST_TextWrappingType=pe;me={alphaLcParenBoth:0,alphaUcParenBoth:1,alphaLcParenR:2,alphaUcParenR:3,alphaLcPeriod:4,alphaUcPeriod:5,arabicParenBoth:6,arabicParenR:7,arabicPeriod:8,arabicPlain:9,romanLcParenBoth:10,romanUcParenBoth:11,romanLcParenR:12,romanUcParenR:13,romanLcPeriod:14,romanUcPeriod:15,circleNumDbPlain:16,circleNumWdBlackPlain:17,circleNumWdWhitePlain:18,arabicDbPeriod:19,arabicDbPlain:20,ea1ChsPeriod:21,ea1ChsPlain:22,ea1ChtPeriod:23,ea1ChtPlain:24,ea1JpnChsDbPeriod:25,ea1JpnKorPlain:26,ea1JpnKorPeriod:27,arabic1Minus:28,arabic2Minus:29,hebrew2Minus:30,thaiAlphaPeriod:31,thaiAlphaParenR:32,thaiAlphaParenBoth:33,thaiNumPeriod:34,thaiNumParenR:35,thaiNumParenBoth:36,hindiAlphaPeriod:37,hindiNumPeriod:38,hindiNumParenR:39,hindiAlpha1Period:40};Ue(me),t.Charts.ST_TextAutonumberScheme=me,ge={none:0,words:1,sng:2,dbl:3,heavy:4,dotted:5,dottedHeavy:6,dash:7,dashHeavy:8,dashLong:9,dashLongHeavy:10,dotDash:11,dotDashHeavy:12,dotDotDash:13,dotDotDashHeavy:14,wavy:15,wavyHeavy:16,wavyDbl:17},Ue(ge),t.Charts.ST_TextUnderlineType=ge,ye={noStrike:0,sngStrike:1,dblStrike:2},Ue(ye),t.Charts.ST_TextStrikeType=ye,Se={none:0,small:1,all:2},Ue(Se),t.Charts.ST_TextCapsType=Se,Ce={l:0,ctr:1,r:2,dec:3},Ue(Ce),t.Charts.ST_TextTabAlignType=Ce,we={l:0,ctr:1,r:2,just:3,justLow:4,dist:5,thaiDist:6},Ue(we),t.Charts.ST_TextAlignType=we,xe={auto:0,t:1,ctr:2,base:3,b:4},Ue(xe),t.Charts.ST_TextFontAlignType=xe,Ae={auto:0},Ue(Ae),t.Charts.ST_StyleColorVal=Ae,t.Charts.CT_PathType={CT_PathToList:0,CT_Path2DArcTo:1,CT_Path2DClose:2},Te={col:0,row:1},Ue(Te),t.Charts.ST_FormulaDirection=Te,ve={cat:0,colorStr:1},Ue(ve),t.Charts.ST_StringDimensionType=ve,ke={val:0,x:1,y:2,size:3,colorVal:4},Ue(ke),t.Charts.ST_NumericDimensionType=ke,Fe={l:0,t:1,r:2,b:3},Ue(Fe),t.Charts.ST_SidePos=Fe,Re={t:1,r:2,l:3,b:4},Ue(Re),t.Charts.ST_2016ChartPosLegend=Re,Ee={min:0,ctr:1,max:2},Ue(Ee),t.Charts.ST_PosAlign=Ee,Ie={hundreds:0,thousands:1,tenThousands:2,hundredThousands:3,millions:4,tenMillions:5,hundredMillions:6,billions:7,trillions:8,percentage:9},Ue(Ie),t.Charts.ST_AxisUnit=Ie,Le={in:1,out:3,cross:0,none:2},Ue(Le),t.Charts.ST_TickMarksType=Le,De={boxWhisker:0,funnel:1,paretoLine:2,regionMap:3,sunburst:4,treemap:5,waterfall:6,clusteredColumn:7},Ue(De),t.Charts.ST_SeriesLayout=De,Be={none:0,banner:1,overlapping:2},Ue(Be),t.Charts.ST_ParentLabelLayout=Be,Pe={none:0,bestFitOnly:1,showAll:2},Ue(Pe),t.Charts.ST_RegionLabelLayout=Pe,We={l:0,r:1},Ue(We),t.Charts.ST_IntervalClosedSide=We,_e={Address:0,AdminDistrict:1,AdminDistrict2:2,AdminDistrict3:3,Continent:4,CountryRegion:5,Locality:6,Ocean:7,Planet:8,PostalCode:9,Region:10,Unsupported:11},Ue(_e),t.Charts.ST_EntityType=_e,Ne={mercator:0,miller:1,robinson:2,albers:3},Ue(Ne),t.Charts.ST_GeoProjectionType=Ne,Me={dataOnly:0,postalCode:1,county:2,state:3,countryRegion:4,countryRegionList:5,world:6},Ue(Me),t.Charts.ST_GeoMappingLevel=Me,Oe={inclusive:0,exclusive:1},Ue(Oe),t.Charts.ST_QuartileMethod=Oe,He={bestFit:0,b:1,ctr:2,inBase:3,inEnd:4,l:5,outEnd:6,r:7,t:8},Ue(He),t.Charts.ST_DataLabelPos=He,Ge={default:0,portrait:1,landscape:2},Ue(Ge),t.Charts.ST_PageOrientation=Ge},"./src/datamodel/datamodel-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/excel-types.ts"),n=r("./src/datamodel/excel-style.ts"),a=r("./src/datamodel/excel-helper.ts"),l=r("./src/datamodel/datetime-helper.ts"),s=r("./src/common/range-parser.ts"),c=r("./src/xml-io/node-helper.ts"),d=o.StringEx.O,u=n.ConverterHelper.convertDxfToStyle,f=c.XmlNodeHelper.He,b=null,h=void 0,p="Normal";function S(e,t,r,o,i,n){var a,l,s,c,d=e.itemsData;d&&(a=d[d.length-1],l=d[d.length-2],s=a&&a.info,c=l&&l.info,s&&(o&&i&&1===a.count?c&&l.index===a.index-1&&c.level===s.level-1?c.collapsed=!0:t>0?d.splice(d.length-2,0,{index:a.index-1,count:1,info:{level:s.level-1,collapsed:!0}}):e.head={collapsed:!0,level:r-1}:!o&&n&&(c&&a.index===l.index+1&&s.level===c.level-1?a.collapsed=!0:t>=a.index+a.count&&d.push({index:a.index+a.count,count:1,info:{level:s.level-1,collapsed:!0}}))))}function C(e,t,r,i,n,a,l,s,c,d){var u={};return u.conType=e,o.J(t)||(u.compareType=t),o.J(r)||(u.expected=r),o.J(i)||(u.ignoreBlank=i),o.J(n)||(u.type=n),o.J(a)||(u.isPercent=a),o.J(l)||(u.item1=l),o.J(s)||(u.item2=s),o.J(c)||(u.ranges=c),o.J(d)||(u.expectTypeId=d),2===e&&(u.ignoreCase=!0),u}function w(e,t){var r,o,i=e.cellColor?0:1,a=t.fill;return a&&(0===a.patternType?r="":(o={},n.ConverterHelper.Ie(a,o),r=o.backColor)),C(3,i,r)}function x(e){if(e.length>0){var t=e[0];if("number"==typeof t)return"number";if("string"==typeof t&&0===t.indexOf("/OADate(")&&t.indexOf(")")===t.length-2)return"date";if("boolean"==typeof t)return"boolean"}return""}function A(e,t,r){var o,i,n={none:0,equal:0,lessThan:4,lessThanOrEqual:5,notEqual:1,greaterThan:2,greaterThanOrEqual:3};switch(e){case"string":o=2;break;case"number":o=1,r=parseFloat(r);break;case"date":o=5,"string"==typeof r&&0===r.indexOf("/OADate(")?(i=parseInt(r.replace("/OADate(",""),10),r=l.DateTimeHelper.Je(i)):r=l.DateTimeHelper.Je(parseInt(r,10)),n={none:0,equal:0,lessThan:2,lessThanOrEqual:3,notEqual:1,greaterThan:4,greaterThanOrEqual:5};break;case"boolean":default:o=11}return C(o,n[t],r)}function T(e,t){var r,o;function i(e){var r,o,i,n,a="notEqual"===e.operator,l=e.value,s=l.indexOf("*"),c=l.lastIndexOf("*");return s!==-1?s===l.length-1&&0!==s?(o=a?3:2,r=C(2,o,l.substring(0,l.length-1))):0===s&&s===c?(o=a?5:4,r=C(2,o,l.substring(1))):(i=a?7:6,s!==-1&&c!==-1&&(l=l.substr(1,l.length-2)),r=C(2,i,l)):(n=x(t),r=A(n,e.operator||"none",l)),r}return e.filter1&&(r=i(e.filter1)),e.filter2&&(o=e.and?1:0,r=C(0,o,b,b,b,b,r,i(e.filter2))),r}function v(e,t){function r(e){var r;return o.J(t)||(r=C(t.conType,t.compareType,e.value)),r}var i;return e.filter1&&(i=r(e.filter1)),i=e.filter2?C(t.conType,t.compareType,b,b,b,b,i,r(e.filter2)):C(t.conType,t.compareType,b,b,b,b,i,b)}function k(e,t,r){var i,n=new o.Range(t.row,r,t.rowCount,1),a=e.type;return 100===a||101===a?i=C(10,b,b,b,a-100,b,b,b,n):16===a?i=C(6,b,0,b,b,b,b,b,b,6):a>=17&&a<=20?i=C(6,b,a-17,b,b,b,b,b,b,2):a>=21&&a<=32?i=C(6,b,a-21,b,b,b,b,b,b,3):a>=0&&a<=15&&(i=C(6,b,a)),i}function F(e,t){var r,o=t.conType;return 1===o&&(r=C(1,t.compareType,b)),r}function R(e){var t=e.top?0:1;return C(8,b,e.value,b,t,e.percent)}function E(e,t){var r=e.top?1:-1;return C(3,t.compareType,e.value,b,r,e.percent)}function I(e){return d(e)?e:"="+e}function L(e){return d(e)||e.length<=2?e:e.substr(1,e.length-2)}function D(e,t){var r=null;return t.forEach(function(t){t.id===e&&(r=t.name)}),r}t.getTableName=D;function B(e,t,r){var o=null;return r.forEach(function(r){r.id===e&&r.columns.forEach(function(e){e.id===t&&(o=e.name)})}),o}t.getTableColumnName=B;function P(e,t,r){var o,i,n=null;for(o=0;o<t.length;o++)if(i=t[o],""+r[i.cacheId].pivotCacheId===e){n=i.name;break}return n}function W(e,t){return t=t||" ",e.map(_).join(t)}function _(e){var t,r=e.row,n=e.col,a=e.rowCount,l=e.colCount,s=n+l-1,c=r+a-1;return o.isRangeWholeRow(e)&&o.isRangeWholeColumn(e)?t="$1:$"+i.ExcelConstants.wb:o.isRangeWholeRow(e)?t=r+1+":"+(c+1):o.isRangeWholeColumn(e)?t=o.IndexHelper.T(n)+":"+o.IndexHelper.T(s):(t=o.IndexHelper.T(n)+(r+1),(a>1||l>1)&&(t+=":"+o.IndexHelper.T(s)+(c+1))),t}m=["fillStyleLst","lnStyleLst","effectStyleLst","bgFillStyleLst"],g=["w","cap","cmpd","algn","prstDash","custDash","round","bevel","miter","headEnd","tailEnd"];function N(e,t){g.forEach(function(r){void 0===t[r]&&void 0!==e[r]&&(t[r]=e[r])})}function M(e,t){e&&N(e,t)}function O(e,t){return!!e[t]}function H(e,t,r,i,n,l){var s,c,d,u=e.Ke;if(r[i]&&r[i][n]){if(s=r[i][n].style,!s)return;c=o.ga._(t.namedStyles,s),c&&(d=a.processTableCellStyle(c,u),d.name="__builtInTableStyle"+e.Le+c.name,o.ga.aa(t.namedStyles,e.Me,d),e.Le++,r[i][n].style=d.name,l[s]=d.name)}}function G(e,t){var r=e.filter(function(e){return e._attr.name===t});return r&&r[0]}function U(e,t){var r=f(e.bk);return r[t]}function J(e){return e.filter(function(e){return!(e.pic&&!e.pic.cameraTool)})}function z(e){return e&&e.indexOf(" ")>=0&&("'"!==e[0]||'"'!==e[0])&&(e="'"+e+"'"),e}y=function(){function e(){var e=this;e.Ne={version:"17.1.3"},e.Ke=b,e.Oe=b,e.Pe=[],e.Qe=[],e.Re=[],e.Se=[],e.Te=1,e.Le=0,e.Ue=0,e.Ve=0,e.We=[],e.Xe=[],e.Ye={},e.Ze={},e.$e=!0,e._e=b,e.af=[],e.bf=!1,e.cf=3,e.df=[],e.ef=[],e.ff="Calibri Light",e.gf="Calibri",e.hf=[],e.if=[],e.jf=[],e.Me={},e.kf=[]}return e.prototype.lf=function(e){this.mf=e,this.pf={}},e.prototype.qf=function(e,t){var r,o,i,n,a,l,s,c,d=this;return d.pf||(d.pf={}),r=this.pf,o=e+","+t,(i=r[o])?i:(n=this.mf,l=n&&n.themeElements&&n.themeElements.fmtScheme,l&&(s=m[e],c=s&&l[s],a=c,c&&(1===e?c=c.ln:0===e&&(c=c.items),a=c[t])),r[o]=a,a)},e.prototype.rf=function(e){var t,r,o,i,n,a,l,s,c;if(e){if(t={name:e.name},e.colorScheme&&(r=e.colorScheme,t.themeColor={name:r.name,text1:r.schemeColors[1],text2:r.schemeColors[3],background1:r.schemeColors[0],background2:r.schemeColors[2],accent1:r.schemeColors[4],accent2:r.schemeColors[5],accent3:r.schemeColors[6],accent4:r.schemeColors[7],accent5:r.schemeColors[8],accent6:r.schemeColors[9],hyperlink:r.schemeColors[10],followedHyperlink:r.schemeColors[11]}),e.fontScheme){for(o=e.fontScheme,i=o.majorFont.runFormattings,n=o.minorFont.runFormattings,a=0,l=i.length;a<l;a++)s=i[a],s&&0===s.fontLanguage&&(c=z(s.typeface),t.headingFont=c,this.ff=c);for(a=0,l=n.length;a<l;a++)s=n[a],s&&0===s.fontLanguage&&(c=z(s.typeface),t.bodyFont=c,this.gf=c)}this.sf=t}},e.prototype.tf=function(e){var t,r;e&&(t=this,t.Ke=n.ConverterHelper.toCellStyle(e,t.ff,t.gf),r={},n.ConverterHelper.setStyleInfoFont(e.font,r,h,h),t.Ke.fontForColumnWidth=r.font,t.Oe=e)},e.prototype.uf=function(e,t){var r,i,a,s,c,d,u,f,b,m,g,y;if(e){if(r=this,i=r.Ne,a=n.ConverterHelper.toCellStyle(e,r.ff,r.gf),!o.J(a.formatter)){for(s=RegExp("\\[DBNum\\d+\\]","ig"),c=s.exec(a.formatter),d=a.formatter;null!==c;)u=c[0],f=parseInt(u.substring(u.indexOf("m")+1,u.indexOf("]")),10),(f>4||4===f&&d.indexOf("[$-412]")<0&&"ko-kr"!==o.Fa())&&(d=d.replace(u,"[DBNum3]")),c=s.exec(a.formatter);a.formatter=d}r.Pe.push(a),b=n.ExtendedNumberFormatHelper.getFormatCode(e),r.Qe.push(l.DateTimeHelper.vf(b)),"@"===b?r.Re.push(!0):r.Re.push(!1),e.isStyleFormat?(m=r.wf(t),m===-1&&(m=r.Ve),r.We.length>m?r.Se[r.Se.length]=r.We[m]:(r.Se[r.Se.length]="__builtInStyle"+r.Te,r.Te++)):(g="",e.parentFormatID!==h&&r.Se.length>e.parentFormatID&&(g=r.Se[e.parentFormatID]),(g===p||"__builtInStyle"===g.substring(0,14)||o.StringEx.L(g))&&(g="__builtInStyle"+r.Te,r.Te++),a.name=g,y=r.Ze[g],"__builtInStyle"===g.substring(0,14)||y===h||e.equals(y)||(a.parentName=g,g="__builtInStyle"+r.Te,r.Te++,a.name=g),i.namedStyles||(i.namedStyles=[]),o.ga.aa(i.namedStyles,r.Me,a),r.Se[r.Se.length]=g)}},e.prototype.wf=function(e){return this.Ye[e]?this.Ye[e]:-1},e.prototype.xf=function(e,t){var r,i,a,l,s,c,d,u,f;if(e){if(r=this,i=r.Ne,r.$e&&(r.yf(),r.$e=!1),a=e.name,l=r._e,l&&e.isBuiltInStyle())for(s=0,c=l.length;s<c;s++)if(d=l[s],d.builtInStyle===e.builtInStyle){a=d.name;break}if(o.ga.Z(r.Me,a)){for(s=0,c=r.af.length;s<c;s++)if(f=r.af[s],f.name===a){r.af[s]=e,r.Xe[s]=e.format(),r.Ye[t]=s;break}r.Ze[a]=e.format(),u=n.ConverterHelper.toCellStyle(e.format(),r.ff,r.gf),u.name=a,o.ga.aa(i.namedStyles,r.Me,u)}else r.Ze[a]=e.format(),r.af.push(e),r.Xe.push(e.format()),r.Ye[t]=r.Xe.length-1,r.We.push(a),i.namedStyles||(i.namedStyles=[]),u=n.ConverterHelper.toCellStyle(e.format(),r.ff,r.gf),u.name=a,o.ga.aa(i.namedStyles,r.Me,u)}},e.prototype.yf=function(){var e,t,r,o,i=this,a=i.Ne;if(i.$e)for(a.namedStyles||(a.namedStyles=[]),i._e=n.BuiltInExcelStyles.getBuiltInStyles(),e=0,t=i._e.length;e<t;e++)r=i._e[e],r&&r.name===p&&(i.Ve=i.Xe.length),i.af.push(r),i.Xe.push(r.format()),i.We.push(r.name),i.Ze[r.name]=r.format(),o=n.ConverterHelper.toCellStyle(r.format(),i.ff,i.gf),o.name=r.name},e.prototype.zf=function(e){this.bf=e},e.prototype.Af=function(e,t){var r=this.Ne;e||(r.showHorizontalScrollbar=e),t||(r.showVerticalScrollbar=t)},e.prototype.Bf=function(e,t,r,o){var i=this.Ne;e||(i.tabStripVisible=e),i.startSheetIndex=r,i.activeSheetIndex=t,i.tabStripRatio=o/1e3},e.prototype.Cf=function(e,t,r){var i={},n=this.Ne;i.name=e,i.index=t,1===r?i.visible=0:2===r&&(i.visible=2),i.allowCellOverflow=!0,i.theme=this.sf,i.defaults=o.Ea(),o.J(n.sheetCount)&&(n.sheetCount=0),n.sheetCount++,n.sheets||(n.sheets={}),n.sheets[e]=i},e.prototype.Df=function(e,t,r){var i,n,a=this.Ne;if(e&&(a.referenceStyle=1,a.sheets))for(i in a.sheets)a.sheets.hasOwnProperty(i)&&(n=a.sheets[i],n.referenceStyle=1,n.colHeaderAutoText=1);a.calculationMode=r,a.iterativeCalculation="1"===t.iterate,a.iterativeCalculationMaximumIterations=o.J(t.count)?100:parseInt(t.count,10),a.iterativeCalculationMaximumChange=o.J(t.delta)?.001:parseFloat(t.delta)},e.prototype.Ef=function(e,t,r){var o=this.Ne,i=o.sheets&&o.sheets[e];r===!1&&(i.rowOutlines||(i.rowOutlines={}),i.rowOutlines.direction=0),t===!1&&(i.columnOutlines||(i.columnOutlines={}),i.columnOutlines.direction=0)},e.prototype.Ff=function(e,t){var r=this.Ne,o=r.sheets&&r.sheets[e];t!==n.ExcelColor.EmptyColor&&(t.isThemeColor()?o.sheetTabColor=n.ColorHelper.getThemeColorName(t):o.sheetTabColor=n.ColorHelper.toRGBColor(t))},e.prototype.Gf=function(e,t,r){var o=this.Ne,i=o.sheets&&o.sheets[e];i.rowCount=t,i.columnCount=r},e.prototype.Hf=function(e,t,r,o,i,a,l,s){var c,d=this.Ne,u=d.sheets&&d.sheets[e];o||(u.rowHeaderVisible=o,u.colHeaderVisible=o),a&&(u.showFormulas=!0),l?u.showZeros=!0:u.showZeros=!1,100!==i&&(u.zoomFactor=i/100),t&&t.isIndexedColor()&&64===t.value()&&(t=null),null===t&&r||(c={},null!==t&&(c.color=""+n.ColorHelper.toRGBColor(t)),r||(c.showVerticalGridline=r,c.showHorizontalGridline=r),u.gridline=c),u.isSelected=s},e.prototype.If=function(e,t,r,o,i,n,a,l,s){var c,d,u,f,b,h,p,m,g=this.Ne,y=g.sheets&&g.sheets[e];if(this.cf===t){for(y.rowCount<=r&&(y.rowCount=r+1),y.columnCount<=o&&(y.columnCount=o+1),c=0,d=n.length;c<d;c++)u=n[c],f=a[c],b=l[c],h=s[c],f===-1&&(f=y.rowCount-1),h===-1&&(h=y.columnCount-1),u=u>=0?u:0,f=f>=0?f:0,b=b>=0?b:0,h=h>=0?h:0,u<y.rowCount&&b<y.columnCount&&(p=Math.min(y.rowCount-u,f-u+1),m=Math.min(y.columnCount-b,h-b+1),p>=1&&m>=1&&(y.selections=y.selections||{},y.selections[c]={row:u,rowCount:p,col:b,colCount:m}));y.selections&&(y.selections.length=n.length),y.activeRow=r>=0&&r<y.rowCount?r:0,y.activeCol=o>=0&&o<y.columnCount?o:0}},e.prototype.Jf=function(e,t,r,i,n){var a,l,s,c,d,u,f,b,h;n&&(a=this.Ne,l=a.sheets&&a.sheets[e],s=this.Kf,c=o.IndexHelper.P(s),d=o.IndexHelper.R(s),u=o.IndexHelper.P(i),f=o.IndexHelper.R(i),r&&t?this.Lf(u,f,e):r&&!t?this.Lf(u,d,e):!r&&t&&this.Lf(c,f,e),r&&(b=r+c,l.rowCount<=b&&(l.rowCount=b),l.frozenRowCount=b,l.frozenTopRow=c),t&&(h=t+d,l.columnCount<=h&&(l.columnCount=h),l.frozenColCount=h,l.frozenLeftCol=d))},e.prototype.Mf=function(e,t,r){var o=this.Ne,i=o.sheets&&o.sheets[e];i.defaults={colHeaderRowHeight:20,rowHeaderColWidth:40,rowHeight:t,colWidth:r}},e.prototype.Nf=function(e,t){var r=this.Ne,o=r.sheets&&r.sheets[e];o.defaults.rowHeight=n.UnitHelper.pointToPixel(t)},e.prototype.Of=function(e,t,r){var o,i=this.Ne,n=i.sheets&&i.sheets[e];isNaN(r)?(o=this.Pf(t),n.defaults._isExcelDefaultColumnWidth=!0):o=this.Qf(r),n.defaults.colWidth=o},e.prototype.Pf=function(e){var t=this.Ke,r=this.getMaxiumDigitWidth(t.fontForColumnWidth?t.fontForColumnWidth:t.font),o=2*Math.ceil(r/4)+1,i=this.Qf(e,r)+o;return 8*Math.ceil(i/8)},e.prototype.Qf=function(e,t){if(0===e)return 0;var r=this.Ke,i=r.fontForColumnWidth?r.fontForColumnWidth:r.font;return Math.floor(Math.floor(256*e)/256*(o.J(t)?this.getMaxiumDigitWidth(i):t)+.5)},e.prototype.getMaxiumDigitWidth=function(e){return this.Rf===h&&(this.Rf=n.UnitHelper.getMaxiumDigitWidth(e)),this.Rf},e.prototype.Sf=function(e){var t=this,r=t.Ne,o=r.sheets&&r.sheets[e],i=o.columnCount||0,n=o.rowCount||0,a=t.Tf,l=t.Uf;o.columnCount=Math.max(i,a+1),o.rowCount=Math.max(n,l+1)},e.prototype.Vf=function(e,t,r,o,n,a,l,s){var c,d,u,f,p,m,g,y,C,w,x,A,T,v,k=this.Ne,F=k.sheets&&k.sheets[e],R=F.columnOutlines&&0===F.columnOutlines.direction,E=this.jf,I=this.Qf(n),L=i.ExcelConstants.vb;for(r>=L-1&&(r=L-1),c=!1,d=t;d<=r;d++){if(u=!1,(l>0||s)&&(d+2>F.columnCount&&(f=F.columnOutlines&&F.columnOutlines.items,l<=0&&(!f||!f[d-1]||f[d-1].level<0)&&(c=!0),c||(F.columnCount=d+2)),c||(F.columnOutlines||(F.columnOutlines={}),F.columnOutlines.items||(F.columnOutlines.items=[]),F.columnOutlines.itemsData||(F.columnOutlines.itemsData=[]),p=F.columnOutlines.items,p[d]={level:l-1,collapsed:s},a&&(u=!0),m=F.columnOutlines.itemsData,g=m[m.length-1],g&&d===g.index+g.count&&g.info.level===l-1&&g.info.collapsed===s?g.count++:m.push({index:d,count:1,info:{level:l-1,collapsed:s}}))),F.columnOutlines&&F.columnOutlines.itemsData&&(y=F.columnOutlines.itemsData,S(y,d,l,R,a,E[d-1]&&E[d-1].hidden)),I!==-1||a){for(F.columns||(F.columns=[]),C=F.columns.length,w=C;w<d;w++)F.columns[w]=b,E[w]=b;x={},A={},x.hidden=a,a&&0===l&&(A.visible=x.visible=!1),I!==-1&&(A.size=x.size=I),x.visible!==!1&&u!==!0||0!==x.size||(A.size=x.size=h),E[d]=x,F.columns[d]=A}1!==o&&(T=this.Se[o],T!==h?this.df[d]={style:T}:o<this.Pe.length&&(this.df[d]={style:this.Pe[o]}),v=this.Pe[o],v&&v.isVerticalText===!0&&this.kf.push(d))}F.columnCount>L&&(F.columnCount=L)},e.prototype.Wf=function(e){var t,r,o,i,n,a,l,s,c,d,u=this,f=u.Ne,b=f.sheets&&f.sheets[e],h=b.defaults,p=b.data,m=b.columns,g=b.columnCount,y=h.colWidth;if(m&&(t=m.length,g<t))for(r=g;r<t;r++)if(o=m[r],o&&o.size===y){i=m.slice(0,r),u.jf=i,b.columns=i,p&&p.columnDataArray&&(p.columnDataArray=p.columnDataArray.slice(0,r));break}if(n=b.rows,a=b.rowCount,l=h.rowHeight,n&&(s=n.length,a<s))for(r=a;r<s;r++)if(c=n[r],c&&c.size===l){d=n.slice(0,r),u.if=d,b.rows=d,p&&p.rowDataArray&&(p.rowDataArray=p.rowDataArray.slice(0,r));break}},e.prototype.Xf=function(e,t,r,i,n){var a=this.Ne,l=a.sheets&&a.sheets[e];l.spans||(l.spans=[]),l.spans.push(new o.Range(t,i,r-t+1,n-i+1))},e.prototype.Yf=function(e,t){var r=this.Ne,o=r.sheets&&r.sheets[e];o.isProtected=t},e.prototype.Zf=function(e,t,r){var o,i,n,l,s=this.Ne,c=s.sheets&&s.sheets[e];for(c.protectionOptions=c.protectionOptions||{},o=0;o<t.length;o++)i=t[o].name,n=t[o].value,l=a.toProtectionOptions[i],l?c.protectionOptions[l]=n:c.protectionOptions[i]=n;r&&c.protectionOptions.allowEditObjects===h&&(c.protectionOptions.allowEditObjects=!0)},e.prototype.$f=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e];o.data||(o.data={}),t=o.data,this.ef.length>0&&(t.rowDataArray=this.ef,this.ef=[]),this.df.length>0&&(t.columnDataArray=this.df,this.df=[]),this.Ke&&(t.defaultDataNode={style:this.Ke}),this.sf&&(o.theme=this.sf),this.Sf(e)},e.prototype._f=function(e,t){var r,o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x=this.Ne,A=x.sheets&&x.sheets[e];if(A&&(r=t?A.rowOutlines:A.columnOutlines))for(o=0===r.direction,i=r.items,n=t?A.rows:A.columns,a=t?this.if:this.jf,l=function(){return o?0:n.length-1},s=function(e){return o?e<n.length:e>=0},c=function(e){return o?e+1:e-1},d=function(e){return o?e-1:e+1},u=function(e,t){var r=i[e];if(r)return r.level<=t?r:u(r.parentIndex,t)},f=l(),b=void 0;s(f);f=c(f))h=i[f],h&&h.level!==-1?(p=d(f),m=i[p],g=!m&&"number"==typeof h.level||m&&m.level<h.level,y=m&&m.level>h.level,S=void 0,C=void 0,g?(S=p,C=!!m&&(m.collapsed||m.viewCollapsed)):y?h.level===-1?C=!1:(w=void 0,w=m.parentIndex===b?m:u(m.parentIndex,h.level),w&&(S=w.parentIndex,C=w.viewCollapsed)):(S=m.parentIndex,C=m.viewCollapsed),h.parentIndex=S,h.viewCollapsed=C,!C&&a[f].hidden&&(n[f].visible=!1)):b=f},e.prototype.ag=function(e,t,r,o,i,a,l){var s,c,d,u,f,p,m,g,y=this.Ne,C=y.sheets&&y.sheets[e],w=C.rowOutlines&&0===C.rowOutlines.direction,x=this.if;if((i>0||a)&&(!w&&t+2>C.rowCount&&(C.rowCount=t+2),C.rowOutlines||(C.rowOutlines={}),C.rowOutlines.items||(C.rowOutlines.items=[]),C.rowOutlines.itemsData||(C.rowOutlines.itemsData=[]),s=C.rowOutlines.items,s[t]={level:i-1,collapsed:a},c=C.rowOutlines.itemsData,d=c[c.length-1],d&&t===d.index+d.count&&d.info.level===i-1&&d.info.collapsed===a?d.count++:c.push({index:t,count:1,info:{level:i-1,collapsed:a}})),u=x[t-1]&&x[t-1].hidden,C.rowOutlines&&C.rowOutlines.itemsData&&S(C.rowOutlines,t,i,w,l,u),i<=0&&t+1>C.rowCount&&(C.rowCount=t+1),r!==-1&&t<C.rowCount&&(f=this.Se[r],f!==h?this.ef[t]={style:f}:r<this.Pe.length&&(this.ef[t]={style:this.Pe[r]})),o!==-1||l){for(C.rows||(C.rows=[]),p=C.rows.length;p<t;p++)C.rows.push(b),x.push(b);m={},g={},m.hidden=l,l&&0===i&&(g.visible=m.visible=!1),o!==-1&&(g.size=m.size=Math.round(n.UnitHelper.pointToPixel(o))),m.visible===!1&&0===m.size&&(g.size=m.size=h),x.push(m),C.rows.push(g)}},e.prototype.bg=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e];o.data||(o.data={}),t=o.data,t.dataTable||(t.dataTable={})},e.prototype.cg=function(e,t){var r=this.Ne,o=r.sheets&&r.sheets[e],i=o.data.dataTable;i[t]||(i[t]={})},e.prototype.dg=function(e,t,r,i){var n,a,l,s=this,c=s.Ne,d=c.sheets&&c.sheets[e],u=d.data.dataTable[t];u[r]||(u[r]={}),n=u[r],a=s.Se[i],a!==h?n.style=a:i<s.Pe.length&&(n.style=s.Pe[i]),s.kf.indexOf(r)>-1&&(l=s.Pe[i],l&&o.J(l.isVerticalText)&&(s.Pe[i].isVerticalText=!1))},e.prototype.eg=function(e,t,r,o){var i,n=this,a=n.Ne,l=a.sheets&&a.sheets[e],s=l.data.dataTable[t];s||(l.data.dataTable[t]=s={}),s[r]||(s[r]={}),i=s[r],i.hyperlink=o},e.prototype.fg=function(e,t){if(t[0]){var r=this,o=r.Ne,i=o.sheets&&o.sheets[e];i&&(i.sharedFormulas=t)}},e.prototype.gg=function(e,t,r,o,i,a,l,s){var c,d,u,f=this,b=f.Ne,h=b.sheets&&b.sheets[e],p=h.data.dataTable[t];if(p[r]||(p[r]={}),c=p[r],o<f.Qe.length&&f.Qe[o]&&"number"==typeof i&&(i=f.hg(i)),void 0!==i&&(c.value=i),void 0!==a&&(c.formula=a),l&&(c.arrayInfo=l),s){for(d=[],u=0;u<s.length;u++)s[u].style?d.push({style:n.ConverterHelper.toRichTextStyle(s[u].style,f.ff,f.gf),text:s[u].text}):d.push(s[u]);c.value={richText:d}}},e.prototype.hg=function(e){return this.bf&&(e+=1462),e=l.DateTimeHelper.Je(e),e instanceof Date&&(e=l.DateTimeHelper.ig(e)),l.DateTimeHelper.jg(e)},e.prototype.kg=function(e){var t,r,o;if(e&&e.length>0){for(n.ColorHelper.useCustomPalette=!0,t={},r=0,o=e.length;r<o;r++)t[r]=n.ColorHelper.fromArgb(e[r]);n.ColorHelper.customPalette=t}},e.prototype.mg=function(){this.cf=3},e.prototype.ng=function(e){this.cf=e},e.prototype.Lf=function(e,t,r){var o=this.Ne,i=o.sheets&&o.sheets[r];i.topCellIndex=e,i.leftCellIndex=t},e.prototype.og=function(){this.Ne.names=[];for(var e in this.Ne.sheets)this.Ne.sheets.hasOwnProperty(e)&&(this.Ne.sheets[e].names=[])},e.prototype.pg=function(e,t,r,o){var i,n;if(r===-1)this.Ne.names.push({name:e,formula:t,row:0,col:0,comment:o});else for(i in this.Ne.sheets)this.Ne.sheets.hasOwnProperty(i)&&(n=this.Ne.sheets[i],n.index===r&&n.names.push({name:e,formula:t,row:0,col:0,comment:o}))},e.prototype.qg=function(e){var t=this.rg[e];return u(t,this.ff,this.gf)},e.prototype.sg=function(e){var t=this.tg[e];return u(t,this.ff,this.gf)},e.prototype.ug=function(e){var t=this.hf[e];return u(t,this.ff,this.gf)},e.prototype.vg=function(e,t){return u(e,this.ff,this.gf,t)},e.prototype.wg=function(e,t){var r,i,n,a=this.Ne.sheets[e];for(a.conditionalFormats||(a.conditionalFormats={rules:[]}),r=0;r<t.rules.length;r++)i=t.rules[r],!o.J(i.dxfId)&&i.dxfId>-1&&(n=this.ug(i.dxfId),n.font&&0===n.font.indexOf("normal normal")&&delete n.font,i.style=n,delete i.dxfId),a.conditionalFormats.rules.push(i)},e.prototype.xg=function(e){return this.Ne.sheets[e].conditionalFormats},e.prototype.yg=function(e,t){var r=this,o=r.Ne,i=o.sheets&&o.sheets[t];i.comments=e.map(function(e){return a.convertFromExcelComment(i,e)})},e.prototype.zg=function(e,t){var r=this,o=r.Ne,i=o.sheets&&o.sheets[t];i.pivotTables=e},e.prototype.Ag=function(e,t){var r=this,o=r.Ne,i=o.sheets&&o.sheets[t],n=e.pictures,a=e.charts,l=e.shapes,s=r.Bg&&r.Bg.importPictureAsFloatingObject;n&&s&&this.Cg(n,i),a&&this.Dg(a,i),l&&(s&&(l=J(l)),this.Eg(l,i))},e.prototype.Cg=function(e,t){t.floatingObjects=t.floatingObjects||[];var r=t.floatingObjects;e.forEach(function(e){var o=a.convertFromExcelPicture(t,e,r);o.typeName="1",r.push(o)})},e.prototype.Dg=function(e,t){t.charts=t.charts||[],e.map(function(e){var r=a.convertFromExcelChart(t,e);t.charts.push(r)})},e.prototype.Fg=function(e,t){var r,o=this,i=o.Ne.pivotCaches;
26
+ if(i)for(r in i)if(i.hasOwnProperty(r)&&i[r]&&i[r][e]===t)return i[r]},e.prototype.Gg=function(e){var t,r,o,i,n,a,l=this,s=e.sp||e.cxnSp,c=s&&s.style,d=s&&s.spPr;c&&(t=c.lnRef,r=void 0,o=void 0,i=d.ln,i||(i={}),t&&(r=t.idx,r&&(o=l.qf(1,r-1),M(o,i),d.ln=i))),n=e.grpSp,n&&(a=n.sp,a&&a.length&&a.forEach(function(e){l.Gg({sp:e})}))},e.prototype.Eg=function(e,t){var r=this;t.shapes=t.shapes||[],e.map(function(e){r.Gg(e);var o=a.convertFromExcelShape(t,e);t.shapes.push(o)})},e.prototype.Hg=function(e,t){var r=this,o=r.Ne,i=o.sheets&&o.sheets[t];i.controls=e},e.prototype.Ig=function(e,t){var r=function(e){var t,r,o=e&&e.nvSpPr&&e.nvSpPr.cNvPr,i=o&&o.extLst&&o.extLst.ext||[];for(t=0;t<i.length;t++)if(r=i[t],r.compatExt)return r.compatExt.spid},o=function(e){return r(e)===t},i=function(e){var t,r,n,a=e&&e.sp||[];for(t=0;t<a.length;t++){if(r=a[t],o(r))return r;if(3===r.shapeType&&(n=i(r)))return n}},n=function(e){var t,r,n;for(t=0;t<e.length;t++)if(r=e[t],7===r.shapeType){if(o(r.shapeData&&r.shapeData.sp))return r.shapeData.sp}else if(3===r.shapeType&&(n=i(r.shapeData.grpSp)))return n},a=this,l=a.Ne,s=l.sheets&&l.sheets[e];return s&&s.shapes&&n(s.shapes)},e.prototype.Jg=function(e,t){var r,o,i,n=this,a=n.Ne,l=a.sheets&&a.sheets[t];for(l.sparklineGroups=e,r=0;r<e.length;r++)for(o=e[r].sparklines,i=0;i<o.length;i++)o[i].row>=l.rowCount&&(l.rowCount=o[i].row+1),o[i].col>=l.columnCount&&(l.columnCount=o[i].col+1)},e.prototype.Kg=function(e,t){var r,o,i,a,l,s,c,d,u,f,b,h=this,p=h.Ne,m=p.sheets&&p.sheets[t];for(m.tables=e,r=0;r<e.length;r++){e[r].row+e[r].rowCount>m.rowCount&&(m.rowCount=e[r].row+e[r].rowCount),e[r].col+e[r].colCount>m.columnCount&&(m.columnCount=e[r].col+e[r].colCount),o=m.data&&m.data.dataTable,i=e[r],a=m.data&&m.data.defaultDataNode&&m.data.defaultDataNode.style&&m.data.defaultDataNode.style.font;for(l in i.style)i.style.hasOwnProperty(l)&&i.style[l]&&i.style[l].font&&(i.style[l].font=n.ConverterHelper.composeFontWeightAndFontStyleToDestFont(i.style[l].font,a));for(s={},c=i.row+i.rowCount,d=i.col+i.colCount,u=i.row;u<c;u++)for(f=i.col;f<d;f++)o[u]&&o[u][f]&&(b=o[u][f].style,O(s,b)?o[u][f].style=s[b]:H(h,p,o,u,f,s))}},e.prototype.Lg=function(e,t,r,i){var n=this.Ne.sheets[e],a,l=[],s=0,c;if(n&&n.data&&n.data.dataTable&&(a=n.data.dataTable))for(;i>0&&s<t.rowCount;)a[t.row+s]&&(c=a[t.row+s][r],o.J(c.value)||(l.push(c.value),i--)),s++;return l},e.prototype.Mg=function(e,t){var r,i,a,l,s,c,d,u=this;if(!o.J(e)&&!o.J(e.range))return r={},r.filterItemMap=[],r.filteredColumns=[],i=e.range,i=new o.Range(i.row+1,i.col,i.rowCount-1,i.colCount),r.range=i,e.filterColumns.forEach(function(e){var n,a=e.autoFilterColumnId+i.col,l=[],s=!1,c=e.colorFilter;c&&(l.push(w(c,u.hf[c.dxfId])),s=!0),n=e.filters,n&&(n.blank&&n.filter.push(""),n.filter.forEach(function(e){l.push(C(2,0,e,n.blank))}),n.dateGroupItem.forEach(function(e){var t=new Date(e.year,e.month>0?e.month-1:e.month,e.day,e.hour,e.minute,e.second);l.push(C(5,0,t,!n.blank))}),s=!0),e.customFilters&&(l.push(T(e.customFilters,o.J(t)?i:u.Lg(t,i,a,1))),s=!0),e.dynamicFilter&&(l.push(k(e.dynamicFilter,i,a)),s=!0),e.top10Filter&&(l.push(R(e.top10Filter)),s=!0),s&&(r.filteredColumns.push(a),r.filterItemMap.push({index:a,conditions:l}))}),a=e.sortInfo,a&&a.dxfId===h?r.sortInfo=a:a&&a.dxfId!==h&&(l=void 0,s=e.sortInfo.isBackColor,c=u.hf[a.dxfId]&&u.hf[a.dxfId].fill,c&&(0===c.patternType?l="":(d={},n.ConverterHelper.Ie(c,d),l="object"==typeof d.backColor?JSON.stringify(d.backColor):d.backColor)),r.sortInfo={ascending:a.ascending,index:a.index,isBackColor:s,color:l}),r},e.prototype.Ng=function(e,t){if(!o.J(e)){var r={};return r.filterItemMap=[],e.filterColumns.forEach(function(e){var o=[],i=e.filters;i&&(i.filter.forEach(function(e){o.push(C(t.conType,0,e,i.blank))}),i.dateGroupItem.forEach(function(e){var r=new Date(e.year,e.month>0?e.month-1:e.month,e.day,e.hour,e.minute,e.second);o.push(C(t.conType,0,r,!i.blank))})),e.customFilters&&o.push(v(e.customFilters,t)),e.dynamicFilter&&o.push(F(e.dynamicFilter,t)),e.top10Filter&&o.push(E(e.top10Filter,t)),r.filterItemMap.push({conditions:o})}),r}},e.prototype.Og=function(e,t){if(!o.J(e)){var r=this,i=r.Ne,n=i.sheets&&i.sheets[e];n.rowFilter=r.Mg(t,e),i.allowAutoExtendFilterRange=!0}},e.prototype.Pg=function(e,t){var r,o,i,n,l,s=this,c=s.Ne,d=c.sheets&&c.sheets[t];d.slicers=d.slicers||[],r=d.slicers,o=[];for(i in c.sheets)c.sheets[i].tables&&(o=o.concat(c.sheets[i].tables));n=[];for(l in c.sheets)c.sheets[l].pivotTables&&(n=n.concat(c.sheets[l].pivotTables));e.forEach(function(e){"pivot"===e.type||"timeline"===e.type?e.pivotName=P(e.pivotCacheId,n,c.pivotCaches):(e.tableName=D(e.tableId,o),e.columnName=B(e.tableId,e.columnId,o),delete e.tableId,delete e.columnId),a.inflateWorksheetByAnchor(d,e),r.push(e)})},e.prototype.Qg=function(e,t){var r,i,n,a,l;o.J(e)||(r=this,i=r.Ne,n=i.sheets&&i.sheets[e],a=r.Rg(t),l=n.validations,l||(l=n.validations=[]),a.ranges=W(t.ranges,", "),l.push(a))},e.prototype.Rg=function(e){var t,r,i,n,a,l,s,c;if(o.J(e))return b;switch(t=e.type,r=e.compareOperator,i=e.firstFormula,n=e.secondFormula,a={type:t},t){case 0:break;case 1:case 2:case 6:l={operator:r,value1:I(i),value2:I(n)};break;case 3:s=i,o.J(s)&&(s=n),s&&(l='"'===s[0]&&'"'===s[s.length-1]?{value:L(s)}:{formula:I(s)});break;case 4:case 5:c=void 0,o.J(i)||(c=parseFloat(i),isNaN(c)||(i=this.hg(c))),o.J(n)||(c=parseFloat(n),isNaN(c)||(n=this.hg(c))),l={operator:r,value1:i&&i.indexOf("/OADate(")!==-1?i:I(i),value2:n&&n.indexOf("/OADate(")!==-1?n:I(n)};break;case 7:l={formula:I(i)}}return l&&(a.validatorInfo=l),a!==b&&(a.errorStyle=e.errorType,a.errorMessage=e.error,a.errorTitle=e.errorTitle,a.ignoreBlank=e.allowBlank,a.inCellDropdown=e.showPromptBox,a.inputMessage=e.prompt,a.inputTitle=e.promptTitle,a.showErrorMessage=e.showErrorMessage,a.showInputMessage=e.showInputMessage),a},e.prototype.Sg=function(e,t){var r,i,n,a;function l(e){return e=e||0,parseInt(Math.round(100*e),10)}o.J(e)||(r=this,i=r.Ne,n=i.sheets&&i.sheets[e],n.printInfo||(n.printInfo={}),a=n.printInfo,a.margin={top:l(t.top),bottom:l(t.bottom),left:l(t.left),right:l(t.right),header:l(t.header),footer:l(t.footer)})},e.prototype.Tg=function(e,t){var r,i,n,a,l,s,c,d;o.J(e)||(r=this,i=r.Ne,n=i.sheets&&i.sheets[e],n.printInfo||(n.printInfo={}),a=n.printInfo,a.showGridLine=t.printGridLine,l=t.horizontalCentered,s=t.verticalCentered,c=0,l&&s?c=3:l?c=1:s&&(c=2),a.centering=c,d=t.printRowColumnsHeaders?2:1,a.showColumnHeader=d,a.showRowHeader=d)},e.prototype.Ug=function(e,t,r){e.rows||(e.rows=[]);var o=e.rows[t];o?o.pageBreak=r:e.rows[t]={pageBreak:r}},e.prototype.Vg=function(e,t,r){e.columns||(e.columns=[]);var o=e.columns[t];o?o.pageBreak=r:e.columns[t]={pageBreak:r}},e.prototype.Wg=function(e,t){var r,i,n,a,l,s,c,d,u,f,p,m,g,y,S;function C(e){var t,r,o,i,n;if(e===h)return b;if(t=["","",""],e===b||""===e)return t;for(r=0,o=1,i=e.length;r<i;){if(r<i-1){if(n=e.substr(r,2),"&L"===n){o=0,r+=2;continue}if("&C"===n){o=1,r+=2;continue}if("&R"===n){o=2,r+=2;continue}}t[o]=t[o].concat(e[r]),r++}return t}o.J(e)||(r=this,i=r.Ne,n=i.sheets&&i.sheets[e],n.printInfo||(n.printInfo={}),a=n.printInfo,l=t.paperSizeIndex,0!==l&&(a.paperSize={kind:l}),t.useCustomStartingPage&&(a.firstPageNumber=t.firstPageNumber),o.J(t.showColor)||(a.blackAndWhite=!t.showColor),a.orientation=2===t.orientation?2:1,a.pageOrder=2===t.pageOrder?2:1,t.zoomFactor>0&&(a.zoomFactor=t.zoomFactor),t.useSmartPrint&&(t.smartPrintPagesWidth>=1&&(a.fitPagesWide=t.smartPrintPagesWidth),t.smartPrintPagesHeight>=1&&(a.fitPagesTall=t.smartPrintPagesHeight)),s=t.advancedHeadFooterSetting,s&&(c=a.pageHeaderFooter={},a.differentOddAndEvenPages=s.headerFooterDifferentOddEvenPages,a.differentFirstPage=s.headerFooterDifferentFirstPage,d=C(s.headerOddPage),d&&(s.headerFooterDifferentOddEvenPages?c.odd={header:{left:d[0],center:d[1],right:d[2],leftImage:s.headerLeftImage,centerImage:s.headerCenterImage,rightImage:s.headerRightImage}}:c.normal={header:{left:d[0],center:d[1],right:d[2],leftImage:s.headerLeftImage,centerImage:s.headerCenterImage,rightImage:s.headerRightImage}},a.headerLeft=d[0],a.headerCenter=d[1],a.headerRight=d[2]),u=C(s.footerOddPage),u&&(s.headerFooterDifferentOddEvenPages?(c.odd=c.odd||{},c.odd.footer={left:u[0],center:u[1],right:u[2],leftImage:s.footerLeftImage,centerImage:s.footerCenterImage,rightImage:s.footerRightImage}):(c.normal=c.normal||{},c.normal.footer={left:u[0],center:u[1],right:u[2],leftImage:s.footerLeftImage,centerImage:s.footerCenterImage,rightImage:s.footerRightImage}),a.footerLeft=u[0],a.footerCenter=u[1],a.footerRight=u[2]),f=C(s.headerEvenPage),f&&(c.even={header:{left:f[0],center:f[1],right:f[2],leftImage:s.evenHeaderLeftImage,centerImage:s.evenHeaderCenterImage,rightImage:s.evenHeaderRightImage}}),p=C(s.footerEvenPage),p&&(c.even=c.even||{},c.even.footer={left:p[0],center:p[1],right:p[2],leftImage:s.evenFooterLeftImage,centerImage:s.evenFooterCenterImage,rightImage:s.evenFooterRightImage}),m=C(s.headerFirstPage),m&&(c.first={header:{left:m[0],center:m[1],right:m[2],leftImage:s.firstHeaderLeftImage,centerImage:s.firstHeaderCenterImage,rightImage:s.firstHeaderRightImage}}),g=C(s.footerFirstPage),g&&(c.first=c.first||{},c.first.footer={left:g[0],center:g[1],right:g[2],leftImage:s.firstFooterLeftImage,centerImage:s.firstFooterCenterImage,rightImage:s.firstFooterRightImage}),s.headerLeftImage&&(a.headerLeftImage=s.headerLeftImage),s.headerCenterImage&&(a.headerCenterImage=s.headerCenterImage),s.headerRightImage&&(a.headerRightImage=s.headerRightImage),s.footerLeftImage&&(a.footerLeftImage=s.footerLeftImage),s.footerCenterImage&&(a.footerCenterImage=s.footerCenterImage),s.footerRightImage&&(a.footerRightImage=s.footerRightImage)),y=t.rowBreakLines,y&&y.length>0&&y.forEach(function(e){r.Ug(n,e,!0)}),S=t.columnBreakLines,S&&S.length>0&&S.forEach(function(e){r.Vg(n,e,!0)}))},e.prototype.Xg=function(e,t){var r,o,i,n;e<0||(r=this,o=r.Yg(e),o.printInfo||(o.printInfo={}),i=s.getRangesFromString(t),1===i.length&&(n=i[0],n.row>-1&&(o.printInfo.rowStart=n.row),n.rowCount>0&&(o.printInfo.rowEnd=n.row+n.rowCount-1),n.col>-1&&(o.printInfo.columnStart=n.col),n.colCount>0&&(o.printInfo.columnEnd=n.col+n.colCount-1)))},e.prototype.Zg=function(e,t){var r,i,n,a,l;if(!(e<0))for(r=this,i=r.Yg(e),i.printInfo||(i.printInfo={}),n=s.getRangesFromString(t.replace(","," ")),a=0;a<n.length;a++)l=n[a],o.isRangeWholeRow(l)?(i.printInfo.repeatRowStart=l.row,i.printInfo.repeatRowEnd=l.row+l.rowCount-1):o.isRangeWholeColumn(l)&&(i.printInfo.repeatColumnStart=l.col,i.printInfo.repeatColumnEnd=l.col+l.colCount-1)},e.prototype.Yg=function(e){var t,r,o=this.Ne.sheets;for(t in o)if(o.hasOwnProperty(t)&&(r=o[t],r.index===e))return r;return h},e.prototype.$g=function(e){this._g=e,this.ah={},this.bh={}},e.prototype.dh=function(e,t){var r,o,i,n,a,l,s,c,d,u,b,h,p,m,g=this._g,y=+t-1;if(g&&("cm"===e?(r=g.cellMetadata,o=this.ah):"vm"===e&&(r=g.valueMetadata,o=this.bh)),r){if(i=[e,y].join(","),n=o[i])return n;if(a=U(r,y)){l=a.rc,s=l._attr,c=+s.t-1,d=+s.v;try{if(u=f(g.metadataTypes.metadataType),b=f(g.futureMetadata),h=u[c],p=h&&h._attr.name,m=G(b,p))return n={name:p,detail:U(m,d)},o[i]=n,n}catch(e){}}}},e.prototype.eh=function(e){var t=this.dh("cm",e);return t&&"XLDAPR"===t.name},e.prototype.fh=function(e,t){var r=this;o.J(r.Ne.docProps)&&(r.Ne.docProps={}),o.J(r.Ne.docProps.docPropsCore)&&(r.Ne.docProps.docPropsCore={}),r.Ne.docProps.docPropsCore[e]=t},e.prototype.gh=function(e,t){var r=this;o.J(r.Ne.docProps)&&(r.Ne.docProps={}),o.J(r.Ne.docProps.docPropsApp)&&(r.Ne.docProps.docPropsApp={}),r.Ne.docProps.docPropsApp[e]=t},e.prototype.hh=function(e){var t=this;o.J(t.Ne.docProps)&&(t.Ne.docProps={}),o.J(t.Ne.docProps.docPropsCustom)&&(t.Ne.docProps.docPropsCustom=[]),t.Ne.docProps.docPropsCustom=e},e}(),t.ReaderDataModel=y},"./src/datamodel/datamodel-writer.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/excel-types.ts"),n=r("./src/datamodel/excel-style.ts"),a=r("./src/common/excel-types.ts"),l=r("./src/datamodel/excel-helper.ts"),s=r("./src/common/tuple.ts"),c=r("./src/datamodel/datetime-helper.ts"),d=r("./src/excel-io.ts"),u=n.ColorHelper.fromColorToExcelColor,f=n.ColorHelper.toExcelColor,b=o.Util.sa,h=o.Util.ta,p=void 0,m=null,g="__builtInStyle",y="__builtInValidatorStyle",S="__builtInTableStyle",C=/^(__builtInTableStyle\d+)?__builtInStyle\d+$/,w=/^__builtInTableStyle\d+__builtInStyle\d+$/;function T(e){return"string"==typeof e}function v(e){return"string"==typeof e||!e}function k(e){return"object"==typeof e}function F(e){return e.substring(0,19)===S}function R(e){return e.substring(0,23)===y}function E(e){var t=e.formula;return o.J(t)&&(t=e.expected,T(t)&&(t='"'+t+'"')),t}function I(e){var t,r,o;return T(e)&&(t=e.indexOf("/OADate(")+1,r=e.indexOf(")"),0!==t&&r>t&&(o=parseFloat(e.substring(t+7,r)),isNaN(o)||(e=""+o))),e}function L(e,t,r){var o,i=e.tables||[];return i.every(function(e){return!(e.row<=t&&t<=e.row+e.rowCount-1&&e.col<=r&&r<=e.col+e.colCount-1)||(o=e,!1)}),o}function D(e,t,r){var o,i=e.spans||[];return i.every(function(e){return!(e.row<=t&&t<=e.row+e.rowCount-1&&e.col<=r&&r<=e.col+e.colCount-1)||(o=e,!1)}),o}function B(e,t){var r,o=e.spans||[];for(r=0;r<o.length;r++)if(t.row===o[r].row&&t.col===o[r].col){o.splice(r,1);break}}function P(e){if("/OADate("===e.substr(0,8)){var t=parseFloat(e.substr(8,e.length-10));return c.DateTimeHelper.Je(t)}}function W(e,t,r){e.ih||(e.ih={}),e.ih[t]=r}function _(e){return e.defaults?e.defaults.rowHeight:i.DefaultSize.Ab}function N(e){return e.defaults?e.defaults.colWidth:i.DefaultSize.zb}function M(e,t,r){var o=e.data.dataTable[t];if(o&&o[r])return o[r].value}function O(e,t,r){void 0===r&&(r=0);var i=t.row,n=t.col,a=t.rowCount,l=t.colCount;return i===-1&&(i=r,a=e.rowCount),n===-1&&(n=0,l=e.columnCount),i<=0?i=0:(i--,a+=1),new o.Range(i,n,a,l)}t.getFilterRange=O;function H(e){return o.J(e)?e:e.length>=2&&"="===e[0]?e.substring(1):"="===e?"":e}function G(e,t,r,i){var n,a,l;if(1===r.colCount){for(n=[],l=r.row;l<r.row+r.rowCount;l++)a=M(e,l,r.col),o.J(a)||n.push(a);return n.sort(function(e,t){return i?t-e:e-t}),n[t-1]}}function U(e,t,r){var i,n={filterType:1};if(n.isBottom=1===t.type,t.percent&&(n.percent=!0),i=t.expected,!o.J(i))return n.value=i,n.percent&&(i=Math.ceil(r.rowCount%i/100)),o.J(r)?n.filterValue=NaN:n.filterValue=G(e,i,r,!n.isBottom),n}function J(e){var t,r={filterType:1};return r.isBottom=e.type===-1,r.percent=1===e.compareType,t=e.expected,o.J(t)||(r.value=t,r.filterValue=t),r}function z(e,t,r){var o,i,n,a,l={filterType:2};if(0===t.type?l.type=100:1===t.type&&(l.type=101),r===m)return m;for(o=0,i=0,n=0;n<r.rowCount;n++)a=parseFloat(M(e,r.row+n,r.col)),isNaN(a)||(o+=a,i++);return i>0&&(l.value=o/i),l}function V(e){var t=new Date,r=t.getDay(),o=t.getDate(),i=new Date(t),n=new Date(t);switch(e){case 3:i.setDate(o-6);break;case 1:i.setDate(o-1);break;case 0:break;case 2:i.setDate(o+1);break;case 8:i.setDate(o-r-7),n.setDate(o-r-1);break;case 7:i.setDate(o-r),n.setDate(o-r+6);break;case 9:i.setDate(o-r+7),n.setDate(o-r+13);break;case 5:i.setDate(1),i.setMonth(i.getMonth()-1),n.setDate(0);break;case 4:i.setDate(1),n.setMonth(n.getMonth()+1),n.setDate(0);break;case 6:i.setDate(1),i.setMonth(i.getMonth()+1),n.setMonth(n.getMonth()+2),n.setDate(0)}return i.setHours(0),i.setMinutes(0),i.setSeconds(0),n.setHours(23),n.setMinutes(59),n.setSeconds(59),{from:i,to:n}}function j(e){var t,r,o,i,n,a,l=new Date,s=l.getDay(),d=l.getDate(),u=new Date(l),f=new Date(l);switch(e){case 11:u.setDate(d-6);break;case 9:u.setDate(d-1);break;case 8:break;case 10:u.setDate(d+1);break;case 16:u.setDate(d-s-7),f.setDate(d-s-1);break;case 15:u.setDate(d-s),f.setDate(d-s+6);break;case 17:u.setDate(d-s+7),f.setDate(d-s+13);break;case 13:u.setDate(1),u.setMonth(u.getMonth()-1),f.setDate(0);break;case 12:u.setDate(1),f.setMonth(f.getMonth()+1),f.setDate(0);break;case 14:u.setDate(1),u.setMonth(u.getMonth()+1),f.setMonth(f.getMonth()+2),f.setDate(0);break;case 18:t=u.getMonth()-u.getMonth()%3+1+3,r=t+3+3,u.setDate(1),u.setMonth(t),f.setMonth(r),f.setDate(0);break;case 19:o=u.getMonth()-u.getMonth()%3+1,i=o+3,u.setDate(1),u.setMonth(o),f.setMonth(i),f.setDate(0);break;case 20:n=u.getMonth()-u.getMonth()%3+1-3,a=o+3-3,u.setDate(1),u.setMonth(n),f.setMonth(a),f.setDate(0);break;case 21:u.setDate(1),u.setMonth(1),u.setFullYear(u.getFullYear()+1),f.setFullYear(f.getFullYear()+2),f.setMonth(0),f.setDate(0);break;case 22:u.setDate(1),u.setMonth(1),f.setFullYear(f.getFullYear()+1),f.setMonth(0),f.setDate(0);break;case 23:u.setDate(1),u.setMonth(1),u.setMonth(u.getFullYear()-1),f.setMonth(0),f.setDate(0);break;case 40:u.setMonth(0,1),u.setHours(0,0,0,0),f.setHours(23,59,59,999)}return u.setHours(0),u.setMinutes(0),u.setSeconds(0),f.setHours(23),f.setMinutes(59),f.setSeconds(59),{from:c.DateTimeHelper.ig(u),to:c.DateTimeHelper.ig(f)}}function X(e){var t,r=e.expected,o={filterType:2,type:r,conType:e.conType,expectTypeId:e.expectTypeId};return r>=0&&r<=15||r>=21&&r<=32?(t=V(r),t.from&&t.to&&(o.value=t.from,o.maxValue=t.to)):o.type=-1,o}function K(e){if(!o.J(e.compareType)){var t={filterType:4};return t.filter1={},t.filter1.operator=e.compareType,o.J(e.expected)?t.filter1.value=H(e.formula):t.filter1.value=e.expected,t}}function q(e){var t,r,i,n;if(!o.J(e.compareType))return t={filterType:4},t.filter1={},r=e.compareType,i=void 0,n=void 0,6===r?(i=5,n=3,t.and=!0):(i=r,n=r),t.filter1.operator=i,e.item1&&!o.J(e.item1.expected)&&(t.filter1.value=e.item1.expected),e.item2&&!o.J(e.item2.expected)&&(t.filter2={},t.filter2.operator=n,t.filter2.value=e.item2.expected),t}function Y(e){var t=e.expected,r=-1;switch(e.compareType){case 0:return{filterType:3,filter:[t]};case 1:r=1;break;case 2:t+="*";break;case 3:r=1,t+="*";break;case 4:t="*"+t;break;case 5:r=1,t="*"+t;break;case 6:t="*"+t+"*";break;case 7:r=1,t="*"+t+"*"}return{filterType:4,filter1:{operator:r,value:t}}}function Q(e){var t,r,i;if(o.J(e.value1)?o.J(e.item1)||(t=e.item1.expected):t=e.value1,o.J(e.value2)?o.J(e.item2)||(r=e.item2.expected):r=e.value2,!r){switch(i=-1,e.compareType){case 0:return{filterType:3,filter:[t]};case 1:i=1;break;case 2:t+="*";break;case 3:i=1,t+="*";break;case 4:t="*"+t;break;case 5:i=1,t="*"+t;break;case 6:t="*"+t+"*";break;case 7:i=1,t="*"+t+"*";break;case 8:i=2;break;case 9:i=5;break;case 10:i=4;break;case 11:i=3}return{filterType:4,filter1:{operator:i,value:t}}}return 12===e.compareType?{filterType:4,filter1:{operator:3,value:t},filter2:{operator:5,value:r}}:13===e.compareType?{filterType:4,filter1:{operator:4,value:t},filter2:{operator:2,value:r}}:void 0}function Z(e,t){var r;r="/OADate"===e.expected.substring(0,7)?P(e.expected):new Date(e.expected),t.dateGroupItem=t.dateGroupItem||[],t.dateGroupItem.push({year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate(),hour:r.getHours(),minute:r.getMinutes(),second:r.getSeconds(),dateTimeGrouping:2})}function $(e,t){var r,i,n,a=o.J(e.compareType)?e.operator:e.compareType;if(a>=8&&a<=23||40===a)r={filterType:2,type:t},i=j(a),i.from&&i.to&&(r.value=i.from,r.maxValue=i.to);else if(a>=24&&a<=39)r={filterType:2,type:t};else if(a>=0&&a<=7)return n=q(e),e.isWholeDay&&(n.isWholeDay=e.isWholeDay),n;return r}t.getPivotDateFilter=$;function ee(e){var t,r,o;if(0===e.compareType)return t={filterType:3},Z(e,t),t;switch(r=-1,e.compareType){case 0:break;case 1:r=1;break;case 2:r=4;break;case 3:r=5;break;case 4:r=2;break;case 5:r=3}return r!==-1?(o=E(e),o=I(o),{filterType:4,filter1:{operator:r,value:o}}):void 0}function te(e){var t,r,i=[],n=[];for(n.push(e);n.length>0;)t=n.shift(),0===t.conType?(r=t,o.J(r.item1)||n.push(r.item1),o.J(r.item2)||n.push(r.item2)):i.push(t);return i}function re(e){var t=-1;switch(e){case 0:case 2:case 4:case 6:t=0;break;case 1:case 3:case 5:case 7:t=1;break;default:t=0}return t}function oe(e,t){switch(t){case 0:case 1:return e;case 2:case 3:return e.concat("*");case 4:case 5:return"*".concat(e);case 6:case 7:return"*".concat(e).concat("*");default:return e}}function ie(e){var t={filterType:3,filter:[]};return e.forEach(function(e){o.J(e.expected)||t.filter.push(e.expected)}),t}function ne(e,t){return e.every(function(e){return e.conType===t})}function ae(e,t,r){var i,n,a,l,s,c,d,u,f,b,h,p,g;if(0===e.compareType){if(i=te(e),ne(i,5))return n={filterType:3},i.forEach(function(e){Z(e,n)}),n;if(ne(i,2)){if(s=!1,i.length<=2)for(c=0;c<i.length;c++)if(0!==i[c].compareType){s=!0;break}return s?(l={filterType:4},d=i[0],a=re(d.compareType),l.filter1={},l.filter1.operator=a,o.J(d.expected)?l.filter1.value=H(d.formula):l.filter1.value=oe(d.expected,d.compareType),2===i.length&&(d=i[1],a=re(d.compareType),l.filter2={},l.filter2.operator=a,o.J(d.expected)?l.filter2.value=H(d.formula):l.filter2.value=oe(d.expected,d.compareType)),l.and=!1,l):ie(i)}if(ne(i,11)){if(u=!0,i.length<=2&&(u=!1),u)return ie(i);if(i.length>0)return f=i[0],l={filterType:4,filter1:{operator:f.compareType}},o.J(f.expected)?l.filter1.value=H(f.formula):l.filter1.value=f.expected,2===i.length&&(f=i[1],l.filter2={operator:f.compareType},o.J(f.expected)?l.filter2.value=H(f.formula):l.filter2.value=f.expected),l.and=!1,l}return l={filterType:4,and:!1},b=le(t,i[0],r),l.filter1=b.filter1,i.length>1&&(h=le(t,i[1],r),l.filter2=h.filter1),l}if(i=te(e),2===i.length)return l={filterType:4},l.and=!0,p=le(t,i[0],r),o.J(p)||!p.filter1?m:(l.filter1=p.filter1,g=le(t,i[1],r),o.J(g)||!g.filter1?m:(l.filter2=g.filter1,l))}function le(e,t,r){if(e===m)return m;var o=t.conType;if(3===o);else{if(8===o)return U(e,t,r);if(10===o)return z(e,t,r);if(6===o)return X(t);if(11===o||1===o)return K(t);if(2===o)return Y(t);if(5===o)return ee(t);if(0===o)return ae(t,e,r)}}function se(e,t){var r=e.conType;return 3===r?J(e):2===r?q(e):0===r?Q(e):1===r?$(e,t):void 0}function ce(e){var t,r,i;return o.J(e)?m:(t=m,r=m,i=0,i=1===e.compareType?6:7,e.item1&&(t=0===e.item1.conType?ce(e.item1):de(e.item1)),e.item2&&(r=0===e.item2.conType?ce(e.item2):de(e.item2)),new s.Tuple(t,r,i))}function de(e){if(!o.J(e)){var t=e.conType,r,i;return 0===t?ce(e):1===t||7===t?(r=e.compareType,i=e.formula,o.J(i)&&(i=e.expected),new s.Tuple(i,m,r)):4===t?new s.Tuple(o.J(e.formula)?e.expected:e.formula,m,1):12===t||5===t||13===t?(i=E(e),new s.Tuple(i,m,1)):m}}function ue(e){if(e instanceof s.Tuple){var t=e;if(!o.J(t.item1))return ue(t.item1)}else if(!o.J(e))return H(""+e);return""}function fe(e,t,r){var i,n,a,l,s;return o.J(e)?m:(i=de(e.condition),n=m,a=m,o.J(i)||(o.J(i.item1)||(n=ue(i.item1)),o.J(i.item2)||(a=ue(i.item2))),l={},(h(n,t,r)||h(a,t,r))&&(l.external=!0),s=e.type,l.type=s,l.firstFormula=n,l.secondFormula=a,4!==s&&5!==s||(o.J(l.firstFormula)||(l.firstFormula=I(l.firstFormula)),o.J(l.secondFormula)||(l.secondFormula=I(l.secondFormula))),l.compareOperator=e.comparisonOperator,l.allowBlank=e.ignoreBlank,l.error=e.errorMessage,l.errorTitle=e.errorTitle,l.errorStyle=e.errorStyle,l.prompt=e.inputMessage,l.showPromptBox=e.inCellDropdown,l.promptTitle=e.inputTitle,l.showErrorBox=e.showErrorMessage,l.showInputMessage=e.showInputMessage,l)}function be(e,t,r){if(r.ih&&r.ih[e])return r.ih[e];var i=o.ga._(r.namedStyles,e);return i?(W(r,e,i),i):t.ih&&t.ih[e]?t.ih[e]:(i=o.ga._(t.namedStyles,e),i&&W(t,e,i),i)}function he(e,t,r,o){e.forEach(function(e){var i=fe(e,r,o);i.ranges=e.ranges.split(", ").join(" "),t.push(i)})}x={empty:0,thin:1,medium:2,dashed:3,dotted:4,thick:5,double:6,hair:7,mediumDashed:8,dashDot:9,mediumDashDot:10,dashDotDot:11,mediumDashDotDot:12,slantedDashDot:13};function pe(e){if(e){var t={};return e.borderColor&&(t.color=e.borderColor),e.borderStyle&&(t.style=x[e.borderStyle]),t}}function me(e,t){var r,o;if(e){for(r in e)e.hasOwnProperty(r)&&r.indexOf("border")>=0&&(o=e[r],o&&(e[r]=pe(o)));return t&&(e.isSlicerHeader=!0),e}}function ge(e){var t,r,i=e.sheets;if(i)for(t in i)i.hasOwnProperty(t)&&(r=i[t],r.defaults=r.defaults||o.Ea())}function ye(e){var t,r;if(o.J(e)||!Array.isArray(e))return m;for(t=[],r=0;r<e.length;r++)t.push(e[r].text?e[r].text:"");return t.join("")}function Se(e,t){var r=null;return t.forEach(function(t){t.name===e&&(r=t.id)}),r}function Ce(e,t,r){for(var o=0;o<e.styleElements.length;o++)e.styleElements[o].type===t&&(e.styleElements[o].size=r)}function we(e,t){return b(e,t,l.isBorderEqual)}function xe(e,t){return e[t.name]&&b(e[t.name],t,we)}function Ae(e,t){for(var r=t,o=1;e[r];)r=t+"_"+o,o++;return r}function Te(e,t){var r=t;return null!==e&&void 0!==e&&(r=e),(r/100).toFixed(2)}function ve(e){var t,r=e.names;if(r)for(t=0;t<r.length;t++)if("@"===r[t].name){r.splice(t,1);break}}function ke(e){var t,r,o,i,n,a=e.jh;if(a&&a.dataSourceOption&&a.dataSourceOption.schema&&a.dataSourceOption.schema.hierarchy)for(t=a.dataSourceOption.schema.hierarchy,r=a.views.filter(function(t){return t.name===e.addition.dataView.name})[0],o=r.columns,i=0;i<o.length;i++)if(n=o[i],n.outlineColumn||n.value===t.outlineColumn||t.outlineColumn&&n.value===t.outlineColumn.value)return!0}function Fe(e){var t,r,i,n,a,l,s,c,d,u,f,b,h=e.colHeaderRowCount||1;if(e.rowCount+=h,t=e.data,ke(e)){for(r=0;r<h;r++)e.rowOutlines.items.unshift(p);for(i=e.rowOutlines.itemsData,r=0;r<i.length;r++)n=i[r],n.index+=h}for(a=t.dataTable,a||(a=t.dataTable={}),l=e.rowCount-h;l>=0;l--)a[l+h]=a[l];for(s=e.colHeaderData.dataTable,l=0;l<h;l++)a[l]=s&&s[l]||{};if(c=e.colHeaderRowInfos,d=e.defaults&&e.defaults.colHeaderRowHeight,!o.J(d))for(c||(c=[]),l=0;l<h;l++)c[l]?o.J(c[l].size)&&(c[l].size=d):c[l]={size:d};if(c&&c.length>0)for(u=e.rows,u||(e.rows=[]),l=0;l<c.length;l++)e.rows.splice(l,0,c[l]);for(f=t.rowDataArray,f||(f=t.rowDataArray={}),l=e.rowCount-h;l>=0;l--)f[l+h]=f[l];for(b=e.colHeaderData.rowDataArray,l=0;l<h;l++)f[l]=b&&b[l]||{};e.frozenRowCount>0&&(e.frozenRowCount+=h,e.topCellIndex+=h)}function Re(e){var t,r,o,i,n,a=e.colHeaderRowCount||1,l=[],s=e.data,c=s.dataTable,d=c[a-1];if(e.columnCount=e.columnCount||e.columns&&e.columns.length||0,0!==e.rowCount&&0!==e.columnCount){if(d)for(t=0;t<e.columnCount;t++)r={id:t+1},o=d[t],r.name=o&&o.value||"Column"+(t+1),l.push(r);for(i={},t=l.length-1;t>=0;t--)n=l[t],i[n.name]?n.name=n.name+" "+t:i[n.name]=!0;e.tables=[{name:e.name,row:a-1,col:0,rowCount:e.rowCount,colCount:e.columnCount,rowFilter:{range:{row:a,col:0,rowCount:e.rowCount-1,colCount:e.columnCount},showFilterButton:!0},columns:l}]}}function Ee(e,t){var r=e;return r.length>255?r=r.slice(-240):(r=t+" "+r,r.length>250&&(r=e+" "+Math.random().toString(36).slice(-6))),r}function Ie(e){Fe(e),delete e.rowFilter,Re(e)}function Le(e,t){var r,i,a,l,s;o.J(e.numberFormat)||(r=e.numberFormat,i={},a=n.ExtendedNumberFormatHelper.getFormatId(r),l=a.id,s=a.isBuiltIn,s?(i.numberFormatIndex=l,e.numberFormatId=l):(i.numberFormat=new n.ExcelNumerFormat(l,r),e.numberFormatId=i.numberFormat.numberFormatId),t.push(i))}function De(e,t){var r={name:e};return l.getPictureInfo(t,r),r}function Be(e,t,r){var i=m,n=p,a=!1;return o.J(e)||(k(e)?Array.isArray(e)?i=e.join(","):(n=e.richText,n?i=ye(n):o.J(e._code)||(i=e),a=e._code>=99,a&&r<3&&(r=t?2:3)):(i=e,t&&r<1&&(r=1))),{value:i,richText:n,isSpillError:a,dynamicArrayLevel:r}}function Pe(e){return e&&"'"===e[0]&&"'"===e[e.length-1]&&(e=e.substring(1,e.length-1)),e}A=function(){function e(e){var t=this;t.kh(e),t.Ne=e,t.lh={},t.mh=[],t.nh={},t.oh=[],t.ph={},t.qh=[],t.rh={},t.sh={},t.af=[],t.th=[],t.uh={},t.vh={},t.wh={},t.xh={},t.yh={},t.Ah={},t.Bh={},t.hf=[],t.Ch=[],t.Dh=[],t.Eh=e.allowDynamicArray?1:0,t.Fh={},t.Gh={},t.Hh={},t.Ih=[]}return e.prototype.kh=function(e){var t,r,o,i,n,a,l,s,c,d=e.sheetCount||0;if(e.sheetCount=d+(e.sheetTabCount||0),t=e.activeSheetIndex,r=e.activeSheetTabIndex,(void 0===t||t<0)&&void 0!==r&&r>=0&&(e.activeSheetIndex=d+r),o=e.sheetTabs){i=function(t){if(o.hasOwnProperty(t)){var r=o[t];e.dataManager&&e.dataManager.tables&&r.addition&&r.addition.dataView&&r.addition.dataView.tableName&&(r.jh=e.dataManager.tables.filter(function(e){return e.name===r.addition.dataView.tableName})[0]),Ie(r),ve(r)}};for(n in o)i(n);if(a=e.sheets){for(l in o)o.hasOwnProperty(l)&&(a[l]=o[l]);for(s in a)a.hasOwnProperty(s)&&(c=a[s],"number"==typeof c.order&&(c.index=c.order))}else e.sheets=o}void 0===e.startSheetIndex&&(e.startSheetIndex=0)},e.prototype.$e=function(){var e=n.DefaultStyle.Jh(this.Ne);this.lh.Normal=0,this.af.push(e),this.th.push(e),this.vh[e.name]=this.af.length-1},e.prototype.Kh=function(e){var t=e.index;this.uh[t]||(this.uh[t]={}),this.wh[t]||(this.wh[t]={}),this.xh[t]||(this.xh[t]={}),this.yh[t]||(this.yh[t]={}),this.Ah[t]||(this.Ah[t]={})},e.prototype.Lh=function(e,t){var r,i,n,l,s,c,d,u;if(!e||!t)return!1;if(r=!0,!o.StringEx.L(t.fileName)&&(i=this.Mh(t.fileType),!o.StringEx.L(i))){for(n=new a.OverrideContentType,n.partName=t.fileName,n.contentType=i,l=!1,s=0,c=e.length;s<c;s++)if(d=e[s],d instanceof a.OverrideContentType&&d.contentType===n.contentType&&d.partName===n.partName){l=!0;break}l||e.push(n)}if(t.relationFiles&&t.relationFiles.count>0)for(u in t.relationFiles)t.relationFiles.hasOwnProperty(u)&&"count"!==u&&(r=r&&this.Lh(e,t.relationFiles[u]));return r},e.prototype.Mh=function(e){if(o.StringEx.L(e))return"";switch(e){case i.RelationshipConstants.Sa:return i.XFileConstants.Ib;case i.RelationshipConstants.Pa:return i.XFileConstants.Jb;case i.RelationshipConstants.Ua:return i.XFileConstants.Kb;case i.RelationshipConstants.Na:return i.XFileConstants.Lb;case i.RelationshipConstants.Ra:return i.XFileConstants.Mb;case i.RelationshipConstants.Za:return i.XFileConstants.Ob;case i.RelationshipConstants.$a:return i.XFileConstants.Pb;case i.RelationshipConstants._a:return i.XFileConstants._b;case i.RelationshipConstants.eb:return i.XFileConstants.Qb;case i.RelationshipConstants.jb:return i.XFileConstants.fc;case i.RelationshipConstants.kb:return i.XFileConstants.gc;case i.RelationshipConstants.lb:return i.XFileConstants.Rb;case i.RelationshipConstants.mb:return i.XFileConstants.Sb;case i.RelationshipConstants.pb:return i.XFileConstants.Ub;case i.RelationshipConstants.qb:return i.XFileConstants.Tb;case i.RelationshipConstants.ob:return i.XFileConstants.Vb;case i.RelationshipConstants.sb:return i.XFileConstants.fe;case i.RelationshipConstants.Ka:return i.XFileConstants.se;case i.RelationshipConstants.La:return i.XFileConstants.ve;case i.RelationshipConstants.Ma:return i.XFileConstants.ye;case i.RelationshipConstants.Wa:return i.XFileConstants.cc;case i.RelationshipConstants.Xa:return i.XFileConstants.dc;case i.RelationshipConstants.Ya:return i.XFileConstants.ec;case i.RelationshipConstants.bb:return i.XFileConstants.lc;case i.RelationshipConstants.ub:return i.XFileConstants.ic;case i.RelationshipConstants.tb:return i.XFileConstants.hc;default:return""}},e.prototype.Nh=function(e,t,r,o,i){var n,a,s,c,d,u,f,b,h,p,m,y,C,w=this,x=w.Ne,A=x.namedStyles;for(n=0;n<e.length;n++)if(a=e[n])for(s=a.row,c=a.col,d=a.rowCount,u=a.colCount,f=0;f<d;f++)if(b=t[s+f])for(h=0;h<u;h++)if(p=b[c+h],p&&p.style){if("string"==typeof p.style){if(i[p.style]){p.style=i[p.style];continue}p.style=r[p.style]}p.style&&(p.style=l.resetTableCellStyle(p.style,o),p.style.name&&(m=p.style.name,y=m.indexOf(g),w.Oh++,C=S+w.Oh+m.substring(y),p.style.name=C,A.push(p.style),p.style=C,i[m]=C))}},e.prototype.Ph=function(){var e,t,r=this,o=r.Ne;r.$e(),r.Qh();for(e in o.sheets)if(o.sheets.hasOwnProperty(e)){if(t=o.sheets[e],!t)continue;r.Rh(t),r.Kh(t),r.Sh(t),r.Th(t),r.Uh(t),r.Vh(t),r.Wh(t)}ge(r.Ne)},e.prototype.Xh=function(){var e=this;e.onCompleted&&e.onCompleted()},e.prototype.Wh=function(e){var t,r,o=e.conditionalFormats&&e.conditionalFormats.rules;if(o)for(t=0;t<o.length;t++)r=o[t],r.style&&(r.style.isPartFontStyle=!0,r.style.isFormatStyle=!0,r.dxfId=this.Yh(r.style));e.Zh=this.$h(e),this._h(e),this.ai(e),this.bi(e),this.ci(e)},e.prototype.Yh=function(e){var t=this,r=t.hf.indexOf(e);return r===-1&&(r=t.hf.length,t.hf.push(e)),r},e.prototype.di=function(e){var t=this,r=t.Ch.indexOf(e);return r===-1&&(r=t.Ch.length,t.Ch.push(e)),r},e.prototype.ei=function(e){var t=this,r=t.Dh.indexOf(e);return r===-1&&(r=t.Dh.length,
27
+ t.Dh.push(e)),r},e.prototype.ci=function(e){var t=this,r=e.slicers,i=t.fi();r&&r.length>0&&r.forEach(function(e){var r,n,a,l,s,c,u,f,b,h,p,m;if(e&&(r="timeline"===e.type,n=r?d.IO.timelineStyles:d.IO.slicerStyles,"string"==typeof e.style?(a=e.style.toLowerCase().replace(r?/^timeslicerstyle/:/^slicerstyle/,""),n[a]?e.style=n[a]:delete e.style):e.style instanceof Object&&(l=e.style&&e.style.name,s=l&&l.length>11&&n[l.toLowerCase().replace(r?/^timeslicerstyle/:/^slicerstyle/,"")],s&&(e.style.name="CustomSlicerStyle_"+e.name)),c=e.style,!o.J(c&&c.name))){if(u={},!xe(t.nh,c)){u={styleElements:[],name:Ae(t.nh,c.name)},c.name=u.name;for(f in c)if(c.hasOwnProperty(f)&&"name"!==f&&!o.J(c[f]))switch(f){case"headerStyle":case"wholeSlicerStyle":b={},b.type=f,b.dxfId=t.Yh(me(c[f],"headerStyle"===f)),b.tableId=Se(e.tableName,i),u.styleElements.push(b)}t.mh.push(u)}if(r){if(!xe(t.rh,c)){h={styleElements:[],name:Ae(t.rh,c.name)},c.name=u.name;for(p in c)if(c.hasOwnProperty(p)&&"name"!==p&&!o.J(c[p]))switch(p){case"selectionLabelStyle":case"timeLevelStyle":case"periodLabel1Style":case"periodLabel2Style":case"selectedTimeBlockStyle":case"unselectedTimeBlockStyle":case"selectedTimeBlockSpaceStyle":h.styleElements.push({type:p,dxfId:t.ei(me(c[p]))})}t.qh.push(h),t.rh[h.name]=c}}else if(!xe(t.ph,c)){m={styleElements:[],name:Ae(t.nh,c.name)},c.name=u.name;for(p in c)if(c.hasOwnProperty(p)&&"name"!==p&&!o.J(c[p]))switch(p){case"selectedItemWithDataStyle":case"selectedItemWithNoDataStyle":case"unSelectedItemWithDataStyle":case"unSelectedItemWithNoDataStyle":case"hoveredSelectedItemWithDataStyle":case"hoveredSelectedItemWithNoDataStyle":case"hoveredUnSelectedItemWithDataStyle":case"hoveredUnSelectedItemWithNoDataStyle":m.styleElements.push({type:p,dxfId:t.di(me(c[p]))})}t.oh.push(m),t.ph[m.name]=c}}})},e.prototype._h=function(e){var t,r,i=this;function n(e,t){var r,n,a,l,s,c,u,f,b,h;if(e&&(t?(r=e.style&&e.style.name,r&&r.length>10&&d.IO.pivotTableThemes[r.toLowerCase().replace(/^pivotstyle/,"")]&&(e.style.name="CustomPivotTableStyle_"+e.name)):"string"==typeof e.style?d.IO.tableThemes[e.style]?e.style=d.IO.tableThemes[e.style]:delete e.style:e.style instanceof Object&&(n=e.style&&e.style.name,n&&d.IO.tableThemes[n]&&(e.style.name="CustomTableStyle_"+e.name)),a=e.style,!o.J(a&&a.name))){if(xe(i.nh,a))return;l={styleElements:[]},l.name=Ae(i.nh,a.name),a.name=l.name,s=void 0,c=void 0,u=void 0,f=void 0;for(b in a)if(a.hasOwnProperty(b)&&"name"!==b&&void 0!==a[b])switch(b){case"firstRowStripSize":s=a[b];break;case"secondRowStripSize":c=a[b];break;case"firstColumnStripSize":u=a[b];break;case"secondColumnStripSize":f=a[b];break;default:h={},h.type=b,a[b].isPartFontStyle=!0,h.dxfId=i.Yh(a[b]),l.styleElements.push(h)}Ce(l,"firstRowStripStyle",s||1),Ce(l,"secondRowStripStyle",c||1),Ce(l,"firstColumnStripStyle",u||1),Ce(l,"secondColumnStripStyle",f||1),Ce(l,"firstRowStripeStyle",s||1),Ce(l,"secondRowStripeStyle",c||1),Ce(l,"firstColumnStripeStyle",u||1),Ce(l,"secondColumnStripeStyle",f||1),l.isPivot=t,i.mh.push(l),i.nh[l.name]=a}}t=e.pivotTables,t&&t.length>0&&t.forEach(function(e){return n(e,!0)}),r=e.tables,r&&r.length>0&&r.forEach(function(e){return n(e,!1)})},e.prototype.ai=function(e){var t=this,r=e.pivotTables;r&&r.length>0&&r.forEach(function(e){!o.J(e.formats)&&e.formats.length>0&&e.formats.forEach(function(e){var r,i,a,l,s;o.J(e.style)||(e.dxfId=t.Yh(e.style),e.style&&!o.J(e.style.formatter)&&(r=e.style.formatter,i={},a=n.ExtendedNumberFormatHelper.getFormatId(r),l=a.id,s=a.isBuiltIn,s?(i.numberFormatIndex=l,e.style.numberFormatId=l):(i.numberFormat=new n.ExcelNumerFormat(l,r),e.style.numberFormatId=i.numberFormat.numberFormatId),t.Ih.push(i)))}),!o.J(e.fields)&&e.fields.length>0&&e.fields.forEach(function(e){Le(e,t.Ih)}),!o.J(e.dataFields)&&e.dataFields.length>0&&e.dataFields.forEach(function(e){Le(e,t.Ih)})})},e.prototype.bi=function(e){var t,r=e.tables,o=r?r.length:0,i={};for(t=0;t<o;t++)r[t].tableSortInfo=this.gi(r[t].rowFilter);e.hi=i,e.rowFilter&&(e.rowFilter.autoFilterSortInfo=this.gi(e.rowFilter))},e.prototype.Th=function(e){var t,r=this,o=e.rows,i=_(e);for(e.rowsVisibleInfo={},t=0;t<e.rowCount;t++)e.rowsVisibleInfo[t]={},e.rowsVisibleInfo[t].size=o&&o[t]&&o[t].size||i,e.rowsVisibleInfo[t].visible=r.ii(e,t)},e.prototype.Uh=function(e){var t,r,o=e.columns,i=N(e),n=e.columnOutlines;for(e.columnVisibleInfo={},t=0;t<e.columnCount;t++)e.columnVisibleInfo[t]={},r=o&&o[t],e.columnVisibleInfo[t].size=r&&r.size||i,r&&r.visible===!1&&(e.columnVisibleInfo[t].visible=!1),l.isCollapsed(t,n)&&(e.columnVisibleInfo[t].visible=!1)},e.prototype.Rh=function(e){e.rowCount===p&&(e.rowCount=200),e.columnCount===p&&(e.columnCount=20),e.activeRow===p&&(e.activeRow=0),e.activeCol===p&&(e.activeCol=0),e.visible===p&&(e.visible=!0)},e.prototype.Vh=function(e){var t,r,o=e.index,i=this.yh[o],n=e.columnCount,a=e.data&&e.data.defaultDataNode&&e.data.defaultDataNode.style;for(t=0;t<n;t++)r=this.ji(e,-1,t),this.ki(e,i,t,r,a)},e.prototype.Sh=function(e){var t,r,i,n,l,s,c,d,u,f,b,h,g,y,S,C,w,x,A,T,v,k,F,R,E,P,W,_,N,M,O,H,G,U,J,z,V,j,X,K,q,Y,Q,Z,$,ee,te,re=this,oe=e.index,ie=e.data&&e.data.dataTable,ne=e.data&&e.data.rowDataArray,ae=e.defaultData,le=re.Eh,se=re.Hh;if(0!==e.rowCount){if(t=re.li(ie,e,ae)+1,r=re.wh[oe],i=re.xh[oe],n=re.mi(e,t),l=re.Ah[oe],s=57,c=re.ni(e),d=[],u=e.tables,!o.J(u)&&Array.isArray(u))for(f=0;f<u.length;f++)for(b=u[f],h=b.row,g=h+b.rowCount-1,y=h;y<=g;y++)d[y]||(d[y]=!0);for(S={},C=e.data&&e.data.defaultDataNode&&e.data.defaultDataNode.style,w=0;w<=c&&w>=0;w++)if(ie&&ie.hasOwnProperty(w+"")||ne&&ne[w]||d[w]||ae&&ae.hasOwnProperty(w+"")){for(x=re.ki(e,i,w,re.ji(e,w,-1),C),A=s,T=ie&&ie[w],v=ae&&ae[w],k=0;k<t&&k>=0;k++)if(F=L(e,w,k),T&&T.hasOwnProperty(k+"")||F||v&&v.hasOwnProperty(k+"")){if(R=w*t+k,E=void 0,P=void 0,W=m,_=m,N=m,M=T&&T[k],O=v&&v[k],H=p,G=!1,M&&(_=M.formula,N=M.arrayInfo,U=N&&N.isDynamicArray,J=M.value,z=Be(J,U,le),W=z.value,H=z.richText,G=z.isSpillError,le=z.dynamicArrayLevel),!_&&o.J(W)&&O&&(W=Be(O.v,p,le).value),V=!1,F&&(V=!0,j=D(e,w,k),j&&B(e,j)),X=re.oi(e,w,k,r,n[k],x,C,R,W),P=X.styleName,E=X.styleInfo,V){if(F.showHeader!==!1&&w===F.row&&(W=F.columns[k-F.col]&&F.columns[k-F.col].name,W&&W.indexOf("\n")!==-1&&H))for(K=0;K<H.length;K++)H[K].text=o.Util.ua(H[K].text,"\r","");F.showFooter&&w===F.row+F.rowCount-1&&(q=F.columns[k-F.col],o.J(q&&q.footerValue)||(W=""+q.footerValue))}if(Y=re.pi(W,!o.J(H)),Q=Y.value,Q=I(Q),Z=Y.cellType,E||_||Q!==m||!o.StringEx.L(P)){if($=new a.ExcelCell(w,k),$.cellType=Z,$.value=Q,$.richText=H,$.isSpillError=G,$.qi=S[w+","+k],re.dg(r,R,E,P,$),re.ri(_,N,$),N&&N.isDynamicArray&&!$.isSpillError)for(ee=N.row;ee<N.row+N.rowCount;ee++)for(te=N.col;te<N.col+N.colCount;te++)S[ee+","+te]=1;re.ti(oe,w,$),re.ui($,e,w,k,se)}}l[w]=A}re.Eh=le,re.sh={}}},e.prototype.ni=function(e){var t=this.vi(e);return Math.min(e.rowCount-1,t.length>0?t.length:0)},e.prototype.ki=function(e,t,r,i,n){var a,l,s=this;return i&&(a=s.wi(e,i)),a?(a.parentName&&(a.parentName=s.xi(e,a.parentName),l=s.af[s.lh[a.parentName]],o.ga.ca(a,l)),s.yi(e,a,n),o.ga.ba(a)||(t[r]=s.zi(a),a.parentName&&s.isSameStyleInfo(s.af[s.lh[a.parentName]],a,!0)||(a.parentName=m)),i):m},e.prototype.Ai=function(){var t,r,i,n,a,l,s,c,d,u=this,f=u.Ne,b=f.sheets;for(r in b)if(b.hasOwnProperty(r)&&(i=b[r],n=i.namedStyles,n&&n.length>0)){if(!t)if(t={},f.namedStyles)for(a=f.namedStyles,l=0;l<a.length;l++)t[a[l].name]=1;else f.namedStyles=[];for(l=0;l<n.length;l++)if(s=n[l],c=s.name,!R(c)&&!F(c)&&o.J(e.Bi[c])){for(d=s.name;t[d]||d.length>255;)d=Ee(d,i.name);s.name=d,f.namedStyles.push(s),t[d]=1,c!==d&&(i.renamedStyles=i.renamedStyles||{},i.renamedStyles[c]=d)}}},e.prototype.Ci=function(){var t,r,o,i,n,a=this,l=a.Ne,s=l.namedStyles,c={},d={};a.Oh=0,t=e.Jh(l),s?s.forEach(function(e){var t,r,o,i;e&&(t=e.name,c[t]=e,t&&w.test(t)&&(r=19,o=t.indexOf(g),i=parseInt(t.substring(r,o),10),a.Oh=Math.max(i,a.Oh)))}):l.namedStyles=[];for(r in l.sheets)if(l.sheets.hasOwnProperty(r)){if(o=l.sheets[r],!o||!o.data||!o.data.dataTable)continue;if(i=o.tables,n=o.data.dataTable,!i||i.length<=0)continue;a.Nh(i,n,c,t,d)}},e.prototype.Qh=function(){var e,t,r,i,a,l,s,c,d,u,f,b,h,m,g=this,y=g.Ne,S={},C=[];for(S.Normal={},g.Ai(),g.Ci(),g.Di(y.namedStyles,S,C),t=0,r=g.th.length;t<r;t++)e=g.th[t],e&&e.parentName&&o.ga.da(g.th,e);for(i={},a=[],l={},t=0,r=C.length;t<r;t++)s=C[t],c=n.ConverterHelper.toStringStyle(s),i[c]===p?a.push(s):l[s.name]=C[i[c]].name,i[c]=t,s.Ei=c;for(d={},t=0,r=g.af.length;t<r;t++)e=g.af[t],u=n.ConverterHelper.cloneSpreadJSStyle(e),u.parentName=e.name,u.name=p,d[t]=g.lh[e.name]=g.af.length,g.af.push(u),f=n.ConverterHelper.toStringStyle(e),i[f]!==p&&(b=C[i[f]],b&&(g.lh[b.name]=g.lh[e.name],b.added=!0));for(Object.keys(g.vh).forEach(function(e){g.lh[e]===p&&(g.lh[e]=d[g.vh[e]])}),h=o.ga._(y.namedStyles,"Normal"),m=n.ConverterHelper.toStringStyle(h),t=0,r=a.length;t<r;t++)s=a[t],s.added||(s.Ei===m?g.lh[s.name]=0:(g.lh[s.name]=g.af.length,g.af.push(s)));Object.keys(l).forEach(function(e){g.lh[e]=g.lh[l[e]]})},e.prototype.isSameStyleInfo=function(e,t,r,o){if(!e&&!t)return!0;if(!e||!t)return!1;var i,a;return e.Fi||(e.Fi={Gi:n.ConverterHelper.toExtendedFormat(e,this)}),i=e.Fi.Gi,t.Fi||(t.Fi={Gi:n.ConverterHelper.toExtendedFormat(t,this)}),a=t.Fi.Gi,i.equals(a,r,o)},e.prototype.getEqualStyle=function(e,t){var r,o;for(r=0;r<t.length;r++)if(o=t[r],this.isSameStyleInfo(e,o,!0,!0))return o;return m},e.prototype.Di=function(t,r,o){var i,n,a,l,s,c;function d(e){var t,r,o="",i=Object.getOwnPropertyNames(e);for(t=0;t<i.length;t++)r=i[t],k(e[r])?o+=r+":"+JSON.stringify(e[r])+"_":"name"!==r&&(o+=r+":"+e[r]+"_");return o}if(t)for(i={},n=0,a=t.length;n<a;n++)l=t[n],s=l.name,r[s]||(r[s]={},R(s)||F(s)||(s.indexOf(g)>=0?o.push(l):(c=d(l),i.hasOwnProperty(c)?this.vh[l.name]=i[c]:(this.af.push(l),this.th.push(l),this.vh[l.name]=this.af.length-1,e.Bi[l.name]||(i[c]=this.af.length-1)))))},e.prototype.ji=function(e,t,r){var o=e.data,i=m;return o?(t<0&&r>=0?i=o.columnDataArray&&o.columnDataArray[r]?o.columnDataArray[r].style:m:t>=0&&r<0?i=o.rowDataArray&&o.rowDataArray[t]?o.rowDataArray[t].style:m:t>=0&&r>=0&&(i=o.dataTable&&o.dataTable[t]&&o.dataTable[t][r]?e.data.dataTable[t][r].style:m),i):m},e.prototype.Hi=function(){var e,t,r,i=this.Ne,n=m;for(e in i.sheets)if(i.sheets.hasOwnProperty(e)&&(t=i.sheets[e],t&&t.theme)){n=t.theme;break}return n?T(n)?n:(r=n.name,o.StringEx.O(r)?m:("OFFICE"===r.toUpperCase()&&(r="Office Theme"),new a.ExcelTheme(r,this.Ii(n),this.Ji(n)))):m},e.prototype.Ii=function(e){var t=[];return t.push(u(e.themeColor.background1)),t.push(u(e.themeColor.text1)),t.push(u(e.themeColor.background2)),t.push(u(e.themeColor.text2)),t.push(u(e.themeColor.accent1)),t.push(u(e.themeColor.accent2)),t.push(u(e.themeColor.accent3)),t.push(u(e.themeColor.accent4)),t.push(u(e.themeColor.accent5)),t.push(u(e.themeColor.accent6)),t.push(u(e.themeColor.hyperlink)),t.push(u(e.themeColor.followedHyperlink)),new a.ColorScheme(e.themeColor.name,t)},e.prototype.Ji=function(e){var t=Pe(e.headingFont),r=Pe(e.bodyFont),o=new a.ThemeFonts([new a.RunFormatting(0,t)],[]),i=new a.ThemeFonts([new a.RunFormatting(0,r)],[]);return new a.FontScheme(e.name,o,i)},e.prototype.Ki=function(e){return e=Math.min(e,i.ExcelConstants.vb-1),o.IndexHelper.T(e)},e.prototype.Li=function(e,t){var r,o=[],n=new i.DefaultContentType;return n.extension=i.XFileConstants.Eb,n.contentType=i.XFileConstants.Fb,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Gb,n.contentType=i.XFileConstants.Hb,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.nc,n.contentType=i.XFileConstants.pc,o.push(n),t&&(n=new i.DefaultContentType,n.extension=i.XFileConstants.oc,n.contentType=i.XFileConstants.kc,o.push(n)),n=new i.DefaultContentType,n.extension=i.XFileConstants.qc,n.contentType=i.XFileConstants.sc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.tc,n.contentType=i.XFileConstants.uc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.vc,n.contentType=i.XFileConstants.wc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.zc,n.contentType=i.XFileConstants.Ac,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Bc,n.contentType=i.XFileConstants.Cc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Dc,n.contentType=i.XFileConstants.Ec,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.xc,n.contentType=i.XFileConstants.yc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Fc,n.contentType=i.XFileConstants.Gc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Hc,n.contentType=i.XFileConstants.Ic,o.push(n),r=this.Lh(o,e),r?o:m},e.prototype.Mi=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return this.uh[r.index]},e.prototype.Ni=function(e){var t,r,i=this,n=[],l=i.Ne,s=l.sheets&&l.sheets[e],c=i.vi(s),d=Math.min(s.rowCount-1,c.length),u=i.Oi(s.rowOutlines);for(t=0;t<=d;t++)c[t]?(r=i.Pi(s,t,u),(r||r.collapsed||!o.J(r.outLineLevel)&&0!==r.outLineLevel||r.visible===!1||r.formatId>=0)&&(r.customHeight=!isNaN(r.height),n.push(r))):s.rowFilter&&i.Qi(s.rowFilter,t)&&(r=new a.ExcelRow(t),r.visible=!1,n.push(r));return n},e.prototype.Qi=function(e,t){var r,o,i,n=!1;if(e&&(r=e.filteredOutRows))for(o=0;o<r.length;o++)if(i=r[o],t===i){n=!0;break}return n},e.prototype.ii=function(e,t){var r=e.rows,o=e.rowOutlines;return(!r||!r[t]||r[t].visible!==!1)&&!l.isCollapsed(t,o)},e.prototype.Pi=function(e,t,r){var i,l,s=this,c=new a.ExcelRow(t),d=e.rowOutlines,u=e.rows&&e.rows[t];return c.height=n.UnitHelper.pixelToPoint(u&&void 0!==u.size?u.size:_(e)),r>=0&&(c.collapsed=this.Ri(t,d),i=this.Si(t,d),c.outLineLevel=i===-1?0:i),t<e.rowCount&&(c.visible=s.ii(e,t)),o.J(this.xh[e.index])||(l=this.xh[e.index][t],c.formatId=o.J(l)?-1:l),c},e.prototype.vi=function(e){var t,r,o,i,n,a,l,s,c,d,u,f,b,h,p=this.Bh[e.index];if(void 0!==p)return p;if(p=[],t=e.rows,r=e.data&&e.data.rowDataArray,o=e.data&&e.data.dataTable,i=e.defaultData,t)for(n=0,a=t.length;n<a;n++)t[n]&&(p[n]=!0);if(r)for(n=0,a=r.length;n<a;n++)r[n]&&(p[n]=!0);if(o)for(l in o)o[l]&&o.hasOwnProperty(l)&&(p[l]=!0);if(i)for(l in i)i[l]&&i.hasOwnProperty(l)&&(p[l]=!0);if(s=e.tables,s&&s.forEach(function(e){var t,r=e.row,o=e.row+e.rowCount;for(t=r;t<o;t++)p[t]=!0}),c=e.spans)for(a=c.length,d=0;d<a;d++)for(u=c[d],f=u.row;f<u.row+u.rowCount;f++)p[f]=!0;if(b=e.rowOutlines&&e.rowOutlines.itemsData)for(n=0,a=b.length;n<a;n++)for(h=b[n],l=h.index;l<h.index+h.count;l++)p[l]=!0;return this.Bh[e.index]=p,p},e.prototype.Ti=function(e){var t,r,o=[],i=this.Ne,n=i.sheets&&i.sheets[e],a=this.Oi(n.columnOutlines),l=n.columnCount;for(t=0;t<l;t++)r=this.Ui(n,t,a),r&&(Math.abs(r.width-this.Vi(e))>1e-4||r.collapsed||void 0!==r.outLineLevel&&r.outLineLevel!==m&&0!==r.outLineLevel||r.visible===!1||r.formatId>=0)&&o.push(r);return o},e.prototype.Si=function(e,t){var r,o,i,n;if(!t||!t.itemsData)return 0;for(r=t.itemsData,o=0,i=r.length;o<i;o++)if(n=r[o],e>=n.index&&e<n.index+n.count)return n.info?n.info.level+1:1;return 0},e.prototype.Ri=function(e,t){var r,o,i,n;if(!t||!t.itemsData)return!1;for(r=t.itemsData,o=0,i=r.length;o<i;o++)if(n=r[o],e>=n.index&&e<n.index+n.count)return!!n.info&&!!n.info.collapsed;return!1},e.prototype.Ui=function(e,t,r){var i,n,s=new a.ExcelColumn(t),c=e.columnOutlines,d=e.columns&&e.columns[t];return s.width=this.calcColumnWidth(d&&void 0!==d.size?d.size:N(e)),r>=0&&t<e.columnCount&&(s.collapsed=this.Ri(t,c),i=this.Si(t,c),s.outLineLevel=i===-1?0:i),t<e.columnCount&&(d&&d.visible===!1&&(s.visible=!1),l.isCollapsed(t,c)&&(s.visible=!1)),o.J(this.yh[e.index])||(n=this.yh[e.index][t],s.formatId=o.J(n)?-1:n),s},e.prototype.Oi=function(e){var t,r,o,i;if(!e||!e.itemsData)return-1;for(t=-1,r=0,o=e.itemsData.length;r<o;r++)i=e.itemsData[r],i.info&&i.info.level>t&&(t=i.info.level);return t},e.prototype.Wi=function(e){var t,r,o=this.Ne,i=o.sheets&&o.sheets[e],n=0,a=0,l=-1,s=i.rowOutlines;return s&&(l=this.Oi(s)),l!==-1&&(n=l+2),t=-1,r=i.columnOutlines,r&&(t=this.Oi(r)),t!==-1&&(a=t+2),{outlineLevelRow:n,outlineLevelColumn:a}},e.prototype.Xi=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o=n.UnitHelper.pixelToPoint(r.defaults?r.defaults.rowHeight:_(r)),i=!1,a=57;return i=Math.abs(a-o)>=2,{height:o,customHeight:i}},e.prototype.Vi=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return this.calcColumnWidth(r.defaults?r.defaults.colWidth:N(r))},e.prototype.Yi=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e];if(o.defaults&&o.defaults.colWidth&&o.defaults._isExcelDefaultColumnWidth!==!0)return t=o.defaults?o.defaults.colWidth:N(o),this.calcColumnWidth(t)},e.prototype.calcColumnWidth=function(t){var r,o,i;return 0===t?0:(r=e.Jh(this.Ne),o=Math.round(this.Zi(r.fontForColumnWidth?r.fontForColumnWidth:r.font)),i=Math.floor((t-5)/o*100+.5)/100,Math.floor((i*o+5)/o*256)/256)},e.prototype.Zi=function(e){return this.Rf===p&&(this.Rf=n.UnitHelper.getMaxiumDigitWidth(e)),this.Rf},e.prototype.$i=function(e,t,r,n){var a,l,s,c,d,u,f,b=this.Ne,h=b.sheets&&b.sheets[e];if(!h)return!1;if(a=h.frozenRowCount,l=h.frozenColCount,r.col=h.activeCol>=0?h.activeCol:0,r.row=h.activeRow>=0?h.activeRow:0,s=a>0,c=l>0,0===n){if(!s||!c)return!1}else if(1===n){if(!c)return!1;s&&(r.col=l,r.row=0)}else if(2===n){if(!s)return!1;c&&(r.col=0,r.row=a)}if(r.col=Math.min(i.ExcelConstants.vb,r.col),r.row=Math.min(i.ExcelConstants.wb,r.row),t)if(d=void 0,h.selections)for(u=0;u<h.selections.length;u++)f=h.selections[u],k(f)&&(d=new o.Range(f.row>0?f.row:0,f.col>0?f.col:0,f.rowCount>0?f.rowCount:i.ExcelConstants.wb,f.colCount>0?f.colCount:i.ExcelConstants.vb),t.push(d));else t.push(new o.Range(r.row,r.col,1,1));return!0},e.prototype.ti=function(e,t,r){o.J(this.uh[e][t])&&(this.uh[e][t]=[]),this.uh[e][t].push(r)},e.prototype._i=function(e,t){var r,o,i;if(T(e)&&"/OADate"===e.substring(0,7)&&t&&!t.formatter){if(t.autoFormatter)return void(t.formatter=t.autoFormatter.formatCached);r=e.indexOf("("),o=e.indexOf(")"),r!==-1&&o!==-1&&(i=parseInt(e.substring(r+1,o),10),i<1?t.formatter="h:mm:ss":i>1&&(t.formatter="M/d/yyyy"))}},e.prototype.dg=function(e,t,r,i,n){var a;o.StringEx.L(i)?r&&(a=e[t]):a=this.lh[i],void 0!==a?n.formatId=a:n.formatId=-1},e.prototype.ri=function(e,t,r){o.StringEx.O(e)||(r.formula=e,r.arrayFormulaRange=t)},e.prototype.ui=function(e,t,r,i,n){var a,l,s,c,d,u,f,b;if(t.data&&t.data.dataTable&&t.data.dataTable[r]&&(a=t.data.dataTable[r][i]&&t.data.dataTable[r][i].hyperlink)){if(l={},s=this.aj(t.name),c=!1,s)for(d=0;d<s.length;d++)if(u=s[d],u.row===r&&u.col===i){l.ref=o.IndexHelper.T(u.col)+(u.row+1)+":"+o.IndexHelper.T(u.col+u.colCount-1)+(u.row+u.rowCount),c=!0;break}c||(l.ref=o.IndexHelper.T(i)+(r+1)),f="sjs://",a.url&&(a.url.substring(0,f.length)===f?(l.location=o.Util.oa(a.url.replace(f,"")),b=t.data.dataTable[r][i].value,"string"==typeof b&&(l.display=o.Util.oa(b))):l.url=o.Util.oa(a.url)),a.tooltip&&(l.tooltip=o.Util.oa(a.tooltip)),l["xr:uid"]=o.Ha(),n[t.name]||(n[t.name]=[]),n[t.name].push(l)}},e.prototype.pi=function(e,t){var r=0;if(o.J(e))e=m;else{if(e._error||e._calcError)return r=7,{value:e._error||e._calcError,cellType:r};"number"==typeof e?(r=1,isNaN(e)&&(e=0)):"boolean"==typeof e?r=5:T(e)&&"/OADate"===e.substring(0,7)?r=6:t?r=9:T(e)?r=2:(r=2,e=""+e)}return{value:e,cellType:r}},e.prototype.wi=function(e,t){var r,o,i=this;return k(t)?n.ConverterHelper.cloneSpreadJSStyle(t):T(t)?C.test(t)?(r=t.indexOf(g),o=i.xi(e,t.substring(r)),n.ConverterHelper.cloneSpreadJSStyle(i.af[i.lh[o]])):{parentName:t}:void 0},e.prototype.bj=function(e){var t=this;return e&&t.af[t.lh[e]]},e.prototype.yi=function(e,t,r){var i,n=this;r&&(r=n.wi(e,r),o.ga.ca(t,r,!0),r&&r.parentName&&(r.parentName=n.xi(e,r.parentName),i=n.af[n.lh[r.parentName]],o.ga.ca(t,i)))},e.prototype.cj=function(e,t){o.J(t.linkColor)?(t.linkColor!==p||!e.foreColor&&e.foreColor!==m)&&(e.foreColor="hyperlink"):e.foreColor=t.linkColor,o.J(e.textDecoration)?e.textDecoration=1:1!==(1&e.textDecoration)&&(e.textDecoration+=1)},e.prototype.xi=function(e,t){return e.renamedStyles&&e.renamedStyles[t]&&(t=e.renamedStyles[t]),t},e.prototype.oi=function(e,t,r,i,n,a,l,s,c){var d,u,f=this,b=e.data,h=f.ji(e,t,r),g=m,y=m,S=b&&b.dataTable&&b.dataTable[t]&&b.dataTable[t][r]&&b.dataTable[t][r].hyperlink,C=S||T(c)&&"/OADate"===c.substring(0,7)||c!==m&&void 0!==c&&(n||a),w=p;return v(h)&&v(a)&&v(n)&&!C&&(w=""+h+"|"+n+"|"+a),w&&f.sh[w]?(i[s]=f.sh[w].styleIndex,f.sh[w]):(h?g=f.wi(e,h):C&&(g={}),g&&(g.parentName&&(g.parentName=f.xi(e,g.parentName),d=f.af[f.lh[g.parentName]]||f.af[f.vh[g.parentName]],o.ga.ca(g,d)),f.yi(e,g,a),f.yi(e,g,n),f.yi(e,g,l),S&&f.cj(g,S),f._i(c,g),o.ga.ba(g)?g=m:(u=i[s]=f.zi(g),g.parentName&&f.isSameStyleInfo(f.af[f.lh[g.parentName]],g,!0)&&(y=g.parentName),g.name&&f.isSameStyleInfo(f.af[f.lh[g.name]],g,!0)&&(y=g.name),w&&(f.sh[w]={styleIndex:u,styleName:y,styleInfo:g}))),{styleName:y,styleInfo:g})},e.prototype.zi=function(e){var t,r=this.af;if(!e)return 0;for(t=r.length-1;t>=0;t--)if((!r[t].name||r[t].name.indexOf(g)>=0)&&o.ga.fa(r[t],e))return t;return e.name=p,r.push(e),r.length-1},e.prototype.dj=function(e){var t,r;if(!e)return 0;t=0;for(r in e)e.hasOwnProperty(r)&&parseInt(r,10)>t&&(t=parseInt(r,10));return t},e.prototype.li=function(e,t,r){var o,i,n,a=0;if(e)for(o in e)if(e.hasOwnProperty(o))for(i in e[o])parseInt(i,10)>a&&(a=parseInt(i,10));if(r)for(o in r)if(r.hasOwnProperty(o))for(i in r[o])parseInt(i,10)>a&&(a=parseInt(i,10));return n=t.tables,n&&n.forEach(function(e){e.col+e.colCount>a&&(a=e.col+e.colCount)}),a},e.prototype.ej=function(e,t,r){for(r++;r>=0&&r<t&&!e[r];)r++;return r<t?r:-1},e.prototype.fj=function(e,t,r,o,i){var n=m;if(o>=0&&o<t&&(n=e[o]),!n)return-1;for(i++;i>=0&&i<r&&!n[i];)i++;return i<r?i:-1},e.prototype.mi=function(e,t){var r,o,i=[],n=e.columnCount;if(!e.data||!e.data.columnDataArray)return i;for(r=0;r<t;r++)r<n?(o=this.ji(e,-1,r),i.push(o)):i.push(m);return i},e.prototype.gj=function(){var e,t,r,o,i,a,l=this,s=[],c={count:0};for(e=0,t=l.af.length;e<t;e++)r=l.af[e],o=n.ConverterHelper.toExtendedFormat(r,l),r.name&&r.name.indexOf(g)<0?(c[r.name]||(c[r.name]=c.count,c.count++),o.isStyleFormat=!0):(i=0,void 0!==c[r.parentName]&&c[r.parentName]!==m&&(i=c[r.parentName],a=s[i],!o.applyNumberFormat&&a&&(a.numberFormat?o.numberFormat=a.numberFormat:void 0!==a.numberFormatIndex&&(o.numberFormatIndex=a.numberFormatIndex))),o.parentFormatID=i),s.push(o);return s},e.prototype.hj=function(){var t=n.ConverterHelper.cloneSpreadJSStyle(e.Jh(this.Ne)),r=n.ConverterHelper.toExtendedFormat(t,this);return r.parentFormatID=0,r},e.prototype.ij=function(){var t,r,o,i,a,l,s,c=this,d=[],u=m;for(t=0,r=c.th.length;t<r;t++)if(o=c.th[t],"Normal"===o.name){i=new n.ExcelStyle,i.name="Normal",i.format(n.ConverterHelper.toExtendedFormat(o,c)),i.format().isStyleFormat=!0,i.builtInStyle=0,u=i,c.Ke=o;break}for(u||(a=new n.ExcelStyle,a.name="Normal",a.format(n.ConverterHelper.toExtendedFormat(e.Jh(this.Ne),c)),a.format().font.fontSize=14.67,a.format().isStyleFormat=!0,a.builtInStyle=0,d.push(a)),t=0,r=c.th.length;t<r;t++)l=c.th[t],l.name&&(void 0!==e.Bi[l.name]?(i=new n.ExcelStyle,i.name=l.name,i.format(n.ConverterHelper.toExtendedFormat(l,c)),i.format().isStyleFormat=!0,i.builtInStyle=e.Bi[l.name],("RowLevel_"===l.name.substring(0,9)||"ColLevel_"===l.name.substring(0,9))&&l.name.length>9&&(i.outLineLevel=parseInt(l.name.substring(9),10)-1),d.push(i)):(s=new n.CustomExcelStyle,s.name=l.name,s.format(n.ConverterHelper.toExtendedFormat(l,c)),s.format().isStyleFormat=!0,d.push(s)));return d},e.prototype.jj=function(){var e,t,r=[],o=this.Ne.sheets;for(e in o)o.hasOwnProperty(e)&&(t=o[e],r[t.index]=e);return r},e.prototype.kj=function(e){return this.Ne.sheets[e]},e.prototype.lj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?{colsSumRight:!(r.columnOutlines&&0===r.columnOutlines.direction),rowsSumBelow:!(r.rowOutlines&&0===r.rowOutlines.direction)}:{}},e.prototype.mj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?f(r.sheetTabColor):m},e.prototype.nj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?{rowCount:r.rowCount,columnCount:r.columnCount}:{}},e.prototype.oj=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e],i={showGridLine:!0,showRowColHeaders:!0,gridlineColor:m,zoom:1};return o?(!o.gridline||o.gridline.showVerticalGridline!==!1&&o.gridline.showHorizontalGridline!==!1||(i.showGridLine=!1),o.rowHeaderVisible===!1&&o.colHeaderVisible===!1&&(i.showRowColHeaders=!1),o.gridline&&o.gridline.color&&(i.gridlineColor=n.ColorHelper.toExcelIndexedColor(f(o.gridline.color,4291876837))),void 0!==o.topCellIndex&&void 0!==o.leftCellIndex&&(t={row:o.topCellIndex,col:o.leftCellIndex},i.topLeftCell=t),i.zoom=o.zoomFactor,i):i},e.prototype.pj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o={frozenRowCount:0,frozenColCount:0,frozenTopRow:0,frozenLeftCol:0};return r?(o.frozenRowCount=r.frozenRowCount||0,o.frozenColCount=r.frozenColCount||0,o.frozenTopRow=r.frozenTopRow||0,o.frozenLeftCol=r.frozenLeftCol||0,o):o},e.prototype.qj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return!!r&&r.isProtected},e.prototype.rj=function(e,t){var r,o,i=this.Ne,n=i.sheets&&i.sheets[e],a=n.protectionOptions,s={};for(o in a)a.hasOwnProperty(o)&&(r=a[o],r&&"allowSelectLockedCells"===o||r&&"allowSelectUnlockedCells"===o||r&&"allowEditObjects"===o||(s[l.fromProtectionOptions[o]?l.fromProtectionOptions[o]:o]=a[o]));return t&&!a&&(s.objects=!1),s},e.prototype.aj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?r.spans:[]},e.prototype.sj=function(){var e=this.Ne;return{showHorizontalScrollbar:e.showHorizontalScrollbar,showVerticalScrollbar:e.showVerticalScrollbar,tabStripVisible:e.tabStripVisible,tabStripRatio:e.tabStripRatio,startSheetIndex:e.startSheetIndex,activeSheetIndex:e.activeSheetIndex}},e.prototype.tj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return!r||0===r.visible},e.prototype.uj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return!r||2===r.visible},e.prototype.vj=function(){var e,t,r,o,i,n=[];if(this.Ne.names)for(t=0;t<this.Ne.names.length;t++)e=this.Ne.names[t],n.push({name:e.name,localSheetId:-1,formula:e.formula,comment:e.comment});r=this.Ne.sheets;for(o in r)if(r.hasOwnProperty(o)&&(i=r[o],i.names))for(t=0;t<i.names.length;t++)e=i.names[t],n.push({name:e.name,localSheetId:i.index,formula:e.formula,comment:e.comment});return n},e.prototype.xg=function(e){var t=this,r=t.Ne.sheets&&t.Ne.sheets[e];return r.conditionalFormats},e.Jh=function(e){var t,r,i,n,a,l,s={foreColor:"black",font:"normal normal normal 11pt/normal Calibri",locked:!0,name:"Normal",textDecoration:0,hAlign:3,vAlign:0};for(t in e.sheets)if(e.sheets.hasOwnProperty(t)&&(r=e.sheets[t],r.data&&r.data.defaultDataNode&&r.data.defaultDataNode.style)){for(i=r.data.defaultDataNode.style,n=this.prototype.wi(r,i),a=n.parentName;a&&(l=be(a,e,r));)o.ga.ca(n,l),a=l.parentName;return o.ga.ca(n,s),n}return s},e.prototype.wj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r.comments&&r.comments.map(function(e){return l.convertToExcelComment(r,e)})},e.prototype.xj=function(e){var t,r=[],o=this.Ne;if(e)return o.sheets[e].pivotTables;for(t in o.sheets)o.sheets[t].pivotTables&&(r=r.concat(o.sheets[t].pivotTables));return r},e.prototype.yj=function(e){return e.floatingObjects&&e.floatingObjects.filter(function(e){return"1"===e.typeName&&e.src&&e.src.indexOf(";base64,")!==-1}).map(function(t){return l.convertToExcelPicture(e,t)})},e.prototype.zj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r.sparklineGroups},e.prototype.$h=function(e){var t,r,o,i=e.rowFilter,a=this;if(i)return t=[],r=i.filteredColumns,o=i.filterItemMap,o&&r&&r.length>0&&o.forEach(function(o){var l,s;r.indexOf(o.index)<0||(l=o.conditions[0],3===l.conType&&(s=0===l.compareType,t.push({autoFilterColumnId:o.index-O(e,i.range).col,colorFilter:{cellColor:s,dxfId:a.Yh({isColorFilter:!0,fill:n.ColorHelper.toExcelBackColor(l.expected,s)})}})))}),t},e.prototype.gi=function(e){var t,r,i=m;return e&&(t=e.sortInfo,!t||o.J(t.ascending)||o.J(t.index)||(i={range:new o.Range(e.range.row,t.index,e.range.rowCount,1),descending:!t.ascending},t.color!==p&&(r=t.isBackColor,i.isBackColor=r,"{"===t.color[0]&&(t.color=JSON.parse(t.color)),i.dxfid=this.Yh({isColorFilter:!0,fill:n.ColorHelper.toExcelBackColor(t.color,r)})))),i},e.prototype.Aj=function(e,t){var r=e.autoFilter,i={range:"A1",filterColumns:[]},n=r.filterItemMap;return n&&n.forEach(function(e){var r,n,a,l,s;e&&(r=e.conditions,n=r[0],a={autoFilterColumnId:0},l=se(n,t),o.J(l)||(s=l.filterType,1===s?a.top10=l:2===s?a.dynamicFilter=l:4===s?a.customFilters=l:3===s&&(a.filters=l),i.filterColumns.push(a)))}),i},e.prototype.Bj=function(e,t,r){var i,n,a,l,s,c,d,u,f,b,h,p,g,y,S,C,w,x,A,T,v,k,F=this,R=F.Ne,E=R.sheets&&R.sheets[e];if(o.J(t)||o.J(t.range))return m;if(i=t.range,n=t.adjustRangeForFrozen?E.frozenRowCount:0,a={range:O(E,i,n),filterColumns:[]},E.Zh&&E.Zh.length>0&&(a.filterColumns=E.Zh),l=t.filteredColumns,s=t.filterItemMap,s&&l&&l.length>0&&s.forEach(function(e){var t,r,n,s,c,d;if(!(e.index<i.col||e.index>=i.col+i.colCount||l.indexOf(e.index)<0)){for(t=e.conditions,r=t[0],n=1;n<t.length;n++)r={conType:0,compareType:0,item1:r,item2:t[n]};r&&(s={autoFilterColumnId:e.index-a.range.col},c=le(E,r,new o.Range(a.range.row+1,a.range.col,a.range.rowCount-1,1)),o.J(c)||(d=c.filterType,1===d?s.top10=c:2===d?s.dynamicFilter=c:3===d?s.filters=c:4===d&&(s.customFilters=c),a.filterColumns.push(s)))}}),c=F.aj(e),c&&c.length>0){for(d=i.row-1,u=i.col,f=i.colCount,b=a.filterColumns.length>0,h=[],p=0,g=c;p<g.length;p++)if(y=g[p],S=y.row,C=y.rowCount,w=y.col,x=y.colCount,w>=u&&w+x<=f&&(d===S||d===S+C-1))for(A=w;A<w+x-1;A++)T=A-u,b?(v=a.filterColumns[A],v&&v.autoFilterColumnId===T?v.showButton=0:(k={autoFilterColumnId:T,showButton:0},h.push(k))):(k={autoFilterColumnId:T,showButton:0},h.push(k));h.length>0&&(a.filterColumns=a.filterColumns.concat(h))}return a.sortInfo=r,a},e.prototype.Cj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o=m;return r.rowFilter&&(o=r.rowFilter.autoFilterSortInfo),this.Bj(e,r.rowFilter,o)},e.prototype.fi=function(e){var t,r=[],o=this.Ne;if(e)return o.sheets[e].tables;for(t in o.sheets)o.sheets[t].tables&&(r=r.concat(o.sheets[t].tables));return r},e.prototype.Dj=function(e){var t,r,o,i=this.Ne.sheets[e];if(!i.slicers)return[];for(t=[],r=0;r<i.slicers.length;r++)o=i.slicers[r],o.type&&"table"!==o.type||t.push(l.convertToExcelSlicer(i,o));return t},e.prototype.Ej=function(e,t){var r,o,i,n=this.Ne.sheets[e];if(!n.slicers)return[];for(r=[],o=0;o<n.slicers.length;o++)i=n.slicers[o],i.type===t&&r.push(l.convertToExcelSlicer(n,i));return r},e.prototype.Fj=function(e){return e.charts&&e.charts.map(function(t){return l.convertToExcelChart(e,t)})},e.prototype.Gj=function(e){return e.shapes&&e.shapes.map(function(t){return l.convertToExcelShape(e,t)})},e.prototype.Hj=function(e){var t,r=function(e){var t=[],o=e&&e.sp||[];return o.forEach(function(e){e.control?t.push({sp:e}):3===e.shapeType&&t.push.apply(t,r(e))}),t},o=function(e){var t=[];return e.forEach(function(e){e.sp&&e.sp.control?t.push(e):e.grpSp&&t.push.apply(t,r(e.grpSp))}),t},i=o(this.Gj(e)||[]);return i.forEach(function(e){var t=e.sp.control,r=e.sp.nvSpPr.cNvPr;t.id=r.id,t.name=r.name,t.visible=!r.hidden,r.hidden=!0}),t=function(e){return e.sp.control.id},i.sort(function(e,r){return t(e)-t(r)}),i},e.prototype.Ij=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o=this.Dj(e),i=this.Ej(e,"pivot"),n=this.Ej(e,"timeline"),a=o.concat(i).concat(n),l=this.yj(r),s=this.Fj(r),c=this.Gj(r),d=this.Hj(r),u=0;return[a,l,s,c].forEach(function(e){e&&(u+=e.length)}),{slicers:a,pictures:l,charts:s,shapes:c,controlShapes:d,withDrawingObjects:u>0}},e.prototype.Jj=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e],i=[],n=o.validations;return n&&(t=this.jj(),he(n,i,e,t)),i},e.prototype.Kj=function(e){var t={top:75,bottom:75,left:70,right:70,header:30,footer:30},r=this.Ne,o=r.sheets&&r.sheets[e],i=o.printInfo,n=i&&i.margin;return n?{bottom:Te(n.bottom,t.bottom),top:Te(n.top,t.bottom),left:Te(n.left,t.bottom),right:Te(n.right,t.bottom),
28
+ header:Te(n.header,t.bottom),footer:Te(n.footer,t.bottom)}:m},e.prototype.Lj=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e],i=o.printInfo;if(i)return t=i.centering,{horizontalCentered:1===t||3===t,verticalCentered:2===t||3===t,printGridLine:i.showGridLine,printRowColumnsHeaders:2===i.showRowHeader&&2===i.showColumnHeader}},e.prototype.Mj=function(e,t){var r,i,n,a,l,s,c,d,u,f,b,h,p,g,y,S,C;function w(e,t,r){return e=e||"",t=t||"",r=r||"","&L"+e+"&C"+t+"&R"+r}function x(e,t,r){if(e[t]&&e[t][r]){var o=e[t][r];return w(o.left,o.center,o.right)}}return r=this.Ne,i=r.sheets&&r.sheets[e],(n=i.printInfo)?(a={},l=n.fitPagesTall,s=n.fitPagesWide,o.J(l)||l===-1||(a.useSmartPrint=!0,a.smartPrintPagesHeight=Math.max(0,l)),o.J(s)||s===-1||(a.useSmartPrint=!0,a.smartPrintPagesWidth=Math.max(0,s)),t||(n.paperSize&&(c=n.paperSize.kind,0!==c&&(a.paperSizeIndex=c)),a.copies=1,o.J(n.firstPageNumber)||(a.useCustomStartingPage=!0,a.firstPageNumber=n.firstPageNumber),a.orientation=2===n.orientation?2:1,a.pageOrder=1===n.pageOrder?1:2,a.zoomFactor=parseFloat(n.zoomFactor),a.showColor=!n.blackAndWhite,a.advancedHeadFooterSetting={},d=a.advancedHeadFooterSetting,u=n.pageHeaderFooter,f=void 0,u?(d.headerFooterDifferentFirstPage=n.differentFirstPage,f=x(u,"first","header"),f&&(d.headerFirstPage=f),f=x(u,"first","footer"),f&&(d.footerFirstPage=f),b=n.differentOddAndEvenPages,d.headerFooterDifferentOddEvenPages=n.differentOddAndEvenPages,f=b?x(u,"odd","header"):x(u,"normal","header"),f&&(d.headerOddPage=f),f=b?x(u,"odd","footer"):x(u,"normal","footer"),f&&(d.footerOddPage=f),f=x(u,"even","header"),f&&(d.headerEvenPage=f),f=x(u,"even","footer"),f&&(d.footerEvenPage=f)):(h=w(n.headerLeft,n.headerCenter,n.headerRight),p=w(n.footerLeft,n.footerCenter,n.footerRight),a.advancedHeadFooterSetting={headerEvenPage:h,headerOddPage:h,footerOddPage:p,footerEvenPage:p}),g=i.rows,y=[],g&&g.length>0&&g.forEach(function(e,t){e&&e.pageBreak&&y.push(t)}),S=i.columns,C=[],S&&S.length>0&&S.forEach(function(e,t){e&&e.pageBreak&&C.push(t)}),y.length>0&&(a.rowBreakLines=y),C.length>0&&(a.columnBreakLines=C)),a):m},e.prototype.Nj=function(e){return this.Ne.sheets&&this.Ne.sheets[e].printInfo},e.prototype.Oj=function(e){return this.Ne.sheets&&this.Ne.sheets[e].rowFilter},e.prototype.Pj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o=r.shapes,i=[];return o&&o.length>0&&this.Qj(o,i),i},e.prototype.Qj=function(e,t){var r=this;e.forEach(function(e,o){var i,n,a,l;1===e.shapeType?(i=void 0,e.shapeData&&e.shapeData.pic&&e.shapeData.pic.cameraTool?i=e.shapeData.pic:e.cameraTool===!0&&(i=e),i&&(n=o+1,a=De("Picture_x0020_"+n,i.src),a.style=i.vmlStyle,a.anchor=i.anchor,a.cellRange=i.cellRange,a.spid="_x0000_s10"+i.spid,t.push(a))):3===e.shapeType&&(l=e.shapeData&&e.shapeData.grpSp&&e.shapeData.grpSp.sp||e.sp,l&&r.Qj(l,t))})},e.prototype.Rj=function(e){var t,r,o,i,n,a,l,s=this.Ne,c=s.sheets&&s.sheets[e],d=c.printInfo,u=[];return d&&(t=d.pageHeaderFooter,t?(r=t.normal,o=t.odd,o?(i=o.header||{},i.leftImage&&u.push(De("LH",i.leftImage)),i.centerImage&&u.push(De("CH",i.centerImage)),i.rightImage&&u.push(De("RH",i.rightImage)),n=o.footer||{},n.leftImage&&u.push(De("LF",n.leftImage)),n.centerImage&&u.push(De("CF",n.centerImage)),n.rightImage&&u.push(De("RF",n.rightImage))):r&&(i=r.header||{},i.leftImage&&u.push(De("LH",i.leftImage)),i.centerImage&&u.push(De("CH",i.centerImage)),i.rightImage&&u.push(De("RH",i.rightImage)),n=r.footer||{},n.leftImage&&u.push(De("LF",n.leftImage)),n.centerImage&&u.push(De("CF",n.centerImage)),n.rightImage&&u.push(De("RF",n.rightImage))),a=t.even,a&&(i=a.header||{},i.leftImage&&u.push(De("LHEVEN",i.leftImage)),i.centerImage&&u.push(De("CHEVEN",i.centerImage)),i.rightImage&&u.push(De("RHEVEN",i.rightImage)),n=a.footer||{},n.leftImage&&u.push(De("LFEVEN",n.leftImage)),n.centerImage&&u.push(De("CFEVEN",n.centerImage)),n.rightImage&&u.push(De("RFEVEN",n.rightImage))),l=t.first,l&&(i=l.header||{},i.leftImage&&u.push(De("LHFIRST",i.leftImage)),i.centerImage&&u.push(De("CHFIRST",i.centerImage)),i.rightImage&&u.push(De("RHFIRST",i.rightImage)),n=l.footer||{},n.leftImage&&u.push(De("LFFIRST",n.leftImage)),n.centerImage&&u.push(De("CFFIRST",n.centerImage)),n.rightImage&&u.push(De("RFFIRST",n.rightImage)))):(d.headerLeftImage&&u.push(De("LH",d.headerLeftImage)),d.headerCenterImage&&u.push(De("CH",d.headerCenterImage)),d.headerRightImage&&u.push(De("RH",d.headerRightImage)),d.footerLeftImage&&u.push(De("LF",d.footerLeftImage)),d.footerCenterImage&&u.push(De("CF",d.footerCenterImage)),d.footerRightImage&&u.push(De("RF",d.footerRightImage)))),u},e.prototype.Sj=function(){return this.vh},e.Bi={"20% - Accent1":30,"20% - Accent2":34,"20% - Accent3":38,"20% - Accent4":42,"20% - Accent5":46,"20% - Accent6":50,"40% - Accent1":31,"40% - Accent2":35,"40% - Accent3":39,"40% - Accent4":43,"40% - Accent5":47,"40% - Accent6":51,"60% - Accent1":32,"60% - Accent2":36,"60% - Accent3":40,"60% - Accent4":44,"60% - Accent5":48,"60% - Accent6":52,Accent1:29,Accent2:33,Accent3:37,Accent4:41,Accent5:45,Accent6:49,Bad:27,Calculation:22,"Check Cell":23,Comma:3,"Comma [0]":6,Currency:4,"Currency [0]":7,"Explanatory Text":53,Good:26,"Heading 1":16,"Heading 2":17,"Heading 3":18,"Heading 4":19,Input:20,"Linked Cell":24,Neutral:28,Normal:0,Note:10,Output:21,Percent:5,Title:15,Total:25,"Warning Text":11,Hyperlink:8,FollowedHyperLink:9,RowLevel_1:1,RowLevel_2:1,RowLevel_3:1,RowLevel_4:1,RowLevel_5:1,RowLevel_6:1,RowLevel_7:1,ColLevel_1:2,ColLevel_2:2,ColLevel_3:2,ColLevel_4:2,ColLevel_5:2,ColLevel_6:2,ColLevel_7:2},e}(),t.WriterDataModel=A},"./src/datamodel/datetime-helper.ts":function(e,t,r){"use strict";var o,i,n,a;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=null,n=void 0;function l(e){var t=e.getTimezoneOffset();return t===-485&&(t=-485-43/60),t===-321&&(t=-321-10/60),t===-507&&(t=-507-52/60),t===-402&&(t=-402-4/60),t}a=function(){function e(){}return e.jg=function(e){return"/OADate("+e+")/"},e.Tj=function(e){return"string"==typeof e&&"/OADate("===e.substr(0,8)?parseInt(e.substr(8,e.length-8-1-1),10):e},e.ig=function(e){return e===n||e===i?0:("number"!=typeof e&&"string"!=typeof e||(e=new Date(e)),e instanceof Date?(1440*e.getTime()+3181192704e6-864e5*l(e))/124416e6:0)},e.Je=function(e){var t,r=e-25569,o=new Date(864e5*r),i=r>=0?1:-1,n=l(o),a=(864e5*e*1440+i-3181192704e6+864e5*n)/1440,s=new Date(a),c=n>=0?1:-1,d=new Date(a+36e5*c),u=l(d);return Math.abs(n-u)>=60?new Date(a+60*(u-n)*1e3):(t=e+"",s=999===s.getMilliseconds()&&"33333333"===t.substr(t.length-8)?new Date(s.valueOf()+1):s)},e.vf=function(t){var r,o,n,a,l,s,c;if(!t||" "===t)return!1;if(0===t.length)return!1;if(t=t.toUpperCase(),t=t.replace(/(\[.*\])+/g," "),t=t.replace(/"[^"]*"/g," "),t=t.replace(/(\*.|_.|\\.)+/g," "),t.indexOf("GENERAL")!==-1)return!1;for(r=-1,o=0,n=!1,a=null,l=0;l<t.length;l++){if(s=t[l],"["===s)do s=t[l],l++;while(l<t.length&&"]"!==s);if("Y"===s||"D"===s||"M"===s||"H"===s||"S"===s||"A"===s)n?o++:(0===l||t.length>0&&"\\"!==t[l-1])&&(n=!0,r=l,o=1);else{if(n=!1," "===s&&a)return!0;0!==o&&(c=t.substring(r,r+o),r=l,o=0,a=a===i?e.Uj(c):a&&e.Uj(c))}}return 0!==o&&l===t.length&&(c=t.substring(r,r+o),a=a===i?e.Uj(c):a&&e.Uj(c)),!!a},e.Uj=function(e){var t,r,i,a,l,s,c,d,u;if(o.StringEx.O(e))return!1;for(t=[],r="",i=0,a=e.length;i<a;i++)l=e[i],r.indexOf(l)===-1&&(t.push({key:l,count:e.match(RegExp(l,"g")).length}),r+=l);for(s={Y:4,D:4,M:5,H:2,S:2,A:4},i=0,c=t.length;i<c;i++){if(d=t[i],u=s[d.key],u===n)return!1;if(d.count>u)return!1}return!0},e}(),t.DateTimeHelper=a},"./src/datamodel/excel-helper.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/datamodel/excel-style.ts"),n=r("./src/datamodel/chart-model.ts"),a=r("./src/common/excel-types.ts"),l=null;function h(e,t,r){var o,i=e.defaults.colWidth,n=e.columns,a=0,s=n?l:i;for(o=t;o<r;o++)a+=s||p(n,o,i,e.columnOutlines);return a}function p(e,t,r,o){var i=e[t];return i?o&&w(t,o)?0:i.visible===!1?0:i.size:r}function m(e,t,r){var o,i=e.defaults.rowHeight,n=e.rows,a=0,s=n?l:i;for(o=t;o<r;o++)a+=s||g(n,o,i,e.rowOutlines);return a}function g(e,t,r,o){var i=e[t];return i?o&&w(t,o)?0:i.visible===!1?0:i.size:r}function y(e,t){for(var r,o,i=e.defaults.colWidth,n=e.columns,s=0,c=0,d=n&&n.length||a.ExcelConstants.vb,u=n?l:i;s<t&&c<d;)r=u||p(n,c,i),s+=r,c++;return o=s-t,o>0?(c--,o=r-o):o=t-s,{col:c,colOffset:o}}function S(e,t){for(var r,o,i=e.defaults.rowHeight,n=e.rowsVisibleInfo||e.rows,s=0,c=0,d=n&&n.length||a.ExcelConstants.wb,u=n?l:i;s<t&&c<d;)r=u||g(n,c,i),s+=r,c++;return o=s-t,o>0?(c--,o=r-o):o=t-s,{row:c,rowOffset:o}}function C(e,t){var r=t.x,o=t.y,i={},n={},a=S(e,o);return A(a,i,["row","rowOffset"]),a=y(e,r),A(a,i,["col","colOffset"]),a=S(e,o+t.height),A(a,n,["row","rowOffset"]),a=y(e,r+t.width),A(a,n,["col","colOffset"]),{startPoint:i,endPoint:n}}function w(e,t){if(!t)return!1;if(t.items)return t.items[e]&&t.items[e].viewCollapsed;if(!t.itemsData)return!1;t.collapseIndexMap||x(t);var r=t.collapseIndexMap;return!!r[e]}t.isCollapsed=w;function x(e){var t,r,o,i,n,a,l,s=e.itemsData,c=e.collapseIndexMap={},d=!1;if(0===e.direction){for(t=s.length-1;t>=0;t--)if(o=s[t],o&&1===o.count&&o.info&&o.info.collapsed){for(i=o.index+o.count,n=t+1;n<s.length;n++)a=s[n],a&&a.info&&a.info.level>o.info.level&&a.index===i&&(i=a.index+a.count);for(l=o.index+1;l<i;l++)c[l]=!0}}else for(r=s.length,t=0;t<r;t++)if(o=s[t],o&&1===o.count&&o.info&&o.info.collapsed){if(i=o.index-1,i<0&&o.info.level===-1)break;for(n=t-1;n>=0;n--)a=s[n],a&&a.info&&a.info.level>o.info.level&&a.index+a.count-1===i&&(i=a.index-1);for(l=i+1;l<o.index;l++)c[l]=!0}}s=7;function A(e,t,r){r.forEach(function(r){void 0!==e[r]&&(t[r]=e[r])})}function T(e,t){var r,n,a,c,d,u,f,b,p,g,y,S,C,w,x,T,v={};return A(t,v,["fontSize","fontStyle","fontFamily","fontWeight","textDecoration","text","autoSize","dynamicMove","dynamicSize","locked","lockText","displayMode"]),r=e.forzenRowCount||0,n=e.forzenColumnCount||0,a=t.row,c=t.col,d=t.anchor,u=h(e,n,c+1),f=m(e,r,a),v.rowIndex=a-r,v.colIndex=c-n,d?(b=h(e,n,d[0])+d[1]-s,p=m(e,r,d[2])+d[3]-s,g=h(e,n,d[4])+d[5]+s,y=m(e,r,d[6])+d[7]+s,v.location={x:b-u,y:p-f},v.width=g-b,v.height=y-p,V(e,d)):(v.location={x:i.UnitHelper.pointToPixel(t.marginLeft)-u-s,y:i.UnitHelper.pointToPixel(t.marginTop)-f-s},v.width=k(t.width)+2*s,v.height=k(t.height)+2*s,V(e,l,{x:v.location.x+u,y:v.location.y+f,width:v.width,height:v.height})),S=t.foreColor,S&&S!==i.ExcelColor.EmptyColor&&(v.foreColor=i.ColorHelper.toRGBColor(S)),S=t.backColor,S&&(v.backColor=S.split(" ")[0]),S=t.borderColor,S&&(v.borderColor=S.split(" ")[0]),C=t.borderWidth,C&&(v.borderWidth=k(C)),v.borderStyle=R(t.dashStyle,t.lineStyle),w=t.zIndex,o.J(w)||(v.zIndex=w),w=t.opacity,o.J(w)||(v.opacity=w),t.autoSize&&(v.autoSize=!0),v.locked=t.locked!==!1,v.lockText=t.lockText!==!1,v.dynamicSize=t.dynamicSize!==!1,v.dynamicMove=t.dynamicMove!==!1,w=t.inset,w&&(x=[0,0,0,0],w.trim().split(",").forEach(function(e,t){var r=e||["0.1in","0.05in"][t%2];x[t]=F(r)}),v.padding={left:x[0],top:x[1],right:x[2],bottom:x[3]}),T=["left","center","right"].indexOf(t.hAlign),T!==-1&&(v.horizontalAlign=T),v}t.convertFromExcelComment=T;function v(e,t){var r,n,a,l,c,d,u=t.rowIndex,f=t.colIndex,b=t.location||{x:9,y:-18},p={row:u,col:f};return o.J(t.width)&&(t.width=160),o.J(t.height)&&(t.height=100),t.fontFamily=t.fontFamily||"Arial",t.borderColor=t.borderColor||"black",t.backColor=t.backColor||"#FFFFE1",A(t,p,["zIndex","opacity","fontStyle","fontFamily","fontWeight","textDecoration","text","autoSize","dynamicMove","dynamicSize","locked","lockText","displayMode","backColor","borderColor"]),r=h(e,0,f+1),n=m(e,0,u),p.marginLeft=i.UnitHelper.pixelToPoint(r+b.x+s),p.marginTop=i.UnitHelper.pixelToPoint(n+b.y+s),p.width=i.UnitHelper.pixelToPoint(t.width-2*s)+"pt",p.height=i.UnitHelper.pixelToPoint(t.height-2*s)+"pt",a=t.fontSize||"9pt",a.indexOf("px")!==-1?p.fontSize=i.UnitHelper.pixelToPoint(parseFloat(a)):p.fontSize=a.replace("pt",""),l=t.foreColor,p.foreColor=l&&i.ColorHelper.toExcelColor(l),p.borderWidth=i.UnitHelper.pixelToPoint(t.borderWidth||1)+"pt",c=E(t.borderStyle),p.dashStyle=c.dashStyle,p.lineStyle=c.lineStyle,d=t.padding,d&&(p.inset=[i.UnitHelper.pixelToPoint(d.left)+"pt",i.UnitHelper.pixelToPoint(d.top)+"pt",i.UnitHelper.pixelToPoint(d.right)+"pt",i.UnitHelper.pixelToPoint(d.bottom)+"pt"].join(",")),p.hAlign=["Left","Center","Right"][t.horizontalAlign||0]||"Left",p.visibility=1===t.displayMode?"visible":"hidden",p}t.convertToExcelComment=v;function k(e){return e?i.UnitHelper.pointToPixel(parseFloat(e.replace("pt",""))):0}function F(e){var t=0;return e.indexOf("in")!==-1?t=72*parseFloat(e.replace("in","").trim()):e.indexOf("cm")!==-1?t=72*parseFloat(e.replace("cm","").trim())/2.54:e.indexOf("mm")!==-1?t=72*parseFloat(e.replace("mm","").trim())/25.4:e.indexOf("pt")!==-1&&(t=parseFloat(e.replace("pt","").trim())),i.UnitHelper.pointToPixel(t)}function R(e,t){if(!o.StringEx.L(t))return"double";if(e)switch(e.toLowerCase()){case"solid":return"solid";case"1 1":return"dotted";case"dash":case"dashdot":case"longdash":case"longdashdot":case"longdashdotdot":return"dashed"}return"solid"}function E(e){var t,r;if(e)switch(e.toLowerCase()){case"solid":t="solid";break;case"dotted":t="1 1";break;case"dashed":t="dash";break;case"double":r="thinThin"}return{dashStyle:t,lineStyle:r}}function I(e,t){if(e){var r=e.startPoint,o=e.endPoint;t.startRow=r.row,t.startRowOffset=r.rowOffset,t.startRowOffsetEmu=r.rowOffsetEmu,t.startColumn=r.col,t.startColumnOffset=r.colOffset,t.startColumnOffsetEmu=r.colOffsetEmu,t.endRow=o.row,t.endRowOffset=o.rowOffset,t.endRowOffsetEmu=o.rowOffsetEmu,t.endColumn=o.col,t.endColumnOffset=o.colOffset,t.endColumnOffsetEmu=o.colOffsetEmu}}c=1e5;function L(e){return{l:e.l/c,t:e.t/c,r:e.r/c,b:e.b/c}}function D(e){return{l:parseInt((e.l||0)*c,10),t:parseInt((e.t||0)*c,10),r:parseInt((e.r||0)*c,10),b:parseInt((e.b||0)*c,10)}}function B(e,t,r){var o,i=G(r,t.name,"picture"),n={name:i,alt:t.descr};return A(t,n,["src","isVisible","locked","rot"]),de(t.anchor,e,n,t.xfrm),U(t.pictureFormat,n),o=t.srcRect,o&&(n.srcRect=L(o)),n}t.convertFromExcelPicture=B;function P(e,t){return t.twoCellAnchor=Z(e,t),t}t.convertToExcelSlicer=P;function W(e,t){switch(e){case"solid":return"dbl"===t?"double":"solid";case"dot":case"sysDot":return"dotted"}return"dashed"}function _(e){return!e||"hidden"===e}function N(e){switch(e){case"dotted":return"dot";case"dashed":return"dash";case"double":return"dbl"}return"solid"}function M(e,t){var r,o={},n=t.src;return O(n,o),A(t,o,["name","locked","rot"]),o.descr=t.alt,o.twoCellAnchor=Z(e,t,!0),o.hidden=t.isVisible===!1,o.fillColor=i.ColorHelper.toExcelColor(t.backColor),o.lineBorder={width:_(t.borderStyle)?0:t.borderWidth,color:i.ColorHelper.toExcelColor(t.borderColor),style:N(t.borderStyle),noFill:t.noFill},r=t.srcRect,r&&(o.srcRect=D(r)),o}t.convertToExcelPicture=M,d=";base64,";function O(e,t){var r,o=e.indexOf(d);o>0&&(t.base64Image=e.substr(o+d.length),r=e.substr(0,o).split("/").pop(),"x-icon"===r&&(r="png"),t.imageType=r)}t.getPictureInfo=O;function H(e){if(!e)return!1;var t={};return O(e,t),"svg+xml"===t.imageType}t.isSVGPicture=H;function G(e,t,r){function o(e){return e.name===this.name}function i(t){var r=o.bind({name:t});return void 0!==e.filter(r)[0]}t=t||r;for(var n=t,a=1;i(n);)n=t+"_"+a,a++;return n}function U(e,t){var r,o,n,a,l;return e?(r=e.fillFormat,r&&1===r.fillFormatType&&(t.backColor=i.ColorHelper.toRGBColor(r.color)),o=e.lineFormat,void(o&&(t.borderWidth=o.width,n=o.fillFormat,n&&1===n.fillFormatType?t.borderColor=i.ColorHelper.toRGBColor(n.color):n&&0===n.fillFormatType&&(t.noFill=!0),a=o.lineDashType,a&&(l=o.compoundLineType,t.borderStyle=W(a,l))))):null}u=2;function J(e,t,r){e.rowCount<t&&(e.rowCount=t),e.columnCount<r&&(e.columnCount=r)}function z(e,t){var r=0,o=0,i=t.endPoint;i&&(r=i.row,o=i.col),r+=u,o+=u,J(e,r,o)}t.inflateWorksheetByAnchor=z;function V(e,t,r){var o,i,n;t?(o=t[6]+1,i=t[4]+1):(n=C(e,r),o=n.endPoint.row+u,i=n.endPoint.col+u),J(e,o,i)}function j(e,t,r){var o,i,n,a;return o=h(e,0,t.col)+t.colOffset,i=m(e,0,t.row)+t.rowOffset,n=h(e,0,r.col)+r.colOffset,a=m(e,0,r.row)+r.rowOffset,{x:o,y:i,width:n-o,height:a-i}}t.getBounds=j;function X(e,t){return j(e,t.startPoint,t.endPoint)}function K(e,t){var r=t.startPoint,o=h(e,0,r.col)+r.colOffset,i=m(e,0,r.row)+r.rowOffset;return{x:o,y:i,width:t.width,height:t.height}}function q(e){return{x:e.x,y:e.y,width:e.width,height:e.height}}function Y(e,t,r){var o=e.startPoint,i=e.endPoint,n=o.x*t,a=o.y*r,l=i.x*t,s=i.y*r;return{x:n,y:a,width:l-n,height:s-a}}function Q(e,t,r){var o=e.startPoint;return{x:o.x*t,y:o.y*r,width:e.width,height:e.height}}function Z(e,t,r){var i,n,a;return o.J(t.startRow)?C(e,{x:t.x||0,y:t.y||0,width:t.width||0,height:t.height||0}):(r&&(t=$(e,t)),i={row:t.startRow,rowOffset:t.startRowOffset||0,col:t.startColumn,colOffset:t.startColumnOffset||0},n={row:t.endRow,rowOffset:t.endRowOffset||0,col:t.endColumn,colOffset:t.endColumnOffset||0},a=ne(t.dynamicMove,t.dynamicSize),{startPoint:i,endPoint:n,editAs:a})}function $(e,t){var r=t.pictureStretch;return 0===r?t:1===r?ee(e,t):2===r?te(e,t):3===r?re(e,t):t}function ee(e,t){var r,o,i,n,a,l,s,c,d,u,f=e.rowCount,b=e.columnCount,p=t.width,g=t.height,y=t.startRow,S=t.startRowOffset||0,C=t.startColumn,w=t.startColumnOffset||0,x=t.endRow,A=t.endRowOffset||0,T=t.endColumn,v=t.endColumnOffset||0,k=t.originalWidth,F=t.originalHeight,R=Math.min(p,k),E=Math.min(g,F),I=F>g?S:S+(g-F)/2,L=k>p?w:w+(p-k)/2;for(p=R,g=E,r=0,o=y,i=I,n=!1;o<f;)if(a=m(e,o,o+1),o++,r+=a,!n&&(i-=a),i<0&&!n&&(y=o-1<0?0:o-1,S=a+i,n=!0),r>g+I){x=o-1<0?0:o-1,A=a-(r-g-I);break}for(l=0,s=C,c=L,d=!1;s<b;)if(u=h(e,s,s+1),s++,l+=u,!d&&(c-=u),c<0&&!d&&(C=s-1<0?0:s-1,w=u+c,d=!0),l>p+L){T=s-1<0?0:s-1,v=u-(l-p-L);break}return t.width=p,t.height=g,t.startRow=y,t.startRowOffset=S,t.endRow=x,t.endRowOffset=A,t.startColumn=C,t.startColumnOffset=w,t.endColumn=T,t.endColumnOffset=v,t}function te(e,t){var r,o,i,n,a,l,s,c,d=e.rowCount,u=e.columnCount,f=t.width,b=t.height,p=t.startRow,g=t.startRowOffset||0,y=t.startColumn,S=t.startColumnOffset||0,C=t.endRow,w=t.endRowOffset||0,x=t.endColumn,A=t.endColumnOffset||0,T=t.originalWidth,v=t.originalHeight,k=f/b,F=T/v,R=0,E=0,I=f,L=b;if(b>0&&v>0&&k>F)I=F*b,R=S+f/2-I/2,f=I,b=1/F*f;else{if(!(f>0&&T>0&&1/k>1/F))return t;L=1/F*f,E=g+b/2-L/2,b=L,f=F*b}if(R>0){for(;y<u;)if(r=h(e,y,y+1),y++,R-=r,R<0){y--,S=R+r;break}for(o=0,i=y;i<u;)if(n=h(e,i,i+1),i++,o+=n,o>I+S){A=n-(o-I-S),x=i-1<0?0:i-1;break}}else if(E>0){for(;p<d;)if(a=m(e,p,p+1),p++,E-=a,E<0){p--,g=E+a;break}for(l=0,s=p;s<d;)if(c=m(e,s,s+1),s++,l+=c,l>L+g){w=c-(l-L-g),C=s-1<0?0:s-1;break}}return t.width=f,t.height=b,t.startRow=p,t.startRowOffset=g,t.endRow=C,t.endRowOffset=w,t.startColumn=y,t.startColumnOffset=S,t.endColumn=x,t.endColumnOffset=A,t}function re(e,t){var r,o,i,n,a,l,s=e.rowCount,c=e.columnCount,d=t.width,u=t.height,f=t.startRow,b=t.startRowOffset||0,p=t.startColumn,g=t.startColumnOffset||0,y=t.endRow,S=t.endRowOffset||0,C=t.endColumn,w=t.endColumnOffset||0,x=t.originalWidth,A=t.originalHeight;for(d=Math.min(d,x),u=Math.min(u,A),r=0,o=f;o<s;)if(i=m(e,o,o+1),o++,r+=i,r>u+b){y=o-1<0?0:o-1,S=i-(r-u-b);break}for(n=0,a=p;a<c;)if(l=h(e,a,a+1),a++,n+=l,n>d+g){C=a-1<0?0:a-1,w=l-(n-d-g);break}return t.width=d,t.height=u,t.startRow=f,t.startRowOffset=b,t.endRow=y,t.endRowOffset=S,t.startColumn=p,t.startColumnOffset=g,t.endColumn=C,t.endColumnOffset=w,t}function oe(e,t,r,o){var i=t.anchorType;return 0===i?X(e,t):1===i?K(e,t):2===i?q(t):3===i?Y(t,r,o):4===i?Q(t,r,o):null}function ie(e){var t=e.anchorType||e.editAs||0,r=!0,o=!0;return 2===t?(r=!1,o=!1):1===t&&(o=!1),{dynamicMove:r,dynamicSize:o}}function ne(e,t){var r;return e===!1&&t===!1?r=2:t===!1&&(r=1),r}function ae(e,t,r){var o={x:e.x||0,y:e.y||0,width:e.width||0,height:e.height||0};return{startPoint:{x:(o.x/t).toFixed(5),y:(o.y/r).toFixed(5)},endPoint:{x:((o.x+o.width)/t).toFixed(5),y:((o.y+o.height)/r).toFixed(5)}}}function le(e){var t,r,o;return e?(t=i.ColorHelper.toExcelColor(e),r=t.colorType(),2===r?(o=i.ColorHelper.getRGBAColorData(t),{srgbClr:{val:o.rgb}}):3===r?{schemeClr:{val:t.value()}}:null):null}function se(e,t,r){return{x:e.x*r-e.y*t,y:e.x*t+e.y*r}}f=Math.PI/180/6e4;function ce(e){var t,r,i,n,a,l,s,c,d,u,b,h,p,m,g,y,S,C,w,x;if(e&&!o.J(e.rot))return t=e.rot,r=e.off,i=e.ext,n=r.x,a=r.y,l=i.cx,s=i.cy,c=l/2,d=s/2,u=t*f,b=Math.sin(u),h=Math.cos(u),p=n+c,m=a+d,g=[],y=[],[{x:-c,y:-d},{x:c,y:-d},{x:-c,y:d},{x:c,y:d}].forEach(function(e){var t=se(e,b,h);g.push(t.x+p),y.push(t.y+m)}),S=Math.min.apply(null,g),C=Math.max.apply(null,g),w=Math.min.apply(null,y),x=Math.max.apply(null,y),{x:S,y:w,width:C-S,height:x-w}}function de(e,t,r,o){var i,n,a=ce(o)||oe(t,e),l=ie(e);r.dynamicMove=l.dynamicMove,r.dynamicSize=l.dynamicSize,A(a,r,["x","y","width","height"]),0===e.anchorType?(i=o?C(t,a):e,I(i,r)):i=C(t,a),z(t,i),n=e.clientData,n&&(r.isLocked=n.fLocksWithSheet,r.canPrint=n.fPrintsWithSheet)}function ue(e,t){var r,i,n,a,l,s,c,d,u,f,b;return z(e,t),n=o.Util.za(t),a=n&&n.layoutId,l=o.Util.Aa(a),r=l?t.AlternateContent&&t.AlternateContent.Choice&&t.AlternateContent.Choice.GraphicalObjectFrame&&t.AlternateContent.Choice.GraphicalObjectFrame.nvGraphicFramePr:2===t.shapeType?t.nvGraphicFramePr:t.graphicFrame&&t.graphicFrame.nvGraphicFramePr,i=r&&r.cNvPr,s=G(e.charts,i.name,"chart"),c=t.chartSpace,d={name:s,chartSpace:c,isVisible:!i.hidden,alt:i.descr,AlternateContent:t.AlternateContent},de(t,e,d,t.xfrm),u=d.width,f=d.height,b=c.userShapes,b&&(c.userShapes=b.map(function(t){return t.pic?me(e,t,u,f):t.graphicFrame?he(e,t,u,f):void 0})),d}t.convertFromExcelChart=ue;function fe(e,t){var r,o=t.shapeData;return o.editAs=ne(t.dynamicMove,t.dynamicSize),o.clientData={fLocksWithSheet:t.isLocked,fPrintsWithSheet:t.canPrint},r=t.alt,r&&(o.sp?o.sp.nvSpPr.cNvPr.descr=r:o.cxnSp?o.cxnSp.nvCxnSpPr.cNvPr.descr=r:o.grpSp?o.grpSp.nvGrpSpPr.cNvPr.descr=r:o.pic&&(o.pic.nvPicPr.cNvPr.descr=r)),o}t.convertToExcelShape=fe;function be(e,t){var r,i=Z(e,t),n=t.isVisible,a=t.chartSpace,l={anchorType:0,startPoint:i.startPoint,endPoint:i.endPoint,editAs:i.editAs,graphicFrame:{nvGraphicFramePr:{cNvPr:{name:t.name,descr:t.alt||"",hidden:!o.J(n)&&!n}}},clientData:{fLocksWithSheet:t.isLocked,fPrintsWithSheet:t.canPrint},chartSpace:a,AlternateContent:t.AlternateContent},s=1,c=a.userShapes;return c&&c.length>0&&(r=c.map(function(e){var r;return"1"===e.typeName?(r=ge(e,s,t.width,t.height),s++):"2"===e.typeName&&(r=pe(e,s,t.width,t.height),s++),r}).filter(function(e){return!!e}),r.length>0?a.userShapes={relSizeAnchor:r}:delete a.userShapes),l}t.convertToExcelChart=be;function he(e,t,r,o){var i=t.graphicFrame&&t.graphicFrame.nvGraphicFramePr&&t.graphicFrame.nvGraphicFramePr.cNvPr&&t.graphicFrame.nvGraphicFramePr.cNvPr,n=G(e.charts,i.name,"chart"),a=oe(e,t,r,o),l={name:n,chartSpace:t.chartSpace,isVisible:!i.hidden,alt:i.descr};return A(a,l,["x","y","width","height"]),l}function pe(e,t,r,i){var n=ae(e,r,i),a=e.isVisible;return{typeName:e.typeName,anchorType:3,startPoint:n.startPoint,endPoint:n.endPoint,graphicFrame:{nvGraphicFramePr:{cNvPr:{name:e.name,descr:e.alt||"",hidden:!o.J(a)&&!a}}},chartSpace:e.chartSpace}}function me(e,t,r,o){var i,n,a,l,s,c=t.pic&&t.pic.nvPicPr&&t.pic.nvPicPr.cNvPr,d=c.name,u=e.floatingObjects;return u&&(d=G(u,d,"picture")),i=t.pic&&t.pic.blipFill,n=i&&i.blip&&i.blip.blipBlob,a=n&&n.blob,l={name:d,alt:c.descr,src:a,isVisible:!c.hidden},s=oe(e,t,r,o),A(s,l,["x","y","width","height"]),U(t.pictureFormat,l),l}function ge(e,t,r,o){var i,a,l=ae(e,r,o),s={typeName:e.typeName,anchorType:3,startPoint:l.startPoint,endPoint:l.endPoint,pic:{nvPicPr:{cNvPr:{name:e.name,descr:e.alt||""},cNvPicPr:{picLocks:{}}},spPr:{ln:{w:_(e.borderStyle)?0:e.borderWidth},prstGeom:{prst:1,avLst:{}}}},src:e.src},c=s.pic.spPr,d=c.ln,u=le(e.backColor);return u&&(c.solidFill=u),i=le(e.borderColor),i&&(d.solidFill=i),a=N(e.borderStyle),"dbl"===a?d.cmpd=n.Charts.ST_CompoundLine[a]:d.prstDash=n.Charts.ST_PresetLineDashVal[a],s}function ye(e,t){return!(!e||!t||e.color!==t.color||e.type!==t.type)||!e&&!t}t.isBorderEqual=ye,b={backColor:2,foreColor:0,borderBottom:1,borderLeft:1,borderRight:1,borderTop:1,font:0,textDecoration:0};function Se(e,t){var r,i={};for(r in e)e.hasOwnProperty(r)&&(0===b[r]?e[r]!==t[r]&&(i[r]=e[r]):1===b[r]?ye(e[r],t[r])||(i[r]=e[r]):2===b[r]?o.Util.Da(e[r],t[r])||(i[r]=e[r]):i[r]=e[r]);return i}t.processTableCellStyle=Se;function Ce(e,t){var r,o={};for(r in e)e.hasOwnProperty(r)&&(o[r]=e[r]);for(r in b)void 0===e[r]&&void 0!==t[r]&&(o[r]=t[r]);return o}t.resetTableCellStyle=Ce;function we(e,t){var r,o="png",i=e.lastIndexOf(".");return i!==-1&&(o=e.substr(i+1)),"svg"===o&&(o="svg+xml"),r=t(e,!0),r?"data:image/"+o+";base64,"+r:l}t.getImageContent=we;function xe(e){return JSON.parse(JSON.stringify(e))}function Ae(e){var t=e.sp||e.cxnSp||e.grpSp;return t&&(t.spPr&&t.spPr.xfrm||t.grpSpPr&&t.grpSpPr.xfrm)}t.getXFrm=Ae;function Te(e,t){if(e&&5===e.shapeType){var r=t[e.nvSpPr.cNvPr.id];r&&(e.shapeType=7,e.control=r)}}function ve(e,t){var r=e&&e.sp||[];r.forEach(function(e){5===e.shapeType?Te(e,t):3===e.shapeType&&ve(e,t)})}function ke(e,t){var r,o,i={},n=e.controls||{};return de(t,e,i),t.sp?(Te(t.sp,n),i.shapeType=t.sp.shapeType,i.name=t.sp.nvSpPr.cNvPr.name,i.alt=t.sp.nvSpPr.cNvPr.descr,i.shapeData=xe(t)):t.cxnSp?(i.shapeType=t.cxnSp.shapeType,i.name=t.cxnSp.nvCxnSpPr.cNvPr.name,i.alt=t.cxnSp.nvCxnSpPr.cNvPr.descr,i.shapeData=xe(t)):t.grpSp?(ve(t.grpSp,n),i.shapeType=t.grpSp.shapeType,i.name=t.grpSp.nvGrpSpPr.cNvPr.name,i.alt=t.grpSp.nvGrpSpPr.cNvPr.descr,i.shapeData=xe(t)):t.pic&&(r=t.pic,i.shapeType=r.shapeType,i.name=r.nvPicPr.cNvPr.name,i.alt=r.nvPicPr.cNvPr.descr,i.shapeData=xe(t)),o=i.shapeData,o&&o.hidden&&(o.isVisible=!1,i.isVisible=!1,delete o.hidden),i}t.convertFromExcelShape=ke,t.toProtectionOptions={selectLockedCells:"allowSelectLockedCells",selectUnlockedCells:"allowSelectUnlockedCells",autoFilter:"allowFilter",sort:"allowSort",insertColumns:"allowInsertColumns",insertRows:"allowInsertRows",deleteColumns:"allowDeleteColumns",deleteRows:"allowDeleteRows",objects:"allowEditObjects"},t.fromProtectionOptions={allowSelectLockedCells:"selectLockedCells",allowSelectUnlockedCells:"selectUnlockedCells",allowFilter:"autoFilter",allowSort:"sort",allowInsertColumns:"insertColumns",allowInsertRows:"insertRows",allowDeleteColumns:"deleteColumns",allowDeleteRows:"deleteRows",allowEditObjects:"objects"},t.excelSupportProtectionOptions={formatCells:!0,formatColumns:!0,formatRows:!0,insertColumns:!0,insertRows:!0,insertHyperlinks:!0,deleteColumns:!0,deleteRows:!0,sort:!0,autoFilter:!0,pivotTables:!0};function Fe(e){return Ee(e)?(e>4294934530&&e<4294967296&&(e-=4294967296),e):e}t.convertFirstPageNumber=Fe;function Re(e){return Ee(e)?(e<0&&(e+=4294967296),e):e}t.convertFirstPageNumberToExcel=Re;function Ee(e){return"string"==typeof e&&(e=+e),!(isNaN(e)||!isFinite(e))}},"./src/datamodel/excel-style.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A,T,v,k,F,R,E,I,L,D,B,P,W,_,N,M,O,H,G;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/builtIn-resource.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/xml-io/xml-reader.ts"),l=r("./src/xlsx-io/reader/style-reader.ts"),s=null,c=void 0,d="Headings",u="Body",f="Calibri",b="bold",h="italic",function(e){e[e.none=0]="none",e[e.major=1]="major",e[e.minor=2]="minor",e[e.ninched=255]="ninched"}(p=t.FontSchemeCategory||(t.FontSchemeCategory={})),function(e){e[e.top=0]="top",e[e.center=1]="center",e[e.bottom=2]="bottom",e[e.justify=3]="justify",e[e.distributed=4]="distributed"}(m=t.ExcelVerticalAlignment||(t.ExcelVerticalAlignment={})),function(e){e[e.general=0]="general",e[e.left=1]="left",e[e.center=2]="center",e[e.right=3]="right",e[e.fill=4]="fill",e[e.justify=5]="justify",e[e.centerContinuous=6]="centerContinuous",e[e.distributed=7]="distributed"}(g=t.ExcelHorizontalAlignment||(t.ExcelHorizontalAlignment={})),function(e){e[e.accordingToContext=0]="accordingToContext",e[e.leftToRight=1]="leftToRight",e[e.rightToLeft=2]="rightToLeft"}(y=t.TextDirection||(t.TextDirection={})),function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.double=2]="double",e[e.singleaccounting=3]="singleaccounting",e[e.doubleaccounting=4]="doubleaccounting"}(S=t.UnderLineStyle||(t.UnderLineStyle={})),function(e){e[e.baseLine=0]="baseLine",e[e.superscript=1]="superscript",e[e.subscript=2]="subscript"}(C=t.VertAlign||(t.VertAlign={})),function(e){e[e.none=0]="none",e[e.thin=1]="thin",e[e.medium=2]="medium",e[e.dashed=3]="dashed",e[e.dotted=4]="dotted",e[e.thick=5]="thick",e[e.double=6]="double",e[e.hair=7]="hair",e[e.mediumDashed=8]="mediumDashed",e[e.dashDot=9]="dashDot",e[e.mediumDashDot=10]="mediumDashDot",e[e.dashDotDot=11]="dashDotDot",e[e.mediumDashDotDot=12]="mediumDashDotDot",e[e.slantDashDot=13]="slantDashDot"}(w=t.ExcelBorderStyle||(t.ExcelBorderStyle={})),function(e){e[e.none=0]="none",e[e.solid=1]="solid",e[e.darkGray=2]="darkGray",e[e.mediumGray=3]="mediumGray",e[e.lightGray=4]="lightGray",e[e.gray125=5]="gray125",e[e.gray0625=6]="gray0625",e[e.darkHorizontal=7]="darkHorizontal",e[e.darkVertical=8]="darkVertical",e[e.darkDown=9]="darkDown",e[e.darkUp=10]="darkUp",e[e.darkGrid=11]="darkGrid",e[e.darkTrellis=12]="darkTrellis",e[e.lightHorizontal=13]="lightHorizontal",e[e.lightVertical=14]="lightVertical",e[e.lightDown=15]="lightDown",e[e.lightUp=16]="lightUp",e[e.lightGrid=17]="lightGrid",e[e.lightTrellis=18]="lightTrellis"}(x=t.FillPatternType||(t.FillPatternType={})),A=function(){function e(e,t,r){var o=this;if(3===e&&t>11&&241!==t&&242!==t&&243!==t&&244!==t&&255!==t)throw Error("themeColorIndexError");if(r>1||r<-1)throw Error("colorTintError");1===e&&32767===t&&(o.Vj=!0),o.Wj=e||2,o.Xj=t||0,o.Yj=r||0}return e.prototype.colorType=function(){return this.Wj},e.prototype.value=function(){return this.Xj},e.prototype.tint=function(){return this.Yj},e.prototype.isAutoColor=function(e){var t=this;return 0===arguments.length?t.Vj:void("boolean"==typeof e&&e!==t.Vj&&(t.Vj=e))},e.prototype.isIndexedColor=function(){return 1===this.Wj},e.prototype.isRGBColor=function(){return 2===this.Wj},e.prototype.isThemeColor=function(){return 3===this.Wj},e.prototype.equals=function(e){return this===e||!!e&&(this.Wj===e.colorType()&&this.value()===e.value()&&this.tint()===e.tint()&&this.isAutoColor()===e.isAutoColor())},e.EmptyColor=new e,e}(),t.ExcelColor=A,T=function(){function e(e,t){this.color=e||null,this.lineStyle=t||0}return e.prototype.equals=function(e){var t=this;return t===e||!!e&&(t.color?t.color.equals(e.color)&&t.lineStyle===e.lineStyle:!e.color&&t.lineStyle===e.lineStyle)},e.prototype.isDefault=function(){return null===this.color&&0===this.lineStyle},e}(),t.ExcelBorderSide=T,v=function(){function e(){var e=this;e.left=new T,e.top=new T,e.right=new T,e.bottom=new T,e.diagonalUp=new T,e.diagonalDown=new T}return e.prototype.clone=function(){var t=this,r=new e;return r.left=t.left?new T(t.left.color,t.left.lineStyle):t.left,r.right=t.right?new T(t.right.color,t.right.lineStyle):t.right,r.top=t.top?new T(t.top.color,t.top.lineStyle):t.top,r.bottom=t.bottom?new T(t.bottom.color,t.bottom.lineStyle):t.bottom,r.diagonalUp=t.diagonalUp?new T(t.diagonalUp.color,t.diagonalUp.lineStyle):t.diagonalUp,r.diagonalDown=t.diagonalDown?new T(t.diagonalDown.color,t.diagonalDown.lineStyle):t.diagonalDown,r},e.prototype.compose=function(e){var t=this;t.left&&t.left.isDefault()&&(t.left=e.left),t.right&&t.right.isDefault()&&(t.right=e.right),t.top&&t.top.isDefault()&&(t.top=e.top),t.bottom&&t.bottom.isDefault()&&(t.bottom=e.bottom),t.diagonalUp&&t.diagonalUp.isDefault()&&(t.diagonalUp=e.diagonalUp),t.diagonalDown&&t.diagonalDown.isDefault()&&(t.diagonalDown=e.diagonalDown)},e.prototype.equals=function(e){var t=this;return t===e||!!e&&(t.left.equals(e.left)&&t.right.equals(e.right)&&t.top.equals(e.top)&&t.bottom.equals(e.bottom)&&t.diagonalUp.equals(e.diagonalUp)&&t.diagonalDown.equals(e.diagonalDown));
29
29
  },e}(),t.ExcelBorder=v,k=function(){function e(){}return e.prototype.clone=function(){var t=this,r=new e;return r.bgColor=t.bgColor,r.fgColor=t.fgColor,r.patternType=t.patternType,r.stops=t.stops,r.type=t.type,r.degree=t.degree,r.left=t.left,r.right=t.right,r.top=t.top,r.bottom=t.bottom,r},e.prototype.compose=function(e){var t=this;t.bgColor===c&&(t.bgColor=e.bgColor),t.fgColor===c&&(t.fgColor=e.fgColor),t.patternType===c&&(t.patternType=e.patternType),t.stops===c&&(t.stops=e.stops),t.type===c&&(t.type=e.type),t.degree===c&&(t.degree=e.degree),t.left===c&&(t.left=e.left),t.right===c&&(t.right=e.right),t.top===c&&(t.top=e.top),t.bottom===c&&(t.bottom=e.bottom)},e.prototype.equals=function(e){var t=this;return t===e||!!e&&JSON.stringify(t)===JSON.stringify(e)},e.Default=function(){return e.Zj||(e.Zj=new e,e.Zj.bgColor=c,e.Zj.fgColor=c,e.Zj.patternType=0),e.Zj},e}(),t.ExcelFill=k,F=function(){function e(e,t,r){var o=this;void 0!==t?o.fontColor=t:o.fontColor=null,void 0!==e?o.fontName=e:o.fontName=null,void 0!==r?o.fontFamily=r:o.fontFamily=0,o.isAutoColor=!1,o.isBold=!1,o.isItalic=!1,o.isOutlineStyle=!1,o.isShadowStyle=!1,o.isStrikeOut=!1,o.fontScheme=0,o.fontSize=11,o.charSetIndex=0,o.underLineStyle=0,o.vertAlign=0,o.Zj=null}return e.prototype.equals=function(e){var t,r=this;return r===e||!!e&&(t=r.isBold===e.isBold&&r.isItalic===e.isItalic&&this.isOutlineStyle===e.isOutlineStyle&&this.isShadowStyle===e.isShadowStyle&&this.isStrikeOut===e.isStrikeOut&&this.fontName===e.fontName&&this.fontFamily===e.fontFamily&&this.fontSize===e.fontSize&&this.charSetIndex===e.charSetIndex&&this.underLineStyle===e.underLineStyle&&this.vertAlign===e.vertAlign&&this.fontScheme===e.fontScheme,!!t&&(!r.fontColor&&!e.fontColor||!(!r.fontColor&&e.fontColor)&&(!(r.fontColor&&!e.fontColor)&&r.fontColor.equals(e.fontColor))))},e.prototype.clone=function(){var t=this,r=new e(t.fontName,t.fontColor,t.fontFamily);return r.isAutoColor=t.isAutoColor,r.isBold=t.isBold,r.isItalic=t.isItalic,r.isOutlineStyle=t.isOutlineStyle,r.isShadowStyle=t.isShadowStyle,r.isStrikeOut=t.isStrikeOut,r.fontScheme=t.fontScheme,r.fontSize=t.fontSize,r.charSetIndex=t.charSetIndex,r.underLineStyle=t.underLineStyle,r.vertAlign=t.vertAlign,r.fontColor=t.fontColor,r},e.prototype.Default=function(){var t=this;return t.Zj||(t.Zj=new e,t.Zj.fontSize=11,t.Zj.fontFamily=2,t.Zj.fontColor=new A(1,0,0),t.Zj.fontName="Calibri",t.Zj.charSetIndex=0),t.Zj},e.prototype.compose=function(e){var t=this;null===t.fontColor&&(t.fontColor=e.fontColor),null===t.fontName&&(t.fontName=e.fontName),0===t.fontFamily&&(t.fontFamily=e.fontFamily),t.isAutoColor===!1&&(t.isAutoColor=e.isAutoColor),t.isBold===!1&&(t.isBold=e.isBold),t.isItalic===!1&&(t.isItalic=e.isItalic),t.isOutlineStyle===!1&&(t.isOutlineStyle=e.isOutlineStyle),t.isShadowStyle===!1&&(t.isShadowStyle=e.isShadowStyle),t.isStrikeOut===!1&&(t.isStrikeOut=e.isStrikeOut),0===t.fontScheme&&(t.fontScheme=e.fontScheme),11===t.fontSize&&(t.fontSize=e.fontSize),0===t.charSetIndex&&(t.charSetIndex=e.charSetIndex),0===t.underLineStyle&&(t.underLineStyle=e.underLineStyle),0===t.vertAlign&&(t.vertAlign=e.vertAlign),null===t.Zj&&(t.Zj=e.Zj)},e}(),t.ExcelFont=F,R=function(){function e(e,t){this.numberFormatId=e,this.numberFormatCode=t}return e.prototype.equals=function(e){var t=this;return t===e||!!e&&(t.numberFormatId===e.numberFormatId&&t.numberFormatCode===e.numberFormatCode)},e.prototype.compose=function(e){var t=this;t.numberFormatId===c&&(t.numberFormatId=e.numberFormatId),t.numberFormatCode===c&&(t.numberFormatCode=e.numberFormatCode)},e.prototype.clone=function(){var t=this;return new e(t.numberFormatId,t.numberFormatCode)},e}(),t.ExcelNumerFormat=R,E=function(){function e(){var e=this;e.font=(new F).Default(),e.border=new v,e.applyAlignment=c,e.applyBorder=c,e.applyFill=c,e.applyFont=c,e.applyNumberFormat=c,e.applyProtection=c,e.quotePrefix=c,e.fill=k.Default(),e.numberFormatIndex=0,e.numberFormat=c,e.isStyleFormat=!1,e.parentFormatID=c,e.parentName=c,e.horizontalAlign=0,e.verticalAlign=0,e.isLocked=!1,e.rotation=0,e.isWordWrap=!1,e.isJustfyLastLine=!1,e.isShrinkToFit=!1,e.isFirstSymbolApostrophe=!1,e.readingOrder=0,e.isHidden=!1,e.indent=0,e.isVerticalText=!1}return e.Default=function(){var t=new e;return t.numberFormatIndex=0,t.isLocked=!0,t.verticalAlign=2,t.horizontalAlign=0,t},e.prototype.copyFrom=function(e){var t=this;t.applyAlignment=e.applyAlignment,t.applyBorder=e.applyBorder,t.applyFill=e.applyFill,t.applyFont=e.applyFont,t.applyNumberFormat=e.applyNumberFormat,t.applyProtection=e.applyProtection,t.fill=null!==e.fill?e.fill.clone():null,t.border=null!==e.border?e.border.clone():null,t.font=null!==e.font?e.font.clone():null,t.numberFormatIndex=e.numberFormatIndex,t.numberFormat=e.numberFormat,t.isStyleFormat=e.isStyleFormat,t.parentFormatID=e.parentFormatID,t.horizontalAlign=e.horizontalAlign,t.verticalAlign=e.verticalAlign,t.isLocked=e.isLocked,t.rotation=e.rotation,t.isWordWrap=e.isWordWrap,t.isJustfyLastLine=e.isJustfyLastLine,t.isShrinkToFit=e.isShrinkToFit,t.isFirstSymbolApostrophe=e.isFirstSymbolApostrophe,t.readingOrder=e.readingOrder,t.isHidden=e.isHidden,t.indent=e.indent,t.quotePrefix=e.quotePrefix},e.prototype.clone=function(){var t=new e;return t.copyFrom(this),t},e.prototype.equals=function(e,t,r){var o,i=this;if(i===e)return!0;if(!e)return!1;if(!i.numberFormat&&e.numberFormat)return!1;if(o=i.numberFormatIndex===e.numberFormatIndex&&i.horizontalAlign===e.horizontalAlign&&i.verticalAlign===e.verticalAlign&&i.isLocked===e.isLocked&&i.rotation===e.rotation&&i.isWordWrap===e.isWordWrap&&i.isJustfyLastLine===e.isJustfyLastLine&&i.isShrinkToFit===e.isShrinkToFit&&i.isFirstSymbolApostrophe===e.isFirstSymbolApostrophe&&i.readingOrder===e.readingOrder&&i.isHidden===e.isHidden&&i.indent===e.indent&&i.parentFormatID===e.parentFormatID&&i.quotePrefix===e.quotePrefix&&i.border.equals(e.border)&&i.isVerticalText===e.isVerticalText,t||(o=o&&i.parentName===e.parentName),r||(o=o&&i.applyAlignment===e.applyAlignment&&i.applyBorder===e.applyBorder&&i.applyFill===e.applyFill&&i.applyFont===e.applyFont&&i.applyNumberFormat===e.applyNumberFormat&&i.applyProtection===e.applyProtection),i.font)o=o&&i.font.equals(e.font);else if(e.font)return!1;if(i.numberFormat&&(o=o&&i.numberFormat.equals(e.numberFormat)),i.fill)o=o&&i.fill.equals(e.fill);else if(e.fill)return!1;return o},e}(),t.ExtendedFormat=E,I=function(){function e(){this.$j=null,this.builtInStyle=0,this.category=0,this.isCustomBuiltin=!1,this.name=null,this.outLineLevel=0}return e.prototype.format=function(e){var t=this;return 0===arguments.length?(null===t.$j&&(t.$j=new E),t.$j):void(t.$j=e)},e.prototype.copy=function(){var t=this,r=new e;return r.builtInStyle=t.builtInStyle,r.outLineLevel=t.outLineLevel,r.isCustomBuiltin=t.isCustomBuiltin,r.category=t.category,r.name=t.name,r.format(t.format().clone()),r},e.prototype.isBuiltInStyle=function(){return!0},e.prototype.getBuiltInStyleCategory=function(){var e=this;if(!e.isBuiltInStyle())return 0;switch(e.builtInStyle){case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 2:case 1:return 4;case 24:return 1;case 19:return 2;case 20:return 2;case 3:case 6:case 4:case 7:return 5;case 49:return 2;case 23:return 1;case 13:case 14:case 15:case 16:return 3;case 17:return 2;case 21:return 2;case 25:return 1;case 0:return 1;case 10:case 18:return 2;case 5:return 5;case 12:case 22:return 3;case 11:return 2;default:return 0}},e}(),t.ExcelStyle=I,L=function(){function e(){this.$j=null,this.name=null}return e.prototype.format=function(e){var t=this;return 0===arguments.length?(null===t.$j&&(t.$j=new E),t.$j):(t.$j=e,this)},e.prototype.copy=function(){var t=new e;return t.name=this.name,t.format(this.format().clone()),t},e.prototype.isBuiltInStyle=function(){return!1},e}(),t.CustomExcelStyle=L,D=function(){function e(){}return e.initBuiltInExcelStyleCollections=function(){var t,r,o,n,s,c,d,u;if(e.builtInStyles.length=0,t=i.BuiltInStylesResource)for(r=new a.XmlReader,r.reset(),r.setXml(t),o=[],n=[],s=[],c=[],d={};r.read();)if(1===r.depth&&2!==r.elementType)switch(r.name()){case"numFmts":l.readNumberFormats(r,d);break;case"fonts":l.readFonts(r,o);break;case"fills":l.readFills(r,n);break;case"borders":l.readBorders(r,s);break;case"cellStyleXfs":l.readXFs(r,c,o,s,d,n,!0);break;case"cellStyles":for(u=r.depth;r.read();){if(r.depth<=u)return;1===r.nodeType()&&"cellStyle"===r.name()&&U(r,c,d)}}},e.getBuiltInStyles=function(){var t,r,o=e.builtInStyles.length;for(47!==o&&e.initBuiltInExcelStyleCollections(),t=[],o=e.builtInStyles.length,r=0;r<o;r++)t.push(e.builtInStyles[r].copy());return t},e.getNormalStyle=function(){var e,t=new E;return t.font=new F,t.font.fontColor=new A(3,1),t.font.fontSize=11,t.font.fontName="Calibri",e=new I,e.format(t),e.name="Normal",e.builtInStyle=0,e},e.builtInStyles=[],e}(),t.BuiltInExcelStyles=D;function U(e,t,r){for(var o,i,n=c,a=0,l=0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"name":n=e.readContentAsString();break;case"xfId":a=e.readContentAsInt(0);break;case"builtinId":l=e.readContentAsInt(0)}o=t[a],o.isStyleFormat=!0,i=new I,i.name=n,i.format(o.clone()),!i.format().numberFormat&&r[i.format().numberFormatIndex]&&(i.format().numberFormat=r[i.format().numberFormatIndex],i.format().numberFormatIndex=0),i.isCustomBuiltin=!1,i.builtInStyle=l,i.category=i.getBuiltInStyleCategory(),D.builtInStyles.push(i)}B=function(){function e(){}return e.builtInNumberFomrat=function(){return e._j||(e._j={count:0}),0===e._j.count&&e.initBuintNumberFormat(),e._j},e.languageIndepedentNumberFormat=function(){return e.ak||(e.ak={count:0}),0===e.ak.count&&e.initLanguageIndepedentNumberFormat(),e.ak},e.formatCodeTable=function(){return e.ck||(e.ck=[]),e.ck},e.customNumberFormat=function(){return e.dk||(e.dk={count:0}),e.dk},e.getCultureInfo=function(){var e=o.K(),t=e&&e.GC&&e.GC.Spread&&e.GC.Spread.Common&&o.K().GC.Spread.Common.CultureManager.getCultureInfo();return t||o.Ga()},e.initBuintNumberFormat=function(){var t,r,i,n,a,l,s,c=e._j;if(c[0]="General",c[1]="0",c[2]="0.00",c[3]="#,##0",c[4]="#,##0.00",c[9]="0%",c[10]="0.00%",c[11]="0.00E+00",c[12]="# ?/?",c[13]="# ??/??",c[14]="m/d/yyyy",c[15]="d-mmm-yy",c[16]="d-mmm",c[17]="mmm-yy",c[18]="h:mm AM/PM",c[19]="h:mm:ss AM/PM",c[20]="h:mm",c[21]="h:mm:ss",c[22]="m/d/yyyy h:mm",c[37]="#,##0_);(#,##0)",c[38]="#,##0_);[Red](#,##0)",c[39]="#,##0.00_);(#,##0.00)",c[40]="#,##0.00_);[Red](#,##0.00)",c[45]="mm:ss",c[46]="[h]:mm:ss",c[47]="mm:ss.0",c[48]="##0.0E+0",c[49]="@",c.count=49,o.Fa())if(t=o.Fa(),"zh-cn"===t)c[14]="yyyy/m/d",c[17]="mmm-yy",c[22]="yyyy/m/d h:mm",c[27]='yyyy"\u5e74"m"\u6708"',c[28]='m"\u6708"d"\u65e5"',c[29]='m"\u6708"d"\u65e5"',c[30]="m-d-yy",c[31]='yyyy"\u5e74"m"\u6708"d"\u65e5"',c[32]='h"\u65f6"mm"\u5206"',c[33]='h"\u65f6"mm"\u5206"ss"\u79d2"',c[34]='\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"',c[35]='\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"ss"\u79d2"',c[36]='yyyy"\u5e74"m"\u6708"',c[39]="#,##0.00;-#,##0.00",c[40]="#,##0.00;[Red]-#,##0.00",c[50]='yyyy"\u5e74"m"\u6708"',c[51]='m"\u6708"d"\u65e5"',c[52]='yyyy"\u5e74"m"\u6708"',c[53]='m"\u6708"d"\u65e5"',c[54]='m"\u6708"d"\u65e5"',c[55]='\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"',c[56]='\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"ss"\u79d2"',c[57]='yyyy"\u5e74"m"\u6708"',c[58]='m"\u6708"d"\u65e5"',c.count=58;else if("ja-jp"===t)c[14]="yyyy/m/d",c[15]="dd-mmm-yy",c[16]="dd-mmm",c[17]="mmm-yy",c[22]="yyyy/mm/dd h:mm",c[27]="[$-411]ge.m.d",c[28]='[$-411]ggge"\u5e74"m"\u6708"d"',c[29]='[$-411]ggge"\u5e74"m"\u6708"d"',c[30]="m/d/yy",c[31]='yyyy"\u5e74"m"\u6708"d"\u65e5"',c[32]='h"\u6642"mm"\u5206"',c[33]='h"\u6642"mm"\u5206"ss"\u79d2"',c[34]='yyyy"\u5e74"m"\u6708"',c[35]='m"\u6708"d"\u65e5"',c[36]="[$-411]ge.m.d",c[38]="#,##0;[Red]-#,##0",c[39]="#,##0.00;-#,##0.00",c[40]="#,##0.00;[Red]-#,##0.00",c[50]="[$-411]ge.m.d",c[51]='[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',c[52]='yyyy"\u5e74"m"\u6708"',c[53]='m"\u6708"d"\u65e5"',c[54]='[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',c[55]='yyyy"\u5e74"m"\u6708"',c[56]='m"\u6708"d"\u65e5"',c[57]="[$-411]ge.m.d",c[58]='[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',c.count=58;else{if(r=e.getCultureInfo(),i=r&&r.LocalNumberFormat,o.isNullOrUndefined(i)||Array.isArray(i)||"object"!=typeof i)return;for(n in i)isNaN(+n)||(a=i[n],o.Util.Ca(a)&&(c[n]=i[n]));l=0;for(n in c)isNaN(+n)||(s=+n,s>l&&(l=s));c.count=l}},e.initLanguageIndepedentNumberFormat=function(){var t=e.ak;t[27]="m/d/yyyy",t[28]="m/d/yyyy",t[29]="m/d/yyyy",t[30]="m/d/yyyy",t[31]="m/d/yyyy",t[32]="h:mm:ss",t[33]="h:mm:ss",t[34]="m/d/yyyy",t[35]="m/d/yyyy",t[36]="m/d/yyyy",t[50]="m/d/yyyy",t[51]="m/d/yyyy",t[52]="m/d/yyyy",t[53]="m/d/yyyy",t[54]="m/d/yyyy",t[55]="m/d/yyyy",t[56]="m/d/yyyy",t[57]="m/d/yyyy",t[58]="m/d/yyyy"},e.getFormatCode=function(t){var r,o,i,n=e.builtInNumberFomrat(),a=e.customNumberFormat(),l=e.languageIndepedentNumberFormat(),s=t.numberFormatIndex;return t.numberFormat?(r=t.numberFormat,o=r.numberFormatId,i=r.numberFormatCode,n[o]&&n[o]!==i?(n[o]=i,i):(a[i]||(a[i]=o,a.count++),i)):n[s]?n[s]:l[s]?l[s]:"General"},e.getFormatId=function(t){var r,o,i,n,a,l,s,c=e.ek();if(c[t])return c[t];if(o=e.builtInNumberFomrat())for(i in o)if(o[i]===t)return r={isBuiltIn:!0,id:parseInt(i,10)},c[t]=r,r;if(n=e.customNumberFormat(),n&&n[t])return r={isBuiltIn:!1,id:n[t]},c[t]=r,r;if(a=0,n.count>0){l=0;for(s in n)n[s]>l&&(l=n[s]);a=l}return a=Math.max(e.fk,a)+1,e.fk++,n[t]=a,r={isBuiltIn:!1,id:a}},e.ek=function(){return e.gk||(e.gk={}),e.gk},e.ck=null,e.gk=null,e._j={count:0},e.ak={count:0},e.dk={count:0},e.fk=170,e}(),t.ExtendedNumberFormatHelper=B;function J(e,t){var r=Math.pow(10,t);return Math.round(e*r)/r}P=function(){function e(){}return e.pointToPixel=function(e,t){return void 0===t&&(t=2),J(96*e/72,t)},e.pixelToPoint=function(e){return 72*e/96},e.emuToPixles=function(e,t){return J(96*e/914400,t||2)},e.pixelToEMU=function(e){return Math.round(914400*e/96)},e.getMaxiumDigitWidth=function(t){var r,o,i,a,l,s,c=0,d=e.hk();if(d[t])return d[t];try{if(e.ik||(e.ik=document.createElement("span")),r=e.ik,r.style.font=t,o=r.style.fontSize,o.indexOf("px")!==-1?o=Math.round(e.pixelToPoint(parseFloat(o))):o.indexOf("pt")!==-1&&(o=Math.round(parseFloat(o))),!isNaN(o)&&o||(o=Math.round(e.pixelToPoint(parseFloat(t.match(/(\d|\.)+/))))),i=r.style.fontFamily,i||t.split(" ").forEach(function(e){"normal"!==e&&"italic"!==e&&"bold"!==e&&e.indexOf("px")===-1&&e.indexOf("pt")===-1&&isNaN(e)&&(i=e)}),n.unknownFontMaxDigitWidthMap[o]&&n.unknownFontMaxDigitWidthMap[o][i]?c=n.unknownFontMaxDigitWidthMap[o][i]:n.MaxDigitWidthMap[o]&&n.MaxDigitWidthMap[o][i]&&(c=n.MaxDigitWidthMap[o][i]),c>0)return c=Math.round(c),d[t]=c,c}catch(e){}for(a="0123456789",l=0,s=0;s<a.length;s++)l=e.measureText(a.charAt(s),t),l>c&&(c=l);return c>0?(c=Math.round(c),d[t]=c,c):(d[t]=7,d[t])},e.truncate=function(e){return Math.floor(e)},e.hk=function(){return e.jk||(e.jk={}),e.jk},e.measureText=function(t,r){var o,i;function n(){return e.kk||(e.kk=document.createElement("canvas")),e.kk}try{return o=n(),i=o.getContext("2d"),i.font=r,i.measureText(t).width}catch(e){return 8}},e.ik=null,e.jk=null,e.kk=null,e}(),t.UnitHelper=P,W=function(){function e(e,t,r,o){var i=this;i.a=e,i.r=t,i.g=r,i.b=o}return e.prototype.toString=function(){var e=this;return 255===e.a?"#"+e.getColorUnitString(e.r)+e.getColorUnitString(e.g)+e.getColorUnitString(e.b):"rgba("+e.r+","+e.g+","+e.b+","+e.a+")"},e.prototype.getColorUnitString=function(e){var t=e.toString(16);return 1===t.length&&(t="0"+t),t},e.hueToRGB=function(e,t,r){return r<0&&(r+=240),r>240&&(r-=240),r<40?e+((t-e)*r+20)/40:r<120?t:r<160?e+((t-e)*(160-r)+20)/40:e},e.fromHLS=function(t,r,o){var i,n,a,l,s;return 0===o?i=n=a=parseInt(255*r/240,10):(l=void 0,s=void 0,s=r<=120?(r*(240+o)+120)/240:r+o-(r*o+120)/240,l=2*r-s,i=parseInt((255*e.hueToRGB(l,s,t+80)+120)/240,10),n=parseInt((255*e.hueToRGB(l,s,t)+120)/240,10),a=parseInt((255*e.hueToRGB(l,s,t-80)+120)/240,10)),new e(255,i,n,a)},e}(),t.lk=W,_=function(){function e(e){var t,r,o,i,n=this,a=e.r,l=e.g,s=e.b,c=Math.max(Math.max(a,l),s),d=Math.min(Math.min(a,l),s),u=c+d;n.luminosity=parseInt(""+(240*u+255)/510,10),t=c-d,0===t?(n.saturation=0,n.hue=160):(n.luminosity<=120?n.saturation=parseInt(""+(240*t+u/2)/u,10):n.saturation=parseInt(""+(240*t+(510-u)/2)/(510-u),10),r=(40*(c-a)+t/2)/t,o=(40*(c-l)+t/2)/t,i=(40*(c-s)+t/2)/t,a===c?n.hue=parseInt(""+(i-o),10):l===c?n.hue=parseInt(""+(80+r-i),10):n.hue=parseInt(""+(160+o-r),10),n.hue<0&&(n.hue+=240),n.hue>240&&(n.hue-=240))}return e.prototype.toColor=function(){return W.fromHLS(this.hue,this.luminosity,this.saturation)},e}(),N=function(){function e(){}return e.getThemeColorName=function(e){if(!e||3!==e.colorType())return null;var t=Math.round(100*e.tint());return 0===e.value()||243===e.value()?"Background 1 "+t:1===e.value()||241===e.value()?"Text 1 "+t:2===e.value()||244===e.value()?"Background 2 "+t:3===e.value()||242===e.value()?"Text 2 "+t:4===e.value()?"Accent 1 "+t:5===e.value()?"Accent 2 "+t:6===e.value()?"Accent 3 "+t:7===e.value()?"Accent 4 "+t:8===e.value()?"Accent 5 "+t:9===e.value()?"Accent 6 "+t:10===e.value()?"hyperlink":11===e.value()?"followedHyperlink":null},e.getThemeColorIndex=function(e,t){return"Background 1"===e.substring(0,12)?t?243:0:"Text 1"===e.substring(0,6)?t?241:1:"Background 2"===e.substring(0,12)?t?244:2:"Text 2"===e.substring(0,6)?t?242:3:"Accent 1"===e.substring(0,8)?4:"Accent 2"===e.substring(0,8)?5:"Accent 3"===e.substring(0,8)?6:"Accent 4"===e.substring(0,8)?7:"Accent 5"===e.substring(0,8)?8:"Accent 6"===e.substring(0,8)?9:"hyperlink"===e?10:"followedHyperlink"===e?11:void 0},e.mk=function(){return e.nk||(e.nk={}),e.nk},e.getExcelThemeColor=function(t){var r,i,n,a;return o.StringEx.L(t)?A.EmptyColor:(r=e.mk(),r[t]?r[t]:(i=0,n=t.split(" "),n.length>=3&&(i=parseFloat(n[2]),isNaN(i)||(i/=100)),a=new A(3,e.getThemeColorIndex(t),i),r[t]=a,a))},e.toRGBColor=function(t){return t?""+e.getRGBColor(t):null},e.colorFromIndex=function(t,r){var o,i,n,a;return 32767===t?new W(0,0,0,0):t<0||t>=e.palette.length?new W(255,0,0,0):e.useCustomPalette?e.customPalette[t]!==c?e.customPalette[t]:64===t?new W(255,0,0,0):65===t?new W(255,255,255,255):new W(0,255,255,255):(o=e.palette[t],i=o>>16&255,n=o>>8&255,a=255&o,new W(r,i,n,a))},e.updateTint=function(e,t){var r,o,i;return 0===t?e:(r=new _(e),t>0?(o=240-r.luminosity,i=o*t,W.fromHLS(r.hue,r.luminosity+i,r.saturation)):(i=r.luminosity*-t,W.fromHLS(r.hue,r.luminosity-i,r.saturation)))},e.getRGBColor=function(t){var r,o;return null===t||t===c?new W(0,255,255,255):t.isAutoColor()?new W(255,0,0,0):t.isIndexedColor()?(r=e.colorFromIndex(0|t.value(),255),e.updateTint(r,t.tint())):t.isRGBColor()?(o=(16777215&t.value())+4278190080,r=e.fromArgb(o),e.updateTint(r,t.tint())):t.isThemeColor()?e.getThemeColorName(t):new W(0,255,255,255)},e.fromArgb=function(e){return new W(e>>24&255,e>>16&255,e>>8&255,255&e)},e.getRGBAColorData=function(t){var r=e.fromArgb(t.value());return{rgb:r.getColorUnitString(r.r)+r.getColorUnitString(r.g)+r.getColorUnitString(r.b),alpha:r.a}},e.pk=function(){return e.qk||(e.qk={}),e.qk},e.fromHtmlColor=function(t){var r,o,i,n,a,l;if(t)return"string"!=typeof t?t:(r=e.pk(),r[t]?r[t]:(o=t.toLowerCase(),"#"===o.substring(0,1)?(7===o.length?o="#ff"+o.substring(1):4===o.length&&(o="#ff"+o[1]+o[1]+o[2]+o[2]+o[3]+o[3]),i=parseInt(o.substring(1,o.length),16)):"rgb("===o.substring(0,4)?(n=o.indexOf("("),a=o.indexOf(")"),l=o.substring(n+1,a).split(","),i=255*Math.pow(16,6)+parseInt(l[0],10)*Math.pow(16,4)+parseInt(l[1],10)*Math.pow(16,2)+parseInt(l[2],10)):"rgba("===o.substring(0,5)?(n=o.indexOf("("),a=o.indexOf(")"),l=o.substring(n+1,a).split(","),i=parseInt(255*parseFloat(l[3]),10)*Math.pow(16,6)+parseInt(l[0],10)*Math.pow(16,4)+parseInt(l[1],10)*Math.pow(16,2)+parseInt(l[2],10)):i=e.rk[o]?e.rk[o]:parseInt(o,10),r[t]=i,i))},e.isThemeColor=function(e){if(!e||"string"!=typeof e)return!1;e=e.toLowerCase();var t=e[0];switch(t){case"b":return 0===e.indexOf("background ");case"t":return 0===e.indexOf("text ");case"a":return 0===e.indexOf("accent ");case"h":return 0===e.indexOf("hyperlink");case"f":return 0===e.indexOf("followedhyperlink");default:return!1}},e.mixTranslucentColor=function(t,r){var o,i,n,a;return 255===r.a?r:0===r.a?t:(o=Math.round((255-t.a)*r.a/255),i=e.getMaxInt(t.a,r.a,t.r,r.r,o+t.a),n=e.getMaxInt(t.a,r.a,t.g,r.g,o+t.a),a=e.getMaxInt(t.a,r.a,t.b,r.b,o+t.a),new W(Math.round(o+t.a),i,n,a))},e.getMaxInt=function(e,t,r,o,i){return 0===i?0:(t*o+(255-t)*e*r/255)/i},e.toExcelColor=function(t,r){if(t instanceof A)return t;if(r===c&&(r=16777215),!t)return null;if(e.isThemeColor(t))return e.getExcelThemeColor(t);var o=e.fromHtmlColor(t);return o!==r?e.fromColorToExcelColor(e.fromArgb(o)):null},e.toExcelBackColor=function(t,r){var o,i;if(t!==s&&"object"==typeof t)if(t.stops)for(o=t,i=0;i<o.stops.length;i++)o.stops[i].color=e.toExcelColor(o.stops[i].color);else o={patternType:t.type,fgColor:e.toExcelColor(t.patternColor||"#000000"),bgColor:e.toExcelColor(t.backgroundColor||"#FFFFFF")};else o=t?{patternType:1,fgColor:e.toExcelColor(t),bgColor:e.toExcelColor(r?"#000000":"#FFFFFF")}:{patternType:0,fgColor:new A(1,64,0),bgColor:new A(1,65,0)};return o},e.toExcelIndexedColor=function(t){if(t){var r=e.getPaletteColorIndex(t,63);return new A(1,r)}return null},e.fromColorToExcelColor=function(t){var r,o,i,n,a;return t=e.mixTranslucentColor(e.fromArgb(16777215),t),255!==t.a&&(r=e.sk,o=Math.round(r.r-t.a+t.a/255*t.r),i=Math.round(r.g-t.a+t.a/255*t.g),n=Math.round(r.b-t.a+t.a/255*t.b),t=new W(255,o,i,n)),a=t.a*Math.pow(16,6)+t.r*Math.pow(16,4)+t.g*Math.pow(16,2)+t.b,new A(2,a,0)},e.getClosestColorIndex=function(t,r){var o,i,n,a,l,s,d,u;for(r===c&&(r=64),o=-1,i=Number.MAX_VALUE,n=Math.min(e.palette.length-1,r);n>=0;n--)a=e.palette[n],l=(16711680&a)>>16,s=(65280&a)>>8,d=255&a,u=Math.abs(.3*(l-t.r))+Math.abs(.59*(s-t.g))+Math.abs(.11*(d-t.b)),u<i&&(i=u,o=n);return o},e.getPaletteColorIndex=function(t,r){return r===c&&(r=64),t.isThemeColor()?e.getClosestColorIndex(e.getRGBColor(new A(3,t.value(),0))):e.getClosestColorIndex(e.getRGBColor(t),r)},e.toColorSchemeIndex=function(e){return"ACCENT1"===e?4:"ACCENT2"===e?5:"ACCENT3"===e?6:"ACCENT4"===e?7:"ACCENT5"===e?8:"ACCENT6"===e?9:"DK1"===e?1:"DK2"===e?3:"LT1"===e?0:"LT2"===e?2:"HLIK"===e?10:"FOLHLINK"===e?11:"PHCLR"===e?240:"BG1"===e?243:"BG2"===e?244:"TX1"===e?241:"TX2"===e?242:255},e.scRgbTosRgb=function(e){return e<=0?0:e<=.0031308?255*e*12.92+.5:e<1?255*(1.055*Math.pow(e,.4166666666666667)-.055)+.5:255},e.convertHLSToRGB=function(t,r,o){var i,n,a=0,l=0,s=0;return 0===o?(a=255*r/255|0,l=a,s=a):(i=void 0,i=r<=127?(r*(255+o)+127)/255:r+o-(r*o+127)/255,n=2*r-i,a=parseInt(""+(255*e.hueToRGB(n,i,t+85)+127)/255,10),l=parseInt(""+(255*e.hueToRGB(n,i,t)+127)/255,10),s=parseInt(""+(255*e.hueToRGB(n,i,t-85)+127)/255,10)),a=a>0?a:0,l=l>0?l:0,s=s>0?s:0,a=a<255?a:255,l=l<255?l:255,s=s>255?s:255,new W(0,a,l,s)},e.hueToRGB=function(e,t,r){return r<0&&(r+=255),r>255&&(r-=255),r<42?e+((t-e)*r+21)/42:r<127?t:r<170?e+((t-e)*(170-r)+21)/42:e},e.fromPresetColorVal=function(t){var r=e.rk[t];return r!==c?e.fromArgb(r):null},e.nk=null,e.qk=null,e.useCustomPalette=!1,e.customPalette=null,e.palette=[4278190080,4294967295,4294901760,4278255360,4278190335,4294967040,4294902015,4278255615,4278190080,4294967295,4294901760,4278255360,4278190335,4294967040,4294902015,4278255615,4286578688,4278222848,4278190208,4286611456,4286578816,4278222976,4290822336,4286611584,4288256511,4288230246,4294967244,4291624959,4284874854,4294934656,4278216396,4291611903,4278190208,4294902015,4294967040,4278255615,4286578816,4286578688,4278222976,4278190335,4278242559,4291624959,4291624908,4294967193,4288269567,4294941132,4291598847,4294954137,4281558783,4281584844,4288269312,4294953984,4294940928,4294927872,4284901017,4288059030,4278203238,4281571686,4278203136,4281545472,4288230144,4288230246,4281545625,4281545523,4278190080],e.sk=new W(255,255,255,255),e.rk={aliceblue:4293982463,antiquewhite:4294634455,aqua:4278255615,aquamarine:4286578644,azure:4293984255,beige:4294309340,bisque:4294960324,black:4278190080,blanchedalmond:4294962125,blue:4278190335,blueviolet:4287245282,brown:4289014314,burlywood:4292786311,cadetblue:4284456608,chartreuse:4286578432,chocolate:4291979550,coral:4294934352,cornflowerblue:4284782061,cornsilk:4294965468,crimson:4292613180,cyan:4278255615,darkblue:4278190219,darkcyan:4278225803,darkgoldenrod:4290283019,darkgray:4289309097,darkgreen:4278215680,darkkhaki:4290623339,darkmagenta:4287299723,darkolivegreen:4283788079,darkorange:4294937600,darkorchid:4288230092,darkred:4287299584,darksalmon:4293498490,darkseagreen:4287609999,darkslateblue:4282924427,darkslategray:4281290575,darkturquoise:4278243025,darkviolet:4287889619,deeppink:4294907027,deepskyblue:4278239231,dimgray:4285098345,dodgerblue:4280193279,feldspar:4291924597,firebrick:4289864226,floralwhite:4294966e3,forestgreen:4280453922,fuchsia:4294902015,gainsboro:4292664540,ghostwhite:4294506751,gold:4294956800,goldenrod:4292519200,gray:4286611584,green:4278222848,greenyellow:4289593135,honeydew:4293984240,hotpink:4294928820,"indianred ":4291648604,"indigo ":4283105410,ivory:4294967280,khaki:4293977740,lavender:4293322490,lavenderblush:4294963445,lawngreen:4286381056,lemonchiffon:4294965965,lightblue:4289583334,lightcoral:4293951616,lightcyan:4292935679,lightgoldenrodyellow:4294638290,lightgrey:4292072403,lightgreen:4287688336,lightpink:4294948545,lightsalmon:4294942842,lightseagreen:4280332970,lightskyblue:4287090426,lightslateblue:4286869759,lightslategray:4286023833,lightsteelblue:4289774814,lightyellow:4294967264,lime:4278255360,limegreen:4281519410,linen:4294635750,magenta:4294902015,maroon:4286578688,mediumaquamarine:4284927402,mediumblue:4278190285,mediumorchid:4290401747,mediumpurple:4287852760,mediumseagreen:4282168177,mediumslateblue:4286277870,mediumspringgreen:4278254234,mediumturquoise:4282962380,mediumvioletred:4291237253,midnightblue:4279834992,mintcream:4294311930,mistyrose:4294960353,moccasin:4294960309,navajowhite:4294958765,navy:4278190208,oldlace:4294833638,olive:4286611456,olivedrab:4285238819,orange:4294944e3,orangered:4294919424,orchid:4292505814,palegoldenrod:4293847210,palegreen:4288215960,paleturquoise:4289720046,palevioletred:4292374675,papayawhip:4294963157,peachpuff:4294957753,peru:4291659071,pink:4294951115,plum:4292714717,powderblue:4289781990,purple:4286578816,red:4294901760,rosybrown:4290547599,royalblue:4282477025,saddlebrown:4287317267,salmon:4294606962,sandybrown:4294222944,seagreen:4281240407,seashell:4294964718,sienna:4288696877,silver:4290822336,skyblue:4287090411,slateblue:4285160141,slategray:4285563024,snow:4294966010,springgreen:4278255487,steelblue:4282811060,tan:4291998860,teal:4278222976,thistle:4292394968,tomato:4294927175,turquoise:4282441936,violet:4293821166,violetred:4291829904,wheat:4294303411,white:4294967295,whitesmoke:4294309365,yellow:4294967040,yellowgreen:4288335154,transparent:16777215},e}(),t.ColorHelper=N;function z(e){return e===!1}function V(e){return e&&"NORMAL"!==e.toUpperCase()&&e.indexOf("__builtInStyle")<0}M=function(){function e(){}return e.getFontName=function(e){var t,r,o;if(!e)return null;if(t=e,r=",",t.indexOf(r)!==-1&&(t=t.split(r)[0]),t){for(o=t.length-1;o>=0&&"/"!==t[o];)o--;o>=0&&(t=t.substring(o)),t&&"/#"===t.substring(0,2)&&(t=t.substring(2)),'"'===t[0]&&'"'===t[t.length-1]&&(t=t.substring(1,t.length-1))}return t},e.setStyleInfoFont=function(e,t,r,o){var i,n,a,l,s,b,h=e.fontName;h||(h=f),n="",e.fontSize>0&&(n=P.pointToPixel(e.fontSize,4)+"px"),a="",a=e.isItalic?"italic":"normal",l="",l=e.isBold?"bold":"normal",s="",s=e.fontColor?e.fontColor.isThemeColor()?N.getThemeColorName(e.fontColor):N.toRGBColor(e.fontColor):e.fontColor,t.foreColor=s,e.isStrikeOut&&(t.textDecoration=2),e.underLineStyle!==c&&(b=1,2===e.underLineStyle?b=8:0===e.underLineStyle&&(b=0),t.textDecoration===c?t.textDecoration=b:t.textDecoration=t.textDecoration|b),1===e.fontScheme?(t.themeFont=d,r&&(h=r)):2===e.fontScheme&&(t.themeFont=u,o&&(h=o)),i=a+" "+l+" "+n+" "+h,i&&(t.font=i)},e.tk=function(){return e.uk||(e.uk={}),e.uk},e.fromHtmlFont=function(t){var r,i,n,a,l,s,c,d,u,f,p,m,g,y;if(!o.StringEx.L(t)){if(r={},i=e.tk(),i[t])return i[t];if(n=e.splitFontString(t),0!==n.length){for(a=0,l=!1,s=!1,c=!1;a<n.length;){if(d=n[a].toLowerCase(),"normal"===d);else if(l||"italic"!==d&&"oblique"!==d&&"inherit"!==d)if(s||"small-caps"!==d)if(c||"bold"!==d&&"bolder"!==d&&"lighter"!==d&&"100"!==d&&"200"!==d&&"300"!==d&&"400"!==d&&"500"!==d&&"600"!==d&&"700"!==d&&"800"!==d&&"900"!==d&&"inherit"!==d){if("/"===d.substring(0,1)){a++;break}if("xx-small"===d||"x-small"===d||"small"===d||"medium"===d||"large"===d||"x-large"===d||"xx-large"===d||d.indexOf("px")!==-1||d.indexOf("pt")!==-1)break}else c=!0,"bolder"===d||parseInt(d,10)>=700?r.fontWeight=b:"lighter"===d?r.fontWeight="ExtraLight":r.fontWeight=d;else s=!0,r.fontVariant=d;else l=!0,"oblique"===d&&(d=h),r.fontStyle=d;if(a++,l&&s&&c)break}if(a<n.length&&(u=n[a].toLowerCase(),"xx-small"===u||"x-small"===u||"small"===u||"medium"===u||"large"===u||"x-large"===u||"xx-large"===u?(f=10,"xx-small"===u||"x-small"===u?f=6:"small"===u?f=8:"large"===u?f=14:"x-large"===u?f=18:"xx-large"===u&&(f=22),r.fontSize=f):(p=void 0,u.indexOf("px")!==-1?p=parseFloat(u):u.indexOf("pt")!==-1&&(m=parseFloat(u),isNaN(m)||(p=P.pointToPixel(m,4))),isNaN(p)||(r.fontSize=p)),a++),a<n.length&&(g=n[a].toLowerCase(),"/"===g.substring(0,1)&&a++),a<n.length){for(y=n[a],a++;a<n.length;a++)y=y+" "+n[a];r.fontFamily=y}return i[t]=r,r}}},e.composeFontWeightAndFontStyleToDestFont=function(t,r){var o=e.fromHtmlFont(t),i=e.fromHtmlFont(r);return o.fontWeight&&(i.fontWeight=o.fontWeight),o.fontStyle&&(i.fontStyle=o.fontStyle),(i.fontWeight?i.fontWeight:"normal")+" "+(i.fontStyle?i.fontStyle:"normal")+" "+i.fontSize+"px "+i.fontFamily+" "+(i.fontVariant?i.fontVariant:"")},e.splitFontString=function(e){var t,r,i,n,a;if(o.StringEx.L(e))return[];for(e=e.trim(),t=[],r="",i=0,n=e.length;i<n;i++)if(a=e[i]," "===a||"/"===a)t.push(r),r="","/"===a&&(r+="/");else if("'"===a||'"'===a)for(i++;e[i]!==a&&i<n;)r+=e[i],i++;else r+=a;return r.length>0&&t.push(r),t},e.toVerticalAlignment=function(e){return 0===e||1===e||2===e?e:2},e.toExcelVerticalAlignment=function(e){return 0===e||1===e||2===e?e:0},e.toHorizontalAlignment=function(e){switch(e){case 0:return 3;case 1:return 0;case 6:return 4;case 2:return 1;case 3:return 2;case 4:case 5:case 7:return 3;default:return 3}},e.toExcelHorizontalAlignment=function(e){switch(e){case 1:return 2;case 0:return 1;case 2:return 3;case 3:return 0;case 4:return 6;default:return 0}},e.toBorderLine=function(e){if(e){var t=null;return 0===e.lineStyle?null:(e.color||(e.color=new A(1,0,0)),t=e.color.isThemeColor()?{color:N.getThemeColorName(e.color),style:e.lineStyle}:{color:""+N.getRGBColor(e.color),style:e.lineStyle})}},e.toExcelBorderSide=function(e){var t,r,o=new T;return e?(t=e.color,N.isThemeColor(t)?o.color=N.getExcelThemeColor(t):(r=e.color,o.color=new A(2,N.fromHtmlColor(r),0)),o.lineStyle=e.style,o):o},e.setStyleInfoBorders=function(t,r){r.borderLeft=e.toBorderLine(t.left),r.borderRight=e.toBorderLine(t.right),r.borderTop=e.toBorderLine(t.top),r.borderBottom=e.toBorderLine(t.bottom),r.borderVertical=e.toBorderLine(t.vertical),r.borderHorizontal=e.toBorderLine(t.horizontal),r.diagonalUp=e.toBorderLine(t.diagonalUp),r.diagonalDown=e.toBorderLine(t.diagonalDown)},e.toCellStyle=function(t,r,i){var n,a,l,d,u,f,b,h,p,m,g,y={};return t?(n=t.isStyleFormat,a=t.applyFont,l=t.applyFill,d=t.applyBorder,u=t.applyAlignment,f=t.applyProtection,b=t.applyNumberFormat,n&&(z(a)&&(y.applyFont=a),z(l)&&(y.applyFill=l),z(d)&&(y.applyBorder=d),z(u)&&(y.applyAlignment=u),z(f)&&(y.applyProtection=f),z(b)&&(y.applyNumberFormat=b)),(!n&&t.applyFont!==!1||n)&&t.font&&e.setStyleInfoFont(t.font,y,r,i),y.locked=t.isLocked,t.indent!==c&&(y.textIndent=t.indent,
30
30
  y.textIndent>0&&(h=y.textIndent,p=Math.floor(h),h-p===.5&&0===(1&p)?y.textIndent=p:y.textIndent=Math.round(h))),y.wordWrap=t.isWordWrap,y.vAlign=e.toVerticalAlignment(t.verticalAlign),y.hAlign=e.toHorizontalAlignment(t.horizontalAlign),o.J(t.rotation)||(255===t.rotation?y.isVerticalText=!0:y.textOrientation=t.rotation>90?90-t.rotation:t.rotation),t.border&&(m=t.border,m&&e.setStyleInfoBorders(m,y)),t.fill&&0!==t.fill.patternType?e.Ie(t.fill,y):y.backColor=s,t.isShrinkToFit?y.shrinkToFit=!0:y.shrinkToFit=!1,g=B.getFormatCode(t),n&&"General"===g||(y.formatter=g),o.J(t.quotePrefix)||(y.quotePrefix=t.quotePrefix),y):null},e.toRichTextStyle=function(t,r,o){var i={};return e.setStyleInfoFont(t,i,r,o),i.charSetIndex=t.charSetIndex,i.isCondense=t.isCondense,i.isExtend=t.isExtend,i.fontFamily=t.fontFamily,i.isOutlineStyle=t.isOutlineStyle,i.isShadowStyle=t.isShadowStyle,i.vertAlign=t.vertAlign,i},e.fromRichTextStyle=function(t){var r,i,n,a,l;if(!o.J(t))return r=f,i={},t.font&&(n=e.fromHtmlFont(t.font),n.fontFamily&&(r=e.getFontName(n.fontFamily)),o.StringEx.L(r)&&(r=f),i.fontFamily=r,n.fontSize&&(i.fontSize=Math.round(P.pixelToPoint(n.fontSize))),n.fontStyle===h&&(i.isItalic=!0),n.fontWeight===b&&(i.isBold=!0)),t.foreColor&&(N.isThemeColor(t.foreColor)?i.foreColor=N.getExcelThemeColor(t.foreColor):(a=N.fromHtmlColor(t.foreColor),l=N.mixTranslucentColor(N.fromArgb(16777215),N.fromArgb(a)),a=l.a*Math.pow(16,6)+l.r*Math.pow(16,4)+l.g*Math.pow(16,2)+l.b,i.foreColor=new A(2,a,0))),t.themeFont&&(t.themeFont.toUpperCase()==="Headings".toUpperCase()?i.fontScheme=1:t.themeFont.toUpperCase()==="Body".toUpperCase()&&(i.fontScheme=2)),1===(1&t.textDecoration)&&(i.underLineStyle=1),8===(8&t.textDecoration)&&(i.underLineStyle=2),i.isStrikeOut=2===(2&t.textDecoration),i.charSetIndex=t.charSetIndex,i.isCondense=t.isCondense,i.isExtend=t.isExtend,i.fontFamilySet=t.fontFamily,i.isOutlineStyle=t.isOutlineStyle,i.isShadowStyle=t.isShadowStyle,i.vertAlign=t.vertAlign,i},e.toSchemeClrValue=function(e){switch(e){case 255:return"";case 1:return"dk1";case 0:return"lt1";case 3:return"dk2";case 2:return"lt2";case 4:return"accent1";case 5:return"accent2";case 6:return"accent3";case 7:return"accent4";case 8:return"accent5";case 9:return"accent6";case 10:return"hlink";case 11:return"folHlink";case 240:return"phClr";case 241:return"tx1";case 242:return"tx2";case 243:return"bg1";case 244:return"bg2";default:return""}},e.Ie=function(t,r){1===t.patternType?e.vk(t.fgColor,r):t.patternType?e.wk(t.patternType,t.fgColor,t.bgColor,r):t.stops&&e.xk(t,r)},e.vk=function(e,t){if(o.J(e))t.backColor="#000000";else{var r=e.isRGBColor()&&0===e.value();if(e.isRGBColor()&&0===e.value()||e.isIndexedColor()&&64===e.value()||e.isIndexedColor()&&65===e.value())return void(r&&(t.backColor=null));e.isThemeColor()?t.backColor=N.getThemeColorName(e):t.backColor=N.toRGBColor(e)}},e.wk=function(e,t,r,o){o.backColor={type:e,patternColor:null,backgroundColor:null},t&&(t.isThemeColor()?o.backColor.patternColor=N.getThemeColorName(t):o.backColor.patternColor=N.toRGBColor(t)),r&&!r.isAutoColor()&&(r.isThemeColor()?o.backColor.backgroundColor=N.getThemeColorName(r):o.backColor.backgroundColor=N.toRGBColor(r))},e.xk=function(e,t){var r,o;for(t.backColor=e,r=0;r<e.stops.length;r++)o=e.stops[r].color,"string"!=typeof o&&(o.isThemeColor()?e.stops[r].color=N.getThemeColorName(o):e.stops[r].color=N.toRGBColor(o))},e.getStyleFormatter=function(e){var t,r,i=s,n=e.formatter;return"string"==typeof n&&("="===n.charAt(0)||n.indexOf("{{")>=0&&n.indexOf("}}")>=0)?i:("string"==typeof n&&" "!==n?i=n:e.autoFormatter?(t=e.autoFormatter.formatCached,t&&!o.StringEx.O(t)&&(i=t)):n&&(r=n.formatCached,r&&!o.StringEx.O(r)&&(i=r)),i)},e.toExtendedFormat=function(t,r){var i,n,a,l,d,u,p,m,g,y,S,C,w,x,T,I,L,D,P;if(t){if(i=t.parentName,n=t.name,a=V(n),l=new E,d=e.getStyleFormatter(t),d?(u=B.getFormatId(d),p=u.id,m=u.isBuiltIn,m?l.numberFormatIndex=p:l.numberFormat=new R(p,d),g=r.bj(i),y=g&&e.getStyleFormatter(g),!a&&(0!==p||y&&0!==B.getFormatId(y).id)&&(l.applyNumberFormat=!0)):l.numberFormatIndex=0,t.backColor&&0!==t.backColor.type){if(a||(l.applyFill=!0),S=new k,"string"==typeof t.backColor)S.patternType=1,S.fgColor=t.backColor;else if(o.J(t.backColor.type)||"path"===t.backColor.type)for(C in t.backColor)S[C]=t.backColor[C];else S.patternType=t.backColor.type,S.fgColor=t.backColor.patternColor,S.bgColor=t.backColor.backgroundColor;for(o.J(S.fgColor)||(S.fgColor=N.toExcelColor(S.fgColor)),o.J(S.bgColor)||(S.bgColor=N.toExcelColor(S.bgColor)),w=S.stops&&S.stops.length,x=0;x<w;x++)S.stops[x].color=N.toExcelColor(S.stops[x].color);l.fill=S}return(t.borderLeft||t.borderRight||t.borderTop||t.borderBottom||t.diagonalUp||t.diagonalDown)&&(l.border=new v,t.borderLeft&&(l.border.left=e.toExcelBorderSide(t.borderLeft)),t.borderRight&&(l.border.right=e.toExcelBorderSide(t.borderRight)),t.borderTop&&(l.border.top=e.toExcelBorderSide(t.borderTop)),t.borderBottom&&(l.border.bottom=e.toExcelBorderSide(t.borderBottom)),t.diagonalDown&&(l.border.diagonalDown=e.toExcelBorderSide(t.diagonalDown)),t.diagonalUp&&(l.border.diagonalUp=e.toExcelBorderSide(t.diagonalUp)),a||(l.applyBorder=!0)),(t.font||t.fontForColumnWidth||t.foreColor||t.themeFont||t.textDecoration!==c&&null!==t.textDecoration)&&(a||(l.applyFont=!0),T=f,I=t.fontForColumnWidth?t.fontForColumnWidth:t.font,I&&(L=e.fromHtmlFont(I),L.fontFamily&&(T=e.getFontName(L.fontFamily)),o.StringEx.L(T)&&(T=f),l.font=new F(T.trim(),null,0),L.fontSize&&(l.font.fontSize=e.getExcelFontSize(L.fontSize)),L.fontStyle===h&&(l.font.isItalic=!0),L.fontWeight===b&&(l.font.isBold=!0)),1===(1&t.textDecoration)&&(l.font.underLineStyle=1),8===(8&t.textDecoration)&&(l.font.underLineStyle=2),t.foreColor&&(N.isThemeColor(t.foreColor)?l.font.fontColor=N.getExcelThemeColor(t.foreColor):(D=N.fromHtmlColor(t.foreColor),P=N.mixTranslucentColor(N.fromArgb(16777215),N.fromArgb(D)),D=P.a*Math.pow(16,6)+P.r*Math.pow(16,4)+P.g*Math.pow(16,2)+P.b,l.font.fontColor=new A(2,D,0))),l.font.isStrikeOut=2===(2&t.textDecoration)),t.themeFont&&(t.themeFont.toUpperCase()==="Headings".toUpperCase()?l.font.fontScheme=1:t.themeFont.toUpperCase()==="Body".toUpperCase()&&(l.font.fontScheme=2)),t.shrinkToFit&&(l.isShrinkToFit=!0),t.textOrientation&&(l.rotation=t.textOrientation<0?90-t.textOrientation:t.textOrientation),t.locked!==c?l.isLocked=t.locked:l.isLocked=!0,t.wordWrap!==s&&t.wordWrap!==c&&(l.isWordWrap=t.wordWrap),t.textIndent!==s&&t.textIndent!==c&&(l.indent=Math.ceil(t.textIndent)),l.verticalAlign=e.toExcelVerticalAlignment(t.vAlign),l.horizontalAlign=e.toExcelHorizontalAlignment(t.hAlign),t.isVerticalText===!0&&(l.isVerticalText=t.isVerticalText),o.J(t.quotePrefix)||(l.quotePrefix=t.quotePrefix),o.J(i)||(l.parentName=i),a&&(l.applyFont=t.applyFont,l.applyFill=t.applyFill,l.applyAlignment=t.applyAlignment,l.applyBorder=t.applyBorder,l.applyNumberFormat=t.applyNumberFormat,l.applyProtection=t.applyProtection),l}},e.getExcelFontSize=function(e){var t=P.pixelToPoint(e),r=.05,o=Math.round(1e3*t)/1e3,i=Math.round(o%r*1e3)/1e3;return i<r/2?Math.floor(o/r)*r:Math.ceil(o/r)*r},e.toDifferentialFormatting=function(t,r){var i,n,a,l,s,d,u,b,h,p,m,g,y={};return!o.isNullOrUndefined(t.parentName)&&r&&(i=o.ga._(r.th,t.parentName),t=i?i:t),n=t.isSlicerHeader,a=t.isFormatStyle,l=t.formatter,"string"==typeof l&&" "!==l&&(s=B.getFormatId(l),d=s.id,u=s.isBuiltIn,u?(y.numberFormatIndex=d,y.numberFormatCode=l):y.numberFormat=new R(d,l)),t.backColor!==c&&(b=t.backColor,b!==c?y.fill=N.toExcelBackColor(b,!0):y.fill=b),(a||t.borderLeft||t.borderRight||t.borderTop||t.borderBottom||t.borderVertical||t.borderHorizontal)&&(y.border=new v,t.borderLeft?y.border.left=e.toExcelBorderSide(t.borderLeft):(n||t.borderLeft===c&&a)&&(y.border.left=c),t.borderRight?y.border.right=e.toExcelBorderSide(t.borderRight):(n||t.borderRight===c&&a)&&(y.border.right=c),t.borderTop?y.border.top=e.toExcelBorderSide(t.borderTop):(n||t.borderTop===c&&a)&&(y.border.top=c),t.borderBottom?y.border.bottom=e.toExcelBorderSide(t.borderBottom):(n||t.borderBottom===c&&a)&&(y.border.bottom=c),t.borderVertical&&(y.border.vertical=e.toExcelBorderSide(t.borderVertical)),t.borderHorizontal&&(y.border.horizontal=e.toExcelBorderSide(t.borderHorizontal))),(t.font||t.foreColor!==c||t.themeFont||t.textDecoration!==c&&null!==t.textDecoration)&&(h=f,p=void 0,t.font&&(m=e.fromHtmlFont(t.font),m.fontFamily&&(h=e.getFontName(m.fontFamily)),o.StringEx.L(h)&&(h=f),y.font=new F(h.trim(),null,0),m.fontSize&&(y.font.fontSize=Math.round(P.pixelToPoint(m.fontSize))),"italic"===m.fontStyle&&(y.font.isItalic=!0),"bold"===m.fontWeight&&(y.font.isBold=!0)),y.font||(y.font=new F(h.trim(),null,0)),1===(1&t.textDecoration)&&(y.font.underLineStyle=1),8===(8&t.textDecoration)&&(y.font.underLineStyle=2),t.foreColor&&(N.isThemeColor(t.foreColor)?y.font.fontColor=N.getExcelThemeColor(t.foreColor):(p=N.fromHtmlColor(t.foreColor),g=N.mixTranslucentColor(N.fromArgb(16777215),N.fromArgb(p)),p=g.a*Math.pow(16,6)+g.r*Math.pow(16,4)+g.g*Math.pow(16,2)+g.b,y.font.fontColor=new A(2,p,0))),null===t.foreColor&&(y.font.fontColor=null),y.font.isStrikeOut=2===(2&t.textDecoration)),y.isPartFontStyle=t.isPartFontStyle,y.isSlicerHeader=n,y},e.toStringStyle=function(e){if(o.isNullOrUndefined(e))return"";var t="";return o.isNullOrUndefined(e.backColor)||(t+="object"==typeof e.backColor?"backColor:"+JSON.stringify(e.backColor)+",":"backColor:"+e.backColor+","),e.foreColor!==c&&(t+="foreColor:"+e.foreColor+","),e.hAlign!==c&&(t+="hAlign:"+e.hAlign+","),e.vAlign!==c&&(t+="vAlign:"+e.vAlign+","),e.font!==c&&(t+="font:"+e.font+","),e.themeFont!==c&&(t+="themeFont:"+e.themeFont+","),e.formatter!==c&&(t+="formatter:"+e.formatter+","),o.isNullOrUndefined(e.borderLeft)||(t+="borderLeft:"+JSON.stringify(e.borderLeft)+","),o.isNullOrUndefined(e.borderTop)||(t+="borderTop:"+JSON.stringify(e.borderTop)+","),o.isNullOrUndefined(e.borderRight)||(t+="borderRight:"+JSON.stringify(e.borderRight)+","),o.isNullOrUndefined(e.borderBottom)||(t+="borderBottom:"+JSON.stringify(e.borderBottom)+","),o.isNullOrUndefined(e.diagonalDown)||(t+="diagonalDown:"+JSON.stringify(e.diagonalDown)+","),o.isNullOrUndefined(e.diagonalUp)||(t+="diagonalUp:"+JSON.stringify(e.diagonalUp)+","),e.locked!==c&&(t+="locked:"+e.locked+","),e.textIndent!==c&&(t+="textIndent:"+e.textIndent+","),e.wordWrap!==c&&(t+="wordWrap:"+e.wordWrap+","),e.shrinkToFit!==c&&(t+="shrinkToFit:"+e.shrinkToFit+","),e.textDecoration!==c&&(t+="textDecoration:"+e.textDecoration+","),e.textOrientation!==c&&(t+="textOrientation:"+e.textOrientation+","),e.isVerticalText!==c&&(t+="isVerticalText:"+e.isVerticalText+","),e.quotePrefix!==c&&(t+="quotePrefix:"+e.quotePrefix+","),e.autoFormatter!==c&&(t+="autoFormatter:"+e.autoFormatter+","),o.isNullOrUndefined(e.name)||e.name.indexOf("__builtInStyle")!==-1||(t+="name:"+e.name+","),e.parentName!==c&&(t+="parentName:"+e.parentName+","),e.fontForColumnWidth!==c&&(t+="fontForColumnWidth:"+e.fontForColumnWidth+","),V(e.name)&&(e.applyFont!==c&&(t+="applyFont:"+e.applyFont+","),e.applyFill!==c&&(t+="applyFill:"+e.applyFill+","),e.applyAlignment!==c&&(t+="applyAlignment:"+e.applyAlignment+","),e.applyBorder!==c&&(t+="applyBorder:"+e.applyBorder+","),e.applyProtection!==c&&(t+="applyProtection:"+e.applyProtection+","),e.applyNumberFormat!==c&&(t+="applyNumberFormat:"+e.applyNumberFormat+",")),t},e.cloneSpreadJSStyle=function(e){if(!o.isNullOrUndefined(e)){var t={};return t.backColor=e.backColor,t.foreColor=e.foreColor,t.hAlign=e.hAlign,t.vAlign=e.vAlign,t.font=e.font,t.themeFont=e.themeFont,t.formatter=e.formatter,t.borderLeft=e.borderLeft,t.borderTop=e.borderTop,t.borderRight=e.borderRight,t.borderBottom=e.borderBottom,t.diagonalDown=e.diagonalDown,t.diagonalUp=e.diagonalUp,t.locked=e.locked,t.textIndent=e.textIndent,t.wordWrap=e.wordWrap,t.shrinkToFit=e.shrinkToFit,t.textDecoration=e.textDecoration,t.textOrientation=e.textOrientation,t.isVerticalText=e.isVerticalText,t.quotePrefix=e.quotePrefix,t.autoFormatter=e.autoFormatter,t.name=e.name,t.parentName=e.parentName,t.fontForColumnWidth=e.fontForColumnWidth,V(e.name)&&(t.applyFont=e.applyFont,t.applyFill=e.applyFill,t.applyAlignment=e.applyAlignment,t.applyBorder=e.applyBorder,t.applyProtection=e.applyProtection,t.applyNumberFormat=e.applyNumberFormat),t}},e.convertDxfToStyle=function(t,r,i,n){var a,l={};return t.font&&e.setStyleInfoFont(t.font,l,r,i),t.fill&&(o.isNullOrUndefined(t.fill.patternType)&&t.fill.bgColor&&(t.fill.patternType=1),1===t.fill.patternType&&(t.fill.fgColor=t.fill.bgColor),0!==t.fill.patternType?e.Ie(t.fill,l):l.backColor=s),t.border&&e.setStyleInfoBorders(t.border,l),t.numberFormat&&(a=B.getFormatCode(t),"General"!==a&&(l.formatter=a)),n&&t.alignment&&(t.alignment.horizontalAlign!==c&&(l.hAlign=t.alignment.horizontalAlign),t.alignment.verticalAlign!==c&&(l.vAlign=t.alignment.verticalAlign),t.alignment.isWordWrap!==c&&(l.wordWrap=t.alignment.isWordWrap),t.alignment.isShrinkToFit!==c&&(l.shrinkToFit=t.alignment.isShrinkToFit),t.alignment.indent!==c&&(l.textIndent=t.alignment.indent),t.alignment.rotation!==c&&(l.textOrientation=t.alignment.rotation)),n&&t.protection&&t.alignment.isLocked!==c&&(l.locked=t.alignment.isLocked),l},e.uk=null,e}(),t.ConverterHelper=M,O=function(){function e(){}return e.Jh=function(e){var t,r,i,n,a={foreColor:"black",font:"normal normal normal 11pt/normal Calibri",locked:!0,name:"Normal",hAlign:3,vAlign:0};for(t in e.sheets)if(e.sheets.hasOwnProperty(t)&&(r=e.sheets[t],r.data&&r.data.defaultDataNode&&r.data.defaultDataNode.style)){i=r.data.defaultDataNode.style;for(n in i)i.hasOwnProperty(n)&&!o.J(i[n])&&(a[n]=i[n]);break}return a},e}(),t.DefaultStyle=O,H=function(){function e(){}return e.getSystemColor=function(t){return N.fromArgb(e.yk[t])},e.yk=[4290032820,4288263377,4278190080,4289440683,4293980400,4288716960,4285098345,4293125091,4294967295,4278190080,4278190080,4290367978,4292338930,4285361517,4281571839,4294967295,4278216396,4294244348,4290760155,4282601044,4294967265,4278190080,4293980400,4293980400,4281571839,4278190080,4291348680,4294967295,4284769380,4278190080,4288716960,4293125091,4293980400,4294967295,4288716960,4278190080],e}(),G=function(){function e(){}return e.getSystemColor=function(t){return e.systemColors[t.toUpperCase()]},e.systemColors={length:0,"3DDKSHADOW":H.getSystemColor(30),"3DLIGHT":H.getSystemColor(31),ACTIVEBORDER:H.getSystemColor(0),ACTIVECAPTION:H.getSystemColor(1),APPWORKSPACE:H.getSystemColor(3),BACKGROUND:H.getSystemColor(10),BTNFACE:H.getSystemColor(32),BTNHIGHLIGHT:H.getSystemColor(33),BTNSHADOW:H.getSystemColor(34),BTNTEXT:H.getSystemColor(35),CAPTIONTEXT:H.getSystemColor(2),GRAYTEXT:H.getSystemColor(13),HIGHLIGHT:H.getSystemColor(14),HIGHLIGHTTEXT:H.getSystemColor(15),INACTIVEBORDER:H.getSystemColor(17),INACTIVECAPTION:H.getSystemColor(18),INACTIVECAPTIONTEXT:H.getSystemColor(19),INFOBK:H.getSystemColor(20),INFOTEXT:H.getSystemColor(21),MENU:H.getSystemColor(22),GRADIENTACTIVECAPTION:H.getSystemColor(11),HOTLIGHT:H.getSystemColor(16),GRADIENTINACTIVECAPTION:H.getSystemColor(12),MENUBAR:H.getSystemColor(23),MENUHIGHLIGHT:H.getSystemColor(24),MENUTEXT:H.getSystemColor(25),SCROLLBAR:H.getSystemColor(26),WINDOW:H.getSystemColor(27),WINDOWFRAME:H.getSystemColor(28),WINDOWTEXT:H.getSystemColor(29)},e}(),t.ExcelSystemColor=G;function j(){P.jk=c,B.gk=c,B.dk={count:0},B._j={count:0},M.uk=c,N.nk=c,N.qk=c,N.useCustomPalette=!1,N.customPalette=s}t.clearCache=j},"./src/excel-io.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/xlsx-io/common/file-loader.ts"),i=r("./src/xlsx-io/reader/xlsx-reader.ts"),n=r("./src/xlsx-io/writer/xlsx-writer.ts"),a=r("./src/xlsx-io/password/xlsxEncryptionHelper.ts"),l=r("./src/xlsx-io/common/errorcode.ts"),s=r("./src/xlsx-io/common/errorMessage.ts"),c=r("./src/common/common.ts"),d=r("./src/common/excel-types.ts"),t.ErrorCode=l.errorCode,u=r("./src/lc/releaseLc.js"),u&&(u.zk&&u.zk(t),f=u.Ak,1===f&&u.Bk()),b=function(){function e(){this.Ck=new o.FileLoader}return e.prototype.open=function(e,t,r,o){var n=this;t||(t=function(){}),r||(r=function(){}),n.Ck.onFileLoad=function(e){try{var n=new i.XlsxReader;n.Dk(e,o,function(e){t(e)})}catch(e){r({errorCode:l.errorCode.fileFormatError,errorMessage:s.sR().EXP_FILE_FORMAT})}},n.Ck.onError=r,n.Ck.loadFile(e,o)},e.prototype.save=function(e,t,r,o){t||(t=function(){}),r||(r=function(){});var i,d;"object"==typeof e&&(i=JSON.parse(JSON.stringify(e))),"string"==typeof e&&(i=JSON.parse(e)),new n.XlsxWriter(i,function(){try{var e=this;e.onZip=function(e){if(o&&o.password)try{e=a.XlsxEncryptionHelper.Ek(e,o.password),d||(e=a.XlsxEncryptionHelper.Fk(e))}catch(e){return void r({errorCode:l.errorCode.fileFormatError,errorMessage:s.sR().EXP_FILE_FORMAT})}t(e)},e.onError=function(){r({errorCode:l.errorCode.fileFormatError,errorMessage:s.sR().EXP_FILE_FORMAT})},c.J(o)&&(o={}),c.J(o.xlsxStrictMode)&&(o.xlsxStrictMode=!0),o&&o.password&&(d=o.useArrayBuffer,o.useArrayBuffer=!0),e.Bg=o,e.Gk()}catch(e){r({errorCode:l.errorCode.fileFormatError,errorMessage:s.sR().EXP_FILE_FORMAT})}})},e.registerMaxDigitWidth=function(e,t,r){!e||c.J(t)||c.J(r)||(d.unknownFontMaxDigitWidthMap[t]||(d.unknownFontMaxDigitWidthMap[t]={}),d.unknownFontMaxDigitWidthMap[t][e]=r)},e.tableThemes=c.buildInTableThemes,e.pivotTableThemes=c.buildInPivotTableThemes,e.slicerStyles=c.buildInSlicerStyles,e.timelineStyles=c.buildInTimelineStyles,e}(),t.IO=b},"./src/lc/common.js":function(e,t,r){!function(){"use strict";var t,o,i,n,a={zk:function(e){t=e}},l=r("./src/xlsx-io/reader/xlsx-reader.ts").XlsxReader,s=r("./src/datamodel/datamodel-writer.ts").WriterDataModel,c=r("./src/common/common.ts").K,d=r("./src/lc/ipaddr.js"),u=r("./src/lc/lcValidator.js"),f=u.Hk,b=u.Ik,h="object"==typeof global&&global&&global.Object===Object&&global,p="object"==typeof self&&self&&self.Object===Object&&self,m=h||p||Function("return this")(),g=/^[0-9.]+$/,y="m",S="n",C="b",w="d",x="e",A="adr",T=b("XRsZ"),v=b("HUkJ"),k=b("T&g"),F=b("Q&w"),R=b("GRz1"),E=b("XSzB"),I=b("XRwh"),L=b("WQs5");function D(e,t){var r,o,i,n,a="",l=0;for(r=0;r<e.length;r++)l=Math.max(l,e[r].length);for(r=0;r<l;r++){for(t&&(o=""),n=0;n<e.length;n++)t?o+=r>=e[n].length?"00":e[n].charAt(r)+e[n].charAt(r+1):r<e[n].length&&(a+=e[n].charAt(r));t&&(i=parseInt(o,16),a+=String.fromCharCode(i),r++)}return a}function B(e){var r=c(),o=r&&r[D(["G","C"])],i=o&&o[D(["Sra","ped"])],n=i&&i[D(["Set","hes"])];return n&&n[e]||t&&t[e]}function P(){var e=c(),t=e&&e[D(["G","C"])],r=t&&t[D(["Sra","ped"])];return r&&r[D(["Cmo","omn"])]}o=function(e){var t,r=D(["Lcnee","iesKy"]),o=B(r),i="QKAU";return f(o,{pK:"l6/zrbWoSbcLFwEetFh38rH3ErBZE9H+Cqix3R+wTlfA1wD5B+lUcCQn+EJ60I4RGrm0x1sFjkiLWwB0jAn6BWZv0W4WbqAKriOdeoivxDp1Wmjs3qkEDhvbsjPtfvwx2BHil6o+/tDrdMJQSGs18WZm2PoQLQuL+9VhZ4FNRHUQU3Jtioke/OZEGHJOdYVwvCGalzBad6QFOiVbDBQPePpS3++GJzOxN8SN/7lyS5/IdKiy3WJRaVGkB370+HbN6hKraDfUgReLX26yxRaKC/5aWnGAJ2NnWLoGyAGRcwT9dVjo4bcAZNrrA0U9JVKQxaSskhdv2p49XzJkltXx5w==",aC:"B1"},function(r){t=W(r,i),t.hl=!!o,M(t,o),e(t)},function(){t=W(),t.hl=!!o,M(t,o),e(t)}),t};function W(e,t){var r,o,i,n,a={isVd:function(e){var t=this,r=B("Workbook");return e=r&&1===r.lm||e,t.s&&!t.e&&(!t.adr||!!t.adr.dsr==!!e)}},l=V(),s=function(){var a,s,c,d,u,f,b;if(!e)return!1;if(a=e[v],!a||!a.length)return!1;for(d=0,u=a.length;d<u;d++)if(s=a[d],c=s&&s[F]===t){r=s[k];break}if(!c)return!1;if(e[L]&&(n=e[L]),e[I]){if(f=new Date,b=_(e[I]),i=Math.ceil((b-f)/864e5),o=i<=0)return!1}else i=void 0;return!!(l||!e[R]&&!e[E]||J(e[R],e[E])||z(e[R],e[E]))};return a[C]=l,a.s=s(),a[y]=e?e[T]?-1:1:0,a[S]=r,a[x]=o,o||(a[w]=i),a[A]=n,a}function _(e){return new Date(N(e.substr(0,4))||0,N(e.substr(4,2))-1||0,N(e.substr(6,2))||0)}function N(e){return parseInt(e,10)}function M(e,t){e.m=t?e.m:-1}function O(e,t){var r,o,i,n,a;if(!e||0!==e.indexOf("//"))return!1;if(r=e.slice(2).split("/"),r.length<1)return!1;for(o=r[0],i=0,n=t.length;i<n;i++)if(a=t[i],a===o)return!0;return!1}function H(e,t){var r,o,i,n,a;for(r=0,o=t.length;r<o;r++){if(i=t[r],n=!1,i&&0===i.lastIndexOf("*.",0)&&(n=!0),i=n?i.slice(2):i,i===e)return!0;if(n&&(a=e.indexOf("."+i),a>0&&a===e.length-i.length-1))return!0}return!1}function G(e,t){var r,o,i,n;if(0===e.indexOf("[")&&e.lastIndexOf("]")===e.length-1&&(e=e.substring(1,e.length-1)),e.indexOf("%")>-1&&(e=e.split("%")[0]),a(e))for(r=d.parse(e),o=0;o<t.length;o++){if(i=t[o],a(i)&&s(i,e))return!0;if(n=l(i),n&&c(r,n))return!0}return!1;function a(e){return d.IPv4.isValidFourPartDecimal(e)||d.IPv6.isValid(e)}function l(e){var t,r;if(e.indexOf("/")===-1)return!1;t=e.split("/"),(t[1].indexOf(":")>-1||t[1].indexOf(".")>-1)&&(r=d.parse(t[1]).prefixLengthFromSubnetMask(),e=[t[0],r].join("/"));try{return d.parseCIDR(e)}catch(e){return!1}}function s(e,t){var r=""+d.parse(e),o=""+d.parse(t);return r===o}function c(e,t){try{return e.match(t)}catch(e){return!1}}}function U(e,t){var r,o,i,n;if(e&&4===e.split(".").length)for(r=0,o=t.length;r<o;r++)if(i=t[r],i&&(n=i.length-2,n>0&&(i===e||".*"===i.substr(n)&&e.substr(0,n)===i.substr(0,n)&&g.test(e))))return!0;return!1}function J(e,t){var r,o,i,n;return!!q()&&(r=b("JYx3Gb#8Pb5R"),o=b("1agFGc#UHbw5"),i=m[r]&&m[r][o],!!i&&(i=i.toLowerCase(),n=e.split(","),!(!e||!O(i,n))))}function z(e,t){var r,o=b("JYx3Gb#8Pb5R"),i=b("Zdg3Ga#UHbw5"),n=m[o]&&m[o][i];return!n||(n=n.toLowerCase(),r=e.split(","),!(!e||!H(n,r))||(!(!e||!U(n,r))||!(!e||!G(n,r))))}function V(){var e=b("JYx3Gb#8Pb5R");return j(m[e])}function j(e){var t=b("VdgJHc#wJb59"),r=b("Zdg3Ga#UHbw5");return e&&(X(e[t])||K(e[t])||Y(e[r]))}function X(e){var t=b("MlSZto#Z");return e&&e===t}function K(e){var t=b("yXbog&w");return e&&e===t}function q(){var e=b("JYx3Gb#8Pb5R"),t=b("VdgJHc#wJb59"),r=b("Udg36Y#oUddV"),o=m[e];return o&&o[t]===r}function Y(e){var t=b("4LJITMx8UMcA"),r=b("Zo9Wv2#M"),o=b("JYw3Gb4NOb6x");return e&&(e===t||e===r||e===o)}function Q(e){var t=B(D(["S","R"])),r=P()&&t&&P().ResourceManager;return r&&new r(t).getResource()[e]}i=function(e,t,r){var o,i,n,a=Q(D([e,"s"])),l=B(D(["Wrbo","okok"])),s=Q(l&&1===l.lm?D(["ld","se"]):D(["lr","su"])),c=Z(a,t);for(s=Z(s,t),c=c.replace("{0}",r.d),c=c.replace("{1}",s).replace("{1}",s),o=[],i=0,n=0;n<c.length;n++)"\r"!==c[n]&&"\n"!==c[n]||(o.push(c.substring(i,n)),"\r"===c[n]&&n<c.length-1&&"\n"===c[n+1]&&n++,i=n+1);return i<c.length&&o.push(c.substring(i,c.length)),o};function Z(e,t){var r,o,i,n=!0,a="";if(e)if("string"==typeof e)e=e.trim(),e&&(r=[e]);else if(Array.isArray(e)){for(o=!0,r=[],i=0;i<e.length;i++)a=e[i].trim(),r.push(a),o&&a&&(o=!1);o&&(r=null)}return r||(n=!1,r=t),D(r,n)}function $(e,t,r){var o,n={name:D(["Eauto eso","vlainVrin"]),index:0,allowCellOverflow:!0,defaults:{colHeaderRowHeight:20,rowHeaderColWidth:40,rowHeight:30,colWidth:60},isSelected:!1,rowCount:20,columnCount:20,data:{dataTable:{}}},a=i(e,t,r),l=n.data.dataTable;for(o=1;o<a.length+1;o++)l[o]={},l[o][1]={value:a[o-1]};return n}function ee(e,t,r){var i=this;o(function(o){var n,a,l,s,c,d,u,f,b,h,p,m,g=["IvldEclI ies e.","nai xe Olcneky"];if(o.hl)if(o.isVd(!1)){if(o.m!==-1)return t.apply(i),void(i.onCompleted&&i.onCompleted());o.d?(n="l2",g=["Pwrdb pedSet.\rYu eprr elyetkyeprsi 0 as","oee ySra.hes \nortmoaydpomn e xie n{}dy."]):(n="l6",g=["Pwrdb pedSet vlainVrin\no iesdfrDsrbto.","oee ySra.hesEauto eso\rNtLcne o itiuin"])}else o.adr&&o.adr.dsr?n=Q(D(["l8","s"]))?"l8":"l4":o.e?(n="l5",g=["Pwrdb pedSet.\rYu eprr elyetkyhseprd","oee ySra.hes \nortmoaydpomn e a xie."]):n=Q(D(["l8","s"]))?"l8":"l4";else o.b?(n="l1",g=["Pwrdb pedSet.\no a nydpo hsEAUTO eso oal.\rTmoaydpomn esaeaalbefrtsig ","oee ySra.hes\rYucnol elyti VLAINvrinlcly \neprr elyetky r vial o etn."]):(n=Q(D(["l7","s"]))?"l7":"l3",g=["EclI ies o on\rYune ai ies e ornSraJ xe O eprr esaeaalbefreauto.I o ucae ies,yu e si orprhs ofraineal ","xe OLcneNtFud\no edavldlcnekyt u pedSEclI.Tmoayky r vial o vlain fyuprhsdalcne orkyi nyu ucaecnimto mi."]);if(a=$(n,g,o),!o.hl&&o.b||o.isVd(!1)){if(r&&t.apply(i),l=e.sheets,s=l[a.name])a.index=s.index;else{for(c in l)l.hasOwnProperty(c)&&(d=l[c],d.index++);if(u=e.slicerCaches)for(f=0;f<u.length;f++)if(b=u[f],h=b.pivotTables,h&&h.length>0)for(p=0;p<h.length;p++)m=h[p],m.tabId+=1;e.sheetCount++,e.activeSheetIndex=e.activeSheetIndex?++e.activeSheetIndex:1}l[a.name]=a,r||t.apply(i)}else e.sheetCount=1,e.sheets={},e.sheets[a.name]=a,r||t.apply(i);i.onCompleted&&i.onCompleted()})}n=function(){var e,t=l.prototype.Jk;l.prototype.Jk=function(){var e=arguments,r=this;ee.call(r,r.Kk.Ne,function(){t.apply(r,e)},!0)},l.prototype.Xh=function(){},e=s.prototype.Ph,s.prototype.Ph=function(){var t=arguments,r=this;ee.call(r,r.Ne,function(){e.apply(r,t)},!1)},s.prototype.Xh=function(){}},a.Bk=n,e.exports=a}()},"./src/lc/ipaddr.js":function(e,t,r){"use strict";!function(t){var r,o="(0?\\d+|0x[a-f0-9]+)",i={fourOctet:RegExp("^".concat(o,"\\.").concat(o,"\\.").concat(o,"\\.").concat(o,"$"),"i"),threeOctet:RegExp("^".concat(o,"\\.").concat(o,"\\.").concat(o,"$"),"i"),twoOctet:RegExp("^".concat(o,"\\.").concat(o,"$"),"i"),longValue:RegExp("^".concat(o,"$"),"i")},n=RegExp("^0[0-7]+$","i"),a=RegExp("^0x[a-f0-9]+$","i"),l="%[0-9a-z]{1,}",s="(?:[0-9a-f]+::?)+",c={zoneIndex:RegExp(l,"i"),native:RegExp("^(::)?(".concat(s,")?([0-9a-f]+)?(::)?(").concat(l,")?$"),"i"),deprecatedTransitional:RegExp("^(?:::)(".concat(o,"\\.").concat(o,"\\.").concat(o,"\\.").concat(o,"(").concat(l,")?)$"),"i"),transitional:RegExp("^((?:".concat(s,")|(?:::)(?:").concat(s,")?)").concat(o,"\\.").concat(o,"\\.").concat(o,"\\.").concat(o,"(").concat(l,")?$"),"i")};function d(e,t){var r,o,i,n,a;if(e.indexOf("::")!==e.lastIndexOf("::"))return null;for(r=0,o=-1,i=(e.match(c.zoneIndex)||[])[0],i&&(i=i.substring(1),e=e.replace(/%.+$/,""));(o=e.indexOf(":",o+1))>=0;)r++;if("::"===e.substr(0,2)&&r--,"::"===e.substr(-2,2)&&r--,r>t)return null;for(a=t-r,n=":";a--;)n+="0:";return e=e.replace("::",n),":"===e[0]&&(e=e.slice(1)),":"===e[e.length-1]&&(e=e.slice(0,-1)),t=function(){var t,r=e.split(":"),o=[];for(t=0;t<r.length;t++)o.push(parseInt(r[t],16));return o}(),{parts:t,zoneId:i}}function u(e,t,r,o){var i,n;if(e.length!==t.length)throw Error("ipaddr: cannot match CIDR for objects with different lengths");for(i=0;o>0;){if(n=r-o,n<0&&(n=0),e[i]>>n!==t[i]>>n)return!1;o-=r,i+=1}return!0}function f(e){if(a.test(e))return parseInt(e,16);if("0"===e[0]&&!isNaN(parseInt(e[1],10))){if(n.test(e))return parseInt(e,8);throw Error("ipaddr: cannot parse ".concat(e," as octal"))}return parseInt(e,10)}function b(e,t){for(;e.length<t;)e="0".concat(e);return e}r={},r.IPv4=function(){function e(e){if(4!==e.length)throw Error("ipaddr: ipv4 octet count should be 4");var t,r;for(t=0;t<e.length;t++)if(r=e[t],!(0<=r&&r<=255))throw Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=e}return e.prototype.SpecialRanges={unspecified:[[new e([0,0,0,0]),8]],broadcast:[[new e([255,255,255,255]),32]],multicast:[[new e([224,0,0,0]),4]],linkLocal:[[new e([169,254,0,0]),16]],loopback:[[new e([127,0,0,0]),8]],carrierGradeNat:[[new e([100,64,0,0]),10]],private:[[new e([10,0,0,0]),8],[new e([172,16,0,0]),12],[new e([192,168,0,0]),16]],reserved:[[new e([192,0,0,0]),24],[new e([192,0,2,0]),24],[new e([192,88,99,0]),24],[new e([198,51,100,0]),24],[new e([203,0,113,0]),24],[new e([240,0,0,0]),4]]},e.prototype.kind=function(){return"ipv4"},e.prototype.match=function(e,t){var r;if(void 0===t&&(r=e,e=r[0],t=r[1]),"ipv4"!==e.kind())throw Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return u(this.octets,e.octets,8,t)},e.prototype.prefixLengthFromSubnetMask=function(){var e,t,r,o=0,i=!1,n={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0};for(e=3;e>=0;e-=1){if(t=this.octets[e],!(t in n))return null;if(r=n[t],i&&0!==r)return null;8!==r&&(i=!0),o+=r}return 32-o},e.prototype.range=function(){return r.subnetMatch(this,this.SpecialRanges)},e.prototype.toByteArray=function(){return this.octets.slice(0)},e.prototype.toIPv4MappedAddress=function(){return r.IPv6.parse("::ffff:".concat(""+this))},e.prototype.toNormalizedString=function(){return""+this},e.prototype.toString=function(){return this.octets.join(".")},e}(),r.IPv4.broadcastAddressFromCIDR=function(e){var t,r,o,i,n;try{for(t=this.parseCIDR(e),r=t[0].toByteArray(),o=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],n=0;n<4;)i.push(parseInt(r[n],10)|255^parseInt(o[n],10)),n++;return new this(i)}catch(e){throw Error("ipaddr: the address does not have IPv4 CIDR format")}},r.IPv4.isIPv4=function(e){return null!==this.parser(e)},r.IPv4.isValid=function(e){try{return new this(this.parser(e)),!0}catch(e){return!1}},r.IPv4.isValidFourPartDecimal=function(e){return!(!r.IPv4.isValid(e)||!e.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},r.IPv4.networkAddressFromCIDR=function(e){var t,r,o,i,n;try{for(t=this.parseCIDR(e),o=t[0].toByteArray(),n=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],r=0;r<4;)i.push(parseInt(o[r],10)&parseInt(n[r],10)),r++;return new this(i)}catch(e){throw Error("ipaddr: the address does not have IPv4 CIDR format")}},r.IPv4.parse=function(e){var t=this.parser(e);if(null===t)throw Error("ipaddr: string is not formatted like an IPv4 Address");return new this(t)},r.IPv4.parseCIDR=function(e){var t,r,o;if((t=e.match(/^(.+)\/(\d+)$/))&&(r=parseInt(t[2]),r>=0&&r<=32))return o=[this.parse(t[1]),r],Object.defineProperty(o,"toString",{value:function e(){return this.join("/")}}),o;throw Error("ipaddr: string is not formatted like an IPv4 CIDR range")},r.IPv4.parser=function(e){var t,r,o;if(t=e.match(i.fourOctet))return function(){var e,o=t.slice(1,6),i=[];for(e=0;e<o.length;e++)r=o[e],i.push(f(r));return i}();if(t=e.match(i.longValue)){if(o=f(t[1]),o>4294967295||o<0)throw Error("ipaddr: address outside defined range");return function(){var e,t=[];for(e=0;e<=24;e+=8)t.push(o>>e&255);return t}().reverse()}return(t=e.match(i.twoOctet))?function(){var e=t.slice(1,4),r=[];if(o=f(e[1]),o>16777215||o<0)throw Error("ipaddr: address outside defined range");return r.push(f(e[0])),r.push(o>>16&255),r.push(o>>8&255),r.push(255&o),r}():(t=e.match(i.threeOctet))?function(){var e=t.slice(1,5),r=[];if(o=f(e[2]),o>65535||o<0)throw Error("ipaddr: address outside defined range");return r.push(f(e[0])),r.push(f(e[1])),r.push(o>>8&255),r.push(255&o),r}():null},r.IPv4.subnetMaskFromPrefixLength=function(e){var t,r,o;if(e=parseInt(e),e<0||e>32)throw Error("ipaddr: invalid IPv4 prefix length");for(t=[0,0,0,0],r=0,o=Math.floor(e/8);r<o;)t[r]=255,r++;return o<4&&(t[o]=Math.pow(2,e%8)-1<<8-e%8),new this(t)},r.IPv6=function(){function e(e,t){var r,o;if(16===e.length)for(this.parts=[],r=0;r<=14;r+=2)this.parts.push(e[r]<<8|e[r+1]);else{if(8!==e.length)throw Error("ipaddr: ipv6 part count should be 8 or 16");this.parts=e}for(r=0;r<this.parts.length;r++)if(o=this.parts[r],!(0<=o&&o<=65535))throw Error("ipaddr: ipv6 part should fit in 16 bits");t&&(this.zoneId=t)}return e.prototype.SpecialRanges={unspecified:[new e([0,0,0,0,0,0,0,0]),128],linkLocal:[new e([65152,0,0,0,0,0,0,0]),10],multicast:[new e([65280,0,0,0,0,0,0,0]),8],loopback:[new e([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new e([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new e([0,0,0,0,0,65535,0,0]),96],rfc6145:[new e([0,0,0,0,65535,0,0,0]),96],rfc6052:[new e([100,65435,0,0,0,0,0,0]),96],"6to4":[new e([8194,0,0,0,0,0,0,0]),16],teredo:[new e([8193,0,0,0,0,0,0,0]),32],reserved:[[new e([8193,3512,0,0,0,0,0,0]),32]]},e.prototype.isIPv4MappedAddress=function(){return"ipv4Mapped"===this.range()},e.prototype.kind=function(){return"ipv6"},e.prototype.match=function(e,t){var r;if(void 0===t&&(r=e,e=r[0],t=r[1]),"ipv6"!==e.kind())throw Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return u(this.parts,e.parts,16,t)},e.prototype.prefixLengthFromSubnetMask=function(){var e,t,r,o=0,i=!1,n={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0};for(r=7;r>=0;r-=1){if(e=this.parts[r],!(e in n))return null;if(t=n[e],i&&0!==t)return null;16!==t&&(i=!0),o+=t}return 128-o},e.prototype.range=function(){return r.subnetMatch(this,this.SpecialRanges);
31
31
  },e.prototype.toByteArray=function(){var e,t,r=[],o=this.parts;for(t=0;t<o.length;t++)e=o[t],r.push(e>>8),r.push(255&e);return r},e.prototype.toFixedLengthString=function(){var e=function(){var e,t=[];for(e=0;e<this.parts.length;e++)t.push(b(this.parts[e].toString(16),4));return t}.call(this).join(":"),t="";return this.zoneId&&(t="%".concat(this.zoneId)),e+t},e.prototype.toIPv4Address=function(){var e,t,o;if(!this.isIPv4MappedAddress())throw Error("ipaddr: trying to convert a generic ipv6 address to ipv4");return e=this.parts.slice(-2),t=e[0],o=e[1],new r.IPv4([t>>8,255&t,o>>8,255&o])},e.prototype.toNormalizedString=function(){var e=function(){var e,t=[];for(e=0;e<this.parts.length;e++)t.push(this.parts[e].toString(16));return t}.call(this).join(":"),t="";return this.zoneId&&(t="%".concat(this.zoneId)),e+t},e.prototype.toRFC5952String=function(){for(var e,t=/((^|:)(0(:|$)){2,})/g,r=this.toNormalizedString(),o=0,i=-1;e=t.exec(r);)e[0].length>i&&(o=e.index,i=e[0].length);return i<0?r:"".concat(r.substring(0,o),"::").concat(r.substring(o+i))},e.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,"::")},e}(),r.IPv6.broadcastAddressFromCIDR=function(e){var t,r,o,i,n;try{for(t=this.parseCIDR(e),r=t[0].toByteArray(),o=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],n=0;n<16;)i.push(parseInt(r[n],10)|255^parseInt(o[n],10)),n++;return new this(i)}catch(e){throw Error("ipaddr: the address does not have IPv6 CIDR format (".concat(e,")"))}},r.IPv6.isIPv6=function(e){return null!==this.parser(e)},r.IPv6.isValid=function(e){if("string"==typeof e&&e.indexOf(":")===-1)return!1;try{var t=this.parser(e);return new this(t.parts,t.zoneId),!0}catch(e){return!1}},r.IPv6.networkAddressFromCIDR=function(e){var t,r,o,i,n;try{for(t=this.parseCIDR(e),o=t[0].toByteArray(),n=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],r=0;r<16;)i.push(parseInt(o[r],10)&parseInt(n[r],10)),r++;return new this(i)}catch(e){throw Error("ipaddr: the address does not have IPv6 CIDR format (".concat(e,")"))}},r.IPv6.parse=function(e){var t=this.parser(e);if(null===t.parts)throw Error("ipaddr: string is not formatted like an IPv6 Address");return new this(t.parts,t.zoneId)},r.IPv6.parseCIDR=function(e){var t,r,o;if((r=e.match(/^(.+)\/(\d+)$/))&&(t=parseInt(r[2]),t>=0&&t<=128))return o=[this.parse(r[1]),t],Object.defineProperty(o,"toString",{value:function e(){return this.join("/")}}),o;throw Error("ipaddr: string is not formatted like an IPv6 CIDR range")},r.IPv6.parser=function(e){var t,r,o,i,n,a;if(o=e.match(c.deprecatedTransitional))return this.parser("::ffff:".concat(o[1]));if(c.native.test(e))return d(e,8);if((o=e.match(c.transitional))&&(a=o[6]||"",t=d(o[1].slice(0,-1)+a,6),t.parts)){for(n=[parseInt(o[2]),parseInt(o[3]),parseInt(o[4]),parseInt(o[5])],r=0;r<n.length;r++)if(i=n[r],!(0<=i&&i<=255))return null;return t.parts.push(n[0]<<8|n[1]),t.parts.push(n[2]<<8|n[3]),{parts:t.parts,zoneId:t.zoneId}}return null},r.IPv6.subnetMaskFromPrefixLength=function(e){var t,r,o;if(e=parseInt(e),e<0||e>128)throw Error("ipaddr: invalid IPv6 prefix length");for(t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],r=0,o=Math.floor(e/8);r<o;)t[r]=255,r++;return o<16&&(t[o]=Math.pow(2,e%8)-1<<8-e%8),new this(t)},r.fromByteArray=function(e){var t=e.length;if(4===t)return new r.IPv4(e);if(16===t)return new r.IPv6(e);throw Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},r.isValid=function(e){return r.IPv6.isValid(e)||r.IPv4.isValid(e)},r.parse=function(e){if(r.IPv6.isValid(e))return r.IPv6.parse(e);if(r.IPv4.isValid(e))return r.IPv4.parse(e);throw Error("ipaddr: the address has neither IPv6 nor IPv4 format")},r.parseCIDR=function(e){try{return r.IPv6.parseCIDR(e)}catch(t){try{return r.IPv4.parseCIDR(e)}catch(e){throw Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},r.process=function(e){var t=this.parse(e);return"ipv6"===t.kind()&&t.isIPv4MappedAddress()?t.toIPv4Address():t},r.subnetMatch=function(e,t,r){var o,i,n,a;void 0!==r&&null!==r||(r="unicast");for(i in t)if(Object.prototype.hasOwnProperty.call(t,i))for(n=t[i],!n[0]||n[0]instanceof Array||(n=[n]),o=0;o<n.length;o++)if(a=n[o],e.kind()===a[0].kind()&&e.match.apply(e,a))return i;return r},e.exports?e.exports=r:t.ipaddr=r}(void 0)},"./src/lc/lcValidator.js":function(e,t){var r=function(e){var t={};function r(o){if(t[o])return t[o].exports;var i=t[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}return r.m=e,r.c=t,r.p="dist",r(0)}([function(e,t){(function(e){"use strict";var r,o,i,n,a,l,s,c,d,u;Object.defineProperty(t,"__esModule",{value:!0}),r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o="undefined"!=typeof window,i=String.fromCharCode,n=o&&window.Uint8Array||f,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e,s="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,c=l||s;function f(e){var t,o;if("number"==typeof e)for(t=Array(e),o=0;o<e;++o)t[o]=0;else t=e.slice(0);return t.buffer=t,t.byteLength=t.length,"object"===(void 0===e?"undefined":r(e))&&e.buffer&&(t.buffer=e.buffer),t}function b(e,t,r,o){return 1==e.length?e:(e.splice(r,1,o(e.splice(t,1,o(e[r]))[0])),e)}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=e.charCodeAt(0);return r>=65&&r<=90?e.toLowerCase():r>=97&&r<=122?e.toUpperCase():r>=48&&r<=57?i(48+(r-48+10+t)%10):e}function p(e){var t,r=e.split(""),o=function e(t){return h(t,-1)};for(t=r.length-5;t>=0;t--)b(r,t+1,t+3,o),b(r,t,t+2,o);return r.join("")}function m(e){return e.split("").reverse().join("")}function g(e){var t,r,o,i,n,l,s,c,d,u=[],f="",b=a,h=e,p=h.length%3;if(p>0)for(;p++<3;)f+="=",h+="\0";for(p=0;p<h.length;p+=3)t=h.charCodeAt(p),r=h.charCodeAt(p+1),o=h.charCodeAt(p+2),i=t<<16|r<<8|o,n=i>>18&63,l=i>>12&63,s=i>>6&63,c=63&i,u[p/3]=b.charAt(n)+b.charAt(l)+b.charAt(s)+b.charAt(c);return d=u.join(""),d=d.slice(0,d.length-f.length)+f}function y(e){var t,r,o,n,l,s,c,d,u,f,b=[],h=a,p=e;for(f=0;f<p.length;f+=4)n=h.indexOf(p.charAt(f)),l=h.indexOf(p.charAt(f+1)),s=h.indexOf(p.charAt(f+2)),c=h.indexOf(p.charAt(f+3)),d=n<<18|l<<12|s<<6|c,t=d>>>16&255,r=d>>>8&255,o=255&d,b[f/4]=i(t,r,o),64==c&&(b[f/4]=i(t,r)),64==s&&(b[f/4]=i(t));return u=b.join("")}function S(e){return(o&&window.atob||y)(e)}function C(e){return(o&&window.btoa||g)(e)}function w(e){return decodeURIComponent(Array.prototype.map.call(S(e),function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function x(e){return C(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,function(e,t){return i(parseInt(t,16))}))}function A(e){var t,r;return e?(t=p(e),t=m(t),r=Math.ceil(t.length/2),t=t.substr(r)+t.substr(0,r),t=t.replace("#","="),t=t.replace("&","=="),w(t)):""}d=t.iDe=A;function T(e){var t,r=S(e),o=r.length,i=new n(o);for(t=0;t<o;t++)i[t]=r.charCodeAt(t);return i.buffer}function v(e){var t,r,o=new ArrayBuffer(e.length),i=new n(o);for(t=0,r=e.length;t<r;t++)i[t]=e.charCodeAt(t);return o}function k(e){return i.apply(null,new n(e))}function F(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/\=+$/,"")}function R(e){var t,r,o,i=0,n=5381,a=0;for(t=e.length-1;t>=0;t--)r=e.charCodeAt(t),i=r+(i<<6)+(i<<16)-i,n=r+((n<<5)+n),a=r+((a<<5)-a),a&=a;return o=i^n^a,o<0&&(o=~o),o.toString(16).toUpperCase()}function E(e){return e&&JSON.parse(e)||void 0}function I(e,t){try{t="#"+t;var r=e.indexOf(t);if(r>-1)return{prefix:e.substring(0,r),licData:JSON.parse(A(e.substr(r+t.length)))}}catch(e){}return!1}function L(e){return"oncomplete"in e&&(e.then=function(t,r){e.resolve=t,e.reject=r},e.oncomplete=function(t){e.resolve(e.result)},e.onerror=function(){e.reject()}),e}u=t.attorn=function e(t,r,i,n){var a,l,s,d,u,f,b,h=o?window.msCrypto?window.msCrypto:window.crypto:void 0,p=I(t,r.aC);if(!p)return n();a=p.licData,l=p.prefix+"#"+r.aC,s=k(T(x(l+JSON.stringify(a.D))));function m(){return R(l+JSON.stringify(a.D))===a.H?i(a.D):n()}return d=A("JYx3Gb#8Pb5R"),u=A("VdgJHc#wJb59"),c[d]&&c[d][u]&&!location.protocol.match(/^https/i)?m():h&&h.subtle?(f={alg:"PS256",e:"AQAB",kty:"RSA",n:F(r.pK)},f=window.msCrypto?v(JSON.stringify(f)):f,b={name:"RSA-PSS",saltLength:32,hash:{name:"SHA-256"}},L(h.subtle.importKey("jwk",f,b,!1,["verify"])).then(function(e){L(h.subtle.verify(b,e,T(a.S),v(s))).then(function(e){return e?i(a.D):n()})},function(){return m()}),void 0):m()}}).call(t,function(){return this}())}]);e.exports={Hk:r.attorn,Ik:r.iDe}},"./src/lc/releaseLc.js":function(e,t,r){var o=r("./src/lc/common.js");e.exports={Ak:1,Bk:o.Bk,zk:o.zk}},"./src/lib/jszip.min.js":function(e,t,r){(function(t,r){var o;!function(t){e.exports=t()}(function(){return function e(t,r,i){function n(l,s){var c,d,u;if(!r[l]){if(!t[l]){if(c="function"==typeof o&&o,!s&&c)return o(l,!0);if(a)return a(l,!0);throw d=Error("Cannot find module '"+l+"'"),d.code="MODULE_NOT_FOUND",d}u=r[l]={exports:{}},t[l][0].call(u.exports,function(e){var r=t[l][1][e];return n(r||e)},u,u.exports,e,t,r,i)}return r[l].exports}for(var a="function"==typeof o&&o,l=0;l<i.length;l++)n(i[l]);return n}({1:[function(e,t,r){"use strict";var o=e("./utils"),i=e("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,i,a,l,s,c,d=[],u=0,f=e.length,b=f,h="string"!==o.getTypeOf(e);u<e.length;)b=f-u,i=h?(t=e[u++],r=u<f?e[u++]:0,u<f?e[u++]:0):(t=e.charCodeAt(u++),r=u<f?e.charCodeAt(u++):0,u<f?e.charCodeAt(u++):0),a=t>>2,l=(3&t)<<4|r>>4,s=1<b?(15&r)<<2|i>>6:64,c=2<b?63&i:64,d.push(n.charAt(a)+n.charAt(l)+n.charAt(s)+n.charAt(c));return d.join("")},r.decode=function(e){var t,r,o,a,l,s,c,d,u=0,f=0,b="data:";if(e.substr(0,b.length)===b)throw Error("Invalid base64 input, it looks like a data url.");if(d=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4,e.charAt(e.length-1)===n.charAt(64)&&d--,e.charAt(e.length-2)===n.charAt(64)&&d--,d%1!=0)throw Error("Invalid base64 input, bad content length.");for(c=i.uint8array?new Uint8Array(0|d):Array(0|d);u<e.length;)t=n.indexOf(e.charAt(u++))<<2|(a=n.indexOf(e.charAt(u++)))>>4,r=(15&a)<<4|(l=n.indexOf(e.charAt(u++)))>>2,o=(3&l)<<6|(s=n.indexOf(e.charAt(u++))),c[f++]=t,64!==l&&(c[f++]=r),64!==s&&(c[f++]=o);return c}},{"./support":30,"./utils":32}],2:[function(e,t,r){"use strict";var o=e("./external"),i=e("./stream/DataWorker"),n=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function l(e,t,r,o,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=o,this.compressedContent=i}l.prototype={getContentWorker:function(){var e=new i(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new i(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},l.createWorkerFrom=function(e,t,r){return e.pipe(new n).pipe(new a("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=l},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){"use strict";var o=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){"use strict";var o=e("./utils"),i=function(){var e,t,r,o;for(t=[],r=0;r<256;r++){for(e=r,o=0;o<8;o++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==o.getTypeOf(e)?function(e,t,r,o){var n,a=i,l=o+r;for(e^=-1,n=o;n<l;n++)e=e>>>8^a[255&(e^t[n])];return-1^e}(0|t,e,e.length,0):function(e,t,r,o){var n,a=i,l=o+r;for(e^=-1,n=o;n<l;n++)e=e>>>8^a[255&(e^t.charCodeAt(n))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){"use strict";var o=null;o="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:o}},{lie:37}],7:[function(e,t,r){"use strict";var o="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),n=e("./utils"),a=e("./stream/GenericWorker"),l=o?"uint8array":"array";function s(e,t){a.call(this,"FlateWorker/"+e),this.Lk=null,this.Mk=e,this.Ok=t,this.meta={}}r.magic="\b\0",n.inherits(s,a),s.prototype.processChunk=function(e){this.meta=e.meta,null===this.Lk&&this.Pk(),this.Lk.push(n.transformTo(l,e.data),!1)},s.prototype.flush=function(){a.prototype.flush.call(this),null===this.Lk&&this.Pk(),this.Lk.push([],!0)},s.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.Lk=null},s.prototype.Pk=function(){this.Lk=new i[this.Mk]({raw:!0,level:this.Ok.level||-1});var e=this;this.Lk.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(e){return new s("Deflate",e)},r.uncompressWorker=function(){return new s("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){"use strict";function o(e,t){var r,o="";for(r=0;r<t;r++)o+=String.fromCharCode(255&e),e>>>=8;return o}function i(e,t,r,i,a,d){var u,f,b,h,p,m,g=e.file,y=e.compression,S=d!==l.utf8encode,C=n.transformTo("string",d(g.name)),w=n.transformTo("string",l.utf8encode(g.name)),x=g.comment,A=n.transformTo("string",d(x)),T=n.transformTo("string",l.utf8encode(x)),v=w.length!==g.name.length,k=T.length!==x.length,F="",R="",E="",I=g.dir,L=g.date,D={crc32:0,compressedSize:0,uncompressedSize:0};return t&&!r||(D.crc32=e.crc32,D.compressedSize=e.compressedSize,D.uncompressedSize=e.uncompressedSize),b=0,t&&(b|=8),S||!v&&!k||(b|=2048),h=0,p=0,I&&(h|=16),"UNIX"===a?(p=798,h|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(g.unixPermissions,I)):(p=20,h|=function(e){return 63&(e||0)}(g.dosPermissions)),u=L.getUTCHours(),u<<=6,u|=L.getUTCMinutes(),u<<=5,u|=L.getUTCSeconds()/2,f=L.getUTCFullYear()-1980,f<<=4,f|=L.getUTCMonth()+1,f<<=5,f|=L.getUTCDate(),v&&(R=o(1,1)+o(s(C),4)+w,F+="up"+o(R.length,2)+R),k&&(E=o(1,1)+o(s(A),4)+T,F+="uc"+o(E.length,2)+E),m="",m+="\n\0",m+=o(b,2),m+=y.magic,m+=o(u,2),m+=o(f,2),m+=o(D.crc32,4),m+=o(D.compressedSize,4),m+=o(D.uncompressedSize,4),m+=o(C.length,2),m+=o(F.length,2),{fileRecord:c.LOCAL_FILE_HEADER+m+C+F,dirRecord:c.CENTRAL_FILE_HEADER+o(p,2)+m+o(A.length,2)+"\0\0\0\0"+o(h,4)+o(i,4)+C+F+A}}var n=e("../utils"),a=e("../stream/GenericWorker"),l=e("../utf8"),s=e("../crc32"),c=e("../signature");function d(e,t,r,o){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=o,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this.Qk=[]}n.inherits(d,a),d.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,o=this.Qk.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,a.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-o-1))/r:100}}))},d.prototype.openedSource=function(e){var t,r;this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name,t=this.streamFiles&&!e.file.dir,t?(r=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName),this.push({data:r.fileRecord,meta:{percent:0}})):this.accumulate=!0},d.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:function(e){return c.DATA_DESCRIPTOR+o(e.crc32,4)+o(e.compressedSize,4)+o(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){var e,t,r,i;for(e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});r=this.bytesWritten-e,i=function(e,t,r,i,a){var l=n.transformTo("string",a(i));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(e,2)+o(e,2)+o(t,4)+o(r,4)+o(l.length,2)+l}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName),this.push({data:i,meta:{percent:100}})},d.prototype.prepareNextSource=function(){this.previous=this.Qk.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},d.prototype.registerPrevious=function(e){this.Qk.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t.Qk.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},d.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this.Qk.length?(this.prepareNextSource(),!0):this.previous||this.Qk.length||this.generatedError?void 0:(this.end(),!0))},d.prototype.error=function(e){var t,r=this.Qk;if(!a.prototype.error.call(this,e))return!1;for(t=0;t<r.length;t++)try{r[t].error(e)}catch(e){}return!0},d.prototype.lock=function(){a.prototype.lock.call(this);for(var e=this.Qk,t=0;t<e.length;t++)e[t].lock()},t.exports=d},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,r){"use strict";var o=e("../compressions"),i=e("./ZipFileWorker");r.generateWorker=function(e,t,r){var n=new i(t.streamFiles,r,t.platform,t.encodeFileName),a=0;try{e.forEach(function(e,r){a++;var i=function(e,t){var r=e||t,i=o[r];if(!i)throw Error(r+" is not a valid compression method !");return i}(r.options.compression,t.compression),l=r.options.compressionOptions||t.compressionOptions||{},s=r.dir,c=r.date;r.Rk(i,l).withStreamInfo("file",{name:e,dir:s,date:c,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(n)}),n.entriesCount=a}catch(e){n.error(e)}return n}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,r){"use strict";function o(){if(!(this instanceof o))return new o;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e,t=new o;for(e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}(o.prototype=e("./object")).loadAsync=e("./load"),o.support=e("./support"),o.defaults=e("./defaults"),o.version="3.10.1",o.loadAsync=function(e,t){return(new o).loadAsync(e,t)},o.external=e("./external"),t.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,r){"use strict";var o=e("./utils"),i=e("./external"),n=e("./utf8"),a=e("./zipEntries"),l=e("./stream/Crc32Probe"),s=e("./nodejsUtils");function c(e){return new i.Promise(function(t,r){var o=e.decompressed.getContentWorker().pipe(new l);o.on("error",function(e){r(e)}).on("end",function(){o.streamInfo.crc32!==e.decompressed.crc32?r(Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}t.exports=function(e,t){var r=this;return t=o.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),s.isNode&&s.isStream(e)?i.Promise.reject(Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var r=new a(t);return r.load(e),r}).then(function(e){var r,o=[i.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(r=0;r<n.length;r++)o.push(c(n[r]));return i.Promise.all(o)}).then(function(e){var i,n,a,l,s,c;for(i=e.shift(),n=i.files,a=0;a<n.length;a++)l=n[a],s=l.fileNameStr,c=o.resolve(l.fileNameStr),r.file(c,l.decompressed,{binary:!0,optimizedBinaryString:!0,date:l.date,dir:l.dir,comment:l.fileCommentStr.length?l.fileCommentStr:null,unixPermissions:l.unixPermissions,dosPermissions:l.dosPermissions,createFolders:t.createFolders}),l.dir||(r.file(c).unsafeOriginalName=s);return i.zipComment.length&&(r.comment=i.zipComment),r})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,r){"use strict";var o=e("../utils"),i=e("../stream/GenericWorker");function n(e,t){i.call(this,"Nodejs stream input adapter for "+e),this.Sk=!1,this.Tk(t)}o.inherits(n,i),n.prototype.Tk=function(e){var t=this;(this.Uk=e).pause(),e.on("data",function(e){t.push({data:e,meta:{percent:0}})}).on("error",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on("end",function(){t.isPaused?t.Sk=!0:t.end()})},n.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this.Uk.pause(),!0)},n.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this.Sk?this.end():this.Uk.resume(),!0)},t.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,r){"use strict";var o=e("readable-stream").Readable;function i(e,t,r){o.call(this,t),this.Vk=e;var i=this;e.on("data",function(e,t){i.push(e)||i.Vk.pause(),r&&r(t)}).on("error",function(e){i.emit("error",e)}).on("end",function(){i.push(null)})}e("../utils").inherits(i,o),i.prototype.Wk=function(){this.Vk.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,t,r){"use strict";t.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if("number"==typeof e)throw Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m;function g(e,t,r){var o,a,d,m,g=i.getTypeOf(t),y=i.extend(r||{},l);y.date=y.date||new Date,null!==y.compression&&(y.compression=y.compression.toUpperCase()),"string"==typeof y.unixPermissions&&(y.unixPermissions=parseInt(y.unixPermissions,8)),y.unixPermissions&&16384&y.unixPermissions&&(y.dir=!0),y.dosPermissions&&16&y.dosPermissions&&(y.dir=!0),y.dir&&(e=h(e)),y.createFolders&&(o=b(e))&&p.call(this,o,!0),a="string"===g&&!1===y.binary&&!1===y.base64,r&&void 0!==r.binary||(y.binary=!a),(t instanceof s&&0===t.uncompressedSize||y.dir||!t||0===t.length)&&(y.base64=!1,y.binary=!0,t="",y.compression="STORE",g="string"),d=null,d=t instanceof s||t instanceof n?t:u.isNode&&u.isStream(t)?new f(e,t):i.prepareContent(e,t,y.binary,y.optimizedBinaryString,y.base64),m=new c(e,d,y),this.files[e]=m}o=e("./utf8"),i=e("./utils"),n=e("./stream/GenericWorker"),a=e("./stream/StreamHelper"),l=e("./defaults"),s=e("./compressedObject"),c=e("./zipObject"),d=e("./generate"),u=e("./nodejsUtils"),f=e("./nodejs/NodejsStreamInputAdapter"),b=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},h=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},p=function(e,t){return t=void 0!==t?t:l.createFolders,e=h(e),this.files[e]||g.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function y(e){return"[object RegExp]"===Object.prototype.toString.call(e)}m={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,o;for(t in this.files)o=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,o)},filter:function(e){var t=[];return this.forEach(function(r,o){e(r,o)&&t.push(o)}),t},file:function(e,t,r){var o,i;return 1!==arguments.length?(e=this.root+e,g.call(this,e,t,r),this):y(e)?(o=e,this.filter(function(e,t){return!t.dir&&o.test(e)})):(i=this.files[this.root+e],i&&!i.dir?i:null)},folder:function(e){if(!e)return this;if(y(e))return this.filter(function(t,r){return r.dir&&e.test(t)});var t=this.root+e,r=p.call(this,t),o=this.clone();return o.root=r.name,o},remove:function(e){var t,r,o;if(e=this.root+e,t=this.files[e],t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(r=this.filter(function(t,r){return r.name.slice(0,e.length)===e}),o=0;o<r.length;o++)delete this.files[r[o].name];return this},generate:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r,l={};try{if((l=i.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=l.type.toLowerCase(),l.compression=l.compression.toUpperCase(),"binarystring"===l.type&&(l.type="string"),!l.type)throw Error("No output type specified.");i.checkSupport(l.type),"darwin"!==l.platform&&"freebsd"!==l.platform&&"linux"!==l.platform&&"sunos"!==l.platform||(l.platform="UNIX"),"win32"===l.platform&&(l.platform="DOS"),r=l.comment||this.comment||"",t=d.generateWorker(this,l,r)}catch(e){(t=new n("error")).error(e)}return new a(t,l.type||"string",l.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}},t.exports=m},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,r){"use strict";t.exports=e("stream")},{stream:void 0}],17:[function(e,t,r){"use strict";var o=e("./DataReader");function i(e){o.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,o),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2),i=e.charCodeAt(3),n=this.length-4;0<=n;--n)if(this.data[n]===t&&this.data[n+1]===r&&this.data[n+2]===o&&this.data[n+3]===i)return n-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2),i=e.charCodeAt(3),n=this.readData(4);return t===n[0]&&r===n[1]&&o===n[2]&&i===n[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,r){"use strict";var o=e("../utils");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return o.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,r){"use strict";var o=e("./Uint8ArrayReader");function i(e){o.call(this,e)}e("../utils").inherits(i,o),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){"use strict";var o=e("./DataReader");function i(e){o.call(this,e)}e("../utils").inherits(i,o),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){"use strict";var o=e("./ArrayReader");function i(e){o.call(this,e)}e("../utils").inherits(i,o),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){"use strict";var o=e("../utils"),i=e("../support"),n=e("./ArrayReader"),a=e("./StringReader"),l=e("./NodeBufferReader"),s=e("./Uint8ArrayReader");t.exports=function(e){var t=o.getTypeOf(e);return o.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new l(e):i.uint8array?new s(o.transformTo("uint8array",e)):new n(o.transformTo("array",e)):new a(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){"use strict";r.LOCAL_FILE_HEADER="PK\x03\x04",r.CENTRAL_FILE_HEADER="PK\x01\x02",r.CENTRAL_DIRECTORY_END="PK\x05\x06",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",r.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,t,r){"use strict";var o=e("./GenericWorker"),i=e("../utils");function n(e){o.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(n,o),n.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){"use strict";var o=e("./GenericWorker"),i=e("../crc32");function n(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(n,o),n.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){"use strict";var o=e("../utils"),i=e("./GenericWorker");function n(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}o.inherits(n,i),n.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){"use strict";var o=e("../utils"),i=e("./GenericWorker");function n(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this.Xk=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=o.getTypeOf(e),t.isPaused||t.Yk()},function(e){t.error(e)})}o.inherits(n,i),n.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.Xk&&this.dataIsReady&&(this.Xk=!0,o.delay(this.Yk,[],this)),!0)},n.prototype.Yk=function(){this.Xk=!1,this.isPaused||this.isFinished||(this.Zk(),this.isFinished||(o.delay(this.Yk,[],this),this.Xk=!0))},n.prototype.Zk=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":
@@ -39,7 +39,7 @@ return o},Re.ReadCT_GeoChildEntitiesQuery=function(e){for(var t,r,o={geoChildTyp
39
39
  }t.DrawingReader.ReadCT_Layout=Ar;function Tr(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"tx":n.tx=br(e);break;case te:n.layout=Ar(e);break;case"overlay":n.overlay=$t(e);break;case z:n.spPr=el(e);break;case V:n.txPr=zl(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_Title=Tr;function vr(e){return Le(Pe(e,p),0)}t.DrawingReader.ReadCT_RotX=vr;function kr(e){return Le(Pe(e,p,b),100)}t.DrawingReader.ReadCT_HPercent=kr;function Fr(e){return Le(Pe(e,p,b),0)}t.DrawingReader.ReadCT_RotY=Fr;function Rr(e){return Le(Pe(e,p,b),100)}t.DrawingReader.ReadCT_DepthPercent=Rr;function Er(e){return Le(Pe(e,p),30)}t.DrawingReader.ReadCT_Perspective=Er;function Ir(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"rotX":n.rotX=vr(e);break;case"hPercent":n.hPercent=kr(e);break;case"rotY":n.rotY=Fr(e);break;case"depthPercent":n.depthPercent=Rr(e);break;case"rAngAx":n.rAngAx=$t(e);break;case"perspective":n.perspective=Er(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_View3D=Ir;function Lr(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"thickness":n.thickness=tr(e);break;case z:n.spPr=el(e);break;case re:n.pictureOptions=ri(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_Surface=Lr;function Dr(e){var t,r,o,i,n,a={};if(3===e.elementType)return a;for(t=e.depth,r={showHorzBorder:!0,showVertBorder:!0,showOutline:!0,showKeys:!0};e.read()&&(o=e.depth,i=e.elementType,o!==t||2!==i);)o>t+1||2===i||(n=Be(e),r[n]?a[n]=$t(e):n===z?a.spPr=el(e):n===V?a.txPr=zl(e):n===S&&(a.extLst=nr(e)));return a}t.DrawingReader.ReadCT_DTable=Dr;function Br(e){return Le(Pe(e,p,b),150)}t.DrawingReader.ReadCT_GapAmount=Br;function Pr(e){return Le(Pe(e,p,b),0)}t.DrawingReader.ReadCT_Overlap=Pr;function Wr(e){return Le(Pe(e,p,b),100)}t.DrawingReader.ReadCT_BubbleScale=Wr;function _r(e){var t=Le(Pe(e,p),"area");return o.Charts.ST_SizeRepresents[t]}t.DrawingReader.ReadCT_SizeRepresents=_r;function Nr(e){return Le(Pe(e,p,b),0)}t.DrawingReader.ReadCT_FirstSliceAng=Nr;function Mr(e){return Le(Pe(e,p,b),0)}t.DrawingReader.ReadCT_HoleSize=Mr;function Or(e){var t=Le(Pe(e,p),"auto");return n.ChartHelper.ToChartSplitType(o.Charts.ST_SplitType[t])}t.DrawingReader.ReadCT_SplitType=Or;function Hr(e){var t,r,o,i,n={secondPiePt:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"secondPiePt"===i&&n.secondPiePt.push(tr(e)));return n}t.DrawingReader.ReadCT_CustSplit=Hr;function Gr(e){return Le(Pe(e,p,b),75)}t.DrawingReader.ReadCT_SecondPieSize=Gr;function Ur(e){for(var t,r,o={};e.moveToNextAttribute();)t=De(e),"formatCode"===t?o.formatCode=d(e.readContentAsString()):"sourceLinked"===t&&(r=e.readContentAsBoolean(),r||(o.sourceLinked=!1));return o}t.DrawingReader.ReadCT_NumFmt=Ur;function Jr(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_LblAlgn[t]}t.DrawingReader.ReadCT_LblAlgn=Jr;function zr(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_DLblPos[t]}t.DrawingReader.ReadCT_DLblPos=zr;function Vr(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case U:n.idx=tr(e);break;case G:n.delete=$t(e);break;case te:n.layout=Ar(e);break;case"tx":n.tx=br(e);break;case ye:n.numFmt=Ur(e);break;case z:n.spPr=el(e);break;case V:n.txPr=zl(e);break;case"dLblPos":n.dLblPos=zr(e);break;case"showLegendKey":n.showLegendKey=$t(e);break;case"showVal":n.showVal=$t(e);break;case"showCatName":n.showCatName=$t(e);break;case"showSerName":n.showSerName=$t(e);break;case"showPercent":n.showPercent=$t(e);break;case"showBubbleSize":n.showBubbleSize=$t(e);break;case"separator":n.separator=e.readElementContentAsString(!0);break;case S:n.extLst=Di(e)}return n}t.DrawingReader.ReadCT_DLbl=Vr;function jr(e){var t,r,o,i,n,a={};if(3===e.elementType)return a;for(t=e.depth,r=[];e.read()&&(o=e.depth,i=e.elementType,o!==t||2!==i);)if(!(o>t+1||2===i))switch(n=Be(e)){case"dLbl":r.push(Vr(e));break;case G:a.delete=$t(e);break;case ye:a.numFmt=Ur(e);break;case z:a.spPr=el(e);break;case V:a.txPr=zl(e);break;case"dLblPos":a.dLblPos=zr(e);break;case"showLegendKey":a.showLegendKey=$t(e);break;case"showVal":a.showVal=$t(e);break;case"showCatName":a.showCatName=$t(e);break;case"showSerName":a.showSerName=$t(e);break;case"showPercent":a.showPercent=$t(e);break;case"showBubbleSize":a.showBubbleSize=$t(e);break;case"separator":a.separator=e.readElementContentAsString(!0);break;case"showLeaderLines":a.showLeaderLines=$t(e);break;case"leaderLines":a.leaderLines=So(e);break;case S:a.extLst=Pi(e)}return r.length>0&&(a.dLbl=r),a}t.DrawingReader.ReadCT_DLbls=jr;function Xr(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_MarkerStyle[t]}t.DrawingReader.ReadCT_MarkerStyle=Xr;function Kr(e){return i.UnitHelper.pointToPixel(Le(Pe(e,p),5))}t.DrawingReader.ReadCT_MarkerSize=Kr;function qr(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"symbol":n.symbol=Xr(e);break;case"size":n.size=Kr(e);break;case z:n.spPr=el(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_Marker=qr;function Yr(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case U:n.idx=tr(e);break;case X:n.invertIfNegative=$t(e);break;case q:n.marker=qr(e);break;case K:n.bubble3D=$t(e);break;case"explosion":n.explosion=tr(e);break;case z:n.spPr=el(e);break;case re:n.pictureOptions=ri(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_DPt=Yr;function Qr(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_TrendlineType[t]}t.DrawingReader.ReadCT_TrendlineType=Qr;function Zr(e){return Pe(e,p,b)}t.DrawingReader.ReadCT_Order=Zr;function $r(e){return Pe(e,p,b)}t.DrawingReader.ReadCT_Period=$r;function eo(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case te:n.layout=Ar(e);break;case"tx":n.tx=br(e);break;case ye:n.numFmt=Ur(e);break;case z:n.spPr=el(e);break;case V:n.txPr=zl(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_TrendlineLbl=eo;function to(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case m:n.name=e.readElementContentAsString();break;case z:n.spPr=el(e);break;case"trendlineType":n.trendlineType=Qr(e);break;case oe:n.order=Zr(e);break;case"period":n.period=$r(e);break;case"forward":n.forward=er(e);break;case"backward":n.backward=er(e);break;case"intercept":n.intercept=er(e);break;case"dispRSqr":n.dispRSqr=$t(e);break;case"dispEq":n.dispEq=$t(e);break;case"trendlineLbl":n.trendlineLbl=eo(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_Trendline=to;function ro(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_ErrDir[t]}t.DrawingReader.ReadCT_ErrDir=ro;function oo(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_ErrBarType[t]}t.DrawingReader.ReadCT_ErrBarType=oo;function io(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_ErrValType[t]}t.DrawingReader.ReadCT_ErrValType=io;function no(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"errDir":n.errDir=ro(e);break;case"errBarType":n.errBarType=oo(e);break;case"errValType":n.errValType=io(e);break;case"noEndCap":n.noEndCap=$t(e);break;case"plus":n.plus=cr(e);break;case"minus":n.minus=cr(e);break;case p:n.val=er(e);break;case z:n.spPr=el(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_ErrBars=no;function ao(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),i===z&&(n.spPr=el(e)));return n}t.DrawingReader.ReadCT_UpDownBar=ao;function lo(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case ie:n.gapWidth=Br(e);break;case"upBars":n.upBars=ao(e);break;case"downBars":n.downBars=ao(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_UpDownBars=lo;function so(e,t,r,o){t.length>0&&(e.dPt=t),o&&o.length>0&&(e.errBars=o),r&&r.length>0&&(e.trendline=r)}function co(e){var t,r,o,i,n,a,l,s={seriesType:2};if(3===e.elementType)return s;for(t=e.depth,r=[],o=[],i=[];e.read()&&(n=e.depth,a=e.elementType,n!==t||2!==a);)if(!(n>t+1||2===a))switch(l=Be(e)){case U:s.idx=tr(e);break;case oe:s.order=tr(e);break;case"tx":s.tx=Sr(e);break;case z:s.spPr=el(e);break;case q:s.marker=qr(e);break;case"dPt":r.push(Yr(e));break;case ne:s.dLbls=jr(e);break;case ae:o.push(to(e));break;case le:i.push(no(e));break;case"cat":s.cat=yr(e);break;case p:s.val=cr(e);break;case"smooth":s.smooth=$t(e);break;case S:s.extLst=nr(e)}return so(s,r,o,i),s}t.DrawingReader.ReadCT_LineSer=co;function uo(e){var t,r,o,i,n,a,l,s={seriesType:5};if(3===e.elementType)return s;for(t=e.depth,r=[],o=[],i=[];e.read()&&(n=e.depth,a=e.elementType,n!==t||2!==a);)if(!(n>t+1||2===a))switch(l=Be(e)){case U:s.idx=tr(e);break;case oe:s.order=tr(e);break;case"tx":s.tx=Sr(e);break;case z:s.spPr=el(e);break;case q:s.marker=qr(e);break;case"dPt":r.push(Yr(e));break;case ne:s.dLbls=jr(e);break;case ae:o.push(to(e));break;case le:i.push(no(e));break;case"xVal":s.xVal=yr(e);break;case"yVal":s.yVal=cr(e);break;case"smooth":s.smooth=$t(e);break;case S:s.extLst=nr(e)}return so(s,r,o,i),s}t.DrawingReader.ReadCT_ScatterSer=uo;function fo(e){var t,r,o,i,n,a={seriesType:4};if(3===e.elementType)return a;for(t=e.depth,r=[];e.read()&&(o=e.depth,i=e.elementType,o!==t||2!==i);)if(!(o>t+1||2===i))switch(n=Be(e)){case U:a.idx=tr(e);break;case oe:a.order=tr(e);break;case"tx":a.tx=Sr(e);break;case z:a.spPr=el(e);break;case q:a.marker=qr(e);break;case"dPt":r.push(Yr(e));break;case ne:a.dLbls=jr(e);break;case"cat":a.cat=yr(e);break;case p:a.val=cr(e);break;case S:a.extLst=nr(e)}return so(a,r),a}t.DrawingReader.ReadCT_RadarSer=fo;function bo(e){var t,r,o,i,n,a,l,s={seriesType:0};if(3===e.elementType)return s;for(t=e.depth,r=[],o=[],i=[];e.read()&&(n=e.depth,a=e.elementType,n!==t||2!==a);)if(!(n>t+1||2===a))switch(l=Be(e)){case U:s.idx=tr(e);break;case oe:s.order=tr(e);break;case"tx":s.tx=Sr(e);break;case z:s.spPr=el(e);break;case X:s.invertIfNegative=$t(e);break;case re:s.pictureOptions=ri(e);break;case"dPt":r.push(Yr(e));break;case ne:s.dLbls=jr(e);break;case ae:o.push(to(e));break;case le:i.push(no(e));break;case"cat":s.cat=yr(e);break;case p:s.val=cr(e);break;case"shape":s.shape=Eo(e);break;case S:s.extLst=nr(e)}return so(s,r,o,i),s}t.DrawingReader.ReadCT_BarSer=bo;function ho(e){var t,r,o,i,n,a,l,s={seriesType:1};if(3===e.elementType)return s;for(t=e.depth,r=[],o=[],i=[];e.read()&&(n=e.depth,a=e.elementType,n!==t||2!==a);)if(!(n>t+1||2===a))switch(l=Be(e)){case U:s.idx=tr(e);break;case oe:s.order=tr(e);break;case"tx":s.tx=Sr(e);break;case z:s.spPr=el(e);break;case re:s.pictureOptions=ri(e);break;case"dPt":r.push(Yr(e));break;case ne:s.dLbls=jr(e);break;case ae:o.push(to(e));break;case le:i.push(no(e));break;case"cat":s.cat=yr(e);break;case p:s.val=cr(e);break;case S:s.extLst=nr(e)}return so(s,r,o,i),s}t.DrawingReader.ReadCT_AreaSer=ho;function po(e){var t,r,o,i,n,a={seriesType:3};if(3===e.elementType)return a;for(t=[],r=e.depth;e.read()&&(o=e.depth,i=e.elementType,o!==r||2!==i);)if(!(o>r+1||2===i))switch(n=Be(e)){case U:a.idx=tr(e);break;case oe:a.order=tr(e);break;case"tx":a.tx=Sr(e);break;case z:a.spPr=el(e);break;case"explosion":a.explosion=tr(e);break;case"dPt":t.push(Yr(e));break;case ne:a.dLbls=jr(e);break;case"cat":a.cat=yr(e);break;case p:a.val=cr(e);break;case S:a.extLst=nr(e)}return so(a,t),a}t.DrawingReader.ReadCT_PieSer=po;function mo(e){var t,r,o,i,n,a,l,s={seriesType:6};if(3===e.elementType)return s;for(t=e.depth,r=[],o=[],i=[];e.read()&&(n=e.depth,a=e.elementType,n!==t||2!==a);)if(!(n>t+1||2===a))switch(l=Be(e)){case U:s.idx=tr(e);break;case oe:s.order=tr(e);break;case"tx":s.tx=Sr(e);break;case z:s.spPr=el(e);break;case X:s.invertIfNegative=$t(e);break;case"dPt":r.push(Yr(e));break;case ne:s.dLbls=jr(e);break;case ae:o.push(to(e));break;case le:i.push(no(e));break;case"xVal":s.xVal=yr(e);break;case"yVal":s.yVal=cr(e);break;case"bubbleSize":s.bubbleSize=cr(e);break;case K:s.bubble3D=$t(e);break;case S:s.extLst=nr(e)}return so(s,r,o,i),s}t.DrawingReader.ReadCT_BubbleSer=mo;function go(e){var t,r,o,i,n={seriesType:7};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case U:n.idx=tr(e);break;case oe:n.order=tr(e);break;case"tx":n.tx=Sr(e);break;case z:n.spPr=el(e);break;case"cat":n.cat=yr(e);break;case p:n.val=cr(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_SurfaceSer=go;function yo(e){var t=Le(Pe(e,p),"standard");return o.Charts.ST_Grouping[t]}t.DrawingReader.ReadCT_Grouping=yo;function So(e){return We(e,z,el)}t.DrawingReader.ReadCT_ChartLines=So;function Co(e){var t,r,o,i,n={chartType:8,ser:[],axId:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case ue:n.grouping=yo(e);break;case fe:n.varyColors=$t(e);break;case se:n.ser.push(co(e));break;case ne:n.dLbls=jr(e);break;case ce:n.dropLines=So(e);break;case"hiLowLines":n.hiLowLines=So(e);break;case"upDownBars":n.upDownBars=lo(e);break;case q:n.marker=$t(e);break;case"smooth":n.smooth=$t(e);break;case de:n.axId.push(rr(e));break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_LineChart=Co;function wo(e){var t,r,o,i,n={chartType:9,ser:[],axId:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case ue:n.grouping=yo(e);break;case fe:n.varyColors=$t(e);break;case se:n.ser.push(co(e));break;case ne:n.dLbls=jr(e);break;case ce:n.dropLines=So(e);break;case"gapDepth":n.gapDepth=Br(e);break;case de:n.axId.push(rr(e));break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_Line3DChart=wo;function xo(e){var t,r,o,i,n={chartType:0,ser:[],axId:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case se:n.ser.push(co(e));break;case ne:n.dLbls=jr(e);break;case ce:n.dropLines=So(e);break;case"hiLowLines":n.hiLowLines=So(e);break;case"upDownBars":n.upDownBars=lo(e);break;case de:n.axId.push(rr(e));break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_StockChart=xo;function Ao(e){var t=Le(Pe(e,p),"marker");return o.Charts.ST_ScatterStyle[t]}t.DrawingReader.ReadCT_ScatterStyle=Ao;function To(e){var t,r,o,i,n={chartType:1,ser:[],axId:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"scatterStyle":n.scatterStyle=Ao(e);break;case fe:n.varyColors=$t(e);break;case se:n.ser.push(uo(e));break;case ne:n.dLbls=jr(e);break;case de:n.axId.push(rr(e));break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_ScatterChart=To;function vo(e){var t=Le(Pe(e,p),"standard");return o.Charts.ST_RadarStyle[t]}t.DrawingReader.ReadCT_RadarStyle=vo;function ko(e){var t,r,o,i,n={chartType:2,ser:[],axId:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"radarStyle":n.radarStyle=vo(e);break;case fe:n.varyColors=$t(e);break;case se:n.ser.push(fo(e));break;case ne:n.dLbls=jr(e);break;case de:n.axId.push(rr(e));break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_RadarChart=ko;function Fo(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_BarGrouping[t]}t.DrawingReader.ReadCT_BarGrouping=Fo;function Ro(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_BarDir[t]}t.DrawingReader.ReadCT_BarDir=Ro;function Eo(e){var t=Le(Pe(e,p),"box");return o.Charts.ST_Shape[t]}t.DrawingReader.ReadCT_ShapeBox=Eo;function Io(e){var t,r,o,i,n={chartType:6,ser:[],serLines:[],axId:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"barDir":n.barDir=Ro(e);break;case ue:n.grouping=Fo(e);break;case fe:n.varyColors=$t(e);break;case se:n.ser.push(bo(e));break;case ne:n.dLbls=jr(e);break;case ie:n.gapWidth=Br(e);break;case"overlap":n.overlap=Pr(e);break;case"serLines":n.serLines.push(So(e));break;case de:n.axId.push(rr(e));break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_BarChart=Io;function Lo(e){var t,r,o,i,n={chartType:7,ser:[],axId:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"barDir":n.barDir=Ro(e);break;case ue:n.grouping=Fo(e);break;case fe:n.varyColors=$t(e);break;case se:n.ser.push(bo(e));break;case ne:n.dLbls=jr(e);break;case ie:n.gapWidth=Br(e);break;case"gapDepth":n.gapDepth=Br(e);break;case"shape":n.shape=Eo(e);break;case de:n.axId.push(rr(e));break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_Bar3DChart=Lo;function Do(e){var t,r,o,i,n={chartType:4,ser:[],axId:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case ue:n.grouping=yo(e);break;case fe:n.varyColors=$t(e);break;case se:n.ser.push(ho(e));break;case ne:n.dLbls=jr(e);break;case ce:n.dropLines=So(e);break;case de:n.axId.push(rr(e));break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_AreaChart=Do;function Bo(e){var t,r,o,i,n={chartType:5,ser:[],axId:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case ue:n.grouping=yo(e);break;case fe:n.varyColors=$t(e);break;case se:n.ser.push(ho(e));break;case ne:n.dLbls=jr(e);break;case ce:n.dropLines=So(e);break;case"gapDepth":n.gapDepth=Br(e);break;case de:n.axId.push(rr(e));break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_Area3DChart=Bo;function Po(e){var t,r,o,i,n={chartType:10,ser:[],axId:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case fe:n.varyColors=$t(e);break;case se:n.ser.push(po(e));break;case ne:n.dLbls=jr(e);break;case"firstSliceAng":n.firstSliceAng=Nr(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_PieChart=Po;function Wo(e){var t,r,o,i,n={chartType:11,ser:[],axId:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case fe:n.varyColors=$t(e);break;case se:n.ser.push(po(e));break;case ne:n.dLbls=jr(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_Pie3DChart=Wo;function _o(e){var t,r,o,i,n={chartType:12,ser:[],axId:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case fe:n.varyColors=$t(e);break;case se:n.ser.push(po(e));break;case ne:n.dLbls=jr(e);break;case"firstSliceAng":n.firstSliceAng=Nr(e);break;case"holeSize":n.holeSize=Mr(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_DoughnutChart=_o;function No(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_OfPieType[t]}t.DrawingReader.ReadCT_OfPieType=No;function Mo(e){var t,r,o,i,n={chartType:13,ser:[],serLines:[],axId:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"ofPieType":n.ofPieType=No(e);break;case fe:n.varyColors=$t(e);break;case se:n.ser.push(po(e));break;case ne:n.dLbls=jr(e);break;case ie:n.gapWidth=Br(e);break;case"splitType":n.splitType=Or(e);break;case"splitPos":n.splitPos=er(e);break;case"custSplit":n.custSplit=Hr(e);break;case"secondPieSize":n.secondPieSize=Gr(e);break;case"serLines":n.serLines.push(So(e));break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_OfPieChart=Mo;function Oo(e){var t,r,o,i,n={chartType:3,ser:[],axId:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case fe:n.varyColors=$t(e);break;case se:n.ser.push(mo(e));break;case ne:n.dLbls=jr(e);break;case K:n.bubble3D=$t(e);break;case"bubbleScale":n.bubbleScale=Wr(e);break;case"showNegBubbles":n.showNegBubbles=$t(e);break;case"sizeRepresents":n.sizeRepresents=_r(e);break;case de:n.axId.push(rr(e));break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_BubbleChart=Oo;function Ho(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),i===U?n.idx=tr(e):i===z&&(n.spPr=el(e)));return n}t.DrawingReader.ReadCT_BandFmt=Ho;function Go(e){var t,r,o,i,n={bandFmt:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"bandFmt"===i?n.bandFmt.push(Ho(e)):i===k&&(n.dumy=e.readElementContentAsBoolean()));return n}t.DrawingReader.ReadCT_BandFmts=Go;function Uo(e,t){var r={chartType:t,ser:[],axId:[]};return 3===e.elementType?r:Ge(e,r)}function Jo(e){return Uo(e,14)}t.DrawingReader.ReadCT_SurfaceChart=Jo;function zo(e){return Uo(e,15)}t.DrawingReader.ReadCT_Surface3DChart=zo;function Vo(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_AxPos[t]}t.DrawingReader.ReadCT_AxPos=Vo;function jo(e){var t=Pe(e,p);if(!a.J(t))return n.ChartHelper.ToAxisCrosses(o.Charts.ST_Crosses[t])}t.DrawingReader.ReadCT_Crosses=jo;function Xo(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_CrossBetween[t]}t.DrawingReader.ReadCT_CrossBetween=Xo;function Ko(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_TickMark[t]}t.DrawingReader.ReadCT_TickMark=Ko;function qo(e){var t=Le(Pe(e,p),"nextTo");if(!a.J(t))return o.Charts.ST_TickLblPos[t]}t.DrawingReader.ReadCT_TickLblPos=qo;function Yo(e){return Pe(e,p,b)}t.DrawingReader.ReadCT_Skip=Yo;function Qo(e){var t=Le(Pe(e,p),"days");return o.Charts.ST_TimeUnit[t]}t.DrawingReader.ReadCT_TimeUnit=Qo;function Zo(e){return Pe(e,p,f)}t.DrawingReader.ReadCT_AxisUnit=Zo;function $o(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_BuiltInUnit[t]}t.DrawingReader.ReadCT_BuiltInUnit=$o;function ei(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_PictureFormat[t]}t.DrawingReader.ReadCT_PictureFormat=ei;function ti(e){return Pe(e,p,f)}t.DrawingReader.ReadCT_PictureStackUnit=ti;function ri(e){var t,r,o,i,n,a={};if(3===e.elementType)return a;for(t=e.depth,r={applyToFront:!0,applyToSides:!0,applyToEnd:!0};e.read()&&(o=e.depth,i=e.elementType,o!==t||2!==i);)o>t+1||2===i||(n=Be(e),r[n]?a[n]=$t(e):"pictureFormat"===n?a.pictureFormat=ei(e):"pictureStackUnit"===n&&(a.pictureStackUnit=ti(e)));return a}t.DrawingReader.ReadCT_PictureOptions=ri;function oi(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case te:n.layout=Ar(e);break;case"tx":n.tx=br(e);break;case z:n.spPr=el(e);break;case V:n.txPr=zl(e)}return n}t.DrawingReader.ReadCT_DispUnitsLbl=oi;function ii(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"custUnit":n.custUnit=er(e);break;case"builtInUnit":n.builtInUnit=$o(e);break;case"dispUnitsLbl":n.dispUnitsLbl=oi(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_DispUnits=ii;function ni(e){var t=Le(Pe(e,p),"minMax");return o.Charts.ST_Orientation[t]}t.DrawingReader.ReadCT_Orientation=ni;function ai(e){return Pe(e,p,f)}t.DrawingReader.ReadCT_LogBase=ai;function li(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"logBase":n.logBase=ai(e);break;case"orientation":n.orientation=ni(e);break;case"max":n.max=er(e);break;case"min":n.min=er(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_Scaling=li;function si(e){return Le(Pe(e,p,b),100)}t.DrawingReader.ReadCT_LblOffset=si,Ie={majorGridlines:{ln:{w:1,cap:2,cmpd:0,algn:0,solidFill:{schemeClr:{val:1,lumMod:[15e3],lumOff:[85e3]}},round:!0},effectLst:{}},blank_majorGridlines:{ln:{w:1,cap:2,cmpd:0,algn:0,solidFill:{srgbClr:{val:[134,134,134]}},round:!0},effectLst:{}},minorGridlines:{ln:{w:1,cap:2,cmpd:0,algn:0,solidFill:{schemeClr:{val:1,lumMod:[5e3],lumOff:[95e3]}},round:!0},effectLst:{}},blank_minorGridlines:{ln:{w:1,cap:2,cmpd:0,algn:0,solidFill:{srgbClr:{val:[183,183,183]}},round:!0},effectLst:{}},axis:{noFill:!0,ln:{w:1,cap:2,cmpd:0,algn:0,solidFill:{schemeClr:{val:1,lumMod:[15e3],lumOff:[85e3]}},round:!0},effectLst:{}},plotArea:{noFill:!0,ln:{noFill:!0},effectLst:{}}};function ci(e,t){e&&!e.spPr&&(0!==Object.keys(e).length||"majorGridlines"!==t&&"minorGridlines"!==t||(t="blank_"+t),e.spPr=Ie[t])}function di(e){var t,r,o,i,n={axisType:0};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case de:n.axId=rr(e);break;case be:n.scaling=li(e);break;case G:n.delete=$t(e);break;case he:n.axPos=Vo(e);break;case pe:n.majorGridlines=So(e),ci(n.majorGridlines,"majorGridlines");break;case me:n.minorGridlines=So(e),ci(n.minorGridlines,"minorGridlines");break;case ge:n.title=Tr(e);break;case ye:n.numFmt=Ur(e);break;case Se:n.majorTickMark=Ko(e);break;case Ce:n.minorTickMark=Ko(e);break;case we:n.tickLblPos=qo(e);break;case z:n.spPr=el(e);break;case V:n.txPr=zl(e);break;case xe:n.crossAx=rr(e);break;case Ae:n.crosses=jo(e);break;case Te:n.crossesAt=er(e);break;case"auto":n.auto=$t(e);break;case"lblAlgn":n.lblAlgn=Jr(e);break;case"lblOffset":n.lblOffset=si(e);break;case"tickLblSkip":n.tickLblSkip=Yo(e);break;case"tickMarkSkip":n.tickMarkSkip=Yo(e);break;case"noMultiLvlLbl":n.noMultiLvlLbl=$t(e);break;case S:n.extLst=nr(e)}return ci(n,"axis"),n}t.DrawingReader.ReadCT_CatAx=di;function ui(e){var t,r,o,i,n={axisType:1};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case de:n.axId=rr(e);break;case be:n.scaling=li(e);break;case G:n.delete=$t(e);break;case he:n.axPos=Vo(e);break;case pe:n.majorGridlines=So(e),ci(n.majorGridlines,"majorGridlines");break;case me:n.minorGridlines=So(e),ci(n.minorGridlines,"minorGridlines");break;case ge:n.title=Tr(e);break;case ye:n.numFmt=Ur(e);break;case Se:n.majorTickMark=Ko(e);break;case Ce:n.minorTickMark=Ko(e);break;case we:n.tickLblPos=qo(e);break;case z:n.spPr=el(e);break;case V:n.txPr=zl(e);break;case xe:n.crossAx=rr(e);break;case Ae:n.crosses=jo(e);break;case Te:n.crossesAt=er(e);break;case"auto":n.auto=$t(e);break;case"lblOffset":n.lblOffset=si(e);break;case"baseTimeUnit":n.baseTimeUnit=Qo(e);break;case"majorUnit":n.majorUnit=Zo(e);break;case"majorTimeUnit":n.majorTimeUnit=Qo(e);break;case"minorUnit":n.minorUnit=Zo(e);break;case"minorTimeUnit":n.minorTimeUnit=Qo(e);break;case S:n.extLst=nr(e)}return ci(n,"axis"),n}t.DrawingReader.ReadCT_DateAx=ui;function fi(e){var t,r,o,i,n={axisType:2};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case de:n.axId=rr(e);break;case be:n.scaling=li(e);break;case G:n.delete=$t(e);break;case he:n.axPos=Vo(e);break;case pe:n.majorGridlines=So(e),ci(n.majorGridlines,"majorGridlines");break;case me:n.minorGridlines=So(e),ci(n.minorGridlines,"minorGridlines");break;case ge:n.title=Tr(e);break;case ye:n.numFmt=Ur(e);break;case Se:n.majorTickMark=Ko(e);break;case Ce:n.minorTickMark=Ko(e);break;case we:n.tickLblPos=qo(e);break;case z:n.spPr=el(e);break;case V:n.txPr=zl(e);break;case xe:n.crossAx=rr(e);break;case Ae:n.crosses=jo(e);break;case Te:n.crossesAt=er(e);break;case"tickLblSkip":n.tickLblSkip=Yo(e);break;case"tickMarkSkip":n.tickMarkSkip=Yo(e);break;case S:n.extLst=nr(e)}return ci(n,"axis"),n}t.DrawingReader.ReadCT_SerAx=fi;function bi(e){var t,r,o,i,n={axisType:3};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case de:n.axId=rr(e);break;case be:n.scaling=li(e);break;case G:n.delete=$t(e);break;case he:n.axPos=Vo(e);break;case pe:n.majorGridlines=So(e),ci(n.majorGridlines,"majorGridlines");break;case me:n.minorGridlines=So(e),ci(n.minorGridlines,"minorGridlines");break;case ge:n.title=Tr(e);break;case ye:n.numFmt=Ur(e);break;case Se:n.majorTickMark=Ko(e);break;case Ce:n.minorTickMark=Ko(e);break;case we:n.tickLblPos=qo(e);break;case z:n.spPr=el(e);break;case V:n.txPr=zl(e);break;case xe:n.crossAx=rr(e);break;case Ae:n.crosses=jo(e);break;case Te:n.crossesAt=er(e);break;case"crossBetween":n.crossBetween=Xo(e);break;case"majorUnit":n.majorUnit=Zo(e);break;case"minorUnit":n.minorUnit=Zo(e);break;case"dispUnits":n.dispUnits=ii(e);break;case S:n.extLst=nr(e)}return ci(n,"axis"),n}t.DrawingReader.ReadCT_ValAx=bi;function hi(e){var t,r,o,i,n={chartGroups:[],axes:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case te:n.layout=Ar(e);break;case"areaChart":n.chartGroups.push(Do(e));break;case"area3DChart":n.chartGroups.push(Bo(e));break;case"barChart":n.chartGroups.push(Io(e));break;case"bar3DChart":n.chartGroups.push(Lo(e));break;case"lineChart":n.chartGroups.push(Co(e));break;case"line3DChart":n.chartGroups.push(wo(e));break;case"stockChart":n.chartGroups.push(xo(e));break;case"radarChart":n.chartGroups.push(ko(e));break;case"scatterChart":n.chartGroups.push(To(e));break;case"pieChart":n.chartGroups.push(Po(e));break;case"pie3DChart":n.chartGroups.push(Wo(e));break;case"doughnutChart":n.chartGroups.push(_o(e));break;case"ofPieChart":n.chartGroups.push(Mo(e));break;case"surfaceChart":n.chartGroups.push(Jo(e));break;case"surface3DChart":n.chartGroups.push(zo(e));break;case"bubbleChart":n.chartGroups.push(Oo(e));break;case"catAx":n.axes.push(di(e));break;case"valAx":n.axes.push(bi(e));break;case"dateAx":n.axes.push(ui(e));break;case"serAx":n.axes.push(fi(e));break;case"dTable":n.dTable=Dr(e);break;case z:n.spPr=el(e);break;case S:n.extLst=nr(e)}return ci(n,"plotArea"),n}t.DrawingReader.ReadCT_PlotArea=hi;function pi(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case U:n.idx=tr(e);break;case z:n.spPr=el(e);break;case V:n.txPr=zl(e);break;case q:n.marker=qr(e);break;case"dLbl":n.dLbl=Vr(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_PivotFmt=pi;function mi(e){var t,r,o,i,n={pivotFmt:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"pivotFmt"===i&&n.pivotFmt.push(pi(e)));return n}t.DrawingReader.ReadCT_PivotFmts=mi;function gi(e){var t=Pe(e,p);if(!a.J(t))return n.ChartHelper.ToLegendPosition(o.Charts.ST_LegendPos[t])}t.DrawingReader.ReadCT_LegendPos=gi;function yi(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case U:n.idx=tr(e);break;case G:n.delete=$t(e);break;case V:n.txPr=zl(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_LegendEntry=yi;function Si(e){var t,r,o,i,n=[],a={};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"legendPos":a.legendPos=gi(e);break;case"legendEntry":n.push(yi(e));break;case te:a.layout=Ar(e);break;case"overlay":a.overlay=$t(e);break;case z:a.spPr=el(e);break;case V:a.txPr=zl(e);break;case S:a.extLst=nr(e)}return n.length>0&&(a.legendEntry=n),
40
40
  a}t.DrawingReader.ReadCT_Legend=Si;function Ci(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_DispBlanksAs[t]}t.DrawingReader.ReadCT_DispBlanksAs=Ci;function wi(e){var t,r,o,i,n={extDataType:2};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"dispNaAsBlank"===i&&(n.dispNaAsBlank=Pe(e,p)));return n}t.DrawingReader.ReadCT_DispNaAsBlank=wi;function xi(e){var t,r,o,i,n={pivotFmts:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case ge:n.title=Tr(e);break;case"autoTitleDeleted":n.autoTitleDeleted=$t(e);break;case"pivotFmts":n.pivotFmts.push(mi(e));break;case"view3D":n.view3D=Ir(e);break;case"floor":n.floor=Lr(e);break;case"sideWall":n.sideWall=Lr(e);break;case"backWall":n.backWall=Lr(e);break;case"plotArea":n.plotArea=hi(e);break;case"legend":n.legend=Si(e);break;case"plotVisOnly":n.plotVisOnly=$t(e);break;case"dispBlanksAs":n.dispBlanksAs=Ci(e);break;case"showDLblsOverMax":n.showDLblsOverMax=$t(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_Chart=xi;function Ai(e){return Pe(e,p)}t.DrawingReader.ReadCT_Style=Ai;function Ti(e){var t,r,o,i,n={extLst:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case m:n.name=e.readElementContentAsString();break;case"fmtId":n.fmtId=tr(e);break;case S:n.extLst.push(nr(e))}return n}t.DrawingReader.ReadCT_PivotSource=Ti;function vi(e){var t,r,o,i,n,a={};if(3===e.elementType)return a;for(t=e.depth,r={chartObject:!0,data:!0,formatting:!0,selection:!0,userInterface:!0};e.read()&&(o=e.depth,i=e.elementType,o!==t||2!==i);)o>t+1||2===i||(n=Be(e),r[n]&&(a[n]=$t(e)));return a}t.DrawingReader.ReadCT_Protection=vi;function ki(e){for(var t,r,o,i,n,a,l={alignWithMargins:!0};e.moveToNextAttribute();)t=De(e),"alignWithMargins"!==t&&"differentOddEven"!==t&&"differentFirst"!==t||(l[t]=e.readContentAsBoolean());if(3===e.elementType)return l;for(r=e.depth,o={oddHeader:!0,oddFooter:!0,evenHeader:!0,evenFooter:!0,firstHeader:!0,firstFooter:!0};e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)i>r+1||2===n||(a=Be(e),o[a]&&(l[a]=e.readElementContentAsString()));return l}t.DrawingReader.ReadCT_HeaderFooter=ki;function Fi(e){for(var t,r={},o={l:!0,r:!0,t:!0,b:!0,header:!0,footer:!0};e.moveToNextAttribute();)t=De(e),o[t]&&(r[t]=e.readContentAsDouble());return r}t.DrawingReader.ReadCT_PageMargins=Fi;function Ri(e){var t={};return t.id=Pe(e,"id"),We(e,"autoUpdate",$t,t)}t.DrawingReader.ReadCT_ExternalData=Ri;function Ei(e){for(var t,r={paperSize:1,firstPageNumber:1,orientation:0,blackAndWhite:!1,draft:!1,useFirstPageNumber:!1,horizontalDpi:600,verticalDpi:600,copies:1},i={paperSize:!0,firstPageNumber:!0,horizontalDpi:!0,verticalDpi:!0,copies:!0},n={blackAndWhite:!0,draft:!0,useFirstPageNumber:!0};e.moveToNextAttribute();)t=De(e),i[t]?r[t]=e.readContentAsInt():n[t]?r[t]=e.readContentAsBoolean():"orientation"===t&&(r.orientation=o.Charts.ST_PageSetupOrientation[e.readContentAsString()]);return r}t.DrawingReader.ReadCT_PageSetup=Ei;function Ii(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"headerFooter":n.headerFooter=ki(e);break;case"pageMargins":n.pageMargins=Fi(e);break;case"pageSetup":n.pageSetup=Ei(e);break;case"legacyDrawingHF":n.legacyDrawingHF=or(e)}return n}t.DrawingReader.ReadCT_PrintSettings=Ii;function Li(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"roundedCorners":n.roundedCorners=$t(e);break;case ve:n.style=Ai(e);break;case"clrMapOvr":n.clrMapOvr=Il(e);break;case"pivotSource":n.pivotSource=Ti(e);break;case"protection":n.protection=vi(e);break;case"chart":n.chart=xi(e);break;case z:n.spPr=el(e);break;case V:n.txPr=zl(e);break;case"externalData":n.externalData=Ri(e);break;case"printSettings":n.printSettings=Ii(e);break;case"userShapes":n.userShapes=_i(e);break;case S:n.extLst=nr(e)}return n}t.DrawingReader.ReadCT_ChartSpace=Li;function Di(e){var t,r,o,i,n={ext:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),i===F?n.ext.push(Bi(e)):i===k&&(n.dumy=e.readElementContentAsBoolean()));return n}t.DrawingReader.ReadCT_DLblExtensionList=Di;function Bi(e){var t,r,o,i,n={};if(n.uri=Pe(e,"uri"),3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case te:n.layout=Ar(e);break;case"dlblFieldTable":n.dlblFieldTable=tn(e);break;case"showDataLabelsRange":n.showDataLabelsRange=$t(e)}return n}t.DrawingReader.ReadCT_DLblExt=Bi;function Pi(e){var t,r,o,i,n={ext:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),i===F?n.ext.push(Wi(e)):i===k&&(n.dumy=e.readElementContentAsBoolean()));return n}t.DrawingReader.ReadCT_DLblsExtensionList=Pi;function Wi(e){var t,r,o,i,n={};if(n.uri=Le(Pe(e,"uri"),"{CE6537A1-D6FC-4f65-9D91-7224C49458BB}"),3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case te:n.layout=Ar(e);break;case"showLeaderLines":n.showLeaderLines=$t(e);break;case"showDataLabelsRange":n.showDataLabelsRange=$t(e);break;case"leaderLines":n.leaderLines=So(e);break;case z:n.spPr=el(e)}return n}t.DrawingReader.ReadCT_DLblsExt=Wi;function _i(e){var t={};return t.id=Pe(e,"id"),We(e,"userShapes",ln,t)}t.DrawingReader.ReadCT_UserShapes=_i;function Ni(e){var t={extDataType:0};return We(e,z,el,t)}t.DrawingReader.ReadCT_InvertSolidFillFmt=Ni;function Mi(e){return Je(e)}t.DrawingReader.ReadCT_FullRef=Mi;function Oi(e){return Je(e)}t.DrawingReader.ReadCT_LevelRef=Oi;function Hi(e){return Je(e)}t.DrawingReader.ReadCT_FormulaRef=Hi;function Gi(e){return We(e,"tx",br)}t.DrawingReader.ReadCT_FilteredSeriesTitle=Gi;function Ui(e){return We(e,"cat",yr)}t.DrawingReader.ReadCT_FilteredCategoryTitle=Ui;function Ji(e){return We(e,se,bo)}t.DrawingReader.ReadCT_FilteredBarSer=Ji;function zi(e){return We(e,se,co)}t.DrawingReader.ReadCT_FilteredLineSer=zi;function Vi(e){return We(e,se,uo)}t.DrawingReader.ReadCT_FilteredScatterSer=Vi;function ji(e){return We(e,se,ho)}t.DrawingReader.ReadCT_FilteredAreaSer=ji;function Xi(e){return We(e,se,po)}t.DrawingReader.ReadCT_FilteredPieSer=Xi;function Ki(e){return We(e,se,mo)}t.DrawingReader.ReadCT_FilteredBubbleSer=Ki;function qi(e){return We(e,se,fo)}t.DrawingReader.ReadCT_FilteredRadarSer=qi;function Yi(e){return We(e,se,go)}t.DrawingReader.ReadCT_FilteredSurfaceSer=Yi;function Qi(e){var t,r,o,i,n={extDataType:1};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"f"===i?n.f=d(e.readElementContentAsString()):"dlblRangeCache"===i&&(n.dlblRangeCache=ur(e)));return n}t.DrawingReader.ReadCT_SeriesDataLabelsRange=Qi;function Zi(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case j:n.sqref=e.readElementContentAsString();break;case z:n.spPr=el(e);break;case"explosion":n.explosion=tr(e);break;case X:n.invertIfNegative=$t(e);break;case K:n.bubble3D=$t(e);break;case q:n.marker=qr(e);break;case"dLbl":n.dLbl=Vr(e)}return n}t.DrawingReader.ReadCT_CategoryFilterException=Zi;function $i(e){var t,r,o,i,n={categoryFilterException:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"categoryFilterException"===i&&n.categoryFilterException.push(Zi(e)));return n}t.DrawingReader.ReadCT_CategoryFilterExceptions=$i;function en(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"txfldGUID":n.txfldGUID=e.readElementContentAsString();break;case"f":n.f=d(e.readElementContentAsString());break;case"dlblFieldTableCache":n.dlblFieldTableCache=ur(e)}return n}t.DrawingReader.ReadCT_DataLabelFieldTableEntry=en;function tn(e){var t,r,o,i,n={dlblFTEntry:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"dlblFTEntry"===i?n.dlblFTEntry.push(en(e)):i===k&&(n.dumy=e.readElementContentAsBoolean()));return n}t.DrawingReader.ReadCT_DataLabelFieldTable=tn;function rn(e){return Ue(e)}t.DrawingReader.ReadCT_GraphicFrameNonVisual=rn;function on(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"x"!==i&&"y"!==i||(n[i]=e.readElementContentAsDouble()));return n}t.DrawingReader.ReadCT_CdrPosition=on;function nn(e){var t,r,o,i,n={anchorType:3};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"from":n.startPoint=on(e);break;case"to":n.endPoint=on(e);break;case"sp":n.sp=ll(e);break;case Y:n.grpSp=pl(e);break;case v:n.graphicFrame=bl(e);break;case Q:n.cxnSp=cl(e);break;case"pic":n.pic=ul(e)}return n}t.DrawingReader.ReadCT_RelSizeAnchor=nn;function an(e){var t,r,o,i,n,a={anchorType:4};if(3===e.elementType)return a;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"from":a.startPoint=on(e);break;case F:n=At(e,!0),a.width=n.cx,a.height=n.cy;break;case"sp":a.sp=ll(e);break;case Y:a.grpSp=pl(e);break;case v:a.graphicFrame=bl(e);break;case Q:a.cxnSp=cl(e);break;case"pic":a.pic=ul(e)}return a}t.DrawingReader.ReadCT_AbsSizeAnchor=an;function ln(e){var t,r,o,i,n={relSizeAnchor:[],absSizeAnchor:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"relSizeAnchor"===i?n.relSizeAnchor.push(nn(e)):"absSizeAnchor"===i&&n.absSizeAnchor.push(an(e)));return n}t.DrawingReader.ReadCT_ChartDrawing=ln;function sn(e){for(var t,r={noGrp:!1,noSelect:!1,noRot:!1,noChangeAspect:!1,noMove:!1,noResize:!1,noEditPoints:!1,noAdjustHandles:!1,noChangeArrowheads:!1,noChangeShapeType:!1},o={noGrp:!0,noSelect:!0,noRot:!0,noChangeAspect:!0,noMove:!0,noResize:!0,noEditPoints:!0,noAdjustHandles:!0,noChangeArrowheads:!0,noChangeShapeType:!0};e.moveToNextAttribute();)t=De(e),o[t]&&(r[t]=e.readContentAsBoolean());return We(e,S,Mt,r)}t.DrawingReader.ReadCT_ConnectorLocking=sn;function cn(e){for(var t,r={noGrp:!1,noSelect:!1,noRot:!1,noChangeAspect:!1,noMove:!1,noResize:!1,noEditPoints:!1,noAdjustHandles:!1,noChangeArrowheads:!1,noChangeShapeType:!1,noTextEdit:!1},o={noGrp:!0,noSelect:!0,noRot:!0,noChangeAspect:!0,noMove:!0,noResize:!0,noEditPoints:!0,noAdjustHandles:!0,noChangeArrowheads:!0,noChangeShapeType:!0,noTextEdit:!0};e.moveToNextAttribute();)t=De(e),o[t]&&(r[t]=e.readContentAsBoolean());return We(e,S,Mt,r)}t.DrawingReader.ReadCT_ShapeLocking=cn;function dn(e){for(var t,r={},o={noGrp:!0,noSelect:!0,noRot:!0,noChangeAspect:!0,noMove:!0,noResize:!0,noEditPoints:!0,noAdjustHandles:!0,noChangeArrowheads:!0,noChangeShapeType:!0,noCrop:!0};e.moveToNextAttribute();)t=De(e),o[t]&&(r[t]=e.readContentAsBoolean());return We(e,S,Mt,r)}t.DrawingReader.ReadCT_PictureLocking=dn;function un(e){for(var t,r={noGrp:!1,noUngrp:!1,noSelect:!1,noRot:!1,noChangeAspect:!1,noMove:!1,noResize:!1},o={noGrp:!0,noUngrp:!0,noSelect:!0,noRot:!0,noChangeAspect:!0,noMove:!0,noResize:!0};e.moveToNextAttribute();)t=De(e),o[t]&&(r[t]=e.readContentAsBoolean());return We(e,S,Mt,r)}t.DrawingReader.ReadCT_GroupLocking=un;function fn(e){for(var t,r={noGrp:!1,noDrilldown:!1,noSelect:!1,noChangeAspect:!1,noMove:!1,noResize:!1},o={noGrp:!0,noDrilldown:!0,noSelect:!0,noChangeAspect:!0,noMove:!0,noResize:!0};e.moveToNextAttribute();)t=De(e),o[t]&&(r[t]=e.readContentAsBoolean());return We(e,S,Mt,r)}t.DrawingReader.ReadCT_GraphicalObjectFrameLocking=fn;function bn(e){for(var t,r,o,i,n,a={};e.moveToNextAttribute();)switch(t=De(e)){case"id":a.id=e.readContentAsInt();break;case m:a.name=d(e.readContentAsString());break;case ge:a.title=e.readContentAsString();break;case"descr":a.descr=e.readContentAsString();break;case"hidden":a.hidden=e.readContentAsBoolean()}if(3===e.elementType)return a;for(r=e.depth;e.read()&&(o=e.depth,i=e.elementType,o!==r||2!==i);)o>r+1||2===i||(n=Be(e),"hlinkClick"===n||"hlinkHover"===n?a[n]=Zt(e):n===S&&(a.extLst=Mt(e)));return a}t.DrawingReader.ReadCT_NonVisualDrawingProps=bn;function hn(e){var t,r,o,i,n={};if(n.txBox=Le(Pe(e,"txBox",u),!1),3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"spLocks"===i?n.spLocks=cn(e):i===S&&(n.extLst=Mt(e)));return n}t.DrawingReader.ReadCT_NonVisualDrawingShapeProps=hn;function pn(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"cxnSpLocks":n.cxnSpLocks=sn(e);break;case"stCxn":n.stCxn=_a(e);break;case"endCxn":n.endCxn=_a(e);break;case S:n.extLst=Mt(e)}return n}t.DrawingReader.ReadCT_NonVisualConnectorProperties=pn;function mn(e){var t,r,o,i,n={};if(n.preferRelativeResize=Pe(e,"preferRelativeResize",u),3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"picLocks"===i?n.picLocks=dn(e):i===S&&(n.extLst=Mt(e)));return n}t.DrawingReader.ReadCT_NonVisualPictureProperties=mn;function gn(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"grpSpLocks"===i?n.grpSpLocks=un(e):i===S&&(n.extLst=Mt(e)));return n}t.DrawingReader.ReadCT_NonVisualGroupDrawingShapeProps=gn;function yn(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"graphicFrameLocks"===i?n.graphicFrameLocks=fn(e):i===S&&(n.extLst=Mt(e)));return n}t.DrawingReader.ReadCT_NonVisualGraphicFrameProperties=yn;function Sn(e){var t={};return t.id=Pe(e,"id"),t}t.DrawingReader.ReadCT_GraphicalObjectDataContent=Sn;function Cn(e){for(var t,r,o,i={},n=e.depth;e.read()&&(t=e.depth,r=e.elementType,t!==n||2!==r);)t>n+1||2===r||(o=Be(e),"chart"===o&&(i.chart=Sn(e)));return i}t.DrawingReader.ReadCT_GraphicalObjectData=Cn;function wn(e){return We(e,"graphicData",Cn)}t.DrawingReader.ReadCT_GraphicalObject=wn;function xn(e){return e.replace(/&#xA/g,"\n").replace(/&#xD/g,"\r")}t.DrawingReader.NormalizeSignificantWhitespaceFromXml=xn;function An(e){var t,r,o,i,n={name:""};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),i===m&&(n.name=xn(e.readContentAsString())));return n}t.DrawingReader.ReadCT_Slicer=An;function Tn(e){for(var t,r={zoom:1e5};e.moveToNextAttribute();)t=De(e),"fov"===t||"zoom"===t?r[t]=e.readContentAsInt():t===y&&(r.prst=o.Charts.ST_PresetCameraType[e.readContentAsString()]);return We(e,"rot",Vt,r)}t.DrawingReader.ReadCT_Camera=Tn;function vn(e){for(var t,r={};e.moveToNextAttribute();)t=De(e),"rig"===t?r.rig=o.Charts.ST_LightRigType[e.readContentAsString()]:"dir"===t&&(r.dir=o.Charts.ST_LightRigDirection[e.readContentAsString()]);return We(e,"rot",Vt,r)}t.DrawingReader.ReadCT_LightRig=vn;function kn(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"camera":n.camera=Tn(e);break;case"lightRig":n.lightRig=vn(e);break;case"backdrop":n.backdrop=Fn(e);break;case S:n.extLst=Mt(e)}return n}t.DrawingReader.ReadCT_Scene3D=kn;function Fn(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"anchor":n.anchor=Jt(e);break;case"norm":n.norm=zt(e);break;case"up":n.up=zt(e);break;case S:n.extLst=Mt(e)}return n}t.DrawingReader.ReadCT_Backdrop=Fn;function Rn(e){for(var t,r={w:76200,h:76200,prst:1};e.moveToNextAttribute();)t=De(e),"w"===t||"h"===t?r[t]=e.readContentAsInt():t===y&&(r.prst=o.Charts.ST_BevelPresetType[e.readContentAsString()]);return r}t.DrawingReader.ReadCT_Bevel=Rn;function En(e){for(var t,r,i,n,a,l,s={};e.moveToNextAttribute();)r=De(e),"z"===r||"extrusionH"===r||"contourW"===r?(t=e.readContentAsInt(),s[r]=c(t)):"prstMaterial"===r&&(s.prstMaterial=o.Charts.ST_PresetMaterialType[e.readContentAsString()]);if(3===e.elementType)return s;for(i=e.depth;e.read()&&(n=e.depth,a=e.elementType,n!==i||2!==a);)n>i+1||2===a||(l=Be(e),"bevelT"===l||"bevelB"===l?s[l]=Rn(e):"extrusionClr"===l||"contourClr"===l?s[l]=qt(e):l===S&&(s.extLst=Mt(e)));return s}t.DrawingReader.ReadCT_Shape3D=En;function In(e){var t={};return t.z=Le(Pe(e,"z",b),0),t}t.DrawingReader.ReadCT_FlatText=In;function Ln(e){var t={};return t.thresh=Pe(e,"thresh",b),t}function Dn(e){return Ln(e)}t.DrawingReader.ReadCT_AlphaBiLevelEffect=Dn;function Bn(){return{}}t.DrawingReader.ReadCT_AlphaCeilingEffect=Bn;function Pn(){return{}}t.DrawingReader.ReadCT_AlphaFloorEffect=Pn;function Wn(e){return jt(e)}t.DrawingReader.ReadCT_AlphaInverseEffect=Wn;function _n(e){var t={};return t.amt=Le(Pe(e,"amt",b),1e5),t}t.DrawingReader.ReadCT_AlphaModulateFixedEffect=_n;function Nn(e){var t={};return t.rad=Le(Pe(e,"rad",b),0),t}t.DrawingReader.ReadCT_AlphaOutsetEffect=Nn;function Mn(e){var t={};return t.a=Pe(e,"a",b),t}t.DrawingReader.ReadCT_AlphaReplaceEffect=Mn;function On(e){return Ln(e)}t.DrawingReader.ReadCT_BiLevelEffect=On;function Hn(e){for(var t,r={rad:0,grow:!0};e.moveToNextAttribute();)t=De(e),"rad"===t?r.rad=e.readContentAsInt():"grow"===t&&(r.grow=e.readContentAsBoolean());return r}t.DrawingReader.ReadCT_BlurEffect=Hn;function Gn(e){var t,r,o,i,n={};if(n.useA=Le(Pe(e,"useA",u),!0),3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"clrFrom"!==i&&"clrTo"!==i||(n[i]=qt(e)));return n}t.DrawingReader.ReadCT_ColorChangeEffect=Gn;function Un(e){return Kt(e)}t.DrawingReader.ReadCT_ColorReplaceEffect=Un;function Jn(e){var t=[];return 3===e.elementType?t:_e(e,t)}t.DrawingReader.ReadCT_DuotoneEffect=Jn;function zn(e){var t={};return t.rad=Le(Pe(e,"rad",b),0),3===e.elementType?t:Ne(e,t)}t.DrawingReader.ReadCT_GlowEffect=zn;function Vn(){return{}}t.DrawingReader.ReadCT_GrayscaleEffect=Vn;function jn(e){for(var t,r={hue:0,sat:0,lum:0};e.moveToNextAttribute();)t=De(e),"hue"!==t&&"sat"!==t&&"lum"!==t||(r[t]=e.readContentAsInt());return r}t.DrawingReader.ReadCT_HSLEffect=jn;function Xn(e){var t,r={blurRad:0,dist:0,dir:0};for(r.shadowEffectType=1;e.moveToNextAttribute();)t=De(e),"blurRad"!==t&&"dist"!==t&&"dir"!==t||(r[t]=e.readContentAsInt());return 3===e.elementType?r:Ne(e,r)}t.DrawingReader.ReadCT_InnerShadowEffect=Xn;function Kn(e){for(var t,r={bright:0,contrast:0};e.moveToNextAttribute();)t=De(e),"bright"!==t&&"contrast"!==t||(r[t]=e.readContentAsInt());return r}t.DrawingReader.ReadCT_LuminanceEffect=Kn;function qn(e){var t,r,i={blurRad:0,dist:0,dir:0,sx:1e5,sy:1e5,kx:0,ky:0,algn:7,rotWithShape:!0};for(i.shadowEffectType=0,t={blurRad:!0,dist:!0,dir:!0,sx:!0,sy:!0,kx:!0,ky:!0};e.moveToNextAttribute();)r=De(e),t[r]?i[r]=e.readContentAsInt():"algn"===r?i.algn=o.Charts.ST_RectAlignment[e.readContentAsString()]:r===ke&&(i.rotWithShape=e.readContentAsBoolean());return 3===e.elementType?i:Ne(e,i)}t.DrawingReader.ReadCT_OuterShadowEffect=qn;function Yn(e){for(var t,r={dist:0,dir:0,shadowEffectType:2};e.moveToNextAttribute();)t=De(e),"dist"===t||"dir"===t?r[t]=e.readContentAsInt():t===y&&(r.prst=o.Charts.ST_PresetShadowVal[e.readContentAsString()]);return 3===e.elementType?r:Ne(e,r)}t.DrawingReader.ReadCT_PresetShadowEffect=Yn;function Qn(e){for(var t,r={blurRad:0,stA:1e5,stPos:0,endA:0,endPos:1e5,dist:0,dir:0,fadeDir:54e5,sx:1e5,sy:1e5,kx:0,ky:0,algn:7,rotWithShape:!0},i={blurRad:!0,stA:!0,stPos:!0,endA:!0,endPos:!0,dist:!0,dir:!0,fadeDir:!0,sx:!0,sy:!0,kx:!0,ky:!0};e.moveToNextAttribute();)t=De(e),i[t]?r[t]=e.readContentAsInt():"algn"===t?r.algn=o.Charts.ST_RectAlignment[e.readContentAsString()]:t===ke&&(r.rotWithShape=e.readContentAsBoolean());return r}t.DrawingReader.ReadCT_ReflectionEffect=Qn;function Zn(e){for(var t,r={tx:0,ty:0};e.moveToNextAttribute();)t=De(e),"tx"!==t&&"ty"!==t||(r[t]=e.readContentAsInt());return r}t.DrawingReader.ReadCT_RelativeOffsetEffect=Zn;function $n(e){var t={};return t.rad=Pe(e,"rad",b),t}t.DrawingReader.ReadCT_SoftEdgesEffect=$n;function ea(e){for(var t,r={hue:0,amt:0};e.moveToNextAttribute();)t=De(e),"hue"!==t&&"amt"!==t||(r[t]=e.readContentAsInt());return r}t.DrawingReader.ReadCT_TintEffect=ea;function ta(e){for(var t,r={sx:1e5,sy:1e5,kx:0,ky:0,tx:0,ty:0},o={sx:!0,sy:!0,kx:!0,ky:!0,tx:!0,ty:!0};e.moveToNextAttribute();)t=De(e),o[t]&&(r[t]=e.readContentAsInt());return r}t.DrawingReader.ReadCT_TransformEffect=ta;function ra(){return!0}t.DrawingReader.ReadCT_NoFillProperties=ra;function oa(e){return Kt(e)}t.DrawingReader.ReadCT_SolidColorFillProperties=oa;function ia(e){for(var t,r={};e.moveToNextAttribute();)t=De(e),"ang"===t?r.ang=e.readContentAsInt():"scaled"===t&&(r.scaled=e.readContentAsBoolean());return r}t.DrawingReader.ReadCT_LinearShadeProperties=ia;function na(e){var t={},r=Pe(e,"path");return a.J(r)||(t.path=o.Charts.ST_PathShadeType[r]),We(e,"fillToRect",Xt,t)}t.DrawingReader.ReadCT_PathShadeProperties=na;function aa(e){var t={};return t.pos=Pe(e,"pos",b),3===e.elementType?t:Ne(e,t)}t.DrawingReader.ReadCT_GradientStop=aa;function la(e){var t,r,o,i,n={gs:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"gs"===i?n.gs.push(aa(e)):i===k&&(n.dumy=e.readElementContentAsBoolean()));return n}t.DrawingReader.ReadCT_GradientStopList=la;function sa(e){for(var t,r,i,n,a,l={rotWithShape:!0};e.moveToNextAttribute();)t=De(e),"flip"===t?l.flip=o.Charts.ST_TileFlipMode[e.readContentAsString()]:t===ke&&(l.rotWithShape=e.readContentAsBoolean());if(3===e.elementType)return l;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)if(!(i>r+1||2===n))switch(a=Be(e)){case"gsLst":l.gsLst=la(e);break;case"lin":l.lin=ia(e);break;case"path":l.path=na(e);break;case"tileRect":l.tileRect=Xt(e)}return l}t.DrawingReader.ReadCT_GradientFillProperties=sa;function ca(e){for(var t,r,i={},n={tx:!0,ty:!0,sx:!0,sy:!0},a={tx:!0,ty:!0};e.moveToNextAttribute();)r=De(e),n[r]?(t=e.readContentAsInt(),a[r]&&(t=c(t)),i[r]=t):"flip"===r?i.flip=o.Charts.ST_TileFlipMode[e.readContentAsString()]:"algn"===r&&(i.algn=o.Charts.ST_RectAlignment[e.readContentAsString()]);return i}t.DrawingReader.ReadCT_TileInfoProperties=ca;function da(e){return We(e,"fillRect",Xt)}t.DrawingReader.ReadCT_StretchInfoProperties=da;function ua(e){for(var t,r,i,n,a,l,s,c,d={cstate:4};e.moveToNextAttribute();)t=De(e),"embed"===t||"link"===t?d[t]=e.readContentAsString():"cstate"===t&&(d.cstate=o.Charts.ST_BlipCompression[e.readContentAsString()]);if(3===e.elementType)return d;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)if(!(i>r+1||2===n))switch(a=Be(e)){case"alphaBiLevel":d.alphaBiLevel=Dn(e);break;case"alphaCeiling":d.alphaCeiling=Bn();break;case"alphaFloor":d.alphaFloor=Pn();break;case"alphaInv":d.alphaInv=Wn(e);break;case"alphaMod":d.alphaMod=xa(e);break;case"alphaModFix":d.alphaModFix=_n(e);break;case"alphaRepl":d.alphaRepl=Mn(e);break;case"biLevel":d.biLevel=On(e);break;case"blur":d.blur=Hn(e);break;case"clrChange":d.clrChange=Gn(e);break;case"clrRepl":d.clrRepl=Un(e);break;case"duotone":d.duotone=Jn(e);break;case"fillOverlay":d.fillOverlay=Sa(e);break;case"grayscl":d.grayscl=Vn();break;case"hsl":d.hsl=jn(e);break;case"lum":d.lum=Kn(e);break;case"tint":d.tint=ea(e);break;case"blipBlob":d.blipBlob=fa(e);break;case S:d.extLst=Mt(e)}if(l=d.extLst&&d.extLst.ext,Array.isArray(l)&&d.embed){for(s=-1,c=0;c<l.length;c++)if(5===l[c].hiddenExtensionType){s=c;break}s!==-1&&(d.embed=l[s].svgBlip.embed,l.splice(s,1)),0===l.length&&(delete d.extLst.ext,0===Object.keys(d.extLst).length&&delete d.extLst)}return d}t.DrawingReader.ReadCT_Blip=ua;function fa(e){var t,r,i,n,l={},s=Le(Pe(e,g),0);if(a.J(s)||(l.type=o.Charts.ST_BobType[s]),3===e.elementType)return l;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(n=Be(e),"blob"===n&&(l.blob=e.readElementContentAsString()));return l}t.DrawingReader.ReadCT_BlipBlob=fa;function ba(e){for(var t,r,o,i,n,a={};e.moveToNextAttribute();)t=De(e),"dpi"===t?a.dpi=e.readContentAsInt():t===ke&&(a.rotWithShape=e.readContentAsBoolean());if(3===e.elementType)return a;for(r=e.depth;e.read()&&(o=e.depth,i=e.elementType,o!==r||2!==i);)if(!(o>r+1||2===i))switch(n=Be(e)){case"blip":a.blip=ua(e);break;case"srcRect":a.srcRect=Xt(e);break;case"tile":a.tile=ca(e);break;case"stretch":a.stretch=da(e)}return a}t.DrawingReader.ReadCT_BlipFillProperties=ba;function ha(e){var t,r,i,l,s={},c=Pe(e,y);if(a.J(c)||(s.prst=n.ChartHelper.ToPatternType(o.Charts.ST_PresetPatternVal[c])),3===e.elementType)return s;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)r>t+1||2===i||(l=Be(e),"fgClr"!==l&&"bgClr"!==l||(s[l]=qt(e)));return s}t.DrawingReader.ReadCT_PatternFillProperties=ha;function pa(){return{}}t.DrawingReader.ReadCT_GroupFillProperties=pa;function ma(e){var t={};return 3===e.elementType?t:Me(e,t)}function ga(e){return ma(e)}t.DrawingReader.ReadCT_FillProperties=ga;function ya(e){return Kt(e)}t.DrawingReader.ReadCT_FillEffect=ya;function Sa(e){var t={},r=Pe(e,"blend");return a.J(r)||(t.blend=o.Charts.ST_BlendMode[r]),3===e.elementType?t:Me(e,t)}t.DrawingReader.ReadCT_FillOverlayEffect=Sa;function Ca(e){var t={};return t.ref=Pe(e,"ref"),t}t.DrawingReader.ReadCT_EffectReference=Ca;function wa(e){for(var t,r,i,n,a,l={type:0};e.moveToNextAttribute();)t=De(e),t===g?l.type=o.Charts.ST_EffectContainerType[e.readContentAsString()]:t===m&&(l.name=e.readContentAsString());if(3===e.elementType)return l;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)if(!(i>r+1||2===n))switch(a=Be(e)){case"cont":l.cont=wa(e);break;case"effect":l.effect=Ca(e);break;case"alphaBiLevel":l.alphaBiLevel=Dn(e);break;case"alphaCeiling":l.alphaCeiling=Bn();break;case"alphaFloor":l.alphaFloor=Pn();break;case"alphaInv":l.alphaInv=Wn(e);break;case"alphaMod":l.alphaMod=xa(e);break;case"alphaModFix":l.alphaModFix=_n(e);break;case"alphaOutset":l.alphaOutset=Nn(e);break;case"alphaRepl":l.alphaRepl=Mn(e);break;case"biLevel":l.biLevel=On(e);break;case"blend":l.blend=Aa(e);break;case"blur":l.blur=Hn(e);break;case"clrChange":l.clrChange=Gn(e);break;case"clrRepl":l.clrRepl=Un(e);break;case"duotone":l.duotone=Jn(e);break;case"fill":l.fill=ya(e);break;case"fillOverlay":l.fillOverlay=Sa(e);break;case"glow":l.glow=zn(e);break;case"grayscl":l.grayscl=Vn();break;case"hsl":l.hsl=jn(e);break;case"innerShdw":l.innerShdw=Xn(e);break;case"lum":l.lum=Kn(e);break;case"outerShdw":l.outerShdw=qn(e);break;case"prstShdw":l.prstShdw=Yn(e);break;case"reflection":l.reflection=Qn(e);break;case"relOff":l.relOff=Zn(e);break;case"softEdge":l.softEdge=$n(e);break;case"tint":l.tint=ea(e);break;case"xfrm":l.xfrm=ta(e)}return l}t.DrawingReader.ReadCT_EffectContainer=wa;function xa(e){return We(e,"cont",wa)}t.DrawingReader.ReadCT_AlphaModulateEffect=xa;function Aa(e){var t={},r=Pe(e,"blend");return a.J(r)||(t.blend=o.Charts.ST_BlendMode[r]),We(e,"cont",wa,t)}t.DrawingReader.ReadCT_BlendEffect=Aa;function Ta(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"blur":n.blur=Hn(e);break;case"fillOverlay":n.fillOverlay=Sa(e);break;case"glow":n.glow=zn(e);break;case"innerShdw":n.innerShdw=Xn(e);break;case"outerShdw":n.outerShdw=qn(e);break;case"prstShdw":n.prstShdw=Yn(e);break;case"reflection":n.reflection=Qn(e);break;case"softEdge":n.softEdge=$n(e)}return n}t.DrawingReader.ReadCT_EffectList=Ta;function va(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),i===x?n.effectLst=Ta(e):i===A&&(n.effectDag=wa(e)));return n}t.DrawingReader.ReadCT_EffectProperties=va;function ka(e){for(var t,r={};e.moveToNextAttribute();)t=De(e),t!==m&&"fmla"!==t||(r[t]=e.readContentAsString());return r}t.DrawingReader.ReadCT_GeomGuide=ka;function Fa(e){var t,r,o,i,n={gd:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"gd"===i?n.gd.push(ka(e)):i===k&&(n.dumy=e.readElementContentAsBoolean()));return n}t.DrawingReader.ReadCT_GeomGuideList=Fa;function Ra(e){return Ze(e,["x","y"])}t.DrawingReader.ReadCT_AdjPoint2D=Ra;function Ea(e){for(var t,r={},o={l:!0,t:!0,r:!0,b:!0};e.moveToNextAttribute();)t=De(e),o[t]&&(r[t]=e.readContentAsString());return r}t.DrawingReader.ReadCT_GeomRect=Ea;function Ia(e,t){for(var r,o={};e.moveToNextAttribute();)r=De(e),r!==t[0]&&r!==t[1]||(o[r]=e.readContentAsString());return We(e,"pos",Ra,o)}function La(e){return Ia(e,["gdRefX","gdRefY"])}t.DrawingReader.ReadCT_XYAdjustHandle=La;function Da(e){return Ia(e,["gdRefR","gdRefAng"])}t.DrawingReader.ReadCT_PolarAdjustHandle=Da;function Ba(e){var t={};return t.ang=Pe(e,"ang"),We(e,"pos",Ra,t)}t.DrawingReader.ReadCT_ConnectionSite=Ba;function Pa(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"ahXY"===i?n.ahXY=La(e):"ahPolar"===i&&(n.ahPolar=Da(e)));return n}t.DrawingReader.ReadCT_AdjustHandleList=Pa;function Wa(e){var t,r,o,i,n={cxn:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"cxn"===i?n.cxn.push(Ba(e)):i===k&&(n.dumy=e.readElementContentAsBoolean()));return n}t.DrawingReader.ReadCT_ConnectionSiteList=Wa;function _a(e){for(var t,r={};e.moveToNextAttribute();)t=De(e),"id"!==t&&t!==U||(r[t]=e.readContentAsInt());return r}t.DrawingReader.ReadCT_Connection=_a;function Na(e,t){var r,i,n,a,l={PtList:[],typeName:o.Charts.CT_PathType.CT_PathToList};if(l.pathToType=t,3===e.elementType)return l;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)i>r+1||2===n||(a=Be(e),"pt"===a&&l.PtList.push(Ra(e)));return l}function Ma(){return{typeName:o.Charts.CT_PathType.CT_Path2DArcTo}}t.DrawingReader.ReadCT_Path2DArcTo=Ma;function Oa(){return{typeName:o.Charts.CT_PathType.CT_Path2DClose}}t.DrawingReader.ReadCT_Path2DClose=Oa;function Ha(e){for(var t,r,i,n,a,l={quadBezTo:[],cubicBezTo:[],w:0,h:0,fill:1,stroke:!0,extrusionOk:!0,pathToList:[]};e.moveToNextAttribute();)t=De(e),"w"===t||"h"===t?l[t]=e.readContentAsInt():"stroke"===t||"extrusionOk"===t?l[t]=e.readContentAsBoolean():"fill"===t&&(l.fill=o.Charts.ST_PathFillMode[e.readContentAsString()]);if(3===e.elementType)return l;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)if(!(i>r+1||2===n))switch(a=Be(e)){case"close":l.pathToList.push(Oa());break;case"moveTo":l.pathToList.push(Na(e,1));break;case"lnTo":l.pathToList.push(Na(e,0));break;case"arcTo":l.pathToList.push(Ma());break;case"quadBezTo":l.pathToList.push(Na(e,2));break;case"cubicBezTo":l.pathToList.push(Na(e,3))}return l}t.DrawingReader.ReadCT_Path2D=Ha;function Ga(e){var t,r,o,i,n=[];if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"path"===i&&n.push(Ha(e)));return n}t.DrawingReader.ReadCT_Path2DList=Ga;function Ua(e){var t={},r=Pe(e,y);return a.J(r)||(t.prst=o.Charts.ST_ShapeType[r]),We(e,"avLst",Fa,t)}t.DrawingReader.ReadCT_PresetGeometry2D=Ua;function Ja(e){var t={},r=Pe(e,y);return a.J(r)||(t.prst=o.Charts.ST_TextShapeType[r]),We(e,"avLst",Fa,t)}t.DrawingReader.ReadCT_PresetTextShape=Ja;function za(e){var t,r,o,i,n={pathLst:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"avLst":
41
41
  n.avLst=Fa(e);break;case"gdLst":n.gdLst=Fa(e);break;case"ahLst":n.ahLst=Pa(e);break;case"cxnLst":n.cxnLst=Wa(e);break;case"rect":n.rect=Ea(e);break;case"pathLst":n.pathLst=Ga(e)}return n}t.DrawingReader.ReadCT_CustomGeometry2D=za;function Va(e){for(var t,r={w:1,len:1};e.moveToNextAttribute();)switch(t=De(e)){case g:r.type=o.Charts.ST_LineEndType[e.readContentAsString()];break;case"w":r.w=o.Charts.ST_LineEndWidth[e.readContentAsString()];break;case"len":r.len=o.Charts.ST_LineEndLength[e.readContentAsString()]}return r}t.DrawingReader.ReadCT_LineEndProperties=Va;function ja(){return{}}t.DrawingReader.ReadCT_LineJoinBevel=ja;function Xa(){return!0}t.DrawingReader.ReadCT_LineJoinRound=Xa;function Ka(e){var t={};return t.lim=Pe(e,"lim",b),t}t.DrawingReader.ReadCT_LineJoinMiterProperties=Ka;function qa(e){var t=Pe(e,p);if(!a.J(t))return o.Charts.ST_PresetLineDashVal[t]}t.DrawingReader.ReadCT_PresetLineDashProperties=qa;function Ya(e){return St(e,["d","sp"])}t.DrawingReader.ReadCT_DashStop=Ya;function Qa(e){var t,r,o,i,n={ds:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"ds"===i?n.ds.push(Ya(e)):i===k&&(n.dumy=e.readElementContentAsBoolean()));return n}t.DrawingReader.ReadCT_DashStopList=Qa;function Za(e){for(var t,r,i,n,a,l={};e.moveToNextAttribute();)switch(t=De(e)){case"w":l.w=c(e.readContentAsInt());break;case"cap":l.cap=o.Charts.ST_LineCap[e.readContentAsString()];break;case"cmpd":l.cmpd=o.Charts.ST_CompoundLine[e.readContentAsString()];break;case"algn":l.algn=o.Charts.ST_PenAlignment[e.readContentAsString()]}if(3===e.elementType)return l;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)if(!(i>r+1||2===n))switch(a=Be(e)){case W:l.noFill=ra();break;case _:l.solidFill=oa(e);break;case N:l.gradFill=sa(e);break;case O:l.pattFill=ha(e);break;case"prstDash":l.prstDash=qa(e);break;case"custDash":l.custDash=Qa(e);break;case"round":l.round=Xa();break;case"bevel":l.bevel=ja();break;case"miter":l.miter=Ka(e);break;case"headEnd":l.headEnd=Va(e);break;case"tailEnd":l.tailEnd=Va(e);break;case S:l.extLst=Mt(e)}return 0!==l.w||l.noFill||(l.w=1),l}t.DrawingReader.ReadCT_LineProperties=Za;function $a(e){for(var t,r={};e.moveToNextAttribute();)switch(t=De(e)){case"asvg":r.asvg=e.readContentAsString();break;case"embed":r.embed=e.readContentAsString()}return r}t.DrawingReader.ReadCT_SvgBlip=$a;function el(e){var t,r,i,n,l={},s=Pe(e,"bwMode");if(a.J(s)||(l.bwMode=o.Charts.ST_BlackWhiteMode[s]),3===e.elementType)return l;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Be(e)){case"xfrm":l.xfrm=Ht(e);break;case"custGeom":l.custGeom=za(e);break;case"prstGeom":l.prstGeom=Ua(e);break;case W:l.noFill=ra();break;case _:l.solidFill=oa(e);break;case N:l.gradFill=sa(e);break;case M:l.blipFill=ba(e);break;case O:l.pattFill=ha(e);break;case H:l.grpFill=pa();break;case"ln":l.ln=Za(e);break;case x:l.effectLst=Ta(e);break;case A:l.effectDag=wa(e);break;case J:l.scene3d=kn(e);break;case"sp3d":l.sp3d=En(e);break;case S:l.extLst=Mt(e)}return l}t.DrawingReader.ReadCT_ShapeProperties=el;function tl(e){var t,r,i,n,l={},s=Pe(e,"bwMode");if(a.J(s)||(l.bwMode=o.Charts.ST_BlackWhiteMode[s]),3===e.elementType)return l;for(t=e.depth;e.read()&&(r=e.depth,i=e.elementType,r!==t||2!==i);)if(!(r>t+1||2===i))switch(n=Be(e)){case"xfrm":l.xfrm=Gt(e);break;case W:l.noFill=ra();break;case _:l.solidFill=oa(e);break;case N:l.gradFill=sa(e);break;case M:l.blipFill=ba(e);break;case O:l.pattFill=ha(e);break;case H:l.grpFill=pa();break;case x:l.effectLst=Ta(e);break;case A:l.effectDag=wa(e);break;case J:l.scene3d=kn(e);break;case S:l.extLst=Mt(e)}return l}t.DrawingReader.ReadCT_GroupShapeProperties=tl;function rl(e){var t,r,o,i,n={ColorProp:{}};if(n[U]=Pe(e,U,b),3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case R:n.ColorProp.scrgbClr=It(e);break;case E:n.ColorProp.srgbClr=Dt(e);break;case I:n.ColorProp.hslClr=Bt(e);break;case L:n.ColorProp.sysClr=Pt(e);break;case D:n.ColorProp.schemeClr=Wt(e);break;case B:n.ColorProp.prstClr=_t(e);break;case P:n.ColorProp.styleClr=Nt(e)}return n}t.DrawingReader.ReadCT_StyleMatrixReference=rl;function ol(e){var t,r,i,n,a,l={TextCharacterProperties:{}};if(l[U]=Pe(e,U),l.idx&&(l.idx=o.Charts.ST_FontCollectionIndex[l.idx]),3===e.elementType)return l;for(t=l.TextCharacterProperties.solidFill={},r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)if(!(i>r+1||2===n))switch(a=Be(e)){case R:t.scrgbClr=It(e);break;case E:t.srgbClr=Dt(e);break;case I:t.hslClr=Bt(e);break;case L:t.sysClr=Pt(e);break;case D:t.schemeClr=Wt(e);break;case B:t.prstClr=_t(e)}return l}t.DrawingReader.ReadCT_FontReference=ol;function il(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"lnRef"===i||"fillRef"===i||"effectRef"===i?n[i]=rl(e):"fontRef"===i&&(n.fontRef=ol(e)));return n}t.DrawingReader.ReadCT_ShapeStyle=il;function nl(e){for(var t,r={fLocksWithSheet:!0,fPrintsWithSheet:!0};e.moveToNextAttribute();)t=De(e),"fLocksWithSheet"!==t&&"fPrintsWithSheet"!==t||(r[t]=e.readContentAsBoolean());return r}t.DrawingReader.ReadCT_AnchorClientData=nl;function al(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),i===C?n.cNvPr=bn(e):"cNvSpPr"===i&&(n.cNvSpPr=hn(e)));return n}t.DrawingReader.ReadCT_ShapeNonVisual=al;function ll(e){for(var t,r,o,i,n,a={shapeType:5};e.moveToNextAttribute();)t=De(e),t===w||"textlink"===t?a[t]=d(e.readContentAsString()):"fLocksText"!==t&&t!==T||(a[t]=e.readContentAsBoolean());if(3===e.elementType)return a;for(r=e.depth;e.read()&&(o=e.depth,i=e.elementType,o!==r||2!==i);)if(!(o>r+1||2===i))switch(n=Be(e)){case"nvSpPr":a.nvSpPr=al(e);break;case z:a.spPr=el(e);break;case ve:a.style=il(e);break;case"txBody":a.txBody=zl(e)}return a}t.DrawingReader.ReadCT_Shape=ll;function sl(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),i===C?n.cNvPr=bn(e):"cNvCxnSpPr"===i&&(n.cNvCxnSpPr=pn(e)));return n}t.DrawingReader.ReadCT_ConnectorNonVisual=sl;function cl(e){for(var t,r,o,i,n,a={shapeType:4};e.moveToNextAttribute();)t=De(e),t===w?a.macro=e.readContentAsString():t===T&&(a.fPublished=e.readContentAsBoolean());if(3===e.elementType)return a;for(r=e.depth;e.read()&&(o=e.depth,i=e.elementType,o!==r||2!==i);)if(!(o>r+1||2===i))switch(n=Be(e)){case"nvCxnSpPr":a.nvCxnSpPr=sl(e);break;case z:a.spPr=el(e);break;case ve:a.style=il(e)}return a}t.DrawingReader.ReadCT_Connector=cl;function dl(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),i===C?n.cNvPr=bn(e):"cNvPicPr"===i&&(n.cNvPicPr=mn(e)));return n}t.DrawingReader.ReadCT_PictureNonVisual=dl;function ul(e){for(var t,r,o,i,n,a={shapeType:1};e.moveToNextAttribute();)t=De(e),t===w?a.macro=e.readContentAsString():t===T&&(a.fPublished=e.readContentAsBoolean());if(3===e.elementType)return a;for(r=e.depth;e.read()&&(o=e.depth,i=e.elementType,o!==r||2!==i);)if(!(o>r+1||2===i))switch(n=Be(e)){case"nvPicPr":a.nvPicPr=dl(e);break;case M:a.blipFill=ba(e);break;case z:a.spPr=el(e);break;case ve:a.style=il(e)}return gl(a)&&(a.cameraTool=!0),a}t.DrawingReader.ReadCT_Picture=ul;function fl(e){return Ue(e)}t.DrawingReader.ReadCT_GraphicalObjectFrameNonVisual=fl;function bl(e){for(var t,r,o,i,n,a={shapeType:2};e.moveToNextAttribute();)t=De(e),t===w?a.macro=e.readContentAsString():t===T&&(a.fPublished=e.readContentAsBoolean());if(3===e.elementType)return a;for(r=e.depth;e.read()&&(o=e.depth,i=e.elementType,o!==r||2!==i);)if(!(o>r+1||2===i))switch(n=Be(e)){case"nvGraphicFramePr":a.nvGraphicFramePr=fl(e);break;case"xfrm":a.xfrm=Ht(e);break;case"graphic":a.graphic=wn(e)}return a}t.DrawingReader.ReadCT_GraphicalObjectFrame=bl;function hl(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),i===C?n.cNvPr=bn(e):"cNvGrpSpPr"===i&&(n.cNvGrpSpPr=gn(e)));return n}t.DrawingReader.ReadCT_GroupShapeNonVisual=hl;function pl(e){var t,r,o,i,n,a,l={shapeType:3,sp:[]};if(3===e.elementType)return l;for(t=e.depth,r=!1;(r||e.read())&&(r=!1,o=e.depth,i=e.elementType,o!==t||2!==i);)if(!(o>t+1||2===i))switch(n=Be(e)){case"nvGrpSpPr":l.nvGrpSpPr=hl(e);break;case"grpSpPr":l.grpSpPr=tl(e);break;case"sp":l.sp.push(ll(e));break;case Y:l.sp.push(pl(e));break;case v:l.sp.push(bl(e));break;case Q:l.sp.push(cl(e));break;case"pic":l.sp.push(ul(e));break;case"AlternateContent":a=wl(e),ml(a)?l.sp.push(a):a&&a.Choice&&a.Choice.pic&&gl(a.Choice.pic)?l.sp.push(a.Choice.pic):a&&a.Choice&&a.Choice.sp&&l.sp.push(a.Choice.sp),r=!0}return l}t.DrawingReader.ReadCT_GroupShape=pl;function ml(e){return!!(e&&e.Choice&&e.Choice.GraphicalObjectFrame&&e.Choice.GraphicalObjectFrame.graphic&&e.Choice.GraphicalObjectFrame.graphic.graphicData&&e.Choice.GraphicalObjectFrame.graphic.graphicData.slicer)}function gl(e){return!!(e&&e.nvPicPr&&e.nvPicPr.cNvPicPr&&e.nvPicPr.cNvPicPr.extLst&&e.nvPicPr.cNvPicPr.extLst.ext&&e.nvPicPr.cNvPicPr.extLst.ext[0]&&e.nvPicPr.cNvPicPr.extLst.ext[0].cameraTool)}t.DrawingReader.IsCameraTool=gl;function yl(e){var t,r,o,i,n,a={};if(3===e.elementType)return a;for(t=e.depth,r={col:!0,row:!0};e.read()&&(o=e.depth,i=e.elementType,o!==t||2!==i);)o>t+1||2===i||(n=Be(e),r[n]?a[n]=e.readElementContentAsInt():"rowOff"===n?(a.rowOffsetEmu=e.readElementContentAsInt(),a.rowOffset=c(a.rowOffsetEmu)):"colOff"===n&&(a.colOffsetEmu=e.readElementContentAsInt(),a.colOffset=c(a.colOffsetEmu)));return a}t.DrawingReader.ReadCT_Position=yl;function Sl(e){var t,r,i,n,l,s={anchorType:0},c=Pe(e,"editAs");if(a.J(c)||(s.editAs=o.Charts.ST_EditAs[c]),3===e.elementType)return s;for(t=e.depth,r=!1;(r||e.read())&&(r=!1,i=e.depth,n=e.elementType,i!==t||2!==n);)if(!(i>t+1||2===n))switch(l=Be(e)){case"from":s.startPoint=yl(e);break;case"to":s.endPoint=yl(e);break;case"sp":s.sp=ll(e);break;case Y:s.grpSp=pl(e);break;case v:s.graphicFrame=bl(e);break;case Q:s.cxnSp=cl(e);break;case"pic":s.pic=ul(e);break;case"AlternateContent":s.AlternateContent=wl(e),r=!0;break;case"clientData":s.clientData=nl(e)}return s}t.DrawingReader.ReadCT_TwoCellAnchor=Sl;function Cl(e){return e.replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;")}function wl(e){for(var t,r,o,i,n={shapeType:0};e.moveToNextAttribute();)n.AlternateContent=Cl(e.readContentAsString());if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"Choice"===i?n.Choice=xl(e):"Fallback"===i&&(n.Fallback={},n.Fallback.Shape=ll(e)));return n}t.DrawingReader.ReadCT_AlternateContent=wl;function xl(e){for(var t,r,o,i,n,a,l={};e.moveToNextAttribute();)t=De(e),t===Fe?(r=e.readContentAsString(),0!==r&&1!==r?l.Requires=r:l.Requires=u(r)):l.cx=e.readContentAsString();if(3===e.elementType)return l;for(o=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==o||2!==n);)i>o+1||2===n||(a=Be(e),a===v?l.GraphicalObjectFrame=bl(e):"sp"===a?l.sp=ll(e):a===Y?l.grpSp=pl(e):a===Q?l.cxnSp=cl(e):"twoCellAnchor"===a?l.twoCellAnchor=Sl(e):"oneCellAnchor"===a?l.oneCellAnchor=Al(e):"absoluteAnchor"===a?l.absoluteAnchor=Tl(e):"pic"===a&&(l.pic=ul(e)));return l}t.DrawingReader.ReadCT_Choice=xl;function Al(e){var t,r,o,i,n,a,l={anchorType:1};if(3===e.elementType)return l;for(t=e.depth,r=!1;(r||e.read())&&(r=!1,o=e.depth,i=e.elementType,o!==t||2!==i);)if(!(o>t+1||2===i))switch(n=Be(e)){case"from":l.startPoint=yl(e);break;case F:a=At(e,!0),l.width=a.cx,l.height=a.cy;break;case"sp":l.sp=ll(e);break;case Y:l.grpSp=pl(e);break;case v:l.graphicFrame=bl(e);break;case Q:l.cxnSp=cl(e);break;case"pic":l.pic=ul(e);break;case"AlternateContent":l.AlternateContent=wl(e),r=!0;break;case"clientData":l.clientData=nl(e)}return l}t.DrawingReader.ReadCT_OneCellAnchor=Al;function Tl(e){var t,r,o,i,n,a,l,s={anchorType:2};if(3===e.elementType)return s;for(t=e.depth,r=!1;(r||e.read())&&(r=!1,o=e.depth,i=e.elementType,o!==t||2!==i);)if(!(o>t+1||2===i))switch(n=Be(e)){case"pos":a=xt(e,!0),s.x=a.x,s.y=a.y;break;case F:l=At(e,!0),s.width=l.cx,s.height=l.cy;break;case"sp":s.sp=ll(e);break;case Y:s.grpSp=pl(e);break;case v:s.graphicFrame=bl(e);break;case Q:s.cxnSp=cl(e);break;case"pic":s.pic=ul(e);break;case"AlternateContent":s.AlternateContent=wl(e),r=!0;break;case"clientData":s.clientData=nl(e)}return s}t.DrawingReader.ReadCT_AbsoluteAnchor=Tl;function vl(e){var t,r,o,i,n,l,s,c,d={twoCellAnchor:[],oneCellAnchor:[],absoluteAnchor:[],AnchorBaseList:[]};if(3===e.elementType)return d;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o)){switch(i=Be(e),n=h,l=h,i){case"twoCellAnchor":n=Sl(e);break;case"oneCellAnchor":n=Al(e);break;case"absoluteAnchor":n=Tl(e);break;case"AlternateContent":l=wl(e)}n&&(n.sp||kl(n))&&(s=a.Util.ya(n.AlternateContent),d.AnchorBaseList.push(n),n.AlternateContent&&!s&&delete n.AlternateContent),n&&n.AlternateContent&&n.AlternateContent.Choice&&(n.AlternateContent.Choice.sp||n.AlternateContent.Choice.grpSp||n.AlternateContent.Choice.cxnSp)&&(n.AlternateContent.Choice.sp&&(n.sp=n.AlternateContent.Choice.sp),n.AlternateContent.Choice.grpSp&&(n.grpSp=n.AlternateContent.Choice.grpSp),n.AlternateContent.Choice.cxnSp&&(n.cxnSp=n.AlternateContent.Choice.cxnSp),d.AnchorBaseList.push(n)),c=l&&l.Choice,c&&(c.twoCellAnchor?d.AnchorBaseList.push(c.twoCellAnchor):c.oneCellAnchor?d.AnchorBaseList.push(c.oneCellAnchor):c.absoluteAnchor&&d.AnchorBaseList.push(c.absoluteAnchor))}return d}t.DrawingReader.ReadCT_Drawing=vl;function kl(e){var t,r,o=e.AlternateContent,i=a.Util.ya(o);return!(o&&!ml(o)&&!i)&&!(!i&&(t=e.graphicFrame,r=t&&t.graphic&&t.graphic.graphicData,r&&!r.chart&&!r.slicer))}function Fl(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case z:n.spPr=el(e);break;case"bodyPr":n.bodyPr=Jl(e);break;case"lstStyle":n.lstStyle=Ml(e);break;case ve:n.style=il(e);break;case S:n.extLst=Mt(e)}return n}t.DrawingReader.ReadCT_DefaultShapeDefinition=Fl;function Rl(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"spDef"===i||"lnDef"===i||"txDef"===i?n[i]=Fl(e):i===S&&(n.extLst=Mt(e)));return n}t.DrawingReader.ReadCT_ObjectStyleDefaults=Rl;function El(){return{}}t.DrawingReader.ReadCT_EmptyElement=El;function Il(e){for(var t,r={},i={bg1:!0,tx1:!0,bg2:!0,tx2:!0,accent1:!0,accent2:!0,accent3:!0,accent4:!0,accent5:!0,accent6:!0,hlink:!0,folHlink:!0};e.moveToNextAttribute();)t=De(e),i[t]&&(r[t]=o.Charts.ST_ColorSchemeIndex[e.readContentAsString()]);return We(e,S,Mt,r)}t.DrawingReader.ReadCT_ColorMapping=Il;function Ll(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"masterClrMapping"===i?n.masterClrMapping=El():"overrideClrMapping"===i&&(n.overrideClrMapping=Il(e)));return n}t.DrawingReader.ReadCT_ColorMappingOverride=Ll;function Dl(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),i===Z?n.clrScheme=Ye(e):"clrMap"===i&&(n.clrMap=Il(e)));return n}t.DrawingReader.ReadCT_ColorSchemeAndMapping=Dl;function Bl(e){var t,r,o,i,n={extraClrScheme:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"extraClrScheme"===i?n.extraClrScheme.push(Dl(e)):i===k&&(n.dumy=e.readElementContentAsBoolean()));return n}t.DrawingReader.ReadCT_ColorSchemeList=Bl;function Pl(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case"theme":n[m]=Pe(e,m);break;case"themeElements":n.themeElements=st(e);break;case"objectDefaults":n.objectDefaults=Rl(e);break;case"extraClrSchemeLst":n.extraClrSchemeLst=Bl(e);break;case"custClrLst":n.custClrLst=et(e);break;case S:n.extLst=Mt(e)}return n}t.DrawingReader.ReadCT_OfficeStyleSheet=Pl;function Wl(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)if(!(r>t+1||2===o))switch(i=Be(e)){case Z:n.clrScheme=Ye(e);break;case $:n.fontScheme=ot(e);break;case ee:n.fmtScheme=lt(e)}return n}t.DrawingReader.ReadCT_BaseStylesOverride=Wl;function _l(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"themeElements"===i?n.themeElements=st(e):"clrMap"===i&&(n.clrMap=Il(e)));return n}t.DrawingReader.ReadCT_ClipboardStyleSheet=_l;function Nl(e){var r,o,i,n,a,l={};if(3===e.elementType)return l;for(r=e.depth,o=[];e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)if(!(i>r+1||2===n))switch(a=Be(e)){case"pPr":l.pPr=us(e);break;case"r":o.push(t.DrawingReader.ReadCT_RegularTextRun(e));break;case"br":o.push(t.DrawingReader.ReadCT_TextLineBreak(e));break;case"fld":o.push(t.DrawingReader.ReadCT_TextField(e));break;case"endParaRPr":l.endParaRPr=is(e)}return o.length>0&&(l.elements=o),l}t.DrawingReader.ReadCT_TextParagraph=Nl;function Ml(e){var t,r,o,i,n,a={};if(3===e.elementType)return a;for(t=e.depth,r={defPPr:!0,lvl1pPr:!0,lvl2pPr:!0,lvl3pPr:!0,lvl4pPr:!0,lvl5pPr:!0,lvl6pPr:!0,lvl7pPr:!0,lvl8pPr:!0,lvl9pPr:!0};e.read()&&(o=e.depth,i=e.elementType,o!==t||2!==i);)o>t+1||2===i||(n=Be(e),r[n]?a[n]=us(e):n===S&&(a.extLst=Mt(e)));return a}t.DrawingReader.ReadCT_TextListStyle=Ml;function Ol(e){for(var t,r={fontScale:1e5,lnSpcReduction:0};e.moveToNextAttribute();)t=De(e),"fontScale"!==t&&"lnSpcReduction"!==t||(r[t]=e.readContentAsInt());return r}t.DrawingReader.ReadCT_TextNormalAutofit=Ol;function Hl(){return!0}t.DrawingReader.ReadCT_TextShapeAutofit=Hl;function Gl(){return{}}t.DrawingReader.ReadCT_TextNoAutofit=Gl;function Ul(e){return e/6e4}t.DrawingReader.getRotationDegree=Ul;function Jl(e){for(var t,r,i,n,l,s,c={},d={lIns:!0,tIns:!0,rIns:!0,bIns:!0,numCol:!0,spcCol:!0},u={spcFirstLastPara:!0,rtlCol:!0,fromWordArt:!0,anchorCtr:!0,forceAA:!0,upright:!0,compatLnSpc:!0};e.moveToNextAttribute();)r=De(e),d[r]?c[r]=e.readContentAsInt():u[r]?c[r]=e.readContentAsBoolean():"rot"===r?t=e.readContentAsInt():"vertOverflow"===r?c.vertOverflow=o.Charts.ST_TextVertOverflowType[e.readContentAsString()]:"horzOverflow"===r?c.horzOverflow=o.Charts.ST_TextHorzOverflowType[e.readContentAsString()]:"vert"===r?c.vert=o.Charts.ST_TextVerticalType[e.readContentAsString()]:"wrap"===r?c.wrap=o.Charts.ST_TextWrappingType[e.readContentAsString()]:"anchor"===r&&(c.anchor=o.Charts.ST_TextAnchoringType[e.readContentAsString()]);if(a.J(t)?c.vert===o.Charts.ST_TextVerticalType.horz&&(c.rot=0):t!==-6e7&&(c.rot=Ul(t)),3===e.elementType)return c;for(i=e.depth;e.read()&&(n=e.depth,l=e.elementType,n!==i||2!==l);)if(!(n>i+1||2===l))switch(s=Be(e)){case"prstTxWarp":c.prstTxWarp=Ja(e);break;case"noAutofit":c.noAutofit=Gl();break;case"normAutofit":c.normAutofit=Ol(e);break;case"spAutoFit":c.spAutoFit=Hl();break;case J:c.scene3d=kn(e);break;case"sp3d":c.sp3d=En(e);break;case"flatTx":c.flatTx=In(e);break;case S:c.extLst=Mt(e)}return c}t.DrawingReader.ReadCT_TextBodyProperties=Jl;function zl(e){var t,r,o,i,n,a={};if(3===e.elementType)return a;for(t=e.depth,r=[];e.read()&&(o=e.depth,i=e.elementType,o!==t||2!==i);)if(!(o>t+1||2===i))switch(n=Be(e)){case"bodyPr":a.bodyPr=Jl(e);break;case"lstStyle":a.lstStyle=Ml(e);break;case"p":r.push(Nl(e))}return r.length>0&&(a.p=r),a}t.DrawingReader.ReadCT_TextBody=zl;function Vl(){return{}}t.DrawingReader.ReadCT_TextBulletColorFollowText=Vl;function jl(){return{}}t.DrawingReader.ReadCT_TextBulletSizeFollowText=jl;function Xl(e){return Pe(e,p,b)}t.DrawingReader.ReadCT_TextBulletSizePercent=Xl;function Kl(e){return Pe(e,p,b)}t.DrawingReader.ReadCT_TextBulletSizePoint=Kl;function ql(){return{}}t.DrawingReader.ReadCT_TextBulletTypefaceFollowText=ql;function Yl(e){for(var t,r={startAt:1};e.moveToNextAttribute();)t=De(e),t===g?r.type=o.Charts.ST_TextAutonumberScheme[e.readContentAsString()]:"startAt"===t&&(r.startAt=e.readContentAsInt());return r}t.DrawingReader.ReadCT_TextAutonumberBullet=Yl;function Ql(e){var t={};return t.char=Pe(e,"char"),t}t.DrawingReader.ReadCT_TextCharBullet=Ql;function Zl(e){return We(e,"blip",ua)}t.DrawingReader.ReadCT_TextBlipBullet=Zl;function $l(){return{}}t.DrawingReader.ReadCT_TextNoBullet=$l;function es(e){for(var t,r={pitchFamily:0,charset:1},o={typeface:!0,panose:!0,pitchFamily:!0,charset:!0};e.moveToNextAttribute();)t=De(e),o[t]&&(r[t]=e.readContentAsString());return r}t.DrawingReader.ReadCT_TextFont=es;function ts(){return{}}t.DrawingReader.ReadCT_TextUnderlineLineFollowText=ts;function rs(){return{}}t.DrawingReader.ReadCT_TextUnderlineFillFollowText=rs;function os(e){return ma(e)}t.DrawingReader.ReadCT_TextUnderlineFillGroupWrapper=os;function is(e){for(var t,r,n,a,l,s={},c={kern:!0,spc:!0,baseline:!0,smtId:!0},d={kumimoji:!0,normalizeH:!0,noProof:!0,dirty:!0,err:!0,smtClean:!0},u={altLang:!0,bmk:!0};e.moveToNextAttribute();)t=De(e),c[t]?s[t]=e.readContentAsInt():d[t]?s[t]=e.readContentAsBoolean():u[t]?s[t]=e.readContentAsString():"sz"===t?s.sz=i.UnitHelper.pointToPixel(e.readContentAsInt()/100):"b"===t?s.b=e.readContentAsBoolean():"i"===t?s.i=e.readContentAsBoolean():"u"===t?s.u=o.Charts.ST_TextUnderlineType[e.readContentAsString()]:"strike"===t?s.strike=o.Charts.ST_TextStrikeType[e.readContentAsString()]:"cap"===t&&(s.cap=o.Charts.ST_TextCapsType[e.readContentAsString()]);if(3===e.elementType)return s;for(r=e.depth;e.read()&&(n=e.depth,a=e.elementType,n!==r||2!==a);)if(!(n>r+1||2===a))switch(l=Be(e)){case"ln":s.ln=Za(e);break;case W:s.noFill=ra();break;case _:s.solidFill=oa(e);break;case N:s.gradFill=sa(e);break;case M:s.blipFill=ba(e);break;case O:s.pattFill=ha(e);break;case H:s.grpFill=pa();break;case x:s.effectLst=Ta(e);break;case A:s.effectDag=wa(e);break;case"highlight":s.highlight=qt(e);break;case"uLnTx":s.uLnTx=ts();break;case"uLn":s.uLn=Za(e);break;case"uFillTx":s.uFillTx=rs();break;case"uFill":s.uFill=os(e);break;case"latin":s.latin=es(e);break;case"ea":s.ea=es(e);break;case"cs":s.cs=es(e);break;case"sym":s.sym=es(e);break;case"hlinkClick":s.hlinkClick=Zt(e);break;case"hlinkMouseOver":s.hlinkMouseOver=Zt(e);break;case S:s.extLst=Mt(e)}return s}t.DrawingReader.ReadCT_TextCharacterProperties=is;function ns(e){return Pe(e,p,b)}t.DrawingReader.ReadCT_TextSpacingPercent=ns;function as(e){return Pe(e,p,b)}t.DrawingReader.ReadCT_TextSpacingPoint=as;function ls(e){for(var t,r={};e.moveToNextAttribute();)t=De(e),"pos"===t?r.pos=e.readContentAsInt():"algn"===t&&(r.algn=o.Charts.ST_TextTabAlignType[e.readContentAsString()]);return r}t.DrawingReader.ReadCT_TextTabStop=ls;function ss(e){var t,r,o,i,n={tab:[]};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"tab"===i?n.tab.push(ls(e)):i===k&&(n.dumy=e.readElementContentAsBoolean()));return n}t.DrawingReader.ReadCT_TextTabStopList=ss;function cs(e){var t={elementType:1};return We(e,"rPr",is,t)}t.DrawingReader.ReadCT_TextLineBreak=cs;function ds(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"spcPct"===i?n.spcPct=ns(e):"spcPts"===i&&(n.spcPts=as(e)));return n}t.DrawingReader.ReadCT_TextSpacing=ds;function us(e){for(var t,r,i,n,a,l={},s={marL:!0,marR:!0,lvl:!0,indent:!0,defTabSz:!0},c={rtl:!0,eaLnBrk:!0,latinLnBrk:!0,hangingPunct:!0};e.moveToNextAttribute();)t=De(e),s[t]?l[t]=e.readContentAsInt():c[t]?l[t]=e.readContentAsBoolean():"fontAlgn"===t?l.fontAlgn=o.Charts.ST_TextFontAlignType[e.readContentAsString()]:"algn"===t&&(l.algn=o.Charts.ST_TextAlignType[e.readContentAsString()]);if(3===e.elementType)return l;for(r=e.depth;e.read()&&(i=e.depth,n=e.elementType,i!==r||2!==n);)if(!(i>r+1||2===n))switch(a=Be(e)){case"lnSpc":l.lnSpc=ds(e);break;case"spcBef":l.spcBef=ds(e);break;case"spcAft":l.spcAft=ds(e);break;case"buClrTx":l.buClrTx=Vl();break;case"buClr":l.buClr=qt(e);break;case"buSzTx":l.buSzTx=jl();break;case"buSzPct":l.buSzPct=Xl(e);break;case"buSzPts":l.buSzPts=Kl(e);break;case"buFontTx":l.buFontTx=ql();break;case"buFont":l.buFont=es(e);break;case"buNone":l.buNone=$l();break;case"buAutoNum":l.buAutoNum=Yl(e);break;case"buChar":l.buChar=Ql(e);break;case"buBlip":l.buBlip=Zl(e);break;case"tabLst":l.tabLst=ss(e);break;case"defRPr":l.defRPr=is(e);break;case S:l.extLst=Mt(e)}return l}t.DrawingReader.ReadCT_TextParagraphProperties=us;function fs(e){for(var t,r,o,i,n,a={elementType:2};e.moveToNextAttribute();)t=De(e),"id"!==t&&t!==g||(a[t]=e.readContentAsString());if(3===e.elementType)return a;for(r=e.depth;e.read()&&(o=e.depth,i=e.elementType,o!==r||2!==i);)if(!(o>r+1||2===i))switch(n=Be(e)){case"rPr":a.rPr=is(e);break;case"pPr":a.pPr=us(e);break;case"t":a.t=e.readElementContentAsString()}return a}t.DrawingReader.ReadCT_TextField=fs;function bs(e){var t,r,o,i,n={elementType:0};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),"rPr"===i?n.rPr=is(e):"t"===i&&(n.t=d(e.readElementContentAsString())));return n}t.DrawingReader.ReadCT_RegularTextRun=bs},"./src/xlsx-io/reader/comment-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/excel-types.ts"),i=r("./src/common/common.ts"),n=r("./src/xml-io/node-helper.ts"),a=r("./src/datamodel/excel-style.ts"),l=r("./src/xml-io/xml-parser.ts"),s=r("./src/xlsx-io/common/color-reader.ts"),c=n.XmlNodeHelper.He,d=n.XmlNodeHelper.Ym,u=i.Util.pa;function f(e,t,r,i){var n,a,l,s,c,d;if(e){n=void 0,a=void 0;for(l in e)if("count"!==l&&(s=e[l],s&&(c=s.fileType,c===o.RelationshipConstants._a?n=s:c===o.RelationshipConstants.ab&&(a=s),n&&a)))break;n&&a&&(d=b(n,a,i),r.yg(d,t))}}t.readComments=f;function b(e,t,r){var o=[],i=r(e.fileName);return i&&(g(i,o,l.parseXmlToObject),i=r(t.fileName,!0),p(i,o,l.parseXmlToObject)),o}t.readCommentsFromFile=b;function h(e,t,r){function o(e){return e.row===t&&e.col===r}return e.filter(o)[0]}function p(e,t,r){var o=r(e,!0),n=o.xml,a=c(n["v:shape"]);a&&a.forEach(function(e){var r,o,i,n,a,s,c,f,b=e["x:ClientData"];if(b){if(r=parseInt(d(b,"x:Row"),10),o=parseInt(d(b,"x:Column"),10),isNaN(r)||isNaN(o))return;if(i=h(t,r,o),!i)return;a=e._attr,n=a.fillcolor,n&&(i.backColor=n),n=a.strokecolor,n&&(i.borderColor=n),n=a.strokeweight,n&&(i.borderWidth=n),n=a.style,n&&u(i,n),n=e["v:fill"],n&&(s=n._attr.opacity,s&&("f"===s.substr(-1)?i.opacity=parseFloat(s.substr(0,s.length-1))/65535:i.opacity=parseFloat(s))),n=e["v:stroke"],n&&(i.dashStyle=n._attr.dashstyle,i.lineStyle=n._attr.linestyle),n=e["v:textbox"],n&&(c=n._attr.style,c&&c.indexOf("mso-fit-shape-to-text:t")!==-1&&(i.autoSize=!0),i.inset=n._attr.inset),b["x:SizeWithCells"]&&(i.dynamicSize=!1),b["x:MoveWithCells"]&&(i.dynamicMove=!1),n=d(b,"x:Anchor"),n&&(f=n.split(",").map(function(e){return parseInt(e,10)}),i.anchor=f),n=d(b,"x:Locked"),n&&(i.locked=l(n,!0)),n=d(b,"x:LockText"),n&&(i.lockText=l(n,!0)),n=d(b,"x:TextHAlign"),n&&(i.hAlign=n.toLowerCase()),b["x:Visible"]&&(i.displayMode=1)}});function l(e,t){if(e){var r=e.trim().toLowerCase();if(["false"].indexOf(r)!==-1)return!1;if(["true"].indexOf(r)!==-1)return!0}return t}function s(e,t){var r=(e||"").trim().split(t);return{key:r[0],value:r[1]}}function u(e,t){var r=t.split(";");r.forEach(function(t){var r=s(t,":"),o=r.key,n=r.value;if(!i.J(n))switch(o){case"margin-left":e.marginLeft=m(n);break;case"margin-top":e.marginTop=m(n);break;case"width":e.width=n;break;case"height":e.height=n;break;case"z-index":e.zIndex=parseInt(n,10)}})}}function m(e){var t=96,r=72,o=37.7952755905512;try{return e.indexOf("pt")!==-1?parseFloat(e.replace("pt","")):e.indexOf("in")!==-1?parseFloat(e.replace("in",""))*r:e.indexOf("cm")!==-1?parseFloat(e.replace("cm",""))*o*r/t:parseFloat(e)}catch(e){return 0}}function g(e,t,r){var o,n=r(e),a=n.comments&&n.comments.commentList;a&&(o=c(a.comment),o.forEach(function(e){var r={},o=e._attr.ref;r.row=i.IndexHelper.P(o),r.col=i.IndexHelper.R(o),y(r,e.text),t.push(r)}))}function y(e,t){var r,o,i;t&&(r=void 0,r=c(t.r?t.r:[{t:t.t}]),o=1===r.length,i=[],r.forEach(function(t){var r,n,l,c,u,f=t.rPr;f&&o&&(r=f.rFont&&f.rFont._attr.val,r&&(e.fontFamily=r),n=0,f.u&&(l=f.u&&f.u._attr.val,c=1,l&&(c=a.UnderLineStyle[l]),n|=2===c?8:1),f.strike&&(n|=2),n&&(e.textDecoration=n),f.b&&(e.fontWeight="bold"),f.i&&(e.fontStyle="italic"),r=f.color,r&&(u=s.readColor(r),1===u.colorType()&&81===u.value()||(e.foreColor=u)),r=f.sz&&f.sz._attr.val,r&&(e.fontSize=r+"pt")),i.push(d(t,"t"))}),e.text=u(i.join("")))}},"./src/xlsx-io/reader/conditionalformat-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/range-parser.ts"),i=r("./src/xlsx-io/common/color-reader.ts"),n=r("./src/datamodel/excel-style.ts"),a=r("./src/xml-io/xml-parser.ts"),l=r("./src/common/common.ts"),s=r("./src/xml-io/node-helper.ts"),c=r("./src/xlsx-io/reader/style-reader.ts"),d=r("./src/xml-io/xml-reader.ts"),u=r("./src/common/excel-types.ts"),f=s.XmlNodeHelper.He,b=s.XmlNodeHelper.Ym,h=n.ConverterHelper.convertDxfToStyle,p="x14:conditionalFormattings";function x(e,t,r){return l.Util.pa(b(e,t,r))}function A(e){return e.filter(function(e){return e&&e.formula})}function T(e,t,r){var i,n,l,s,c,d,b,h,p,m,g;if(3!==e.elementType&&(i=a.parseXmlToObject(e.readFullElement()).conditionalFormatting,n={rules:[]},l=[],i._attr.sqref&&(l=o.getRangesFromString(i._attr.sqref)),s=i.cfRule,s&&s.formula&&Array.isArray(s.formula)&&(i.cfRule.formula=A(s.formula)),0!==l.length)){for(c=!1,i._attr.pivot&&(c=!0),d=f(i.cfRule),b=0;b<d.length;b++)h=k(d[b],l,c),h&&n.rules.push(h);for(p=0,m=l.length;p<m&&(g=l[p],g.row+g.rowCount!==u.ExcelConstants.wb&&g.col+g.colCount!==u.ExcelConstants.vb);p++)g.rowCount>0&&(r.Uf=Math.max(r.Uf,g.row+g.rowCount-1)),g.colCount>0&&(r.Tf=Math.max(r.Tf,g.col+g.colCount-1));r.wg(t,n)}}t.readConditionalFormatting=T,m={beginsWith:2,endsWith:2,notContainsText:2,containsText:2,expression:3,containsBlanks:3,notContainsBlanks:3,containsErrors:3,notContainsErrors:3,timePeriod:4,today:4,tomorrow:4,yesterday:4,last7Days:4,lastMonth:4,nextMonth:4,thisWeek:4,nextWeek:4,lastWeek:4,thisMonth:4,top10:5,uniqueValues:6,duplicateValues:7,aboveAverage:8,belowAverage:8,aboveOrEqualToAverage:8,belowOrEqualToAverage:8},g={num:0,min:1,max:2,percent:3,percentile:4,stddev:0,formula:6,autoMin:5,autoMax:7},y={$3Arrows:0,$3ArrowsGray:1,$3Flags:4,$3TrafficLights1:5,$3TrafficLights2:6,$3Signs:7,$3Symbols:8,$3Symbols2:9,$4Arrows:10,$4ArrowsGray:11,$4RedToBlack:12,$4Rating:13,$4TrafficLights:14,$5Arrows:15,$5ArrowsGray:16,$5Rating:17,$5Quarters:18,$3Stars:3,$3Triangles:2,$5Boxes:19,$NoIcons:20},S={num:1,percent:4,formula:7,percentile:5},C={equal:0,notEqual:1,greaterThan:2,greaterThanOrEqual:3,lessThan:4,lessThanOrEqual:5,between:6,notBetween:7};function v(e){return e&&(e=l.Util.pa(e),"="!==e.charAt(0))?"="+e:e}function k(e,t,r){var o,i,n,a,c,d,u,b,h,p={priority:0,ranges:t,pivot:r},S=e._attr;switch(l.J(S.type)||(o=S.type),l.J(S.priority)||(p.priority=s.XmlNodeHelper.Xm(S.priority,0)),o){case"colorScale":i=D(e.colorScale),p.minType=g[i.Zm[0].type],p.minValue=v(i.Zm[0].val),p.minColor=i.$m[0],3===i.Zm.length?(p.ruleType=11,p.midType=g[i.Zm[1].type],p.midValue=v(i.Zm[1].val),p.midColor=i.$m[1],p.maxType=g[i.Zm[2].type],p.maxValue=v(i.Zm[2].val),p.maxColor=i.$m[2]):(p.ruleType=10,p.maxType=g[i.Zm[1].type],p.maxValue=v(i.Zm[1].val),p.maxColor=i.$m[1]);break;case"dataBar":p.ruleType=12,n=e.dataBar,l.J(n._attr.showValue)||(p.showBarOnly=!s.XmlNodeHelper.Vm(n._attr.showValue,!0)),i=D(n),p.minType=g[i.Zm[0].type],p.minValue=v(i.Zm[0].val),p.maxType=g[i.Zm[1].type],p.maxValue=v(i.Zm[1].val),
42
- p.color=i.$m[0];break;case"iconSet":p.ruleType=13,p.iconSetType=y.$3TrafficLights1,a=e.iconSet,c=a._attr,l.J(c.iconSet)||(p.iconSetType=y["$"+c.iconSet]),l.J(c.showValue)||(p.showIconOnly=!s.XmlNodeHelper.Vm(c.showValue,!0)),l.J(c.reverse)||(p.reverseIconOrder=s.XmlNodeHelper.Vm(c.reverse,!1)),p.iconCriteria=R(a);break;case"cellIs":p.ruleType=1,d=e._attr,l.J(d.stopIfTrue)||(p.stopIfTrue=s.XmlNodeHelper.Vm(d.stopIfTrue,!1)),l.J(d.dxfId)||(p.dxfId=s.XmlNodeHelper.Xm(d.dxfId,-1)),l.J(d.operator)||(p.operator=C[d.operator]),u=f(e.formula),p.value1="="+l.Util.pa(u[0].formula),2===u.length&&(p.value2="="+l.Util.pa(u[1].formula));break;default:p.ruleType=m[o],l.J(S.dxfId)||(p.dxfId=s.XmlNodeHelper.Xm(S.dxfId,-1)),l.J(S.aboveAverage)||(p.aboveAverage=s.XmlNodeHelper.Vm(S.aboveAverage,!0),p.aboveAverage||"aboveAverage"!==o||(o="belowAverage")),l.J(S.bottom)||(p.bottom=s.XmlNodeHelper.Vm(S.bottom,!1)),l.J(S.equalAverage)||(b=s.XmlNodeHelper.Vm(S.equalAverage,!1),b&&("aboveAverage"===o&&(o="aboveOrEqualToAverage"),"belowAverage"===o&&(o="belowOrEqualToAverage"))),l.J(S.operator)||(p.operator=S.operator),l.J(S.percent)||(p.percent=s.XmlNodeHelper.Vm(S.percent,!1)),l.J(S.rank)||(p.rank=s.XmlNodeHelper.Xm(S.rank,0)),l.J(S.stdDev)||(p.stdDev=s.XmlNodeHelper.Xm(S.stdDev,0)),l.J(S.stopIfTrue)||(p.stopIfTrue=s.XmlNodeHelper.Vm(S.stopIfTrue,!1)),l.J(S.text)||(p.text=l.Util.pa(S.text)),l.J(S.timePeriod)||(o=S.timePeriod),h=e.formula,l.J(h)||(Array.isArray(h)&&(e.formula=h[0]),p.formula=l.processFunction(x(e,"formula"))),p=F(p,o)}return e.extLst&&e.extLst.ext&&e.extLst.ext["x14:id"]&&(p.id=x(e.extLst.ext,"x14:id")),p}function F(e,t){var r,o,i,n,a,s,c;switch(t){case"expression":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return e;case"top10":return r=e.ranges[0],o={ruleType:e.ruleType,dxfId:e.dxfId,rank:e.rank,stopIfTrue:e.stopIfTrue,priority:e.priority,ranges:e.ranges,pivot:e.pivot},o.type=0,e.bottom&&(o.type=1),e.percent&&(i=Math.floor(r.rowCount*r.colCount*e.rank/100),0===i&&(i=1),o.rank=i),o;case"uniqueValues":case"duplicateValues":return e;case"containsText":return e.operator=0,e;case"aboveAverage":case"belowAverage":case"aboveOrEqualToAverage":case"belowOrEqualToAverage":return n=0,a=!0,"belowAverage"===t&&(a=!1,n=1),"belowOrEqualToAverage"===t&&(a=!1,n=3),"aboveOrEqualToAverage"===t&&(n=2),l.J(e.stdDev)||(s=e.stdDev,a?1===s?n=4:2===s?n=6:3===s&&(n=8):1===s?n=5:2===s?n=7:3===s&&(n=9)),e.type=n,e;case"beginsWith":return e.operator=2,e;case"endsWith":return e.operator=3,e;case"notContainsText":return e.operator=1,e;case"timePeriod":case"today":case"tomorrow":case"yesterday":case"last7Days":case"lastMonth":case"nextMonth":case"thisWeek":case"nextWeek":case"lastWeek":case"thisMonth":return c={today:0,yesterday:1,tomorrow:2,last7Days:3,thisMonth:4,lastMonth:5,nextMonth:6,thisWeek:7,lastWeek:8,nextWeek:9},e.type=0,c[t]&&(e.type=c[t]),e;default:return e}}function R(e){var t,r,o=[],i=D(e);for(t=1;t<i.Zm.length;t++)r={isGreaterThanOrEqualTo:!0},i.Zm[t].gte===!1&&(r.isGreaterThanOrEqualTo=i.Zm[t].gte),r.iconValueType=S[i.Zm[t].type],r.iconValue=v(i.Zm[t].val),o.push(r);return o}function E(e){var t,r,o=[],i=D(e);for(t=0;t<i._m.length;t++)r={},r.iconSetType=i._m[t].iconSetType,r.iconIndex=i._m[t].iconIndex,o.push(r);return o}function I(e){var t={};return l.J(e._attr.type)||(t.type=e._attr.type),l.J(e._attr.val)||(t.val=l.Util.pa(e._attr.val)),l.J(e._attr.gte)||(t.gte=s.XmlNodeHelper.Vm(e._attr.gte,!0)),e["xm:f"]&&(t.val=l.processFunction(x(e,"xm:f"))),t}function L(e){var t={};return l.J(e._attr.iconSet)||(t.iconSetType=y["$"+e._attr.iconSet]),l.J(e._attr.iconId)||(t.iconIndex=parseInt(e._attr.iconId,10)),t}function D(e){var t,r,o,a,l,s={Zm:[],$m:[],_m:[]},c=f(e.cfvo||e["x14:cfvo"]),d=f(e["x14:cfIcon"]);for(t=0;t<c.length;t++)r=I(c[t]),s.Zm.push(r);for(t=0;t<d.length;t++)o=L(d[t]),s._m.push(o);if(e.color)for(a=f(e.color||e["x14:color"]),l=0;l<a.length;l++)s.$m.push(n.ColorHelper.toRGBColor(i.readColor(a[l])));return s}function B(e,t,r){var i,n,s,c,d,u,b,h,m,g,y,S,C=a.parseXmlToObject(e.readFullElement()).ext;if(C[p]&&C[p]["x14:conditionalFormatting"])for(s=f(C[p]["x14:conditionalFormatting"]),c=0;c<s.length;c++)for(d=s[c],u=!1,d._attr.pivot&&(u=!0),b=f(d["x14:cfRule"]),h=0;h<b.length;h++)m=b[h],g=m._attr,l.J(g.type)||(i=g.type),n=g.id,y=P(r,t,n),g.priority&&(y.priority=+g.priority),u&&(y.pivot=u),"dataBar"===i?(y.ruleType=12,M(m["x14:dataBar"],y)):"iconSet"===i?(y.ruleType=13,O(m["x14:iconSet"],y)):"expression"===i?(y.ruleType=3,N(m,y,r)):"cellIs"===i?(y.ruleType=1,W(m,y,r)):"containsText"===i&&(y.ruleType=2,_(m,y,r)),d["xm:sqref"]&&(S=o.getRangesFromString(x(d,"xm:sqref")),y&&(y.ranges=S))}t.readExtensionConditionalFormating=B;function P(e,t,r){var o,i,n,a=e.xg(t);if(a||(a={rules:[]}),!l.J(r)&&(o=a.rules,o&&o.length>0))for(i=0;i<o.length;i++)if(o[i].id===r)return o[i];return n={},e.wg(t,{rules:[n]}),n}w={automatic:0,middle:1,none:2};function W(e,t,r){var o,i,n,u,b=e._attr;l.J(b.stopIfTrue)||(t.stopIfTrue=s.XmlNodeHelper.Vm(b.stopIfTrue,!1)),l.J(b.operator)||(t.operator=C[b.operator]),o=f(e["xm:f"]),t.value1="="+l.Util.pa(l.processFunction(o[0]["xm:f"])),2===o.length&&(t.value2="="+l.Util.pa(l.processFunction(o[1]["xm:f"]))),i=a.convertObjectToXml(e["x14:dxf"],"x14:dxf"),n=new d.XmlReader,n.setXml(i),n.read(),u=c.readDifferentialFormattingRecord(n),t.style=h(u,r.ff,r.gf)}function _(e,t,r){var o,i,n,u,b=e._attr;l.J(b.stopIfTrue)||(t.stopIfTrue=s.XmlNodeHelper.Vm(b.stopIfTrue,!1)),l.J(b.operator)||(t.operator=C[b.operator]),o=f(e["xm:f"]),t.formula="="+l.Util.pa(l.processFunction(o[0]["xm:f"])),2===o.length&&(t.text="="+l.Util.pa(l.processFunction(o[1]["xm:f"]))),i=a.convertObjectToXml(e["x14:dxf"],"x14:dxf"),n=new d.XmlReader,n.setXml(i),n.read(),u=c.readDifferentialFormattingRecord(n),t.style=h(u,r.ff,r.gf)}function N(e,t,r){var o,i,n;t.formula=v(l.processFunction(x(e,"xm:f"))),o=a.convertObjectToXml(e["x14:dxf"],"x14:dxf"),i=new d.XmlReader,i.setXml(o),i.read(),n=c.readDifferentialFormattingRecord(i),t.style=h(n,r.ff,r.gf)}function M(e,t){var r,o=e._attr;l.J(o.showValue)||(t.showBarOnly=!s.XmlNodeHelper.Vm(o.showValue,!0)),l.J(o.border)||(t.showBorder=s.XmlNodeHelper.Vm(o.border,!1)),l.J(o.gradient)||(t.gradient=s.XmlNodeHelper.Vm(o.gradient,!0)),l.J(o.direction)||(t.dataBarDirection="rightToLeft"===o.direction?1:0),l.J(o.axisPosition)||(t.axisPosition=w[o.axisPosition]),l.J(o.negativeBarColorSameAsPositive)||(t.useNegativeFillColor=!s.XmlNodeHelper.Vm(o.negativeBarColorSameAsPositive,!1)),l.J(o.negativeBarBorderColorSameAsPositive)||(t.useNegativeBorderColor=!s.XmlNodeHelper.Vm(o.negativeBarBorderColorSameAsPositive,!0)),r=[],e["x14:cfvo"]&&f(e["x14:cfvo"]).forEach(function(e){r.push(I(e))}),e["x14:fillColor"]&&(t.color=n.ColorHelper.toRGBColor(i.readColor(e["x14:fillColor"]))),e["x14:borderColor"]&&(t.borderColor=n.ColorHelper.toRGBColor(i.readColor(e["x14:borderColor"]))),e["x14:negativeFillColor"]&&(t.negativeFillColor=n.ColorHelper.toRGBColor(i.readColor(e["x14:negativeFillColor"]))),e["x14:negativeBorderColor"]&&(t.negativeBorderColor=n.ColorHelper.toRGBColor(i.readColor(e["x14:negativeBorderColor"]))),e["x14:axisColor"]&&(t.axisColor=n.ColorHelper.toRGBColor(i.readColor(e["x14:axisColor"]))),2===r.length&&(t.minType=g[r[0].type],t.minValue=v(r[0].val),t.maxType=g[r[1].type],t.maxValue=v(r[1].val))}t.readExtensionDataBarRule=M;function O(e,t){var r=e._attr;l.J(r.iconSet)||(t.iconSetType=y["$"+r.iconSet]),l.J(r.showValue)||(t.showIconOnly=!s.XmlNodeHelper.Vm(r.showValue,!0)),l.J(r.reverse)||(t.reverseIconOrder=s.XmlNodeHelper.Vm(r.reverse,!1)),t.iconCriteria=R(e),t.icons=E(e)}t.readExtensionIconSetRule=O},"./src/xlsx-io/reader/control-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/excel-types.ts"),i=r("./src/xml-io/xml-parser.ts"),n=r("./src/common/common.ts"),a=r("./src/xml-io/node-helper.ts"),l=a.XmlNodeHelper.He;function s(e,t){var r=i.parseXmlToObject(e.readFullElement()).legacyDrawing;r&&(t.an=r._attr["r:id"])}t.readLegacyDrawing=s;function c(e,t,r,n){var a,s,c,b;e&&r.an&&(a=e[r.an],a&&a.fileType===o.RelationshipConstants.ab&&(s=n(a.fileName,!0),s=s.replace(/<br>(?!<\/br>)/g,"<br/>"),c=i.parseXmlToObject(s).xml,b=l(c["v:shape"]),b.forEach(function(e){var o=d(e,t,r);o&&(f(e,o),u(o))})),r.an="")}t.readControlVmlDrawing=c;function d(e,t,r){var o=e._attr["o:spid"]||e._attr.id;if(!n.isNullOrUndefined(o))return r.Ig(t,o)}function u(e){var t,r,o=e&&e.nvSpPr&&e.nvSpPr.cNvPr,i=o&&o.extLst&&o.extLst.ext||[];for(t=0;t<i.length;t++)if(r=i[t],r.compatExt)return void i.splice(t,1)}function f(e,t){var r=t.control,o=function(e){for(var t in e)n.isNullOrUndefined(r.props[t])&&(r.props[t]=e[t])};o(b(e)),r.visible=h(e),r.disabled=p(e),t.nvSpPr.cNvPr.hidden=!r.visible}function b(e){var t,r,o=e["x:ClientData"],i=o._attr.ObjectType,n={objectType:i},a=["x:ClientData","x:Anchor","x:SizeWidthCells"],l=function(e){return a.indexOf(e)===-1};for(t in o)t.length>=3&&"x:"===t.slice(0,2)&&l(t)&&(r=m(t),n[r]=o[t][t]);return n}function h(e){var t=e._attr.style;return t.indexOf("visibility:hidden")===-1}function p(e){return!!e["x:ClientData"]["x:Disabled"]}function m(e){return g(e.substring(2))}function g(e){return e.substring(0,1).toLowerCase()+e.substring(1)}},"./src/xlsx-io/reader/ctrlprops-reader.ts":function(e,t,r){"use strict";var o,i;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/excel-types.ts"),i=r("./src/xml-io/xml-parser.ts");function n(e,t,r){var n,l,s,c=t[e];if((c.fileType===o.RelationshipConstants.bb||c.fileType===o.RelationshipConstants.cb)&&(n=r(c.fileName),l=i.parseXmlToObject(n).formControlPr,a(l)))return s=l._attr,delete s.xmlns,s}t.readCtrlProps=n;function a(e){var t=e&&e._attr;return t&&"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"===t.xmlns}},"./src/xlsx-io/reader/datavalidation-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/xml-io/xml-parser.ts"),n=r("./src/xml-io/node-helper.ts"),a=r("./src/common/range-parser.ts"),l=n.XmlNodeHelper.Vm,s=o.Util.pa;function f(e,t,r){return s(n.XmlNodeHelper.Ym(e,t,r))}c={none:0,whole:1,decimal:2,list:3,date:4,time:5,textLength:6,custom:7},d={stop:0,warning:1,information:2},u={between:6,notBetween:7,equal:0,notEqual:1,greaterThan:2,lessThan:4,greaterThanOrEqual:3,lessThanOrEqual:5};function b(e,t,r){var o,i,n,a,l,s=t.Ne,c=s.sheets&&s.sheets[e];for(o=0,i=r.length;o<i;o++)n=r[o],a=c.rowCount,l=c.columnCount,n.row+n.rowCount>a&&(c.rowCount=n.row+n.rowCount),n.col+n.colCount>l&&(c.columnCount=n.col+n.colCount)}function h(e,t,r,i){var n,h,p,m,g,y,S,C;o.isNullOrUndefined(e)||o.isNullOrUndefined(t)||(n=e._attr,h={type:c[n.type]||0,errorType:d[n.errorStyle]||0,compareOperator:o.isNullOrUndefined(u[n.operator])?6:u[n.operator],allowBlank:l(n.allowBlank,!1),showPromptBox:!l(n.showDropDown,!1),showInputMessage:l(n.showInputMessage,!1),showErrorMessage:l(n.showErrorMessage,!1),errorTitle:s(n.errorTitle),error:s(n.error),promptTitle:s(n.promptTitle),prompt:s(n.prompt)},h.error=o.Util.wa(h.error),h.prompt=o.Util.wa(h.prompt),i?(p=f(e,"xm:sqref"),y=e["x14:formula1"],S=e["x14:formula2"],y&&(m=o.processFunction(f(y,"xm:f"))),S&&(g=o.processFunction(f(S,"xm:f")))):(p=n.sqref,m=o.processFunction(f(e,"formula1")),g=o.processFunction(f(e,"formula2"))),C=a.getRangesFromString(p),h.firstFormula=m,h.secondFormula=g,h.ranges=C,b(t,r,C),r.Qg(t,h))}function p(e,t,r){var o,a,l=i.parseXmlToObject(e.readFullElement()).dataValidations,s=n.XmlNodeHelper.He(l.dataValidation);for(o=s.length-1;o>=0;o--)a=s[o],h(a,t,r)}t.readDataValidations=p;function m(e,t,r){var o,a,l=i.parseXmlToObject(e.readFullElement()).ext,s=l["x14:dataValidations"],c=n.XmlNodeHelper.He(s["x14:dataValidation"]);for(o=c.length-1;o>=0;o--)a=c[o],h(a,t,r,!0)}t.readExtensionDataValidation=m},"./src/xlsx-io/reader/docpropsapp-reader.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r("./src/xml-io/xml-reader.ts");function i(e,t){var r,i=new o.XmlReader;for(i.setXml(e);i.read();)if(1===i.depth&&2!==i.elementType)switch(r=i.name()){case"HeadingPairs":a(i,t,r);break;case"TitlesOfParts":l(i,t,r);break;default:n(i,t,r)}}t.readDocPropsAppFile=i;function n(e,t,r){if(1===e.nodeType()){var o=e.readElementContentAsString(!0);t.gh(r,o)}}function a(e,t,r){var o,i,n,a,l,c;if(3!==e.elementType){for(o={},i=[],n=e.depth;e.read()&&!(e.depth<=n);)if(1===e.nodeType()&&"vt:vector"===e.name()){if(s(e,o),3===e.elementType)continue;for(a=e.depth;e.read()&&!(e.depth<=a);)if(1===e.nodeType()){if(3===e.elementType)continue;for(l=e.depth;e.read()&&!(e.depth<=l);)1===e.nodeType()&&(c={},c.elementType=e.name(),c.value=e.readElementContentAsString(!0),i.push(c));o.workbookInfoArray=i}}t.gh(r,o)}}function l(e,t,r){var o,i,n,a,l;if(3!==e.elementType){for(o={},i=[],n=e.depth;e.read()&&!(e.depth<=n);)if(1===e.nodeType()&&"vt:vector"===e.name()){if(s(e,o),3===e.elementType)continue;for(a=e.depth;e.read()&&!(e.depth<=a);)1===e.nodeType()&&(l=e.readElementContentAsString(!0),i.push(l));o.sheetsNameArray=i}t.gh(r,o)}}function s(e,t){for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"size":t.size=e.readContentAsInt(1);break;case"baseType":t.baseType=e.readContentAsString()}}},"./src/xlsx-io/reader/docpropscore-reader.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r("./src/xml-io/xml-reader.ts");function i(e,t){var r,i=new o.XmlReader;for(i.setXml(e);i.read();)1===i.depth&&2!==i.elementType&&(r=i.name(),r.indexOf(":")!==-1&&(r=i.name().split(":")[1]),n(i,t,r))}t.readDocPropsCoreFile=i;function n(e,t,r){if(1===e.nodeType()){var o=e.readElementContentAsString(!0);t.fh(r,o)}}},"./src/xlsx-io/reader/docpropscustom-reader.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r("./src/xml-io/xml-reader.ts");function i(e,t){var r,i=new o.XmlReader;for(i.setXml(e),r=[];i.read();)1===i.depth&&2!==i.elementType&&n(i,r);t.hh(r)}t.readDocPropsCustomFile=i;function n(e,t){var r,o,i,n,a;if(3!==e.elementType&&1===e.nodeType()&&"property"===e.name()){for(r={};e.moveToNextAttribute();)o=e.readAttributeNameAsString(),i=e.readContentAsString(),r[o]=i;for(n=e.depth;e.read()&&!(e.depth<=n);)1===e.nodeType()&&(a={},o=e.name(),i=e.readElementContentAsString(!0),a[o]=i,r.propertyItemChildElement=a);t.push(r)}}},"./src/xlsx-io/reader/drawing-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/excel-types.ts"),n=r("./src/xml-io/node-helper.ts"),a=r("./src/xml-io/xml-parser.ts"),l=r("./src/datamodel/excel-style.ts"),s=r("./src/datamodel/excel-helper.ts"),c=r("./src/xml-io/xml-reader.ts"),d=r("./src/xlsx-io/reader/chart-reader.ts"),u=n.XmlNodeHelper.He,f=n.XmlNodeHelper.bn,b=n.XmlNodeHelper.cn,h=n.XmlNodeHelper.dn,p=o.Util.ya,m=r("./src/datamodel/chart-model.ts");function y(e,t,r,o){var n,a,l,s,c,d;if(e){n=[];for(a in e)"count"!==a&&(l=e[a],l&&(s=l.fileType,s!==i.RelationshipConstants.eb&&s!==i.RelationshipConstants.fb||n.push(l)));n.length&&(c={names:r.Ne.names||[]},d=S(n,o,c),r.Ag(d,t))}}t.readDrawings=y;function S(e,t,r){var o={},n;return e.forEach(function(e){var a,l,s,c,d=e.relationFiles;if(d)for(a in d)"count"!==a&&(l=d[a],l&&(s=l.fileType,s!==i.RelationshipConstants.hb&&s!==i.RelationshipConstants.ib&&s!==i.RelationshipConstants.lb&&s!==i.RelationshipConstants.mb&&s!==i.RelationshipConstants.nb&&s!==i.RelationshipConstants.gb||(o[a]=l)));c=t(e.fileName,!0),c&&(n=T(c,o,t,r))}),n}function C(e,t,r){var o,i,n,a,l,c=e&&e.blipFill&&e.blipFill.blip&&e.blipFill.blip.embed;c&&(o=t[c],o&&(i=o.fileName,n=i.lastIndexOf("."),n>=0&&(a=s.getImageContent(i,r),a&&(l=e.blipFill.blip.blipBlob={},l.blob=a,l.type=i.substr(n+1)))))}g=function(){function e(e){var t=e.off,r=e.ext,o=r.cx,i=r.cy;this.left=t.x,this.top=t.y,this.right=this.left+o,this.bottom=this.top+i}return e}();function w(){this.cache={},this.get=function(e,t){var r=this.cache[e];return!r&&t&&(r=this.cache[e]=new g(t)),r}}function x(e,t){return e.left>=t.left&&e.top>=t.top&&e.right<=t.right&&e.bottom<=t.bottom}function A(e,t,r){var o,i,n,a,l=r.get(t,e[t].pic.spPr.xfrm);if(l)for(o=0;o<t;o++)i=e[o],i.pic||i.hidden||(n=s.getXFrm(i),n&&(a=r.get(o,n),a&&x(a,l)&&(i.hidden=!0)))}function T(e,t,r,o){var i,n,l,s,c,d,u=a.parseXmlToObject(e,!0),f=u["xdr:wsDr"],b={};return f&&(i=k(f,t,r),i.length>0&&(b.pictures=i),n=D(e,t),l=n&&n.AnchorBaseList,s=F(l,t,r,o),s.length>0&&(b.charts=s),c=L(l,t,r),c.length>0&&(b.shapes=c),d=new w,l.forEach(function(e,t){var r=e.pic;r&&!r.nvPicPr.cNvPr.hidden&&A(l,t,d)})),b}function v(e,t,r,o){var i={};return X(r,t["xdr:pic"],i,o),j(t["xdr:clientData"],i),i.src&&e.push(i),i}function k(e,t,r){var o,i,n;return e?(o=[],n=u(e["xdr:oneCellAnchor"]),n.forEach(function(e){if(e&&e["xdr:pic"]){var n={startPoint:h(e["xdr:from"])};b(e["xdr:ext"],n),i=v(o,e,t,r),n.anchorType=1,i.anchor=n}}),n=u(e["xdr:twoCellAnchor"]),n.forEach(function(e){var n,a;e&&e["xdr:pic"]&&(n={startPoint:h(e["xdr:from"]),endPoint:h(e["xdr:to"])},a=e._attr.editAs,a&&(n.editAs=m.Charts.ST_EditAs[a]),i=v(o,e,t,r),n.anchorType=0,i.anchor=n)}),n=u(e["xdr:absoluteAnchor"]),n.forEach(function(e){if(e&&e["xdr:pic"]){var n={};f(e["xdr:pos"],n),b(e["xdr:ext"],n),i=v(o,e,t,r),n.anchorType=2,i.anchor=n}}),o):[]}function F(e,t,r,o){var i=[];return e&&e.length>0&&e.forEach(function(e){var n,a,l=e.AlternateContent;return e.grpSp?void E(e.grpSp,i,e,t,r,o):(n=p(l)?l.Choice.GraphicalObjectFrame:e.graphicFrame,a=n&&n.graphic&&n.graphic.graphicData&&n.graphic.graphicData.chart&&n.graphic.graphicData.chart.id,void(a&&R(i,e,a,t,r,o)))}),i}function R(e,t,r,o,n,a){var l,s,c,d,u,f,b=o[r],h=B(b,n,a);if(h){l={},s=b.relationFiles;for(c in s)"count"!==c&&(d=s[c],d&&(u=d.fileType,u!==i.RelationshipConstants.ob&&u!==i.RelationshipConstants.hb||(l[c]=d)));f=_(h.userShapes,l,n),f&&(h.userShapes=f),G(h,l,n),t.chartSpace=h,e.push(t)}}function E(e,t,r,o,i,n){var a=e&&e.sp||[];a.forEach(function(a){if(3===a.shapeType)I(e.grpSpPr.xfrm,a.grpSpPr.xfrm),E(a,t,r,o,i,n);else if(2===a.shapeType&&a.nvGraphicFramePr){var l=a.graphic&&a.graphic.graphicData&&a.graphic.graphicData.chart&&a.graphic.graphicData.chart.id;l&&(R(t,a,l,o,i,n),I(e.grpSpPr.xfrm,a.xfrm))}})}function I(e,t){var r,o=t.off,i=t.ext,n=(o.x-e.chOff.x)/(e.chExt.cx||1)*e.ext.cx;t.off.x=e.off.x+n,r=(o.y-e.chOff.y)/(e.chExt.cy||1)*e.ext.cy,t.off.y=e.off.y+r,t.ext.cx=i.cx/(e.chExt.cx||1)*e.ext.cx,t.ext.cy=i.cy/(e.chExt.cy||1)*e.ext.cy}function L(e,t,r){var o=[];return e&&e.length>0&&e.forEach(function(e){(e.sp||e.cxnSp||e.grpSp||e.pic)&&(U(e,t,r),o.push(e))}),o}function D(e,t){var r=new c.XmlReader;for(r.relationFiles=t,r.reset(),r.setXml(e),r.keepRootNamespace=!0;r.read();)if(0===r.depth&&2!==r.elementType&&"xdr:wsDr"===r.name())return d.DrawingReader.ReadCT_Drawing(r);return null}function B(e,t,r){var o,n,a,l,s,u,f,b,h,p;if(!e)return null;for(o=e.fileName,n=t(o,!0),a=new c.XmlReader,a.reset(),a.setXml(n),a.keepRootNamespace=!0;a.read();)if(0===a.depth&&2!==a.elementType){if("c:chartSpace"===a.name()){l=d.DrawingReader.ReadCT_ChartSpace(a),s=!1;break}if("cx:chartSpace"===a.name()){u=r&&r.names?r.names:[],l=d.DrawingReader.Chart2016Reader.ReadCT_ChartSpace(a,u),s=!0;break}}if(s){f=e.relationFiles;for(b in f)"count"!==b&&(h=f[b],p=h&&h.fileType,p===i.RelationshipConstants.qb?l.style=P(h,t):p===i.RelationshipConstants.pb&&(l.colors=W(h,t)))}return l}function P(e,t){var r=t(e.fileName,!0),o=new c.XmlReader;for(o.reset(),o.setXml(r);o.read();)if(0===o.depth&&2!==o.elementType)return d.DrawingReader.Chart2016Reader.ReadCT_ChartStyle(o)}function W(e,t){var r=t(e.fileName,!0),o=new c.XmlReader;for(o.reset(),o.setXml(r);o.read();)if(0===o.depth&&2!==o.elementType)return d.DrawingReader.Chart2016Reader.ReadCT_chartColors(o)}function _(e,t,r){var o,n,a,l,s,c,d;if(!e||!e.id)return null;o=t[e.id],n={},a=o.relationFiles;for(l in a)"count"!==l&&(s=a[l],s&&(c=s.fileType,c!==i.RelationshipConstants.hb&&c!==i.RelationshipConstants.lb||(n[l]=s)));return d=M(o,r),d&&d.length>0?d.map(function(e){return e.pic?H(e,n,r):e.graphicFrame&&O(e,n,r),e}):void 0}function N(e){var t,r,o=e&&e["c:userShapes"];if(o){if(t=o["cdr:absSizeAnchor"],r=o["cdr:relSizeAnchor"],t)return t["cdr:pic"]&&t["cdr:pic"]["cdr:spPr"];if(r)return r["cdr:pic"]&&r["cdr:pic"]["cdr:spPr"]}return null}function M(e,t){var r,o,i,n,l;if(!e)return null;for(r=e.fileName,o=t(r,!0),i=new c.XmlReader,i.reset(),i.setXml(o),i.keepRootNamespace=!0;i.read();)if(0===i.depth&&2!==i.elementType&&"c:userShapes"===i.name()&&(n=d.DrawingReader.ReadCT_ChartDrawing(i)))return l=n.relSizeAnchor.concat(n.absSizeAnchor),l.forEach(function(e){if(e.pic){var t=a.parseXmlToObject(o);e.pictureStyleInfo=N(t)}}),l;return null}function O(e,t,r){var o=e.graphicFrame.graphic&&e.graphicFrame.graphic.graphicData&&e.graphicFrame.graphic.graphicData.chart&&e.graphicFrame.graphic.graphicData.chart.id,i=t[o];i&&(e.chartSpace=B(i,r))}function H(e,t,r){C(e.pic,t,r);var o=e.pictureStyleInfo;o&&(e.pictureFormat=le(o),delete e.pictureStyleInfo)}function G(e,t,r){var o=e.chart.plotArea;o&&o.chartGroups&&o.chartGroups.forEach(function(e){e&&e.ser&&e.ser.forEach(function(e){e.spPr&&C(e.spPr,t,r),e.dLbls&&e.dLbls.spPr&&C(e.dLbls.spPr,t,r)})}),o&&o.spPr&&C(o.spPr,t,r),e.spPr&&C(e.spPr,t,r)}function U(e,t,r){e.sp&&e.sp.spPr?C(e.sp.spPr,t,r):e.pic?(C(e.pic,t,r),C(e.pic.spPr,t,r)):e.grpSp&&(e.grpSp.sp&&J(e.grpSp.sp,t,r),e.grpSp.grpSpPr&&C(e.grpSp.grpSpPr,t,r))}function J(e,t,r){e.forEach(function(e){e.spPr&&C(e.spPr,t,r),e.blipFill&&C(e,t,r),3===e.shapeType&&e.sp&&J(e.sp,t,r)})}function z(e){var t=e.ln;t&&t.solidFill&&t.solidFill.schemeClr&&void 0===t.solidFill.schemeClr.tint}function V(e){e.sp&&e.sp.spPr?z(e.sp.spPr):e.grpSp&&(e.grpSp.sp&&e.grpSp.sp.forEach(function(e){e.spPr&&z(e.spPr)}),e.grpSp.grpSpPr&&z(e.grpSp.grpSpPr))}function j(e,t){e&&(t.locked=n.XmlNodeHelper.Vm(e._attr.fLocksWithSheet,!0))}function X(e,t,r,o){var i,a,l,c,u,f,b,h,p,m,g,y,S,C,w,x,A;if(t){if(i=t["xdr:nvPicPr"],i&&(a=i["xdr:cNvPr"],r.name=a&&a._attr.name,r.descr=a&&a._attr.descr,r.isVisible=!n.XmlNodeHelper.Vm(a&&a._attr.hidden,!1)),i=t["xdr:blipFill"]){l=i["a:blip"],c=l&&l._attr["r:embed"],u=l&&l["a:extLst"]&&l["a:extLst"]["a:ext"],u instanceof Array||(u=[u]);for(f in u)u.hasOwnProperty(f)&&(b=u[f]&&u[f]["asvg:svgBlip"],b&&(c=b._attr["r:embed"]));c&&(h=e[c],h&&(p=s.getImageContent(h.fileName,o),p&&(r.src=p))),m=i["a:srcRect"],g=m&&m._attr,g&&(y=+g.l||0,S=+g.t||0,C=+g.r||0,w=+g.b||0,(y||S||C||w)&&(r.srcRect={l:y,t:S,r:C,b:w}))}i=t["xdr:spPr"],i&&(r.pictureFormat=le(i),x=i["a:xfrm"],x&&(A=parseInt(x._attr.rot,10),A&&(r.rot=d.DrawingReader.getRotationDegree(A))))}}function K(e){var t,r,o,i;if(e)return t={},r=e._attr,o=parseInt(r.w||"0",10),t.width=l.UnitHelper.emuToPixles(o),t.compoundLineType=r.compd||"sng",t.lineEndingCap=r.cap||"sq",t.penAlignment=r.align||"ctr",t.fillFormat=q(e),t.headLineEndStyle=$(e["a:headEnd"]),t.tailLineEndStyle=$(e["a:tailEnd"]),e["a:bevel"]&&(t.joinType="bevel"),e["a:miter"]&&(t.joinType="miter"),e["a:round"]&&(t.joinType="round"),i=e["a:prstDash"],t.lineDashType=i&&i._attr.val||"solid",t}function q(e){var t=e["a:solidFill"];return t?Y(t):(t=e["a:pattFill"])?ee(t):(t=e["a:noFill"])?te():(t=e["a:gradFill"])?re(t):(t=e["a:blipFill"],t?ie(t):void 0)}function Y(e){var t={},r=Z(e,t);return{fillFormatType:1,color:r,drawingColorSettings:t}}function Q(e,t,r){r.forEach(function(r){var o=t["a:"+r];o&&(e[r]=parseInt(o._attr.val||"0",10))})}function Z(e,t){var r,o,i,n,a,s,c,d,u,f,b,h=e["a:schemeClr"];return h&&(r=(h._attr.val||"").toUpperCase(),Q(t,h,["alpha","shade","tint","hue","hueOff","hueMod","sat","satOff","satMod","lum","lumOff","lumMod"]),r)?new l.ExcelColor(3,l.ColorHelper.toColorSchemeIndex(r),0):(h=e["a:hslClr"])?(i=h._attr,n=parseInt(i.hue||"0",10),a=parseInt(i.sat||"0",10),s=parseInt(i.lum||"0",10),Q(t,h,["alpha","shade","tint"]),l.ColorHelper.fromColorToExcelColor(l.ColorHelper.convertHLSToRGB(n,s,a))):(h=e["a:prstClr"],h&&(r=h._attr.val||"",Q(t,h,["alpha","shade","tint"]),r)?l.ColorHelper.fromColorToExcelColor(l.ColorHelper.fromPresetColorVal(r)):(h=e["a:scrgbClr"])?(i=h._attr,c=parseInt(i.r||"0",10),d=parseInt(i.g||"0",10),u=parseInt(i.b||"0",10),Q(t,h,["alpha","shade","tint"]),l.ColorHelper.fromColorToExcelColor(new l.lk(255,l.ColorHelper.scRgbTosRgb(c),l.ColorHelper.scRgbTosRgb(d),l.ColorHelper.scRgbTosRgb(u)))):(h=e["a:srgbClr"],h&&(o=h._attr.val,Q(t,h,["alpha","shade","tint"]),o&&(r=parseInt(o,16),!isNaN(r)))?new l.ExcelColor(2,r,0):(h=e["a:sysClr"],h&&(f=h._attr.val,b=l.ExcelSystemColor.getSystemColor(f),Q(t,h,["alpha","shade","tint","lumMode"]),b)?l.ColorHelper.fromColorToExcelColor(b):null)))}function $(e){if(e){var t=e._attr;return{length:t.len||"lg",type:t.type||"none",width:t.w||"lg"}}}function ee(e){var t,r,o,i,n=e._attr.prst||"pct5",a=e["a:bgClr"];return a&&(t={},r=Z(a,t)),a=e["a:fgClr"],a&&(o={},i=Z(a,o)),{fillFormatType:4,fillPattern:n,backgroundDrawingColorSettings:t,backgroundColor:r,foregroundDrawingColorSettings:o,foregroundColor:i}}function te(){return{fillFormatType:0}}function re(e){var t,r=[],o=e._attr,i={fillFomatType:2,gradientStops:r};return i.flipMode=o.flip||"none",i.rotateWithShape=n.XmlNodeHelper.Vm(o.rotWithShape,!1),t=e["a:gsLst"],t&&u(t["a:gs"]).forEach(function(e){r.push(oe(e))}),t=e["a:lin"],t&&(i.gradientFillType="linear",i.angle=parseFloat(t._attr.ang||"0")/6e4,i.scaled=n.XmlNodeHelper.Vm(t._attr.scaled,!1)),t=e["a:path"],t&&(i.gradientFillType=t._attr.path||"shape",i.fillToRect=ae(t["a:fillToRect"])),i.tileRect=ae(e["a:tileRect"]),i}function oe(e){var t={},r=Z(e,t),o=parseFloat(e._attr.pos||"100000")/1e5;return{position:o,color:r,drawingColorSettings:t}}function ie(e){var t,r,o={transparency:1};return o.rotateWithShape=n.XmlNodeHelper.Vm(e._attr.rotWithShape,!1),t=e["a:blip"],t&&(o.imageID=t._attr["r:embed"],r=t["a:alphaModFix"],r&&(o.transparency=1-parseFloat(r._attr.amt||"0")/1e5)),t=e["a:tile"],t&&(o.tile=ne(t)),t=e["a:stretch"],t&&(o.stretch=ae(t["a:fillRect"])),o}function ne(e){var t=e._attr,r=t.sx,o=t.sy,i=t.tx,n=t.ty;return{alignment:t.algn||"tl",flipping:t.flip||"none",horizontalRatio:r&&parseFloat(r)/1e5||1,verticalRatio:o&&parseFloat(o)/1e5||1,horizontalOffset:i&&parseFloat(i)/1e5||0,verticalOffset:n&&parseFloat(n)/1e5||0}}function ae(e){if(e){var t=e._attr;return[t.l,t.t,t.r,t.b].map(function(e){return parseFloat(e||"0")/1e5})}}function le(e){var t,r={};return r.lineFormat=K(e["a:ln"]),t=q(e),t&&(r.fillFormat=t),r}},"./src/xlsx-io/reader/externallink-reader.ts":function(e,t,r){"use strict";var o,i,n;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/xml-io/xml-reader.ts"),n=null;function a(e){var t,r=new i.XmlReader;for(r.setXml(e),t={data:{}};r.read();)1===r.depth&&2!==r.elementType&&"externalBook"===r.name()&&l(r,t);return t}t.readExternalLinkFile=a;function l(e,t){if(3!==e.elementType)for(var r=e.depth;e.read();){if(e.depth<=r)return;switch(e.name()){case"sheetNames":t.sheetNames=s(e);break;case"sheetDataSet":c(e,t)}}}function s(e){var t,r,o;if(3===e.elementType)return[];for(t=e.depth,r=[];e.read()&&!(e.depth<=t);)if(1===e.nodeType()&&"sheetName"===e.name())for(;e.moveToNextAttribute();)o=e.readAttributeNameAsString(),"val"===o&&r.push(e.readContentAsString().replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&gt;/g,">").replace(/&lt;/g,"<"));return r}function c(e,t){var r,o,i,n,a;if(3!==e.elementType)for(r=e.depth;e.read();){if(e.depth<=r)return;if(1===e.nodeType()&&"sheetData"===e.name()){for(o=void 0,i=void 0;e.moveToNextAttribute();)n=e.readAttributeNameAsString(),"sheetId"===n&&(o=e.readContentAsInt()),"refreshError"===n&&(i=e.readContentAsInt());a=t.sheetNames[o],t.data[a]={},i&&(t.data[a].isNew=!0),d(e,t.data[a])}}}function d(e,t){var r,o,i,n;if(3!==e.elementType)for(r=e.depth;e.read();){if(e.depth<=r)return;if(1===e.nodeType()&&"row"===e.name()){for(o={},i=void 0;e.moveToNextAttribute();)n=e.readAttributeNameAsString(),"r"===n&&(i=e.readContentAsString());t[i-1]={},u(e,i,t[i-1])}}}function u(e,t,r){var i,n,a,l;if(3!==e.elementType)for(i=e.depth;e.read();){if(e.depth<=i)return;if(1===e.nodeType()&&"cell"===e.name()){for(n=void 0,a=void 0;e.moveToNextAttribute();)l=e.readAttributeNameAsString(),"r"===l?(n=e.readContentAsString(),n=n.substr(0,n.length-t.length),n=o.IndexHelper.R(n)):"t"===l&&(a=e.readContentAsString());r[n]=f(e,a)}}}function f(e,t){var r,o,i,a;if(3!==e.elementType){for(o=e.depth;e.read();){if(e.depth<=o)return r;if(1===e.nodeType()&&"v"===e.name())if("str"===t)r=e.readElementContentAsString();else if("b"===t)r="1"===e.readElementContentAsString();else if("e"===t){switch(i=e.readElementContentAsString(),a=n,i){case"#DIV/0!":a=7;break;case"#N/A":a=42;break;case"#NAME?":a=29;break;case"#NULL!":a=0;break;case"#NUM!":a=36;break;case"#REF!":a=23;break;case"#VALUE!":a=15}r=a!==n?{_error:i,_code:a}:n}else r=parseFloat(e.readElementContentAsString())}return r}}},"./src/xlsx-io/reader/metadata-reader.ts":function(e,t,r){"use strict";var o,i,n;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/xml-io/xml-parser.ts"),i=r("./src/xml-io/node-helper.ts"),n=i.XmlNodeHelper.He;function a(e){return e._attr.name}function l(e,t){var r,i=o.parseXmlToObject(e),l=i.metadata;l&&(r=n(l.metadataTypes.metadataType).map(a),l.typeNames=r,t.$g(l))}t.readSheetMetadata=l},"./src/xlsx-io/reader/pivot-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/excel-types.ts"),i=r("./src/xml-io/xml-reader.ts"),n=r("./src/common/common.ts"),a=r("./src/datamodel/datetime-helper.ts"),l=r("./src/xml-io/xml-parser.ts"),s=r("./src/xlsx-io/reader/autofilter-reader.ts"),c=r("./src/datamodel/excel-style.ts"),d=r("./src/xml-io/node-helper.ts"),u={captionEqual:0,captionNotEqual:1,captionBeginsWith:2,captionNotBeginsWith:3,captionEndsWith:4,captionNotEndsWith:5,captionContains:6,captionNotContains:7,captionGreaterThan:8,captionGreaterThanOrEqual:9,captionLessThan:10,captionLessThanOrEqual:11,captionBetween:12,captionNotBetween:13},f={valueEqual:0,valueNotEqual:1,valueGreaterThan:2,valueGreaterThanOrEqual:3,valueLessThan:4,valueLessThanOrEqual:5,valueBetween:6,valueNotBetween:7},b={dateEqual:0,dateNotEqual:1,dateOlderThan:2,dateOlderThanOrEqual:3,dateNewerThan:4,dateNewerThanOrEqual:5,dateBetween:6,dateNotBetween:7,tomorrow:10,today:8,yesterday:9,nextWeek:17,thisWeek:15,lastWeek:16,nextMonth:14,thisMonth:12,lastMonth:13,nextQuarter:18,thisQuarter:19,lastQuarter:20,nextYear:21,thisYear:22,lastYear:23,yearToDate:40,Q1:24,Q2:25,Q3:26,Q4:27,M1:28,M2:29,M3:30,M4:31,M5:32,M6:33,M7:34,M8:35,M9:36,M10:37,M11:38,M12:39},h={count:0,percent:1,sum:2},p=void 0,m=n.Util.pa,g=n.Util.wa;function w(e,t,r){var o=new i.XmlReader;for(o.setXml(e);o.read();)0===o.depth&&2!==o.elementType&&"pivotCacheDefinition"===o.name()&&(A(o,r),x(o,r))}t.readPivotCacheDefinitions=w;function x(e,t){for(var r=e.depth;e.read()&&!(e.depth<=r);)switch(e.name()){case"cacheSource":v(e,t);break;case"cacheFields":k(e,t);break;case"cacheHierarchy":D(e,t);break;case"kpi":W(e,t);break;case"tupleCache":_(e,t);break;case"calculatedItem":N(e,t);break;case"calculatedMember":M(e,t);break;case"dimension":O(e,t);break;case"measureGroup":H(e,t);break;case"map":G(e,t);break;case"extLst":U(e,t)}}function A(e,t){for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"backgroundQuery":t.backgroundQuery=e.readContentAsBoolean();break;case"createdVersion":t.createdVersion=e.readContentAsInt();break;case"enableRefresh":t.enableRefresh=e.readContentAsBoolean();break;case"r:id":t.rid=e.readContentAsString();break;case"invalid":t.invalid=e.readContentAsBoolean();break;case"minRefreshableVersion":t.minRefreshableVersion=e.readContentAsInt();break;case"missingItemsLimit":t.missingItemsLimit=e.readContentAsInt();break;case"recordCount":t.recordCount=e.readContentAsInt();
42
+ p.color=i.$m[0];break;case"iconSet":p.ruleType=13,p.iconSetType=y.$3TrafficLights1,a=e.iconSet,c=a._attr,l.J(c.iconSet)||(p.iconSetType=y["$"+c.iconSet]),l.J(c.showValue)||(p.showIconOnly=!s.XmlNodeHelper.Vm(c.showValue,!0)),l.J(c.reverse)||(p.reverseIconOrder=s.XmlNodeHelper.Vm(c.reverse,!1)),p.iconCriteria=R(a);break;case"cellIs":p.ruleType=1,d=e._attr,l.J(d.stopIfTrue)||(p.stopIfTrue=s.XmlNodeHelper.Vm(d.stopIfTrue,!1)),l.J(d.dxfId)||(p.dxfId=s.XmlNodeHelper.Xm(d.dxfId,-1)),l.J(d.operator)||(p.operator=C[d.operator]),u=f(e.formula),p.value1="="+l.Util.pa(u[0].formula),2===u.length&&(p.value2="="+l.Util.pa(u[1].formula));break;default:p.ruleType=m[o],l.J(S.dxfId)||(p.dxfId=s.XmlNodeHelper.Xm(S.dxfId,-1)),l.J(S.aboveAverage)||(p.aboveAverage=s.XmlNodeHelper.Vm(S.aboveAverage,!0),p.aboveAverage||"aboveAverage"!==o||(o="belowAverage")),l.J(S.bottom)||(p.bottom=s.XmlNodeHelper.Vm(S.bottom,!1)),l.J(S.equalAverage)||(b=s.XmlNodeHelper.Vm(S.equalAverage,!1),b&&("aboveAverage"===o&&(o="aboveOrEqualToAverage"),"belowAverage"===o&&(o="belowOrEqualToAverage"))),l.J(S.operator)||(p.operator=S.operator),l.J(S.percent)||(p.percent=s.XmlNodeHelper.Vm(S.percent,!1)),l.J(S.rank)||(p.rank=s.XmlNodeHelper.Xm(S.rank,0)),l.J(S.stdDev)||(p.stdDev=s.XmlNodeHelper.Xm(S.stdDev,0)),l.J(S.stopIfTrue)||(p.stopIfTrue=s.XmlNodeHelper.Vm(S.stopIfTrue,!1)),l.J(S.text)||(p.text=l.Util.pa(S.text)),l.J(S.timePeriod)||(o=S.timePeriod),h=e.formula,l.J(h)||(Array.isArray(h)&&(e.formula=h[0]),p.formula=l.processFunction(x(e,"formula"))),p=F(p,o)}return e.extLst&&e.extLst.ext&&e.extLst.ext["x14:id"]&&(p.id=x(e.extLst.ext,"x14:id")),p}function F(e,t){var r,o,i,n,a,s,c;switch(t){case"expression":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return e;case"top10":return r=e.ranges[0],o={ruleType:e.ruleType,dxfId:e.dxfId,rank:e.rank,stopIfTrue:e.stopIfTrue,priority:e.priority,ranges:e.ranges,pivot:e.pivot},o.type=0,e.bottom&&(o.type=1),e.percent&&(i=Math.floor(r.rowCount*r.colCount*e.rank/100),0===i&&(i=1),o.rank=i),o;case"uniqueValues":case"duplicateValues":return e;case"containsText":return e.operator=0,e;case"aboveAverage":case"belowAverage":case"aboveOrEqualToAverage":case"belowOrEqualToAverage":return n=0,a=!0,"belowAverage"===t&&(a=!1,n=1),"belowOrEqualToAverage"===t&&(a=!1,n=3),"aboveOrEqualToAverage"===t&&(n=2),l.J(e.stdDev)||(s=e.stdDev,a?1===s?n=4:2===s?n=6:3===s&&(n=8):1===s?n=5:2===s?n=7:3===s&&(n=9)),e.type=n,e;case"beginsWith":return e.operator=2,e;case"endsWith":return e.operator=3,e;case"notContainsText":return e.operator=1,e;case"timePeriod":case"today":case"tomorrow":case"yesterday":case"last7Days":case"lastMonth":case"nextMonth":case"thisWeek":case"nextWeek":case"lastWeek":case"thisMonth":return c={today:0,yesterday:1,tomorrow:2,last7Days:3,thisMonth:4,lastMonth:5,nextMonth:6,thisWeek:7,lastWeek:8,nextWeek:9},e.type=0,c[t]&&(e.type=c[t]),e;default:return e}}function R(e){var t,r,o=[],i=D(e);for(t=1;t<i.Zm.length;t++)r={isGreaterThanOrEqualTo:!0},i.Zm[t].gte===!1&&(r.isGreaterThanOrEqualTo=i.Zm[t].gte),r.iconValueType=S[i.Zm[t].type],r.iconValue=v(i.Zm[t].val),o.push(r);return o}function E(e){var t,r,o=[],i=D(e);for(t=0;t<i._m.length;t++)r={},r.iconSetType=i._m[t].iconSetType,r.iconIndex=i._m[t].iconIndex,o.push(r);return o}function I(e){var t={};return l.J(e._attr.type)||(t.type=e._attr.type),l.J(e._attr.val)||(t.val=l.Util.pa(e._attr.val)),l.J(e._attr.gte)||(t.gte=s.XmlNodeHelper.Vm(e._attr.gte,!0)),e["xm:f"]&&(t.val=l.processFunction(x(e,"xm:f"))),t}function L(e){var t={};return l.J(e._attr.iconSet)||(t.iconSetType=y["$"+e._attr.iconSet]),l.J(e._attr.iconId)||(t.iconIndex=parseInt(e._attr.iconId,10)),t}function D(e){var t,r,o,a,l,s={Zm:[],$m:[],_m:[]},c=f(e.cfvo||e["x14:cfvo"]),d=f(e["x14:cfIcon"]);for(t=0;t<c.length;t++)r=I(c[t]),s.Zm.push(r);for(t=0;t<d.length;t++)o=L(d[t]),s._m.push(o);if(e.color)for(a=f(e.color||e["x14:color"]),l=0;l<a.length;l++)s.$m.push(n.ColorHelper.toRGBColor(i.readColor(a[l])));return s}function B(e,t,r){var i,n,s,c,d,u,b,h,m,g,y,S,C=a.parseXmlToObject(e.readFullElement()).ext;if(C[p]&&C[p]["x14:conditionalFormatting"])for(s=f(C[p]["x14:conditionalFormatting"]),c=0;c<s.length;c++)for(d=s[c],u=!1,d._attr.pivot&&(u=!0),b=f(d["x14:cfRule"]),h=0;h<b.length;h++)m=b[h],g=m._attr,l.J(g.type)||(i=g.type),n=g.id,y=P(r,t,n),g.priority&&(y.priority=+g.priority),u&&(y.pivot=u),"dataBar"===i?(y.ruleType=12,M(m["x14:dataBar"],y)):"iconSet"===i?(y.ruleType=13,O(m["x14:iconSet"],y)):"expression"===i?(y.ruleType=3,N(m,y,r)):"cellIs"===i?(y.ruleType=1,W(m,y,r)):"containsText"===i&&(y.ruleType=2,_(m,y,r)),d["xm:sqref"]&&(S=o.getRangesFromString(x(d,"xm:sqref")),y&&(y.ranges=S))}t.readExtensionConditionalFormating=B;function P(e,t,r){var o,i,n,a=e.xg(t);if(a||(a={rules:[]}),!l.J(r)&&(o=a.rules,o&&o.length>0))for(i=0;i<o.length;i++)if(o[i].id===r)return o[i];return n={},e.wg(t,{rules:[n]}),n}w={automatic:0,middle:1,none:2};function W(e,t,r){var o,i,n,u,b=e._attr;l.J(b.stopIfTrue)||(t.stopIfTrue=s.XmlNodeHelper.Vm(b.stopIfTrue,!1)),l.J(b.operator)||(t.operator=C[b.operator]),o=f(e["xm:f"]),t.value1="="+l.Util.pa(l.processFunction(o[0]["xm:f"])),2===o.length&&(t.value2="="+l.Util.pa(l.processFunction(o[1]["xm:f"]))),i=a.convertObjectToXml(e["x14:dxf"],"x14:dxf"),n=new d.XmlReader,n.setXml(i),n.read(),u=c.readDifferentialFormattingRecord(n),t.style=h(u,r.ff,r.gf)}function _(e,t,r){var o,i,n,u,b=e._attr;l.J(b.stopIfTrue)||(t.stopIfTrue=s.XmlNodeHelper.Vm(b.stopIfTrue,!1)),l.J(b.operator)||(t.operator=C[b.operator]),o=f(e["xm:f"]),t.formula="="+l.Util.pa(l.processFunction(o[0]["xm:f"])),2===o.length&&(t.text="="+l.Util.pa(l.processFunction(o[1]["xm:f"]))),i=a.convertObjectToXml(e["x14:dxf"],"x14:dxf"),n=new d.XmlReader,n.setXml(i),n.read(),u=c.readDifferentialFormattingRecord(n),t.style=h(u,r.ff,r.gf)}function N(e,t,r){var o,i,n;t.formula=v(l.processFunction(x(e,"xm:f"))),o=a.convertObjectToXml(e["x14:dxf"],"x14:dxf"),i=new d.XmlReader,i.setXml(o),i.read(),n=c.readDifferentialFormattingRecord(i),t.style=h(n,r.ff,r.gf)}function M(e,t){var r,o=e._attr;l.J(o.showValue)||(t.showBarOnly=!s.XmlNodeHelper.Vm(o.showValue,!0)),l.J(o.border)||(t.showBorder=s.XmlNodeHelper.Vm(o.border,!1)),l.J(o.gradient)||(t.gradient=s.XmlNodeHelper.Vm(o.gradient,!0)),l.J(o.direction)||(t.dataBarDirection="rightToLeft"===o.direction?1:0),l.J(o.axisPosition)||(t.axisPosition=w[o.axisPosition]),l.J(o.negativeBarColorSameAsPositive)||(t.useNegativeFillColor=!s.XmlNodeHelper.Vm(o.negativeBarColorSameAsPositive,!1)),l.J(o.negativeBarBorderColorSameAsPositive)||(t.useNegativeBorderColor=!s.XmlNodeHelper.Vm(o.negativeBarBorderColorSameAsPositive,!0)),r=[],e["x14:cfvo"]&&f(e["x14:cfvo"]).forEach(function(e){r.push(I(e))}),e["x14:fillColor"]&&(t.color=n.ColorHelper.toRGBColor(i.readColor(e["x14:fillColor"]))),e["x14:borderColor"]&&(t.borderColor=n.ColorHelper.toRGBColor(i.readColor(e["x14:borderColor"]))),e["x14:negativeFillColor"]&&(t.negativeFillColor=n.ColorHelper.toRGBColor(i.readColor(e["x14:negativeFillColor"]))),e["x14:negativeBorderColor"]&&(t.negativeBorderColor=n.ColorHelper.toRGBColor(i.readColor(e["x14:negativeBorderColor"]))),e["x14:axisColor"]&&(t.axisColor=n.ColorHelper.toRGBColor(i.readColor(e["x14:axisColor"]))),2===r.length&&(t.minType=g[r[0].type],t.minValue=v(r[0].val),t.maxType=g[r[1].type],t.maxValue=v(r[1].val))}t.readExtensionDataBarRule=M;function O(e,t){var r=e._attr;l.J(r.iconSet)||(t.iconSetType=y["$"+r.iconSet]),l.J(r.showValue)||(t.showIconOnly=!s.XmlNodeHelper.Vm(r.showValue,!0)),l.J(r.reverse)||(t.reverseIconOrder=s.XmlNodeHelper.Vm(r.reverse,!1)),t.iconCriteria=R(e),t.icons=E(e)}t.readExtensionIconSetRule=O},"./src/xlsx-io/reader/control-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/excel-types.ts"),i=r("./src/xml-io/xml-parser.ts"),n=r("./src/common/common.ts"),a=r("./src/xml-io/node-helper.ts"),l=a.XmlNodeHelper.He;function s(e,t){var r=i.parseXmlToObject(e.readFullElement()).legacyDrawing;r&&(t.an=r._attr["r:id"])}t.readLegacyDrawing=s;function c(e,t,r,n){var a,s,c,b;e&&r.an&&(a=e[r.an],a&&a.fileType===o.RelationshipConstants.ab&&(s=n(a.fileName,!0),s=s.replace(/<br>(?!<\/br>)/g,"<br/>"),c=i.parseXmlToObject(s).xml,b=l(c["v:shape"]),b.forEach(function(e){var o=d(e,t,r);o&&(f(e,o),u(o))})),r.an="")}t.readControlVmlDrawing=c;function d(e,t,r){var o=e._attr["o:spid"]||e._attr.id;if(!n.isNullOrUndefined(o))return r.Ig(t,o)}function u(e){var t,r,o=e&&e.nvSpPr&&e.nvSpPr.cNvPr,i=o&&o.extLst&&o.extLst.ext||[];for(t=0;t<i.length;t++)if(r=i[t],r.compatExt)return void i.splice(t,1)}function f(e,t){var r=t.control,o=function(e){for(var t in e)n.isNullOrUndefined(r.props[t])&&(r.props[t]=e[t])};o(b(e)),r.visible=h(e),r.disabled=p(e),t.nvSpPr.cNvPr.hidden=!r.visible}function b(e){var t,r,o=e["x:ClientData"],i=o._attr.ObjectType,n={objectType:i},a=["x:ClientData","x:Anchor","x:SizeWidthCells"],l=function(e){return a.indexOf(e)===-1};for(t in o)t.length>=3&&"x:"===t.slice(0,2)&&l(t)&&(r=m(t),n[r]=o[t][t]);return n}function h(e){var t=e._attr.style;return t.indexOf("visibility:hidden")===-1}function p(e){return!!e["x:ClientData"]["x:Disabled"]}function m(e){return g(e.substring(2))}function g(e){return e.substring(0,1).toLowerCase()+e.substring(1)}},"./src/xlsx-io/reader/ctrlprops-reader.ts":function(e,t,r){"use strict";var o,i;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/excel-types.ts"),i=r("./src/xml-io/xml-parser.ts");function n(e,t,r){var n,l,s,c=t[e];if((c.fileType===o.RelationshipConstants.bb||c.fileType===o.RelationshipConstants.cb)&&(n=r(c.fileName),l=i.parseXmlToObject(n).formControlPr,a(l)))return s=l._attr,delete s.xmlns,s}t.readCtrlProps=n;function a(e){var t=e&&e._attr;return t&&"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"===t.xmlns}},"./src/xlsx-io/reader/datavalidation-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/xml-io/xml-parser.ts"),n=r("./src/xml-io/node-helper.ts"),a=r("./src/common/range-parser.ts"),l=n.XmlNodeHelper.Vm,s=o.Util.pa;function f(e,t,r){return s(n.XmlNodeHelper.Ym(e,t,r))}c={none:0,whole:1,decimal:2,list:3,date:4,time:5,textLength:6,custom:7},d={stop:0,warning:1,information:2},u={between:6,notBetween:7,equal:0,notEqual:1,greaterThan:2,lessThan:4,greaterThanOrEqual:3,lessThanOrEqual:5};function b(e,t,r){var o,i,n,a,l,s=t.Ne,c=s.sheets&&s.sheets[e];for(o=0,i=r.length;o<i;o++)n=r[o],a=c.rowCount,l=c.columnCount,n.row+n.rowCount>a&&(c.rowCount=n.row+n.rowCount),n.col+n.colCount>l&&(c.columnCount=n.col+n.colCount)}function h(e,t,r,i){var n,h,p,m,g,y,S,C;o.isNullOrUndefined(e)||o.isNullOrUndefined(t)||(n=e._attr,h={type:c[n.type]||0,errorType:d[n.errorStyle]||0,compareOperator:o.isNullOrUndefined(u[n.operator])?6:u[n.operator],allowBlank:l(n.allowBlank,!1),showPromptBox:!l(n.showDropDown,!1),showInputMessage:l(n.showInputMessage,!1),showErrorMessage:l(n.showErrorMessage,!1),errorTitle:s(n.errorTitle),error:s(n.error),promptTitle:s(n.promptTitle),prompt:s(n.prompt)},h.error=o.Util.wa(h.error),h.prompt=o.Util.wa(h.prompt),i?(p=f(e,"xm:sqref"),y=e["x14:formula1"],S=e["x14:formula2"],y&&(m=o.processFunction(f(y,"xm:f"))),S&&(g=o.processFunction(f(S,"xm:f")))):(p=n.sqref,m=o.processFunction(f(e,"formula1")),g=o.processFunction(f(e,"formula2"))),C=a.getRangesFromString(p),h.firstFormula=m,h.secondFormula=g,h.ranges=C,b(t,r,C),r.Qg(t,h))}function p(e,t,r){var o,a,l=i.parseXmlToObject(e.readFullElement()).dataValidations,s=n.XmlNodeHelper.He(l.dataValidation);for(o=s.length-1;o>=0;o--)a=s[o],h(a,t,r)}t.readDataValidations=p;function m(e,t,r){var o,a,l=i.parseXmlToObject(e.readFullElement()).ext,s=l["x14:dataValidations"],c=n.XmlNodeHelper.He(s["x14:dataValidation"]);for(o=c.length-1;o>=0;o--)a=c[o],h(a,t,r,!0)}t.readExtensionDataValidation=m},"./src/xlsx-io/reader/docpropsapp-reader.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r("./src/xml-io/xml-reader.ts");function i(e,t){var r,i=new o.XmlReader;for(i.setXml(e);i.read();)if(1===i.depth&&2!==i.elementType)switch(r=i.name()){case"HeadingPairs":a(i,t,r);break;case"TitlesOfParts":l(i,t,r);break;default:n(i,t,r)}}t.readDocPropsAppFile=i;function n(e,t,r){if(1===e.nodeType()){var o=e.readElementContentAsString(!0);t.gh(r,o)}}function a(e,t,r){var o,i,n,a,l,c;if(3!==e.elementType){for(o={},i=[],n=e.depth;e.read()&&!(e.depth<=n);)if(1===e.nodeType()&&"vt:vector"===e.name()){if(s(e,o),3===e.elementType)continue;for(a=e.depth;e.read()&&!(e.depth<=a);)if(1===e.nodeType()){if(3===e.elementType)continue;for(l=e.depth;e.read()&&!(e.depth<=l);)1===e.nodeType()&&(c={},c.elementType=e.name(),c.value=e.readElementContentAsString(!0),i.push(c));o.workbookInfoArray=i}}t.gh(r,o)}}function l(e,t,r){var o,i,n,a,l;if(3!==e.elementType){for(o={},i=[],n=e.depth;e.read()&&!(e.depth<=n);)if(1===e.nodeType()&&"vt:vector"===e.name()){if(s(e,o),3===e.elementType)continue;for(a=e.depth;e.read()&&!(e.depth<=a);)1===e.nodeType()&&(l=e.readElementContentAsString(!0),i.push(l));o.sheetsNameArray=i}t.gh(r,o)}}function s(e,t){for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"size":t.size=e.readContentAsInt(1);break;case"baseType":t.baseType=e.readContentAsString()}}},"./src/xlsx-io/reader/docpropscore-reader.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r("./src/xml-io/xml-reader.ts");function i(e,t){var r,i=new o.XmlReader;for(i.setXml(e);i.read();)1===i.depth&&2!==i.elementType&&(r=i.name(),r.indexOf(":")!==-1&&(r=i.name().split(":")[1]),n(i,t,r))}t.readDocPropsCoreFile=i;function n(e,t,r){if(1===e.nodeType()){var o=e.readElementContentAsString(!0);t.fh(r,o)}}},"./src/xlsx-io/reader/docpropscustom-reader.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r("./src/xml-io/xml-reader.ts");function i(e,t){var r,i=new o.XmlReader;for(i.setXml(e),r=[];i.read();)1===i.depth&&2!==i.elementType&&n(i,r);t.hh(r)}t.readDocPropsCustomFile=i;function n(e,t){var r,o,i,n,a;if(3!==e.elementType&&1===e.nodeType()&&"property"===e.name()){for(r={};e.moveToNextAttribute();)o=e.readAttributeNameAsString(),i=e.readContentAsString(),r[o]=i;for(n=e.depth;e.read()&&!(e.depth<=n);)1===e.nodeType()&&(a={},o=e.name(),i=e.readElementContentAsString(!0),a[o]=i,r.propertyItemChildElement=a);t.push(r)}}},"./src/xlsx-io/reader/drawing-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/excel-types.ts"),n=r("./src/xml-io/node-helper.ts"),a=r("./src/xml-io/xml-parser.ts"),l=r("./src/datamodel/excel-style.ts"),s=r("./src/datamodel/excel-helper.ts"),c=r("./src/xml-io/xml-reader.ts"),d=r("./src/xlsx-io/reader/chart-reader.ts"),u=n.XmlNodeHelper.He,f=n.XmlNodeHelper.bn,b=n.XmlNodeHelper.cn,h=n.XmlNodeHelper.dn,p=o.Util.ya,m=r("./src/datamodel/chart-model.ts");function y(e,t,r,o){var n,a,l,s,c,d;if(e){n=[];for(a in e)"count"!==a&&(l=e[a],l&&(s=l.fileType,s!==i.RelationshipConstants.eb&&s!==i.RelationshipConstants.fb||n.push(l)));n.length&&(c={names:r.Ne.names||[]},d=S(n,o,c),r.Ag(d,t))}}t.readDrawings=y;function S(e,t,r){var o={},n;return e.forEach(function(e){var a,l,s,c,d=e.relationFiles;if(d)for(a in d)"count"!==a&&(l=d[a],l&&(s=l.fileType,s!==i.RelationshipConstants.hb&&s!==i.RelationshipConstants.ib&&s!==i.RelationshipConstants.lb&&s!==i.RelationshipConstants.mb&&s!==i.RelationshipConstants.nb&&s!==i.RelationshipConstants.gb||(o[a]=l)));c=t(e.fileName,!0),c&&(n=T(c,o,t,r))}),n}function C(e,t,r){var o,i,n,a,l,c=e&&e.blipFill&&e.blipFill.blip&&e.blipFill.blip.embed;c&&(o=t[c],o&&(i=o.fileName,n=i.lastIndexOf("."),n>=0&&(a=s.getImageContent(i,r),a&&(l=e.blipFill.blip.blipBlob={},l.blob=a,l.type=i.substr(n+1)))))}g=function(){function e(e){var t=e.off,r=e.ext,o=r.cx,i=r.cy;this.left=t.x,this.top=t.y,this.right=this.left+o,this.bottom=this.top+i}return e}();function w(){this.cache={},this.get=function(e,t){var r=this.cache[e];return!r&&t&&(r=this.cache[e]=new g(t)),r}}function x(e,t){return e.left>=t.left&&e.top>=t.top&&e.right<=t.right&&e.bottom<=t.bottom}function A(e,t,r){var o,i,n,a,l=r.get(t,e[t].pic.spPr.xfrm);if(l)for(o=0;o<t;o++)i=e[o],i.pic||i.hidden||(n=s.getXFrm(i),n&&(a=r.get(o,n),a&&x(a,l)&&(i.hidden=!0)))}function T(e,t,r,o){var i,n,l,s,c,d,u=a.parseXmlToObject(e,!0),f=u["xdr:wsDr"],b={};return f&&(i=k(f,t,r),i.length>0&&(b.pictures=i),n=D(e,t),l=n&&n.AnchorBaseList,s=F(l,t,r,o),s.length>0&&(b.charts=s),c=L(l,t,r),c.length>0&&(b.shapes=c),d=new w,l.forEach(function(e,t){var r=e.pic;r&&!r.nvPicPr.cNvPr.hidden&&A(l,t,d)})),b}function v(e,t,r,o){var i={};return X(r,t["xdr:pic"],i,o),j(t["xdr:clientData"],i),i.src&&e.push(i),i}function k(e,t,r){var o,i,n;return e?(o=[],n=u(e["xdr:oneCellAnchor"]),n.forEach(function(e){if(e&&e["xdr:pic"]){var n={startPoint:h(e["xdr:from"])};b(e["xdr:ext"],n),i=v(o,e,t,r),n.anchorType=1,i.anchor=n}}),n=u(e["xdr:twoCellAnchor"]),n.forEach(function(e){var n,a;e&&e["xdr:pic"]&&(n={startPoint:h(e["xdr:from"]),endPoint:h(e["xdr:to"])},a=e._attr.editAs,a&&(n.editAs=m.Charts.ST_EditAs[a]),i=v(o,e,t,r),n.anchorType=0,i.anchor=n)}),n=u(e["xdr:absoluteAnchor"]),n.forEach(function(e){if(e&&e["xdr:pic"]){var n={};f(e["xdr:pos"],n),b(e["xdr:ext"],n),i=v(o,e,t,r),n.anchorType=2,i.anchor=n}}),o):[]}function F(e,t,r,o){var i=[];return e&&e.length>0&&e.forEach(function(e){var n,a,l=e.AlternateContent;return e.grpSp?void E(e.grpSp,i,e,t,r,o):(n=p(l)?l.Choice.GraphicalObjectFrame:e.graphicFrame,a=n&&n.graphic&&n.graphic.graphicData&&n.graphic.graphicData.chart&&n.graphic.graphicData.chart.id,void(a&&R(i,e,a,t,r,o)))}),i}function R(e,t,r,o,n,a){var l,s,c,d,u,f,b=o[r],h=B(b,n,a);if(h){l={},s=b.relationFiles;for(c in s)"count"!==c&&(d=s[c],d&&(u=d.fileType,u!==i.RelationshipConstants.ob&&u!==i.RelationshipConstants.hb||(l[c]=d)));f=_(h.userShapes,l,n),f&&(h.userShapes=f),G(h,l,n),t.chartSpace=h,e.push(t)}}function E(e,t,r,o,i,n){var a=e&&e.sp||[];a.forEach(function(a){if(3===a.shapeType)I(e.grpSpPr.xfrm,a.grpSpPr.xfrm),E(a,t,r,o,i,n);else if(2===a.shapeType&&a.nvGraphicFramePr){var l=a.graphic&&a.graphic.graphicData&&a.graphic.graphicData.chart&&a.graphic.graphicData.chart.id;l&&(R(t,a,l,o,i,n),I(e.grpSpPr.xfrm,a.xfrm))}})}function I(e,t){var r,o=t.off,i=t.ext,n=(o.x-e.chOff.x)/(e.chExt.cx||1)*e.ext.cx;t.off.x=e.off.x+n,r=(o.y-e.chOff.y)/(e.chExt.cy||1)*e.ext.cy,t.off.y=e.off.y+r,t.ext.cx=i.cx/(e.chExt.cx||1)*e.ext.cx,t.ext.cy=i.cy/(e.chExt.cy||1)*e.ext.cy}function L(e,t,r){var o=[];return e&&e.length>0&&e.forEach(function(e){(e.sp||e.cxnSp||e.grpSp||e.pic)&&(U(e,t,r),o.push(e))}),o}function D(e,t){var r=new c.XmlReader;for(r.relationFiles=t,r.reset(),r.setXml(e),r.keepRootNamespace=!0;r.read();)if(0===r.depth&&2!==r.elementType&&"xdr:wsDr"===r.name())return d.DrawingReader.ReadCT_Drawing(r);return null}function B(e,t,r){var o,n,a,l,s,u,f,b,h,p;if(!e)return null;for(o=e.fileName,n=t(o,!0),a=new c.XmlReader,a.reset(),a.setXml(n),a.keepRootNamespace=!0;a.read();)if(0===a.depth&&2!==a.elementType){if("c:chartSpace"===a.name()){l=d.DrawingReader.ReadCT_ChartSpace(a),s=!1;break}if("cx:chartSpace"===a.name()){u=r&&r.names?r.names:[],l=d.DrawingReader.Chart2016Reader.ReadCT_ChartSpace(a,u),s=!0;break}}if(s){f=e.relationFiles;for(b in f)"count"!==b&&(h=f[b],p=h&&h.fileType,p===i.RelationshipConstants.qb?l.style=P(h,t):p===i.RelationshipConstants.pb&&(l.colors=W(h,t)))}return l}function P(e,t){var r=t(e.fileName,!0),o=new c.XmlReader;for(o.reset(),o.setXml(r);o.read();)if(0===o.depth&&2!==o.elementType)return d.DrawingReader.Chart2016Reader.ReadCT_ChartStyle(o)}function W(e,t){var r=t(e.fileName,!0),o=new c.XmlReader;for(o.reset(),o.setXml(r);o.read();)if(0===o.depth&&2!==o.elementType)return d.DrawingReader.Chart2016Reader.ReadCT_chartColors(o)}function _(e,t,r){var o,n,a,l,s,c,d;if(!e||!e.id)return null;o=t[e.id],n={},a=o.relationFiles;for(l in a)"count"!==l&&(s=a[l],s&&(c=s.fileType,c!==i.RelationshipConstants.hb&&c!==i.RelationshipConstants.lb||(n[l]=s)));return d=M(o,r),d&&d.length>0?d.map(function(e){return e.pic?H(e,n,r):e.graphicFrame&&O(e,n,r),e}):void 0}function N(e){var t,r,o=e&&e["c:userShapes"];if(o){if(t=o["cdr:absSizeAnchor"],r=o["cdr:relSizeAnchor"],t)return t["cdr:pic"]&&t["cdr:pic"]["cdr:spPr"];if(r)return r["cdr:pic"]&&r["cdr:pic"]["cdr:spPr"]}return null}function M(e,t){var r,o,i,n,l;if(!e)return null;for(r=e.fileName,o=t(r,!0),i=new c.XmlReader,i.reset(),i.setXml(o),i.keepRootNamespace=!0;i.read();)if(0===i.depth&&2!==i.elementType&&"c:userShapes"===i.name()&&(n=d.DrawingReader.ReadCT_ChartDrawing(i)))return l=n.relSizeAnchor.concat(n.absSizeAnchor),l.forEach(function(e){if(e.pic){var t=a.parseXmlToObject(o);e.pictureStyleInfo=N(t)}}),l;return null}function O(e,t,r){var o=e.graphicFrame.graphic&&e.graphicFrame.graphic.graphicData&&e.graphicFrame.graphic.graphicData.chart&&e.graphicFrame.graphic.graphicData.chart.id,i=t[o];i&&(e.chartSpace=B(i,r))}function H(e,t,r){C(e.pic,t,r);var o=e.pictureStyleInfo;o&&(e.pictureFormat=le(o),delete e.pictureStyleInfo)}function G(e,t,r){var o=e.chart.plotArea;o&&o.chartGroups&&o.chartGroups.forEach(function(e){e&&e.ser&&e.ser.forEach(function(e){e.spPr&&C(e.spPr,t,r),e.dLbls&&e.dLbls.spPr&&C(e.dLbls.spPr,t,r)})}),o&&o.spPr&&C(o.spPr,t,r),e.spPr&&C(e.spPr,t,r)}function U(e,t,r){e.sp&&e.sp.spPr?C(e.sp.spPr,t,r):e.pic?(C(e.pic,t,r),C(e.pic.spPr,t,r)):e.grpSp&&(e.grpSp.sp&&J(e.grpSp.sp,t,r),e.grpSp.grpSpPr&&C(e.grpSp.grpSpPr,t,r))}function J(e,t,r){e.forEach(function(e){e.spPr&&C(e.spPr,t,r),e.blipFill&&C(e,t,r),3===e.shapeType&&e.sp&&J(e.sp,t,r)})}function z(e){var t=e.ln;t&&t.solidFill&&t.solidFill.schemeClr&&void 0===t.solidFill.schemeClr.tint}function V(e){e.sp&&e.sp.spPr?z(e.sp.spPr):e.grpSp&&(e.grpSp.sp&&e.grpSp.sp.forEach(function(e){e.spPr&&z(e.spPr)}),e.grpSp.grpSpPr&&z(e.grpSp.grpSpPr))}function j(e,t){e&&(t.locked=n.XmlNodeHelper.Vm(e._attr.fLocksWithSheet,!0))}function X(e,t,r,o){var i,a,l,c,u,f,b,h,p,m,g,y,S,C,w,x,A;if(t){if(i=t["xdr:nvPicPr"],i&&(a=i["xdr:cNvPr"],r.name=a&&a._attr.name,r.descr=a&&a._attr.descr,r.isVisible=!n.XmlNodeHelper.Vm(a&&a._attr.hidden,!1)),i=t["xdr:blipFill"]){l=i["a:blip"],c=l&&l._attr["r:embed"],u=l&&l["a:extLst"]&&l["a:extLst"]["a:ext"],u instanceof Array||(u=[u]);for(f in u)u.hasOwnProperty(f)&&(b=u[f]&&u[f]["asvg:svgBlip"],b&&(c=b._attr["r:embed"]));c&&(h=e[c],h&&(p=s.getImageContent(h.fileName,o),p&&(r.src=p))),m=i["a:srcRect"],g=m&&m._attr,g&&(y=+g.l||0,S=+g.t||0,C=+g.r||0,w=+g.b||0,(y||S||C||w)&&(r.srcRect={l:y,t:S,r:C,b:w}))}i=t["xdr:spPr"],i&&(r.pictureFormat=le(i),x=i["a:xfrm"],x&&(A=parseInt(x._attr.rot,10),A&&(r.rot=d.DrawingReader.getRotationDegree(A))))}}function K(e){var t,r,o,i;if(e)return t={},r=e._attr,o=parseInt(r.w||"0",10),t.width=l.UnitHelper.emuToPixles(o),t.compoundLineType=r.compd||"sng",t.lineEndingCap=r.cap||"sq",t.penAlignment=r.align||"ctr",t.fillFormat=q(e),t.headLineEndStyle=$(e["a:headEnd"]),t.tailLineEndStyle=$(e["a:tailEnd"]),e["a:bevel"]&&(t.joinType="bevel"),e["a:miter"]&&(t.joinType="miter"),e["a:round"]&&(t.joinType="round"),i=e["a:prstDash"],t.lineDashType=i&&i._attr.val||"solid",t}function q(e){var t=e["a:solidFill"];return t?Y(t):(t=e["a:pattFill"])?ee(t):(t=e["a:noFill"])?te():(t=e["a:gradFill"])?re(t):(t=e["a:blipFill"],t?ie(t):void 0)}function Y(e){var t={},r=Z(e,t);return{fillFormatType:1,color:r,drawingColorSettings:t}}function Q(e,t,r){r.forEach(function(r){var o=t["a:"+r];o&&(e[r]=parseInt(o._attr.val||"0",10))})}function Z(e,t){var r,o,i,n,a,s,c,d,u,f,b,h=e["a:schemeClr"];return h&&(r=(h._attr.val||"").toUpperCase(),Q(t,h,["alpha","shade","tint","hue","hueOff","hueMod","sat","satOff","satMod","lum","lumOff","lumMod"]),r)?new l.ExcelColor(3,l.ColorHelper.toColorSchemeIndex(r),0):(h=e["a:hslClr"])?(i=h._attr,n=parseInt(i.hue||"0",10),a=parseInt(i.sat||"0",10),s=parseInt(i.lum||"0",10),Q(t,h,["alpha","shade","tint"]),l.ColorHelper.fromColorToExcelColor(l.ColorHelper.convertHLSToRGB(n,s,a))):(h=e["a:prstClr"],h&&(r=h._attr.val||"",Q(t,h,["alpha","shade","tint"]),r)?l.ColorHelper.fromColorToExcelColor(l.ColorHelper.fromPresetColorVal(r)):(h=e["a:scrgbClr"])?(i=h._attr,c=parseInt(i.r||"0",10),d=parseInt(i.g||"0",10),u=parseInt(i.b||"0",10),Q(t,h,["alpha","shade","tint"]),l.ColorHelper.fromColorToExcelColor(new l.lk(255,l.ColorHelper.scRgbTosRgb(c),l.ColorHelper.scRgbTosRgb(d),l.ColorHelper.scRgbTosRgb(u)))):(h=e["a:srgbClr"],h&&(o=h._attr.val,Q(t,h,["alpha","shade","tint"]),o&&(r=parseInt(o,16),!isNaN(r)))?new l.ExcelColor(2,r,0):(h=e["a:sysClr"],h&&(f=h._attr.val,b=l.ExcelSystemColor.getSystemColor(f),Q(t,h,["alpha","shade","tint","lumMode"]),b)?l.ColorHelper.fromColorToExcelColor(b):null)))}function $(e){if(e){var t=e._attr;return{length:t.len||"lg",type:t.type||"none",width:t.w||"lg"}}}function ee(e){var t,r,o,i,n=e._attr.prst||"pct5",a=e["a:bgClr"];return a&&(t={},r=Z(a,t)),a=e["a:fgClr"],a&&(o={},i=Z(a,o)),{fillFormatType:4,fillPattern:n,backgroundDrawingColorSettings:t,backgroundColor:r,foregroundDrawingColorSettings:o,foregroundColor:i}}function te(){return{fillFormatType:0}}function re(e){var t,r=[],o=e._attr,i={fillFomatType:2,gradientStops:r};return i.flipMode=o.flip||"none",i.rotateWithShape=n.XmlNodeHelper.Vm(o.rotWithShape,!1),t=e["a:gsLst"],t&&u(t["a:gs"]).forEach(function(e){r.push(oe(e))}),t=e["a:lin"],t&&(i.gradientFillType="linear",i.angle=parseFloat(t._attr.ang||"0")/6e4,i.scaled=n.XmlNodeHelper.Vm(t._attr.scaled,!1)),t=e["a:path"],t&&(i.gradientFillType=t._attr.path||"shape",i.fillToRect=ae(t["a:fillToRect"])),i.tileRect=ae(e["a:tileRect"]),i}function oe(e){var t={},r=Z(e,t),o=parseFloat(e._attr.pos||"100000")/1e5;return{position:o,color:r,drawingColorSettings:t}}function ie(e){var t,r,o={transparency:1};return o.rotateWithShape=n.XmlNodeHelper.Vm(e._attr.rotWithShape,!1),t=e["a:blip"],t&&(o.imageID=t._attr["r:embed"],r=t["a:alphaModFix"],r&&(o.transparency=1-parseFloat(r._attr.amt||"0")/1e5)),t=e["a:tile"],t&&(o.tile=ne(t)),t=e["a:stretch"],t&&(o.stretch=ae(t["a:fillRect"])),o}function ne(e){var t=e._attr,r=t.sx,o=t.sy,i=t.tx,n=t.ty;return{alignment:t.algn||"tl",flipping:t.flip||"none",horizontalRatio:r&&parseFloat(r)/1e5||1,verticalRatio:o&&parseFloat(o)/1e5||1,horizontalOffset:i&&parseFloat(i)/1e5||0,verticalOffset:n&&parseFloat(n)/1e5||0}}function ae(e){if(e){var t=e._attr;return[t.l,t.t,t.r,t.b].map(function(e){return parseFloat(e||"0")/1e5})}}function le(e){var t,r={};return r.lineFormat=K(e["a:ln"]),t=q(e),t&&(r.fillFormat=t),r}},"./src/xlsx-io/reader/externallink-reader.ts":function(e,t,r){"use strict";var o,i,n;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/xml-io/xml-reader.ts"),n=null;function a(e){var t,r=new i.XmlReader;for(r.setXml(e),t={data:{}};r.read();)1===r.depth&&2!==r.elementType&&"externalBook"===r.name()&&l(r,t);return t}t.readExternalLinkFile=a;function l(e,t){if(3!==e.elementType)for(var r=e.depth;e.read();){if(e.depth<=r)return;switch(e.name()){case"sheetNames":t.sheetNames=s(e);break;case"sheetDataSet":c(e,t)}}}function s(e){var t,r,o;if(3===e.elementType)return[];for(t=e.depth,r=[];e.read()&&!(e.depth<=t);)if(1===e.nodeType()&&"sheetName"===e.name())for(;e.moveToNextAttribute();)o=e.readAttributeNameAsString(),"val"===o&&r.push(e.readContentAsString().replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&gt;/g,">").replace(/&lt;/g,"<"));return r}function c(e,t){var r,o,i,n,a;if(3!==e.elementType)for(r=e.depth;e.read();){if(e.depth<=r)return;if(1===e.nodeType()&&"sheetData"===e.name()){for(o=void 0,i=void 0;e.moveToNextAttribute();)n=e.readAttributeNameAsString(),"sheetId"===n&&(o=e.readContentAsInt()),"refreshError"===n&&(i=e.readContentAsInt());a=t.sheetNames[o],t.data[a]={},i&&(t.data[a].isNew=!0),d(e,t.data[a])}}}function d(e,t){var r,o,i,n;if(3!==e.elementType)for(r=e.depth;e.read();){if(e.depth<=r)return;if(1===e.nodeType()&&"row"===e.name()){for(o={},i=void 0;e.moveToNextAttribute();)n=e.readAttributeNameAsString(),"r"===n&&(i=e.readContentAsString());t[i-1]=t[i-1]||{},u(e,i,t[i-1])}}}function u(e,t,r){var i,n,a,l;if(3!==e.elementType)for(i=e.depth;e.read();){if(e.depth<=i)return;if(1===e.nodeType()&&"cell"===e.name()){for(n=void 0,a=void 0;e.moveToNextAttribute();)l=e.readAttributeNameAsString(),"r"===l?(n=e.readContentAsString(),n=n.substr(0,n.length-t.length),n=o.IndexHelper.R(n)):"t"===l&&(a=e.readContentAsString());r[n]=f(e,a)}}}function f(e,t){var r,o,i,a;if(3!==e.elementType){for(o=e.depth;e.read();){if(e.depth<=o)return r;if(1===e.nodeType()&&"v"===e.name())if("str"===t)r=e.readElementContentAsString();else if("b"===t)r="1"===e.readElementContentAsString();else if("e"===t){switch(i=e.readElementContentAsString(),a=n,i){case"#DIV/0!":a=7;break;case"#N/A":a=42;break;case"#NAME?":a=29;break;case"#NULL!":a=0;break;case"#NUM!":a=36;break;case"#REF!":a=23;break;case"#VALUE!":a=15}r=a!==n?{_error:i,_code:a}:n}else r=parseFloat(e.readElementContentAsString())}return r}}},"./src/xlsx-io/reader/metadata-reader.ts":function(e,t,r){"use strict";var o,i,n;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/xml-io/xml-parser.ts"),i=r("./src/xml-io/node-helper.ts"),n=i.XmlNodeHelper.He;function a(e){return e._attr.name}function l(e,t){var r,i=o.parseXmlToObject(e),l=i.metadata;l&&(r=n(l.metadataTypes.metadataType).map(a),l.typeNames=r,t.$g(l))}t.readSheetMetadata=l},"./src/xlsx-io/reader/pivot-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/excel-types.ts"),i=r("./src/xml-io/xml-reader.ts"),n=r("./src/common/common.ts"),a=r("./src/datamodel/datetime-helper.ts"),l=r("./src/xml-io/xml-parser.ts"),s=r("./src/xlsx-io/reader/autofilter-reader.ts"),c=r("./src/datamodel/excel-style.ts"),d=r("./src/xml-io/node-helper.ts"),u={captionEqual:0,captionNotEqual:1,captionBeginsWith:2,captionNotBeginsWith:3,captionEndsWith:4,captionNotEndsWith:5,captionContains:6,captionNotContains:7,captionGreaterThan:8,captionGreaterThanOrEqual:9,captionLessThan:10,captionLessThanOrEqual:11,captionBetween:12,captionNotBetween:13},f={valueEqual:0,valueNotEqual:1,valueGreaterThan:2,valueGreaterThanOrEqual:3,valueLessThan:4,valueLessThanOrEqual:5,valueBetween:6,valueNotBetween:7},b={dateEqual:0,dateNotEqual:1,dateOlderThan:2,dateOlderThanOrEqual:3,dateNewerThan:4,dateNewerThanOrEqual:5,dateBetween:6,dateNotBetween:7,tomorrow:10,today:8,yesterday:9,nextWeek:17,thisWeek:15,lastWeek:16,nextMonth:14,thisMonth:12,lastMonth:13,nextQuarter:18,thisQuarter:19,lastQuarter:20,nextYear:21,thisYear:22,lastYear:23,yearToDate:40,Q1:24,Q2:25,Q3:26,Q4:27,M1:28,M2:29,M3:30,M4:31,M5:32,M6:33,M7:34,M8:35,M9:36,M10:37,M11:38,M12:39},h={count:0,percent:1,sum:2},p=void 0,m=n.Util.pa,g=n.Util.wa;function w(e,t,r){var o=new i.XmlReader;for(o.setXml(e);o.read();)0===o.depth&&2!==o.elementType&&"pivotCacheDefinition"===o.name()&&(A(o,r),x(o,r))}t.readPivotCacheDefinitions=w;function x(e,t){for(var r=e.depth;e.read()&&!(e.depth<=r);)switch(e.name()){case"cacheSource":v(e,t);break;case"cacheFields":k(e,t);break;case"cacheHierarchy":D(e,t);break;case"kpi":W(e,t);break;case"tupleCache":_(e,t);break;case"calculatedItem":N(e,t);break;case"calculatedMember":M(e,t);break;case"dimension":O(e,t);break;case"measureGroup":H(e,t);break;case"map":G(e,t);break;case"extLst":U(e,t)}}function A(e,t){for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"backgroundQuery":t.backgroundQuery=e.readContentAsBoolean();break;case"createdVersion":t.createdVersion=e.readContentAsInt();break;case"enableRefresh":t.enableRefresh=e.readContentAsBoolean();break;case"r:id":t.rid=e.readContentAsString();break;case"invalid":t.invalid=e.readContentAsBoolean();break;case"minRefreshableVersion":t.minRefreshableVersion=e.readContentAsInt();break;case"missingItemsLimit":t.missingItemsLimit=e.readContentAsInt();break;case"recordCount":t.recordCount=e.readContentAsInt();
43
43
  break;case"optimizeMemory":t.optimizeMemory=e.readContentAsBoolean();break;case"refreshedBy":t.refreshedBy=e.readContentAsString();break;case"refreshedDate":t.refreshedDate=a.DateTimeHelper.Je(e.readContentAsDouble());break;case"refreshedVersion":t.refreshedVersion=e.readContentAsInt();break;case"refreshOnLoad":t.refreshOnLoad=e.readContentAsBoolean();break;case"saveData":t.saveData=e.readContentAsBoolean();break;case"supportAdvancedDrill":t.supportAdvancedDrill=e.readContentAsBoolean();break;case"supportSubquery":t.supportSubquery=e.readContentAsBoolean();break;case"tupleCache":t.tupleCache=e.readContentAsBoolean();break;case"upgradeOnRefresh":t.upgradeOnRefresh=e.readContentAsBoolean()}}function T(e,t){for(;e.moveToNextAttribute();){var r=e.readAttributeNameAsString();switch(r){case"ref":t.ref=e.readContentAsString();break;case"sheet":t.sheet=e.readContentAsString();break;case"name":t.sourceName=e.readContentAsString()}}}function v(e,t){for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"type":t.sourceType=e.readContentAsString();break;case"connectionId":t.sourceConnectionId=e.readContentAsInt()}var r=e.depth;if(3!==e.elementType)for(;e.read()&&!(e.depth<=r);)"worksheetSource"===e.name()&&T(e,t)}function k(e,t){var r,o,i,a;for(t.fields=[],r=e.depth;e.read()&&!(e.depth<=r);){for(o={};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"caption":o.caption=e.readContentAsString();break;case"databaseField":o.databaseField=e.readContentAsBoolean();break;case"formula":o.formula=g(m(e.readContentAsString()));break;case"hierarchy":o.hierarchy=e.readContentAsInt();break;case"level":o.level=e.readContentAsInt();break;case"mappingCount":o.mappingCount=e.readContentAsInt();break;case"memberPropertyField":o.memberPropertyField=e.readContentAsBoolean();break;case"name":o.name=m(g(e.readContentAsString()));break;case"numFmtId":o.numFmtId=e.readContentAsInt();break;case"propertyName":o.propertyName=e.readContentAsString();break;case"serverField":o.serverField=e.readContentAsBoolean();break;case"sqlType":o.sqlType=e.readContentAsInt();break;case"uniqueList":o.uniqueList=e.readContentAsBoolean()}if(3!==e.elementType)for(i=e.depth;e.read()&&!(e.depth<=i);)switch(e.name()){case"sharedItems":E(e,o),I(e,o);break;case"fieldGroup":a={},F(e,a),n.isNullOrUndefined(a.base)||R(e,a),o.fieldGroup=o.fieldGroup||a;break;case"mpMap":for(o.mpMap=[];e.moveToNextAttribute();)"v"===e.readAttributeNameAsString()&&o.mpMap.push(e.readContentAsInt())}t.fields.push(o)}}function F(e,t){for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"par":t.parent=e.readContentAsInt();break;case"base":t.base=e.readContentAsInt()}}function R(e,t){for(var r,o,i,n=e.depth;e.read()&&!(e.depth<=n);)if(r=e.name(),"rangePr"===r)for(t.hasRangeGroup=!0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"autoStart":t.autoStart=e.readContentAsBoolean();break;case"autoEnd":t.autoEnd=e.readContentAsBoolean();break;case"groupBy":t.groupBy=e.readContentAsString();break;case"startNum":t.startNum=e.readContentAsDouble();break;case"endNum":t.endNum=e.readContentAsDouble();break;case"startDate":t.startDate=Date.parse(e.readContentAsString());break;case"endDate":t.endDate=Date.parse(e.readContentAsString());break;case"groupInterval":t.groupInterval=e.readContentAsDouble()}else if("discretePr"===r){for(t.discreteGroup=[],o=e.depth;e.read()&&!(e.depth<=o);)if("x"===e.name())for(;e.moveToNextAttribute();)"v"===e.readAttributeNameAsString()&&t.discreteGroup.push(e.readContentAsInt())}else if("groupItems"===r)for(t.groupItems=[],i=e.depth;e.read()&&!(e.depth<=i);)t.groupItems.push(L(e))}function E(e,t){for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"containsBlank":t.containsBlank=e.readContentAsBoolean();break;case"containsDate":t.containsDate=e.readContentAsBoolean();break;case"containsInteger":t.containsInteger=e.readContentAsBoolean();break;case"containsMixedTypes":t.containsMixedTypes=e.readContentAsBoolean();break;case"containsNonDate":t.containsNonDate=e.readContentAsBoolean();break;case"containsNumber":t.containsNumber=e.readContentAsBoolean();break;case"containsSemiMixedTypes":t.containsSemiMixedTypes=e.readContentAsBoolean();break;case"containsString":t.containsString=e.readContentAsBoolean();break;case"longText":t.longText=e.readContentAsBoolean();break;case"maxDate":t.maxDate=Date.parse(e.readContentAsString());break;case"maxValue":t.maxValue=e.readContentAsDouble();break;case"minDate":t.minDate=Date.parse(e.readContentAsString());break;case"minValue":t.minValue=e.readContentAsDouble()}}function I(e,t){t.entities=[];var r=e.depth;if(3!==e.elementType)for(;e.read()&&!(e.depth<=r);)t.entities.push(L(e))}function L(e){var t={},r=e.name();switch(r){case"b":t.type="b";break;case"d":t.type="d";break;case"e":t.type="e";break;case"m":t.type="m";break;case"n":t.type="n";break;case"s":t.type="s"}for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"c":t.caption=e.readContentAsString();break;case"cp":t.propertyCount=e.readContentAsInt();break;case"f":t.isCalculatedItem=e.readContentAsBoolean();break;case"u":t.isUnusedItem=e.readContentAsBoolean();break;case"b":t.isBold=e.readContentAsBoolean();break;case"bc":t.backgroundColor=e.readContentAsInt();break;case"fc":t.foregroundColor=e.readContentAsInt();break;case"i":t.isItalic=e.readContentAsBoolean();break;case"in":t.formatIndex=e.readContentAsInt();break;case"st":t.isStrikethrough=e.readContentAsBoolean();break;case"un":t.isUnderline=e.readContentAsBoolean();break;case"v":"b"===r?t.value=e.readContentAsBoolean():"d"===r?t.value=g(e.readContentAsString()):"e"===r?t.value=e.readContentAsError():"n"===r?t.value=e.readContentAsDouble():"s"===r?t.value=e.readContentAsString():"x"===r&&(t.value=e.readContentAsString())}return t}function D(e,t){var r,o;for(t.cacheHierarchies=[];e.read();){for(r={fieldsUsages:[],groupLevels:[]};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"uniqueName":r.uniqueName=e.readContentAsString();break;case"caption":r.caption=e.readContentAsString();break;case"measure":r.measure=e.readContentAsBoolean();break;case"set":r.set=e.readContentAsBoolean();break;case"parentSet":r.parentSet=e.readContentAsInt();break;case"iconSet":r.iconSet=e.readContentAsInt();break;case"attribute":r.attribute=e.readContentAsBoolean();break;case"time":r.time=e.readContentAsBoolean();break;case"keyAttribute":r.keyAttribute=e.readContentAsBoolean();break;case"defaultMemberUniqueName":r.defaultMemberUniqueName=e.readContentAsString();break;case"allUniqueName":r.allUniqueName=e.readContentAsString();break;case"allCaption":r.allCaption=e.readContentAsString();break;case"dimensionUniqueName":r.dimensionUniqueName=e.readContentAsString();break;case"displayFolder":r.displayFolder=e.readContentAsString();break;case"measureGroup":r.measureGroup=e.readContentAsString();break;case"measures":r.measures=e.readContentAsBoolean();break;case"count":r.count=e.readContentAsInt();break;case"oneField":r.oneField=e.readContentAsBoolean();break;case"memberValueDatatype":r.memberValueDatatype=e.readContentAsInt();break;case"unbalanced":r.unbalanced=e.readContentAsBoolean();break;case"unbalancedGroup":r.unbalancedGroup=e.readContentAsBoolean();break;case"hidden":r.hidden=e.readContentAsBoolean()}for(o=e.depth;e.read()&&!(e.depth<=o);)switch(e.name()){case"fieldUsage":r.fieldsUsages.push(e.readContentAsInt());break;case"groupLevel":r.groupLevels.push(B(e))}t.cacheHierarchies.push(r)}}function B(e){for(var t,r={};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"uniqueName":r.uniqueName=e.readContentAsString();break;case"caption":r.caption=e.readContentAsString();break;case"user":r.user=e.readContentAsBoolean();break;case"customRollUp":r.customRollUp=e.readContentAsBoolean()}for(t=e.depth;e.read()&&!(e.depth<=t);)e.name()&&r.groups.push(P(e));return r}function P(e){for(var t,r,o={groupMembers:[]};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"name":o.Name=e.readContentAsString();break;case"uniqueName":o.UniqueName=e.readContentAsString();break;case"caption":o.Caption=e.readContentAsString();break;case"uniqueParent":o.UniqueParent=e.readContentAsString();break;case"id":o.Id=e.readContentAsInt()}for(t=e.depth;e.read()&&!(e.depth<=t);)if("groupMember"===e.name()){for(r={};e.moveToNextAttribute();)switch(e.name()){case"uniqueName":r.uniqueName=e.readContentAsString();break;case"group":r.group=e.readContentAsBoolean()}o.groupMembers.push(r)}return o}function W(e,t){for(t.KPIs=[];e.moveToNextAttribute();){var r={};switch(e.readAttributeNameAsString()){case"uniqueName":r.uniqueName=e.readContentAsString();break;case"caption":r.caption=e.readContentAsString();break;case"displayFolder":r.displayFolder=e.readContentAsString();break;case"measureGroup":r.measureGroup=e.readContentAsString();break;case"parent":r.parent=e.readContentAsString();break;case"value":r.value=e.readContentAsString();break;case"goal":r.goal=e.readContentAsString();break;case"status":r.status=e.readContentAsString();break;case"trend":r.trend=e.readContentAsString();break;case"weight":r.weight=e.readContentAsString();break;case"time":r.time=e.readContentAsString()}t.KPIs.push(r)}}y=function(){function e(){}return e.readPivotCacheSet=function(e){},e.readPivotCacheQuery=function(e){},e.readPivotCacheServerFormat=function(e){},e}();function _(e,t){for(var r,o={entries:[]};e.read();)switch(e.name()){case"entries":for(r=e.depth;e.read()&&e.depth>r;)o.entries.push(L(e));break;case"set":break;case"query":break;case"serverFormats":}t.pivotCacheTupleCache=o}function N(e,t){var r,o={};for(t.calculatedItems=t.calculatedItems||[];e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"field":o.field=e.readContentAsInt();break;case"formula":o.formula=m(e.readContentAsString())}for(r=e.depth;e.read()&&!(e.depth<=r);)"pivotArea"===e.name()&&(o.pivotArea=ce(e));t.calculatedItems.push(o)}function M(e,t){for(var r={};e.moveToNextAttribute();)switch(e.name()){case"name":r.name=m(g(e.readContentAsString()));break;case"mdx":r.mdx=e.readContentAsString();break;case"memberName":r.memberName=e.readContentAsString();break;case"hierarchy":r.hierarchy=e.readContentAsString();break;case"parent":r.parent=e.readContentAsString();break;case"solveOrder":r.solveOrder=e.readContentAsInt();break;case"set":r.set=e.readContentAsBoolean()}t.calculatedMembers.push(r)}function O(e,t){for(var r={};e.moveToNextAttribute();)switch(e.name()){case"measure":r.measure=e.readContentAsBoolean();break;case"name":r.name=m(g(e.readContentAsString()));break;case"uniqueName":r.uniqueName=e.readContentAsString();break;case"caption":r.caption=e.readContentAsString()}t.dimensions.push(r)}function H(e,t){for(var r={};e.moveToNextAttribute();)switch(e.name()){case"name":r.name=m(g(e.readContentAsString()));break;case"caption":r.caption=e.readContentAsString()}t.measureGroups.push(r)}function G(e,t){for(var r={};e.moveToNextAttribute();)switch(e.name()){case"measureGroup":r.name=e.readContentAsInt();break;case"dimension":r.caption=e.readContentAsInt()}t.measureDimensionMap.push(r)}function U(e,t){for(var r,o=e.depth;e.read()&&!(e.depth<=o);)if("ext"===e.name())for(r=e.depth;e.read()&&!(e.depth<=r);)if("x14:pivotCacheDefinition"===e.name())for(;e.moveToNextAttribute();)"pivotCacheId"===e.readAttributeNameAsString()&&(t.pivotCacheId=e.readContentAsInt())}function J(e,t){var r,n,a,l,s,c,d=new i.XmlReader;for(d.setXml(e),r=[];d.read();)if(0===d.depth&&2!==d.elementType&&"pivotCacheRecords"===d.name())for(n=d.depth;d.read()&&!(d.depth<=n);)if("r"===d.name()){for(a=[],l=d.depth;d.read()&&!(d.depth<=l);){for(s=d.name(),c={};d.moveToNextAttribute();)switch(d.readAttributeNameAsString()){case"v":"b"===s?(c.type=o.PivotSharedItemType.B,c.value=d.readContentAsBoolean()):"d"===s?(c.type=o.PivotSharedItemType.D,c.value=g(d.readContentAsString())):"e"===s?(c.type=o.PivotSharedItemType.E,c.value=d.readContentAsError()):"m"===s?(c.type=o.PivotSharedItemType.M,c.value=null):"n"===s?(c.type=o.PivotSharedItemType.N,c.value=d.readContentAsDouble()):"s"===s?(c.type=o.PivotSharedItemType.S,c.value=g(d.readContentAsString())):"x"===s&&(c.type=o.PivotSharedItemType.X,c.value=d.readContentAsInt());break;case"c":c.caption=d.readContentAsString();break;case"cp":c.propertyCount=d.readContentAsInt();break;case"f":c.isCalculatedItem=d.readContentAsBoolean();break;case"u":c.isUnusedItem=d.readContentAsBoolean();break;case"b":c.isBold=d.readContentAsBoolean();break;case"bc":c.backgroundColor=d.readContentAsInt();break;case"fc":c.foregroundColor=d.readContentAsInt();break;case"i":c.isItalic=d.readContentAsBoolean();break;case"in":c.formatIndex=d.readContentAsInt();break;case"st":c.isStrikethrough=d.readContentAsBoolean();break;case"un":c.isUnderline=d.readContentAsBoolean()}a.push(c)}r.push(a)}t.pivotCacheRecords=r}t.readPivotCacheRecords=J;function z(e,t,r,i){var n,a,l,s,c,d=[],u=[];if(e)for(n in e)"count"!==n&&(a=e[n],a&&(l=a.fileType,l===o.RelationshipConstants.Ya&&d.push(a)));for(s=0;s<d.length;s++)if(c=i(d[s].fileName))try{u.push(V(c,r,r.Ne.sheets[t]))}catch(e){}r.zg(u,t)}t.readPivotTableDefinition=z;function V(e,t,r,o,n){var a,l=new i.XmlReader;for(l.setXml(e),a={fields:[],chartFormats:[],pivotFilters:[],formats:[],rowFields:[],rowItems:[],columnFields:[],columnItems:[],pageFields:[],dataFields:[],pivotHierarchies:[]},a.hideValuesRow=!1,t&&void 0===t.fn&&(t.fn=[]);l.read();)0===l.depth&&2!==l.elementType&&"pivotTableDefinition"===l.name()&&(X(l,a,t),K(l,a,t,r));return a}function j(e,t){var r,o="_",i=e.split(o);return isNaN(parseInt(i[i.length-1],10))?e+=o+"1":(r=i[i.length-1],i.splice(i.length-1,1,o+(parseInt(r,10)+1)),e=i.join("")),t.indexOf(e)!==-1&&(e=j(e,t)),e}function X(e,t,r){var o,i;for(t.outline=!1,t.outlineData=!1;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"applyAlignmentFormats":t.applyAlignmentFormats=e.readContentAsBoolean();break;case"applyBorderFormats":t.applyBorderFormats=e.readContentAsBoolean();break;case"applyFontFormats":t.applyFontFormats=e.readContentAsBoolean();break;case"applyNumberFormats":t.applyNumberFormats=e.readContentAsBoolean();break;case"applyPatternFormats":t.applyPatternFormats=e.readContentAsBoolean();break;case"applyWidthHeightFormats":t.applyWidthHeightFormats=e.readContentAsBoolean();break;case"asteriskTotals":t.asteriskTotals=e.readContentAsBoolean();break;case"autoFormatId":t.autoFormatId=e.readContentAsInt();break;case"cacheId":t.cacheId=e.readContentAsInt();break;case"chartFormat":t.chartFormat=e.readContentAsInt();break;case"colGrandTotals":t.colGrandTotals=e.readContentAsBoolean();break;case"colHeaderCaption":t.colHeaderCaption=e.readContentAsString();break;case"compact":t.compact=e.readContentAsBoolean();break;case"compactData":t.compactData=e.readContentAsBoolean();break;case"createdVersion":t.createdVersion=e.readContentAsInt();break;case"customListSort":t.customListSort=e.readContentAsBoolean();break;case"dataCaption":t.dataCaption=e.readContentAsString();break;case"disableFieldList":t.disableFieldList=e.readContentAsBoolean();break;case"editData":t.editData=e.readContentAsBoolean();break;case"enableDrill":t.enableDrill=e.readContentAsBoolean();break;case"enableFieldProperties":t.enableFieldProperties=e.readContentAsBoolean();break;case"enableWizard":t.enableWizard=e.readContentAsBoolean();break;case"errorCaption":t.errorCaption=e.readContentAsString();break;case"fieldListSortAscending":t.fieldListSortAscending=e.readContentAsBoolean();break;case"fieldPrintTitles":t.fieldPrintTitles=e.readContentAsBoolean();break;case"grandTotalCaption":t.grandTotalCaption=e.readContentAsString();break;case"gridDropZones":t.gridDropZones=e.readContentAsBoolean();break;case"immersive":t.immersive=e.readContentAsBoolean();break;case"indent":t.indent=e.readContentAsInt();break;case"itemPrintTitles":t.itemPrintTitles=e.readContentAsBoolean();break;case"mdxSubqueries":t.mdxSubqueries=e.readContentAsBoolean();break;case"mergeItem":t.mergeItem=e.readContentAsBoolean();break;case"minRefreshableVersion":t.minRefreshableVersion=e.readContentAsInt();break;case"missingCaption":t.missingCaption=e.readContentAsString();break;case"multipleFieldFilters":t.multipleFieldFilters=e.readContentAsBoolean();break;case"name":o=m(g(e.readContentAsString())),i=r&&r.fn,i&&i.indexOf(o)!==-1&&(o=j(o,i)),t.name=m(g(o)),i.push(o);break;case"outline":t.outline=e.readContentAsBoolean();break;case"outlineData":t.outlineData=e.readContentAsBoolean();break;case"pageOverThenDown":t.pageOverThenDown=e.readContentAsBoolean();break;case"pageStyle":t.pageStyle=e.readContentAsString();break;case"pageWrap":t.pageWrap=e.readContentAsInt();break;case"pivotTableStyle":t.pivotTableStyle=e.readContentAsString();break;case"preserveFormatting":t.preserveFormatting=e.readContentAsBoolean();break;case"printDrill":t.printDrill=e.readContentAsBoolean();break;case"published":t.published=e.readContentAsBoolean();break;case"rowGrandTotals":t.rowGrandTotals=e.readContentAsBoolean();break;case"rowHeaderCaption":t.rowHeaderCaption=e.readContentAsString();break;case"showCalcMbrs":t.showCalcMbrs=e.readContentAsBoolean();break;case"showDataDropDown":t.showDataDropDown=e.readContentAsBoolean();break;case"showDataTips":t.showDataTips=e.readContentAsBoolean();break;case"showDrill":t.showDrill=e.readContentAsBoolean();break;case"showDropZones":t.showDropZones=e.readContentAsBoolean();break;case"showEmptyCol":t.showEmptyCol=e.readContentAsBoolean();break;case"showEmptyRow":t.showEmptyRow=e.readContentAsBoolean();break;case"showError":t.showError=e.readContentAsBoolean();break;case"showHeaders":t.showHeaders=e.readContentAsBoolean();break;case"showItems":t.showItems=e.readContentAsBoolean();break;case"showMemberPropertyTips":t.showMemberPropertyTips=e.readContentAsBoolean();break;case"showMissing":t.showMissing=e.readContentAsBoolean();break;case"showMultipleLabel":t.showMultipleLabel=e.readContentAsBoolean();break;case"subtotalHiddenItems":t.subtotalHiddenItems=e.readContentAsBoolean();break;case"tag":t.tag=e.readContentAsString();break;case"updatedVersion":t.updatedVersion=e.readContentAsInt();break;case"useAutoFormatting":t.useAutoFormatting=e.readContentAsBoolean();break;case"vacatedStyle":t.vacatedStyle=e.readContentAsString();break;case"visualTotals":t.visualTotals=e.readContentAsBoolean()}}function K(e,t,r,o){for(var i,n=e.depth,a=o&&o.conditionalFormats&&o.conditionalFormats.rules;e.read()&&!(e.depth<=n);)switch(e.name()){case"pivotTableDefinition":X(e,t);break;case"location":le(e,t);break;case"pivotFields":for(i=e.depth;e.read()&&!(e.depth<=i);)t.fields.push(se(e,r));break;case"formats":pe(e,t,r);break;case"conditionalFormats":ie(e,t,a);break;case"chartFormat":ae(e,t);break;case"filter":te(e,t,r);break;case"pivotTableStyleInfo":ye(e,t,r);break;case"rowFields":t.rowFields=we(e);break;case"rowItems":t.rowItems=xe(e);break;case"colFields":t.columnFields=we(e);break;case"colItems":t.columnItems=xe(e);break;case"pageFields":ee(e,t);break;case"dataFields":Z(e,t,r);break;case"pivotHierarchies":Q(e,t);break;case"rowHierarchiesUsage":t.rowHierarchyUsage=Y(e);break;case"colHierarchiesUsage":t.columnHierarchyUsage=Y(e);break;case"extLst":q(e,t,a)}}function q(e,t,r){for(var o,i=e.depth;e.read()&&!(e.depth<=i);)for(o=e.depth;e.read()&&!(e.depth<=o);){if("x14:pivotTableDefinition"===e.name()){for(;e.moveToNextAttribute();)"hideValuesRow"===e.readAttributeNameAsString()&&(t.hideValuesRow=e.readContentAsBoolean()),"altText"===e.readAttributeNameAsString()&&(t.altText=e.readContentAsString()),"fillDownLabelsDefault"===e.readAttributeNameAsString()&&(t.fillDownLabels=e.readContentAsBoolean()),"altTextSummary"===e.readAttributeNameAsString()&&(t.altTextSummary=e.readContentAsString());"x14:conditionalFormats"===e.name()&&ie(e,t,r)}if("xpdl:pivotTableDefinition16"===e.name())for(;e.moveToNextAttribute();)"SubtotalsOnTopDefault"===e.readAttributeNameAsString()&&(t.subtotalsOnTopDefault=e.readContentAsBoolean()),"EnabledSubtotalsDefault"===e.readAttributeNameAsString()&&(t.enabledSubtotalsDefault=e.readContentAsBoolean()),"InsertBlankRowDefault"===e.readAttributeNameAsString()&&(t.insertBlankRowDefault=e.readContentAsBoolean())}}function Y(e){for(var t=[],r=e.depth;e.read()&&!(e.depth<=r);)for(;e.moveToNextAttribute();)"hierarchyUsage"===e.readAttributeNameAsString()&&t.push(e.readContentAsInt());return t}function Q(e,t){for(var r,o,i,n,a,l,s,c=e.depth;e.read()&&!(e.depth<=c);){for(r={memberProperties:[],members:[]};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"caption":r.caption=e.readContentAsString();break;case"dragOff":r.dragOff=e.readContentAsBoolean();break;case"dragToCol":r.dragToCol=e.readContentAsBoolean();break;case"dragToData":r.dragToData=e.readContentAsBoolean();break;case"dragToPage":r.dragToPage=e.readContentAsBoolean();break;case"dragToRow":r.dragToRow=e.readContentAsBoolean();break;case"includeNewItemsInFilter":r.includeNewItemsInFilter=e.readContentAsBoolean();break;case"multipleItemSelectionAllowed":r.multipleItemSelectionAllowed=e.readContentAsBoolean();break;case"outline":r.outline=e.readContentAsBoolean();break;case"showInFieldList":r.showInFieldList=e.readContentAsBoolean();break;case"subtotalTop":r.subtotalTop=e.readContentAsBoolean()}for(o=e.depth;e.read()&&!(e.depth<=o);)switch(e.name()){case"sh:mps":for(i=e.depth;e.read()&&(n={},!(e.depth<=i));){if("sh:mp"===e.name())for(;e.moveToNextAttribute();)a=e.readAttributeNameAsString(),"name"===a?n.name=m(g(e.readContentAsString())):"showCell"===a?n.showCell=e.readContentAsBoolean():"showTip"===a?n.showTip=e.readContentAsBoolean():"showAsCaption"===a?n.showAsCaption=e.readContentAsBoolean():"nameLen"===a?n.nameLen=e.readContentAsInt():"pPos"===a?n.pPos=e.readContentAsInt():"pLen"===a?n.pLen=e.readContentAsInt():"level"===a?n.level=e.readContentAsInt():"field"===a&&(n.field=e.readContentAsInt());r.memberProperties.push(n)}break;case"members":for(l={members:[]};e.moveToNextAttribute();)"level"===e.readAttributeNameAsString()&&(l.level=e.readContentAsInt());for(s=e.depth;e.read()&&!(e.depth<=s);)for(;e.moveToNextAttribute();)"name"===e.readAttributeNameAsString()&&l.members.push(e.readContentAsString())}t.pivotHierarchies.push(r)}}function Z(e,t,r){for(var o,i,n,a=e.depth;e.read()&&!(e.depth<=a);){for(o={},o.isOnRead=!0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"baseField":o.baseField=e.readContentAsInt();break;case"baseItem":o.baseItem=e.readContentAsInt();break;case"fld":o.fld=e.readContentAsInt();break;case"name":o.name=m(g(e.readContentAsString()));break;case"numFmtId":i=e.readContentAsInt(),n=c.ExtendedNumberFormatHelper.builtInNumberFomrat(),r.gn&&r.gn[i]?o.numberFormat=c.ExtendedNumberFormatHelper.getFormatCode({numberFormat:r.gn[i]}):n[i]&&(o.numberFormat=n[i]);break;case"showDataAs":o.showDataAs=e.readContentAsString();break;case"subtotal":o.subtotal=e.readContentAsString()}$(e,o),o.isOnRead=!1,t.dataFields.push(o)}}function $(e,t){var r,o,i;if(3!==e.elementType)for(r=e.depth;e.read()&&!(e.depth<=r);)if("extLst"===e.name())for(o=e.depth;e.read()&&!(e.depth<=o);)if("ext"===e.name())for(i=e.depth;e.read()&&!(e.depth<=i);)if("x14:dataField"===e.name())for(;e.moveToNextAttribute();)"pivotShowAs"===e.readAttributeNameAsString()&&(t.showDataAs=e.readContentAsString())}function ee(e,t){for(var r,o=e.depth;e.read()&&!(e.depth<=o);){for(r={};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"cap":r.cap=e.readContentAsString();break;case"fld":r.fld=e.readContentAsInt();break;case"hier":r.hier=e.readContentAsInt();break;case"item":r.item=e.readContentAsInt();break;case"name":r.name=m(g(e.readContentAsString()))}t.pageFields.push(r)}}function te(e,t,r){for(var o,i,a,c,d,u={};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"fld":u.fld=e.readContentAsInt();break;case"mpFld":u.mpFld=e.readContentAsInt();break;case"type":u.type=e.readContentAsString();break;case"evalOrder":u.evalOrder=e.readContentAsInt();break;case"id":u.id=e.readContentAsInt();break;case"iMeasureHier":u.iMeasureHier=e.readContentAsInt();break;case"iMeasureFld":u.iMeasureFld=e.readContentAsInt();break;case"name":u.name=m(g(e.readContentAsString()));break;case"description":u.description=e.readContentAsString();break;case"stringValue1":u.stringValue1=e.readContentAsString();break;case"stringValue2":u.stringValue2=e.readContentAsString()}for(o=e.depth;e.read()&&!(e.depth<=o);)"autoFilter"===e.name()&&(i=l.parseXmlToObject(e.readFullElement()).autoFilter,a=s.readAutoFilter(i),c=void 0,i.sortState&&(a.sortInfo=s.readSortInfo(i.sortState)),n.isNullOrUndefined(u.type)||(c=oe(u.type)),u.conType=c&&c.conType,u.autoFilter=r.Ng(a,c)),"extLst"===e.name()&&(d=u.autoFilter&&u.autoFilter.filterItemMap&&u.autoFilter.filterItemMap[0]&&u.autoFilter.filterItemMap[0].conditions&&u.autoFilter.filterItemMap[0].conditions[0],d&&re(e,d));t.pivotFilters.push(u)}function re(e,t){var r,o;if(3!==e.elementType)for(r=e.depth;e.read()&&!(e.depth<=r);)if("ext"===e.name())for(o=e.depth;e.read()&&!(e.depth<=o);)if("x15:pivotFilter"===e.name())for(;e.moveToNextAttribute();)"useWholeDay"===e.readAttributeNameAsString()&&(t.isWholeDay=e.readContentAsString())}function oe(e){return e.indexOf("caption")>-1&&!n.isNullOrUndefined(u[e])?{conType:0,compareType:u[e]}:e.indexOf("value")>-1&&!n.isNullOrUndefined(f[e])?{conType:2,compareType:f[e]}:n.isNullOrUndefined(b[e])?n.isNullOrUndefined(h[e])?void 0:{conType:3,compareType:h[e]}:{conType:1,compareType:b[e]}}function ie(e,t,r){var o,i=e.depth;for(n.isNullOrUndefined(r)&&(r=[]),n.isNullOrUndefined(t.pivotTableConditionFormats)&&(t.pivotTableConditionFormats=[]);e.read()&&!(e.depth<=i);)o=e.name(),"conditionalFormat"!==o&&"x14:conditionalFormat"!==o||ne(e,t,r)}function ne(e,t,r){for(var o,i={pivotAreas:[]},n=function(){switch(e.readAttributeNameAsString()){case"scope":i.scope=e.readContentAsString();break;case"type":i.type=e.readContentAsString();break;case"priority":var t=e.readContentAsInt();r.forEach(function(e){e.priority===t&&(i.rule=e)})}};e.moveToNextAttribute();)n();for(o=e.depth;e.read()&&!(e.depth<=o);)"pivotArea"===e.name()&&i.pivotAreas.push(ce(e));t.pivotTableConditionFormats.push(i)}function ae(e,t){for(var r,o={};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"chart":o.chart=e.readContentAsInt();break;case"format":o.format=e.readContentAsInt();break;case"series":o.series=e.readContentAsBoolean()}for(r=e.depth;e.read()&&!(e.depth<=r);)"pivotArea"===e.name()&&(o.pivotArea=ce(e));t.chartFormats.push(o)}function le(e,t){for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"ref":t.ref=e.readContentAsString();break;case"firstHeaderRow":t.firstHeaderRow=e.readContentAsInt();break;case"firstDataRow":t.firstDataRow=e.readContentAsInt();break;case"firstDataCol":t.firstDataCol=e.readContentAsInt();break;case"rowPageCount":t.rowPageCount=e.readContentAsInt();break;case"colPageCount":t.colPageCount=e.readContentAsInt()}}function se(e,t){var r,o,i,n,a,l,s,d={items:[]};for(d.isOnRead=!0,d.showAll=!0,d.defaultSubtotal=!0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"allDrilled":d.allDrilled=e.readContentAsBoolean();break;case"autoShow":d.autoShow=e.readContentAsBoolean();break;case"avgSubtotal":d.avgSubtotal=e.readContentAsBoolean();break;case"axis":d.axis=e.readContentAsString();break;case"compact":d.compact=e.readContentAsBoolean();break;case"countASubtotal":d.countASubtotal=e.readContentAsBoolean();break;case"countSubtotal":d.countSubtotal=e.readContentAsBoolean();break;case"dataField":d.dataField=e.readContentAsBoolean();break;case"dataSourceSort":d.dataSourceSort=e.readContentAsBoolean();break;case"defaultAttributeDrillState":d.defaultAttributeDrillState=e.readContentAsBoolean();break;case"defaultSubtotal":d.defaultSubtotal=e.readContentAsBoolean();break;case"dragOff":d.dragOff=e.readContentAsBoolean();break;case"dragToCol":d.dragToCol=e.readContentAsBoolean();break;case"dragToData":d.dragToData=e.readContentAsBoolean();break;case"dragToPage":d.dragToPage=e.readContentAsBoolean();break;case"dragToRow":d.dragToRow=e.readContentAsBoolean();break;case"hiddenLevel":d.hiddenLevel=e.readContentAsBoolean();break;case"hideNewItems":d.hideNewItems=e.readContentAsBoolean();break;case"includeNewItemsInFilter":d.includeNewItemsInFilter=e.readContentAsBoolean();break;case"insertBlankRow":d.insertBlankRow=e.readContentAsBoolean();break;case"insertPageBreak":d.insertPageBreak=e.readContentAsBoolean();break;case"itemPageCount":d.itemPageCount=e.readContentAsInt();break;case"maxSubtotal":d.maxSubtotal=e.readContentAsBoolean();break;case"measureFilter":d.measureFilter=e.readContentAsBoolean();break;case"minSubtotal":d.minSubtotal=e.readContentAsBoolean();break;case"multipleItemSelectionAllowed":d.multipleItemSelectionAllowed=e.readContentAsBoolean();break;case"name":d.name=m(g(e.readContentAsString()));break;case"nonAutoSortDefault":d.nonAutoSortDefault=e.readContentAsBoolean();break;case"numFmtId":r=e.readContentAsInt(),o=c.ExtendedNumberFormatHelper.builtInNumberFomrat(),t.gn&&t.gn[r]?d.numberFormat=c.ExtendedNumberFormatHelper.getFormatCode({numberFormat:t.gn[r]}):o[r]&&(d.numberFormat=o[r]);break;case"outline":d.outline=e.readContentAsBoolean();break;case"productSubtotal":d.productSubtotal=e.readContentAsBoolean();break;case"rankBy":d.rankBy=e.readContentAsInt();break;case"serverField":d.serverField=e.readContentAsBoolean();break;case"showAll":d.showAll=e.readContentAsBoolean();break;case"showDropDowns":d.showDropDowns=e.readContentAsBoolean();break;case"showPropAsCaption":d.showPropAsCaption=e.readContentAsBoolean();break;case"showPropCell":d.showPropCell=e.readContentAsBoolean();break;case"showPropTip":d.showPropTip=e.readContentAsBoolean();break;case"sortType":d.sortType=e.readContentAsString();break;case"stdDevPSubtotal":d.stdDevPSubtotal=e.readContentAsBoolean();break;case"stdDevSubtotal":d.stdDevSubtotal=e.readContentAsBoolean();break;case"subtotalCaption":d.subtotalCaption=e.readContentAsString();break;case"subtotalTop":d.subtotalTop=e.readContentAsBoolean();break;case"sumSubtotal":d.sumSubtotal=e.readContentAsBoolean();break;case"topAutoShow":d.topAutoShow=e.readContentAsBoolean();break;case"uniqueMemberProperty":d.uniqueMemberProperty=e.readContentAsString();break;case"varPSubtotal":d.varPSubtotal=e.readContentAsBoolean();break;case"varSubtotal":d.varSubtotal=e.readContentAsBoolean()}if(3===e.elementType)return d.isOnRead=!1,d;for(i=e.depth;e.read()&&!(e.depth<=i);)if(n=e.name(),"items"===n){for(a=e.depth;e.read()&&!(e.depth<=a);){for(l={};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"c":l.childItems=e.readContentAsBoolean();break;case"d":l.expanded=e.readContentAsBoolean();break;case"e":l.drillAcross=e.readContentAsBoolean();break;case"f":l.calculatedMember=e.readContentAsBoolean();break;case"h":l.hidden=e.readContentAsBoolean();break;case"m":l.missing=e.readContentAsBoolean();break;case"n":l.caption=e.readContentAsString();break;case"s":l.character=e.readContentAsBoolean();break;case"sd":l.collapse=!e.readContentAsBoolean();break;case"t":l.type=e.readContentAsString();break;case"x":l.indexValue=e.readContentAsInt()}d.items.push(l)}d.items.length>0&&(d.isShared=!0)}else if("autoSortScope"===n)for(s=e.depth;e.read()&&!(e.depth<=s);)"pivotArea"===e.name()&&(d.autoSortScope=ce(e));return d.isOnRead=!1,d}function ce(e){for(var t,r,o,i={references:[]};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"axis":i.axis=e.readContentAsString();break;case"cacheIndex":i.cacheIndex=e.readContentAsBoolean();break;case"collapsedLevelsAreSubtotals":i.collapsedLevelsAreSubtotals=e.readContentAsBoolean();break;case"dataOnly":i.dataOnly=e.readContentAsBoolean();break;case"field":i.field=e.readContentAsInt();break;case"fieldPosition":i.fieldPosition=e.readContentAsInt();break;case"grandCol":i.grandCol=e.readContentAsBoolean();break;case"grandRow":i.grandRow=e.readContentAsBoolean();break;case"labelOnly":i.labelOnly=e.readContentAsBoolean();
44
44
  break;case"offset":i.offset=e.readContentAsString();break;case"outline":i.outline=e.readContentAsBoolean();break;case"type":i.type=e.readContentAsString()}if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);)if("reference"===e.name()){for(r={indexes:[]};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"avgSubtotal":r.avgSubtotal=e.readContentAsBoolean();break;case"byPosition":r.byPosition=e.readContentAsBoolean();break;case"countASubtotal":r.countASubtotal=e.readContentAsBoolean();break;case"countSubtotal":r.countSubtotal=e.readContentAsBoolean();break;case"defaultSubtotal":r.defaultSubtotal=e.readContentAsBoolean();break;case"field":r.field=e.readContentAsDouble();break;case"maxSubtotal":r.maxSubtotal=e.readContentAsBoolean();break;case"minSubtotal":r.minSubtotal=e.readContentAsBoolean();break;case"productSubtotal":r.productSubtotal=e.readContentAsBoolean();break;case"relative":r.relative=e.readContentAsBoolean();break;case"selected":r.selected=e.readContentAsBoolean();break;case"stdDevPSubtotal":r.stdDevPSubtotal=e.readContentAsBoolean();break;case"stdDevSubtotal":r.stdDevSubtotal=e.readContentAsBoolean();break;case"sumSubtotal":r.sumSubtotal=e.readContentAsBoolean();break;case"varPSubtotal":r.varPSubtotal=e.readContentAsBoolean();break;case"varSubtotal":r.varSubtotal=e.readContentAsBoolean()}if(3===e.elementType){i.references.push(r);continue}for(o=e.depth;e.read()&&!(e.depth<=o);)if("x"===e.name())for(;e.moveToNextAttribute();)"v"===e.readAttributeNameAsString()&&r.indexes.push(e.readContentAsInt());i.references.push(r)}return i}function de(e,t){if(!e||!t)return!1;if(e.field===t.field&&e.defaultSubtotal===t.defaultSubtotal){if(!e.indexes&&!t.indexes)return!0;if(!e.indexes||!t.indexes)return!1;if(e.indexes.length===t.indexes.length){e.indexes.sort(),t.indexes.sort();for(var r=0;r<e.indexes.length;r++)if(e.indexes[r]!==t.indexes[r])return!1;return!0}}return!1}function ue(e,t){for(var r=0,o=t.length;r<o;r++)if(t[r]&&t[r].field===e)return t[r]}function fe(e,t){var r,o,i,a,l,s,c;if(n.isNullOrUndefined(e)||n.isNullOrUndefined(t))return!1;if(e.type!==t.type||e.cacheIndex!==t.cacheIndex||e.collapsedLevelsAreSubtotals!==t.collapsedLevelsAreSubtotals||e.field!==t.field||e.labelOnly!==t.labelOnly||e.grandRow!==t.grandRow||e.grandCol!==t.grandCol||e.dataOnly!==t.dataOnly||e.field!==t.field||e.fieldPosition!==t.fieldPosition||e.offset!==t.offset||e.outline!==t.outline||e.axis!==t.axis)return!1;if(e.references===p&&t.references!==p||e.references!==p&&t.references===p)return!1;if(e.references!==p&&t.references!==p){if(e.references.length!==t.references.length)return!1;for(r=t.references,o=e.references,i=0,a=o.length;i<a;i++)if(l=o[i],s=l.field,c=ue(s,r),!de(l,c))return!1}return!0}function be(e){if(e){var t={};return e.font&&(t.font=e.font.clone()),e.border&&(t.border=e.border.clone()),e.fill&&(t.fill=e.fill.clone()),e.numberFormat&&(t.numberFormat=e.numberFormat.clone()),e.alignment&&(t.alignment=n.Ia(e.alignment)),e.protection&&(t.protection=n.Ia(e.protection)),t}}function he(e,t){var r,o,i,n;if(!e||e.length<1)return[];if(r=[],e.length>1){for(o=0,i=e.length;o<i-1;o++)n=e[o],n&&n.dxf&&r.push(n);e[e.length-1]&&r.push(e[e.length-1])}else r=e;for(o=0;o<r.length;o++)r[o].style=t.vg(r[o].dxf,!0);return r}function pe(e,t,r){var o=e.depth;for(t.formats=[];e.read()&&!(e.depth<=o);)"format"===e.name()&&me(e,t,r);t.formats=he(t.formats,r)}function me(e,t,r){for(var o,i,a={};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"action":a.action=e.readContentAsString();break;case"dxfId":o=e.readContentAsInt(),!n.isNullOrUndefined(o)&&o>-1&&(a.dxf=be(r.hf[o]))}for(i=e.depth;e.read()&&!(e.depth<=i);)"pivotArea"===e.name()&&(a.pivotArea=ce(e));t.formats.push(a)}function ge(){var e,t={};for(e=1;e<=28;e++)t["PIVOTSTYLELIGHT"+e]=!0,t["PIVOTSTYLEMEDIUM"+e]=!0,t["PIVOTSTYLEDARK"+e]=!0;return t}S=ge();function ye(e,t,r){for(var o,i,a,l,s,c,u,f,b,h;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"name":t.styleName=e.readContentAsString();break;case"showColHeaders":t.showColHeaders=e.readContentAsBoolean();break;case"showColStripes":t.showColStripes=e.readContentAsBoolean();break;case"showLastColumn":t.showLastColumn=e.readContentAsBoolean();break;case"showRowHeaders":t.showRowHeaders=e.readContentAsBoolean();break;case"showRowStripes":t.showRowStripes=e.readContentAsBoolean()}if(n.isNullOrUndefined(t.styleName))t.styleName="PivotStyleLight0";else if(o=S[t.styleName.toUpperCase()],!o&&(i=r.tableStylesObj,a=t.styleName,!n.isNullOrUndefined(i)&&(l=i._attr,!n.isNullOrUndefined(l)))){if(s=d.XmlNodeHelper.Xm(l.count,0),c=void 0,(s>0||i.tableStyle)&&(u=d.XmlNodeHelper.He(i.tableStyle),!n.isNullOrUndefined(u)))for(f=0;f<u.length;f++)if(b=u[f]._attr.name,a===b){c=u[f];break}h={},Se(t,h,c,r)}}function Se(e,t,r,o){var i=r,n=i._attr;t.name=m(g(n.name)),n.count&&n.count>0&&Ce(e,t,r,o)}C={wholeTable:"wholeTableStyle",pageFieldLabels:"reportFilterLabelsStyle",pageFieldValues:"reportFilterValuesStyle",firstRowStripe:"firstRowStripeStyle",secondRowStripe:"secondRowStripeStyle",firstColumnStripe:"firstColumnStripeStyle",secondColumnStripe:"secondColumnStripeStyle",firstColumn:"firstColumnStyle",headerRow:"headerRowStyle",firstHeaderCell:"firstHeaderCellStyle",firstSubtotalColumn:"subtotalColumn1Style",secondSubtotalColumn:"subtotalColumn2Style",thirdSubtotalColumn:"subtotalColumn3Style",blankRow:"blankRowStyle",firstSubtotalRow:"subtotalRow1Style",secondSubtotalRow:"subtotalRow2Style",thirdSubtotalRow:"subtotalRow3Style",firstColumnSubheading:"columnSubheading1Style",secondColumnSubheading:"columnSubheading2Style",thirdColumnSubheading:"columnSubheading3Style",firstRowSubheading:"rowSubheading1Style",secondRowSubheading:"rowSubheading2Style",thirdRowSubheading:"rowSubheading3Style",lastColumn:"grandTotalColumnStyle",totalRow:"grandTotalRowStyle"};function Ce(e,t,r,o){var i=d.XmlNodeHelper.He(r.tableStyleElement);n.isNullOrUndefined(i)||i.forEach(function(e){var r,i,a,l,s=e._attr;n.isNullOrUndefined(s)||(r=s.type||"wholePivotTable",i=d.XmlNodeHelper.Xm(s.dxfId)||0,a=d.XmlNodeHelper.Xm(s.size)||1,l=o.ug(i),t[C[r]]=l,"firstRowStripe"!==r&&"secondRowStripe"!==r&&"firstColumnStripe"!==r&&"secondColumnStripe"!==r||(t[r.substr(0,r.length-1)+"Size"]=a))}),e.style=t}function we(e){for(var t=[],r=e.depth;e.read()&&!(e.depth<=r);)if("field"===e.name())for(;e.moveToNextAttribute();)"x"===e.readAttributeNameAsString()&&t.push(e.readContentAsInt());return t}function xe(e){for(var t=[],r=e.depth;e.read()&&!(e.depth<=r);)t.push(Ae(e));return t}function Ae(e){for(var t,r={pivotItemIndexes:[]};e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"t":r.type=e.readContentAsString();break;case"r":r.repeatCount=e.readContentAsInt();break;case"i":r.dataFieldIndex=e.readContentAsInt()}if(3===e.elementType)return r;for(t=e.depth;e.read()&&!(e.depth<=t);)if("x"===e.name()){if(!e.moveToNextAttribute()){r.pivotItemIndexes.push(0);continue}if("v"===e.readAttributeNameAsString()){r.pivotItemIndexes.push(e.readContentAsInt());continue}for(;e.moveToNextAttribute();)if("v"===e.readAttributeNameAsString()){r.pivotItemIndexes.push(e.readContentAsInt());break}}return r}},"./src/xlsx-io/reader/print-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/excel-types.ts"),n=r("./src/xml-io/xml-parser.ts"),a=r("./src/xml-io/node-helper.ts"),l=r("./src/datamodel/excel-helper.ts"),s=a.XmlNodeHelper.Vm,c=a.XmlNodeHelper.Xm,d=a.XmlNodeHelper.Ym,u=a.XmlNodeHelper.He,f=o.Util.pa,b=parseFloat,h={auto:0,downThenOver:1,overThenDown:2},p={auto:0,portrait:1,landscape:2},m={LH:0,CH:1,RH:2,LF:3,CF:4,RF:5,LHEVEN:6,CHEVEN:7,RHEVEN:8,LFEVEN:9,CFEVEN:10,RFEVEN:11,LHFIRST:12,CHFIRST:13,RHFIRST:14,LFFIRST:15,CFFIRST:16,RFFIRST:17};function g(e,t,r){var o,i=n.parseXmlToObject(e.readFullElement()).pageMargins;i&&(o=i._attr,r.Sg(t,{left:b(o.left),right:b(o.right),top:b(o.top),bottom:b(o.bottom),header:b(o.header),footer:b(o.footer)}))}t.readPageMargins=g;function y(e,t,r){var o,i=n.parseXmlToObject(e.readFullElement()).printOptions;i&&(o=i._attr,r.Tg(t,{printGridLine:s(o.gridLines,!1)&&s(o.gridLinesSet,!0),horizontalCentered:s(o.horizontalCentered,!1),verticalCentered:s(o.verticalCentered,!1),printRowColumnsHeaders:s(o.headings,!1)}))}t.readPrintOptions=y;function S(e,t){var r,o,i,d=n.parseXmlToObject(e.readFullElement()).pageSetup;d&&(r=d._attr,o=t.hn,i=void 0,void 0!==r.paperSize&&(i=parseInt(r.paperSize,10)),o.showColor=!s(r.blackAndWhite,!1),o.copies=c(r.copies,1),o.draft=s(r.draft,!1),o.useCustomStartingPage=s(r.useFirstPageNumber,!1),o.firstPageNumber=l.convertFirstPageNumber(c(r.firstPageNumber,1)),o.smartPrintPagesHeight=c(r.fitToHeight,1),o.smartPrintPagesWidth=c(r.fitToWidth,1),o.pageOrder=h[r.pageOrder]||0,o.paperSizeIndex="number"==typeof i?i:1,o.zoomFactor=a.XmlNodeHelper.Wm(r.scale,100)/100,o.orientation=p[r.orientation]||0)}t.readPageSetup=S;function C(e,t){var r=n.parseXmlToObject(e.readFullElement()).pageSetUpPr;r&&(t.hn.useSmartPrint=s(r._attr.fitToPage,!1))}t.readPageSetupAdditionalProperty=C;function w(e,t){var r,o,i=n.parseXmlToObject(e.readFullElement()).headerFooter;i&&(r=i._attr,o=t.hn.advancedHeadFooterSetting={headerFooterAlignWithPageMargin:s(r.alignWithMargins,!0),headerFooterDifferentFirstPage:s(r.differentFirst,!1)},o.headerFirstPage=f(d(i,"firstHeader")),o.footerFirstPage=f(d(i,"firstFooter")),o.headerFooterDifferentOddEvenPages=s(r.differentOddEven,!1),o.headerEvenPage=f(d(i,"evenHeader")),o.footerEvenPage=f(d(i,"evenFooter")),o.headerOddPage=f(d(i,"oddHeader")),o.footerOddPage=f(d(i,"oddFooter")),o.headerFooterScalesWithDocument=s("scaleWithDoc",!0))}t.readHeaderFooter=w;function x(e,t,r){var o=n.parseXmlToObject(e.readFullElement()),i=r?o.rowBreaks:o.colBreaks,a=[],l=u(i.brk);l.forEach(function(e){if(e){var t=c(e._attr.id,0);t>0&&a.push(t)}}),r?t.hn.rowBreakLines=a:t.hn.columnBreakLines=a}t.readRowColumnBreaks=x;function A(e,t){var r=n.parseXmlToObject(e.readFullElement()).legacyDrawingHF;r&&(t.jn=r._attr["r:id"])}t.readLegacyDrawingHF=A;function T(e){var t,r,o,n={};for(t in e)e.hasOwnProperty(t)&&(r=e[t],o=r.fileType,o!==i.RelationshipConstants.hb&&o!==i.RelationshipConstants.ib||(n[t]=r.fileName));return n}function v(e,t,r){var o,i;if(r)switch(o=e.hn,o.advancedHeadFooterSetting||(o.advancedHeadFooterSetting={}),i=o.advancedHeadFooterSetting,t){case m.CHEVEN:i.evenHeaderCenterImage=r;break;case m.RHEVEN:i.evenHeaderRightImage=r;break;case m.LFEVEN:i.evenFooterLeftImage=r;break;case m.CFEVEN:i.evenFooterCenterImage=r;break;case m.RFEVEN:i.evenFooterRightImage=r;break;case m.LHEVEN:i.evenHeaderLeftImage=r;break;case m.CHFIRST:i.firstHeaderCenterImage=r;break;case m.RHFIRST:i.firstHeaderRightImage=r;break;case m.LFFIRST:i.firstFooterLeftImage=r;break;case m.CFFIRST:i.firstFooterCenterImage=r;break;case m.RFFIRST:i.firstFooterRightImage=r;break;case m.LHFIRST:i.firstHeaderLeftImage=r;break;case m.CH:i.headerCenterImage=r;break;case m.RH:i.headerRightImage=r;break;case m.LF:i.footerLeftImage=r;break;case m.CF:i.footerCenterImage=r;break;case m.RF:i.footerRightImage=r;break;case m.LH:default:i.headerLeftImage=r}}t.readHeaderFooterImage=v;function k(e,t,r){var o,a,s,c,d;e&&t.jn&&(o=e[t.jn],o&&o.fileType===i.RelationshipConstants.ab&&(a=T(o.relationFiles),s=r(o.fileName),c=n.parseXmlToObject(s).xml,d=u(c["v:shape"]),d.forEach(function(e){var o,i=e._attr.id,n=e["v:imagedata"]._attr["o:relid"],s=a[n];s&&(o=l.getImageContent(s,r),o&&v(t,m[i],o))})),t.jn="")}t.readVmlDrawing=k},"./src/xlsx-io/reader/sharedstring-reader.ts":function(e,t,r){"use strict";var o,i,n;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/xml-io/xml-reader.ts"),i=r("./src/xlsx-io/reader/style-reader.ts"),n=r("./src/common/common.ts");function a(e){var t,r,a,l,s,c,d,u,f=new o.XmlReader;for(f.setXml(e),t=[];f.read();)if(1===f.depth&&2!==f.elementType&&"si"===f.name()){for(r=f.depth,a="",l=[];f.read()&&!(f.depth<=r);)if(1===f.nodeType())if(s=f.name(),"t"===s&&1===f.elementType&&f.depth===r+1){for(c=void 0;f.moveToNextAttribute();)if("xml:space"===f.readAttributeNameAsString()&&"preserve"===f.readContentAsString()){c=!0;break}a=n.Util.wa(f.readElementContentAsString(c))}else if("r"===s){for(d=f.depth,u={};f.read()&&!(f.depth<=d);)1===f.elementType&&"t"===f.name()?(u.text=n.Util.pa(n.Util.wa(f.readElementContentAsString(!0))),a+=u.text):1===f.elementType&&"rPr"===f.name()&&(u.style=i.readRichTextFont(f));l.push(u)}0===l.length&&(l=void 0),t.push({value:n.Util.pa(a),richText:l})}return t}t.readSharedString=a},"./src/xlsx-io/reader/slicer-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/excel-types.ts"),i=r("./src/xml-io/node-helper.ts"),n=r("./src/xml-io/xml-parser.ts"),a=r("./src/common/common.ts"),l=i.XmlNodeHelper.He,s=r("./src/datamodel/excel-style.ts"),c=s.UnitHelper.emuToPixles,d=i.XmlNodeHelper.dn,u=a.Util.pa,f=a.Util.ua,b=r("./src/datamodel/excel-helper.ts"),h=r("./src/datamodel/datamodel-reader.ts"),p={selectedItemWithData:"selectedItemWithDataStyle",selectedItemWithNoData:"selectedItemWithNoDataStyle",unselectedItemWithData:"unSelectedItemWithDataStyle",unselectedItemWithNoData:"unSelectedItemWithNoDataStyle",hoveredSelectedItemWithData:"hoveredSelectedItemWithDataStyle",hoveredSelectedItemWithNoData:"hoveredSelectedItemWithNoDataStyle",hoveredUnselectedItemWithData:"hoveredUnSelectedItemWithDataStyle",hoveredUnselectedItemWithNoData:"hoveredUnSelectedItemWithNoDataStyle",wholeTable:"wholeSlicerStyle",headerRow:"headerStyle"},m={9:1,1:1,3:1,4:1,7:1,11:1,2:2,10:2,12:2,8:2,13:2,5:3,6:3},g={0:"empty",1:"thin",2:"medium",3:"dashed",4:"dotted",5:"thick",6:"double",7:"hair",8:"mediumDashed",9:"dashDot",10:"mediumDashDot",11:"dashDotDot",12:"mediumDashDotDot",13:"slantedDashDot"};function y(e){if(e){var t={};return e.style&&(t.borderWidth=m[e.style]||1,t.borderStyle=g[e.style]||"thin"),e.color&&(t.borderColor=e.color),t}}function S(e){var t,r;if(e){for(t in e)e.hasOwnProperty(t)&&t.indexOf("border")>=0&&(r=e[t],r?e[t]=y(r):null===r&&(e[t]=void 0));return e}}t.getConvertedSlicerStyle=S;function C(e,t,r,i,n){var a,l,s,c,d,u,f,b,h;if(e){a=[],l=[];for(s in e)"count"!==s&&(c=e[s],c&&(d=c.fileType,d===o.RelationshipConstants.jb?a.push(c):d!==o.RelationshipConstants.eb&&d!==o.RelationshipConstants.fb||l.push(c)));u=D(n),f=L(n),a.length&&(b=x(a,i),h=r.Ne.sheets[t],k(b,f,i,r),I(b,l,i,h),F(b,u,i,r),r.Pg(b,t))}}t.readSlicers=C;function w(e,t){var r,o=n.parseXmlToObject(e),s=o.slicers;s&&(r=l(s.slicer),a.isNullOrUndefined(r)||r.forEach(function(e){var r={},o=e._attr;a.isNullOrUndefined(o)||(a.isNullOrUndefined(o.name)||(r.name=u(f(o.name,"_x000a_","\n"))),a.isNullOrUndefined(o.cache)||(r.nameInFormula=u(o.cache)),a.isNullOrUndefined(o.caption)||(r.captionName=u(o.caption)),a.isNullOrUndefined(o.columnCount)||(r.columnCount=i.XmlNodeHelper.Xm(o.columnCount,1)),a.isNullOrUndefined(o.showCaption)||(r.showHeader="0"!==o.showCaption),r.style={name:o.style},a.isNullOrUndefined(o.lockedPosition)||(r.disableResizingAndMoving="1"===o.lockedPosition),a.isNullOrUndefined(o.rowHeight)||(r.itemHeight=Math.max(c(parseInt(o.rowHeight,10))-4,0))),t.push(r)}))}function x(e,t){var r=[];return e.forEach(function(e){var o=t(e.fileName);o&&w(o,r)}),r}t.readSlicersFromFile=x;function A(e,t){var r,o,i,n,a,s,c,d,b,h,p,m,g=e.data;if(g&&g.tabular&&g.tabular.items){switch(r=g.tabular._attr&&+g.tabular._attr.pivotCacheId,o=g.tabular._attr&&g.tabular._attr.sortState,i=g.tabular._attr&&g.tabular._attr.crossFilter,n=!0,a=!0,s=!0,i){case"none":a=!1;break;case"showItemsWithNoData":s=!1}c=g.tabular.items.i,Array.isArray(c)||"1"!==g.tabular.items._attr.count||(c=[c]),d=c.map(function(e){var t=e._attr;return{x:+t.x,s:"1"===t.s,nd:"1"===t.nd}}),b=e.pivotTables,h=[],b&&(p=b.pivotTable,Array.isArray(p)||(p=[p]),p.forEach(function(e){h.push({tabId:e._attr.tabId,name:u(e._attr.name)})})),e.extLst&&(m=l(e.extLst["x:ext"]),m.forEach(function(e){var t,r=e._attr,o=r.uri;"{470722E0-AACD-4C17-9CDC-17EF765DBC7E}"===o&&(t=l(e["x15:slicerCacheHideItemsWithNoData"]),t&&t.length>0&&(n=!1))})),t.pivotSlicerCachesBeenRead||(t.Ne.slicerCaches||(t.Ne.slicerCaches=[]),t.Ne.slicerCaches.push({pivotCacheId:r,sourceName:f(u(e._attr.sourceName),"_x000a_","\n"),name:f(u(e._attr.name),"_x000a_","\n"),pivotTables:h,items:d,sortOrder:"descending"===o?2:1,showNoDataItems:n,showNoDataItemsInLast:s,visuallyNoDataItems:a}))}}function T(e,t,r){var o,n,a,s,c,d,b,p,m;if(!e.data&&(o=e.extLst,d=!0,b=!0,p=!0,o)){switch(m=l(o["x:ext"]),m.forEach(function(e){var t,r,o=e._attr,u=o.uri;"{2F2917AC-EB37-4324-AD4E-5DD8C200BD13}"===u?(t=l(e["x15:tableSlicerCache"]),t.forEach(function(e){var t=e._attr;n=i.XmlNodeHelper.Xm(t.tableId,0),a=i.XmlNodeHelper.Xm(t.column,0),s=t.sortOrder,c=t.crossFilter})):"{470722E0-AACD-4C17-9CDC-17EF765DBC7E}"===u&&(r=l(e["x15:slicerCacheHideItemsWithNoData"]),r&&r.length>0&&(d=!1))}),c){case"none":b=!1;break;case"showItemsWithNoData":p=!1}t.tableSlicerCachesBeenRead||(t.Ne.tableSlicerCaches||(t.Ne.tableSlicerCaches=[]),t.Ne.tableSlicerCaches.push({name:f(u(e._attr.name),"_x000a_","\n"),sourceName:f(u(e._attr.sourceName),"_x000a_","\n"),tableName:u(h.getTableName(n,r)),columnName:h.getTableColumnName(n,a,r),sortOrder:"descending"===s?2:1,showNoDataItems:d,showNoDataItemsInLast:p,visuallyNoDataItems:b}))}}function v(e,t,r,o){var i,a,l,s,c=n.parseXmlToObject(t),d=c.slicerCacheDefinition;if(d){if(i=d._attr,a=i.name,l=[],A(d,r),T(d,r,o),e.forEach(function(e){e.nameInFormula===a&&l.push(e)}),!l.length)return;s="",s=d.data&&d.data.tabular?"pivot":"table",l.forEach(function(e){e.slicerCacheName=f(u(a),"_x000a_","\n"),e.type=s})}}function k(e,t,r,o){var i,n=[],a=o.Ne;for(i in a.sheets)a.sheets[i].tables&&(n=n.concat(a.sheets[i].tables));t.forEach(function(t){var i=r(t.fileName,!0);i&&v(e,i,o,n)}),o.pivotSlicerCachesBeenRead=!0,o.tableSlicerCachesBeenRead=!0}function F(e,t,r,o){var i,s,c,d,u,f,b,h,m=r(t.fileName,!0);m&&(i=n.parseXmlToObject(m),s=i.styleSheet,c={},d=o.kn,a.isNullOrUndefined(d)||(u=l(d["x14:slicerStyle"]),u.forEach(function(e){var t=e._attr,r=t.name,i={name:r},n=l(e["x14:slicerStyleElements"]);n.forEach(function(e){var t=l(e["x14:slicerStyleElement"]);t.forEach(function(e){var t,r=e._attr,n=r.type,l=r.dxfId,s=p[n];!a.isNullOrUndefined(l)&&s&&(t=o.qg(l),i[s]=S(t))})}),c[r]=i})),f=s.tableStyles,a.isNullOrUndefined(f)||(b=l(f.tableStyle),b.forEach(function(e){var t,r=e._attr,i=r.name,n=c[i];n&&(t=l(e.tableStyleElement),t.forEach(function(e){var t=e._attr,r=t.type,i=t.dxfId,l=o.ug(i),s=p[r];!a.isNullOrUndefined(i)&&s&&(n[s]=S(l))}))})),h=d._attr.defaultSlicerStyle,e.forEach(function(e){var t=e.style.name;t||(e.style.name=h,t=h),c[t]&&(e.style=c[t])}))}function R(e,t){var r=null;return e.forEach(function(e){e.name===t&&(r=e)}),r}function E(e,t,r){var o=n.parseXmlToObject(t,!0),i=o["xdr:wsDr"],s=B(l(i["xdr:twoCellAnchor"]));s.forEach(function(t){var o,i,n,l,s,c,h,p,m=t._attr,g=!0,y=!0,S=m.editAs;"absolute"===S?(g=!1,y=!1):"oneCell"===S&&(y=!1),o=!0,i=t.clientData,n=d(t["xdr:from"]),l=d(t["xdr:to"]),s=b.getBounds(r,n,l),i&&(c=i._attr.fLocksWithSheet,"0"===c&&(o=!1)),h=u(f(t.slicerName,"&#xA;","\n")),p=R(e,h),a.isNullOrUndefined(p)||(p.dynamicMove=g,p.dynamicSize=y,p.x=s.x,p.y=s.y,p.width=s.width,p.height=s.height,p.isLocked=o,p.endPoint=l)})}function I(e,t,r,o){t.forEach(function(t){var i=r(t.fileName,!0);i&&E(e,i,o)})}function L(e){var t,r,i,n=e.relationFiles,a=[];for(t in n)"count"!==t&&(r=n[t],r&&(i=r.fileType,i===o.RelationshipConstants.kb&&a.push(r)));return a}function D(e){var t=e.Ee(o.RelationshipConstants.Pa);if(t||(t=e.Ee(o.RelationshipConstants.Qa)),t)return t}function B(e){var t=["mc:AlternateContent","mc:Choice","xdr:graphicFrame","a:graphic","a:graphicData"],r=[];return e.forEach(function(e){var o,i,n,a,s,c=e;for(i=0;i<t.length;i++)o=!1,c&&c[t[i]]&&(o=!0,c=c[t[i]]);o&&(n=c,a=n._attr.uri,"http://schemas.microsoft.com/office/drawing/2010/slicer"===a&&(s=l(n["sle:slicer"]),s.forEach(function(t){var o=t._attr,i=o.name;e.slicerName=i,r.push(e)})))}),r}},"./src/xlsx-io/reader/sparkline-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/xml-io/node-helper.ts"),i=r("./src/xml-io/xml-parser.ts"),n=r("./src/xlsx-io/common/color-reader.ts"),a=r("./src/common/common.ts"),l=r("./src/common/range-parser.ts"),s=r("./src/datamodel/excel-style.ts"),c=o.XmlNodeHelper.He,d=a.Util.pa;function h(e,t,r){var o,n,a;if(3!==e.elementType){for(o=[],n=e.depth;e.read()&&!(e.depth<=n);)1===e.nodeType()&&"x14:sparklineGroup"===e.name()&&(a=p(i.parseXmlToObject(e.readFullElement(),!0)[e.name()],t),a.sparklines&&a.sparklines.length>0&&o.push(a));r.Jg(o,t)}}t.readSparklineGroups=h,u={span:2,gap:0,zero:1},f={line:0,column:1,stacked:2},b={individual:0,group:1,custom:2};function p(e,t){var r,i,s,c,d;if(!a.isNullOrUndefined(e))return r={setting:{}},r.sparklineType=0,i=e._attr,a.isNullOrUndefined(i)||(a.isNullOrUndefined(i.manualMax)||(r.setting.manualMax=o.XmlNodeHelper.Wm(i.manualMax,0)),a.isNullOrUndefined(i.manualMin)||(r.setting.manualMin=o.XmlNodeHelper.Wm(i.manualMin,0)),a.isNullOrUndefined(i.lineWeight)||(r.setting.lineWeight=4*o.XmlNodeHelper.Wm(i.lineWeight,1)/3),a.isNullOrUndefined(i.type)||(r.sparklineType=f[i.type]||0),a.isNullOrUndefined(i.dateAxis)||(r.displayDateAxis=o.XmlNodeHelper.Vm(i.dateAxis,!1)),a.isNullOrUndefined(i.displayEmptyCellsAs)||(r.setting.displayEmptyCellsAs=u[i.displayEmptyCellsAs]||0),a.isNullOrUndefined(i.markers)||(r.setting.showMarkers=o.XmlNodeHelper.Vm(i.markers,!1)),a.isNullOrUndefined(i.high)||(r.setting.showHigh=o.XmlNodeHelper.Vm(i.high,!1)),a.isNullOrUndefined(i.low)||(r.setting.showLow=o.XmlNodeHelper.Vm(i.low,!1)),a.isNullOrUndefined(i.first)||(r.setting.showFirst=o.XmlNodeHelper.Vm(i.first,!1)),a.isNullOrUndefined(i.last)||(r.setting.showLast=o.XmlNodeHelper.Vm(i.last,!1)),a.isNullOrUndefined(i.negative)||(r.setting.showNegative=o.XmlNodeHelper.Vm(i.negative,!1)),a.isNullOrUndefined(i.displayXAxis)||(r.setting.displayXAxis=o.XmlNodeHelper.Vm(i.displayXAxis,!1)),a.isNullOrUndefined(i.displayHidden)||(r.setting.displayHidden=o.XmlNodeHelper.Vm(i.displayHidden,!1)),a.isNullOrUndefined(i.rightToLeft)||(r.setting.rightToLeft=o.XmlNodeHelper.Vm(i.rightToLeft,!1)),a.isNullOrUndefined(i.minAxisType)||(r.setting.minAxisType=b[i.minAxisType]||0),a.isNullOrUndefined(i.maxAxisType)||(r.setting.maxAxisType=b[i.maxAxisType]||0)),a.isNullOrUndefined(e["x14:colorSeries"])||(r.setting.seriesColor=g(n.readColor(e["x14:colorSeries"]))||"rgba(36,64,98,255)"),a.isNullOrUndefined(e["x14:colorNegative"])||(r.setting.negativeColor=g(n.readColor(e["x14:colorNegative"]))||"Brown"),a.isNullOrUndefined(e["x14:colorAxis"])||(r.setting.axisColor=g(n.readColor(e["x14:colorAxis"]))||"Black"),a.isNullOrUndefined(e["x14:colorMarkers"])||(r.setting.markersColor=g(n.readColor(e["x14:colorMarkers"]))||"rgba(36,64,98,255)"),a.isNullOrUndefined(e["x14:colorFirst"])||(r.setting.firstMarkerColor=g(n.readColor(e["x14:colorFirst"]))||"rgba(149,179,215,255)"),a.isNullOrUndefined(e["x14:colorLast"])||(r.setting.lastMarkerColor=g(n.readColor(e["x14:colorLast"]))||"rgba(149,179,215,255)"),a.isNullOrUndefined(e["x14:colorHigh"])||(r.setting.highMarkerColor=g(n.readColor(e["x14:colorHigh"]))||"Blue"),a.isNullOrUndefined(e["x14:colorLow"])||(r.setting.lowMarkerColor=g(n.readColor(e["x14:colorLow"]))||"Blue"),a.isNullOrUndefined(e["xm:f"])||(s=e["xm:f"],c=s["xm:f"].split("!"),1===c.length?r.axisReference=c[0]:r.axisReference=l.getRangesFromString(c[1])[0]||null,c[0]!==t&&1!==c.length&&(r.axisReference.sheetName=c[0])),a.isNullOrUndefined(e["x14:sparklines"])||(r.sparklines=m(e["x14:sparklines"],t)),d=r.axisReference,r.displayDateAxis&&d&&(r.axisOrientation=1===d.rowCount?1:0),r}function m(e,t){var r=[],o=e&&e["x14:sparkline"],i=c(o);return i.forEach(function(e){var o,i,n,s,c,u,f;a.isNullOrUndefined(e["xm:f"])||(c=e["xm:f"],n=d(c["xm:f"]).split("!"),1===n.length?s=n[0]:o=l.getRangesFromString(n[1])[0]||null),a.isNullOrUndefined(e["xm:sqref"])||(u=e["xm:sqref"],i=l.getRangesFromString(u["xm:sqref"])[0]||null),a.isNullOrUndefined(o)||a.isNullOrUndefined(i)?a.isNullOrUndefined(s)||a.isNullOrUndefined(i)||(f={},f.row=i.row,f.col=i.col,f.data=s,r.push(f)):(f={},f.row=i.row,f.col=i.col,f.orientation=1===o.rowCount?1:0,f.data=o,n&&n[0]!==t&&(f.data.sheetName=n[0]),r.push(f))}),r}function g(e){var t;return t=e.isThemeColor()?s.ColorHelper.getThemeColorName(e):s.ColorHelper.toRGBColor(e)}},"./src/xlsx-io/reader/style-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/xml-io/xml-reader.ts"),n=r("./src/datamodel/excel-style.ts"),a=r("./src/datamodel/excel-style.ts"),l=r("./src/xlsx-io/common/color-reader.ts"),s=r("./src/xml-io/xml-parser.ts"),c=void 0;function d(e,t){var r,o,n,a,l,s,c,d,f,h,p,m=new i.XmlReader;for(m.setXml(e),r=[],o=[],n={},a=[],l=[],s=[];m.read();)if(1===m.depth&&2!==m.elementType)switch(m.name()){case"numFmts":u(m,n);break;case"fonts":c=t.gf,d=t.ff,b(m,o,c,d);break;case"fills":g(m,a);break;case"borders":S(m,l);break;case"cellStyleXfs":x(m,r,o,l,n,a,!0);break;case"cellXfs":x(m,s,o,l,n,a,!1);break;case"cellStyles":k(m,t,r);break;case"colors":F(m,t);break;case"dxfs":L(m,t);break;case"tableStyles":P(m,t);break;case"extLst":R(m,t)}if(t.gn=n,f=r.length,f>0){for(t.tf(r[0]),h=0,p=f;h<p;h++)t.uf(r[h],h);for(h=0,p=s.length;h<p;h++)t.uf(s[h],h)}else t.Ke={foreColor:"Text 1 0",themeFont:"Body",font:"normal normal 14.7px Calibri",locked:!0,textIndent:0,wordWrap:!1,vAlign:2,hAlign:3};return f}t.readStyle=d;function u(e,t){var r,o;if(3!==e.elementType)for(r=e.depth;e.read();){if(e.depth<=r)return;1===e.nodeType()&&"numFmt"===e.name()&&(o=f(e),o&&o.numberFormatId>0&&(t[o.numberFormatId]=o))}}t.readNumberFormats=u;function f(e){for(var t,r=-1,i="",n="";e.moveToNextAttribute();)t=e.readAttributeNameAsString(),"numFmtId"===t?r=e.readContentAsInt(-1):"formatCode"===t?i=e.readContentAsString():t.indexOf("formatCode16")>-1&&(n=e.readContentAsString(),n.indexOf("[$-ja-JP-x-gannen]")>-1&&(i=n));return i=o.Util.pa(o.Util.ua(i,"_x000a_","\n")),new a.ExcelNumerFormat(r,i)}function b(e,t,r,o){if(3!==e.elementType)for(var i=e.depth;e.read();){if(e.depth<=i)return;1===e.nodeType()&&"font"===e.name()&&t.push(h(e,!1,r,o))}}t.readFonts=b;function h(e,t,r,i){var s,c,d,u,f,b,h,m,g,y;if(3!==e.elementType){for(s=new a.ExcelFont,t&&(s.fontColor=void 0,s.underLineStyle=void 0),c=e.depth;e.read()&&!(e.depth<=c);)if(1===e.nodeType())switch(e.name()){case"b":for(s.isBold=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(s.isBold=e.readContentAsBoolean(-1));break;case"charset":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(s.charSetIndex=e.readContentAsInt(-1));break;case"family":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(s.fontFamily=e.readContentAsInt(0));break;case"name":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(d=e.readContentAsString(),d.indexOf(" ")>=0&&(d="'"+d+"'"),s.fontName=d);break;case"scheme":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(u=e.readContentAsString(),o.StringEx.O(u)||void 0===n.FontSchemeCategory[u.toLocaleLowerCase()]||(s.fontScheme=n.FontSchemeCategory[u.toLocaleLowerCase()]));break;case"u":for(f=1;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(b=e.readContentAsString(),o.StringEx.O(b)||void 0===a.UnderLineStyle[b]||(f=a.UnderLineStyle[b]));s.underLineStyle=f;break;case"i":for(s.isItalic=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(s.isItalic=e.readContentAsBoolean(-1));break;case"outline":for(s.isOutlineStyle=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(s.isOutlineStyle=e.readContentAsBoolean(-1));break;case"shadow":for(s.isShadowStyle=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(s.isShadowStyle=e.readContentAsBoolean(-1));break;case"strike":for(s.isStrikeOut=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(s.isStrikeOut=e.readContentAsBoolean(-1));break;case"sz":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(s.fontSize=e.readContentAsDouble(0));break;case"vertAlign":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(h=e.readContentAsString(),h&&void 0!==a.VertAlign[h.toLocaleLowerCase()]&&(s.vertAlign=a.VertAlign[h.toLocaleLowerCase()]));break;case"color":m=l.readColor(e),m!==n.ExcelColor.EmptyColor?s.fontColor=m:t&&(s.fontColor=null)}return g=s.fontScheme,(1===g&&r||2===g&&i)&&(y=p(g,r,i),s.fontName=y),s}}function p(e,t,r){var o;return 1===e?o=r:2===e&&(o=t),o}function m(e){for(var t,r,i,s,c,d,u=new a.ExcelFont,f=e.depth;e.read()&&!(e.depth<=f);)if(1===e.nodeType())switch(e.name()){case"b":for(u.isBold=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(u.isBold=e.readContentAsBoolean(-1));break;case"charset":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(u.charSetIndex=e.readContentAsInt(-1));break;case"color":t=l.readColor(e),t!==n.ExcelColor.EmptyColor&&(u.fontColor=t);break;case"condense":for(u.isCondense=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(u.isCondense=e.readContentAsBoolean(-1));break;case"extend":for(u.isExtend=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(u.isExtend=e.readContentAsBoolean(-1));break;case"family":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(u.fontFamily=e.readContentAsInt(0));break;case"i":for(u.isItalic=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(u.isItalic=e.readContentAsBoolean(-1));break;case"outline":for(u.isOutlineStyle=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(u.isOutlineStyle=e.readContentAsBoolean(-1));break;case"rFont":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(r=e.readContentAsString(),r.indexOf(" ")>=0&&(r="'"+r+"'"),u.fontName=r);break;case"scheme":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(i=e.readContentAsString(),o.StringEx.O(i)||void 0===n.FontSchemeCategory[i.toLocaleLowerCase()]||(u.fontScheme=n.FontSchemeCategory[i.toLocaleLowerCase()]));break;case"shadow":for(u.isShadowStyle=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(u.isShadowStyle=e.readContentAsBoolean(-1));break;case"strike":for(u.isStrikeOut=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(u.isStrikeOut=e.readContentAsBoolean(-1));break;case"sz":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(u.fontSize=e.readContentAsDouble(0));break;case"u":for(s=1;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(c=e.readContentAsString(),o.StringEx.O(c)||void 0===a.UnderLineStyle[c]||(s=a.UnderLineStyle[c]));u.underLineStyle=s;break;case"vertAlign":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(d=e.readContentAsString(),d&&void 0!==a.VertAlign[d.toLocaleLowerCase()]&&(u.vertAlign=a.VertAlign[d.toLocaleLowerCase()]))}return u}t.readRichTextFont=m;function g(e,t){if(3!==e.elementType)for(var r=e.depth;e.read();){if(e.depth<=r)return;1===e.nodeType()&&"fill"===e.name()&&(t.push(y(e)),0===t.length&&t.push({patternType:0,fgColor:n.ExcelColor.EmptyColor,bgColor:n.ExcelColor.EmptyColor}))}}t.readFills=g;function y(e){for(var t,r,o,i,n,s=new a.ExcelFill,c=e.depth;e.read()&&!(e.depth<=c);)if(1===e.nodeType()&&"patternFill"===e.name()){for(;e.moveToNextAttribute();)"patternType"===e.readAttributeNameAsString()&&(t=e.readContentAsString(),t&&void 0!==a.FillPatternType[t]&&(s.patternType=a.FillPatternType[t]));if(3===e.elementType)break;for(r=e.depth;e.read()&&!(e.depth<=r);)1===e.nodeType()&&("fgColor"===e.name()?s.fgColor=l.readColor(e):"bgColor"===e.name()&&(s.bgColor=l.readColor(e)));
45
45
  }else if(1===e.nodeType()&&"gradientFill"===e.name()){for(s.stops=[];e.moveToNextAttribute();)o=e.readAttributeNameAsString(),"type"===o?s[o]=e.readContentAsString():"degree"===o?s[o]=e.readContentAsInt():s[o]=e.readContentAsDouble();if(3===e.elementType)break;for(r=e.depth;e.read()&&!(e.depth<=r);)if("stop"===e.name()){for(i={},e.moveToNextAttribute()&&"position"===e.readAttributeNameAsString()&&(i.position=e.readContentAsDouble()),n=e.depth;e.read()&&!(e.depth<=n);)i.color=l.readColor(e);s.stops.push(i)}}return s}function S(e,t){if(3!==e.elementType)for(var r=e.depth;e.read();){if(e.depth<=r)return;1===e.nodeType()&&"border"===e.name()&&t.push(C(e))}}t.readBorders=S;function C(e){for(var t,r,o=e.depth,i=new a.ExcelBorder,n=!1,l=!1;e.moveToNextAttribute();)t=e.readAttributeNameAsString(),"diagonalUp"===t?n=!0:"diagonalDown"===t&&(l=!0);if(3===e.elementType&&!n&&!l)return i;for(i.top=void 0,i.right=void 0,i.bottom=void 0,i.left=void 0;e.read()&&!(e.depth<=o);)if(1===e.nodeType())switch(e.name()){case"top":i.top=w(e);break;case"right":case"end":i.right=w(e);break;case"bottom":i.bottom=w(e);break;case"left":case"start":i.left=w(e);break;case"vertical":i.vertical=w(e);break;case"horizontal":i.horizontal=w(e);break;case"diagonal":r=w(e),n&&(i.diagonalUp=r),l&&(i.diagonalDown=r)}return i}function w(e){var t,r,o=new a.ExcelBorderSide;for(o.lineStyle=0;e.moveToNextAttribute();)"style"===e.readAttributeNameAsString()&&(t=e.readContentAsString(),t&&void 0!==a.ExcelBorderStyle[t]&&(o.lineStyle=a.ExcelBorderStyle[t]));if(3===e.elementType)return o;for(r=e.depth;e.read()&&!(e.depth<=r);)1===e.nodeType()&&"color"===e.name()&&(o.color=l.readColor(e));return o}function x(e,t,r,o,i,n,l){var s,c,d;if(3!==e.elementType)for(s=e.depth;e.read();){if(e.depth<=s)return;if(1===e.nodeType()&&"xf"===e.name()){if(c=new a.ExtendedFormat,c.isStyleFormat=l,A(e,c,r,o,i,n),t.push(c),3===e.elementType)continue;for(d=e.depth;e.read()&&!(e.depth<=d);)1===e.nodeType()&&("alignment"===e.name()?T(e,c):"protection"===e.name()&&v(e,c))}}}t.readXFs=x;function A(e,t,r,o,i,n){for(var a,l,s,c,d,u,f,b,h,p=0,m=0,g=0,y=0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"numFmtId":p=e.readContentAsInt(0);break;case"fontId":m=e.readContentAsInt(0);break;case"fillId":g=e.readContentAsInt(0);break;case"borderId":y=e.readContentAsInt(0);break;case"applyAlignment":a=e.readContentAsInt(-1),0!==a&&1!==a||(t.applyAlignment=1===a);break;case"applyBorder":l=e.readContentAsInt(-1),0!==l&&1!==l||(t.applyBorder=1===l);break;case"applyFill":s=e.readContentAsInt(-1),0!==s&&1!==s||(t.applyFill=1===s);break;case"applyFont":c=e.readContentAsInt(-1),0!==c&&1!==c||(t.applyFont=1===c);break;case"applyProtection":d=e.readContentAsInt(-1),0!==d&&1!==d||(t.applyProtection=1===d);break;case"applyNumberFormat":u=e.readContentAsInt(-1),0!==u&&1!==u||(t.applyNumberFormat=1===u);break;case"xfId":f=e.readContentAsInt(-1),f>=0&&(t.parentFormatID=f);break;case"quotePrefix":b=e.readContentAsBoolean(),t.quotePrefix=b}t.font=r[m],t.border=o[y],i[p]?t.numberFormat=i[p]:t.numberFormatIndex=p,h=n[g],h&&(t.fill=h),t.isLocked=!0,t.isHidden=!1,t.horizontalAlign=0,t.verticalAlign=2}function T(e,t,r){for(var i,l,s,d=null,u=null,f=!!r&&c,b=!!r&&c,h=!!r&&c;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"horizontal":d=e.readContentAsString();break;case"vertical":u=e.readContentAsString();break;case"textRotation":i=e.readContentAsString(),o.StringEx.O(i)||(t.rotation=parseInt(i,10));break;case"readingOrder":l=e.readContentAsString(),o.StringEx.O(l)||(t.readingOrder=parseInt(l,10));break;case"indent":s=e.readContentAsString(),o.StringEx.O(s)||(t.indent=parseInt(s,10));break;case"justifyLastLine":f=e.readContentAsBoolean(!1);break;case"shrinkToFit":b=e.readContentAsBoolean(!1);break;case"wrapText":h=e.readContentAsBoolean(!1)}t.isJustfyLastLine=f,t.isShrinkToFit=b,t.isWordWrap=h,o.StringEx.O(d)&&!r&&(d="general"),o.StringEx.O(u)&&!r&&(u="bottom"),d&&(t.horizontalAlign=a.ExcelHorizontalAlignment[d]),u&&(t.verticalAlign=n.ExcelVerticalAlignment[u])}function v(e,t){for(var r,i;e.moveToNextAttribute();)r=e.readAttributeNameAsString(),"hidden"===r?t.isHidden=e.readContentAsBoolean(!1):"locked"===r&&(i=e.readContentAsString(),o.StringEx.L(i)||"0"!==i&&"false"!==i||(t.isLocked=!1))}function k(e,t,r){var i,n,l,s,c,d,u,f,b;if(3!==e.elementType)for(i=e.depth;e.read();){if(e.depth<=i)return;if(1===e.nodeType()&&"cellStyle"===e.name()){for(n=void 0,l=0,s=-1,c=!1,d=0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"name":n=o.Util.pa(e.readContentAsString());break;case"xfId":l=e.readContentAsInt(0);break;case"builtinId":s=e.readContentAsInt(-1);break;case"customBuiltin":c=e.readContentAsBoolean(!1);break;case"iLevel":d=e.readContentAsInt(0)}u=r[l],s!==-1?(f=new a.ExcelStyle,f.name=n,f.format(u.clone()),f.isCustomBuiltin=c,f.builtInStyle=s,2!==f.builtInStyle&&1!==f.builtInStyle||(f.outLineLevel=d),t.xf(f,l)):(b=new a.CustomExcelStyle,b.name=n,b.format(u.clone()),t.xf(b,l))}}}function F(e,t){var r,o,i,n;if(3!==e.elementType)for(r=e.depth,o=[];e.read();){if(e.depth<=r)return;if(1===e.nodeType()&&"indexedColors"===e.name())for(i=e.depth;e.read();){if(e.depth<=i)return void t.kg(o);if(1===e.nodeType()){for(n=0;e.moveToNextAttribute();)"rgb"===e.readAttributeNameAsString()&&(n=parseInt(e.readContentAsString(),16));o.push((16777215&n)+4278190080)}}}}function R(e,t){var r,i,n=null,a=null,l=null,c=null;if(3!==e.elementType){for(;e.read();)if(1===e.nodeType()&&"ext"===e.name())for(;e.moveToNextAttribute();)if("uri"===e.readAttributeNameAsString())switch(r=e.readContentAsString()){case"{46F421CA-312F-682f-3DD2-61675219B42D}":n=E(e);break;case"{A0A4C193-F2C1-4fcb-8827-314CF55A85BB}":a=I(e);break;case"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}":i=s.parseXmlToObject(e.readFullElement(),!0).ext,o.isNullOrUndefined(i)||(l=i["x14:slicerStyles"]);break;case"{9260A510-F301-46a8-8635-F512D64BE5F5}":i=s.parseXmlToObject(e.readFullElement(),!0).ext,o.isNullOrUndefined(i)||(c=i["x15:timelineStyles"])}t.rg=n,t.tg=a,t.kn=l,t.mn=c}}function E(e){var t,r=[];if(3!==e.elementType){for(t=e.depth;e.read()&&!(e.depth<=t);)1===e.nodeType()&&"x14:dxfs"===e.name()&&(r=D(e));return r}}function I(e){var t,r=[];if(3!==e.elementType){for(t=e.depth;e.read()&&!(e.depth<=t);)1===e.nodeType()&&"x15:dxfs"===e.name()&&(r=D(e));return r}}function L(e,t){var r=D(e);t.hf=r}function D(e){var t,r;if(3!==e.elementType){for(t=e.depth,r=[];e.read()&&!(e.depth<=t);)1===e.nodeType()&&"dxf"===e.name()&&r.push(B(e));return r}}t.readDifferentialFormattingRecords=D;function B(e){var t,r,o,i={};if(3===e.elementType)return i;for(t=e.depth;e.read()&&!(e.depth<=t);)if(1===e.nodeType())switch(e.name()){case"font":i.font=h(e,!0);break;case"border":i.border=C(e);break;case"fill":i.fill=y(e);break;case"numFmt":i.numberFormat=f(e);break;case"alignment":r={},T(e,r,!0),i.alignment=r;break;case"protection":o={},v(e,o),i.protection=o}return i}t.readDifferentialFormattingRecord=B;function P(e,t){3!==e.elementType&&(t.tableStylesObj=s.parseXmlToObject(e.readFullElement()).tableStyles)}},"./src/xlsx-io/reader/table-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/excel-types.ts"),i=r("./src/common/common.ts"),n=r("./src/xml-io/xml-parser.ts"),a=r("./src/xml-io/node-helper.ts"),l=r("./src/common/range-parser.ts"),s=r("./src/xlsx-io/reader/autofilter-reader.ts"),c=a.XmlNodeHelper.He,d=a.XmlNodeHelper.Ym;function b(e,t,r){return i.Util.pa(d(e,t,r))}u={wholeTable:"wholeTableStyle",headerRow:"headerRowStyle",totalRow:"footerRowStyle",firstColumn:"highlightFirstColumnStyle",lastColumn:"highlightLastColumnStyle",firstRowStripe:"firstRowStripStyle",secondRowStripe:"secondRowStripStyle",firstColumnStripe:"firstColumnStripStyle",secondColumnStripe:"secondColumnStripStyle",firstHeaderCell:"firstHeaderCellStyle",lastHeaderCell:"lastHeaderCellStyle",firstTotalCell:"firstFooterCellStyle",lastTotalCell:"lastFooterCellStyle"};function h(){var e,t={};for(e=1;e<=28;e++)e<=21&&(t["TABLESTYLELIGHT"+e]=!0),e<=11&&(t["TABLESTYLEDARK"+e]=!0),t["TABLESTYLEMEDIUM"+e]=!0;return t}f=h();function p(e,t,r,n){var a,l,s,c,d,u;if(e){a=void 0,l=[];for(s in e)"count"!==s&&(c=e[s],c&&(d=c.fileType,d===o.RelationshipConstants.$a&&(a=c),a&&(u=m(a,n,r,t),i.isNullOrUndefined(u)||l.push(u))));r.Kg(l,t)}}t.readTables=p;function m(e,t,r,o){var i=t(e.fileName);if(i)return g(i,r,o)}t.readTablesFromFile=m;function g(e,t,r){var o,c,d,u,f,b,h,p,m,g,C=n.parseXmlToObject(e),w={},x=C&&C.table&&C.table._attr;if(!i.isNullOrUndefined(x)){if(w.id=a.XmlNodeHelper.Xm(x.id,0),w.name=x.name,o=x.ref,i.isNullOrUndefined(o)||(c=l.getRangesFromString(o,!0)[0],w.row=c.row,w.col=c.col,w.rowCount=c.rowCount,w.colCount=c.colCount),d=a.XmlNodeHelper.Xm(x.headerRowCount,1),d>=1?w.showHeader=!0:w.showHeader=!1,w.showFooter=a.XmlNodeHelper.Vm(x.totalsRowShown,!0),u=a.XmlNodeHelper.Xm(x.totalsRowCount,-1),u<1?w.showFooter=!1:w.showFooter=!0,f=C&&C.table,b=void 0,h=void 0,!i.isNullOrUndefined(f))for(p in f)if(f.hasOwnProperty(p)&&!i.isNullOrUndefined(f[p]))switch(p){case"autoFilter":b=s.readAutoFilter(f[p]);break;case"sortState":h=s.readSortInfo(f[p]);break;case"tableColumns":w.columns=y(f[p]);break;case"tableStyleInfo":S(f[p],w,t);break;case"extLst":w.reservedElement=f[p]}for(m=b||{},w.rowFilter=t.Mg(m,r)||{},w.rowFilter.sortInfo=h,w.rowFilter.showFilterButton=!0,w.rowFilter.filterButtonVisibleInfo={},g=0;g<w.colCount;g++)w.rowFilter.filterButtonVisibleInfo[g]=!0;if(!w.rowFilter.range){if(!w.rowFilter.sortInfo)for(w.rowFilter.showFilterButton=!1,w.rowFilter.filterButtonVisibleInfo={},g=0;g<w.colCount;g++)w.rowFilter.filterButtonVisibleInfo[g]=!1;w.rowFilter.range={row:w.row+1,col:w.col,rowCount:w.rowCount-1,colCount:w.colCount},w.showFooter&&w.rowFilter.range.rowCount--}if(m.filterColumns&&m.filterColumns.length>0&&m.filterColumns[0].hiddenButton||w.rowFilter.showFilterButton===!1)for(w.rowFilter.showFilterButton=!1,w.rowFilter.filterButtonVisibleInfo={},g=0;g<w.colCount;g++)w.rowFilter.filterButtonVisibleInfo[g]=!1;w.showHeader===!1&&(w.rowFilter.showFilterButton=!1)}return w}function y(e){var t=[],r=c(e.tableColumn);return i.isNullOrUndefined(r)||r.forEach(function(e){var r,o,n,l={};l.footerFormula=null,l.footerValue=null,r=e._attr,i.isNullOrUndefined(r)||(i.isNullOrUndefined(r.id)||(l.id=a.XmlNodeHelper.Xm(r.id,0)),i.isNullOrUndefined(r.name)||(o=i.Util.ua(r.name,"_x000d__x000a_","\n"),l.name=i.Util.pa(i.Util.ua(o,"_x000a_","\n"))),i.isNullOrUndefined(r.totalsRowLabel)||(l.footerValue=i.Util.pa(r.totalsRowLabel)),i.isNullOrUndefined(r.totalsRowFunction)||("custom"===r.totalsRowFunction?l.footerFormula=b(e,"totalsRowFormula"):l.footerFormula=r.totalsRowFunction)),n=e.calculatedColumnFormula,i.isNullOrUndefined(n)||(l.dataAreaFormula=i.Util.pa(i.processFunction(n.calculatedColumnFormula))),t.push(l)}),t}function S(e,t,r){var o={},n=e._attr;i.isNullOrUndefined(n)||(i.isNullOrUndefined(n.name)||C(t,o,r,n.name),i.isNullOrUndefined(n.showFirstColumn)||(t.highlightFirstColumn=a.XmlNodeHelper.Vm(n.showFirstColumn,!1)),i.isNullOrUndefined(n.showLastColumn)||(t.highlightLastColumn=a.XmlNodeHelper.Vm(n.showLastColumn,!1)),i.isNullOrUndefined(n.showRowStripes)||(t.bandRows=a.XmlNodeHelper.Vm(n.showRowStripes,!1)),i.isNullOrUndefined(n.showColumnStripes)||(t.bandColumns=a.XmlNodeHelper.Vm(n.showColumnStripes,!1)))}function C(e,t,r,o){var n,l,s,d,u,b,h,p=f[o.toUpperCase()];if(p)t.buildInName=x(o);else if(n=r.tableStylesObj,!i.isNullOrUndefined(n)&&(l=n._attr,!i.isNullOrUndefined(l))){if(s=a.XmlNodeHelper.Xm(l.count,0),d=void 0,s>0&&(u=c(n.tableStyle),!i.isNullOrUndefined(u)))for(b=0;b<u.length;b++)if(h=u[b]._attr.name,o===h){d=u[b];break}w(e,t,d,r)}e.style=t}function w(e,t,r,o){var i,n;r&&(i=r,n=i._attr,t.name=n.name,n.count&&n.count>0&&A(e,t,r,o))}function x(e){return e.substr(10)}function A(e,t,r,o){var n=c(r.tableStyleElement);i.isNullOrUndefined(n)||n.forEach(function(e){var r,n,l,s,c=e._attr;i.isNullOrUndefined(c)||(r=c.type||"wholeTable",n=a.XmlNodeHelper.Xm(c.dxfId)||0,l=a.XmlNodeHelper.Xm(c.size)||1,s=o.ug(n),t[u[r]]=s,"firstRowStripe"!==r&&"secondRowStripe"!==r&&"firstColumnStripe"!==r&&"secondColumnStripe"!==r||(t[r.substr(0,r.length-1)+"Size"]=l))}),e.style=t}},"./src/xlsx-io/reader/theme-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/xml-io/xml-parser.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/datamodel/excel-style.ts"),l=r("./src/xml-io/xml-reader.ts"),s=r("./src/xlsx-io/reader/chart-reader.ts"),c=s.DrawingReader.ReadCT_OfficeStyleSheet,d="a:scrgbClr";function u(e,t){var r,o,a,s,d,u,h,p=i.parseXmlToObject(e,!0),m=p["a:theme"];m&&(r=m._attr.name,r&&"OFFICE"===r.toUpperCase().trim()&&(r="Office"),o=m["a:themeElements"],o&&(a=f(o),s=b(o),d=new n.ExcelTheme(r,a,s),t.rf(d)),u=new l.XmlReader,u.setXml(e),h=c(u),t.lf(h))}t.readTheme=u;function f(e){var t,r,o,i,a,l,s,c,d,u,f,b,h=[],m=e["a:clrScheme"];if(m)return t=p(m["a:lt1"]),t&&h.push(t),r=p(m["a:dk1"]),r&&h.push(r),o=p(m["a:lt2"]),o&&h.push(o),i=p(m["a:dk2"]),i&&h.push(i),a=p(m["a:accent1"]),a&&h.push(a),l=p(m["a:accent2"]),l&&h.push(l),s=p(m["a:accent3"]),s&&h.push(s),c=p(m["a:accent4"]),c&&h.push(c),d=p(m["a:accent5"]),d&&h.push(d),u=p(m["a:accent6"]),u&&h.push(u),f=p(m["a:hlink"]),f&&h.push(f),b=p(m["a:folHlink"]),b&&h.push(b),new n.ColorScheme(m._attr.name,h)}function b(e){var t,r,o=e["a:fontScheme"];return o?(t=h(o["a:majorFont"]),r=h(o["a:minorFont"]),new n.FontScheme(o._attr.name,t,r)):null}function h(e){var t,r,i,a,l=[],s=[];if(e)if(e["a:latin"])l.push(new n.RunFormatting(0,o.isNullOrUndefined(e["a:latin"]._attr.typeface)?"":e["a:latin"]._attr.typeface));else if(e["a:ea"])l.push(new n.RunFormatting(2,o.isNullOrUndefined(e["a:ea"]._attr.typeface)?"":e["a:ea"]._attr.typeface));else if(e["a:cs"])l.push(new n.RunFormatting(1,o.isNullOrUndefined(e["a:cs"]._attr.typeface)?"":e["a:cs"]._attr.typeface));else if(e["a:sym"])l.push(new n.RunFormatting(3,o.isNullOrUndefined(e["a:sym"]._attr.typeface)?"":e["a:sym"]._attr.typeface));else if(e["a:font"])for(t=e["a:font"],Array.isArray(t)||(t=[t]),r=0,i=t.length;r<i;r++)a=t[r],s.push(new n.ThemeFont(a._attr.script,a._attr.typeface));return new n.ThemeFonts(l,s)}t.readThemeFonts=h;function p(e){var t,r,i,n,l,s,c,u,f,b,h;if(e&&(e["a:sysClr"]?(r=e["a:sysClr"]._attr.val,i=a.ExcelSystemColor.getSystemColor(r),void 0!==i?t=i:(r=e["a:sysClr"]._attr.lastClr,o.StringEx.L(r)||(n=4278190080+(16777215&parseInt(r,16)),t=a.ColorHelper.fromArgb(n)))):e["a:srgbClr"]?(r=e["a:srgbClr"]._attr.val,o.StringEx.L(r)||(n=4278190080+(16777215&parseInt(r,16)),t=a.ColorHelper.fromArgb(n))):e[d]?(l=parseFloat(e[d].nn),s=parseFloat(e[d]._attr.g),c=parseFloat(e[d]._attr.b),t=new a.lk(255,a.ColorHelper.scRgbTosRgb(l),a.ColorHelper.scRgbTosRgb(s),a.ColorHelper.scRgbTosRgb(c))):e["a:hslClr"]?(u=parseFloat(e["a:hslClr"].pn),f=parseFloat(e["a:hslClr"]._attr.sat),b=parseFloat(e["a:hslClr"]._attr.lum),t=a.ColorHelper.convertHLSToRGB(u,b,f)):e["a:prstClr"]?(h=e["a:prstClr"]._attr.val,o.StringEx.O(h)||(t=a.ColorHelper.fromPresetColorVal(h))):e["a:schemeClr"],void 0!==t))return{a:t.a,r:t.r,g:t.g,b:t.b}}t.readThemeColor=p},"./src/xlsx-io/reader/timeline-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/excel-types.ts"),i=r("./src/xml-io/node-helper.ts"),n=r("./src/xml-io/xml-parser.ts"),a=r("./src/common/common.ts"),l=r("./src/datamodel/excel-helper.ts"),s=r("./src/xlsx-io/reader/slicer-reader.ts"),c=i.XmlNodeHelper.He,d=i.XmlNodeHelper.dn,u=a.Util.pa,f=a.Util.ua,b={selectionLabel:"selectionLabelStyle",timeLevel:"timeLevelStyle",periodLabel1:"periodLabel1Style",periodLabel2:"periodLabel2Style",selectedTimeBlock:"selectedTimeBlockStyle",unselectedTimeBlock:"unselectedTimeBlockStyle",selectedTimeBlockSpace:"selectedTimeBlockSpaceStyle",wholeTable:"wholeSlicerStyle",headerRow:"headerStyle"};function h(e,t,r,i,n){var a,l,s,c,d,u,f,b,h;if(e){a=[],l=[];for(s in e)"count"!==s&&(c=e[s],c&&(d=c.fileType,d===o.RelationshipConstants.tb?a.push(c):d!==o.RelationshipConstants.eb&&d!==o.RelationshipConstants.fb||l.push(c)));u=p(n),f=m(n),a.length&&(b=g(a,i),h=r.Ne.sheets[t],S(b,f,i,r),x(b,l,i,h),k(b,u,i,r),r.Pg(b,t))}}t.readTimelines=h;function p(e){var t=e.Ee(o.RelationshipConstants.Pa);if(t||(t=e.Ee(o.RelationshipConstants.Qa)),t)return t}function m(e){var t,r,i,n=e.relationFiles,a=[];for(t in n)"count"!==t&&(r=n[t],r&&(i=r.fileType,i===o.RelationshipConstants.ub&&a.push(r)));return a}function g(e,t){var r=[];return e.forEach(function(e){var o=t(e.fileName);o&&y(o,r)}),r}t.readTimelinesFromFile=g;function y(e,t){var r,o=n.parseXmlToObject(e),l=o.timelines;l&&(r=c(l.timeline),a.isNullOrUndefined(r)||r.forEach(function(e){var r={},o=e._attr;a.isNullOrUndefined(o)||(a.isNullOrUndefined(o.name)||(r.name=u(f(o.name,"_x000a_","\n"))),a.isNullOrUndefined(o.cache)||(r.nameInFormula=u(o.cache)),a.isNullOrUndefined(o.caption)||(r.captionName=u(o.caption)),a.isNullOrUndefined(o.level)||(r.level=i.XmlNodeHelper.Xm(o.level,2)+1),a.isNullOrUndefined(o.selectionLevel)||(r.selectionLevel=i.XmlNodeHelper.Xm(o.selectionLevel,r.level)+1),a.isNullOrUndefined(o.scrollPosition)||(r.scrollPosition=new Date(o.scrollPosition)),a.isNullOrUndefined(o.showHeader)||(r.showHeader="0"!==o.showHeader),a.isNullOrUndefined(o.showSelectionLabel)||(r.showSelectionLabel="0"!==o.showSelectionLabel),a.isNullOrUndefined(o.showTimeLevel)||(r.showTimeLevel="0"!==o.showTimeLevel),a.isNullOrUndefined(o.showHorizontalScrollbar)||(r.showHorizontalScrollbar="0"!==o.showHorizontalScrollbar),r.style={name:o.style},a.isNullOrUndefined(o.lockedPosition)||(r.disableResizingAndMoving="1"===o.lockedPosition)),t.push(r)}))}function S(e,t,r,o){t.forEach(function(t){var i=r(t.fileName,!0);i&&C(e,i,o)}),o.pivotTimelineCachesBeenRead=!0}function C(e,t,r){var o,i,a,l,s=n.parseXmlToObject(t),c=s.timelineCacheDefinition;if(c){if(o=c._attr,i=o.name,a=[],w(c,r),e.forEach(function(e){e.nameInFormula===i&&a.push(e)}),!a.length)return;l=o.sourceName,a.forEach(function(e){e.sourceName=f(u(l),"_x000a_","\n"),e.slicerCacheName=f(u(i),"_x000a_","\n"),e.type="timeline"})}}function w(e,t){var r,o,i,n,a,l,s,c,d=e.pivotTables,b=[];d&&(r=d.pivotTable,Array.isArray(r)||(r=[r]),r.forEach(function(e){b.push({tabId:e._attr.tabId,name:u(e._attr.name)})})),o=e.state,o&&o.bounds&&(i=o._attr&&+o._attr.pivotCacheId,n=o._attr&&o._attr.filterType,a=o.bounds._attr.startDate,l=o.bounds._attr.endDate,s=o.selection&&o.selection._attr.startDate,c=o.selection&&o.selection._attr.endDate,t.pivotTimelineCachesBeenRead||(t.Ne.slicerCaches||(t.Ne.slicerCaches=[]),t.Ne.slicerCaches.push({pivotCacheId:i,sourceName:f(u(e._attr.sourceName),"_x000a_","\n"),name:f(u(e._attr.name),"_x000a_","\n"),pivotTables:b,filterType:n,boundsStartDate:a,boundsEndDate:l,selectionStartDate:s,selectionEndDate:c})))}function x(e,t,r,o){t.forEach(function(t){var i=r(t.fileName,!0);i&&A(e,i,o)})}function A(e,t,r){var o=n.parseXmlToObject(t,!0),i=o["xdr:wsDr"],s=T(c(i["xdr:twoCellAnchor"]));s.forEach(function(t){var o,i,n,s,c,b,h,p,m=t._attr,g=!0,y=!0,S=m.editAs;"absolute"===S?(g=!1,y=!1):"oneCell"===S&&(y=!1),o=!0,i=t.clientData,n=d(t["xdr:from"]),s=d(t["xdr:to"]),c=l.getBounds(r,n,s),i&&(b=i._attr.fLocksWithSheet,"0"===b&&(o=!1)),h=u(f(t.slicerName,"&#xA;","\n")),p=v(e,h),a.isNullOrUndefined(p)||(p.dynamicMove=g,p.dynamicSize=y,p.x=c.x,p.y=c.y,p.width=c.width,p.height=c.height,p.isLocked=o,p.endPoint=s)})}function T(e){var t=["mc:AlternateContent","mc:Choice","xdr:graphicFrame","a:graphic","a:graphicData"],r=[];return e.forEach(function(e){var o,i,n,a,l,s=e;for(i=0;i<t.length;i++)o=!1,s&&s[t[i]]&&(o=!0,s=s[t[i]]);o&&(n=s,a=n._attr.uri,"http://schemas.microsoft.com/office/drawing/2012/timeslicer"===a&&(l=c(n["tsle:timeslicer"]),l.forEach(function(t){var o=t._attr,i=o.name;e.slicerName=u(i),r.push(e)})))}),r}function v(e,t){var r=null;return e.forEach(function(e){e.name===t&&(r=e)}),r}function k(e,t,r,o){var i,l,d,u,f,h,p,m,g=r(t.fileName,!0);g&&(i=n.parseXmlToObject(g),l=i.styleSheet,d={},u=o.mn,a.isNullOrUndefined(u)||(f=c(u["x15:timelineStyle"]),f.forEach(function(e){var t=e._attr,r=t.name,i={name:r},n=c(e["x15:timelineStyleElements"]);n.forEach(function(e){var t=c(e["x15:timelineStyleElement"]);t.forEach(function(e){var t,r=e._attr,n=r.type,l=r.dxfId,c=b[n];!a.isNullOrUndefined(l)&&c&&(t=o.sg(l),i[c]=s.getConvertedSlicerStyle(t))})}),d[r]=i})),h=l.tableStyles,a.isNullOrUndefined(h)||(p=c(h.tableStyle),p.forEach(function(e){var t,r=e._attr,i=r.name,n=d[i];n&&(t=c(e.tableStyleElement),t.forEach(function(e){var t=e._attr,r=t.type,i=t.dxfId,l=o.ug(i),c=b[r];!a.isNullOrUndefined(i)&&c&&(n[c]=s.getConvertedSlicerStyle(l))}))})),m=u._attr.defaultTimelineStyle,e.forEach(function(e){var t=e.style.name;t||(e.style.name=m,t=m),d[t]&&(e.style=d[t])}))}},"./src/xlsx-io/reader/workbook-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/xml-io/xml-parser.ts"),i=r("./src/xml-io/node-helper.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/common/common.ts"),l=void 0;function s(e,t){var r,i,a,s,u,b,g,y=[],S=o.parseXmlToObject(e),C=S.workbook;if(C){if(C.workbookPr&&c(C.workbookPr,t),C.bookViews)for(r=C.bookViews.workbookView,i=r.length,i===l&&(r=[r],i=1),a=0;a<i;a++)f(r[a],t);if(C.pivotCaches)for(t.Ne.pivotCaches={},Array.isArray(C.pivotCaches.pivotCache)||(C.pivotCaches.pivotCache=[C.pivotCaches.pivotCache]),a=0;a<C.pivotCaches.pivotCache.length;a++)s=d(C.pivotCaches.pivotCache[a]),t.Ne.pivotCaches[s.cacheId]=s;if(C.externalReferences){for(t.Ne.externalReference={},Array.isArray(C.externalReferences.externalReference)||(C.externalReferences.externalReference=[C.externalReferences.externalReference]),a=0;a<C.externalReferences.externalReference.length;a++)u=C.externalReferences.externalReference[a],t.Ne.externalReference[a+1]=t.qn[u._attr["r:id"]];delete t.qn}C.sheets&&C.sheets.sheet&&(b=C.sheets.sheet,Array.isArray(b)||(b=[b]),y=h(b,t)),C.definedNames&&(g=void 0,g=Array.isArray(C.definedNames.definedName)?C.definedNames.definedName:[C.definedNames.definedName],p(g,t)),C.calcPr&&m(C.calcPr,t),e.indexOf(n.XFileConstants.ee)>0&&(t.Ne.allowDynamicArray=!0)}return y}t.readWorkbook=s;function c(e,t){var r=i.XmlNodeHelper.Vm(e._attr.dateCompatibility,!0);r&&t.zf(i.XmlNodeHelper.Vm(e._attr.date1904,!1))}t.readWorkbookProperties=c;function d(e){var t={};return t.cacheId=e._attr.cacheId,t.rid=e._attr["r:id"],t}t.readPivotCache=d;function u(e){var t={};return t.rid=e._attr["r:id"],t}t.readExternalReference=u;function f(e,t){var r=i.XmlNodeHelper.Vm(e._attr.showHorizontalScroll,!0),o=i.XmlNodeHelper.Vm(e._attr.showVerticalScroll,!0),n=i.XmlNodeHelper.Vm(e._attr.showSheetTabs,!0),a=i.XmlNodeHelper.Xm(e._attr.firstSheet,0),l=i.XmlNodeHelper.Xm(e._attr.activeTab,0),s=i.XmlNodeHelper.Xm(e._attr.tabRatio,600);t.Af(r,o),t.Bf(n,l,a,s)}t.readWorkbookView=f;function b(e){var t,r,o,i,n=Object.keys(e);for(t=0,r=n;t<r.length;t++)if(o=r[t],i=o.split(":"),i&&2===i.length&&"id"===i[1])return e[o];return null}function h(e,t){var r,o,i,l,s,c,d=[];for(r=0;r<e.length;r++)o=e[r],i=new n.SheetInfo,l=a.Util.wa(a.Util.pa(o._attr.name)),i.name=l,i.index=r,i.sheetId=o._attr.sheetId,i.rID=o._attr["r:id"]||b(o._attr),a.StringEx.O(i.rID)||d.push(i),s=o._attr.state,c=0,s&&("hidden"===s?c=1:"veryHidden"===s&&(c=2)),t.Cf(l,r,c);return d}function p(e,t){var r,o,i,n,l,s,c,d;if(e.length>0)for(t.og(),r=void 0,o=0;o<e.length;o++)r=e[o],r&&(i=r._attr.localSheetId,n=a.Util.pa(r._attr.name),l=n.toUpperCase(),s=a.Util.pa(r._attr.comment),c=a.Util.pa(r.definedName),d=-1,a.isNullOrUndefined(i)||(d=parseInt(i,10)),d>=0&&l===a.BUILT_IN_PRINT_AREA_UPPERCASE?t.pg(a.PRINT_AREA,a.processFunction(c),d,s):"_xlnm.Print_Titles"===n?t.Zg(d,c):t.pg(n,a.processFunction(c),d,s))}function m(e,t){var r,o,i=e._attr.refMode,n=!1;i&&"R1C1"===i&&(n=!0),r={iterate:e._attr.iterate,count:e._attr.iterateCount,delta:e._attr.iterateDelta},o=0,"manual"===e._attr.calcMode&&(o=1),t.Df(n,r,o)}t.readWorkbookCalcProperties=m},"./src/xlsx-io/reader/worksheet-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/xlsx-io/common/color-reader.ts"),i=r("./src/xml-io/xml-reader.ts"),n=r("./src/common/common.ts"),a=r("./src/common/excel-types.ts"),l=r("./src/datamodel/excel-style.ts"),s=r("./src/datamodel/excel-helper.ts"),c=r("./src/xlsx-io/reader/conditionalformat-reader.ts"),d=r("./src/xlsx-io/reader/sparkline-reader.ts"),u=r("./src/xlsx-io/reader/autofilter-reader.ts"),f=r("./src/xlsx-io/reader/datavalidation-reader.ts"),b=r("./src/xlsx-io/reader/print-reader.ts"),h=r("./src/xlsx-io/reader/ctrlprops-reader.ts"),p=r("./src/xlsx-io/reader/control-reader.ts"),m=null,g="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main";function y(e,t,r,o,n,a,l){var s,d,h=new i.XmlReader;for(h.reset(),h.setXml(e),s=15,d={},o.if=[],o.jf=[],o.Uf=0,o.Tf=0;h.read();)if(1===h.depth&&2!==h.elementType)try{switch(h.name()){case"sheetPr":S(h,r,o);break;case"dimension":C(h,r,o);break;case"sheetViews":w(h,r,o);break;case"sheetFormatPr":s=A(h,r,o);break;case"cols":T(h,r,o,n);break;case"mergeCells":k(h,r,o);break;case"sheetData":F(h,r,o,d,s,n,a);break;case"sheetProtection":L(h,r,o);break;case"conditionalFormatting":c.readConditionalFormatting(h,r,o);break;case"extLst":D(h,r,o);break;case"autoFilter":u.readAutoFilterForSheet(h,r,o);break;case"dataValidations":f.readDataValidations(h,r,o);break;case"pageMargins":b.readPageMargins(h,r,o);break;case"printOptions":b.readPrintOptions(h,r,o);break;case"pageSetup":b.readPageSetup(h,o);break;case"headerFooter":b.readHeaderFooter(h,o);break;case"rowBreaks":b.readRowColumnBreaks(h,o,!0);break;case"colBreaks":b.readRowColumnBreaks(h,o,!1);break;case"legacyDrawing":p.readLegacyDrawing(h,o);break;case"legacyDrawingHF":b.readLegacyDrawingHF(h,o);break;case"hyperlinks":B(h,r,o,t);break;case"controls":P(h,r,o,t,l);break;case"mc:AlternateContent":W(h,r,o,t,l)}}catch(e){}o.fg(r,d),o.Sf(r)}t.readWorksheets=y;function S(e,t,r){for(var i,n,a,l;e.moveToNextAttribute();)i=e.readAttributeNameAsString(),"filterMode"===i&&e.readContentAsString();if(3!==e.elementType)for(n=e.depth;e.read()&&!(e.depth<=n);)if(1===e.nodeType())switch(e.name()){case"tabColor":r.Ff(t,o.readColor(e));break;case"outlinePr":for(a=!0,l=!0;e.moveToNextAttribute();)"summaryBelow"===e.readAttributeNameAsString()?a=e.readContentAsBoolean():"summaryRight"===e.readAttributeNameAsString()&&(l=e.readContentAsBoolean());r.Ef(t,l,a);break;case"pageSetUpPr":b.readPageSetupAdditionalProperty(e,r)}}function C(e,t,r){for(var o,i,a,l,s,c,d,u;e.moveToNextAttribute();)"ref"===e.readAttributeNameAsString()&&(o=e.readContentAsString(),i=o.split(":"),a=void 0,l=void 0,2===i.length?(s=n.IndexHelper.P(i[0]),c=n.IndexHelper.P(i[1]),d=n.IndexHelper.R(i[0]),u=n.IndexHelper.R(i[1]),a=Math.max(s,c)+1,l=Math.max(d,u)+1):1===i.length&&(s=n.IndexHelper.P(i[0]),d=n.IndexHelper.R(i[0]),a=s+1,l=d+1),r.Gf(t,a,l))}function w(e,t,r){var o,i,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,A,T,v,k,F,R,E,I,L;if(r.mg(),3!==e.elementType)for(o=e.depth;e.read()&&!(e.depth<=o);)if(1===e.nodeType()&&"sheetView"===e.name()){if(x(e,t,r),i=r.Kf,l=void 0,s=void 0,i&&(l=n.IndexHelper.P(i),s=n.IndexHelper.R(i)),void 0!==l&&void 0!==s&&r.Lf(l,s,t),3===e.elementType)continue;for(c=e.depth;e.read()&&!(e.depth<=c);)if(1===e.nodeType())if("selection"===e.name()){for(d=-1,u=-1,f=0,b=[],h=[],p=[],m=[],g=[],y="",S=3;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"sqref":g=e.readContentAsString().split(" ");break;case"activeCellId":break;case"activeCell":y=e.readContentAsString();break;case"pane":C=e.readContentAsString(),C&&void 0!==a.PaneType[C]&&(S=a.PaneType[C])}for(w=0,A=g.length;w<A;w++)T=g[w].split(":"),1===T.length?(v=n.IndexHelper.P(T[0]),k=n.IndexHelper.R(T[0]),b.push(v),h.push(v),p.push(k),m.push(k),f++):2===T.length&&(b.push(n.IndexHelper.P(T[0])),p.push(n.IndexHelper.R(T[0])),h.push(n.IndexHelper.P(T[1])),m.push(n.IndexHelper.R(T[1])),f++);y&&(d=n.IndexHelper.P(y),u=n.IndexHelper.R(y)),r.If(t,S,d,u,f,b,h,p,m)}else if("pane"===e.name()){for(F=null,R=!1,E=3,I=0,L=0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"topLeftCell":i=e.readContentAsString();break;case"xSplit":I=e.readContentAsInt(0);break;case"ySplit":L=e.readContentAsInt(0);break;case"state":F=e.readContentAsString(),!F||"frozen"!==F&&"frozenSplit"!==F||(R=!0);break;case"activePane":C=e.readContentAsString(),C&&void 0!==a.PaneType[C]&&(E=a.PaneType[C])}r.ng(E),r.Jf(t,I,L,i,R)}}}function x(e,t,r){for(var o,i=!1,n=null,a=!0,s=!0,c=100,d=!1,u=!0,f="A1";e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"colorId":o=e.readContentAsInt(-1),o>=0&&(n=new l.ExcelColor(1,o,0));break;case"showGridLines":a=e.readContentAsBoolean();break;case"showRowColHeaders":s=e.readContentAsBoolean();break;case"showFormulas":d=e.readContentAsBoolean();break;case"showZeros":u=e.readContentAsBoolean();break;case"zoomScale":c=e.readContentAsDouble(100);break;case"topLeftCell":f=e.readContentAsString();break;case"tabSelected":i=e.readContentAsBoolean()}r.Hf(t,n,a,s,c,d,u,i),r.Kf=f}function A(e,t,r){for(var o=NaN,i=NaN,n=8,a=15;e.moveToNextAttribute();)"defaultRowHeight"===e.readAttributeNameAsString()?o=e.readContentAsDouble(NaN):"defaultColWidth"===e.readAttributeNameAsString()?i=e.readContentAsDouble(NaN):"baseColWidth"===e.readAttributeNameAsString()&&(n=e.readContentAsDouble(8));return isNaN(o)||(r.Nf(t,o),a=o),r.Of(t,n,i),a}function T(e,t,r,o){var i,n,a,l,s,c,d,u;if(3!==e.elementType){for(i=e.depth;e.read()&&!(e.depth<=i);)if(1===e.nodeType()&&"col"===e.name()){for(n=0,a=0,l=0,s=0,c=0,d=!1,u=!1;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"min":n=e.readContentAsInt(0)-1;break;case"max":a=e.readContentAsInt(0)-1;break;case"style":l=e.readContentAsInt(0);break;case"width":s=e.readContentAsDouble(8);break;case"hidden":d=e.readContentAsBoolean(!1);break;case"collapsed":u=e.readContentAsBoolean(!1);break;case"outlineLevel":c=e.readContentAsInt(0)}n>=0&&a>=0&&r.Vf(t,n,a,l+o,s,d,c,u)}r._f(t,!1),v(r.Ne.sheets&&r.Ne.sheets[t])}}function v(e){var t,r,o,i;if(e&&e.columns)for(t=e.columns,r=e.columnOutlines,o=0;o<t.length;o++)t[o]&&(i=s.isCollapsed(o,r),i&&0===t[o].size&&(t[o].size=m),i&&t[o]&&t[o].visible===!1&&delete t[o].visible)}function k(e,t,r){var o,i,a,l,s,c,d;if(3!==e.elementType)for(o=e.depth;e.read()&&!(e.depth<=o);)if(1===e.nodeType()&&"mergeCell"===e.name())for(;e.moveToNextAttribute();)"ref"===e.readAttributeNameAsString()&&(i=e.readContentAsString(),a=i.split(":"),2===a.length&&(l=n.IndexHelper.P(a[0]),s=n.IndexHelper.P(a[1]),c=n.IndexHelper.R(a[0]),d=n.IndexHelper.R(a[1]),r.Xf(t,l,s,c,d)))}function F(e,t,r,o,i,n,a){var l,s;if(3!==e.elementType){l=e.depth,r.bg(t),s=-1;do{if(e.fastRead(),e.depth<=l)break;s=R(e,t,o,s,r,i,n,a)}while(e.depth>l);r.Uf<s&&(r.Uf=s)}r._f(t,!0),r.$f(t)}function R(e,t,r,o,i,n,a,l){for(var s,c,d,u=o+1,f=-1,b=!1,h=!1,p=n,m=0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"r":u=e.readContentAsInt(0)-1;break;case"spans":break;case"s":f=e.readContentAsInt(-1);break;case"collapsed":b=e.readContentAsBoolean(!1);break;case"hidden":h=e.readContentAsBoolean(!1);break;case"ht":p=e.readContentAsDouble(0);break;case"outlineLevel":m=e.readContentAsInt(0)}if(s=f===-1?-1:f+a,i.ag(t,u,s,p,m,b,h),3===e.elementType)return u;c=-1,d=e.depth;do{if(e.fastRead(),e.depth<=d)break;i.cg(t,u),c=I(e,t,r,u,c,i,a,l)}while(e.depth>d);return i.Tf<c&&(i.Tf=c),u}function E(e){var t=m;switch(e){case"#DIV/0!":t=7;break;case"#N/A":t=42;break;case"#NAME?":t=29;break;case"#NULL!":t=0;break;case"#NUM!":t=36;break;case"#REF!":t=23;break;case"#VALUE!":t=15}return t}function I(e,t,r,o,i,a,l,s){for(var c,d,u,f,b,h,p,g,y,S,C,w,x,A,T,v,k,F,R,I,L,D,B,P,W,_=i+1,N="n",M=0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){