1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406494074940849409494104941149412494134941449415494164941749418494194942049421494224942349424494254942649427494284942949430494314943249433494344943549436494374943849439494404944149442494434944449445494464944749448494494945049451494524945349454494554945649457494584945949460494614946249463494644946549466494674946849469494704947149472494734947449475494764947749478494794948049481494824948349484494854948649487494884948949490494914949249493494944949549496494974949849499495004950149502495034950449505495064950749508495094951049511495124951349514495154951649517495184951949520495214952249523495244952549526495274952849529495304953149532495334953449535495364953749538495394954049541495424954349544495454954649547495484954949550495514955249553495544955549556495574955849559495604956149562495634956449565495664956749568495694957049571495724957349574495754957649577495784957949580495814958249583495844958549586495874958849589495904959149592495934959449595495964959749598495994960049601496024960349604496054960649607496084960949610496114961249613496144961549616496174961849619496204962149622496234962449625496264962749628496294963049631496324963349634496354963649637496384963949640496414964249643496444964549646496474964849649496504965149652496534965449655496564965749658496594966049661496624966349664496654966649667496684966949670496714967249673496744967549676496774967849679496804968149682496834968449685496864968749688496894969049691496924969349694496954969649697496984969949700497014970249703497044970549706497074970849709497104971149712497134971449715497164971749718497194972049721497224972349724497254972649727497284972949730497314973249733497344973549736497374973849739497404974149742497434974449745497464974749748497494975049751497524975349754497554975649757497584975949760497614976249763497644976549766497674976849769497704977149772497734977449775497764977749778497794978049781497824978349784497854978649787497884978949790497914979249793497944979549796497974979849799498004980149802498034980449805498064980749808498094981049811498124981349814498154981649817498184981949820498214982249823498244982549826498274982849829498304983149832498334983449835498364983749838498394984049841498424984349844498454984649847498484984949850498514985249853498544985549856498574985849859498604986149862498634986449865498664986749868498694987049871498724987349874498754987649877498784987949880498814988249883498844988549886498874988849889498904989149892498934989449895498964989749898498994990049901499024990349904499054990649907499084990949910499114991249913499144991549916499174991849919499204992149922499234992449925499264992749928499294993049931499324993349934499354993649937499384993949940499414994249943499444994549946499474994849949499504995149952499534995449955499564995749958499594996049961499624996349964499654996649967499684996949970499714997249973499744997549976499774997849979499804998149982499834998449985499864998749988499894999049991499924999349994499954999649997499984999950000500015000250003500045000550006500075000850009500105001150012500135001450015500165001750018500195002050021500225002350024500255002650027500285002950030500315003250033500345003550036500375003850039500405004150042500435004450045500465004750048500495005050051500525005350054500555005650057500585005950060500615006250063500645006550066500675006850069500705007150072500735007450075500765007750078500795008050081500825008350084500855008650087500885008950090500915009250093500945009550096500975009850099501005010150102501035010450105501065010750108501095011050111501125011350114501155011650117501185011950120501215012250123501245012550126501275012850129501305013150132501335013450135501365013750138501395014050141501425014350144501455014650147501485014950150501515015250153501545015550156501575015850159501605016150162501635016450165501665016750168501695017050171501725017350174501755017650177501785017950180501815018250183501845018550186501875018850189501905019150192501935019450195501965019750198501995020050201502025020350204502055020650207502085020950210502115021250213502145021550216502175021850219502205022150222502235022450225502265022750228502295023050231502325023350234502355023650237502385023950240502415024250243502445024550246502475024850249502505025150252502535025450255502565025750258502595026050261502625026350264502655026650267502685026950270502715027250273502745027550276502775027850279502805028150282502835028450285502865028750288502895029050291502925029350294502955029650297502985029950300503015030250303503045030550306503075030850309503105031150312503135031450315503165031750318503195032050321503225032350324503255032650327503285032950330503315033250333503345033550336503375033850339503405034150342503435034450345503465034750348503495035050351503525035350354503555035650357503585035950360503615036250363503645036550366503675036850369503705037150372503735037450375503765037750378503795038050381503825038350384503855038650387503885038950390503915039250393503945039550396503975039850399504005040150402504035040450405504065040750408504095041050411504125041350414504155041650417504185041950420504215042250423504245042550426504275042850429504305043150432504335043450435504365043750438504395044050441504425044350444504455044650447504485044950450504515045250453504545045550456504575045850459504605046150462504635046450465504665046750468504695047050471504725047350474504755047650477504785047950480504815048250483504845048550486504875048850489504905049150492504935049450495504965049750498504995050050501505025050350504505055050650507505085050950510505115051250513505145051550516505175051850519505205052150522505235052450525505265052750528505295053050531505325053350534505355053650537505385053950540505415054250543505445054550546505475054850549505505055150552505535055450555505565055750558505595056050561505625056350564505655056650567505685056950570505715057250573505745057550576505775057850579505805058150582505835058450585505865058750588505895059050591505925059350594505955059650597505985059950600506015060250603506045060550606506075060850609506105061150612506135061450615506165061750618506195062050621506225062350624506255062650627506285062950630506315063250633506345063550636506375063850639506405064150642506435064450645506465064750648506495065050651506525065350654506555065650657506585065950660506615066250663506645066550666506675066850669506705067150672506735067450675506765067750678506795068050681506825068350684506855068650687506885068950690506915069250693506945069550696506975069850699507005070150702507035070450705507065070750708507095071050711507125071350714507155071650717507185071950720507215072250723507245072550726507275072850729507305073150732507335073450735507365073750738507395074050741507425074350744507455074650747507485074950750507515075250753507545075550756507575075850759507605076150762507635076450765507665076750768507695077050771507725077350774507755077650777507785077950780507815078250783507845078550786507875078850789507905079150792507935079450795507965079750798507995080050801508025080350804508055080650807508085080950810508115081250813508145081550816508175081850819508205082150822508235082450825508265082750828508295083050831508325083350834508355083650837508385083950840508415084250843508445084550846508475084850849508505085150852508535085450855508565085750858508595086050861508625086350864508655086650867508685086950870508715087250873508745087550876508775087850879508805088150882508835088450885508865088750888508895089050891508925089350894508955089650897508985089950900509015090250903509045090550906509075090850909509105091150912509135091450915509165091750918509195092050921509225092350924509255092650927509285092950930509315093250933509345093550936509375093850939509405094150942509435094450945509465094750948509495095050951509525095350954509555095650957509585095950960509615096250963509645096550966509675096850969509705097150972509735097450975509765097750978509795098050981509825098350984509855098650987509885098950990509915099250993509945099550996509975099850999510005100151002510035100451005510065100751008510095101051011510125101351014510155101651017510185101951020510215102251023510245102551026510275102851029510305103151032510335103451035510365103751038510395104051041510425104351044510455104651047510485104951050510515105251053510545105551056510575105851059510605106151062510635106451065510665106751068510695107051071510725107351074510755107651077510785107951080510815108251083510845108551086510875108851089510905109151092510935109451095510965109751098510995110051101511025110351104511055110651107511085110951110511115111251113511145111551116511175111851119511205112151122511235112451125511265112751128511295113051131511325113351134511355113651137511385113951140511415114251143511445114551146511475114851149511505115151152511535115451155511565115751158511595116051161511625116351164511655116651167511685116951170511715117251173511745117551176511775117851179511805118151182511835118451185511865118751188511895119051191511925119351194511955119651197511985119951200512015120251203512045120551206512075120851209512105121151212512135121451215512165121751218512195122051221512225122351224512255122651227512285122951230512315123251233512345123551236512375123851239512405124151242512435124451245512465124751248512495125051251512525125351254512555125651257512585125951260512615126251263512645126551266512675126851269512705127151272512735127451275512765127751278512795128051281512825128351284512855128651287512885128951290512915129251293512945129551296512975129851299513005130151302513035130451305513065130751308513095131051311513125131351314513155131651317513185131951320513215132251323513245132551326513275132851329513305133151332513335133451335513365133751338513395134051341513425134351344513455134651347513485134951350513515135251353513545135551356513575135851359513605136151362513635136451365513665136751368513695137051371513725137351374513755137651377513785137951380513815138251383513845138551386513875138851389513905139151392513935139451395513965139751398513995140051401514025140351404514055140651407514085140951410514115141251413514145141551416514175141851419514205142151422514235142451425514265142751428514295143051431514325143351434514355143651437514385143951440514415144251443514445144551446514475144851449514505145151452514535145451455514565145751458514595146051461514625146351464514655146651467514685146951470514715147251473514745147551476514775147851479514805148151482514835148451485514865148751488514895149051491514925149351494514955149651497514985149951500515015150251503515045150551506515075150851509515105151151512515135151451515515165151751518515195152051521515225152351524515255152651527515285152951530515315153251533515345153551536515375153851539515405154151542515435154451545515465154751548515495155051551515525155351554515555155651557515585155951560515615156251563515645156551566515675156851569515705157151572515735157451575515765157751578515795158051581515825158351584515855158651587515885158951590515915159251593515945159551596515975159851599516005160151602516035160451605516065160751608516095161051611516125161351614516155161651617516185161951620516215162251623516245162551626516275162851629516305163151632516335163451635516365163751638516395164051641516425164351644516455164651647516485164951650516515165251653516545165551656516575165851659516605166151662516635166451665516665166751668516695167051671516725167351674516755167651677516785167951680516815168251683516845168551686516875168851689516905169151692516935169451695516965169751698516995170051701517025170351704517055170651707517085170951710517115171251713517145171551716517175171851719517205172151722517235172451725517265172751728517295173051731517325173351734517355173651737517385173951740517415174251743517445174551746517475174851749517505175151752517535175451755517565175751758517595176051761517625176351764517655176651767517685176951770517715177251773517745177551776517775177851779517805178151782517835178451785517865178751788517895179051791517925179351794517955179651797517985179951800518015180251803518045180551806518075180851809518105181151812518135181451815518165181751818518195182051821518225182351824518255182651827518285182951830518315183251833518345183551836518375183851839518405184151842518435184451845518465184751848518495185051851518525185351854518555185651857518585185951860518615186251863518645186551866518675186851869518705187151872518735187451875518765187751878518795188051881518825188351884518855188651887518885188951890518915189251893518945189551896518975189851899519005190151902519035190451905519065190751908519095191051911519125191351914519155191651917519185191951920519215192251923519245192551926519275192851929519305193151932519335193451935519365193751938519395194051941519425194351944519455194651947519485194951950519515195251953519545195551956519575195851959519605196151962519635196451965519665196751968519695197051971519725197351974519755197651977519785197951980519815198251983519845198551986519875198851989519905199151992519935199451995519965199751998519995200052001520025200352004520055200652007520085200952010520115201252013520145201552016520175201852019520205202152022520235202452025520265202752028520295203052031520325203352034520355203652037520385203952040520415204252043520445204552046520475204852049520505205152052520535205452055520565205752058520595206052061520625206352064520655206652067520685206952070520715207252073520745207552076520775207852079520805208152082520835208452085520865208752088520895209052091520925209352094520955209652097520985209952100521015210252103521045210552106521075210852109521105211152112521135211452115521165211752118521195212052121521225212352124521255212652127521285212952130521315213252133521345213552136521375213852139521405214152142521435214452145521465214752148521495215052151521525215352154521555215652157521585215952160521615216252163521645216552166521675216852169521705217152172521735217452175521765217752178521795218052181521825218352184521855218652187521885218952190521915219252193521945219552196521975219852199522005220152202522035220452205522065220752208522095221052211522125221352214522155221652217522185221952220522215222252223522245222552226522275222852229522305223152232522335223452235522365223752238522395224052241522425224352244522455224652247522485224952250522515225252253522545225552256522575225852259522605226152262522635226452265522665226752268522695227052271522725227352274522755227652277522785227952280522815228252283522845228552286522875228852289522905229152292522935229452295522965229752298522995230052301523025230352304523055230652307523085230952310523115231252313523145231552316523175231852319523205232152322523235232452325523265232752328523295233052331523325233352334523355233652337523385233952340523415234252343523445234552346523475234852349523505235152352523535235452355523565235752358523595236052361523625236352364523655236652367523685236952370523715237252373523745237552376523775237852379523805238152382523835238452385523865238752388523895239052391523925239352394523955239652397523985239952400524015240252403524045240552406524075240852409524105241152412524135241452415524165241752418524195242052421524225242352424524255242652427524285242952430524315243252433524345243552436524375243852439524405244152442524435244452445524465244752448524495245052451524525245352454524555245652457524585245952460524615246252463524645246552466524675246852469524705247152472524735247452475524765247752478524795248052481524825248352484524855248652487524885248952490524915249252493524945249552496524975249852499525005250152502525035250452505525065250752508525095251052511525125251352514525155251652517525185251952520525215252252523525245252552526525275252852529525305253152532525335253452535525365253752538525395254052541525425254352544525455254652547525485254952550525515255252553525545255552556525575255852559525605256152562525635256452565525665256752568525695257052571525725257352574525755257652577525785257952580525815258252583525845258552586525875258852589525905259152592525935259452595525965259752598525995260052601526025260352604526055260652607526085260952610526115261252613526145261552616526175261852619526205262152622526235262452625526265262752628526295263052631526325263352634526355263652637526385263952640526415264252643526445264552646526475264852649526505265152652526535265452655526565265752658526595266052661526625266352664526655266652667526685266952670526715267252673526745267552676526775267852679526805268152682526835268452685526865268752688526895269052691526925269352694526955269652697526985269952700527015270252703527045270552706527075270852709527105271152712527135271452715527165271752718527195272052721527225272352724527255272652727527285272952730527315273252733527345273552736527375273852739527405274152742527435274452745527465274752748527495275052751527525275352754527555275652757527585275952760527615276252763527645276552766527675276852769527705277152772527735277452775527765277752778527795278052781527825278352784527855278652787527885278952790527915279252793527945279552796527975279852799528005280152802528035280452805528065280752808528095281052811528125281352814528155281652817528185281952820528215282252823528245282552826528275282852829528305283152832528335283452835528365283752838528395284052841528425284352844528455284652847528485284952850528515285252853528545285552856528575285852859528605286152862528635286452865528665286752868528695287052871528725287352874528755287652877528785287952880528815288252883528845288552886528875288852889528905289152892528935289452895528965289752898528995290052901529025290352904529055290652907529085290952910529115291252913529145291552916529175291852919529205292152922529235292452925529265292752928529295293052931529325293352934529355293652937529385293952940529415294252943529445294552946529475294852949529505295152952529535295452955529565295752958529595296052961529625296352964529655296652967529685296952970529715297252973529745297552976529775297852979529805298152982529835298452985529865298752988529895299052991529925299352994529955299652997529985299953000530015300253003530045300553006530075300853009530105301153012530135301453015530165301753018530195302053021530225302353024530255302653027530285302953030530315303253033530345303553036530375303853039530405304153042530435304453045530465304753048530495305053051530525305353054530555305653057530585305953060530615306253063530645306553066530675306853069530705307153072530735307453075530765307753078530795308053081530825308353084530855308653087530885308953090530915309253093530945309553096530975309853099531005310153102531035310453105531065310753108531095311053111531125311353114531155311653117531185311953120531215312253123531245312553126531275312853129531305313153132531335313453135531365313753138531395314053141531425314353144531455314653147531485314953150531515315253153531545315553156531575315853159531605316153162531635316453165531665316753168531695317053171531725317353174531755317653177531785317953180531815318253183531845318553186531875318853189531905319153192531935319453195531965319753198531995320053201532025320353204532055320653207532085320953210532115321253213532145321553216532175321853219532205322153222532235322453225532265322753228532295323053231532325323353234532355323653237532385323953240532415324253243532445324553246532475324853249532505325153252532535325453255532565325753258532595326053261532625326353264532655326653267532685326953270532715327253273532745327553276532775327853279532805328153282532835328453285532865328753288532895329053291532925329353294532955329653297532985329953300533015330253303533045330553306533075330853309533105331153312533135331453315533165331753318533195332053321533225332353324533255332653327533285332953330533315333253333533345333553336533375333853339533405334153342533435334453345533465334753348533495335053351533525335353354533555335653357533585335953360533615336253363533645336553366533675336853369533705337153372533735337453375533765337753378533795338053381533825338353384533855338653387533885338953390533915339253393533945339553396533975339853399534005340153402534035340453405534065340753408534095341053411534125341353414534155341653417534185341953420534215342253423534245342553426534275342853429534305343153432534335343453435534365343753438534395344053441534425344353444534455344653447534485344953450534515345253453534545345553456534575345853459534605346153462534635346453465534665346753468534695347053471534725347353474534755347653477534785347953480534815348253483534845348553486534875348853489534905349153492534935349453495534965349753498534995350053501535025350353504535055350653507535085350953510535115351253513535145351553516535175351853519535205352153522535235352453525535265352753528535295353053531535325353353534535355353653537535385353953540535415354253543535445354553546535475354853549535505355153552535535355453555535565355753558535595356053561535625356353564535655356653567535685356953570535715357253573535745357553576535775357853579535805358153582535835358453585535865358753588535895359053591535925359353594535955359653597535985359953600536015360253603536045360553606536075360853609536105361153612536135361453615536165361753618536195362053621536225362353624536255362653627536285362953630536315363253633536345363553636536375363853639536405364153642536435364453645536465364753648536495365053651536525365353654536555365653657536585365953660536615366253663536645366553666536675366853669536705367153672536735367453675536765367753678536795368053681536825368353684536855368653687536885368953690536915369253693536945369553696536975369853699537005370153702537035370453705537065370753708537095371053711537125371353714537155371653717537185371953720537215372253723537245372553726537275372853729537305373153732537335373453735537365373753738537395374053741537425374353744537455374653747537485374953750537515375253753537545375553756537575375853759537605376153762537635376453765537665376753768537695377053771537725377353774537755377653777537785377953780537815378253783537845378553786537875378853789537905379153792537935379453795537965379753798537995380053801538025380353804538055380653807538085380953810538115381253813538145381553816538175381853819538205382153822538235382453825538265382753828538295383053831538325383353834538355383653837538385383953840538415384253843538445384553846538475384853849538505385153852538535385453855538565385753858538595386053861538625386353864538655386653867538685386953870538715387253873538745387553876538775387853879538805388153882538835388453885538865388753888538895389053891538925389353894538955389653897538985389953900539015390253903539045390553906539075390853909539105391153912539135391453915539165391753918539195392053921539225392353924539255392653927539285392953930539315393253933539345393553936539375393853939539405394153942539435394453945539465394753948539495395053951539525395353954539555395653957539585395953960539615396253963539645396553966539675396853969539705397153972539735397453975539765397753978539795398053981539825398353984539855398653987539885398953990539915399253993539945399553996539975399853999540005400154002540035400454005540065400754008540095401054011540125401354014540155401654017540185401954020540215402254023540245402554026540275402854029540305403154032540335403454035540365403754038540395404054041540425404354044540455404654047540485404954050540515405254053540545405554056540575405854059540605406154062540635406454065540665406754068540695407054071540725407354074540755407654077540785407954080540815408254083540845408554086540875408854089540905409154092540935409454095540965409754098540995410054101541025410354104541055410654107541085410954110541115411254113541145411554116541175411854119541205412154122541235412454125541265412754128541295413054131541325413354134541355413654137541385413954140541415414254143541445414554146541475414854149541505415154152541535415454155541565415754158541595416054161541625416354164541655416654167541685416954170541715417254173541745417554176541775417854179541805418154182541835418454185541865418754188541895419054191541925419354194541955419654197541985419954200542015420254203542045420554206542075420854209542105421154212542135421454215542165421754218542195422054221542225422354224542255422654227542285422954230542315423254233542345423554236542375423854239542405424154242542435424454245542465424754248542495425054251542525425354254542555425654257542585425954260542615426254263542645426554266542675426854269542705427154272542735427454275542765427754278542795428054281542825428354284542855428654287542885428954290542915429254293542945429554296542975429854299543005430154302543035430454305543065430754308543095431054311543125431354314543155431654317543185431954320543215432254323543245432554326543275432854329543305433154332543335433454335543365433754338543395434054341543425434354344543455434654347543485434954350543515435254353543545435554356543575435854359543605436154362543635436454365543665436754368543695437054371543725437354374543755437654377543785437954380543815438254383543845438554386543875438854389543905439154392543935439454395543965439754398543995440054401544025440354404544055440654407544085440954410544115441254413544145441554416544175441854419544205442154422544235442454425544265442754428544295443054431544325443354434544355443654437544385443954440544415444254443544445444554446544475444854449544505445154452544535445454455544565445754458544595446054461544625446354464544655446654467544685446954470544715447254473544745447554476544775447854479544805448154482544835448454485544865448754488544895449054491544925449354494544955449654497544985449954500545015450254503545045450554506545075450854509545105451154512545135451454515545165451754518545195452054521545225452354524545255452654527545285452954530545315453254533545345453554536545375453854539545405454154542545435454454545545465454754548545495455054551545525455354554545555455654557545585455954560545615456254563545645456554566545675456854569545705457154572545735457454575545765457754578545795458054581545825458354584545855458654587545885458954590545915459254593545945459554596545975459854599546005460154602546035460454605546065460754608546095461054611546125461354614546155461654617546185461954620546215462254623546245462554626546275462854629546305463154632546335463454635546365463754638546395464054641546425464354644546455464654647546485464954650546515465254653546545465554656546575465854659546605466154662546635466454665546665466754668546695467054671546725467354674546755467654677546785467954680546815468254683546845468554686546875468854689546905469154692546935469454695546965469754698546995470054701547025470354704547055470654707547085470954710547115471254713547145471554716547175471854719547205472154722547235472454725547265472754728547295473054731547325473354734547355473654737547385473954740547415474254743547445474554746547475474854749547505475154752547535475454755547565475754758547595476054761547625476354764547655476654767547685476954770547715477254773547745477554776547775477854779547805478154782547835478454785547865478754788547895479054791547925479354794547955479654797547985479954800548015480254803548045480554806548075480854809548105481154812548135481454815548165481754818548195482054821548225482354824548255482654827548285482954830548315483254833548345483554836548375483854839548405484154842548435484454845548465484754848548495485054851548525485354854548555485654857548585485954860548615486254863548645486554866548675486854869548705487154872548735487454875548765487754878548795488054881548825488354884548855488654887548885488954890548915489254893548945489554896548975489854899549005490154902549035490454905549065490754908549095491054911549125491354914549155491654917549185491954920549215492254923549245492554926549275492854929549305493154932549335493454935549365493754938549395494054941549425494354944549455494654947549485494954950549515495254953549545495554956549575495854959549605496154962549635496454965549665496754968549695497054971549725497354974549755497654977549785497954980549815498254983549845498554986549875498854989549905499154992549935499454995549965499754998549995500055001550025500355004550055500655007550085500955010550115501255013550145501555016550175501855019550205502155022550235502455025550265502755028550295503055031550325503355034550355503655037550385503955040550415504255043550445504555046550475504855049550505505155052550535505455055550565505755058550595506055061550625506355064550655506655067550685506955070550715507255073550745507555076550775507855079550805508155082550835508455085550865508755088550895509055091550925509355094550955509655097550985509955100551015510255103551045510555106551075510855109551105511155112551135511455115551165511755118551195512055121551225512355124551255512655127551285512955130551315513255133551345513555136551375513855139551405514155142551435514455145551465514755148551495515055151551525515355154551555515655157551585515955160551615516255163551645516555166551675516855169551705517155172551735517455175551765517755178551795518055181551825518355184551855518655187551885518955190551915519255193551945519555196551975519855199552005520155202552035520455205552065520755208552095521055211552125521355214552155521655217552185521955220552215522255223552245522555226552275522855229552305523155232552335523455235552365523755238552395524055241552425524355244552455524655247552485524955250552515525255253552545525555256552575525855259552605526155262552635526455265552665526755268552695527055271552725527355274552755527655277552785527955280552815528255283552845528555286552875528855289552905529155292552935529455295552965529755298552995530055301553025530355304553055530655307553085530955310553115531255313553145531555316553175531855319553205532155322553235532455325553265532755328553295533055331553325533355334553355533655337553385533955340553415534255343553445534555346553475534855349553505535155352553535535455355553565535755358553595536055361553625536355364553655536655367553685536955370553715537255373553745537555376553775537855379553805538155382553835538455385553865538755388553895539055391553925539355394553955539655397553985539955400554015540255403554045540555406554075540855409554105541155412554135541455415554165541755418554195542055421554225542355424554255542655427554285542955430554315543255433554345543555436554375543855439554405544155442554435544455445554465544755448554495545055451554525545355454554555545655457554585545955460554615546255463554645546555466554675546855469554705547155472554735547455475554765547755478554795548055481554825548355484554855548655487554885548955490554915549255493554945549555496554975549855499555005550155502555035550455505555065550755508555095551055511555125551355514555155551655517555185551955520555215552255523555245552555526555275552855529555305553155532555335553455535555365553755538555395554055541555425554355544555455554655547555485554955550555515555255553555545555555556555575555855559555605556155562555635556455565555665556755568555695557055571555725557355574555755557655577555785557955580555815558255583555845558555586555875558855589555905559155592555935559455595555965559755598555995560055601556025560355604556055560655607556085560955610556115561255613556145561555616556175561855619556205562155622556235562455625556265562755628556295563055631556325563355634556355563655637556385563955640556415564255643556445564555646556475564855649556505565155652556535565455655556565565755658556595566055661556625566355664556655566655667556685566955670556715567255673556745567555676556775567855679556805568155682556835568455685556865568755688556895569055691556925569355694556955569655697556985569955700557015570255703557045570555706557075570855709557105571155712557135571455715557165571755718557195572055721557225572355724557255572655727557285572955730557315573255733557345573555736557375573855739557405574155742557435574455745557465574755748557495575055751557525575355754557555575655757557585575955760557615576255763557645576555766557675576855769557705577155772557735577455775557765577755778557795578055781557825578355784557855578655787557885578955790557915579255793557945579555796557975579855799558005580155802558035580455805558065580755808558095581055811558125581355814558155581655817558185581955820558215582255823558245582555826558275582855829558305583155832558335583455835558365583755838558395584055841558425584355844558455584655847558485584955850558515585255853558545585555856558575585855859558605586155862558635586455865558665586755868558695587055871558725587355874558755587655877558785587955880558815588255883558845588555886558875588855889558905589155892558935589455895558965589755898558995590055901559025590355904559055590655907559085590955910559115591255913559145591555916559175591855919559205592155922559235592455925559265592755928559295593055931559325593355934559355593655937559385593955940559415594255943559445594555946559475594855949559505595155952559535595455955559565595755958559595596055961559625596355964559655596655967559685596955970559715597255973559745597555976559775597855979559805598155982559835598455985559865598755988559895599055991559925599355994559955599655997559985599956000560015600256003560045600556006560075600856009560105601156012560135601456015560165601756018560195602056021560225602356024560255602656027560285602956030560315603256033560345603556036560375603856039560405604156042560435604456045560465604756048560495605056051560525605356054560555605656057560585605956060560615606256063560645606556066560675606856069560705607156072560735607456075560765607756078560795608056081560825608356084560855608656087560885608956090560915609256093560945609556096560975609856099561005610156102561035610456105561065610756108561095611056111561125611356114561155611656117561185611956120561215612256123561245612556126561275612856129561305613156132561335613456135561365613756138561395614056141561425614356144561455614656147561485614956150561515615256153561545615556156561575615856159561605616156162561635616456165561665616756168561695617056171561725617356174561755617656177561785617956180561815618256183561845618556186561875618856189561905619156192561935619456195561965619756198561995620056201562025620356204562055620656207562085620956210562115621256213562145621556216562175621856219562205622156222562235622456225562265622756228562295623056231562325623356234562355623656237562385623956240562415624256243562445624556246562475624856249562505625156252562535625456255562565625756258562595626056261562625626356264562655626656267562685626956270562715627256273562745627556276562775627856279562805628156282562835628456285562865628756288562895629056291562925629356294562955629656297562985629956300563015630256303563045630556306563075630856309563105631156312563135631456315563165631756318563195632056321563225632356324563255632656327563285632956330563315633256333563345633556336563375633856339563405634156342563435634456345563465634756348563495635056351563525635356354563555635656357563585635956360563615636256363563645636556366563675636856369563705637156372563735637456375563765637756378563795638056381563825638356384563855638656387563885638956390563915639256393563945639556396563975639856399564005640156402564035640456405564065640756408564095641056411564125641356414564155641656417564185641956420564215642256423564245642556426564275642856429564305643156432564335643456435564365643756438564395644056441564425644356444564455644656447564485644956450564515645256453564545645556456564575645856459564605646156462564635646456465564665646756468564695647056471564725647356474564755647656477564785647956480564815648256483564845648556486564875648856489564905649156492564935649456495564965649756498564995650056501565025650356504565055650656507565085650956510565115651256513565145651556516565175651856519565205652156522565235652456525565265652756528565295653056531565325653356534565355653656537565385653956540565415654256543565445654556546565475654856549565505655156552565535655456555565565655756558565595656056561565625656356564565655656656567565685656956570565715657256573565745657556576565775657856579565805658156582565835658456585565865658756588565895659056591565925659356594565955659656597565985659956600566015660256603566045660556606566075660856609566105661156612566135661456615566165661756618566195662056621566225662356624566255662656627566285662956630566315663256633566345663556636566375663856639566405664156642566435664456645566465664756648566495665056651566525665356654566555665656657566585665956660566615666256663566645666556666566675666856669566705667156672566735667456675566765667756678566795668056681566825668356684566855668656687566885668956690566915669256693566945669556696566975669856699567005670156702567035670456705567065670756708567095671056711567125671356714567155671656717567185671956720567215672256723567245672556726567275672856729567305673156732567335673456735567365673756738567395674056741567425674356744567455674656747567485674956750567515675256753567545675556756567575675856759567605676156762567635676456765567665676756768567695677056771567725677356774567755677656777567785677956780567815678256783567845678556786567875678856789567905679156792567935679456795567965679756798567995680056801568025680356804568055680656807568085680956810568115681256813568145681556816568175681856819568205682156822568235682456825568265682756828568295683056831568325683356834568355683656837568385683956840568415684256843568445684556846568475684856849568505685156852568535685456855568565685756858568595686056861568625686356864568655686656867568685686956870568715687256873568745687556876568775687856879568805688156882568835688456885568865688756888568895689056891568925689356894568955689656897568985689956900569015690256903569045690556906569075690856909569105691156912569135691456915569165691756918569195692056921569225692356924569255692656927569285692956930569315693256933569345693556936569375693856939569405694156942569435694456945569465694756948569495695056951569525695356954569555695656957569585695956960569615696256963569645696556966569675696856969569705697156972569735697456975569765697756978569795698056981569825698356984569855698656987569885698956990569915699256993569945699556996569975699856999570005700157002570035700457005570065700757008570095701057011570125701357014570155701657017570185701957020570215702257023570245702557026570275702857029570305703157032570335703457035570365703757038570395704057041570425704357044570455704657047570485704957050570515705257053570545705557056570575705857059570605706157062570635706457065570665706757068570695707057071570725707357074570755707657077570785707957080570815708257083570845708557086570875708857089570905709157092570935709457095570965709757098570995710057101571025710357104571055710657107571085710957110571115711257113571145711557116571175711857119571205712157122571235712457125571265712757128571295713057131571325713357134571355713657137571385713957140571415714257143571445714557146571475714857149571505715157152571535715457155571565715757158571595716057161571625716357164571655716657167571685716957170571715717257173571745717557176571775717857179571805718157182571835718457185571865718757188571895719057191571925719357194571955719657197571985719957200572015720257203572045720557206572075720857209572105721157212572135721457215572165721757218572195722057221572225722357224572255722657227572285722957230572315723257233572345723557236572375723857239572405724157242572435724457245572465724757248572495725057251572525725357254572555725657257572585725957260572615726257263572645726557266572675726857269572705727157272572735727457275572765727757278572795728057281572825728357284572855728657287572885728957290572915729257293572945729557296572975729857299573005730157302573035730457305573065730757308573095731057311573125731357314573155731657317573185731957320573215732257323573245732557326573275732857329573305733157332573335733457335573365733757338573395734057341573425734357344573455734657347573485734957350573515735257353573545735557356573575735857359573605736157362573635736457365573665736757368573695737057371573725737357374573755737657377573785737957380573815738257383573845738557386573875738857389573905739157392573935739457395573965739757398573995740057401574025740357404574055740657407574085740957410574115741257413574145741557416574175741857419574205742157422574235742457425574265742757428574295743057431574325743357434574355743657437574385743957440574415744257443574445744557446574475744857449574505745157452574535745457455574565745757458574595746057461574625746357464574655746657467574685746957470574715747257473574745747557476574775747857479574805748157482574835748457485574865748757488574895749057491574925749357494574955749657497574985749957500575015750257503575045750557506575075750857509575105751157512575135751457515575165751757518575195752057521575225752357524575255752657527575285752957530575315753257533575345753557536575375753857539575405754157542575435754457545575465754757548575495755057551575525755357554575555755657557575585755957560575615756257563575645756557566575675756857569575705757157572575735757457575575765757757578575795758057581575825758357584575855758657587575885758957590575915759257593575945759557596575975759857599576005760157602576035760457605576065760757608576095761057611576125761357614576155761657617576185761957620576215762257623576245762557626576275762857629576305763157632576335763457635576365763757638576395764057641576425764357644576455764657647576485764957650576515765257653576545765557656576575765857659576605766157662576635766457665576665766757668576695767057671576725767357674576755767657677576785767957680576815768257683576845768557686576875768857689576905769157692576935769457695576965769757698576995770057701577025770357704577055770657707577085770957710577115771257713577145771557716577175771857719577205772157722577235772457725577265772757728577295773057731577325773357734577355773657737577385773957740577415774257743577445774557746577475774857749577505775157752577535775457755577565775757758577595776057761577625776357764577655776657767577685776957770577715777257773577745777557776577775777857779577805778157782577835778457785577865778757788577895779057791577925779357794577955779657797577985779957800578015780257803578045780557806578075780857809578105781157812578135781457815578165781757818578195782057821578225782357824578255782657827578285782957830578315783257833578345783557836578375783857839578405784157842578435784457845578465784757848578495785057851578525785357854578555785657857578585785957860578615786257863578645786557866578675786857869578705787157872578735787457875578765787757878578795788057881578825788357884578855788657887578885788957890578915789257893578945789557896578975789857899579005790157902579035790457905579065790757908579095791057911579125791357914579155791657917579185791957920579215792257923579245792557926579275792857929579305793157932579335793457935579365793757938579395794057941579425794357944579455794657947579485794957950579515795257953579545795557956579575795857959579605796157962579635796457965579665796757968579695797057971579725797357974579755797657977579785797957980579815798257983579845798557986579875798857989579905799157992579935799457995579965799757998579995800058001580025800358004580055800658007580085800958010580115801258013580145801558016580175801858019580205802158022580235802458025580265802758028580295803058031580325803358034580355803658037580385803958040580415804258043580445804558046580475804858049580505805158052580535805458055580565805758058580595806058061580625806358064580655806658067580685806958070580715807258073580745807558076580775807858079580805808158082580835808458085580865808758088580895809058091580925809358094580955809658097580985809958100581015810258103581045810558106581075810858109581105811158112581135811458115581165811758118581195812058121581225812358124581255812658127581285812958130581315813258133581345813558136581375813858139581405814158142581435814458145581465814758148581495815058151581525815358154581555815658157581585815958160581615816258163581645816558166581675816858169581705817158172581735817458175581765817758178581795818058181581825818358184581855818658187581885818958190581915819258193581945819558196581975819858199582005820158202582035820458205582065820758208582095821058211582125821358214582155821658217582185821958220582215822258223582245822558226582275822858229582305823158232582335823458235582365823758238582395824058241582425824358244582455824658247582485824958250582515825258253582545825558256582575825858259582605826158262582635826458265582665826758268582695827058271582725827358274582755827658277582785827958280582815828258283582845828558286582875828858289582905829158292582935829458295582965829758298582995830058301583025830358304583055830658307583085830958310583115831258313583145831558316583175831858319583205832158322583235832458325583265832758328583295833058331583325833358334583355833658337583385833958340583415834258343583445834558346583475834858349583505835158352583535835458355583565835758358583595836058361583625836358364583655836658367583685836958370583715837258373583745837558376583775837858379583805838158382583835838458385583865838758388583895839058391583925839358394583955839658397583985839958400584015840258403584045840558406584075840858409584105841158412584135841458415584165841758418584195842058421584225842358424584255842658427584285842958430584315843258433584345843558436584375843858439584405844158442584435844458445584465844758448584495845058451584525845358454584555845658457584585845958460584615846258463584645846558466584675846858469584705847158472584735847458475584765847758478584795848058481584825848358484584855848658487584885848958490584915849258493584945849558496584975849858499585005850158502585035850458505585065850758508585095851058511585125851358514585155851658517585185851958520585215852258523585245852558526585275852858529585305853158532585335853458535585365853758538585395854058541585425854358544585455854658547585485854958550585515855258553585545855558556585575855858559585605856158562585635856458565585665856758568585695857058571585725857358574585755857658577585785857958580585815858258583585845858558586585875858858589585905859158592585935859458595585965859758598585995860058601586025860358604586055860658607586085860958610586115861258613586145861558616586175861858619586205862158622586235862458625586265862758628586295863058631586325863358634586355863658637586385863958640586415864258643586445864558646586475864858649586505865158652586535865458655586565865758658586595866058661586625866358664586655866658667586685866958670586715867258673586745867558676586775867858679586805868158682586835868458685586865868758688586895869058691586925869358694586955869658697586985869958700587015870258703587045870558706587075870858709587105871158712587135871458715587165871758718587195872058721587225872358724587255872658727587285872958730587315873258733587345873558736587375873858739587405874158742587435874458745587465874758748587495875058751587525875358754587555875658757587585875958760587615876258763587645876558766587675876858769587705877158772587735877458775587765877758778587795878058781587825878358784587855878658787587885878958790587915879258793587945879558796587975879858799588005880158802588035880458805588065880758808588095881058811588125881358814588155881658817588185881958820588215882258823588245882558826588275882858829588305883158832588335883458835588365883758838588395884058841588425884358844588455884658847588485884958850588515885258853588545885558856588575885858859588605886158862588635886458865588665886758868588695887058871588725887358874588755887658877588785887958880588815888258883588845888558886588875888858889588905889158892588935889458895588965889758898588995890058901589025890358904589055890658907589085890958910589115891258913589145891558916589175891858919589205892158922589235892458925589265892758928589295893058931589325893358934589355893658937589385893958940589415894258943589445894558946589475894858949589505895158952589535895458955589565895758958589595896058961589625896358964589655896658967589685896958970589715897258973589745897558976589775897858979589805898158982589835898458985589865898758988589895899058991589925899358994589955899658997589985899959000590015900259003590045900559006590075900859009590105901159012590135901459015590165901759018590195902059021590225902359024590255902659027590285902959030590315903259033590345903559036590375903859039590405904159042590435904459045590465904759048590495905059051590525905359054590555905659057590585905959060590615906259063590645906559066590675906859069590705907159072590735907459075590765907759078590795908059081590825908359084590855908659087590885908959090590915909259093590945909559096590975909859099591005910159102591035910459105591065910759108591095911059111591125911359114591155911659117591185911959120591215912259123591245912559126591275912859129591305913159132591335913459135591365913759138591395914059141591425914359144591455914659147591485914959150591515915259153591545915559156591575915859159591605916159162591635916459165591665916759168591695917059171591725917359174591755917659177591785917959180591815918259183591845918559186591875918859189591905919159192591935919459195591965919759198591995920059201592025920359204592055920659207592085920959210592115921259213592145921559216592175921859219592205922159222592235922459225592265922759228592295923059231592325923359234592355923659237592385923959240592415924259243592445924559246592475924859249592505925159252592535925459255592565925759258592595926059261592625926359264592655926659267592685926959270592715927259273592745927559276592775927859279592805928159282592835928459285592865928759288592895929059291592925929359294592955929659297592985929959300593015930259303593045930559306593075930859309593105931159312593135931459315593165931759318593195932059321593225932359324593255932659327593285932959330593315933259333593345933559336593375933859339593405934159342593435934459345593465934759348593495935059351593525935359354593555935659357593585935959360593615936259363593645936559366593675936859369593705937159372593735937459375593765937759378593795938059381593825938359384593855938659387593885938959390593915939259393593945939559396593975939859399594005940159402594035940459405594065940759408594095941059411594125941359414594155941659417594185941959420594215942259423594245942559426594275942859429594305943159432594335943459435594365943759438594395944059441594425944359444594455944659447594485944959450594515945259453594545945559456594575945859459594605946159462594635946459465594665946759468594695947059471594725947359474594755947659477594785947959480594815948259483594845948559486594875948859489594905949159492594935949459495594965949759498594995950059501595025950359504595055950659507595085950959510595115951259513595145951559516595175951859519595205952159522595235952459525595265952759528595295953059531595325953359534595355953659537595385953959540595415954259543595445954559546595475954859549595505955159552595535955459555595565955759558595595956059561595625956359564595655956659567595685956959570595715957259573595745957559576595775957859579595805958159582595835958459585595865958759588595895959059591595925959359594595955959659597595985959959600596015960259603596045960559606596075960859609596105961159612596135961459615596165961759618596195962059621596225962359624596255962659627596285962959630596315963259633596345963559636596375963859639596405964159642596435964459645596465964759648596495965059651596525965359654596555965659657596585965959660596615966259663596645966559666596675966859669596705967159672596735967459675596765967759678596795968059681596825968359684596855968659687596885968959690596915969259693596945969559696596975969859699597005970159702597035970459705597065970759708597095971059711597125971359714597155971659717597185971959720597215972259723597245972559726597275972859729597305973159732597335973459735597365973759738597395974059741597425974359744597455974659747597485974959750597515975259753597545975559756597575975859759597605976159762597635976459765597665976759768597695977059771597725977359774597755977659777597785977959780597815978259783597845978559786597875978859789597905979159792597935979459795597965979759798597995980059801598025980359804598055980659807598085980959810598115981259813598145981559816598175981859819598205982159822598235982459825598265982759828598295983059831598325983359834598355983659837598385983959840598415984259843598445984559846598475984859849598505985159852598535985459855598565985759858598595986059861598625986359864598655986659867598685986959870598715987259873598745987559876598775987859879598805988159882598835988459885598865988759888598895989059891598925989359894598955989659897598985989959900599015990259903599045990559906599075990859909599105991159912599135991459915599165991759918599195992059921599225992359924599255992659927599285992959930599315993259933599345993559936599375993859939599405994159942599435994459945599465994759948599495995059951599525995359954599555995659957599585995959960599615996259963599645996559966599675996859969599705997159972599735997459975599765997759978599795998059981599825998359984599855998659987599885998959990599915999259993599945999559996599975999859999600006000160002600036000460005600066000760008600096001060011600126001360014600156001660017600186001960020600216002260023600246002560026600276002860029600306003160032600336003460035600366003760038600396004060041600426004360044600456004660047600486004960050600516005260053600546005560056600576005860059600606006160062600636006460065600666006760068600696007060071600726007360074600756007660077600786007960080600816008260083600846008560086600876008860089600906009160092600936009460095600966009760098600996010060101601026010360104601056010660107601086010960110601116011260113601146011560116601176011860119601206012160122601236012460125601266012760128601296013060131601326013360134601356013660137601386013960140601416014260143601446014560146601476014860149601506015160152601536015460155601566015760158601596016060161601626016360164601656016660167601686016960170601716017260173601746017560176601776017860179601806018160182601836018460185601866018760188601896019060191601926019360194601956019660197601986019960200602016020260203602046020560206602076020860209602106021160212602136021460215602166021760218602196022060221602226022360224602256022660227602286022960230602316023260233602346023560236602376023860239602406024160242602436024460245602466024760248602496025060251602526025360254602556025660257602586025960260602616026260263602646026560266602676026860269602706027160272602736027460275602766027760278602796028060281602826028360284602856028660287602886028960290602916029260293602946029560296602976029860299603006030160302603036030460305603066030760308603096031060311603126031360314603156031660317603186031960320603216032260323603246032560326603276032860329603306033160332603336033460335603366033760338603396034060341603426034360344603456034660347603486034960350603516035260353603546035560356603576035860359603606036160362603636036460365603666036760368603696037060371603726037360374603756037660377603786037960380603816038260383603846038560386603876038860389603906039160392603936039460395603966039760398603996040060401604026040360404604056040660407604086040960410604116041260413604146041560416604176041860419604206042160422604236042460425604266042760428604296043060431604326043360434604356043660437604386043960440604416044260443604446044560446604476044860449604506045160452604536045460455604566045760458604596046060461604626046360464604656046660467604686046960470604716047260473604746047560476604776047860479604806048160482604836048460485604866048760488604896049060491604926049360494604956049660497604986049960500605016050260503605046050560506605076050860509605106051160512605136051460515605166051760518605196052060521605226052360524605256052660527605286052960530605316053260533605346053560536605376053860539605406054160542605436054460545605466054760548605496055060551605526055360554605556055660557605586055960560605616056260563605646056560566605676056860569605706057160572605736057460575605766057760578605796058060581605826058360584605856058660587605886058960590605916059260593605946059560596605976059860599606006060160602606036060460605606066060760608606096061060611606126061360614606156061660617606186061960620606216062260623606246062560626606276062860629606306063160632606336063460635606366063760638606396064060641606426064360644606456064660647606486064960650606516065260653606546065560656606576065860659606606066160662606636066460665606666066760668606696067060671606726067360674606756067660677606786067960680606816068260683606846068560686606876068860689606906069160692606936069460695606966069760698606996070060701607026070360704607056070660707607086070960710607116071260713607146071560716607176071860719607206072160722607236072460725607266072760728607296073060731607326073360734607356073660737607386073960740607416074260743607446074560746607476074860749607506075160752607536075460755607566075760758607596076060761607626076360764607656076660767607686076960770607716077260773607746077560776607776077860779607806078160782607836078460785607866078760788607896079060791607926079360794607956079660797607986079960800608016080260803608046080560806608076080860809608106081160812608136081460815608166081760818608196082060821608226082360824608256082660827608286082960830608316083260833608346083560836608376083860839608406084160842608436084460845608466084760848608496085060851608526085360854608556085660857608586085960860608616086260863608646086560866608676086860869608706087160872608736087460875608766087760878608796088060881608826088360884608856088660887608886088960890608916089260893608946089560896608976089860899609006090160902609036090460905609066090760908609096091060911609126091360914609156091660917609186091960920609216092260923609246092560926609276092860929609306093160932609336093460935609366093760938609396094060941609426094360944609456094660947609486094960950609516095260953609546095560956609576095860959609606096160962609636096460965609666096760968609696097060971609726097360974609756097660977609786097960980609816098260983609846098560986609876098860989609906099160992609936099460995609966099760998609996100061001610026100361004610056100661007610086100961010610116101261013610146101561016610176101861019610206102161022610236102461025610266102761028610296103061031610326103361034610356103661037610386103961040610416104261043610446104561046610476104861049610506105161052610536105461055610566105761058610596106061061610626106361064610656106661067610686106961070610716107261073610746107561076610776107861079610806108161082610836108461085610866108761088610896109061091610926109361094610956109661097610986109961100611016110261103611046110561106611076110861109611106111161112611136111461115611166111761118611196112061121611226112361124611256112661127611286112961130611316113261133611346113561136611376113861139611406114161142611436114461145611466114761148611496115061151611526115361154611556115661157611586115961160611616116261163611646116561166611676116861169611706117161172611736117461175611766117761178611796118061181611826118361184611856118661187611886118961190611916119261193611946119561196611976119861199612006120161202612036120461205612066120761208612096121061211612126121361214612156121661217612186121961220612216122261223612246122561226612276122861229612306123161232612336123461235612366123761238612396124061241612426124361244612456124661247612486124961250612516125261253612546125561256612576125861259612606126161262612636126461265612666126761268612696127061271612726127361274612756127661277612786127961280612816128261283612846128561286612876128861289612906129161292612936129461295612966129761298612996130061301613026130361304613056130661307613086130961310613116131261313613146131561316613176131861319613206132161322613236132461325613266132761328613296133061331613326133361334613356133661337613386133961340613416134261343613446134561346613476134861349613506135161352613536135461355613566135761358613596136061361613626136361364613656136661367613686136961370613716137261373613746137561376613776137861379613806138161382613836138461385613866138761388613896139061391613926139361394613956139661397613986139961400614016140261403614046140561406614076140861409614106141161412614136141461415614166141761418614196142061421614226142361424614256142661427614286142961430614316143261433614346143561436614376143861439614406144161442614436144461445614466144761448614496145061451614526145361454614556145661457614586145961460614616146261463614646146561466614676146861469614706147161472614736147461475614766147761478614796148061481614826148361484614856148661487614886148961490614916149261493614946149561496614976149861499615006150161502615036150461505615066150761508615096151061511615126151361514615156151661517615186151961520615216152261523615246152561526615276152861529615306153161532615336153461535615366153761538615396154061541615426154361544615456154661547615486154961550615516155261553615546155561556615576155861559615606156161562615636156461565615666156761568615696157061571615726157361574615756157661577615786157961580615816158261583615846158561586615876158861589615906159161592615936159461595615966159761598615996160061601616026160361604616056160661607616086160961610616116161261613616146161561616616176161861619616206162161622616236162461625616266162761628616296163061631616326163361634616356163661637616386163961640616416164261643616446164561646616476164861649616506165161652616536165461655616566165761658616596166061661616626166361664616656166661667616686166961670616716167261673616746167561676616776167861679616806168161682616836168461685616866168761688616896169061691616926169361694616956169661697616986169961700617016170261703617046170561706617076170861709617106171161712617136171461715617166171761718617196172061721617226172361724617256172661727617286172961730617316173261733617346173561736617376173861739617406174161742617436174461745617466174761748617496175061751617526175361754617556175661757617586175961760617616176261763617646176561766617676176861769617706177161772617736177461775617766177761778617796178061781617826178361784617856178661787617886178961790617916179261793617946179561796617976179861799618006180161802618036180461805618066180761808618096181061811618126181361814618156181661817618186181961820618216182261823618246182561826618276182861829618306183161832618336183461835618366183761838618396184061841618426184361844618456184661847618486184961850618516185261853618546185561856618576185861859618606186161862618636186461865618666186761868618696187061871618726187361874618756187661877618786187961880618816188261883618846188561886618876188861889618906189161892618936189461895618966189761898618996190061901619026190361904619056190661907619086190961910619116191261913619146191561916619176191861919619206192161922619236192461925619266192761928619296193061931619326193361934619356193661937619386193961940619416194261943619446194561946619476194861949619506195161952619536195461955619566195761958619596196061961619626196361964619656196661967619686196961970619716197261973619746197561976619776197861979619806198161982619836198461985619866198761988619896199061991619926199361994619956199661997619986199962000620016200262003620046200562006620076200862009620106201162012620136201462015620166201762018620196202062021620226202362024620256202662027620286202962030620316203262033620346203562036620376203862039620406204162042620436204462045620466204762048620496205062051620526205362054620556205662057620586205962060620616206262063620646206562066620676206862069620706207162072620736207462075620766207762078620796208062081620826208362084620856208662087620886208962090620916209262093620946209562096620976209862099621006210162102621036210462105621066210762108621096211062111621126211362114621156211662117621186211962120621216212262123621246212562126621276212862129621306213162132621336213462135621366213762138621396214062141621426214362144621456214662147621486214962150621516215262153621546215562156621576215862159621606216162162621636216462165621666216762168621696217062171621726217362174621756217662177621786217962180621816218262183621846218562186621876218862189621906219162192621936219462195621966219762198621996220062201622026220362204622056220662207622086220962210622116221262213622146221562216622176221862219622206222162222622236222462225622266222762228622296223062231622326223362234622356223662237622386223962240622416224262243622446224562246622476224862249622506225162252622536225462255622566225762258622596226062261622626226362264622656226662267622686226962270622716227262273622746227562276622776227862279622806228162282622836228462285622866228762288622896229062291622926229362294622956229662297622986229962300623016230262303623046230562306623076230862309623106231162312623136231462315623166231762318623196232062321623226232362324623256232662327623286232962330623316233262333623346233562336623376233862339623406234162342623436234462345623466234762348623496235062351623526235362354623556235662357623586235962360623616236262363623646236562366623676236862369623706237162372623736237462375623766237762378623796238062381623826238362384623856238662387623886238962390623916239262393623946239562396623976239862399624006240162402624036240462405624066240762408624096241062411624126241362414624156241662417624186241962420624216242262423624246242562426624276242862429624306243162432624336243462435624366243762438624396244062441624426244362444624456244662447624486244962450624516245262453624546245562456624576245862459624606246162462624636246462465624666246762468624696247062471624726247362474624756247662477624786247962480624816248262483624846248562486624876248862489624906249162492624936249462495624966249762498624996250062501625026250362504625056250662507625086250962510625116251262513625146251562516625176251862519625206252162522625236252462525625266252762528625296253062531625326253362534625356253662537625386253962540625416254262543625446254562546625476254862549625506255162552625536255462555625566255762558625596256062561625626256362564625656256662567625686256962570625716257262573625746257562576625776257862579625806258162582625836258462585625866258762588625896259062591625926259362594625956259662597625986259962600626016260262603626046260562606626076260862609626106261162612626136261462615626166261762618626196262062621626226262362624626256262662627626286262962630626316263262633626346263562636626376263862639626406264162642626436264462645626466264762648626496265062651626526265362654626556265662657626586265962660626616266262663626646266562666626676266862669626706267162672626736267462675626766267762678626796268062681626826268362684626856268662687626886268962690626916269262693626946269562696626976269862699627006270162702627036270462705627066270762708627096271062711627126271362714627156271662717627186271962720627216272262723627246272562726627276272862729627306273162732627336273462735627366273762738627396274062741627426274362744627456274662747627486274962750627516275262753627546275562756627576275862759627606276162762627636276462765627666276762768627696277062771627726277362774627756277662777627786277962780627816278262783627846278562786627876278862789627906279162792627936279462795627966279762798627996280062801628026280362804628056280662807628086280962810628116281262813628146281562816628176281862819628206282162822628236282462825628266282762828628296283062831628326283362834628356283662837628386283962840628416284262843628446284562846628476284862849628506285162852628536285462855628566285762858628596286062861628626286362864628656286662867628686286962870628716287262873628746287562876628776287862879628806288162882628836288462885628866288762888628896289062891628926289362894628956289662897628986289962900629016290262903629046290562906629076290862909629106291162912629136291462915629166291762918629196292062921629226292362924629256292662927629286292962930629316293262933629346293562936629376293862939629406294162942629436294462945629466294762948629496295062951629526295362954629556295662957629586295962960629616296262963629646296562966629676296862969629706297162972629736297462975629766297762978629796298062981629826298362984629856298662987629886298962990629916299262993629946299562996629976299862999630006300163002630036300463005630066300763008630096301063011630126301363014630156301663017630186301963020630216302263023630246302563026630276302863029630306303163032630336303463035630366303763038630396304063041630426304363044630456304663047630486304963050630516305263053630546305563056630576305863059630606306163062630636306463065630666306763068630696307063071630726307363074630756307663077630786307963080630816308263083630846308563086630876308863089630906309163092630936309463095630966309763098630996310063101631026310363104631056310663107631086310963110631116311263113631146311563116631176311863119631206312163122631236312463125631266312763128631296313063131631326313363134631356313663137631386313963140631416314263143631446314563146631476314863149631506315163152631536315463155631566315763158631596316063161631626316363164631656316663167631686316963170631716317263173631746317563176631776317863179631806318163182631836318463185631866318763188631896319063191631926319363194631956319663197631986319963200632016320263203632046320563206632076320863209632106321163212632136321463215632166321763218632196322063221632226322363224632256322663227632286322963230632316323263233632346323563236632376323863239632406324163242632436324463245632466324763248632496325063251632526325363254632556325663257632586325963260632616326263263632646326563266632676326863269632706327163272632736327463275632766327763278632796328063281632826328363284632856328663287632886328963290632916329263293632946329563296632976329863299633006330163302633036330463305633066330763308633096331063311633126331363314633156331663317633186331963320633216332263323633246332563326633276332863329633306333163332633336333463335633366333763338633396334063341633426334363344633456334663347633486334963350633516335263353633546335563356633576335863359633606336163362633636336463365633666336763368633696337063371633726337363374633756337663377633786337963380633816338263383633846338563386633876338863389633906339163392633936339463395633966339763398633996340063401634026340363404634056340663407634086340963410634116341263413634146341563416634176341863419634206342163422634236342463425634266342763428634296343063431634326343363434634356343663437634386343963440634416344263443634446344563446634476344863449634506345163452634536345463455634566345763458634596346063461634626346363464634656346663467634686346963470634716347263473634746347563476634776347863479634806348163482634836348463485634866348763488634896349063491634926349363494634956349663497634986349963500635016350263503635046350563506635076350863509635106351163512635136351463515635166351763518635196352063521635226352363524635256352663527635286352963530635316353263533635346353563536635376353863539635406354163542635436354463545635466354763548635496355063551635526355363554635556355663557635586355963560635616356263563635646356563566635676356863569635706357163572635736357463575635766357763578635796358063581635826358363584635856358663587635886358963590635916359263593635946359563596635976359863599636006360163602636036360463605636066360763608636096361063611636126361363614636156361663617636186361963620636216362263623636246362563626636276362863629636306363163632636336363463635636366363763638636396364063641636426364363644636456364663647636486364963650636516365263653636546365563656636576365863659636606366163662636636366463665636666366763668636696367063671636726367363674636756367663677636786367963680636816368263683636846368563686636876368863689636906369163692636936369463695636966369763698636996370063701637026370363704637056370663707637086370963710637116371263713637146371563716637176371863719637206372163722637236372463725637266372763728637296373063731637326373363734637356373663737637386373963740637416374263743637446374563746637476374863749637506375163752637536375463755637566375763758637596376063761637626376363764637656376663767637686376963770637716377263773637746377563776637776377863779637806378163782637836378463785637866378763788637896379063791637926379363794637956379663797637986379963800638016380263803638046380563806638076380863809638106381163812638136381463815638166381763818638196382063821638226382363824638256382663827638286382963830638316383263833638346383563836638376383863839638406384163842638436384463845638466384763848638496385063851638526385363854638556385663857638586385963860638616386263863638646386563866638676386863869638706387163872638736387463875638766387763878638796388063881638826388363884638856388663887638886388963890638916389263893638946389563896638976389863899639006390163902639036390463905639066390763908639096391063911639126391363914639156391663917639186391963920639216392263923639246392563926639276392863929639306393163932639336393463935639366393763938639396394063941639426394363944639456394663947639486394963950639516395263953639546395563956639576395863959639606396163962639636396463965639666396763968639696397063971639726397363974639756397663977639786397963980639816398263983639846398563986639876398863989639906399163992639936399463995639966399763998639996400064001640026400364004640056400664007640086400964010640116401264013640146401564016640176401864019640206402164022640236402464025640266402764028640296403064031640326403364034640356403664037640386403964040640416404264043640446404564046640476404864049640506405164052640536405464055640566405764058640596406064061640626406364064640656406664067640686406964070640716407264073640746407564076640776407864079640806408164082640836408464085640866408764088640896409064091640926409364094640956409664097640986409964100641016410264103641046410564106641076410864109641106411164112641136411464115641166411764118641196412064121641226412364124641256412664127641286412964130641316413264133641346413564136641376413864139641406414164142641436414464145641466414764148641496415064151641526415364154641556415664157641586415964160641616416264163641646416564166641676416864169641706417164172641736417464175641766417764178641796418064181641826418364184641856418664187641886418964190641916419264193641946419564196641976419864199642006420164202642036420464205642066420764208642096421064211642126421364214642156421664217642186421964220642216422264223642246422564226642276422864229642306423164232642336423464235642366423764238642396424064241642426424364244642456424664247642486424964250642516425264253642546425564256642576425864259642606426164262642636426464265642666426764268642696427064271642726427364274642756427664277642786427964280642816428264283642846428564286642876428864289642906429164292642936429464295642966429764298642996430064301643026430364304643056430664307643086430964310643116431264313643146431564316643176431864319643206432164322643236432464325643266432764328643296433064331643326433364334643356433664337643386433964340643416434264343643446434564346643476434864349643506435164352643536435464355643566435764358643596436064361643626436364364643656436664367643686436964370643716437264373643746437564376643776437864379643806438164382643836438464385643866438764388643896439064391643926439364394643956439664397643986439964400644016440264403644046440564406644076440864409644106441164412644136441464415644166441764418644196442064421644226442364424644256442664427644286442964430644316443264433644346443564436644376443864439644406444164442644436444464445644466444764448644496445064451644526445364454644556445664457644586445964460644616446264463644646446564466644676446864469644706447164472644736447464475644766447764478644796448064481644826448364484644856448664487644886448964490644916449264493644946449564496644976449864499645006450164502645036450464505645066450764508645096451064511645126451364514645156451664517645186451964520645216452264523645246452564526645276452864529645306453164532645336453464535645366453764538645396454064541645426454364544645456454664547645486454964550645516455264553645546455564556645576455864559645606456164562645636456464565645666456764568645696457064571645726457364574645756457664577645786457964580645816458264583645846458564586645876458864589645906459164592645936459464595645966459764598645996460064601646026460364604646056460664607646086460964610646116461264613646146461564616646176461864619646206462164622646236462464625646266462764628646296463064631646326463364634646356463664637646386463964640646416464264643646446464564646646476464864649646506465164652646536465464655646566465764658646596466064661646626466364664646656466664667646686466964670646716467264673646746467564676646776467864679646806468164682646836468464685646866468764688646896469064691646926469364694646956469664697646986469964700647016470264703647046470564706647076470864709647106471164712647136471464715647166471764718647196472064721647226472364724647256472664727647286472964730647316473264733647346473564736647376473864739647406474164742647436474464745647466474764748647496475064751647526475364754647556475664757647586475964760647616476264763647646476564766647676476864769647706477164772647736477464775647766477764778647796478064781647826478364784647856478664787647886478964790647916479264793647946479564796647976479864799648006480164802648036480464805648066480764808648096481064811648126481364814648156481664817648186481964820648216482264823648246482564826648276482864829648306483164832648336483464835648366483764838648396484064841648426484364844648456484664847648486484964850648516485264853648546485564856648576485864859648606486164862648636486464865648666486764868648696487064871648726487364874648756487664877648786487964880648816488264883648846488564886648876488864889648906489164892648936489464895648966489764898648996490064901649026490364904649056490664907649086490964910649116491264913649146491564916649176491864919649206492164922649236492464925649266492764928649296493064931649326493364934649356493664937649386493964940649416494264943649446494564946649476494864949649506495164952649536495464955649566495764958649596496064961649626496364964649656496664967649686496964970649716497264973649746497564976649776497864979649806498164982649836498464985649866498764988649896499064991649926499364994649956499664997649986499965000650016500265003650046500565006650076500865009650106501165012650136501465015650166501765018650196502065021650226502365024650256502665027650286502965030650316503265033650346503565036650376503865039650406504165042650436504465045650466504765048650496505065051650526505365054650556505665057650586505965060650616506265063650646506565066650676506865069650706507165072650736507465075650766507765078650796508065081650826508365084650856508665087650886508965090650916509265093650946509565096650976509865099651006510165102651036510465105651066510765108651096511065111651126511365114651156511665117651186511965120651216512265123651246512565126651276512865129651306513165132651336513465135651366513765138651396514065141651426514365144651456514665147651486514965150651516515265153651546515565156651576515865159651606516165162651636516465165651666516765168651696517065171651726517365174651756517665177651786517965180651816518265183651846518565186651876518865189651906519165192651936519465195651966519765198651996520065201652026520365204652056520665207652086520965210652116521265213652146521565216652176521865219652206522165222652236522465225652266522765228652296523065231652326523365234652356523665237652386523965240652416524265243652446524565246652476524865249652506525165252652536525465255652566525765258652596526065261652626526365264652656526665267652686526965270652716527265273652746527565276652776527865279652806528165282652836528465285652866528765288652896529065291652926529365294652956529665297652986529965300653016530265303653046530565306653076530865309653106531165312653136531465315653166531765318653196532065321653226532365324653256532665327653286532965330653316533265333653346533565336653376533865339653406534165342653436534465345653466534765348653496535065351653526535365354653556535665357653586535965360653616536265363653646536565366653676536865369653706537165372653736537465375653766537765378653796538065381653826538365384653856538665387653886538965390653916539265393653946539565396653976539865399654006540165402654036540465405654066540765408654096541065411654126541365414654156541665417654186541965420654216542265423654246542565426654276542865429654306543165432654336543465435654366543765438654396544065441654426544365444654456544665447654486544965450654516545265453654546545565456654576545865459654606546165462654636546465465654666546765468654696547065471654726547365474654756547665477654786547965480654816548265483654846548565486654876548865489654906549165492654936549465495654966549765498654996550065501655026550365504655056550665507655086550965510655116551265513655146551565516655176551865519655206552165522655236552465525655266552765528655296553065531655326553365534655356553665537655386553965540655416554265543655446554565546655476554865549655506555165552655536555465555655566555765558655596556065561655626556365564655656556665567655686556965570655716557265573655746557565576655776557865579655806558165582655836558465585655866558765588655896559065591655926559365594655956559665597655986559965600656016560265603656046560565606656076560865609656106561165612656136561465615656166561765618656196562065621656226562365624656256562665627656286562965630656316563265633656346563565636656376563865639656406564165642656436564465645656466564765648656496565065651656526565365654656556565665657656586565965660656616566265663656646566565666656676566865669656706567165672656736567465675656766567765678656796568065681656826568365684656856568665687656886568965690656916569265693656946569565696656976569865699657006570165702657036570465705657066570765708657096571065711657126571365714657156571665717657186571965720657216572265723657246572565726657276572865729657306573165732657336573465735657366573765738657396574065741657426574365744657456574665747657486574965750657516575265753657546575565756657576575865759657606576165762657636576465765657666576765768657696577065771657726577365774657756577665777657786577965780657816578265783657846578565786657876578865789657906579165792657936579465795657966579765798657996580065801658026580365804658056580665807658086580965810658116581265813658146581565816658176581865819658206582165822658236582465825658266582765828658296583065831658326583365834658356583665837658386583965840658416584265843658446584565846658476584865849658506585165852658536585465855658566585765858658596586065861658626586365864658656586665867658686586965870658716587265873658746587565876658776587865879658806588165882658836588465885658866588765888658896589065891658926589365894658956589665897658986589965900659016590265903659046590565906659076590865909659106591165912659136591465915659166591765918659196592065921659226592365924659256592665927659286592965930659316593265933659346593565936659376593865939659406594165942659436594465945659466594765948659496595065951659526595365954659556595665957659586595965960659616596265963659646596565966659676596865969659706597165972659736597465975659766597765978659796598065981659826598365984659856598665987659886598965990659916599265993659946599565996659976599865999660006600166002660036600466005660066600766008660096601066011660126601366014660156601666017660186601966020660216602266023660246602566026660276602866029660306603166032660336603466035660366603766038660396604066041660426604366044660456604666047660486604966050660516605266053660546605566056660576605866059660606606166062660636606466065660666606766068660696607066071660726607366074660756607666077660786607966080660816608266083660846608566086660876608866089660906609166092660936609466095660966609766098660996610066101661026610366104661056610666107661086610966110661116611266113661146611566116 |
- ;(function (e) {
- var t = {}
- function r(n) {
- if (t[n]) return t[n].exports
- var i = (t[n] = {
- i: n,
- l: !1,
- exports: {}
- })
- return e[n].call(i.exports, i, i.exports, r), (i.l = !0), i.exports
- }
- ;(r.m = e),
- (r.c = t),
- (r.d = function (e, t, n) {
- r.o(e, t) ||
- Object.defineProperty(e, t, {
- enumerable: !0,
- get: n
- })
- }),
- (r.r = function (e) {
- "undefined" !== typeof Symbol &&
- Symbol.toStringTag &&
- Object.defineProperty(e, Symbol.toStringTag, {
- value: "Module"
- }),
- Object.defineProperty(e, "__esModule", {
- value: !0
- })
- }),
- (r.t = function (e, t) {
- if ((1 & t && (e = r(e)), 8 & t)) return e
- if (4 & t && "object" === typeof e && e && e.__esModule) return e
- var n = Object.create(null)
- if (
- (r.r(n),
- Object.defineProperty(n, "default", {
- enumerable: !0,
- value: e
- }),
- 2 & t && "string" != typeof e)
- )
- for (var i in e)
- r.d(
- n,
- i,
- function (t) {
- return e[t]
- }.bind(null, i)
- )
- return n
- }),
- (r.n = function (e) {
- var t =
- e && e.__esModule
- ? function () {
- return e["default"]
- }
- : function () {
- return e
- }
- return r.d(t, "a", t), t
- }),
- (r.o = function (e, t) {
- return Object.prototype.hasOwnProperty.call(e, t)
- }),
- (r.p = "/"),
- r((r.s = "9a7e"))
- })({
- 0: function (e, t) {},
- "00ee": function (e, t, r) {
- var n = r("b622"),
- i = n("toStringTag"),
- o = {}
- ;(o[i] = "z"), (e.exports = "[object z]" === String(o))
- },
- "0366": function (e, t, r) {
- var n = r("1c0b")
- e.exports = function (e, t, r) {
- if ((n(e), void 0 === t)) return e
- switch (r) {
- case 0:
- return function () {
- return e.call(t)
- }
- case 1:
- return function (r) {
- return e.call(t, r)
- }
- case 2:
- return function (r, n) {
- return e.call(t, r, n)
- }
- case 3:
- return function (r, n, i) {
- return e.call(t, r, n, i)
- }
- }
- return function () {
- return e.apply(t, arguments)
- }
- }
- },
- "057f": function (e, t, r) {
- var n = r("fc6a"),
- i = r("241c").f,
- o = {}.toString,
- a = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [],
- s = function (e) {
- try {
- return i(e)
- } catch (t) {
- return a.slice()
- }
- }
- e.exports.f = function (e) {
- return a && "[object Window]" == o.call(e) ? s(e) : i(n(e))
- }
- },
- "06cf": function (e, t, r) {
- var n = r("83ab"),
- i = r("d1e7"),
- o = r("5c6c"),
- a = r("fc6a"),
- s = r("a04b"),
- l = r("5135"),
- c = r("0cfb"),
- u = Object.getOwnPropertyDescriptor
- t.f = n
- ? u
- : function (e, t) {
- if (((e = a(e)), (t = s(t)), c))
- try {
- return u(e, t)
- } catch (r) {}
- if (l(e, t)) return o(!i.f.call(e, t), e[t])
- }
- },
- "078a": function (e, t, r) {
- var n = r("96c1"),
- i = r("844f")
- function o(e) {
- var t = n.copyOptions(e)
- return n.ensureSpacesExists(t), t
- }
- e.exports = function (e, t) {
- var r, n, a, s
- return (
- (r = o(t)),
- (n = i(e, r)),
- (s = "compact" in r && r.compact ? "_parent" : "parent"),
- (a =
- "addParent" in r && r.addParent
- ? JSON.stringify(
- n,
- function (e, t) {
- return e === s ? "_" : t
- },
- r.spaces
- )
- : JSON.stringify(n, null, r.spaces)),
- a.replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029")
- )
- }
- },
- "0960": function (e, t, r) {
- e.exports = r("b19a")
- },
- "0b42": function (e, t, r) {
- var n = r("861d"),
- i = r("e8b5"),
- o = r("b622"),
- a = o("species")
- e.exports = function (e) {
- var t
- return (
- i(e) &&
- ((t = e.constructor),
- "function" != typeof t || (t !== Array && !i(t.prototype)) ? n(t) && ((t = t[a]), null === t && (t = void 0)) : (t = void 0)),
- void 0 === t ? Array : t
- )
- }
- },
- "0cb2": function (e, t, r) {
- var n = r("7b0b"),
- i = Math.floor,
- o = "".replace,
- a = /\$([$&'`]|\d{1,2}|<[^>]*>)/g,
- s = /\$([$&'`]|\d{1,2})/g
- e.exports = function (e, t, r, l, c, u) {
- var f = r + e.length,
- p = l.length,
- d = s
- return (
- void 0 !== c && ((c = n(c)), (d = a)),
- o.call(u, d, function (n, o) {
- var a
- switch (o.charAt(0)) {
- case "$":
- return "$"
- case "&":
- return e
- case "`":
- return t.slice(0, r)
- case "'":
- return t.slice(f)
- case "<":
- a = c[o.slice(1, -1)]
- break
- default:
- var s = +o
- if (0 === s) return n
- if (s > p) {
- var u = i(s / 10)
- return 0 === u ? n : u <= p ? (void 0 === l[u - 1] ? o.charAt(1) : l[u - 1] + o.charAt(1)) : n
- }
- a = l[s - 1]
- }
- return void 0 === a ? "" : a
- })
- )
- }
- },
- "0cfb": function (e, t, r) {
- var n = r("83ab"),
- i = r("d039"),
- o = r("cc12")
- e.exports =
- !n &&
- !i(function () {
- return (
- 7 !=
- Object.defineProperty(o("div"), "a", {
- get: function () {
- return 7
- }
- }).a
- )
- })
- },
- 1: function (e, t) {},
- "107c": function (e, t, r) {
- var n = r("d039"),
- i = r("da84"),
- o = i.RegExp
- e.exports = n(function () {
- var e = o("(?<a>b)", "g")
- return "b" !== e.exec("b").groups.a || "bc" !== "b".replace(e, "$<a>c")
- })
- },
- 1276: function (e, t, r) {
- "use strict"
- var n = r("d784"),
- i = r("44e7"),
- o = r("825a"),
- a = r("1d80"),
- s = r("4840"),
- l = r("8aa5"),
- c = r("50c4"),
- u = r("577e"),
- f = r("14c3"),
- p = r("9263"),
- d = r("9f7f"),
- h = r("d039"),
- m = d.UNSUPPORTED_Y,
- g = [].push,
- y = Math.min,
- v = 4294967295,
- b = !h(function () {
- var e = /(?:)/,
- t = e.exec
- e.exec = function () {
- return t.apply(this, arguments)
- }
- var r = "ab".split(e)
- return 2 !== r.length || "a" !== r[0] || "b" !== r[1]
- })
- n(
- "split",
- function (e, t, r) {
- var n
- return (
- (n =
- "c" == "abbc".split(/(b)*/)[1] ||
- 4 != "test".split(/(?:)/, -1).length ||
- 2 != "ab".split(/(?:ab)*/).length ||
- 4 != ".".split(/(.?)(.?)/).length ||
- ".".split(/()()/).length > 1 ||
- "".split(/.?/).length
- ? function (e, r) {
- var n = u(a(this)),
- o = void 0 === r ? v : r >>> 0
- if (0 === o) return []
- if (void 0 === e) return [n]
- if (!i(e)) return t.call(n, e, o)
- var s,
- l,
- c,
- f = [],
- d = (e.ignoreCase ? "i" : "") + (e.multiline ? "m" : "") + (e.unicode ? "u" : "") + (e.sticky ? "y" : ""),
- h = 0,
- m = new RegExp(e.source, d + "g")
- while ((s = p.call(m, n))) {
- if (
- ((l = m.lastIndex),
- l > h &&
- (f.push(n.slice(h, s.index)),
- s.length > 1 && s.index < n.length && g.apply(f, s.slice(1)),
- (c = s[0].length),
- (h = l),
- f.length >= o))
- )
- break
- m.lastIndex === s.index && m.lastIndex++
- }
- return h === n.length ? (!c && m.test("")) || f.push("") : f.push(n.slice(h)), f.length > o ? f.slice(0, o) : f
- }
- : "0".split(void 0, 0).length
- ? function (e, r) {
- return void 0 === e && 0 === r ? [] : t.call(this, e, r)
- }
- : t),
- [
- function (t, r) {
- var i = a(this),
- o = void 0 == t ? void 0 : t[e]
- return void 0 !== o ? o.call(t, i, r) : n.call(u(i), t, r)
- },
- function (e, i) {
- var a = o(this),
- p = u(e),
- d = r(n, a, p, i, n !== t)
- if (d.done) return d.value
- var h = s(a, RegExp),
- g = a.unicode,
- b = (a.ignoreCase ? "i" : "") + (a.multiline ? "m" : "") + (a.unicode ? "u" : "") + (m ? "g" : "y"),
- w = new h(m ? "^(?:" + a.source + ")" : a, b),
- x = void 0 === i ? v : i >>> 0
- if (0 === x) return []
- if (0 === p.length) return null === f(w, p) ? [p] : []
- var A = 0,
- _ = 0,
- T = []
- while (_ < p.length) {
- w.lastIndex = m ? 0 : _
- var E,
- S = f(w, m ? p.slice(_) : p)
- if (null === S || (E = y(c(w.lastIndex + (m ? _ : 0)), p.length)) === A) _ = l(p, _, g)
- else {
- if ((T.push(p.slice(A, _)), T.length === x)) return T
- for (var C = 1; C <= S.length - 1; C++) if ((T.push(S[C]), T.length === x)) return T
- _ = A = E
- }
- }
- return T.push(p.slice(A)), T
- }
- ]
- )
- },
- !b,
- m
- )
- },
- "14c3": function (e, t, r) {
- var n = r("c6b6"),
- i = r("9263")
- e.exports = function (e, t) {
- var r = e.exec
- if ("function" === typeof r) {
- var o = r.call(e, t)
- if ("object" !== typeof o) throw TypeError("RegExp exec method returned something other than an Object or null")
- return o
- }
- if ("RegExp" !== n(e)) throw TypeError("RegExp#exec called on incompatible receiver")
- return i.call(e, t)
- }
- },
- "159b": function (e, t, r) {
- var n = r("da84"),
- i = r("fdbc"),
- o = r("17c2"),
- a = r("9112")
- for (var s in i) {
- var l = n[s],
- c = l && l.prototype
- if (c && c.forEach !== o)
- try {
- a(c, "forEach", o)
- } catch (u) {
- c.forEach = o
- }
- }
- },
- "17c2": function (e, t, r) {
- "use strict"
- var n = r("b727").forEach,
- i = r("a640"),
- o = i("forEach")
- e.exports = o
- ? [].forEach
- : function (e) {
- return n(this, e, arguments.length > 1 ? arguments[1] : void 0)
- }
- },
- "1be4": function (e, t, r) {
- var n = r("d066")
- e.exports = n("document", "documentElement")
- },
- "1c0b": function (e, t) {
- e.exports = function (e) {
- if ("function" != typeof e) throw TypeError(String(e) + " is not a function")
- return e
- }
- },
- "1c7e": function (e, t, r) {
- var n = r("b622"),
- i = n("iterator"),
- o = !1
- try {
- var a = 0,
- s = {
- next: function () {
- return {
- done: !!a++
- }
- },
- return: function () {
- o = !0
- }
- }
- ;(s[i] = function () {
- return this
- }),
- Array.from(s, function () {
- throw 2
- })
- } catch (l) {}
- e.exports = function (e, t) {
- if (!t && !o) return !1
- var r = !1
- try {
- var n = {}
- ;(n[i] = function () {
- return {
- next: function () {
- return {
- done: (r = !0)
- }
- }
- }
- }),
- e(n)
- } catch (l) {}
- return r
- }
- },
- "1d80": function (e, t) {
- e.exports = function (e) {
- if (void 0 == e) throw TypeError("Can't call method on " + e)
- return e
- }
- },
- "1dde": function (e, t, r) {
- var n = r("d039"),
- i = r("b622"),
- o = r("2d00"),
- a = i("species")
- e.exports = function (e) {
- return (
- o >= 51 ||
- !n(function () {
- var t = [],
- r = (t.constructor = {})
- return (
- (r[a] = function () {
- return {
- foo: 1
- }
- }),
- 1 !== t[e](Boolean).foo
- )
- })
- )
- }
- },
- "1fb5": function (e, t, r) {
- "use strict"
- ;(t.byteLength = u), (t.toByteArray = p), (t.fromByteArray = m)
- for (
- var n = [],
- i = [],
- o = "undefined" !== typeof Uint8Array ? Uint8Array : Array,
- a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
- s = 0,
- l = a.length;
- s < l;
- ++s
- )
- (n[s] = a[s]), (i[a.charCodeAt(s)] = s)
- function c(e) {
- var t = e.length
- if (t % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4")
- var r = e.indexOf("=")
- ;-1 === r && (r = t)
- var n = r === t ? 0 : 4 - (r % 4)
- return [r, n]
- }
- function u(e) {
- var t = c(e),
- r = t[0],
- n = t[1]
- return (3 * (r + n)) / 4 - n
- }
- function f(e, t, r) {
- return (3 * (t + r)) / 4 - r
- }
- function p(e) {
- var t,
- r,
- n = c(e),
- a = n[0],
- s = n[1],
- l = new o(f(e, a, s)),
- u = 0,
- p = s > 0 ? a - 4 : a
- for (r = 0; r < p; r += 4)
- (t = (i[e.charCodeAt(r)] << 18) | (i[e.charCodeAt(r + 1)] << 12) | (i[e.charCodeAt(r + 2)] << 6) | i[e.charCodeAt(r + 3)]),
- (l[u++] = (t >> 16) & 255),
- (l[u++] = (t >> 8) & 255),
- (l[u++] = 255 & t)
- return (
- 2 === s && ((t = (i[e.charCodeAt(r)] << 2) | (i[e.charCodeAt(r + 1)] >> 4)), (l[u++] = 255 & t)),
- 1 === s &&
- ((t = (i[e.charCodeAt(r)] << 10) | (i[e.charCodeAt(r + 1)] << 4) | (i[e.charCodeAt(r + 2)] >> 2)),
- (l[u++] = (t >> 8) & 255),
- (l[u++] = 255 & t)),
- l
- )
- }
- function d(e) {
- return n[(e >> 18) & 63] + n[(e >> 12) & 63] + n[(e >> 6) & 63] + n[63 & e]
- }
- function h(e, t, r) {
- for (var n, i = [], o = t; o < r; o += 3) (n = ((e[o] << 16) & 16711680) + ((e[o + 1] << 8) & 65280) + (255 & e[o + 2])), i.push(d(n))
- return i.join("")
- }
- function m(e) {
- for (var t, r = e.length, i = r % 3, o = [], a = 16383, s = 0, l = r - i; s < l; s += a) o.push(h(e, s, s + a > l ? l : s + a))
- return (
- 1 === i
- ? ((t = e[r - 1]), o.push(n[t >> 2] + n[(t << 4) & 63] + "=="))
- : 2 === i && ((t = (e[r - 2] << 8) + e[r - 1]), o.push(n[t >> 10] + n[(t >> 4) & 63] + n[(t << 2) & 63] + "=")),
- o.join("")
- )
- }
- ;(i["-".charCodeAt(0)] = 62), (i["_".charCodeAt(0)] = 63)
- },
- 2: function (e, t) {},
- "23cb": function (e, t, r) {
- var n = r("a691"),
- i = Math.max,
- o = Math.min
- e.exports = function (e, t) {
- var r = n(e)
- return r < 0 ? i(r + t, 0) : o(r, t)
- }
- },
- "23e7": function (e, t, r) {
- var n = r("da84"),
- i = r("06cf").f,
- o = r("9112"),
- a = r("6eeb"),
- s = r("ce4e"),
- l = r("e893"),
- c = r("94ca")
- e.exports = function (e, t) {
- var r,
- u,
- f,
- p,
- d,
- h,
- m = e.target,
- g = e.global,
- y = e.stat
- if (((u = g ? n : y ? n[m] || s(m, {}) : (n[m] || {}).prototype), u))
- for (f in t) {
- if (
- ((d = t[f]),
- e.noTargetGet ? ((h = i(u, f)), (p = h && h.value)) : (p = u[f]),
- (r = c(g ? f : m + (y ? "." : "#") + f, e.forced)),
- !r && void 0 !== p)
- ) {
- if (typeof d === typeof p) continue
- l(d, p)
- }
- ;(e.sham || (p && p.sham)) && o(d, "sham", !0), a(u, f, d, e)
- }
- }
- },
- "241c": function (e, t, r) {
- var n = r("ca84"),
- i = r("7839"),
- o = i.concat("length", "prototype")
- t.f =
- Object.getOwnPropertyNames ||
- function (e) {
- return n(e, o)
- }
- },
- 2532: function (e, t, r) {
- "use strict"
- var n = r("23e7"),
- i = r("5a34"),
- o = r("1d80"),
- a = r("577e"),
- s = r("ab13")
- n(
- {
- target: "String",
- proto: !0,
- forced: !s("includes")
- },
- {
- includes: function (e) {
- return !!~a(o(this)).indexOf(a(i(e)), arguments.length > 1 ? arguments[1] : void 0)
- }
- }
- )
- },
- "27bf": function (e, t, r) {
- "use strict"
- e.exports = a
- var n = r("b19a"),
- i = Object.create(r("3a7c"))
- function o(e, t) {
- var r = this._transformState
- r.transforming = !1
- var n = r.writecb
- if (!n) return this.emit("error", new Error("write callback called multiple times"))
- ;(r.writechunk = null), (r.writecb = null), null != t && this.push(t), n(e)
- var i = this._readableState
- ;(i.reading = !1), (i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark)
- }
- function a(e) {
- if (!(this instanceof a)) return new a(e)
- n.call(this, e),
- (this._transformState = {
- afterTransform: o.bind(this),
- needTransform: !1,
- transforming: !1,
- writecb: null,
- writechunk: null,
- writeencoding: null
- }),
- (this._readableState.needReadable = !0),
- (this._readableState.sync = !1),
- e && ("function" === typeof e.transform && (this._transform = e.transform), "function" === typeof e.flush && (this._flush = e.flush)),
- this.on("prefinish", s)
- }
- function s() {
- var e = this
- "function" === typeof this._flush
- ? this._flush(function (t, r) {
- l(e, t, r)
- })
- : l(this, null, null)
- }
- function l(e, t, r) {
- if (t) return e.emit("error", t)
- if ((null != r && e.push(r), e._writableState.length)) throw new Error("Calling transform done when ws.length != 0")
- if (e._transformState.transforming) throw new Error("Calling transform done when still transforming")
- return e.push(null)
- }
- ;(i.inherits = r("3fb5")),
- i.inherits(a, n),
- (a.prototype.push = function (e, t) {
- return (this._transformState.needTransform = !1), n.prototype.push.call(this, e, t)
- }),
- (a.prototype._transform = function (e, t, r) {
- throw new Error("_transform() is not implemented")
- }),
- (a.prototype._write = function (e, t, r) {
- var n = this._transformState
- if (((n.writecb = r), (n.writechunk = e), (n.writeencoding = t), !n.transforming)) {
- var i = this._readableState
- ;(n.needTransform || i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark)
- }
- }),
- (a.prototype._read = function (e) {
- var t = this._transformState
- null !== t.writechunk && t.writecb && !t.transforming
- ? ((t.transforming = !0), this._transform(t.writechunk, t.writeencoding, t.afterTransform))
- : (t.needTransform = !0)
- }),
- (a.prototype._destroy = function (e, t) {
- var r = this
- n.prototype._destroy.call(this, e, function (e) {
- t(e), r.emit("close")
- })
- })
- },
- "2a62": function (e, t, r) {
- var n = r("825a")
- e.exports = function (e, t, r) {
- var i, o
- n(e)
- try {
- if (((i = e["return"]), void 0 === i)) {
- if ("throw" === t) throw r
- return r
- }
- i = i.call(e)
- } catch (a) {
- ;(o = !0), (i = a)
- }
- if ("throw" === t) throw r
- if (o) throw i
- return n(i), r
- }
- },
- "2c63": function (e, t, r) {
- e.exports = r("dc14")
- },
- "2d00": function (e, t, r) {
- var n,
- i,
- o = r("da84"),
- a = r("342f"),
- s = o.process,
- l = o.Deno,
- c = (s && s.versions) || (l && l.version),
- u = c && c.v8
- u
- ? ((n = u.split(".")), (i = n[0] < 4 ? 1 : n[0] + n[1]))
- : a && ((n = a.match(/Edge\/(\d+)/)), (!n || n[1] >= 74) && ((n = a.match(/Chrome\/(\d+)/)), n && (i = n[1]))),
- (e.exports = i && +i)
- },
- "2ef0": function (e, t, r) {
- ;(function (e, n) {
- var i
- /**
- * @license
- * Lodash <https://lodash.com/>
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
- * Released under MIT license <https://lodash.com/license>
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- */
- ;(function () {
- var o,
- a = "4.17.21",
- s = 200,
- l = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",
- c = "Expected a function",
- u = "Invalid `variable` option passed into `_.template`",
- f = "__lodash_hash_undefined__",
- p = 500,
- d = "__lodash_placeholder__",
- h = 1,
- m = 2,
- g = 4,
- y = 1,
- v = 2,
- b = 1,
- w = 2,
- x = 4,
- A = 8,
- _ = 16,
- T = 32,
- E = 64,
- S = 128,
- C = 256,
- k = 512,
- L = 30,
- P = "...",
- O = 800,
- j = 16,
- R = 1,
- I = 2,
- N = 3,
- M = 1 / 0,
- D = 9007199254740991,
- B = 17976931348623157e292,
- F = NaN,
- U = 4294967295,
- z = U - 1,
- q = U >>> 1,
- G = [
- ["ary", S],
- ["bind", b],
- ["bindKey", w],
- ["curry", A],
- ["curryRight", _],
- ["flip", k],
- ["partial", T],
- ["partialRight", E],
- ["rearg", C]
- ],
- W = "[object Arguments]",
- V = "[object Array]",
- H = "[object AsyncFunction]",
- X = "[object Boolean]",
- Y = "[object Date]",
- K = "[object DOMException]",
- Z = "[object Error]",
- Q = "[object Function]",
- J = "[object GeneratorFunction]",
- $ = "[object Map]",
- ee = "[object Number]",
- te = "[object Null]",
- re = "[object Object]",
- ne = "[object Promise]",
- ie = "[object Proxy]",
- oe = "[object RegExp]",
- ae = "[object Set]",
- se = "[object String]",
- le = "[object Symbol]",
- ce = "[object Undefined]",
- ue = "[object WeakMap]",
- fe = "[object WeakSet]",
- pe = "[object ArrayBuffer]",
- de = "[object DataView]",
- he = "[object Float32Array]",
- me = "[object Float64Array]",
- ge = "[object Int8Array]",
- ye = "[object Int16Array]",
- ve = "[object Int32Array]",
- be = "[object Uint8Array]",
- we = "[object Uint8ClampedArray]",
- xe = "[object Uint16Array]",
- Ae = "[object Uint32Array]",
- _e = /\b__p \+= '';/g,
- Te = /\b(__p \+=) '' \+/g,
- Ee = /(__e\(.*?\)|\b__t\)) \+\n'';/g,
- Se = /&(?:amp|lt|gt|quot|#39);/g,
- Ce = /[&<>"']/g,
- ke = RegExp(Se.source),
- Le = RegExp(Ce.source),
- Pe = /<%-([\s\S]+?)%>/g,
- Oe = /<%([\s\S]+?)%>/g,
- je = /<%=([\s\S]+?)%>/g,
- Re = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
- Ie = /^\w*$/,
- Ne = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
- Me = /[\\^$.*+?()[\]{}|]/g,
- De = RegExp(Me.source),
- Be = /^\s+/,
- Fe = /\s/,
- Ue = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,
- ze = /\{\n\/\* \[wrapped with (.+)\] \*/,
- qe = /,? & /,
- Ge = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,
- We = /[()=,{}\[\]\/\s]/,
- Ve = /\\(\\)?/g,
- He = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,
- Xe = /\w*$/,
- Ye = /^[-+]0x[0-9a-f]+$/i,
- Ke = /^0b[01]+$/i,
- Ze = /^\[object .+?Constructor\]$/,
- Qe = /^0o[0-7]+$/i,
- Je = /^(?:0|[1-9]\d*)$/,
- $e = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,
- et = /($^)/,
- tt = /['\n\r\u2028\u2029\\]/g,
- rt = "\\ud800-\\udfff",
- nt = "\\u0300-\\u036f",
- it = "\\ufe20-\\ufe2f",
- ot = "\\u20d0-\\u20ff",
- at = nt + it + ot,
- st = "\\u2700-\\u27bf",
- lt = "a-z\\xdf-\\xf6\\xf8-\\xff",
- ct = "\\xac\\xb1\\xd7\\xf7",
- ut = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",
- ft = "\\u2000-\\u206f",
- pt =
- " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",
- dt = "A-Z\\xc0-\\xd6\\xd8-\\xde",
- ht = "\\ufe0e\\ufe0f",
- mt = ct + ut + ft + pt,
- gt = "['’]",
- yt = "[" + rt + "]",
- vt = "[" + mt + "]",
- bt = "[" + at + "]",
- wt = "\\d+",
- xt = "[" + st + "]",
- At = "[" + lt + "]",
- _t = "[^" + rt + mt + wt + st + lt + dt + "]",
- Tt = "\\ud83c[\\udffb-\\udfff]",
- Et = "(?:" + bt + "|" + Tt + ")",
- St = "[^" + rt + "]",
- Ct = "(?:\\ud83c[\\udde6-\\uddff]){2}",
- kt = "[\\ud800-\\udbff][\\udc00-\\udfff]",
- Lt = "[" + dt + "]",
- Pt = "\\u200d",
- Ot = "(?:" + At + "|" + _t + ")",
- jt = "(?:" + Lt + "|" + _t + ")",
- Rt = "(?:" + gt + "(?:d|ll|m|re|s|t|ve))?",
- It = "(?:" + gt + "(?:D|LL|M|RE|S|T|VE))?",
- Nt = Et + "?",
- Mt = "[" + ht + "]?",
- Dt = "(?:" + Pt + "(?:" + [St, Ct, kt].join("|") + ")" + Mt + Nt + ")*",
- Bt = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",
- Ft = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",
- Ut = Mt + Nt + Dt,
- zt = "(?:" + [xt, Ct, kt].join("|") + ")" + Ut,
- qt = "(?:" + [St + bt + "?", bt, Ct, kt, yt].join("|") + ")",
- Gt = RegExp(gt, "g"),
- Wt = RegExp(bt, "g"),
- Vt = RegExp(Tt + "(?=" + Tt + ")|" + qt + Ut, "g"),
- Ht = RegExp(
- [
- Lt + "?" + At + "+" + Rt + "(?=" + [vt, Lt, "$"].join("|") + ")",
- jt + "+" + It + "(?=" + [vt, Lt + Ot, "$"].join("|") + ")",
- Lt + "?" + Ot + "+" + Rt,
- Lt + "+" + It,
- Ft,
- Bt,
- wt,
- zt
- ].join("|"),
- "g"
- ),
- Xt = RegExp("[" + Pt + rt + at + ht + "]"),
- Yt = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,
- Kt = [
- "Array",
- "Buffer",
- "DataView",
- "Date",
- "Error",
- "Float32Array",
- "Float64Array",
- "Function",
- "Int8Array",
- "Int16Array",
- "Int32Array",
- "Map",
- "Math",
- "Object",
- "Promise",
- "RegExp",
- "Set",
- "String",
- "Symbol",
- "TypeError",
- "Uint8Array",
- "Uint8ClampedArray",
- "Uint16Array",
- "Uint32Array",
- "WeakMap",
- "_",
- "clearTimeout",
- "isFinite",
- "parseInt",
- "setTimeout"
- ],
- Zt = -1,
- Qt = {}
- ;(Qt[he] = Qt[me] = Qt[ge] = Qt[ye] = Qt[ve] = Qt[be] = Qt[we] = Qt[xe] = Qt[Ae] = !0),
- (Qt[W] = Qt[V] = Qt[pe] = Qt[X] = Qt[de] = Qt[Y] = Qt[Z] = Qt[Q] = Qt[$] = Qt[ee] = Qt[re] = Qt[oe] = Qt[ae] = Qt[se] = Qt[ue] = !1)
- var Jt = {}
- ;(Jt[W] =
- Jt[V] =
- Jt[pe] =
- Jt[de] =
- Jt[X] =
- Jt[Y] =
- Jt[he] =
- Jt[me] =
- Jt[ge] =
- Jt[ye] =
- Jt[ve] =
- Jt[$] =
- Jt[ee] =
- Jt[re] =
- Jt[oe] =
- Jt[ae] =
- Jt[se] =
- Jt[le] =
- Jt[be] =
- Jt[we] =
- Jt[xe] =
- Jt[Ae] =
- !0),
- (Jt[Z] = Jt[Q] = Jt[ue] = !1)
- var $t = {
- À: "A",
- Á: "A",
- Â: "A",
- Ã: "A",
- Ä: "A",
- Å: "A",
- à: "a",
- á: "a",
- â: "a",
- ã: "a",
- ä: "a",
- å: "a",
- Ç: "C",
- ç: "c",
- Ð: "D",
- ð: "d",
- È: "E",
- É: "E",
- Ê: "E",
- Ë: "E",
- è: "e",
- é: "e",
- ê: "e",
- ë: "e",
- Ì: "I",
- Í: "I",
- Î: "I",
- Ï: "I",
- ì: "i",
- í: "i",
- î: "i",
- ï: "i",
- Ñ: "N",
- ñ: "n",
- Ò: "O",
- Ó: "O",
- Ô: "O",
- Õ: "O",
- Ö: "O",
- Ø: "O",
- ò: "o",
- ó: "o",
- ô: "o",
- õ: "o",
- ö: "o",
- ø: "o",
- Ù: "U",
- Ú: "U",
- Û: "U",
- Ü: "U",
- ù: "u",
- ú: "u",
- û: "u",
- ü: "u",
- Ý: "Y",
- ý: "y",
- ÿ: "y",
- Æ: "Ae",
- æ: "ae",
- Þ: "Th",
- þ: "th",
- ß: "ss",
- Ā: "A",
- Ă: "A",
- Ą: "A",
- ā: "a",
- ă: "a",
- ą: "a",
- Ć: "C",
- Ĉ: "C",
- Ċ: "C",
- Č: "C",
- ć: "c",
- ĉ: "c",
- ċ: "c",
- č: "c",
- Ď: "D",
- Đ: "D",
- ď: "d",
- đ: "d",
- Ē: "E",
- Ĕ: "E",
- Ė: "E",
- Ę: "E",
- Ě: "E",
- ē: "e",
- ĕ: "e",
- ė: "e",
- ę: "e",
- ě: "e",
- Ĝ: "G",
- Ğ: "G",
- Ġ: "G",
- Ģ: "G",
- ĝ: "g",
- ğ: "g",
- ġ: "g",
- ģ: "g",
- Ĥ: "H",
- Ħ: "H",
- ĥ: "h",
- ħ: "h",
- Ĩ: "I",
- Ī: "I",
- Ĭ: "I",
- Į: "I",
- İ: "I",
- ĩ: "i",
- ī: "i",
- ĭ: "i",
- į: "i",
- ı: "i",
- Ĵ: "J",
- ĵ: "j",
- Ķ: "K",
- ķ: "k",
- ĸ: "k",
- Ĺ: "L",
- Ļ: "L",
- Ľ: "L",
- Ŀ: "L",
- Ł: "L",
- ĺ: "l",
- ļ: "l",
- ľ: "l",
- ŀ: "l",
- ł: "l",
- Ń: "N",
- Ņ: "N",
- Ň: "N",
- Ŋ: "N",
- ń: "n",
- ņ: "n",
- ň: "n",
- ŋ: "n",
- Ō: "O",
- Ŏ: "O",
- Ő: "O",
- ō: "o",
- ŏ: "o",
- ő: "o",
- Ŕ: "R",
- Ŗ: "R",
- Ř: "R",
- ŕ: "r",
- ŗ: "r",
- ř: "r",
- Ś: "S",
- Ŝ: "S",
- Ş: "S",
- Š: "S",
- ś: "s",
- ŝ: "s",
- ş: "s",
- š: "s",
- Ţ: "T",
- Ť: "T",
- Ŧ: "T",
- ţ: "t",
- ť: "t",
- ŧ: "t",
- Ũ: "U",
- Ū: "U",
- Ŭ: "U",
- Ů: "U",
- Ű: "U",
- Ų: "U",
- ũ: "u",
- ū: "u",
- ŭ: "u",
- ů: "u",
- ű: "u",
- ų: "u",
- Ŵ: "W",
- ŵ: "w",
- Ŷ: "Y",
- ŷ: "y",
- Ÿ: "Y",
- Ź: "Z",
- Ż: "Z",
- Ž: "Z",
- ź: "z",
- ż: "z",
- ž: "z",
- IJ: "IJ",
- ij: "ij",
- Œ: "Oe",
- œ: "oe",
- ʼn: "'n",
- ſ: "s"
- },
- er = {
- "&": "&",
- "<": "<",
- ">": ">",
- '"': """,
- "'": "'"
- },
- tr = {
- "&": "&",
- "<": "<",
- ">": ">",
- """: '"',
- "'": "'"
- },
- rr = {
- "\\": "\\",
- "'": "'",
- "\n": "n",
- "\r": "r",
- "\u2028": "u2028",
- "\u2029": "u2029"
- },
- nr = parseFloat,
- ir = parseInt,
- or = "object" == typeof e && e && e.Object === Object && e,
- ar = "object" == typeof self && self && self.Object === Object && self,
- sr = or || ar || Function("return this")(),
- lr = t && !t.nodeType && t,
- cr = lr && "object" == typeof n && n && !n.nodeType && n,
- ur = cr && cr.exports === lr,
- fr = ur && or.process,
- pr = (function () {
- try {
- var e = cr && cr.require && cr.require("util").types
- return e || (fr && fr.binding && fr.binding("util"))
- } catch (t) {}
- })(),
- dr = pr && pr.isArrayBuffer,
- hr = pr && pr.isDate,
- mr = pr && pr.isMap,
- gr = pr && pr.isRegExp,
- yr = pr && pr.isSet,
- vr = pr && pr.isTypedArray
- function br(e, t, r) {
- switch (r.length) {
- case 0:
- return e.call(t)
- case 1:
- return e.call(t, r[0])
- case 2:
- return e.call(t, r[0], r[1])
- case 3:
- return e.call(t, r[0], r[1], r[2])
- }
- return e.apply(t, r)
- }
- function wr(e, t, r, n) {
- var i = -1,
- o = null == e ? 0 : e.length
- while (++i < o) {
- var a = e[i]
- t(n, a, r(a), e)
- }
- return n
- }
- function xr(e, t) {
- var r = -1,
- n = null == e ? 0 : e.length
- while (++r < n) if (!1 === t(e[r], r, e)) break
- return e
- }
- function Ar(e, t) {
- var r = null == e ? 0 : e.length
- while (r--) if (!1 === t(e[r], r, e)) break
- return e
- }
- function _r(e, t) {
- var r = -1,
- n = null == e ? 0 : e.length
- while (++r < n) if (!t(e[r], r, e)) return !1
- return !0
- }
- function Tr(e, t) {
- var r = -1,
- n = null == e ? 0 : e.length,
- i = 0,
- o = []
- while (++r < n) {
- var a = e[r]
- t(a, r, e) && (o[i++] = a)
- }
- return o
- }
- function Er(e, t) {
- var r = null == e ? 0 : e.length
- return !!r && Dr(e, t, 0) > -1
- }
- function Sr(e, t, r) {
- var n = -1,
- i = null == e ? 0 : e.length
- while (++n < i) if (r(t, e[n])) return !0
- return !1
- }
- function Cr(e, t) {
- var r = -1,
- n = null == e ? 0 : e.length,
- i = Array(n)
- while (++r < n) i[r] = t(e[r], r, e)
- return i
- }
- function kr(e, t) {
- var r = -1,
- n = t.length,
- i = e.length
- while (++r < n) e[i + r] = t[r]
- return e
- }
- function Lr(e, t, r, n) {
- var i = -1,
- o = null == e ? 0 : e.length
- n && o && (r = e[++i])
- while (++i < o) r = t(r, e[i], i, e)
- return r
- }
- function Pr(e, t, r, n) {
- var i = null == e ? 0 : e.length
- n && i && (r = e[--i])
- while (i--) r = t(r, e[i], i, e)
- return r
- }
- function Or(e, t) {
- var r = -1,
- n = null == e ? 0 : e.length
- while (++r < n) if (t(e[r], r, e)) return !0
- return !1
- }
- var jr = zr("length")
- function Rr(e) {
- return e.split("")
- }
- function Ir(e) {
- return e.match(Ge) || []
- }
- function Nr(e, t, r) {
- var n
- return (
- r(e, function (e, r, i) {
- if (t(e, r, i)) return (n = r), !1
- }),
- n
- )
- }
- function Mr(e, t, r, n) {
- var i = e.length,
- o = r + (n ? 1 : -1)
- while (n ? o-- : ++o < i) if (t(e[o], o, e)) return o
- return -1
- }
- function Dr(e, t, r) {
- return t === t ? hn(e, t, r) : Mr(e, Fr, r)
- }
- function Br(e, t, r, n) {
- var i = r - 1,
- o = e.length
- while (++i < o) if (n(e[i], t)) return i
- return -1
- }
- function Fr(e) {
- return e !== e
- }
- function Ur(e, t) {
- var r = null == e ? 0 : e.length
- return r ? Vr(e, t) / r : F
- }
- function zr(e) {
- return function (t) {
- return null == t ? o : t[e]
- }
- }
- function qr(e) {
- return function (t) {
- return null == e ? o : e[t]
- }
- }
- function Gr(e, t, r, n, i) {
- return (
- i(e, function (e, i, o) {
- r = n ? ((n = !1), e) : t(r, e, i, o)
- }),
- r
- )
- }
- function Wr(e, t) {
- var r = e.length
- e.sort(t)
- while (r--) e[r] = e[r].value
- return e
- }
- function Vr(e, t) {
- var r,
- n = -1,
- i = e.length
- while (++n < i) {
- var a = t(e[n])
- a !== o && (r = r === o ? a : r + a)
- }
- return r
- }
- function Hr(e, t) {
- var r = -1,
- n = Array(e)
- while (++r < e) n[r] = t(r)
- return n
- }
- function Xr(e, t) {
- return Cr(t, function (t) {
- return [t, e[t]]
- })
- }
- function Yr(e) {
- return e ? e.slice(0, vn(e) + 1).replace(Be, "") : e
- }
- function Kr(e) {
- return function (t) {
- return e(t)
- }
- }
- function Zr(e, t) {
- return Cr(t, function (t) {
- return e[t]
- })
- }
- function Qr(e, t) {
- return e.has(t)
- }
- function Jr(e, t) {
- var r = -1,
- n = e.length
- while (++r < n && Dr(t, e[r], 0) > -1);
- return r
- }
- function $r(e, t) {
- var r = e.length
- while (r-- && Dr(t, e[r], 0) > -1);
- return r
- }
- function en(e, t) {
- var r = e.length,
- n = 0
- while (r--) e[r] === t && ++n
- return n
- }
- var tn = qr($t),
- rn = qr(er)
- function nn(e) {
- return "\\" + rr[e]
- }
- function on(e, t) {
- return null == e ? o : e[t]
- }
- function an(e) {
- return Xt.test(e)
- }
- function sn(e) {
- return Yt.test(e)
- }
- function ln(e) {
- var t,
- r = []
- while (!(t = e.next()).done) r.push(t.value)
- return r
- }
- function cn(e) {
- var t = -1,
- r = Array(e.size)
- return (
- e.forEach(function (e, n) {
- r[++t] = [n, e]
- }),
- r
- )
- }
- function un(e, t) {
- return function (r) {
- return e(t(r))
- }
- }
- function fn(e, t) {
- var r = -1,
- n = e.length,
- i = 0,
- o = []
- while (++r < n) {
- var a = e[r]
- ;(a !== t && a !== d) || ((e[r] = d), (o[i++] = r))
- }
- return o
- }
- function pn(e) {
- var t = -1,
- r = Array(e.size)
- return (
- e.forEach(function (e) {
- r[++t] = e
- }),
- r
- )
- }
- function dn(e) {
- var t = -1,
- r = Array(e.size)
- return (
- e.forEach(function (e) {
- r[++t] = [e, e]
- }),
- r
- )
- }
- function hn(e, t, r) {
- var n = r - 1,
- i = e.length
- while (++n < i) if (e[n] === t) return n
- return -1
- }
- function mn(e, t, r) {
- var n = r + 1
- while (n--) if (e[n] === t) return n
- return n
- }
- function gn(e) {
- return an(e) ? wn(e) : jr(e)
- }
- function yn(e) {
- return an(e) ? xn(e) : Rr(e)
- }
- function vn(e) {
- var t = e.length
- while (t-- && Fe.test(e.charAt(t)));
- return t
- }
- var bn = qr(tr)
- function wn(e) {
- var t = (Vt.lastIndex = 0)
- while (Vt.test(e)) ++t
- return t
- }
- function xn(e) {
- return e.match(Vt) || []
- }
- function An(e) {
- return e.match(Ht) || []
- }
- var _n = function e(t) {
- t = null == t ? sr : Tn.defaults(sr.Object(), t, Tn.pick(sr, Kt))
- var r = t.Array,
- n = t.Date,
- i = t.Error,
- Fe = t.Function,
- Ge = t.Math,
- rt = t.Object,
- nt = t.RegExp,
- it = t.String,
- ot = t.TypeError,
- at = r.prototype,
- st = Fe.prototype,
- lt = rt.prototype,
- ct = t["__core-js_shared__"],
- ut = st.toString,
- ft = lt.hasOwnProperty,
- pt = 0,
- dt = (function () {
- var e = /[^.]+$/.exec((ct && ct.keys && ct.keys.IE_PROTO) || "")
- return e ? "Symbol(src)_1." + e : ""
- })(),
- ht = lt.toString,
- mt = ut.call(rt),
- gt = sr._,
- yt = nt(
- "^" +
- ut
- .call(ft)
- .replace(Me, "\\$&")
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") +
- "$"
- ),
- vt = ur ? t.Buffer : o,
- bt = t.Symbol,
- wt = t.Uint8Array,
- xt = vt ? vt.allocUnsafe : o,
- At = un(rt.getPrototypeOf, rt),
- _t = rt.create,
- Tt = lt.propertyIsEnumerable,
- Et = at.splice,
- St = bt ? bt.isConcatSpreadable : o,
- Ct = bt ? bt.iterator : o,
- kt = bt ? bt.toStringTag : o,
- Lt = (function () {
- try {
- var e = Xa(rt, "defineProperty")
- return e({}, "", {}), e
- } catch (t) {}
- })(),
- Pt = t.clearTimeout !== sr.clearTimeout && t.clearTimeout,
- Ot = n && n.now !== sr.Date.now && n.now,
- jt = t.setTimeout !== sr.setTimeout && t.setTimeout,
- Rt = Ge.ceil,
- It = Ge.floor,
- Nt = rt.getOwnPropertySymbols,
- Mt = vt ? vt.isBuffer : o,
- Dt = t.isFinite,
- Bt = at.join,
- Ft = un(rt.keys, rt),
- Ut = Ge.max,
- zt = Ge.min,
- qt = n.now,
- Vt = t.parseInt,
- Ht = Ge.random,
- Xt = at.reverse,
- Yt = Xa(t, "DataView"),
- $t = Xa(t, "Map"),
- er = Xa(t, "Promise"),
- tr = Xa(t, "Set"),
- rr = Xa(t, "WeakMap"),
- or = Xa(rt, "create"),
- ar = rr && new rr(),
- lr = {},
- cr = js(Yt),
- fr = js($t),
- pr = js(er),
- jr = js(tr),
- Rr = js(rr),
- qr = bt ? bt.prototype : o,
- hn = qr ? qr.valueOf : o,
- wn = qr ? qr.toString : o
- function xn(e) {
- if (Eu(e) && !lu(e) && !(e instanceof Cn)) {
- if (e instanceof Sn) return e
- if (ft.call(e, "__wrapped__")) return Is(e)
- }
- return new Sn(e)
- }
- var _n = (function () {
- function e() {}
- return function (t) {
- if (!Tu(t)) return {}
- if (_t) return _t(t)
- e.prototype = t
- var r = new e()
- return (e.prototype = o), r
- }
- })()
- function En() {}
- function Sn(e, t) {
- ;(this.__wrapped__ = e), (this.__actions__ = []), (this.__chain__ = !!t), (this.__index__ = 0), (this.__values__ = o)
- }
- function Cn(e) {
- ;(this.__wrapped__ = e),
- (this.__actions__ = []),
- (this.__dir__ = 1),
- (this.__filtered__ = !1),
- (this.__iteratees__ = []),
- (this.__takeCount__ = U),
- (this.__views__ = [])
- }
- function kn() {
- var e = new Cn(this.__wrapped__)
- return (
- (e.__actions__ = ia(this.__actions__)),
- (e.__dir__ = this.__dir__),
- (e.__filtered__ = this.__filtered__),
- (e.__iteratees__ = ia(this.__iteratees__)),
- (e.__takeCount__ = this.__takeCount__),
- (e.__views__ = ia(this.__views__)),
- e
- )
- }
- function Ln() {
- if (this.__filtered__) {
- var e = new Cn(this)
- ;(e.__dir__ = -1), (e.__filtered__ = !0)
- } else (e = this.clone()), (e.__dir__ *= -1)
- return e
- }
- function Pn() {
- var e = this.__wrapped__.value(),
- t = this.__dir__,
- r = lu(e),
- n = t < 0,
- i = r ? e.length : 0,
- o = Ja(0, i, this.__views__),
- a = o.start,
- s = o.end,
- l = s - a,
- c = n ? s : a - 1,
- u = this.__iteratees__,
- f = u.length,
- p = 0,
- d = zt(l, this.__takeCount__)
- if (!r || (!n && i == l && d == l)) return Fo(e, this.__actions__)
- var h = []
- e: while (l-- && p < d) {
- c += t
- var m = -1,
- g = e[c]
- while (++m < f) {
- var y = u[m],
- v = y.iteratee,
- b = y.type,
- w = v(g)
- if (b == I) g = w
- else if (!w) {
- if (b == R) continue e
- break e
- }
- }
- h[p++] = g
- }
- return h
- }
- function On(e) {
- var t = -1,
- r = null == e ? 0 : e.length
- this.clear()
- while (++t < r) {
- var n = e[t]
- this.set(n[0], n[1])
- }
- }
- function jn() {
- ;(this.__data__ = or ? or(null) : {}), (this.size = 0)
- }
- function Rn(e) {
- var t = this.has(e) && delete this.__data__[e]
- return (this.size -= t ? 1 : 0), t
- }
- function In(e) {
- var t = this.__data__
- if (or) {
- var r = t[e]
- return r === f ? o : r
- }
- return ft.call(t, e) ? t[e] : o
- }
- function Nn(e) {
- var t = this.__data__
- return or ? t[e] !== o : ft.call(t, e)
- }
- function Mn(e, t) {
- var r = this.__data__
- return (this.size += this.has(e) ? 0 : 1), (r[e] = or && t === o ? f : t), this
- }
- function Dn(e) {
- var t = -1,
- r = null == e ? 0 : e.length
- this.clear()
- while (++t < r) {
- var n = e[t]
- this.set(n[0], n[1])
- }
- }
- function Bn() {
- ;(this.__data__ = []), (this.size = 0)
- }
- function Fn(e) {
- var t = this.__data__,
- r = ui(t, e)
- if (r < 0) return !1
- var n = t.length - 1
- return r == n ? t.pop() : Et.call(t, r, 1), --this.size, !0
- }
- function Un(e) {
- var t = this.__data__,
- r = ui(t, e)
- return r < 0 ? o : t[r][1]
- }
- function zn(e) {
- return ui(this.__data__, e) > -1
- }
- function qn(e, t) {
- var r = this.__data__,
- n = ui(r, e)
- return n < 0 ? (++this.size, r.push([e, t])) : (r[n][1] = t), this
- }
- function Gn(e) {
- var t = -1,
- r = null == e ? 0 : e.length
- this.clear()
- while (++t < r) {
- var n = e[t]
- this.set(n[0], n[1])
- }
- }
- function Wn() {
- ;(this.size = 0),
- (this.__data__ = {
- hash: new On(),
- map: new ($t || Dn)(),
- string: new On()
- })
- }
- function Vn(e) {
- var t = Va(this, e)["delete"](e)
- return (this.size -= t ? 1 : 0), t
- }
- function Hn(e) {
- return Va(this, e).get(e)
- }
- function Xn(e) {
- return Va(this, e).has(e)
- }
- function Yn(e, t) {
- var r = Va(this, e),
- n = r.size
- return r.set(e, t), (this.size += r.size == n ? 0 : 1), this
- }
- function Kn(e) {
- var t = -1,
- r = null == e ? 0 : e.length
- this.__data__ = new Gn()
- while (++t < r) this.add(e[t])
- }
- function Zn(e) {
- return this.__data__.set(e, f), this
- }
- function Qn(e) {
- return this.__data__.has(e)
- }
- function Jn(e) {
- var t = (this.__data__ = new Dn(e))
- this.size = t.size
- }
- function $n() {
- ;(this.__data__ = new Dn()), (this.size = 0)
- }
- function ei(e) {
- var t = this.__data__,
- r = t["delete"](e)
- return (this.size = t.size), r
- }
- function ti(e) {
- return this.__data__.get(e)
- }
- function ri(e) {
- return this.__data__.has(e)
- }
- function ni(e, t) {
- var r = this.__data__
- if (r instanceof Dn) {
- var n = r.__data__
- if (!$t || n.length < s - 1) return n.push([e, t]), (this.size = ++r.size), this
- r = this.__data__ = new Gn(n)
- }
- return r.set(e, t), (this.size = r.size), this
- }
- function ii(e, t) {
- var r = lu(e),
- n = !r && su(e),
- i = !r && !n && du(e),
- o = !r && !n && !i && Uu(e),
- a = r || n || i || o,
- s = a ? Hr(e.length, it) : [],
- l = s.length
- for (var c in e)
- (!t && !ft.call(e, c)) ||
- (a &&
- ("length" == c ||
- (i && ("offset" == c || "parent" == c)) ||
- (o && ("buffer" == c || "byteLength" == c || "byteOffset" == c)) ||
- as(c, l))) ||
- s.push(c)
- return s
- }
- function oi(e) {
- var t = e.length
- return t ? e[vo(0, t - 1)] : o
- }
- function ai(e, t) {
- return Ls(ia(e), gi(t, 0, e.length))
- }
- function si(e) {
- return Ls(ia(e))
- }
- function li(e, t, r) {
- ;((r !== o && !iu(e[t], r)) || (r === o && !(t in e))) && hi(e, t, r)
- }
- function ci(e, t, r) {
- var n = e[t]
- ;(ft.call(e, t) && iu(n, r) && (r !== o || t in e)) || hi(e, t, r)
- }
- function ui(e, t) {
- var r = e.length
- while (r--) if (iu(e[r][0], t)) return r
- return -1
- }
- function fi(e, t, r, n) {
- return (
- Ai(e, function (e, i, o) {
- t(n, e, r(e), o)
- }),
- n
- )
- }
- function pi(e, t) {
- return e && oa(t, _f(t), e)
- }
- function di(e, t) {
- return e && oa(t, Tf(t), e)
- }
- function hi(e, t, r) {
- "__proto__" == t && Lt
- ? Lt(e, t, {
- configurable: !0,
- enumerable: !0,
- value: r,
- writable: !0
- })
- : (e[t] = r)
- }
- function mi(e, t) {
- var n = -1,
- i = t.length,
- a = r(i),
- s = null == e
- while (++n < i) a[n] = s ? o : yf(e, t[n])
- return a
- }
- function gi(e, t, r) {
- return e === e && (r !== o && (e = e <= r ? e : r), t !== o && (e = e >= t ? e : t)), e
- }
- function yi(e, t, r, n, i, a) {
- var s,
- l = t & h,
- c = t & m,
- u = t & g
- if ((r && (s = i ? r(e, n, i, a) : r(e)), s !== o)) return s
- if (!Tu(e)) return e
- var f = lu(e)
- if (f) {
- if (((s = ts(e)), !l)) return ia(e, s)
- } else {
- var p = Qa(e),
- d = p == Q || p == J
- if (du(e)) return Yo(e, l)
- if (p == re || p == W || (d && !i)) {
- if (((s = c || d ? {} : rs(e)), !l)) return c ? sa(e, di(s, e)) : aa(e, pi(s, e))
- } else {
- if (!Jt[p]) return i ? e : {}
- s = ns(e, p, l)
- }
- }
- a || (a = new Jn())
- var y = a.get(e)
- if (y) return y
- a.set(e, s),
- Du(e)
- ? e.forEach(function (n) {
- s.add(yi(n, t, r, n, e, a))
- })
- : Su(e) &&
- e.forEach(function (n, i) {
- s.set(i, yi(n, t, r, i, e, a))
- })
- var v = u ? (c ? Ua : Fa) : c ? Tf : _f,
- b = f ? o : v(e)
- return (
- xr(b || e, function (n, i) {
- b && ((i = n), (n = e[i])), ci(s, i, yi(n, t, r, i, e, a))
- }),
- s
- )
- }
- function vi(e) {
- var t = _f(e)
- return function (r) {
- return bi(r, e, t)
- }
- }
- function bi(e, t, r) {
- var n = r.length
- if (null == e) return !n
- e = rt(e)
- while (n--) {
- var i = r[n],
- a = t[i],
- s = e[i]
- if ((s === o && !(i in e)) || !a(s)) return !1
- }
- return !0
- }
- function wi(e, t, r) {
- if ("function" != typeof e) throw new ot(c)
- return Es(function () {
- e.apply(o, r)
- }, t)
- }
- function xi(e, t, r, n) {
- var i = -1,
- o = Er,
- a = !0,
- l = e.length,
- c = [],
- u = t.length
- if (!l) return c
- r && (t = Cr(t, Kr(r))), n ? ((o = Sr), (a = !1)) : t.length >= s && ((o = Qr), (a = !1), (t = new Kn(t)))
- e: while (++i < l) {
- var f = e[i],
- p = null == r ? f : r(f)
- if (((f = n || 0 !== f ? f : 0), a && p === p)) {
- var d = u
- while (d--) if (t[d] === p) continue e
- c.push(f)
- } else o(t, p, n) || c.push(f)
- }
- return c
- }
- ;(xn.templateSettings = {
- escape: Pe,
- evaluate: Oe,
- interpolate: je,
- variable: "",
- imports: {
- _: xn
- }
- }),
- (xn.prototype = En.prototype),
- (xn.prototype.constructor = xn),
- (Sn.prototype = _n(En.prototype)),
- (Sn.prototype.constructor = Sn),
- (Cn.prototype = _n(En.prototype)),
- (Cn.prototype.constructor = Cn),
- (On.prototype.clear = jn),
- (On.prototype["delete"] = Rn),
- (On.prototype.get = In),
- (On.prototype.has = Nn),
- (On.prototype.set = Mn),
- (Dn.prototype.clear = Bn),
- (Dn.prototype["delete"] = Fn),
- (Dn.prototype.get = Un),
- (Dn.prototype.has = zn),
- (Dn.prototype.set = qn),
- (Gn.prototype.clear = Wn),
- (Gn.prototype["delete"] = Vn),
- (Gn.prototype.get = Hn),
- (Gn.prototype.has = Xn),
- (Gn.prototype.set = Yn),
- (Kn.prototype.add = Kn.prototype.push = Zn),
- (Kn.prototype.has = Qn),
- (Jn.prototype.clear = $n),
- (Jn.prototype["delete"] = ei),
- (Jn.prototype.get = ti),
- (Jn.prototype.has = ri),
- (Jn.prototype.set = ni)
- var Ai = ua(Oi),
- _i = ua(ji, !0)
- function Ti(e, t) {
- var r = !0
- return (
- Ai(e, function (e, n, i) {
- return (r = !!t(e, n, i)), r
- }),
- r
- )
- }
- function Ei(e, t, r) {
- var n = -1,
- i = e.length
- while (++n < i) {
- var a = e[n],
- s = t(a)
- if (null != s && (l === o ? s === s && !Fu(s) : r(s, l)))
- var l = s,
- c = a
- }
- return c
- }
- function Si(e, t, r, n) {
- var i = e.length
- ;(r = Yu(r)), r < 0 && (r = -r > i ? 0 : i + r), (n = n === o || n > i ? i : Yu(n)), n < 0 && (n += i), (n = r > n ? 0 : Ku(n))
- while (r < n) e[r++] = t
- return e
- }
- function Ci(e, t) {
- var r = []
- return (
- Ai(e, function (e, n, i) {
- t(e, n, i) && r.push(e)
- }),
- r
- )
- }
- function ki(e, t, r, n, i) {
- var o = -1,
- a = e.length
- r || (r = os), i || (i = [])
- while (++o < a) {
- var s = e[o]
- t > 0 && r(s) ? (t > 1 ? ki(s, t - 1, r, n, i) : kr(i, s)) : n || (i[i.length] = s)
- }
- return i
- }
- var Li = fa(),
- Pi = fa(!0)
- function Oi(e, t) {
- return e && Li(e, t, _f)
- }
- function ji(e, t) {
- return e && Pi(e, t, _f)
- }
- function Ri(e, t) {
- return Tr(t, function (t) {
- return xu(e[t])
- })
- }
- function Ii(e, t) {
- t = Wo(t, e)
- var r = 0,
- n = t.length
- while (null != e && r < n) e = e[Os(t[r++])]
- return r && r == n ? e : o
- }
- function Ni(e, t, r) {
- var n = t(e)
- return lu(e) ? n : kr(n, r(e))
- }
- function Mi(e) {
- return null == e ? (e === o ? ce : te) : kt && kt in rt(e) ? Ya(e) : bs(e)
- }
- function Di(e, t) {
- return e > t
- }
- function Bi(e, t) {
- return null != e && ft.call(e, t)
- }
- function Fi(e, t) {
- return null != e && t in rt(e)
- }
- function Ui(e, t, r) {
- return e >= zt(t, r) && e < Ut(t, r)
- }
- function zi(e, t, n) {
- var i = n ? Sr : Er,
- a = e[0].length,
- s = e.length,
- l = s,
- c = r(s),
- u = 1 / 0,
- f = []
- while (l--) {
- var p = e[l]
- l && t && (p = Cr(p, Kr(t))), (u = zt(p.length, u)), (c[l] = !n && (t || (a >= 120 && p.length >= 120)) ? new Kn(l && p) : o)
- }
- p = e[0]
- var d = -1,
- h = c[0]
- e: while (++d < a && f.length < u) {
- var m = p[d],
- g = t ? t(m) : m
- if (((m = n || 0 !== m ? m : 0), !(h ? Qr(h, g) : i(f, g, n)))) {
- l = s
- while (--l) {
- var y = c[l]
- if (!(y ? Qr(y, g) : i(e[l], g, n))) continue e
- }
- h && h.push(g), f.push(m)
- }
- }
- return f
- }
- function qi(e, t, r, n) {
- return (
- Oi(e, function (e, i, o) {
- t(n, r(e), i, o)
- }),
- n
- )
- }
- function Gi(e, t, r) {
- ;(t = Wo(t, e)), (e = xs(e, t))
- var n = null == e ? e : e[Os(ol(t))]
- return null == n ? o : br(n, e, r)
- }
- function Wi(e) {
- return Eu(e) && Mi(e) == W
- }
- function Vi(e) {
- return Eu(e) && Mi(e) == pe
- }
- function Hi(e) {
- return Eu(e) && Mi(e) == Y
- }
- function Xi(e, t, r, n, i) {
- return e === t || (null == e || null == t || (!Eu(e) && !Eu(t)) ? e !== e && t !== t : Yi(e, t, r, n, Xi, i))
- }
- function Yi(e, t, r, n, i, o) {
- var a = lu(e),
- s = lu(t),
- l = a ? V : Qa(e),
- c = s ? V : Qa(t)
- ;(l = l == W ? re : l), (c = c == W ? re : c)
- var u = l == re,
- f = c == re,
- p = l == c
- if (p && du(e)) {
- if (!du(t)) return !1
- ;(a = !0), (u = !1)
- }
- if (p && !u) return o || (o = new Jn()), a || Uu(e) ? Na(e, t, r, n, i, o) : Ma(e, t, l, r, n, i, o)
- if (!(r & y)) {
- var d = u && ft.call(e, "__wrapped__"),
- h = f && ft.call(t, "__wrapped__")
- if (d || h) {
- var m = d ? e.value() : e,
- g = h ? t.value() : t
- return o || (o = new Jn()), i(m, g, r, n, o)
- }
- }
- return !!p && (o || (o = new Jn()), Da(e, t, r, n, i, o))
- }
- function Ki(e) {
- return Eu(e) && Qa(e) == $
- }
- function Zi(e, t, r, n) {
- var i = r.length,
- a = i,
- s = !n
- if (null == e) return !a
- e = rt(e)
- while (i--) {
- var l = r[i]
- if (s && l[2] ? l[1] !== e[l[0]] : !(l[0] in e)) return !1
- }
- while (++i < a) {
- l = r[i]
- var c = l[0],
- u = e[c],
- f = l[1]
- if (s && l[2]) {
- if (u === o && !(c in e)) return !1
- } else {
- var p = new Jn()
- if (n) var d = n(u, f, c, e, t, p)
- if (!(d === o ? Xi(f, u, y | v, n, p) : d)) return !1
- }
- }
- return !0
- }
- function Qi(e) {
- if (!Tu(e) || fs(e)) return !1
- var t = xu(e) ? yt : Ze
- return t.test(js(e))
- }
- function Ji(e) {
- return Eu(e) && Mi(e) == oe
- }
- function $i(e) {
- return Eu(e) && Qa(e) == ae
- }
- function eo(e) {
- return Eu(e) && _u(e.length) && !!Qt[Mi(e)]
- }
- function to(e) {
- return "function" == typeof e ? e : null == e ? Op : "object" == typeof e ? (lu(e) ? so(e[0], e[1]) : ao(e)) : Wp(e)
- }
- function ro(e) {
- if (!ds(e)) return Ft(e)
- var t = []
- for (var r in rt(e)) ft.call(e, r) && "constructor" != r && t.push(r)
- return t
- }
- function no(e) {
- if (!Tu(e)) return vs(e)
- var t = ds(e),
- r = []
- for (var n in e) ("constructor" != n || (!t && ft.call(e, n))) && r.push(n)
- return r
- }
- function io(e, t) {
- return e < t
- }
- function oo(e, t) {
- var n = -1,
- i = uu(e) ? r(e.length) : []
- return (
- Ai(e, function (e, r, o) {
- i[++n] = t(e, r, o)
- }),
- i
- )
- }
- function ao(e) {
- var t = Ha(e)
- return 1 == t.length && t[0][2]
- ? ms(t[0][0], t[0][1])
- : function (r) {
- return r === e || Zi(r, e, t)
- }
- }
- function so(e, t) {
- return ls(e) && hs(t)
- ? ms(Os(e), t)
- : function (r) {
- var n = yf(r, e)
- return n === o && n === t ? bf(r, e) : Xi(t, n, y | v)
- }
- }
- function lo(e, t, r, n, i) {
- e !== t &&
- Li(
- t,
- function (a, s) {
- if ((i || (i = new Jn()), Tu(a))) co(e, t, s, r, lo, n, i)
- else {
- var l = n ? n(_s(e, s), a, s + "", e, t, i) : o
- l === o && (l = a), li(e, s, l)
- }
- },
- Tf
- )
- }
- function co(e, t, r, n, i, a, s) {
- var l = _s(e, r),
- c = _s(t, r),
- u = s.get(c)
- if (u) li(e, r, u)
- else {
- var f = a ? a(l, c, r + "", e, t, s) : o,
- p = f === o
- if (p) {
- var d = lu(c),
- h = !d && du(c),
- m = !d && !h && Uu(c)
- ;(f = c),
- d || h || m
- ? lu(l)
- ? (f = l)
- : fu(l)
- ? (f = ia(l))
- : h
- ? ((p = !1), (f = Yo(c, !0)))
- : m
- ? ((p = !1), (f = $o(c, !0)))
- : (f = [])
- : Iu(c) || su(c)
- ? ((f = l), su(l) ? (f = Qu(l)) : (Tu(l) && !xu(l)) || (f = rs(c)))
- : (p = !1)
- }
- p && (s.set(c, f), i(f, c, n, a, s), s["delete"](c)), li(e, r, f)
- }
- }
- function uo(e, t) {
- var r = e.length
- if (r) return (t += t < 0 ? r : 0), as(t, r) ? e[t] : o
- }
- function fo(e, t, r) {
- t = t.length
- ? Cr(t, function (e) {
- return lu(e)
- ? function (t) {
- return Ii(t, 1 === e.length ? e[0] : e)
- }
- : e
- })
- : [Op]
- var n = -1
- t = Cr(t, Kr(Wa()))
- var i = oo(e, function (e, r, i) {
- var o = Cr(t, function (t) {
- return t(e)
- })
- return {
- criteria: o,
- index: ++n,
- value: e
- }
- })
- return Wr(i, function (e, t) {
- return ta(e, t, r)
- })
- }
- function po(e, t) {
- return ho(e, t, function (t, r) {
- return bf(e, r)
- })
- }
- function ho(e, t, r) {
- var n = -1,
- i = t.length,
- o = {}
- while (++n < i) {
- var a = t[n],
- s = Ii(e, a)
- r(s, a) && To(o, Wo(a, e), s)
- }
- return o
- }
- function mo(e) {
- return function (t) {
- return Ii(t, e)
- }
- }
- function go(e, t, r, n) {
- var i = n ? Br : Dr,
- o = -1,
- a = t.length,
- s = e
- e === t && (t = ia(t)), r && (s = Cr(e, Kr(r)))
- while (++o < a) {
- var l = 0,
- c = t[o],
- u = r ? r(c) : c
- while ((l = i(s, u, l, n)) > -1) s !== e && Et.call(s, l, 1), Et.call(e, l, 1)
- }
- return e
- }
- function yo(e, t) {
- var r = e ? t.length : 0,
- n = r - 1
- while (r--) {
- var i = t[r]
- if (r == n || i !== o) {
- var o = i
- as(i) ? Et.call(e, i, 1) : Mo(e, i)
- }
- }
- return e
- }
- function vo(e, t) {
- return e + It(Ht() * (t - e + 1))
- }
- function bo(e, t, n, i) {
- var o = -1,
- a = Ut(Rt((t - e) / (n || 1)), 0),
- s = r(a)
- while (a--) (s[i ? a : ++o] = e), (e += n)
- return s
- }
- function wo(e, t) {
- var r = ""
- if (!e || t < 1 || t > D) return r
- do {
- t % 2 && (r += e), (t = It(t / 2)), t && (e += e)
- } while (t)
- return r
- }
- function xo(e, t) {
- return Ss(ws(e, t, Op), e + "")
- }
- function Ao(e) {
- return oi(qf(e))
- }
- function _o(e, t) {
- var r = qf(e)
- return Ls(r, gi(t, 0, r.length))
- }
- function To(e, t, r, n) {
- if (!Tu(e)) return e
- t = Wo(t, e)
- var i = -1,
- a = t.length,
- s = a - 1,
- l = e
- while (null != l && ++i < a) {
- var c = Os(t[i]),
- u = r
- if ("__proto__" === c || "constructor" === c || "prototype" === c) return e
- if (i != s) {
- var f = l[c]
- ;(u = n ? n(f, c, l) : o), u === o && (u = Tu(f) ? f : as(t[i + 1]) ? [] : {})
- }
- ci(l, c, u), (l = l[c])
- }
- return e
- }
- var Eo = ar
- ? function (e, t) {
- return ar.set(e, t), e
- }
- : Op,
- So = Lt
- ? function (e, t) {
- return Lt(e, "toString", {
- configurable: !0,
- enumerable: !1,
- value: Cp(t),
- writable: !0
- })
- }
- : Op
- function Co(e) {
- return Ls(qf(e))
- }
- function ko(e, t, n) {
- var i = -1,
- o = e.length
- t < 0 && (t = -t > o ? 0 : o + t), (n = n > o ? o : n), n < 0 && (n += o), (o = t > n ? 0 : (n - t) >>> 0), (t >>>= 0)
- var a = r(o)
- while (++i < o) a[i] = e[i + t]
- return a
- }
- function Lo(e, t) {
- var r
- return (
- Ai(e, function (e, n, i) {
- return (r = t(e, n, i)), !r
- }),
- !!r
- )
- }
- function Po(e, t, r) {
- var n = 0,
- i = null == e ? n : e.length
- if ("number" == typeof t && t === t && i <= q) {
- while (n < i) {
- var o = (n + i) >>> 1,
- a = e[o]
- null !== a && !Fu(a) && (r ? a <= t : a < t) ? (n = o + 1) : (i = o)
- }
- return i
- }
- return Oo(e, t, Op, r)
- }
- function Oo(e, t, r, n) {
- var i = 0,
- a = null == e ? 0 : e.length
- if (0 === a) return 0
- t = r(t)
- var s = t !== t,
- l = null === t,
- c = Fu(t),
- u = t === o
- while (i < a) {
- var f = It((i + a) / 2),
- p = r(e[f]),
- d = p !== o,
- h = null === p,
- m = p === p,
- g = Fu(p)
- if (s) var y = n || m
- else y = u ? m && (n || d) : l ? m && d && (n || !h) : c ? m && d && !h && (n || !g) : !h && !g && (n ? p <= t : p < t)
- y ? (i = f + 1) : (a = f)
- }
- return zt(a, z)
- }
- function jo(e, t) {
- var r = -1,
- n = e.length,
- i = 0,
- o = []
- while (++r < n) {
- var a = e[r],
- s = t ? t(a) : a
- if (!r || !iu(s, l)) {
- var l = s
- o[i++] = 0 === a ? 0 : a
- }
- }
- return o
- }
- function Ro(e) {
- return "number" == typeof e ? e : Fu(e) ? F : +e
- }
- function Io(e) {
- if ("string" == typeof e) return e
- if (lu(e)) return Cr(e, Io) + ""
- if (Fu(e)) return wn ? wn.call(e) : ""
- var t = e + ""
- return "0" == t && 1 / e == -M ? "-0" : t
- }
- function No(e, t, r) {
- var n = -1,
- i = Er,
- o = e.length,
- a = !0,
- l = [],
- c = l
- if (r) (a = !1), (i = Sr)
- else if (o >= s) {
- var u = t ? null : La(e)
- if (u) return pn(u)
- ;(a = !1), (i = Qr), (c = new Kn())
- } else c = t ? [] : l
- e: while (++n < o) {
- var f = e[n],
- p = t ? t(f) : f
- if (((f = r || 0 !== f ? f : 0), a && p === p)) {
- var d = c.length
- while (d--) if (c[d] === p) continue e
- t && c.push(p), l.push(f)
- } else i(c, p, r) || (c !== l && c.push(p), l.push(f))
- }
- return l
- }
- function Mo(e, t) {
- return (t = Wo(t, e)), (e = xs(e, t)), null == e || delete e[Os(ol(t))]
- }
- function Do(e, t, r, n) {
- return To(e, t, r(Ii(e, t)), n)
- }
- function Bo(e, t, r, n) {
- var i = e.length,
- o = n ? i : -1
- while ((n ? o-- : ++o < i) && t(e[o], o, e));
- return r ? ko(e, n ? 0 : o, n ? o + 1 : i) : ko(e, n ? o + 1 : 0, n ? i : o)
- }
- function Fo(e, t) {
- var r = e
- return (
- r instanceof Cn && (r = r.value()),
- Lr(
- t,
- function (e, t) {
- return t.func.apply(t.thisArg, kr([e], t.args))
- },
- r
- )
- )
- }
- function Uo(e, t, n) {
- var i = e.length
- if (i < 2) return i ? No(e[0]) : []
- var o = -1,
- a = r(i)
- while (++o < i) {
- var s = e[o],
- l = -1
- while (++l < i) l != o && (a[o] = xi(a[o] || s, e[l], t, n))
- }
- return No(ki(a, 1), t, n)
- }
- function zo(e, t, r) {
- var n = -1,
- i = e.length,
- a = t.length,
- s = {}
- while (++n < i) {
- var l = n < a ? t[n] : o
- r(s, e[n], l)
- }
- return s
- }
- function qo(e) {
- return fu(e) ? e : []
- }
- function Go(e) {
- return "function" == typeof e ? e : Op
- }
- function Wo(e, t) {
- return lu(e) ? e : ls(e, t) ? [e] : Ps($u(e))
- }
- var Vo = xo
- function Ho(e, t, r) {
- var n = e.length
- return (r = r === o ? n : r), !t && r >= n ? e : ko(e, t, r)
- }
- var Xo =
- Pt ||
- function (e) {
- return sr.clearTimeout(e)
- }
- function Yo(e, t) {
- if (t) return e.slice()
- var r = e.length,
- n = xt ? xt(r) : new e.constructor(r)
- return e.copy(n), n
- }
- function Ko(e) {
- var t = new e.constructor(e.byteLength)
- return new wt(t).set(new wt(e)), t
- }
- function Zo(e, t) {
- var r = t ? Ko(e.buffer) : e.buffer
- return new e.constructor(r, e.byteOffset, e.byteLength)
- }
- function Qo(e) {
- var t = new e.constructor(e.source, Xe.exec(e))
- return (t.lastIndex = e.lastIndex), t
- }
- function Jo(e) {
- return hn ? rt(hn.call(e)) : {}
- }
- function $o(e, t) {
- var r = t ? Ko(e.buffer) : e.buffer
- return new e.constructor(r, e.byteOffset, e.length)
- }
- function ea(e, t) {
- if (e !== t) {
- var r = e !== o,
- n = null === e,
- i = e === e,
- a = Fu(e),
- s = t !== o,
- l = null === t,
- c = t === t,
- u = Fu(t)
- if ((!l && !u && !a && e > t) || (a && s && c && !l && !u) || (n && s && c) || (!r && c) || !i) return 1
- if ((!n && !a && !u && e < t) || (u && r && i && !n && !a) || (l && r && i) || (!s && i) || !c) return -1
- }
- return 0
- }
- function ta(e, t, r) {
- var n = -1,
- i = e.criteria,
- o = t.criteria,
- a = i.length,
- s = r.length
- while (++n < a) {
- var l = ea(i[n], o[n])
- if (l) {
- if (n >= s) return l
- var c = r[n]
- return l * ("desc" == c ? -1 : 1)
- }
- }
- return e.index - t.index
- }
- function ra(e, t, n, i) {
- var o = -1,
- a = e.length,
- s = n.length,
- l = -1,
- c = t.length,
- u = Ut(a - s, 0),
- f = r(c + u),
- p = !i
- while (++l < c) f[l] = t[l]
- while (++o < s) (p || o < a) && (f[n[o]] = e[o])
- while (u--) f[l++] = e[o++]
- return f
- }
- function na(e, t, n, i) {
- var o = -1,
- a = e.length,
- s = -1,
- l = n.length,
- c = -1,
- u = t.length,
- f = Ut(a - l, 0),
- p = r(f + u),
- d = !i
- while (++o < f) p[o] = e[o]
- var h = o
- while (++c < u) p[h + c] = t[c]
- while (++s < l) (d || o < a) && (p[h + n[s]] = e[o++])
- return p
- }
- function ia(e, t) {
- var n = -1,
- i = e.length
- t || (t = r(i))
- while (++n < i) t[n] = e[n]
- return t
- }
- function oa(e, t, r, n) {
- var i = !r
- r || (r = {})
- var a = -1,
- s = t.length
- while (++a < s) {
- var l = t[a],
- c = n ? n(r[l], e[l], l, r, e) : o
- c === o && (c = e[l]), i ? hi(r, l, c) : ci(r, l, c)
- }
- return r
- }
- function aa(e, t) {
- return oa(e, Ka(e), t)
- }
- function sa(e, t) {
- return oa(e, Za(e), t)
- }
- function la(e, t) {
- return function (r, n) {
- var i = lu(r) ? wr : fi,
- o = t ? t() : {}
- return i(r, e, Wa(n, 2), o)
- }
- }
- function ca(e) {
- return xo(function (t, r) {
- var n = -1,
- i = r.length,
- a = i > 1 ? r[i - 1] : o,
- s = i > 2 ? r[2] : o
- ;(a = e.length > 3 && "function" == typeof a ? (i--, a) : o),
- s && ss(r[0], r[1], s) && ((a = i < 3 ? o : a), (i = 1)),
- (t = rt(t))
- while (++n < i) {
- var l = r[n]
- l && e(t, l, n, a)
- }
- return t
- })
- }
- function ua(e, t) {
- return function (r, n) {
- if (null == r) return r
- if (!uu(r)) return e(r, n)
- var i = r.length,
- o = t ? i : -1,
- a = rt(r)
- while (t ? o-- : ++o < i) if (!1 === n(a[o], o, a)) break
- return r
- }
- }
- function fa(e) {
- return function (t, r, n) {
- var i = -1,
- o = rt(t),
- a = n(t),
- s = a.length
- while (s--) {
- var l = a[e ? s : ++i]
- if (!1 === r(o[l], l, o)) break
- }
- return t
- }
- }
- function pa(e, t, r) {
- var n = t & b,
- i = ma(e)
- function o() {
- var t = this && this !== sr && this instanceof o ? i : e
- return t.apply(n ? r : this, arguments)
- }
- return o
- }
- function da(e) {
- return function (t) {
- t = $u(t)
- var r = an(t) ? yn(t) : o,
- n = r ? r[0] : t.charAt(0),
- i = r ? Ho(r, 1).join("") : t.slice(1)
- return n[e]() + i
- }
- }
- function ha(e) {
- return function (t) {
- return Lr(Ap(Kf(t).replace(Gt, "")), e, "")
- }
- }
- function ma(e) {
- return function () {
- var t = arguments
- switch (t.length) {
- case 0:
- return new e()
- case 1:
- return new e(t[0])
- case 2:
- return new e(t[0], t[1])
- case 3:
- return new e(t[0], t[1], t[2])
- case 4:
- return new e(t[0], t[1], t[2], t[3])
- case 5:
- return new e(t[0], t[1], t[2], t[3], t[4])
- case 6:
- return new e(t[0], t[1], t[2], t[3], t[4], t[5])
- case 7:
- return new e(t[0], t[1], t[2], t[3], t[4], t[5], t[6])
- }
- var r = _n(e.prototype),
- n = e.apply(r, t)
- return Tu(n) ? n : r
- }
- }
- function ga(e, t, n) {
- var i = ma(e)
- function a() {
- var s = arguments.length,
- l = r(s),
- c = s,
- u = Ga(a)
- while (c--) l[c] = arguments[c]
- var f = s < 3 && l[0] !== u && l[s - 1] !== u ? [] : fn(l, u)
- if (((s -= f.length), s < n)) return Ca(e, t, ba, a.placeholder, o, l, f, o, o, n - s)
- var p = this && this !== sr && this instanceof a ? i : e
- return br(p, this, l)
- }
- return a
- }
- function ya(e) {
- return function (t, r, n) {
- var i = rt(t)
- if (!uu(t)) {
- var a = Wa(r, 3)
- ;(t = _f(t)),
- (r = function (e) {
- return a(i[e], e, i)
- })
- }
- var s = e(t, r, n)
- return s > -1 ? i[a ? t[s] : s] : o
- }
- }
- function va(e) {
- return Ba(function (t) {
- var r = t.length,
- n = r,
- i = Sn.prototype.thru
- e && t.reverse()
- while (n--) {
- var a = t[n]
- if ("function" != typeof a) throw new ot(c)
- if (i && !s && "wrapper" == qa(a)) var s = new Sn([], !0)
- }
- n = s ? n : r
- while (++n < r) {
- a = t[n]
- var l = qa(a),
- u = "wrapper" == l ? za(a) : o
- s =
- u && us(u[0]) && u[1] == (S | A | T | C) && !u[4].length && 1 == u[9]
- ? s[qa(u[0])].apply(s, u[3])
- : 1 == a.length && us(a)
- ? s[l]()
- : s.thru(a)
- }
- return function () {
- var e = arguments,
- n = e[0]
- if (s && 1 == e.length && lu(n)) return s.plant(n).value()
- var i = 0,
- o = r ? t[i].apply(this, e) : n
- while (++i < r) o = t[i].call(this, o)
- return o
- }
- })
- }
- function ba(e, t, n, i, a, s, l, c, u, f) {
- var p = t & S,
- d = t & b,
- h = t & w,
- m = t & (A | _),
- g = t & k,
- y = h ? o : ma(e)
- function v() {
- var o = arguments.length,
- b = r(o),
- w = o
- while (w--) b[w] = arguments[w]
- if (m)
- var x = Ga(v),
- A = en(b, x)
- if ((i && (b = ra(b, i, a, m)), s && (b = na(b, s, l, m)), (o -= A), m && o < f)) {
- var _ = fn(b, x)
- return Ca(e, t, ba, v.placeholder, n, b, _, c, u, f - o)
- }
- var T = d ? n : this,
- E = h ? T[e] : e
- return (
- (o = b.length),
- c ? (b = As(b, c)) : g && o > 1 && b.reverse(),
- p && u < o && (b.length = u),
- this && this !== sr && this instanceof v && (E = y || ma(E)),
- E.apply(T, b)
- )
- }
- return v
- }
- function wa(e, t) {
- return function (r, n) {
- return qi(r, e, t(n), {})
- }
- }
- function xa(e, t) {
- return function (r, n) {
- var i
- if (r === o && n === o) return t
- if ((r !== o && (i = r), n !== o)) {
- if (i === o) return n
- "string" == typeof r || "string" == typeof n ? ((r = Io(r)), (n = Io(n))) : ((r = Ro(r)), (n = Ro(n))), (i = e(r, n))
- }
- return i
- }
- }
- function Aa(e) {
- return Ba(function (t) {
- return (
- (t = Cr(t, Kr(Wa()))),
- xo(function (r) {
- var n = this
- return e(t, function (e) {
- return br(e, n, r)
- })
- })
- )
- })
- }
- function _a(e, t) {
- t = t === o ? " " : Io(t)
- var r = t.length
- if (r < 2) return r ? wo(t, e) : t
- var n = wo(t, Rt(e / gn(t)))
- return an(t) ? Ho(yn(n), 0, e).join("") : n.slice(0, e)
- }
- function Ta(e, t, n, i) {
- var o = t & b,
- a = ma(e)
- function s() {
- var t = -1,
- l = arguments.length,
- c = -1,
- u = i.length,
- f = r(u + l),
- p = this && this !== sr && this instanceof s ? a : e
- while (++c < u) f[c] = i[c]
- while (l--) f[c++] = arguments[++t]
- return br(p, o ? n : this, f)
- }
- return s
- }
- function Ea(e) {
- return function (t, r, n) {
- return (
- n && "number" != typeof n && ss(t, r, n) && (r = n = o),
- (t = Xu(t)),
- r === o ? ((r = t), (t = 0)) : (r = Xu(r)),
- (n = n === o ? (t < r ? 1 : -1) : Xu(n)),
- bo(t, r, n, e)
- )
- }
- }
- function Sa(e) {
- return function (t, r) {
- return ("string" == typeof t && "string" == typeof r) || ((t = Zu(t)), (r = Zu(r))), e(t, r)
- }
- }
- function Ca(e, t, r, n, i, a, s, l, c, u) {
- var f = t & A,
- p = f ? s : o,
- d = f ? o : s,
- h = f ? a : o,
- m = f ? o : a
- ;(t |= f ? T : E), (t &= ~(f ? E : T)), t & x || (t &= ~(b | w))
- var g = [e, t, i, h, p, m, d, l, c, u],
- y = r.apply(o, g)
- return us(e) && Ts(y, g), (y.placeholder = n), Cs(y, e, t)
- }
- function ka(e) {
- var t = Ge[e]
- return function (e, r) {
- if (((e = Zu(e)), (r = null == r ? 0 : zt(Yu(r), 292)), r && Dt(e))) {
- var n = ($u(e) + "e").split("e"),
- i = t(n[0] + "e" + (+n[1] + r))
- return (n = ($u(i) + "e").split("e")), +(n[0] + "e" + (+n[1] - r))
- }
- return t(e)
- }
- }
- var La =
- tr && 1 / pn(new tr([, -0]))[1] == M
- ? function (e) {
- return new tr(e)
- }
- : Fp
- function Pa(e) {
- return function (t) {
- var r = Qa(t)
- return r == $ ? cn(t) : r == ae ? dn(t) : Xr(t, e(t))
- }
- }
- function Oa(e, t, r, n, i, a, s, l) {
- var u = t & w
- if (!u && "function" != typeof e) throw new ot(c)
- var f = n ? n.length : 0
- if (
- (f || ((t &= ~(T | E)), (n = i = o)),
- (s = s === o ? s : Ut(Yu(s), 0)),
- (l = l === o ? l : Yu(l)),
- (f -= i ? i.length : 0),
- t & E)
- ) {
- var p = n,
- d = i
- n = i = o
- }
- var h = u ? o : za(e),
- m = [e, t, r, n, i, p, d, a, s, l]
- if (
- (h && ys(m, h),
- (e = m[0]),
- (t = m[1]),
- (r = m[2]),
- (n = m[3]),
- (i = m[4]),
- (l = m[9] = m[9] === o ? (u ? 0 : e.length) : Ut(m[9] - f, 0)),
- !l && t & (A | _) && (t &= ~(A | _)),
- t && t != b)
- )
- g = t == A || t == _ ? ga(e, t, l) : (t != T && t != (b | T)) || i.length ? ba.apply(o, m) : Ta(e, t, r, n)
- else var g = pa(e, t, r)
- var y = h ? Eo : Ts
- return Cs(y(g, m), e, t)
- }
- function ja(e, t, r, n) {
- return e === o || (iu(e, lt[r]) && !ft.call(n, r)) ? t : e
- }
- function Ra(e, t, r, n, i, a) {
- return Tu(e) && Tu(t) && (a.set(t, e), lo(e, t, o, Ra, a), a["delete"](t)), e
- }
- function Ia(e) {
- return Iu(e) ? o : e
- }
- function Na(e, t, r, n, i, a) {
- var s = r & y,
- l = e.length,
- c = t.length
- if (l != c && !(s && c > l)) return !1
- var u = a.get(e),
- f = a.get(t)
- if (u && f) return u == t && f == e
- var p = -1,
- d = !0,
- h = r & v ? new Kn() : o
- a.set(e, t), a.set(t, e)
- while (++p < l) {
- var m = e[p],
- g = t[p]
- if (n) var b = s ? n(g, m, p, t, e, a) : n(m, g, p, e, t, a)
- if (b !== o) {
- if (b) continue
- d = !1
- break
- }
- if (h) {
- if (
- !Or(t, function (e, t) {
- if (!Qr(h, t) && (m === e || i(m, e, r, n, a))) return h.push(t)
- })
- ) {
- d = !1
- break
- }
- } else if (m !== g && !i(m, g, r, n, a)) {
- d = !1
- break
- }
- }
- return a["delete"](e), a["delete"](t), d
- }
- function Ma(e, t, r, n, i, o, a) {
- switch (r) {
- case de:
- if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1
- ;(e = e.buffer), (t = t.buffer)
- case pe:
- return !(e.byteLength != t.byteLength || !o(new wt(e), new wt(t)))
- case X:
- case Y:
- case ee:
- return iu(+e, +t)
- case Z:
- return e.name == t.name && e.message == t.message
- case oe:
- case se:
- return e == t + ""
- case $:
- var s = cn
- case ae:
- var l = n & y
- if ((s || (s = pn), e.size != t.size && !l)) return !1
- var c = a.get(e)
- if (c) return c == t
- ;(n |= v), a.set(e, t)
- var u = Na(s(e), s(t), n, i, o, a)
- return a["delete"](e), u
- case le:
- if (hn) return hn.call(e) == hn.call(t)
- }
- return !1
- }
- function Da(e, t, r, n, i, a) {
- var s = r & y,
- l = Fa(e),
- c = l.length,
- u = Fa(t),
- f = u.length
- if (c != f && !s) return !1
- var p = c
- while (p--) {
- var d = l[p]
- if (!(s ? d in t : ft.call(t, d))) return !1
- }
- var h = a.get(e),
- m = a.get(t)
- if (h && m) return h == t && m == e
- var g = !0
- a.set(e, t), a.set(t, e)
- var v = s
- while (++p < c) {
- d = l[p]
- var b = e[d],
- w = t[d]
- if (n) var x = s ? n(w, b, d, t, e, a) : n(b, w, d, e, t, a)
- if (!(x === o ? b === w || i(b, w, r, n, a) : x)) {
- g = !1
- break
- }
- v || (v = "constructor" == d)
- }
- if (g && !v) {
- var A = e.constructor,
- _ = t.constructor
- A == _ ||
- !("constructor" in e) ||
- !("constructor" in t) ||
- ("function" == typeof A && A instanceof A && "function" == typeof _ && _ instanceof _) ||
- (g = !1)
- }
- return a["delete"](e), a["delete"](t), g
- }
- function Ba(e) {
- return Ss(ws(e, o, Ys), e + "")
- }
- function Fa(e) {
- return Ni(e, _f, Ka)
- }
- function Ua(e) {
- return Ni(e, Tf, Za)
- }
- var za = ar
- ? function (e) {
- return ar.get(e)
- }
- : Fp
- function qa(e) {
- var t = e.name + "",
- r = lr[t],
- n = ft.call(lr, t) ? r.length : 0
- while (n--) {
- var i = r[n],
- o = i.func
- if (null == o || o == e) return i.name
- }
- return t
- }
- function Ga(e) {
- var t = ft.call(xn, "placeholder") ? xn : e
- return t.placeholder
- }
- function Wa() {
- var e = xn.iteratee || jp
- return (e = e === jp ? to : e), arguments.length ? e(arguments[0], arguments[1]) : e
- }
- function Va(e, t) {
- var r = e.__data__
- return cs(t) ? r["string" == typeof t ? "string" : "hash"] : r.map
- }
- function Ha(e) {
- var t = _f(e),
- r = t.length
- while (r--) {
- var n = t[r],
- i = e[n]
- t[r] = [n, i, hs(i)]
- }
- return t
- }
- function Xa(e, t) {
- var r = on(e, t)
- return Qi(r) ? r : o
- }
- function Ya(e) {
- var t = ft.call(e, kt),
- r = e[kt]
- try {
- e[kt] = o
- var n = !0
- } catch (a) {}
- var i = ht.call(e)
- return n && (t ? (e[kt] = r) : delete e[kt]), i
- }
- var Ka = Nt
- ? function (e) {
- return null == e
- ? []
- : ((e = rt(e)),
- Tr(Nt(e), function (t) {
- return Tt.call(e, t)
- }))
- }
- : Yp,
- Za = Nt
- ? function (e) {
- var t = []
- while (e) kr(t, Ka(e)), (e = At(e))
- return t
- }
- : Yp,
- Qa = Mi
- function Ja(e, t, r) {
- var n = -1,
- i = r.length
- while (++n < i) {
- var o = r[n],
- a = o.size
- switch (o.type) {
- case "drop":
- e += a
- break
- case "dropRight":
- t -= a
- break
- case "take":
- t = zt(t, e + a)
- break
- case "takeRight":
- e = Ut(e, t - a)
- break
- }
- }
- return {
- start: e,
- end: t
- }
- }
- function $a(e) {
- var t = e.match(ze)
- return t ? t[1].split(qe) : []
- }
- function es(e, t, r) {
- t = Wo(t, e)
- var n = -1,
- i = t.length,
- o = !1
- while (++n < i) {
- var a = Os(t[n])
- if (!(o = null != e && r(e, a))) break
- e = e[a]
- }
- return o || ++n != i ? o : ((i = null == e ? 0 : e.length), !!i && _u(i) && as(a, i) && (lu(e) || su(e)))
- }
- function ts(e) {
- var t = e.length,
- r = new e.constructor(t)
- return t && "string" == typeof e[0] && ft.call(e, "index") && ((r.index = e.index), (r.input = e.input)), r
- }
- function rs(e) {
- return "function" != typeof e.constructor || ds(e) ? {} : _n(At(e))
- }
- function ns(e, t, r) {
- var n = e.constructor
- switch (t) {
- case pe:
- return Ko(e)
- case X:
- case Y:
- return new n(+e)
- case de:
- return Zo(e, r)
- case he:
- case me:
- case ge:
- case ye:
- case ve:
- case be:
- case we:
- case xe:
- case Ae:
- return $o(e, r)
- case $:
- return new n()
- case ee:
- case se:
- return new n(e)
- case oe:
- return Qo(e)
- case ae:
- return new n()
- case le:
- return Jo(e)
- }
- }
- function is(e, t) {
- var r = t.length
- if (!r) return e
- var n = r - 1
- return (
- (t[n] = (r > 1 ? "& " : "") + t[n]), (t = t.join(r > 2 ? ", " : " ")), e.replace(Ue, "{\n/* [wrapped with " + t + "] */\n")
- )
- }
- function os(e) {
- return lu(e) || su(e) || !!(St && e && e[St])
- }
- function as(e, t) {
- var r = typeof e
- return (t = null == t ? D : t), !!t && ("number" == r || ("symbol" != r && Je.test(e))) && e > -1 && e % 1 == 0 && e < t
- }
- function ss(e, t, r) {
- if (!Tu(r)) return !1
- var n = typeof t
- return !!("number" == n ? uu(r) && as(t, r.length) : "string" == n && t in r) && iu(r[t], e)
- }
- function ls(e, t) {
- if (lu(e)) return !1
- var r = typeof e
- return (
- !("number" != r && "symbol" != r && "boolean" != r && null != e && !Fu(e)) ||
- Ie.test(e) ||
- !Re.test(e) ||
- (null != t && e in rt(t))
- )
- }
- function cs(e) {
- var t = typeof e
- return "string" == t || "number" == t || "symbol" == t || "boolean" == t ? "__proto__" !== e : null === e
- }
- function us(e) {
- var t = qa(e),
- r = xn[t]
- if ("function" != typeof r || !(t in Cn.prototype)) return !1
- if (e === r) return !0
- var n = za(r)
- return !!n && e === n[0]
- }
- function fs(e) {
- return !!dt && dt in e
- }
- ;((Yt && Qa(new Yt(new ArrayBuffer(1))) != de) ||
- ($t && Qa(new $t()) != $) ||
- (er && Qa(er.resolve()) != ne) ||
- (tr && Qa(new tr()) != ae) ||
- (rr && Qa(new rr()) != ue)) &&
- (Qa = function (e) {
- var t = Mi(e),
- r = t == re ? e.constructor : o,
- n = r ? js(r) : ""
- if (n)
- switch (n) {
- case cr:
- return de
- case fr:
- return $
- case pr:
- return ne
- case jr:
- return ae
- case Rr:
- return ue
- }
- return t
- })
- var ps = ct ? xu : Kp
- function ds(e) {
- var t = e && e.constructor,
- r = ("function" == typeof t && t.prototype) || lt
- return e === r
- }
- function hs(e) {
- return e === e && !Tu(e)
- }
- function ms(e, t) {
- return function (r) {
- return null != r && r[e] === t && (t !== o || e in rt(r))
- }
- }
- function gs(e) {
- var t = Uc(e, function (e) {
- return r.size === p && r.clear(), e
- }),
- r = t.cache
- return t
- }
- function ys(e, t) {
- var r = e[1],
- n = t[1],
- i = r | n,
- o = i < (b | w | S),
- a = (n == S && r == A) || (n == S && r == C && e[7].length <= t[8]) || (n == (S | C) && t[7].length <= t[8] && r == A)
- if (!o && !a) return e
- n & b && ((e[2] = t[2]), (i |= r & b ? 0 : x))
- var s = t[3]
- if (s) {
- var l = e[3]
- ;(e[3] = l ? ra(l, s, t[4]) : s), (e[4] = l ? fn(e[3], d) : t[4])
- }
- return (
- (s = t[5]),
- s && ((l = e[5]), (e[5] = l ? na(l, s, t[6]) : s), (e[6] = l ? fn(e[5], d) : t[6])),
- (s = t[7]),
- s && (e[7] = s),
- n & S && (e[8] = null == e[8] ? t[8] : zt(e[8], t[8])),
- null == e[9] && (e[9] = t[9]),
- (e[0] = t[0]),
- (e[1] = i),
- e
- )
- }
- function vs(e) {
- var t = []
- if (null != e) for (var r in rt(e)) t.push(r)
- return t
- }
- function bs(e) {
- return ht.call(e)
- }
- function ws(e, t, n) {
- return (
- (t = Ut(t === o ? e.length - 1 : t, 0)),
- function () {
- var i = arguments,
- o = -1,
- a = Ut(i.length - t, 0),
- s = r(a)
- while (++o < a) s[o] = i[t + o]
- o = -1
- var l = r(t + 1)
- while (++o < t) l[o] = i[o]
- return (l[t] = n(s)), br(e, this, l)
- }
- )
- }
- function xs(e, t) {
- return t.length < 2 ? e : Ii(e, ko(t, 0, -1))
- }
- function As(e, t) {
- var r = e.length,
- n = zt(t.length, r),
- i = ia(e)
- while (n--) {
- var a = t[n]
- e[n] = as(a, r) ? i[a] : o
- }
- return e
- }
- function _s(e, t) {
- if (("constructor" !== t || "function" !== typeof e[t]) && "__proto__" != t) return e[t]
- }
- var Ts = ks(Eo),
- Es =
- jt ||
- function (e, t) {
- return sr.setTimeout(e, t)
- },
- Ss = ks(So)
- function Cs(e, t, r) {
- var n = t + ""
- return Ss(e, is(n, Rs($a(n), r)))
- }
- function ks(e) {
- var t = 0,
- r = 0
- return function () {
- var n = qt(),
- i = j - (n - r)
- if (((r = n), i > 0)) {
- if (++t >= O) return arguments[0]
- } else t = 0
- return e.apply(o, arguments)
- }
- }
- function Ls(e, t) {
- var r = -1,
- n = e.length,
- i = n - 1
- t = t === o ? n : t
- while (++r < t) {
- var a = vo(r, i),
- s = e[a]
- ;(e[a] = e[r]), (e[r] = s)
- }
- return (e.length = t), e
- }
- var Ps = gs(function (e) {
- var t = []
- return (
- 46 === e.charCodeAt(0) && t.push(""),
- e.replace(Ne, function (e, r, n, i) {
- t.push(n ? i.replace(Ve, "$1") : r || e)
- }),
- t
- )
- })
- function Os(e) {
- if ("string" == typeof e || Fu(e)) return e
- var t = e + ""
- return "0" == t && 1 / e == -M ? "-0" : t
- }
- function js(e) {
- if (null != e) {
- try {
- return ut.call(e)
- } catch (t) {}
- try {
- return e + ""
- } catch (t) {}
- }
- return ""
- }
- function Rs(e, t) {
- return (
- xr(G, function (r) {
- var n = "_." + r[0]
- t & r[1] && !Er(e, n) && e.push(n)
- }),
- e.sort()
- )
- }
- function Is(e) {
- if (e instanceof Cn) return e.clone()
- var t = new Sn(e.__wrapped__, e.__chain__)
- return (t.__actions__ = ia(e.__actions__)), (t.__index__ = e.__index__), (t.__values__ = e.__values__), t
- }
- function Ns(e, t, n) {
- t = (n ? ss(e, t, n) : t === o) ? 1 : Ut(Yu(t), 0)
- var i = null == e ? 0 : e.length
- if (!i || t < 1) return []
- var a = 0,
- s = 0,
- l = r(Rt(i / t))
- while (a < i) l[s++] = ko(e, a, (a += t))
- return l
- }
- function Ms(e) {
- var t = -1,
- r = null == e ? 0 : e.length,
- n = 0,
- i = []
- while (++t < r) {
- var o = e[t]
- o && (i[n++] = o)
- }
- return i
- }
- function Ds() {
- var e = arguments.length
- if (!e) return []
- var t = r(e - 1),
- n = arguments[0],
- i = e
- while (i--) t[i - 1] = arguments[i]
- return kr(lu(n) ? ia(n) : [n], ki(t, 1))
- }
- var Bs = xo(function (e, t) {
- return fu(e) ? xi(e, ki(t, 1, fu, !0)) : []
- }),
- Fs = xo(function (e, t) {
- var r = ol(t)
- return fu(r) && (r = o), fu(e) ? xi(e, ki(t, 1, fu, !0), Wa(r, 2)) : []
- }),
- Us = xo(function (e, t) {
- var r = ol(t)
- return fu(r) && (r = o), fu(e) ? xi(e, ki(t, 1, fu, !0), o, r) : []
- })
- function zs(e, t, r) {
- var n = null == e ? 0 : e.length
- return n ? ((t = r || t === o ? 1 : Yu(t)), ko(e, t < 0 ? 0 : t, n)) : []
- }
- function qs(e, t, r) {
- var n = null == e ? 0 : e.length
- return n ? ((t = r || t === o ? 1 : Yu(t)), (t = n - t), ko(e, 0, t < 0 ? 0 : t)) : []
- }
- function Gs(e, t) {
- return e && e.length ? Bo(e, Wa(t, 3), !0, !0) : []
- }
- function Ws(e, t) {
- return e && e.length ? Bo(e, Wa(t, 3), !0) : []
- }
- function Vs(e, t, r, n) {
- var i = null == e ? 0 : e.length
- return i ? (r && "number" != typeof r && ss(e, t, r) && ((r = 0), (n = i)), Si(e, t, r, n)) : []
- }
- function Hs(e, t, r) {
- var n = null == e ? 0 : e.length
- if (!n) return -1
- var i = null == r ? 0 : Yu(r)
- return i < 0 && (i = Ut(n + i, 0)), Mr(e, Wa(t, 3), i)
- }
- function Xs(e, t, r) {
- var n = null == e ? 0 : e.length
- if (!n) return -1
- var i = n - 1
- return r !== o && ((i = Yu(r)), (i = r < 0 ? Ut(n + i, 0) : zt(i, n - 1))), Mr(e, Wa(t, 3), i, !0)
- }
- function Ys(e) {
- var t = null == e ? 0 : e.length
- return t ? ki(e, 1) : []
- }
- function Ks(e) {
- var t = null == e ? 0 : e.length
- return t ? ki(e, M) : []
- }
- function Zs(e, t) {
- var r = null == e ? 0 : e.length
- return r ? ((t = t === o ? 1 : Yu(t)), ki(e, t)) : []
- }
- function Qs(e) {
- var t = -1,
- r = null == e ? 0 : e.length,
- n = {}
- while (++t < r) {
- var i = e[t]
- n[i[0]] = i[1]
- }
- return n
- }
- function Js(e) {
- return e && e.length ? e[0] : o
- }
- function $s(e, t, r) {
- var n = null == e ? 0 : e.length
- if (!n) return -1
- var i = null == r ? 0 : Yu(r)
- return i < 0 && (i = Ut(n + i, 0)), Dr(e, t, i)
- }
- function el(e) {
- var t = null == e ? 0 : e.length
- return t ? ko(e, 0, -1) : []
- }
- var tl = xo(function (e) {
- var t = Cr(e, qo)
- return t.length && t[0] === e[0] ? zi(t) : []
- }),
- rl = xo(function (e) {
- var t = ol(e),
- r = Cr(e, qo)
- return t === ol(r) ? (t = o) : r.pop(), r.length && r[0] === e[0] ? zi(r, Wa(t, 2)) : []
- }),
- nl = xo(function (e) {
- var t = ol(e),
- r = Cr(e, qo)
- return (t = "function" == typeof t ? t : o), t && r.pop(), r.length && r[0] === e[0] ? zi(r, o, t) : []
- })
- function il(e, t) {
- return null == e ? "" : Bt.call(e, t)
- }
- function ol(e) {
- var t = null == e ? 0 : e.length
- return t ? e[t - 1] : o
- }
- function al(e, t, r) {
- var n = null == e ? 0 : e.length
- if (!n) return -1
- var i = n
- return r !== o && ((i = Yu(r)), (i = i < 0 ? Ut(n + i, 0) : zt(i, n - 1))), t === t ? mn(e, t, i) : Mr(e, Fr, i, !0)
- }
- function sl(e, t) {
- return e && e.length ? uo(e, Yu(t)) : o
- }
- var ll = xo(cl)
- function cl(e, t) {
- return e && e.length && t && t.length ? go(e, t) : e
- }
- function ul(e, t, r) {
- return e && e.length && t && t.length ? go(e, t, Wa(r, 2)) : e
- }
- function fl(e, t, r) {
- return e && e.length && t && t.length ? go(e, t, o, r) : e
- }
- var pl = Ba(function (e, t) {
- var r = null == e ? 0 : e.length,
- n = mi(e, t)
- return (
- yo(
- e,
- Cr(t, function (e) {
- return as(e, r) ? +e : e
- }).sort(ea)
- ),
- n
- )
- })
- function dl(e, t) {
- var r = []
- if (!e || !e.length) return r
- var n = -1,
- i = [],
- o = e.length
- t = Wa(t, 3)
- while (++n < o) {
- var a = e[n]
- t(a, n, e) && (r.push(a), i.push(n))
- }
- return yo(e, i), r
- }
- function hl(e) {
- return null == e ? e : Xt.call(e)
- }
- function ml(e, t, r) {
- var n = null == e ? 0 : e.length
- return n
- ? (r && "number" != typeof r && ss(e, t, r) ? ((t = 0), (r = n)) : ((t = null == t ? 0 : Yu(t)), (r = r === o ? n : Yu(r))),
- ko(e, t, r))
- : []
- }
- function gl(e, t) {
- return Po(e, t)
- }
- function yl(e, t, r) {
- return Oo(e, t, Wa(r, 2))
- }
- function vl(e, t) {
- var r = null == e ? 0 : e.length
- if (r) {
- var n = Po(e, t)
- if (n < r && iu(e[n], t)) return n
- }
- return -1
- }
- function bl(e, t) {
- return Po(e, t, !0)
- }
- function wl(e, t, r) {
- return Oo(e, t, Wa(r, 2), !0)
- }
- function xl(e, t) {
- var r = null == e ? 0 : e.length
- if (r) {
- var n = Po(e, t, !0) - 1
- if (iu(e[n], t)) return n
- }
- return -1
- }
- function Al(e) {
- return e && e.length ? jo(e) : []
- }
- function _l(e, t) {
- return e && e.length ? jo(e, Wa(t, 2)) : []
- }
- function Tl(e) {
- var t = null == e ? 0 : e.length
- return t ? ko(e, 1, t) : []
- }
- function El(e, t, r) {
- return e && e.length ? ((t = r || t === o ? 1 : Yu(t)), ko(e, 0, t < 0 ? 0 : t)) : []
- }
- function Sl(e, t, r) {
- var n = null == e ? 0 : e.length
- return n ? ((t = r || t === o ? 1 : Yu(t)), (t = n - t), ko(e, t < 0 ? 0 : t, n)) : []
- }
- function Cl(e, t) {
- return e && e.length ? Bo(e, Wa(t, 3), !1, !0) : []
- }
- function kl(e, t) {
- return e && e.length ? Bo(e, Wa(t, 3)) : []
- }
- var Ll = xo(function (e) {
- return No(ki(e, 1, fu, !0))
- }),
- Pl = xo(function (e) {
- var t = ol(e)
- return fu(t) && (t = o), No(ki(e, 1, fu, !0), Wa(t, 2))
- }),
- Ol = xo(function (e) {
- var t = ol(e)
- return (t = "function" == typeof t ? t : o), No(ki(e, 1, fu, !0), o, t)
- })
- function jl(e) {
- return e && e.length ? No(e) : []
- }
- function Rl(e, t) {
- return e && e.length ? No(e, Wa(t, 2)) : []
- }
- function Il(e, t) {
- return (t = "function" == typeof t ? t : o), e && e.length ? No(e, o, t) : []
- }
- function Nl(e) {
- if (!e || !e.length) return []
- var t = 0
- return (
- (e = Tr(e, function (e) {
- if (fu(e)) return (t = Ut(e.length, t)), !0
- })),
- Hr(t, function (t) {
- return Cr(e, zr(t))
- })
- )
- }
- function Ml(e, t) {
- if (!e || !e.length) return []
- var r = Nl(e)
- return null == t
- ? r
- : Cr(r, function (e) {
- return br(t, o, e)
- })
- }
- var Dl = xo(function (e, t) {
- return fu(e) ? xi(e, t) : []
- }),
- Bl = xo(function (e) {
- return Uo(Tr(e, fu))
- }),
- Fl = xo(function (e) {
- var t = ol(e)
- return fu(t) && (t = o), Uo(Tr(e, fu), Wa(t, 2))
- }),
- Ul = xo(function (e) {
- var t = ol(e)
- return (t = "function" == typeof t ? t : o), Uo(Tr(e, fu), o, t)
- }),
- zl = xo(Nl)
- function ql(e, t) {
- return zo(e || [], t || [], ci)
- }
- function Gl(e, t) {
- return zo(e || [], t || [], To)
- }
- var Wl = xo(function (e) {
- var t = e.length,
- r = t > 1 ? e[t - 1] : o
- return (r = "function" == typeof r ? (e.pop(), r) : o), Ml(e, r)
- })
- function Vl(e) {
- var t = xn(e)
- return (t.__chain__ = !0), t
- }
- function Hl(e, t) {
- return t(e), e
- }
- function Xl(e, t) {
- return t(e)
- }
- var Yl = Ba(function (e) {
- var t = e.length,
- r = t ? e[0] : 0,
- n = this.__wrapped__,
- i = function (t) {
- return mi(t, e)
- }
- return !(t > 1 || this.__actions__.length) && n instanceof Cn && as(r)
- ? ((n = n.slice(r, +r + (t ? 1 : 0))),
- n.__actions__.push({
- func: Xl,
- args: [i],
- thisArg: o
- }),
- new Sn(n, this.__chain__).thru(function (e) {
- return t && !e.length && e.push(o), e
- }))
- : this.thru(i)
- })
- function Kl() {
- return Vl(this)
- }
- function Zl() {
- return new Sn(this.value(), this.__chain__)
- }
- function Ql() {
- this.__values__ === o && (this.__values__ = Hu(this.value()))
- var e = this.__index__ >= this.__values__.length,
- t = e ? o : this.__values__[this.__index__++]
- return {
- done: e,
- value: t
- }
- }
- function Jl() {
- return this
- }
- function $l(e) {
- var t,
- r = this
- while (r instanceof En) {
- var n = Is(r)
- ;(n.__index__ = 0), (n.__values__ = o), t ? (i.__wrapped__ = n) : (t = n)
- var i = n
- r = r.__wrapped__
- }
- return (i.__wrapped__ = e), t
- }
- function ec() {
- var e = this.__wrapped__
- if (e instanceof Cn) {
- var t = e
- return (
- this.__actions__.length && (t = new Cn(this)),
- (t = t.reverse()),
- t.__actions__.push({
- func: Xl,
- args: [hl],
- thisArg: o
- }),
- new Sn(t, this.__chain__)
- )
- }
- return this.thru(hl)
- }
- function tc() {
- return Fo(this.__wrapped__, this.__actions__)
- }
- var rc = la(function (e, t, r) {
- ft.call(e, r) ? ++e[r] : hi(e, r, 1)
- })
- function nc(e, t, r) {
- var n = lu(e) ? _r : Ti
- return r && ss(e, t, r) && (t = o), n(e, Wa(t, 3))
- }
- function ic(e, t) {
- var r = lu(e) ? Tr : Ci
- return r(e, Wa(t, 3))
- }
- var oc = ya(Hs),
- ac = ya(Xs)
- function sc(e, t) {
- return ki(gc(e, t), 1)
- }
- function lc(e, t) {
- return ki(gc(e, t), M)
- }
- function cc(e, t, r) {
- return (r = r === o ? 1 : Yu(r)), ki(gc(e, t), r)
- }
- function uc(e, t) {
- var r = lu(e) ? xr : Ai
- return r(e, Wa(t, 3))
- }
- function fc(e, t) {
- var r = lu(e) ? Ar : _i
- return r(e, Wa(t, 3))
- }
- var pc = la(function (e, t, r) {
- ft.call(e, r) ? e[r].push(t) : hi(e, r, [t])
- })
- function dc(e, t, r, n) {
- ;(e = uu(e) ? e : qf(e)), (r = r && !n ? Yu(r) : 0)
- var i = e.length
- return r < 0 && (r = Ut(i + r, 0)), Bu(e) ? r <= i && e.indexOf(t, r) > -1 : !!i && Dr(e, t, r) > -1
- }
- var hc = xo(function (e, t, n) {
- var i = -1,
- o = "function" == typeof t,
- a = uu(e) ? r(e.length) : []
- return (
- Ai(e, function (e) {
- a[++i] = o ? br(t, e, n) : Gi(e, t, n)
- }),
- a
- )
- }),
- mc = la(function (e, t, r) {
- hi(e, r, t)
- })
- function gc(e, t) {
- var r = lu(e) ? Cr : oo
- return r(e, Wa(t, 3))
- }
- function yc(e, t, r, n) {
- return null == e ? [] : (lu(t) || (t = null == t ? [] : [t]), (r = n ? o : r), lu(r) || (r = null == r ? [] : [r]), fo(e, t, r))
- }
- var vc = la(
- function (e, t, r) {
- e[r ? 0 : 1].push(t)
- },
- function () {
- return [[], []]
- }
- )
- function bc(e, t, r) {
- var n = lu(e) ? Lr : Gr,
- i = arguments.length < 3
- return n(e, Wa(t, 4), r, i, Ai)
- }
- function wc(e, t, r) {
- var n = lu(e) ? Pr : Gr,
- i = arguments.length < 3
- return n(e, Wa(t, 4), r, i, _i)
- }
- function xc(e, t) {
- var r = lu(e) ? Tr : Ci
- return r(e, zc(Wa(t, 3)))
- }
- function Ac(e) {
- var t = lu(e) ? oi : Ao
- return t(e)
- }
- function _c(e, t, r) {
- t = (r ? ss(e, t, r) : t === o) ? 1 : Yu(t)
- var n = lu(e) ? ai : _o
- return n(e, t)
- }
- function Tc(e) {
- var t = lu(e) ? si : Co
- return t(e)
- }
- function Ec(e) {
- if (null == e) return 0
- if (uu(e)) return Bu(e) ? gn(e) : e.length
- var t = Qa(e)
- return t == $ || t == ae ? e.size : ro(e).length
- }
- function Sc(e, t, r) {
- var n = lu(e) ? Or : Lo
- return r && ss(e, t, r) && (t = o), n(e, Wa(t, 3))
- }
- var Cc = xo(function (e, t) {
- if (null == e) return []
- var r = t.length
- return r > 1 && ss(e, t[0], t[1]) ? (t = []) : r > 2 && ss(t[0], t[1], t[2]) && (t = [t[0]]), fo(e, ki(t, 1), [])
- }),
- kc =
- Ot ||
- function () {
- return sr.Date.now()
- }
- function Lc(e, t) {
- if ("function" != typeof t) throw new ot(c)
- return (
- (e = Yu(e)),
- function () {
- if (--e < 1) return t.apply(this, arguments)
- }
- )
- }
- function Pc(e, t, r) {
- return (t = r ? o : t), (t = e && null == t ? e.length : t), Oa(e, S, o, o, o, o, t)
- }
- function Oc(e, t) {
- var r
- if ("function" != typeof t) throw new ot(c)
- return (
- (e = Yu(e)),
- function () {
- return --e > 0 && (r = t.apply(this, arguments)), e <= 1 && (t = o), r
- }
- )
- }
- var jc = xo(function (e, t, r) {
- var n = b
- if (r.length) {
- var i = fn(r, Ga(jc))
- n |= T
- }
- return Oa(e, n, t, r, i)
- }),
- Rc = xo(function (e, t, r) {
- var n = b | w
- if (r.length) {
- var i = fn(r, Ga(Rc))
- n |= T
- }
- return Oa(t, n, e, r, i)
- })
- function Ic(e, t, r) {
- t = r ? o : t
- var n = Oa(e, A, o, o, o, o, o, t)
- return (n.placeholder = Ic.placeholder), n
- }
- function Nc(e, t, r) {
- t = r ? o : t
- var n = Oa(e, _, o, o, o, o, o, t)
- return (n.placeholder = Nc.placeholder), n
- }
- function Mc(e, t, r) {
- var n,
- i,
- a,
- s,
- l,
- u,
- f = 0,
- p = !1,
- d = !1,
- h = !0
- if ("function" != typeof e) throw new ot(c)
- function m(t) {
- var r = n,
- a = i
- return (n = i = o), (f = t), (s = e.apply(a, r)), s
- }
- function g(e) {
- return (f = e), (l = Es(b, t)), p ? m(e) : s
- }
- function y(e) {
- var r = e - u,
- n = e - f,
- i = t - r
- return d ? zt(i, a - n) : i
- }
- function v(e) {
- var r = e - u,
- n = e - f
- return u === o || r >= t || r < 0 || (d && n >= a)
- }
- function b() {
- var e = kc()
- if (v(e)) return w(e)
- l = Es(b, y(e))
- }
- function w(e) {
- return (l = o), h && n ? m(e) : ((n = i = o), s)
- }
- function x() {
- l !== o && Xo(l), (f = 0), (n = u = i = l = o)
- }
- function A() {
- return l === o ? s : w(kc())
- }
- function _() {
- var e = kc(),
- r = v(e)
- if (((n = arguments), (i = this), (u = e), r)) {
- if (l === o) return g(u)
- if (d) return Xo(l), (l = Es(b, t)), m(u)
- }
- return l === o && (l = Es(b, t)), s
- }
- return (
- (t = Zu(t) || 0),
- Tu(r) &&
- ((p = !!r.leading),
- (d = "maxWait" in r),
- (a = d ? Ut(Zu(r.maxWait) || 0, t) : a),
- (h = "trailing" in r ? !!r.trailing : h)),
- (_.cancel = x),
- (_.flush = A),
- _
- )
- }
- var Dc = xo(function (e, t) {
- return wi(e, 1, t)
- }),
- Bc = xo(function (e, t, r) {
- return wi(e, Zu(t) || 0, r)
- })
- function Fc(e) {
- return Oa(e, k)
- }
- function Uc(e, t) {
- if ("function" != typeof e || (null != t && "function" != typeof t)) throw new ot(c)
- var r = function () {
- var n = arguments,
- i = t ? t.apply(this, n) : n[0],
- o = r.cache
- if (o.has(i)) return o.get(i)
- var a = e.apply(this, n)
- return (r.cache = o.set(i, a) || o), a
- }
- return (r.cache = new (Uc.Cache || Gn)()), r
- }
- function zc(e) {
- if ("function" != typeof e) throw new ot(c)
- return function () {
- var t = arguments
- switch (t.length) {
- case 0:
- return !e.call(this)
- case 1:
- return !e.call(this, t[0])
- case 2:
- return !e.call(this, t[0], t[1])
- case 3:
- return !e.call(this, t[0], t[1], t[2])
- }
- return !e.apply(this, t)
- }
- }
- function qc(e) {
- return Oc(2, e)
- }
- Uc.Cache = Gn
- var Gc = Vo(function (e, t) {
- t = 1 == t.length && lu(t[0]) ? Cr(t[0], Kr(Wa())) : Cr(ki(t, 1), Kr(Wa()))
- var r = t.length
- return xo(function (n) {
- var i = -1,
- o = zt(n.length, r)
- while (++i < o) n[i] = t[i].call(this, n[i])
- return br(e, this, n)
- })
- }),
- Wc = xo(function (e, t) {
- var r = fn(t, Ga(Wc))
- return Oa(e, T, o, t, r)
- }),
- Vc = xo(function (e, t) {
- var r = fn(t, Ga(Vc))
- return Oa(e, E, o, t, r)
- }),
- Hc = Ba(function (e, t) {
- return Oa(e, C, o, o, o, t)
- })
- function Xc(e, t) {
- if ("function" != typeof e) throw new ot(c)
- return (t = t === o ? t : Yu(t)), xo(e, t)
- }
- function Yc(e, t) {
- if ("function" != typeof e) throw new ot(c)
- return (
- (t = null == t ? 0 : Ut(Yu(t), 0)),
- xo(function (r) {
- var n = r[t],
- i = Ho(r, 0, t)
- return n && kr(i, n), br(e, this, i)
- })
- )
- }
- function Kc(e, t, r) {
- var n = !0,
- i = !0
- if ("function" != typeof e) throw new ot(c)
- return (
- Tu(r) && ((n = "leading" in r ? !!r.leading : n), (i = "trailing" in r ? !!r.trailing : i)),
- Mc(e, t, {
- leading: n,
- maxWait: t,
- trailing: i
- })
- )
- }
- function Zc(e) {
- return Pc(e, 1)
- }
- function Qc(e, t) {
- return Wc(Go(t), e)
- }
- function Jc() {
- if (!arguments.length) return []
- var e = arguments[0]
- return lu(e) ? e : [e]
- }
- function $c(e) {
- return yi(e, g)
- }
- function eu(e, t) {
- return (t = "function" == typeof t ? t : o), yi(e, g, t)
- }
- function tu(e) {
- return yi(e, h | g)
- }
- function ru(e, t) {
- return (t = "function" == typeof t ? t : o), yi(e, h | g, t)
- }
- function nu(e, t) {
- return null == t || bi(e, t, _f(t))
- }
- function iu(e, t) {
- return e === t || (e !== e && t !== t)
- }
- var ou = Sa(Di),
- au = Sa(function (e, t) {
- return e >= t
- }),
- su = Wi(
- (function () {
- return arguments
- })()
- )
- ? Wi
- : function (e) {
- return Eu(e) && ft.call(e, "callee") && !Tt.call(e, "callee")
- },
- lu = r.isArray,
- cu = dr ? Kr(dr) : Vi
- function uu(e) {
- return null != e && _u(e.length) && !xu(e)
- }
- function fu(e) {
- return Eu(e) && uu(e)
- }
- function pu(e) {
- return !0 === e || !1 === e || (Eu(e) && Mi(e) == X)
- }
- var du = Mt || Kp,
- hu = hr ? Kr(hr) : Hi
- function mu(e) {
- return Eu(e) && 1 === e.nodeType && !Iu(e)
- }
- function gu(e) {
- if (null == e) return !0
- if (uu(e) && (lu(e) || "string" == typeof e || "function" == typeof e.splice || du(e) || Uu(e) || su(e))) return !e.length
- var t = Qa(e)
- if (t == $ || t == ae) return !e.size
- if (ds(e)) return !ro(e).length
- for (var r in e) if (ft.call(e, r)) return !1
- return !0
- }
- function yu(e, t) {
- return Xi(e, t)
- }
- function vu(e, t, r) {
- r = "function" == typeof r ? r : o
- var n = r ? r(e, t) : o
- return n === o ? Xi(e, t, o, r) : !!n
- }
- function bu(e) {
- if (!Eu(e)) return !1
- var t = Mi(e)
- return t == Z || t == K || ("string" == typeof e.message && "string" == typeof e.name && !Iu(e))
- }
- function wu(e) {
- return "number" == typeof e && Dt(e)
- }
- function xu(e) {
- if (!Tu(e)) return !1
- var t = Mi(e)
- return t == Q || t == J || t == H || t == ie
- }
- function Au(e) {
- return "number" == typeof e && e == Yu(e)
- }
- function _u(e) {
- return "number" == typeof e && e > -1 && e % 1 == 0 && e <= D
- }
- function Tu(e) {
- var t = typeof e
- return null != e && ("object" == t || "function" == t)
- }
- function Eu(e) {
- return null != e && "object" == typeof e
- }
- var Su = mr ? Kr(mr) : Ki
- function Cu(e, t) {
- return e === t || Zi(e, t, Ha(t))
- }
- function ku(e, t, r) {
- return (r = "function" == typeof r ? r : o), Zi(e, t, Ha(t), r)
- }
- function Lu(e) {
- return Ru(e) && e != +e
- }
- function Pu(e) {
- if (ps(e)) throw new i(l)
- return Qi(e)
- }
- function Ou(e) {
- return null === e
- }
- function ju(e) {
- return null == e
- }
- function Ru(e) {
- return "number" == typeof e || (Eu(e) && Mi(e) == ee)
- }
- function Iu(e) {
- if (!Eu(e) || Mi(e) != re) return !1
- var t = At(e)
- if (null === t) return !0
- var r = ft.call(t, "constructor") && t.constructor
- return "function" == typeof r && r instanceof r && ut.call(r) == mt
- }
- var Nu = gr ? Kr(gr) : Ji
- function Mu(e) {
- return Au(e) && e >= -D && e <= D
- }
- var Du = yr ? Kr(yr) : $i
- function Bu(e) {
- return "string" == typeof e || (!lu(e) && Eu(e) && Mi(e) == se)
- }
- function Fu(e) {
- return "symbol" == typeof e || (Eu(e) && Mi(e) == le)
- }
- var Uu = vr ? Kr(vr) : eo
- function zu(e) {
- return e === o
- }
- function qu(e) {
- return Eu(e) && Qa(e) == ue
- }
- function Gu(e) {
- return Eu(e) && Mi(e) == fe
- }
- var Wu = Sa(io),
- Vu = Sa(function (e, t) {
- return e <= t
- })
- function Hu(e) {
- if (!e) return []
- if (uu(e)) return Bu(e) ? yn(e) : ia(e)
- if (Ct && e[Ct]) return ln(e[Ct]())
- var t = Qa(e),
- r = t == $ ? cn : t == ae ? pn : qf
- return r(e)
- }
- function Xu(e) {
- if (!e) return 0 === e ? e : 0
- if (((e = Zu(e)), e === M || e === -M)) {
- var t = e < 0 ? -1 : 1
- return t * B
- }
- return e === e ? e : 0
- }
- function Yu(e) {
- var t = Xu(e),
- r = t % 1
- return t === t ? (r ? t - r : t) : 0
- }
- function Ku(e) {
- return e ? gi(Yu(e), 0, U) : 0
- }
- function Zu(e) {
- if ("number" == typeof e) return e
- if (Fu(e)) return F
- if (Tu(e)) {
- var t = "function" == typeof e.valueOf ? e.valueOf() : e
- e = Tu(t) ? t + "" : t
- }
- if ("string" != typeof e) return 0 === e ? e : +e
- e = Yr(e)
- var r = Ke.test(e)
- return r || Qe.test(e) ? ir(e.slice(2), r ? 2 : 8) : Ye.test(e) ? F : +e
- }
- function Qu(e) {
- return oa(e, Tf(e))
- }
- function Ju(e) {
- return e ? gi(Yu(e), -D, D) : 0 === e ? e : 0
- }
- function $u(e) {
- return null == e ? "" : Io(e)
- }
- var ef = ca(function (e, t) {
- if (ds(t) || uu(t)) oa(t, _f(t), e)
- else for (var r in t) ft.call(t, r) && ci(e, r, t[r])
- }),
- tf = ca(function (e, t) {
- oa(t, Tf(t), e)
- }),
- rf = ca(function (e, t, r, n) {
- oa(t, Tf(t), e, n)
- }),
- nf = ca(function (e, t, r, n) {
- oa(t, _f(t), e, n)
- }),
- of = Ba(mi)
- function af(e, t) {
- var r = _n(e)
- return null == t ? r : pi(r, t)
- }
- var sf = xo(function (e, t) {
- e = rt(e)
- var r = -1,
- n = t.length,
- i = n > 2 ? t[2] : o
- i && ss(t[0], t[1], i) && (n = 1)
- while (++r < n) {
- var a = t[r],
- s = Tf(a),
- l = -1,
- c = s.length
- while (++l < c) {
- var u = s[l],
- f = e[u]
- ;(f === o || (iu(f, lt[u]) && !ft.call(e, u))) && (e[u] = a[u])
- }
- }
- return e
- }),
- lf = xo(function (e) {
- return e.push(o, Ra), br(kf, o, e)
- })
- function cf(e, t) {
- return Nr(e, Wa(t, 3), Oi)
- }
- function uf(e, t) {
- return Nr(e, Wa(t, 3), ji)
- }
- function ff(e, t) {
- return null == e ? e : Li(e, Wa(t, 3), Tf)
- }
- function pf(e, t) {
- return null == e ? e : Pi(e, Wa(t, 3), Tf)
- }
- function df(e, t) {
- return e && Oi(e, Wa(t, 3))
- }
- function hf(e, t) {
- return e && ji(e, Wa(t, 3))
- }
- function mf(e) {
- return null == e ? [] : Ri(e, _f(e))
- }
- function gf(e) {
- return null == e ? [] : Ri(e, Tf(e))
- }
- function yf(e, t, r) {
- var n = null == e ? o : Ii(e, t)
- return n === o ? r : n
- }
- function vf(e, t) {
- return null != e && es(e, t, Bi)
- }
- function bf(e, t) {
- return null != e && es(e, t, Fi)
- }
- var wf = wa(function (e, t, r) {
- null != t && "function" != typeof t.toString && (t = ht.call(t)), (e[t] = r)
- }, Cp(Op)),
- xf = wa(function (e, t, r) {
- null != t && "function" != typeof t.toString && (t = ht.call(t)), ft.call(e, t) ? e[t].push(r) : (e[t] = [r])
- }, Wa),
- Af = xo(Gi)
- function _f(e) {
- return uu(e) ? ii(e) : ro(e)
- }
- function Tf(e) {
- return uu(e) ? ii(e, !0) : no(e)
- }
- function Ef(e, t) {
- var r = {}
- return (
- (t = Wa(t, 3)),
- Oi(e, function (e, n, i) {
- hi(r, t(e, n, i), e)
- }),
- r
- )
- }
- function Sf(e, t) {
- var r = {}
- return (
- (t = Wa(t, 3)),
- Oi(e, function (e, n, i) {
- hi(r, n, t(e, n, i))
- }),
- r
- )
- }
- var Cf = ca(function (e, t, r) {
- lo(e, t, r)
- }),
- kf = ca(function (e, t, r, n) {
- lo(e, t, r, n)
- }),
- Lf = Ba(function (e, t) {
- var r = {}
- if (null == e) return r
- var n = !1
- ;(t = Cr(t, function (t) {
- return (t = Wo(t, e)), n || (n = t.length > 1), t
- })),
- oa(e, Ua(e), r),
- n && (r = yi(r, h | m | g, Ia))
- var i = t.length
- while (i--) Mo(r, t[i])
- return r
- })
- function Pf(e, t) {
- return jf(e, zc(Wa(t)))
- }
- var Of = Ba(function (e, t) {
- return null == e ? {} : po(e, t)
- })
- function jf(e, t) {
- if (null == e) return {}
- var r = Cr(Ua(e), function (e) {
- return [e]
- })
- return (
- (t = Wa(t)),
- ho(e, r, function (e, r) {
- return t(e, r[0])
- })
- )
- }
- function Rf(e, t, r) {
- t = Wo(t, e)
- var n = -1,
- i = t.length
- i || ((i = 1), (e = o))
- while (++n < i) {
- var a = null == e ? o : e[Os(t[n])]
- a === o && ((n = i), (a = r)), (e = xu(a) ? a.call(e) : a)
- }
- return e
- }
- function If(e, t, r) {
- return null == e ? e : To(e, t, r)
- }
- function Nf(e, t, r, n) {
- return (n = "function" == typeof n ? n : o), null == e ? e : To(e, t, r, n)
- }
- var Mf = Pa(_f),
- Df = Pa(Tf)
- function Bf(e, t, r) {
- var n = lu(e),
- i = n || du(e) || Uu(e)
- if (((t = Wa(t, 4)), null == r)) {
- var o = e && e.constructor
- r = i ? (n ? new o() : []) : Tu(e) && xu(o) ? _n(At(e)) : {}
- }
- return (
- (i ? xr : Oi)(e, function (e, n, i) {
- return t(r, e, n, i)
- }),
- r
- )
- }
- function Ff(e, t) {
- return null == e || Mo(e, t)
- }
- function Uf(e, t, r) {
- return null == e ? e : Do(e, t, Go(r))
- }
- function zf(e, t, r, n) {
- return (n = "function" == typeof n ? n : o), null == e ? e : Do(e, t, Go(r), n)
- }
- function qf(e) {
- return null == e ? [] : Zr(e, _f(e))
- }
- function Gf(e) {
- return null == e ? [] : Zr(e, Tf(e))
- }
- function Wf(e, t, r) {
- return (
- r === o && ((r = t), (t = o)),
- r !== o && ((r = Zu(r)), (r = r === r ? r : 0)),
- t !== o && ((t = Zu(t)), (t = t === t ? t : 0)),
- gi(Zu(e), t, r)
- )
- }
- function Vf(e, t, r) {
- return (t = Xu(t)), r === o ? ((r = t), (t = 0)) : (r = Xu(r)), (e = Zu(e)), Ui(e, t, r)
- }
- function Hf(e, t, r) {
- if (
- (r && "boolean" != typeof r && ss(e, t, r) && (t = r = o),
- r === o && ("boolean" == typeof t ? ((r = t), (t = o)) : "boolean" == typeof e && ((r = e), (e = o))),
- e === o && t === o ? ((e = 0), (t = 1)) : ((e = Xu(e)), t === o ? ((t = e), (e = 0)) : (t = Xu(t))),
- e > t)
- ) {
- var n = e
- ;(e = t), (t = n)
- }
- if (r || e % 1 || t % 1) {
- var i = Ht()
- return zt(e + i * (t - e + nr("1e-" + ((i + "").length - 1))), t)
- }
- return vo(e, t)
- }
- var Xf = ha(function (e, t, r) {
- return (t = t.toLowerCase()), e + (r ? Yf(t) : t)
- })
- function Yf(e) {
- return xp($u(e).toLowerCase())
- }
- function Kf(e) {
- return (e = $u(e)), e && e.replace($e, tn).replace(Wt, "")
- }
- function Zf(e, t, r) {
- ;(e = $u(e)), (t = Io(t))
- var n = e.length
- r = r === o ? n : gi(Yu(r), 0, n)
- var i = r
- return (r -= t.length), r >= 0 && e.slice(r, i) == t
- }
- function Qf(e) {
- return (e = $u(e)), e && Le.test(e) ? e.replace(Ce, rn) : e
- }
- function Jf(e) {
- return (e = $u(e)), e && De.test(e) ? e.replace(Me, "\\$&") : e
- }
- var $f = ha(function (e, t, r) {
- return e + (r ? "-" : "") + t.toLowerCase()
- }),
- ep = ha(function (e, t, r) {
- return e + (r ? " " : "") + t.toLowerCase()
- }),
- tp = da("toLowerCase")
- function rp(e, t, r) {
- ;(e = $u(e)), (t = Yu(t))
- var n = t ? gn(e) : 0
- if (!t || n >= t) return e
- var i = (t - n) / 2
- return _a(It(i), r) + e + _a(Rt(i), r)
- }
- function np(e, t, r) {
- ;(e = $u(e)), (t = Yu(t))
- var n = t ? gn(e) : 0
- return t && n < t ? e + _a(t - n, r) : e
- }
- function ip(e, t, r) {
- ;(e = $u(e)), (t = Yu(t))
- var n = t ? gn(e) : 0
- return t && n < t ? _a(t - n, r) + e : e
- }
- function op(e, t, r) {
- return r || null == t ? (t = 0) : t && (t = +t), Vt($u(e).replace(Be, ""), t || 0)
- }
- function ap(e, t, r) {
- return (t = (r ? ss(e, t, r) : t === o) ? 1 : Yu(t)), wo($u(e), t)
- }
- function sp() {
- var e = arguments,
- t = $u(e[0])
- return e.length < 3 ? t : t.replace(e[1], e[2])
- }
- var lp = ha(function (e, t, r) {
- return e + (r ? "_" : "") + t.toLowerCase()
- })
- function cp(e, t, r) {
- return (
- r && "number" != typeof r && ss(e, t, r) && (t = r = o),
- (r = r === o ? U : r >>> 0),
- r
- ? ((e = $u(e)),
- e && ("string" == typeof t || (null != t && !Nu(t))) && ((t = Io(t)), !t && an(e)) ? Ho(yn(e), 0, r) : e.split(t, r))
- : []
- )
- }
- var up = ha(function (e, t, r) {
- return e + (r ? " " : "") + xp(t)
- })
- function fp(e, t, r) {
- return (e = $u(e)), (r = null == r ? 0 : gi(Yu(r), 0, e.length)), (t = Io(t)), e.slice(r, r + t.length) == t
- }
- function pp(e, t, r) {
- var n = xn.templateSettings
- r && ss(e, t, r) && (t = o), (e = $u(e)), (t = rf({}, t, n, ja))
- var a,
- s,
- l = rf({}, t.imports, n.imports, ja),
- c = _f(l),
- f = Zr(l, c),
- p = 0,
- d = t.interpolate || et,
- h = "__p += '",
- m = nt(
- (t.escape || et).source + "|" + d.source + "|" + (d === je ? He : et).source + "|" + (t.evaluate || et).source + "|$",
- "g"
- ),
- g =
- "//# sourceURL=" +
- (ft.call(t, "sourceURL") ? (t.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Zt + "]") +
- "\n"
- e.replace(m, function (t, r, n, i, o, l) {
- return (
- n || (n = i),
- (h += e.slice(p, l).replace(tt, nn)),
- r && ((a = !0), (h += "' +\n__e(" + r + ") +\n'")),
- o && ((s = !0), (h += "';\n" + o + ";\n__p += '")),
- n && (h += "' +\n((__t = (" + n + ")) == null ? '' : __t) +\n'"),
- (p = l + t.length),
- t
- )
- }),
- (h += "';\n")
- var y = ft.call(t, "variable") && t.variable
- if (y) {
- if (We.test(y)) throw new i(u)
- } else h = "with (obj) {\n" + h + "\n}\n"
- ;(h = (s ? h.replace(_e, "") : h).replace(Te, "$1").replace(Ee, "$1;")),
- (h =
- "function(" +
- (y || "obj") +
- ") {\n" +
- (y ? "" : "obj || (obj = {});\n") +
- "var __t, __p = ''" +
- (a ? ", __e = _.escape" : "") +
- (s ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") +
- h +
- "return __p\n}")
- var v = _p(function () {
- return Fe(c, g + "return " + h).apply(o, f)
- })
- if (((v.source = h), bu(v))) throw v
- return v
- }
- function dp(e) {
- return $u(e).toLowerCase()
- }
- function hp(e) {
- return $u(e).toUpperCase()
- }
- function mp(e, t, r) {
- if (((e = $u(e)), e && (r || t === o))) return Yr(e)
- if (!e || !(t = Io(t))) return e
- var n = yn(e),
- i = yn(t),
- a = Jr(n, i),
- s = $r(n, i) + 1
- return Ho(n, a, s).join("")
- }
- function gp(e, t, r) {
- if (((e = $u(e)), e && (r || t === o))) return e.slice(0, vn(e) + 1)
- if (!e || !(t = Io(t))) return e
- var n = yn(e),
- i = $r(n, yn(t)) + 1
- return Ho(n, 0, i).join("")
- }
- function yp(e, t, r) {
- if (((e = $u(e)), e && (r || t === o))) return e.replace(Be, "")
- if (!e || !(t = Io(t))) return e
- var n = yn(e),
- i = Jr(n, yn(t))
- return Ho(n, i).join("")
- }
- function vp(e, t) {
- var r = L,
- n = P
- if (Tu(t)) {
- var i = "separator" in t ? t.separator : i
- ;(r = "length" in t ? Yu(t.length) : r), (n = "omission" in t ? Io(t.omission) : n)
- }
- e = $u(e)
- var a = e.length
- if (an(e)) {
- var s = yn(e)
- a = s.length
- }
- if (r >= a) return e
- var l = r - gn(n)
- if (l < 1) return n
- var c = s ? Ho(s, 0, l).join("") : e.slice(0, l)
- if (i === o) return c + n
- if ((s && (l += c.length - l), Nu(i))) {
- if (e.slice(l).search(i)) {
- var u,
- f = c
- i.global || (i = nt(i.source, $u(Xe.exec(i)) + "g")), (i.lastIndex = 0)
- while ((u = i.exec(f))) var p = u.index
- c = c.slice(0, p === o ? l : p)
- }
- } else if (e.indexOf(Io(i), l) != l) {
- var d = c.lastIndexOf(i)
- d > -1 && (c = c.slice(0, d))
- }
- return c + n
- }
- function bp(e) {
- return (e = $u(e)), e && ke.test(e) ? e.replace(Se, bn) : e
- }
- var wp = ha(function (e, t, r) {
- return e + (r ? " " : "") + t.toUpperCase()
- }),
- xp = da("toUpperCase")
- function Ap(e, t, r) {
- return (e = $u(e)), (t = r ? o : t), t === o ? (sn(e) ? An(e) : Ir(e)) : e.match(t) || []
- }
- var _p = xo(function (e, t) {
- try {
- return br(e, o, t)
- } catch (r) {
- return bu(r) ? r : new i(r)
- }
- }),
- Tp = Ba(function (e, t) {
- return (
- xr(t, function (t) {
- ;(t = Os(t)), hi(e, t, jc(e[t], e))
- }),
- e
- )
- })
- function Ep(e) {
- var t = null == e ? 0 : e.length,
- r = Wa()
- return (
- (e = t
- ? Cr(e, function (e) {
- if ("function" != typeof e[1]) throw new ot(c)
- return [r(e[0]), e[1]]
- })
- : []),
- xo(function (r) {
- var n = -1
- while (++n < t) {
- var i = e[n]
- if (br(i[0], this, r)) return br(i[1], this, r)
- }
- })
- )
- }
- function Sp(e) {
- return vi(yi(e, h))
- }
- function Cp(e) {
- return function () {
- return e
- }
- }
- function kp(e, t) {
- return null == e || e !== e ? t : e
- }
- var Lp = va(),
- Pp = va(!0)
- function Op(e) {
- return e
- }
- function jp(e) {
- return to("function" == typeof e ? e : yi(e, h))
- }
- function Rp(e) {
- return ao(yi(e, h))
- }
- function Ip(e, t) {
- return so(e, yi(t, h))
- }
- var Np = xo(function (e, t) {
- return function (r) {
- return Gi(r, e, t)
- }
- }),
- Mp = xo(function (e, t) {
- return function (r) {
- return Gi(e, r, t)
- }
- })
- function Dp(e, t, r) {
- var n = _f(t),
- i = Ri(t, n)
- null != r || (Tu(t) && (i.length || !n.length)) || ((r = t), (t = e), (e = this), (i = Ri(t, _f(t))))
- var o = !(Tu(r) && "chain" in r) || !!r.chain,
- a = xu(e)
- return (
- xr(i, function (r) {
- var n = t[r]
- ;(e[r] = n),
- a &&
- (e.prototype[r] = function () {
- var t = this.__chain__
- if (o || t) {
- var r = e(this.__wrapped__),
- i = (r.__actions__ = ia(this.__actions__))
- return (
- i.push({
- func: n,
- args: arguments,
- thisArg: e
- }),
- (r.__chain__ = t),
- r
- )
- }
- return n.apply(e, kr([this.value()], arguments))
- })
- }),
- e
- )
- }
- function Bp() {
- return sr._ === this && (sr._ = gt), this
- }
- function Fp() {}
- function Up(e) {
- return (
- (e = Yu(e)),
- xo(function (t) {
- return uo(t, e)
- })
- )
- }
- var zp = Aa(Cr),
- qp = Aa(_r),
- Gp = Aa(Or)
- function Wp(e) {
- return ls(e) ? zr(Os(e)) : mo(e)
- }
- function Vp(e) {
- return function (t) {
- return null == e ? o : Ii(e, t)
- }
- }
- var Hp = Ea(),
- Xp = Ea(!0)
- function Yp() {
- return []
- }
- function Kp() {
- return !1
- }
- function Zp() {
- return {}
- }
- function Qp() {
- return ""
- }
- function Jp() {
- return !0
- }
- function $p(e, t) {
- if (((e = Yu(e)), e < 1 || e > D)) return []
- var r = U,
- n = zt(e, U)
- ;(t = Wa(t)), (e -= U)
- var i = Hr(n, t)
- while (++r < e) t(r)
- return i
- }
- function ed(e) {
- return lu(e) ? Cr(e, Os) : Fu(e) ? [e] : ia(Ps($u(e)))
- }
- function td(e) {
- var t = ++pt
- return $u(e) + t
- }
- var rd = xa(function (e, t) {
- return e + t
- }, 0),
- nd = ka("ceil"),
- id = xa(function (e, t) {
- return e / t
- }, 1),
- od = ka("floor")
- function ad(e) {
- return e && e.length ? Ei(e, Op, Di) : o
- }
- function sd(e, t) {
- return e && e.length ? Ei(e, Wa(t, 2), Di) : o
- }
- function ld(e) {
- return Ur(e, Op)
- }
- function cd(e, t) {
- return Ur(e, Wa(t, 2))
- }
- function ud(e) {
- return e && e.length ? Ei(e, Op, io) : o
- }
- function fd(e, t) {
- return e && e.length ? Ei(e, Wa(t, 2), io) : o
- }
- var pd = xa(function (e, t) {
- return e * t
- }, 1),
- dd = ka("round"),
- hd = xa(function (e, t) {
- return e - t
- }, 0)
- function md(e) {
- return e && e.length ? Vr(e, Op) : 0
- }
- function gd(e, t) {
- return e && e.length ? Vr(e, Wa(t, 2)) : 0
- }
- return (
- (xn.after = Lc),
- (xn.ary = Pc),
- (xn.assign = ef),
- (xn.assignIn = tf),
- (xn.assignInWith = rf),
- (xn.assignWith = nf),
- (xn.at = of),
- (xn.before = Oc),
- (xn.bind = jc),
- (xn.bindAll = Tp),
- (xn.bindKey = Rc),
- (xn.castArray = Jc),
- (xn.chain = Vl),
- (xn.chunk = Ns),
- (xn.compact = Ms),
- (xn.concat = Ds),
- (xn.cond = Ep),
- (xn.conforms = Sp),
- (xn.constant = Cp),
- (xn.countBy = rc),
- (xn.create = af),
- (xn.curry = Ic),
- (xn.curryRight = Nc),
- (xn.debounce = Mc),
- (xn.defaults = sf),
- (xn.defaultsDeep = lf),
- (xn.defer = Dc),
- (xn.delay = Bc),
- (xn.difference = Bs),
- (xn.differenceBy = Fs),
- (xn.differenceWith = Us),
- (xn.drop = zs),
- (xn.dropRight = qs),
- (xn.dropRightWhile = Gs),
- (xn.dropWhile = Ws),
- (xn.fill = Vs),
- (xn.filter = ic),
- (xn.flatMap = sc),
- (xn.flatMapDeep = lc),
- (xn.flatMapDepth = cc),
- (xn.flatten = Ys),
- (xn.flattenDeep = Ks),
- (xn.flattenDepth = Zs),
- (xn.flip = Fc),
- (xn.flow = Lp),
- (xn.flowRight = Pp),
- (xn.fromPairs = Qs),
- (xn.functions = mf),
- (xn.functionsIn = gf),
- (xn.groupBy = pc),
- (xn.initial = el),
- (xn.intersection = tl),
- (xn.intersectionBy = rl),
- (xn.intersectionWith = nl),
- (xn.invert = wf),
- (xn.invertBy = xf),
- (xn.invokeMap = hc),
- (xn.iteratee = jp),
- (xn.keyBy = mc),
- (xn.keys = _f),
- (xn.keysIn = Tf),
- (xn.map = gc),
- (xn.mapKeys = Ef),
- (xn.mapValues = Sf),
- (xn.matches = Rp),
- (xn.matchesProperty = Ip),
- (xn.memoize = Uc),
- (xn.merge = Cf),
- (xn.mergeWith = kf),
- (xn.method = Np),
- (xn.methodOf = Mp),
- (xn.mixin = Dp),
- (xn.negate = zc),
- (xn.nthArg = Up),
- (xn.omit = Lf),
- (xn.omitBy = Pf),
- (xn.once = qc),
- (xn.orderBy = yc),
- (xn.over = zp),
- (xn.overArgs = Gc),
- (xn.overEvery = qp),
- (xn.overSome = Gp),
- (xn.partial = Wc),
- (xn.partialRight = Vc),
- (xn.partition = vc),
- (xn.pick = Of),
- (xn.pickBy = jf),
- (xn.property = Wp),
- (xn.propertyOf = Vp),
- (xn.pull = ll),
- (xn.pullAll = cl),
- (xn.pullAllBy = ul),
- (xn.pullAllWith = fl),
- (xn.pullAt = pl),
- (xn.range = Hp),
- (xn.rangeRight = Xp),
- (xn.rearg = Hc),
- (xn.reject = xc),
- (xn.remove = dl),
- (xn.rest = Xc),
- (xn.reverse = hl),
- (xn.sampleSize = _c),
- (xn.set = If),
- (xn.setWith = Nf),
- (xn.shuffle = Tc),
- (xn.slice = ml),
- (xn.sortBy = Cc),
- (xn.sortedUniq = Al),
- (xn.sortedUniqBy = _l),
- (xn.split = cp),
- (xn.spread = Yc),
- (xn.tail = Tl),
- (xn.take = El),
- (xn.takeRight = Sl),
- (xn.takeRightWhile = Cl),
- (xn.takeWhile = kl),
- (xn.tap = Hl),
- (xn.throttle = Kc),
- (xn.thru = Xl),
- (xn.toArray = Hu),
- (xn.toPairs = Mf),
- (xn.toPairsIn = Df),
- (xn.toPath = ed),
- (xn.toPlainObject = Qu),
- (xn.transform = Bf),
- (xn.unary = Zc),
- (xn.union = Ll),
- (xn.unionBy = Pl),
- (xn.unionWith = Ol),
- (xn.uniq = jl),
- (xn.uniqBy = Rl),
- (xn.uniqWith = Il),
- (xn.unset = Ff),
- (xn.unzip = Nl),
- (xn.unzipWith = Ml),
- (xn.update = Uf),
- (xn.updateWith = zf),
- (xn.values = qf),
- (xn.valuesIn = Gf),
- (xn.without = Dl),
- (xn.words = Ap),
- (xn.wrap = Qc),
- (xn.xor = Bl),
- (xn.xorBy = Fl),
- (xn.xorWith = Ul),
- (xn.zip = zl),
- (xn.zipObject = ql),
- (xn.zipObjectDeep = Gl),
- (xn.zipWith = Wl),
- (xn.entries = Mf),
- (xn.entriesIn = Df),
- (xn.extend = tf),
- (xn.extendWith = rf),
- Dp(xn, xn),
- (xn.add = rd),
- (xn.attempt = _p),
- (xn.camelCase = Xf),
- (xn.capitalize = Yf),
- (xn.ceil = nd),
- (xn.clamp = Wf),
- (xn.clone = $c),
- (xn.cloneDeep = tu),
- (xn.cloneDeepWith = ru),
- (xn.cloneWith = eu),
- (xn.conformsTo = nu),
- (xn.deburr = Kf),
- (xn.defaultTo = kp),
- (xn.divide = id),
- (xn.endsWith = Zf),
- (xn.eq = iu),
- (xn.escape = Qf),
- (xn.escapeRegExp = Jf),
- (xn.every = nc),
- (xn.find = oc),
- (xn.findIndex = Hs),
- (xn.findKey = cf),
- (xn.findLast = ac),
- (xn.findLastIndex = Xs),
- (xn.findLastKey = uf),
- (xn.floor = od),
- (xn.forEach = uc),
- (xn.forEachRight = fc),
- (xn.forIn = ff),
- (xn.forInRight = pf),
- (xn.forOwn = df),
- (xn.forOwnRight = hf),
- (xn.get = yf),
- (xn.gt = ou),
- (xn.gte = au),
- (xn.has = vf),
- (xn.hasIn = bf),
- (xn.head = Js),
- (xn.identity = Op),
- (xn.includes = dc),
- (xn.indexOf = $s),
- (xn.inRange = Vf),
- (xn.invoke = Af),
- (xn.isArguments = su),
- (xn.isArray = lu),
- (xn.isArrayBuffer = cu),
- (xn.isArrayLike = uu),
- (xn.isArrayLikeObject = fu),
- (xn.isBoolean = pu),
- (xn.isBuffer = du),
- (xn.isDate = hu),
- (xn.isElement = mu),
- (xn.isEmpty = gu),
- (xn.isEqual = yu),
- (xn.isEqualWith = vu),
- (xn.isError = bu),
- (xn.isFinite = wu),
- (xn.isFunction = xu),
- (xn.isInteger = Au),
- (xn.isLength = _u),
- (xn.isMap = Su),
- (xn.isMatch = Cu),
- (xn.isMatchWith = ku),
- (xn.isNaN = Lu),
- (xn.isNative = Pu),
- (xn.isNil = ju),
- (xn.isNull = Ou),
- (xn.isNumber = Ru),
- (xn.isObject = Tu),
- (xn.isObjectLike = Eu),
- (xn.isPlainObject = Iu),
- (xn.isRegExp = Nu),
- (xn.isSafeInteger = Mu),
- (xn.isSet = Du),
- (xn.isString = Bu),
- (xn.isSymbol = Fu),
- (xn.isTypedArray = Uu),
- (xn.isUndefined = zu),
- (xn.isWeakMap = qu),
- (xn.isWeakSet = Gu),
- (xn.join = il),
- (xn.kebabCase = $f),
- (xn.last = ol),
- (xn.lastIndexOf = al),
- (xn.lowerCase = ep),
- (xn.lowerFirst = tp),
- (xn.lt = Wu),
- (xn.lte = Vu),
- (xn.max = ad),
- (xn.maxBy = sd),
- (xn.mean = ld),
- (xn.meanBy = cd),
- (xn.min = ud),
- (xn.minBy = fd),
- (xn.stubArray = Yp),
- (xn.stubFalse = Kp),
- (xn.stubObject = Zp),
- (xn.stubString = Qp),
- (xn.stubTrue = Jp),
- (xn.multiply = pd),
- (xn.nth = sl),
- (xn.noConflict = Bp),
- (xn.noop = Fp),
- (xn.now = kc),
- (xn.pad = rp),
- (xn.padEnd = np),
- (xn.padStart = ip),
- (xn.parseInt = op),
- (xn.random = Hf),
- (xn.reduce = bc),
- (xn.reduceRight = wc),
- (xn.repeat = ap),
- (xn.replace = sp),
- (xn.result = Rf),
- (xn.round = dd),
- (xn.runInContext = e),
- (xn.sample = Ac),
- (xn.size = Ec),
- (xn.snakeCase = lp),
- (xn.some = Sc),
- (xn.sortedIndex = gl),
- (xn.sortedIndexBy = yl),
- (xn.sortedIndexOf = vl),
- (xn.sortedLastIndex = bl),
- (xn.sortedLastIndexBy = wl),
- (xn.sortedLastIndexOf = xl),
- (xn.startCase = up),
- (xn.startsWith = fp),
- (xn.subtract = hd),
- (xn.sum = md),
- (xn.sumBy = gd),
- (xn.template = pp),
- (xn.times = $p),
- (xn.toFinite = Xu),
- (xn.toInteger = Yu),
- (xn.toLength = Ku),
- (xn.toLower = dp),
- (xn.toNumber = Zu),
- (xn.toSafeInteger = Ju),
- (xn.toString = $u),
- (xn.toUpper = hp),
- (xn.trim = mp),
- (xn.trimEnd = gp),
- (xn.trimStart = yp),
- (xn.truncate = vp),
- (xn.unescape = bp),
- (xn.uniqueId = td),
- (xn.upperCase = wp),
- (xn.upperFirst = xp),
- (xn.each = uc),
- (xn.eachRight = fc),
- (xn.first = Js),
- Dp(
- xn,
- (function () {
- var e = {}
- return (
- Oi(xn, function (t, r) {
- ft.call(xn.prototype, r) || (e[r] = t)
- }),
- e
- )
- })(),
- {
- chain: !1
- }
- ),
- (xn.VERSION = a),
- xr(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function (e) {
- xn[e].placeholder = xn
- }),
- xr(["drop", "take"], function (e, t) {
- ;(Cn.prototype[e] = function (r) {
- r = r === o ? 1 : Ut(Yu(r), 0)
- var n = this.__filtered__ && !t ? new Cn(this) : this.clone()
- return (
- n.__filtered__
- ? (n.__takeCount__ = zt(r, n.__takeCount__))
- : n.__views__.push({
- size: zt(r, U),
- type: e + (n.__dir__ < 0 ? "Right" : "")
- }),
- n
- )
- }),
- (Cn.prototype[e + "Right"] = function (t) {
- return this.reverse()[e](t).reverse()
- })
- }),
- xr(["filter", "map", "takeWhile"], function (e, t) {
- var r = t + 1,
- n = r == R || r == N
- Cn.prototype[e] = function (e) {
- var t = this.clone()
- return (
- t.__iteratees__.push({
- iteratee: Wa(e, 3),
- type: r
- }),
- (t.__filtered__ = t.__filtered__ || n),
- t
- )
- }
- }),
- xr(["head", "last"], function (e, t) {
- var r = "take" + (t ? "Right" : "")
- Cn.prototype[e] = function () {
- return this[r](1).value()[0]
- }
- }),
- xr(["initial", "tail"], function (e, t) {
- var r = "drop" + (t ? "" : "Right")
- Cn.prototype[e] = function () {
- return this.__filtered__ ? new Cn(this) : this[r](1)
- }
- }),
- (Cn.prototype.compact = function () {
- return this.filter(Op)
- }),
- (Cn.prototype.find = function (e) {
- return this.filter(e).head()
- }),
- (Cn.prototype.findLast = function (e) {
- return this.reverse().find(e)
- }),
- (Cn.prototype.invokeMap = xo(function (e, t) {
- return "function" == typeof e
- ? new Cn(this)
- : this.map(function (r) {
- return Gi(r, e, t)
- })
- })),
- (Cn.prototype.reject = function (e) {
- return this.filter(zc(Wa(e)))
- }),
- (Cn.prototype.slice = function (e, t) {
- e = Yu(e)
- var r = this
- return r.__filtered__ && (e > 0 || t < 0)
- ? new Cn(r)
- : (e < 0 ? (r = r.takeRight(-e)) : e && (r = r.drop(e)),
- t !== o && ((t = Yu(t)), (r = t < 0 ? r.dropRight(-t) : r.take(t - e))),
- r)
- }),
- (Cn.prototype.takeRightWhile = function (e) {
- return this.reverse().takeWhile(e).reverse()
- }),
- (Cn.prototype.toArray = function () {
- return this.take(U)
- }),
- Oi(Cn.prototype, function (e, t) {
- var r = /^(?:filter|find|map|reject)|While$/.test(t),
- n = /^(?:head|last)$/.test(t),
- i = xn[n ? "take" + ("last" == t ? "Right" : "") : t],
- a = n || /^find/.test(t)
- i &&
- (xn.prototype[t] = function () {
- var t = this.__wrapped__,
- s = n ? [1] : arguments,
- l = t instanceof Cn,
- c = s[0],
- u = l || lu(t),
- f = function (e) {
- var t = i.apply(xn, kr([e], s))
- return n && p ? t[0] : t
- }
- u && r && "function" == typeof c && 1 != c.length && (l = u = !1)
- var p = this.__chain__,
- d = !!this.__actions__.length,
- h = a && !p,
- m = l && !d
- if (!a && u) {
- t = m ? t : new Cn(this)
- var g = e.apply(t, s)
- return (
- g.__actions__.push({
- func: Xl,
- args: [f],
- thisArg: o
- }),
- new Sn(g, p)
- )
- }
- return h && m ? e.apply(this, s) : ((g = this.thru(f)), h ? (n ? g.value()[0] : g.value()) : g)
- })
- }),
- xr(["pop", "push", "shift", "sort", "splice", "unshift"], function (e) {
- var t = at[e],
- r = /^(?:push|sort|unshift)$/.test(e) ? "tap" : "thru",
- n = /^(?:pop|shift)$/.test(e)
- xn.prototype[e] = function () {
- var e = arguments
- if (n && !this.__chain__) {
- var i = this.value()
- return t.apply(lu(i) ? i : [], e)
- }
- return this[r](function (r) {
- return t.apply(lu(r) ? r : [], e)
- })
- }
- }),
- Oi(Cn.prototype, function (e, t) {
- var r = xn[t]
- if (r) {
- var n = r.name + ""
- ft.call(lr, n) || (lr[n] = []),
- lr[n].push({
- name: t,
- func: r
- })
- }
- }),
- (lr[ba(o, w).name] = [
- {
- name: "wrapper",
- func: o
- }
- ]),
- (Cn.prototype.clone = kn),
- (Cn.prototype.reverse = Ln),
- (Cn.prototype.value = Pn),
- (xn.prototype.at = Yl),
- (xn.prototype.chain = Kl),
- (xn.prototype.commit = Zl),
- (xn.prototype.next = Ql),
- (xn.prototype.plant = $l),
- (xn.prototype.reverse = ec),
- (xn.prototype.toJSON = xn.prototype.valueOf = xn.prototype.value = tc),
- (xn.prototype.first = xn.prototype.head),
- Ct && (xn.prototype[Ct] = Jl),
- xn
- )
- },
- Tn = _n()
- ;(sr._ = Tn),
- (i = function () {
- return Tn
- }.call(t, r, t, n)),
- i === o || (n.exports = i)
- }).call(this)
- }).call(this, r("c8ba"), r("62e4")(e))
- },
- 3: function (e, t) {},
- 3171: function (e, t, r) {
- ;(function (e) {
- ;(function (t) {
- ;(t.parser = function (e, t) {
- return new o(e, t)
- }),
- (t.SAXParser = o),
- (t.SAXStream = f),
- (t.createStream = u),
- (t.MAX_BUFFER_LENGTH = 65536)
- var n,
- i = [
- "comment",
- "sgmlDecl",
- "textNode",
- "tagName",
- "doctype",
- "procInstName",
- "procInstBody",
- "entity",
- "attribName",
- "attribValue",
- "cdata",
- "script"
- ]
- function o(e, r) {
- if (!(this instanceof o)) return new o(e, r)
- var n = this
- s(n),
- (n.q = n.c = ""),
- (n.bufferCheckPosition = t.MAX_BUFFER_LENGTH),
- (n.opt = r || {}),
- (n.opt.lowercase = n.opt.lowercase || n.opt.lowercasetags),
- (n.looseCase = n.opt.lowercase ? "toLowerCase" : "toUpperCase"),
- (n.tags = []),
- (n.closed = n.closedRoot = n.sawRoot = !1),
- (n.tag = n.error = null),
- (n.strict = !!e),
- (n.noscript = !(!e && !n.opt.noscript)),
- (n.state = S.BEGIN),
- (n.strictEntities = n.opt.strictEntities),
- (n.ENTITIES = n.strictEntities ? Object.create(t.XML_ENTITIES) : Object.create(t.ENTITIES)),
- (n.attribList = []),
- n.opt.xmlns && (n.ns = Object.create(g)),
- (n.trackPosition = !1 !== n.opt.position),
- n.trackPosition && (n.position = n.line = n.column = 0),
- k(n, "onready")
- }
- function a(e) {
- for (var r = Math.max(t.MAX_BUFFER_LENGTH, 10), n = 0, o = 0, a = i.length; o < a; o++) {
- var s = e[i[o]].length
- if (s > r)
- switch (i[o]) {
- case "textNode":
- P(e)
- break
- case "cdata":
- L(e, "oncdata", e.cdata), (e.cdata = "")
- break
- case "script":
- L(e, "onscript", e.script), (e.script = "")
- break
- default:
- j(e, "Max buffer length exceeded: " + i[o])
- }
- n = Math.max(n, s)
- }
- var l = t.MAX_BUFFER_LENGTH - n
- e.bufferCheckPosition = l + e.position
- }
- function s(e) {
- for (var t = 0, r = i.length; t < r; t++) e[i[t]] = ""
- }
- function l(e) {
- P(e), "" !== e.cdata && (L(e, "oncdata", e.cdata), (e.cdata = "")), "" !== e.script && (L(e, "onscript", e.script), (e.script = ""))
- }
- ;(t.EVENTS = [
- "text",
- "processinginstruction",
- "sgmldeclaration",
- "doctype",
- "comment",
- "opentagstart",
- "attribute",
- "opentag",
- "closetag",
- "opencdata",
- "cdata",
- "closecdata",
- "error",
- "end",
- "ready",
- "script",
- "opennamespace",
- "closenamespace"
- ]),
- Object.create ||
- (Object.create = function (e) {
- function t() {}
- t.prototype = e
- var r = new t()
- return r
- }),
- Object.keys ||
- (Object.keys = function (e) {
- var t = []
- for (var r in e) e.hasOwnProperty(r) && t.push(r)
- return t
- }),
- (o.prototype = {
- end: function () {
- R(this)
- },
- write: G,
- resume: function () {
- return (this.error = null), this
- },
- close: function () {
- return this.write(null)
- },
- flush: function () {
- l(this)
- }
- })
- try {
- n = r("d485").Stream
- } catch (W) {
- n = function () {}
- }
- var c = t.EVENTS.filter(function (e) {
- return "error" !== e && "end" !== e
- })
- function u(e, t) {
- return new f(e, t)
- }
- function f(e, t) {
- if (!(this instanceof f)) return new f(e, t)
- n.apply(this), (this._parser = new o(e, t)), (this.writable = !0), (this.readable = !0)
- var r = this
- ;(this._parser.onend = function () {
- r.emit("end")
- }),
- (this._parser.onerror = function (e) {
- r.emit("error", e), (r._parser.error = null)
- }),
- (this._decoder = null),
- c.forEach(function (e) {
- Object.defineProperty(r, "on" + e, {
- get: function () {
- return r._parser["on" + e]
- },
- set: function (t) {
- if (!t) return r.removeAllListeners(e), (r._parser["on" + e] = t), t
- r.on(e, t)
- },
- enumerable: !0,
- configurable: !1
- })
- })
- }
- ;(f.prototype = Object.create(n.prototype, {
- constructor: {
- value: f
- }
- })),
- (f.prototype.write = function (t) {
- if ("function" === typeof e && "function" === typeof e.isBuffer && e.isBuffer(t)) {
- if (!this._decoder) {
- var n = r("7d72").StringDecoder
- this._decoder = new n("utf8")
- }
- t = this._decoder.write(t)
- }
- return this._parser.write(t.toString()), this.emit("data", t), !0
- }),
- (f.prototype.end = function (e) {
- return e && e.length && this.write(e), this._parser.end(), !0
- }),
- (f.prototype.on = function (e, t) {
- var r = this
- return (
- r._parser["on" + e] ||
- -1 === c.indexOf(e) ||
- (r._parser["on" + e] = function () {
- var t = 1 === arguments.length ? [arguments[0]] : Array.apply(null, arguments)
- t.splice(0, 0, e), r.emit.apply(r, t)
- }),
- n.prototype.on.call(r, e, t)
- )
- })
- var p = "[CDATA[",
- d = "DOCTYPE",
- h = "http://www.w3.org/XML/1998/namespace",
- m = "http://www.w3.org/2000/xmlns/",
- g = {
- xml: h,
- xmlns: m
- },
- y =
- /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,
- v =
- /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,
- b =
- /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,
- w =
- /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/
- function x(e) {
- return " " === e || "\n" === e || "\r" === e || "\t" === e
- }
- function A(e) {
- return '"' === e || "'" === e
- }
- function _(e) {
- return ">" === e || x(e)
- }
- function T(e, t) {
- return e.test(t)
- }
- function E(e, t) {
- return !T(e, t)
- }
- var S = 0
- for (var C in ((t.STATE = {
- BEGIN: S++,
- BEGIN_WHITESPACE: S++,
- TEXT: S++,
- TEXT_ENTITY: S++,
- OPEN_WAKA: S++,
- SGML_DECL: S++,
- SGML_DECL_QUOTED: S++,
- DOCTYPE: S++,
- DOCTYPE_QUOTED: S++,
- DOCTYPE_DTD: S++,
- DOCTYPE_DTD_QUOTED: S++,
- COMMENT_STARTING: S++,
- COMMENT: S++,
- COMMENT_ENDING: S++,
- COMMENT_ENDED: S++,
- CDATA: S++,
- CDATA_ENDING: S++,
- CDATA_ENDING_2: S++,
- PROC_INST: S++,
- PROC_INST_BODY: S++,
- PROC_INST_ENDING: S++,
- OPEN_TAG: S++,
- OPEN_TAG_SLASH: S++,
- ATTRIB: S++,
- ATTRIB_NAME: S++,
- ATTRIB_NAME_SAW_WHITE: S++,
- ATTRIB_VALUE: S++,
- ATTRIB_VALUE_QUOTED: S++,
- ATTRIB_VALUE_CLOSED: S++,
- ATTRIB_VALUE_UNQUOTED: S++,
- ATTRIB_VALUE_ENTITY_Q: S++,
- ATTRIB_VALUE_ENTITY_U: S++,
- CLOSE_TAG: S++,
- CLOSE_TAG_SAW_WHITE: S++,
- SCRIPT: S++,
- SCRIPT_ENDING: S++
- }),
- (t.XML_ENTITIES = {
- amp: "&",
- gt: ">",
- lt: "<",
- quot: '"',
- apos: "'"
- }),
- (t.ENTITIES = {
- amp: "&",
- gt: ">",
- lt: "<",
- quot: '"',
- apos: "'",
- AElig: 198,
- Aacute: 193,
- Acirc: 194,
- Agrave: 192,
- Aring: 197,
- Atilde: 195,
- Auml: 196,
- Ccedil: 199,
- ETH: 208,
- Eacute: 201,
- Ecirc: 202,
- Egrave: 200,
- Euml: 203,
- Iacute: 205,
- Icirc: 206,
- Igrave: 204,
- Iuml: 207,
- Ntilde: 209,
- Oacute: 211,
- Ocirc: 212,
- Ograve: 210,
- Oslash: 216,
- Otilde: 213,
- Ouml: 214,
- THORN: 222,
- Uacute: 218,
- Ucirc: 219,
- Ugrave: 217,
- Uuml: 220,
- Yacute: 221,
- aacute: 225,
- acirc: 226,
- aelig: 230,
- agrave: 224,
- aring: 229,
- atilde: 227,
- auml: 228,
- ccedil: 231,
- eacute: 233,
- ecirc: 234,
- egrave: 232,
- eth: 240,
- euml: 235,
- iacute: 237,
- icirc: 238,
- igrave: 236,
- iuml: 239,
- ntilde: 241,
- oacute: 243,
- ocirc: 244,
- ograve: 242,
- oslash: 248,
- otilde: 245,
- ouml: 246,
- szlig: 223,
- thorn: 254,
- uacute: 250,
- ucirc: 251,
- ugrave: 249,
- uuml: 252,
- yacute: 253,
- yuml: 255,
- copy: 169,
- reg: 174,
- nbsp: 160,
- iexcl: 161,
- cent: 162,
- pound: 163,
- curren: 164,
- yen: 165,
- brvbar: 166,
- sect: 167,
- uml: 168,
- ordf: 170,
- laquo: 171,
- not: 172,
- shy: 173,
- macr: 175,
- deg: 176,
- plusmn: 177,
- sup1: 185,
- sup2: 178,
- sup3: 179,
- acute: 180,
- micro: 181,
- para: 182,
- middot: 183,
- cedil: 184,
- ordm: 186,
- raquo: 187,
- frac14: 188,
- frac12: 189,
- frac34: 190,
- iquest: 191,
- times: 215,
- divide: 247,
- OElig: 338,
- oelig: 339,
- Scaron: 352,
- scaron: 353,
- Yuml: 376,
- fnof: 402,
- circ: 710,
- tilde: 732,
- Alpha: 913,
- Beta: 914,
- Gamma: 915,
- Delta: 916,
- Epsilon: 917,
- Zeta: 918,
- Eta: 919,
- Theta: 920,
- Iota: 921,
- Kappa: 922,
- Lambda: 923,
- Mu: 924,
- Nu: 925,
- Xi: 926,
- Omicron: 927,
- Pi: 928,
- Rho: 929,
- Sigma: 931,
- Tau: 932,
- Upsilon: 933,
- Phi: 934,
- Chi: 935,
- Psi: 936,
- Omega: 937,
- alpha: 945,
- beta: 946,
- gamma: 947,
- delta: 948,
- epsilon: 949,
- zeta: 950,
- eta: 951,
- theta: 952,
- iota: 953,
- kappa: 954,
- lambda: 955,
- mu: 956,
- nu: 957,
- xi: 958,
- omicron: 959,
- pi: 960,
- rho: 961,
- sigmaf: 962,
- sigma: 963,
- tau: 964,
- upsilon: 965,
- phi: 966,
- chi: 967,
- psi: 968,
- omega: 969,
- thetasym: 977,
- upsih: 978,
- piv: 982,
- ensp: 8194,
- emsp: 8195,
- thinsp: 8201,
- zwnj: 8204,
- zwj: 8205,
- lrm: 8206,
- rlm: 8207,
- ndash: 8211,
- mdash: 8212,
- lsquo: 8216,
- rsquo: 8217,
- sbquo: 8218,
- ldquo: 8220,
- rdquo: 8221,
- bdquo: 8222,
- dagger: 8224,
- Dagger: 8225,
- bull: 8226,
- hellip: 8230,
- permil: 8240,
- prime: 8242,
- Prime: 8243,
- lsaquo: 8249,
- rsaquo: 8250,
- oline: 8254,
- frasl: 8260,
- euro: 8364,
- image: 8465,
- weierp: 8472,
- real: 8476,
- trade: 8482,
- alefsym: 8501,
- larr: 8592,
- uarr: 8593,
- rarr: 8594,
- darr: 8595,
- harr: 8596,
- crarr: 8629,
- lArr: 8656,
- uArr: 8657,
- rArr: 8658,
- dArr: 8659,
- hArr: 8660,
- forall: 8704,
- part: 8706,
- exist: 8707,
- empty: 8709,
- nabla: 8711,
- isin: 8712,
- notin: 8713,
- ni: 8715,
- prod: 8719,
- sum: 8721,
- minus: 8722,
- lowast: 8727,
- radic: 8730,
- prop: 8733,
- infin: 8734,
- ang: 8736,
- and: 8743,
- or: 8744,
- cap: 8745,
- cup: 8746,
- int: 8747,
- there4: 8756,
- sim: 8764,
- cong: 8773,
- asymp: 8776,
- ne: 8800,
- equiv: 8801,
- le: 8804,
- ge: 8805,
- sub: 8834,
- sup: 8835,
- nsub: 8836,
- sube: 8838,
- supe: 8839,
- oplus: 8853,
- otimes: 8855,
- perp: 8869,
- sdot: 8901,
- lceil: 8968,
- rceil: 8969,
- lfloor: 8970,
- rfloor: 8971,
- lang: 9001,
- rang: 9002,
- loz: 9674,
- spades: 9824,
- clubs: 9827,
- hearts: 9829,
- diams: 9830
- }),
- Object.keys(t.ENTITIES).forEach(function (e) {
- var r = t.ENTITIES[e],
- n = "number" === typeof r ? String.fromCharCode(r) : r
- t.ENTITIES[e] = n
- }),
- t.STATE))
- t.STATE[t.STATE[C]] = C
- function k(e, t, r) {
- e[t] && e[t](r)
- }
- function L(e, t, r) {
- e.textNode && P(e), k(e, t, r)
- }
- function P(e) {
- ;(e.textNode = O(e.opt, e.textNode)), e.textNode && k(e, "ontext", e.textNode), (e.textNode = "")
- }
- function O(e, t) {
- return e.trim && (t = t.trim()), e.normalize && (t = t.replace(/\s+/g, " ")), t
- }
- function j(e, t) {
- return (
- P(e),
- e.trackPosition && (t += "\nLine: " + e.line + "\nColumn: " + e.column + "\nChar: " + e.c),
- (t = new Error(t)),
- (e.error = t),
- k(e, "onerror", t),
- e
- )
- }
- function R(e) {
- return (
- e.sawRoot && !e.closedRoot && I(e, "Unclosed root tag"),
- e.state !== S.BEGIN && e.state !== S.BEGIN_WHITESPACE && e.state !== S.TEXT && j(e, "Unexpected end"),
- P(e),
- (e.c = ""),
- (e.closed = !0),
- k(e, "onend"),
- o.call(e, e.strict, e.opt),
- e
- )
- }
- function I(e, t) {
- if ("object" !== typeof e || !(e instanceof o)) throw new Error("bad call to strictFail")
- e.strict && j(e, t)
- }
- function N(e) {
- e.strict || (e.tagName = e.tagName[e.looseCase]())
- var t = e.tags[e.tags.length - 1] || e,
- r = (e.tag = {
- name: e.tagName,
- attributes: {}
- })
- e.opt.xmlns && (r.ns = t.ns), (e.attribList.length = 0), L(e, "onopentagstart", r)
- }
- function M(e, t) {
- var r = e.indexOf(":"),
- n = r < 0 ? ["", e] : e.split(":"),
- i = n[0],
- o = n[1]
- return (
- t && "xmlns" === e && ((i = "xmlns"), (o = "")),
- {
- prefix: i,
- local: o
- }
- )
- }
- function D(e) {
- if (
- (e.strict || (e.attribName = e.attribName[e.looseCase]()),
- -1 !== e.attribList.indexOf(e.attribName) || e.tag.attributes.hasOwnProperty(e.attribName))
- )
- e.attribName = e.attribValue = ""
- else {
- if (e.opt.xmlns) {
- var t = M(e.attribName, !0),
- r = t.prefix,
- n = t.local
- if ("xmlns" === r)
- if ("xml" === n && e.attribValue !== h) I(e, "xml: prefix must be bound to " + h + "\nActual: " + e.attribValue)
- else if ("xmlns" === n && e.attribValue !== m) I(e, "xmlns: prefix must be bound to " + m + "\nActual: " + e.attribValue)
- else {
- var i = e.tag,
- o = e.tags[e.tags.length - 1] || e
- i.ns === o.ns && (i.ns = Object.create(o.ns)), (i.ns[n] = e.attribValue)
- }
- e.attribList.push([e.attribName, e.attribValue])
- } else
- (e.tag.attributes[e.attribName] = e.attribValue),
- L(e, "onattribute", {
- name: e.attribName,
- value: e.attribValue
- })
- e.attribName = e.attribValue = ""
- }
- }
- function B(e, t) {
- if (e.opt.xmlns) {
- var r = e.tag,
- n = M(e.tagName)
- ;(r.prefix = n.prefix),
- (r.local = n.local),
- (r.uri = r.ns[n.prefix] || ""),
- r.prefix && !r.uri && (I(e, "Unbound namespace prefix: " + JSON.stringify(e.tagName)), (r.uri = n.prefix))
- var i = e.tags[e.tags.length - 1] || e
- r.ns &&
- i.ns !== r.ns &&
- Object.keys(r.ns).forEach(function (t) {
- L(e, "onopennamespace", {
- prefix: t,
- uri: r.ns[t]
- })
- })
- for (var o = 0, a = e.attribList.length; o < a; o++) {
- var s = e.attribList[o],
- l = s[0],
- c = s[1],
- u = M(l, !0),
- f = u.prefix,
- p = u.local,
- d = "" === f ? "" : r.ns[f] || "",
- h = {
- name: l,
- value: c,
- prefix: f,
- local: p,
- uri: d
- }
- f && "xmlns" !== f && !d && (I(e, "Unbound namespace prefix: " + JSON.stringify(f)), (h.uri = f)),
- (e.tag.attributes[l] = h),
- L(e, "onattribute", h)
- }
- e.attribList.length = 0
- }
- ;(e.tag.isSelfClosing = !!t),
- (e.sawRoot = !0),
- e.tags.push(e.tag),
- L(e, "onopentag", e.tag),
- t ||
- (e.noscript || "script" !== e.tagName.toLowerCase() ? (e.state = S.TEXT) : (e.state = S.SCRIPT),
- (e.tag = null),
- (e.tagName = "")),
- (e.attribName = e.attribValue = ""),
- (e.attribList.length = 0)
- }
- function F(e) {
- if (!e.tagName) return I(e, "Weird empty close tag."), (e.textNode += "</>"), void (e.state = S.TEXT)
- if (e.script) {
- if ("script" !== e.tagName) return (e.script += "</" + e.tagName + ">"), (e.tagName = ""), void (e.state = S.SCRIPT)
- L(e, "onscript", e.script), (e.script = "")
- }
- var t = e.tags.length,
- r = e.tagName
- e.strict || (r = r[e.looseCase]())
- var n = r
- while (t--) {
- var i = e.tags[t]
- if (i.name === n) break
- I(e, "Unexpected close tag")
- }
- if (t < 0) return I(e, "Unmatched closing tag: " + e.tagName), (e.textNode += "</" + e.tagName + ">"), void (e.state = S.TEXT)
- e.tagName = r
- var o = e.tags.length
- while (o-- > t) {
- var a = (e.tag = e.tags.pop())
- ;(e.tagName = e.tag.name), L(e, "onclosetag", e.tagName)
- var s = {}
- for (var l in a.ns) s[l] = a.ns[l]
- var c = e.tags[e.tags.length - 1] || e
- e.opt.xmlns &&
- a.ns !== c.ns &&
- Object.keys(a.ns).forEach(function (t) {
- var r = a.ns[t]
- L(e, "onclosenamespace", {
- prefix: t,
- uri: r
- })
- })
- }
- 0 === t && (e.closedRoot = !0), (e.tagName = e.attribValue = e.attribName = ""), (e.attribList.length = 0), (e.state = S.TEXT)
- }
- function U(e) {
- var t,
- r = e.entity,
- n = r.toLowerCase(),
- i = ""
- return e.ENTITIES[r]
- ? e.ENTITIES[r]
- : e.ENTITIES[n]
- ? e.ENTITIES[n]
- : ((r = n),
- "#" === r.charAt(0) &&
- ("x" === r.charAt(1)
- ? ((r = r.slice(2)), (t = parseInt(r, 16)), (i = t.toString(16)))
- : ((r = r.slice(1)), (t = parseInt(r, 10)), (i = t.toString(10)))),
- (r = r.replace(/^0+/, "")),
- isNaN(t) || i.toLowerCase() !== r ? (I(e, "Invalid character entity"), "&" + e.entity + ";") : String.fromCodePoint(t))
- }
- function z(e, t) {
- "<" === t
- ? ((e.state = S.OPEN_WAKA), (e.startTagPosition = e.position))
- : x(t) || (I(e, "Non-whitespace before first tag."), (e.textNode = t), (e.state = S.TEXT))
- }
- function q(e, t) {
- var r = ""
- return t < e.length && (r = e.charAt(t)), r
- }
- function G(e) {
- var t = this
- if (this.error) throw this.error
- if (t.closed) return j(t, "Cannot write after close. Assign an onready handler.")
- if (null === e) return R(t)
- "object" === typeof e && (e = e.toString())
- var r = 0,
- n = ""
- while (1) {
- if (((n = q(e, r++)), (t.c = n), !n)) break
- switch ((t.trackPosition && (t.position++, "\n" === n ? (t.line++, (t.column = 0)) : t.column++), t.state)) {
- case S.BEGIN:
- if (((t.state = S.BEGIN_WHITESPACE), "\ufeff" === n)) continue
- z(t, n)
- continue
- case S.BEGIN_WHITESPACE:
- z(t, n)
- continue
- case S.TEXT:
- if (t.sawRoot && !t.closedRoot) {
- var i = r - 1
- while (n && "<" !== n && "&" !== n)
- (n = q(e, r++)), n && t.trackPosition && (t.position++, "\n" === n ? (t.line++, (t.column = 0)) : t.column++)
- t.textNode += e.substring(i, r - 1)
- }
- "<" !== n || (t.sawRoot && t.closedRoot && !t.strict)
- ? (x(n) || (t.sawRoot && !t.closedRoot) || I(t, "Text data outside of root node."),
- "&" === n ? (t.state = S.TEXT_ENTITY) : (t.textNode += n))
- : ((t.state = S.OPEN_WAKA), (t.startTagPosition = t.position))
- continue
- case S.SCRIPT:
- "<" === n ? (t.state = S.SCRIPT_ENDING) : (t.script += n)
- continue
- case S.SCRIPT_ENDING:
- "/" === n ? (t.state = S.CLOSE_TAG) : ((t.script += "<" + n), (t.state = S.SCRIPT))
- continue
- case S.OPEN_WAKA:
- if ("!" === n) (t.state = S.SGML_DECL), (t.sgmlDecl = "")
- else if (x(n));
- else if (T(y, n)) (t.state = S.OPEN_TAG), (t.tagName = n)
- else if ("/" === n) (t.state = S.CLOSE_TAG), (t.tagName = "")
- else if ("?" === n) (t.state = S.PROC_INST), (t.procInstName = t.procInstBody = "")
- else {
- if ((I(t, "Unencoded <"), t.startTagPosition + 1 < t.position)) {
- var o = t.position - t.startTagPosition
- n = new Array(o).join(" ") + n
- }
- ;(t.textNode += "<" + n), (t.state = S.TEXT)
- }
- continue
- case S.SGML_DECL:
- ;(t.sgmlDecl + n).toUpperCase() === p
- ? (L(t, "onopencdata"), (t.state = S.CDATA), (t.sgmlDecl = ""), (t.cdata = ""))
- : t.sgmlDecl + n === "--"
- ? ((t.state = S.COMMENT), (t.comment = ""), (t.sgmlDecl = ""))
- : (t.sgmlDecl + n).toUpperCase() === d
- ? ((t.state = S.DOCTYPE),
- (t.doctype || t.sawRoot) && I(t, "Inappropriately located doctype declaration"),
- (t.doctype = ""),
- (t.sgmlDecl = ""))
- : ">" === n
- ? (L(t, "onsgmldeclaration", t.sgmlDecl), (t.sgmlDecl = ""), (t.state = S.TEXT))
- : A(n)
- ? ((t.state = S.SGML_DECL_QUOTED), (t.sgmlDecl += n))
- : (t.sgmlDecl += n)
- continue
- case S.SGML_DECL_QUOTED:
- n === t.q && ((t.state = S.SGML_DECL), (t.q = "")), (t.sgmlDecl += n)
- continue
- case S.DOCTYPE:
- ">" === n
- ? ((t.state = S.TEXT), L(t, "ondoctype", t.doctype), (t.doctype = !0))
- : ((t.doctype += n), "[" === n ? (t.state = S.DOCTYPE_DTD) : A(n) && ((t.state = S.DOCTYPE_QUOTED), (t.q = n)))
- continue
- case S.DOCTYPE_QUOTED:
- ;(t.doctype += n), n === t.q && ((t.q = ""), (t.state = S.DOCTYPE))
- continue
- case S.DOCTYPE_DTD:
- ;(t.doctype += n), "]" === n ? (t.state = S.DOCTYPE) : A(n) && ((t.state = S.DOCTYPE_DTD_QUOTED), (t.q = n))
- continue
- case S.DOCTYPE_DTD_QUOTED:
- ;(t.doctype += n), n === t.q && ((t.state = S.DOCTYPE_DTD), (t.q = ""))
- continue
- case S.COMMENT:
- "-" === n ? (t.state = S.COMMENT_ENDING) : (t.comment += n)
- continue
- case S.COMMENT_ENDING:
- "-" === n
- ? ((t.state = S.COMMENT_ENDED),
- (t.comment = O(t.opt, t.comment)),
- t.comment && L(t, "oncomment", t.comment),
- (t.comment = ""))
- : ((t.comment += "-" + n), (t.state = S.COMMENT))
- continue
- case S.COMMENT_ENDED:
- ">" !== n ? (I(t, "Malformed comment"), (t.comment += "--" + n), (t.state = S.COMMENT)) : (t.state = S.TEXT)
- continue
- case S.CDATA:
- "]" === n ? (t.state = S.CDATA_ENDING) : (t.cdata += n)
- continue
- case S.CDATA_ENDING:
- "]" === n ? (t.state = S.CDATA_ENDING_2) : ((t.cdata += "]" + n), (t.state = S.CDATA))
- continue
- case S.CDATA_ENDING_2:
- ">" === n
- ? (t.cdata && L(t, "oncdata", t.cdata), L(t, "onclosecdata"), (t.cdata = ""), (t.state = S.TEXT))
- : "]" === n
- ? (t.cdata += "]")
- : ((t.cdata += "]]" + n), (t.state = S.CDATA))
- continue
- case S.PROC_INST:
- "?" === n ? (t.state = S.PROC_INST_ENDING) : x(n) ? (t.state = S.PROC_INST_BODY) : (t.procInstName += n)
- continue
- case S.PROC_INST_BODY:
- if (!t.procInstBody && x(n)) continue
- "?" === n ? (t.state = S.PROC_INST_ENDING) : (t.procInstBody += n)
- continue
- case S.PROC_INST_ENDING:
- ">" === n
- ? (L(t, "onprocessinginstruction", {
- name: t.procInstName,
- body: t.procInstBody
- }),
- (t.procInstName = t.procInstBody = ""),
- (t.state = S.TEXT))
- : ((t.procInstBody += "?" + n), (t.state = S.PROC_INST_BODY))
- continue
- case S.OPEN_TAG:
- T(v, n)
- ? (t.tagName += n)
- : (N(t),
- ">" === n
- ? B(t)
- : "/" === n
- ? (t.state = S.OPEN_TAG_SLASH)
- : (x(n) || I(t, "Invalid character in tag name"), (t.state = S.ATTRIB)))
- continue
- case S.OPEN_TAG_SLASH:
- ">" === n ? (B(t, !0), F(t)) : (I(t, "Forward-slash in opening tag not followed by >"), (t.state = S.ATTRIB))
- continue
- case S.ATTRIB:
- if (x(n)) continue
- ">" === n
- ? B(t)
- : "/" === n
- ? (t.state = S.OPEN_TAG_SLASH)
- : T(y, n)
- ? ((t.attribName = n), (t.attribValue = ""), (t.state = S.ATTRIB_NAME))
- : I(t, "Invalid attribute name")
- continue
- case S.ATTRIB_NAME:
- "=" === n
- ? (t.state = S.ATTRIB_VALUE)
- : ">" === n
- ? (I(t, "Attribute without value"), (t.attribValue = t.attribName), D(t), B(t))
- : x(n)
- ? (t.state = S.ATTRIB_NAME_SAW_WHITE)
- : T(v, n)
- ? (t.attribName += n)
- : I(t, "Invalid attribute name")
- continue
- case S.ATTRIB_NAME_SAW_WHITE:
- if ("=" === n) t.state = S.ATTRIB_VALUE
- else {
- if (x(n)) continue
- I(t, "Attribute without value"),
- (t.tag.attributes[t.attribName] = ""),
- (t.attribValue = ""),
- L(t, "onattribute", {
- name: t.attribName,
- value: ""
- }),
- (t.attribName = ""),
- ">" === n
- ? B(t)
- : T(y, n)
- ? ((t.attribName = n), (t.state = S.ATTRIB_NAME))
- : (I(t, "Invalid attribute name"), (t.state = S.ATTRIB))
- }
- continue
- case S.ATTRIB_VALUE:
- if (x(n)) continue
- A(n)
- ? ((t.q = n), (t.state = S.ATTRIB_VALUE_QUOTED))
- : (I(t, "Unquoted attribute value"), (t.state = S.ATTRIB_VALUE_UNQUOTED), (t.attribValue = n))
- continue
- case S.ATTRIB_VALUE_QUOTED:
- if (n !== t.q) {
- "&" === n ? (t.state = S.ATTRIB_VALUE_ENTITY_Q) : (t.attribValue += n)
- continue
- }
- D(t), (t.q = ""), (t.state = S.ATTRIB_VALUE_CLOSED)
- continue
- case S.ATTRIB_VALUE_CLOSED:
- x(n)
- ? (t.state = S.ATTRIB)
- : ">" === n
- ? B(t)
- : "/" === n
- ? (t.state = S.OPEN_TAG_SLASH)
- : T(y, n)
- ? (I(t, "No whitespace between attributes"), (t.attribName = n), (t.attribValue = ""), (t.state = S.ATTRIB_NAME))
- : I(t, "Invalid attribute name")
- continue
- case S.ATTRIB_VALUE_UNQUOTED:
- if (!_(n)) {
- "&" === n ? (t.state = S.ATTRIB_VALUE_ENTITY_U) : (t.attribValue += n)
- continue
- }
- D(t), ">" === n ? B(t) : (t.state = S.ATTRIB)
- continue
- case S.CLOSE_TAG:
- if (t.tagName)
- ">" === n
- ? F(t)
- : T(v, n)
- ? (t.tagName += n)
- : t.script
- ? ((t.script += "</" + t.tagName), (t.tagName = ""), (t.state = S.SCRIPT))
- : (x(n) || I(t, "Invalid tagname in closing tag"), (t.state = S.CLOSE_TAG_SAW_WHITE))
- else {
- if (x(n)) continue
- E(y, n)
- ? t.script
- ? ((t.script += "</" + n), (t.state = S.SCRIPT))
- : I(t, "Invalid tagname in closing tag.")
- : (t.tagName = n)
- }
- continue
- case S.CLOSE_TAG_SAW_WHITE:
- if (x(n)) continue
- ">" === n ? F(t) : I(t, "Invalid characters in closing tag")
- continue
- case S.TEXT_ENTITY:
- case S.ATTRIB_VALUE_ENTITY_Q:
- case S.ATTRIB_VALUE_ENTITY_U:
- var s, l
- switch (t.state) {
- case S.TEXT_ENTITY:
- ;(s = S.TEXT), (l = "textNode")
- break
- case S.ATTRIB_VALUE_ENTITY_Q:
- ;(s = S.ATTRIB_VALUE_QUOTED), (l = "attribValue")
- break
- case S.ATTRIB_VALUE_ENTITY_U:
- ;(s = S.ATTRIB_VALUE_UNQUOTED), (l = "attribValue")
- break
- }
- ";" === n
- ? ((t[l] += U(t)), (t.entity = ""), (t.state = s))
- : T(t.entity.length ? w : b, n)
- ? (t.entity += n)
- : (I(t, "Invalid character in entity name"), (t[l] += "&" + t.entity + n), (t.entity = ""), (t.state = s))
- continue
- default:
- throw new Error(t, "Unknown state: " + t.state)
- }
- }
- return t.position >= t.bufferCheckPosition && a(t), t
- }
- /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
- ;(S = t.STATE),
- String.fromCodePoint ||
- (function () {
- var e = String.fromCharCode,
- t = Math.floor,
- r = function () {
- var r,
- n,
- i = 16384,
- o = [],
- a = -1,
- s = arguments.length
- if (!s) return ""
- var l = ""
- while (++a < s) {
- var c = Number(arguments[a])
- if (!isFinite(c) || c < 0 || c > 1114111 || t(c) !== c) throw RangeError("Invalid code point: " + c)
- c <= 65535 ? o.push(c) : ((c -= 65536), (r = 55296 + (c >> 10)), (n = (c % 1024) + 56320), o.push(r, n)),
- (a + 1 === s || o.length > i) && ((l += e.apply(null, o)), (o.length = 0))
- }
- return l
- }
- Object.defineProperty
- ? Object.defineProperty(String, "fromCodePoint", {
- value: r,
- configurable: !0,
- writable: !0
- })
- : (String.fromCodePoint = r)
- })()
- })(t)
- }).call(this, r("b639").Buffer)
- },
- "342f": function (e, t, r) {
- var n = r("d066")
- e.exports = n("navigator", "userAgent") || ""
- },
- "35a1": function (e, t, r) {
- var n = r("f5df"),
- i = r("3f8c"),
- o = r("b622"),
- a = o("iterator")
- e.exports = function (e) {
- if (void 0 != e) return e[a] || e["@@iterator"] || i[n(e)]
- }
- },
- "37e8": function (e, t, r) {
- var n = r("83ab"),
- i = r("9bf2"),
- o = r("825a"),
- a = r("df75")
- e.exports = n
- ? Object.defineProperties
- : function (e, t) {
- o(e)
- var r,
- n = a(t),
- s = n.length,
- l = 0
- while (s > l) i.f(e, (r = n[l++]), t[r])
- return e
- }
- },
- "3a7c": function (e, t, r) {
- function n(e) {
- return Array.isArray ? Array.isArray(e) : "[object Array]" === y(e)
- }
- function i(e) {
- return "boolean" === typeof e
- }
- function o(e) {
- return null === e
- }
- function a(e) {
- return null == e
- }
- function s(e) {
- return "number" === typeof e
- }
- function l(e) {
- return "string" === typeof e
- }
- function c(e) {
- return "symbol" === typeof e
- }
- function u(e) {
- return void 0 === e
- }
- function f(e) {
- return "[object RegExp]" === y(e)
- }
- function p(e) {
- return "object" === typeof e && null !== e
- }
- function d(e) {
- return "[object Date]" === y(e)
- }
- function h(e) {
- return "[object Error]" === y(e) || e instanceof Error
- }
- function m(e) {
- return "function" === typeof e
- }
- function g(e) {
- return (
- null === e ||
- "boolean" === typeof e ||
- "number" === typeof e ||
- "string" === typeof e ||
- "symbol" === typeof e ||
- "undefined" === typeof e
- )
- }
- function y(e) {
- return Object.prototype.toString.call(e)
- }
- ;(t.isArray = n),
- (t.isBoolean = i),
- (t.isNull = o),
- (t.isNullOrUndefined = a),
- (t.isNumber = s),
- (t.isString = l),
- (t.isSymbol = c),
- (t.isUndefined = u),
- (t.isRegExp = f),
- (t.isObject = p),
- (t.isDate = d),
- (t.isError = h),
- (t.isFunction = m),
- (t.isPrimitive = g),
- (t.isBuffer = r("b639").Buffer.isBuffer)
- },
- "3bbe": function (e, t, r) {
- var n = r("861d")
- e.exports = function (e) {
- if (!n(e) && null !== e) throw TypeError("Can't set " + String(e) + " as a prototype")
- return e
- }
- },
- "3ca3": function (e, t, r) {
- "use strict"
- var n = r("6547").charAt,
- i = r("577e"),
- o = r("69f3"),
- a = r("7dd0"),
- s = "String Iterator",
- l = o.set,
- c = o.getterFor(s)
- a(
- String,
- "String",
- function (e) {
- l(this, {
- type: s,
- string: i(e),
- index: 0
- })
- },
- function () {
- var e,
- t = c(this),
- r = t.string,
- i = t.index
- return i >= r.length
- ? {
- value: void 0,
- done: !0
- }
- : ((e = n(r, i)),
- (t.index += e.length),
- {
- value: e,
- done: !1
- })
- }
- )
- },
- "3f8c": function (e, t) {
- e.exports = {}
- },
- "3fb5": function (e, t) {
- "function" === typeof Object.create
- ? (e.exports = function (e, t) {
- t &&
- ((e.super_ = t),
- (e.prototype = Object.create(t.prototype, {
- constructor: {
- value: e,
- enumerable: !1,
- writable: !0,
- configurable: !0
- }
- })))
- })
- : (e.exports = function (e, t) {
- if (t) {
- e.super_ = t
- var r = function () {}
- ;(r.prototype = t.prototype), (e.prototype = new r()), (e.prototype.constructor = e)
- }
- })
- },
- "428f": function (e, t, r) {
- var n = r("da84")
- e.exports = n
- },
- "429b": function (e, t, r) {
- e.exports = r("faa1").EventEmitter
- },
- 4362: function (e, t, r) {
- ;(t.nextTick = function (e) {
- var t = Array.prototype.slice.call(arguments)
- t.shift(),
- setTimeout(function () {
- e.apply(null, t)
- }, 0)
- }),
- (t.platform = t.arch = t.execPath = t.title = "browser"),
- (t.pid = 1),
- (t.browser = !0),
- (t.env = {}),
- (t.argv = []),
- (t.binding = function (e) {
- throw new Error("No such module. (Possibly not yet loaded)")
- }),
- (function () {
- var e,
- n = "/"
- ;(t.cwd = function () {
- return n
- }),
- (t.chdir = function (t) {
- e || (e = r("df7c")), (n = e.resolve(t, n))
- })
- })(),
- (t.exit = t.kill = t.umask = t.dlopen = t.uptime = t.memoryUsage = t.uvCounters = function () {}),
- (t.features = {})
- },
- "44ad": function (e, t, r) {
- var n = r("d039"),
- i = r("c6b6"),
- o = "".split
- e.exports = n(function () {
- return !Object("z").propertyIsEnumerable(0)
- })
- ? function (e) {
- return "String" == i(e) ? o.call(e, "") : Object(e)
- }
- : Object
- },
- "44d2": function (e, t, r) {
- var n = r("b622"),
- i = r("7c73"),
- o = r("9bf2"),
- a = n("unscopables"),
- s = Array.prototype
- void 0 == s[a] &&
- o.f(s, a, {
- configurable: !0,
- value: i(null)
- }),
- (e.exports = function (e) {
- s[a][e] = !0
- })
- },
- "44e7": function (e, t, r) {
- var n = r("861d"),
- i = r("c6b6"),
- o = r("b622"),
- a = o("match")
- e.exports = function (e) {
- var t
- return n(e) && (void 0 !== (t = e[a]) ? !!t : "RegExp" == i(e))
- }
- },
- 4681: function (e, t, r) {
- "use strict"
- var n = r("966d")
- function i(e, t) {
- var r = this,
- i = this._readableState && this._readableState.destroyed,
- o = this._writableState && this._writableState.destroyed
- return i || o
- ? (t ? t(e) : !e || (this._writableState && this._writableState.errorEmitted) || n.nextTick(a, this, e), this)
- : (this._readableState && (this._readableState.destroyed = !0),
- this._writableState && (this._writableState.destroyed = !0),
- this._destroy(e || null, function (e) {
- !t && e ? (n.nextTick(a, r, e), r._writableState && (r._writableState.errorEmitted = !0)) : t && t(e)
- }),
- this)
- }
- function o() {
- this._readableState &&
- ((this._readableState.destroyed = !1),
- (this._readableState.reading = !1),
- (this._readableState.ended = !1),
- (this._readableState.endEmitted = !1)),
- this._writableState &&
- ((this._writableState.destroyed = !1),
- (this._writableState.ended = !1),
- (this._writableState.ending = !1),
- (this._writableState.finished = !1),
- (this._writableState.errorEmitted = !1))
- }
- function a(e, t) {
- e.emit("error", t)
- }
- e.exports = {
- destroy: i,
- undestroy: o
- }
- },
- 4840: function (e, t, r) {
- var n = r("825a"),
- i = r("1c0b"),
- o = r("b622"),
- a = o("species")
- e.exports = function (e, t) {
- var r,
- o = n(e).constructor
- return void 0 === o || void 0 == (r = n(o)[a]) ? t : i(r)
- }
- },
- "485a": function (e, t, r) {
- var n = r("861d")
- e.exports = function (e, t) {
- var r, i
- if ("string" === t && "function" == typeof (r = e.toString) && !n((i = r.call(e)))) return i
- if ("function" == typeof (r = e.valueOf) && !n((i = r.call(e)))) return i
- if ("string" !== t && "function" == typeof (r = e.toString) && !n((i = r.call(e)))) return i
- throw TypeError("Can't convert object to primitive value")
- }
- },
- 4930: function (e, t, r) {
- var n = r("2d00"),
- i = r("d039")
- e.exports =
- !!Object.getOwnPropertySymbols &&
- !i(function () {
- var e = Symbol()
- return !String(e) || !(Object(e) instanceof Symbol) || (!Symbol.sham && n && n < 41)
- })
- },
- "493b": function (e, t, r) {
- ;(function (t) {
- var n = r("cef9")
- e.exports = function (e, r) {
- e instanceof t && (e = e.toString())
- var i = null
- if ("string" === typeof e)
- try {
- i = JSON.parse(e)
- } catch (o) {
- throw new Error("The JSON structure is invalid")
- }
- else i = e
- return n(i, r)
- }
- }).call(this, r("b639").Buffer)
- },
- "498a": function (e, t, r) {
- "use strict"
- var n = r("23e7"),
- i = r("58a8").trim,
- o = r("c8d2")
- n(
- {
- target: "String",
- proto: !0,
- forced: o("trim")
- },
- {
- trim: function () {
- return i(this)
- }
- }
- )
- },
- "4d64": function (e, t, r) {
- var n = r("fc6a"),
- i = r("50c4"),
- o = r("23cb"),
- a = function (e) {
- return function (t, r, a) {
- var s,
- l = n(t),
- c = i(l.length),
- u = o(a, c)
- if (e && r != r) {
- while (c > u) if (((s = l[u++]), s != s)) return !0
- } else for (; c > u; u++) if ((e || u in l) && l[u] === r) return e || u || 0
- return !e && -1
- }
- }
- e.exports = {
- includes: a(!0),
- indexOf: a(!1)
- }
- },
- "4de4": function (e, t, r) {
- "use strict"
- var n = r("23e7"),
- i = r("b727").filter,
- o = r("1dde"),
- a = o("filter")
- n(
- {
- target: "Array",
- proto: !0,
- forced: !a
- },
- {
- filter: function (e) {
- return i(this, e, arguments.length > 1 ? arguments[1] : void 0)
- }
- }
- )
- },
- "4df4": function (e, t, r) {
- "use strict"
- var n = r("0366"),
- i = r("7b0b"),
- o = r("9bdd"),
- a = r("e95a"),
- s = r("50c4"),
- l = r("8418"),
- c = r("9a1f"),
- u = r("35a1")
- e.exports = function (e) {
- var t,
- r,
- f,
- p,
- d,
- h,
- m = i(e),
- g = "function" == typeof this ? this : Array,
- y = arguments.length,
- v = y > 1 ? arguments[1] : void 0,
- b = void 0 !== v,
- w = u(m),
- x = 0
- if ((b && (v = n(v, y > 2 ? arguments[2] : void 0, 2)), void 0 == w || (g == Array && a(w))))
- for (t = s(m.length), r = new g(t); t > x; x++) (h = b ? v(m[x], x) : m[x]), l(r, x, h)
- else for (p = c(m, w), d = p.next, r = new g(); !(f = d.call(p)).done; x++) (h = b ? o(p, v, [f.value, x], !0) : f.value), l(r, x, h)
- return (r.length = x), r
- }
- },
- "50c4": function (e, t, r) {
- var n = r("a691"),
- i = Math.min
- e.exports = function (e) {
- return e > 0 ? i(n(e), 9007199254740991) : 0
- }
- },
- 5135: function (e, t, r) {
- var n = r("7b0b"),
- i = {}.hasOwnProperty
- e.exports =
- Object.hasOwn ||
- function (e, t) {
- return i.call(n(e), t)
- }
- },
- 5319: function (e, t, r) {
- "use strict"
- var n = r("d784"),
- i = r("d039"),
- o = r("825a"),
- a = r("a691"),
- s = r("50c4"),
- l = r("577e"),
- c = r("1d80"),
- u = r("8aa5"),
- f = r("0cb2"),
- p = r("14c3"),
- d = r("b622"),
- h = d("replace"),
- m = Math.max,
- g = Math.min,
- y = function (e) {
- return void 0 === e ? e : String(e)
- },
- v = (function () {
- return "$0" === "a".replace(/./, "$0")
- })(),
- b = (function () {
- return !!/./[h] && "" === /./[h]("a", "$0")
- })(),
- w = !i(function () {
- var e = /./
- return (
- (e.exec = function () {
- var e = []
- return (
- (e.groups = {
- a: "7"
- }),
- e
- )
- }),
- "7" !== "".replace(e, "$<a>")
- )
- })
- n(
- "replace",
- function (e, t, r) {
- var n = b ? "$" : "$0"
- return [
- function (e, r) {
- var n = c(this),
- i = void 0 == e ? void 0 : e[h]
- return void 0 !== i ? i.call(e, n, r) : t.call(l(n), e, r)
- },
- function (e, i) {
- var c = o(this),
- d = l(e)
- if ("string" === typeof i && -1 === i.indexOf(n) && -1 === i.indexOf("$<")) {
- var h = r(t, c, d, i)
- if (h.done) return h.value
- }
- var v = "function" === typeof i
- v || (i = l(i))
- var b = c.global
- if (b) {
- var w = c.unicode
- c.lastIndex = 0
- }
- var x = []
- while (1) {
- var A = p(c, d)
- if (null === A) break
- if ((x.push(A), !b)) break
- var _ = l(A[0])
- "" === _ && (c.lastIndex = u(d, s(c.lastIndex), w))
- }
- for (var T = "", E = 0, S = 0; S < x.length; S++) {
- A = x[S]
- for (var C = l(A[0]), k = m(g(a(A.index), d.length), 0), L = [], P = 1; P < A.length; P++) L.push(y(A[P]))
- var O = A.groups
- if (v) {
- var j = [C].concat(L, k, d)
- void 0 !== O && j.push(O)
- var R = l(i.apply(void 0, j))
- } else R = f(C, d, k, L, O, i)
- k >= E && ((T += d.slice(E, k) + R), (E = k + C.length))
- }
- return T + d.slice(E)
- }
- ]
- },
- !w || !v || b
- )
- },
- 5692: function (e, t, r) {
- var n = r("c430"),
- i = r("c6cd")
- ;(e.exports = function (e, t) {
- return i[e] || (i[e] = void 0 !== t ? t : {})
- })("versions", []).push({
- version: "3.17.2",
- mode: n ? "pure" : "global",
- copyright: "© 2021 Denis Pushkarev (zloirock.ru)"
- })
- },
- "56ef": function (e, t, r) {
- var n = r("d066"),
- i = r("241c"),
- o = r("7418"),
- a = r("825a")
- e.exports =
- n("Reflect", "ownKeys") ||
- function (e) {
- var t = i.f(a(e)),
- r = o.f
- return r ? t.concat(r(e)) : t
- }
- },
- "577e": function (e, t, r) {
- var n = r("d9b5")
- e.exports = function (e) {
- if (n(e)) throw TypeError("Cannot convert a Symbol value to a string")
- return String(e)
- }
- },
- 5899: function (e, t) {
- e.exports = "\t\n\v\f\r \u2028\u2029\ufeff"
- },
- "58a8": function (e, t, r) {
- var n = r("1d80"),
- i = r("577e"),
- o = r("5899"),
- a = "[" + o + "]",
- s = RegExp("^" + a + a + "*"),
- l = RegExp(a + a + "*$"),
- c = function (e) {
- return function (t) {
- var r = i(n(t))
- return 1 & e && (r = r.replace(s, "")), 2 & e && (r = r.replace(l, "")), r
- }
- }
- e.exports = {
- start: c(1),
- end: c(2),
- trim: c(3)
- }
- },
- "5a34": function (e, t, r) {
- var n = r("44e7")
- e.exports = function (e) {
- if (n(e)) throw TypeError("The method doesn't accept regular expressions")
- return e
- }
- },
- "5c6c": function (e, t) {
- e.exports = function (e, t) {
- return {
- enumerable: !(1 & e),
- configurable: !(2 & e),
- writable: !(4 & e),
- value: t
- }
- }
- },
- "5e1a": function (e, t, r) {
- "use strict"
- function n(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- var i = r("a8f0").Buffer,
- o = r(3)
- function a(e, t, r) {
- e.copy(t, r)
- }
- ;(e.exports = (function () {
- function e() {
- n(this, e), (this.head = null), (this.tail = null), (this.length = 0)
- }
- return (
- (e.prototype.push = function (e) {
- var t = {
- data: e,
- next: null
- }
- this.length > 0 ? (this.tail.next = t) : (this.head = t), (this.tail = t), ++this.length
- }),
- (e.prototype.unshift = function (e) {
- var t = {
- data: e,
- next: this.head
- }
- 0 === this.length && (this.tail = t), (this.head = t), ++this.length
- }),
- (e.prototype.shift = function () {
- if (0 !== this.length) {
- var e = this.head.data
- return 1 === this.length ? (this.head = this.tail = null) : (this.head = this.head.next), --this.length, e
- }
- }),
- (e.prototype.clear = function () {
- ;(this.head = this.tail = null), (this.length = 0)
- }),
- (e.prototype.join = function (e) {
- if (0 === this.length) return ""
- var t = this.head,
- r = "" + t.data
- while ((t = t.next)) r += e + t.data
- return r
- }),
- (e.prototype.concat = function (e) {
- if (0 === this.length) return i.alloc(0)
- if (1 === this.length) return this.head.data
- var t = i.allocUnsafe(e >>> 0),
- r = this.head,
- n = 0
- while (r) a(r.data, t, n), (n += r.data.length), (r = r.next)
- return t
- }),
- e
- )
- })()),
- o &&
- o.inspect &&
- o.inspect.custom &&
- (e.exports.prototype[o.inspect.custom] = function () {
- var e = o.inspect({
- length: this.length
- })
- return this.constructor.name + " " + e
- })
- },
- "62e4": function (e, t) {
- e.exports = function (e) {
- return (
- e.webpackPolyfill ||
- ((e.deprecate = function () {}),
- (e.paths = []),
- e.children || (e.children = []),
- Object.defineProperty(e, "loaded", {
- enumerable: !0,
- get: function () {
- return e.l
- }
- }),
- Object.defineProperty(e, "id", {
- enumerable: !0,
- get: function () {
- return e.i
- }
- }),
- (e.webpackPolyfill = 1)),
- e
- )
- }
- },
- 6547: function (e, t, r) {
- var n = r("a691"),
- i = r("577e"),
- o = r("1d80"),
- a = function (e) {
- return function (t, r) {
- var a,
- s,
- l = i(o(t)),
- c = n(r),
- u = l.length
- return c < 0 || c >= u
- ? e
- ? ""
- : void 0
- : ((a = l.charCodeAt(c)),
- a < 55296 || a > 56319 || c + 1 === u || (s = l.charCodeAt(c + 1)) < 56320 || s > 57343
- ? e
- ? l.charAt(c)
- : a
- : e
- ? l.slice(c, c + 2)
- : s - 56320 + ((a - 55296) << 10) + 65536)
- }
- }
- e.exports = {
- codeAt: a(!1),
- charAt: a(!0)
- }
- },
- "65f0": function (e, t, r) {
- var n = r("0b42")
- e.exports = function (e, t) {
- return new (n(e))(0 === t ? 0 : t)
- }
- },
- "69f3": function (e, t, r) {
- var n,
- i,
- o,
- a = r("7f9a"),
- s = r("da84"),
- l = r("861d"),
- c = r("9112"),
- u = r("5135"),
- f = r("c6cd"),
- p = r("f772"),
- d = r("d012"),
- h = "Object already initialized",
- m = s.WeakMap,
- g = function (e) {
- return o(e) ? i(e) : n(e, {})
- },
- y = function (e) {
- return function (t) {
- var r
- if (!l(t) || (r = i(t)).type !== e) throw TypeError("Incompatible receiver, " + e + " required")
- return r
- }
- }
- if (a || f.state) {
- var v = f.state || (f.state = new m()),
- b = v.get,
- w = v.has,
- x = v.set
- ;(n = function (e, t) {
- if (w.call(v, e)) throw new TypeError(h)
- return (t.facade = e), x.call(v, e, t), t
- }),
- (i = function (e) {
- return b.call(v, e) || {}
- }),
- (o = function (e) {
- return w.call(v, e)
- })
- } else {
- var A = p("state")
- ;(d[A] = !0),
- (n = function (e, t) {
- if (u(e, A)) throw new TypeError(h)
- return (t.facade = e), c(e, A, t), t
- }),
- (i = function (e) {
- return u(e, A) ? e[A] : {}
- }),
- (o = function (e) {
- return u(e, A)
- })
- }
- e.exports = {
- set: n,
- get: i,
- has: o,
- enforce: g,
- getterFor: y
- }
- },
- "6eeb": function (e, t, r) {
- var n = r("da84"),
- i = r("9112"),
- o = r("5135"),
- a = r("ce4e"),
- s = r("8925"),
- l = r("69f3"),
- c = l.get,
- u = l.enforce,
- f = String(String).split("String")
- ;(e.exports = function (e, t, r, s) {
- var l,
- c = !!s && !!s.unsafe,
- p = !!s && !!s.enumerable,
- d = !!s && !!s.noTargetGet
- "function" == typeof r &&
- ("string" != typeof t || o(r, "name") || i(r, "name", t), (l = u(r)), l.source || (l.source = f.join("string" == typeof t ? t : ""))),
- e !== n ? (c ? !d && e[t] && (p = !0) : delete e[t], p ? (e[t] = r) : i(e, t, r)) : p ? (e[t] = r) : a(t, r)
- })(Function.prototype, "toString", function () {
- return ("function" == typeof this && c(this).source) || s(this)
- })
- },
- 7418: function (e, t) {
- t.f = Object.getOwnPropertySymbols
- },
- "746f": function (e, t, r) {
- var n = r("428f"),
- i = r("5135"),
- o = r("e538"),
- a = r("9bf2").f
- e.exports = function (e) {
- var t = n.Symbol || (n.Symbol = {})
- i(t, e) ||
- a(t, e, {
- value: o.f(e)
- })
- }
- },
- "780f": function (e, t, r) {
- "use strict"
- e.exports = o
- var n = r("27bf"),
- i = Object.create(r("3a7c"))
- function o(e) {
- if (!(this instanceof o)) return new o(e)
- n.call(this, e)
- }
- ;(i.inherits = r("3fb5")),
- i.inherits(o, n),
- (o.prototype._transform = function (e, t, r) {
- r(null, e)
- })
- },
- 7839: function (e, t) {
- e.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"]
- },
- "7b0b": function (e, t, r) {
- var n = r("1d80")
- e.exports = function (e) {
- return Object(n(e))
- }
- },
- "7c73": function (e, t, r) {
- var n,
- i = r("825a"),
- o = r("37e8"),
- a = r("7839"),
- s = r("d012"),
- l = r("1be4"),
- c = r("cc12"),
- u = r("f772"),
- f = ">",
- p = "<",
- d = "prototype",
- h = "script",
- m = u("IE_PROTO"),
- g = function () {},
- y = function (e) {
- return p + h + f + e + p + "/" + h + f
- },
- v = function (e) {
- e.write(y("")), e.close()
- var t = e.parentWindow.Object
- return (e = null), t
- },
- b = function () {
- var e,
- t = c("iframe"),
- r = "java" + h + ":"
- return (
- (t.style.display = "none"),
- l.appendChild(t),
- (t.src = String(r)),
- (e = t.contentWindow.document),
- e.open(),
- e.write(y("document.F=Object")),
- e.close(),
- e.F
- )
- },
- w = function () {
- try {
- n = new ActiveXObject("htmlfile")
- } catch (t) {}
- w = "undefined" != typeof document ? (document.domain && n ? v(n) : b()) : v(n)
- var e = a.length
- while (e--) delete w[d][a[e]]
- return w()
- }
- ;(s[m] = !0),
- (e.exports =
- Object.create ||
- function (e, t) {
- var r
- return null !== e ? ((g[d] = i(e)), (r = new g()), (g[d] = null), (r[m] = e)) : (r = w()), void 0 === t ? r : o(r, t)
- })
- },
- "7d72": function (e, t, r) {
- "use strict"
- var n = r("8707").Buffer,
- i =
- n.isEncoding ||
- function (e) {
- switch (((e = "" + e), e && e.toLowerCase())) {
- case "hex":
- case "utf8":
- case "utf-8":
- case "ascii":
- case "binary":
- case "base64":
- case "ucs2":
- case "ucs-2":
- case "utf16le":
- case "utf-16le":
- case "raw":
- return !0
- default:
- return !1
- }
- }
- function o(e) {
- if (!e) return "utf8"
- var t
- while (1)
- switch (e) {
- case "utf8":
- case "utf-8":
- return "utf8"
- case "ucs2":
- case "ucs-2":
- case "utf16le":
- case "utf-16le":
- return "utf16le"
- case "latin1":
- case "binary":
- return "latin1"
- case "base64":
- case "ascii":
- case "hex":
- return e
- default:
- if (t) return
- ;(e = ("" + e).toLowerCase()), (t = !0)
- }
- }
- function a(e) {
- var t = o(e)
- if ("string" !== typeof t && (n.isEncoding === i || !i(e))) throw new Error("Unknown encoding: " + e)
- return t || e
- }
- function s(e) {
- var t
- switch (((this.encoding = a(e)), this.encoding)) {
- case "utf16le":
- ;(this.text = h), (this.end = m), (t = 4)
- break
- case "utf8":
- ;(this.fillLast = f), (t = 4)
- break
- case "base64":
- ;(this.text = g), (this.end = y), (t = 3)
- break
- default:
- return (this.write = v), void (this.end = b)
- }
- ;(this.lastNeed = 0), (this.lastTotal = 0), (this.lastChar = n.allocUnsafe(t))
- }
- function l(e) {
- return e <= 127 ? 0 : e >> 5 === 6 ? 2 : e >> 4 === 14 ? 3 : e >> 3 === 30 ? 4 : e >> 6 === 2 ? -1 : -2
- }
- function c(e, t, r) {
- var n = t.length - 1
- if (n < r) return 0
- var i = l(t[n])
- return i >= 0
- ? (i > 0 && (e.lastNeed = i - 1), i)
- : --n < r || -2 === i
- ? 0
- : ((i = l(t[n])),
- i >= 0
- ? (i > 0 && (e.lastNeed = i - 2), i)
- : --n < r || -2 === i
- ? 0
- : ((i = l(t[n])), i >= 0 ? (i > 0 && (2 === i ? (i = 0) : (e.lastNeed = i - 3)), i) : 0))
- }
- function u(e, t, r) {
- if (128 !== (192 & t[0])) return (e.lastNeed = 0), "�"
- if (e.lastNeed > 1 && t.length > 1) {
- if (128 !== (192 & t[1])) return (e.lastNeed = 1), "�"
- if (e.lastNeed > 2 && t.length > 2 && 128 !== (192 & t[2])) return (e.lastNeed = 2), "�"
- }
- }
- function f(e) {
- var t = this.lastTotal - this.lastNeed,
- r = u(this, e, t)
- return void 0 !== r
- ? r
- : this.lastNeed <= e.length
- ? (e.copy(this.lastChar, t, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal))
- : (e.copy(this.lastChar, t, 0, e.length), void (this.lastNeed -= e.length))
- }
- function p(e, t) {
- var r = c(this, e, t)
- if (!this.lastNeed) return e.toString("utf8", t)
- this.lastTotal = r
- var n = e.length - (r - this.lastNeed)
- return e.copy(this.lastChar, 0, n), e.toString("utf8", t, n)
- }
- function d(e) {
- var t = e && e.length ? this.write(e) : ""
- return this.lastNeed ? t + "�" : t
- }
- function h(e, t) {
- if ((e.length - t) % 2 === 0) {
- var r = e.toString("utf16le", t)
- if (r) {
- var n = r.charCodeAt(r.length - 1)
- if (n >= 55296 && n <= 56319)
- return (
- (this.lastNeed = 2),
- (this.lastTotal = 4),
- (this.lastChar[0] = e[e.length - 2]),
- (this.lastChar[1] = e[e.length - 1]),
- r.slice(0, -1)
- )
- }
- return r
- }
- return (this.lastNeed = 1), (this.lastTotal = 2), (this.lastChar[0] = e[e.length - 1]), e.toString("utf16le", t, e.length - 1)
- }
- function m(e) {
- var t = e && e.length ? this.write(e) : ""
- if (this.lastNeed) {
- var r = this.lastTotal - this.lastNeed
- return t + this.lastChar.toString("utf16le", 0, r)
- }
- return t
- }
- function g(e, t) {
- var r = (e.length - t) % 3
- return 0 === r
- ? e.toString("base64", t)
- : ((this.lastNeed = 3 - r),
- (this.lastTotal = 3),
- 1 === r ? (this.lastChar[0] = e[e.length - 1]) : ((this.lastChar[0] = e[e.length - 2]), (this.lastChar[1] = e[e.length - 1])),
- e.toString("base64", t, e.length - r))
- }
- function y(e) {
- var t = e && e.length ? this.write(e) : ""
- return this.lastNeed ? t + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : t
- }
- function v(e) {
- return e.toString(this.encoding)
- }
- function b(e) {
- return e && e.length ? this.write(e) : ""
- }
- ;(t.StringDecoder = s),
- (s.prototype.write = function (e) {
- if (0 === e.length) return ""
- var t, r
- if (this.lastNeed) {
- if (((t = this.fillLast(e)), void 0 === t)) return ""
- ;(r = this.lastNeed), (this.lastNeed = 0)
- } else r = 0
- return r < e.length ? (t ? t + this.text(e, r) : this.text(e, r)) : t || ""
- }),
- (s.prototype.end = d),
- (s.prototype.text = p),
- (s.prototype.fillLast = function (e) {
- if (this.lastNeed <= e.length)
- return (
- e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal)
- )
- e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, e.length), (this.lastNeed -= e.length)
- })
- },
- "7db0": function (e, t, r) {
- "use strict"
- var n = r("23e7"),
- i = r("b727").find,
- o = r("44d2"),
- a = "find",
- s = !0
- a in [] &&
- Array(1)[a](function () {
- s = !1
- }),
- n(
- {
- target: "Array",
- proto: !0,
- forced: s
- },
- {
- find: function (e) {
- return i(this, e, arguments.length > 1 ? arguments[1] : void 0)
- }
- }
- ),
- o(a)
- },
- "7dd0": function (e, t, r) {
- "use strict"
- var n = r("23e7"),
- i = r("9ed3"),
- o = r("e163"),
- a = r("d2bb"),
- s = r("d44e"),
- l = r("9112"),
- c = r("6eeb"),
- u = r("b622"),
- f = r("c430"),
- p = r("3f8c"),
- d = r("ae93"),
- h = d.IteratorPrototype,
- m = d.BUGGY_SAFARI_ITERATORS,
- g = u("iterator"),
- y = "keys",
- v = "values",
- b = "entries",
- w = function () {
- return this
- }
- e.exports = function (e, t, r, u, d, x, A) {
- i(r, t, u)
- var _,
- T,
- E,
- S = function (e) {
- if (e === d && O) return O
- if (!m && e in L) return L[e]
- switch (e) {
- case y:
- return function () {
- return new r(this, e)
- }
- case v:
- return function () {
- return new r(this, e)
- }
- case b:
- return function () {
- return new r(this, e)
- }
- }
- return function () {
- return new r(this)
- }
- },
- C = t + " Iterator",
- k = !1,
- L = e.prototype,
- P = L[g] || L["@@iterator"] || (d && L[d]),
- O = (!m && P) || S(d),
- j = ("Array" == t && L.entries) || P
- if (
- (j &&
- ((_ = o(j.call(new e()))),
- h !== Object.prototype &&
- _.next &&
- (f || o(_) === h || (a ? a(_, h) : "function" != typeof _[g] && l(_, g, w)), s(_, C, !0, !0), f && (p[C] = w))),
- d == v &&
- P &&
- P.name !== v &&
- ((k = !0),
- (O = function () {
- return P.call(this)
- })),
- (f && !A) || L[g] === O || l(L, g, O),
- (p[t] = O),
- d)
- )
- if (
- ((T = {
- values: S(v),
- keys: x ? O : S(y),
- entries: S(b)
- }),
- A)
- )
- for (E in T) (m || k || !(E in L)) && c(L, E, T[E])
- else
- n(
- {
- target: t,
- proto: !0,
- forced: m || k
- },
- T
- )
- return T
- }
- },
- "7f9a": function (e, t, r) {
- var n = r("da84"),
- i = r("8925"),
- o = n.WeakMap
- e.exports = "function" === typeof o && /native code/.test(i(o))
- },
- "825a": function (e, t, r) {
- var n = r("861d")
- e.exports = function (e) {
- if (!n(e)) throw TypeError(String(e) + " is not an object")
- return e
- }
- },
- "83ab": function (e, t, r) {
- var n = r("d039")
- e.exports = !n(function () {
- return (
- 7 !=
- Object.defineProperty({}, 1, {
- get: function () {
- return 7
- }
- })[1]
- )
- })
- },
- 8418: function (e, t, r) {
- "use strict"
- var n = r("a04b"),
- i = r("9bf2"),
- o = r("5c6c")
- e.exports = function (e, t, r) {
- var a = n(t)
- a in e ? i.f(e, a, o(0, r)) : (e[a] = r)
- }
- },
- "844f": function (e, t, r) {
- var n,
- i,
- o = r("3171"),
- a = {
- on: function () {},
- parse: function () {}
- },
- s = r("96c1"),
- l = r("9b12").isArray,
- c = !0
- function u(e) {
- return (
- (n = s.copyOptions(e)),
- s.ensureFlagExists("ignoreDeclaration", n),
- s.ensureFlagExists("ignoreInstruction", n),
- s.ensureFlagExists("ignoreAttributes", n),
- s.ensureFlagExists("ignoreText", n),
- s.ensureFlagExists("ignoreComment", n),
- s.ensureFlagExists("ignoreCdata", n),
- s.ensureFlagExists("ignoreDoctype", n),
- s.ensureFlagExists("compact", n),
- s.ensureFlagExists("alwaysChildren", n),
- s.ensureFlagExists("addParent", n),
- s.ensureFlagExists("trim", n),
- s.ensureFlagExists("nativeType", n),
- s.ensureFlagExists("nativeTypeAttributes", n),
- s.ensureFlagExists("sanitize", n),
- s.ensureFlagExists("instructionHasAttributes", n),
- s.ensureFlagExists("captureSpacesBetweenElements", n),
- s.ensureAlwaysArrayExists(n),
- s.ensureKeyExists("declaration", n),
- s.ensureKeyExists("instruction", n),
- s.ensureKeyExists("attributes", n),
- s.ensureKeyExists("text", n),
- s.ensureKeyExists("comment", n),
- s.ensureKeyExists("cdata", n),
- s.ensureKeyExists("doctype", n),
- s.ensureKeyExists("type", n),
- s.ensureKeyExists("name", n),
- s.ensureKeyExists("elements", n),
- s.ensureKeyExists("parent", n),
- s.checkFnExists("doctype", n),
- s.checkFnExists("instruction", n),
- s.checkFnExists("cdata", n),
- s.checkFnExists("comment", n),
- s.checkFnExists("text", n),
- s.checkFnExists("instructionName", n),
- s.checkFnExists("elementName", n),
- s.checkFnExists("attributeName", n),
- s.checkFnExists("attributeValue", n),
- s.checkFnExists("attributes", n),
- n
- )
- }
- function f(e) {
- var t = Number(e)
- if (!isNaN(t)) return t
- var r = e.toLowerCase()
- return "true" === r || ("false" !== r && e)
- }
- function p(e, t) {
- var r
- if (n.compact) {
- if (
- (!i[n[e + "Key"]] && (l(n.alwaysArray) ? -1 !== n.alwaysArray.indexOf(n[e + "Key"]) : n.alwaysArray) && (i[n[e + "Key"]] = []),
- i[n[e + "Key"]] && !l(i[n[e + "Key"]]) && (i[n[e + "Key"]] = [i[n[e + "Key"]]]),
- e + "Fn" in n && "string" === typeof t && (t = n[e + "Fn"](t, i)),
- "instruction" === e && ("instructionFn" in n || "instructionNameFn" in n))
- )
- for (r in t)
- if (t.hasOwnProperty(r))
- if ("instructionFn" in n) t[r] = n.instructionFn(t[r], r, i)
- else {
- var o = t[r]
- delete t[r], (t[n.instructionNameFn(r, o, i)] = o)
- }
- l(i[n[e + "Key"]]) ? i[n[e + "Key"]].push(t) : (i[n[e + "Key"]] = t)
- } else {
- i[n.elementsKey] || (i[n.elementsKey] = [])
- var a = {}
- if (((a[n.typeKey] = e), "instruction" === e)) {
- for (r in t) if (t.hasOwnProperty(r)) break
- ;(a[n.nameKey] = "instructionNameFn" in n ? n.instructionNameFn(r, t, i) : r),
- n.instructionHasAttributes
- ? ((a[n.attributesKey] = t[r][n.attributesKey]),
- "instructionFn" in n && (a[n.attributesKey] = n.instructionFn(a[n.attributesKey], r, i)))
- : ("instructionFn" in n && (t[r] = n.instructionFn(t[r], r, i)), (a[n.instructionKey] = t[r]))
- } else e + "Fn" in n && (t = n[e + "Fn"](t, i)), (a[n[e + "Key"]] = t)
- n.addParent && (a[n.parentKey] = i), i[n.elementsKey].push(a)
- }
- }
- function d(e) {
- var t
- if (
- ("attributesFn" in n && e && (e = n.attributesFn(e, i)),
- (n.trim || "attributeValueFn" in n || "attributeNameFn" in n || n.nativeTypeAttributes) && e)
- )
- for (t in e)
- if (
- e.hasOwnProperty(t) &&
- (n.trim && (e[t] = e[t].trim()),
- n.nativeTypeAttributes && (e[t] = f(e[t])),
- "attributeValueFn" in n && (e[t] = n.attributeValueFn(e[t], t, i)),
- "attributeNameFn" in n)
- ) {
- var r = e[t]
- delete e[t], (e[n.attributeNameFn(t, e[t], i)] = r)
- }
- return e
- }
- function h(e) {
- var t = {}
- if (e.body && ("xml" === e.name.toLowerCase() || n.instructionHasAttributes)) {
- var r,
- o = /([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g
- while (null !== (r = o.exec(e.body))) t[r[1]] = r[2] || r[3] || r[4]
- t = d(t)
- }
- if ("xml" === e.name.toLowerCase()) {
- if (n.ignoreDeclaration) return
- ;(i[n.declarationKey] = {}),
- Object.keys(t).length && (i[n.declarationKey][n.attributesKey] = t),
- n.addParent && (i[n.declarationKey][n.parentKey] = i)
- } else {
- if (n.ignoreInstruction) return
- n.trim && (e.body = e.body.trim())
- var a = {}
- n.instructionHasAttributes && Object.keys(t).length ? ((a[e.name] = {}), (a[e.name][n.attributesKey] = t)) : (a[e.name] = e.body),
- p("instruction", a)
- }
- }
- function m(e, t) {
- var r
- if (
- ("object" === typeof e && ((t = e.attributes), (e = e.name)), (t = d(t)), "elementNameFn" in n && (e = n.elementNameFn(e, i)), n.compact)
- ) {
- var o
- if (((r = {}), !n.ignoreAttributes && t && Object.keys(t).length))
- for (o in ((r[n.attributesKey] = {}), t)) t.hasOwnProperty(o) && (r[n.attributesKey][o] = t[o])
- !(e in i) && (l(n.alwaysArray) ? -1 !== n.alwaysArray.indexOf(e) : n.alwaysArray) && (i[e] = []),
- i[e] && !l(i[e]) && (i[e] = [i[e]]),
- l(i[e]) ? i[e].push(r) : (i[e] = r)
- } else
- i[n.elementsKey] || (i[n.elementsKey] = []),
- (r = {}),
- (r[n.typeKey] = "element"),
- (r[n.nameKey] = e),
- !n.ignoreAttributes && t && Object.keys(t).length && (r[n.attributesKey] = t),
- n.alwaysChildren && (r[n.elementsKey] = []),
- i[n.elementsKey].push(r)
- ;(r[n.parentKey] = i), (i = r)
- }
- function g(e) {
- n.ignoreText ||
- ((e.trim() || n.captureSpacesBetweenElements) &&
- (n.trim && (e = e.trim()),
- n.nativeType && (e = f(e)),
- n.sanitize && (e = e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">")),
- p("text", e)))
- }
- function y(e) {
- n.ignoreComment || (n.trim && (e = e.trim()), p("comment", e))
- }
- function v(e) {
- var t = i[n.parentKey]
- n.addParent || delete i[n.parentKey], (i = t)
- }
- function b(e) {
- n.ignoreCdata || (n.trim && (e = e.trim()), p("cdata", e))
- }
- function w(e) {
- n.ignoreDoctype || ((e = e.replace(/^ /, "")), n.trim && (e = e.trim()), p("doctype", e))
- }
- function x(e) {
- e.note = e
- }
- e.exports = function (e, t) {
- var r = c ? o.parser(!0, {}) : (r = new a.Parser("UTF-8")),
- s = {}
- if (
- ((i = s),
- (n = u(t)),
- c
- ? ((r.opt = {
- strictEntities: !0
- }),
- (r.onopentag = m),
- (r.ontext = g),
- (r.oncomment = y),
- (r.onclosetag = v),
- (r.onerror = x),
- (r.oncdata = b),
- (r.ondoctype = w),
- (r.onprocessinginstruction = h))
- : (r.on("startElement", m), r.on("text", g), r.on("comment", y), r.on("endElement", v), r.on("error", x)),
- c)
- )
- r.write(e).close()
- else if (!r.parse(e)) throw new Error("XML parsing error: " + r.getError())
- if (s[n.elementsKey]) {
- var l = s[n.elementsKey]
- delete s[n.elementsKey], (s[n.elementsKey] = l), delete s.text
- }
- return s
- }
- },
- "84f2": function (e, t, r) {
- ;(function (t, r) {
- e.exports = r()
- })(0, function () {
- "use strict"
- function e(e, t) {
- return (
- (t = {
- exports: {}
- }),
- e(t, t.exports),
- t.exports
- )
- }
- var t = e(function (e, t) {
- ;(function (t) {
- e.exports = t()
- })(function (e) {
- var t = function (e, t) {
- return (e + t) & 4294967295
- },
- r = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"]
- function n(e, r, n, i, o, a) {
- return (r = t(t(r, e), t(i, a))), t((r << o) | (r >>> (32 - o)), n)
- }
- function i(e, t, r, i, o, a, s) {
- return n((t & r) | (~t & i), e, t, o, a, s)
- }
- function o(e, t, r, i, o, a, s) {
- return n((t & i) | (r & ~i), e, t, o, a, s)
- }
- function a(e, t, r, i, o, a, s) {
- return n(t ^ r ^ i, e, t, o, a, s)
- }
- function s(e, t, r, i, o, a, s) {
- return n(r ^ (t | ~i), e, t, o, a, s)
- }
- function l(e, r) {
- var n = e[0],
- l = e[1],
- c = e[2],
- u = e[3]
- ;(n = i(n, l, c, u, r[0], 7, -680876936)),
- (u = i(u, n, l, c, r[1], 12, -389564586)),
- (c = i(c, u, n, l, r[2], 17, 606105819)),
- (l = i(l, c, u, n, r[3], 22, -1044525330)),
- (n = i(n, l, c, u, r[4], 7, -176418897)),
- (u = i(u, n, l, c, r[5], 12, 1200080426)),
- (c = i(c, u, n, l, r[6], 17, -1473231341)),
- (l = i(l, c, u, n, r[7], 22, -45705983)),
- (n = i(n, l, c, u, r[8], 7, 1770035416)),
- (u = i(u, n, l, c, r[9], 12, -1958414417)),
- (c = i(c, u, n, l, r[10], 17, -42063)),
- (l = i(l, c, u, n, r[11], 22, -1990404162)),
- (n = i(n, l, c, u, r[12], 7, 1804603682)),
- (u = i(u, n, l, c, r[13], 12, -40341101)),
- (c = i(c, u, n, l, r[14], 17, -1502002290)),
- (l = i(l, c, u, n, r[15], 22, 1236535329)),
- (n = o(n, l, c, u, r[1], 5, -165796510)),
- (u = o(u, n, l, c, r[6], 9, -1069501632)),
- (c = o(c, u, n, l, r[11], 14, 643717713)),
- (l = o(l, c, u, n, r[0], 20, -373897302)),
- (n = o(n, l, c, u, r[5], 5, -701558691)),
- (u = o(u, n, l, c, r[10], 9, 38016083)),
- (c = o(c, u, n, l, r[15], 14, -660478335)),
- (l = o(l, c, u, n, r[4], 20, -405537848)),
- (n = o(n, l, c, u, r[9], 5, 568446438)),
- (u = o(u, n, l, c, r[14], 9, -1019803690)),
- (c = o(c, u, n, l, r[3], 14, -187363961)),
- (l = o(l, c, u, n, r[8], 20, 1163531501)),
- (n = o(n, l, c, u, r[13], 5, -1444681467)),
- (u = o(u, n, l, c, r[2], 9, -51403784)),
- (c = o(c, u, n, l, r[7], 14, 1735328473)),
- (l = o(l, c, u, n, r[12], 20, -1926607734)),
- (n = a(n, l, c, u, r[5], 4, -378558)),
- (u = a(u, n, l, c, r[8], 11, -2022574463)),
- (c = a(c, u, n, l, r[11], 16, 1839030562)),
- (l = a(l, c, u, n, r[14], 23, -35309556)),
- (n = a(n, l, c, u, r[1], 4, -1530992060)),
- (u = a(u, n, l, c, r[4], 11, 1272893353)),
- (c = a(c, u, n, l, r[7], 16, -155497632)),
- (l = a(l, c, u, n, r[10], 23, -1094730640)),
- (n = a(n, l, c, u, r[13], 4, 681279174)),
- (u = a(u, n, l, c, r[0], 11, -358537222)),
- (c = a(c, u, n, l, r[3], 16, -722521979)),
- (l = a(l, c, u, n, r[6], 23, 76029189)),
- (n = a(n, l, c, u, r[9], 4, -640364487)),
- (u = a(u, n, l, c, r[12], 11, -421815835)),
- (c = a(c, u, n, l, r[15], 16, 530742520)),
- (l = a(l, c, u, n, r[2], 23, -995338651)),
- (n = s(n, l, c, u, r[0], 6, -198630844)),
- (u = s(u, n, l, c, r[7], 10, 1126891415)),
- (c = s(c, u, n, l, r[14], 15, -1416354905)),
- (l = s(l, c, u, n, r[5], 21, -57434055)),
- (n = s(n, l, c, u, r[12], 6, 1700485571)),
- (u = s(u, n, l, c, r[3], 10, -1894986606)),
- (c = s(c, u, n, l, r[10], 15, -1051523)),
- (l = s(l, c, u, n, r[1], 21, -2054922799)),
- (n = s(n, l, c, u, r[8], 6, 1873313359)),
- (u = s(u, n, l, c, r[15], 10, -30611744)),
- (c = s(c, u, n, l, r[6], 15, -1560198380)),
- (l = s(l, c, u, n, r[13], 21, 1309151649)),
- (n = s(n, l, c, u, r[4], 6, -145523070)),
- (u = s(u, n, l, c, r[11], 10, -1120210379)),
- (c = s(c, u, n, l, r[2], 15, 718787259)),
- (l = s(l, c, u, n, r[9], 21, -343485551)),
- (e[0] = t(n, e[0])),
- (e[1] = t(l, e[1])),
- (e[2] = t(c, e[2])),
- (e[3] = t(u, e[3]))
- }
- function c(e) {
- var t,
- r = []
- for (t = 0; t < 64; t += 4)
- r[t >> 2] = e.charCodeAt(t) + (e.charCodeAt(t + 1) << 8) + (e.charCodeAt(t + 2) << 16) + (e.charCodeAt(t + 3) << 24)
- return r
- }
- function u(e) {
- var t,
- r = []
- for (t = 0; t < 64; t += 4) r[t >> 2] = e[t] + (e[t + 1] << 8) + (e[t + 2] << 16) + (e[t + 3] << 24)
- return r
- }
- function f(e) {
- var t,
- r,
- n,
- i,
- o,
- a,
- s = e.length,
- u = [1732584193, -271733879, -1732584194, 271733878]
- for (t = 64; t <= s; t += 64) l(u, c(e.substring(t - 64, t)))
- for (e = e.substring(t - 64), r = e.length, n = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], t = 0; t < r; t += 1)
- n[t >> 2] |= e.charCodeAt(t) << (t % 4 << 3)
- if (((n[t >> 2] |= 128 << (t % 4 << 3)), t > 55)) for (l(u, n), t = 0; t < 16; t += 1) n[t] = 0
- return (
- (i = 8 * s),
- (i = i.toString(16).match(/(.*?)(.{0,8})$/)),
- (o = parseInt(i[2], 16)),
- (a = parseInt(i[1], 16) || 0),
- (n[14] = o),
- (n[15] = a),
- l(u, n),
- u
- )
- }
- function p(e) {
- var t,
- r,
- n,
- i,
- o,
- a,
- s = e.length,
- c = [1732584193, -271733879, -1732584194, 271733878]
- for (t = 64; t <= s; t += 64) l(c, u(e.subarray(t - 64, t)))
- for (
- e = t - 64 < s ? e.subarray(t - 64) : new Uint8Array(0),
- r = e.length,
- n = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
- t = 0;
- t < r;
- t += 1
- )
- n[t >> 2] |= e[t] << (t % 4 << 3)
- if (((n[t >> 2] |= 128 << (t % 4 << 3)), t > 55)) for (l(c, n), t = 0; t < 16; t += 1) n[t] = 0
- return (
- (i = 8 * s),
- (i = i.toString(16).match(/(.*?)(.{0,8})$/)),
- (o = parseInt(i[2], 16)),
- (a = parseInt(i[1], 16) || 0),
- (n[14] = o),
- (n[15] = a),
- l(c, n),
- c
- )
- }
- function d(e) {
- var t,
- n = ""
- for (t = 0; t < 4; t += 1) n += r[(e >> (8 * t + 4)) & 15] + r[(e >> (8 * t)) & 15]
- return n
- }
- function h(e) {
- var t
- for (t = 0; t < e.length; t += 1) e[t] = d(e[t])
- return e.join("")
- }
- function m(e) {
- return /[\u0080-\uFFFF]/.test(e) && (e = unescape(encodeURIComponent(e))), e
- }
- function g(e, t) {
- var r,
- n = e.length,
- i = new ArrayBuffer(n),
- o = new Uint8Array(i)
- for (r = 0; r < n; r += 1) o[r] = e.charCodeAt(r)
- return t ? o : i
- }
- function y(e) {
- return String.fromCharCode.apply(null, new Uint8Array(e))
- }
- function v(e, t, r) {
- var n = new Uint8Array(e.byteLength + t.byteLength)
- return n.set(new Uint8Array(e)), n.set(new Uint8Array(t), e.byteLength), r ? n : n.buffer
- }
- function b(e) {
- var t,
- r = [],
- n = e.length
- for (t = 0; t < n - 1; t += 2) r.push(parseInt(e.substr(t, 2), 16))
- return String.fromCharCode.apply(String, r)
- }
- function w() {
- this.reset()
- }
- return (
- "5d41402abc4b2a76b9719d911017c592" !== h(f("hello")) &&
- (t = function (e, t) {
- var r = (65535 & e) + (65535 & t),
- n = (e >> 16) + (t >> 16) + (r >> 16)
- return (n << 16) | (65535 & r)
- }),
- "undefined" === typeof ArrayBuffer ||
- ArrayBuffer.prototype.slice ||
- (function () {
- function t(e, t) {
- return (e = 0 | e || 0), e < 0 ? Math.max(e + t, 0) : Math.min(e, t)
- }
- ArrayBuffer.prototype.slice = function (r, n) {
- var i,
- o,
- a,
- s,
- l = this.byteLength,
- c = t(r, l),
- u = l
- return (
- n !== e && (u = t(n, l)),
- c > u
- ? new ArrayBuffer(0)
- : ((i = u - c), (o = new ArrayBuffer(i)), (a = new Uint8Array(o)), (s = new Uint8Array(this, c, i)), a.set(s), o)
- )
- }
- })(),
- (w.prototype.append = function (e) {
- return this.appendBinary(m(e)), this
- }),
- (w.prototype.appendBinary = function (e) {
- ;(this._buff += e), (this._length += e.length)
- var t,
- r = this._buff.length
- for (t = 64; t <= r; t += 64) l(this._hash, c(this._buff.substring(t - 64, t)))
- return (this._buff = this._buff.substring(t - 64)), this
- }),
- (w.prototype.end = function (e) {
- var t,
- r,
- n = this._buff,
- i = n.length,
- o = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
- for (t = 0; t < i; t += 1) o[t >> 2] |= n.charCodeAt(t) << (t % 4 << 3)
- return this._finish(o, i), (r = h(this._hash)), e && (r = b(r)), this.reset(), r
- }),
- (w.prototype.reset = function () {
- return (this._buff = ""), (this._length = 0), (this._hash = [1732584193, -271733879, -1732584194, 271733878]), this
- }),
- (w.prototype.getState = function () {
- return {
- buff: this._buff,
- length: this._length,
- hash: this._hash
- }
- }),
- (w.prototype.setState = function (e) {
- return (this._buff = e.buff), (this._length = e.length), (this._hash = e.hash), this
- }),
- (w.prototype.destroy = function () {
- delete this._hash, delete this._buff, delete this._length
- }),
- (w.prototype._finish = function (e, t) {
- var r,
- n,
- i,
- o = t
- if (((e[o >> 2] |= 128 << (o % 4 << 3)), o > 55)) for (l(this._hash, e), o = 0; o < 16; o += 1) e[o] = 0
- ;(r = 8 * this._length),
- (r = r.toString(16).match(/(.*?)(.{0,8})$/)),
- (n = parseInt(r[2], 16)),
- (i = parseInt(r[1], 16) || 0),
- (e[14] = n),
- (e[15] = i),
- l(this._hash, e)
- }),
- (w.hash = function (e, t) {
- return w.hashBinary(m(e), t)
- }),
- (w.hashBinary = function (e, t) {
- var r = f(e),
- n = h(r)
- return t ? b(n) : n
- }),
- (w.ArrayBuffer = function () {
- this.reset()
- }),
- (w.ArrayBuffer.prototype.append = function (e) {
- var t,
- r = v(this._buff.buffer, e, !0),
- n = r.length
- for (this._length += e.byteLength, t = 64; t <= n; t += 64) l(this._hash, u(r.subarray(t - 64, t)))
- return (this._buff = t - 64 < n ? new Uint8Array(r.buffer.slice(t - 64)) : new Uint8Array(0)), this
- }),
- (w.ArrayBuffer.prototype.end = function (e) {
- var t,
- r,
- n = this._buff,
- i = n.length,
- o = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
- for (t = 0; t < i; t += 1) o[t >> 2] |= n[t] << (t % 4 << 3)
- return this._finish(o, i), (r = h(this._hash)), e && (r = b(r)), this.reset(), r
- }),
- (w.ArrayBuffer.prototype.reset = function () {
- return (
- (this._buff = new Uint8Array(0)), (this._length = 0), (this._hash = [1732584193, -271733879, -1732584194, 271733878]), this
- )
- }),
- (w.ArrayBuffer.prototype.getState = function () {
- var e = w.prototype.getState.call(this)
- return (e.buff = y(e.buff)), e
- }),
- (w.ArrayBuffer.prototype.setState = function (e) {
- return (e.buff = g(e.buff, !0)), w.prototype.setState.call(this, e)
- }),
- (w.ArrayBuffer.prototype.destroy = w.prototype.destroy),
- (w.ArrayBuffer.prototype._finish = w.prototype._finish),
- (w.ArrayBuffer.hash = function (e, t) {
- var r = p(new Uint8Array(e)),
- n = h(r)
- return t ? b(n) : n
- }),
- w
- )
- })
- })
- class r {
- md5(e, r, n) {
- ;(this.aborted = !1), (this.progress = 0)
- let i = 0
- const o = File.prototype.slice || File.prototype.mozSlice || File.prototype.webkitSlice,
- a = 2097152,
- s = Math.ceil(e.size / a),
- l = new t.ArrayBuffer(),
- c = new FileReader()
- function u() {
- const t = i * a,
- r = t + a >= e.size ? e.size : t + a
- c.readAsArrayBuffer(o.call(e, t, r))
- }
- u(),
- (c.onloadend = e => {
- l.append(e.target.result),
- i++,
- (this.progress = i / s),
- n && "function" === typeof n && n(this.progress),
- this.aborted ? r("aborted") : i < s ? u() : r(null, l.end())
- })
- }
- abort() {
- this.aborted = !0
- }
- }
- return r
- })
- },
- "861d": function (e, t) {
- e.exports = function (e) {
- return "object" === typeof e ? null !== e : "function" === typeof e
- }
- },
- 8707: function (e, t, r) {
- /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
- var n = r("b639"),
- i = n.Buffer
- function o(e, t) {
- for (var r in e) t[r] = e[r]
- }
- function a(e, t, r) {
- return i(e, t, r)
- }
- i.from && i.alloc && i.allocUnsafe && i.allocUnsafeSlow ? (e.exports = n) : (o(n, t), (t.Buffer = a)),
- (a.prototype = Object.create(i.prototype)),
- o(i, a),
- (a.from = function (e, t, r) {
- if ("number" === typeof e) throw new TypeError("Argument must not be a number")
- return i(e, t, r)
- }),
- (a.alloc = function (e, t, r) {
- if ("number" !== typeof e) throw new TypeError("Argument must be a number")
- var n = i(e)
- return void 0 !== t ? ("string" === typeof r ? n.fill(t, r) : n.fill(t)) : n.fill(0), n
- }),
- (a.allocUnsafe = function (e) {
- if ("number" !== typeof e) throw new TypeError("Argument must be a number")
- return i(e)
- }),
- (a.allocUnsafeSlow = function (e) {
- if ("number" !== typeof e) throw new TypeError("Argument must be a number")
- return n.SlowBuffer(e)
- })
- },
- 8925: function (e, t, r) {
- var n = r("c6cd"),
- i = Function.toString
- "function" != typeof n.inspectSource &&
- (n.inspectSource = function (e) {
- return i.call(e)
- }),
- (e.exports = n.inspectSource)
- },
- "8aa5": function (e, t, r) {
- "use strict"
- var n = r("6547").charAt
- e.exports = function (e, t, r) {
- return t + (r ? n(e, t).length : 1)
- }
- },
- "8fc1": function (e, t, r) {
- "use strict"
- ;(function (e) {
- r.d(t, "a", function () {
- return wt
- })
- var n = r("c4e3"),
- i = r.n(n),
- o = function () {
- return (
- (o =
- Object.assign ||
- function (e) {
- for (var t, r = 1, n = arguments.length; r < n; r++)
- for (var i in ((t = arguments[r]), t)) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i])
- return e
- }),
- o.apply(this, arguments)
- )
- }
- function a(e, t, r) {
- if (r || 2 === arguments.length)
- for (var n, i = 0, o = t.length; i < o; i++) (!n && i in t) || (n || (n = Array.prototype.slice.call(t, 0, i)), (n[i] = t[i]))
- return e.concat(n || Array.prototype.slice.call(t))
- }
- var s,
- l,
- c = 914400,
- u = 12700,
- f = "\r\n",
- p = 2147483649,
- d = /^[0-9a-fA-F]{6}$/,
- h = 1.67,
- m = 27,
- g = {
- type: "solid",
- color: "666666",
- pt: 1
- },
- y = [0.05, 0.1, 0.05, 0.1],
- v = {
- type: "solid",
- color: "363636",
- pt: 1
- },
- b = {
- color: "888888",
- style: "solid",
- size: 1
- },
- w = "000000",
- x = 12,
- A = 18,
- _ = "LAYOUT_16x9",
- T = "DEFAULT",
- E = "333333",
- S = {
- type: "outer",
- blur: 3,
- offset: 23e3 / 12700,
- angle: 90,
- color: "000000",
- opacity: 0.35,
- rotateWithShape: !0
- },
- C = [0.5, 0.5, 0.5, 0.5],
- k = {
- type: "outer",
- blur: 8,
- offset: 4,
- angle: 270,
- color: "000000",
- opacity: 0.75
- },
- L = {
- size: 8,
- color: "FFFFFF",
- opacity: 0.75
- },
- P = "2094734552",
- O = "2094734553",
- j = "2094734554",
- R = "2094734555",
- I = "2094734556",
- N = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),
- M = [
- "C0504D",
- "4F81BD",
- "9BBB59",
- "8064A2",
- "4BACC6",
- "F79646",
- "628FC6",
- "C86360",
- "C0504D",
- "4F81BD",
- "9BBB59",
- "8064A2",
- "4BACC6",
- "F79646",
- "628FC6",
- "C86360"
- ],
- D = [
- "5DA5DA",
- "FAA43A",
- "60BD68",
- "F17CB0",
- "B2912F",
- "B276B2",
- "DECF3F",
- "F15854",
- "A7A7A7",
- "5DA5DA",
- "FAA43A",
- "60BD68",
- "F17CB0",
- "B2912F",
- "B276B2",
- "DECF3F",
- "F15854",
- "A7A7A7"
- ]
- ;(function (e) {
- ;(e["left"] = "left"), (e["center"] = "center"), (e["right"] = "right"), (e["justify"] = "justify")
- })(s || (s = {})),
- (function (e) {
- ;(e["b"] = "b"), (e["ctr"] = "ctr"), (e["t"] = "t")
- })(l || (l = {}))
- var B,
- F,
- U,
- z,
- q,
- G,
- W,
- V,
- H,
- X,
- Y,
- K,
- Z,
- Q = "{F7021451-1387-4CA6-816F-3879F97B5CBC}"
- ;(function (e) {
- ;(e["arraybuffer"] = "arraybuffer"),
- (e["base64"] = "base64"),
- (e["binarystring"] = "binarystring"),
- (e["blob"] = "blob"),
- (e["nodebuffer"] = "nodebuffer"),
- (e["uint8array"] = "uint8array")
- })(B || (B = {})),
- (function (e) {
- ;(e["area"] = "area"),
- (e["bar"] = "bar"),
- (e["bar3d"] = "bar3D"),
- (e["bubble"] = "bubble"),
- (e["bubble3d"] = "bubble3D"),
- (e["doughnut"] = "doughnut"),
- (e["line"] = "line"),
- (e["pie"] = "pie"),
- (e["radar"] = "radar"),
- (e["scatter"] = "scatter")
- })(F || (F = {})),
- (function (e) {
- ;(e["accentBorderCallout1"] = "accentBorderCallout1"),
- (e["accentBorderCallout2"] = "accentBorderCallout2"),
- (e["accentBorderCallout3"] = "accentBorderCallout3"),
- (e["accentCallout1"] = "accentCallout1"),
- (e["accentCallout2"] = "accentCallout2"),
- (e["accentCallout3"] = "accentCallout3"),
- (e["actionButtonBackPrevious"] = "actionButtonBackPrevious"),
- (e["actionButtonBeginning"] = "actionButtonBeginning"),
- (e["actionButtonBlank"] = "actionButtonBlank"),
- (e["actionButtonDocument"] = "actionButtonDocument"),
- (e["actionButtonEnd"] = "actionButtonEnd"),
- (e["actionButtonForwardNext"] = "actionButtonForwardNext"),
- (e["actionButtonHelp"] = "actionButtonHelp"),
- (e["actionButtonHome"] = "actionButtonHome"),
- (e["actionButtonInformation"] = "actionButtonInformation"),
- (e["actionButtonMovie"] = "actionButtonMovie"),
- (e["actionButtonReturn"] = "actionButtonReturn"),
- (e["actionButtonSound"] = "actionButtonSound"),
- (e["arc"] = "arc"),
- (e["bentArrow"] = "bentArrow"),
- (e["bentUpArrow"] = "bentUpArrow"),
- (e["bevel"] = "bevel"),
- (e["blockArc"] = "blockArc"),
- (e["borderCallout1"] = "borderCallout1"),
- (e["borderCallout2"] = "borderCallout2"),
- (e["borderCallout3"] = "borderCallout3"),
- (e["bracePair"] = "bracePair"),
- (e["bracketPair"] = "bracketPair"),
- (e["callout1"] = "callout1"),
- (e["callout2"] = "callout2"),
- (e["callout3"] = "callout3"),
- (e["can"] = "can"),
- (e["chartPlus"] = "chartPlus"),
- (e["chartStar"] = "chartStar"),
- (e["chartX"] = "chartX"),
- (e["chevron"] = "chevron"),
- (e["chord"] = "chord"),
- (e["circularArrow"] = "circularArrow"),
- (e["cloud"] = "cloud"),
- (e["cloudCallout"] = "cloudCallout"),
- (e["corner"] = "corner"),
- (e["cornerTabs"] = "cornerTabs"),
- (e["cube"] = "cube"),
- (e["curvedDownArrow"] = "curvedDownArrow"),
- (e["curvedLeftArrow"] = "curvedLeftArrow"),
- (e["curvedRightArrow"] = "curvedRightArrow"),
- (e["curvedUpArrow"] = "curvedUpArrow"),
- (e["custGeom"] = "custGeom"),
- (e["decagon"] = "decagon"),
- (e["diagStripe"] = "diagStripe"),
- (e["diamond"] = "diamond"),
- (e["dodecagon"] = "dodecagon"),
- (e["donut"] = "donut"),
- (e["doubleWave"] = "doubleWave"),
- (e["downArrow"] = "downArrow"),
- (e["downArrowCallout"] = "downArrowCallout"),
- (e["ellipse"] = "ellipse"),
- (e["ellipseRibbon"] = "ellipseRibbon"),
- (e["ellipseRibbon2"] = "ellipseRibbon2"),
- (e["flowChartAlternateProcess"] = "flowChartAlternateProcess"),
- (e["flowChartCollate"] = "flowChartCollate"),
- (e["flowChartConnector"] = "flowChartConnector"),
- (e["flowChartDecision"] = "flowChartDecision"),
- (e["flowChartDelay"] = "flowChartDelay"),
- (e["flowChartDisplay"] = "flowChartDisplay"),
- (e["flowChartDocument"] = "flowChartDocument"),
- (e["flowChartExtract"] = "flowChartExtract"),
- (e["flowChartInputOutput"] = "flowChartInputOutput"),
- (e["flowChartInternalStorage"] = "flowChartInternalStorage"),
- (e["flowChartMagneticDisk"] = "flowChartMagneticDisk"),
- (e["flowChartMagneticDrum"] = "flowChartMagneticDrum"),
- (e["flowChartMagneticTape"] = "flowChartMagneticTape"),
- (e["flowChartManualInput"] = "flowChartManualInput"),
- (e["flowChartManualOperation"] = "flowChartManualOperation"),
- (e["flowChartMerge"] = "flowChartMerge"),
- (e["flowChartMultidocument"] = "flowChartMultidocument"),
- (e["flowChartOfflineStorage"] = "flowChartOfflineStorage"),
- (e["flowChartOffpageConnector"] = "flowChartOffpageConnector"),
- (e["flowChartOnlineStorage"] = "flowChartOnlineStorage"),
- (e["flowChartOr"] = "flowChartOr"),
- (e["flowChartPredefinedProcess"] = "flowChartPredefinedProcess"),
- (e["flowChartPreparation"] = "flowChartPreparation"),
- (e["flowChartProcess"] = "flowChartProcess"),
- (e["flowChartPunchedCard"] = "flowChartPunchedCard"),
- (e["flowChartPunchedTape"] = "flowChartPunchedTape"),
- (e["flowChartSort"] = "flowChartSort"),
- (e["flowChartSummingJunction"] = "flowChartSummingJunction"),
- (e["flowChartTerminator"] = "flowChartTerminator"),
- (e["folderCorner"] = "folderCorner"),
- (e["frame"] = "frame"),
- (e["funnel"] = "funnel"),
- (e["gear6"] = "gear6"),
- (e["gear9"] = "gear9"),
- (e["halfFrame"] = "halfFrame"),
- (e["heart"] = "heart"),
- (e["heptagon"] = "heptagon"),
- (e["hexagon"] = "hexagon"),
- (e["homePlate"] = "homePlate"),
- (e["horizontalScroll"] = "horizontalScroll"),
- (e["irregularSeal1"] = "irregularSeal1"),
- (e["irregularSeal2"] = "irregularSeal2"),
- (e["leftArrow"] = "leftArrow"),
- (e["leftArrowCallout"] = "leftArrowCallout"),
- (e["leftBrace"] = "leftBrace"),
- (e["leftBracket"] = "leftBracket"),
- (e["leftCircularArrow"] = "leftCircularArrow"),
- (e["leftRightArrow"] = "leftRightArrow"),
- (e["leftRightArrowCallout"] = "leftRightArrowCallout"),
- (e["leftRightCircularArrow"] = "leftRightCircularArrow"),
- (e["leftRightRibbon"] = "leftRightRibbon"),
- (e["leftRightUpArrow"] = "leftRightUpArrow"),
- (e["leftUpArrow"] = "leftUpArrow"),
- (e["lightningBolt"] = "lightningBolt"),
- (e["line"] = "line"),
- (e["lineInv"] = "lineInv"),
- (e["mathDivide"] = "mathDivide"),
- (e["mathEqual"] = "mathEqual"),
- (e["mathMinus"] = "mathMinus"),
- (e["mathMultiply"] = "mathMultiply"),
- (e["mathNotEqual"] = "mathNotEqual"),
- (e["mathPlus"] = "mathPlus"),
- (e["moon"] = "moon"),
- (e["noSmoking"] = "noSmoking"),
- (e["nonIsoscelesTrapezoid"] = "nonIsoscelesTrapezoid"),
- (e["notchedRightArrow"] = "notchedRightArrow"),
- (e["octagon"] = "octagon"),
- (e["parallelogram"] = "parallelogram"),
- (e["pentagon"] = "pentagon"),
- (e["pie"] = "pie"),
- (e["pieWedge"] = "pieWedge"),
- (e["plaque"] = "plaque"),
- (e["plaqueTabs"] = "plaqueTabs"),
- (e["plus"] = "plus"),
- (e["quadArrow"] = "quadArrow"),
- (e["quadArrowCallout"] = "quadArrowCallout"),
- (e["rect"] = "rect"),
- (e["ribbon"] = "ribbon"),
- (e["ribbon2"] = "ribbon2"),
- (e["rightArrow"] = "rightArrow"),
- (e["rightArrowCallout"] = "rightArrowCallout"),
- (e["rightBrace"] = "rightBrace"),
- (e["rightBracket"] = "rightBracket"),
- (e["round1Rect"] = "round1Rect"),
- (e["round2DiagRect"] = "round2DiagRect"),
- (e["round2SameRect"] = "round2SameRect"),
- (e["roundRect"] = "roundRect"),
- (e["rtTriangle"] = "rtTriangle"),
- (e["smileyFace"] = "smileyFace"),
- (e["snip1Rect"] = "snip1Rect"),
- (e["snip2DiagRect"] = "snip2DiagRect"),
- (e["snip2SameRect"] = "snip2SameRect"),
- (e["snipRoundRect"] = "snipRoundRect"),
- (e["squareTabs"] = "squareTabs"),
- (e["star10"] = "star10"),
- (e["star12"] = "star12"),
- (e["star16"] = "star16"),
- (e["star24"] = "star24"),
- (e["star32"] = "star32"),
- (e["star4"] = "star4"),
- (e["star5"] = "star5"),
- (e["star6"] = "star6"),
- (e["star7"] = "star7"),
- (e["star8"] = "star8"),
- (e["stripedRightArrow"] = "stripedRightArrow"),
- (e["sun"] = "sun"),
- (e["swooshArrow"] = "swooshArrow"),
- (e["teardrop"] = "teardrop"),
- (e["trapezoid"] = "trapezoid"),
- (e["triangle"] = "triangle"),
- (e["upArrow"] = "upArrow"),
- (e["upArrowCallout"] = "upArrowCallout"),
- (e["upDownArrow"] = "upDownArrow"),
- (e["upDownArrowCallout"] = "upDownArrowCallout"),
- (e["uturnArrow"] = "uturnArrow"),
- (e["verticalScroll"] = "verticalScroll"),
- (e["wave"] = "wave"),
- (e["wedgeEllipseCallout"] = "wedgeEllipseCallout"),
- (e["wedgeRectCallout"] = "wedgeRectCallout"),
- (e["wedgeRoundRectCallout"] = "wedgeRoundRectCallout")
- })(U || (U = {})),
- (function (e) {
- ;(e["text1"] = "tx1"),
- (e["text2"] = "tx2"),
- (e["background1"] = "bg1"),
- (e["background2"] = "bg2"),
- (e["accent1"] = "accent1"),
- (e["accent2"] = "accent2"),
- (e["accent3"] = "accent3"),
- (e["accent4"] = "accent4"),
- (e["accent5"] = "accent5"),
- (e["accent6"] = "accent6")
- })(z || (z = {})),
- (function (e) {
- ;(e["left"] = "left"), (e["center"] = "center"), (e["right"] = "right"), (e["justify"] = "justify")
- })(q || (q = {})),
- (function (e) {
- ;(e["top"] = "top"), (e["middle"] = "middle"), (e["bottom"] = "bottom")
- })(G || (G = {})),
- (function (e) {
- ;(e["ACTION_BUTTON_BACK_OR_PREVIOUS"] = "actionButtonBackPrevious"),
- (e["ACTION_BUTTON_BEGINNING"] = "actionButtonBeginning"),
- (e["ACTION_BUTTON_CUSTOM"] = "actionButtonBlank"),
- (e["ACTION_BUTTON_DOCUMENT"] = "actionButtonDocument"),
- (e["ACTION_BUTTON_END"] = "actionButtonEnd"),
- (e["ACTION_BUTTON_FORWARD_OR_NEXT"] = "actionButtonForwardNext"),
- (e["ACTION_BUTTON_HELP"] = "actionButtonHelp"),
- (e["ACTION_BUTTON_HOME"] = "actionButtonHome"),
- (e["ACTION_BUTTON_INFORMATION"] = "actionButtonInformation"),
- (e["ACTION_BUTTON_MOVIE"] = "actionButtonMovie"),
- (e["ACTION_BUTTON_RETURN"] = "actionButtonReturn"),
- (e["ACTION_BUTTON_SOUND"] = "actionButtonSound"),
- (e["ARC"] = "arc"),
- (e["BALLOON"] = "wedgeRoundRectCallout"),
- (e["BENT_ARROW"] = "bentArrow"),
- (e["BENT_UP_ARROW"] = "bentUpArrow"),
- (e["BEVEL"] = "bevel"),
- (e["BLOCK_ARC"] = "blockArc"),
- (e["CAN"] = "can"),
- (e["CHART_PLUS"] = "chartPlus"),
- (e["CHART_STAR"] = "chartStar"),
- (e["CHART_X"] = "chartX"),
- (e["CHEVRON"] = "chevron"),
- (e["CHORD"] = "chord"),
- (e["CIRCULAR_ARROW"] = "circularArrow"),
- (e["CLOUD"] = "cloud"),
- (e["CLOUD_CALLOUT"] = "cloudCallout"),
- (e["CORNER"] = "corner"),
- (e["CORNER_TABS"] = "cornerTabs"),
- (e["CROSS"] = "plus"),
- (e["CUBE"] = "cube"),
- (e["CURVED_DOWN_ARROW"] = "curvedDownArrow"),
- (e["CURVED_DOWN_RIBBON"] = "ellipseRibbon"),
- (e["CURVED_LEFT_ARROW"] = "curvedLeftArrow"),
- (e["CURVED_RIGHT_ARROW"] = "curvedRightArrow"),
- (e["CURVED_UP_ARROW"] = "curvedUpArrow"),
- (e["CURVED_UP_RIBBON"] = "ellipseRibbon2"),
- (e["CUSTOM_GEOMETRY"] = "custGeom"),
- (e["DECAGON"] = "decagon"),
- (e["DIAGONAL_STRIPE"] = "diagStripe"),
- (e["DIAMOND"] = "diamond"),
- (e["DODECAGON"] = "dodecagon"),
- (e["DONUT"] = "donut"),
- (e["DOUBLE_BRACE"] = "bracePair"),
- (e["DOUBLE_BRACKET"] = "bracketPair"),
- (e["DOUBLE_WAVE"] = "doubleWave"),
- (e["DOWN_ARROW"] = "downArrow"),
- (e["DOWN_ARROW_CALLOUT"] = "downArrowCallout"),
- (e["DOWN_RIBBON"] = "ribbon"),
- (e["EXPLOSION1"] = "irregularSeal1"),
- (e["EXPLOSION2"] = "irregularSeal2"),
- (e["FLOWCHART_ALTERNATE_PROCESS"] = "flowChartAlternateProcess"),
- (e["FLOWCHART_CARD"] = "flowChartPunchedCard"),
- (e["FLOWCHART_COLLATE"] = "flowChartCollate"),
- (e["FLOWCHART_CONNECTOR"] = "flowChartConnector"),
- (e["FLOWCHART_DATA"] = "flowChartInputOutput"),
- (e["FLOWCHART_DECISION"] = "flowChartDecision"),
- (e["FLOWCHART_DELAY"] = "flowChartDelay"),
- (e["FLOWCHART_DIRECT_ACCESS_STORAGE"] = "flowChartMagneticDrum"),
- (e["FLOWCHART_DISPLAY"] = "flowChartDisplay"),
- (e["FLOWCHART_DOCUMENT"] = "flowChartDocument"),
- (e["FLOWCHART_EXTRACT"] = "flowChartExtract"),
- (e["FLOWCHART_INTERNAL_STORAGE"] = "flowChartInternalStorage"),
- (e["FLOWCHART_MAGNETIC_DISK"] = "flowChartMagneticDisk"),
- (e["FLOWCHART_MANUAL_INPUT"] = "flowChartManualInput"),
- (e["FLOWCHART_MANUAL_OPERATION"] = "flowChartManualOperation"),
- (e["FLOWCHART_MERGE"] = "flowChartMerge"),
- (e["FLOWCHART_MULTIDOCUMENT"] = "flowChartMultidocument"),
- (e["FLOWCHART_OFFLINE_STORAGE"] = "flowChartOfflineStorage"),
- (e["FLOWCHART_OFFPAGE_CONNECTOR"] = "flowChartOffpageConnector"),
- (e["FLOWCHART_OR"] = "flowChartOr"),
- (e["FLOWCHART_PREDEFINED_PROCESS"] = "flowChartPredefinedProcess"),
- (e["FLOWCHART_PREPARATION"] = "flowChartPreparation"),
- (e["FLOWCHART_PROCESS"] = "flowChartProcess"),
- (e["FLOWCHART_PUNCHED_TAPE"] = "flowChartPunchedTape"),
- (e["FLOWCHART_SEQUENTIAL_ACCESS_STORAGE"] = "flowChartMagneticTape"),
- (e["FLOWCHART_SORT"] = "flowChartSort"),
- (e["FLOWCHART_STORED_DATA"] = "flowChartOnlineStorage"),
- (e["FLOWCHART_SUMMING_JUNCTION"] = "flowChartSummingJunction"),
- (e["FLOWCHART_TERMINATOR"] = "flowChartTerminator"),
- (e["FOLDED_CORNER"] = "folderCorner"),
- (e["FRAME"] = "frame"),
- (e["FUNNEL"] = "funnel"),
- (e["GEAR_6"] = "gear6"),
- (e["GEAR_9"] = "gear9"),
- (e["HALF_FRAME"] = "halfFrame"),
- (e["HEART"] = "heart"),
- (e["HEPTAGON"] = "heptagon"),
- (e["HEXAGON"] = "hexagon"),
- (e["HORIZONTAL_SCROLL"] = "horizontalScroll"),
- (e["ISOSCELES_TRIANGLE"] = "triangle"),
- (e["LEFT_ARROW"] = "leftArrow"),
- (e["LEFT_ARROW_CALLOUT"] = "leftArrowCallout"),
- (e["LEFT_BRACE"] = "leftBrace"),
- (e["LEFT_BRACKET"] = "leftBracket"),
- (e["LEFT_CIRCULAR_ARROW"] = "leftCircularArrow"),
- (e["LEFT_RIGHT_ARROW"] = "leftRightArrow"),
- (e["LEFT_RIGHT_ARROW_CALLOUT"] = "leftRightArrowCallout"),
- (e["LEFT_RIGHT_CIRCULAR_ARROW"] = "leftRightCircularArrow"),
- (e["LEFT_RIGHT_RIBBON"] = "leftRightRibbon"),
- (e["LEFT_RIGHT_UP_ARROW"] = "leftRightUpArrow"),
- (e["LEFT_UP_ARROW"] = "leftUpArrow"),
- (e["LIGHTNING_BOLT"] = "lightningBolt"),
- (e["LINE_CALLOUT_1"] = "borderCallout1"),
- (e["LINE_CALLOUT_1_ACCENT_BAR"] = "accentCallout1"),
- (e["LINE_CALLOUT_1_BORDER_AND_ACCENT_BAR"] = "accentBorderCallout1"),
- (e["LINE_CALLOUT_1_NO_BORDER"] = "callout1"),
- (e["LINE_CALLOUT_2"] = "borderCallout2"),
- (e["LINE_CALLOUT_2_ACCENT_BAR"] = "accentCallout2"),
- (e["LINE_CALLOUT_2_BORDER_AND_ACCENT_BAR"] = "accentBorderCallout2"),
- (e["LINE_CALLOUT_2_NO_BORDER"] = "callout2"),
- (e["LINE_CALLOUT_3"] = "borderCallout3"),
- (e["LINE_CALLOUT_3_ACCENT_BAR"] = "accentCallout3"),
- (e["LINE_CALLOUT_3_BORDER_AND_ACCENT_BAR"] = "accentBorderCallout3"),
- (e["LINE_CALLOUT_3_NO_BORDER"] = "callout3"),
- (e["LINE_CALLOUT_4"] = "borderCallout3"),
- (e["LINE_CALLOUT_4_ACCENT_BAR"] = "accentCallout3"),
- (e["LINE_CALLOUT_4_BORDER_AND_ACCENT_BAR"] = "accentBorderCallout3"),
- (e["LINE_CALLOUT_4_NO_BORDER"] = "callout3"),
- (e["LINE"] = "line"),
- (e["LINE_INVERSE"] = "lineInv"),
- (e["MATH_DIVIDE"] = "mathDivide"),
- (e["MATH_EQUAL"] = "mathEqual"),
- (e["MATH_MINUS"] = "mathMinus"),
- (e["MATH_MULTIPLY"] = "mathMultiply"),
- (e["MATH_NOT_EQUAL"] = "mathNotEqual"),
- (e["MATH_PLUS"] = "mathPlus"),
- (e["MOON"] = "moon"),
- (e["NON_ISOSCELES_TRAPEZOID"] = "nonIsoscelesTrapezoid"),
- (e["NOTCHED_RIGHT_ARROW"] = "notchedRightArrow"),
- (e["NO_SYMBOL"] = "noSmoking"),
- (e["OCTAGON"] = "octagon"),
- (e["OVAL"] = "ellipse"),
- (e["OVAL_CALLOUT"] = "wedgeEllipseCallout"),
- (e["PARALLELOGRAM"] = "parallelogram"),
- (e["PENTAGON"] = "homePlate"),
- (e["PIE"] = "pie"),
- (e["PIE_WEDGE"] = "pieWedge"),
- (e["PLAQUE"] = "plaque"),
- (e["PLAQUE_TABS"] = "plaqueTabs"),
- (e["QUAD_ARROW"] = "quadArrow"),
- (e["QUAD_ARROW_CALLOUT"] = "quadArrowCallout"),
- (e["RECTANGLE"] = "rect"),
- (e["RECTANGULAR_CALLOUT"] = "wedgeRectCallout"),
- (e["REGULAR_PENTAGON"] = "pentagon"),
- (e["RIGHT_ARROW"] = "rightArrow"),
- (e["RIGHT_ARROW_CALLOUT"] = "rightArrowCallout"),
- (e["RIGHT_BRACE"] = "rightBrace"),
- (e["RIGHT_BRACKET"] = "rightBracket"),
- (e["RIGHT_TRIANGLE"] = "rtTriangle"),
- (e["ROUNDED_RECTANGLE"] = "roundRect"),
- (e["ROUNDED_RECTANGULAR_CALLOUT"] = "wedgeRoundRectCallout"),
- (e["ROUND_1_RECTANGLE"] = "round1Rect"),
- (e["ROUND_2_DIAG_RECTANGLE"] = "round2DiagRect"),
- (e["ROUND_2_SAME_RECTANGLE"] = "round2SameRect"),
- (e["SMILEY_FACE"] = "smileyFace"),
- (e["SNIP_1_RECTANGLE"] = "snip1Rect"),
- (e["SNIP_2_DIAG_RECTANGLE"] = "snip2DiagRect"),
- (e["SNIP_2_SAME_RECTANGLE"] = "snip2SameRect"),
- (e["SNIP_ROUND_RECTANGLE"] = "snipRoundRect"),
- (e["SQUARE_TABS"] = "squareTabs"),
- (e["STAR_10_POINT"] = "star10"),
- (e["STAR_12_POINT"] = "star12"),
- (e["STAR_16_POINT"] = "star16"),
- (e["STAR_24_POINT"] = "star24"),
- (e["STAR_32_POINT"] = "star32"),
- (e["STAR_4_POINT"] = "star4"),
- (e["STAR_5_POINT"] = "star5"),
- (e["STAR_6_POINT"] = "star6"),
- (e["STAR_7_POINT"] = "star7"),
- (e["STAR_8_POINT"] = "star8"),
- (e["STRIPED_RIGHT_ARROW"] = "stripedRightArrow"),
- (e["SUN"] = "sun"),
- (e["SWOOSH_ARROW"] = "swooshArrow"),
- (e["TEAR"] = "teardrop"),
- (e["TRAPEZOID"] = "trapezoid"),
- (e["UP_ARROW"] = "upArrow"),
- (e["UP_ARROW_CALLOUT"] = "upArrowCallout"),
- (e["UP_DOWN_ARROW"] = "upDownArrow"),
- (e["UP_DOWN_ARROW_CALLOUT"] = "upDownArrowCallout"),
- (e["UP_RIBBON"] = "ribbon2"),
- (e["U_TURN_ARROW"] = "uturnArrow"),
- (e["VERTICAL_SCROLL"] = "verticalScroll"),
- (e["WAVE"] = "wave")
- })(W || (W = {})),
- (function (e) {
- ;(e["AREA"] = "area"),
- (e["BAR"] = "bar"),
- (e["BAR3D"] = "bar3D"),
- (e["BUBBLE"] = "bubble"),
- (e["BUBBLE3D"] = "bubble3D"),
- (e["DOUGHNUT"] = "doughnut"),
- (e["LINE"] = "line"),
- (e["PIE"] = "pie"),
- (e["RADAR"] = "radar"),
- (e["SCATTER"] = "scatter")
- })(V || (V = {})),
- (function (e) {
- ;(e["TEXT1"] = "tx1"),
- (e["TEXT2"] = "tx2"),
- (e["BACKGROUND1"] = "bg1"),
- (e["BACKGROUND2"] = "bg2"),
- (e["ACCENT1"] = "accent1"),
- (e["ACCENT2"] = "accent2"),
- (e["ACCENT3"] = "accent3"),
- (e["ACCENT4"] = "accent4"),
- (e["ACCENT5"] = "accent5"),
- (e["ACCENT6"] = "accent6")
- })(H || (H = {})),
- (function (e) {
- ;(e["chart"] = "chart"),
- (e["image"] = "image"),
- (e["line"] = "line"),
- (e["rect"] = "rect"),
- (e["text"] = "text"),
- (e["placeholder"] = "placeholder")
- })(X || (X = {})),
- (function (e) {
- ;(e["chart"] = "chart"),
- (e["hyperlink"] = "hyperlink"),
- (e["image"] = "image"),
- (e["media"] = "media"),
- (e["online"] = "online"),
- (e["placeholder"] = "placeholder"),
- (e["table"] = "table"),
- (e["tablecell"] = "tablecell"),
- (e["text"] = "text"),
- (e["notes"] = "notes")
- })(Y || (Y = {})),
- (function (e) {
- ;(e["title"] = "title"),
- (e["body"] = "body"),
- (e["image"] = "pic"),
- (e["chart"] = "chart"),
- (e["table"] = "tbl"),
- (e["media"] = "media")
- })(K || (K = {})),
- (function (e) {
- ;(e["DEFAULT"] = "•"), (e["CHECK"] = "✓"), (e["STAR"] = "★"), (e["TRIANGLE"] = "▶")
- })(Z || (Z = {}))
- var J =
- "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAB3CAYAAAD1oOVhAAAGAUlEQVR4Xu2dT0xcRRzHf7tAYSsc0EBSIq2xEg8mtTGebVzEqOVIolz0siRE4gGTStqKwdpWsXoyGhMuyAVJOHBgqyvLNgonDkabeCBYW/8kTUr0wsJC+Wfm0bfuvn37Znbem9mR9303mJnf/Pb7ed95M7PDI5JIJPYJV5EC7e3t1N/fT62trdqViQCIu+bVgpIHEo/Hqbe3V/sdYVKHyWSSZmZm8ilVA0oeyNjYmEnaVC2Xvr6+qg5fAOJAz4DU1dURGzFSqZRVqtMpAFIGyMjICC0vL9PExIRWKADiAYTNshYWFrRCARAOEFZcCKWtrY0GBgaUTYkBRACIE4rKZwqACALR5RQAqQCIDqcASIVAVDsFQCSAqHQKgEgCUeUUAPEBRIVTAMQnEBvK5OQkbW9vk991CoAEAMQJxc86BUACAhKUUwAkQCBBOAVAAgbi1ykAogCIH6cAiCIgsk4BEIVAZJwCIIqBVLqiBxANQFgXS0tLND4+zl08AogmIG5OSSQS1gGKwgtANAIRcQqAaAbCe6YASBWA2E6xDyeyDUl7+AKQMkDYYevm5mZHabA/Li4uUiaTsYLau8QA4gLE/hU7wajyYtv1hReDAiAOxQcHBymbzark4BkbQKom/X8dp9Npmpqasn4BIAYAYSnYp+4BBEAMUcCwNOCQsAKZnp62NtQOw8WmwT09PUo+ijaHsOMx7GppaaH6+nolH0Z10K2tLVpdXbW6UfV3mNqBdHd3U1NTk2rtlMRfW1uj2dlZAFGirkRQAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAGHqrm8caPzQ0WC1logbeiC7X3xJm0PvUmRzh45cuki1588FAmVn9BO6P3yF9utrqGH0MtW82S8UN9RA9v/4k7InjhcJFTs/TLVXLwmJV67S7vD7tHF5pKi46fYdosdOcOOGG8j1OcqefbFEJD9Q3GCwDhqT31HklS4A8VRgfYM2Op6k3bt/BQJl58J7lPvwg5JYNccepaMry0LPqFA7hCm39+NNyp2J0172b19QysGINj5CsRtpij57musOViH0QPJQXn6J9u7dlYJSFkbrMYolrwvDAJAC+WWdEpQz7FTgECeUCpzi6YxvvqXoM6eEhqnCSgDikEzUKUE7Aw7xuHctKB5OYU3dZlNR9syQdAaAcAYTC0pXF+39c09o2Ik+3EqxVKqiB7hbYAxZkk4pbBaEM+AQofv+wTrFwylBOQNABIGwavdfe4O2pg5elO+86l99nY58/VUF0byrYsjiSFluNlXYrOHcBar7+EogUADEQ0YRGHbzoKAASBkg2+9cpM1rV0tK2QOcXW7bLEFAARAXIF4w2DrDWoeUWaf4hQIgDiA8GPZ2iNfi0Q8UACkAIgrDbrJ385eDxaPLLrEsFAB5oG6lMPJQPLZZZKAACBGVhcG2Q+bmuLu2nk55e4jqPv1IeEoceiBeX7s2zCa5MAqdstl91vfXwaEGsv/rb5TtOFk6tWXOuJGh6KmnhO9sayrMninPx103JBtXblHkice58cINZP4Hyr5wpkgkdiChEmc4FWazLzenNKa/p0jncwDiqcD6BuWePk07t1asatZGoYQzSqA4nFJ7soNiP/+EUyfc25GI2GG53dHPrKo1g/1Cw4pIXLrzO+1c+/wg7tBbFDle/EbQcjFCPWQJCau5EoBoFpzXHYDwFNJcDiCaBed1ByA8hTSXA4hmwXndAQhPIc3lAKJZcF53AMJTSHM5gGgWnNcdgPAU0lwOIJoF53UHIDyFNJcfSiCdnZ0Ui8U0SxlMd7lcjubn561gh+Y1scFIU/0o/3sgeLO12E2k7UXKYumgFoAYdg8ACIAYpoBh6cAhAGKYAoalA4cAiGEKGJYOHAIghilgWDpwCIAYpoBh6cAhAGKYAoalA4cAiGEKGJYOHAIghilgWDpwCIAYpoBh6ZQ4JB6PKzviYthnNy4d9h+1M5mMlVckkUjsG5dhiBMCEMPg/wuOfrZZ/RSywQAAAABJRU5ErkJggg==",
- $ =
- "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAHCCAYAAAAXY63IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAFRdJREFUeNrs3WFz2lbagOEnkiVLxsYQsP//z9uZZmMswJIlS3k/tPb23U3TOAUM6Lpm8qkzbXM4A7p1dI4+/etf//oWAAAAB3ARETGdTo0EAACwV1VVRWIYAACAQxEgAACAAAEAAAQIAACAAAEAAAQIAACAAAEAAAQIAAAgQAAAAAQIAAAgQAAAAAQIAAAgQAAAAAECAAAgQAAAAAECAAAgQAAAAAECAAAIEAAAAAECAAAIEAAAAAECAAAIEAAAQIAAAAAIEAAAQIAAAAAIEAAAQIAAAAACBAAAQIAAAAACBAAAQIAAAAACBAAAQIAAAAACBAAAECAAAAACBAAAECAAAAACBAAAECAAAIAAAQAAECAAAIAAAQAAECAAAIAAAQAABAgAAIAAAQAABAgAAIAAAQAABAgAACBAAAAABAgAACBAAAAABAgAACBAAAAAAQIAACBAAAAAAQIAACBAAAAAAQIAACBAAAAAAQIAAAgQAAAAAQIAAAgQAAAAAQIAAAgQAABAgAAAAAgQAABAgAAAAAgQAABAgAAAAAIEAABAgAAAAAIEAABAgAAAAAIEAAAQIAAAAAIEAAAQIAAAAAIEAAAQIAAAgAABAAAQIAAAgAABAAAQIAAAgAABAAAQIAAAgAABAAAECAAAgAABAAAECAAAgAABAAAECAAAIEAAAAAECAAAIEAAAAAECAAAIEAAAAABAgAAIEAAAAABAgAAIEAAAAABAgAACBAAAAABAgAACBAAAAABAgAACBAAAECAAAAACBAAAECAAAAACBAAAECAAAAAAgQAAECAAAAAAgQAAECAAAAAAgQAAECAAAAAAgQAABAgAAAAAgQAABAgAAAAAgQAABAgAACAAAEAABAgAACAAAEAABAgAACAAAEAAAQIAACAAAEAAAQIAACAAAEAAAQIAAAgQAAAAPbnwhAA8CuGYYiXl5fv/7hcXESSuMcFgAAB4G90XRffvn2L5+fniIho2zYiIvq+j77vf+nfmaZppGkaERF5nkdExOXlZXz69CmyLDPoAAIEgDFo2zaen5/j5eUl+r6Pruv28t/5c7y8Bs1ms3n751mWRZqmcXFxEZeXl2+RAoAAAeBEDcMQbdu+/dlXbPyKruve/n9ewyTLssjz/O2PR7oABAgAR67v+2iaJpqmeVt5OBWvUbLdbiPi90e3iqKIoijeHucCQIAAcATRsd1uo2maX96zcYxeV26qqoo0TaMoiphMJmIEQIAAcGjDMERd11HX9VE9WrXvyNput5FlWZRlGWVZekwLQIAAsE+vjyjVdT3qMei6LqqqirIsYzKZOFkLQIAAsEt1XcfT09PJ7es4xLjUdR15nsfV1VWUZWlQAAQIAP/kAnu9Xp/V3o59eN0vsl6v4+bmRogACBAAhMf+9X0fq9VKiAAIEAB+RtM0UVWV8NhhiEyn0yiKwqAACBAAXr1uqrbHY/ch8vDwEHmex3Q6tVkdQIAAjNswDLHZbN5evsd+tG0bX758iclkEtfX147vBRAgAOPTNE08Pj7GMAwG40BejzC+vb31WBaAAAEYh9f9CR63+hjDMLw9ljWfz62GAOyZb1mAD9Q0TXz58kV8HIG2beO3336LpmkMBsAeWQEB+ADDMERVVaN+g/mxfi4PDw9RlmVMp1OrIQACBOD0dV0XDw8PjtY9YnVdR9u2MZ/PnZQFsGNu7QAc+ML269ev4uME9H0fX79+tUoFsGNWQAAOZLVauZg9McMwxGq1iufn55jNZgYEQIAAnMZF7MPDg43mJ6yu6+j73ilZADvgWxRgj7qui69fv4qPM9C2rcfnAAQIwPHHR9d1BuOMPtMvX774TAEECMBxxoe3mp+fYRiEJYAAATgeryddiY/zjxAvLQQQIAAfHh+r1Up8jCRCHh4enGwGIEAAPkbTNLFarQzEyKxWKyshAAIE4LC6rovHx0cDMVKPj4/2hAAIEIDDxYc9H+NmYzqAAAEQH4gQAAECcF4XnI+Pj+IDcwJAgADs38PDg7vd/I+u6+Lh4cFAAAgQgN1ZrVbRtq2B4LvatnUiGoAAAdiNuq69+wHzBECAAOxf13VRVZWB4KdUVeUxPQABAvBrXt98bYMx5gyAAAHYu6qqou97A8G79H1v1QxAgAC8T9M0nufnl9V1HU3TGAgAAQLw9/q+j8fHx5P6f86yLMqy9OEdEe8HARAgAD9ltVqd3IXjp0+fYjabxWKxiDzPfYhH4HU/CIAAAeAvNU1z0u/7yPM8FotFzGazSBJf+R+tbVuPYgECxBAAfN8wDCf36NVfKcsy7u7u4vr62gf7wTyKBQgQAL5rs9mc1YVikiRxc3MT9/f3URSFD/gDw3az2RgIQIAA8B9d18V2uz3Lv1uapjGfz2OxWESWZT7sD7Ddbr2gEBAgAPzHGN7bkOd5LJfLmE6n9oeYYwACBOCjnPrG8/eaTCZxd3cXk8nEh39ANqQDAgSAiBjnnekkSWI6ncb9/b1je801AAECcCh1XUff96P9+6dpGovFIhaLRaRpakLsWd/3Ude1gQAECMBYrddrgxC/7w+5v7+P6+tr+0PMOQABArAPY1/9+J6bm5u4u7uLsiwNxp5YBQEECMBIuRP9Fz8USRKz2SyWy6X9IeYegAAB2AWrH38vy7JYLBYxn8/tD9kxqyCAAAEYmaenJ4Pwk4qiiOVyaX+IOQggQAB+Rdd1o3rvx05+PJIkbm5uYrlc2h+yI23bejs6IEAAxmC73RqEX5Smacxms1gsFpFlmQExFwEECMCPDMPg2fsdyPM8lstlzGYzj2X9A3VdxzAMBgIQIADnfMHH7pRlGXd3d3F9fW0wzEkAAQLgYu8APyx/7A+5v7+PoigMiDkJIEAAIn4/+tSm3/1J0zTm83ksFgvH9r5D13WOhAYECMA5suH3MPI8j/v7+5hOp/aHmJsAAgQYr6ZpDMIBTSaTuLu7i8lkYjDMTUCAAIxL3/cec/mIH50kiel0Gvf395HnuQExPwEBAjAO7jB/rDRNY7FYxHw+tz/EHAUECICLOw6jKIq4v7+P6+tr+0PMUUCAAJynYRiibVsDcURubm7i7u4uyrI0GH9o29ZLCQEBAnAuF3Yc4Q9SksRsNovlcml/iLkKCBAAF3UcRpZlsVgsYjabjX5/iLkKnKMLQwC4qOMYlWUZl5eXsd1u4+npaZSPI5mrwDmyAgKMjrefn9CPVJLEzc1NLJfLUe4PMVcBAQJw4txRPk1pmsZsNovFYhFZlpmzAAIE4DQ8Pz8bhBOW53ksl8uYzWajObbXnAXOjT0gwKi8vLwYhDPw5/0hm83GnAU4IVZAgFHp+94gnMsP2B/7Q+7v78/62F5zFhAgACfMpt7zk6ZpLBaLWCwWZ3lsrzkLCBAAF3IcoTzP4/7+PqbT6dntDzF3AQECcIK+fftmEEZgMpnE3d1dTCYTcxdAgAB8HKcJjejHLUliOp3Gcrk8i/0h5i4gQADgBGRZFovFIubz+VnuDwE4RY7hBUbDC93GqyiKKIoi1ut1PD09xTAM5i7AB7ECAsBo3NzcxN3dXZRlaTAABAjAfnmfAhG/7w+ZzWaxWCxOZn+IuQsIEAABwonL8zwWi0XMZrOj3x9i7gLnxB4QAEatLMu4vLyM7XZ7kvtDAE6NFRAA/BgmSdzc3MRyuYyiKAwIgAAB+Gfc1eZnpGka8/k8FotFZFlmDgMIEIBf8/LyYhD4aXmex3K5jNlsFkmSmMMAO2QPCAD8hT/vD9lsNgYEYAesgADAj34o/9gfcn9/fzLH9gIIEAAAgPAIFgD80DAMsdlsYrvdGgwAAQIA+/O698MJVAACBOB9X3YXvu74eW3bRlVV0XWdOQwgQADe71iOUuW49X0fVVVF0zTmMIAAAYD9GIbBUbsAAgQA9q+u61iv19H3vcEAECAAu5OmqYtM3rRtG+v1Otq2PYm5CyBAAAQIJ6jv+1iv11HX9UnNXQABAgAnZr1ex9PTk2N1AQQIwP7leX4Sj9uwe03TRFVVJ7sClue5DxEQIABw7Lqui6qqhCeAAAE4vMvLS8esjsQwDLHZbGK73Z7N3AUQIAAn5tOnTwZhBF7f53FO+zzMXUCAAJygLMsMwhlr2zZWq9VZnnRm7gICBOCEL+S6rjMQZ6Tv+1itVme7z0N8AAIE4ISlaSpAzsQwDG+PW537nAUQIACn+qV34WvvHNR1HVVVjeJ9HuYsIEAATpiTsE5b27ZRVdWoVrGcgAUIEIBT/tJzN/kk9X0fVVVF0zSj+7t7CSEgQABOWJIkNqKfkNd9Hk9PT6N43Oq/2YAOCBCAM5DnuQA5AXVdx3q9Pstjdd8zVwEECMAZXNSdyxuyz1HXdVFV1dkeqytAAAEC4KKOIzAMQ1RVFXVdGwxzFRAgAOcjSZLI89wd9iOyXq9Hu8/jR/GRJImBAAQIwDkoikKAHIGmaaKqqlHv8/jRHAUQIABndHFXVZWB+CB938dqtRKBAgQQIADjkKZppGnqzvuBDcMQm83GIQA/OT8BBAjAGSmKwoXwAW2329hsNvZ5/OTcBBAgAGdmMpkIkANo2zZWq5XVpnfOTQABAnBm0jT1VvQ96vs+qqqKpmkMxjtkWebxK0CAAJyrsiwFyI4Nw/D2uBW/NicBBAjAGV/sOQ1rd+q6jqqq7PMQIAACBOB7kiSJsiy9ffsfats2qqqymrSD+PDyQUCAAJy5q6srAfKL+r6P9Xpt/HY4FwEECMCZy/M88jz3Urx3eN3n8fT05HGrHc9DAAECMAJXV1cC5CfVdR3r9dqxunuYgwACBGAkyrJ0Uf03uq6LqqqE2h6kaWrzOSBAAMbm5uYmVquVgfgvwzBEVVX2eex57gEIEICRsQryv9brtX0ee2b1AxAgACNmFeR3bdvGarUSYweacwACBGCkxr4K0vd9rFYr+zwOxOoHIEAAGOUqyDAMsdlsYrvdmgAHnmsAAgRg5MqyjKenp9GsAmy329hsNvZ5HFie51Y/gFFKDAHA/xrDnem2bePLly9RVZX4MMcADsYKCMB3vN6dPsejZ/u+j6qqomkaH/QHKcvSW88BAQLA/zedTuP5+flsVgeGYXh73IqPkyRJTKdTAwGM93vQEAD89YXi7e3tWfxd6rqO3377TXwcgdvb20gSP7/AeFkBAfiBoigiz/OT3ZDetm2s12vH6h6JPM+jKAoDAYyaWzAAf2M2m53cHetv377FarWKf//73+LjWH5wkyRms5mBAHwfGgKAH0vT9OQexeq67iw30J+y29vbSNPUQAACxBAA/L2iKDw6g/kDIEAADscdbH7FKa6gAQgQgGP4wkySmM/nBoJ3mc/nTr0CECAAvybLMhuJ+Wmz2SyyLDMQAAIE4NeVZRllWRoIzBMAAQJwGO5s8yNWygAECMDOff78WYTw3fj4/PmzgQAQIAA7/gJNkri9vbXBGHMCQIAAHMbr3W4XnCRJYlUMQIAAiBDEB4AAATjDCJlOpwZipKbTqfgAECAAh1WWpZOPRmg2mzluF+AdLgwBwG4jJCKiqqoYhsGAnLEkSWI6nYoPgPd+fxoCgN1HiD0h5x8fnz9/Fh8AAgTgONiYfv7xYc8HgAABOMoIcaHqMwVAgAC4YOVd8jz3WQIIEIAT+KJNklgul/YLnLCyLGOxWHikDkCAAJyO2WzmmF6fG8DoOYYX4IDKsoyLi4t4eHiIvu8NyBFL0zTm87lHrgB2zAoIwIFlWRbL5TKKojAYR6ooilgul+IDYA+sgAB8gCRJYj6fR9M08fj46KWFR/S53N7eikMAAQJwnoqiiCzLYrVaRdu2BuQD5Xkes9ks0jQ1GAACBOB8pWkai8XCasgHseoBIEAARqkoisjzPKqqirquDcgBlGUZ0+nU8boAAgRgnJIkidlsFldXV7Ferz2WtSd5nsd0OrXJHECAAPB6gbxYLKKu61iv147s3ZE0TWM6nXrcCkCAAPA9ZVlGWZZCZAfhcXNz4230AAIEACEiPAAECABHHyJPT0/2iPyFPM/j6upKeAAIEAB2GSJt28bT05NTs/40LpPJxOZyAAECwD7kef52olNd11HXdXRdN6oxyLLsLcgcpwsgQAA4gCRJYjKZxGQyib7vY7vdRtM0Z7tXJE3TKIoiJpOJN5cDCBAAPvrifDqdxnQ6jb7vo2maaJrm5PeL5HkeRVFEURSiA0CAAHCsMfK6MjIMQ7Rt+/bn2B/VyrLs7RGzPM89XgUgQAA4JUmSvK0gvGrbNp6fn+Pl5SX6vv+wKMmyLNI0jYuLi7i8vIw8z31gAAIEgHPzurrwZ13Xxbdv3+L5+fktUiIi+r7/5T0laZq+PTb1+t+7vLyMT58+ObEKQIAAMGavQfB3qxDDMMTLy8v3f1wuLjwyBYAAAWB3kiTxqBQA7//9MAQAAIAAAQAABAgAAIAAAQAABAgAAIAAAQAABAgAACBAAAAABAgAACBAAAAABAgAACBAAAAAAQIAACBAAAAAAQIAACBAAAAAAQIAAAgQAAAAAQIAAAgQAAAAAQIAAAgQAABAgAAAAAgQAABAgAAAAAgQAABAgAAAAAIEAABAgAAAAAIEAABAgAAAAAIEAABAgAAAAAIEAAAQIAAAAAIEAAAQIAAAAAIEAAAQIAAAgAABAAAQIAAAgAABAAAQIAAAgAABAAAECAAAgAABAAAECAAAgAABAAAECAAAIEAAAAAECAAAIEAAAAAECAAAIEAAAAABAgAAIEAAAAABAgAAIEAAAAABAgAAIEAAAAABAgAACBAAAAABAgAACBAAAAABAgAACBAAAECAAAAACBAAAECAAAAACBAAAECAAAAAAgQAAECAAAAAAgQAAECAAAAAAgQAABAgAAAAAgQAABAgAAAAAgQAABAgAACAAAEAABAgAACAAAEAABAgAACAAAEAAASIIQAAAAQIAAAgQAAAAAQIAAAgQAAAAAQIAAAgQAAAAAECAAAgQAAAAAECAAAgQAAAAAECAAAIEAAAAAECAAAIEAAAAAECAAAIEAAAQIAAAAAIEAAAQIAAAAAIEAAAQIAAAAACBAAAQIAAAAACBAAAQIAAAAACBAAAECAAAAACBAAAECAAAAACBAAAECAAAAACBAAAECAAAIAAAQAAECAAAIAAAQAAECAAAIAAAQAABAgAAIAAAQAABAgAAIAAAQAABAgAACBAAAAAdu0iIqKqKiMBAADs3f8NAFFjCf5mB+leAAAAAElFTkSuQmCC"
- function ee(e, t, r) {
- return (
- "string" !== typeof e || isNaN(Number(e)) || (e = Number(e)),
- "number" === typeof e && e < 100
- ? ie(e)
- : "number" === typeof e && e >= 100
- ? e
- : "string" === typeof e && e.indexOf("%") > -1
- ? t && "X" === t
- ? Math.round((parseFloat(e) / 100) * r.width)
- : t && "Y" === t
- ? Math.round((parseFloat(e) / 100) * r.height)
- : Math.round((parseFloat(e) / 100) * r.width)
- : 0
- )
- }
- function te(e) {
- return e.replace(/[xy]/g, function (e) {
- var t = (16 * Math.random()) | 0,
- r = "x" === e ? t : (3 & t) | 8
- return r.toString(16)
- })
- }
- function re(e, t, r) {
- for (
- var n = {},
- i = function (e) {
- var t = o[e]
- t &&
- Object.keys(t).forEach(function (e) {
- n[e] = t[e]
- })
- },
- o = arguments,
- a = 0;
- a <= arguments.length;
- a++
- )
- i(a)
- return n
- }
- function ne(e) {
- return "undefined" === typeof e || null == e
- ? ""
- : e.toString().replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'")
- }
- function ie(e) {
- return "number" === typeof e && e > 100 ? e : ("string" === typeof e && (e = Number(e.replace(/in*/gi, ""))), Math.round(c * e))
- }
- function oe(e) {
- var t = Number(e) || 0
- return isNaN(t) ? 0 : Math.round(t * u)
- }
- function ae(e) {
- return (e = e || 0), Math.round(6e4 * (e > 360 ? e - 360 : e))
- }
- function se(e) {
- var t = e.toString(16)
- return 1 === t.length ? "0" + t : t
- }
- function le(e, t, r) {
- return (se(e) + se(t) + se(r)).toUpperCase()
- }
- function ce(e, t) {
- var r = (e || "").replace("#", "")
- d.test(r) ||
- r === z.background1 ||
- r === z.background2 ||
- r === z.text1 ||
- r === z.text2 ||
- r === z.accent1 ||
- r === z.accent2 ||
- r === z.accent3 ||
- r === z.accent4 ||
- r === z.accent5 ||
- r === z.accent6 ||
- (console.warn(
- '"'
- .concat(r, '" is not a valid scheme color or hex RGB! "')
- .concat(w, "\" used instead. Only provide 6-digit RGB or 'pptx.SchemeColor' values!")
- ),
- (r = w))
- var n = d.test(r) ? "srgbClr" : "schemeClr",
- i = 'val="' + (d.test(r) ? r.toUpperCase() : r) + '"'
- return t ? "<a:".concat(n, " ").concat(i, ">").concat(t, "</a:").concat(n, ">") : "<a:".concat(n, " ").concat(i, "/>")
- }
- function ue(e, t) {
- var r = "",
- n = re(t, e),
- i = Math.round(n["size"] * u),
- o = n["color"],
- a = Math.round(1e5 * n["opacity"])
- return (r += '<a:glow rad="'.concat(i, '">')), (r += ce(o, '<a:alpha val="'.concat(a, '"/>'))), (r += "</a:glow>"), r
- }
- function fe(e) {
- var t = "solid",
- r = "",
- n = "",
- i = ""
- if (e)
- switch (
- ("string" === typeof e
- ? (r = e)
- : (e.type && (t = e.type),
- e.color && (r = e.color),
- e.alpha && (n += '<a:alpha val="'.concat(Math.round(1e3 * (100 - e.alpha)), '"/>')),
- e.transparency && (n += '<a:alpha val="'.concat(Math.round(1e3 * (100 - e.transparency)), '"/>'))),
- t)
- ) {
- case "solid":
- i += "<a:solidFill>".concat(ce(r, n), "</a:solidFill>")
- break
- default:
- i += ""
- break
- }
- return i
- }
- function pe(e) {
- return e._rels.length + e._relsChart.length + e._relsMedia.length + 1
- }
- function de(e, t, r) {
- var n = 2.3 + (e.options && e.options.autoPageCharWeight ? e.options.autoPageCharWeight : 0),
- i = Math.floor((t / u) * c) / ((e.options && e.options.fontSize ? e.options.fontSize : x) / n),
- a = [],
- s = [],
- l = [],
- f = []
- e.text && 0 === e.text.toString().trim().length
- ? s.push({
- _type: Y.tablecell,
- text: " "
- })
- : "number" === typeof e.text || "string" === typeof e.text
- ? s.push({
- _type: Y.tablecell,
- text: (e.text || "").toString().trim()
- })
- : Array.isArray(e.text) && (s = e.text),
- r &&
- (console.log("[1/4] inputCells"),
- s.forEach(function (e, t) {
- return console.log("[1/4] [".concat(t + 1, "] cell: ").concat(JSON.stringify(e)))
- }))
- var p = []
- return (
- s.forEach(function (e) {
- "string" === typeof e.text &&
- (e.text.split("\n").length > 1
- ? e.text.split("\n").forEach(function (t) {
- p.push({
- _type: Y.tablecell,
- text: t,
- options: o(o({}, e.options), {
- breakLine: !0
- })
- })
- })
- : p.push({
- _type: Y.tablecell,
- text: e.text.trim(),
- options: e.options
- }),
- e.options &&
- e.options.breakLine &&
- (r && console.log("inputCells: new line > ".concat(JSON.stringify(p))), l.push(p), (p = []))),
- p.length > 0 && l.push(p)
- }),
- r &&
- (console.log("[2/4] inputLines1 (".concat(l.length, ")")),
- l.forEach(function (e, t) {
- return console.log("[2/4] [".concat(t + 1, "] line: ").concat(JSON.stringify(e)))
- })),
- l.forEach(function (e) {
- e.forEach(function (e) {
- var t = [],
- r = e.text + "",
- n = r.split(" ")
- n.forEach(function (r, i) {
- var a = o({}, e.options)
- a && a.breakLine && (a.breakLine = i + 1 === n.length),
- t.push({
- _type: Y.tablecell,
- text: r + (i + 1 < n.length ? " " : ""),
- options: a
- })
- }),
- f.push(t)
- })
- }),
- r &&
- (console.log("[3/4] inputLines2 (".concat(f.length, ")")),
- f.forEach(function (e) {
- return console.log("[3/4] line: ".concat(JSON.stringify(e)))
- })),
- f.forEach(function (e) {
- var t = [],
- r = ""
- e.forEach(function (e) {
- r.length + e.text.length > i && (a.push(t), (t = []), (r = "")), t.push(e), (r += e.text.toString())
- }),
- t.length > 0 && a.push(t)
- }),
- r &&
- (console.log("[4/4] parsedLines (".concat(a.length, ")")),
- a.forEach(function (e, t) {
- return console.log("[4/4] [Line ".concat(t + 1, "]:\n").concat(JSON.stringify(e)))
- }),
- console.log("...............................................\n\n")),
- a
- )
- }
- function he(e, t, r, n) {
- void 0 === e && (e = []), void 0 === t && (t = {})
- var i = C,
- o = 1 * c,
- a = 1 * c,
- s = 0,
- l = 0,
- u = [],
- f = ee(t.x, "X", r),
- p = ee(t.y, "Y", r),
- d = ee(t.w, "X", r),
- m = ee(t.h, "Y", r),
- g = d
- function y() {
- var e = 0
- 0 === u.length && (e = p || ie(i[0])),
- u.length > 0 && (e = ie(t.autoPageSlideStartY || t.newSlideStartY || i[0])),
- (a = (m || r.height) - e - ie(i[2])),
- u.length > 1 &&
- ("number" === typeof t.autoPageSlideStartY
- ? (a = (m || r.height) - ie(t.autoPageSlideStartY + i[2]))
- : "number" === typeof t.newSlideStartY
- ? (a = (m || r.height) - ie(t.newSlideStartY + i[2]))
- : p && ((a = (m || r.height) - ie((p / c < i[0] ? p / c : i[0]) + i[2])), a < m && (a = m)))
- }
- t.verbose &&
- (console.log("[[VERBOSE MODE]]"),
- console.log("|-- TABLE PROPS --------------------------------------------------------|"),
- console.log("| presLayout.width ................................ = ".concat((r.width / c).toFixed(1))),
- console.log("| presLayout.height ............................... = ".concat((r.height / c).toFixed(1))),
- console.log("| tableProps.x .................................... = ".concat("number" === typeof t.x ? (t.x / c).toFixed(1) : t.x)),
- console.log("| tableProps.y .................................... = ".concat("number" === typeof t.y ? (t.y / c).toFixed(1) : t.y)),
- console.log("| tableProps.w .................................... = ".concat("number" === typeof t.w ? (t.w / c).toFixed(1) : t.w)),
- console.log("| tableProps.h .................................... = ".concat("number" === typeof t.h ? (t.h / c).toFixed(1) : t.h)),
- console.log("| tableProps.slideMargin .......................... = ".concat(t.slideMargin || "")),
- console.log("| tableProps.margin ............................... = ".concat(t.margin)),
- console.log("| tableProps.colW ................................. = ".concat(t.colW)),
- console.log("| tableProps.autoPageSlideStartY .................. = ".concat(t.autoPageSlideStartY)),
- console.log("| tableProps.autoPageCharWeight ................... = ".concat(t.autoPageCharWeight)),
- console.log("|-- CALCULATIONS -------------------------------------------------------|"),
- console.log("| tablePropX ...................................... = ".concat(f / c)),
- console.log("| tablePropY ...................................... = ".concat(p / c)),
- console.log("| tablePropW ...................................... = ".concat(d / c)),
- console.log("| tablePropH ...................................... = ".concat(m / c)),
- console.log("| tableCalcW ...................................... = ".concat(g / c))),
- t.slideMargin || 0 === t.slideMargin || (t.slideMargin = C[0]),
- n && "undefined" !== typeof n._margin
- ? Array.isArray(n._margin)
- ? (i = n._margin)
- : isNaN(Number(n._margin)) || (i = [Number(n._margin), Number(n._margin), Number(n._margin), Number(n._margin)])
- : (t.slideMargin || 0 === t.slideMargin) &&
- (Array.isArray(t.slideMargin)
- ? (i = t.slideMargin)
- : isNaN(t.slideMargin) || (i = [t.slideMargin, t.slideMargin, t.slideMargin, t.slideMargin])),
- t.verbose && console.log("| arrInchMargins .................................. = [".concat(i.join(", "), "]"))
- var v = e[0] || []
- if (
- (v.forEach(function (e) {
- e ||
- (e = {
- _type: Y.tablecell
- })
- var t = e.options || null
- l += Number(t && t.colspan ? t.colspan : 1)
- }),
- t.verbose && console.log("| numCols ......................................... = ".concat(l)),
- !d &&
- t.colW &&
- ((g = Array.isArray(t.colW)
- ? t.colW.reduce(function (e, t) {
- return e + t
- }) * c
- : t.colW * l || 0),
- t.verbose && console.log("| tableCalcW ...................................... = ".concat(g / c))),
- (o = g || ie((f ? f / c : i[1]) + i[3])),
- t.verbose && console.log("| emuSlideTabW .................................... = ".concat((o / c).toFixed(1))),
- !t.colW || !Array.isArray(t.colW))
- )
- if (t.colW && !isNaN(Number(t.colW))) {
- var b = []
- v = e[0] || []
- v.forEach(function () {
- return b.push(t.colW)
- }),
- (t.colW = []),
- b.forEach(function (e) {
- Array.isArray(t.colW) && t.colW.push(e)
- })
- } else {
- t.colW = []
- for (var w = 0; w < l; w++) t.colW.push(o / c / l)
- }
- var A = {
- rows: []
- }
- return (
- e.forEach(function (e, r) {
- var n = [],
- i = 0,
- o = 0,
- l = []
- e.forEach(function (e) {
- l.push({
- _type: Y.tablecell,
- text: [],
- options: e.options
- }),
- e.options.margin && e.options.margin[0] >= 1
- ? (e.options.margin && e.options.margin[0] && oe(e.options.margin[0]) > i
- ? (i = oe(e.options.margin[0]))
- : t.margin && t.margin[0] && oe(t.margin[0]) > i && (i = oe(t.margin[0])),
- e.options.margin && e.options.margin[2] && oe(e.options.margin[2]) > o
- ? (o = oe(e.options.margin[2]))
- : t.margin && t.margin[2] && oe(t.margin[2]) > o && (o = oe(t.margin[2])))
- : (e.options.margin && e.options.margin[0] && ie(e.options.margin[0]) > i
- ? (i = ie(e.options.margin[0]))
- : t.margin && t.margin[0] && ie(t.margin[0]) > i && (i = ie(t.margin[0])),
- e.options.margin && e.options.margin[2] && ie(e.options.margin[2]) > o
- ? (o = ie(e.options.margin[2]))
- : t.margin && t.margin[2] && ie(t.margin[2]) > o && (o = ie(t.margin[2])))
- }),
- y(),
- (s += i + o),
- t.verbose && 0 === r && console.log("| SLIDE [".concat(u.length, "]: emuSlideTabH ...... = ").concat((a / c).toFixed(1), " ")),
- e.forEach(function (e, r) {
- var i = {
- _type: Y.tablecell,
- _lines: null,
- _lineHeight: ie(
- ((e.options && e.options.fontSize ? e.options.fontSize : t.fontSize ? t.fontSize : x) *
- (h + (t.autoPageLineWeight ? t.autoPageLineWeight : 0))) /
- 100
- ),
- text: [],
- options: e.options
- }
- i.options.rowspan && (i._lineHeight = 0), (i.options.autoPageCharWeight = t.autoPageCharWeight ? t.autoPageCharWeight : null)
- var o = t.colW[r]
- e.options.colspan &&
- Array.isArray(t.colW) &&
- (o = t.colW
- .filter(function (t, n) {
- return n >= r && n < n + e.options.colspan
- })
- .reduce(function (e, t) {
- return e + t
- })),
- (i._lines = de(e, o, !1)),
- n.push(i)
- }),
- t.verbose && console.log("\n| SLIDE [".concat(u.length, "]: ROW [").concat(r, "]: START..."))
- var f = 0,
- p = 0,
- d = !1
- while (!d) {
- var m = n[f],
- g = l[f]
- if (
- (n.forEach(function (e) {
- e._lineHeight >= p && (p = e._lineHeight)
- }),
- s + p > a)
- ) {
- t.verbose &&
- (console.log("\n|-----------------------------------------------------------------------|"),
- console.log(
- "|-- NEW SLIDE CREATED (currTabH+currLineH > maxH) => "
- .concat((s / c).toFixed(2), " + ")
- .concat((m._lineHeight / c).toFixed(2), " > ")
- .concat(a / c)
- ),
- console.log("|-----------------------------------------------------------------------|\n\n")),
- l.length > 0 &&
- l
- .map(function (e) {
- return e.text.length
- })
- .reduce(function (e, t) {
- return e + t
- }) > 0 &&
- A.rows.push(l),
- u.push(A)
- var v = []
- ;(A = {
- rows: v
- }),
- (l = []),
- e.forEach(function (e) {
- return l.push({
- _type: Y.tablecell,
- text: [],
- options: e.options
- })
- }),
- y(),
- (s += i + o),
- t.verbose && console.log("| SLIDE [".concat(u.length, "]: emuSlideTabH ...... = ").concat((a / c).toFixed(1), " ")),
- (s = 0),
- (t.addHeaderToEach || t.autoPageRepeatHeader) &&
- t._arrObjTabHeadRows &&
- t._arrObjTabHeadRows.forEach(function (e) {
- var t = [],
- r = 0
- e.forEach(function (e) {
- t.push(e), e._lineHeight > r && (r = e._lineHeight)
- }),
- A.rows.push(t),
- (s += r)
- }),
- (g = l[f])
- }
- var b = m._lines.shift()
- Array.isArray(g.text) &&
- (b
- ? (g.text = g.text.concat(b))
- : 0 === g.text.length &&
- (g.text = g.text.concat({
- _type: Y.tablecell,
- text: ""
- }))),
- f === n.length - 1 && (s += p),
- (f = f < n.length - 1 ? f + 1 : 0)
- var w = n
- .map(function (e) {
- return e._lines.length
- })
- .reduce(function (e, t) {
- return e + t
- })
- 0 === w && (d = !0)
- }
- l.length > 0 && A.rows.push(l),
- t.verbose &&
- console.log(
- "- SLIDE ["
- .concat(u.length, "]: ROW [")
- .concat(r, "]: ...COMPLETE ...... emuTabCurrH = ")
- .concat((s / c).toFixed(2), " ( emuSlideTabH = ")
- .concat((a / c).toFixed(2), " )")
- )
- }),
- u.push(A),
- t.verbose &&
- (console.log("\n|================================================|"),
- console.log("| FINAL: tableRowSlides.length = ".concat(u.length)),
- u.forEach(function (e) {
- return console.log(e)
- }),
- console.log("|================================================|\n\n")),
- u
- )
- }
- function me(e, t, r, n) {
- void 0 === r && (r = {})
- var i = r || {}
- i.slideMargin = i.slideMargin || 0 === i.slideMargin ? i.slideMargin : 0.5
- var o = i.w || e.presLayout.width,
- s = [],
- l = [],
- u = [],
- f = [],
- p = [],
- d = [0.5, 0.5, 0.5, 0.5],
- h = 0
- if (!document.getElementById(t)) throw new Error('tableToSlides: Table ID "' + t + '" does not exist!')
- n && n._margin
- ? (Array.isArray(n._margin) ? (d = n._margin) : isNaN(n._margin) || (d = [n._margin, n._margin, n._margin, n._margin]),
- (i.slideMargin = d))
- : i &&
- i.slideMargin &&
- (Array.isArray(i.slideMargin)
- ? (d = i.slideMargin)
- : isNaN(i.slideMargin) || (d = [i.slideMargin, i.slideMargin, i.slideMargin, i.slideMargin])),
- (o = (i.w ? ie(i.w) : e.presLayout.width) - ie(d[1] + d[3])),
- i.verbose &&
- (console.log("[[VERBOSE MODE]]"),
- console.log("|-- `tableToSlides` ----------------------------------------------------|"),
- console.log("| tableProps.h .................................... = ".concat(i.h)),
- console.log("| tableProps.w .................................... = ".concat(i.w)),
- console.log("| pptx.presLayout.width ........................... = ".concat((e.presLayout.width / c).toFixed(1))),
- console.log("| pptx.presLayout.height .......................... = ".concat((e.presLayout.height / c).toFixed(1))),
- console.log("| emuSlideTabW .................................... = ".concat((o / c).toFixed(1))))
- var m = document.querySelectorAll("#".concat(t, " tr:first-child th"))
- 0 === m.length && (m = document.querySelectorAll("#".concat(t, " tr:first-child td"))),
- m.forEach(function (e) {
- if (e.getAttribute("colspan"))
- for (var t = 0; t < Number(e.getAttribute("colspan")); t++) p.push(Math.round(e.offsetWidth / Number(e.getAttribute("colspan"))))
- else p.push(e.offsetWidth)
- }),
- p.forEach(function (e) {
- h += e
- }),
- p.forEach(function (e, r) {
- var n = Number(((Number(o) * ((e / h) * 100)) / 100 / c).toFixed(2)),
- i = 0,
- a = document.querySelector("#".concat(t, " thead tr:first-child th:nth-child(").concat(r + 1, ")"))
- a && (i = Number(a.getAttribute("data-pptx-min-width")))
- var s = document.querySelector("#".concat(t, " thead tr:first-child th:nth-child(").concat(r + 1, ")"))
- s && (i = Number(s.getAttribute("data-pptx-width"))), f.push(i > n ? i : n)
- }),
- i.verbose && console.log("| arrColW ......................................... = [".concat(f.join(", "), "]"))
- var g = ["thead", "tbody", "tfoot"]
- g.forEach(function (e) {
- document.querySelectorAll("#".concat(t, " ").concat(e, " tr")).forEach(function (t) {
- var r = []
- switch (
- (Array.from(t.cells).forEach(function (e) {
- var t = window
- .getComputedStyle(e)
- .getPropertyValue("color")
- .replace(/\s+/gi, "")
- .replace("rgba(", "")
- .replace("rgb(", "")
- .replace(")", "")
- .split(","),
- n = window
- .getComputedStyle(e)
- .getPropertyValue("background-color")
- .replace(/\s+/gi, "")
- .replace("rgba(", "")
- .replace("rgb(", "")
- .replace(")", "")
- .split(",")
- ;("rgba(0, 0, 0, 0)" === window.getComputedStyle(e).getPropertyValue("background-color") ||
- window.getComputedStyle(e).getPropertyValue("transparent")) &&
- (n = ["255", "255", "255"])
- var i = {
- align: null,
- bold:
- "bold" === window.getComputedStyle(e).getPropertyValue("font-weight") ||
- Number(window.getComputedStyle(e).getPropertyValue("font-weight")) >= 500,
- border: null,
- color: le(Number(t[0]), Number(t[1]), Number(t[2])),
- fill: {
- color: le(Number(n[0]), Number(n[1]), Number(n[2]))
- },
- fontFace:
- (window.getComputedStyle(e).getPropertyValue("font-family") || "")
- .split(",")[0]
- .replace(/"/g, "")
- .replace("inherit", "")
- .replace("initial", "") || null,
- fontSize: Number(window.getComputedStyle(e).getPropertyValue("font-size").replace(/[a-z]/gi, "")),
- margin: null,
- colspan: Number(e.getAttribute("colspan")) || null,
- rowspan: Number(e.getAttribute("rowspan")) || null,
- valign: null
- }
- if (["left", "center", "right", "start", "end"].indexOf(window.getComputedStyle(e).getPropertyValue("text-align")) > -1) {
- var o = window.getComputedStyle(e).getPropertyValue("text-align").replace("start", "left").replace("end", "right")
- i.align = "center" === o ? "center" : "left" === o ? "left" : "right" === o ? "right" : null
- }
- if (["top", "middle", "bottom"].indexOf(window.getComputedStyle(e).getPropertyValue("vertical-align")) > -1) {
- var a = window.getComputedStyle(e).getPropertyValue("vertical-align")
- i.valign = "top" === a ? "top" : "middle" === a ? "middle" : "bottom" === a ? "bottom" : null
- }
- if (window.getComputedStyle(e).getPropertyValue("padding-left")) {
- i.margin = [0, 0, 0, 0]
- var s = ["padding-top", "padding-right", "padding-bottom", "padding-left"]
- s.forEach(function (t, r) {
- i.margin[r] = Math.round(Number(window.getComputedStyle(e).getPropertyValue(t).replace(/\D/gi, "")))
- })
- }
- if (
- window.getComputedStyle(e).getPropertyValue("border-top-width") ||
- window.getComputedStyle(e).getPropertyValue("border-right-width") ||
- window.getComputedStyle(e).getPropertyValue("border-bottom-width") ||
- window.getComputedStyle(e).getPropertyValue("border-left-width")
- ) {
- i.border = [null, null, null, null]
- var l = ["top", "right", "bottom", "left"]
- l.forEach(function (t, r) {
- var n = Math.round(
- Number(
- window
- .getComputedStyle(e)
- .getPropertyValue("border-" + t + "-width")
- .replace("px", "")
- )
- ),
- o = []
- o = window
- .getComputedStyle(e)
- .getPropertyValue("border-" + t + "-color")
- .replace(/\s+/gi, "")
- .replace("rgba(", "")
- .replace("rgb(", "")
- .replace(")", "")
- .split(",")
- var a = le(Number(o[0]), Number(o[1]), Number(o[2]))
- i.border[r] = {
- pt: n,
- color: a
- }
- })
- }
- r.push({
- _type: Y.tablecell,
- text: e.innerText,
- options: i
- })
- }),
- e)
- ) {
- case "thead":
- s.push(r)
- break
- case "tbody":
- l.push(r)
- break
- case "tfoot":
- u.push(r)
- break
- default:
- console.log("table parsing: unexpected table part: ".concat(e))
- break
- }
- })
- }),
- (i._arrObjTabHeadRows = s || null),
- (i.colW = f),
- he(a(a(a([], s, !0), l, !0), u, !0), i, e.presLayout, n).forEach(function (t, r) {
- var n = e.addSlide({
- masterName: i.masterSlideName || null
- })
- 0 === r && (i.y = i.y || d[0]),
- r > 0 && (i.y = i.autoPageSlideStartY || i.newSlideStartY || d[0]),
- i.verbose &&
- console.log(
- "| opts.autoPageSlideStartY: "
- .concat(i.autoPageSlideStartY, " / arrInchMargins[0]: ")
- .concat(d[0], " => opts.y = ")
- .concat(i.y)
- ),
- n.addTable(t.rows, {
- x: i.x || d[3],
- y: i.y,
- w: Number(o) / c,
- colW: f,
- autoPage: !1
- }),
- i.addImage &&
- ((i.addImage.options = i.addImage.options || {}),
- i.addImage.image && (i.addImage.image.path || i.addImage.image.data)
- ? n.addImage({
- path: i.addImage.image.path,
- data: i.addImage.image.data,
- x: i.addImage.options.x,
- y: i.addImage.options.y,
- w: i.addImage.options.w,
- h: i.addImage.options.h
- })
- : console.warn("Warning: tableToSlides.addImage requires either `path` or `data`")),
- i.addShape && n.addShape(i.addShape.shape, i.addShape.options || {}),
- i.addTable && n.addTable(i.addTable.rows, i.addTable.options || {}),
- i.addText && n.addText(i.addText.text, i.addText.options || {})
- })
- }
- var ge = {
- cover: function (e, t) {
- var r = e.h / e.w,
- n = t.h / t.w,
- i = n > r,
- o = i ? t.h / r : t.w,
- a = i ? t.h : t.w * r,
- s = Math.round(5e4 * (1 - t.w / o)),
- l = Math.round(5e4 * (1 - t.h / a))
- return '<a:srcRect l="' + s + '" r="' + s + '" t="' + l + '" b="' + l + '"/><a:stretch/>'
- },
- contain: function (e, t) {
- var r = e.h / e.w,
- n = t.h / t.w,
- i = n > r,
- o = i ? t.w : t.h / r,
- a = i ? t.w * r : t.h,
- s = Math.round(5e4 * (1 - t.w / o)),
- l = Math.round(5e4 * (1 - t.h / a))
- return '<a:srcRect l="' + s + '" r="' + s + '" t="' + l + '" b="' + l + '"/><a:stretch/>'
- },
- crop: function (e, t) {
- var r = t.x,
- n = e.w - (t.x + t.w),
- i = t.y,
- o = e.h - (t.y + t.h),
- a = Math.round((r / e.w) * 1e5),
- s = Math.round((n / e.w) * 1e5),
- l = Math.round((i / e.h) * 1e5),
- c = Math.round((o / e.h) * 1e5)
- return '<a:srcRect l="' + a + '" r="' + s + '" t="' + l + '" b="' + c + '"/><a:stretch/>'
- }
- }
- function ye(e) {
- var t = e._name ? '<p:cSld name="' + e._name + '">' : "<p:cSld>",
- r = 1
- return (
- e._bkgdImgRid
- ? (t += '<p:bg><p:bgPr><a:blipFill dpi="0" rotWithShape="1"><a:blip r:embed="rId'.concat(
- e._bkgdImgRid,
- '"><a:lum/></a:blip><a:srcRect/><a:stretch><a:fillRect/></a:stretch></a:blipFill><a:effectLst/></p:bgPr></p:bg>'
- ))
- : e.background && e.background.color
- ? (t += "<p:bg><p:bgPr>".concat(fe(e.background), "</p:bgPr></p:bg>"))
- : !e.bkgd && e._name && e._name === T && (t += '<p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg>'),
- (t += "<p:spTree>"),
- (t += '<p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr>'),
- (t += '<p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/>'),
- (t += '<a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr>'),
- e._slideObjects.forEach(function (n, i) {
- var o,
- s,
- l = 0,
- u = 0,
- f = ee("75%", "X", e._presLayout),
- p = 0,
- d = ""
- switch (
- (void 0 !== e._slideLayout &&
- void 0 !== e._slideLayout._slideObjects &&
- n.options &&
- n.options.placeholder &&
- (s = e._slideLayout._slideObjects.filter(function (e) {
- return e.options.placeholder === n.options.placeholder
- })[0]),
- (n.options = n.options || {}),
- "undefined" !== typeof n.options.x && (l = ee(n.options.x, "X", e._presLayout)),
- "undefined" !== typeof n.options.y && (u = ee(n.options.y, "Y", e._presLayout)),
- "undefined" !== typeof n.options.w && (f = ee(n.options.w, "X", e._presLayout)),
- "undefined" !== typeof n.options.h && (p = ee(n.options.h, "Y", e._presLayout)),
- s &&
- ((s.options.x || 0 === s.options.x) && (l = ee(s.options.x, "X", e._presLayout)),
- (s.options.y || 0 === s.options.y) && (u = ee(s.options.y, "Y", e._presLayout)),
- (s.options.w || 0 === s.options.w) && (f = ee(s.options.w, "X", e._presLayout)),
- (s.options.h || 0 === s.options.h) && (p = ee(s.options.h, "Y", e._presLayout))),
- n.options.flipH && (d += ' flipH="1"'),
- n.options.flipV && (d += ' flipV="1"'),
- n.options.rotate && (d += ' rot="' + ae(n.options.rotate) + '"'),
- n._type)
- ) {
- case Y.table:
- var h,
- m = n.arrTabRows,
- g = n.options,
- v = 0,
- b = 0
- m[0].forEach(function (e) {
- ;(h = e.options || null), (v += h && h.colspan ? Number(h.colspan) : 1)
- })
- var w = '<p:graphicFrame><p:nvGraphicFramePr><p:cNvPr id="'
- .concat(r * e._slideNum + 1, '" name="')
- .concat(n.options.objectName, '"/>')
- if (
- ((w +=
- '<p:cNvGraphicFramePr><a:graphicFrameLocks noGrp="1"/></p:cNvGraphicFramePr> <p:nvPr><p:extLst><p:ext uri="{D42A27DB-BD31-4B8C-83A1-F6EECF244321}"><p14:modId xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" val="1579011935"/></p:ext></p:extLst></p:nvPr></p:nvGraphicFramePr>'),
- (w += '<p:xfrm><a:off x="'
- .concat(l || (0 === l ? 0 : c), '" y="')
- .concat(u || (0 === u ? 0 : c), '"/><a:ext cx="')
- .concat(f || (0 === f ? 0 : c), '" cy="')
- .concat(p || c, '"/></p:xfrm>')),
- (w += '<a:graphic><a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/table"><a:tbl><a:tblPr/>'),
- Array.isArray(g.colW))
- ) {
- w += "<a:tblGrid>"
- for (var x = 0; x < v; x++) {
- var A = ie(g.colW[x])
- ;(null == A || isNaN(A)) && (A = ("number" === typeof n.options.w ? n.options.w : 1) / v),
- (w += '<a:gridCol w="' + Math.round(A) + '"/>')
- }
- w += "</a:tblGrid>"
- } else {
- ;(b = g.colW ? g.colW : c),
- n.options.w && !g.colW && (b = Math.round(("number" === typeof n.options.w ? n.options.w : 1) / v)),
- (w += "<a:tblGrid>")
- for (var _ = 0; _ < v; _++) w += '<a:gridCol w="' + b + '"/>'
- w += "</a:tblGrid>"
- }
- m.forEach(function (e) {
- for (
- var t,
- r,
- n,
- i = function (i) {
- var o = e[i],
- s = null === (t = o.options) || void 0 === t ? void 0 : t.colspan,
- l = null === (r = o.options) || void 0 === r ? void 0 : r.rowspan
- if (s && s > 1) {
- var c = new Array(s - 1).fill(void 0).map(function (e) {
- return {
- _type: Y.tablecell,
- options: {
- rowspan: l
- },
- _hmerge: !0
- }
- })
- e.splice.apply(e, a([i + 1, 0], c, !1)), (i += s)
- } else i += 1
- n = i
- },
- o = 0;
- o < e.length;
- )
- i(o), (o = n)
- }),
- m.forEach(function (e, t) {
- var r = m[t + 1]
- r &&
- e.forEach(function (e, t) {
- var n,
- i,
- o = e._rowContinue || (null === (n = e.options) || void 0 === n ? void 0 : n.rowspan),
- a = null === (i = e.options) || void 0 === i ? void 0 : i.colspan,
- s = e._hmerge
- if (o && o > 1) {
- var l = {
- _type: Y.tablecell,
- options: {
- colspan: a
- },
- _rowContinue: o - 1,
- _vmerge: !0,
- _hmerge: s
- }
- r.splice(t, 0, l)
- }
- })
- }),
- m.forEach(function (e, t) {
- var r = 0
- Array.isArray(g.rowH) && g.rowH[t]
- ? (r = ie(Number(g.rowH[t])))
- : g.rowH && !isNaN(Number(g.rowH))
- ? (r = ie(Number(g.rowH)))
- : (n.options.cy || n.options.h) &&
- (r = Math.round((n.options.h ? ie(n.options.h) : "number" === typeof n.options.cy ? n.options.cy : 1) / m.length)),
- (w += '<a:tr h="'.concat(r, '">')),
- e.forEach(function (e) {
- var t,
- r,
- n = e,
- i = {
- rowSpan: (null === (t = n.options) || void 0 === t ? void 0 : t.rowspan) > 1 ? n.options.rowspan : void 0,
- gridSpan: (null === (r = n.options) || void 0 === r ? void 0 : r.colspan) > 1 ? n.options.colspan : void 0,
- vMerge: n._vmerge ? 1 : void 0,
- hMerge: n._hmerge ? 1 : void 0
- },
- o = Object.keys(i)
- .map(function (e) {
- return [e, i[e]]
- })
- .filter(function (e) {
- e[0]
- var t = e[1]
- return !!t
- })
- .map(function (e) {
- var t = e[0],
- r = e[1]
- return "".concat(t, '="').concat(r, '"')
- })
- .join(" ")
- if ((o && (o = " " + o), n._hmerge || n._vmerge)) w += "<a:tc".concat(o, "><a:tcPr/></a:tc>")
- else {
- var a = n.options || {}
- ;(n.options = a),
- [
- "align",
- "bold",
- "border",
- "color",
- "fill",
- "fontFace",
- "fontSize",
- "margin",
- "underline",
- "valign"
- ].forEach(function (e) {
- g[e] && !a[e] && 0 !== a[e] && (a[e] = g[e])
- })
- var s = a.valign
- ? ' anchor="' +
- a.valign
- .replace(/^c$/i, "ctr")
- .replace(/^m$/i, "ctr")
- .replace("center", "ctr")
- .replace("middle", "ctr")
- .replace("top", "t")
- .replace("btm", "b")
- .replace("bottom", "b") +
- '"'
- : "",
- l =
- n._optImp && n._optImp.fill && n._optImp.fill.color
- ? n._optImp.fill.color
- : n._optImp && n._optImp.fill && "string" === typeof n._optImp.fill
- ? n._optImp.fill
- : ""
- l = l || a.fill ? a.fill : ""
- var c = l ? fe(l) : "",
- u = 0 === a.margin || a.margin ? a.margin : y
- Array.isArray(u) || "number" !== typeof u || (u = [u, u, u, u])
- var f = ""
- ;(f =
- u[0] >= 1
- ? ' marL="'
- .concat(oe(u[3]), '" marR="')
- .concat(oe(u[1]), '" marT="')
- .concat(oe(u[0]), '" marB="')
- .concat(oe(u[2]), '"')
- : ' marL="'
- .concat(ie(u[3]), '" marR="')
- .concat(ie(u[1]), '" marT="')
- .concat(ie(u[0]), '" marB="')
- .concat(ie(u[2]), '"')),
- (w += "<a:tc".concat(o, ">").concat(_e(n), "<a:tcPr").concat(f).concat(s, ">")),
- a.border &&
- Array.isArray(a.border) &&
- [
- {
- idx: 3,
- name: "lnL"
- },
- {
- idx: 1,
- name: "lnR"
- },
- {
- idx: 0,
- name: "lnT"
- },
- {
- idx: 2,
- name: "lnB"
- }
- ].forEach(function (e) {
- "none" !== a.border[e.idx].type
- ? ((w += "<a:"
- .concat(e.name, ' w="')
- .concat(oe(a.border[e.idx].pt), '" cap="flat" cmpd="sng" algn="ctr">')),
- (w += "<a:solidFill>".concat(ce(a.border[e.idx].color), "</a:solidFill>")),
- (w += '<a:prstDash val="'.concat(
- "dash" === a.border[e.idx].type ? "sysDash" : "solid",
- '"/><a:round/><a:headEnd type="none" w="med" len="med"/><a:tailEnd type="none" w="med" len="med"/>'
- )),
- (w += "</a:".concat(e.name, ">")))
- : (w += "<a:"
- .concat(e.name, ' w="0" cap="flat" cmpd="sng" algn="ctr"><a:noFill/></a:')
- .concat(e.name, ">"))
- }),
- (w += c),
- (w += " </a:tcPr>"),
- (w += " </a:tc>")
- }
- }),
- (w += "</a:tr>")
- }),
- (w += " </a:tbl>"),
- (w += " </a:graphicData>"),
- (w += " </a:graphic>"),
- (w += "</p:graphicFrame>"),
- (t += w),
- r++
- break
- case Y.text:
- case Y.placeholder:
- if (
- (n.options.line || 0 !== p || (p = 0.3 * c),
- n.options._bodyProp || (n.options._bodyProp = {}),
- n.options.margin && Array.isArray(n.options.margin)
- ? ((n.options._bodyProp.lIns = oe(n.options.margin[0] || 0)),
- (n.options._bodyProp.rIns = oe(n.options.margin[1] || 0)),
- (n.options._bodyProp.bIns = oe(n.options.margin[2] || 0)),
- (n.options._bodyProp.tIns = oe(n.options.margin[3] || 0)))
- : "number" === typeof n.options.margin &&
- ((n.options._bodyProp.lIns = oe(n.options.margin)),
- (n.options._bodyProp.rIns = oe(n.options.margin)),
- (n.options._bodyProp.bIns = oe(n.options.margin)),
- (n.options._bodyProp.tIns = oe(n.options.margin))),
- (t += "<p:sp>"),
- (t += '<p:nvSpPr><p:cNvPr id="'.concat(i + 2, '" name="').concat(n.options.objectName, '">')),
- n.options.hyperlink &&
- n.options.hyperlink.url &&
- (t +=
- '<a:hlinkClick r:id="rId' +
- n.options.hyperlink._rId +
- '" tooltip="' +
- (n.options.hyperlink.tooltip ? ne(n.options.hyperlink.tooltip) : "") +
- '"/>'),
- n.options.hyperlink &&
- n.options.hyperlink.slide &&
- (t +=
- '<a:hlinkClick r:id="rId' +
- n.options.hyperlink._rId +
- '" tooltip="' +
- (n.options.hyperlink.tooltip ? ne(n.options.hyperlink.tooltip) : "") +
- '" action="ppaction://hlinksldjump"/>'),
- (t += "</p:cNvPr>"),
- (t += "<p:cNvSpPr" + (n.options && n.options.isTextBox ? ' txBox="1"/>' : "/>")),
- (t += "<p:nvPr>".concat("placeholder" === n._type ? Te(n) : Te(s), "</p:nvPr>")),
- (t += "</p:nvSpPr><p:spPr>"),
- (t += "<a:xfrm".concat(d, ">")),
- (t += '<a:off x="'.concat(l, '" y="').concat(u, '"/>')),
- (t += '<a:ext cx="'.concat(f, '" cy="').concat(p, '"/></a:xfrm>')),
- "custGeom" === n.shape)
- )
- (t += "<a:custGeom><a:avLst />"),
- (t += "<a:gdLst>"),
- (t += "</a:gdLst>"),
- (t += "<a:ahLst />"),
- (t += "<a:cxnLst>"),
- (t += "</a:cxnLst>"),
- (t += '<a:rect l="l" t="t" r="r" b="b" />'),
- (t += "<a:pathLst>"),
- (t += '<a:path w="'.concat(f, '" h="').concat(p, '">')),
- null === (o = n.options.points) ||
- void 0 === o ||
- o.map(function (r, n) {
- if ("curve" in r)
- switch (r.curve.type) {
- case "arc":
- t += '<a:arcTo hR="'
- .concat(ee(r.curve.hR, "Y", e._presLayout), '" wR="')
- .concat(ee(r.curve.wR, "X", e._presLayout), '" stAng="')
- .concat(ae(r.curve.stAng), '" swAng="')
- .concat(ae(r.curve.swAng), '" />')
- break
- case "cubic":
- t += '<a:cubicBezTo>\n\t\t\t\t\t\t\t\t\t<a:pt x="'
- .concat(ee(r.curve.x1, "X", e._presLayout), '" y="')
- .concat(ee(r.curve.y1, "Y", e._presLayout), '" />\n\t\t\t\t\t\t\t\t\t<a:pt x="')
- .concat(ee(r.curve.x2, "X", e._presLayout), '" y="')
- .concat(ee(r.curve.y2, "Y", e._presLayout), '" />\n\t\t\t\t\t\t\t\t\t<a:pt x="')
- .concat(ee(r.x, "X", e._presLayout), '" y="')
- .concat(ee(r.y, "Y", e._presLayout), '" />\n\t\t\t\t\t\t\t\t\t</a:cubicBezTo>')
- break
- case "quadratic":
- t += '<a:quadBezTo>\n\t\t\t\t\t\t\t\t\t<a:pt x="'
- .concat(ee(r.curve.x1, "X", e._presLayout), '" y="')
- .concat(ee(r.curve.y1, "Y", e._presLayout), '" />\n\t\t\t\t\t\t\t\t\t<a:pt x="')
- .concat(ee(r.x, "X", e._presLayout), '" y="')
- .concat(ee(r.y, "Y", e._presLayout), '" />\n\t\t\t\t\t\t\t\t\t</a:quadBezTo>')
- break
- }
- else
- "close" in r
- ? (t += "<a:close />")
- : r.moveTo || 0 === n
- ? (t += '<a:moveTo><a:pt x="'
- .concat(ee(r.x, "X", e._presLayout), '" y="')
- .concat(ee(r.y, "Y", e._presLayout), '" /></a:moveTo>'))
- : (t += '<a:lnTo><a:pt x="'
- .concat(ee(r.x, "X", e._presLayout), '" y="')
- .concat(ee(r.y, "Y", e._presLayout), '" /></a:lnTo>'))
- }),
- (t += "</a:path>"),
- (t += "</a:pathLst>"),
- (t += "</a:custGeom>")
- else {
- if (((t += '<a:prstGeom prst="' + n.shape + '"><a:avLst>'), n.options.rectRadius))
- t += '<a:gd name="adj" fmla="val '.concat(Math.round((n.options.rectRadius * c * 1e5) / Math.min(f, p)), '"/>')
- else if (n.options.angleRange) {
- for (var T = 0; T < 2; T++) {
- var E = n.options.angleRange[T]
- t += '<a:gd name="adj'.concat(T + 1, '" fmla="val ').concat(ae(E), '" />')
- }
- n.options.arcThicknessRatio &&
- (t += '<a:gd name="adj3" fmla="val '.concat(Math.round(5e4 * n.options.arcThicknessRatio), '" />'))
- }
- t += "</a:avLst></a:prstGeom>"
- }
- ;(t += n.options.fill ? fe(n.options.fill) : "<a:noFill/>"),
- n.options.line &&
- ((t += n.options.line.width ? '<a:ln w="'.concat(oe(n.options.line.width), '">') : "<a:ln>"),
- n.options.line.color && (t += fe(n.options.line)),
- n.options.line.dashType && (t += '<a:prstDash val="'.concat(n.options.line.dashType, '"/>')),
- n.options.line.beginArrowType && (t += '<a:headEnd type="'.concat(n.options.line.beginArrowType, '"/>')),
- n.options.line.endArrowType && (t += '<a:tailEnd type="'.concat(n.options.line.endArrowType, '"/>')),
- (t += "</a:ln>")),
- n.options.shadow &&
- ((n.options.shadow.type = n.options.shadow.type || "outer"),
- (n.options.shadow.blur = oe(n.options.shadow.blur || 8)),
- (n.options.shadow.offset = oe(n.options.shadow.offset || 4)),
- (n.options.shadow.angle = Math.round(6e4 * (n.options.shadow.angle || 270))),
- (n.options.shadow.opacity = Math.round(1e5 * (n.options.shadow.opacity || 0.75))),
- (n.options.shadow.color = n.options.shadow.color || k.color),
- (t += "<a:effectLst>"),
- (t += "<a:" + n.options.shadow.type + 'Shdw sx="100000" sy="100000" kx="0" ky="0" '),
- (t += ' algn="bl" rotWithShape="0" blurRad="' + n.options.shadow.blur + '" '),
- (t += ' dist="' + n.options.shadow.offset + '" dir="' + n.options.shadow.angle + '">'),
- (t += '<a:srgbClr val="' + n.options.shadow.color + '">'),
- (t += '<a:alpha val="' + n.options.shadow.opacity + '"/></a:srgbClr>'),
- (t += "</a:outerShdw>"),
- (t += "</a:effectLst>")),
- (t += "</p:spPr>"),
- (t += _e(n)),
- (t += "</p:sp>")
- break
- case Y.image:
- var S = n.options.sizing,
- C = n.options.rounding,
- L = f,
- P = p
- if (
- ((t += "<p:pic>"),
- (t += " <p:nvPicPr>"),
- (t += '<p:cNvPr id="'
- .concat(i + 2, '" name="')
- .concat(n.options.objectName, '" descr="')
- .concat(ne(n.options.altText || n.image), '">')),
- n.hyperlink &&
- n.hyperlink.url &&
- (t += '<a:hlinkClick r:id="rId'
- .concat(n.hyperlink._rId, '" tooltip="')
- .concat(n.hyperlink.tooltip ? ne(n.hyperlink.tooltip) : "", '"/>')),
- n.hyperlink &&
- n.hyperlink.slide &&
- (t += '<a:hlinkClick r:id="rId'
- .concat(n.hyperlink._rId, '" tooltip="')
- .concat(n.hyperlink.tooltip ? ne(n.hyperlink.tooltip) : "", '" action="ppaction://hlinksldjump"/>')),
- (t += " </p:cNvPr>"),
- (t += ' <p:cNvPicPr><a:picLocks noChangeAspect="1"/></p:cNvPicPr>'),
- (t += " <p:nvPr>" + Te(s) + "</p:nvPr>"),
- (t += " </p:nvPicPr>"),
- (t += "<p:blipFill>"),
- (e._relsMedia || []).filter(function (e) {
- return e.rId === n.imageRid
- })[0] &&
- "svg" ===
- (e._relsMedia || []).filter(function (e) {
- return e.rId === n.imageRid
- })[0]["extn"]
- ? ((t += '<a:blip r:embed="rId' + (n.imageRid - 1) + '">'),
- (t += n.options.transparency
- ? ' <a:alphaModFix amt="'.concat(Math.round(1e3 * (100 - n.options.transparency)), '"/>')
- : ""),
- (t += " <a:extLst>"),
- (t += ' <a:ext uri="{96DAC541-7B7A-43D3-8B79-37D633B846F1}">'),
- (t +=
- ' <asvg:svgBlip xmlns:asvg="http://schemas.microsoft.com/office/drawing/2016/SVG/main" r:embed="rId' +
- n.imageRid +
- '"/>'),
- (t += " </a:ext>"),
- (t += " </a:extLst>"),
- (t += "</a:blip>"))
- : ((t += '<a:blip r:embed="rId' + n.imageRid + '">'),
- (t += n.options.transparency
- ? ' <a:alphaModFix amt="'.concat(Math.round(1e3 * (100 - n.options.transparency)), '"/>')
- : ""),
- (t += "</a:blip>")),
- S && S.type)
- ) {
- var O = S.w ? ee(S.w, "X", e._presLayout) : f,
- j = S.h ? ee(S.h, "Y", e._presLayout) : p,
- R = ee(S.x || 0, "X", e._presLayout),
- I = ee(S.y || 0, "Y", e._presLayout)
- ;(t += ge[S.type](
- {
- w: L,
- h: P
- },
- {
- w: O,
- h: j,
- x: R,
- y: I
- }
- )),
- (L = O),
- (P = j)
- } else t += " <a:stretch><a:fillRect/></a:stretch>"
- ;(t += "</p:blipFill>"),
- (t += "<p:spPr>"),
- (t += " <a:xfrm" + d + ">"),
- (t += ' <a:off x="' + l + '" y="' + u + '"/>'),
- (t += ' <a:ext cx="' + L + '" cy="' + P + '"/>'),
- (t += " </a:xfrm>"),
- (t += ' <a:prstGeom prst="' + (C ? "ellipse" : "rect") + '"><a:avLst/></a:prstGeom>'),
- (t += "</p:spPr>"),
- (t += "</p:pic>")
- break
- case Y.media:
- "online" === n.mtype
- ? ((t += "<p:pic>"),
- (t += " <p:nvPicPr>"),
- (t += '<p:cNvPr id="'.concat(n.mediaRid + 2, '" name="').concat(n.options.objectName, '"/>')),
- (t += " <p:cNvPicPr/>"),
- (t += " <p:nvPr>"),
- (t += ' <a:videoFile r:link="rId' + n.mediaRid + '"/>'),
- (t += " </p:nvPr>"),
- (t += " </p:nvPicPr>"),
- (t += ' <p:blipFill><a:blip r:embed="rId' + (n.mediaRid + 1) + '"/><a:stretch><a:fillRect/></a:stretch></p:blipFill>'),
- (t += " <p:spPr>"),
- (t += " <a:xfrm" + d + ">"),
- (t += ' <a:off x="' + l + '" y="' + u + '"/>'),
- (t += ' <a:ext cx="' + f + '" cy="' + p + '"/>'),
- (t += " </a:xfrm>"),
- (t += ' <a:prstGeom prst="rect"><a:avLst/></a:prstGeom>'),
- (t += " </p:spPr>"),
- (t += "</p:pic>"))
- : ((t += "<p:pic>"),
- (t += " <p:nvPicPr>"),
- (t += '<p:cNvPr id="'
- .concat(n.mediaRid + 2, '" name="')
- .concat(n.options.objectName, '"><a:hlinkClick r:id="" action="ppaction://media"/></p:cNvPr>')),
- (t += ' <p:cNvPicPr><a:picLocks noChangeAspect="1"/></p:cNvPicPr>'),
- (t += " <p:nvPr>"),
- (t += " <a:".concat("audio" === n.mtype ? "audioFile" : "videoFile", ' r:link="rId').concat(n.mediaRid, '"/>')),
- (t += " <p:extLst>"),
- (t += ' <p:ext uri="{DAA4B4D4-6D71-4841-9C94-3DE7FCFB9230}">'),
- (t +=
- ' <p14:media xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" r:embed="rId' +
- (n.mediaRid + 1) +
- '"/>'),
- (t += " </p:ext>"),
- (t += " </p:extLst>"),
- (t += " </p:nvPr>"),
- (t += " </p:nvPicPr>"),
- (t += ' <p:blipFill><a:blip r:embed="rId' + (n.mediaRid + 2) + '"/><a:stretch><a:fillRect/></a:stretch></p:blipFill>'),
- (t += " <p:spPr>"),
- (t += " <a:xfrm" + d + ">"),
- (t += ' <a:off x="' + l + '" y="' + u + '"/>'),
- (t += ' <a:ext cx="' + f + '" cy="' + p + '"/>'),
- (t += " </a:xfrm>"),
- (t += ' <a:prstGeom prst="rect"><a:avLst/></a:prstGeom>'),
- (t += " </p:spPr>"),
- (t += "</p:pic>"))
- break
- case Y.chart:
- ;(t += "<p:graphicFrame>"),
- (t += " <p:nvGraphicFramePr>"),
- (t += ' <p:cNvPr id="'
- .concat(i + 2, '" name="')
- .concat(n.options.objectName, '" descr="')
- .concat(ne(n.options.altText || ""), '"/>')),
- (t += " <p:cNvGraphicFramePr/>"),
- (t += " <p:nvPr>".concat(Te(s), "</p:nvPr>")),
- (t += " </p:nvGraphicFramePr>"),
- (t += ' <p:xfrm><a:off x="'.concat(l, '" y="').concat(u, '"/><a:ext cx="').concat(f, '" cy="').concat(p, '"/></p:xfrm>')),
- (t += ' <a:graphic xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">'),
- (t += ' <a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/chart">'),
- (t += ' <c:chart r:id="rId'.concat(n.chartRid, '" xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart"/>')),
- (t += " </a:graphicData>"),
- (t += " </a:graphic>"),
- (t += "</p:graphicFrame>")
- break
- default:
- t += ""
- break
- }
- }),
- e._slideNumberProps &&
- (e._slideNumberProps.align || (e._slideNumberProps.align = "left"),
- (t +=
- '<p:sp> <p:nvSpPr> <p:cNvPr id="25" name="Slide Number Placeholder 0"/> <p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr> <p:nvPr><p:ph type="sldNum" sz="quarter" idx="4294967295"/></p:nvPr> </p:nvSpPr> <p:spPr> <a:xfrm> <a:off x="' +
- ee(e._slideNumberProps.x, "X", e._presLayout) +
- '" y="' +
- ee(e._slideNumberProps.y, "Y", e._presLayout) +
- '"/> <a:ext cx="' +
- (e._slideNumberProps.w ? ee(e._slideNumberProps.w, "X", e._presLayout) : 8e5) +
- '" cy="' +
- (e._slideNumberProps.h ? ee(e._slideNumberProps.h, "Y", e._presLayout) : 3e5) +
- '"/> </a:xfrm> <a:prstGeom prst="rect"><a:avLst/></a:prstGeom> <a:extLst><a:ext uri="{C572A759-6A51-4108-AA02-DFA0A04FC94B}"><ma14:wrappingTextBoxFlag val="0" xmlns:ma14="http://schemas.microsoft.com/office/mac/drawingml/2011/main"/></a:ext></a:extLst> </p:spPr>'),
- (t += "<p:txBody>"),
- (t += "<a:bodyPr"),
- e._slideNumberProps.margin && Array.isArray(e._slideNumberProps.margin)
- ? ((t += ' lIns="'.concat(oe(e._slideNumberProps.margin[3] || 0), '"')),
- (t += ' tIns="'.concat(oe(e._slideNumberProps.margin[0] || 0), '"')),
- (t += ' rIns="'.concat(oe(e._slideNumberProps.margin[1] || 0), '"')),
- (t += ' bIns="'.concat(oe(e._slideNumberProps.margin[2] || 0), '"')))
- : "number" === typeof e._slideNumberProps.margin &&
- ((t += ' lIns="'.concat(oe(e._slideNumberProps.margin || 0), '"')),
- (t += ' tIns="'.concat(oe(e._slideNumberProps.margin || 0), '"')),
- (t += ' rIns="'.concat(oe(e._slideNumberProps.margin || 0), '"')),
- (t += ' bIns="'.concat(oe(e._slideNumberProps.margin || 0), '"'))),
- e._slideNumberProps.valign &&
- (t += ' anchor="'.concat(e._slideNumberProps.valign.replace("top", "t").replace("middle", "ctr").replace("bottom", "b"), '"')),
- (t += "/>"),
- (t += " <a:lstStyle><a:lvl1pPr>"),
- (e._slideNumberProps.fontFace || e._slideNumberProps.fontSize || e._slideNumberProps.color) &&
- ((t += '<a:defRPr sz="'.concat(Math.round(100 * (e._slideNumberProps.fontSize || 12)), '">')),
- e._slideNumberProps.color && (t += fe(e._slideNumberProps.color)),
- e._slideNumberProps.fontFace &&
- (t += '<a:latin typeface="'
- .concat(e._slideNumberProps.fontFace, '"/><a:ea typeface="')
- .concat(e._slideNumberProps.fontFace, '"/><a:cs typeface="')
- .concat(e._slideNumberProps.fontFace, '"/>')),
- (t += "</a:defRPr>")),
- (t += "</a:lvl1pPr></a:lstStyle>"),
- (t += "<a:p>"),
- e._slideNumberProps.align.startsWith("l")
- ? (t += '<a:pPr algn="l"/>')
- : e._slideNumberProps.align.startsWith("c")
- ? (t += '<a:pPr algn="ctr"/>')
- : e._slideNumberProps.align.startsWith("r")
- ? (t += '<a:pPr algn="r"/>')
- : (t += '<a:pPr algn="l"/>'),
- (t += '<a:fld id="'.concat(Q, '" type="slidenum"><a:rPr b="').concat(e._slideNumberProps.bold ? 1 : 0, '" lang="en-US"/>')),
- (t += "<a:t>".concat(e._slideNum, '</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p>')),
- (t += "</p:txBody></p:sp>")),
- (t += "</p:spTree>"),
- (t += "</p:cSld>"),
- t
- )
- }
- function ve(e, t) {
- var r = 0,
- n =
- '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' +
- f +
- '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">'
- return (
- e._rels.forEach(function (e) {
- ;(r = Math.max(r, e.rId)),
- e.type.toLowerCase().indexOf("hyperlink") > -1
- ? "slide" === e.data
- ? (n +=
- '<Relationship Id="rId' +
- e.rId +
- '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="slide' +
- e.Target +
- '.xml"/>')
- : (n +=
- '<Relationship Id="rId' +
- e.rId +
- '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="' +
- e.Target +
- '" TargetMode="External"/>')
- : e.type.toLowerCase().indexOf("notesSlide") > -1 &&
- (n +=
- '<Relationship Id="rId' +
- e.rId +
- '" Target="' +
- e.Target +
- '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"/>')
- }),
- (e._relsChart || []).forEach(function (e) {
- ;(r = Math.max(r, e.rId)),
- (n +=
- '<Relationship Id="rId' +
- e.rId +
- '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart" Target="' +
- e.Target +
- '"/>')
- }),
- (e._relsMedia || []).forEach(function (e) {
- ;(r = Math.max(r, e.rId)),
- e.type.toLowerCase().indexOf("image") > -1
- ? (n +=
- '<Relationship Id="rId' +
- e.rId +
- '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="' +
- e.Target +
- '"/>')
- : e.type.toLowerCase().indexOf("audio") > -1
- ? n.indexOf(' Target="' + e.Target + '"') > -1
- ? (n +=
- '<Relationship Id="rId' +
- e.rId +
- '" Type="http://schemas.microsoft.com/office/2007/relationships/media" Target="' +
- e.Target +
- '"/>')
- : (n +=
- '<Relationship Id="rId' +
- e.rId +
- '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/audio" Target="' +
- e.Target +
- '"/>')
- : e.type.toLowerCase().indexOf("video") > -1
- ? n.indexOf(' Target="' + e.Target + '"') > -1
- ? (n +=
- '<Relationship Id="rId' +
- e.rId +
- '" Type="http://schemas.microsoft.com/office/2007/relationships/media" Target="' +
- e.Target +
- '"/>')
- : (n +=
- '<Relationship Id="rId' +
- e.rId +
- '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/video" Target="' +
- e.Target +
- '"/>')
- : e.type.toLowerCase().indexOf("online") > -1 &&
- (n.indexOf(' Target="' + e.Target + '"') > -1
- ? (n +=
- '<Relationship Id="rId' +
- e.rId +
- '" Type="http://schemas.microsoft.com/office/2007/relationships/image" Target="' +
- e.Target +
- '"/>')
- : (n +=
- '<Relationship Id="rId' +
- e.rId +
- '" Target="' +
- e.Target +
- '" TargetMode="External" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/video"/>'))
- }),
- t.forEach(function (e, t) {
- n += '<Relationship Id="rId' + (r + t + 1) + '" Type="' + e.type + '" Target="' + e.target + '"/>'
- }),
- (n += "</Relationships>"),
- n
- )
- }
- function be(e, t) {
- var r = "",
- n = "",
- i = "",
- o = "",
- a = t ? "a:lvl1pPr" : "a:pPr",
- s = oe(m),
- l = "<".concat(a).concat(e.options.rtlMode ? ' rtl="1" ' : "")
- if (e.options.align)
- switch (e.options.align) {
- case "left":
- l += ' algn="l"'
- break
- case "right":
- l += ' algn="r"'
- break
- case "center":
- l += ' algn="ctr"'
- break
- case "justify":
- l += ' algn="just"'
- break
- default:
- l += ""
- break
- }
- if (
- (e.options.lineSpacing
- ? (n = '<a:lnSpc><a:spcPts val="'.concat(Math.round(100 * e.options.lineSpacing), '"/></a:lnSpc>'))
- : e.options.lineSpacingMultiple &&
- (n = '<a:lnSpc><a:spcPct val="'.concat(Math.round(1e5 * e.options.lineSpacingMultiple), '"/></a:lnSpc>')),
- e.options.indentLevel &&
- !isNaN(Number(e.options.indentLevel)) &&
- e.options.indentLevel > 0 &&
- (l += ' lvl="'.concat(e.options.indentLevel, '"')),
- e.options.paraSpaceBefore &&
- !isNaN(Number(e.options.paraSpaceBefore)) &&
- e.options.paraSpaceBefore > 0 &&
- (i += '<a:spcBef><a:spcPts val="'.concat(Math.round(100 * e.options.paraSpaceBefore), '"/></a:spcBef>')),
- e.options.paraSpaceAfter &&
- !isNaN(Number(e.options.paraSpaceAfter)) &&
- e.options.paraSpaceAfter > 0 &&
- (i += '<a:spcAft><a:spcPts val="'.concat(Math.round(100 * e.options.paraSpaceAfter), '"/></a:spcAft>')),
- "object" === typeof e.options.bullet)
- )
- if ((e && e.options && e.options.bullet && e.options.bullet.indent && (s = oe(e.options.bullet.indent)), e.options.bullet.type))
- "number" === e.options.bullet.type.toString().toLowerCase() &&
- ((l += ' marL="'
- .concat(e.options.indentLevel && e.options.indentLevel > 0 ? s + s * e.options.indentLevel : s, '" indent="-')
- .concat(s, '"')),
- (r = '<a:buSzPct val="100000"/><a:buFont typeface="+mj-lt"/><a:buAutoNum type="'
- .concat(e.options.bullet.style || "arabicPeriod", '" startAt="')
- .concat(e.options.bullet.numberStartAt || e.options.bullet.startAt || "1", '"/>')))
- else if (e.options.bullet.characterCode) {
- var c = "&#x".concat(e.options.bullet.characterCode, ";")
- !1 === /^[0-9A-Fa-f]{4}$/.test(e.options.bullet.characterCode) &&
- (console.warn("Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!"), (c = Z["DEFAULT"])),
- (l += ' marL="'
- .concat(e.options.indentLevel && e.options.indentLevel > 0 ? s + s * e.options.indentLevel : s, '" indent="-')
- .concat(s, '"')),
- (r = '<a:buSzPct val="100000"/><a:buChar char="' + c + '"/>')
- } else if (e.options.bullet.code) {
- c = "&#x".concat(e.options.bullet.code, ";")
- !1 === /^[0-9A-Fa-f]{4}$/.test(e.options.bullet.code) &&
- (console.warn("Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!"), (c = Z["DEFAULT"])),
- (l += ' marL="'
- .concat(e.options.indentLevel && e.options.indentLevel > 0 ? s + s * e.options.indentLevel : s, '" indent="-')
- .concat(s, '"')),
- (r = '<a:buSzPct val="100000"/><a:buChar char="' + c + '"/>')
- } else
- (l += ' marL="'
- .concat(e.options.indentLevel && e.options.indentLevel > 0 ? s + s * e.options.indentLevel : s, '" indent="-')
- .concat(s, '"')),
- (r = '<a:buSzPct val="100000"/><a:buChar char="'.concat(Z["DEFAULT"], '"/>'))
- else
- !0 === e.options.bullet
- ? ((l += ' marL="'
- .concat(e.options.indentLevel && e.options.indentLevel > 0 ? s + s * e.options.indentLevel : s, '" indent="-')
- .concat(s, '"')),
- (r = '<a:buSzPct val="100000"/><a:buChar char="'.concat(Z["DEFAULT"], '"/>')))
- : !1 === e.options.bullet && ((l += ' indent="0" marL="0"'), (r = "<a:buNone/>"))
- if (e.options.tabStops && Array.isArray(e.options.tabStops)) {
- var u = e.options.tabStops
- .map(function (e) {
- return '<a:tab pos="'.concat(ie(e.position || 1), '" algn="').concat(e.alignment || "l", '"/>')
- })
- .join("")
- o = "<a:tabLst>".concat(u, "</a:tabLst>")
- }
- return (l += ">" + n + i + r + o), t && (l += we(e.options, !0)), (l += "</" + a + ">"), l
- }
- function we(e, t) {
- var r,
- n = "",
- i = t ? "a:defRPr" : "a:rPr"
- if (
- ((n += "<" + i + ' lang="' + (e.lang ? e.lang : "en-US") + '"' + (e.lang ? ' altLang="en-US"' : "")),
- (n += e.fontSize ? ' sz="' + Math.round(e.fontSize) + '00"' : ""),
- (n += e.hasOwnProperty("bold") ? ' b="'.concat(e.bold ? 1 : 0, '"') : ""),
- (n += e.hasOwnProperty("italic") ? ' i="'.concat(e.italic ? 1 : 0, '"') : ""),
- (n += e.hasOwnProperty("strike") ? ' strike="'.concat("string" === typeof e.strike ? e.strike : "sngStrike", '"') : ""),
- "object" === typeof e.underline && (null === (r = e.underline) || void 0 === r ? void 0 : r.style)
- ? (n += ' u="'.concat(e.underline.style, '"'))
- : "string" === typeof e.underline
- ? (n += ' u="'.concat(e.underline, '"'))
- : e.hyperlink && (n += ' u="sng"'),
- e.baseline
- ? (n += ' baseline="'.concat(Math.round(50 * e.baseline), '"'))
- : e.subscript
- ? (n += ' baseline="-40000"')
- : e.superscript && (n += ' baseline="30000"'),
- (n += e.charSpacing ? ' spc="'.concat(Math.round(100 * e.charSpacing), '" kern="0"') : ""),
- (n += ' dirty="0">'),
- (e.color || e.fontFace || e.outline || ("object" === typeof e.underline && e.underline.color)) &&
- (e.outline &&
- "object" === typeof e.outline &&
- (n += '<a:ln w="'.concat(oe(e.outline.size || 0.75), '">').concat(fe(e.outline.color || "FFFFFF"), "</a:ln>")),
- e.color &&
- (n += fe({
- color: e.color,
- transparency: e.transparency
- })),
- e.highlight && (n += "<a:highlight>".concat(ce(e.highlight), "</a:highlight>")),
- "object" === typeof e.underline && e.underline.color && (n += "<a:uFill>".concat(fe(e.underline.color), "</a:uFill>")),
- e.glow && (n += "<a:effectLst>".concat(ue(e.glow, L), "</a:effectLst>")),
- e.fontFace &&
- (n += '<a:latin typeface="'
- .concat(e.fontFace, '" pitchFamily="34" charset="0"/><a:ea typeface="')
- .concat(e.fontFace, '" pitchFamily="34" charset="-122"/><a:cs typeface="')
- .concat(e.fontFace, '" pitchFamily="34" charset="-120"/>'))),
- e.hyperlink)
- ) {
- if ("object" !== typeof e.hyperlink)
- throw new Error("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` ")
- if (!e.hyperlink.url && !e.hyperlink.slide) throw new Error("ERROR: 'hyperlink requires either `url` or `slide`'")
- e.hyperlink.url
- ? (n += '<a:hlinkClick r:id="rId'
- .concat(e.hyperlink._rId, '" invalidUrl="" action="" tgtFrame="" tooltip="')
- .concat(e.hyperlink.tooltip ? ne(e.hyperlink.tooltip) : "", '" history="1" highlightClick="0" endSnd="0"')
- .concat(e.color ? ">" : "/>"))
- : e.hyperlink.slide &&
- (n += '<a:hlinkClick r:id="rId'
- .concat(e.hyperlink._rId, '" action="ppaction://hlinksldjump" tooltip="')
- .concat(e.hyperlink.tooltip ? ne(e.hyperlink.tooltip) : "", '"')
- .concat(e.color ? ">" : "/>")),
- e.color &&
- ((n += "\t<a:extLst>"),
- (n += '\t\t<a:ext uri="{A12FA001-AC4F-418D-AE19-62706E023703}">'),
- (n += '\t\t\t<ahyp:hlinkClr xmlns:ahyp="http://schemas.microsoft.com/office/drawing/2018/hyperlinkcolor" val="tx"/>'),
- (n += "\t\t</a:ext>"),
- (n += "\t</a:extLst>"),
- (n += "</a:hlinkClick>"))
- }
- return (n += "</".concat(i, ">")), n
- }
- function xe(e) {
- return e.text ? "<a:r>".concat(we(e.options, !1), "<a:t>").concat(ne(e.text), "</a:t></a:r>") : ""
- }
- function Ae(e) {
- var t = "<a:bodyPr"
- return (
- e && e._type === Y.text && e.options._bodyProp
- ? ((t += e.options._bodyProp.wrap ? ' wrap="square"' : ' wrap="none"'),
- (e.options._bodyProp.lIns || 0 === e.options._bodyProp.lIns) && (t += ' lIns="' + e.options._bodyProp.lIns + '"'),
- (e.options._bodyProp.tIns || 0 === e.options._bodyProp.tIns) && (t += ' tIns="' + e.options._bodyProp.tIns + '"'),
- (e.options._bodyProp.rIns || 0 === e.options._bodyProp.rIns) && (t += ' rIns="' + e.options._bodyProp.rIns + '"'),
- (e.options._bodyProp.bIns || 0 === e.options._bodyProp.bIns) && (t += ' bIns="' + e.options._bodyProp.bIns + '"'),
- (t += ' rtlCol="0"'),
- e.options._bodyProp.anchor && (t += ' anchor="' + e.options._bodyProp.anchor + '"'),
- e.options._bodyProp.vert && (t += ' vert="' + e.options._bodyProp.vert + '"'),
- (t += ">"),
- e.options.fit &&
- ("none" === e.options.fit
- ? (t += "")
- : "shrink" === e.options.fit
- ? (t += "<a:normAutofit/>")
- : "resize" === e.options.fit && (t += "<a:spAutoFit/>")),
- e.options.shrinkText && (t += "<a:normAutofit/>"),
- (t += !1 !== e.options._bodyProp.autoFit ? "<a:spAutoFit/>" : ""),
- (t += "</a:bodyPr>"))
- : ((t += ' wrap="square" rtlCol="0">'), (t += "</a:bodyPr>")),
- e._type === Y.tablecell ? "<a:bodyPr/>" : t
- )
- }
- function _e(e) {
- var t = e.options || {},
- r = [],
- n = []
- if (t && e._type !== Y.tablecell && ("undefined" === typeof e.text || null === e.text)) return ""
- var i = e._type === Y.tablecell ? "<a:txBody>" : "<p:txBody>"
- ;(i += Ae(e)),
- 0 === t.h && t.line && t.align
- ? (i += '<a:lstStyle><a:lvl1pPr algn="l"/></a:lstStyle>')
- : "placeholder" === e._type
- ? (i += "<a:lstStyle>".concat(be(e, !0), "</a:lstStyle>"))
- : (i += "<a:lstStyle/>"),
- "string" === typeof e.text || "number" === typeof e.text
- ? r.push({
- text: e.text.toString(),
- options: t || {}
- })
- : e.text && !Array.isArray(e.text) && "object" === typeof e.text && Object.keys(e.text).indexOf("text") > -1
- ? r.push({
- text: e.text || "",
- options: e.options || {}
- })
- : Array.isArray(e.text) &&
- (r = e.text.map(function (e) {
- return {
- text: e.text,
- options: e.options
- }
- })),
- r.forEach(function (e, r) {
- e.text || (e.text = ""),
- (e.options = e.options || t || {}),
- 0 === r && e.options && !e.options.bullet && t.bullet && (e.options.bullet = t.bullet),
- ("string" !== typeof e.text && "number" !== typeof e.text) || (e.text = e.text.toString().replace(/\r*\n/g, f)),
- e.text.indexOf(f) > -1 && null === e.text.match(/\n$/g)
- ? e.text.split(f).forEach(function (t) {
- ;(e.options.breakLine = !0),
- n.push({
- text: t,
- options: e.options
- })
- })
- : n.push(e)
- })
- var o = [],
- a = []
- return (
- n.forEach(function (e, r) {
- a.length > 0 && (e.options.align || t.align)
- ? e.options.align != n[r - 1].options.align && (o.push(a), (a = []))
- : a.length > 0 && e.options.bullet && a.length > 0 && (o.push(a), (a = []), (e.options.breakLine = !1)),
- a.push(e),
- a.length > 0 && e.options.breakLine && r + 1 < n.length && (o.push(a), (a = [])),
- r + 1 === n.length && o.push(a)
- }),
- o.forEach(function (r) {
- var n = !1
- i += "<a:p>"
- var o = "<a:pPr ".concat(r[0].options && r[0].options.rtlMode ? ' rtl="1" ' : "")
- r.forEach(function (e, r) {
- ;(e.options._lineIdx = r),
- r > 0 && e.options.softBreakBefore && (i += "<a:br/>"),
- (e.options.align = e.options.align || t.align),
- (e.options.lineSpacing = e.options.lineSpacing || t.lineSpacing),
- (e.options.lineSpacingMultiple = e.options.lineSpacingMultiple || t.lineSpacingMultiple),
- (e.options.indentLevel = e.options.indentLevel || t.indentLevel),
- (e.options.paraSpaceBefore = e.options.paraSpaceBefore || t.paraSpaceBefore),
- (e.options.paraSpaceAfter = e.options.paraSpaceAfter || t.paraSpaceAfter),
- (o = be(e, !1)),
- (i += o.replace("<a:pPr></a:pPr>", "")),
- Object.entries(t).forEach(function (t) {
- var r = t[0],
- n = t[1]
- ;(e.options.hyperlink && "color" === r) || "bullet" === r || e.options[r] || (e.options[r] = n)
- }),
- (i += xe(e)),
- ((!e.text && t.fontSize) || e.options.fontSize) && ((n = !0), (t.fontSize = t.fontSize || e.options.fontSize))
- }),
- e._type === Y.tablecell && (t.fontSize || t.fontFace)
- ? t.fontFace
- ? ((i +=
- '<a:endParaRPr lang="'.concat(t.lang || "en-US", '"') +
- (t.fontSize ? ' sz="'.concat(Math.round(100 * t.fontSize), '"') : "") +
- ' dirty="0">'),
- (i += '<a:latin typeface="'.concat(t.fontFace, '" charset="0"/>')),
- (i += '<a:ea typeface="'.concat(t.fontFace, '" charset="0"/>')),
- (i += '<a:cs typeface="'.concat(t.fontFace, '" charset="0"/>')),
- (i += "</a:endParaRPr>"))
- : (i +=
- '<a:endParaRPr lang="'.concat(t.lang || "en-US", '"') +
- (t.fontSize ? ' sz="'.concat(Math.round(100 * t.fontSize), '"') : "") +
- ' dirty="0"/>')
- : (i += n
- ? '<a:endParaRPr lang="'.concat(t.lang || "en-US", '"') +
- (t.fontSize ? ' sz="'.concat(Math.round(100 * t.fontSize), '"') : "") +
- ' dirty="0"/>'
- : '<a:endParaRPr lang="'.concat(t.lang || "en-US", '" dirty="0"/>')),
- (i += "</a:p>")
- }),
- (i += e._type === Y.tablecell ? "</a:txBody>" : "</p:txBody>"),
- i
- )
- }
- function Te(e) {
- if (!e) return ""
- var t = e.options && e.options._placeholderIdx ? e.options._placeholderIdx : "",
- r = e.options && e.options._placeholderType ? e.options._placeholderType : ""
- return "<p:ph\n\t\t"
- .concat(t ? ' idx="' + t + '"' : "", "\n\t\t")
- .concat(r && K[r] ? ' type="' + K[r] + '"' : "", "\n\t\t")
- .concat(e.text && e.text.length > 0 ? ' hasCustomPrompt="1"' : "", "\n\t\t/>")
- }
- function Ee(e, t, r) {
- var n = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' + f
- return (
- (n += '<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">'),
- (n += '<Default Extension="xml" ContentType="application/xml"/>'),
- (n += '<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>'),
- (n += '<Default Extension="jpeg" ContentType="image/jpeg"/>'),
- (n += '<Default Extension="jpg" ContentType="image/jpg"/>'),
- (n += '<Default Extension="png" ContentType="image/png"/>'),
- (n += '<Default Extension="gif" ContentType="image/gif"/>'),
- (n += '<Default Extension="m4v" ContentType="video/mp4"/>'),
- (n += '<Default Extension="mp4" ContentType="video/mp4"/>'),
- e.forEach(function (e) {
- ;(e._relsMedia || []).forEach(function (e) {
- "image" !== e.type &&
- "online" !== e.type &&
- "chart" !== e.type &&
- "m4v" !== e.extn &&
- -1 === n.indexOf(e.type) &&
- (n += '<Default Extension="' + e.extn + '" ContentType="' + e.type + '"/>')
- })
- }),
- (n += '<Default Extension="vml" ContentType="application/vnd.openxmlformats-officedocument.vmlDrawing"/>'),
- (n += '<Default Extension="xlsx" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/>'),
- (n +=
- '<Override PartName="/ppt/presentation.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml"/>'),
- (n +=
- '<Override PartName="/ppt/notesMasters/notesMaster1.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.notesMaster+xml"/>'),
- e.forEach(function (e, t) {
- ;(n +=
- '<Override PartName="/ppt/slideMasters/slideMaster' +
- (t + 1) +
- '.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml"/>'),
- (n +=
- '<Override PartName="/ppt/slides/slide' +
- (t + 1) +
- '.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slide+xml"/>'),
- e._relsChart.forEach(function (e) {
- n +=
- ' <Override PartName="' + e.Target + '" ContentType="application/vnd.openxmlformats-officedocument.drawingml.chart+xml"/>'
- })
- }),
- (n +=
- '<Override PartName="/ppt/presProps.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.presProps+xml"/>'),
- (n +=
- '<Override PartName="/ppt/viewProps.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.viewProps+xml"/>'),
- (n += '<Override PartName="/ppt/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/>'),
- (n +=
- '<Override PartName="/ppt/tableStyles.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml"/>'),
- t.forEach(function (e, t) {
- ;(n +=
- '<Override PartName="/ppt/slideLayouts/slideLayout' +
- (t + 1) +
- '.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"/>'),
- (e._relsChart || []).forEach(function (e) {
- n +=
- ' <Override PartName="' + e.Target + '" ContentType="application/vnd.openxmlformats-officedocument.drawingml.chart+xml"/>'
- })
- }),
- e.forEach(function (e, t) {
- n +=
- ' <Override PartName="/ppt/notesSlides/notesSlide' +
- (t + 1) +
- '.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.notesSlide+xml"/>'
- }),
- r._relsChart.forEach(function (e) {
- n += ' <Override PartName="' + e.Target + '" ContentType="application/vnd.openxmlformats-officedocument.drawingml.chart+xml"/>'
- }),
- r._relsMedia.forEach(function (e) {
- "image" !== e.type &&
- "online" !== e.type &&
- "chart" !== e.type &&
- "m4v" !== e.extn &&
- -1 === n.indexOf(e.type) &&
- (n += ' <Default Extension="' + e.extn + '" ContentType="' + e.type + '"/>')
- }),
- (n += ' <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/>'),
- (n += ' <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/>'),
- (n += "</Types>"),
- n
- )
- }
- function Se() {
- return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(
- f,
- '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n\t\t<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/>\n\t\t<Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>\n\t\t<Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="ppt/presentation.xml"/>\n\t\t</Relationships>'
- )
- }
- function Ce(e, t) {
- return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'
- .concat(
- f,
- '<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes">\n\t<TotalTime>0</TotalTime>\n\t<Words>0</Words>\n\t<Application>Microsoft Office PowerPoint</Application>\n\t<PresentationFormat>On-screen Show (16:9)</PresentationFormat>\n\t<Paragraphs>0</Paragraphs>\n\t<Slides>'
- )
- .concat(e.length, "</Slides>\n\t<Notes>")
- .concat(
- e.length,
- '</Notes>\n\t<HiddenSlides>0</HiddenSlides>\n\t<MMClips>0</MMClips>\n\t<ScaleCrop>false</ScaleCrop>\n\t<HeadingPairs>\n\t\t<vt:vector size="6" baseType="variant">\n\t\t\t<vt:variant><vt:lpstr>Fonts Used</vt:lpstr></vt:variant>\n\t\t\t<vt:variant><vt:i4>2</vt:i4></vt:variant>\n\t\t\t<vt:variant><vt:lpstr>Theme</vt:lpstr></vt:variant>\n\t\t\t<vt:variant><vt:i4>1</vt:i4></vt:variant>\n\t\t\t<vt:variant><vt:lpstr>Slide Titles</vt:lpstr></vt:variant>\n\t\t\t<vt:variant><vt:i4>'
- )
- .concat(e.length, '</vt:i4></vt:variant>\n\t\t</vt:vector>\n\t</HeadingPairs>\n\t<TitlesOfParts>\n\t\t<vt:vector size="')
- .concat(
- e.length + 1 + 2,
- '" baseType="lpstr">\n\t\t\t<vt:lpstr>Arial</vt:lpstr>\n\t\t\t<vt:lpstr>Calibri</vt:lpstr>\n\t\t\t<vt:lpstr>Office Theme</vt:lpstr>\n\t\t\t'
- )
- .concat(
- e
- .map(function (e, t) {
- return "<vt:lpstr>Slide " + (t + 1) + "</vt:lpstr>\n"
- })
- .join(""),
- "\n\t\t</vt:vector>\n\t</TitlesOfParts>\n\t<Company>"
- )
- .concat(
- t,
- "</Company>\n\t<LinksUpToDate>false</LinksUpToDate>\n\t<SharedDoc>false</SharedDoc>\n\t<HyperlinksChanged>false</HyperlinksChanged>\n\t<AppVersion>16.0000</AppVersion>\n\t</Properties>"
- )
- }
- function ke(e, t, r, n) {
- return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\t<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\n\t\t<dc:title>'
- .concat(ne(e), "</dc:title>\n\t\t<dc:subject>")
- .concat(ne(t), "</dc:subject>\n\t\t<dc:creator>")
- .concat(ne(r), "</dc:creator>\n\t\t<cp:lastModifiedBy>")
- .concat(ne(r), "</cp:lastModifiedBy>\n\t\t<cp:revision>")
- .concat(n, '</cp:revision>\n\t\t<dcterms:created xsi:type="dcterms:W3CDTF">')
- .concat(new Date().toISOString().replace(/\.\d\d\dZ/, "Z"), '</dcterms:created>\n\t\t<dcterms:modified xsi:type="dcterms:W3CDTF">')
- .concat(new Date().toISOString().replace(/\.\d\d\dZ/, "Z"), "</dcterms:modified>\n\t</cp:coreProperties>")
- }
- function Le(e) {
- var t = 1,
- r = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' + f
- ;(r += '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">'),
- (r +=
- '<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster" Target="slideMasters/slideMaster1.xml"/>')
- for (var n = 1; n <= e.length; n++)
- r +=
- '<Relationship Id="rId' +
- ++t +
- '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="slides/slide' +
- n +
- '.xml"/>'
- return (
- t++,
- (r +=
- '<Relationship Id="rId' +
- t +
- '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" Target="notesMasters/notesMaster1.xml"/><Relationship Id="rId' +
- (t + 1) +
- '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps" Target="presProps.xml"/><Relationship Id="rId' +
- (t + 2) +
- '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps" Target="viewProps.xml"/><Relationship Id="rId' +
- (t + 3) +
- '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId' +
- (t + 4) +
- '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles" Target="tableStyles.xml"/></Relationships>'),
- r
- )
- }
- function Pe(e) {
- return (
- '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(f) +
- '<p:sld xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"' +
- "".concat(e && e.hidden ? ' show="0"' : "", ">") +
- "".concat(ye(e)) +
- "<p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sld>"
- )
- }
- function Oe(e) {
- var t = ""
- return (
- e._slideObjects.forEach(function (e) {
- e._type === Y.notes && (t += e.text && e.text[0] ? e.text[0].text : "")
- }),
- t.replace(/\r*\n/g, f)
- )
- }
- function je() {
- return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(
- f,
- '<p:notesMaster xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"><p:cSld><p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg><p:spTree><p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr><p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/><a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr><p:sp><p:nvSpPr><p:cNvPr id="2" name="Header Placeholder 1"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="hdr" sz="quarter"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="2971800" cy="458788"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0"/><a:lstStyle><a:lvl1pPr algn="l"><a:defRPr sz="1200"/></a:lvl1pPr></a:lstStyle><a:p><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="3" name="Date Placeholder 2"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="dt" idx="1"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="3884613" y="0"/><a:ext cx="2971800" cy="458788"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0"/><a:lstStyle><a:lvl1pPr algn="r"><a:defRPr sz="1200"/></a:lvl1pPr></a:lstStyle><a:p><a:fld id="{5282F153-3F37-0F45-9E97-73ACFA13230C}" type="datetimeFigureOut"><a:rPr lang="en-US"/><a:t>7/23/19</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="4" name="Slide Image Placeholder 3"/><p:cNvSpPr><a:spLocks noGrp="1" noRot="1" noChangeAspect="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldImg" idx="2"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="685800" y="1143000"/><a:ext cx="5486400" cy="3086100"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:noFill/><a:ln w="12700"><a:solidFill><a:prstClr val="black"/></a:solidFill></a:ln></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0" anchor="ctr"/><a:lstStyle/><a:p><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="5" name="Notes Placeholder 4"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="body" sz="quarter" idx="3"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="685800" y="4400550"/><a:ext cx="5486400" cy="3600450"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0"/><a:lstStyle/><a:p><a:pPr lvl="0"/><a:r><a:rPr lang="en-US"/><a:t>Click to edit Master text styles</a:t></a:r></a:p><a:p><a:pPr lvl="1"/><a:r><a:rPr lang="en-US"/><a:t>Second level</a:t></a:r></a:p><a:p><a:pPr lvl="2"/><a:r><a:rPr lang="en-US"/><a:t>Third level</a:t></a:r></a:p><a:p><a:pPr lvl="3"/><a:r><a:rPr lang="en-US"/><a:t>Fourth level</a:t></a:r></a:p><a:p><a:pPr lvl="4"/><a:r><a:rPr lang="en-US"/><a:t>Fifth level</a:t></a:r></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="6" name="Footer Placeholder 5"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="ftr" sz="quarter" idx="4"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="0" y="8685213"/><a:ext cx="2971800" cy="458787"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0" anchor="b"/><a:lstStyle><a:lvl1pPr algn="l"><a:defRPr sz="1200"/></a:lvl1pPr></a:lstStyle><a:p><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="7" name="Slide Number Placeholder 6"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldNum" sz="quarter" idx="5"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="3884613" y="8685213"/><a:ext cx="2971800" cy="458787"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0" anchor="b"/><a:lstStyle><a:lvl1pPr algn="r"><a:defRPr sz="1200"/></a:lvl1pPr></a:lstStyle><a:p><a:fld id="{CE5E9CC1-C706-0F49-92D6-E571CC5EEA8F}" type="slidenum"><a:rPr lang="en-US"/><a:t>‹#›</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp></p:spTree><p:extLst><p:ext uri="{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}"><p14:creationId xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" val="1024086991"/></p:ext></p:extLst></p:cSld><p:clrMap bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/><p:notesStyle><a:lvl1pPr marL="0" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr><a:lvl2pPr marL="457200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl2pPr><a:lvl3pPr marL="914400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl3pPr><a:lvl4pPr marL="1371600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl4pPr><a:lvl5pPr marL="1828800" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl5pPr><a:lvl6pPr marL="2286000" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl6pPr><a:lvl7pPr marL="2743200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl7pPr><a:lvl8pPr marL="3200400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl8pPr><a:lvl9pPr marL="3657600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl9pPr></p:notesStyle></p:notesMaster>'
- )
- }
- function Re(e) {
- return (
- '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' +
- f +
- '<p:notes xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"><p:cSld><p:spTree><p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr><p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/><a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr><p:sp><p:nvSpPr><p:cNvPr id="2" name="Slide Image Placeholder 1"/><p:cNvSpPr><a:spLocks noGrp="1" noRot="1" noChangeAspect="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldImg"/></p:nvPr></p:nvSpPr><p:spPr/></p:sp><p:sp><p:nvSpPr><p:cNvPr id="3" name="Notes Placeholder 2"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="body" idx="1"/></p:nvPr></p:nvSpPr><p:spPr/><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" dirty="0"/><a:t>' +
- ne(Oe(e)) +
- '</a:t></a:r><a:endParaRPr lang="en-US" dirty="0"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="4" name="Slide Number Placeholder 3"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldNum" sz="quarter" idx="10"/></p:nvPr></p:nvSpPr><p:spPr/><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:fld id="' +
- Q +
- '" type="slidenum"><a:rPr lang="en-US"/><a:t>' +
- e._slideNum +
- '</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp></p:spTree><p:extLst><p:ext uri="{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}"><p14:creationId xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" val="1024086991"/></p:ext></p:extLst></p:cSld><p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:notes>'
- )
- }
- function Ie(e) {
- return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\t\t<p:sldLayout xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" preserve="1">\n\t\t'.concat(
- ye(e),
- "\n\t\t<p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sldLayout>"
- )
- }
- function Ne(e, t) {
- var r = t.map(function (t, r) {
- return '<p:sldLayoutId id="' + (p + r) + '" r:id="rId' + (e._rels.length + r + 1) + '"/>'
- }),
- n = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' + f
- return (
- (n +=
- '<p:sldMaster xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main">'),
- (n += ye(e)),
- (n +=
- '<p:clrMap bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/>'),
- (n += "<p:sldLayoutIdLst>" + r.join("") + "</p:sldLayoutIdLst>"),
- (n += '<p:hf sldNum="0" hdr="0" ftr="0" dt="0"/>'),
- (n +=
- '<p:txStyles> <p:titleStyle> <a:lvl1pPr algn="ctr" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="0"/></a:spcBef><a:buNone/><a:defRPr sz="4400" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mj-lt"/><a:ea typeface="+mj-ea"/><a:cs typeface="+mj-cs"/></a:defRPr></a:lvl1pPr> </p:titleStyle> <p:bodyStyle> <a:lvl1pPr marL="342900" indent="-342900" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="3200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr> <a:lvl2pPr marL="742950" indent="-285750" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="–"/><a:defRPr sz="2800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl2pPr> <a:lvl3pPr marL="1143000" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2400" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl3pPr> <a:lvl4pPr marL="1600200" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="–"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl4pPr> <a:lvl5pPr marL="2057400" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="»"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl5pPr> <a:lvl6pPr marL="2514600" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl6pPr> <a:lvl7pPr marL="2971800" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl7pPr> <a:lvl8pPr marL="3429000" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl8pPr> <a:lvl9pPr marL="3886200" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl9pPr> </p:bodyStyle> <p:otherStyle> <a:defPPr><a:defRPr lang="en-US"/></a:defPPr> <a:lvl1pPr marL="0" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr> <a:lvl2pPr marL="457200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl2pPr> <a:lvl3pPr marL="914400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl3pPr> <a:lvl4pPr marL="1371600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl4pPr> <a:lvl5pPr marL="1828800" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl5pPr> <a:lvl6pPr marL="2286000" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl6pPr> <a:lvl7pPr marL="2743200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl7pPr> <a:lvl8pPr marL="3200400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl8pPr> <a:lvl9pPr marL="3657600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl9pPr> </p:otherStyle></p:txStyles>'),
- (n += "</p:sldMaster>"),
- n
- )
- }
- function Me(e, t) {
- return ve(t[e - 1], [
- {
- target: "../slideMasters/slideMaster1.xml",
- type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"
- }
- ])
- }
- function De(e, t, r) {
- return ve(e[r - 1], [
- {
- target: "../slideLayouts/slideLayout" + ze(e, t, r) + ".xml",
- type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"
- },
- {
- target: "../notesSlides/notesSlide" + r + ".xml",
- type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"
- }
- ])
- }
- function Be(e) {
- return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\t\t<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n\t\t\t<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" Target="../notesMasters/notesMaster1.xml"/>\n\t\t\t<Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="../slides/slide'.concat(
- e,
- '.xml"/>\n\t\t</Relationships>'
- )
- }
- function Fe(e, t) {
- var r = t.map(function (e, t) {
- return {
- target: "../slideLayouts/slideLayout".concat(t + 1, ".xml"),
- type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"
- }
- })
- return (
- r.push({
- target: "../theme/theme1.xml",
- type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"
- }),
- ve(e, r)
- )
- }
- function Ue() {
- return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(
- f,
- '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n\t\t<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="../theme/theme1.xml"/>\n\t\t</Relationships>'
- )
- }
- function ze(e, t, r) {
- for (var n = 0; n < t.length; n++) if (t[n]._name === e[r - 1]._slideLayout._name) return n + 1
- return 1
- }
- function qe() {
- return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(
- f,
- '<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="44546A"/></a:dk2><a:lt2><a:srgbClr val="E7E6E6"/></a:lt2><a:accent1><a:srgbClr val="4472C4"/></a:accent1><a:accent2><a:srgbClr val="ED7D31"/></a:accent2><a:accent3><a:srgbClr val="A5A5A5"/></a:accent3><a:accent4><a:srgbClr val="FFC000"/></a:accent4><a:accent5><a:srgbClr val="5B9BD5"/></a:accent5><a:accent6><a:srgbClr val="70AD47"/></a:accent6><a:hlink><a:srgbClr val="0563C1"/></a:hlink><a:folHlink><a:srgbClr val="954F72"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Calibri Light" panose="020F0302020204030204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线 Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Angsana New"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:majorFont><a:minorFont><a:latin typeface="Calibri" panose="020F0502020204030204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Cordia New"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="6350" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults/><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}" vid="{4A3C46E8-61CC-4603-A589-7422A47A8E4A}"/></a:ext></a:extLst></a:theme>'
- )
- }
- function Ge(e) {
- var t =
- '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(f) +
- '<p:presentation xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" ' +
- 'xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" '.concat(
- e.rtlMode ? 'rtl="1"' : "",
- ' saveSubsetFonts="1" autoCompressPictures="0">'
- )
- ;(t += '<p:sldMasterIdLst><p:sldMasterId id="2147483648" r:id="rId1"/></p:sldMasterIdLst>'),
- (t += "<p:sldIdLst>"),
- e.slides.forEach(function (e) {
- return (t += '<p:sldId id="'.concat(e._slideId, '" r:id="rId').concat(e._rId, '"/>'))
- }),
- (t += "</p:sldIdLst>"),
- (t += '<p:notesMasterIdLst><p:notesMasterId r:id="rId'.concat(e.slides.length + 2, '"/></p:notesMasterIdLst>')),
- (t += '<p:sldSz cx="'.concat(e.presLayout.width, '" cy="').concat(e.presLayout.height, '"/>')),
- (t += '<p:notesSz cx="'.concat(e.presLayout.height, '" cy="').concat(e.presLayout.width, '"/>')),
- (t += "<p:defaultTextStyle>")
- for (var r = 1; r < 10; r++)
- t +=
- "<a:lvl"
- .concat(r, 'pPr marL="')
- .concat(457200 * (r - 1), '" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1">') +
- '<a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/>' +
- "</a:defRPr></a:lvl".concat(r, "pPr>")
- return (
- (t += "</p:defaultTextStyle>"),
- e.sections &&
- e.sections.length > 0 &&
- ((t += '<p:extLst><p:ext uri="{521415D9-36F7-43E2-AB2F-B90AF26B5E84}">'),
- (t += '<p14:sectionLst xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main">'),
- e.sections.forEach(function (e) {
- ;(t += '<p14:section name="'
- .concat(ne(e.title), '" id="{')
- .concat(te("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"), '}"><p14:sldIdLst>')),
- e._slides.forEach(function (e) {
- return (t += '<p14:sldId id="'.concat(e._slideId, '"/>'))
- }),
- (t += "</p14:sldIdLst></p14:section>")
- }),
- (t += "</p14:sectionLst></p:ext>"),
- (t +=
- '<p:ext uri="{EFAFB233-063F-42B5-8137-9DF3F51BA10A}"><p15:sldGuideLst xmlns:p15="http://schemas.microsoft.com/office/powerpoint/2012/main"/></p:ext>'),
- (t += "</p:extLst>")),
- (t += "</p:presentation>"),
- t
- )
- }
- function We() {
- return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(
- f,
- '<p:presentationPr xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"/>'
- )
- }
- function Ve() {
- return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(
- f,
- '<a:tblStyleLst xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" def="{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}"/>'
- )
- }
- function He() {
- return '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(
- f,
- '<p:viewPr xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"><p:normalViewPr horzBarState="maximized"><p:restoredLeft sz="15611"/><p:restoredTop sz="94610"/></p:normalViewPr><p:slideViewPr><p:cSldViewPr snapToGrid="0" snapToObjects="1"><p:cViewPr varScale="1"><p:scale><a:sx n="136" d="100"/><a:sy n="136" d="100"/></p:scale><p:origin x="216" y="312"/></p:cViewPr><p:guideLst/></p:cSldViewPr></p:slideViewPr><p:notesTextViewPr><p:cViewPr><p:scale><a:sx n="1" d="1"/><a:sy n="1" d="1"/></p:scale><p:origin x="0" y="0"/></p:cViewPr></p:notesTextViewPr><p:gridSpacing cx="76200" cy="76200"/></p:viewPr>'
- )
- }
- function Xe(e) {
- e &&
- "object" === typeof e &&
- ("outer" !== e.type &&
- "inner" !== e.type &&
- "none" !== e.type &&
- (console.warn("Warning: shadow.type options are `outer`, `inner` or `none`."), (e.type = "outer")),
- e.angle &&
- ((isNaN(Number(e.angle)) || e.angle < 0 || e.angle > 359) &&
- (console.warn("Warning: shadow.angle can only be 0-359"), (e.angle = 270)),
- (e.angle = Math.round(Number(e.angle)))),
- e.opacity &&
- ((isNaN(Number(e.opacity)) || e.opacity < 0 || e.opacity > 1) &&
- (console.warn("Warning: shadow.opacity can only be 0-1"), (e.opacity = 0.75)),
- (e.opacity = Number(e.opacity))))
- }
- var Ye = 0
- function Ke(e, t) {
- e.bkgd && (t.bkgd = e.bkgd),
- e.objects &&
- Array.isArray(e.objects) &&
- e.objects.length > 0 &&
- e.objects.forEach(function (e, r) {
- var n = Object.keys(e)[0],
- i = t
- X[n] && "chart" === n
- ? Ze(i, e[n].type, e[n].data, e[n].opts)
- : X[n] && "image" === n
- ? Qe(i, e[n])
- : X[n] && "line" === n
- ? et(i, W.LINE, e[n])
- : X[n] && "rect" === n
- ? et(i, W.RECTANGLE, e[n])
- : X[n] && "text" === n
- ? rt(
- i,
- [
- {
- text: e[n].text
- }
- ],
- e[n].options,
- !1
- )
- : X[n] &&
- "placeholder" === n &&
- ((e[n].options.placeholder = e[n].options.name),
- delete e[n].options.name,
- (e[n].options._placeholderType = e[n].options.type),
- delete e[n].options.type,
- (e[n].options._placeholderIdx = 100 + r),
- rt(
- i,
- [
- {
- text: e[n].text
- }
- ],
- e[n].options,
- !0
- ))
- }),
- e.slideNumber && "object" === typeof e.slideNumber && (t._slideNumberProps = e.slideNumber)
- }
- function Ze(e, t, r, n) {
- function i(e) {
- e &&
- "none" !== e.style &&
- (void 0 !== e.size &&
- (isNaN(Number(e.size)) || e.size <= 0) &&
- (console.warn("Warning: chart.gridLine.size must be greater than 0."), delete e.size),
- e.style &&
- ["solid", "dash", "dot"].indexOf(e.style) < 0 &&
- (console.warn("Warning: chart.gridLine.style options: `solid`, `dash`, `dot`."), delete e.style))
- }
- var o,
- a,
- s = ++Ye,
- l = {
- _type: null,
- text: null,
- options: null,
- chartRid: null
- },
- c = []
- return (
- Array.isArray(t)
- ? (t.forEach(function (e) {
- c = c.concat(e.data)
- }),
- (o = r || n))
- : ((c = r), (o = n)),
- c.forEach(function (e, t) {
- ;(e._dataIndex = t), void 0 === e.labels || Array.isArray(e.labels[0]) || (e.labels = [e.labels])
- }),
- (a = o && "object" === typeof o ? o : {}),
- (a._type = t),
- (a.x = "undefined" === typeof a.x || null == a.x || isNaN(Number(a.x)) ? 1 : a.x),
- (a.y = "undefined" === typeof a.y || null == a.y || isNaN(Number(a.y)) ? 1 : a.y),
- (a.w = a.w || "50%"),
- (a.h = a.h || "50%"),
- (a.objectName = a.objectName
- ? ne(a.objectName)
- : "Chart ".concat(
- e._slideObjects.filter(function (e) {
- return e._type === Y.chart
- }).length
- )),
- ["bar", "col"].indexOf(a.barDir || "") < 0 && (a.barDir = "col"),
- a._type === V.AREA && ["stacked", "standard", "percentStacked"].indexOf(a.barGrouping || "") < 0 && (a.barGrouping = "standard"),
- a._type === V.BAR && ["clustered", "stacked", "percentStacked"].indexOf(a.barGrouping || "") < 0 && (a.barGrouping = "clustered"),
- a._type === V.BAR3D &&
- ["clustered", "stacked", "standard", "percentStacked"].indexOf(a.barGrouping || "") < 0 &&
- (a.barGrouping = "standard"),
- a.barGrouping && a.barGrouping.indexOf("tacked") > -1 && (a.barGapWidthPct || (a.barGapWidthPct = 50)),
- a.dataLabelPosition &&
- ((a._type !== V.AREA && a._type !== V.BAR3D && a._type !== V.DOUGHNUT && a._type !== V.RADAR) || delete a.dataLabelPosition,
- a._type === V.PIE && ["bestFit", "ctr", "inEnd", "outEnd"].indexOf(a.dataLabelPosition) < 0 && delete a.dataLabelPosition,
- (a._type !== V.BUBBLE && a._type !== V.BUBBLE3D && a._type !== V.LINE && a._type !== V.SCATTER) ||
- (["b", "ctr", "l", "r", "t"].indexOf(a.dataLabelPosition) < 0 && delete a.dataLabelPosition),
- a._type === V.BAR &&
- (["stacked", "percentStacked"].indexOf(a.barGrouping || "") < 0 &&
- ["ctr", "inBase", "inEnd"].indexOf(a.dataLabelPosition) < 0 &&
- delete a.dataLabelPosition,
- ["clustered"].indexOf(a.barGrouping || "") < 0 &&
- ["ctr", "inBase", "inEnd", "outEnd"].indexOf(a.dataLabelPosition) < 0 &&
- delete a.dataLabelPosition)),
- (a.dataLabelBkgrdColors = (!0 === a.dataLabelBkgrdColors || !1 === a.dataLabelBkgrdColors) && a.dataLabelBkgrdColors),
- ["b", "l", "r", "t", "tr"].indexOf(a.legendPos || "") < 0 && (a.legendPos = "r"),
- ["cone", "coneToMax", "box", "cylinder", "pyramid", "pyramidToMax"].indexOf(a.bar3DShape || "") < 0 && (a.bar3DShape = "box"),
- ["circle", "dash", "diamond", "dot", "none", "square", "triangle"].indexOf(a.lineDataSymbol || "") < 0 &&
- (a.lineDataSymbol = "circle"),
- ["gap", "span"].indexOf(a.displayBlanksAs || "") < 0 && (a.displayBlanksAs = "span"),
- ["standard", "marker", "filled"].indexOf(a.radarStyle || "") < 0 && (a.radarStyle = "standard"),
- (a.lineDataSymbolSize = a.lineDataSymbolSize && !isNaN(a.lineDataSymbolSize) ? a.lineDataSymbolSize : 6),
- (a.lineDataSymbolLineSize = a.lineDataSymbolLineSize && !isNaN(a.lineDataSymbolLineSize) ? oe(a.lineDataSymbolLineSize) : oe(0.75)),
- a.layout &&
- ["x", "y", "w", "h"].forEach(function (e) {
- var t = a.layout[e]
- ;(isNaN(Number(t)) || t < 0 || t > 1) && (console.warn("Warning: chart.layout." + e + " can only be 0-1"), delete a.layout[e])
- }),
- (a.catGridLine =
- a.catGridLine ||
- (a._type === V.SCATTER
- ? {
- color: "D9D9D9",
- size: 1
- }
- : {
- style: "none"
- })),
- (a.valGridLine =
- a.valGridLine ||
- (a._type === V.SCATTER
- ? {
- color: "D9D9D9",
- size: 1
- }
- : {})),
- (a.serGridLine =
- a.serGridLine ||
- (a._type === V.SCATTER
- ? {
- color: "D9D9D9",
- size: 1
- }
- : {
- style: "none"
- })),
- i(a.catGridLine),
- i(a.valGridLine),
- i(a.serGridLine),
- Xe(a.shadow),
- (a.showDataTable = (!0 === a.showDataTable || !1 === a.showDataTable) && a.showDataTable),
- (a.showDataTableHorzBorder = (!0 !== a.showDataTableHorzBorder && !1 !== a.showDataTableHorzBorder) || a.showDataTableHorzBorder),
- (a.showDataTableVertBorder = (!0 !== a.showDataTableVertBorder && !1 !== a.showDataTableVertBorder) || a.showDataTableVertBorder),
- (a.showDataTableOutline = (!0 !== a.showDataTableOutline && !1 !== a.showDataTableOutline) || a.showDataTableOutline),
- (a.showDataTableKeys = (!0 !== a.showDataTableKeys && !1 !== a.showDataTableKeys) || a.showDataTableKeys),
- (a.showLabel = (!0 === a.showLabel || !1 === a.showLabel) && a.showLabel),
- (a.showLegend = (!0 === a.showLegend || !1 === a.showLegend) && a.showLegend),
- (a.showPercent = (!0 !== a.showPercent && !1 !== a.showPercent) || a.showPercent),
- (a.showTitle = (!0 === a.showTitle || !1 === a.showTitle) && a.showTitle),
- (a.showValue = (!0 === a.showValue || !1 === a.showValue) && a.showValue),
- (a.showLeaderLines = (!0 === a.showLeaderLines || !1 === a.showLeaderLines) && a.showLeaderLines),
- (a.catAxisLineShow = "undefined" === typeof a.catAxisLineShow || a.catAxisLineShow),
- (a.valAxisLineShow = "undefined" === typeof a.valAxisLineShow || a.valAxisLineShow),
- (a.serAxisLineShow = "undefined" === typeof a.serAxisLineShow || a.serAxisLineShow),
- (a.v3DRotX = !isNaN(a.v3DRotX) && a.v3DRotX >= -90 && a.v3DRotX <= 90 ? a.v3DRotX : 30),
- (a.v3DRotY = !isNaN(a.v3DRotY) && a.v3DRotY >= 0 && a.v3DRotY <= 360 ? a.v3DRotY : 30),
- (a.v3DRAngAx = (!0 !== a.v3DRAngAx && !1 !== a.v3DRAngAx) || a.v3DRAngAx),
- (a.v3DPerspective = !isNaN(a.v3DPerspective) && a.v3DPerspective >= 0 && a.v3DPerspective <= 240 ? a.v3DPerspective : 30),
- (a.barGapWidthPct = !isNaN(a.barGapWidthPct) && a.barGapWidthPct >= 0 && a.barGapWidthPct <= 1e3 ? a.barGapWidthPct : 150),
- (a.barGapDepthPct = !isNaN(a.barGapDepthPct) && a.barGapDepthPct >= 0 && a.barGapDepthPct <= 1e3 ? a.barGapDepthPct : 150),
- (a.chartColors = Array.isArray(a.chartColors) ? a.chartColors : a._type === V.PIE || a._type === V.DOUGHNUT ? D : M),
- (a.chartColorsOpacity = a.chartColorsOpacity && !isNaN(a.chartColorsOpacity) ? a.chartColorsOpacity : null),
- (a.border = a.border && "object" === typeof a.border ? a.border : null),
- !a.border || (a.border.pt && !isNaN(a.border.pt)) || (a.border.pt = v.pt),
- !a.border || (a.border.color && "string" === typeof a.border.color) || (a.border.color = v.color),
- (a.plotArea = a.plotArea || {}),
- (a.plotArea.border = a.plotArea.border && "object" === typeof a.plotArea.border ? a.plotArea.border : null),
- !a.plotArea.border || (a.plotArea.border.pt && !isNaN(a.plotArea.border.pt)) || (a.plotArea.border.pt = v.pt),
- !a.plotArea.border || (a.plotArea.border.color && "string" === typeof a.plotArea.border.color) || (a.plotArea.border.color = v.color),
- a.border && (a.plotArea.border = a.border),
- (a.plotArea.fill = a.plotArea.fill || {
- color: null,
- transparency: null
- }),
- a.fill && (a.plotArea.fill.color = a.fill),
- (a.chartArea = a.chartArea || {}),
- (a.chartArea.border = a.chartArea.border && "object" === typeof a.chartArea.border ? a.chartArea.border : null),
- a.chartArea.border &&
- (a.chartArea.border = {
- color: a.chartArea.border.color || v.color,
- pt: a.chartArea.border.pt || v.pt
- }),
- (a.chartArea.roundedCorners = "boolean" !== typeof a.chartArea.roundedCorners || a.chartArea.roundedCorners),
- (a.dataBorder = a.dataBorder && "object" === typeof a.dataBorder ? a.dataBorder : null),
- !a.dataBorder || (a.dataBorder.pt && !isNaN(a.dataBorder.pt)) || (a.dataBorder.pt = 0.75),
- !a.dataBorder ||
- (a.dataBorder.color && "string" === typeof a.dataBorder.color && 6 === a.dataBorder.color.length) ||
- (a.dataBorder.color = "F9F9F9"),
- a.dataLabelFormatCode || a._type !== V.SCATTER || (a.dataLabelFormatCode = "General"),
- a.dataLabelFormatCode || (a._type !== V.PIE && a._type !== V.DOUGHNUT) || (a.dataLabelFormatCode = a.showPercent ? "0%" : "General"),
- (a.dataLabelFormatCode = a.dataLabelFormatCode && "string" === typeof a.dataLabelFormatCode ? a.dataLabelFormatCode : "#,##0"),
- a.dataLabelFormatScatter || a._type !== V.SCATTER || (a.dataLabelFormatScatter = "custom"),
- (a.lineSize = "number" === typeof a.lineSize ? a.lineSize : 2),
- (a.valAxisMajorUnit = "number" === typeof a.valAxisMajorUnit ? a.valAxisMajorUnit : null),
- a._type === V.AREA || a._type === V.BAR || a._type === V.BAR3D || a._type === V.LINE
- ? (a.catAxisMultiLevelLabels = !!a.catAxisMultiLevelLabels)
- : delete a.catAxisMultiLevelLabels,
- (l._type = "chart"),
- (l.options = a),
- (l.chartRid = pe(e)),
- e._relsChart.push({
- rId: pe(e),
- data: c,
- opts: a,
- type: a._type,
- globalId: s,
- fileName: "chart" + s + ".xml",
- Target: "/ppt/charts/chart" + s + ".xml"
- }),
- e._slideObjects.push(l),
- l
- )
- }
- function Qe(e, t) {
- var r = {
- _type: null,
- text: null,
- options: null,
- image: null,
- imageRid: null,
- hyperlink: null
- },
- n = t.x || 0,
- i = t.y || 0,
- o = t.w || 0,
- a = t.h || 0,
- s = t.sizing || null,
- l = t.hyperlink || "",
- c = t.data || "",
- u = t.path || "",
- f = pe(e),
- p = t.objectName
- ? ne(t.objectName)
- : "Image ".concat(
- e._slideObjects.filter(function (e) {
- return e._type === Y.image
- }).length
- )
- if (!u && !c) return console.error("ERROR: addImage() requires either 'data' or 'path' parameter!"), null
- if (u && "string" !== typeof u)
- return console.error("ERROR: addImage() 'path' should be a string, ex: {path:'/img/sample.png'} - you sent ".concat(u)), null
- if (c && "string" !== typeof c)
- return console.error("ERROR: addImage() 'data' should be a string, ex: {data:'image/png;base64,NMP[...]'} - you sent ".concat(c)), null
- if (c && "string" === typeof c && -1 === c.toLowerCase().indexOf("base64,"))
- return console.error("ERROR: Image `data` value lacks a base64 header! Ex: 'image/png;base64,NMP[...]')"), null
- var d = (
- u
- .substring(u.lastIndexOf("/") + 1)
- .split("?")[0]
- .split(".")
- .pop()
- .split("#")[0] || "png"
- ).toLowerCase()
- if (
- (c && /image\/(\w+);/.exec(c) && /image\/(\w+);/.exec(c).length > 0
- ? (d = /image\/(\w+);/.exec(c)[1])
- : c && c.toLowerCase().indexOf("image/svg+xml") > -1 && (d = "svg"),
- (r._type = Y.image),
- (r.image = u || "preencoded.png"),
- (r.options = {
- x: n || 0,
- y: i || 0,
- w: o || 1,
- h: a || 1,
- altText: t.altText || "",
- rounding: "boolean" === typeof t.rounding && t.rounding,
- sizing: s,
- placeholder: t.placeholder,
- rotate: t.rotate || 0,
- flipV: t.flipV || !1,
- flipH: t.flipH || !1,
- transparency: t.transparency || 0,
- objectName: p
- }),
- "svg" === d)
- )
- e._relsMedia.push({
- path: u || c + "png",
- type: "image/png",
- extn: "png",
- data: c || "",
- rId: f,
- Target: "../media/image-" + e._slideNum + "-" + (e._relsMedia.length + 1) + ".png",
- isSvgPng: !0,
- svgSize: {
- w: ee(r.options.w, "X", e._presLayout),
- h: ee(r.options.h, "Y", e._presLayout)
- }
- }),
- (r.imageRid = f),
- e._relsMedia.push({
- path: u || c,
- type: "image/svg+xml",
- extn: d,
- data: c || "",
- rId: f + 1,
- Target: "../media/image-" + e._slideNum + "-" + (e._relsMedia.length + 1) + "." + d
- }),
- (r.imageRid = f + 1)
- else {
- var h = e._relsMedia.filter(function (e) {
- return e.path && e.path === u && e.type === "image/" + d && !1 === e.isDuplicate
- })[0]
- e._relsMedia.push({
- path: u || "preencoded." + d,
- type: "image/" + d,
- extn: d,
- data: c || "",
- rId: f,
- isDuplicate: !(!h || !h.Target),
- Target:
- h && h.Target
- ? h.Target
- : "../media/image-"
- .concat(e._slideNum, "-")
- .concat(e._relsMedia.length + 1, ".")
- .concat(d)
- }),
- (r.imageRid = f)
- }
- if ("object" === typeof l) {
- if (!l.url && !l.slide) throw new Error("ERROR: `hyperlink` option requires either: `url` or `slide`")
- f++,
- e._rels.push({
- type: Y.hyperlink,
- data: l.slide ? "slide" : "dummy",
- rId: f,
- Target: l.url || l.slide.toString()
- }),
- (l._rId = f),
- (r.hyperlink = l)
- }
- e._slideObjects.push(r)
- }
- function Je(e, t) {
- var r = t.x || 0,
- n = t.y || 0,
- i = t.w || 2,
- o = t.h || 2,
- a = t.data || "",
- s = t.link || "",
- l = t.path || "",
- c = t.type || "audio",
- u = "",
- f = t.cover || $,
- p = t.objectName
- ? ne(t.objectName)
- : "Media ".concat(
- e._slideObjects.filter(function (e) {
- return e._type === Y.media
- }).length
- ),
- d = {
- _type: Y.media
- }
- if (!l && !a && "online" !== c) throw new Error("addMedia() error: either 'data' or 'path' are required!")
- if (a && -1 === a.toLowerCase().indexOf("base64,"))
- throw new Error("addMedia() error: `data` value lacks a base64 header! Ex: 'video/mpeg;base64,NMP[...]')")
- if ("online" === c && !s) throw new Error("addMedia() error: online videos require `link` value")
- if (
- ((u = t.extn || (a ? a.split(";")[0].split("/")[1] : l.split(".").pop()) || "mp3"),
- (d.mtype = c),
- (d.media = l || "preencoded.mov"),
- (d.options = {}),
- (d.options.x = r),
- (d.options.y = n),
- (d.options.w = i),
- (d.options.h = o),
- (d.options.objectName = p),
- "online" === c)
- ) {
- var h = pe(e)
- e._relsMedia.push({
- path: l || "preencoded" + u,
- data: "dummy",
- type: "online",
- extn: u,
- rId: h,
- Target: s
- }),
- (d.mediaRid = h),
- e._relsMedia.push({
- path: "preencoded.png",
- data: f,
- type: "image/png",
- extn: "png",
- rId: pe(e),
- Target: "../media/image-" + e._slideNum + "-" + (e._relsMedia.length + 1) + ".png"
- })
- } else {
- var m = e._relsMedia.filter(function (e) {
- return e.path && e.path === l && e.type === c + "/" + u && !1 === e.isDuplicate
- })[0]
- h = pe(e)
- e._relsMedia.push({
- path: l || "preencoded" + u,
- type: c + "/" + u,
- extn: u,
- data: a || "",
- rId: h,
- isDuplicate: !(!m || !m.Target),
- Target:
- m && m.Target
- ? m.Target
- : "../media/media-"
- .concat(e._slideNum, "-")
- .concat(e._relsMedia.length + 1, ".")
- .concat(u)
- }),
- (d.mediaRid = h),
- e._relsMedia.push({
- path: l || "preencoded" + u,
- type: c + "/" + u,
- extn: u,
- data: a || "",
- rId: pe(e),
- isDuplicate: !(!m || !m.Target),
- Target:
- m && m.Target
- ? m.Target
- : "../media/media-"
- .concat(e._slideNum, "-")
- .concat(e._relsMedia.length + 0, ".")
- .concat(u)
- }),
- e._relsMedia.push({
- path: "preencoded.png",
- type: "image/png",
- extn: "png",
- data: f,
- rId: pe(e),
- Target: "../media/image-".concat(e._slideNum, "-").concat(e._relsMedia.length + 1, ".png")
- })
- }
- e._slideObjects.push(d)
- }
- function $e(e, t) {
- e._slideObjects.push({
- _type: Y.notes,
- text: [
- {
- text: t
- }
- ]
- })
- }
- function et(e, t, r) {
- var n = "object" === typeof r ? r : {}
- n.line = n.line || {
- type: "none"
- }
- var i = {
- _type: Y.text,
- shape: t || W.RECTANGLE,
- options: n,
- text: null
- }
- if (!t) throw new Error("Missing/Invalid shape parameter! Example: `addShape(pptxgen.shapes.LINE, {x:1, y:1, w:1, h:1});`")
- var o = {
- type: n.line.type || "solid",
- color: n.line.color || E,
- transparency: n.line.transparency || 0,
- width: n.line.width || 1,
- dashType: n.line.dashType || "solid",
- beginArrowType: n.line.beginArrowType || null,
- endArrowType: n.line.endArrowType || null
- }
- if (
- ("object" === typeof n.line && "none" !== n.line.type && (n.line = o),
- (n.x = n.x || (0 === n.x ? 0 : 1)),
- (n.y = n.y || (0 === n.y ? 0 : 1)),
- (n.w = n.w || (0 === n.w ? 0 : 1)),
- (n.h = n.h || (0 === n.h ? 0 : 1)),
- (n.objectName = n.objectName
- ? ne(n.objectName)
- : "Shape ".concat(
- e._slideObjects.filter(function (e) {
- return e._type === Y.text
- }).length
- )),
- "string" === typeof n.line)
- ) {
- var a = o
- ;(a.color = n.line + ""), (n.line = a)
- }
- "number" === typeof n.lineSize && (n.line.width = n.lineSize),
- "string" === typeof n.lineDash && (n.line.dashType = n.lineDash),
- "string" === typeof n.lineHead && (n.line.beginArrowType = n.lineHead),
- "string" === typeof n.lineTail && (n.line.endArrowType = n.lineTail),
- ot(e, i),
- e._slideObjects.push(i)
- }
- function tt(e, t, r, n, i, o, a) {
- var s = [e],
- l = r && "object" === typeof r ? r : {}
- if (
- ((l.objectName = l.objectName
- ? ne(l.objectName)
- : "Table ".concat(
- e._slideObjects.filter(function (e) {
- return e._type === Y.table
- }).length
- )),
- null === t || 0 === t.length || !Array.isArray(t))
- )
- throw new Error(
- "addTable: Array expected! EX: 'slide.addTable( [rows], {options} );' (https://gitbrent.github.io/PptxGenJS/docs/api-tables.html)"
- )
- if (!t[0] || !Array.isArray(t[0]))
- throw new Error(
- "addTable: 'rows' should be an array of cells! EX: 'slide.addTable( [ ['A'], ['B'], {text:'C',options:{align:'center'}} ] );' (https://gitbrent.github.io/PptxGenJS/docs/api-tables.html)"
- )
- var u = []
- t.forEach(function (e) {
- var t = []
- Array.isArray(e)
- ? e.forEach(function (e) {
- var r = {
- _type: Y.tablecell,
- text: "",
- options: "object" === typeof e && e.options ? e.options : {}
- }
- "string" === typeof e || "number" === typeof e
- ? (r.text = e.toString())
- : e.text &&
- ("string" === typeof e.text || "number" === typeof e.text ? (r.text = e.text.toString()) : e.text && (r.text = e.text),
- e.options && "object" === typeof e.options && (r.options = e.options)),
- (r.options.border = r.options.border ||
- l.border || [
- {
- type: "none"
- },
- {
- type: "none"
- },
- {
- type: "none"
- },
- {
- type: "none"
- }
- ])
- var n = r.options.border
- Array.isArray(n) || "object" !== typeof n || (r.options.border = [n, n, n, n]),
- r.options.border[0] ||
- (r.options.border[0] = {
- type: "none"
- }),
- r.options.border[1] ||
- (r.options.border[1] = {
- type: "none"
- }),
- r.options.border[2] ||
- (r.options.border[2] = {
- type: "none"
- }),
- r.options.border[3] ||
- (r.options.border[3] = {
- type: "none"
- })
- var i = [0, 1, 2, 3]
- i.forEach(function (e) {
- r.options.border[e] = {
- type: r.options.border[e].type || g.type,
- color: r.options.border[e].color || g.color,
- pt: "number" === typeof r.options.border[e].pt ? r.options.border[e].pt : g.pt
- }
- }),
- t.push(r)
- })
- : (console.log("addTable: tableRows has a bad row. A row should be an array of cells. You provided:"), console.log(e)),
- u.push(t)
- }),
- (l.x = ee(l.x || (0 === l.x ? 0 : c / 2), "X", i)),
- (l.y = ee(l.y || (0 === l.y ? 0 : c / 2), "Y", i)),
- l.h && (l.h = ee(l.h, "Y", i)),
- (l.fontSize = l.fontSize || x),
- (l.margin = 0 === l.margin || l.margin ? l.margin : y),
- "number" === typeof l.margin && (l.margin = [Number(l.margin), Number(l.margin), Number(l.margin), Number(l.margin)]),
- l.color || (l.color = l.color || w),
- "string" === typeof l.border
- ? (console.warn("addTable `border` option must be an object. Ex: `{border: {type:'none'}}`"), (l.border = null))
- : Array.isArray(l.border) &&
- [0, 1, 2, 3].forEach(function (e) {
- l.border[e] = l.border[e]
- ? {
- type: l.border[e].type || g.type,
- color: l.border[e].color || g.color,
- pt: l.border[e].pt || g.pt
- }
- : {
- type: "none"
- }
- }),
- (l.autoPage = "boolean" === typeof l.autoPage && l.autoPage),
- (l.autoPageRepeatHeader = "boolean" === typeof l.autoPageRepeatHeader && l.autoPageRepeatHeader),
- (l.autoPageHeaderRows =
- "undefined" === typeof l.autoPageHeaderRows || isNaN(Number(l.autoPageHeaderRows)) ? 1 : Number(l.autoPageHeaderRows)),
- (l.autoPageLineWeight =
- "undefined" === typeof l.autoPageLineWeight || isNaN(Number(l.autoPageLineWeight)) ? 0 : Number(l.autoPageLineWeight)),
- l.autoPageLineWeight &&
- (l.autoPageLineWeight > 1 ? (l.autoPageLineWeight = 1) : l.autoPageLineWeight < -1 && (l.autoPageLineWeight = -1))
- var f = C
- if (
- (n &&
- "undefined" !== typeof n._margin &&
- (Array.isArray(n._margin)
- ? (f = n._margin)
- : isNaN(Number(n._margin)) || (f = [Number(n._margin), Number(n._margin), Number(n._margin), Number(n._margin)])),
- l.colW)
- ) {
- var p = u[0].reduce(function (e, t) {
- return t && t.options && t.options.colspan && "number" === typeof t.options.colspan ? (e += t.options.colspan) : (e += 1), e
- }, 0)
- "string" === typeof l.colW || "number" === typeof l.colW || (l.colW && Array.isArray(l.colW) && 1 === l.colW.length && p > 1)
- ? ((l.w = Math.floor(Number(l.colW) * p)), (l.colW = null))
- : l.colW &&
- Array.isArray(l.colW) &&
- l.colW.length !== p &&
- (console.warn("addTable: mismatch: (colW.length != data.length) Therefore, defaulting to evenly distributed col widths."),
- (l.colW = null))
- } else l.w ? (l.w = ee(l.w, "X", i)) : (l.w = Math.floor(i._sizeW / c - f[1] - f[3]))
- l.x && l.x < 20 && (l.x = ie(l.x)),
- l.y && l.y < 20 && (l.y = ie(l.y)),
- l.w && l.w < 20 && (l.w = ie(l.w)),
- l.h && l.h < 20 && (l.h = ie(l.h)),
- u.forEach(function (e) {
- e.forEach(function (t, r) {
- "number" === typeof t || "string" === typeof t
- ? (e[r] = {
- _type: Y.tablecell,
- text: e[r].toString(),
- options: l
- })
- : "object" === typeof t &&
- ("number" === typeof t.text
- ? (e[r].text = e[r].text.toString())
- : ("undefined" !== typeof t.text && null !== t.text) || (e[r].text = ""),
- (e[r].options = t.options || {}),
- (e[r]._type = Y.tablecell))
- })
- }),
- l && !1 === l.autoPage
- ? (ot(e, u),
- e._slideObjects.push({
- _type: Y.table,
- arrTabRows: u,
- options: Object.assign({}, l)
- }))
- : (l.autoPageRepeatHeader &&
- (l._arrObjTabHeadRows = u.filter(function (e, t) {
- return t < l.autoPageHeaderRows
- })),
- he(u, l, i, n).forEach(function (t, r) {
- a(e._slideNum + r) || s.push(o(n ? n._name : null)), r > 0 && (l.y = ie(l.autoPageSlideStartY || l.newSlideStartY || f[0]))
- var i = a(e._slideNum + r)
- ;(l.autoPage = !1), ot(i, t.rows), i.addTable(t.rows, Object.assign({}, l))
- }))
- }
- function rt(e, t, r, n) {
- var i = {
- _type: n ? Y.placeholder : Y.text,
- shape: (r && r.shape) || W.RECTANGLE,
- text:
- t && 0 !== t.length
- ? t
- : [
- {
- text: "",
- options: null
- }
- ],
- options: r || {}
- }
- function a(t) {
- if (
- (t.placeholder || (t.color = t.color || i.options.color || e.color || w),
- (t.placeholder || n) && (t.bullet = t.bullet || !1),
- t.placeholder && e._slideLayout && e._slideLayout._slideObjects)
- ) {
- var r = e._slideLayout._slideObjects.filter(function (e) {
- return "placeholder" === e._type && e.options && e.options.placeholder && e.options.placeholder === t.placeholder
- })[0]
- r && r.options && (t = o(o({}, t), r.options))
- }
- if (
- ((t.objectName = t.objectName
- ? ne(t.objectName)
- : "Text ".concat(
- e._slideObjects.filter(function (e) {
- return e._type === Y.text
- }).length
- )),
- t.shape === W.LINE)
- ) {
- var a = {
- type: t.line.type || "solid",
- color: t.line.color || E,
- transparency: t.line.transparency || 0,
- width: t.line.width || 1,
- dashType: t.line.dashType || "solid",
- beginArrowType: t.line.beginArrowType || null,
- endArrowType: t.line.endArrowType || null
- }
- if (("object" === typeof t.line && (t.line = a), "string" === typeof t.line)) {
- var c = a
- "string" === typeof t.line && (c.color = t.line), (t.line = c)
- }
- "number" === typeof t.lineSize && (t.line.width = t.lineSize),
- "string" === typeof t.lineDash && (t.line.dashType = t.lineDash),
- "string" === typeof t.lineHead && (t.line.beginArrowType = t.lineHead),
- "string" === typeof t.lineTail && (t.line.endArrowType = t.lineTail)
- }
- return (
- (t.line = t.line || {}),
- (t.lineSpacing = t.lineSpacing && !isNaN(t.lineSpacing) ? t.lineSpacing : null),
- (t.lineSpacingMultiple = t.lineSpacingMultiple && !isNaN(t.lineSpacingMultiple) ? t.lineSpacingMultiple : null),
- (t._bodyProp = t._bodyProp || {}),
- (t._bodyProp.autoFit = t.autoFit || !1),
- (t._bodyProp.anchor = t.placeholder ? null : l.ctr),
- (t._bodyProp.vert = t.vert || null),
- (t._bodyProp.wrap = "boolean" !== typeof t.wrap || t.wrap),
- ((t.inset && !isNaN(Number(t.inset))) || 0 === t.inset) &&
- ((t._bodyProp.lIns = ie(t.inset)),
- (t._bodyProp.rIns = ie(t.inset)),
- (t._bodyProp.tIns = ie(t.inset)),
- (t._bodyProp.bIns = ie(t.inset))),
- "boolean" === typeof t.underline &&
- !0 === t.underline &&
- (t.underline = {
- style: "sng"
- }),
- 0 === (t.align || "").toLowerCase().indexOf("c")
- ? (t._bodyProp.align = s.center)
- : 0 === (t.align || "").toLowerCase().indexOf("l")
- ? (t._bodyProp.align = s.left)
- : 0 === (t.align || "").toLowerCase().indexOf("r")
- ? (t._bodyProp.align = s.right)
- : 0 === (t.align || "").toLowerCase().indexOf("j") && (t._bodyProp.align = s.justify),
- 0 === (t.valign || "").toLowerCase().indexOf("b")
- ? (t._bodyProp.anchor = l.b)
- : 0 === (t.valign || "").toLowerCase().indexOf("m")
- ? (t._bodyProp.anchor = l.ctr)
- : 0 === (t.valign || "").toLowerCase().indexOf("t") && (t._bodyProp.anchor = l.t),
- Xe(t.shadow),
- t
- )
- }
- ;(i.options = a(i.options)),
- i.text.forEach(function (e) {
- return (e.options = a(e.options || {}))
- }),
- ot(e, i.text || ""),
- e._slideObjects.push(i)
- }
- function nt(e) {
- ;(e._slideLayout._slideObjects || []).forEach(function (t) {
- t._type === Y.placeholder &&
- 0 ===
- e._slideObjects.filter(function (e) {
- return e.options && e.options.placeholder === t.options.placeholder
- }).length &&
- rt(
- e,
- [
- {
- text: ""
- }
- ],
- t.options,
- !1
- )
- })
- }
- function it(e, t) {
- if (
- (t.bkgd &&
- (t.background || (t.background = {}),
- "string" === typeof t.bkgd
- ? (t.background.color = t.bkgd)
- : (t.bkgd.data && (t.background.data = t.bkgd.data),
- t.bkgd.path && (t.background.path = t.bkgd.path),
- t.bkgd["src"] && (t.background.path = t.bkgd["src"]))),
- t.background && t.background.fill && (t.background.color = t.background.fill),
- e && (e.path || e.data))
- ) {
- e.path = e.path || "preencoded.png"
- var r = (e.path.split(".").pop() || "png").split("?")[0]
- "jpg" === r && (r = "jpeg"), (t._relsMedia = t._relsMedia || [])
- var n = t._relsMedia.length + 1
- t._relsMedia.push({
- path: e.path,
- type: Y.image,
- extn: r,
- data: e.data || null,
- rId: n,
- Target: "../media/"
- .concat((t._name || "").replace(/\s+/gi, "-"), "-image-")
- .concat(t._relsMedia.length + 1, ".")
- .concat(r)
- }),
- (t._bkgdImgRid = n)
- }
- }
- function ot(e, t) {
- var r = []
- "string" !== typeof t &&
- "number" !== typeof t &&
- (Array.isArray(t) ? (r = t) : "object" === typeof t && (r = [t]),
- r.forEach(function (t) {
- if (Array.isArray(t)) ot(e, t)
- else if (Array.isArray(t.text)) ot(e, t.text)
- else if (t && "object" === typeof t && t.options && t.options.hyperlink && !t.options.hyperlink._rId)
- if ("object" !== typeof t.options.hyperlink)
- console.log("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink: {url:'https://github.com'}` ")
- else if (t.options.hyperlink.url || t.options.hyperlink.slide) {
- var r = pe(e)
- e._rels.push({
- type: Y.hyperlink,
- data: t.options.hyperlink.slide ? "slide" : "dummy",
- rId: r,
- Target: ne(t.options.hyperlink.url) || t.options.hyperlink.slide.toString()
- }),
- (t.options.hyperlink._rId = r)
- } else console.log("ERROR: 'hyperlink requires either: `url` or `slide`'")
- }))
- }
- var at = (function () {
- function e(e) {
- ;(this.addSlide = e.addSlide),
- (this.getSlide = e.getSlide),
- (this._name = "Slide " + e.slideNumber),
- (this._presLayout = e.presLayout),
- (this._rId = e.slideRId),
- (this._rels = []),
- (this._relsChart = []),
- (this._relsMedia = []),
- (this._setSlideNum = e.setSlideNum),
- (this._slideId = e.slideId),
- (this._slideLayout = e.slideLayout || null),
- (this._slideNum = e.slideNumber),
- (this._slideObjects = []),
- (this._slideNumberProps = this._slideLayout && this._slideLayout._slideNumberProps ? this._slideLayout._slideNumberProps : null)
- }
- return (
- Object.defineProperty(e.prototype, "bkgd", {
- get: function () {
- return this._bkgd
- },
- set: function (e) {
- ;(this._bkgd = e),
- (this._background && this._background.color) ||
- (this._background || (this._background = {}), "string" === typeof e && (this._background.color = e))
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "background", {
- get: function () {
- return this._background
- },
- set: function (e) {
- ;(this._background = e), e && it(e, this)
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "color", {
- get: function () {
- return this._color
- },
- set: function (e) {
- this._color = e
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "hidden", {
- get: function () {
- return this._hidden
- },
- set: function (e) {
- this._hidden = e
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "slideNumber", {
- get: function () {
- return this._slideNumberProps
- },
- set: function (e) {
- ;(this._slideNumberProps = e), this._setSlideNum(e)
- },
- enumerable: !1,
- configurable: !0
- }),
- (e.prototype.addChart = function (e, t, r) {
- var n = r || {}
- return (n._type = e), Ze(this, e, t, r), this
- }),
- (e.prototype.addImage = function (e) {
- return Qe(this, e), this
- }),
- (e.prototype.addMedia = function (e) {
- return Je(this, e), this
- }),
- (e.prototype.addNotes = function (e) {
- return $e(this, e), this
- }),
- (e.prototype.addShape = function (e, t) {
- return et(this, e, t), this
- }),
- (e.prototype.addTable = function (e, t) {
- return tt(this, e, t, this._slideLayout, this._presLayout, this.addSlide, this.getSlide), this
- }),
- (e.prototype.addText = function (e, t) {
- var r =
- "string" === typeof e || "number" === typeof e
- ? [
- {
- text: e,
- options: t
- }
- ]
- : e
- return rt(this, r, t, !1), this
- }),
- e
- )
- })()
- function st(e, t) {
- var r = e.data
- return new Promise(function (n, o) {
- var a = new i.a(),
- s = 2 * (r.length - 1) + 1,
- l = r[0] && r[0].labels && r[0].labels.length > 1
- a.folder("_rels"),
- a.folder("docProps"),
- a.folder("xl/_rels"),
- a.folder("xl/tables"),
- a.folder("xl/theme"),
- a.folder("xl/worksheets"),
- a.folder("xl/worksheets/_rels"),
- a.file(
- "[Content_Types].xml",
- '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"> <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/> <Default Extension="xml" ContentType="application/xml"/> <Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/> <Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/> <Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/> <Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/> <Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/> <Override PartName="/xl/tables/table1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"/> <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/> <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>\n'
- ),
- a.file(
- "_rels/.rels",
- '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>\n'
- ),
- a.file(
- "docProps/app.xml",
- '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>Microsoft Macintosh Excel</Application><DocSecurity>0</DocSecurity><ScaleCrop>false</ScaleCrop><HeadingPairs><vt:vector size="2" baseType="variant"><vt:variant><vt:lpstr>Worksheets</vt:lpstr></vt:variant><vt:variant><vt:i4>1</vt:i4></vt:variant></vt:vector></HeadingPairs><TitlesOfParts><vt:vector size="1" baseType="lpstr"><vt:lpstr>Sheet1</vt:lpstr></vt:vector></TitlesOfParts><Company></Company><LinksUpToDate>false</LinksUpToDate><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>16.0300</AppVersion></Properties>\n'
- ),
- a.file(
- "docProps/core.xml",
- '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:creator>PptxGenJS</dc:creator><cp:lastModifiedBy>PptxGenJS</cp:lastModifiedBy><dcterms:created xsi:type="dcterms:W3CDTF">' +
- new Date().toISOString() +
- '</dcterms:created><dcterms:modified xsi:type="dcterms:W3CDTF">' +
- new Date().toISOString() +
- "</dcterms:modified></cp:coreProperties>"
- ),
- a.file(
- "xl/_rels/workbook.xml.rels",
- '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/></Relationships>'
- ),
- a.file(
- "xl/styles.xml",
- '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><numFmts count="1"><numFmt numFmtId="0" formatCode="General"/></numFmts><fonts count="4"><font><sz val="9"/><color indexed="8"/><name val="Geneva"/></font><font><sz val="9"/><color indexed="8"/><name val="Geneva"/></font><font><sz val="10"/><color indexed="8"/><name val="Geneva"/></font><font><sz val="18"/><color indexed="8"/><name val="Arial"/></font></fonts><fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills><borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders><dxfs count="0"/><tableStyles count="0"/><colors><indexedColors><rgbColor rgb="ff000000"/><rgbColor rgb="ffffffff"/><rgbColor rgb="ffff0000"/><rgbColor rgb="ff00ff00"/><rgbColor rgb="ff0000ff"/><rgbColor rgb="ffffff00"/><rgbColor rgb="ffff00ff"/><rgbColor rgb="ff00ffff"/><rgbColor rgb="ff000000"/><rgbColor rgb="ffffffff"/><rgbColor rgb="ff878787"/><rgbColor rgb="fff9f9f9"/></indexedColors></colors></styleSheet>\n'
- ),
- a.file(
- "xl/theme/theme1.xml",
- '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="44546A"/></a:dk2><a:lt2><a:srgbClr val="E7E6E6"/></a:lt2><a:accent1><a:srgbClr val="4472C4"/></a:accent1><a:accent2><a:srgbClr val="ED7D31"/></a:accent2><a:accent3><a:srgbClr val="A5A5A5"/></a:accent3><a:accent4><a:srgbClr val="FFC000"/></a:accent4><a:accent5><a:srgbClr val="5B9BD5"/></a:accent5><a:accent6><a:srgbClr val="70AD47"/></a:accent6><a:hlink><a:srgbClr val="0563C1"/></a:hlink><a:folHlink><a:srgbClr val="954F72"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Calibri Light" panose="020F0302020204030204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="Yu Gothic Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="DengXian Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/></a:majorFont><a:minorFont><a:latin typeface="Calibri" panose="020F0502020204030204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="Yu Gothic"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="DengXian"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="6350" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults/><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}" vid="{4A3C46E8-61CC-4603-A589-7422A47A8E4A}"/></a:ext></a:extLst></a:theme>'
- ),
- a.file(
- "xl/workbook.xml",
- '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x15" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><fileVersion appName="xl" lastEdited="7" lowestEdited="6" rupBuild="10507"/><workbookPr/><bookViews><workbookView xWindow="0" yWindow="500" windowWidth="20960" windowHeight="15960"/></bookViews><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets><calcPr calcId="0" concurrentCalc="0"/></workbook>\n'
- ),
- a.file(
- "xl/worksheets/_rels/sheet1.xml.rels",
- '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/table" Target="../tables/table1.xml"/></Relationships>\n'
- )
- var c = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'
- if (e.opts._type === V.BUBBLE || e.opts._type === V.BUBBLE3D)
- c += '<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'.concat(s, '" uniqueCount="').concat(s, '">')
- else if (e.opts._type === V.SCATTER)
- c += '<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'
- .concat(r.length, '" uniqueCount="')
- .concat(r.length, '">')
- else if (l) {
- var u = r.length
- r[0].labels.forEach(function (e) {
- return (u += e.filter(function (e) {
- return e && "" !== e
- }).length)
- }),
- (c += '<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'
- .concat(u, '" uniqueCount="')
- .concat(u, '">')),
- (c += "<si><t/></si>")
- } else {
- var f = r.length + r[0].labels.length * r[0].labels[0].length + r[0].labels.length,
- p = r.length + r[0].labels.length * r[0].labels[0].length + 1
- ;(c += '<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'
- .concat(f, '" uniqueCount="')
- .concat(p, '">')),
- (c += '<si><t xml:space="preserve"></t></si>')
- }
- e.opts._type === V.BUBBLE || e.opts._type === V.BUBBLE3D
- ? r.forEach(function (e, t) {
- 0 === t
- ? (c += "<si><t>X-Axis</t></si>")
- : ((c += "<si><t>".concat(ne(e.name || "Y-Axis" + t), "</t></si>")), (c += "<si><t>".concat(ne("Size" + t), "</t></si>")))
- })
- : r.forEach(function (e) {
- c += "<si><t>".concat(ne((e.name || " ").replace("X-Axis", "X-Values")), "</t></si>")
- }),
- e.opts._type !== V.BUBBLE &&
- e.opts._type !== V.BUBBLE3D &&
- e.opts._type !== V.SCATTER &&
- r[0].labels
- .slice()
- .reverse()
- .forEach(function (e) {
- e.filter(function (e) {
- return e && "" !== e
- }).forEach(function (e) {
- c += "<si><t>".concat(ne(e), "</t></si>")
- })
- }),
- (c += "</sst>\n"),
- a.file("xl/sharedStrings.xml", c)
- var d = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'
- if (e.opts._type === V.BUBBLE || e.opts._type === V.BUBBLE3D) {
- ;(d += '<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:'
- .concat(ht(s))
- .concat(s, '" totalsRowShown="0">')),
- (d += '<tableColumns count="'.concat(s, '">'))
- var h = 1
- r.forEach(function (e, t) {
- 0 === t
- ? (d += '<tableColumn id="'.concat(t + 1, '" name="X-Values"/>'))
- : ((d += '<tableColumn id="'.concat(t + h, '" name="').concat(e.name, '"/>')),
- h++,
- (d += '<tableColumn id="'.concat(t + h, '" name="').concat("Size" + t, '"/>')))
- })
- } else
- e.opts._type === V.SCATTER
- ? ((d +=
- '<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:' +
- ht(r.length) +
- (r[0].values.length + 1) +
- '" totalsRowShown="0">'),
- (d += '<tableColumns count="' + r.length + '">'),
- r.forEach(function (e, t) {
- d += '<tableColumn id="' + (t + 1) + '" name="' + (0 === t ? "X-Values" : "Y-Value " + t) + '"/>'
- }))
- : ((d +=
- '<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:' +
- ht(r.length + r[0].labels.length) +
- (r[0].labels[0].length + 1) +
- '" totalsRowShown="0">'),
- (d += '<tableColumns count="' + (r.length + r[0].labels.length) + '">'),
- r[0].labels.forEach(function (e, t) {
- d += '<tableColumn id="'.concat(t + 1, '" name="Column').concat(t + 1, '"/>')
- }),
- r.forEach(function (e, t) {
- d += '<tableColumn id="' + (t + r[0].labels.length + 1) + '" name="' + ne(e.name) + '"/>'
- }))
- ;(d += "</tableColumns>"),
- (d += '<tableStyleInfo showFirstColumn="0" showLastColumn="0" showRowStripes="1" showColumnStripes="0"/>'),
- (d += "</table>"),
- a.file("xl/tables/table1.xml", d)
- var m = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'
- if (
- ((m +=
- '<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">'),
- e.opts._type === V.BUBBLE || e.opts._type === V.BUBBLE3D
- ? (m += '<dimension ref="A1:'.concat(ht(s)).concat(r[0].values.length + 1, '"/>'))
- : e.opts._type === V.SCATTER
- ? (m += '<dimension ref="A1:'.concat(ht(r.length)).concat(r[0].values.length + 1, '"/>'))
- : (m += '<dimension ref="A1:'.concat(ht(r.length + 1)).concat(r[0].values.length + 1, '"/>')),
- (m += '<sheetViews><sheetView tabSelected="1" workbookViewId="0"><selection activeCell="B1" sqref="B1"/></sheetView></sheetViews>'),
- (m += '<sheetFormatPr baseColWidth="10" defaultRowHeight="16"/>'),
- e.opts._type === V.BUBBLE || e.opts._type === V.BUBBLE3D)
- ) {
- ;(m += "<sheetData>"), (m += '<row r="1" spans="1:'.concat(s, '">')), (m += '<c r="A1" t="s"><v>0</v></c>')
- for (var g = 1; g < s; g++) m += '<c r="'.concat(ht(g + 1), '1" t="s"><v>').concat(g, "</v></c>")
- ;(m += "</row>"),
- r[0].values.forEach(function (e, t) {
- ;(m += '<row r="'.concat(t + 2, '" spans="1:').concat(s, '">')), (m += '<c r="A'.concat(t + 2, '"><v>').concat(e, "</v></c>"))
- for (var n = 2, i = 1; i < r.length; i++)
- (m += '<c r="'
- .concat(ht(n))
- .concat(t + 2, '"><v>')
- .concat(r[i].values[t] || "", "</v></c>")),
- n++,
- (m += '<c r="'
- .concat(ht(n))
- .concat(t + 2, '"><v>')
- .concat(r[i].sizes[t] || "", "</v></c>")),
- n++
- m += "</row>"
- })
- } else if (e.opts._type === V.SCATTER) {
- ;(m += "<sheetData>"), (m += '<row r="1" spans="1:'.concat(r.length, '">'))
- for (g = 0; g < r.length; g++) m += '<c r="'.concat(ht(g + 1), '1" t="s"><v>').concat(g, "</v></c>")
- ;(m += "</row>"),
- r[0].values.forEach(function (e, t) {
- ;(m += '<row r="'.concat(t + 2, '" spans="1:').concat(r.length, '">')),
- (m += '<c r="A'.concat(t + 2, '"><v>').concat(e, "</v></c>"))
- for (var n = 1; n < r.length; n++)
- m += '<c r="'
- .concat(ht(n + 1))
- .concat(t + 2, '"><v>')
- .concat(r[n].values[t] || 0 === r[n].values[t] ? r[n].values[t] : "", "</v></c>")
- m += "</row>"
- })
- } else if (((m += "<sheetData>"), l)) {
- m += '<row r="1" spans="1:'.concat(r.length + r[0].labels.length, '">')
- for (g = 0; g < r[0].labels.length; g++) m += '<c r="'.concat(ht(g + 1), '1" t="s"><v>0</v></c>')
- for (g = r[0].labels.length - 1; g < r.length + r[0].labels.length - 1; g++)
- m += '<c r="'.concat(ht(g + r[0].labels.length), '1" t="s"><v>').concat(g, "</v></c>")
- m += "</row>"
- var y = r.length,
- v = r[0].labels[0].length,
- b = r[0].labels.length,
- w = function (e) {
- m += '<row r="'.concat(e + 2, '" spans="1:').concat(y + b, '">')
- var t = y,
- n = r[0].labels.slice().reverse()
- n.forEach(function (r, i) {
- var o = r[e]
- if (o) {
- var a =
- 0 === i
- ? 1
- : n[i - 1].filter(function (e) {
- return e && "" !== e
- }).length
- ;(t += a),
- (m += '<c r="'
- .concat(ht(e + 1 + i))
- .concat(e + 2, '" t="s"><v>')
- .concat(t, "</v></c>"))
- }
- })
- for (var i = 0; i < y; i++)
- m += '<c r="'
- .concat(ht(b + i + 1))
- .concat(e + 2, '"><v>')
- .concat(r[i].values[e] || 0, "</v></c>")
- m += "</row>"
- }
- for (g = 0; g < v; g++) w(g)
- } else {
- ;(m += '<row r="1" spans="1:'.concat(r.length + r[0].labels.length, '">')),
- r[0].labels.forEach(function (e, t) {
- m += '<c r="'.concat(ht(t + 1), '1" t="s"><v>0</v></c>')
- })
- for (var g = 0; g < r.length; g++) m += '<c r="'.concat(ht(g + 1 + r[0].labels.length), '1" t="s"><v>').concat(g + 1, "</v></c>")
- ;(m += "</row>"),
- r[0].labels[0].forEach(function (e, t) {
- m += '<row r="'.concat(t + 2, '" spans="1:').concat(r.length + r[0].labels.length, '">')
- for (var n = r[0].labels.length - 1; n >= 0; n--)
- (m += '<c r="'.concat(ht(r[0].labels.length - n)).concat(t + 2, '" t="s">')),
- (m += "<v>".concat(r.length + t + 1, "</v>")),
- (m += "</c>")
- for (var i = 0; i < r.length; i++)
- m += '<c r="'
- .concat(ht(r[0].labels.length + i + 1))
- .concat(t + 2, '"><v>')
- .concat(r[i].values[t] || "", "</v></c>")
- m += "</row>"
- })
- }
- ;(m += "</sheetData>"),
- (m += '<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/>'),
- (m += "</worksheet>\n"),
- a.file("xl/worksheets/sheet1.xml", m),
- a
- .generateAsync({
- type: "base64"
- })
- .then(function (r) {
- t.file("ppt/embeddings/Microsoft_Excel_Worksheet" + e.globalId + ".xlsx", r, {
- base64: !0
- }),
- t.file(
- "ppt/charts/_rels/" + e.fileName + ".rels",
- '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">' +
- '<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/package" Target="../embeddings/Microsoft_Excel_Worksheet'.concat(
- e.globalId,
- '.xlsx"/>'
- ) +
- "</Relationships>"
- ),
- t.file("ppt/charts/".concat(e.fileName), lt(e)),
- n(null)
- })
- .catch(function (e) {
- o(e)
- })
- })
- }
- function lt(e) {
- var t = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>',
- r = !1
- if (
- ((t +=
- '<c:chartSpace xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">'),
- (t += '<c:date1904 val="0"/>'),
- (t += '<c:roundedCorners val="'.concat(e.opts.chartArea.roundedCorners ? "1" : "0", '"/>')),
- (t += "<c:chart>"),
- e.opts.showTitle
- ? ((t += dt(
- {
- title: e.opts.title || "Chart Title",
- color: e.opts.titleColor,
- fontFace: e.opts.titleFontFace,
- fontSize: e.opts.titleFontSize || A,
- titleAlign: e.opts.titleAlign,
- titleBold: e.opts.titleBold,
- titlePos: e.opts.titlePos,
- titleRotate: e.opts.titleRotate
- },
- e.opts.x,
- e.opts.y
- )),
- (t += '<c:autoTitleDeleted val="0"/>'))
- : (t += '<c:autoTitleDeleted val="1"/>'),
- e.opts._type === V.BAR3D &&
- ((t += "<c:view3D>"),
- (t += ' <c:rotX val="' + e.opts.v3DRotX + '"/>'),
- (t += ' <c:rotY val="' + e.opts.v3DRotY + '"/>'),
- (t += ' <c:rAngAx val="' + (!1 === e.opts.v3DRAngAx ? 0 : 1) + '"/>'),
- (t += ' <c:perspective val="' + e.opts.v3DPerspective + '"/>'),
- (t += "</c:view3D>")),
- (t += "<c:plotArea>"),
- e.opts.layout
- ? ((t += "<c:layout>"),
- (t += " <c:manualLayout>"),
- (t += ' <c:layoutTarget val="inner" />'),
- (t += ' <c:xMode val="edge" />'),
- (t += ' <c:yMode val="edge" />'),
- (t += ' <c:x val="' + (e.opts.layout.x || 0) + '" />'),
- (t += ' <c:y val="' + (e.opts.layout.y || 0) + '" />'),
- (t += ' <c:w val="' + (e.opts.layout.w || 1) + '" />'),
- (t += ' <c:h val="' + (e.opts.layout.h || 1) + '" />'),
- (t += " </c:manualLayout>"),
- (t += "</c:layout>"))
- : (t += "<c:layout/>"),
- Array.isArray(e.opts._type)
- ? e.opts._type.forEach(function (n) {
- var i = re(e.opts, n.options),
- o = i["secondaryValAxis"] ? O : P,
- a = i["secondaryCatAxis"] ? R : j
- ;(r = r || i.secondaryValAxis), (t += ct(n.type, n.data, i, o, a))
- })
- : (t += ct(e.opts._type, e.data, e.opts, P, j)),
- e.opts._type !== V.PIE && e.opts._type !== V.DOUGHNUT)
- ) {
- if (e.opts.valAxes && e.opts.valAxes.length > 1 && !r) throw new Error("Secondary axis must be used by one of the multiple charts")
- if (e.opts.catAxes) {
- if (!e.opts.valAxes || e.opts.valAxes.length !== e.opts.catAxes.length)
- throw new Error("There must be the same number of value and category axes.")
- t += ut(re(e.opts, e.opts.catAxes[0]), j, P)
- } else t += ut(e.opts, j, P)
- e.opts.valAxes
- ? ((t += ft(re(e.opts, e.opts.valAxes[0]), P)), e.opts.valAxes[1] && (t += ft(re(e.opts, e.opts.valAxes[1]), O)))
- : ((t += ft(e.opts, P)), e.opts._type === V.BAR3D && (t += pt(e.opts, I, P))),
- e.opts.catAxes && e.opts.catAxes[1] && (t += ut(re(e.opts, e.opts.catAxes[1]), R, O))
- }
- return (
- e.opts.showDataTable &&
- ((t += "<c:dTable>"),
- (t += ' <c:showHorzBorder val="' + (!1 === e.opts.showDataTableHorzBorder ? 0 : 1) + '"/>'),
- (t += ' <c:showVertBorder val="' + (!1 === e.opts.showDataTableVertBorder ? 0 : 1) + '"/>'),
- (t += ' <c:showOutline val="' + (!1 === e.opts.showDataTableOutline ? 0 : 1) + '"/>'),
- (t += ' <c:showKeys val="' + (!1 === e.opts.showDataTableKeys ? 0 : 1) + '"/>'),
- (t += " <c:spPr>"),
- (t += " <a:noFill/>"),
- (t +=
- ' <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="tx1"><a:lumMod val="15000"/><a:lumOff val="85000"/></a:schemeClr></a:solidFill><a:round/></a:ln>'),
- (t += " <a:effectLst/>"),
- (t += " </c:spPr>"),
- (t += " <c:txPr>"),
- (t += '\t <a:bodyPr rot="0" spcFirstLastPara="1" vertOverflow="ellipsis" vert="horz" wrap="square" anchor="ctr" anchorCtr="1"/>'),
- (t += "\t <a:lstStyle/>"),
- (t += "\t <a:p>"),
- (t += '\t\t<a:pPr rtl="0">'),
- (t += ' <a:defRPr sz="'.concat(
- Math.round(100 * (e.opts.dataTableFontSize || x)),
- '" b="0" i="0" u="none" strike="noStrike" kern="1200" baseline="0">'
- )),
- (t += '\t\t\t<a:solidFill><a:schemeClr val="tx1"><a:lumMod val="65000"/><a:lumOff val="35000"/></a:schemeClr></a:solidFill>'),
- (t += '\t\t\t<a:latin typeface="+mn-lt"/>'),
- (t += '\t\t\t<a:ea typeface="+mn-ea"/>'),
- (t += '\t\t\t<a:cs typeface="+mn-cs"/>'),
- (t += "\t\t </a:defRPr>"),
- (t += "\t\t</a:pPr>"),
- (t += '\t\t<a:endParaRPr lang="en-US"/>'),
- (t += "\t </a:p>"),
- (t += "\t</c:txPr>"),
- (t += "</c:dTable>")),
- (t += " <c:spPr>"),
- (t += e.opts.plotArea.fill && e.opts.plotArea.fill.color ? fe(e.opts.plotArea.fill) : "<a:noFill/>"),
- (t += e.opts.plotArea.border
- ? '<a:ln w="'.concat(oe(e.opts.plotArea.border.pt), '" cap="flat">').concat(fe(e.opts.plotArea.border.color), "</a:ln>")
- : "<a:ln><a:noFill/></a:ln>"),
- (t += " <a:effectLst/>"),
- (t += " </c:spPr>"),
- (t += "</c:plotArea>"),
- e.opts.showLegend &&
- ((t += "<c:legend>"),
- (t += '<c:legendPos val="' + e.opts.legendPos + '"/>'),
- (t += '<c:overlay val="0"/>'),
- (e.opts.legendFontFace || e.opts.legendFontSize || e.opts.legendColor) &&
- ((t += "<c:txPr>"),
- (t += " <a:bodyPr/>"),
- (t += " <a:lstStyle/>"),
- (t += " <a:p>"),
- (t += " <a:pPr>"),
- (t += e.opts.legendFontSize ? '<a:defRPr sz="' + Math.round(100 * Number(e.opts.legendFontSize)) + '">' : "<a:defRPr>"),
- e.opts.legendColor && (t += fe(e.opts.legendColor)),
- e.opts.legendFontFace && (t += '<a:latin typeface="' + e.opts.legendFontFace + '"/>'),
- e.opts.legendFontFace && (t += '<a:cs typeface="' + e.opts.legendFontFace + '"/>'),
- (t += " </a:defRPr>"),
- (t += " </a:pPr>"),
- (t += ' <a:endParaRPr lang="en-US"/>'),
- (t += " </a:p>"),
- (t += "</c:txPr>")),
- (t += "</c:legend>")),
- (t += ' <c:plotVisOnly val="1"/>'),
- (t += ' <c:dispBlanksAs val="' + e.opts.displayBlanksAs + '"/>'),
- e.opts._type === V.SCATTER && (t += '<c:showDLblsOverMax val="1"/>'),
- (t += "</c:chart>"),
- (t += "<c:spPr>"),
- (t += e.opts.chartArea.fill && e.opts.chartArea.fill.color ? fe(e.opts.chartArea.fill) : "<a:noFill/>"),
- (t += e.opts.chartArea.border
- ? '<a:ln w="'.concat(oe(e.opts.chartArea.border.pt), '" cap="flat">').concat(fe(e.opts.chartArea.border.color), "</a:ln>")
- : "<a:ln><a:noFill/></a:ln>"),
- (t += " <a:effectLst/>"),
- (t += "</c:spPr>"),
- (t += '<c:externalData r:id="rId1"><c:autoUpdate val="0"/></c:externalData>'),
- (t += "</c:chartSpace>"),
- t
- )
- }
- function ct(e, t, r, n, i, o) {
- var a = ""
- switch (e) {
- case V.AREA:
- case V.BAR:
- case V.BAR3D:
- case V.LINE:
- case V.RADAR:
- ;(a += "<c:".concat(e, "Chart>")),
- e === V.AREA && "stacked" === r.barGrouping && (a += '<c:grouping val="' + r.barGrouping + '"/>'),
- (e !== V.BAR && e !== V.BAR3D) ||
- ((a += '<c:barDir val="' + r.barDir + '"/>'), (a += '<c:grouping val="' + (r.barGrouping || "clustered") + '"/>')),
- e === V.RADAR && (a += '<c:radarStyle val="' + r.radarStyle + '"/>'),
- (a += '<c:varyColors val="0"/>')
- var s = -1
- t.forEach(function (n) {
- s++,
- (a += "<c:ser>"),
- (a += ' <c:idx val="' + n._dataIndex + '"/>'),
- (a += ' <c:order val="' + n._dataIndex + '"/>'),
- (a += " <c:tx>"),
- (a += " <c:strRef>"),
- (a += " <c:f>Sheet1!$" + ht(n._dataIndex + n.labels.length + 1) + "$1</c:f>"),
- (a += ' <c:strCache><c:ptCount val="1"/><c:pt idx="0"><c:v>' + ne(n.name) + "</c:v></c:pt></c:strCache>"),
- (a += " </c:strRef>"),
- (a += " </c:tx>")
- var i = r.chartColors ? r.chartColors[s % r.chartColors.length] : null
- ;(a += " <c:spPr>"),
- "transparent" === i
- ? (a += "<a:noFill/>")
- : r.chartColorsOpacity
- ? (a += "<a:solidFill>" + ce(i, '<a:alpha val="'.concat(Math.round(1e3 * r.chartColorsOpacity), '"/>')) + "</a:solidFill>")
- : (a += "<a:solidFill>" + ce(i) + "</a:solidFill>"),
- e === V.LINE || e === V.RADAR
- ? 0 === r.lineSize
- ? (a += "<a:ln><a:noFill/></a:ln>")
- : ((a += '<a:ln w="' + oe(r.lineSize) + '" cap="flat"><a:solidFill>' + ce(i) + "</a:solidFill>"),
- (a += '<a:prstDash val="' + (r.lineDash || "solid") + '"/><a:round/></a:ln>'))
- : r.dataBorder &&
- (a +=
- '<a:ln w="' +
- oe(r.dataBorder.pt) +
- '" cap="flat"><a:solidFill>' +
- ce(r.dataBorder.color) +
- '</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'),
- (a += mt(r.shadow, S)),
- (a += " </c:spPr>"),
- (a += ' <c:invertIfNegative val="0"/>'),
- e !== V.RADAR &&
- ((a += "<c:dLbls>"),
- (a += '<c:numFmt formatCode="'.concat(ne(r.dataLabelFormatCode) || "General", '" sourceLinked="0"/>')),
- r.dataLabelBkgrdColors && (a += "<c:spPr><a:solidFill>".concat(ce(i), "</a:solidFill></c:spPr>")),
- (a += "<c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr>"),
- (a += '<a:defRPr b="'
- .concat(r.dataLabelFontBold ? 1 : 0, '" i="')
- .concat(r.dataLabelFontItalic ? 1 : 0, '" strike="noStrike" sz="')
- .concat(Math.round(100 * (r.dataLabelFontSize || x)), '" u="none">')),
- (a += "<a:solidFill>".concat(ce(r.dataLabelColor || w), "</a:solidFill>")),
- (a += '<a:latin typeface="'.concat(r.dataLabelFontFace || "Arial", '"/>')),
- (a += "</a:defRPr></a:pPr></a:p></c:txPr>"),
- r.dataLabelPosition && (a += '<c:dLblPos val="'.concat(r.dataLabelPosition, '"/>')),
- (a += '<c:showLegendKey val="0"/>'),
- (a += '<c:showVal val="'.concat(r.showValue ? "1" : "0", '"/>')),
- (a += '<c:showCatName val="0"/><c:showSerName val="'.concat(
- r.showSerName ? "1" : "0",
- '"/><c:showPercent val="0"/><c:showBubbleSize val="0"/>'
- )),
- (a += '<c:showLeaderLines val="'.concat(r.showLeaderLines ? "1" : "0", '"/>')),
- (a += "</c:dLbls>")),
- (e !== V.LINE && e !== V.RADAR) ||
- ((a += "<c:marker>"),
- (a += ' <c:symbol val="' + r.lineDataSymbol + '"/>'),
- r.lineDataSymbolSize && (a += ' <c:size val="' + r.lineDataSymbolSize + '"/>'),
- (a += " <c:spPr>"),
- (a +=
- " <a:solidFill>" +
- ce(
- r.chartColors[
- n._dataIndex + 1 > r.chartColors.length ? Math.floor(Math.random() * r.chartColors.length) : n._dataIndex
- ]
- ) +
- "</a:solidFill>"),
- (a +=
- ' <a:ln w="' +
- r.lineDataSymbolLineSize +
- '" cap="flat"><a:solidFill>' +
- ce(r.lineDataSymbolLineColor || i) +
- '</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'),
- (a += " <a:effectLst/>"),
- (a += " </c:spPr>"),
- (a += "</c:marker>")),
- (e !== V.BAR && e !== V.BAR3D) ||
- 1 !== t.length ||
- !((r.chartColors && r.chartColors !== M && r.chartColors.length > 1) || (r.invertedColors && r.invertedColors.length)) ||
- n.values.forEach(function (t, n) {
- var i = t < 0 ? r.invertedColors || r.chartColors || M : r.chartColors || []
- ;(a += " <c:dPt>"),
- (a += ' <c:idx val="' + n + '"/>'),
- (a += ' <c:invertIfNegative val="0"/>'),
- (a += ' <c:bubble3D val="0"/>'),
- (a += " <c:spPr>"),
- 0 === r.lineSize
- ? (a += "<a:ln><a:noFill/></a:ln>")
- : e === V.BAR
- ? ((a += "<a:solidFill>"), (a += ' <a:srgbClr val="' + i[n % i.length] + '"/>'), (a += "</a:solidFill>"))
- : ((a += "<a:ln>"),
- (a += " <a:solidFill>"),
- (a += ' <a:srgbClr val="' + i[n % i.length] + '"/>'),
- (a += " </a:solidFill>"),
- (a += "</a:ln>")),
- (a += mt(r.shadow, S)),
- (a += " </c:spPr>"),
- (a += " </c:dPt>")
- }),
- (a += "<c:cat>"),
- r.catLabelFormatCode
- ? ((a += " <c:numRef>"),
- (a += " <c:f>Sheet1!$A$2:$A$" + (n.labels[0].length + 1) + "</c:f>"),
- (a += " <c:numCache>"),
- (a += " <c:formatCode>" + (r.catLabelFormatCode || "General") + "</c:formatCode>"),
- (a += ' <c:ptCount val="' + n.labels[0].length + '"/>'),
- n.labels[0].forEach(function (e, t) {
- a += '<c:pt idx="' + t + '"><c:v>' + ne(e) + "</c:v></c:pt>"
- }),
- (a += " </c:numCache>"),
- (a += " </c:numRef>"))
- : ((a += " <c:multiLvlStrRef>"),
- (a += " <c:f>Sheet1!$A$2:$" + ht(n.labels.length) + "$" + (n.labels[0].length + 1) + "</c:f>"),
- (a += " <c:multiLvlStrCache>"),
- (a += '\t <c:ptCount val="' + n.labels[0].length + '"/>'),
- n.labels.forEach(function (e) {
- ;(a += " <c:lvl>"),
- e.forEach(function (e, t) {
- a += '<c:pt idx="' + t + '"><c:v>' + ne(e) + "</c:v></c:pt>"
- }),
- (a += " </c:lvl>")
- }),
- (a += " </c:multiLvlStrCache>"),
- (a += " </c:multiLvlStrRef>")),
- (a += "</c:cat>"),
- (a += "<c:val>"),
- (a += " <c:numRef>"),
- (a += "<c:f>Sheet1!$"
- .concat(ht(n._dataIndex + n.labels.length + 1), "$2:$")
- .concat(ht(n._dataIndex + n.labels.length + 1), "$")
- .concat(n.labels[0].length + 1, "</c:f>")),
- (a += " <c:numCache>"),
- (a += " <c:formatCode>" + (r.valLabelFormatCode || r.dataTableFormatCode || "General") + "</c:formatCode>"),
- (a += ' <c:ptCount val="' + n.labels[0].length + '"/>'),
- n.values.forEach(function (e, t) {
- return (a += '<c:pt idx="'.concat(t, '"><c:v>').concat(e || 0 === e ? e : "", "</c:v></c:pt>"))
- }),
- (a += " </c:numCache>"),
- (a += " </c:numRef>"),
- (a += "</c:val>"),
- e === V.LINE && (a += '<c:smooth val="' + (r.lineSmooth ? "1" : "0") + '"/>'),
- (a += "</c:ser>")
- }),
- (a += " <c:dLbls>"),
- (a += ' <c:numFmt formatCode="'.concat(ne(r.dataLabelFormatCode) || "General", '" sourceLinked="0"/>')),
- (a += " <c:txPr>"),
- (a += " <a:bodyPr/>"),
- (a += " <a:lstStyle/>"),
- (a += " <a:p><a:pPr>"),
- (a +=
- ' <a:defRPr b="' +
- (r.dataLabelFontBold ? 1 : 0) +
- '" i="' +
- (r.dataLabelFontItalic ? 1 : 0) +
- '" strike="noStrike" sz="' +
- Math.round(100 * (r.dataLabelFontSize || x)) +
- '" u="none">'),
- (a += " <a:solidFill>" + ce(r.dataLabelColor || w) + "</a:solidFill>"),
- (a += ' <a:latin typeface="' + (r.dataLabelFontFace || "Arial") + '"/>'),
- (a += " </a:defRPr>"),
- (a += " </a:pPr></a:p>"),
- (a += " </c:txPr>"),
- r.dataLabelPosition && (a += ' <c:dLblPos val="' + r.dataLabelPosition + '"/>'),
- (a += ' <c:showLegendKey val="0"/>'),
- (a += ' <c:showVal val="' + (r.showValue ? "1" : "0") + '"/>'),
- (a += ' <c:showCatName val="0"/>'),
- (a += ' <c:showSerName val="' + (r.showSerName ? "1" : "0") + '"/>'),
- (a += ' <c:showPercent val="0"/>'),
- (a += ' <c:showBubbleSize val="0"/>'),
- (a += ' <c:showLeaderLines val="'.concat(r.showLeaderLines ? "1" : "0", '"/>')),
- (a += " </c:dLbls>"),
- e === V.BAR
- ? ((a += ' <c:gapWidth val="' + r.barGapWidthPct + '"/>'),
- (a +=
- ' <c:overlap val="' +
- ((r.barGrouping || "").indexOf("tacked") > -1 ? 100 : r.barOverlapPct ? r.barOverlapPct : 0) +
- '"/>'))
- : e === V.BAR3D
- ? ((a += ' <c:gapWidth val="' + r.barGapWidthPct + '"/>'),
- (a += ' <c:gapDepth val="' + r.barGapDepthPct + '"/>'),
- (a += ' <c:shape val="' + r.bar3DShape + '"/>'))
- : e === V.LINE && (a += ' <c:marker val="1"/>'),
- (a += '<c:axId val="'.concat(i, '"/><c:axId val="').concat(n, '"/><c:axId val="').concat(I, '"/>')),
- (a += "</c:".concat(e, "Chart>"))
- break
- case V.SCATTER:
- ;(a += "<c:" + e + "Chart>"),
- (a += '<c:scatterStyle val="lineMarker"/>'),
- (a += '<c:varyColors val="0"/>'),
- (s = -1),
- t
- .filter(function (e, t) {
- return t > 0
- })
- .forEach(function (e, n) {
- s++,
- (a += "<c:ser>"),
- (a += ' <c:idx val="' + n + '"/>'),
- (a += ' <c:order val="' + n + '"/>'),
- (a += " <c:tx>"),
- (a += " <c:strRef>"),
- (a += " <c:f>Sheet1!$" + ht(n + 2) + "$1</c:f>"),
- (a += ' <c:strCache><c:ptCount val="1"/><c:pt idx="0"><c:v>' + ne(e.name) + "</c:v></c:pt></c:strCache>"),
- (a += " </c:strRef>"),
- (a += " </c:tx>"),
- (a += " <c:spPr>")
- var i = r.chartColors[s % r.chartColors.length]
- if (
- ("transparent" === i
- ? (a += "<a:noFill/>")
- : r.chartColorsOpacity
- ? (a +=
- "<a:solidFill>" + ce(i, '<a:alpha val="' + Math.round(1e3 * r.chartColorsOpacity) + '"/>') + "</a:solidFill>")
- : (a += "<a:solidFill>" + ce(i) + "</a:solidFill>"),
- 0 === r.lineSize
- ? (a += "<a:ln><a:noFill/></a:ln>")
- : ((a += '<a:ln w="' + oe(r.lineSize) + '" cap="flat"><a:solidFill>' + ce(i) + "</a:solidFill>"),
- (a += '<a:prstDash val="' + (r.lineDash || "solid") + '"/><a:round/></a:ln>')),
- (a += mt(r.shadow, S)),
- (a += " </c:spPr>"),
- (a += "<c:marker>"),
- (a += ' <c:symbol val="' + r.lineDataSymbol + '"/>'),
- r.lineDataSymbolSize && (a += ' <c:size val="' + r.lineDataSymbolSize + '"/>'),
- (a += " <c:spPr>"),
- (a +=
- " <a:solidFill>" +
- ce(r.chartColors[n + 1 > r.chartColors.length ? Math.floor(Math.random() * r.chartColors.length) : n]) +
- "</a:solidFill>"),
- (a +=
- ' <a:ln w="' +
- r.lineDataSymbolLineSize +
- '" cap="flat"><a:solidFill>' +
- ce(r.lineDataSymbolLineColor || r.chartColors[s % r.chartColors.length]) +
- '</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'),
- (a += " <a:effectLst/>"),
- (a += " </c:spPr>"),
- (a += "</c:marker>"),
- r.showLabel)
- ) {
- var o = te("-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
- !e.labels[0] ||
- ("custom" !== r.dataLabelFormatScatter && "customXY" !== r.dataLabelFormatScatter) ||
- ((a += "<c:dLbls>"),
- e.labels[0].forEach(function (t, n) {
- ;("custom" !== r.dataLabelFormatScatter && "customXY" !== r.dataLabelFormatScatter) ||
- ((a += " <c:dLbl>"),
- (a += ' <c:idx val="' + n + '"/>'),
- (a += " <c:tx>"),
- (a += " <c:rich>"),
- (a += "\t\t\t<a:bodyPr>"),
- (a += "\t\t\t\t<a:spAutoFit/>"),
- (a += "\t\t\t</a:bodyPr>"),
- (a += " \t<a:lstStyle/>"),
- (a += " \t<a:p>"),
- (a += "\t\t\t\t<a:pPr>"),
- (a += "\t\t\t\t\t<a:defRPr/>"),
- (a += "\t\t\t\t</a:pPr>"),
- (a += " \t<a:r>"),
- (a += ' \t\t<a:rPr lang="' + (r.lang || "en-US") + '" dirty="0"/>'),
- (a += " \t\t<a:t>" + ne(t) + "</a:t>"),
- (a += " \t</a:r>"),
- "customXY" !== r.dataLabelFormatScatter ||
- /^ *$/.test(t) ||
- ((a += " \t<a:r>"),
- (a += ' \t\t<a:rPr lang="' + (r.lang || "en-US") + '" baseline="0" dirty="0"/>'),
- (a += " \t\t<a:t> (</a:t>"),
- (a += " \t</a:r>"),
- (a += ' \t<a:fld id="{' + te("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") + '}" type="XVALUE">'),
- (a += ' \t\t<a:rPr lang="' + (r.lang || "en-US") + '" baseline="0"/>'),
- (a += " \t\t<a:pPr>"),
- (a += " \t\t\t<a:defRPr/>"),
- (a += " \t\t</a:pPr>"),
- (a += " \t\t<a:t>[" + ne(e.name) + "</a:t>"),
- (a += " \t</a:fld>"),
- (a += " \t<a:r>"),
- (a += ' \t\t<a:rPr lang="' + (r.lang || "en-US") + '" baseline="0" dirty="0"/>'),
- (a += " \t\t<a:t>, </a:t>"),
- (a += " \t</a:r>"),
- (a += ' \t<a:fld id="{' + te("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") + '}" type="YVALUE">'),
- (a += ' \t\t<a:rPr lang="' + (r.lang || "en-US") + '" baseline="0"/>'),
- (a += " \t\t<a:pPr>"),
- (a += " \t\t\t<a:defRPr/>"),
- (a += " \t\t</a:pPr>"),
- (a += " \t\t<a:t>[" + ne(e.name) + "]</a:t>"),
- (a += " \t</a:fld>"),
- (a += " \t<a:r>"),
- (a += ' \t\t<a:rPr lang="' + (r.lang || "en-US") + '" baseline="0" dirty="0"/>'),
- (a += " \t\t<a:t>)</a:t>"),
- (a += " \t</a:r>"),
- (a += ' \t<a:endParaRPr lang="' + (r.lang || "en-US") + '" dirty="0"/>')),
- (a += " \t</a:p>"),
- (a += " </c:rich>"),
- (a += " </c:tx>"),
- (a += " <c:spPr>"),
- (a += " \t<a:noFill/>"),
- (a += " \t<a:ln>"),
- (a += " \t\t<a:noFill/>"),
- (a += " \t</a:ln>"),
- (a += " \t<a:effectLst/>"),
- (a += " </c:spPr>"),
- r.dataLabelPosition && (a += ' <c:dLblPos val="' + r.dataLabelPosition + '"/>'),
- (a += ' <c:showLegendKey val="0"/>'),
- (a += ' <c:showVal val="0"/>'),
- (a += ' <c:showCatName val="0"/>'),
- (a += ' <c:showSerName val="0"/>'),
- (a += ' <c:showPercent val="0"/>'),
- (a += ' <c:showBubbleSize val="0"/>'),
- (a += '\t <c:showLeaderLines val="1"/>'),
- (a += " <c:extLst>"),
- (a +=
- ' <c:ext uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}" xmlns:c15="http://schemas.microsoft.com/office/drawing/2012/chart"/>'),
- (a +=
- ' <c:ext uri="{C3380CC4-5D6E-409C-BE32-E72D297353CC}" xmlns:c16="http://schemas.microsoft.com/office/drawing/2014/chart">'),
- (a +=
- '\t\t\t<c16:uniqueId val="{' +
- "00000000".substring(0, 8 - (n + 1).toString().length).toString() +
- (n + 1) +
- o +
- '}"/>'),
- (a += " </c:ext>"),
- (a += "\t\t</c:extLst>"),
- (a += "</c:dLbl>"))
- }),
- (a += "</c:dLbls>")),
- "XY" === r.dataLabelFormatScatter &&
- ((a += "<c:dLbls>"),
- (a += "\t<c:spPr>"),
- (a += "\t\t<a:noFill/>"),
- (a += "\t\t<a:ln>"),
- (a += "\t\t\t<a:noFill/>"),
- (a += "\t\t</a:ln>"),
- (a += "\t \t<a:effectLst/>"),
- (a += "\t</c:spPr>"),
- (a += "\t<c:txPr>"),
- (a += "\t\t<a:bodyPr>"),
- (a += "\t\t\t<a:spAutoFit/>"),
- (a += "\t\t</a:bodyPr>"),
- (a += "\t\t<a:lstStyle/>"),
- (a += "\t\t<a:p>"),
- (a += "\t \t<a:pPr>"),
- (a += " \t\t<a:defRPr/>"),
- (a += "\t \t</a:pPr>"),
- (a += '\t \t<a:endParaRPr lang="en-US"/>'),
- (a += "\t\t</a:p>"),
- (a += "\t</c:txPr>"),
- r.dataLabelPosition && (a += ' <c:dLblPos val="' + r.dataLabelPosition + '"/>'),
- (a += '\t<c:showLegendKey val="0"/>'),
- (a += ' <c:showVal val="'.concat(r.showLabel ? "1" : "0", '"/>')),
- (a += ' <c:showCatName val="'.concat(r.showLabel ? "1" : "0", '"/>')),
- (a += ' <c:showSerName val="'.concat(r.showSerName ? "1" : "0", '"/>')),
- (a += '\t<c:showPercent val="0"/>'),
- (a += '\t<c:showBubbleSize val="0"/>'),
- (a += "\t<c:extLst>"),
- (a +=
- '\t\t<c:ext uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}" xmlns:c15="http://schemas.microsoft.com/office/drawing/2012/chart">'),
- (a += '\t\t\t<c15:showLeaderLines val="1"/>'),
- (a += "\t\t</c:ext>"),
- (a += "\t</c:extLst>"),
- (a += "</c:dLbls>"))
- }
- 1 === t.length &&
- r.chartColors !== M &&
- e.values.forEach(function (e, t) {
- var n = e < 0 ? r.invertedColors || r.chartColors || M : r.chartColors || []
- ;(a += " <c:dPt>"),
- (a += ' <c:idx val="' + t + '"/>'),
- (a += ' <c:invertIfNegative val="0"/>'),
- (a += ' <c:bubble3D val="0"/>'),
- (a += " <c:spPr>"),
- 0 === r.lineSize
- ? (a += "<a:ln><a:noFill/></a:ln>")
- : ((a += "<a:solidFill>"), (a += ' <a:srgbClr val="' + n[t % n.length] + '"/>'), (a += "</a:solidFill>")),
- (a += mt(r.shadow, S)),
- (a += " </c:spPr>"),
- (a += " </c:dPt>")
- }),
- (a += "<c:xVal>"),
- (a += " <c:numRef>"),
- (a += " <c:f>Sheet1!$A$2:$A$" + (t[0].values.length + 1) + "</c:f>"),
- (a += " <c:numCache>"),
- (a += " <c:formatCode>General</c:formatCode>"),
- (a += ' <c:ptCount val="' + t[0].values.length + '"/>'),
- t[0].values.forEach(function (e, t) {
- a += '<c:pt idx="' + t + '"><c:v>' + (e || 0 === e ? e : "") + "</c:v></c:pt>"
- }),
- (a += " </c:numCache>"),
- (a += " </c:numRef>"),
- (a += "</c:xVal>"),
- (a += "<c:yVal>"),
- (a += " <c:numRef>"),
- (a += " <c:f>Sheet1!$" + ht(n + 2) + "$2:$" + ht(n + 2) + "$" + (t[0].values.length + 1) + "</c:f>"),
- (a += " <c:numCache>"),
- (a += " <c:formatCode>General</c:formatCode>"),
- (a += ' <c:ptCount val="' + t[0].values.length + '"/>'),
- t[0].values.forEach(function (t, r) {
- a += '<c:pt idx="' + r + '"><c:v>' + (e.values[r] || 0 === e.values[r] ? e.values[r] : "") + "</c:v></c:pt>"
- }),
- (a += " </c:numCache>"),
- (a += " </c:numRef>"),
- (a += "</c:yVal>"),
- (a += '<c:smooth val="' + (r.lineSmooth ? "1" : "0") + '"/>'),
- (a += "</c:ser>")
- }),
- (a += " <c:dLbls>"),
- (a += ' <c:numFmt formatCode="'.concat(ne(r.dataLabelFormatCode) || "General", '" sourceLinked="0"/>')),
- (a += " <c:txPr>"),
- (a += " <a:bodyPr/>"),
- (a += " <a:lstStyle/>"),
- (a += " <a:p><a:pPr>"),
- (a +=
- ' <a:defRPr b="' +
- (r.dataLabelFontBold ? 1 : 0) +
- '" i="' +
- (r.dataLabelFontItalic ? 1 : 0) +
- '" strike="noStrike" sz="' +
- Math.round(100 * (r.dataLabelFontSize || x)) +
- '" u="none">'),
- (a += " <a:solidFill>" + ce(r.dataLabelColor || w) + "</a:solidFill>"),
- (a += ' <a:latin typeface="' + (r.dataLabelFontFace || "Arial") + '"/>'),
- (a += " </a:defRPr>"),
- (a += " </a:pPr></a:p>"),
- (a += " </c:txPr>"),
- r.dataLabelPosition && (a += ' <c:dLblPos val="' + r.dataLabelPosition + '"/>'),
- (a += ' <c:showLegendKey val="0"/>'),
- (a += ' <c:showVal val="' + (r.showValue ? "1" : "0") + '"/>'),
- (a += ' <c:showCatName val="0"/>'),
- (a += ' <c:showSerName val="' + (r.showSerName ? "1" : "0") + '"/>'),
- (a += ' <c:showPercent val="0"/>'),
- (a += ' <c:showBubbleSize val="0"/>'),
- (a += " </c:dLbls>"),
- (a += '<c:axId val="'.concat(i, '"/><c:axId val="').concat(n, '"/>')),
- (a += "</c:" + e + "Chart>")
- break
- case V.BUBBLE:
- case V.BUBBLE3D:
- ;(a += "<c:bubbleChart>"), (a += '<c:varyColors val="0"/>'), (s = -1)
- var l = 1
- t
- .filter(function (e, t) {
- return t > 0
- })
- .forEach(function (n, i) {
- s++,
- (a += "<c:ser>"),
- (a += ' <c:idx val="' + i + '"/>'),
- (a += ' <c:order val="' + i + '"/>'),
- (a += " <c:tx>"),
- (a += " <c:strRef>"),
- (a += " <c:f>Sheet1!$" + ht(l + 1) + "$1</c:f>"),
- (a += ' <c:strCache><c:ptCount val="1"/><c:pt idx="0"><c:v>' + ne(n.name) + "</c:v></c:pt></c:strCache>"),
- (a += " </c:strRef>"),
- (a += " </c:tx>"),
- (a += "<c:spPr>")
- var o = r.chartColors[s % r.chartColors.length]
- "transparent" === o
- ? (a += "<a:noFill/>")
- : r.chartColorsOpacity
- ? (a += "<a:solidFill>" + ce(o, '<a:alpha val="' + Math.round(1e3 * r.chartColorsOpacity) + '"/>') + "</a:solidFill>")
- : (a += "<a:solidFill>" + ce(o) + "</a:solidFill>"),
- 0 === r.lineSize
- ? (a += "<a:ln><a:noFill/></a:ln>")
- : r.dataBorder
- ? (a +=
- '<a:ln w="' +
- oe(r.dataBorder.pt) +
- '" cap="flat"><a:solidFill>' +
- ce(r.dataBorder.color) +
- '</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>')
- : ((a += '<a:ln w="' + oe(r.lineSize) + '" cap="flat"><a:solidFill>' + ce(o) + "</a:solidFill>"),
- (a += '<a:prstDash val="' + (r.lineDash || "solid") + '"/><a:round/></a:ln>')),
- (a += mt(r.shadow, S)),
- (a += "</c:spPr>"),
- (a += "<c:xVal>"),
- (a += " <c:numRef>"),
- (a += " <c:f>Sheet1!$A$2:$A$" + (t[0].values.length + 1) + "</c:f>"),
- (a += " <c:numCache>"),
- (a += " <c:formatCode>General</c:formatCode>"),
- (a += ' <c:ptCount val="' + t[0].values.length + '"/>'),
- t[0].values.forEach(function (e, t) {
- a += '<c:pt idx="' + t + '"><c:v>' + (e || 0 === e ? e : "") + "</c:v></c:pt>"
- }),
- (a += " </c:numCache>"),
- (a += " </c:numRef>"),
- (a += "</c:xVal>"),
- (a += "<c:yVal>"),
- (a += " <c:numRef>"),
- (a += " <c:f>Sheet1!$" + ht(l + 1) + "$2:$" + ht(l + 1) + "$" + (t[0].values.length + 1) + "</c:f>"),
- l++,
- (a += " <c:numCache>"),
- (a += " <c:formatCode>General</c:formatCode>"),
- (a += ' <c:ptCount val="' + t[0].values.length + '"/>'),
- t[0].values.forEach(function (e, t) {
- a += '<c:pt idx="' + t + '"><c:v>' + (n.values[t] || 0 === n.values[t] ? n.values[t] : "") + "</c:v></c:pt>"
- }),
- (a += " </c:numCache>"),
- (a += " </c:numRef>"),
- (a += "</c:yVal>"),
- (a += " <c:bubbleSize>"),
- (a += " <c:numRef>"),
- (a += " <c:f>Sheet1!$" + ht(l + 1) + "$2:$" + ht(l + 1) + "$" + (n.sizes.length + 1) + "</c:f>"),
- l++,
- (a += " <c:numCache>"),
- (a += " <c:formatCode>General</c:formatCode>"),
- (a += '\t <c:ptCount val="' + n.sizes.length + '"/>'),
- n.sizes.forEach(function (e, t) {
- a += '<c:pt idx="' + t + '"><c:v>' + (e || "") + "</c:v></c:pt>"
- }),
- (a += " </c:numCache>"),
- (a += " </c:numRef>"),
- (a += " </c:bubbleSize>"),
- (a += ' <c:bubble3D val="' + (e === V.BUBBLE3D ? "1" : "0") + '"/>'),
- (a += "</c:ser>")
- }),
- (a += "<c:dLbls>"),
- (a += '<c:numFmt formatCode="'.concat(ne(r.dataLabelFormatCode) || "General", '" sourceLinked="0"/>')),
- (a += "<c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr>"),
- (a += '<a:defRPr b="'
- .concat(r.dataLabelFontBold ? 1 : 0, '" i="')
- .concat(r.dataLabelFontItalic ? 1 : 0, '" strike="noStrike" sz="')
- .concat(Math.round(100 * Math.round(r.dataLabelFontSize || x)), '" u="none">')),
- (a += "<a:solidFill>".concat(ce(r.dataLabelColor || w), "</a:solidFill>")),
- (a += '<a:latin typeface="'.concat(r.dataLabelFontFace || "Arial", '"/>')),
- (a += "</a:defRPr></a:pPr></a:p></c:txPr>"),
- r.dataLabelPosition && (a += '<c:dLblPos val="'.concat(r.dataLabelPosition, '"/>')),
- (a += '<c:showLegendKey val="0"/>'),
- (a += '<c:showVal val="'.concat(r.showValue ? "1" : "0", '"/>')),
- (a += '<c:showCatName val="0"/><c:showSerName val="'.concat(
- r.showSerName ? "1" : "0",
- '"/><c:showPercent val="0"/><c:showBubbleSize val="0"/>'
- )),
- (a += "<c:extLst>"),
- (a +=
- ' <c:ext uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}" xmlns:c15="http://schemas.microsoft.com/office/drawing/2012/chart">'),
- (a += ' <c15:showLeaderLines val="' + (r.showLeaderLines ? "1" : "0") + '"/>'),
- (a += " </c:ext>"),
- (a += "</c:extLst>"),
- (a += "</c:dLbls>"),
- (a += '<c:axId val="'.concat(i, '"/><c:axId val="').concat(n, '"/>')),
- (a += "</c:bubbleChart>")
- break
- case V.DOUGHNUT:
- case V.PIE:
- var c = t[0]
- ;(a += "<c:" + e + "Chart>"),
- (a += ' <c:varyColors val="1"/>'),
- (a += "<c:ser>"),
- (a += ' <c:idx val="0"/>'),
- (a += ' <c:order val="0"/>'),
- (a += " <c:tx>"),
- (a += " <c:strRef>"),
- (a += " <c:f>Sheet1!$B$1</c:f>"),
- (a += " <c:strCache>"),
- (a += ' <c:ptCount val="1"/>'),
- (a += ' <c:pt idx="0"><c:v>' + ne(c.name) + "</c:v></c:pt>"),
- (a += " </c:strCache>"),
- (a += " </c:strRef>"),
- (a += " </c:tx>"),
- (a += " <c:spPr>"),
- (a += ' <a:solidFill><a:schemeClr val="accent1"/></a:solidFill>'),
- (a +=
- ' <a:ln w="9525" cap="flat"><a:solidFill><a:srgbClr val="F9F9F9"/></a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'),
- r.dataNoEffects ? (a += "<a:effectLst/>") : (a += mt(r.shadow, S)),
- (a += " </c:spPr>"),
- c.labels[0].forEach(function (e, t) {
- ;(a += "<c:dPt>"),
- (a += ' <c:idx val="'.concat(t, '"/>')),
- (a += ' <c:bubble3D val="0"/>'),
- (a += " <c:spPr>"),
- (a += "<a:solidFill>".concat(
- ce(r.chartColors[t + 1 > r.chartColors.length ? Math.floor(Math.random() * r.chartColors.length) : t]),
- "</a:solidFill>"
- )),
- r.dataBorder &&
- (a += '<a:ln w="'
- .concat(oe(r.dataBorder.pt), '" cap="flat"><a:solidFill>')
- .concat(ce(r.dataBorder.color), '</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>')),
- (a += mt(r.shadow, S)),
- (a += " </c:spPr>"),
- (a += "</c:dPt>")
- }),
- (a += "<c:dLbls>"),
- c.labels[0].forEach(function (t, n) {
- ;(a += "<c:dLbl>"),
- (a += ' <c:idx val="'.concat(n, '"/>')),
- (a += ' <c:numFmt formatCode="'.concat(ne(r.dataLabelFormatCode) || "General", '" sourceLinked="0"/>')),
- (a += " <c:spPr/><c:txPr>"),
- (a += " <a:bodyPr/><a:lstStyle/>"),
- (a += " <a:p><a:pPr>"),
- (a += ' <a:defRPr sz="'
- .concat(Math.round(100 * (r.dataLabelFontSize || x)), '" b="')
- .concat(r.dataLabelFontBold ? 1 : 0, '" i="')
- .concat(r.dataLabelFontItalic ? 1 : 0, '" u="none" strike="noStrike">')),
- (a += " <a:solidFill>" + ce(r.dataLabelColor || w) + "</a:solidFill>"),
- (a += ' <a:latin typeface="'.concat(r.dataLabelFontFace || "Arial", '"/>')),
- (a += " </a:defRPr>"),
- (a += " </a:pPr></a:p>"),
- (a += " </c:txPr>"),
- e === V.PIE && r.dataLabelPosition && (a += ' <c:dLblPos val="'.concat(r.dataLabelPosition, '"/>')),
- (a += ' <c:showLegendKey val="0"/>'),
- (a += ' <c:showVal val="' + (r.showValue ? "1" : "0") + '"/>'),
- (a += ' <c:showCatName val="' + (r.showLabel ? "1" : "0") + '"/>'),
- (a += ' <c:showSerName val="' + (r.showSerName ? "1" : "0") + '"/>'),
- (a += ' <c:showPercent val="' + (r.showPercent ? "1" : "0") + '"/>'),
- (a += ' <c:showBubbleSize val="0"/>'),
- (a += " </c:dLbl>")
- }),
- (a += ' <c:numFmt formatCode="'.concat(ne(r.dataLabelFormatCode) || "General", '" sourceLinked="0"/>')),
- (a += "\t<c:txPr>"),
- (a += "\t <a:bodyPr/>"),
- (a += "\t <a:lstStyle/>"),
- (a += "\t <a:p>"),
- (a += "\t\t<a:pPr>"),
- (a +=
- '\t\t <a:defRPr sz="1800" b="' +
- (r.dataLabelFontBold ? 1 : 0) +
- '" i="' +
- (r.dataLabelFontItalic ? 1 : 0) +
- '" u="none" strike="noStrike">'),
- (a += '\t\t\t<a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:latin typeface="Arial"/>'),
- (a += "\t\t </a:defRPr>"),
- (a += "\t\t</a:pPr>"),
- (a += "\t </a:p>"),
- (a += "\t</c:txPr>"),
- (a += e === V.PIE ? '<c:dLblPos val="ctr"/>' : ""),
- (a += '\t<c:showLegendKey val="0"/>'),
- (a += '\t<c:showVal val="0"/>'),
- (a += '\t<c:showCatName val="1"/>'),
- (a += '\t<c:showSerName val="0"/>'),
- (a += '\t<c:showPercent val="1"/>'),
- (a += '\t<c:showBubbleSize val="0"/>'),
- (a += ' <c:showLeaderLines val="'.concat(r.showLeaderLines ? "1" : "0", '"/>')),
- (a += "</c:dLbls>"),
- (a += "<c:cat>"),
- (a += " <c:strRef>"),
- (a += " <c:f>Sheet1!$A$2:$A$" + (c.labels[0].length + 1) + "</c:f>"),
- (a += " <c:strCache>"),
- (a += '\t <c:ptCount val="' + c.labels[0].length + '"/>'),
- c.labels[0].forEach(function (e, t) {
- a += '<c:pt idx="' + t + '"><c:v>' + ne(e) + "</c:v></c:pt>"
- }),
- (a += " </c:strCache>"),
- (a += " </c:strRef>"),
- (a += "</c:cat>"),
- (a += " <c:val>"),
- (a += " <c:numRef>"),
- (a += " <c:f>Sheet1!$B$2:$B$" + (c.labels[0].length + 1) + "</c:f>"),
- (a += " <c:numCache>"),
- (a += '\t <c:ptCount val="' + c.labels[0].length + '"/>'),
- c.values.forEach(function (e, t) {
- a += '<c:pt idx="' + t + '"><c:v>' + (e || 0 === e ? e : "") + "</c:v></c:pt>"
- }),
- (a += " </c:numCache>"),
- (a += " </c:numRef>"),
- (a += " </c:val>"),
- (a += " </c:ser>"),
- (a += ' <c:firstSliceAng val="'.concat(r.firstSliceAng ? Math.round(r.firstSliceAng) : 0, '"/>')),
- e === V.DOUGHNUT && (a += ' <c:holeSize val="' + (r.holeSize || 50) + '"/>'),
- (a += "</c:" + e + "Chart>")
- break
- default:
- a += ""
- break
- }
- return a
- }
- function ut(e, t, r) {
- var n = ""
- return (
- e._type === V.SCATTER || e._type === V.BUBBLE || e._type === V.BUBBLE3D
- ? (n += "<c:valAx>")
- : (n += "<c:" + (e.catLabelFormatCode ? "dateAx" : "catAx") + ">"),
- (n += ' <c:axId val="' + t + '"/>'),
- (n += " <c:scaling>"),
- (n += '<c:orientation val="' + (e.catAxisOrientation || (e.barDir, "minMax")) + '"/>'),
- (e.catAxisMaxVal || 0 === e.catAxisMaxVal) && (n += '<c:max val="' + e.catAxisMaxVal + '"/>'),
- (e.catAxisMinVal || 0 === e.catAxisMinVal) && (n += '<c:min val="' + e.catAxisMinVal + '"/>'),
- (n += "</c:scaling>"),
- (n += ' <c:delete val="' + (e.catAxisHidden ? 1 : 0) + '"/>'),
- (n += ' <c:axPos val="' + ("col" === e.barDir ? "b" : "l") + '"/>'),
- (n += "none" !== e.catGridLine.style ? gt(e.catGridLine) : ""),
- e.showCatAxisTitle &&
- (n += dt({
- color: e.catAxisTitleColor,
- fontFace: e.catAxisTitleFontFace,
- fontSize: e.catAxisTitleFontSize,
- titleRotate: e.catAxisTitleRotate,
- title: e.catAxisTitle || "Axis Title"
- })),
- e._type === V.SCATTER || e._type === V.BUBBLE || e._type === V.BUBBLE3D
- ? (n += ' <c:numFmt formatCode="' + (e.valAxisLabelFormatCode ? ne(e.valAxisLabelFormatCode) : "General") + '" sourceLinked="1"/>')
- : (n += ' <c:numFmt formatCode="' + (ne(e.catLabelFormatCode) || "General") + '" sourceLinked="1"/>'),
- e._type === V.SCATTER
- ? ((n += ' <c:majorTickMark val="none"/>'), (n += ' <c:minorTickMark val="none"/>'), (n += ' <c:tickLblPos val="nextTo"/>'))
- : ((n += ' <c:majorTickMark val="' + (e.catAxisMajorTickMark || "out") + '"/>'),
- (n += ' <c:minorTickMark val="' + (e.catAxisMinorTickMark || "none") + '"/>'),
- (n += ' <c:tickLblPos val="' + (e.catAxisLabelPos || ("col" === e.barDir ? "low" : "nextTo")) + '"/>')),
- (n += " <c:spPr>"),
- (n += ' <a:ln w="' + (e.catAxisLineSize ? oe(e.catAxisLineSize) : u) + '" cap="flat">'),
- (n += !1 === e.catAxisLineShow ? "<a:noFill/>" : "<a:solidFill>" + ce(e.catAxisLineColor || b.color) + "</a:solidFill>"),
- (n += ' <a:prstDash val="' + (e.catAxisLineStyle || "solid") + '"/>'),
- (n += " <a:round/>"),
- (n += " </a:ln>"),
- (n += " </c:spPr>"),
- (n += " <c:txPr>"),
- (n += " <a:bodyPr" + (e.catAxisLabelRotate ? ' rot="' + ae(e.catAxisLabelRotate) + '"' : "") + "/>"),
- (n += " <a:lstStyle/>"),
- (n += " <a:p>"),
- (n += " <a:pPr>"),
- (n +=
- ' <a:defRPr sz="' +
- Math.round(100 * (e.catAxisLabelFontSize || x)) +
- '" b="' +
- (e.catAxisLabelFontBold ? 1 : 0) +
- '" i="' +
- (e.catAxisLabelFontItalic ? 1 : 0) +
- '" u="none" strike="noStrike">'),
- (n += " <a:solidFill>" + ce(e.catAxisLabelColor || w) + "</a:solidFill>"),
- (n += ' <a:latin typeface="' + (e.catAxisLabelFontFace || "Arial") + '"/>'),
- (n += " </a:defRPr>"),
- (n += " </a:pPr>"),
- (n += ' <a:endParaRPr lang="' + (e.lang || "en-US") + '"/>'),
- (n += " </a:p>"),
- (n += " </c:txPr>"),
- (n += ' <c:crossAx val="' + r + '"/>'),
- (n += " <c:"
- .concat("number" === typeof e.valAxisCrossesAt ? "crossesAt" : "crosses", ' val="')
- .concat(e.valAxisCrossesAt || "autoZero", '"/>')),
- (n += ' <c:auto val="1"/>'),
- (n += ' <c:lblAlgn val="ctr"/>'),
- (n += ' <c:noMultiLvlLbl val="' + (e.catAxisMultiLevelLabels ? 0 : 1) + '"/>'),
- e.catAxisLabelFrequency && (n += ' <c:tickLblSkip val="' + e.catAxisLabelFrequency + '"/>'),
- (e.catLabelFormatCode || e._type === V.SCATTER || e._type === V.BUBBLE || e._type === V.BUBBLE3D) &&
- (e.catLabelFormatCode &&
- (["catAxisBaseTimeUnit", "catAxisMajorTimeUnit", "catAxisMinorTimeUnit"].forEach(function (t) {
- !e[t] ||
- ("string" === typeof e[t] && -1 !== ["days", "months", "years"].indexOf(e[t].toLowerCase())) ||
- (console.warn("`" + t + "` must be one of: 'days','months','years' !"), (e[t] = null))
- }),
- e.catAxisBaseTimeUnit && (n += '<c:baseTimeUnit val="' + e.catAxisBaseTimeUnit.toLowerCase() + '"/>'),
- e.catAxisMajorTimeUnit && (n += '<c:majorTimeUnit val="' + e.catAxisMajorTimeUnit.toLowerCase() + '"/>'),
- e.catAxisMinorTimeUnit && (n += '<c:minorTimeUnit val="' + e.catAxisMinorTimeUnit.toLowerCase() + '"/>')),
- e.catAxisMajorUnit && (n += '<c:majorUnit val="' + e.catAxisMajorUnit + '"/>'),
- e.catAxisMinorUnit && (n += '<c:minorUnit val="' + e.catAxisMinorUnit + '"/>')),
- e._type === V.SCATTER || e._type === V.BUBBLE || e._type === V.BUBBLE3D
- ? (n += "</c:valAx>")
- : (n += "</c:" + (e.catLabelFormatCode ? "dateAx" : "catAx") + ">"),
- n
- )
- }
- function ft(e, t) {
- var r = t === P ? ("col" === e.barDir ? "l" : "b") : "col" !== e.barDir ? "r" : "t"
- t === O && (r = "r")
- var n = t === P ? j : R,
- i = ""
- if (
- ((i += "<c:valAx>"),
- (i += ' <c:axId val="' + t + '"/>'),
- (i += " <c:scaling>"),
- e.valAxisLogScaleBase && (i += '<c:logBase val="'.concat(e.valAxisLogScaleBase, '"/>')),
- (i += '<c:orientation val="' + (e.valAxisOrientation || (e.barDir, "minMax")) + '"/>'),
- (e.valAxisMaxVal || 0 === e.valAxisMaxVal) && (i += '<c:max val="' + e.valAxisMaxVal + '"/>'),
- (e.valAxisMinVal || 0 === e.valAxisMinVal) && (i += '<c:min val="' + e.valAxisMinVal + '"/>'),
- (i += " </c:scaling>"),
- (i += ' <c:delete val="' + (e.valAxisHidden ? 1 : 0) + '"/>'),
- (i += ' <c:axPos val="' + r + '"/>'),
- "none" !== e.valGridLine.style && (i += gt(e.valGridLine)),
- e.showValAxisTitle &&
- (i += dt({
- color: e.valAxisTitleColor,
- fontFace: e.valAxisTitleFontFace,
- fontSize: e.valAxisTitleFontSize,
- titleRotate: e.valAxisTitleRotate,
- title: e.valAxisTitle || "Axis Title"
- })),
- (i += '<c:numFmt formatCode="'.concat(e.valAxisLabelFormatCode ? ne(e.valAxisLabelFormatCode) : "General", '" sourceLinked="0"/>')),
- e._type === V.SCATTER
- ? ((i += ' <c:majorTickMark val="none"/>'), (i += ' <c:minorTickMark val="none"/>'), (i += ' <c:tickLblPos val="nextTo"/>'))
- : ((i += ' <c:majorTickMark val="' + (e.valAxisMajorTickMark || "out") + '"/>'),
- (i += ' <c:minorTickMark val="' + (e.valAxisMinorTickMark || "none") + '"/>'),
- (i += ' <c:tickLblPos val="' + (e.valAxisLabelPos || ("col" === e.barDir ? "nextTo" : "low")) + '"/>')),
- (i += " <c:spPr>"),
- (i += ' <a:ln w="' + (e.valAxisLineSize ? oe(e.valAxisLineSize) : u) + '" cap="flat">'),
- (i += !1 === e.valAxisLineShow ? "<a:noFill/>" : "<a:solidFill>" + ce(e.valAxisLineColor || b.color) + "</a:solidFill>"),
- (i += ' <a:prstDash val="' + (e.valAxisLineStyle || "solid") + '"/>'),
- (i += " <a:round/>"),
- (i += " </a:ln>"),
- (i += " </c:spPr>"),
- (i += " <c:txPr>"),
- (i += " <a:bodyPr" + (e.valAxisLabelRotate ? ' rot="' + ae(e.valAxisLabelRotate) + '"' : "") + "/>"),
- (i += " <a:lstStyle/>"),
- (i += " <a:p>"),
- (i += " <a:pPr>"),
- (i +=
- ' <a:defRPr sz="' +
- Math.round(100 * (e.valAxisLabelFontSize || x)) +
- '" b="' +
- (e.valAxisLabelFontBold ? 1 : 0) +
- '" i="' +
- (e.valAxisLabelFontItalic ? 1 : 0) +
- '" u="none" strike="noStrike">'),
- (i += " <a:solidFill>" + ce(e.valAxisLabelColor || w) + "</a:solidFill>"),
- (i += ' <a:latin typeface="' + (e.valAxisLabelFontFace || "Arial") + '"/>'),
- (i += " </a:defRPr>"),
- (i += " </a:pPr>"),
- (i += ' <a:endParaRPr lang="' + (e.lang || "en-US") + '"/>'),
- (i += " </a:p>"),
- (i += " </c:txPr>"),
- (i += ' <c:crossAx val="' + n + '"/>'),
- "number" === typeof e.catAxisCrossesAt)
- )
- i += ' <c:crossesAt val="' + e.catAxisCrossesAt + '"/>'
- else if ("string" === typeof e.catAxisCrossesAt) i += ' <c:crosses val="' + e.catAxisCrossesAt + '"/>'
- else {
- var o = "r" === r || "t" === r,
- a = o ? "max" : "autoZero"
- i += ' <c:crosses val="' + a + '"/>'
- }
- return (
- (i +=
- ' <c:crossBetween val="' +
- (e._type !== V.SCATTER &&
- !(
- Array.isArray(e._type) &&
- e._type.filter(function (e) {
- return e.type === V.AREA
- }).length > 0
- )
- ? "between"
- : "midCat") +
- '"/>'),
- e.valAxisMajorUnit && (i += ' <c:majorUnit val="' + e.valAxisMajorUnit + '"/>'),
- e.valAxisDisplayUnit &&
- (i += '<c:dispUnits><c:builtInUnit val="'
- .concat(e.valAxisDisplayUnit, '"/>')
- .concat(e.valAxisDisplayUnitLabel ? "<c:dispUnitsLbl/>" : "", "</c:dispUnits>")),
- (i += "</c:valAx>"),
- i
- )
- }
- function pt(e, t, r) {
- var n = ""
- return (
- (n += "<c:serAx>"),
- (n += ' <c:axId val="' + t + '"/>'),
- (n += ' <c:scaling><c:orientation val="' + (e.serAxisOrientation || (e.barDir, "minMax")) + '"/></c:scaling>'),
- (n += ' <c:delete val="' + (e.serAxisHidden ? 1 : 0) + '"/>'),
- (n += ' <c:axPos val="' + ("col" === e.barDir ? "b" : "l") + '"/>'),
- (n += "none" !== e.serGridLine.style ? gt(e.serGridLine) : ""),
- e.showSerAxisTitle &&
- (n += dt({
- color: e.serAxisTitleColor,
- fontFace: e.serAxisTitleFontFace,
- fontSize: e.serAxisTitleFontSize,
- titleRotate: e.serAxisTitleRotate,
- title: e.serAxisTitle || "Axis Title"
- })),
- (n += ' <c:numFmt formatCode="'.concat(ne(e.serLabelFormatCode) || "General", '" sourceLinked="0"/>')),
- (n += ' <c:majorTickMark val="out"/>'),
- (n += ' <c:minorTickMark val="none"/>'),
- (n += ' <c:tickLblPos val="' + (e.serAxisLabelPos || "col" === e.barDir ? "low" : "nextTo") + '"/>'),
- (n += " <c:spPr>"),
- (n += ' <a:ln w="12700" cap="flat">'),
- (n += !1 === e.serAxisLineShow ? "<a:noFill/>" : "<a:solidFill>" + ce(e.serAxisLineColor || b.color) + "</a:solidFill>"),
- (n += ' <a:prstDash val="solid"/>'),
- (n += " <a:round/>"),
- (n += " </a:ln>"),
- (n += " </c:spPr>"),
- (n += " <c:txPr>"),
- (n += " <a:bodyPr/>"),
- (n += " <a:lstStyle/>"),
- (n += " <a:p>"),
- (n += " <a:pPr>"),
- (n += ' <a:defRPr sz="'
- .concat(Math.round(100 * (e.serAxisLabelFontSize || x)), '" b="')
- .concat(e.serAxisLabelFontBold || 0, '" i="')
- .concat(e.serAxisLabelFontItalic || 0, '" u="none" strike="noStrike">')),
- (n += " <a:solidFill>" + ce(e.serAxisLabelColor || w) + "</a:solidFill>"),
- (n += ' <a:latin typeface="' + (e.serAxisLabelFontFace || "Arial") + '"/>'),
- (n += " </a:defRPr>"),
- (n += " </a:pPr>"),
- (n += ' <a:endParaRPr lang="' + (e.lang || "en-US") + '"/>'),
- (n += " </a:p>"),
- (n += " </c:txPr>"),
- (n += ' <c:crossAx val="' + r + '"/>'),
- (n += ' <c:crosses val="autoZero"/>'),
- e.serAxisLabelFrequency && (n += ' <c:tickLblSkip val="' + e.serAxisLabelFrequency + '"/>'),
- e.serLabelFormatCode &&
- (["serAxisBaseTimeUnit", "serAxisMajorTimeUnit", "serAxisMinorTimeUnit"].forEach(function (t) {
- !e[t] ||
- ("string" === typeof e[t] && -1 !== ["days", "months", "years"].indexOf(t.toLowerCase())) ||
- (console.warn("`" + t + "` must be one of: 'days','months','years' !"), (e[t] = null))
- }),
- e.serAxisBaseTimeUnit && (n += ' <c:baseTimeUnit val="' + e.serAxisBaseTimeUnit.toLowerCase() + '"/>'),
- e.serAxisMajorTimeUnit && (n += ' <c:majorTimeUnit val="' + e.serAxisMajorTimeUnit.toLowerCase() + '"/>'),
- e.serAxisMinorTimeUnit && (n += ' <c:minorTimeUnit val="' + e.serAxisMinorTimeUnit.toLowerCase() + '"/>'),
- e.serAxisMajorUnit && (n += ' <c:majorUnit val="' + e.serAxisMajorUnit + '"/>'),
- e.serAxisMinorUnit && (n += ' <c:minorUnit val="' + e.serAxisMinorUnit + '"/>')),
- (n += "</c:serAx>"),
- n
- )
- }
- function dt(e, t, r) {
- var n = "left" === e.titleAlign || "right" === e.titleAlign ? '<a:pPr algn="'.concat(e.titleAlign.substring(0, 1), '">') : "<a:pPr>",
- i = e.titleRotate ? '<a:bodyPr rot="'.concat(ae(e.titleRotate), '"/>') : "<a:bodyPr/>",
- o = e.fontSize ? 'sz="' + Math.round(100 * e.fontSize) + '"' : "",
- a = !0 === e.titleBold ? 1 : 0,
- s = "<c:layout/>"
- if (e.titlePos && "number" === typeof e.titlePos.x && "number" === typeof e.titlePos.y) {
- var l = e.titlePos.x + t,
- c = e.titlePos.y + r,
- u = 0 === l ? 0 : (l * (l / 5)) / 10
- u >= 1 && (u /= 10), u >= 0.1 && (u /= 10)
- var f = 0 === c ? 0 : (c * (c / 5)) / 10
- f >= 1 && (f /= 10),
- f >= 0.1 && (f /= 10),
- (s = '<c:layout><c:manualLayout><c:xMode val="edge"/><c:yMode val="edge"/><c:x val="'
- .concat(u, '"/><c:y val="')
- .concat(f, '"/></c:manualLayout></c:layout>'))
- }
- return "<c:title>\n\t <c:tx>\n\t <c:rich>\n\t "
- .concat(i, "\n\t <a:lstStyle/>\n\t <a:p>\n\t ")
- .concat(n, "\n\t <a:defRPr ")
- .concat(o, ' b="')
- .concat(a, '" i="0" u="none" strike="noStrike">\n\t <a:solidFill>')
- .concat(ce(e.color || w), '</a:solidFill>\n\t <a:latin typeface="')
- .concat(e.fontFace || "Arial", '"/>\n\t </a:defRPr>\n\t </a:pPr>\n\t <a:r>\n\t <a:rPr ')
- .concat(o, ' b="')
- .concat(a, '" i="0" u="none" strike="noStrike">\n\t <a:solidFill>')
- .concat(ce(e.color || w), '</a:solidFill>\n\t <a:latin typeface="')
- .concat(e.fontFace || "Arial", '"/>\n\t </a:rPr>\n\t <a:t>')
- .concat(ne(e.title) || "", "</a:t>\n\t </a:r>\n\t </a:p>\n\t </c:rich>\n\t </c:tx>\n\t ")
- .concat(s, '\n\t <c:overlay val="0"/>\n\t</c:title>')
- }
- function ht(e) {
- var t = "",
- r = e - 1
- return (t = r <= 25 ? N[r] : "".concat(N[Math.floor(r / N.length - 1)]).concat(N[r % N.length])), t
- }
- function mt(e, t) {
- if (!e) return "<a:effectLst/>"
- if ("object" !== typeof e) return console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"), "<a:effectLst/>"
- var r = "<a:effectLst>",
- n = re(t, e),
- i = n["type"] || "outer",
- o = oe(n["blur"]),
- a = oe(n["offset"]),
- s = Math.round(6e4 * n["angle"]),
- l = n["color"],
- c = Math.round(1e5 * n["opacity"]),
- u = n["rotateWithShape"] ? 1 : 0
- return (
- (r += "<a:" + i + 'Shdw sx="100000" sy="100000" kx="0" ky="0" algn="bl" blurRad="' + o + '" '),
- (r += 'rotWithShape="' + +u + '"'),
- (r += ' dist="' + a + '" dir="' + s + '">'),
- (r += '<a:srgbClr val="' + l + '">'),
- (r += '<a:alpha val="' + c + '"/></a:srgbClr>'),
- (r += "</a:" + i + "Shdw>"),
- (r += "</a:effectLst>"),
- r
- )
- }
- function gt(e) {
- var t = "<c:majorGridlines>"
- return (
- (t += " <c:spPr>"),
- (t += ' <a:ln w="' + oe(e.size || b.size) + '" cap="flat">'),
- (t += ' <a:solidFill><a:srgbClr val="' + (e.color || b.color) + '"/></a:solidFill>'),
- (t += ' <a:prstDash val="' + (e.style || b.style) + '"/><a:round/>'),
- (t += " </a:ln>"),
- (t += " </c:spPr>"),
- (t += "</c:majorGridlines>"),
- t
- )
- }
- function yt(t) {
- var n = "undefined" === typeof window ? r(0) : null,
- i = "undefined" === typeof window ? r(1) : null,
- o = [],
- a = t._relsMedia.filter(function (e) {
- return "online" !== e.type && !e.data && (!e.path || (e.path && -1 === e.path.indexOf("preencoded")))
- }),
- s = []
- return (
- a.forEach(function (e) {
- ;-1 === s.indexOf(e.path) ? ((e.isDuplicate = !1), s.push(e.path)) : (e.isDuplicate = !0)
- }),
- a
- .filter(function (e) {
- return !e.isDuplicate
- })
- .forEach(function (t) {
- o.push(
- new Promise(function (r, o) {
- if (n && Object.values(n).length > 0 && 0 !== t.path.indexOf("http"))
- try {
- var s = n.readFileSync(t.path)
- ;(t.data = e.from(s).toString("base64")),
- a
- .filter(function (e) {
- return e.isDuplicate && e.path === t.path
- })
- .forEach(function (e) {
- return (e.data = t.data)
- }),
- r("done")
- } catch (c) {
- ;(t.data = J),
- a
- .filter(function (e) {
- return e.isDuplicate && e.path === t.path
- })
- .forEach(function (e) {
- return (e.data = t.data)
- }),
- o('ERROR: Unable to read media: "' + t.path + '"\n' + c.toString())
- }
- else if (n && Object.values(n).length > 0 && Object.values(i).length > 0 && i && 0 === t.path.indexOf("http"))
- i.get(t.path, function (n) {
- var i = ""
- n.setEncoding("binary"),
- n.on("data", function (e) {
- return (i += e)
- }),
- n.on("end", function () {
- ;(t.data = e.from(i, "binary").toString("base64")),
- a
- .filter(function (e) {
- return e.isDuplicate && e.path === t.path
- })
- .forEach(function (e) {
- return (e.data = t.data)
- }),
- r("done")
- }),
- n.on("error", function (e) {
- ;(t.data = J),
- a
- .filter(function (e) {
- return e.isDuplicate && e.path === t.path
- })
- .forEach(function (e) {
- return (e.data = t.data)
- }),
- o("ERROR! Unable to load image (https.get): ".concat(t.path))
- })
- })
- else {
- var l = new XMLHttpRequest()
- ;(l.onload = function () {
- var e = new FileReader()
- ;(e.onloadend = function () {
- ;(t.data = e.result),
- a
- .filter(function (e) {
- return e.isDuplicate && e.path === t.path
- })
- .forEach(function (e) {
- return (e.data = t.data)
- }),
- t.isSvgPng
- ? vt(t)
- .then(function () {
- r("done")
- })
- .catch(function (e) {
- o(e)
- })
- : r("done")
- }),
- e.readAsDataURL(l.response)
- }),
- (l.onerror = function (e) {
- ;(t.data = J),
- a
- .filter(function (e) {
- return e.isDuplicate && e.path === t.path
- })
- .forEach(function (e) {
- return (e.data = t.data)
- }),
- o("ERROR! Unable to load image (xhr.onerror): ".concat(t.path))
- }),
- l.open("GET", t.path),
- (l.responseType = "blob"),
- l.send()
- }
- })
- )
- }),
- t._relsMedia
- .filter(function (e) {
- return e.isSvgPng && e.data
- })
- .forEach(function (e) {
- n
- ? ((e.data = J),
- o.push(
- Promise.resolve().then(function () {
- return "done"
- })
- ))
- : o.push(vt(e))
- }),
- o
- )
- }
- function vt(e) {
- return new Promise(function (t, r) {
- var n = new Image()
- ;(n.onload = function () {
- n.width + n.height === 0 && n.onerror("h/w=0")
- var r = document.createElement("CANVAS"),
- i = r.getContext("2d")
- ;(r.width = n.width), (r.height = n.height), i.drawImage(n, 0, 0)
- try {
- ;(e.data = r.toDataURL(e.type)), t("done")
- } catch (o) {
- n.onerror(o)
- }
- r = null
- }),
- (n.onerror = function (t) {
- ;(e.data = J), r("ERROR! Unable to load image (image.onerror): ".concat(e.path))
- }),
- (n.src = "string" === typeof e.data ? e.data : J)
- })
- }
- var bt = "3.11.0",
- wt = (function () {
- function e() {
- var e = this
- ;(this._version = bt),
- (this._alignH = q),
- (this._alignV = G),
- (this._chartType = F),
- (this._outputType = B),
- (this._schemeColor = z),
- (this._shapeType = U),
- (this._charts = V),
- (this._colors = H),
- (this._shapes = W),
- (this.addNewSlide = function (t) {
- var r =
- e.sections.length > 0 &&
- e.sections[e.sections.length - 1]._slides.filter(function (t) {
- return t._slideNum === e.slides[e.slides.length - 1]._slideNum
- }).length > 0
- return e.addSlide({
- masterName: t,
- sectionTitle: r ? e.sections[e.sections.length - 1].title : null
- })
- }),
- (this.getSlide = function (t) {
- return e.slides.filter(function (e) {
- return e._slideNum === t
- })[0]
- }),
- (this.setSlideNumber = function (t) {
- ;(e.masterSlide._slideNumberProps = t),
- (e.slideLayouts.filter(function (e) {
- return e._name === T
- })[0]._slideNumberProps = t)
- }),
- (this.createChartMediaRels = function (e, t, r) {
- e._relsChart.forEach(function (e) {
- return r.push(st(e, t))
- }),
- e._relsMedia.forEach(function (e) {
- if ("online" !== e.type && "hyperlink" !== e.type) {
- var r = e.data && "string" === typeof e.data ? e.data : ""
- ;(-1 === r.indexOf(",") && -1 === r.indexOf(";")) || -1 === r.indexOf(",")
- ? (r = "image/png;base64," + r)
- : -1 === r.indexOf(";") && (r = "image/png;" + r),
- t.file(e.Target.replace("..", "ppt"), r.split(",").pop(), {
- base64: !0
- })
- }
- })
- }),
- (this.writeFileToBrowser = function (e, t) {
- var r = document.createElement("a")
- if (
- (r.setAttribute("style", "display:none;"),
- (r.dataset.interception = "off"),
- document.body.appendChild(r),
- window.URL.createObjectURL)
- ) {
- var n = window.URL.createObjectURL(
- new Blob([t], {
- type: "application/vnd.openxmlformats-officedocument.presentationml.presentation"
- })
- )
- return (
- (r.href = n),
- (r.download = e),
- r.click(),
- setTimeout(function () {
- window.URL.revokeObjectURL(n), document.body.removeChild(r)
- }, 100),
- Promise.resolve(e)
- )
- }
- }),
- (this.exportPresentation = function (t) {
- var r = [],
- n = [],
- o = new i.a()
- return (
- e.slides.forEach(function (e) {
- n = n.concat(yt(e))
- }),
- e.slideLayouts.forEach(function (e) {
- n = n.concat(yt(e))
- }),
- (n = n.concat(yt(e.masterSlide))),
- Promise.all(n).then(function () {
- return (
- e.slides.forEach(function (e) {
- e._slideLayout && nt(e)
- }),
- o.folder("_rels"),
- o.folder("docProps"),
- o.folder("ppt").folder("_rels"),
- o.folder("ppt/charts").folder("_rels"),
- o.folder("ppt/embeddings"),
- o.folder("ppt/media"),
- o.folder("ppt/slideLayouts").folder("_rels"),
- o.folder("ppt/slideMasters").folder("_rels"),
- o.folder("ppt/slides").folder("_rels"),
- o.folder("ppt/theme"),
- o.folder("ppt/notesMasters").folder("_rels"),
- o.folder("ppt/notesSlides").folder("_rels"),
- o.file("[Content_Types].xml", Ee(e.slides, e.slideLayouts, e.masterSlide)),
- o.file("_rels/.rels", Se()),
- o.file("docProps/app.xml", Ce(e.slides, e.company)),
- o.file("docProps/core.xml", ke(e.title, e.subject, e.author, e.revision)),
- o.file("ppt/_rels/presentation.xml.rels", Le(e.slides)),
- o.file("ppt/theme/theme1.xml", qe()),
- o.file("ppt/presentation.xml", Ge(e)),
- o.file("ppt/presProps.xml", We()),
- o.file("ppt/tableStyles.xml", Ve()),
- o.file("ppt/viewProps.xml", He()),
- e.slideLayouts.forEach(function (t, r) {
- o.file("ppt/slideLayouts/slideLayout" + (r + 1) + ".xml", Ie(t)),
- o.file("ppt/slideLayouts/_rels/slideLayout" + (r + 1) + ".xml.rels", Me(r + 1, e.slideLayouts))
- }),
- e.slides.forEach(function (t, r) {
- o.file("ppt/slides/slide" + (r + 1) + ".xml", Pe(t)),
- o.file("ppt/slides/_rels/slide" + (r + 1) + ".xml.rels", De(e.slides, e.slideLayouts, r + 1)),
- o.file("ppt/notesSlides/notesSlide" + (r + 1) + ".xml", Re(t)),
- o.file("ppt/notesSlides/_rels/notesSlide" + (r + 1) + ".xml.rels", Be(r + 1))
- }),
- o.file("ppt/slideMasters/slideMaster1.xml", Ne(e.masterSlide, e.slideLayouts)),
- o.file("ppt/slideMasters/_rels/slideMaster1.xml.rels", Fe(e.masterSlide, e.slideLayouts)),
- o.file("ppt/notesMasters/notesMaster1.xml", je()),
- o.file("ppt/notesMasters/_rels/notesMaster1.xml.rels", Ue()),
- e.slideLayouts.forEach(function (t) {
- e.createChartMediaRels(t, o, r)
- }),
- e.slides.forEach(function (t) {
- e.createChartMediaRels(t, o, r)
- }),
- e.createChartMediaRels(e.masterSlide, o, r),
- Promise.all(r).then(function () {
- return "STREAM" === t.outputType
- ? o.generateAsync({
- type: "nodebuffer",
- compression: t.compression ? "DEFLATE" : "STORE"
- })
- : t.outputType
- ? o.generateAsync({
- type: t.outputType
- })
- : o.generateAsync({
- type: "blob",
- compression: t.compression ? "DEFLATE" : "STORE"
- })
- })
- )
- })
- )
- }),
- (this.LAYOUTS = {
- LAYOUT_4x3: {
- name: "screen4x3",
- width: 9144e3,
- height: 6858e3
- },
- LAYOUT_16x9: {
- name: "screen16x9",
- width: 9144e3,
- height: 5143500
- },
- LAYOUT_16x10: {
- name: "screen16x10",
- width: 9144e3,
- height: 5715e3
- },
- LAYOUT_WIDE: {
- name: "custom",
- width: 12192e3,
- height: 6858e3
- }
- }),
- (this._author = "PptxGenJS"),
- (this._company = "PptxGenJS"),
- (this._revision = "1"),
- (this._subject = "PptxGenJS Presentation"),
- (this._title = "PptxGenJS Presentation"),
- (this._presLayout = {
- name: this.LAYOUTS[_].name,
- _sizeW: this.LAYOUTS[_].width,
- _sizeH: this.LAYOUTS[_].height,
- width: this.LAYOUTS[_].width,
- height: this.LAYOUTS[_].height
- }),
- (this._rtlMode = !1),
- (this._slideLayouts = [
- {
- _margin: C,
- _name: T,
- _presLayout: this._presLayout,
- _rels: [],
- _relsChart: [],
- _relsMedia: [],
- _slide: null,
- _slideNum: 1e3,
- _slideNumberProps: null,
- _slideObjects: []
- }
- ]),
- (this._slides = []),
- (this._sections = []),
- (this._masterSlide = {
- addChart: null,
- addImage: null,
- addMedia: null,
- addNotes: null,
- addShape: null,
- addTable: null,
- addText: null,
- _name: null,
- _presLayout: this._presLayout,
- _rId: null,
- _rels: [],
- _relsChart: [],
- _relsMedia: [],
- _slideId: null,
- _slideLayout: null,
- _slideNum: null,
- _slideNumberProps: null,
- _slideObjects: []
- })
- }
- return (
- Object.defineProperty(e.prototype, "layout", {
- get: function () {
- return this._layout
- },
- set: function (e) {
- var t = this.LAYOUTS[e]
- if (!t) throw new Error("UNKNOWN-LAYOUT")
- ;(this._layout = e), (this._presLayout = t)
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "version", {
- get: function () {
- return this._version
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "author", {
- get: function () {
- return this._author
- },
- set: function (e) {
- this._author = e
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "company", {
- get: function () {
- return this._company
- },
- set: function (e) {
- this._company = e
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "revision", {
- get: function () {
- return this._revision
- },
- set: function (e) {
- this._revision = e
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "subject", {
- get: function () {
- return this._subject
- },
- set: function (e) {
- this._subject = e
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "title", {
- get: function () {
- return this._title
- },
- set: function (e) {
- this._title = e
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "rtlMode", {
- get: function () {
- return this._rtlMode
- },
- set: function (e) {
- this._rtlMode = e
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "masterSlide", {
- get: function () {
- return this._masterSlide
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "slides", {
- get: function () {
- return this._slides
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "sections", {
- get: function () {
- return this._sections
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "slideLayouts", {
- get: function () {
- return this._slideLayouts
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "AlignH", {
- get: function () {
- return this._alignH
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "AlignV", {
- get: function () {
- return this._alignV
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "ChartType", {
- get: function () {
- return this._chartType
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "OutputType", {
- get: function () {
- return this._outputType
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "presLayout", {
- get: function () {
- return this._presLayout
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "SchemeColor", {
- get: function () {
- return this._schemeColor
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "ShapeType", {
- get: function () {
- return this._shapeType
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "charts", {
- get: function () {
- return this._charts
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "colors", {
- get: function () {
- return this._colors
- },
- enumerable: !1,
- configurable: !0
- }),
- Object.defineProperty(e.prototype, "shapes", {
- get: function () {
- return this._shapes
- },
- enumerable: !1,
- configurable: !0
- }),
- (e.prototype.stream = function (e) {
- var t = !("object" !== typeof e || !e.hasOwnProperty("compression")) && e.compression
- return this.exportPresentation({
- compression: t,
- outputType: "STREAM"
- })
- }),
- (e.prototype.write = function (e) {
- var t = "object" === typeof e && e.hasOwnProperty("outputType") ? e.outputType : e || null,
- r = !("object" !== typeof e || !e.hasOwnProperty("compression")) && e.compression
- return this.exportPresentation({
- compression: r,
- outputType: t
- })
- }),
- (e.prototype.writeFile = function (e) {
- var t = this,
- n = "undefined" === typeof window ? r(0) : null
- "string" === typeof e &&
- console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)")
- var i = "object" === typeof e && e.hasOwnProperty("fileName") ? e.fileName : "string" === typeof e ? e : "",
- o = !("object" !== typeof e || !e.hasOwnProperty("compression")) && e.compression,
- a = i ? (i.toString().toLowerCase().endsWith(".pptx") ? i : i + ".pptx") : "Presentation.pptx"
- return this.exportPresentation({
- compression: o,
- outputType: n ? "nodebuffer" : null
- }).then(function (e) {
- return n
- ? new Promise(function (t, r) {
- n.writeFile(a, e, function (e) {
- e ? r(e) : t(a)
- })
- })
- : t.writeFileToBrowser(a, e)
- })
- }),
- (e.prototype.addSection = function (e) {
- e ? e.title || console.warn("addSection requires a title") : console.warn("addSection requires an argument")
- var t = {
- _type: "user",
- _slides: [],
- title: e.title
- }
- e.order ? this.sections.splice(e.order, 0, t) : this._sections.push(t)
- }),
- (e.prototype.addSlide = function (e) {
- var t = "string" === typeof e ? e : e && e.masterName ? e.masterName : "",
- r = {
- _name: this.LAYOUTS[_].name,
- _presLayout: this.presLayout,
- _rels: [],
- _relsChart: [],
- _relsMedia: [],
- _slideNum: this.slides.length + 1
- }
- if (t) {
- var n = this.slideLayouts.filter(function (e) {
- return e._name === t
- })[0]
- n && (r = n)
- }
- var i = new at({
- addSlide: this.addNewSlide,
- getSlide: this.getSlide,
- presLayout: this.presLayout,
- setSlideNum: this.setSlideNumber,
- slideId: this.slides.length + 256,
- slideRId: this.slides.length + 2,
- slideNumber: this.slides.length + 1,
- slideLayout: r
- })
- if ((this._slides.push(i), e && e.sectionTitle)) {
- var o = this.sections.filter(function (t) {
- return t.title === e.sectionTitle
- })[0]
- o ? o._slides.push(i) : console.warn('addSlide: unable to find section with title: "'.concat(e.sectionTitle, '"'))
- } else if (this.sections && this.sections.length > 0 && (!e || !e.sectionTitle)) {
- var a = this._sections[this.sections.length - 1]
- "default" === a._type
- ? a._slides.push(i)
- : this._sections.push({
- title: "Default-".concat(
- this.sections.filter(function (e) {
- return "default" === e._type
- }).length + 1
- ),
- _type: "default",
- _slides: [i]
- })
- }
- return i
- }),
- (e.prototype.defineLayout = function (e) {
- e
- ? e.name
- ? e.width
- ? e.height
- ? "number" !== typeof e.height
- ? console.warn("defineLayout `height` should be a number (inches)")
- : "number" !== typeof e.width && console.warn("defineLayout `width` should be a number (inches)")
- : console.warn("defineLayout requires `height`")
- : console.warn("defineLayout requires `width`")
- : console.warn("defineLayout requires `name`")
- : console.warn("defineLayout requires `{name, width, height}`"),
- (this.LAYOUTS[e.name] = {
- name: e.name,
- _sizeW: Math.round(Number(e.width) * c),
- _sizeH: Math.round(Number(e.height) * c),
- width: Math.round(Number(e.width) * c),
- height: Math.round(Number(e.height) * c)
- })
- }),
- (e.prototype.defineSlideMaster = function (e) {
- if (!e.title)
- throw new Error(
- "defineSlideMaster() object argument requires a `title` value. (https://gitbrent.github.io/PptxGenJS/docs/masters.html)"
- )
- var t = {
- _margin: e.margin || C,
- _name: e.title,
- _presLayout: this.presLayout,
- _rels: [],
- _relsChart: [],
- _relsMedia: [],
- _slide: null,
- _slideNum: 1e3 + this.slideLayouts.length + 1,
- _slideNumberProps: e.slideNumber || null,
- _slideObjects: [],
- background: e.background || null,
- bkgd: e.bkgd || null
- }
- Ke(e, t),
- this.slideLayouts.push(t),
- (e.background || e.bkgd) && it(e.background, t),
- t._slideNumberProps && !this.masterSlide._slideNumberProps && (this.masterSlide._slideNumberProps = t._slideNumberProps)
- }),
- (e.prototype.tableToSlides = function (e, t) {
- void 0 === t && (t = {}),
- me(
- this,
- e,
- t,
- t && t.masterSlideName
- ? this.slideLayouts.filter(function (e) {
- return e._name === t.masterSlideName
- })[0]
- : null
- )
- }),
- e
- )
- })()
- }).call(this, r("b639").Buffer)
- },
- "90e3": function (e, t) {
- var r = 0,
- n = Math.random()
- e.exports = function (e) {
- return "Symbol(" + String(void 0 === e ? "" : e) + ")_" + (++r + n).toString(36)
- }
- },
- 9112: function (e, t, r) {
- var n = r("83ab"),
- i = r("9bf2"),
- o = r("5c6c")
- e.exports = n
- ? function (e, t, r) {
- return i.f(e, t, o(1, r))
- }
- : function (e, t, r) {
- return (e[t] = r), e
- }
- },
- 9152: function (e, t) {
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
- ;(t.read = function (e, t, r, n, i) {
- var o,
- a,
- s = 8 * i - n - 1,
- l = (1 << s) - 1,
- c = l >> 1,
- u = -7,
- f = r ? i - 1 : 0,
- p = r ? -1 : 1,
- d = e[t + f]
- for (f += p, o = d & ((1 << -u) - 1), d >>= -u, u += s; u > 0; o = 256 * o + e[t + f], f += p, u -= 8);
- for (a = o & ((1 << -u) - 1), o >>= -u, u += n; u > 0; a = 256 * a + e[t + f], f += p, u -= 8);
- if (0 === o) o = 1 - c
- else {
- if (o === l) return a ? NaN : (1 / 0) * (d ? -1 : 1)
- ;(a += Math.pow(2, n)), (o -= c)
- }
- return (d ? -1 : 1) * a * Math.pow(2, o - n)
- }),
- (t.write = function (e, t, r, n, i, o) {
- var a,
- s,
- l,
- c = 8 * o - i - 1,
- u = (1 << c) - 1,
- f = u >> 1,
- p = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
- d = n ? 0 : o - 1,
- h = n ? 1 : -1,
- m = t < 0 || (0 === t && 1 / t < 0) ? 1 : 0
- for (
- t = Math.abs(t),
- isNaN(t) || t === 1 / 0
- ? ((s = isNaN(t) ? 1 : 0), (a = u))
- : ((a = Math.floor(Math.log(t) / Math.LN2)),
- t * (l = Math.pow(2, -a)) < 1 && (a--, (l *= 2)),
- (t += a + f >= 1 ? p / l : p * Math.pow(2, 1 - f)),
- t * l >= 2 && (a++, (l /= 2)),
- a + f >= u
- ? ((s = 0), (a = u))
- : a + f >= 1
- ? ((s = (t * l - 1) * Math.pow(2, i)), (a += f))
- : ((s = t * Math.pow(2, f - 1) * Math.pow(2, i)), (a = 0)));
- i >= 8;
- e[r + d] = 255 & s, d += h, s /= 256, i -= 8
- );
- for (a = (a << i) | s, c += i; c > 0; e[r + d] = 255 & a, d += h, a /= 256, c -= 8);
- e[r + d - h] |= 128 * m
- })
- },
- 9263: function (e, t, r) {
- "use strict"
- var n = r("577e"),
- i = r("ad6d"),
- o = r("9f7f"),
- a = r("5692"),
- s = r("7c73"),
- l = r("69f3").get,
- c = r("fce3"),
- u = r("107c"),
- f = RegExp.prototype.exec,
- p = a("native-string-replace", String.prototype.replace),
- d = f,
- h = (function () {
- var e = /a/,
- t = /b*/g
- return f.call(e, "a"), f.call(t, "a"), 0 !== e.lastIndex || 0 !== t.lastIndex
- })(),
- m = o.UNSUPPORTED_Y || o.BROKEN_CARET,
- g = void 0 !== /()??/.exec("")[1],
- y = h || g || m || c || u
- y &&
- (d = function (e) {
- var t,
- r,
- o,
- a,
- c,
- u,
- y,
- v = this,
- b = l(v),
- w = n(e),
- x = b.raw
- if (x) return (x.lastIndex = v.lastIndex), (t = d.call(x, w)), (v.lastIndex = x.lastIndex), t
- var A = b.groups,
- _ = m && v.sticky,
- T = i.call(v),
- E = v.source,
- S = 0,
- C = w
- if (
- (_ &&
- ((T = T.replace("y", "")),
- -1 === T.indexOf("g") && (T += "g"),
- (C = w.slice(v.lastIndex)),
- v.lastIndex > 0 &&
- (!v.multiline || (v.multiline && "\n" !== w.charAt(v.lastIndex - 1))) &&
- ((E = "(?: " + E + ")"), (C = " " + C), S++),
- (r = new RegExp("^(?:" + E + ")", T))),
- g && (r = new RegExp("^" + E + "$(?!\\s)", T)),
- h && (o = v.lastIndex),
- (a = f.call(_ ? r : v, C)),
- _
- ? a
- ? ((a.input = a.input.slice(S)), (a[0] = a[0].slice(S)), (a.index = v.lastIndex), (v.lastIndex += a[0].length))
- : (v.lastIndex = 0)
- : h && a && (v.lastIndex = v.global ? a.index + a[0].length : o),
- g &&
- a &&
- a.length > 1 &&
- p.call(a[0], r, function () {
- for (c = 1; c < arguments.length - 2; c++) void 0 === arguments[c] && (a[c] = void 0)
- }),
- a && A)
- )
- for (a.groups = u = s(null), c = 0; c < A.length; c++) (y = A[c]), (u[y[0]] = a[y[1]])
- return a
- }),
- (e.exports = d)
- },
- "94ca": function (e, t, r) {
- var n = r("d039"),
- i = /#|\.prototype\./,
- o = function (e, t) {
- var r = s[a(e)]
- return r == c || (r != l && ("function" == typeof t ? n(t) : !!t))
- },
- a = (o.normalize = function (e) {
- return String(e).replace(i, ".").toLowerCase()
- }),
- s = (o.data = {}),
- l = (o.NATIVE = "N"),
- c = (o.POLYFILL = "P")
- e.exports = o
- },
- "966d": function (e, t, r) {
- "use strict"
- ;(function (t) {
- function r(e, r, n, i) {
- if ("function" !== typeof e) throw new TypeError('"callback" argument must be a function')
- var o,
- a,
- s = arguments.length
- switch (s) {
- case 0:
- case 1:
- return t.nextTick(e)
- case 2:
- return t.nextTick(function () {
- e.call(null, r)
- })
- case 3:
- return t.nextTick(function () {
- e.call(null, r, n)
- })
- case 4:
- return t.nextTick(function () {
- e.call(null, r, n, i)
- })
- default:
- ;(o = new Array(s - 1)), (a = 0)
- while (a < o.length) o[a++] = arguments[a]
- return t.nextTick(function () {
- e.apply(null, o)
- })
- }
- }
- "undefined" === typeof t ||
- !t.version ||
- 0 === t.version.indexOf("v0.") ||
- (0 === t.version.indexOf("v1.") && 0 !== t.version.indexOf("v1.8."))
- ? (e.exports = {
- nextTick: r
- })
- : (e.exports = t)
- }).call(this, r("4362"))
- },
- "96c1": function (e, t, r) {
- var n = r("9b12").isArray
- e.exports = {
- copyOptions: function (e) {
- var t,
- r = {}
- for (t in e) e.hasOwnProperty(t) && (r[t] = e[t])
- return r
- },
- ensureFlagExists: function (e, t) {
- ;(e in t && "boolean" === typeof t[e]) || (t[e] = !1)
- },
- ensureSpacesExists: function (e) {
- ;(!("spaces" in e) || ("number" !== typeof e.spaces && "string" !== typeof e.spaces)) && (e.spaces = 0)
- },
- ensureAlwaysArrayExists: function (e) {
- ;("alwaysArray" in e && ("boolean" === typeof e.alwaysArray || n(e.alwaysArray))) || (e.alwaysArray = !1)
- },
- ensureKeyExists: function (e, t) {
- ;(e + "Key" in t && "string" === typeof t[e + "Key"]) || (t[e + "Key"] = t.compact ? "_" + e : e)
- },
- checkFnExists: function (e, t) {
- return e + "Fn" in t
- }
- }
- },
- "96cf": function (e, t, r) {
- var n = (function (e) {
- "use strict"
- var t,
- r = Object.prototype,
- n = r.hasOwnProperty,
- i = "function" === typeof Symbol ? Symbol : {},
- o = i.iterator || "@@iterator",
- a = i.asyncIterator || "@@asyncIterator",
- s = i.toStringTag || "@@toStringTag"
- function l(e, t, r) {
- return (
- Object.defineProperty(e, t, {
- value: r,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }),
- e[t]
- )
- }
- try {
- l({}, "")
- } catch (j) {
- l = function (e, t, r) {
- return (e[t] = r)
- }
- }
- function c(e, t, r, n) {
- var i = t && t.prototype instanceof g ? t : g,
- o = Object.create(i.prototype),
- a = new L(n || [])
- return (o._invoke = E(e, r, a)), o
- }
- function u(e, t, r) {
- try {
- return {
- type: "normal",
- arg: e.call(t, r)
- }
- } catch (j) {
- return {
- type: "throw",
- arg: j
- }
- }
- }
- e.wrap = c
- var f = "suspendedStart",
- p = "suspendedYield",
- d = "executing",
- h = "completed",
- m = {}
- function g() {}
- function y() {}
- function v() {}
- var b = {}
- l(b, o, function () {
- return this
- })
- var w = Object.getPrototypeOf,
- x = w && w(w(P([])))
- x && x !== r && n.call(x, o) && (b = x)
- var A = (v.prototype = g.prototype = Object.create(b))
- function _(e) {
- ;["next", "throw", "return"].forEach(function (t) {
- l(e, t, function (e) {
- return this._invoke(t, e)
- })
- })
- }
- function T(e, t) {
- function r(i, o, a, s) {
- var l = u(e[i], e, o)
- if ("throw" !== l.type) {
- var c = l.arg,
- f = c.value
- return f && "object" === typeof f && n.call(f, "__await")
- ? t.resolve(f.__await).then(
- function (e) {
- r("next", e, a, s)
- },
- function (e) {
- r("throw", e, a, s)
- }
- )
- : t.resolve(f).then(
- function (e) {
- ;(c.value = e), a(c)
- },
- function (e) {
- return r("throw", e, a, s)
- }
- )
- }
- s(l.arg)
- }
- var i
- function o(e, n) {
- function o() {
- return new t(function (t, i) {
- r(e, n, t, i)
- })
- }
- return (i = i ? i.then(o, o) : o())
- }
- this._invoke = o
- }
- function E(e, t, r) {
- var n = f
- return function (i, o) {
- if (n === d) throw new Error("Generator is already running")
- if (n === h) {
- if ("throw" === i) throw o
- return O()
- }
- ;(r.method = i), (r.arg = o)
- while (1) {
- var a = r.delegate
- if (a) {
- var s = S(a, r)
- if (s) {
- if (s === m) continue
- return s
- }
- }
- if ("next" === r.method) r.sent = r._sent = r.arg
- else if ("throw" === r.method) {
- if (n === f) throw ((n = h), r.arg)
- r.dispatchException(r.arg)
- } else "return" === r.method && r.abrupt("return", r.arg)
- n = d
- var l = u(e, t, r)
- if ("normal" === l.type) {
- if (((n = r.done ? h : p), l.arg === m)) continue
- return {
- value: l.arg,
- done: r.done
- }
- }
- "throw" === l.type && ((n = h), (r.method = "throw"), (r.arg = l.arg))
- }
- }
- }
- function S(e, r) {
- var n = e.iterator[r.method]
- if (n === t) {
- if (((r.delegate = null), "throw" === r.method)) {
- if (e.iterator["return"] && ((r.method = "return"), (r.arg = t), S(e, r), "throw" === r.method)) return m
- ;(r.method = "throw"), (r.arg = new TypeError("The iterator does not provide a 'throw' method"))
- }
- return m
- }
- var i = u(n, e.iterator, r.arg)
- if ("throw" === i.type) return (r.method = "throw"), (r.arg = i.arg), (r.delegate = null), m
- var o = i.arg
- return o
- ? o.done
- ? ((r[e.resultName] = o.value),
- (r.next = e.nextLoc),
- "return" !== r.method && ((r.method = "next"), (r.arg = t)),
- (r.delegate = null),
- m)
- : o
- : ((r.method = "throw"), (r.arg = new TypeError("iterator result is not an object")), (r.delegate = null), m)
- }
- function C(e) {
- var t = {
- tryLoc: e[0]
- }
- 1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t)
- }
- function k(e) {
- var t = e.completion || {}
- ;(t.type = "normal"), delete t.arg, (e.completion = t)
- }
- function L(e) {
- ;(this.tryEntries = [
- {
- tryLoc: "root"
- }
- ]),
- e.forEach(C, this),
- this.reset(!0)
- }
- function P(e) {
- if (e) {
- var r = e[o]
- if (r) return r.call(e)
- if ("function" === typeof e.next) return e
- if (!isNaN(e.length)) {
- var i = -1,
- a = function r() {
- while (++i < e.length) if (n.call(e, i)) return (r.value = e[i]), (r.done = !1), r
- return (r.value = t), (r.done = !0), r
- }
- return (a.next = a)
- }
- }
- return {
- next: O
- }
- }
- function O() {
- return {
- value: t,
- done: !0
- }
- }
- return (
- (y.prototype = v),
- l(A, "constructor", v),
- l(v, "constructor", y),
- (y.displayName = l(v, s, "GeneratorFunction")),
- (e.isGeneratorFunction = function (e) {
- var t = "function" === typeof e && e.constructor
- return !!t && (t === y || "GeneratorFunction" === (t.displayName || t.name))
- }),
- (e.mark = function (e) {
- return (
- Object.setPrototypeOf ? Object.setPrototypeOf(e, v) : ((e.__proto__ = v), l(e, s, "GeneratorFunction")),
- (e.prototype = Object.create(A)),
- e
- )
- }),
- (e.awrap = function (e) {
- return {
- __await: e
- }
- }),
- _(T.prototype),
- l(T.prototype, a, function () {
- return this
- }),
- (e.AsyncIterator = T),
- (e.async = function (t, r, n, i, o) {
- void 0 === o && (o = Promise)
- var a = new T(c(t, r, n, i), o)
- return e.isGeneratorFunction(r)
- ? a
- : a.next().then(function (e) {
- return e.done ? e.value : a.next()
- })
- }),
- _(A),
- l(A, s, "Generator"),
- l(A, o, function () {
- return this
- }),
- l(A, "toString", function () {
- return "[object Generator]"
- }),
- (e.keys = function (e) {
- var t = []
- for (var r in e) t.push(r)
- return (
- t.reverse(),
- function r() {
- while (t.length) {
- var n = t.pop()
- if (n in e) return (r.value = n), (r.done = !1), r
- }
- return (r.done = !0), r
- }
- )
- }),
- (e.values = P),
- (L.prototype = {
- constructor: L,
- reset: function (e) {
- if (
- ((this.prev = 0),
- (this.next = 0),
- (this.sent = this._sent = t),
- (this.done = !1),
- (this.delegate = null),
- (this.method = "next"),
- (this.arg = t),
- this.tryEntries.forEach(k),
- !e)
- )
- for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t)
- },
- stop: function () {
- this.done = !0
- var e = this.tryEntries[0],
- t = e.completion
- if ("throw" === t.type) throw t.arg
- return this.rval
- },
- dispatchException: function (e) {
- if (this.done) throw e
- var r = this
- function i(n, i) {
- return (s.type = "throw"), (s.arg = e), (r.next = n), i && ((r.method = "next"), (r.arg = t)), !!i
- }
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
- var a = this.tryEntries[o],
- s = a.completion
- if ("root" === a.tryLoc) return i("end")
- if (a.tryLoc <= this.prev) {
- var l = n.call(a, "catchLoc"),
- c = n.call(a, "finallyLoc")
- if (l && c) {
- if (this.prev < a.catchLoc) return i(a.catchLoc, !0)
- if (this.prev < a.finallyLoc) return i(a.finallyLoc)
- } else if (l) {
- if (this.prev < a.catchLoc) return i(a.catchLoc, !0)
- } else {
- if (!c) throw new Error("try statement without catch or finally")
- if (this.prev < a.finallyLoc) return i(a.finallyLoc)
- }
- }
- }
- },
- abrupt: function (e, t) {
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
- var i = this.tryEntries[r]
- if (i.tryLoc <= this.prev && n.call(i, "finallyLoc") && this.prev < i.finallyLoc) {
- var o = i
- break
- }
- }
- o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null)
- var a = o ? o.completion : {}
- return (a.type = e), (a.arg = t), o ? ((this.method = "next"), (this.next = o.finallyLoc), m) : this.complete(a)
- },
- complete: function (e, t) {
- if ("throw" === e.type) throw e.arg
- return (
- "break" === e.type || "continue" === e.type
- ? (this.next = e.arg)
- : "return" === e.type
- ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end"))
- : "normal" === e.type && t && (this.next = t),
- m
- )
- },
- finish: function (e) {
- for (var t = this.tryEntries.length - 1; t >= 0; --t) {
- var r = this.tryEntries[t]
- if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), k(r), m
- }
- },
- catch: function (e) {
- for (var t = this.tryEntries.length - 1; t >= 0; --t) {
- var r = this.tryEntries[t]
- if (r.tryLoc === e) {
- var n = r.completion
- if ("throw" === n.type) {
- var i = n.arg
- k(r)
- }
- return i
- }
- }
- throw new Error("illegal catch attempt")
- },
- delegateYield: function (e, r, n) {
- return (
- (this.delegate = {
- iterator: P(e),
- resultName: r,
- nextLoc: n
- }),
- "next" === this.method && (this.arg = t),
- m
- )
- }
- }),
- e
- )
- })(e.exports)
- try {
- regeneratorRuntime = n
- } catch (i) {
- "object" === typeof globalThis ? (globalThis.regeneratorRuntime = n) : Function("r", "regeneratorRuntime = r")(n)
- }
- },
- "99af": function (e, t, r) {
- "use strict"
- var n = r("23e7"),
- i = r("d039"),
- o = r("e8b5"),
- a = r("861d"),
- s = r("7b0b"),
- l = r("50c4"),
- c = r("8418"),
- u = r("65f0"),
- f = r("1dde"),
- p = r("b622"),
- d = r("2d00"),
- h = p("isConcatSpreadable"),
- m = 9007199254740991,
- g = "Maximum allowed index exceeded",
- y =
- d >= 51 ||
- !i(function () {
- var e = []
- return (e[h] = !1), e.concat()[0] !== e
- }),
- v = f("concat"),
- b = function (e) {
- if (!a(e)) return !1
- var t = e[h]
- return void 0 !== t ? !!t : o(e)
- },
- w = !y || !v
- n(
- {
- target: "Array",
- proto: !0,
- forced: w
- },
- {
- concat: function (e) {
- var t,
- r,
- n,
- i,
- o,
- a = s(this),
- f = u(a, 0),
- p = 0
- for (t = -1, n = arguments.length; t < n; t++)
- if (((o = -1 === t ? a : arguments[t]), b(o))) {
- if (((i = l(o.length)), p + i > m)) throw TypeError(g)
- for (r = 0; r < i; r++, p++) r in o && c(f, p, o[r])
- } else {
- if (p >= m) throw TypeError(g)
- c(f, p++, o)
- }
- return (f.length = p), f
- }
- }
- )
- },
- "9a1f": function (e, t, r) {
- var n = r("825a"),
- i = r("35a1")
- e.exports = function (e, t) {
- var r = arguments.length < 2 ? i(e) : t
- if ("function" != typeof r) throw TypeError(String(e) + " is not iterable")
- return n(r.call(e))
- }
- },
- "9a7e": function (e, t, r) {
- "use strict"
- r.r(t),
- r.d(t, "createTaskController", function () {
- return J
- }),
- r.d(t, "destoryTaskController", function () {
- return $
- }),
- r.d(t, "addCourseWareTask", function () {
- return ee
- }),
- r.d(t, "getRunJobIds", function () {
- return te
- }),
- r.d(t, "initOssResource", function () {
- return re
- }),
- r.d(t, "destroyOssResource", function () {
- return ne
- })
- r("d3b7")
- function n(e, t) {
- ;(null == t || t > e.length) && (t = e.length)
- for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]
- return n
- }
- function i(e) {
- if (Array.isArray(e)) return n(e)
- }
- r("a4d3"), r("e01a"), r("d28b"), r("3ca3"), r("ddb0"), r("a630")
- function o(e) {
- if (("undefined" !== typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e)
- }
- r("fb6a"), r("b0c0")
- function a(e, t) {
- if (e) {
- if ("string" === typeof e) return n(e, t)
- var r = Object.prototype.toString.call(e).slice(8, -1)
- return (
- "Object" === r && e.constructor && (r = e.constructor.name),
- "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? n(e, t) : void 0
- )
- }
- }
- function s() {
- throw new TypeError(
- "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- )
- }
- function l(e) {
- return i(e) || o(e) || a(e) || s()
- }
- r("b64b"), r("4de4"), r("e439"), r("159b"), r("dbb4")
- function c(e, t, r) {
- return (
- t in e
- ? Object.defineProperty(e, t, {
- value: r,
- enumerable: !0,
- configurable: !0,
- writable: !0
- })
- : (e[t] = r),
- e
- )
- }
- function u(e, t) {
- var r = Object.keys(e)
- if (Object.getOwnPropertySymbols) {
- var n = Object.getOwnPropertySymbols(e)
- t &&
- (n = n.filter(function (t) {
- return Object.getOwnPropertyDescriptor(e, t).enumerable
- })),
- r.push.apply(r, n)
- }
- return r
- }
- function f(e) {
- for (var t = 1; t < arguments.length; t++) {
- var r = null != arguments[t] ? arguments[t] : {}
- t % 2
- ? u(Object(r), !0).forEach(function (t) {
- c(e, t, r[t])
- })
- : Object.getOwnPropertyDescriptors
- ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
- : u(Object(r)).forEach(function (t) {
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
- })
- }
- return e
- }
- function p(e) {
- if (Array.isArray(e)) return e
- }
- function d(e, t) {
- var r = null == e ? null : ("undefined" !== typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]
- if (null != r) {
- var n,
- i,
- o = [],
- a = !0,
- s = !1
- try {
- for (r = r.call(e); !(a = (n = r.next()).done); a = !0) if ((o.push(n.value), t && o.length === t)) break
- } catch (l) {
- ;(s = !0), (i = l)
- } finally {
- try {
- a || null == r["return"] || r["return"]()
- } finally {
- if (s) throw i
- }
- }
- return o
- }
- }
- function h() {
- throw new TypeError(
- "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- )
- }
- function m(e, t) {
- return p(e) || d(e, t) || a(e, t) || h()
- }
- function g(e, t) {
- if (null == e) return {}
- var r,
- n,
- i = {},
- o = Object.keys(e)
- for (n = 0; n < o.length; n++) (r = o[n]), t.indexOf(r) >= 0 || (i[r] = e[r])
- return i
- }
- function y(e, t) {
- if (null == e) return {}
- var r,
- n,
- i = g(e, t)
- if (Object.getOwnPropertySymbols) {
- var o = Object.getOwnPropertySymbols(e)
- for (n = 0; n < o.length; n++) (r = o[n]), t.indexOf(r) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, r) && (i[r] = e[r]))
- }
- return i
- }
- function v(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- function b(e, t) {
- for (var r = 0; r < t.length; r++) {
- var n = t[r]
- ;(n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
- }
- }
- function w(e, t, r) {
- return t && b(e.prototype, t), r && b(e, r), e
- }
- r("7db0"), r("caad"), r("2532")
- function x(e, t, r, n, i, o, a) {
- try {
- var s = e[o](a),
- l = s.value
- } catch (c) {
- return void r(c)
- }
- s.done ? t(l) : Promise.resolve(l).then(n, i)
- }
- function A(e) {
- return function () {
- var t = this,
- r = arguments
- return new Promise(function (n, i) {
- var o = e.apply(t, r)
- function a(e) {
- x(o, n, i, a, s, "next", e)
- }
- function s(e) {
- x(o, n, i, a, s, "throw", e)
- }
- a(void 0)
- })
- }
- }
- r("96cf"), r("ac1f"), r("5319"), r("99af"), r("498a"), r("1276")
- var _ = r("9b15"),
- T = r.n(_),
- E = function (e, t, r, n) {
- function i(e) {
- return e instanceof r
- ? e
- : new r(function (t) {
- t(e)
- })
- }
- return new (r || (r = Promise))(function (r, o) {
- function a(e) {
- try {
- l(n.next(e))
- } catch (t) {
- o(t)
- }
- }
- function s(e) {
- try {
- l(n["throw"](e))
- } catch (t) {
- o(t)
- }
- }
- function l(e) {
- e.done ? r(e.value) : i(e.value).then(a, s)
- }
- l((n = n.apply(e, t || [])).next())
- })
- }
- const S = r("df7c")
- function C(e) {
- return new Promise(t => setTimeout(t, e))
- }
- let k
- class L {
- constructor(e) {
- ;(this.host = e.host),
- (this.token = e.token),
- (this.urlExistTimeout = (null === e || void 0 === e ? void 0 : e.urlExistTimeout) ? e.urlExistTimeout : 3e3),
- (this.retryMax = (null === e || void 0 === e ? void 0 : e.retryMax) ? e.retryMax : 0),
- (this.timeout = (null === e || void 0 === e ? void 0 : e.timeout) ? e.timeout : 6e4),
- (this.secure = !(null === e || void 0 === e ? void 0 : e.secure) || e.secure),
- (this.options = e),
- (k = e.fetch || fetch),
- (this.isNodeEnv = e.isNodeEnv || !1)
- }
- fetchOssConfig() {
- return E(this, void 0, void 0, function* () {
- const e = yield k(`https://${this.host}/common/oss-upload-config`, {
- method: "GET",
- headers: {
- Authorization: "Bearer " + this.token
- }
- }),
- t = yield e.json()
- if (0 !== t.status_code) {
- const e = new Error(t.message)
- throw ((e.status_code = t.status_code), e)
- }
- return t.data.upload_config
- })
- }
- init() {
- return E(this, void 0, void 0, function* () {
- // hqy
- return
- // hqy
- try {
- this.ossConfig = yield this.fetchOssConfig()
- const { access_key_id: e, access_key_secret: t, sts_token: r, region: n, bucket: i } = this.ossConfig
- this.client = new T.a({
- timeout: this.timeout,
- retryMax: this.retryMax,
- accessKeyId: e,
- accessKeySecret: t,
- stsToken: r,
- region: n,
- bucket: i,
- refreshSTSToken: () =>
- E(this, void 0, void 0, function* () {
- try {
- return (
- (this.ossConfig = yield this.fetchOssConfig()),
- {
- accessKeyId: this.ossConfig.access_key_id,
- accessKeySecret: this.ossConfig.access_key_secret,
- stsToken: this.ossConfig.sts_token
- }
- )
- } catch (e) {
- console.error("刷新sts token 失败"), this.uploadReject && this.uploadReject(e)
- }
- }),
- secure: this.secure
- })
- } catch (e) {
- throw (console.error("create oss resource error"), e)
- }
- })
- }
- isExist(e) {
- return E(this, void 0, void 0, function* () {
- try {
- e = e.replace(/\+/g, "%2B")
- const t = yield k(e, {
- method: "HEAD"
- })
- return 404 !== t.status
- } catch (t) {
- return !1
- }
- })
- }
- upload(e, t, r) {
- return E(this, void 0, void 0, function* () {
- return new Promise((n, i) =>
- E(this, void 0, void 0, function* () {
- // hqy
- fileUpload({ host: this.host, token: this.token }, { fileName: t.name, file: t })
- .then(res => {
- n(res)
- })
- .catch(err => {
- n("")
- })
- return
- // hqy
- try {
- this.uploadReject = i
- const a = {
- override: !1,
- cache: !1,
- cacheTime: 3600,
- ignorePathPrefix: !1
- }
- r = Object.assign({}, a, r)
- const s = r.ignorePathPrefix ? "" + e : `${this.ossConfig.base_path}/${e}`,
- l = `${this.ossConfig.download_domain}/${s}`
- if (!r.override) {
- const e = yield this.isExist(l)
- if (e) return n(l)
- }
- let c = S.basename(s)
- t instanceof String ? (t = S.normalize(t)) : !this.options.isNodeEnv && t instanceof File && (c = t.name)
- const u = {
- "Content-Disposition": `attachment; filename="${encodeURIComponent(c)}"`
- }
- r.cache ? (u["Cache-Control"] = "max-age=" + r.cacheTime) : (u["Cache-Control"] = "no-cache")
- try {
- yield this.client.multipartUpload(s, t, {
- progress: r.progress,
- headers: u
- })
- } catch (o) {
- i(o)
- }
- let f = !0
- const p = setTimeout(() => {
- ;(f = !1), i(new Error("timeout: url not exist "))
- }, this.urlExistTimeout)
- while (f) {
- const e = yield this.isExist(l)
- if (e) {
- clearTimeout(p), n(l)
- break
- }
- yield C(1e3)
- }
- } catch (o) {
- i(o)
- }
- })
- )
- })
- }
- abort(e, t) {
- return E(this, void 0, void 0, function* () {
- if (e && t) return yield this.client.abortMultipartUpload(e, t)
- console.warn("name or uploadId isn't set")
- })
- }
- }
- var P,
- O,
- j = r("84f2"),
- R = r.n(j),
- I = function () {
- for (
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 6,
- t = "_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
- r = t.length,
- n = "",
- i = 0;
- i < e;
- i++
- ) {
- var o = Math.floor(Math.random() * r)
- n += t[o]
- }
- return n
- },
- N = function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "-",
- t = new Date(),
- r = t.getFullYear(),
- n = t.getMonth() + 1,
- i = "".concat(t.getDate())
- n >= 1 && n <= 9 && (n = "0" + n), i >= 0 && i <= 9 && (i = "0" + i)
- var o = r + e + n + e + i
- return o
- },
- M = (function () {
- var e = A(
- regeneratorRuntime.mark(function e(t, r) {
- return regeneratorRuntime.wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (!P) {
- e.next = 2
- break
- }
- return e.abrupt("return", P)
- case 2:
- return (
- (P = new L({
- // hqy
- //host: t.replace("https://", "").replace("/", "") || "",
- host: t || "",
- // hqy
- token: r,
- timeout: 12e4,
- urlExistTimeout: 6e4,
- retryMax: 3
- })),
- (e.next = 5),
- P.init()
- )
- case 5:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r) {
- return e.apply(this, arguments)
- }
- })(),
- D = function () {
- P && (P = null)
- },
- B = function (e) {
- var t = new R.a()
- return new Promise(function (r, n) {
- t.md5(e, function (e, t) {
- e && n(e), r(t)
- })
- })
- },
- F = (function () {
- var e = A(
- regeneratorRuntime.mark(function e(t, r) {
- var n,
- i,
- o,
- a,
- s,
- l,
- c,
- u = arguments
- return regeneratorRuntime.wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (((n = !(u.length > 2 && void 0 !== u[2]) || u[2]), P)) {
- e.next = 3
- break
- }
- throw new Error("no init ossResource")
- case 3:
- return (i = t.size), (e.next = 6), B(t)
- case 6:
- return (
- (o = e.sent),
- (a = I(10)),
- (s = N("")),
- (l = ""
- .concat(s, "/")
- .concat(t.name.split(".")[0].trim(), "-")
- .concat(a, ".")
- .concat(t.name.substring(t.name.lastIndexOf(".") + 1).trim() || t.type.split("/")[1])),
- (c = ""),
- (e.next = 13),
- P.upload(l, t, {
- cache: n,
- progress: r
- }).catch(function (e) {
- throw new Error(e)
- })
- )
- case 13:
- return (
- (c = e.sent),
- e.abrupt("return", {
- url: c,
- md5: o,
- size: i
- })
- )
- case 15:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r) {
- return e.apply(this, arguments)
- }
- })(),
- U = r("f5f5"),
- z = function (e) {
- return new Promise(function (t, r) {
- var n = e.extra,
- i = n.files,
- o = n.path,
- a = n.paths,
- s = n.type,
- l = n.name,
- c = {
- beforeParse: function () {
- e.progress({
- id: e.id,
- status: O.doing,
- progress: 0
- })
- },
- afterParseSlide: function (t, r, n, i) {
- e.progress({
- id: e.id,
- status: O.doing,
- progress: (n / i) * 100
- })
- },
- upload: F
- }
- U["a"]
- .pptx2json(i, c)
- .then(function (n) {
- var i = new Blob([n], {
- type: ""
- }),
- c = new File([i], "".concat(l, ".json"), {
- type: "application/json"
- })
- F(
- c,
- function (t) {
- e.progress({
- id: e.id,
- status: O.doing,
- progress: 100 * t
- })
- },
- !1
- )
- .then(function (e) {
- return t(
- f(
- f({}, e),
- {},
- {
- name: l,
- contentType: s,
- suffix: ".json",
- path: o,
- paths: a
- }
- )
- )
- })
- .catch(r)
- })
- .catch(r)
- })
- },
- q = function (e) {
- return new Promise(function (t, r) {
- var n = e.extra,
- i = n.files,
- o = n.suffix,
- a = n.path,
- s = n.paths,
- l = n.type,
- c = n.name
- e.progress({
- id: e.id,
- status: O.doing,
- progress: 0
- })
- var u = new FileReader()
- u.readAsText(i, "UTF-8"),
- (u.onloadend = function () {
- var n = u.result
- try {
- var p = JSON.parse(n),
- d = Object.keys(p) || []
- d.includes("slides") && d.includes("theme")
- ? F(
- i,
- function (t) {
- e.progress({
- id: e.id,
- status: O.doing,
- progress: 100 * t
- })
- },
- !1
- )
- .then(function (e) {
- return t(
- f(
- f({}, e),
- {},
- {
- name: c,
- contentType: l,
- suffix: o,
- path: a,
- paths: s
- }
- )
- )
- })
- .catch(r)
- : r(new Error("invalid theme or slides"))
- } catch (h) {
- r(h)
- }
- })
- })
- },
- G = function (e) {
- return new Promise(function (t, r) {
- var n = e.extra,
- i = n.files,
- o = n.suffix,
- a = n.path,
- s = n.paths,
- l = n.type,
- c = n.name
- F(i, function (t) {
- e.progress({
- id: e.id,
- status: O.doing,
- progress: 100 * t
- })
- })
- .then(function (e) {
- return t(
- f(
- f({}, e),
- {},
- {
- name: c,
- contentType: l,
- suffix: o,
- path: a,
- paths: s
- }
- )
- )
- })
- .catch(r)
- })
- },
- W = function (e) {
- return new Promise(function (t, r) {
- var n = e.extra.suffix,
- i = void 0 === n ? ".pptx" : n,
- o = null
- switch (i) {
- case ".pptx":
- o = z
- break
- case ".json":
- o = q
- break
- default:
- o = G
- break
- }
- o
- ? (e.progress({
- id: e.id,
- status: O.start,
- progress: 0,
- jobExtra: e
- }),
- o &&
- o(e)
- .then(function (r) {
- e.progress({
- id: e.id,
- status: O.done,
- progress: 100,
- extra: r
- }),
- t(r)
- })
- .catch(function (t) {
- e.progress({
- id: e.id,
- status: O.failed,
- progress: 100,
- extra: {
- errorMsg: t.message
- }
- }),
- r(t)
- }))
- : r(new Error("no found upload function:".concat(i)))
- })
- },
- V = function (e) {
- return new Promise(function (t, r) {
- var n = e.extra,
- i = n.jsonUrl,
- o = n.name,
- a = n.id,
- s = n.type,
- l = {
- name: "".concat(o, ".pptx"),
- viewportRatio: 0.5625,
- beforeParse: function () {
- e.progress({
- id: e.id,
- status: O.doing,
- progress: 0
- })
- },
- afterParseSlide: function (t, r, n, i) {
- e.progress({
- id: e.id,
- status: O.doing,
- progress: (n / i) * 100
- })
- }
- }
- U["a"]
- .json2pptx(i, l)
- .then(function (e) {
- t({
- id: a,
- type: s,
- name: "".concat(o, ".pptx"),
- buffer: e,
- contentType: "application/vnd.openxmlformats-officedocument.presentationml.presentation",
- suffix: ".pptx"
- })
- })
- .catch(r)
- })
- },
- H = function (e) {
- return new Promise(function (t, r) {
- var n = e.extra.taskType,
- i = void 0 === n ? "json2pptx" : n,
- o = null
- switch (i) {
- case "json2pptx":
- o = V
- break
- }
- o
- ? (e.progress({
- id: e.id,
- status: O.start,
- progress: 0,
- jobExtra: e
- }),
- o &&
- o(e)
- .then(function (r) {
- e.progress({
- id: e.id,
- status: O.done,
- progress: 100,
- extra: r
- }),
- t(r)
- })
- .catch(function (t) {
- e.progress({
- id: e.id,
- status: O.failed,
- progress: 100,
- extra: {
- errorMsg: t.message
- }
- }),
- r(t)
- }))
- : r(new Error("no found dowload function:".concat(i)))
- })
- },
- X = ["extra", "type"],
- Y = "progress"
- ;(function (e) {
- ;(e["pending"] = "pending"), (e["start"] = "start"), (e["doing"] = "doing"), (e["done"] = "done"), (e["failed"] = "failed")
- })(O || (O = {}))
- var K = function () {
- for (
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 6,
- t = "_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
- r = t.length,
- n = "",
- i = 0;
- i < e;
- i++
- ) {
- var o = Math.floor(Math.random() * r)
- n += t[o]
- }
- return n
- },
- Z = (function () {
- function e(t, r) {
- v(this, e),
- (this.jobs = []),
- (this.jobsExtra = []),
- (this.jobsExtraed = []),
- (this.runJobIds = []),
- (this.timeId = null),
- (this.timeOut = 100),
- (this.jobTimeOut = 36e5),
- (this.asyncJobNum = 3),
- (this.running = !1),
- t && (this.timeOut = t),
- r && (this.jobTimeOut = r)
- }
- return (
- w(e, [
- {
- key: "destroy",
- value: function () {
- ;(this.running = !1),
- (this.jobs.length = 0),
- (this.jobsExtra.length = 0),
- (this.runJobIds.length = 0),
- this.timeId && clearInterval(this.timeId),
- (this.timeId = null)
- }
- },
- {
- key: "addCourseWareTask",
- value: function (e) {
- var t = this
- return new Promise(function (r, n) {
- e.type || n(new Error("taskType must be a string"))
- var i = e.extra,
- o = e.type,
- a = y(e, X)
- i = Array.isArray(i) ? i : [i]
- var s = [],
- l = []
- i.forEach(function (e) {
- var r = t.createJob(o, e),
- n = m(r, 2),
- i = n[0],
- c = n[1]
- s.push(f(f({}, i), a)), l.push(c)
- }),
- r([s, l])
- })
- .then(function (e) {
- var r,
- n,
- i = m(e, 2),
- o = i[0],
- a = i[1]
- return (r = t.jobs).push.apply(r, l(o)), (n = t.jobsExtra).push.apply(n, l(a)), o
- })
- .then(function (e) {
- return t.startTask(), e
- })
- }
- },
- {
- key: "startTask",
- value: function () {
- var e = this
- return new Promise(function (t, r) {
- e.running || ((e.running = !0), e.createTimer().then(t).catch(r))
- })
- }
- },
- {
- key: "stopTask",
- value: function () {
- ;(this.running = !1), this.timeId && clearInterval(this.timeId), (this.timeId = null), (this.runJobIds.length = 0)
- }
- },
- {
- key: "getRunJobIds",
- value: function () {
- return this.runJobIds
- }
- },
- {
- key: "onProgress",
- value: function (e) {
- var t = e.id,
- r = e.progress,
- n = e.status,
- i = e.jobExtra,
- o = e.extra,
- a = this.jobs.find(function (e) {
- return e.id === t
- })
- a &&
- ((a.progress = r),
- (a.status = n),
- n === O.start && this.jobsExtraed.push(i),
- (n !== O.done && n !== O.failed) ||
- (this.runJobIds = this.runJobIds
- .filter(function (e) {
- return e !== t
- })
- .filter(Boolean)),
- self.postMessage({
- id: K(),
- type: Y,
- result: f(
- f({}, a),
- {},
- {
- extra: o
- }
- )
- }))
- }
- },
- {
- key: "createTimer",
- value: function () {
- var e = this
- return new Promise(function (t, r) {
- var n = e
- n.timeId = self.setInterval(function () {
- var t = n.runJobIds.length
- if (t !== n.asyncJobNum && 0 !== n.jobsExtra.length) {
- for (var i = n.asyncJobNum - t, o = [], a = 0; a < i; a++) n.jobsExtra.length > 0 && o.push(n.jobsExtra.pop())
- ;(o = o.filter(Boolean)),
- o.forEach(function (t) {
- n.doJob(t)
- .then(function () {
- e.runJobIds.push(t.id)
- })
- .catch(r)
- })
- }
- }, n.timeOut)
- })
- }
- },
- {
- key: "doJob",
- value: function (e) {
- return Promise.resolve().then(function () {
- e.jobFunc(e)
- })
- }
- },
- {
- key: "createJob",
- value: function (e, t) {
- var r = {
- id: K(),
- name: t.outputName || t.name || "未命名",
- type: e,
- progress: 0,
- status: O.pending
- },
- n = {
- id: r.id,
- extra: t,
- progress: this.onProgress.bind(this),
- jobFunc: this.createJobFunc(r)
- }
- return [r, n]
- }
- },
- {
- key: "createJobFunc",
- value: function (e) {
- var t = null
- switch (e.type) {
- case "downloadCourseware":
- t = H
- break
- case "uploadCourseware":
- t = W
- break
- }
- return t
- }
- }
- ]),
- e
- )
- })(),
- Q = null,
- J = function () {
- return Q || (Q = new Z()), Q
- },
- $ = function () {
- Q = null
- },
- ee = function (e) {
- return new Promise(function (t, r) {
- Q ? Q.addCourseWareTask(e).then(t).catch(r) : r(new Error("no found courseWareTaskController instance "))
- })
- },
- te = function () {
- var e
- return (null === (e = Q) || void 0 === e ? void 0 : e.getRunJobIds()) || []
- },
- re = function (e, t) {
- M(e, t)
- },
- ne = function () {
- D()
- }
- addEventListener("message", function (e) {
- var r,
- n,
- i = e.data,
- o = i.type,
- a = i.method,
- s = i.id,
- l = i.params
- "RPC" === o &&
- a &&
- ((n = (r = t[a])
- ? Promise.resolve().then(function () {
- return r.apply(t, l)
- })
- : Promise.reject("No such method")),
- n
- .then(function (e) {
- postMessage({
- type: "RPC",
- id: s,
- result: e
- })
- })
- .catch(function (e) {
- var t = {
- message: e
- }
- e.stack && ((t.message = e.message), (t.stack = e.stack), (t.name = e.name)),
- postMessage({
- type: "RPC",
- id: s,
- error: t
- })
- }))
- }),
- postMessage({
- type: "RPC",
- method: "ready"
- })
- },
- "9b12": function (e, t) {
- e.exports = {
- isArray: function (e) {
- return Array.isArray ? Array.isArray(e) : "[object Array]" === Object.prototype.toString.call(e)
- }
- }
- },
- "9b15": function (module, exports, __webpack_require__) {
- ;(function (global) {
- var require, require
- ;(function (e) {
- module.exports = e()
- })(function () {
- var define, module, exports
- return (function () {
- function e(t, r, n) {
- function i(a, s) {
- if (!r[a]) {
- if (!t[a]) {
- var l = "function" == typeof require && require
- if (!s && l) return require(a, !0)
- if (o) return o(a, !0)
- var c = new Error("Cannot find module '" + a + "'")
- throw ((c.code = "MODULE_NOT_FOUND"), c)
- }
- var u = (r[a] = {
- exports: {}
- })
- t[a][0].call(
- u.exports,
- function (e) {
- var r = t[a][1][e]
- return i(r || e)
- },
- u,
- u.exports,
- e,
- t,
- r,
- n
- )
- }
- return r[a].exports
- }
- for (var o = "function" == typeof require && require, a = 0; a < n.length; a++) i(n[a])
- return i
- }
- return e
- })()(
- {
- 1: [
- function (e, t, r) {
- "use strict"
- var n = e("./browser/client")
- ;(n.Buffer = e("buffer").Buffer),
- (n.urllib = e("../shims/xhr")),
- (n.version = e("./browser/version").version),
- (t.exports = n)
- },
- {
- "../shims/xhr": 396,
- "./browser/client": 2,
- "./browser/version": 5,
- buffer: 99
- }
- ],
- 2: [
- function (e, t, r) {
- ;(function (r, n) {
- "use strict"
- var i = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.symbol"),
- e("core-js/modules/es.symbol.description"),
- e("core-js/modules/es.array.concat"),
- e("core-js/modules/es.array.includes"),
- e("core-js/modules/es.array.index-of"),
- e("core-js/modules/es.array.slice"),
- e("core-js/modules/es.function.name"),
- e("core-js/modules/es.object.assign"),
- e("core-js/modules/es.object.to-string"),
- e("core-js/modules/es.promise"),
- e("core-js/modules/es.regexp.exec"),
- e("core-js/modules/es.regexp.to-string"),
- e("core-js/modules/es.string.replace"),
- e("core-js/modules/es.string.split")
- var o = i(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var a = i(e("@babel/runtime/helpers/asyncToGenerator")),
- s = e("debug")("ali-oss"),
- l = e("xml2js"),
- c = e("agentkeepalive"),
- u = e("merge-descriptors"),
- f = e("platform"),
- p = e("utility"),
- d = e("urllib"),
- h = e("./version"),
- m = e("bowser"),
- g = e("../common/signUtils"),
- y = e("../common/client/initOptions"),
- v = e("../common/utils/createRequest"),
- b = v.createRequest,
- w = e("../common/utils/encoder"),
- x = w.encoder,
- A = e("../common/client/getReqUrl"),
- _ = A.getReqUrl,
- T = e("../common/utils/setSTSToken"),
- E = T.setSTSToken,
- S = e("../common/utils/retry"),
- C = S.retry,
- k = e("../common/utils/isFunction"),
- L = k.isFunction,
- P = new c()
- function O() {
- var e = f.name,
- t = f.version
- e &&
- e.toLowerCase &&
- "ie" === e.toLowerCase() &&
- t.split(".")[0] < 10 &&
- console.warn("ali-oss does not support the current browser")
- }
- function j() {
- return location && "https:" === location.protocol
- }
- function R(e, t) {
- if ((O(), !(this instanceof R))) return new R(e, t)
- e && e.inited ? (this.options = e) : (this.options = R.initOptions(e)),
- (this.options.cancelFlag = !1),
- this.options.urllib
- ? (this.urllib = this.options.urllib)
- : ((this.urllib = d), (this.agent = this.options.agent || P)),
- (this.ctx = t),
- (this.userAgent = this._getUserAgent()),
- (this.options.amendTimeSkewed = 0)
- }
- ;(t.exports = R),
- (R.initOptions = function (e) {
- e.stsToken ||
- console.warn(
- "Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html"
- )
- var t = Object.assign(
- {
- secure: j(),
- useFetch: !1
- },
- e
- )
- return y(t)
- })
- var I = R.prototype
- function N(e) {
- return M.apply(this, arguments)
- }
- function M() {
- return (
- (M = (0, a.default)(
- o.default.mark(function e(t) {
- var r, n, i, a, s, l
- return o.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (!this.options.stsToken || !L(this.options.refreshSTSToken)) {
- e.next = 3
- break
- }
- return (e.next = 3), E.call(this)
- case 3:
- return (
- (r = b.call(this, t)),
- this.options.useFetch || (r.params.mode = "disable-fetch"),
- (a = !!t.stream),
- (e.prev = 6),
- (e.next = 9),
- this.urllib.request(r.url, r.params)
- )
- case 9:
- ;(n = e.sent),
- this.debug(
- "response %s %s, got %s, headers: %j",
- t.method,
- r.url,
- n.status,
- n.headers,
- "info"
- ),
- (e.next = 16)
- break
- case 13:
- ;(e.prev = 13), (e.t0 = e["catch"](6)), (i = e.t0)
- case 16:
- if (!n || !t.successStatuses || -1 !== t.successStatuses.indexOf(n.status)) {
- e.next = 28
- break
- }
- return (e.next = 19), this.requestError(n)
- case 19:
- if (((s = e.sent), "RequestTimeTooSkewed" !== s.code || a)) {
- e.next = 25
- break
- }
- return (
- (this.options.amendTimeSkewed = +new Date(s.serverTime) - new Date()),
- (e.next = 24),
- this.request(t)
- )
- case 24:
- return e.abrupt("return", e.sent)
- case 25:
- ;(s.params = t), (e.next = 32)
- break
- case 28:
- if (!i) {
- e.next = 32
- break
- }
- return (e.next = 31), this.requestError(i)
- case 31:
- s = e.sent
- case 32:
- if (!s) {
- e.next = 34
- break
- }
- throw s
- case 34:
- if (!t.xmlResponse) {
- e.next = 39
- break
- }
- return (e.next = 37), this.parseXML(n.data)
- case 37:
- ;(l = e.sent), (n.data = l)
- case 39:
- return e.abrupt("return", n)
- case 40:
- case "end":
- return e.stop()
- }
- },
- e,
- this,
- [[6, 13]]
- )
- })
- )),
- M.apply(this, arguments)
- )
- }
- ;(I.debug = s),
- u(I, e("./object")),
- u(I, e("../common/bucket/getBucketWebsite")),
- u(I, e("../common/bucket/putBucketWebsite")),
- u(I, e("../common/bucket/deleteBucketWebsite")),
- u(I, e("../common/bucket/getBucketLifecycle")),
- u(I, e("../common/bucket/putBucketLifecycle")),
- u(I, e("../common/bucket/deleteBucketLifecycle")),
- u(I, e("../common/bucket/putBucketVersioning")),
- u(I, e("../common/bucket/getBucketVersioning")),
- u(I, e("../common/bucket/getBucketInventory")),
- u(I, e("../common/bucket/deleteBucketInventory")),
- u(I, e("../common/bucket/listBucketInventory")),
- u(I, e("../common/bucket/putBucketInventory")),
- u(I, e("../common/bucket/abortBucketWorm")),
- u(I, e("../common/bucket/completeBucketWorm")),
- u(I, e("../common/bucket/extendBucketWorm")),
- u(I, e("../common/bucket/getBucketWorm")),
- u(I, e("../common/bucket/initiateBucketWorm")),
- u(I, e("./managed-upload")),
- u(I, e("../common/multipart")),
- u(I, e("../common/parallel")),
- (I.signature = function (e) {
- return (
- this.debug("authorization stringToSign: %s", e, "info"),
- g.computeSignature(this.options.accessKeySecret, e, this.options.headerEncoding)
- )
- }),
- (I._getReqUrl = _),
- (I.authorization = function (e, t, r, n) {
- var i = g.buildCanonicalString(e.toUpperCase(), t, {
- headers: n,
- parameters: r
- })
- return g.authorization(this.options.accessKeyId, this.options.accessKeySecret, i, this.options.headerEncoding)
- }),
- (I.request = (function () {
- var e = (0, a.default)(
- o.default.mark(function e(t) {
- var r = this
- return o.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (!this.options.retryMax) {
- e.next = 6
- break
- }
- return (
- (e.next = 3),
- C(N.bind(this), this.options.retryMax, {
- errorHandler: function (e) {
- var n = function (e) {
- if (t.stream) return !1
- var n = [-1, -2].includes(e.status),
- i =
- r.options.requestErrorRetryHandle ||
- function () {
- return !0
- }
- return n && i(e)
- }
- return !!n(e)
- }
- })(t)
- )
- case 3:
- return e.abrupt("return", e.sent)
- case 6:
- return e.abrupt("return", N.call(this, t))
- case 7:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- return function (t) {
- return e.apply(this, arguments)
- }
- })()),
- (I._getResource = function (e) {
- var t = "/"
- return e.bucket && (t += "".concat(e.bucket, "/")), e.object && (t += x(e.object, this.options.headerEncoding)), t
- }),
- (I._escape = function (e) {
- return p.encodeURIComponent(e).replace(/%2F/g, "/")
- }),
- (I._getUserAgent = function () {
- var e = n && n.browser ? "js" : "nodejs",
- t = "aliyun-sdk-".concat(e, "/").concat(h.version),
- r = f.description
- return (
- !r && n && (r = "Node.js ".concat(n.version.slice(1), " on ").concat(n.platform, " ").concat(n.arch)),
- this._checkUserAgent("".concat(t, " ").concat(r))
- )
- }),
- (I._checkUserAgent = function (e) {
- var t = e.replace(/\u03b1/, "alpha").replace(/\u03b2/, "beta")
- return t
- }),
- (I.checkBrowserAndVersion = function (e, t) {
- return m.name === e && m.version.split(".")[0] === t
- }),
- (I.parseXML = function (e) {
- return new Promise(function (t, n) {
- r.isBuffer(e) && (e = e.toString()),
- l.parseString(
- e,
- {
- explicitRoot: !1,
- explicitArray: !1
- },
- function (e, r) {
- e ? n(e) : t(r)
- }
- )
- })
- }),
- (I.requestError = (function () {
- var e = (0, a.default)(
- o.default.mark(function e(t) {
- var r, n, i, a
- return o.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (((r = null), t.data && t.data.length)) {
- e.next = 5
- break
- }
- ;-1 === t.status || -2 === t.status
- ? ((r = new Error(t.message)), (r.name = t.name), (r.status = t.status), (r.code = t.name))
- : (404 === t.status
- ? ((r = new Error("Object not exists")),
- (r.name = "NoSuchKeyError"),
- (r.status = 404),
- (r.code = "NoSuchKey"))
- : 412 === t.status
- ? ((r = new Error("Pre condition failed")),
- (r.name = "PreconditionFailedError"),
- (r.status = 412),
- (r.code = "PreconditionFailed"))
- : ((r = new Error("Unknow error, status: ".concat(t.status))),
- (r.name = "UnknowError"),
- (r.status = t.status)),
- (r.requestId = t.headers["x-oss-request-id"]),
- (r.host = "")),
- (e.next = 32)
- break
- case 5:
- return (
- (n = String(t.data)),
- this.debug("request response error data: %s", n, "error"),
- (e.prev = 7),
- (e.next = 10),
- this.parseXML(n)
- )
- case 10:
- if (((e.t0 = e.sent), e.t0)) {
- e.next = 13
- break
- }
- e.t0 = {}
- case 13:
- ;(i = e.t0), (e.next = 23)
- break
- case 16:
- return (
- (e.prev = 16),
- (e.t1 = e["catch"](7)),
- this.debug(n, "error"),
- (e.t1.message += "\nraw xml: ".concat(n)),
- (e.t1.status = t.status),
- (e.t1.requestId = t.headers["x-oss-request-id"]),
- e.abrupt("return", e.t1)
- )
- case 23:
- ;(a = i.Message || "unknow request error, status: ".concat(t.status)),
- i.Condition && (a += " (condition: ".concat(i.Condition, ")")),
- (r = new Error(a)),
- (r.name = i.Code ? "".concat(i.Code, "Error") : "UnknowError"),
- (r.status = t.status),
- (r.code = i.Code),
- (r.requestId = i.RequestId),
- (r.hostId = i.HostId),
- (r.serverTime = i.ServerTime)
- case 32:
- return this.debug("generate error %j", r, "error"), e.abrupt("return", r)
- case 34:
- case "end":
- return e.stop()
- }
- },
- e,
- this,
- [[7, 16]]
- )
- })
- )
- function t(t) {
- return e.apply(this, arguments)
- }
- return t
- })())
- }).call(
- this,
- {
- isBuffer: e("../../node_modules/is-buffer/index.js")
- },
- e("_process")
- )
- },
- {
- "../../node_modules/is-buffer/index.js": 307,
- "../common/bucket/abortBucketWorm": 6,
- "../common/bucket/completeBucketWorm": 7,
- "../common/bucket/deleteBucketInventory": 8,
- "../common/bucket/deleteBucketLifecycle": 9,
- "../common/bucket/deleteBucketWebsite": 10,
- "../common/bucket/extendBucketWorm": 11,
- "../common/bucket/getBucketInventory": 12,
- "../common/bucket/getBucketLifecycle": 13,
- "../common/bucket/getBucketVersioning": 14,
- "../common/bucket/getBucketWebsite": 15,
- "../common/bucket/getBucketWorm": 16,
- "../common/bucket/initiateBucketWorm": 17,
- "../common/bucket/listBucketInventory": 18,
- "../common/bucket/putBucketInventory": 19,
- "../common/bucket/putBucketLifecycle": 20,
- "../common/bucket/putBucketVersioning": 21,
- "../common/bucket/putBucketWebsite": 22,
- "../common/client/getReqUrl": 24,
- "../common/client/initOptions": 25,
- "../common/multipart": 28,
- "../common/parallel": 46,
- "../common/signUtils": 47,
- "../common/utils/createRequest": 52,
- "../common/utils/encoder": 55,
- "../common/utils/isFunction": 63,
- "../common/utils/retry": 68,
- "../common/utils/setSTSToken": 70,
- "./managed-upload": 3,
- "./object": 4,
- "./version": 5,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- _process: 392,
- agentkeepalive: 76,
- bowser: 78,
- "core-js/modules/es.array.concat": 234,
- "core-js/modules/es.array.includes": 240,
- "core-js/modules/es.array.index-of": 241,
- "core-js/modules/es.array.slice": 246,
- "core-js/modules/es.function.name": 249,
- "core-js/modules/es.object.assign": 251,
- "core-js/modules/es.object.to-string": 254,
- "core-js/modules/es.promise": 255,
- "core-js/modules/es.regexp.exec": 256,
- "core-js/modules/es.regexp.to-string": 257,
- "core-js/modules/es.string.replace": 261,
- "core-js/modules/es.string.split": 263,
- "core-js/modules/es.symbol": 266,
- "core-js/modules/es.symbol.description": 265,
- debug: 390,
- "merge-descriptors": 310,
- platform: 316,
- "regenerator-runtime/runtime": 336,
- urllib: 396,
- utility: 395,
- xml2js: 351
- }
- ],
- 3: [
- function (e, t, r) {
- ;(function (t) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.concat"),
- e("core-js/modules/es.array.filter"),
- e("core-js/modules/es.array.find"),
- e("core-js/modules/es.array.from"),
- e("core-js/modules/es.array.index-of"),
- e("core-js/modules/es.array.iterator"),
- e("core-js/modules/es.array.map"),
- e("core-js/modules/es.array.slice"),
- e("core-js/modules/es.array-buffer.slice"),
- e("core-js/modules/es.function.name"),
- e("core-js/modules/es.object.to-string"),
- e("core-js/modules/es.promise"),
- e("core-js/modules/es.regexp.to-string"),
- e("core-js/modules/es.string.iterator"),
- e("core-js/modules/es.typed-array.uint8-array"),
- e("core-js/modules/es.typed-array.copy-within"),
- e("core-js/modules/es.typed-array.every"),
- e("core-js/modules/es.typed-array.fill"),
- e("core-js/modules/es.typed-array.filter"),
- e("core-js/modules/es.typed-array.find"),
- e("core-js/modules/es.typed-array.find-index"),
- e("core-js/modules/es.typed-array.for-each"),
- e("core-js/modules/es.typed-array.includes"),
- e("core-js/modules/es.typed-array.index-of"),
- e("core-js/modules/es.typed-array.iterator"),
- e("core-js/modules/es.typed-array.join"),
- e("core-js/modules/es.typed-array.last-index-of"),
- e("core-js/modules/es.typed-array.map"),
- e("core-js/modules/es.typed-array.reduce"),
- e("core-js/modules/es.typed-array.reduce-right"),
- e("core-js/modules/es.typed-array.reverse"),
- e("core-js/modules/es.typed-array.set"),
- e("core-js/modules/es.typed-array.slice"),
- e("core-js/modules/es.typed-array.some"),
- e("core-js/modules/es.typed-array.sort"),
- e("core-js/modules/es.typed-array.subarray"),
- e("core-js/modules/es.typed-array.to-locale-string"),
- e("core-js/modules/es.typed-array.to-string")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = e("util"),
- s = e("path"),
- l = e("mime"),
- c = e("copy-to"),
- u = e("../common/utils/isBlob"),
- f = u.isBlob,
- p = e("../common/utils/isFile"),
- d = p.isFile,
- h = e("../common/utils/isArray"),
- m = (h.isArray, e("../common/utils/isBuffer")),
- g = m.isBuffer,
- y = e("../common/utils/retry"),
- v = (y.retry, r)
- ;(v.multipartUpload = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n,
- o,
- a,
- c,
- u,
- p,
- h,
- m,
- y,
- v = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((n = v.length > 2 && void 0 !== v[2] ? v[2] : {}),
- this.resetCancelFlag(),
- (n.disabledMD5 = void 0 === n.disabledMD5 || !!n.disabledMD5),
- !n.checkpoint || !n.checkpoint.uploadId)
- ) {
- e.next = 8
- break
- }
- return r && d(r) && (n.checkpoint.file = r), (e.next = 7), this._resumeMultipart(n.checkpoint, n)
- case 7:
- return e.abrupt("return", e.sent)
- case 8:
- return (
- (o = 102400),
- n.mime ||
- (d(r)
- ? (n.mime = l.getType(s.extname(r.name)))
- : f(r)
- ? (n.mime = r.type)
- : g(r)
- ? (n.mime = "")
- : (n.mime = l.getType(s.extname(r)))),
- (n.headers = n.headers || {}),
- this._convertMetaToHeaders(n.meta, n.headers),
- (e.next = 14),
- this._getFileSize(r)
- )
- case 14:
- if (((a = e.sent), !(a < o))) {
- e.next = 26
- break
- }
- return (n.contentLength = a), (e.next = 19), this.put(t, r, n)
- case 19:
- if (((c = e.sent), !n || !n.progress)) {
- e.next = 23
- break
- }
- return (e.next = 23), n.progress(1)
- case 23:
- return (
- (u = {
- res: c.res,
- bucket: this.options.bucket,
- name: t,
- etag: c.res.headers.etag
- }),
- ((n.headers && n.headers["x-oss-callback"]) || n.callback) && (u.data = c.data),
- e.abrupt("return", u)
- )
- case 26:
- if (!n.partSize || parseInt(n.partSize, 10) === n.partSize) {
- e.next = 28
- break
- }
- throw new Error("partSize must be int number")
- case 28:
- if (!(n.partSize && n.partSize < o)) {
- e.next = 30
- break
- }
- throw new Error("partSize must not be smaller than ".concat(o))
- case 30:
- return (e.next = 32), this.initMultipartUpload(t, n)
- case 32:
- if (
- ((p = e.sent),
- (h = p.uploadId),
- (m = this._getPartSize(a, n.partSize)),
- (y = {
- file: r,
- name: t,
- fileSize: a,
- partSize: m,
- uploadId: h,
- doneParts: []
- }),
- !n || !n.progress)
- ) {
- e.next = 39
- break
- }
- return (e.next = 39), n.progress(0, y, p.res)
- case 39:
- return (e.next = 41), this._resumeMultipart(y, n)
- case 41:
- return e.abrupt("return", e.sent)
- case 42:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r) {
- return e.apply(this, arguments)
- }
- return t
- })()),
- (v._resumeMultipart = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n, a, s, l, u, f, p, d, h, m, g, y, v, b, w, x, A, _, T
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (((n = this), !this.isCancel())) {
- e.next = 3
- break
- }
- throw this._makeCancelEvent()
- case 3:
- return (
- (a = t.file),
- (s = t.fileSize),
- (l = t.partSize),
- (u = t.uploadId),
- (f = t.doneParts),
- (p = t.name),
- (d = []),
- f.length > 0 && c(f).to(d),
- (h = this._divideParts(s, l)),
- (m = h.length),
- (g = !1),
- (y = function (e, n) {
- return new Promise(
- (function () {
- var s = (0, o.default)(
- i.default.mark(function o(s, l) {
- var d, y, v, b, w
- return i.default.wrap(
- function (i) {
- while (1)
- switch ((i.prev = i.next)) {
- case 0:
- if (((i.prev = 0), e.isCancel())) {
- i.next = 29
- break
- }
- return (
- (d = h[n - 1]),
- (i.next = 5),
- e._createBuffer(a, d.start, d.end)
- )
- case 5:
- return (
- (y = i.sent),
- (v = {
- content: y,
- size: d.end - d.start
- }),
- (i.prev = 7),
- (i.next = 10),
- e._uploadPart(p, u, n, v, {
- timeout: r.timeout,
- disabledMD5: r.disabledMD5
- })
- )
- case 10:
- ;(b = i.sent), (i.next = 18)
- break
- case 13:
- if (
- ((i.prev = 13), (i.t0 = i["catch"](7)), 404 !== i.t0.status)
- ) {
- i.next = 17
- break
- }
- throw e._makeAbortEvent()
- case 17:
- throw i.t0
- case 18:
- if (e.isCancel() || g) {
- i.next = 26
- break
- }
- if (
- (t.doneParts.push({
- number: n,
- etag: b.res.headers.etag
- }),
- !r.progress)
- ) {
- i.next = 23
- break
- }
- return (i.next = 23), r.progress(f.length / m, t, b.res)
- case 23:
- s({
- number: n,
- etag: b.res.headers.etag
- }),
- (i.next = 27)
- break
- case 26:
- s()
- case 27:
- i.next = 30
- break
- case 29:
- s()
- case 30:
- i.next = 41
- break
- case 32:
- ;(i.prev = 32),
- (i.t1 = i["catch"](0)),
- (w = new Error()),
- (w.name = i.t1.name),
- (w.message = i.t1.message),
- (w.stack = i.t1.stack),
- (w.partNum = n),
- c(i.t1).to(w),
- l(w)
- case 41:
- case "end":
- return i.stop()
- }
- },
- o,
- null,
- [
- [0, 32],
- [7, 13]
- ]
- )
- })
- )
- return function (e, t) {
- return s.apply(this, arguments)
- }
- })()
- )
- }),
- (v = Array.from(new Array(m), function (e, t) {
- return t + 1
- })),
- (b = d.map(function (e) {
- return e.number
- })),
- (w = v.filter(function (e) {
- return b.indexOf(e) < 0
- })),
- (x = 5),
- (A = r.parallel || x),
- (e.next = 17),
- this._parallel(w, A, function (e) {
- return new Promise(function (t, r) {
- y(n, e)
- .then(function (e) {
- e && d.push(e), t()
- })
- .catch(function (e) {
- r(e)
- })
- })
- })
- )
- case 17:
- if (
- ((_ = e.sent),
- (g = !0),
- (T = _.find(function (e) {
- return "abort" === e.name
- })),
- !T)
- ) {
- e.next = 22
- break
- }
- throw T
- case 22:
- if (!this.isCancel()) {
- e.next = 25
- break
- }
- throw ((y = null), this._makeCancelEvent())
- case 25:
- if (!(_ && _.length > 0)) {
- e.next = 28
- break
- }
- throw (
- ((_[0].message = "Failed to upload some parts with error: "
- .concat(_[0].toString(), " part_num: ")
- .concat(_[0].partNum)),
- _[0])
- )
- case 28:
- return (e.next = 30), this.completeMultipartUpload(p, u, d, r)
- case 30:
- return e.abrupt("return", e.sent)
- case 31:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r) {
- return e.apply(this, arguments)
- }
- return t
- })()),
- (v._getFileSize = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t) {
- return i.default.wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (!g(t)) {
- e.next = 4
- break
- }
- return e.abrupt("return", t.length)
- case 4:
- if (!f(t) && !d(t)) {
- e.next = 6
- break
- }
- return e.abrupt("return", t.size)
- case 6:
- throw new Error("_getFileSize requires Buffer/File/Blob.")
- case 7:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- function t(t) {
- return e.apply(this, arguments)
- }
- return t
- })())
- var b = e("stream"),
- w = b.Readable
- function x(e, t) {
- if (!(this instanceof x)) return new x(e, t)
- w.call(this, t),
- (this.file = e),
- (this.reader = new FileReader()),
- (this.start = 0),
- (this.finish = !1),
- (this.fileBuffer = null)
- }
- function A(e) {
- return e.arrayBuffer
- ? e.arrayBuffer()
- : new Promise(function (t, r) {
- var n = new FileReader()
- ;(n.onload = function (e) {
- t(e.target.result)
- }),
- (n.onerror = function (e) {
- r(e)
- }),
- n.readAsArrayBuffer(e)
- })
- }
- a.inherits(x, w),
- (x.prototype.readFileAndPush = function (e) {
- if (this.fileBuffer) {
- var t = !0
- while (t && this.fileBuffer && this.start < this.fileBuffer.length) {
- var r = this.start,
- n = r + e
- ;(n = n > this.fileBuffer.length ? this.fileBuffer.length : n),
- (this.start = n),
- (t = this.push(this.fileBuffer.slice(r, n)))
- }
- }
- }),
- (x.prototype._read = function (e) {
- if (
- (this.file && this.start >= this.file.size) ||
- (this.fileBuffer && this.start >= this.fileBuffer.length) ||
- this.finish ||
- (0 === this.start && !this.file)
- )
- return this.finish || ((this.fileBuffer = null), (this.finish = !0)), void this.push(null)
- var r = 16384
- e = e || r
- var n = this
- ;(this.reader.onload = function (r) {
- ;(n.fileBuffer = t.from(new Uint8Array(r.target.result))), (n.file = null), n.readFileAndPush(e)
- }),
- 0 === this.start ? this.reader.readAsArrayBuffer(this.file) : this.readFileAndPush(e)
- }),
- (v._createBuffer = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(r, n, o) {
- var a, s
- return i.default.wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (!f(r) && !d(r)) {
- e.next = 8
- break
- }
- return (a = r.slice(n, o)), (e.next = 4), A(a)
- case 4:
- return (s = e.sent), e.abrupt("return", t.from(s))
- case 8:
- if (!g(r)) {
- e.next = 12
- break
- }
- return e.abrupt("return", r.subarray(n, o))
- case 12:
- throw new Error("_createBuffer requires File/Blob/Buffer.")
- case 13:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- function r(t, r, n) {
- return e.apply(this, arguments)
- }
- return r
- })()),
- (v._getPartSize = function (e, t) {
- var r = 1e4,
- n = 1048576
- t || (t = n)
- var i = Math.ceil(e / r)
- return (
- t < i &&
- ((t = i),
- console.warn(
- "partSize has been set to ".concat(
- t,
- ", because the partSize you provided causes partNumber to be greater than 10,000"
- )
- )),
- t
- )
- }),
- (v._divideParts = function (e, t) {
- for (var r = Math.ceil(e / t), n = [], i = 0; i < r; i++) {
- var o = t * i,
- a = Math.min(o + t, e)
- n.push({
- start: o,
- end: a
- })
- }
- return n
- })
- }).call(this, e("buffer").Buffer)
- },
- {
- "../common/utils/isArray": 59,
- "../common/utils/isBlob": 60,
- "../common/utils/isBuffer": 61,
- "../common/utils/isFile": 62,
- "../common/utils/retry": 68,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- buffer: 99,
- "copy-to": 101,
- "core-js/modules/es.array-buffer.slice": 233,
- "core-js/modules/es.array.concat": 234,
- "core-js/modules/es.array.filter": 236,
- "core-js/modules/es.array.find": 237,
- "core-js/modules/es.array.from": 239,
- "core-js/modules/es.array.index-of": 241,
- "core-js/modules/es.array.iterator": 242,
- "core-js/modules/es.array.map": 245,
- "core-js/modules/es.array.slice": 246,
- "core-js/modules/es.function.name": 249,
- "core-js/modules/es.object.to-string": 254,
- "core-js/modules/es.promise": 255,
- "core-js/modules/es.regexp.to-string": 257,
- "core-js/modules/es.string.iterator": 259,
- "core-js/modules/es.typed-array.copy-within": 267,
- "core-js/modules/es.typed-array.every": 268,
- "core-js/modules/es.typed-array.fill": 269,
- "core-js/modules/es.typed-array.filter": 270,
- "core-js/modules/es.typed-array.find": 272,
- "core-js/modules/es.typed-array.find-index": 271,
- "core-js/modules/es.typed-array.for-each": 273,
- "core-js/modules/es.typed-array.includes": 274,
- "core-js/modules/es.typed-array.index-of": 275,
- "core-js/modules/es.typed-array.iterator": 276,
- "core-js/modules/es.typed-array.join": 277,
- "core-js/modules/es.typed-array.last-index-of": 278,
- "core-js/modules/es.typed-array.map": 279,
- "core-js/modules/es.typed-array.reduce": 281,
- "core-js/modules/es.typed-array.reduce-right": 280,
- "core-js/modules/es.typed-array.reverse": 282,
- "core-js/modules/es.typed-array.set": 283,
- "core-js/modules/es.typed-array.slice": 284,
- "core-js/modules/es.typed-array.some": 285,
- "core-js/modules/es.typed-array.sort": 286,
- "core-js/modules/es.typed-array.subarray": 287,
- "core-js/modules/es.typed-array.to-locale-string": 288,
- "core-js/modules/es.typed-array.to-string": 289,
- "core-js/modules/es.typed-array.uint8-array": 290,
- mime: 312,
- path: 315,
- "regenerator-runtime/runtime": 336,
- stream: 339,
- util: 345
- }
- ],
- 4: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.array.map"),
- e("core-js/modules/es.function.name"),
- e("core-js/modules/es.number.constructor"),
- e("core-js/modules/es.object.assign"),
- e("core-js/modules/es.object.keys"),
- e("core-js/modules/es.object.to-string"),
- e("core-js/modules/es.promise"),
- e("core-js/modules/es.regexp.exec"),
- e("core-js/modules/es.regexp.to-string"),
- e("core-js/modules/es.string.replace"),
- e("core-js/modules/web.dom-collections.for-each")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = e("fs"),
- s = e("copy-to"),
- l = e("path"),
- c = e("mime"),
- u = e("../common/callback"),
- f = e("merge-descriptors"),
- p = e("../common/utils/isBlob"),
- d = p.isBlob,
- h = e("../common/utils/isFile"),
- m = h.isFile,
- g = e("../common/utils/isBuffer"),
- y = g.isBuffer,
- v = r
- ;(v.append = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r, n) {
- var o
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (n = n || {}),
- void 0 === n.position && (n.position = "0"),
- (n.subres = {
- append: "",
- position: n.position
- }),
- (n.method = "POST"),
- (e.next = 6),
- this.put(t, r, n)
- )
- case 6:
- return (
- (o = e.sent),
- (o.nextAppendPosition = o.res.headers["x-oss-next-append-position"]),
- e.abrupt("return", o)
- )
- case 9:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r, n) {
- return e.apply(this, arguments)
- }
- return t
- })()),
- (v.put = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r, n) {
- var o, a, s, f, p
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((n = n || {}),
- (n.disabledMD5 = void 0 === n.disabledMD5 || !!n.disabledMD5),
- (n.headers = n.headers || {}),
- (t = this._objectName(t)),
- !y(r))
- ) {
- e.next = 8
- break
- }
- ;(o = r), (e.next = 19)
- break
- case 8:
- if (!d(r) && !m(r)) {
- e.next = 18
- break
- }
- return (
- n.mime || (m(r) ? (n.mime = c.getType(l.extname(r.name))) : (n.mime = r.type)),
- (e.next = 12),
- this._createBuffer(r, 0, r.size)
- )
- case 12:
- return (o = e.sent), (e.next = 15), this._getFileSize(r)
- case 15:
- ;(n.contentLength = e.sent), (e.next = 19)
- break
- case 18:
- throw new TypeError("Must provide Buffer/Blob/File for put.")
- case 19:
- return (
- this._convertMetaToHeaders(n.meta, n.headers),
- (a = n.method || "PUT"),
- (s = this._objectRequestParams(a, t, n)),
- u.encodeCallback(s, n),
- (s.mime = n.mime),
- (s.disabledMD5 = n.disabledMD5),
- (s.content = o),
- (s.successStatuses = [200]),
- (e.next = 29),
- this.request(s)
- )
- case 29:
- return (
- (f = e.sent),
- (p = {
- name: t,
- url: this._objectUrl(t),
- res: f.res
- }),
- s.headers && s.headers["x-oss-callback"] && (p.data = JSON.parse(f.data.toString())),
- e.abrupt("return", p)
- )
- case 33:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r, n) {
- return e.apply(this, arguments)
- }
- return t
- })()),
- (v.putStream = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r, n) {
- var o, a, s, l
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (n = n || {}),
- (n.headers = n.headers || {}),
- (t = this._objectName(t)),
- n.contentLength
- ? (n.headers["Content-Length"] = n.contentLength)
- : (n.headers["Transfer-Encoding"] = "chunked"),
- this._convertMetaToHeaders(n.meta, n.headers),
- (o = n.method || "PUT"),
- (a = this._objectRequestParams(o, t, n)),
- u.encodeCallback(a, n),
- (a.mime = n.mime),
- (a.stream = r),
- (a.successStatuses = [200]),
- (e.next = 13),
- this.request(a)
- )
- case 13:
- return (
- (s = e.sent),
- (l = {
- name: t,
- url: this._objectUrl(t),
- res: s.res
- }),
- a.headers && a.headers["x-oss-callback"] && (l.data = JSON.parse(s.data.toString())),
- e.abrupt("return", l)
- )
- case 17:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r, n) {
- return e.apply(this, arguments)
- }
- return t
- })()),
- f(v, e("../common/object/copyObject")),
- f(v, e("../common/object/getObjectTagging")),
- f(v, e("../common/object/putObjectTagging")),
- f(v, e("../common/object/deleteObjectTagging")),
- f(v, e("../common/image")),
- f(v, e("../common/object/getBucketVersions")),
- f(v, e("../common/object/getACL")),
- f(v, e("../common/object/putACL")),
- f(v, e("../common/object/head")),
- f(v, e("../common/object/delete")),
- f(v, e("../common/object/get")),
- f(v, e("../common/object/putSymlink")),
- f(v, e("../common/object/getSymlink")),
- f(v, e("../common/object/deleteMulti")),
- f(v, e("../common/object/getObjectMeta")),
- f(v, e("../common/object/getObjectUrl")),
- f(v, e("../common/object/generateObjectUrl")),
- f(v, e("../common/object/signatureUrl")),
- (v.putMeta = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r, n) {
- var o
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (e.next = 2),
- this.copy(t, t, {
- meta: r || {},
- timeout: n && n.timeout,
- ctx: n && n.ctx
- })
- )
- case 2:
- return (o = e.sent), e.abrupt("return", o)
- case 4:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r, n) {
- return e.apply(this, arguments)
- }
- return t
- })()),
- (v.list = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n, o, a, s, l
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (n = this._objectRequestParams("GET", "", r)),
- (n.query = t),
- (n.xmlResponse = !0),
- (n.successStatuses = [200]),
- (e.next = 6),
- this.request(n)
- )
- case 6:
- return (
- (o = e.sent),
- (a = o.data.Contents),
- (s = this),
- a &&
- (Array.isArray(a) || (a = [a]),
- (a = a.map(function (e) {
- return {
- name: e.Key,
- url: s._objectUrl(e.Key),
- lastModified: e.LastModified,
- etag: e.ETag,
- type: e.Type,
- size: Number(e.Size),
- storageClass: e.StorageClass,
- owner: {
- id: e.Owner.ID,
- displayName: e.Owner.DisplayName
- }
- }
- }))),
- (l = o.data.CommonPrefixes || null),
- l &&
- (Array.isArray(l) || (l = [l]),
- (l = l.map(function (e) {
- return e.Prefix
- }))),
- e.abrupt("return", {
- res: o.res,
- objects: a,
- prefixes: l,
- nextMarker: o.data.NextMarker || null,
- isTruncated: "true" === o.data.IsTruncated
- })
- )
- case 13:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r) {
- return e.apply(this, arguments)
- }
- return t
- })()),
- (v.listV2 = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t) {
- var r,
- n,
- o,
- a,
- s,
- l,
- c,
- u = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (r = u.length > 1 && void 0 !== u[1] ? u[1] : {}),
- (n = t["continuation-token"] || t.continuationToken),
- delete t["continuation-token"],
- delete t.continuationToken,
- n &&
- (r.subres = Object.assign(
- {
- "continuation-token": n
- },
- r.subres
- )),
- (o = this._objectRequestParams("GET", "", r)),
- (o.query = Object.assign(
- {
- "list-type": 2
- },
- t
- )),
- (o.xmlResponse = !0),
- (o.successStatuses = [200]),
- (e.next = 11),
- this.request(o)
- )
- case 11:
- return (
- (a = e.sent),
- (s = a.data.Contents),
- (l = this),
- s &&
- (Array.isArray(s) || (s = [s]),
- (s = s.map(function (e) {
- return {
- name: e.Key,
- url: l._objectUrl(e.Key),
- lastModified: e.LastModified,
- etag: e.ETag,
- type: e.Type,
- size: Number(e.Size),
- storageClass: e.StorageClass,
- owner: e.Owner
- ? {
- id: e.Owner.ID,
- displayName: e.Owner.DisplayName
- }
- : null
- }
- }))),
- (c = a.data.CommonPrefixes || null),
- c &&
- (Array.isArray(c) || (c = [c]),
- (c = c.map(function (e) {
- return e.Prefix
- }))),
- e.abrupt("return", {
- res: a.res,
- objects: s,
- prefixes: c,
- isTruncated: "true" === a.data.IsTruncated,
- keyCount: +a.data.KeyCount,
- continuationToken: a.data.ContinuationToken || null,
- nextContinuationToken: a.data.NextContinuationToken || null
- })
- )
- case 18:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t) {
- return e.apply(this, arguments)
- }
- return t
- })()),
- (v.restore = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n, o
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (r = r || {}),
- (r.subres = Object.assign(
- {
- restore: ""
- },
- r.subres
- )),
- r.versionId && (r.subres.versionId = r.versionId),
- (n = this._objectRequestParams("POST", t, r)),
- (n.successStatuses = [202]),
- (e.next = 7),
- this.request(n)
- )
- case 7:
- return (
- (o = e.sent),
- e.abrupt("return", {
- res: o.res
- })
- )
- case 9:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r) {
- return e.apply(this, arguments)
- }
- return t
- })()),
- (v._objectUrl = function (e) {
- return this._getReqUrl({
- bucket: this.options.bucket,
- object: e
- })
- }),
- (v._objectRequestParams = function (e, t, r) {
- if (!this.options.bucket && !this.options.cname) throw new Error("Please create a bucket first")
- ;(r = r || {}), (t = this._objectName(t))
- var n = {
- object: t,
- bucket: this.options.bucket,
- method: e,
- subres: r && r.subres,
- timeout: r && r.timeout,
- ctx: r && r.ctx
- }
- return r.headers && ((n.headers = {}), s(r.headers).to(n.headers)), n
- }),
- (v._objectName = function (e) {
- return e.replace(/^\/+/, "")
- }),
- (v._convertMetaToHeaders = function (e, t) {
- e &&
- Object.keys(e).forEach(function (r) {
- t["x-oss-meta-".concat(r)] = e[r]
- })
- }),
- (v._deleteFileSafe = function (e) {
- var t = this
- return new Promise(function (r) {
- a.exists(e, function (n) {
- n
- ? a.unlink(e, function (n) {
- n && t.debug("unlink %j error: %s", e, n, "error"), r()
- })
- : r()
- })
- })
- })
- },
- {
- "../common/callback": 23,
- "../common/image": 26,
- "../common/object/copyObject": 29,
- "../common/object/delete": 30,
- "../common/object/deleteMulti": 31,
- "../common/object/deleteObjectTagging": 32,
- "../common/object/generateObjectUrl": 33,
- "../common/object/get": 34,
- "../common/object/getACL": 35,
- "../common/object/getBucketVersions": 36,
- "../common/object/getObjectMeta": 37,
- "../common/object/getObjectTagging": 38,
- "../common/object/getObjectUrl": 39,
- "../common/object/getSymlink": 40,
- "../common/object/head": 41,
- "../common/object/putACL": 42,
- "../common/object/putObjectTagging": 43,
- "../common/object/putSymlink": 44,
- "../common/object/signatureUrl": 45,
- "../common/utils/isBlob": 60,
- "../common/utils/isBuffer": 61,
- "../common/utils/isFile": 62,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "copy-to": 101,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.array.map": 245,
- "core-js/modules/es.function.name": 249,
- "core-js/modules/es.number.constructor": 250,
- "core-js/modules/es.object.assign": 251,
- "core-js/modules/es.object.keys": 253,
- "core-js/modules/es.object.to-string": 254,
- "core-js/modules/es.promise": 255,
- "core-js/modules/es.regexp.exec": 256,
- "core-js/modules/es.regexp.to-string": 257,
- "core-js/modules/es.string.replace": 261,
- "core-js/modules/web.dom-collections.for-each": 291,
- fs: 79,
- "merge-descriptors": 310,
- mime: 312,
- path: 315,
- "regenerator-runtime/runtime": 336
- }
- ],
- 5: [
- function (e, t, r) {
- "use strict"
- r.version = "6.16.0"
- },
- {}
- ],
- 6: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault"),
- i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.abortBucketWorm = void 0)
- var a = e("../utils/checkBucketName")
- function s(e, t) {
- return l.apply(this, arguments)
- }
- function l() {
- return (
- (l = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n, o
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- a.checkBucketName(t),
- (n = this._bucketRequestParams("DELETE", t, "worm", r)),
- (e.next = 4),
- this.request(n)
- )
- case 4:
- return (
- (o = e.sent),
- e.abrupt("return", {
- res: o.res,
- status: o.status
- })
- )
- case 6:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )),
- l.apply(this, arguments)
- )
- }
- r.abortBucketWorm = s
- },
- {
- "../utils/checkBucketName": 48,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "regenerator-runtime/runtime": 336
- }
- ],
- 7: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault"),
- i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.completeBucketWorm = void 0)
- var a = e("../utils/checkBucketName")
- function s(e, t, r) {
- return l.apply(this, arguments)
- }
- function l() {
- return (
- (l = (0, o.default)(
- i.default.mark(function e(t, r, n) {
- var o, s
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- a.checkBucketName(t),
- (o = this._bucketRequestParams(
- "POST",
- t,
- {
- wormId: r
- },
- n
- )),
- (e.next = 4),
- this.request(o)
- )
- case 4:
- return (
- (s = e.sent),
- e.abrupt("return", {
- res: s.res,
- status: s.status
- })
- )
- case 6:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )),
- l.apply(this, arguments)
- )
- }
- r.completeBucketWorm = s
- },
- {
- "../utils/checkBucketName": 48,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "regenerator-runtime/runtime": 336
- }
- ],
- 8: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.object.assign")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.deleteBucketInventory = void 0)
- var a = e("../utils/checkBucketName")
- function s(e, t) {
- return l.apply(this, arguments)
- }
- function l() {
- return (
- (l = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n,
- o,
- s,
- l,
- c = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (n = c.length > 2 && void 0 !== c[2] ? c[2] : {}),
- (o = Object.assign(
- {
- inventory: "",
- inventoryId: r
- },
- n.subres
- )),
- a.checkBucketName(t),
- (s = this._bucketRequestParams("DELETE", t, o, n)),
- (s.successStatuses = [204]),
- (e.next = 7),
- this.request(s)
- )
- case 7:
- return (
- (l = e.sent),
- e.abrupt("return", {
- status: l.status,
- res: l.res
- })
- )
- case 9:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )),
- l.apply(this, arguments)
- )
- }
- r.deleteBucketInventory = s
- },
- {
- "../utils/checkBucketName": 48,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.object.assign": 251,
- "regenerator-runtime/runtime": 336
- }
- ],
- 9: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault"),
- i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = e("../utils/checkBucketName"),
- s = a.checkBucketName,
- l = r
- l.deleteBucketLifecycle = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n, o
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- s(t),
- (n = this._bucketRequestParams("DELETE", t, "lifecycle", r)),
- (n.successStatuses = [204]),
- (e.next = 5),
- this.request(n)
- )
- case 5:
- return (
- (o = e.sent),
- e.abrupt("return", {
- res: o.res
- })
- )
- case 7:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "../utils/checkBucketName": 48,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "regenerator-runtime/runtime": 336
- }
- ],
- 10: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault"),
- i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = e("../utils/checkBucketName"),
- s = a.checkBucketName,
- l = r
- l.deleteBucketWebsite = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n, o
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- s(t),
- (n = this._bucketRequestParams("DELETE", t, "website", r)),
- (n.successStatuses = [204]),
- (e.next = 5),
- this.request(n)
- )
- case 5:
- return (
- (o = e.sent),
- e.abrupt("return", {
- res: o.res
- })
- )
- case 7:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "../utils/checkBucketName": 48,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "regenerator-runtime/runtime": 336
- }
- ],
- 11: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault"),
- i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.extendBucketWorm = void 0)
- var a = e("../utils/checkBucketName"),
- s = e("../utils/obj2xml")
- function l(e, t, r, n) {
- return c.apply(this, arguments)
- }
- function c() {
- return (
- (c = (0, o.default)(
- i.default.mark(function e(t, r, n, o) {
- var l, c, u
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- a.checkBucketName(t),
- (l = this._bucketRequestParams(
- "POST",
- t,
- {
- wormExtend: "",
- wormId: r
- },
- o
- )),
- (c = {
- ExtendWormConfiguration: {
- RetentionPeriodInDays: n
- }
- }),
- (l.mime = "xml"),
- (l.content = s.obj2xml(c, {
- headers: !0
- })),
- (l.successStatuses = [200]),
- (e.next = 8),
- this.request(l)
- )
- case 8:
- return (
- (u = e.sent),
- e.abrupt("return", {
- res: u.res,
- status: u.status
- })
- )
- case 10:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )),
- c.apply(this, arguments)
- )
- }
- r.extendBucketWorm = l
- },
- {
- "../utils/checkBucketName": 48,
- "../utils/obj2xml": 67,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "regenerator-runtime/runtime": 336
- }
- ],
- 12: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.object.assign")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.getBucketInventory = void 0)
- var a = e("../utils/checkBucketName"),
- s = e("../utils/formatInventoryConfig")
- function l(e, t) {
- return c.apply(this, arguments)
- }
- function c() {
- return (
- (c = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n,
- o,
- l,
- c,
- u = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (n = u.length > 2 && void 0 !== u[2] ? u[2] : {}),
- (o = Object.assign(
- {
- inventory: "",
- inventoryId: r
- },
- n.subres
- )),
- a.checkBucketName(t),
- (l = this._bucketRequestParams("GET", t, o, n)),
- (l.successStatuses = [200]),
- (l.xmlResponse = !0),
- (e.next = 8),
- this.request(l)
- )
- case 8:
- return (
- (c = e.sent),
- e.abrupt("return", {
- status: c.status,
- res: c.res,
- inventory: s.formatInventoryConfig(c.data)
- })
- )
- case 10:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )),
- c.apply(this, arguments)
- )
- }
- r.getBucketInventory = l
- },
- {
- "../utils/checkBucketName": 48,
- "../utils/formatInventoryConfig": 56,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.object.assign": 251,
- "regenerator-runtime/runtime": 336
- }
- ],
- 13: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.map")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = e("../utils/checkBucketName"),
- s = a.checkBucketName,
- l = e("../utils/isArray"),
- c = l.isArray,
- u = e("../utils/formatObjKey"),
- f = u.formatObjKey,
- p = r
- p.getBucketLifecycle = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n, o, a
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- s(t),
- (n = this._bucketRequestParams("GET", t, "lifecycle", r)),
- (n.successStatuses = [200]),
- (n.xmlResponse = !0),
- (e.next = 6),
- this.request(n)
- )
- case 6:
- return (
- (o = e.sent),
- (a = o.data.Rule || null),
- a &&
- (c(a) || (a = [a]),
- (a = a.map(function (e) {
- return (
- e.ID && ((e.id = e.ID), delete e.ID),
- e.Tag && !c(e.Tag) && (e.Tag = [e.Tag]),
- f(e, "firstLowerCase")
- )
- }))),
- e.abrupt("return", {
- rules: a,
- res: o.res
- })
- )
- case 10:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "../utils/checkBucketName": 48,
- "../utils/formatObjKey": 57,
- "../utils/isArray": 59,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.array.map": 245,
- "regenerator-runtime/runtime": 336
- }
- ],
- 14: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault"),
- i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = e("../utils/checkBucketName"),
- s = a.checkBucketName,
- l = r
- l.getBucketVersioning = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n, o, a
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- s(t),
- (n = this._bucketRequestParams("GET", t, "versioning", r)),
- (n.xmlResponse = !0),
- (n.successStatuses = [200]),
- (e.next = 6),
- this.request(n)
- )
- case 6:
- return (
- (o = e.sent),
- (a = o.data.Status),
- e.abrupt("return", {
- status: o.status,
- versionStatus: a,
- res: o.res
- })
- )
- case 9:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "../utils/checkBucketName": 48,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "regenerator-runtime/runtime": 336
- }
- ],
- 15: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault"),
- i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = e("../utils/checkBucketName"),
- s = a.checkBucketName,
- l = e("../utils/isObject"),
- c = l.isObject,
- u = r
- u.getBucketWebsite = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n, o, a
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- s(t),
- (n = this._bucketRequestParams("GET", t, "website", r)),
- (n.successStatuses = [200]),
- (n.xmlResponse = !0),
- (e.next = 6),
- this.request(n)
- )
- case 6:
- return (
- (o = e.sent),
- (a = []),
- o.data.RoutingRules &&
- o.data.RoutingRules.RoutingRule &&
- (a = c(o.data.RoutingRules.RoutingRule)
- ? [o.data.RoutingRules.RoutingRule]
- : o.data.RoutingRules.RoutingRule),
- e.abrupt("return", {
- index: (o.data.IndexDocument && o.data.IndexDocument.Suffix) || "",
- supportSubDir: (o.data.IndexDocument && o.data.IndexDocument.SupportSubDir) || "false",
- type: o.data.IndexDocument && o.data.IndexDocument.Type,
- routingRules: a,
- error: (o.data.ErrorDocument && o.data.ErrorDocument.Key) || null,
- res: o.res
- })
- )
- case 10:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "../utils/checkBucketName": 48,
- "../utils/isObject": 65,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "regenerator-runtime/runtime": 336
- }
- ],
- 16: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.object.assign")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.getBucketWorm = void 0)
- var a = e("../utils/checkBucketName"),
- s = e("../utils/dataFix")
- function l(e, t) {
- return c.apply(this, arguments)
- }
- function c() {
- return (
- (c = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n, o
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- a.checkBucketName(t),
- (n = this._bucketRequestParams("GET", t, "worm", r)),
- (n.successStatuses = [200]),
- (n.xmlResponse = !0),
- (e.next = 6),
- this.request(n)
- )
- case 6:
- return (
- (o = e.sent),
- s.dataFix(o.data, {
- lowerFirst: !0,
- rename: {
- RetentionPeriodInDays: "days"
- }
- }),
- e.abrupt(
- "return",
- Object.assign(Object.assign({}, o.data), {
- res: o.res,
- status: o.status
- })
- )
- )
- case 9:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )),
- c.apply(this, arguments)
- )
- }
- r.getBucketWorm = l
- },
- {
- "../utils/checkBucketName": 48,
- "../utils/dataFix": 53,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.object.assign": 251,
- "regenerator-runtime/runtime": 336
- }
- ],
- 17: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault"),
- i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.initiateBucketWorm = void 0)
- var a = e("../utils/obj2xml"),
- s = e("../utils/checkBucketName")
- function l(e, t, r) {
- return c.apply(this, arguments)
- }
- function c() {
- return (
- (c = (0, o.default)(
- i.default.mark(function e(t, r, n) {
- var o, l, c
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- s.checkBucketName(t),
- (o = this._bucketRequestParams("POST", t, "worm", n)),
- (l = {
- InitiateWormConfiguration: {
- RetentionPeriodInDays: r
- }
- }),
- (o.mime = "xml"),
- (o.content = a.obj2xml(l, {
- headers: !0
- })),
- (o.successStatuses = [200]),
- (e.next = 8),
- this.request(o)
- )
- case 8:
- return (
- (c = e.sent),
- e.abrupt("return", {
- res: c.res,
- wormId: c.res.headers["x-oss-worm-id"],
- status: c.status
- })
- )
- case 10:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )),
- c.apply(this, arguments)
- )
- }
- r.initiateBucketWorm = l
- },
- {
- "../utils/checkBucketName": 48,
- "../utils/obj2xml": 67,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "regenerator-runtime/runtime": 336
- }
- ],
- 18: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.object.assign")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.listBucketInventory = void 0)
- var a = e("../utils/checkBucketName"),
- s = e("../utils/formatInventoryConfig")
- function l(e) {
- return c.apply(this, arguments)
- }
- function c() {
- return (
- (c = (0, o.default)(
- i.default.mark(function e(t) {
- var r,
- n,
- o,
- l,
- c,
- u,
- f,
- p,
- d = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (r = d.length > 1 && void 0 !== d[1] ? d[1] : {}),
- (n = r.continuationToken),
- (o = Object.assign(
- {
- inventory: ""
- },
- n && {
- "continuation-token": n
- },
- r.subres
- )),
- a.checkBucketName(t),
- (l = this._bucketRequestParams("GET", t, o, r)),
- (l.successStatuses = [200]),
- (l.xmlResponse = !0),
- (e.next = 9),
- this.request(l)
- )
- case 9:
- return (
- (c = e.sent),
- (u = c.data),
- (f = c.res),
- (p = c.status),
- e.abrupt("return", {
- isTruncated: "true" === u.IsTruncated,
- nextContinuationToken: u.NextContinuationToken,
- inventoryList: s.formatInventoryConfig(u.InventoryConfiguration, !0),
- status: p,
- res: f
- })
- )
- case 12:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )),
- c.apply(this, arguments)
- )
- }
- r.listBucketInventory = l
- },
- {
- "../utils/checkBucketName": 48,
- "../utils/formatInventoryConfig": 56,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.object.assign": 251,
- "regenerator-runtime/runtime": 336
- }
- ],
- 19: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.concat"), e("core-js/modules/es.object.assign")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.putBucketInventory = void 0)
- var a = e("../utils/checkBucketName"),
- s = e("../utils/obj2xml")
- function l(e, t) {
- return c.apply(this, arguments)
- }
- function c() {
- return (
- (c = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n,
- o,
- l,
- c,
- u,
- f,
- p,
- d,
- h,
- m,
- g,
- y = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (n = y.length > 2 && void 0 !== y[2] ? y[2] : {}),
- (o = Object.assign(
- {
- inventory: "",
- inventoryId: r.id
- },
- n.subres
- )),
- a.checkBucketName(t),
- (l = r.OSSBucketDestination),
- (c = r.optionalFields),
- (u = r.includedObjectVersions),
- (f = "acs:oss:::"),
- (p = "acs:ram::".concat(l.accountId, ":role/")),
- (d = {
- InventoryConfiguration: {
- Id: r.id,
- IsEnabled: r.isEnabled,
- Filter: {
- Prefix: r.prefix || ""
- },
- Destination: {
- OSSBucketDestination: {
- Format: l.format,
- AccountId: l.accountId,
- RoleArn: "".concat(p).concat(l.rolename),
- Bucket: "".concat(f).concat(l.bucket),
- Prefix: l.prefix || "",
- Encryption: l.encryption || ""
- }
- },
- Schedule: {
- Frequency: r.frequency
- },
- IncludedObjectVersions: u,
- OptionalFields: {
- Field: (null === c || void 0 === c ? void 0 : c.field) || []
- }
- }
- }),
- (h = s.obj2xml(d, {
- headers: !0,
- firstUpperCase: !0
- })),
- (m = this._bucketRequestParams("PUT", t, o, n)),
- (m.successStatuses = [200]),
- (m.mime = "xml"),
- (m.content = h),
- (e.next = 14),
- this.request(m)
- )
- case 14:
- return (
- (g = e.sent),
- e.abrupt("return", {
- status: g.status,
- res: g.res
- })
- )
- case 16:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )),
- c.apply(this, arguments)
- )
- }
- r.putBucketInventory = l
- },
- {
- "../utils/checkBucketName": 48,
- "../utils/obj2xml": 67,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.array.concat": 234,
- "core-js/modules/es.object.assign": 251,
- "regenerator-runtime/runtime": 336
- }
- ],
- 20: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.array.includes"),
- e("core-js/modules/web.dom-collections.for-each")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = e("../utils/checkBucketName"),
- s = a.checkBucketName,
- l = e("../utils/isArray"),
- c = l.isArray,
- u = e("../utils/deepCopy"),
- f = u.deepCopy,
- p = e("../utils/isObject"),
- d = p.isObject,
- h = e("../utils/obj2xml"),
- m = h.obj2xml,
- g = e("../utils/checkObjectTag"),
- y = g.checkObjectTag,
- v = e("../utils/getStrBytesCount"),
- b = v.getStrBytesCount,
- w = r
- function x(e) {
- e.days &&
- (e.expiration = {
- days: e.days
- }),
- e.date &&
- (e.expiration = {
- createdBeforeDate: e.date
- })
- }
- function A(e, t) {
- var r = e.days,
- n = e.createdBeforeDate
- if (!r && !n) throw new Error("".concat(t, " must includes days or createdBeforeDate"))
- if (r && !/^[1-9][0-9]*$/.test(r)) throw new Error("days must be a positive integer")
- if (n && !/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(n))
- throw new Error("createdBeforeDate must be date and conform to iso8601 format")
- }
- function _(e) {
- if (!c(e) && !d(e)) throw new Error("tag must be Object or Array")
- e = d(e) ? [e] : e
- var t = {},
- r = f(e)
- r.forEach(function (e) {
- t[e.key] = e.value
- }),
- y(t)
- }
- function T(e) {
- if (e.id && b(e.id) > 255) throw new Error("ID is composed of 255 bytes at most")
- if (void 0 === e.prefix) throw new Error("Rule must includes prefix")
- if (!["Enabled", "Disabled"].includes(e.status)) throw new Error("Status must be Enabled or Disabled")
- if (e.transition) {
- if (!["IA", "Archive"].includes(e.transition.storageClass)) throw new Error("StorageClass must be IA or Archive")
- A(e.transition, "Transition")
- }
- if (e.expiration)
- if (e.expiration.expiredObjectDeleteMarker) {
- if (e.expiration.days || e.expiration.createdBeforeDate)
- throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")
- } else A(e.expiration, "Expiration")
- if (
- (e.abortMultipartUpload && A(e.abortMultipartUpload, "AbortMultipartUpload"),
- !e.expiration && !e.abortMultipartUpload && !e.transition && !e.noncurrentVersionTransition)
- )
- throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition")
- if (e.tag) {
- if (e.abortMultipartUpload) throw new Error("Tag cannot be used with abortMultipartUpload")
- _(e.tag)
- }
- }
- w.putBucketLifecycle = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r, n) {
- var o, a, l, u, f
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if ((s(t), c(r))) {
- e.next = 3
- break
- }
- throw new Error("rules must be Array")
- case 3:
- return (
- (o = this._bucketRequestParams("PUT", t, "lifecycle", n)),
- (a = []),
- (l = {
- LifecycleConfiguration: {
- Rule: a
- }
- }),
- r.forEach(function (e) {
- x(e), T(e), e.id && ((e.ID = e.id), delete e.id), a.push(e)
- }),
- (u = m(l, {
- headers: !0,
- firstUpperCase: !0
- })),
- (o.content = u),
- (o.mime = "xml"),
- (o.successStatuses = [200]),
- (e.next = 13),
- this.request(o)
- )
- case 13:
- return (
- (f = e.sent),
- e.abrupt("return", {
- res: f.res
- })
- )
- case 15:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r, n) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "../utils/checkBucketName": 48,
- "../utils/checkObjectTag": 50,
- "../utils/deepCopy": 54,
- "../utils/getStrBytesCount": 58,
- "../utils/isArray": 59,
- "../utils/isObject": 65,
- "../utils/obj2xml": 67,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.array.includes": 240,
- "core-js/modules/web.dom-collections.for-each": 291,
- "regenerator-runtime/runtime": 336
- }
- ],
- 21: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.includes")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = e("../utils/checkBucketName"),
- s = a.checkBucketName,
- l = e("../utils/obj2xml"),
- c = l.obj2xml,
- u = r
- u.putBucketVersioning = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n,
- o,
- a,
- l,
- u = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (((n = u.length > 2 && void 0 !== u[2] ? u[2] : {}), s(t), ["Enabled", "Suspended"].includes(r))) {
- e.next = 4
- break
- }
- throw new Error("status must be Enabled or Suspended")
- case 4:
- return (
- (o = this._bucketRequestParams("PUT", t, "versioning", n)),
- (a = {
- VersioningConfiguration: {
- Status: r
- }
- }),
- (o.mime = "xml"),
- (o.content = c(a, {
- headers: !0
- })),
- (e.next = 10),
- this.request(o)
- )
- case 10:
- return (
- (l = e.sent),
- e.abrupt("return", {
- res: l.res,
- status: l.status
- })
- )
- case 12:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "../utils/checkBucketName": 48,
- "../utils/obj2xml": 67,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.array.includes": 240,
- "regenerator-runtime/runtime": 336
- }
- ],
- 22: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault"),
- i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = e("../utils/checkBucketName"),
- s = a.checkBucketName,
- l = e("../utils/obj2xml"),
- c = l.obj2xml,
- u = e("../utils/isArray"),
- f = u.isArray,
- p = r
- p.putBucketWebsite = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t) {
- var r,
- n,
- o,
- a,
- l,
- u,
- p,
- d = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((r = d.length > 1 && void 0 !== d[1] ? d[1] : {}),
- (n = d.length > 2 ? d[2] : void 0),
- s(t),
- (o = this._bucketRequestParams("PUT", t, "website", n)),
- (a = {
- Suffix: r.index || "index.html"
- }),
- (l = {
- IndexDocument: a
- }),
- (u = {
- WebsiteConfiguration: l
- }),
- r.supportSubDir && (a.SupportSubDir = r.supportSubDir),
- r.type && (a.Type = r.type),
- r.error &&
- (l.ErrorDocument = {
- Key: r.error
- }),
- void 0 === r.routingRules)
- ) {
- e.next = 14
- break
- }
- if (f(r.routingRules)) {
- e.next = 13
- break
- }
- throw new Error("RoutingRules must be Array")
- case 13:
- l.RoutingRules = {
- RoutingRule: r.routingRules
- }
- case 14:
- return (
- (u = c(u)),
- (o.content = u),
- (o.mime = "xml"),
- (o.successStatuses = [200]),
- (e.next = 20),
- this.request(o)
- )
- case 20:
- return (
- (p = e.sent),
- e.abrupt("return", {
- res: p.res
- })
- )
- case 22:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "../utils/checkBucketName": 48,
- "../utils/isArray": 59,
- "../utils/obj2xml": 67,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "regenerator-runtime/runtime": 336
- }
- ],
- 23: [
- function (e, t, r) {
- ;(function (t) {
- "use strict"
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.object.keys"),
- e("core-js/modules/es.object.to-string"),
- e("core-js/modules/es.regexp.to-string"),
- e("core-js/modules/web.dom-collections.for-each"),
- (r.encodeCallback = function (e, r) {
- if (
- ((e.headers = e.headers || {}), !Object.prototype.hasOwnProperty.call(e.headers, "x-oss-callback") && r.callback)
- ) {
- var n = {
- callbackUrl: encodeURI(r.callback.url),
- callbackBody: r.callback.body
- }
- r.callback.host && (n.callbackHost = r.callback.host),
- r.callback.contentType && (n.callbackBodyType = r.callback.contentType)
- var i = t.from(JSON.stringify(n)).toString("base64")
- if (((e.headers["x-oss-callback"] = i), r.callback.customValue)) {
- var o = {}
- Object.keys(r.callback.customValue).forEach(function (e) {
- o["x:".concat(e)] = r.callback.customValue[e]
- }),
- (e.headers["x-oss-callback-var"] = t.from(JSON.stringify(o)).toString("base64"))
- }
- }
- })
- }).call(this, e("buffer").Buffer)
- },
- {
- buffer: 99,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.object.keys": 253,
- "core-js/modules/es.object.to-string": 254,
- "core-js/modules/es.regexp.to-string": 257,
- "core-js/modules/web.dom-collections.for-each": 291
- }
- ],
- 24: [
- function (e, t, r) {
- "use strict"
- e("core-js/modules/es.array.concat"),
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.regexp.exec"),
- e("core-js/modules/es.string.replace"),
- e("core-js/modules/web.dom-collections.for-each")
- var n = function (e) {
- return e && e.__esModule
- ? e
- : {
- default: e
- }
- }
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.getReqUrl = void 0)
- var i = n(e("copy-to")),
- o = n(e("url")),
- a = n(e("merge-descriptors")),
- s = n(e("is-type-of")),
- l = e("../utils/isIP"),
- c = e("../utils/checkConfigValid")
- function u(e) {
- var t = {},
- r = this.options.cname
- c.checkConfigValid(this.options.endpoint, "endpoint"),
- i.default(this.options.endpoint, !1).to(t),
- !e.bucket || r || l.isIP(t.hostname) || this.options.sldEnable || (t.host = "".concat(e.bucket, ".").concat(t.host))
- var n = "/"
- e.bucket && this.options.sldEnable && (n += "".concat(e.bucket, "/")),
- e.object && (n += this._escape(e.object).replace(/\+/g, "%2B")),
- (t.pathname = n)
- var u = {}
- if ((e.query && a.default(u, e.query), e.subres)) {
- var f = {}
- s.default.string(e.subres)
- ? (f[e.subres] = "")
- : s.default.array(e.subres)
- ? e.subres.forEach(function (e) {
- f[e] = ""
- })
- : (f = e.subres),
- a.default(u, f)
- }
- return (t.query = u), o.default.format(t)
- }
- r.getReqUrl = u
- },
- {
- "../utils/checkConfigValid": 49,
- "../utils/isIP": 64,
- "copy-to": 101,
- "core-js/modules/es.array.concat": 234,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.regexp.exec": 256,
- "core-js/modules/es.string.replace": 261,
- "core-js/modules/web.dom-collections.for-each": 291,
- "is-type-of": 391,
- "merge-descriptors": 310,
- url: 393
- }
- ],
- 25: [
- function (e, t, r) {
- "use strict"
- e("core-js/modules/es.array.concat"), e("core-js/modules/es.object.assign"), e("core-js/modules/es.string.trim")
- var n = e("humanize-ms"),
- i = e("url"),
- o = e("../utils/checkBucketName"),
- a = o.checkBucketName,
- s = e("../utils/setRegion"),
- l = s.setRegion,
- c = e("../utils/checkConfigValid"),
- u = c.checkConfigValid
- function f(e, t) {
- u(e, "endpoint")
- var r = i.parse(e)
- if (
- (r.protocol || (r = i.parse("http".concat(t ? "s" : "", "://").concat(e))),
- "http:" !== r.protocol && "https:" !== r.protocol)
- )
- throw new Error("Endpoint protocol must be http or https.")
- return r
- }
- t.exports = function (e) {
- if (!e || !e.accessKeyId || !e.accessKeySecret) throw new Error("require accessKeyId, accessKeySecret")
- !e.stsToken ||
- e.refreshSTSToken ||
- e.refreshSTSTokenInterval ||
- console.warn(
- "It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken、accessKeyId、accessKeySecret automatically when sts token has expired"
- ),
- e.bucket && a(e.bucket)
- var t = Object.assign(
- {
- region: "oss-cn-hangzhou",
- internal: !1,
- secure: !1,
- timeout: 6e4,
- bucket: null,
- endpoint: null,
- cname: !1,
- isRequestPay: !1,
- sldEnable: !1,
- headerEncoding: "utf-8",
- refreshSTSToken: null,
- refreshSTSTokenInterval: 3e5,
- retryMax: 0
- },
- e
- )
- if (
- ((t.accessKeyId = t.accessKeyId.trim()),
- (t.accessKeySecret = t.accessKeySecret.trim()),
- t.timeout && (t.timeout = n(t.timeout)),
- t.endpoint)
- )
- t.endpoint = f(t.endpoint, t.secure)
- else {
- if (!t.region) throw new Error("require options.endpoint or options.region")
- t.endpoint = l(t.region, t.internal, t.secure)
- }
- return (t.inited = !0), t
- }
- },
- {
- "../utils/checkBucketName": 48,
- "../utils/checkConfigValid": 49,
- "../utils/setRegion": 69,
- "core-js/modules/es.array.concat": 234,
- "core-js/modules/es.object.assign": 251,
- "core-js/modules/es.string.trim": 264,
- "humanize-ms": 298,
- url: 393
- }
- ],
- 26: [
- function (e, t, r) {
- "use strict"
- var n = e("merge-descriptors"),
- i = r
- n(i, e("./processObjectSave"))
- },
- {
- "./processObjectSave": 27,
- "merge-descriptors": 310
- }
- ],
- 27: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.concat")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = e("../utils/checkBucketName"),
- s = a.checkBucketName,
- l = e("querystring"),
- c = e("js-base64"),
- u = c.Base64.encode,
- f = r
- function p(e, t) {
- if (!e) throw new Error("".concat(t, " is required"))
- if ("string" !== typeof e) throw new Error("".concat(t, " must be String"))
- }
- f.processObjectSave = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r, n, o) {
- var a, c, f, d
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- p(t, "sourceObject"),
- p(r, "targetObject"),
- p(n, "process"),
- (r = this._objectName(r)),
- o && s(o),
- (a = this._objectRequestParams("POST", t, {
- subres: "x-oss-process"
- })),
- (c = o ? ",b_".concat(u(o)) : ""),
- (r = u(r)),
- (f = {
- "x-oss-process": "".concat(n, "|sys/saveas,o_").concat(r).concat(c)
- }),
- (a.content = l.stringify(f)),
- (e.next = 12),
- this.request(a)
- )
- case 12:
- return (
- (d = e.sent),
- e.abrupt("return", {
- res: d.res,
- status: d.res.status
- })
- )
- case 14:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r, n, i) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "../utils/checkBucketName": 48,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.array.concat": 234,
- "js-base64": 309,
- querystring: 322,
- "regenerator-runtime/runtime": 336
- }
- ],
- 28: [
- function (e, t, r) {
- ;(function (t) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.concat"),
- e("core-js/modules/es.array.filter"),
- e("core-js/modules/es.array.map"),
- e("core-js/modules/es.array.sort"),
- e("core-js/modules/es.object.to-string"),
- e("core-js/modules/es.regexp.to-string")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = e("copy-to"),
- s = e("./callback"),
- l = e("./utils/deepCopy"),
- c = l.deepCopyWith,
- u = e("./utils/isBuffer"),
- f = u.isBuffer,
- p = r
- ;(p.listUploads = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n, o, s, l
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (r = r || {}),
- (n = {}),
- a(r).to(n),
- (n.subres = "uploads"),
- (o = this._objectRequestParams("GET", "", n)),
- (o.query = t),
- (o.xmlResponse = !0),
- (o.successStatuses = [200]),
- (e.next = 10),
- this.request(o)
- )
- case 10:
- return (
- (s = e.sent),
- (l = s.data.Upload || []),
- Array.isArray(l) || (l = [l]),
- (l = l.map(function (e) {
- return {
- name: e.Key,
- uploadId: e.UploadId,
- initiated: e.Initiated
- }
- })),
- e.abrupt("return", {
- res: s.res,
- uploads: l,
- bucket: s.data.Bucket,
- nextKeyMarker: s.data.NextKeyMarker,
- nextUploadIdMarker: s.data.NextUploadIdMarker,
- isTruncated: "true" === s.data.IsTruncated
- })
- )
- case 15:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r) {
- return e.apply(this, arguments)
- }
- return t
- })()),
- (p.listParts = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r, n, o) {
- var s, l, c
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (o = o || {}),
- (s = {}),
- a(o).to(s),
- (s.subres = {
- uploadId: r
- }),
- (l = this._objectRequestParams("GET", t, s)),
- (l.query = n),
- (l.xmlResponse = !0),
- (l.successStatuses = [200]),
- (e.next = 10),
- this.request(l)
- )
- case 10:
- return (
- (c = e.sent),
- e.abrupt("return", {
- res: c.res,
- uploadId: c.data.UploadId,
- bucket: c.data.Bucket,
- name: c.data.Key,
- partNumberMarker: c.data.PartNumberMarker,
- nextPartNumberMarker: c.data.NextPartNumberMarker,
- maxParts: c.data.MaxParts,
- isTruncated: c.data.IsTruncated,
- parts: c.data.Part || []
- })
- )
- case 12:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r, n, i) {
- return e.apply(this, arguments)
- }
- return t
- })()),
- (p.abortMultipartUpload = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r, n) {
- var o, s, l
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- this._stop(),
- (n = n || {}),
- (o = {}),
- a(n).to(o),
- (o.subres = {
- uploadId: r
- }),
- (s = this._objectRequestParams("DELETE", t, o)),
- (s.successStatuses = [204]),
- (e.next = 9),
- this.request(s)
- )
- case 9:
- return (
- (l = e.sent),
- e.abrupt("return", {
- res: l.res
- })
- )
- case 11:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r, n) {
- return e.apply(this, arguments)
- }
- return t
- })()),
- (p.initMultipartUpload = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n, o, s
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (r = r || {}),
- (n = {}),
- a(r).to(n),
- (n.headers = n.headers || {}),
- this._convertMetaToHeaders(r.meta, n.headers),
- (n.subres = "uploads"),
- (o = this._objectRequestParams("POST", t, n)),
- (o.mime = r.mime),
- (o.xmlResponse = !0),
- (o.successStatuses = [200]),
- (e.next = 12),
- this.request(o)
- )
- case 12:
- return (
- (s = e.sent),
- e.abrupt("return", {
- res: s.res,
- bucket: s.data.Bucket,
- name: s.data.Key,
- uploadId: s.data.UploadId
- })
- )
- case 14:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r) {
- return e.apply(this, arguments)
- }
- return t
- })()),
- (p.uploadPart = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(r, n, o, a, s, l, c) {
- var u, f
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((u = {
- size: l - s
- }),
- (f = t && t.browser),
- !f)
- ) {
- e.next = 8
- break
- }
- return (e.next = 5), this._createBuffer(a, s, l)
- case 5:
- ;(u.content = e.sent), (e.next = 11)
- break
- case 8:
- return (e.next = 10), this._createStream(a, s, l)
- case 10:
- u.stream = e.sent
- case 11:
- return (e.next = 13), this._uploadPart(r, n, o, u, c)
- case 13:
- return e.abrupt("return", e.sent)
- case 14:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function r(t, r, n, i, o, a, s) {
- return e.apply(this, arguments)
- }
- return r
- })()),
- (p.completeMultipartUpload = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r, n, o) {
- var a, l, u, p, d, h, m, g
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- for (
- a = n
- .concat()
- .sort(function (e, t) {
- return e.number - t.number
- })
- .filter(function (e, t, r) {
- return !t || e.number !== r[t - 1].number
- }),
- l = '<?xml version="1.0" encoding="UTF-8"?>\n<CompleteMultipartUpload>\n',
- u = 0;
- u < a.length;
- u++
- )
- (p = a[u]),
- (l += "<Part>\n"),
- (l += "<PartNumber>".concat(p.number, "</PartNumber>\n")),
- (l += "<ETag>".concat(p.etag, "</ETag>\n")),
- (l += "</Part>\n")
- return (
- (l += "</CompleteMultipartUpload>"),
- (o = o || {}),
- (d = {}),
- (d = c(o, function (e) {
- if (f(e)) return null
- })),
- d.headers && delete d.headers["x-oss-server-side-encryption"],
- (d.subres = {
- uploadId: r
- }),
- (h = this._objectRequestParams("POST", t, d)),
- s.encodeCallback(h, d),
- (h.mime = "xml"),
- (h.content = l),
- (h.headers && h.headers["x-oss-callback"]) || (h.xmlResponse = !0),
- (h.successStatuses = [200]),
- (e.next = 17),
- this.request(h)
- )
- case 17:
- return (
- (m = e.sent),
- (g = {
- res: m.res,
- bucket: h.bucket,
- name: t,
- etag: m.res.headers.etag
- }),
- h.headers && h.headers["x-oss-callback"] && (g.data = JSON.parse(m.data.toString())),
- e.abrupt("return", g)
- )
- case 21:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r, n, i) {
- return e.apply(this, arguments)
- }
- return t
- })()),
- (p._uploadPart = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(r, n, o, s, l) {
- var c, u, f, p
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (l = l || {}),
- (c = {}),
- a(l).to(c),
- (c.headers = {
- "Content-Length": s.size
- }),
- (c.subres = {
- partNumber: o,
- uploadId: n
- }),
- (u = this._objectRequestParams("PUT", r, c)),
- (u.mime = c.mime),
- (f = t && t.browser),
- f ? (u.content = s.content) : (u.stream = s.stream),
- (u.successStatuses = [200]),
- (u.disabledMD5 = l.disabledMD5),
- (e.next = 13),
- this.request(u)
- )
- case 13:
- if (((p = e.sent), p.res.headers.etag)) {
- e.next = 16
- break
- }
- throw new Error(
- "Please set the etag of expose-headers in OSS \n https://help.aliyun.com/document_detail/32069.html"
- )
- case 16:
- return (
- s.stream && ((s.stream = null), (u.stream = null)),
- e.abrupt("return", {
- name: r,
- etag: p.res.headers.etag,
- res: p.res
- })
- )
- case 18:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function r(t, r, n, i, o) {
- return e.apply(this, arguments)
- }
- return r
- })())
- }).call(this, e("_process"))
- },
- {
- "./callback": 23,
- "./utils/deepCopy": 54,
- "./utils/isBuffer": 61,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- _process: 392,
- "copy-to": 101,
- "core-js/modules/es.array.concat": 234,
- "core-js/modules/es.array.filter": 236,
- "core-js/modules/es.array.map": 245,
- "core-js/modules/es.array.sort": 247,
- "core-js/modules/es.object.to-string": 254,
- "core-js/modules/es.regexp.to-string": 257,
- "regenerator-runtime/runtime": 336
- }
- ],
- 29: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.concat"),
- e("core-js/modules/es.array.find"),
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.array.includes"),
- e("core-js/modules/es.object.keys"),
- e("core-js/modules/es.regexp.exec"),
- e("core-js/modules/es.string.replace"),
- e("core-js/modules/web.dom-collections.for-each")
- var i = n(e("@babel/runtime/regenerator")),
- o = n(e("@babel/runtime/helpers/typeof"))
- e("regenerator-runtime/runtime")
- var a = n(e("@babel/runtime/helpers/asyncToGenerator")),
- s = e("../utils/checkBucketName"),
- l = s.checkBucketName,
- c = r,
- u = ["content-type", "content-encoding", "content-language", "content-disposition", "cache-control", "expires"]
- ;(c.copy = (function () {
- var e = (0, a.default)(
- i.default.mark(function e(t, r, n, a) {
- var s, l, c
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- "object" === (0, o.default)(n) && (a = n),
- (a = a || {}),
- (a.headers = a.headers || {}),
- Object.keys(a.headers).forEach(function (e) {
- a.headers["x-oss-copy-source-".concat(e.toLowerCase())] = a.headers[e]
- }),
- (a.meta ||
- Object.keys(a.headers).find(function (e) {
- return u.includes(e.toLowerCase())
- })) &&
- (a.headers["x-oss-metadata-directive"] = "REPLACE"),
- this._convertMetaToHeaders(a.meta, a.headers),
- (r = this._getSourceName(r, n)),
- a.versionId && (r = "".concat(r, "?versionId=").concat(a.versionId)),
- (a.headers["x-oss-copy-source"] = r),
- (s = this._objectRequestParams("PUT", t, a)),
- (s.xmlResponse = !0),
- (s.successStatuses = [200, 304]),
- (e.next = 14),
- this.request(s)
- )
- case 14:
- return (
- (l = e.sent),
- (c = l.data),
- c &&
- (c = {
- etag: c.ETag,
- lastModified: c.LastModified
- }),
- e.abrupt("return", {
- data: c,
- res: l.res
- })
- )
- case 18:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r, n, i) {
- return e.apply(this, arguments)
- }
- return t
- })()),
- (c._getSourceName = function (e, t) {
- return (
- "string" === typeof t
- ? (e = this._objectName(e))
- : "/" !== e[0]
- ? (t = this.options.bucket)
- : ((t = e.replace(/\/(.+?)(\/.*)/, "$1")), (e = e.replace(/(\/.+?\/)(.*)/, "$2"))),
- l(t),
- (e = encodeURIComponent(e)),
- (e = "/".concat(t, "/").concat(e)),
- e
- )
- })
- },
- {
- "../utils/checkBucketName": 48,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/helpers/typeof": 73,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.array.concat": 234,
- "core-js/modules/es.array.find": 237,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.array.includes": 240,
- "core-js/modules/es.object.keys": 253,
- "core-js/modules/es.regexp.exec": 256,
- "core-js/modules/es.string.replace": 261,
- "core-js/modules/web.dom-collections.for-each": 291,
- "regenerator-runtime/runtime": 336
- }
- ],
- 30: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.object.assign")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = r
- a.delete = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t) {
- var r,
- n,
- o,
- a = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (r = a.length > 1 && void 0 !== a[1] ? a[1] : {}),
- (r.subres = Object.assign({}, r.subres)),
- r.versionId && (r.subres.versionId = r.versionId),
- (n = this._objectRequestParams("DELETE", t, r)),
- (n.successStatuses = [204]),
- (e.next = 7),
- this.request(n)
- )
- case 7:
- return (
- (o = e.sent),
- e.abrupt("return", {
- res: o.res
- })
- )
- case 9:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.object.assign": 251,
- "regenerator-runtime/runtime": 336
- }
- ],
- 31: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.object.assign")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = e("utility"),
- s = e("../utils/obj2xml"),
- l = s.obj2xml,
- c = r
- c.deleteMulti = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t) {
- var r,
- n,
- o,
- s,
- c,
- u,
- f,
- p,
- d,
- h,
- m,
- g,
- y,
- v = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (((r = v.length > 1 && void 0 !== v[1] ? v[1] : {}), (n = []), t && t.length)) {
- e.next = 4
- break
- }
- throw new Error("names is required")
- case 4:
- for (o = 0; o < t.length; o++)
- (s = {}),
- "string" === typeof t[o]
- ? (s.Key = a.escape(this._objectName(t[o])))
- : ((c = t[o]),
- (u = c.key),
- (f = c.versionId),
- (s.Key = a.escape(this._objectName(u))),
- (s.VersionId = f)),
- n.push(s)
- return (
- (p = {
- Delete: {
- Quiet: !!r.quiet,
- Object: n
- }
- }),
- (d = l(p, {
- headers: !0
- })),
- (r.subres = Object.assign(
- {
- delete: ""
- },
- r.subres
- )),
- r.versionId && (r.subres.versionId = r.versionId),
- (h = this._objectRequestParams("POST", "", r)),
- (h.mime = "xml"),
- (h.content = d),
- (h.xmlResponse = !0),
- (h.successStatuses = [200]),
- (e.next = 16),
- this.request(h)
- )
- case 16:
- return (
- (m = e.sent),
- (g = m.data),
- (y = (g && g.Deleted) || null),
- y && (Array.isArray(y) || (y = [y])),
- e.abrupt("return", {
- res: m.res,
- deleted: y || []
- })
- )
- case 21:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "../utils/obj2xml": 67,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.object.assign": 251,
- "regenerator-runtime/runtime": 336,
- utility: 395
- }
- ],
- 32: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.object.assign")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = r
- a.deleteObjectTagging = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t) {
- var r,
- n,
- o,
- a = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (r = a.length > 1 && void 0 !== a[1] ? a[1] : {}),
- (r.subres = Object.assign(
- {
- tagging: ""
- },
- r.subres
- )),
- r.versionId && (r.subres.versionId = r.versionId),
- (t = this._objectName(t)),
- (n = this._objectRequestParams("DELETE", t, r)),
- (n.successStatuses = [204]),
- (e.next = 8),
- this.request(n)
- )
- case 8:
- return (
- (o = e.sent),
- e.abrupt("return", {
- status: o.status,
- res: o.res
- })
- )
- case 10:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.object.assign": 251,
- "regenerator-runtime/runtime": 336
- }
- ],
- 33: [
- function (e, t, r) {
- "use strict"
- e("core-js/modules/es.array.concat")
- var n = e("url"),
- i = e("../utils/isIP"),
- o = i.isIP,
- a = r
- a.generateObjectUrl = function (e, t) {
- if (o(this.options.endpoint.hostname)) throw new Error("can not get the object URL when endpoint is IP")
- if (t) "/" !== t[t.length - 1] && (t += "/")
- else {
- t = this.options.endpoint.format()
- var r = n.parse(t),
- i = this.options.bucket
- ;(r.hostname = "".concat(i, ".").concat(r.hostname)), (r.host = "".concat(i, ".").concat(r.host)), (t = r.format())
- }
- return t + this._escape(this._objectName(e))
- }
- },
- {
- "../utils/isIP": 64,
- "core-js/modules/es.array.concat": 234,
- url: 393
- }
- ],
- 34: [
- function (e, t, r) {
- ;(function (t) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.object.assign")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = e("fs"),
- s = e("is-type-of"),
- l = r
- l.get = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(r, n) {
- var o,
- l,
- c,
- u,
- f,
- p,
- d,
- h,
- m = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (o = m.length > 2 && void 0 !== m[2] ? m[2] : {}),
- (l = null),
- (c = !1),
- s.writableStream(n)
- ? (l = n)
- : s.string(n)
- ? ((l = a.createWriteStream(n)), (c = !0))
- : (o = n),
- (o = o || {}),
- (u = t && t.browser),
- (f = null === o.responseCacheControl ? "" : "no-cache"),
- (p =
- u && f
- ? {
- "response-cache-control": f
- }
- : {}),
- (o.subres = Object.assign(p, o.subres)),
- o.versionId && (o.subres.versionId = o.versionId),
- o.process && (o.subres["x-oss-process"] = o.process),
- (e.prev = 11),
- (h = this._objectRequestParams("GET", r, o)),
- (h.writeStream = l),
- (h.successStatuses = [200, 206, 304]),
- (e.next = 17),
- this.request(h)
- )
- case 17:
- ;(d = e.sent), c && l.destroy(), (e.next = 28)
- break
- case 21:
- if (((e.prev = 21), (e.t0 = e["catch"](11)), !c)) {
- e.next = 27
- break
- }
- return l.destroy(), (e.next = 27), this._deleteFileSafe(n)
- case 27:
- throw e.t0
- case 28:
- return e.abrupt("return", {
- res: d.res,
- content: d.data
- })
- case 29:
- case "end":
- return e.stop()
- }
- },
- e,
- this,
- [[11, 21]]
- )
- })
- )
- function r(t, r) {
- return e.apply(this, arguments)
- }
- return r
- })()
- }).call(this, e("_process"))
- },
- {
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- _process: 392,
- "core-js/modules/es.object.assign": 251,
- fs: 79,
- "is-type-of": 391,
- "regenerator-runtime/runtime": 336
- }
- ],
- 35: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.object.assign")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = r
- a.getACL = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t) {
- var r,
- n,
- o,
- a = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (r = a.length > 1 && void 0 !== a[1] ? a[1] : {}),
- (r.subres = Object.assign(
- {
- acl: ""
- },
- r.subres
- )),
- r.versionId && (r.subres.versionId = r.versionId),
- (t = this._objectName(t)),
- (n = this._objectRequestParams("GET", t, r)),
- (n.successStatuses = [200]),
- (n.xmlResponse = !0),
- (e.next = 9),
- this.request(n)
- )
- case 9:
- return (
- (o = e.sent),
- e.abrupt("return", {
- acl: o.data.AccessControlList.Grant,
- owner: {
- id: o.data.Owner.ID,
- displayName: o.data.Owner.DisplayName
- },
- res: o.res
- })
- )
- case 11:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.object.assign": 251,
- "regenerator-runtime/runtime": 336
- }
- ],
- 36: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.array.map"),
- e("core-js/modules/es.number.constructor"),
- e("core-js/modules/es.object.assign"),
- e("core-js/modules/es.object.keys"),
- e("core-js/modules/es.regexp.exec"),
- e("core-js/modules/es.string.replace"),
- e("core-js/modules/web.dom-collections.for-each")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = r,
- s = e("../utils/isObject"),
- l = s.isObject,
- c = e("../utils/isArray"),
- u = c.isArray
- function f() {
- return p.apply(this, arguments)
- }
- function p() {
- return (
- (p = (0, o.default)(
- i.default.mark(function e() {
- var t,
- r,
- n,
- o,
- a,
- s,
- l,
- c,
- f = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((t = f.length > 0 && void 0 !== f[0] ? f[0] : {}),
- (r = f.length > 1 && void 0 !== f[1] ? f[1] : {}),
- !t.versionIdMarker || void 0 !== t.keyMarker)
- ) {
- e.next = 4
- break
- }
- throw new Error("A version-id marker cannot be specified without a key marker")
- case 4:
- return (
- (r.subres = Object.assign(
- {
- versions: ""
- },
- r.subres
- )),
- r.versionId && (r.subres.versionId = r.versionId),
- (n = this._objectRequestParams("GET", "", r)),
- (n.xmlResponse = !0),
- (n.successStatuses = [200]),
- (n.query = h(t)),
- (e.next = 12),
- this.request(n)
- )
- case 12:
- return (
- (o = e.sent),
- (a = o.data.Version || []),
- (s = o.data.DeleteMarker || []),
- (l = this),
- a &&
- (Array.isArray(a) || (a = [a]),
- (a = a.map(function (e) {
- return {
- name: e.Key,
- url: l._objectUrl(e.Key),
- lastModified: e.LastModified,
- isLatest: "true" === e.IsLatest,
- versionId: e.VersionId,
- etag: e.ETag,
- type: e.Type,
- size: Number(e.Size),
- storageClass: e.StorageClass,
- owner: {
- id: e.Owner.ID,
- displayName: e.Owner.DisplayName
- }
- }
- }))),
- s &&
- (u(s) || (s = [s]),
- (s = s.map(function (e) {
- return {
- name: e.Key,
- lastModified: e.LastModified,
- versionId: e.VersionId,
- owner: {
- id: e.Owner.ID,
- displayName: e.Owner.DisplayName
- }
- }
- }))),
- (c = o.data.CommonPrefixes || null),
- c &&
- (u(c) || (c = [c]),
- (c = c.map(function (e) {
- return e.Prefix
- }))),
- e.abrupt("return", {
- res: o.res,
- objects: a,
- deleteMarker: s,
- prefixes: c,
- nextMarker: o.data.NextKeyMarker || null,
- NextVersionIdMarker: o.data.NextVersionIdMarker || null,
- nextKeyMarker: o.data.NextKeyMarker || null,
- nextVersionIdMarker: o.data.NextVersionIdMarker || null,
- isTruncated: "true" === o.data.IsTruncated
- })
- )
- case 21:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )),
- p.apply(this, arguments)
- )
- }
- function d(e) {
- return e.replace(/([A-Z])/g, "-$1").toLowerCase()
- }
- function h() {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
- t = {}
- return (
- l(e) &&
- Object.keys(e).forEach(function (r) {
- t[d(r)] = e[r]
- }),
- t
- )
- }
- ;(a.getBucketVersions = f), (a.listObjectVersions = f)
- },
- {
- "../utils/isArray": 59,
- "../utils/isObject": 65,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.array.map": 245,
- "core-js/modules/es.number.constructor": 250,
- "core-js/modules/es.object.assign": 251,
- "core-js/modules/es.object.keys": 253,
- "core-js/modules/es.regexp.exec": 256,
- "core-js/modules/es.string.replace": 261,
- "core-js/modules/web.dom-collections.for-each": 291,
- "regenerator-runtime/runtime": 336
- }
- ],
- 37: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.object.assign")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = r
- a.getObjectMeta = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n, o
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (r = r || {}),
- (t = this._objectName(t)),
- (r.subres = Object.assign(
- {
- objectMeta: ""
- },
- r.subres
- )),
- r.versionId && (r.subres.versionId = r.versionId),
- (n = this._objectRequestParams("HEAD", t, r)),
- (n.successStatuses = [200]),
- (e.next = 8),
- this.request(n)
- )
- case 8:
- return (
- (o = e.sent),
- e.abrupt("return", {
- status: o.status,
- res: o.res
- })
- )
- case 10:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.object.assign": 251,
- "regenerator-runtime/runtime": 336
- }
- ],
- 38: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.object.assign"),
- e("core-js/modules/web.dom-collections.for-each")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = r,
- s = e("../utils/isObject"),
- l = s.isObject
- a.getObjectTagging = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t) {
- var r,
- n,
- o,
- a,
- s,
- c,
- u = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (r = u.length > 1 && void 0 !== u[1] ? u[1] : {}),
- (r.subres = Object.assign(
- {
- tagging: ""
- },
- r.subres
- )),
- r.versionId && (r.subres.versionId = r.versionId),
- (t = this._objectName(t)),
- (n = this._objectRequestParams("GET", t, r)),
- (n.successStatuses = [200]),
- (e.next = 8),
- this.request(n)
- )
- case 8:
- return (o = e.sent), (e.next = 11), this.parseXML(o.data)
- case 11:
- return (
- (a = e.sent),
- (s = a.TagSet.Tag),
- (s = s && l(s) ? [s] : s || []),
- (c = {}),
- s.forEach(function (e) {
- c[e.Key] = e.Value
- }),
- e.abrupt("return", {
- status: o.status,
- res: o.res,
- tag: c
- })
- )
- case 17:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "../utils/isObject": 65,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.object.assign": 251,
- "core-js/modules/web.dom-collections.for-each": 291,
- "regenerator-runtime/runtime": 336
- }
- ],
- 39: [
- function (e, t, r) {
- "use strict"
- var n = e("../utils/isIP"),
- i = n.isIP,
- o = r
- o.getObjectUrl = function (e, t) {
- if (i(this.options.endpoint.hostname)) throw new Error("can not get the object URL when endpoint is IP")
- return (
- t ? "/" !== t[t.length - 1] && (t += "/") : (t = this.options.endpoint.format()), t + this._escape(this._objectName(e))
- )
- }
- },
- {
- "../utils/isIP": 64
- }
- ],
- 40: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.object.assign")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = r
- a.getSymlink = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t) {
- var r,
- n,
- o,
- a,
- s = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (r = s.length > 1 && void 0 !== s[1] ? s[1] : {}),
- (r.subres = Object.assign(
- {
- symlink: ""
- },
- r.subres
- )),
- r.versionId && (r.subres.versionId = r.versionId),
- (t = this._objectName(t)),
- (n = this._objectRequestParams("GET", t, r)),
- (n.successStatuses = [200]),
- (e.next = 8),
- this.request(n)
- )
- case 8:
- return (
- (o = e.sent),
- (a = o.res.headers["x-oss-symlink-target"]),
- e.abrupt("return", {
- targetName: decodeURIComponent(a),
- res: o.res
- })
- )
- case 11:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.object.assign": 251,
- "regenerator-runtime/runtime": 336
- }
- ],
- 41: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.array.index-of"),
- e("core-js/modules/es.object.assign"),
- e("core-js/modules/es.object.keys"),
- e("core-js/modules/web.dom-collections.for-each")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = r
- a.head = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t) {
- var r,
- n,
- o,
- a,
- s = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (r = s.length > 1 && void 0 !== s[1] ? s[1] : {}),
- (r.subres = Object.assign({}, r.subres)),
- r.versionId && (r.subres.versionId = r.versionId),
- (n = this._objectRequestParams("HEAD", t, r)),
- (n.successStatuses = [200, 304]),
- (e.next = 7),
- this.request(n)
- )
- case 7:
- return (
- (o = e.sent),
- (a = {
- meta: null,
- res: o.res,
- status: o.status
- }),
- 200 === o.status &&
- Object.keys(o.headers).forEach(function (e) {
- 0 === e.indexOf("x-oss-meta-") &&
- (a.meta || (a.meta = {}), (a.meta[e.substring(11)] = o.headers[e]))
- }),
- e.abrupt("return", a)
- )
- case 11:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.array.index-of": 241,
- "core-js/modules/es.object.assign": 251,
- "core-js/modules/es.object.keys": 253,
- "core-js/modules/web.dom-collections.for-each": 291,
- "regenerator-runtime/runtime": 336
- }
- ],
- 42: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.object.assign")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = r
- a.putACL = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r, n) {
- var o, a
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (n = n || {}),
- (n.subres = Object.assign(
- {
- acl: ""
- },
- n.subres
- )),
- n.versionId && (n.subres.versionId = n.versionId),
- (n.headers = n.headers || {}),
- (n.headers["x-oss-object-acl"] = r),
- (t = this._objectName(t)),
- (o = this._objectRequestParams("PUT", t, n)),
- (o.successStatuses = [200]),
- (e.next = 10),
- this.request(o)
- )
- case 10:
- return (
- (a = e.sent),
- e.abrupt("return", {
- res: a.res
- })
- )
- case 12:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r, n) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.object.assign": 251,
- "regenerator-runtime/runtime": 336
- }
- ],
- 43: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.map"), e("core-js/modules/es.object.assign"), e("core-js/modules/es.object.keys")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = e("../utils/obj2xml"),
- s = a.obj2xml,
- l = e("../utils/checkObjectTag"),
- c = l.checkObjectTag,
- u = r
- u.putObjectTagging = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r) {
- var n,
- o,
- a,
- l,
- u = arguments
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (n = u.length > 2 && void 0 !== u[2] ? u[2] : {}),
- c(r),
- (n.subres = Object.assign(
- {
- tagging: ""
- },
- n.subres
- )),
- n.versionId && (n.subres.versionId = n.versionId),
- (t = this._objectName(t)),
- (o = this._objectRequestParams("PUT", t, n)),
- (o.successStatuses = [200]),
- (r = Object.keys(r).map(function (e) {
- return {
- Key: e,
- Value: r[e]
- }
- })),
- (a = {
- Tagging: {
- TagSet: {
- Tag: r
- }
- }
- }),
- (o.mime = "xml"),
- (o.content = s(a)),
- (e.next = 13),
- this.request(o)
- )
- case 13:
- return (
- (l = e.sent),
- e.abrupt("return", {
- res: l.res,
- status: l.status
- })
- )
- case 15:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "../utils/checkObjectTag": 50,
- "../utils/obj2xml": 67,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.array.map": 245,
- "core-js/modules/es.object.assign": 251,
- "core-js/modules/es.object.keys": 253,
- "regenerator-runtime/runtime": 336
- }
- ],
- 44: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.object.assign")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = r
- a.putSymlink = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r, n) {
- var o, a
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (n = n || {}),
- (n.headers = n.headers || {}),
- (r = this._escape(this._objectName(r))),
- this._convertMetaToHeaders(n.meta, n.headers),
- (n.headers["x-oss-symlink-target"] = r),
- (n.subres = Object.assign(
- {
- symlink: ""
- },
- n.subres
- )),
- n.versionId && (n.subres.versionId = n.versionId),
- n.storageClass && (n.headers["x-oss-storage-class"] = n.storageClass),
- (t = this._objectName(t)),
- (o = this._objectRequestParams("PUT", t, n)),
- (o.successStatuses = [200]),
- (e.next = 13),
- this.request(o)
- )
- case 13:
- return (
- (a = e.sent),
- e.abrupt("return", {
- res: a.res
- })
- )
- case 15:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )
- function t(t, r, n) {
- return e.apply(this, arguments)
- }
- return t
- })()
- },
- {
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.object.assign": 251,
- "regenerator-runtime/runtime": 336
- }
- ],
- 45: [
- function (e, t, r) {
- "use strict"
- var n = e("url"),
- i = e("utility"),
- o = e("copy-to"),
- a = e("../../common/signUtils"),
- s = e("../utils/isIP"),
- l = s.isIP,
- c = r
- c.signatureUrl = function (e, t) {
- if (l(this.options.endpoint.hostname)) throw new Error("can not get the object URL when endpoint is IP")
- ;(t = t || {}), (e = this._objectName(e)), (t.method = t.method || "GET")
- var r = i.timestamp() + (t.expires || 1800),
- s = {
- bucket: this.options.bucket,
- object: e
- },
- c = this._getResource(s)
- this.options.stsToken && (t["security-token"] = this.options.stsToken)
- var u = a._signatureForURL(this.options.accessKeySecret, t, c, r),
- f = n.parse(this._getReqUrl(s))
- return (
- (f.query = {
- OSSAccessKeyId: this.options.accessKeyId,
- Expires: r,
- Signature: u.Signature
- }),
- o(u.subResource).to(f.query),
- f.format()
- )
- }
- },
- {
- "../../common/signUtils": 47,
- "../utils/isIP": 64,
- "copy-to": 101,
- url: 393,
- utility: 395
- }
- ],
- 46: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.array.iterator"),
- e("core-js/modules/es.function.name"),
- e("core-js/modules/es.object.to-string"),
- e("core-js/modules/es.promise"),
- e("core-js/modules/es.string.iterator"),
- e("core-js/modules/web.dom-collections.for-each"),
- e("core-js/modules/web.dom-collections.iterator")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator")),
- a = e("./utils/isArray"),
- s = a.isArray,
- l = r
- ;(l._parallelNode = (function () {
- var e = (0, o.default)(
- i.default.mark(function e(t, r, n, o) {
- var a, s, l, c, u, f, p, d
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- ;(a = this),
- (s = []),
- (l = []),
- (c = t.length / r),
- (u = t.length % r),
- (f = 0 === u ? c : (t.length - u) / r + 1),
- (p = 1),
- (d = 0)
- case 8:
- if (!(d < t.length)) {
- e.next = 26
- break
- }
- if (!a.isCancel()) {
- e.next = 11
- break
- }
- return e.abrupt("break", 26)
- case 11:
- if (
- (o ? l.push(n(a, t[d], o)) : l.push(n(a, t[d])), l.length !== r && (p !== f || d !== t.length - 1))
- ) {
- e.next = 23
- break
- }
- return (e.prev = 13), (p += 1), (e.next = 17), Promise.all(l)
- case 17:
- e.next = 22
- break
- case 19:
- ;(e.prev = 19), (e.t0 = e["catch"](13)), s.push(e.t0)
- case 22:
- l = []
- case 23:
- d++, (e.next = 8)
- break
- case 26:
- return e.abrupt("return", s)
- case 27:
- case "end":
- return e.stop()
- }
- },
- e,
- this,
- [[13, 19]]
- )
- })
- )
- function t(t, r, n, i) {
- return e.apply(this, arguments)
- }
- return t
- })()),
- (l._parallel = function (e, t, r) {
- var n = this
- return new Promise(function (i) {
- var o = []
- if (t <= 0 || !e) i(o)
- else {
- var a = f(e),
- s = !1,
- l = 0,
- c = !1
- h()
- }
- function u(e) {
- return function () {
- if (null === e) throw new Error("Callback was already called.")
- var t = e
- e = null
- for (var r = arguments.length, n = new Array(r), i = 0; i < r; i++) n[i] = arguments[i]
- t.apply(this, n)
- }
- }
- function f(e) {
- var t = -1,
- r = e.length
- return function () {
- return ++t < r && !n.isCancel()
- ? {
- value: e[t],
- key: t
- }
- : null
- }
- }
- function p(e, t) {
- ;(l -= 1),
- e
- ? ((s = !0), o.push(e), i(o))
- : t === {} || (s && l <= 0)
- ? ((s = !0), i(o))
- : c || (n.isCancel() ? i(o) : h())
- }
- function d(e, t) {
- r(e)
- .then(function (e) {
- t(null, e)
- })
- .catch(function (e) {
- t(e)
- })
- }
- function h() {
- c = !0
- while (l < t && !s && !n.isCancel()) {
- var e = a()
- if (null === e || o.length > 0) return (s = !0), void (l <= 0 && i(o))
- ;(l += 1), d(e.value, u(p))
- }
- c = !1
- }
- })
- }),
- (l.cancel = function (e) {
- ;(this.options.cancelFlag = !0),
- s(this.multipartUploadStreams) &&
- this.multipartUploadStreams.forEach(function (e) {
- if (!1 === e.destroyed) {
- var t = {
- name: "cancel",
- message: "cancel"
- }
- e.destroy(t)
- }
- }),
- (this.multipartUploadStreams = []),
- e && this.abortMultipartUpload(e.name, e.uploadId, e.options)
- }),
- (l.isCancel = function () {
- return this.options.cancelFlag
- }),
- (l.resetCancelFlag = function () {
- this.options.cancelFlag = !1
- }),
- (l._stop = function () {
- this.options.cancelFlag = !0
- }),
- (l._makeCancelEvent = function () {
- var e = {
- status: 0,
- name: "cancel"
- }
- return e
- }),
- (l._makeAbortEvent = function () {
- var e = {
- status: 0,
- name: "abort",
- message: "upload task has been abort"
- }
- return e
- })
- },
- {
- "./utils/isArray": 59,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.array.iterator": 242,
- "core-js/modules/es.function.name": 249,
- "core-js/modules/es.object.to-string": 254,
- "core-js/modules/es.promise": 255,
- "core-js/modules/es.string.iterator": 259,
- "core-js/modules/web.dom-collections.for-each": 291,
- "core-js/modules/web.dom-collections.iterator": 292,
- "regenerator-runtime/runtime": 336
- }
- ],
- 47: [
- function (e, t, r) {
- ;(function (t) {
- "use strict"
- e("core-js/modules/es.array.concat"),
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.array.index-of"),
- e("core-js/modules/es.array.join"),
- e("core-js/modules/es.array.sort"),
- e("core-js/modules/es.object.keys"),
- e("core-js/modules/es.object.to-string"),
- e("core-js/modules/es.regexp.to-string"),
- e("core-js/modules/es.string.trim"),
- e("core-js/modules/web.dom-collections.for-each")
- var n = e("./../../shims/crypto/crypto.js"),
- i = e("is-type-of"),
- o = e("./utils/lowercaseKeyHeader"),
- a = o.lowercaseKeyHeader
- ;(r.buildCanonicalizedResource = function (e, t) {
- var r = "".concat(e),
- n = "?"
- if (i.string(t) && "" !== t.trim()) r += n + t
- else if (i.array(t)) t.sort(), (r += n + t.join("&"))
- else if (t) {
- var o = function (e, t) {
- return e[0] > t[0] ? 1 : e[0] < t[0] ? -1 : 0
- },
- a = function (e) {
- ;(r += n + e), t[e] && (r += "=".concat(t[e])), (n = "&")
- }
- Object.keys(t).sort(o).forEach(a)
- }
- return r
- }),
- (r.buildCanonicalString = function (e, t, r, n) {
- r = r || {}
- var i = a(r.headers),
- o = "x-oss-",
- s = [],
- l = {},
- c = [e.toUpperCase(), i["content-md5"] || "", i["content-type"], n || i["x-oss-date"]]
- return (
- Object.keys(i).forEach(function (e) {
- var t = e.toLowerCase()
- 0 === t.indexOf(o) && (l[t] = String(i[e]).trim())
- }),
- Object.keys(l)
- .sort()
- .forEach(function (e) {
- s.push("".concat(e, ":").concat(l[e]))
- }),
- (c = c.concat(s)),
- c.push(this.buildCanonicalizedResource(t, r.parameters)),
- c.join("\n")
- )
- }),
- (r.computeSignature = function (e, r) {
- var i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "utf-8",
- o = n.createHmac("sha1", e)
- return o.update(t.from(r, i)).digest("base64")
- }),
- (r.authorization = function (e, t, r, n) {
- return "OSS ".concat(e, ":").concat(this.computeSignature(t, r, n))
- }),
- (r._signatureForURL = function (e) {
- var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
- n = arguments.length > 2 ? arguments[2] : void 0,
- i = arguments.length > 3 ? arguments[3] : void 0,
- o = arguments.length > 4 ? arguments[4] : void 0,
- a = {},
- s = r.subResource,
- l = void 0 === s ? {} : s
- if (r.process) {
- var c = "x-oss-process"
- l[c] = r.process
- }
- if (r.trafficLimit) {
- var u = "x-oss-traffic-limit"
- l[u] = r.trafficLimit
- }
- if (
- (r.response &&
- Object.keys(r.response).forEach(function (e) {
- var t = "response-".concat(e.toLowerCase())
- l[t] = r.response[e]
- }),
- Object.keys(r).forEach(function (e) {
- var t = e.toLowerCase(),
- n = r[e]
- 0 === t.indexOf("x-oss-")
- ? (a[t] = n)
- : (0 === t.indexOf("content-md5") || 0 === t.indexOf("content-type")) && (a[e] = n)
- }),
- Object.prototype.hasOwnProperty.call(r, "security-token") && (l["security-token"] = r["security-token"]),
- Object.prototype.hasOwnProperty.call(r, "callback"))
- ) {
- var f = {
- callbackUrl: encodeURI(r.callback.url),
- callbackBody: r.callback.body
- }
- if (
- (r.callback.host && (f.callbackHost = r.callback.host),
- r.callback.contentType && (f.callbackBodyType = r.callback.contentType),
- (l.callback = t.from(JSON.stringify(f)).toString("base64")),
- r.callback.customValue)
- ) {
- var p = {}
- Object.keys(r.callback.customValue).forEach(function (e) {
- p["x:".concat(e)] = r.callback.customValue[e]
- }),
- (l["callback-var"] = t.from(JSON.stringify(p)).toString("base64"))
- }
- }
- var d = this.buildCanonicalString(
- r.method,
- n,
- {
- headers: a,
- parameters: l
- },
- i.toString()
- )
- return {
- Signature: this.computeSignature(e, d, o),
- subResource: l
- }
- })
- }).call(this, e("buffer").Buffer)
- },
- {
- "./../../shims/crypto/crypto.js": 386,
- "./utils/lowercaseKeyHeader": 66,
- buffer: 99,
- "core-js/modules/es.array.concat": 234,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.array.index-of": 241,
- "core-js/modules/es.array.join": 243,
- "core-js/modules/es.array.sort": 247,
- "core-js/modules/es.object.keys": 253,
- "core-js/modules/es.object.to-string": 254,
- "core-js/modules/es.regexp.to-string": 257,
- "core-js/modules/es.string.trim": 264,
- "core-js/modules/web.dom-collections.for-each": 291,
- "is-type-of": 391
- }
- ],
- 48: [
- function (e, t, r) {
- "use strict"
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.checkBucketName = void 0),
- (r.checkBucketName = function (e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
- r = t ? /^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/ : /^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/
- if (!r.test(e)) throw new Error("The bucket must be conform to the specifications")
- })
- },
- {}
- ],
- 49: [
- function (e, t, r) {
- "use strict"
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.checkConfigValid = void 0)
- var n = {
- endpoint: i,
- region: /^[a-zA-Z0-9\-_]+$/
- }
- function i(e) {
- return "string" === typeof e ? /^[a-zA-Z0-9._:/-]+$/.test(e) : !!e.host && /^[a-zA-Z0-9._:/-]+$/.test(e.host)
- }
- r.checkConfigValid = function (e, t) {
- if (n[t]) {
- var r = !0
- if (((r = n[t] instanceof Function ? n[t](e) : n[t].test(e)), !r))
- throw new Error("The ".concat(t, " must be conform to the specifications"))
- }
- }
- },
- {}
- ],
- 50: [
- function (e, t, r) {
- "use strict"
- e("core-js/modules/es.array.concat"),
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.object.entries"),
- e("core-js/modules/web.dom-collections.for-each"),
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.checkObjectTag = void 0)
- var n = e("./checkValid"),
- i = n.checkValid,
- o = e("./isObject"),
- a = o.isObject,
- s = [
- {
- validator: function (e) {
- if ("string" !== typeof e) throw new Error("the key and value of the tag must be String")
- }
- },
- {
- pattern: /^[a-zA-Z0-9 +-=._:/]+$/,
- msg: "tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"
- }
- ],
- l = {
- key: [].concat(s, [
- {
- pattern: /^.{1,128}$/,
- msg: "tag key can be a maximum of 128 bytes in length"
- }
- ]),
- value: [].concat(s, [
- {
- pattern: /^.{0,256}$/,
- msg: "tag value can be a maximum of 256 bytes in length"
- }
- ])
- }
- function c(e) {
- if (!a(e)) throw new Error("tag must be Object")
- var t = Object.entries(e)
- if (t.length > 10) throw new Error("maximum of 10 tags for a object")
- var r = ["key", "value"]
- t.forEach(function (e) {
- e.forEach(function (e, t) {
- i(e, l[r[t]])
- })
- })
- }
- r.checkObjectTag = c
- },
- {
- "./checkValid": 51,
- "./isObject": 65,
- "core-js/modules/es.array.concat": 234,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.object.entries": 252,
- "core-js/modules/web.dom-collections.for-each": 291
- }
- ],
- 51: [
- function (e, t, r) {
- "use strict"
- function n(e, t) {
- t.forEach(function (t) {
- if (t.validator) t.validator(e)
- else if (t.pattern && !t.pattern.test(e)) throw new Error(t.msg)
- })
- }
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/web.dom-collections.for-each"),
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.checkValid = void 0),
- (r.checkValid = n)
- },
- {
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/web.dom-collections.for-each": 291
- }
- ],
- 52: [
- function (e, t, r) {
- ;(function (t) {
- "use strict"
- e("core-js/modules/es.array.concat"),
- e("core-js/modules/es.array.includes"),
- e("core-js/modules/es.array.index-of"),
- e("core-js/modules/es.object.assign"),
- e("core-js/modules/es.string.includes"),
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.createRequest = void 0)
- var n = e("./../../../shims/crypto/crypto.js"),
- i = e("debug")("ali-oss"),
- o = e("mime"),
- a = e("dateformat"),
- s = e("copy-to"),
- l = e("path"),
- c = e("./encoder"),
- u = c.encoder,
- f = e("./isIP"),
- p = f.isIP,
- d = e("./setRegion"),
- h = d.setRegion,
- m = e("../client/getReqUrl"),
- g = m.getReqUrl
- function y(e, t) {
- return e[t] || e[t.toLowerCase()]
- }
- function v(e, t) {
- delete e[t], delete e[t.toLowerCase()]
- }
- function b(e) {
- var r = new Date()
- this.options.amendTimeSkewed && (r = +new Date() + this.options.amendTimeSkewed)
- var c = {
- "x-oss-date": a(r, "UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),
- "x-oss-user-agent": this.userAgent
- }
- this.userAgent.includes("nodejs") && (c["User-Agent"] = this.userAgent),
- this.options.isRequestPay &&
- Object.assign(c, {
- "x-oss-request-payer": "requester"
- }),
- this.options.stsToken && (c["x-oss-security-token"] = this.options.stsToken),
- s(e.headers).to(c),
- y(c, "Content-Type") ||
- (e.mime && e.mime.indexOf("/") > 0
- ? (c["Content-Type"] = e.mime)
- : (c["Content-Type"] = o.getType(e.mime || l.extname(e.object || "")))),
- y(c, "Content-Type") || v(c, "Content-Type"),
- e.content &&
- (e.disabledMD5 || (c["Content-MD5"] = n.createHash("md5").update(t.from(e.content, "utf8")).digest("base64")),
- c["Content-Length"] || (c["Content-Length"] = e.content.length))
- var f = Object.prototype.hasOwnProperty
- for (var d in c) c[d] && f.call(c, d) && (c[d] = u(String(c[d]), this.options.headerEncoding))
- var m = this._getResource(e)
- if (
- ((c.authorization = this.authorization(e.method, m, e.subres, c, this.options.headerEncoding)),
- p(this.options.endpoint.hostname))
- ) {
- var b = this.options,
- w = b.region,
- x = b.internal,
- A = b.secure,
- _ = h(w, x, A)
- c.host = "".concat(e.bucket, ".").concat(_.host)
- }
- var T = g.bind(this)(e)
- i("request %s %s, with headers %j, !!stream: %s", e.method, T, c, !!e.stream)
- var E = e.timeout || this.options.timeout,
- S = {
- method: e.method,
- content: e.content,
- stream: e.stream,
- headers: c,
- timeout: E,
- writeStream: e.writeStream,
- customResponse: e.customResponse,
- ctx: e.ctx || this.ctx
- }
- return (
- this.agent && (S.agent = this.agent),
- this.httpsAgent && (S.httpsAgent = this.httpsAgent),
- (S.enableProxy = !!this.options.enableProxy),
- (S.proxy = this.options.proxy ? this.options.proxy : null),
- {
- url: T,
- params: S
- }
- )
- }
- r.createRequest = b
- }).call(this, e("buffer").Buffer)
- },
- {
- "../client/getReqUrl": 24,
- "./../../../shims/crypto/crypto.js": 386,
- "./encoder": 55,
- "./isIP": 64,
- "./setRegion": 69,
- buffer: 99,
- "copy-to": 101,
- "core-js/modules/es.array.concat": 234,
- "core-js/modules/es.array.includes": 240,
- "core-js/modules/es.array.index-of": 241,
- "core-js/modules/es.object.assign": 251,
- "core-js/modules/es.string.includes": 258,
- dateformat: 294,
- debug: 390,
- mime: 312,
- path: 315
- }
- ],
- 53: [
- function (e, t, r) {
- "use strict"
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.array.includes"),
- e("core-js/modules/es.object.entries"),
- e("core-js/modules/es.object.keys"),
- e("core-js/modules/es.regexp.exec"),
- e("core-js/modules/es.string.replace"),
- e("core-js/modules/web.dom-collections.for-each"),
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.dataFix = void 0)
- var n = e("./isObject"),
- i = ["true", "TRUE", "1", 1],
- o = ["false", "FALSE", "0", 0]
- function a(e, t, r) {
- if (n.isObject(e)) {
- var i = t.remove,
- o = void 0 === i ? [] : i,
- c = t.rename,
- u = void 0 === c ? {} : c,
- f = t.camel,
- p = void 0 === f ? [] : f,
- d = t.bool,
- h = void 0 === d ? [] : d,
- m = t.lowerFirst,
- g = void 0 !== m && m
- return (
- o.forEach(function (t) {
- return delete e[t]
- }),
- Object.entries(u).forEach(function (t) {
- e[t[0]] && (e[t[1]] || ((e[t[1]] = e[t[0]]), delete e[t[0]]))
- }),
- p.forEach(function (t) {
- if (e[t]) {
- var r = t
- .replace(/^(.)/, function (e) {
- return e.toLowerCase()
- })
- .replace(/-(\w)/g, function (e, t) {
- return t.toUpperCase()
- })
- e[r] || (e[r] = e[t])
- }
- }),
- h.forEach(function (t) {
- e[t] = s(e[t])
- }),
- "function" === typeof r && r(e),
- l(e, g),
- a
- )
- }
- }
- function s(e) {
- return !!e && (!!i.includes(e) || (!o.includes(e) && e))
- }
- function l(e, t) {
- t &&
- Object.keys(e).forEach(function (t) {
- var r = t.replace(/^\w/, function (e) {
- return e.toLowerCase()
- })
- "undefined" === typeof e[r] && ((e[r] = e[t]), delete e[t])
- })
- }
- r.dataFix = a
- },
- {
- "./isObject": 65,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.array.includes": 240,
- "core-js/modules/es.object.entries": 252,
- "core-js/modules/es.object.keys": 253,
- "core-js/modules/es.regexp.exec": 256,
- "core-js/modules/es.string.replace": 261,
- "core-js/modules/web.dom-collections.for-each": 291
- }
- ],
- 54: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.array.slice"),
- e("core-js/modules/es.object.keys"),
- e("core-js/modules/web.dom-collections.for-each")
- var i = n(e("@babel/runtime/helpers/typeof"))
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.deepCopyWith = r.deepCopy = void 0)
- var o = e("./isBuffer")
- ;(r.deepCopy = function (e) {
- if (null === e || "object" !== (0, i.default)(e)) return e
- if (o.isBuffer(e)) return e.slice()
- var t = Array.isArray(e) ? [] : {}
- return (
- Object.keys(e).forEach(function (n) {
- t[n] = r.deepCopy(e[n])
- }),
- t
- )
- }),
- (r.deepCopyWith = function (e, t) {
- function n(e, r, a) {
- var s = t(e, r, a)
- if (void 0 !== s) return s
- if (null === e || "object" !== (0, i.default)(e)) return e
- if (o.isBuffer(e)) return e.slice()
- var l = Array.isArray(e) ? [] : {}
- return (
- Object.keys(e).forEach(function (t) {
- l[t] = n(e[t], t, e)
- }),
- l
- )
- }
- return t ? n(e, "", null) : r.deepCopy(e)
- })
- },
- {
- "./isBuffer": 61,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/helpers/typeof": 73,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.array.slice": 246,
- "core-js/modules/es.object.keys": 253,
- "core-js/modules/web.dom-collections.for-each": 291
- }
- ],
- 55: [
- function (e, t, r) {
- ;(function (t) {
- "use strict"
- function n(e) {
- var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "utf-8"
- return "utf-8" === r ? e : t.from(e).toString("latin1")
- }
- e("core-js/modules/es.object.to-string"),
- e("core-js/modules/es.regexp.to-string"),
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.encoder = void 0),
- (r.encoder = n)
- }).call(this, e("buffer").Buffer)
- },
- {
- buffer: 99,
- "core-js/modules/es.object.to-string": 254,
- "core-js/modules/es.regexp.to-string": 257
- }
- ],
- 56: [
- function (e, t, r) {
- "use strict"
- e("core-js/modules/es.array.map"),
- e("core-js/modules/es.regexp.exec"),
- e("core-js/modules/es.string.replace"),
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.formatInventoryConfig = void 0)
- var n = e("../utils/dataFix"),
- i = e("../utils/isObject"),
- o = e("../utils/isArray"),
- a = e("../utils/formatObjKey")
- function s(e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
- return t && i.isObject(e) && (e = [e]), (e = o.isArray(e) ? e.map(l) : l(e)), e
- }
- function l(e) {
- return (
- n.dataFix(
- e,
- {
- bool: ["IsEnabled"]
- },
- function (e) {
- var t, r
- ;(e.prefix = e.Filter.Prefix),
- delete e.Filter,
- (e.OSSBucketDestination = e.Destination.OSSBucketDestination),
- (e.OSSBucketDestination.rolename = e.OSSBucketDestination.RoleArn.replace(/.*\//, "")),
- delete e.OSSBucketDestination.RoleArn,
- (e.OSSBucketDestination.bucket = e.OSSBucketDestination.Bucket.replace(/.*:::/, "")),
- delete e.OSSBucketDestination.Bucket,
- delete e.Destination,
- (e.frequency = e.Schedule.Frequency),
- delete e.Schedule.Frequency,
- (null === (t = null === e || void 0 === e ? void 0 : e.OptionalFields) || void 0 === t ? void 0 : t.Field) &&
- !o.isArray(null === (r = e.OptionalFields) || void 0 === r ? void 0 : r.Field) &&
- (e.OptionalFields.Field = [e.OptionalFields.Field])
- }
- ),
- (e = a.formatObjKey(e, "firstLowerCase", {
- exclude: ["OSSBucketDestination", "SSE-OSS", "SSE-KMS"]
- })),
- e
- )
- }
- r.formatInventoryConfig = s
- },
- {
- "../utils/dataFix": 53,
- "../utils/formatObjKey": 57,
- "../utils/isArray": 59,
- "../utils/isObject": 65,
- "core-js/modules/es.array.map": 245,
- "core-js/modules/es.regexp.exec": 256,
- "core-js/modules/es.string.replace": 261
- }
- ],
- 57: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.array.includes"),
- e("core-js/modules/es.object.keys"),
- e("core-js/modules/es.regexp.exec"),
- e("core-js/modules/es.string.includes"),
- e("core-js/modules/es.string.replace"),
- e("core-js/modules/web.dom-collections.for-each")
- var i = n(e("@babel/runtime/helpers/typeof"))
- function o(e, t, r) {
- if (null === e || "object" !== (0, i.default)(e)) return e
- var n
- if (Array.isArray(e)) {
- n = []
- for (var s = 0; s < e.length; s++) n.push(o(e[s], t, r))
- } else
- (n = {}),
- Object.keys(e).forEach(function (i) {
- n[a(i, t, r)] = o(e[i], t, r)
- })
- return n
- }
- function a(e, t, r) {
- var n
- return (
- (r && (null === (n = r.exclude) || void 0 === n ? void 0 : n.includes(e))) ||
- ("firstUpperCase" === t
- ? (e = e.replace(/^./, function (e) {
- return e.toUpperCase()
- }))
- : "firstLowerCase" === t &&
- (e = e.replace(/^./, function (e) {
- return e.toLowerCase()
- }))),
- e
- )
- }
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.formatObjKey = void 0),
- (r.formatObjKey = o)
- },
- {
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/helpers/typeof": 73,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.array.includes": 240,
- "core-js/modules/es.object.keys": 253,
- "core-js/modules/es.regexp.exec": 256,
- "core-js/modules/es.string.includes": 258,
- "core-js/modules/es.string.replace": 261,
- "core-js/modules/web.dom-collections.for-each": 291
- }
- ],
- 58: [
- function (e, t, r) {
- "use strict"
- function n(e) {
- for (var t = 0, r = 0; r < e.length; r++) {
- var n = e.charAt(r)
- ;/^[\u00-\uff]$/.test(n) ? (t += 1) : (t += 2)
- }
- return t
- }
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.getStrBytesCount = void 0),
- (r.getStrBytesCount = n)
- },
- {}
- ],
- 59: [
- function (e, t, r) {
- "use strict"
- e("core-js/modules/es.object.to-string"),
- e("core-js/modules/es.regexp.to-string"),
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.isArray = void 0),
- (r.isArray = function (e) {
- return "[object Array]" === Object.prototype.toString.call(e)
- })
- },
- {
- "core-js/modules/es.object.to-string": 254,
- "core-js/modules/es.regexp.to-string": 257
- }
- ],
- 60: [
- function (e, t, r) {
- "use strict"
- function n(e) {
- return "undefined" !== typeof Blob && e instanceof Blob
- }
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.isBlob = void 0),
- (r.isBlob = n)
- },
- {}
- ],
- 61: [
- function (e, t, r) {
- ;(function (e) {
- "use strict"
- function t(t) {
- return e.isBuffer(t)
- }
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.isBuffer = void 0),
- (r.isBuffer = t)
- }).call(this, {
- isBuffer: e("../../../node_modules/is-buffer/index.js")
- })
- },
- {
- "../../../node_modules/is-buffer/index.js": 307
- }
- ],
- 62: [
- function (e, t, r) {
- "use strict"
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.isFile = void 0),
- (r.isFile = function (e) {
- return "undefined" !== typeof File && e instanceof File
- })
- },
- {}
- ],
- 63: [
- function (e, t, r) {
- "use strict"
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.isFunction = void 0),
- (r.isFunction = function (e) {
- return "function" === typeof e
- })
- },
- {}
- ],
- 64: [
- function (e, t, r) {
- "use strict"
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.isIP = void 0),
- (r.isIP = function (e) {
- var t = /^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,
- r =
- /^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/
- return t.test(e) || r.test(e)
- })
- },
- {}
- ],
- 65: [
- function (e, t, r) {
- "use strict"
- e("core-js/modules/es.object.to-string"),
- e("core-js/modules/es.regexp.to-string"),
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.isObject = void 0),
- (r.isObject = function (e) {
- return "[object Object]" === Object.prototype.toString.call(e)
- })
- },
- {
- "core-js/modules/es.object.to-string": 254,
- "core-js/modules/es.regexp.to-string": 257
- }
- ],
- 66: [
- function (e, t, r) {
- "use strict"
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.object.keys"),
- e("core-js/modules/web.dom-collections.for-each"),
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.lowercaseKeyHeader = void 0)
- var n = e("./isObject")
- function i(e) {
- var t = {}
- return (
- n.isObject(e) &&
- Object.keys(e).forEach(function (r) {
- t[r.toLowerCase()] = e[r]
- }),
- t
- )
- }
- r.lowercaseKeyHeader = i
- },
- {
- "./isObject": 65,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.object.keys": 253,
- "core-js/modules/web.dom-collections.for-each": 291
- }
- ],
- 67: [
- function (e, t, r) {
- "use strict"
- e("core-js/modules/es.array.concat"),
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.array.join"),
- e("core-js/modules/es.array.map"),
- e("core-js/modules/es.object.keys"),
- e("core-js/modules/es.object.to-string"),
- e("core-js/modules/es.regexp.exec"),
- e("core-js/modules/es.regexp.to-string"),
- e("core-js/modules/es.string.replace"),
- e("core-js/modules/web.dom-collections.for-each"),
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.obj2xml = void 0)
- var n = e("./formatObjKey")
- function i(e) {
- return Object.prototype.toString
- .call(e)
- .replace(/(.*? |])/g, "")
- .toLowerCase()
- }
- function o(e, t) {
- var r = ""
- return (
- t && t.headers && (r = '<?xml version="1.0" encoding="UTF-8"?>\n'),
- t && t.firstUpperCase && (e = n.formatObjKey(e, "firstUpperCase")),
- "object" === i(e)
- ? Object.keys(e).forEach(function (t) {
- "undefined" !== i(e[t]) &&
- "null" !== i(e[t]) &&
- ("string" === i(e[t]) || "number" === i(e[t])
- ? (r += "<".concat(t, ">").concat(e[t], "</").concat(t, ">"))
- : "object" === i(e[t])
- ? (r += "<".concat(t, ">").concat(o(e[t]), "</").concat(t, ">"))
- : "array" === i(e[t])
- ? (r += e[t]
- .map(function (e) {
- return "<".concat(t, ">").concat(o(e), "</").concat(t, ">")
- })
- .join(""))
- : (r += "<".concat(t, ">").concat(e[t].toString(), "</").concat(t, ">")))
- })
- : (r += e.toString()),
- r
- )
- }
- r.obj2xml = o
- },
- {
- "./formatObjKey": 57,
- "core-js/modules/es.array.concat": 234,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.array.join": 243,
- "core-js/modules/es.array.map": 245,
- "core-js/modules/es.object.keys": 253,
- "core-js/modules/es.object.to-string": 254,
- "core-js/modules/es.regexp.exec": 256,
- "core-js/modules/es.regexp.to-string": 257,
- "core-js/modules/es.string.replace": 261,
- "core-js/modules/web.dom-collections.for-each": 291
- }
- ],
- 68: [
- function (e, t, r) {
- "use strict"
- function n(e, t) {
- var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
- n = 0,
- i = r.retryDelay,
- o = void 0 === i ? 500 : i,
- a = r.errorHandler,
- s =
- void 0 === a
- ? function () {
- return !0
- }
- : a,
- l = function r() {
- for (var i = arguments.length, a = new Array(i), l = 0; l < i; l++) a[l] = arguments[l]
- return new Promise(function (i, l) {
- e.apply(void 0, a)
- .then(function (e) {
- ;(n = 0), i(e)
- })
- .catch(function (e) {
- n < t && s(e)
- ? (n++,
- setTimeout(function () {
- i(r.apply(void 0, a))
- }, o))
- : ((n = 0), l(e))
- })
- })
- }
- return l
- }
- e("core-js/modules/es.object.to-string"),
- e("core-js/modules/es.promise"),
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.retry = void 0),
- (r.retry = n)
- },
- {
- "core-js/modules/es.object.to-string": 254,
- "core-js/modules/es.promise": 255
- }
- ],
- 69: [
- function (e, t, r) {
- "use strict"
- var n = function (e) {
- return e && e.__esModule
- ? e
- : {
- default: e
- }
- }
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.setRegion = void 0)
- var i = n(e("url")),
- o = e("./checkConfigValid")
- function a(e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
- r = arguments.length > 2 && void 0 !== arguments[2] && arguments[2]
- o.checkConfigValid(e, "region")
- var n = r ? "https://" : "http://",
- a = t ? "-internal.aliyuncs.com" : ".aliyuncs.com",
- s = "vpc100-oss-cn-"
- return e.substr(0, s.length) === s && (a = ".aliyuncs.com"), i.default.parse(n + e + a)
- }
- r.setRegion = a
- },
- {
- "./checkConfigValid": 49,
- url: 393
- }
- ],
- 70: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.find"),
- e("core-js/modules/es.array.for-each"),
- e("core-js/modules/es.object.assign"),
- e("core-js/modules/es.object.keys")
- var i = n(e("@babel/runtime/regenerator"))
- e("regenerator-runtime/runtime")
- var o = n(e("@babel/runtime/helpers/asyncToGenerator"))
- Object.defineProperty(r, "__esModule", {
- value: !0
- }),
- (r.setSTSToken = void 0)
- var a = e("./formatObjKey")
- function s() {
- return l.apply(this, arguments)
- }
- function l() {
- return (
- (l = (0, o.default)(
- i.default.mark(function e() {
- var t, r
- return i.default.wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if ((this.options || (this.options = {}), (t = new Date()), !this.stsTokenFreshTime)) {
- e.next = 14
- break
- }
- if (!(+t - this.stsTokenFreshTime >= this.options.refreshSTSTokenInterval)) {
- e.next = 12
- break
- }
- return (this.stsTokenFreshTime = t), (e.next = 7), this.options.refreshSTSToken()
- case 7:
- ;(r = e.sent),
- (r = a.formatObjKey(r, "firstLowerCase")),
- r.securityToken && (r.stsToken = r.securityToken),
- c(r),
- Object.assign(this.options, r)
- case 12:
- e.next = 15
- break
- case 14:
- this.stsTokenFreshTime = t
- case 15:
- return e.abrupt("return", null)
- case 16:
- case "end":
- return e.stop()
- }
- },
- e,
- this
- )
- })
- )),
- l.apply(this, arguments)
- )
- }
- function c(e) {
- var t = ["accessKeySecret", "accessKeyId", "stsToken"],
- r = Object.keys(e)
- t.forEach(function (e) {
- if (
- !r.find(function (t) {
- return t === e
- })
- )
- throw Error("refreshSTSToken must return contains ".concat(e))
- })
- }
- r.setSTSToken = s
- },
- {
- "./formatObjKey": 57,
- "@babel/runtime/helpers/asyncToGenerator": 71,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/regenerator": 75,
- "core-js/modules/es.array.find": 237,
- "core-js/modules/es.array.for-each": 238,
- "core-js/modules/es.object.assign": 251,
- "core-js/modules/es.object.keys": 253,
- "regenerator-runtime/runtime": 336
- }
- ],
- 71: [
- function (e, t, r) {
- function n(e, t, r, n, i, o, a) {
- try {
- var s = e[o](a),
- l = s.value
- } catch (c) {
- return void r(c)
- }
- s.done ? t(l) : Promise.resolve(l).then(n, i)
- }
- function i(e) {
- return function () {
- var t = this,
- r = arguments
- return new Promise(function (i, o) {
- var a = e.apply(t, r)
- function s(e) {
- n(a, i, o, s, l, "next", e)
- }
- function l(e) {
- n(a, i, o, s, l, "throw", e)
- }
- s(void 0)
- })
- }
- }
- t.exports = i
- },
- {}
- ],
- 72: [
- function (e, t, r) {
- function n(e) {
- return e && e.__esModule
- ? e
- : {
- default: e
- }
- }
- t.exports = n
- },
- {}
- ],
- 73: [
- function (e, t, r) {
- function n(e) {
- return (
- "function" === typeof Symbol && "symbol" === typeof Symbol.iterator
- ? (t.exports = n =
- function (e) {
- return typeof e
- })
- : (t.exports = n =
- function (e) {
- return e && "function" === typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype
- ? "symbol"
- : typeof e
- }),
- n(e)
- )
- }
- t.exports = n
- },
- {}
- ],
- 74: [
- function (e, t, r) {
- var n = (function (e) {
- "use strict"
- var t,
- r = Object.prototype,
- n = r.hasOwnProperty,
- i = "function" === typeof Symbol ? Symbol : {},
- o = i.iterator || "@@iterator",
- a = i.asyncIterator || "@@asyncIterator",
- s = i.toStringTag || "@@toStringTag"
- function l(e, t, r) {
- return (
- Object.defineProperty(e, t, {
- value: r,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }),
- e[t]
- )
- }
- try {
- l({}, "")
- } catch (j) {
- l = function (e, t, r) {
- return (e[t] = r)
- }
- }
- function c(e, t, r, n) {
- var i = t && t.prototype instanceof g ? t : g,
- o = Object.create(i.prototype),
- a = new L(n || [])
- return (o._invoke = E(e, r, a)), o
- }
- function u(e, t, r) {
- try {
- return {
- type: "normal",
- arg: e.call(t, r)
- }
- } catch (j) {
- return {
- type: "throw",
- arg: j
- }
- }
- }
- e.wrap = c
- var f = "suspendedStart",
- p = "suspendedYield",
- d = "executing",
- h = "completed",
- m = {}
- function g() {}
- function y() {}
- function v() {}
- var b = {}
- b[o] = function () {
- return this
- }
- var w = Object.getPrototypeOf,
- x = w && w(w(P([])))
- x && x !== r && n.call(x, o) && (b = x)
- var A = (v.prototype = g.prototype = Object.create(b))
- function _(e) {
- ;["next", "throw", "return"].forEach(function (t) {
- l(e, t, function (e) {
- return this._invoke(t, e)
- })
- })
- }
- function T(e, t) {
- function r(i, o, a, s) {
- var l = u(e[i], e, o)
- if ("throw" !== l.type) {
- var c = l.arg,
- f = c.value
- return f && "object" === typeof f && n.call(f, "__await")
- ? t.resolve(f.__await).then(
- function (e) {
- r("next", e, a, s)
- },
- function (e) {
- r("throw", e, a, s)
- }
- )
- : t.resolve(f).then(
- function (e) {
- ;(c.value = e), a(c)
- },
- function (e) {
- return r("throw", e, a, s)
- }
- )
- }
- s(l.arg)
- }
- var i
- function o(e, n) {
- function o() {
- return new t(function (t, i) {
- r(e, n, t, i)
- })
- }
- return (i = i ? i.then(o, o) : o())
- }
- this._invoke = o
- }
- function E(e, t, r) {
- var n = f
- return function (i, o) {
- if (n === d) throw new Error("Generator is already running")
- if (n === h) {
- if ("throw" === i) throw o
- return O()
- }
- ;(r.method = i), (r.arg = o)
- while (1) {
- var a = r.delegate
- if (a) {
- var s = S(a, r)
- if (s) {
- if (s === m) continue
- return s
- }
- }
- if ("next" === r.method) r.sent = r._sent = r.arg
- else if ("throw" === r.method) {
- if (n === f) throw ((n = h), r.arg)
- r.dispatchException(r.arg)
- } else "return" === r.method && r.abrupt("return", r.arg)
- n = d
- var l = u(e, t, r)
- if ("normal" === l.type) {
- if (((n = r.done ? h : p), l.arg === m)) continue
- return {
- value: l.arg,
- done: r.done
- }
- }
- "throw" === l.type && ((n = h), (r.method = "throw"), (r.arg = l.arg))
- }
- }
- }
- function S(e, r) {
- var n = e.iterator[r.method]
- if (n === t) {
- if (((r.delegate = null), "throw" === r.method)) {
- if (e.iterator["return"] && ((r.method = "return"), (r.arg = t), S(e, r), "throw" === r.method)) return m
- ;(r.method = "throw"), (r.arg = new TypeError("The iterator does not provide a 'throw' method"))
- }
- return m
- }
- var i = u(n, e.iterator, r.arg)
- if ("throw" === i.type) return (r.method = "throw"), (r.arg = i.arg), (r.delegate = null), m
- var o = i.arg
- return o
- ? o.done
- ? ((r[e.resultName] = o.value),
- (r.next = e.nextLoc),
- "return" !== r.method && ((r.method = "next"), (r.arg = t)),
- (r.delegate = null),
- m)
- : o
- : ((r.method = "throw"), (r.arg = new TypeError("iterator result is not an object")), (r.delegate = null), m)
- }
- function C(e) {
- var t = {
- tryLoc: e[0]
- }
- 1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t)
- }
- function k(e) {
- var t = e.completion || {}
- ;(t.type = "normal"), delete t.arg, (e.completion = t)
- }
- function L(e) {
- ;(this.tryEntries = [
- {
- tryLoc: "root"
- }
- ]),
- e.forEach(C, this),
- this.reset(!0)
- }
- function P(e) {
- if (e) {
- var r = e[o]
- if (r) return r.call(e)
- if ("function" === typeof e.next) return e
- if (!isNaN(e.length)) {
- var i = -1,
- a = function r() {
- while (++i < e.length) if (n.call(e, i)) return (r.value = e[i]), (r.done = !1), r
- return (r.value = t), (r.done = !0), r
- }
- return (a.next = a)
- }
- }
- return {
- next: O
- }
- }
- function O() {
- return {
- value: t,
- done: !0
- }
- }
- return (
- (y.prototype = A.constructor = v),
- (v.constructor = y),
- (y.displayName = l(v, s, "GeneratorFunction")),
- (e.isGeneratorFunction = function (e) {
- var t = "function" === typeof e && e.constructor
- return !!t && (t === y || "GeneratorFunction" === (t.displayName || t.name))
- }),
- (e.mark = function (e) {
- return (
- Object.setPrototypeOf ? Object.setPrototypeOf(e, v) : ((e.__proto__ = v), l(e, s, "GeneratorFunction")),
- (e.prototype = Object.create(A)),
- e
- )
- }),
- (e.awrap = function (e) {
- return {
- __await: e
- }
- }),
- _(T.prototype),
- (T.prototype[a] = function () {
- return this
- }),
- (e.AsyncIterator = T),
- (e.async = function (t, r, n, i, o) {
- void 0 === o && (o = Promise)
- var a = new T(c(t, r, n, i), o)
- return e.isGeneratorFunction(r)
- ? a
- : a.next().then(function (e) {
- return e.done ? e.value : a.next()
- })
- }),
- _(A),
- l(A, s, "Generator"),
- (A[o] = function () {
- return this
- }),
- (A.toString = function () {
- return "[object Generator]"
- }),
- (e.keys = function (e) {
- var t = []
- for (var r in e) t.push(r)
- return (
- t.reverse(),
- function r() {
- while (t.length) {
- var n = t.pop()
- if (n in e) return (r.value = n), (r.done = !1), r
- }
- return (r.done = !0), r
- }
- )
- }),
- (e.values = P),
- (L.prototype = {
- constructor: L,
- reset: function (e) {
- if (
- ((this.prev = 0),
- (this.next = 0),
- (this.sent = this._sent = t),
- (this.done = !1),
- (this.delegate = null),
- (this.method = "next"),
- (this.arg = t),
- this.tryEntries.forEach(k),
- !e)
- )
- for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t)
- },
- stop: function () {
- this.done = !0
- var e = this.tryEntries[0],
- t = e.completion
- if ("throw" === t.type) throw t.arg
- return this.rval
- },
- dispatchException: function (e) {
- if (this.done) throw e
- var r = this
- function i(n, i) {
- return (s.type = "throw"), (s.arg = e), (r.next = n), i && ((r.method = "next"), (r.arg = t)), !!i
- }
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
- var a = this.tryEntries[o],
- s = a.completion
- if ("root" === a.tryLoc) return i("end")
- if (a.tryLoc <= this.prev) {
- var l = n.call(a, "catchLoc"),
- c = n.call(a, "finallyLoc")
- if (l && c) {
- if (this.prev < a.catchLoc) return i(a.catchLoc, !0)
- if (this.prev < a.finallyLoc) return i(a.finallyLoc)
- } else if (l) {
- if (this.prev < a.catchLoc) return i(a.catchLoc, !0)
- } else {
- if (!c) throw new Error("try statement without catch or finally")
- if (this.prev < a.finallyLoc) return i(a.finallyLoc)
- }
- }
- }
- },
- abrupt: function (e, t) {
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
- var i = this.tryEntries[r]
- if (i.tryLoc <= this.prev && n.call(i, "finallyLoc") && this.prev < i.finallyLoc) {
- var o = i
- break
- }
- }
- o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null)
- var a = o ? o.completion : {}
- return (a.type = e), (a.arg = t), o ? ((this.method = "next"), (this.next = o.finallyLoc), m) : this.complete(a)
- },
- complete: function (e, t) {
- if ("throw" === e.type) throw e.arg
- return (
- "break" === e.type || "continue" === e.type
- ? (this.next = e.arg)
- : "return" === e.type
- ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end"))
- : "normal" === e.type && t && (this.next = t),
- m
- )
- },
- finish: function (e) {
- for (var t = this.tryEntries.length - 1; t >= 0; --t) {
- var r = this.tryEntries[t]
- if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), k(r), m
- }
- },
- catch: function (e) {
- for (var t = this.tryEntries.length - 1; t >= 0; --t) {
- var r = this.tryEntries[t]
- if (r.tryLoc === e) {
- var n = r.completion
- if ("throw" === n.type) {
- var i = n.arg
- k(r)
- }
- return i
- }
- }
- throw new Error("illegal catch attempt")
- },
- delegateYield: function (e, r, n) {
- return (
- (this.delegate = {
- iterator: P(e),
- resultName: r,
- nextLoc: n
- }),
- "next" === this.method && (this.arg = t),
- m
- )
- }
- }),
- e
- )
- })("object" === typeof t ? t.exports : {})
- try {
- regeneratorRuntime = n
- } catch (i) {
- Function("r", "regeneratorRuntime = r")(n)
- }
- },
- {}
- ],
- 75: [
- function (e, t, r) {
- t.exports = e("regenerator-runtime")
- },
- {
- "regenerator-runtime": 74
- }
- ],
- 76: [
- function (e, t, r) {
- function n() {}
- ;(t.exports = n), (t.exports.HttpsAgent = n)
- },
- {}
- ],
- 77: [
- function (e, t, r) {
- "use strict"
- ;(r.byteLength = u), (r.toByteArray = p), (r.fromByteArray = m)
- for (
- var n = [],
- i = [],
- o = "undefined" !== typeof Uint8Array ? Uint8Array : Array,
- a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
- s = 0,
- l = a.length;
- s < l;
- ++s
- )
- (n[s] = a[s]), (i[a.charCodeAt(s)] = s)
- function c(e) {
- var t = e.length
- if (t % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4")
- var r = e.indexOf("=")
- ;-1 === r && (r = t)
- var n = r === t ? 0 : 4 - (r % 4)
- return [r, n]
- }
- function u(e) {
- var t = c(e),
- r = t[0],
- n = t[1]
- return (3 * (r + n)) / 4 - n
- }
- function f(e, t, r) {
- return (3 * (t + r)) / 4 - r
- }
- function p(e) {
- var t,
- r,
- n = c(e),
- a = n[0],
- s = n[1],
- l = new o(f(e, a, s)),
- u = 0,
- p = s > 0 ? a - 4 : a
- for (r = 0; r < p; r += 4)
- (t =
- (i[e.charCodeAt(r)] << 18) |
- (i[e.charCodeAt(r + 1)] << 12) |
- (i[e.charCodeAt(r + 2)] << 6) |
- i[e.charCodeAt(r + 3)]),
- (l[u++] = (t >> 16) & 255),
- (l[u++] = (t >> 8) & 255),
- (l[u++] = 255 & t)
- return (
- 2 === s && ((t = (i[e.charCodeAt(r)] << 2) | (i[e.charCodeAt(r + 1)] >> 4)), (l[u++] = 255 & t)),
- 1 === s &&
- ((t = (i[e.charCodeAt(r)] << 10) | (i[e.charCodeAt(r + 1)] << 4) | (i[e.charCodeAt(r + 2)] >> 2)),
- (l[u++] = (t >> 8) & 255),
- (l[u++] = 255 & t)),
- l
- )
- }
- function d(e) {
- return n[(e >> 18) & 63] + n[(e >> 12) & 63] + n[(e >> 6) & 63] + n[63 & e]
- }
- function h(e, t, r) {
- for (var n, i = [], o = t; o < r; o += 3)
- (n = ((e[o] << 16) & 16711680) + ((e[o + 1] << 8) & 65280) + (255 & e[o + 2])), i.push(d(n))
- return i.join("")
- }
- function m(e) {
- for (var t, r = e.length, i = r % 3, o = [], a = 16383, s = 0, l = r - i; s < l; s += a)
- o.push(h(e, s, s + a > l ? l : s + a))
- return (
- 1 === i
- ? ((t = e[r - 1]), o.push(n[t >> 2] + n[(t << 4) & 63] + "=="))
- : 2 === i && ((t = (e[r - 2] << 8) + e[r - 1]), o.push(n[t >> 10] + n[(t >> 4) & 63] + n[(t << 2) & 63] + "=")),
- o.join("")
- )
- }
- ;(i["-".charCodeAt(0)] = 62), (i["_".charCodeAt(0)] = 63)
- },
- {}
- ],
- 78: [
- function (e, t, r) {
- /*!
- * Bowser - a browser detector
- * https://github.com/ded/bowser
- * MIT License | (c) Dustin Diaz 2015
- */
- !(function (e, r, n) {
- "undefined" != typeof t && t.exports
- ? (t.exports = n())
- : "function" == typeof define && define.amd
- ? define(r, n)
- : (e[r] = n())
- })(this, "bowser", function () {
- var e = !0
- function t(t) {
- function r(e) {
- var r = t.match(e)
- return (r && r.length > 1 && r[1]) || ""
- }
- function n(e) {
- var r = t.match(e)
- return (r && r.length > 1 && r[2]) || ""
- }
- var i,
- a = r(/(ipod|iphone|ipad)/i).toLowerCase(),
- s = /like android/i.test(t),
- l = !s && /android/i.test(t),
- c = /nexus\s*[0-6]\s*/i.test(t),
- u = !c && /nexus\s*[0-9]+/i.test(t),
- f = /CrOS/.test(t),
- p = /silk/i.test(t),
- d = /sailfish/i.test(t),
- h = /tizen/i.test(t),
- m = /(web|hpw)(o|0)s/i.test(t),
- g = /windows phone/i.test(t),
- y = (/SamsungBrowser/i.test(t), !g && /windows/i.test(t)),
- v = !a && !p && /macintosh/i.test(t),
- b = !l && !d && !h && !m && /linux/i.test(t),
- w = n(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),
- x = r(/version\/(\d+(\.\d+)?)/i),
- A = /tablet/i.test(t) && !/tablet pc/i.test(t),
- _ = !A && /[^-]mobi/i.test(t),
- T = /xbox/i.test(t)
- function E(e) {
- switch (e) {
- case "NT":
- return "NT"
- case "XP":
- return "XP"
- case "NT 5.0":
- return "2000"
- case "NT 5.1":
- return "XP"
- case "NT 5.2":
- return "2003"
- case "NT 6.0":
- return "Vista"
- case "NT 6.1":
- return "7"
- case "NT 6.2":
- return "8"
- case "NT 6.3":
- return "8.1"
- case "NT 10.0":
- return "10"
- default:
- return
- }
- }
- ;/opera/i.test(t)
- ? (i = {
- name: "Opera",
- opera: e,
- version: x || r(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)
- })
- : /opr\/|opios/i.test(t)
- ? (i = {
- name: "Opera",
- opera: e,
- version: r(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i) || x
- })
- : /SamsungBrowser/i.test(t)
- ? (i = {
- name: "Samsung Internet for Android",
- samsungBrowser: e,
- version: x || r(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)
- })
- : /Whale/i.test(t)
- ? (i = {
- name: "NAVER Whale browser",
- whale: e,
- version: r(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)
- })
- : /MZBrowser/i.test(t)
- ? (i = {
- name: "MZ Browser",
- mzbrowser: e,
- version: r(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)
- })
- : /coast/i.test(t)
- ? (i = {
- name: "Opera Coast",
- coast: e,
- version: x || r(/(?:coast)[\s\/](\d+(\.\d+)?)/i)
- })
- : /focus/i.test(t)
- ? (i = {
- name: "Focus",
- focus: e,
- version: r(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)
- })
- : /yabrowser/i.test(t)
- ? (i = {
- name: "Yandex Browser",
- yandexbrowser: e,
- version: x || r(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)
- })
- : /ucbrowser/i.test(t)
- ? (i = {
- name: "UC Browser",
- ucbrowser: e,
- version: r(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)
- })
- : /mxios/i.test(t)
- ? (i = {
- name: "Maxthon",
- maxthon: e,
- version: r(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)
- })
- : /epiphany/i.test(t)
- ? (i = {
- name: "Epiphany",
- epiphany: e,
- version: r(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)
- })
- : /puffin/i.test(t)
- ? (i = {
- name: "Puffin",
- puffin: e,
- version: r(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)
- })
- : /sleipnir/i.test(t)
- ? (i = {
- name: "Sleipnir",
- sleipnir: e,
- version: r(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)
- })
- : /k-meleon/i.test(t)
- ? (i = {
- name: "K-Meleon",
- kMeleon: e,
- version: r(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)
- })
- : g
- ? ((i = {
- name: "Windows Phone",
- osname: "Windows Phone",
- windowsphone: e
- }),
- w ? ((i.msedge = e), (i.version = w)) : ((i.msie = e), (i.version = r(/iemobile\/(\d+(\.\d+)?)/i))))
- : /msie|trident/i.test(t)
- ? (i = {
- name: "Internet Explorer",
- msie: e,
- version: r(/(?:msie |rv:)(\d+(\.\d+)?)/i)
- })
- : f
- ? (i = {
- name: "Chrome",
- osname: "Chrome OS",
- chromeos: e,
- chromeBook: e,
- chrome: e,
- version: r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)
- })
- : /edg([ea]|ios)/i.test(t)
- ? (i = {
- name: "Microsoft Edge",
- msedge: e,
- version: w
- })
- : /vivaldi/i.test(t)
- ? (i = {
- name: "Vivaldi",
- vivaldi: e,
- version: r(/vivaldi\/(\d+(\.\d+)?)/i) || x
- })
- : d
- ? (i = {
- name: "Sailfish",
- osname: "Sailfish OS",
- sailfish: e,
- version: r(/sailfish\s?browser\/(\d+(\.\d+)?)/i)
- })
- : /seamonkey\//i.test(t)
- ? (i = {
- name: "SeaMonkey",
- seamonkey: e,
- version: r(/seamonkey\/(\d+(\.\d+)?)/i)
- })
- : /firefox|iceweasel|fxios/i.test(t)
- ? ((i = {
- name: "Firefox",
- firefox: e,
- version: r(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)
- }),
- /\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t) && ((i.firefoxos = e), (i.osname = "Firefox OS")))
- : p
- ? (i = {
- name: "Amazon Silk",
- silk: e,
- version: r(/silk\/(\d+(\.\d+)?)/i)
- })
- : /phantom/i.test(t)
- ? (i = {
- name: "PhantomJS",
- phantom: e,
- version: r(/phantomjs\/(\d+(\.\d+)?)/i)
- })
- : /slimerjs/i.test(t)
- ? (i = {
- name: "SlimerJS",
- slimer: e,
- version: r(/slimerjs\/(\d+(\.\d+)?)/i)
- })
- : /blackberry|\bbb\d+/i.test(t) || /rim\stablet/i.test(t)
- ? (i = {
- name: "BlackBerry",
- osname: "BlackBerry OS",
- blackberry: e,
- version: x || r(/blackberry[\d]+\/(\d+(\.\d+)?)/i)
- })
- : m
- ? ((i = {
- name: "WebOS",
- osname: "WebOS",
- webos: e,
- version: x || r(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)
- }),
- /touchpad\//i.test(t) && (i.touchpad = e))
- : /bada/i.test(t)
- ? (i = {
- name: "Bada",
- osname: "Bada",
- bada: e,
- version: r(/dolfin\/(\d+(\.\d+)?)/i)
- })
- : h
- ? (i = {
- name: "Tizen",
- osname: "Tizen",
- tizen: e,
- version: r(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i) || x
- })
- : /qupzilla/i.test(t)
- ? (i = {
- name: "QupZilla",
- qupzilla: e,
- version: r(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i) || x
- })
- : /chromium/i.test(t)
- ? (i = {
- name: "Chromium",
- chromium: e,
- version: r(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i) || x
- })
- : /chrome|crios|crmo/i.test(t)
- ? (i = {
- name: "Chrome",
- chrome: e,
- version: r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)
- })
- : l
- ? (i = {
- name: "Android",
- version: x
- })
- : /safari|applewebkit/i.test(t)
- ? ((i = {
- name: "Safari",
- safari: e
- }),
- x && (i.version = x))
- : a
- ? ((i = {
- name: "iphone" == a ? "iPhone" : "ipad" == a ? "iPad" : "iPod"
- }),
- x && (i.version = x))
- : (i = /googlebot/i.test(t)
- ? {
- name: "Googlebot",
- googlebot: e,
- version: r(/googlebot\/(\d+(\.\d+))/i) || x
- }
- : {
- name: r(/^(.*)\/(.*) /),
- version: n(/^(.*)\/(.*) /)
- }),
- !i.msedge && /(apple)?webkit/i.test(t)
- ? (/(apple)?webkit\/537\.36/i.test(t)
- ? ((i.name = i.name || "Blink"), (i.blink = e))
- : ((i.name = i.name || "Webkit"), (i.webkit = e)),
- !i.version && x && (i.version = x))
- : !i.opera &&
- /gecko\//i.test(t) &&
- ((i.name = i.name || "Gecko"), (i.gecko = e), (i.version = i.version || r(/gecko\/(\d+(\.\d+)?)/i))),
- i.windowsphone || (!l && !i.silk)
- ? !i.windowsphone && a
- ? ((i[a] = e), (i.ios = e), (i.osname = "iOS"))
- : v
- ? ((i.mac = e), (i.osname = "macOS"))
- : T
- ? ((i.xbox = e), (i.osname = "Xbox"))
- : y
- ? ((i.windows = e), (i.osname = "Windows"))
- : b && ((i.linux = e), (i.osname = "Linux"))
- : ((i.android = e), (i.osname = "Android"))
- var S = ""
- i.windows
- ? (S = E(r(/Windows ((NT|XP)( \d\d?.\d)?)/i)))
- : i.windowsphone
- ? (S = r(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i))
- : i.mac
- ? ((S = r(/Mac OS X (\d+([_\.\s]\d+)*)/i)), (S = S.replace(/[_\s]/g, ".")))
- : a
- ? ((S = r(/os (\d+([_\s]\d+)*) like mac os x/i)), (S = S.replace(/[_\s]/g, ".")))
- : l
- ? (S = r(/android[ \/-](\d+(\.\d+)*)/i))
- : i.webos
- ? (S = r(/(?:web|hpw)os\/(\d+(\.\d+)*)/i))
- : i.blackberry
- ? (S = r(/rim\stablet\sos\s(\d+(\.\d+)*)/i))
- : i.bada
- ? (S = r(/bada\/(\d+(\.\d+)*)/i))
- : i.tizen && (S = r(/tizen[\/\s](\d+(\.\d+)*)/i)),
- S && (i.osversion = S)
- var C = !i.windows && S.split(".")[0]
- return (
- A || u || "ipad" == a || (l && (3 == C || (C >= 4 && !_))) || i.silk
- ? (i.tablet = e)
- : (_ || "iphone" == a || "ipod" == a || l || c || i.blackberry || i.webos || i.bada) && (i.mobile = e),
- i.msedge ||
- (i.msie && i.version >= 10) ||
- (i.yandexbrowser && i.version >= 15) ||
- (i.vivaldi && i.version >= 1) ||
- (i.chrome && i.version >= 20) ||
- (i.samsungBrowser && i.version >= 4) ||
- (i.whale && 1 === o([i.version, "1.0"])) ||
- (i.mzbrowser && 1 === o([i.version, "6.0"])) ||
- (i.focus && 1 === o([i.version, "1.0"])) ||
- (i.firefox && i.version >= 20) ||
- (i.safari && i.version >= 6) ||
- (i.opera && i.version >= 10) ||
- (i.ios && i.osversion && i.osversion.split(".")[0] >= 6) ||
- (i.blackberry && i.version >= 10.1) ||
- (i.chromium && i.version >= 20)
- ? (i.a = e)
- : (i.msie && i.version < 10) ||
- (i.chrome && i.version < 20) ||
- (i.firefox && i.version < 20) ||
- (i.safari && i.version < 6) ||
- (i.opera && i.version < 10) ||
- (i.ios && i.osversion && i.osversion.split(".")[0] < 6) ||
- (i.chromium && i.version < 20)
- ? (i.c = e)
- : (i.x = e),
- i
- )
- }
- var r = t(("undefined" !== typeof navigator && navigator.userAgent) || "")
- function n(e) {
- return e.split(".").length
- }
- function i(e, t) {
- var r,
- n = []
- if (Array.prototype.map) return Array.prototype.map.call(e, t)
- for (r = 0; r < e.length; r++) n.push(t(e[r]))
- return n
- }
- function o(e) {
- var t = Math.max(n(e[0]), n(e[1])),
- r = i(e, function (e) {
- var r = t - n(e)
- return (
- (e += new Array(r + 1).join(".0")),
- i(e.split("."), function (e) {
- return new Array(20 - e.length).join("0") + e
- }).reverse()
- )
- })
- while (--t >= 0) {
- if (r[0][t] > r[1][t]) return 1
- if (r[0][t] !== r[1][t]) return -1
- if (0 === t) return 0
- }
- }
- function a(e, n, i) {
- var a = r
- "string" === typeof n && ((i = n), (n = void 0)), void 0 === n && (n = !1), i && (a = t(i))
- var s = "" + a.version
- for (var l in e)
- if (e.hasOwnProperty(l) && a[l]) {
- if ("string" !== typeof e[l])
- throw new Error("Browser version in the minVersion map should be a string: " + l + ": " + String(e))
- return o([s, e[l]]) < 0
- }
- return n
- }
- function s(e, t, r) {
- return !a(e, t, r)
- }
- return (
- (r.test = function (e) {
- for (var t = 0; t < e.length; ++t) {
- var n = e[t]
- if ("string" === typeof n && n in r) return !0
- }
- return !1
- }),
- (r.isUnsupportedBrowser = a),
- (r.compareVersions = o),
- (r.check = s),
- (r._detect = t),
- (r.detect = t),
- r
- )
- })
- },
- {}
- ],
- 79: [function (e, t, r) {}, {}],
- 80: [
- function (e, t, r) {
- ;(function (t) {
- var n = e("./lib/request"),
- i = e("./lib/response"),
- o = e("xtend"),
- a = e("builtin-status-codes"),
- s = e("url"),
- l = r
- ;(l.request = function (e, r) {
- e = "string" === typeof e ? s.parse(e) : o(e)
- var i = -1 === t.location.protocol.search(/^https?:$/) ? "http:" : "",
- a = e.protocol || i,
- l = e.hostname || e.host,
- c = e.port,
- u = e.path || "/"
- l && -1 !== l.indexOf(":") && (l = "[" + l + "]"),
- (e.url = (l ? a + "//" + l : "") + (c ? ":" + c : "") + u),
- (e.method = (e.method || "GET").toUpperCase()),
- (e.headers = e.headers || {})
- var f = new n(e)
- return r && f.on("response", r), f
- }),
- (l.get = function (e, t) {
- var r = l.request(e, t)
- return r.end(), r
- }),
- (l.ClientRequest = n),
- (l.IncomingMessage = i.IncomingMessage),
- (l.Agent = function () {}),
- (l.Agent.defaultMaxSockets = 4),
- (l.globalAgent = new l.Agent()),
- (l.STATUS_CODES = a),
- (l.METHODS = [
- "CHECKOUT",
- "CONNECT",
- "COPY",
- "DELETE",
- "GET",
- "HEAD",
- "LOCK",
- "M-SEARCH",
- "MERGE",
- "MKACTIVITY",
- "MKCOL",
- "MOVE",
- "NOTIFY",
- "OPTIONS",
- "PATCH",
- "POST",
- "PROPFIND",
- "PROPPATCH",
- "PURGE",
- "PUT",
- "REPORT",
- "SEARCH",
- "SUBSCRIBE",
- "TRACE",
- "UNLOCK",
- "UNSUBSCRIBE"
- ])
- }).call(
- this,
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
- )
- },
- {
- "./lib/request": 82,
- "./lib/response": 83,
- "builtin-status-codes": 100,
- url: 393,
- xtend: 385
- }
- ],
- 81: [
- function (e, t, r) {
- ;(function (e) {
- var t
- function n() {
- if (void 0 !== t) return t
- if (e.XMLHttpRequest) {
- t = new e.XMLHttpRequest()
- try {
- t.open("GET", e.XDomainRequest ? "/" : "https://example.com")
- } catch (r) {
- t = null
- }
- } else t = null
- return t
- }
- function i(e) {
- var t = n()
- if (!t) return !1
- try {
- return (t.responseType = e), t.responseType === e
- } catch (r) {}
- return !1
- }
- function o(e) {
- return "function" === typeof e
- }
- ;(r.fetch = o(e.fetch) && o(e.ReadableStream)),
- (r.writableStream = o(e.WritableStream)),
- (r.abortController = o(e.AbortController)),
- (r.arraybuffer = r.fetch || i("arraybuffer")),
- (r.msstream = !r.fetch && i("ms-stream")),
- (r.mozchunkedarraybuffer = !r.fetch && i("moz-chunked-arraybuffer")),
- (r.overrideMimeType = r.fetch || (!!n() && o(n().overrideMimeType))),
- (t = null)
- }).call(
- this,
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
- )
- },
- {}
- ],
- 82: [
- function (e, t, r) {
- ;(function (r, n, i) {
- var o = e("./capability"),
- a = e("inherits"),
- s = e("./response"),
- l = e("readable-stream"),
- c = s.IncomingMessage,
- u = s.readyStates
- function f(e, t) {
- return o.fetch && t
- ? "fetch"
- : o.mozchunkedarraybuffer
- ? "moz-chunked-arraybuffer"
- : o.msstream
- ? "ms-stream"
- : o.arraybuffer && e
- ? "arraybuffer"
- : "text"
- }
- var p = (t.exports = function (e) {
- var t,
- r = this
- l.Writable.call(r),
- (r._opts = e),
- (r._body = []),
- (r._headers = {}),
- e.auth && r.setHeader("Authorization", "Basic " + i.from(e.auth).toString("base64")),
- Object.keys(e.headers).forEach(function (t) {
- r.setHeader(t, e.headers[t])
- })
- var n = !0
- if ("disable-fetch" === e.mode || ("requestTimeout" in e && !o.abortController)) (n = !1), (t = !0)
- else if ("prefer-streaming" === e.mode) t = !1
- else if ("allow-wrong-content-type" === e.mode) t = !o.overrideMimeType
- else {
- if (e.mode && "default" !== e.mode && "prefer-fast" !== e.mode) throw new Error("Invalid value for opts.mode")
- t = !0
- }
- ;(r._mode = f(t, n)),
- (r._fetchTimer = null),
- r.on("finish", function () {
- r._onFinish()
- })
- })
- function d(e) {
- try {
- var t = e.status
- return null !== t && 0 !== t
- } catch (r) {
- return !1
- }
- }
- a(p, l.Writable),
- (p.prototype.setHeader = function (e, t) {
- var r = this,
- n = e.toLowerCase()
- ;-1 === h.indexOf(n) &&
- (r._headers[n] = {
- name: e,
- value: t
- })
- }),
- (p.prototype.getHeader = function (e) {
- var t = this._headers[e.toLowerCase()]
- return t ? t.value : null
- }),
- (p.prototype.removeHeader = function (e) {
- var t = this
- delete t._headers[e.toLowerCase()]
- }),
- (p.prototype._onFinish = function () {
- var e = this
- if (!e._destroyed) {
- var t = e._opts,
- i = e._headers,
- a = null
- "GET" !== t.method &&
- "HEAD" !== t.method &&
- (a = new Blob(e._body, {
- type: (i["content-type"] || {}).value || ""
- }))
- var s = []
- if (
- (Object.keys(i).forEach(function (e) {
- var t = i[e].name,
- r = i[e].value
- Array.isArray(r)
- ? r.forEach(function (e) {
- s.push([t, e])
- })
- : s.push([t, r])
- }),
- "fetch" === e._mode)
- ) {
- var l = null
- if (o.abortController) {
- var c = new AbortController()
- ;(l = c.signal),
- (e._fetchAbortController = c),
- "requestTimeout" in t &&
- 0 !== t.requestTimeout &&
- (e._fetchTimer = n.setTimeout(function () {
- e.emit("requestTimeout"), e._fetchAbortController && e._fetchAbortController.abort()
- }, t.requestTimeout))
- }
- n.fetch(e._opts.url, {
- method: e._opts.method,
- headers: s,
- body: a || void 0,
- mode: "cors",
- credentials: t.withCredentials ? "include" : "same-origin",
- signal: l
- }).then(
- function (t) {
- ;(e._fetchResponse = t), e._connect()
- },
- function (t) {
- n.clearTimeout(e._fetchTimer), e._destroyed || e.emit("error", t)
- }
- )
- } else {
- var f = (e._xhr = new n.XMLHttpRequest())
- try {
- f.open(e._opts.method, e._opts.url, !0)
- } catch (p) {
- return void r.nextTick(function () {
- e.emit("error", p)
- })
- }
- "responseType" in f && (f.responseType = e._mode),
- "withCredentials" in f && (f.withCredentials = !!t.withCredentials),
- "text" === e._mode && "overrideMimeType" in f && f.overrideMimeType("text/plain; charset=x-user-defined"),
- "requestTimeout" in t &&
- ((f.timeout = t.requestTimeout),
- (f.ontimeout = function () {
- e.emit("requestTimeout")
- })),
- s.forEach(function (e) {
- f.setRequestHeader(e[0], e[1])
- }),
- (e._response = null),
- (f.onreadystatechange = function () {
- switch (f.readyState) {
- case u.LOADING:
- case u.DONE:
- e._onXHRProgress()
- break
- }
- }),
- "moz-chunked-arraybuffer" === e._mode &&
- (f.onprogress = function () {
- e._onXHRProgress()
- }),
- (f.onerror = function () {
- e._destroyed || e.emit("error", new Error("XHR error"))
- })
- try {
- f.send(a)
- } catch (p) {
- return void r.nextTick(function () {
- e.emit("error", p)
- })
- }
- }
- }
- }),
- (p.prototype._onXHRProgress = function () {
- var e = this
- d(e._xhr) && !e._destroyed && (e._response || e._connect(), e._response._onXHRProgress())
- }),
- (p.prototype._connect = function () {
- var e = this
- e._destroyed ||
- ((e._response = new c(e._xhr, e._fetchResponse, e._mode, e._fetchTimer)),
- e._response.on("error", function (t) {
- e.emit("error", t)
- }),
- e.emit("response", e._response))
- }),
- (p.prototype._write = function (e, t, r) {
- var n = this
- n._body.push(e), r()
- }),
- (p.prototype.abort = p.prototype.destroy =
- function () {
- var e = this
- ;(e._destroyed = !0),
- n.clearTimeout(e._fetchTimer),
- e._response && (e._response._destroyed = !0),
- e._xhr ? e._xhr.abort() : e._fetchAbortController && e._fetchAbortController.abort()
- }),
- (p.prototype.end = function (e, t, r) {
- var n = this
- "function" === typeof e && ((r = e), (e = void 0)), l.Writable.prototype.end.call(n, e, t, r)
- }),
- (p.prototype.flushHeaders = function () {}),
- (p.prototype.setTimeout = function () {}),
- (p.prototype.setNoDelay = function () {}),
- (p.prototype.setSocketKeepAlive = function () {})
- var h = [
- "accept-charset",
- "accept-encoding",
- "access-control-request-headers",
- "access-control-request-method",
- "connection",
- "content-length",
- "cookie",
- "cookie2",
- "date",
- "dnt",
- "expect",
- "host",
- "keep-alive",
- "origin",
- "referer",
- "te",
- "trailer",
- "transfer-encoding",
- "upgrade",
- "via"
- ]
- }).call(
- this,
- e("_process"),
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {},
- e("buffer").Buffer
- )
- },
- {
- "./capability": 81,
- "./response": 83,
- _process: 392,
- buffer: 99,
- inherits: 306,
- "readable-stream": 98
- }
- ],
- 83: [
- function (e, t, r) {
- ;(function (t, n, i) {
- var o = e("./capability"),
- a = e("inherits"),
- s = e("readable-stream"),
- l = (r.readyStates = {
- UNSENT: 0,
- OPENED: 1,
- HEADERS_RECEIVED: 2,
- LOADING: 3,
- DONE: 4
- }),
- c = (r.IncomingMessage = function (e, r, a, l) {
- var c = this
- if (
- (s.Readable.call(c),
- (c._mode = a),
- (c.headers = {}),
- (c.rawHeaders = []),
- (c.trailers = {}),
- (c.rawTrailers = []),
- c.on("end", function () {
- t.nextTick(function () {
- c.emit("close")
- })
- }),
- "fetch" === a)
- ) {
- if (
- ((c._fetchResponse = r),
- (c.url = r.url),
- (c.statusCode = r.status),
- (c.statusMessage = r.statusText),
- r.headers.forEach(function (e, t) {
- ;(c.headers[t.toLowerCase()] = e), c.rawHeaders.push(t, e)
- }),
- o.writableStream)
- ) {
- var u = new WritableStream({
- write: function (e) {
- return new Promise(function (t, r) {
- c._destroyed ? r() : c.push(i.from(e)) ? t() : (c._resumeFetch = t)
- })
- },
- close: function () {
- n.clearTimeout(l), c._destroyed || c.push(null)
- },
- abort: function (e) {
- c._destroyed || c.emit("error", e)
- }
- })
- try {
- return void r.body.pipeTo(u).catch(function (e) {
- n.clearTimeout(l), c._destroyed || c.emit("error", e)
- })
- } catch (g) {}
- }
- var f = r.body.getReader()
- function p() {
- f.read()
- .then(function (e) {
- if (!c._destroyed) {
- if (e.done) return n.clearTimeout(l), void c.push(null)
- c.push(i.from(e.value)), p()
- }
- })
- .catch(function (e) {
- n.clearTimeout(l), c._destroyed || c.emit("error", e)
- })
- }
- p()
- } else {
- ;(c._xhr = e), (c._pos = 0), (c.url = e.responseURL), (c.statusCode = e.status), (c.statusMessage = e.statusText)
- var d = e.getAllResponseHeaders().split(/\r?\n/)
- if (
- (d.forEach(function (e) {
- var t = e.match(/^([^:]+):\s*(.*)/)
- if (t) {
- var r = t[1].toLowerCase()
- "set-cookie" === r
- ? (void 0 === c.headers[r] && (c.headers[r] = []), c.headers[r].push(t[2]))
- : void 0 !== c.headers[r]
- ? (c.headers[r] += ", " + t[2])
- : (c.headers[r] = t[2]),
- c.rawHeaders.push(t[1], t[2])
- }
- }),
- (c._charset = "x-user-defined"),
- !o.overrideMimeType)
- ) {
- var h = c.rawHeaders["mime-type"]
- if (h) {
- var m = h.match(/;\s*charset=([^;])(;|$)/)
- m && (c._charset = m[1].toLowerCase())
- }
- c._charset || (c._charset = "utf-8")
- }
- }
- })
- a(c, s.Readable),
- (c.prototype._read = function () {
- var e = this,
- t = e._resumeFetch
- t && ((e._resumeFetch = null), t())
- }),
- (c.prototype._onXHRProgress = function () {
- var e = this,
- t = e._xhr,
- r = null
- switch (e._mode) {
- case "text":
- if (((r = t.responseText), r.length > e._pos)) {
- var o = r.substr(e._pos)
- if ("x-user-defined" === e._charset) {
- for (var a = i.alloc(o.length), s = 0; s < o.length; s++) a[s] = 255 & o.charCodeAt(s)
- e.push(a)
- } else e.push(o, e._charset)
- e._pos = r.length
- }
- break
- case "arraybuffer":
- if (t.readyState !== l.DONE || !t.response) break
- ;(r = t.response), e.push(i.from(new Uint8Array(r)))
- break
- case "moz-chunked-arraybuffer":
- if (((r = t.response), t.readyState !== l.LOADING || !r)) break
- e.push(i.from(new Uint8Array(r)))
- break
- case "ms-stream":
- if (((r = t.response), t.readyState !== l.LOADING)) break
- var c = new n.MSStreamReader()
- ;(c.onprogress = function () {
- c.result.byteLength > e._pos &&
- (e.push(i.from(new Uint8Array(c.result.slice(e._pos)))), (e._pos = c.result.byteLength))
- }),
- (c.onload = function () {
- e.push(null)
- }),
- c.readAsArrayBuffer(r)
- break
- }
- e._xhr.readyState === l.DONE && "ms-stream" !== e._mode && e.push(null)
- })
- }).call(
- this,
- e("_process"),
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {},
- e("buffer").Buffer
- )
- },
- {
- "./capability": 81,
- _process: 392,
- buffer: 99,
- inherits: 306,
- "readable-stream": 98
- }
- ],
- 84: [
- function (e, t, r) {
- "use strict"
- function n(e, t) {
- ;(e.prototype = Object.create(t.prototype)), (e.prototype.constructor = e), (e.__proto__ = t)
- }
- var i = {}
- function o(e, t, r) {
- function o(e, r, n) {
- return "string" === typeof t ? t : t(e, r, n)
- }
- r || (r = Error)
- var a = (function (e) {
- function t(t, r, n) {
- return e.call(this, o(t, r, n)) || this
- }
- return n(t, e), t
- })(r)
- ;(a.prototype.name = r.name), (a.prototype.code = e), (i[e] = a)
- }
- function a(e, t) {
- if (Array.isArray(e)) {
- var r = e.length
- return (
- (e = e.map(function (e) {
- return String(e)
- })),
- r > 2
- ? "one of ".concat(t, " ").concat(e.slice(0, r - 1).join(", "), ", or ") + e[r - 1]
- : 2 === r
- ? "one of ".concat(t, " ").concat(e[0], " or ").concat(e[1])
- : "of ".concat(t, " ").concat(e[0])
- )
- }
- return "of ".concat(t, " ").concat(String(e))
- }
- function s(e, t, r) {
- return e.substr(!r || r < 0 ? 0 : +r, t.length) === t
- }
- function l(e, t, r) {
- return (void 0 === r || r > e.length) && (r = e.length), e.substring(r - t.length, r) === t
- }
- function c(e, t, r) {
- return "number" !== typeof r && (r = 0), !(r + t.length > e.length) && -1 !== e.indexOf(t, r)
- }
- o(
- "ERR_INVALID_OPT_VALUE",
- function (e, t) {
- return 'The value "' + t + '" is invalid for option "' + e + '"'
- },
- TypeError
- ),
- o(
- "ERR_INVALID_ARG_TYPE",
- function (e, t, r) {
- var n, i
- if (
- ("string" === typeof t && s(t, "not ") ? ((n = "must not be"), (t = t.replace(/^not /, ""))) : (n = "must be"),
- l(e, " argument"))
- )
- i = "The ".concat(e, " ").concat(n, " ").concat(a(t, "type"))
- else {
- var o = c(e, ".") ? "property" : "argument"
- i = 'The "'.concat(e, '" ').concat(o, " ").concat(n, " ").concat(a(t, "type"))
- }
- return (i += ". Received type ".concat(typeof r)), i
- },
- TypeError
- ),
- o("ERR_STREAM_PUSH_AFTER_EOF", "stream.push() after EOF"),
- o("ERR_METHOD_NOT_IMPLEMENTED", function (e) {
- return "The " + e + " method is not implemented"
- }),
- o("ERR_STREAM_PREMATURE_CLOSE", "Premature close"),
- o("ERR_STREAM_DESTROYED", function (e) {
- return "Cannot call " + e + " after a stream was destroyed"
- }),
- o("ERR_MULTIPLE_CALLBACK", "Callback called multiple times"),
- o("ERR_STREAM_CANNOT_PIPE", "Cannot pipe, not readable"),
- o("ERR_STREAM_WRITE_AFTER_END", "write after end"),
- o("ERR_STREAM_NULL_VALUES", "May not write null values to stream", TypeError),
- o(
- "ERR_UNKNOWN_ENCODING",
- function (e) {
- return "Unknown encoding: " + e
- },
- TypeError
- ),
- o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event"),
- (t.exports.codes = i)
- },
- {}
- ],
- 85: [
- function (e, t, r) {
- ;(function (r) {
- "use strict"
- var n =
- Object.keys ||
- function (e) {
- var t = []
- for (var r in e) t.push(r)
- return t
- }
- t.exports = c
- var i = e("./_stream_readable"),
- o = e("./_stream_writable")
- e("inherits")(c, i)
- for (var a = n(o.prototype), s = 0; s < a.length; s++) {
- var l = a[s]
- c.prototype[l] || (c.prototype[l] = o.prototype[l])
- }
- function c(e) {
- if (!(this instanceof c)) return new c(e)
- i.call(this, e),
- o.call(this, e),
- (this.allowHalfOpen = !0),
- e &&
- (!1 === e.readable && (this.readable = !1),
- !1 === e.writable && (this.writable = !1),
- !1 === e.allowHalfOpen && ((this.allowHalfOpen = !1), this.once("end", u)))
- }
- function u() {
- this._writableState.ended || r.nextTick(f, this)
- }
- function f(e) {
- e.end()
- }
- Object.defineProperty(c.prototype, "writableHighWaterMark", {
- enumerable: !1,
- get: function () {
- return this._writableState.highWaterMark
- }
- }),
- Object.defineProperty(c.prototype, "writableBuffer", {
- enumerable: !1,
- get: function () {
- return this._writableState && this._writableState.getBuffer()
- }
- }),
- Object.defineProperty(c.prototype, "writableLength", {
- enumerable: !1,
- get: function () {
- return this._writableState.length
- }
- }),
- Object.defineProperty(c.prototype, "destroyed", {
- enumerable: !1,
- get: function () {
- return (
- void 0 !== this._readableState &&
- void 0 !== this._writableState &&
- this._readableState.destroyed &&
- this._writableState.destroyed
- )
- },
- set: function (e) {
- void 0 !== this._readableState &&
- void 0 !== this._writableState &&
- ((this._readableState.destroyed = e), (this._writableState.destroyed = e))
- }
- })
- }).call(this, e("_process"))
- },
- {
- "./_stream_readable": 87,
- "./_stream_writable": 89,
- _process: 392,
- inherits: 306
- }
- ],
- 86: [
- function (e, t, r) {
- "use strict"
- t.exports = i
- var n = e("./_stream_transform")
- function i(e) {
- if (!(this instanceof i)) return new i(e)
- n.call(this, e)
- }
- e("inherits")(i, n),
- (i.prototype._transform = function (e, t, r) {
- r(null, e)
- })
- },
- {
- "./_stream_transform": 88,
- inherits: 306
- }
- ],
- 87: [
- function (e, t, r) {
- ;(function (r, n) {
- "use strict"
- var i
- ;(t.exports = L), (L.ReadableState = k)
- e("events").EventEmitter
- var o = function (e, t) {
- return e.listeners(t).length
- },
- a = e("./internal/streams/stream"),
- s = e("buffer").Buffer,
- l = n.Uint8Array || function () {}
- function c(e) {
- return s.from(e)
- }
- function u(e) {
- return s.isBuffer(e) || e instanceof l
- }
- var f,
- p = e("util")
- f = p && p.debuglog ? p.debuglog("stream") : function () {}
- var d,
- h,
- m,
- g = e("./internal/streams/buffer_list"),
- y = e("./internal/streams/destroy"),
- v = e("./internal/streams/state"),
- b = v.getHighWaterMark,
- w = e("../errors").codes,
- x = w.ERR_INVALID_ARG_TYPE,
- A = w.ERR_STREAM_PUSH_AFTER_EOF,
- _ = w.ERR_METHOD_NOT_IMPLEMENTED,
- T = w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT
- e("inherits")(L, a)
- var E = y.errorOrDestroy,
- S = ["error", "close", "destroy", "pause", "resume"]
- function C(e, t, r) {
- if ("function" === typeof e.prependListener) return e.prependListener(t, r)
- e._events && e._events[t]
- ? Array.isArray(e._events[t])
- ? e._events[t].unshift(r)
- : (e._events[t] = [r, e._events[t]])
- : e.on(t, r)
- }
- function k(t, r, n) {
- ;(i = i || e("./_stream_duplex")),
- (t = t || {}),
- "boolean" !== typeof n && (n = r instanceof i),
- (this.objectMode = !!t.objectMode),
- n && (this.objectMode = this.objectMode || !!t.readableObjectMode),
- (this.highWaterMark = b(this, t, "readableHighWaterMark", n)),
- (this.buffer = new g()),
- (this.length = 0),
- (this.pipes = null),
- (this.pipesCount = 0),
- (this.flowing = null),
- (this.ended = !1),
- (this.endEmitted = !1),
- (this.reading = !1),
- (this.sync = !0),
- (this.needReadable = !1),
- (this.emittedReadable = !1),
- (this.readableListening = !1),
- (this.resumeScheduled = !1),
- (this.paused = !0),
- (this.emitClose = !1 !== t.emitClose),
- (this.autoDestroy = !!t.autoDestroy),
- (this.destroyed = !1),
- (this.defaultEncoding = t.defaultEncoding || "utf8"),
- (this.awaitDrain = 0),
- (this.readingMore = !1),
- (this.decoder = null),
- (this.encoding = null),
- t.encoding &&
- (d || (d = e("string_decoder/").StringDecoder), (this.decoder = new d(t.encoding)), (this.encoding = t.encoding))
- }
- function L(t) {
- if (((i = i || e("./_stream_duplex")), !(this instanceof L))) return new L(t)
- var r = this instanceof i
- ;(this._readableState = new k(t, this, r)),
- (this.readable = !0),
- t &&
- ("function" === typeof t.read && (this._read = t.read),
- "function" === typeof t.destroy && (this._destroy = t.destroy)),
- a.call(this)
- }
- function P(e, t, r, n, i) {
- f("readableAddChunk", t)
- var o,
- a = e._readableState
- if (null === t) (a.reading = !1), M(e, a)
- else if ((i || (o = j(a, t)), o)) E(e, o)
- else if (a.objectMode || (t && t.length > 0))
- if (("string" === typeof t || a.objectMode || Object.getPrototypeOf(t) === s.prototype || (t = c(t)), n))
- a.endEmitted ? E(e, new T()) : O(e, a, t, !0)
- else if (a.ended) E(e, new A())
- else {
- if (a.destroyed) return !1
- ;(a.reading = !1),
- a.decoder && !r
- ? ((t = a.decoder.write(t)), a.objectMode || 0 !== t.length ? O(e, a, t, !1) : F(e, a))
- : O(e, a, t, !1)
- }
- else n || ((a.reading = !1), F(e, a))
- return !a.ended && (a.length < a.highWaterMark || 0 === a.length)
- }
- function O(e, t, r, n) {
- t.flowing && 0 === t.length && !t.sync
- ? ((t.awaitDrain = 0), e.emit("data", r))
- : ((t.length += t.objectMode ? 1 : r.length), n ? t.buffer.unshift(r) : t.buffer.push(r), t.needReadable && D(e)),
- F(e, t)
- }
- function j(e, t) {
- var r
- return (
- u(t) ||
- "string" === typeof t ||
- void 0 === t ||
- e.objectMode ||
- (r = new x("chunk", ["string", "Buffer", "Uint8Array"], t)),
- r
- )
- }
- Object.defineProperty(L.prototype, "destroyed", {
- enumerable: !1,
- get: function () {
- return void 0 !== this._readableState && this._readableState.destroyed
- },
- set: function (e) {
- this._readableState && (this._readableState.destroyed = e)
- }
- }),
- (L.prototype.destroy = y.destroy),
- (L.prototype._undestroy = y.undestroy),
- (L.prototype._destroy = function (e, t) {
- t(e)
- }),
- (L.prototype.push = function (e, t) {
- var r,
- n = this._readableState
- return (
- n.objectMode
- ? (r = !0)
- : "string" === typeof e &&
- ((t = t || n.defaultEncoding), t !== n.encoding && ((e = s.from(e, t)), (t = "")), (r = !0)),
- P(this, e, t, !1, r)
- )
- }),
- (L.prototype.unshift = function (e) {
- return P(this, e, null, !0, !1)
- }),
- (L.prototype.isPaused = function () {
- return !1 === this._readableState.flowing
- }),
- (L.prototype.setEncoding = function (t) {
- d || (d = e("string_decoder/").StringDecoder)
- var r = new d(t)
- ;(this._readableState.decoder = r), (this._readableState.encoding = this._readableState.decoder.encoding)
- var n = this._readableState.buffer.head,
- i = ""
- while (null !== n) (i += r.write(n.data)), (n = n.next)
- return (
- this._readableState.buffer.clear(),
- "" !== i && this._readableState.buffer.push(i),
- (this._readableState.length = i.length),
- this
- )
- })
- var R = 1073741824
- function I(e) {
- return e >= R ? (e = R) : (e--, (e |= e >>> 1), (e |= e >>> 2), (e |= e >>> 4), (e |= e >>> 8), (e |= e >>> 16), e++), e
- }
- function N(e, t) {
- return e <= 0 || (0 === t.length && t.ended)
- ? 0
- : t.objectMode
- ? 1
- : e !== e
- ? t.flowing && t.length
- ? t.buffer.head.data.length
- : t.length
- : (e > t.highWaterMark && (t.highWaterMark = I(e)),
- e <= t.length ? e : t.ended ? t.length : ((t.needReadable = !0), 0))
- }
- function M(e, t) {
- if ((f("onEofChunk"), !t.ended)) {
- if (t.decoder) {
- var r = t.decoder.end()
- r && r.length && (t.buffer.push(r), (t.length += t.objectMode ? 1 : r.length))
- }
- ;(t.ended = !0), t.sync ? D(e) : ((t.needReadable = !1), t.emittedReadable || ((t.emittedReadable = !0), B(e)))
- }
- }
- function D(e) {
- var t = e._readableState
- f("emitReadable", t.needReadable, t.emittedReadable),
- (t.needReadable = !1),
- t.emittedReadable || (f("emitReadable", t.flowing), (t.emittedReadable = !0), r.nextTick(B, e))
- }
- function B(e) {
- var t = e._readableState
- f("emitReadable_", t.destroyed, t.length, t.ended),
- t.destroyed || (!t.length && !t.ended) || (e.emit("readable"), (t.emittedReadable = !1)),
- (t.needReadable = !t.flowing && !t.ended && t.length <= t.highWaterMark),
- H(e)
- }
- function F(e, t) {
- t.readingMore || ((t.readingMore = !0), r.nextTick(U, e, t))
- }
- function U(e, t) {
- while (!t.reading && !t.ended && (t.length < t.highWaterMark || (t.flowing && 0 === t.length))) {
- var r = t.length
- if ((f("maybeReadMore read 0"), e.read(0), r === t.length)) break
- }
- t.readingMore = !1
- }
- function z(e) {
- return function () {
- var t = e._readableState
- f("pipeOnDrain", t.awaitDrain),
- t.awaitDrain && t.awaitDrain--,
- 0 === t.awaitDrain && o(e, "data") && ((t.flowing = !0), H(e))
- }
- }
- function q(e) {
- var t = e._readableState
- ;(t.readableListening = e.listenerCount("readable") > 0),
- t.resumeScheduled && !t.paused ? (t.flowing = !0) : e.listenerCount("data") > 0 && e.resume()
- }
- function G(e) {
- f("readable nexttick read 0"), e.read(0)
- }
- function W(e, t) {
- t.resumeScheduled || ((t.resumeScheduled = !0), r.nextTick(V, e, t))
- }
- function V(e, t) {
- f("resume", t.reading),
- t.reading || e.read(0),
- (t.resumeScheduled = !1),
- e.emit("resume"),
- H(e),
- t.flowing && !t.reading && e.read(0)
- }
- function H(e) {
- var t = e._readableState
- f("flow", t.flowing)
- while (t.flowing && null !== e.read());
- }
- function X(e, t) {
- return 0 === t.length
- ? null
- : (t.objectMode
- ? (r = t.buffer.shift())
- : !e || e >= t.length
- ? ((r = t.decoder ? t.buffer.join("") : 1 === t.buffer.length ? t.buffer.first() : t.buffer.concat(t.length)),
- t.buffer.clear())
- : (r = t.buffer.consume(e, t.decoder)),
- r)
- var r
- }
- function Y(e) {
- var t = e._readableState
- f("endReadable", t.endEmitted), t.endEmitted || ((t.ended = !0), r.nextTick(K, t, e))
- }
- function K(e, t) {
- if (
- (f("endReadableNT", e.endEmitted, e.length),
- !e.endEmitted && 0 === e.length && ((e.endEmitted = !0), (t.readable = !1), t.emit("end"), e.autoDestroy))
- ) {
- var r = t._writableState
- ;(!r || (r.autoDestroy && r.finished)) && t.destroy()
- }
- }
- function Z(e, t) {
- for (var r = 0, n = e.length; r < n; r++) if (e[r] === t) return r
- return -1
- }
- ;(L.prototype.read = function (e) {
- f("read", e), (e = parseInt(e, 10))
- var t = this._readableState,
- r = e
- if (
- (0 !== e && (t.emittedReadable = !1),
- 0 === e && t.needReadable && ((0 !== t.highWaterMark ? t.length >= t.highWaterMark : t.length > 0) || t.ended))
- )
- return f("read: emitReadable", t.length, t.ended), 0 === t.length && t.ended ? Y(this) : D(this), null
- if (((e = N(e, t)), 0 === e && t.ended)) return 0 === t.length && Y(this), null
- var n,
- i = t.needReadable
- return (
- f("need readable", i),
- (0 === t.length || t.length - e < t.highWaterMark) && ((i = !0), f("length less than watermark", i)),
- t.ended || t.reading
- ? ((i = !1), f("reading or ended", i))
- : i &&
- (f("do read"),
- (t.reading = !0),
- (t.sync = !0),
- 0 === t.length && (t.needReadable = !0),
- this._read(t.highWaterMark),
- (t.sync = !1),
- t.reading || (e = N(r, t))),
- (n = e > 0 ? X(e, t) : null),
- null === n ? ((t.needReadable = t.length <= t.highWaterMark), (e = 0)) : ((t.length -= e), (t.awaitDrain = 0)),
- 0 === t.length && (t.ended || (t.needReadable = !0), r !== e && t.ended && Y(this)),
- null !== n && this.emit("data", n),
- n
- )
- }),
- (L.prototype._read = function (e) {
- E(this, new _("_read()"))
- }),
- (L.prototype.pipe = function (e, t) {
- var n = this,
- i = this._readableState
- switch (i.pipesCount) {
- case 0:
- i.pipes = e
- break
- case 1:
- i.pipes = [i.pipes, e]
- break
- default:
- i.pipes.push(e)
- break
- }
- ;(i.pipesCount += 1), f("pipe count=%d opts=%j", i.pipesCount, t)
- var a = (!t || !1 !== t.end) && e !== r.stdout && e !== r.stderr,
- s = a ? c : v
- function l(e, t) {
- f("onunpipe"), e === n && t && !1 === t.hasUnpiped && ((t.hasUnpiped = !0), d())
- }
- function c() {
- f("onend"), e.end()
- }
- i.endEmitted ? r.nextTick(s) : n.once("end", s), e.on("unpipe", l)
- var u = z(n)
- e.on("drain", u)
- var p = !1
- function d() {
- f("cleanup"),
- e.removeListener("close", g),
- e.removeListener("finish", y),
- e.removeListener("drain", u),
- e.removeListener("error", m),
- e.removeListener("unpipe", l),
- n.removeListener("end", c),
- n.removeListener("end", v),
- n.removeListener("data", h),
- (p = !0),
- !i.awaitDrain || (e._writableState && !e._writableState.needDrain) || u()
- }
- function h(t) {
- f("ondata")
- var r = e.write(t)
- f("dest.write", r),
- !1 === r &&
- (((1 === i.pipesCount && i.pipes === e) || (i.pipesCount > 1 && -1 !== Z(i.pipes, e))) &&
- !p &&
- (f("false write response, pause", i.awaitDrain), i.awaitDrain++),
- n.pause())
- }
- function m(t) {
- f("onerror", t), v(), e.removeListener("error", m), 0 === o(e, "error") && E(e, t)
- }
- function g() {
- e.removeListener("finish", y), v()
- }
- function y() {
- f("onfinish"), e.removeListener("close", g), v()
- }
- function v() {
- f("unpipe"), n.unpipe(e)
- }
- return (
- n.on("data", h),
- C(e, "error", m),
- e.once("close", g),
- e.once("finish", y),
- e.emit("pipe", n),
- i.flowing || (f("pipe resume"), n.resume()),
- e
- )
- }),
- (L.prototype.unpipe = function (e) {
- var t = this._readableState,
- r = {
- hasUnpiped: !1
- }
- if (0 === t.pipesCount) return this
- if (1 === t.pipesCount)
- return (
- (e && e !== t.pipes) ||
- (e || (e = t.pipes),
- (t.pipes = null),
- (t.pipesCount = 0),
- (t.flowing = !1),
- e && e.emit("unpipe", this, r)),
- this
- )
- if (!e) {
- var n = t.pipes,
- i = t.pipesCount
- ;(t.pipes = null), (t.pipesCount = 0), (t.flowing = !1)
- for (var o = 0; o < i; o++)
- n[o].emit("unpipe", this, {
- hasUnpiped: !1
- })
- return this
- }
- var a = Z(t.pipes, e)
- return (
- -1 === a ||
- (t.pipes.splice(a, 1),
- (t.pipesCount -= 1),
- 1 === t.pipesCount && (t.pipes = t.pipes[0]),
- e.emit("unpipe", this, r)),
- this
- )
- }),
- (L.prototype.on = function (e, t) {
- var n = a.prototype.on.call(this, e, t),
- i = this._readableState
- return (
- "data" === e
- ? ((i.readableListening = this.listenerCount("readable") > 0), !1 !== i.flowing && this.resume())
- : "readable" === e &&
- (i.endEmitted ||
- i.readableListening ||
- ((i.readableListening = i.needReadable = !0),
- (i.flowing = !1),
- (i.emittedReadable = !1),
- f("on readable", i.length, i.reading),
- i.length ? D(this) : i.reading || r.nextTick(G, this))),
- n
- )
- }),
- (L.prototype.addListener = L.prototype.on),
- (L.prototype.removeListener = function (e, t) {
- var n = a.prototype.removeListener.call(this, e, t)
- return "readable" === e && r.nextTick(q, this), n
- }),
- (L.prototype.removeAllListeners = function (e) {
- var t = a.prototype.removeAllListeners.apply(this, arguments)
- return ("readable" !== e && void 0 !== e) || r.nextTick(q, this), t
- }),
- (L.prototype.resume = function () {
- var e = this._readableState
- return e.flowing || (f("resume"), (e.flowing = !e.readableListening), W(this, e)), (e.paused = !1), this
- }),
- (L.prototype.pause = function () {
- return (
- f("call pause flowing=%j", this._readableState.flowing),
- !1 !== this._readableState.flowing && (f("pause"), (this._readableState.flowing = !1), this.emit("pause")),
- (this._readableState.paused = !0),
- this
- )
- }),
- (L.prototype.wrap = function (e) {
- var t = this,
- r = this._readableState,
- n = !1
- for (var i in (e.on("end", function () {
- if ((f("wrapped end"), r.decoder && !r.ended)) {
- var e = r.decoder.end()
- e && e.length && t.push(e)
- }
- t.push(null)
- }),
- e.on("data", function (i) {
- if (
- (f("wrapped data"),
- r.decoder && (i = r.decoder.write(i)),
- (!r.objectMode || (null !== i && void 0 !== i)) && (r.objectMode || (i && i.length)))
- ) {
- var o = t.push(i)
- o || ((n = !0), e.pause())
- }
- }),
- e))
- void 0 === this[i] &&
- "function" === typeof e[i] &&
- (this[i] = (function (t) {
- return function () {
- return e[t].apply(e, arguments)
- }
- })(i))
- for (var o = 0; o < S.length; o++) e.on(S[o], this.emit.bind(this, S[o]))
- return (
- (this._read = function (t) {
- f("wrapped _read", t), n && ((n = !1), e.resume())
- }),
- this
- )
- }),
- "function" === typeof Symbol &&
- (L.prototype[Symbol.asyncIterator] = function () {
- return void 0 === h && (h = e("./internal/streams/async_iterator")), h(this)
- }),
- Object.defineProperty(L.prototype, "readableHighWaterMark", {
- enumerable: !1,
- get: function () {
- return this._readableState.highWaterMark
- }
- }),
- Object.defineProperty(L.prototype, "readableBuffer", {
- enumerable: !1,
- get: function () {
- return this._readableState && this._readableState.buffer
- }
- }),
- Object.defineProperty(L.prototype, "readableFlowing", {
- enumerable: !1,
- get: function () {
- return this._readableState.flowing
- },
- set: function (e) {
- this._readableState && (this._readableState.flowing = e)
- }
- }),
- (L._fromList = X),
- Object.defineProperty(L.prototype, "readableLength", {
- enumerable: !1,
- get: function () {
- return this._readableState.length
- }
- }),
- "function" === typeof Symbol &&
- (L.from = function (t, r) {
- return void 0 === m && (m = e("./internal/streams/from")), m(L, t, r)
- })
- }).call(
- this,
- e("_process"),
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
- )
- },
- {
- "../errors": 84,
- "./_stream_duplex": 85,
- "./internal/streams/async_iterator": 90,
- "./internal/streams/buffer_list": 91,
- "./internal/streams/destroy": 92,
- "./internal/streams/from": 94,
- "./internal/streams/state": 96,
- "./internal/streams/stream": 97,
- _process: 392,
- buffer: 99,
- events: 296,
- inherits: 306,
- "string_decoder/": 340,
- util: 79
- }
- ],
- 88: [
- function (e, t, r) {
- "use strict"
- t.exports = u
- var n = e("../errors").codes,
- i = n.ERR_METHOD_NOT_IMPLEMENTED,
- o = n.ERR_MULTIPLE_CALLBACK,
- a = n.ERR_TRANSFORM_ALREADY_TRANSFORMING,
- s = n.ERR_TRANSFORM_WITH_LENGTH_0,
- l = e("./_stream_duplex")
- function c(e, t) {
- var r = this._transformState
- r.transforming = !1
- var n = r.writecb
- if (null === n) return this.emit("error", new o())
- ;(r.writechunk = null), (r.writecb = null), null != t && this.push(t), n(e)
- var i = this._readableState
- ;(i.reading = !1), (i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark)
- }
- function u(e) {
- if (!(this instanceof u)) return new u(e)
- l.call(this, e),
- (this._transformState = {
- afterTransform: c.bind(this),
- needTransform: !1,
- transforming: !1,
- writecb: null,
- writechunk: null,
- writeencoding: null
- }),
- (this._readableState.needReadable = !0),
- (this._readableState.sync = !1),
- e &&
- ("function" === typeof e.transform && (this._transform = e.transform),
- "function" === typeof e.flush && (this._flush = e.flush)),
- this.on("prefinish", f)
- }
- function f() {
- var e = this
- "function" !== typeof this._flush || this._readableState.destroyed
- ? p(this, null, null)
- : this._flush(function (t, r) {
- p(e, t, r)
- })
- }
- function p(e, t, r) {
- if (t) return e.emit("error", t)
- if ((null != r && e.push(r), e._writableState.length)) throw new s()
- if (e._transformState.transforming) throw new a()
- return e.push(null)
- }
- e("inherits")(u, l),
- (u.prototype.push = function (e, t) {
- return (this._transformState.needTransform = !1), l.prototype.push.call(this, e, t)
- }),
- (u.prototype._transform = function (e, t, r) {
- r(new i("_transform()"))
- }),
- (u.prototype._write = function (e, t, r) {
- var n = this._transformState
- if (((n.writecb = r), (n.writechunk = e), (n.writeencoding = t), !n.transforming)) {
- var i = this._readableState
- ;(n.needTransform || i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark)
- }
- }),
- (u.prototype._read = function (e) {
- var t = this._transformState
- null === t.writechunk || t.transforming
- ? (t.needTransform = !0)
- : ((t.transforming = !0), this._transform(t.writechunk, t.writeencoding, t.afterTransform))
- }),
- (u.prototype._destroy = function (e, t) {
- l.prototype._destroy.call(this, e, function (e) {
- t(e)
- })
- })
- },
- {
- "../errors": 84,
- "./_stream_duplex": 85,
- inherits: 306
- }
- ],
- 89: [
- function (e, t, r) {
- ;(function (r, n) {
- "use strict"
- function i(e) {
- var t = this
- ;(this.next = null),
- (this.entry = null),
- (this.finish = function () {
- V(t, e)
- })
- }
- var o
- ;(t.exports = k), (k.WritableState = C)
- var a = {
- deprecate: e("util-deprecate")
- },
- s = e("./internal/streams/stream"),
- l = e("buffer").Buffer,
- c = n.Uint8Array || function () {}
- function u(e) {
- return l.from(e)
- }
- function f(e) {
- return l.isBuffer(e) || e instanceof c
- }
- var p,
- d = e("./internal/streams/destroy"),
- h = e("./internal/streams/state"),
- m = h.getHighWaterMark,
- g = e("../errors").codes,
- y = g.ERR_INVALID_ARG_TYPE,
- v = g.ERR_METHOD_NOT_IMPLEMENTED,
- b = g.ERR_MULTIPLE_CALLBACK,
- w = g.ERR_STREAM_CANNOT_PIPE,
- x = g.ERR_STREAM_DESTROYED,
- A = g.ERR_STREAM_NULL_VALUES,
- _ = g.ERR_STREAM_WRITE_AFTER_END,
- T = g.ERR_UNKNOWN_ENCODING,
- E = d.errorOrDestroy
- function S() {}
- function C(t, r, n) {
- ;(o = o || e("./_stream_duplex")),
- (t = t || {}),
- "boolean" !== typeof n && (n = r instanceof o),
- (this.objectMode = !!t.objectMode),
- n && (this.objectMode = this.objectMode || !!t.writableObjectMode),
- (this.highWaterMark = m(this, t, "writableHighWaterMark", n)),
- (this.finalCalled = !1),
- (this.needDrain = !1),
- (this.ending = !1),
- (this.ended = !1),
- (this.finished = !1),
- (this.destroyed = !1)
- var a = !1 === t.decodeStrings
- ;(this.decodeStrings = !a),
- (this.defaultEncoding = t.defaultEncoding || "utf8"),
- (this.length = 0),
- (this.writing = !1),
- (this.corked = 0),
- (this.sync = !0),
- (this.bufferProcessing = !1),
- (this.onwrite = function (e) {
- M(r, e)
- }),
- (this.writecb = null),
- (this.writelen = 0),
- (this.bufferedRequest = null),
- (this.lastBufferedRequest = null),
- (this.pendingcb = 0),
- (this.prefinished = !1),
- (this.errorEmitted = !1),
- (this.emitClose = !1 !== t.emitClose),
- (this.autoDestroy = !!t.autoDestroy),
- (this.bufferedRequestCount = 0),
- (this.corkedRequestsFree = new i(this))
- }
- function k(t) {
- o = o || e("./_stream_duplex")
- var r = this instanceof o
- if (!r && !p.call(k, this)) return new k(t)
- ;(this._writableState = new C(t, this, r)),
- (this.writable = !0),
- t &&
- ("function" === typeof t.write && (this._write = t.write),
- "function" === typeof t.writev && (this._writev = t.writev),
- "function" === typeof t.destroy && (this._destroy = t.destroy),
- "function" === typeof t.final && (this._final = t.final)),
- s.call(this)
- }
- function L(e, t) {
- var n = new _()
- E(e, n), r.nextTick(t, n)
- }
- function P(e, t, n, i) {
- var o
- return (
- null === n ? (o = new A()) : "string" === typeof n || t.objectMode || (o = new y("chunk", ["string", "Buffer"], n)),
- !o || (E(e, o), r.nextTick(i, o), !1)
- )
- }
- function O(e, t, r) {
- return e.objectMode || !1 === e.decodeStrings || "string" !== typeof t || (t = l.from(t, r)), t
- }
- function j(e, t, r, n, i, o) {
- if (!r) {
- var a = O(t, n, i)
- n !== a && ((r = !0), (i = "buffer"), (n = a))
- }
- var s = t.objectMode ? 1 : n.length
- t.length += s
- var l = t.length < t.highWaterMark
- if ((l || (t.needDrain = !0), t.writing || t.corked)) {
- var c = t.lastBufferedRequest
- ;(t.lastBufferedRequest = {
- chunk: n,
- encoding: i,
- isBuf: r,
- callback: o,
- next: null
- }),
- c ? (c.next = t.lastBufferedRequest) : (t.bufferedRequest = t.lastBufferedRequest),
- (t.bufferedRequestCount += 1)
- } else R(e, t, !1, s, n, i, o)
- return l
- }
- function R(e, t, r, n, i, o, a) {
- ;(t.writelen = n),
- (t.writecb = a),
- (t.writing = !0),
- (t.sync = !0),
- t.destroyed ? t.onwrite(new x("write")) : r ? e._writev(i, t.onwrite) : e._write(i, o, t.onwrite),
- (t.sync = !1)
- }
- function I(e, t, n, i, o) {
- --t.pendingcb,
- n
- ? (r.nextTick(o, i), r.nextTick(G, e, t), (e._writableState.errorEmitted = !0), E(e, i))
- : (o(i), (e._writableState.errorEmitted = !0), E(e, i), G(e, t))
- }
- function N(e) {
- ;(e.writing = !1), (e.writecb = null), (e.length -= e.writelen), (e.writelen = 0)
- }
- function M(e, t) {
- var n = e._writableState,
- i = n.sync,
- o = n.writecb
- if ("function" !== typeof o) throw new b()
- if ((N(n), t)) I(e, n, i, t, o)
- else {
- var a = U(n) || e.destroyed
- a || n.corked || n.bufferProcessing || !n.bufferedRequest || F(e, n), i ? r.nextTick(D, e, n, a, o) : D(e, n, a, o)
- }
- }
- function D(e, t, r, n) {
- r || B(e, t), t.pendingcb--, n(), G(e, t)
- }
- function B(e, t) {
- 0 === t.length && t.needDrain && ((t.needDrain = !1), e.emit("drain"))
- }
- function F(e, t) {
- t.bufferProcessing = !0
- var r = t.bufferedRequest
- if (e._writev && r && r.next) {
- var n = t.bufferedRequestCount,
- o = new Array(n),
- a = t.corkedRequestsFree
- a.entry = r
- var s = 0,
- l = !0
- while (r) (o[s] = r), r.isBuf || (l = !1), (r = r.next), (s += 1)
- ;(o.allBuffers = l),
- R(e, t, !0, t.length, o, "", a.finish),
- t.pendingcb++,
- (t.lastBufferedRequest = null),
- a.next ? ((t.corkedRequestsFree = a.next), (a.next = null)) : (t.corkedRequestsFree = new i(t)),
- (t.bufferedRequestCount = 0)
- } else {
- while (r) {
- var c = r.chunk,
- u = r.encoding,
- f = r.callback,
- p = t.objectMode ? 1 : c.length
- if ((R(e, t, !1, p, c, u, f), (r = r.next), t.bufferedRequestCount--, t.writing)) break
- }
- null === r && (t.lastBufferedRequest = null)
- }
- ;(t.bufferedRequest = r), (t.bufferProcessing = !1)
- }
- function U(e) {
- return e.ending && 0 === e.length && null === e.bufferedRequest && !e.finished && !e.writing
- }
- function z(e, t) {
- e._final(function (r) {
- t.pendingcb--, r && E(e, r), (t.prefinished = !0), e.emit("prefinish"), G(e, t)
- })
- }
- function q(e, t) {
- t.prefinished ||
- t.finalCalled ||
- ("function" !== typeof e._final || t.destroyed
- ? ((t.prefinished = !0), e.emit("prefinish"))
- : (t.pendingcb++, (t.finalCalled = !0), r.nextTick(z, e, t)))
- }
- function G(e, t) {
- var r = U(t)
- if (r && (q(e, t), 0 === t.pendingcb && ((t.finished = !0), e.emit("finish"), t.autoDestroy))) {
- var n = e._readableState
- ;(!n || (n.autoDestroy && n.endEmitted)) && e.destroy()
- }
- return r
- }
- function W(e, t, n) {
- ;(t.ending = !0), G(e, t), n && (t.finished ? r.nextTick(n) : e.once("finish", n)), (t.ended = !0), (e.writable = !1)
- }
- function V(e, t, r) {
- var n = e.entry
- e.entry = null
- while (n) {
- var i = n.callback
- t.pendingcb--, i(r), (n = n.next)
- }
- t.corkedRequestsFree.next = e
- }
- e("inherits")(k, s),
- (C.prototype.getBuffer = function () {
- var e = this.bufferedRequest,
- t = []
- while (e) t.push(e), (e = e.next)
- return t
- }),
- (function () {
- try {
- Object.defineProperty(C.prototype, "buffer", {
- get: a.deprecate(
- function () {
- return this.getBuffer()
- },
- "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.",
- "DEP0003"
- )
- })
- } catch (e) {}
- })(),
- "function" === typeof Symbol && Symbol.hasInstance && "function" === typeof Function.prototype[Symbol.hasInstance]
- ? ((p = Function.prototype[Symbol.hasInstance]),
- Object.defineProperty(k, Symbol.hasInstance, {
- value: function (e) {
- return !!p.call(this, e) || (this === k && e && e._writableState instanceof C)
- }
- }))
- : (p = function (e) {
- return e instanceof this
- }),
- (k.prototype.pipe = function () {
- E(this, new w())
- }),
- (k.prototype.write = function (e, t, r) {
- var n = this._writableState,
- i = !1,
- o = !n.objectMode && f(e)
- return (
- o && !l.isBuffer(e) && (e = u(e)),
- "function" === typeof t && ((r = t), (t = null)),
- o ? (t = "buffer") : t || (t = n.defaultEncoding),
- "function" !== typeof r && (r = S),
- n.ending ? L(this, r) : (o || P(this, n, e, r)) && (n.pendingcb++, (i = j(this, n, o, e, t, r))),
- i
- )
- }),
- (k.prototype.cork = function () {
- this._writableState.corked++
- }),
- (k.prototype.uncork = function () {
- var e = this._writableState
- e.corked && (e.corked--, e.writing || e.corked || e.bufferProcessing || !e.bufferedRequest || F(this, e))
- }),
- (k.prototype.setDefaultEncoding = function (e) {
- if (
- ("string" === typeof e && (e = e.toLowerCase()),
- !(
- ["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf(
- (e + "").toLowerCase()
- ) > -1
- ))
- )
- throw new T(e)
- return (this._writableState.defaultEncoding = e), this
- }),
- Object.defineProperty(k.prototype, "writableBuffer", {
- enumerable: !1,
- get: function () {
- return this._writableState && this._writableState.getBuffer()
- }
- }),
- Object.defineProperty(k.prototype, "writableHighWaterMark", {
- enumerable: !1,
- get: function () {
- return this._writableState.highWaterMark
- }
- }),
- (k.prototype._write = function (e, t, r) {
- r(new v("_write()"))
- }),
- (k.prototype._writev = null),
- (k.prototype.end = function (e, t, r) {
- var n = this._writableState
- return (
- "function" === typeof e ? ((r = e), (e = null), (t = null)) : "function" === typeof t && ((r = t), (t = null)),
- null !== e && void 0 !== e && this.write(e, t),
- n.corked && ((n.corked = 1), this.uncork()),
- n.ending || W(this, n, r),
- this
- )
- }),
- Object.defineProperty(k.prototype, "writableLength", {
- enumerable: !1,
- get: function () {
- return this._writableState.length
- }
- }),
- Object.defineProperty(k.prototype, "destroyed", {
- enumerable: !1,
- get: function () {
- return void 0 !== this._writableState && this._writableState.destroyed
- },
- set: function (e) {
- this._writableState && (this._writableState.destroyed = e)
- }
- }),
- (k.prototype.destroy = d.destroy),
- (k.prototype._undestroy = d.undestroy),
- (k.prototype._destroy = function (e, t) {
- t(e)
- })
- }).call(
- this,
- e("_process"),
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
- )
- },
- {
- "../errors": 84,
- "./_stream_duplex": 85,
- "./internal/streams/destroy": 92,
- "./internal/streams/state": 96,
- "./internal/streams/stream": 97,
- _process: 392,
- buffer: 99,
- inherits: 306,
- "util-deprecate": 342
- }
- ],
- 90: [
- function (e, t, r) {
- ;(function (r) {
- "use strict"
- var n
- function i(e, t, r) {
- return (
- t in e
- ? Object.defineProperty(e, t, {
- value: r,
- enumerable: !0,
- configurable: !0,
- writable: !0
- })
- : (e[t] = r),
- e
- )
- }
- var o = e("./end-of-stream"),
- a = Symbol("lastResolve"),
- s = Symbol("lastReject"),
- l = Symbol("error"),
- c = Symbol("ended"),
- u = Symbol("lastPromise"),
- f = Symbol("handlePromise"),
- p = Symbol("stream")
- function d(e, t) {
- return {
- value: e,
- done: t
- }
- }
- function h(e) {
- var t = e[a]
- if (null !== t) {
- var r = e[p].read()
- null !== r && ((e[u] = null), (e[a] = null), (e[s] = null), t(d(r, !1)))
- }
- }
- function m(e) {
- r.nextTick(h, e)
- }
- function g(e, t) {
- return function (r, n) {
- e.then(function () {
- t[c] ? r(d(void 0, !0)) : t[f](r, n)
- }, n)
- }
- }
- var y = Object.getPrototypeOf(function () {}),
- v = Object.setPrototypeOf(
- ((n = {
- get stream() {
- return this[p]
- },
- next: function () {
- var e = this,
- t = this[l]
- if (null !== t) return Promise.reject(t)
- if (this[c]) return Promise.resolve(d(void 0, !0))
- if (this[p].destroyed)
- return new Promise(function (t, n) {
- r.nextTick(function () {
- e[l] ? n(e[l]) : t(d(void 0, !0))
- })
- })
- var n,
- i = this[u]
- if (i) n = new Promise(g(i, this))
- else {
- var o = this[p].read()
- if (null !== o) return Promise.resolve(d(o, !1))
- n = new Promise(this[f])
- }
- return (this[u] = n), n
- }
- }),
- i(n, Symbol.asyncIterator, function () {
- return this
- }),
- i(n, "return", function () {
- var e = this
- return new Promise(function (t, r) {
- e[p].destroy(null, function (e) {
- e ? r(e) : t(d(void 0, !0))
- })
- })
- }),
- n),
- y
- ),
- b = function (e) {
- var t,
- r = Object.create(
- v,
- ((t = {}),
- i(t, p, {
- value: e,
- writable: !0
- }),
- i(t, a, {
- value: null,
- writable: !0
- }),
- i(t, s, {
- value: null,
- writable: !0
- }),
- i(t, l, {
- value: null,
- writable: !0
- }),
- i(t, c, {
- value: e._readableState.endEmitted,
- writable: !0
- }),
- i(t, f, {
- value: function (e, t) {
- var n = r[p].read()
- n ? ((r[u] = null), (r[a] = null), (r[s] = null), e(d(n, !1))) : ((r[a] = e), (r[s] = t))
- },
- writable: !0
- }),
- t)
- )
- return (
- (r[u] = null),
- o(e, function (e) {
- if (e && "ERR_STREAM_PREMATURE_CLOSE" !== e.code) {
- var t = r[s]
- return null !== t && ((r[u] = null), (r[a] = null), (r[s] = null), t(e)), void (r[l] = e)
- }
- var n = r[a]
- null !== n && ((r[u] = null), (r[a] = null), (r[s] = null), n(d(void 0, !0))), (r[c] = !0)
- }),
- e.on("readable", m.bind(null, r)),
- r
- )
- }
- t.exports = b
- }).call(this, e("_process"))
- },
- {
- "./end-of-stream": 93,
- _process: 392
- }
- ],
- 91: [
- function (e, t, r) {
- "use strict"
- function n(e, t) {
- var r = Object.keys(e)
- if (Object.getOwnPropertySymbols) {
- var n = Object.getOwnPropertySymbols(e)
- t &&
- (n = n.filter(function (t) {
- return Object.getOwnPropertyDescriptor(e, t).enumerable
- })),
- r.push.apply(r, n)
- }
- return r
- }
- function i(e) {
- for (var t = 1; t < arguments.length; t++) {
- var r = null != arguments[t] ? arguments[t] : {}
- t % 2
- ? n(Object(r), !0).forEach(function (t) {
- o(e, t, r[t])
- })
- : Object.getOwnPropertyDescriptors
- ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
- : n(Object(r)).forEach(function (t) {
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
- })
- }
- return e
- }
- function o(e, t, r) {
- return (
- t in e
- ? Object.defineProperty(e, t, {
- value: r,
- enumerable: !0,
- configurable: !0,
- writable: !0
- })
- : (e[t] = r),
- e
- )
- }
- function a(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- function s(e, t) {
- for (var r = 0; r < t.length; r++) {
- var n = t[r]
- ;(n.enumerable = n.enumerable || !1),
- (n.configurable = !0),
- "value" in n && (n.writable = !0),
- Object.defineProperty(e, n.key, n)
- }
- }
- function l(e, t, r) {
- return t && s(e.prototype, t), r && s(e, r), e
- }
- var c = e("buffer"),
- u = c.Buffer,
- f = e("util"),
- p = f.inspect,
- d = (p && p.custom) || "inspect"
- function h(e, t, r) {
- u.prototype.copy.call(e, t, r)
- }
- t.exports = (function () {
- function e() {
- a(this, e), (this.head = null), (this.tail = null), (this.length = 0)
- }
- return (
- l(e, [
- {
- key: "push",
- value: function (e) {
- var t = {
- data: e,
- next: null
- }
- this.length > 0 ? (this.tail.next = t) : (this.head = t), (this.tail = t), ++this.length
- }
- },
- {
- key: "unshift",
- value: function (e) {
- var t = {
- data: e,
- next: this.head
- }
- 0 === this.length && (this.tail = t), (this.head = t), ++this.length
- }
- },
- {
- key: "shift",
- value: function () {
- if (0 !== this.length) {
- var e = this.head.data
- return 1 === this.length ? (this.head = this.tail = null) : (this.head = this.head.next), --this.length, e
- }
- }
- },
- {
- key: "clear",
- value: function () {
- ;(this.head = this.tail = null), (this.length = 0)
- }
- },
- {
- key: "join",
- value: function (e) {
- if (0 === this.length) return ""
- var t = this.head,
- r = "" + t.data
- while ((t = t.next)) r += e + t.data
- return r
- }
- },
- {
- key: "concat",
- value: function (e) {
- if (0 === this.length) return u.alloc(0)
- var t = u.allocUnsafe(e >>> 0),
- r = this.head,
- n = 0
- while (r) h(r.data, t, n), (n += r.data.length), (r = r.next)
- return t
- }
- },
- {
- key: "consume",
- value: function (e, t) {
- var r
- return (
- e < this.head.data.length
- ? ((r = this.head.data.slice(0, e)), (this.head.data = this.head.data.slice(e)))
- : (r = e === this.head.data.length ? this.shift() : t ? this._getString(e) : this._getBuffer(e)),
- r
- )
- }
- },
- {
- key: "first",
- value: function () {
- return this.head.data
- }
- },
- {
- key: "_getString",
- value: function (e) {
- var t = this.head,
- r = 1,
- n = t.data
- e -= n.length
- while ((t = t.next)) {
- var i = t.data,
- o = e > i.length ? i.length : e
- if ((o === i.length ? (n += i) : (n += i.slice(0, e)), (e -= o), 0 === e)) {
- o === i.length
- ? (++r, t.next ? (this.head = t.next) : (this.head = this.tail = null))
- : ((this.head = t), (t.data = i.slice(o)))
- break
- }
- ++r
- }
- return (this.length -= r), n
- }
- },
- {
- key: "_getBuffer",
- value: function (e) {
- var t = u.allocUnsafe(e),
- r = this.head,
- n = 1
- r.data.copy(t), (e -= r.data.length)
- while ((r = r.next)) {
- var i = r.data,
- o = e > i.length ? i.length : e
- if ((i.copy(t, t.length - e, 0, o), (e -= o), 0 === e)) {
- o === i.length
- ? (++n, r.next ? (this.head = r.next) : (this.head = this.tail = null))
- : ((this.head = r), (r.data = i.slice(o)))
- break
- }
- ++n
- }
- return (this.length -= n), t
- }
- },
- {
- key: d,
- value: function (e, t) {
- return p(
- this,
- i({}, t, {
- depth: 0,
- customInspect: !1
- })
- )
- }
- }
- ]),
- e
- )
- })()
- },
- {
- buffer: 99,
- util: 79
- }
- ],
- 92: [
- function (e, t, r) {
- ;(function (e) {
- "use strict"
- function r(t, r) {
- var o = this,
- s = this._readableState && this._readableState.destroyed,
- l = this._writableState && this._writableState.destroyed
- return s || l
- ? (r
- ? r(t)
- : t &&
- (this._writableState
- ? this._writableState.errorEmitted || ((this._writableState.errorEmitted = !0), e.nextTick(a, this, t))
- : e.nextTick(a, this, t)),
- this)
- : (this._readableState && (this._readableState.destroyed = !0),
- this._writableState && (this._writableState.destroyed = !0),
- this._destroy(t || null, function (t) {
- !r && t
- ? o._writableState
- ? o._writableState.errorEmitted
- ? e.nextTick(i, o)
- : ((o._writableState.errorEmitted = !0), e.nextTick(n, o, t))
- : e.nextTick(n, o, t)
- : r
- ? (e.nextTick(i, o), r(t))
- : e.nextTick(i, o)
- }),
- this)
- }
- function n(e, t) {
- a(e, t), i(e)
- }
- function i(e) {
- ;(e._writableState && !e._writableState.emitClose) ||
- (e._readableState && !e._readableState.emitClose) ||
- e.emit("close")
- }
- function o() {
- this._readableState &&
- ((this._readableState.destroyed = !1),
- (this._readableState.reading = !1),
- (this._readableState.ended = !1),
- (this._readableState.endEmitted = !1)),
- this._writableState &&
- ((this._writableState.destroyed = !1),
- (this._writableState.ended = !1),
- (this._writableState.ending = !1),
- (this._writableState.finalCalled = !1),
- (this._writableState.prefinished = !1),
- (this._writableState.finished = !1),
- (this._writableState.errorEmitted = !1))
- }
- function a(e, t) {
- e.emit("error", t)
- }
- function s(e, t) {
- var r = e._readableState,
- n = e._writableState
- ;(r && r.autoDestroy) || (n && n.autoDestroy) ? e.destroy(t) : e.emit("error", t)
- }
- t.exports = {
- destroy: r,
- undestroy: o,
- errorOrDestroy: s
- }
- }).call(this, e("_process"))
- },
- {
- _process: 392
- }
- ],
- 93: [
- function (e, t, r) {
- "use strict"
- var n = e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE
- function i(e) {
- var t = !1
- return function () {
- if (!t) {
- t = !0
- for (var r = arguments.length, n = new Array(r), i = 0; i < r; i++) n[i] = arguments[i]
- e.apply(this, n)
- }
- }
- }
- function o() {}
- function a(e) {
- return e.setHeader && "function" === typeof e.abort
- }
- function s(e, t, r) {
- if ("function" === typeof t) return s(e, null, t)
- t || (t = {}), (r = i(r || o))
- var l = t.readable || (!1 !== t.readable && e.readable),
- c = t.writable || (!1 !== t.writable && e.writable),
- u = function () {
- e.writable || p()
- },
- f = e._writableState && e._writableState.finished,
- p = function () {
- ;(c = !1), (f = !0), l || r.call(e)
- },
- d = e._readableState && e._readableState.endEmitted,
- h = function () {
- ;(l = !1), (d = !0), c || r.call(e)
- },
- m = function (t) {
- r.call(e, t)
- },
- g = function () {
- var t
- return l && !d
- ? ((e._readableState && e._readableState.ended) || (t = new n()), r.call(e, t))
- : c && !f
- ? ((e._writableState && e._writableState.ended) || (t = new n()), r.call(e, t))
- : void 0
- },
- y = function () {
- e.req.on("finish", p)
- }
- return (
- a(e)
- ? (e.on("complete", p), e.on("abort", g), e.req ? y() : e.on("request", y))
- : c && !e._writableState && (e.on("end", u), e.on("close", u)),
- e.on("end", h),
- e.on("finish", p),
- !1 !== t.error && e.on("error", m),
- e.on("close", g),
- function () {
- e.removeListener("complete", p),
- e.removeListener("abort", g),
- e.removeListener("request", y),
- e.req && e.req.removeListener("finish", p),
- e.removeListener("end", u),
- e.removeListener("close", u),
- e.removeListener("finish", p),
- e.removeListener("end", h),
- e.removeListener("error", m),
- e.removeListener("close", g)
- }
- )
- }
- t.exports = s
- },
- {
- "../../../errors": 84
- }
- ],
- 94: [
- function (e, t, r) {
- t.exports = function () {
- throw new Error("Readable.from is not available in the browser")
- }
- },
- {}
- ],
- 95: [
- function (e, t, r) {
- "use strict"
- var n
- function i(e) {
- var t = !1
- return function () {
- t || ((t = !0), e.apply(void 0, arguments))
- }
- }
- var o = e("../../../errors").codes,
- a = o.ERR_MISSING_ARGS,
- s = o.ERR_STREAM_DESTROYED
- function l(e) {
- if (e) throw e
- }
- function c(e) {
- return e.setHeader && "function" === typeof e.abort
- }
- function u(t, r, o, a) {
- a = i(a)
- var l = !1
- t.on("close", function () {
- l = !0
- }),
- void 0 === n && (n = e("./end-of-stream")),
- n(
- t,
- {
- readable: r,
- writable: o
- },
- function (e) {
- if (e) return a(e)
- ;(l = !0), a()
- }
- )
- var u = !1
- return function (e) {
- if (!l && !u)
- return (u = !0), c(t) ? t.abort() : "function" === typeof t.destroy ? t.destroy() : void a(e || new s("pipe"))
- }
- }
- function f(e) {
- e()
- }
- function p(e, t) {
- return e.pipe(t)
- }
- function d(e) {
- return e.length ? ("function" !== typeof e[e.length - 1] ? l : e.pop()) : l
- }
- function h() {
- for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]
- var n,
- i = d(t)
- if ((Array.isArray(t[0]) && (t = t[0]), t.length < 2)) throw new a("streams")
- var o = t.map(function (e, r) {
- var a = r < t.length - 1,
- s = r > 0
- return u(e, a, s, function (e) {
- n || (n = e), e && o.forEach(f), a || (o.forEach(f), i(n))
- })
- })
- return t.reduce(p)
- }
- t.exports = h
- },
- {
- "../../../errors": 84,
- "./end-of-stream": 93
- }
- ],
- 96: [
- function (e, t, r) {
- "use strict"
- var n = e("../../../errors").codes.ERR_INVALID_OPT_VALUE
- function i(e, t, r) {
- return null != e.highWaterMark ? e.highWaterMark : t ? e[r] : null
- }
- function o(e, t, r, o) {
- var a = i(t, o, r)
- if (null != a) {
- if (!isFinite(a) || Math.floor(a) !== a || a < 0) {
- var s = o ? r : "highWaterMark"
- throw new n(s, a)
- }
- return Math.floor(a)
- }
- return e.objectMode ? 16 : 16384
- }
- t.exports = {
- getHighWaterMark: o
- }
- },
- {
- "../../../errors": 84
- }
- ],
- 97: [
- function (e, t, r) {
- t.exports = e("events").EventEmitter
- },
- {
- events: 296
- }
- ],
- 98: [
- function (e, t, r) {
- ;(r = t.exports = e("./lib/_stream_readable.js")),
- (r.Stream = r),
- (r.Readable = r),
- (r.Writable = e("./lib/_stream_writable.js")),
- (r.Duplex = e("./lib/_stream_duplex.js")),
- (r.Transform = e("./lib/_stream_transform.js")),
- (r.PassThrough = e("./lib/_stream_passthrough.js")),
- (r.finished = e("./lib/internal/streams/end-of-stream.js")),
- (r.pipeline = e("./lib/internal/streams/pipeline.js"))
- },
- {
- "./lib/_stream_duplex.js": 85,
- "./lib/_stream_passthrough.js": 86,
- "./lib/_stream_readable.js": 87,
- "./lib/_stream_transform.js": 88,
- "./lib/_stream_writable.js": 89,
- "./lib/internal/streams/end-of-stream.js": 93,
- "./lib/internal/streams/pipeline.js": 95
- }
- ],
- 99: [
- function (e, t, r) {
- ;(function (t) {
- /*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <https://feross.org>
- * @license MIT
- */
- "use strict"
- var n = e("base64-js"),
- i = e("ieee754")
- ;(r.Buffer = t), (r.SlowBuffer = y), (r.INSPECT_MAX_BYTES = 50)
- var o = 2147483647
- function a() {
- try {
- var e = new Uint8Array(1)
- return (
- (e.__proto__ = {
- __proto__: Uint8Array.prototype,
- foo: function () {
- return 42
- }
- }),
- 42 === e.foo()
- )
- } catch (t) {
- return !1
- }
- }
- function s(e) {
- if (e > o) throw new RangeError('The value "' + e + '" is invalid for option "size"')
- var r = new Uint8Array(e)
- return (r.__proto__ = t.prototype), r
- }
- function t(e, t, r) {
- if ("number" === typeof e) {
- if ("string" === typeof t) throw new TypeError('The "string" argument must be of type string. Received type number')
- return f(e)
- }
- return l(e, t, r)
- }
- function l(e, r, n) {
- if ("string" === typeof e) return p(e, r)
- if (ArrayBuffer.isView(e)) return d(e)
- if (null == e)
- throw TypeError(
- "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " +
- typeof e
- )
- if (Z(e, ArrayBuffer) || (e && Z(e.buffer, ArrayBuffer))) return h(e, r, n)
- if ("number" === typeof e) throw new TypeError('The "value" argument must not be of type number. Received type number')
- var i = e.valueOf && e.valueOf()
- if (null != i && i !== e) return t.from(i, r, n)
- var o = m(e)
- if (o) return o
- if ("undefined" !== typeof Symbol && null != Symbol.toPrimitive && "function" === typeof e[Symbol.toPrimitive])
- return t.from(e[Symbol.toPrimitive]("string"), r, n)
- throw new TypeError(
- "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " +
- typeof e
- )
- }
- function c(e) {
- if ("number" !== typeof e) throw new TypeError('"size" argument must be of type number')
- if (e < 0) throw new RangeError('The value "' + e + '" is invalid for option "size"')
- }
- function u(e, t, r) {
- return c(e), e <= 0 ? s(e) : void 0 !== t ? ("string" === typeof r ? s(e).fill(t, r) : s(e).fill(t)) : s(e)
- }
- function f(e) {
- return c(e), s(e < 0 ? 0 : 0 | g(e))
- }
- function p(e, r) {
- if ((("string" === typeof r && "" !== r) || (r = "utf8"), !t.isEncoding(r)))
- throw new TypeError("Unknown encoding: " + r)
- var n = 0 | v(e, r),
- i = s(n),
- o = i.write(e, r)
- return o !== n && (i = i.slice(0, o)), i
- }
- function d(e) {
- for (var t = e.length < 0 ? 0 : 0 | g(e.length), r = s(t), n = 0; n < t; n += 1) r[n] = 255 & e[n]
- return r
- }
- function h(e, r, n) {
- if (r < 0 || e.byteLength < r) throw new RangeError('"offset" is outside of buffer bounds')
- if (e.byteLength < r + (n || 0)) throw new RangeError('"length" is outside of buffer bounds')
- var i
- return (
- (i =
- void 0 === r && void 0 === n ? new Uint8Array(e) : void 0 === n ? new Uint8Array(e, r) : new Uint8Array(e, r, n)),
- (i.__proto__ = t.prototype),
- i
- )
- }
- function m(e) {
- if (t.isBuffer(e)) {
- var r = 0 | g(e.length),
- n = s(r)
- return 0 === n.length || e.copy(n, 0, 0, r), n
- }
- return void 0 !== e.length
- ? "number" !== typeof e.length || Q(e.length)
- ? s(0)
- : d(e)
- : "Buffer" === e.type && Array.isArray(e.data)
- ? d(e.data)
- : void 0
- }
- function g(e) {
- if (e >= o) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + o.toString(16) + " bytes")
- return 0 | e
- }
- function y(e) {
- return +e != e && (e = 0), t.alloc(+e)
- }
- function v(e, r) {
- if (t.isBuffer(e)) return e.length
- if (ArrayBuffer.isView(e) || Z(e, ArrayBuffer)) return e.byteLength
- if ("string" !== typeof e)
- throw new TypeError(
- 'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof e
- )
- var n = e.length,
- i = arguments.length > 2 && !0 === arguments[2]
- if (!i && 0 === n) return 0
- for (var o = !1; ; )
- switch (r) {
- case "ascii":
- case "latin1":
- case "binary":
- return n
- case "utf8":
- case "utf-8":
- return V(e).length
- case "ucs2":
- case "ucs-2":
- case "utf16le":
- case "utf-16le":
- return 2 * n
- case "hex":
- return n >>> 1
- case "base64":
- return Y(e).length
- default:
- if (o) return i ? -1 : V(e).length
- ;(r = ("" + r).toLowerCase()), (o = !0)
- }
- }
- function b(e, t, r) {
- var n = !1
- if (((void 0 === t || t < 0) && (t = 0), t > this.length)) return ""
- if (((void 0 === r || r > this.length) && (r = this.length), r <= 0)) return ""
- if (((r >>>= 0), (t >>>= 0), r <= t)) return ""
- e || (e = "utf8")
- while (1)
- switch (e) {
- case "hex":
- return N(this, t, r)
- case "utf8":
- case "utf-8":
- return P(this, t, r)
- case "ascii":
- return R(this, t, r)
- case "latin1":
- case "binary":
- return I(this, t, r)
- case "base64":
- return L(this, t, r)
- case "ucs2":
- case "ucs-2":
- case "utf16le":
- case "utf-16le":
- return M(this, t, r)
- default:
- if (n) throw new TypeError("Unknown encoding: " + e)
- ;(e = (e + "").toLowerCase()), (n = !0)
- }
- }
- function w(e, t, r) {
- var n = e[t]
- ;(e[t] = e[r]), (e[r] = n)
- }
- function x(e, r, n, i, o) {
- if (0 === e.length) return -1
- if (
- ("string" === typeof n
- ? ((i = n), (n = 0))
- : n > 2147483647
- ? (n = 2147483647)
- : n < -2147483648 && (n = -2147483648),
- (n = +n),
- Q(n) && (n = o ? 0 : e.length - 1),
- n < 0 && (n = e.length + n),
- n >= e.length)
- ) {
- if (o) return -1
- n = e.length - 1
- } else if (n < 0) {
- if (!o) return -1
- n = 0
- }
- if (("string" === typeof r && (r = t.from(r, i)), t.isBuffer(r))) return 0 === r.length ? -1 : A(e, r, n, i, o)
- if ("number" === typeof r)
- return (
- (r &= 255),
- "function" === typeof Uint8Array.prototype.indexOf
- ? o
- ? Uint8Array.prototype.indexOf.call(e, r, n)
- : Uint8Array.prototype.lastIndexOf.call(e, r, n)
- : A(e, [r], n, i, o)
- )
- throw new TypeError("val must be string, number or Buffer")
- }
- function A(e, t, r, n, i) {
- var o,
- a = 1,
- s = e.length,
- l = t.length
- if (
- void 0 !== n &&
- ((n = String(n).toLowerCase()), "ucs2" === n || "ucs-2" === n || "utf16le" === n || "utf-16le" === n)
- ) {
- if (e.length < 2 || t.length < 2) return -1
- ;(a = 2), (s /= 2), (l /= 2), (r /= 2)
- }
- function c(e, t) {
- return 1 === a ? e[t] : e.readUInt16BE(t * a)
- }
- if (i) {
- var u = -1
- for (o = r; o < s; o++)
- if (c(e, o) === c(t, -1 === u ? 0 : o - u)) {
- if ((-1 === u && (u = o), o - u + 1 === l)) return u * a
- } else -1 !== u && (o -= o - u), (u = -1)
- } else
- for (r + l > s && (r = s - l), o = r; o >= 0; o--) {
- for (var f = !0, p = 0; p < l; p++)
- if (c(e, o + p) !== c(t, p)) {
- f = !1
- break
- }
- if (f) return o
- }
- return -1
- }
- function _(e, t, r, n) {
- r = Number(r) || 0
- var i = e.length - r
- n ? ((n = Number(n)), n > i && (n = i)) : (n = i)
- var o = t.length
- n > o / 2 && (n = o / 2)
- for (var a = 0; a < n; ++a) {
- var s = parseInt(t.substr(2 * a, 2), 16)
- if (Q(s)) return a
- e[r + a] = s
- }
- return a
- }
- function T(e, t, r, n) {
- return K(V(t, e.length - r), e, r, n)
- }
- function E(e, t, r, n) {
- return K(H(t), e, r, n)
- }
- function S(e, t, r, n) {
- return E(e, t, r, n)
- }
- function C(e, t, r, n) {
- return K(Y(t), e, r, n)
- }
- function k(e, t, r, n) {
- return K(X(t, e.length - r), e, r, n)
- }
- function L(e, t, r) {
- return 0 === t && r === e.length ? n.fromByteArray(e) : n.fromByteArray(e.slice(t, r))
- }
- function P(e, t, r) {
- r = Math.min(e.length, r)
- var n = [],
- i = t
- while (i < r) {
- var o,
- a,
- s,
- l,
- c = e[i],
- u = null,
- f = c > 239 ? 4 : c > 223 ? 3 : c > 191 ? 2 : 1
- if (i + f <= r)
- switch (f) {
- case 1:
- c < 128 && (u = c)
- break
- case 2:
- ;(o = e[i + 1]), 128 === (192 & o) && ((l = ((31 & c) << 6) | (63 & o)), l > 127 && (u = l))
- break
- case 3:
- ;(o = e[i + 1]),
- (a = e[i + 2]),
- 128 === (192 & o) &&
- 128 === (192 & a) &&
- ((l = ((15 & c) << 12) | ((63 & o) << 6) | (63 & a)), l > 2047 && (l < 55296 || l > 57343) && (u = l))
- break
- case 4:
- ;(o = e[i + 1]),
- (a = e[i + 2]),
- (s = e[i + 3]),
- 128 === (192 & o) &&
- 128 === (192 & a) &&
- 128 === (192 & s) &&
- ((l = ((15 & c) << 18) | ((63 & o) << 12) | ((63 & a) << 6) | (63 & s)),
- l > 65535 && l < 1114112 && (u = l))
- }
- null === u
- ? ((u = 65533), (f = 1))
- : u > 65535 && ((u -= 65536), n.push(((u >>> 10) & 1023) | 55296), (u = 56320 | (1023 & u))),
- n.push(u),
- (i += f)
- }
- return j(n)
- }
- ;(r.kMaxLength = o),
- (t.TYPED_ARRAY_SUPPORT = a()),
- t.TYPED_ARRAY_SUPPORT ||
- "undefined" === typeof console ||
- "function" !== typeof console.error ||
- console.error(
- "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
- ),
- Object.defineProperty(t.prototype, "parent", {
- enumerable: !0,
- get: function () {
- if (t.isBuffer(this)) return this.buffer
- }
- }),
- Object.defineProperty(t.prototype, "offset", {
- enumerable: !0,
- get: function () {
- if (t.isBuffer(this)) return this.byteOffset
- }
- }),
- "undefined" !== typeof Symbol &&
- null != Symbol.species &&
- t[Symbol.species] === t &&
- Object.defineProperty(t, Symbol.species, {
- value: null,
- configurable: !0,
- enumerable: !1,
- writable: !1
- }),
- (t.poolSize = 8192),
- (t.from = function (e, t, r) {
- return l(e, t, r)
- }),
- (t.prototype.__proto__ = Uint8Array.prototype),
- (t.__proto__ = Uint8Array),
- (t.alloc = function (e, t, r) {
- return u(e, t, r)
- }),
- (t.allocUnsafe = function (e) {
- return f(e)
- }),
- (t.allocUnsafeSlow = function (e) {
- return f(e)
- }),
- (t.isBuffer = function (e) {
- return null != e && !0 === e._isBuffer && e !== t.prototype
- }),
- (t.compare = function (e, r) {
- if (
- (Z(e, Uint8Array) && (e = t.from(e, e.offset, e.byteLength)),
- Z(r, Uint8Array) && (r = t.from(r, r.offset, r.byteLength)),
- !t.isBuffer(e) || !t.isBuffer(r))
- )
- throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array')
- if (e === r) return 0
- for (var n = e.length, i = r.length, o = 0, a = Math.min(n, i); o < a; ++o)
- if (e[o] !== r[o]) {
- ;(n = e[o]), (i = r[o])
- break
- }
- return n < i ? -1 : i < n ? 1 : 0
- }),
- (t.isEncoding = function (e) {
- switch (String(e).toLowerCase()) {
- case "hex":
- case "utf8":
- case "utf-8":
- case "ascii":
- case "latin1":
- case "binary":
- case "base64":
- case "ucs2":
- case "ucs-2":
- case "utf16le":
- case "utf-16le":
- return !0
- default:
- return !1
- }
- }),
- (t.concat = function (e, r) {
- if (!Array.isArray(e)) throw new TypeError('"list" argument must be an Array of Buffers')
- if (0 === e.length) return t.alloc(0)
- var n
- if (void 0 === r) for (r = 0, n = 0; n < e.length; ++n) r += e[n].length
- var i = t.allocUnsafe(r),
- o = 0
- for (n = 0; n < e.length; ++n) {
- var a = e[n]
- if ((Z(a, Uint8Array) && (a = t.from(a)), !t.isBuffer(a)))
- throw new TypeError('"list" argument must be an Array of Buffers')
- a.copy(i, o), (o += a.length)
- }
- return i
- }),
- (t.byteLength = v),
- (t.prototype._isBuffer = !0),
- (t.prototype.swap16 = function () {
- var e = this.length
- if (e % 2 !== 0) throw new RangeError("Buffer size must be a multiple of 16-bits")
- for (var t = 0; t < e; t += 2) w(this, t, t + 1)
- return this
- }),
- (t.prototype.swap32 = function () {
- var e = this.length
- if (e % 4 !== 0) throw new RangeError("Buffer size must be a multiple of 32-bits")
- for (var t = 0; t < e; t += 4) w(this, t, t + 3), w(this, t + 1, t + 2)
- return this
- }),
- (t.prototype.swap64 = function () {
- var e = this.length
- if (e % 8 !== 0) throw new RangeError("Buffer size must be a multiple of 64-bits")
- for (var t = 0; t < e; t += 8) w(this, t, t + 7), w(this, t + 1, t + 6), w(this, t + 2, t + 5), w(this, t + 3, t + 4)
- return this
- }),
- (t.prototype.toString = function () {
- var e = this.length
- return 0 === e ? "" : 0 === arguments.length ? P(this, 0, e) : b.apply(this, arguments)
- }),
- (t.prototype.toLocaleString = t.prototype.toString),
- (t.prototype.equals = function (e) {
- if (!t.isBuffer(e)) throw new TypeError("Argument must be a Buffer")
- return this === e || 0 === t.compare(this, e)
- }),
- (t.prototype.inspect = function () {
- var e = "",
- t = r.INSPECT_MAX_BYTES
- return (
- (e = this.toString("hex", 0, t)
- .replace(/(.{2})/g, "$1 ")
- .trim()),
- this.length > t && (e += " ... "),
- "<Buffer " + e + ">"
- )
- }),
- (t.prototype.compare = function (e, r, n, i, o) {
- if ((Z(e, Uint8Array) && (e = t.from(e, e.offset, e.byteLength)), !t.isBuffer(e)))
- throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof e)
- if (
- (void 0 === r && (r = 0),
- void 0 === n && (n = e ? e.length : 0),
- void 0 === i && (i = 0),
- void 0 === o && (o = this.length),
- r < 0 || n > e.length || i < 0 || o > this.length)
- )
- throw new RangeError("out of range index")
- if (i >= o && r >= n) return 0
- if (i >= o) return -1
- if (r >= n) return 1
- if (((r >>>= 0), (n >>>= 0), (i >>>= 0), (o >>>= 0), this === e)) return 0
- for (var a = o - i, s = n - r, l = Math.min(a, s), c = this.slice(i, o), u = e.slice(r, n), f = 0; f < l; ++f)
- if (c[f] !== u[f]) {
- ;(a = c[f]), (s = u[f])
- break
- }
- return a < s ? -1 : s < a ? 1 : 0
- }),
- (t.prototype.includes = function (e, t, r) {
- return -1 !== this.indexOf(e, t, r)
- }),
- (t.prototype.indexOf = function (e, t, r) {
- return x(this, e, t, r, !0)
- }),
- (t.prototype.lastIndexOf = function (e, t, r) {
- return x(this, e, t, r, !1)
- }),
- (t.prototype.write = function (e, t, r, n) {
- if (void 0 === t) (n = "utf8"), (r = this.length), (t = 0)
- else if (void 0 === r && "string" === typeof t) (n = t), (r = this.length), (t = 0)
- else {
- if (!isFinite(t)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported")
- ;(t >>>= 0), isFinite(r) ? ((r >>>= 0), void 0 === n && (n = "utf8")) : ((n = r), (r = void 0))
- }
- var i = this.length - t
- if (((void 0 === r || r > i) && (r = i), (e.length > 0 && (r < 0 || t < 0)) || t > this.length))
- throw new RangeError("Attempt to write outside buffer bounds")
- n || (n = "utf8")
- for (var o = !1; ; )
- switch (n) {
- case "hex":
- return _(this, e, t, r)
- case "utf8":
- case "utf-8":
- return T(this, e, t, r)
- case "ascii":
- return E(this, e, t, r)
- case "latin1":
- case "binary":
- return S(this, e, t, r)
- case "base64":
- return C(this, e, t, r)
- case "ucs2":
- case "ucs-2":
- case "utf16le":
- case "utf-16le":
- return k(this, e, t, r)
- default:
- if (o) throw new TypeError("Unknown encoding: " + n)
- ;(n = ("" + n).toLowerCase()), (o = !0)
- }
- }),
- (t.prototype.toJSON = function () {
- return {
- type: "Buffer",
- data: Array.prototype.slice.call(this._arr || this, 0)
- }
- })
- var O = 4096
- function j(e) {
- var t = e.length
- if (t <= O) return String.fromCharCode.apply(String, e)
- var r = "",
- n = 0
- while (n < t) r += String.fromCharCode.apply(String, e.slice(n, (n += O)))
- return r
- }
- function R(e, t, r) {
- var n = ""
- r = Math.min(e.length, r)
- for (var i = t; i < r; ++i) n += String.fromCharCode(127 & e[i])
- return n
- }
- function I(e, t, r) {
- var n = ""
- r = Math.min(e.length, r)
- for (var i = t; i < r; ++i) n += String.fromCharCode(e[i])
- return n
- }
- function N(e, t, r) {
- var n = e.length
- ;(!t || t < 0) && (t = 0), (!r || r < 0 || r > n) && (r = n)
- for (var i = "", o = t; o < r; ++o) i += W(e[o])
- return i
- }
- function M(e, t, r) {
- for (var n = e.slice(t, r), i = "", o = 0; o < n.length; o += 2) i += String.fromCharCode(n[o] + 256 * n[o + 1])
- return i
- }
- function D(e, t, r) {
- if (e % 1 !== 0 || e < 0) throw new RangeError("offset is not uint")
- if (e + t > r) throw new RangeError("Trying to access beyond buffer length")
- }
- function B(e, r, n, i, o, a) {
- if (!t.isBuffer(e)) throw new TypeError('"buffer" argument must be a Buffer instance')
- if (r > o || r < a) throw new RangeError('"value" argument is out of bounds')
- if (n + i > e.length) throw new RangeError("Index out of range")
- }
- function F(e, t, r, n, i, o) {
- if (r + n > e.length) throw new RangeError("Index out of range")
- if (r < 0) throw new RangeError("Index out of range")
- }
- function U(e, t, r, n, o) {
- return (
- (t = +t),
- (r >>>= 0),
- o || F(e, t, r, 4, 34028234663852886e22, -34028234663852886e22),
- i.write(e, t, r, n, 23, 4),
- r + 4
- )
- }
- function z(e, t, r, n, o) {
- return (
- (t = +t),
- (r >>>= 0),
- o || F(e, t, r, 8, 17976931348623157e292, -17976931348623157e292),
- i.write(e, t, r, n, 52, 8),
- r + 8
- )
- }
- ;(t.prototype.slice = function (e, r) {
- var n = this.length
- ;(e = ~~e),
- (r = void 0 === r ? n : ~~r),
- e < 0 ? ((e += n), e < 0 && (e = 0)) : e > n && (e = n),
- r < 0 ? ((r += n), r < 0 && (r = 0)) : r > n && (r = n),
- r < e && (r = e)
- var i = this.subarray(e, r)
- return (i.__proto__ = t.prototype), i
- }),
- (t.prototype.readUIntLE = function (e, t, r) {
- ;(e >>>= 0), (t >>>= 0), r || D(e, t, this.length)
- var n = this[e],
- i = 1,
- o = 0
- while (++o < t && (i *= 256)) n += this[e + o] * i
- return n
- }),
- (t.prototype.readUIntBE = function (e, t, r) {
- ;(e >>>= 0), (t >>>= 0), r || D(e, t, this.length)
- var n = this[e + --t],
- i = 1
- while (t > 0 && (i *= 256)) n += this[e + --t] * i
- return n
- }),
- (t.prototype.readUInt8 = function (e, t) {
- return (e >>>= 0), t || D(e, 1, this.length), this[e]
- }),
- (t.prototype.readUInt16LE = function (e, t) {
- return (e >>>= 0), t || D(e, 2, this.length), this[e] | (this[e + 1] << 8)
- }),
- (t.prototype.readUInt16BE = function (e, t) {
- return (e >>>= 0), t || D(e, 2, this.length), (this[e] << 8) | this[e + 1]
- }),
- (t.prototype.readUInt32LE = function (e, t) {
- return (
- (e >>>= 0),
- t || D(e, 4, this.length),
- (this[e] | (this[e + 1] << 8) | (this[e + 2] << 16)) + 16777216 * this[e + 3]
- )
- }),
- (t.prototype.readUInt32BE = function (e, t) {
- return (
- (e >>>= 0),
- t || D(e, 4, this.length),
- 16777216 * this[e] + ((this[e + 1] << 16) | (this[e + 2] << 8) | this[e + 3])
- )
- }),
- (t.prototype.readIntLE = function (e, t, r) {
- ;(e >>>= 0), (t >>>= 0), r || D(e, t, this.length)
- var n = this[e],
- i = 1,
- o = 0
- while (++o < t && (i *= 256)) n += this[e + o] * i
- return (i *= 128), n >= i && (n -= Math.pow(2, 8 * t)), n
- }),
- (t.prototype.readIntBE = function (e, t, r) {
- ;(e >>>= 0), (t >>>= 0), r || D(e, t, this.length)
- var n = t,
- i = 1,
- o = this[e + --n]
- while (n > 0 && (i *= 256)) o += this[e + --n] * i
- return (i *= 128), o >= i && (o -= Math.pow(2, 8 * t)), o
- }),
- (t.prototype.readInt8 = function (e, t) {
- return (e >>>= 0), t || D(e, 1, this.length), 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e]
- }),
- (t.prototype.readInt16LE = function (e, t) {
- ;(e >>>= 0), t || D(e, 2, this.length)
- var r = this[e] | (this[e + 1] << 8)
- return 32768 & r ? 4294901760 | r : r
- }),
- (t.prototype.readInt16BE = function (e, t) {
- ;(e >>>= 0), t || D(e, 2, this.length)
- var r = this[e + 1] | (this[e] << 8)
- return 32768 & r ? 4294901760 | r : r
- }),
- (t.prototype.readInt32LE = function (e, t) {
- return (
- (e >>>= 0), t || D(e, 4, this.length), this[e] | (this[e + 1] << 8) | (this[e + 2] << 16) | (this[e + 3] << 24)
- )
- }),
- (t.prototype.readInt32BE = function (e, t) {
- return (
- (e >>>= 0), t || D(e, 4, this.length), (this[e] << 24) | (this[e + 1] << 16) | (this[e + 2] << 8) | this[e + 3]
- )
- }),
- (t.prototype.readFloatLE = function (e, t) {
- return (e >>>= 0), t || D(e, 4, this.length), i.read(this, e, !0, 23, 4)
- }),
- (t.prototype.readFloatBE = function (e, t) {
- return (e >>>= 0), t || D(e, 4, this.length), i.read(this, e, !1, 23, 4)
- }),
- (t.prototype.readDoubleLE = function (e, t) {
- return (e >>>= 0), t || D(e, 8, this.length), i.read(this, e, !0, 52, 8)
- }),
- (t.prototype.readDoubleBE = function (e, t) {
- return (e >>>= 0), t || D(e, 8, this.length), i.read(this, e, !1, 52, 8)
- }),
- (t.prototype.writeUIntLE = function (e, t, r, n) {
- if (((e = +e), (t >>>= 0), (r >>>= 0), !n)) {
- var i = Math.pow(2, 8 * r) - 1
- B(this, e, t, r, i, 0)
- }
- var o = 1,
- a = 0
- this[t] = 255 & e
- while (++a < r && (o *= 256)) this[t + a] = (e / o) & 255
- return t + r
- }),
- (t.prototype.writeUIntBE = function (e, t, r, n) {
- if (((e = +e), (t >>>= 0), (r >>>= 0), !n)) {
- var i = Math.pow(2, 8 * r) - 1
- B(this, e, t, r, i, 0)
- }
- var o = r - 1,
- a = 1
- this[t + o] = 255 & e
- while (--o >= 0 && (a *= 256)) this[t + o] = (e / a) & 255
- return t + r
- }),
- (t.prototype.writeUInt8 = function (e, t, r) {
- return (e = +e), (t >>>= 0), r || B(this, e, t, 1, 255, 0), (this[t] = 255 & e), t + 1
- }),
- (t.prototype.writeUInt16LE = function (e, t, r) {
- return (e = +e), (t >>>= 0), r || B(this, e, t, 2, 65535, 0), (this[t] = 255 & e), (this[t + 1] = e >>> 8), t + 2
- }),
- (t.prototype.writeUInt16BE = function (e, t, r) {
- return (e = +e), (t >>>= 0), r || B(this, e, t, 2, 65535, 0), (this[t] = e >>> 8), (this[t + 1] = 255 & e), t + 2
- }),
- (t.prototype.writeUInt32LE = function (e, t, r) {
- return (
- (e = +e),
- (t >>>= 0),
- r || B(this, e, t, 4, 4294967295, 0),
- (this[t + 3] = e >>> 24),
- (this[t + 2] = e >>> 16),
- (this[t + 1] = e >>> 8),
- (this[t] = 255 & e),
- t + 4
- )
- }),
- (t.prototype.writeUInt32BE = function (e, t, r) {
- return (
- (e = +e),
- (t >>>= 0),
- r || B(this, e, t, 4, 4294967295, 0),
- (this[t] = e >>> 24),
- (this[t + 1] = e >>> 16),
- (this[t + 2] = e >>> 8),
- (this[t + 3] = 255 & e),
- t + 4
- )
- }),
- (t.prototype.writeIntLE = function (e, t, r, n) {
- if (((e = +e), (t >>>= 0), !n)) {
- var i = Math.pow(2, 8 * r - 1)
- B(this, e, t, r, i - 1, -i)
- }
- var o = 0,
- a = 1,
- s = 0
- this[t] = 255 & e
- while (++o < r && (a *= 256))
- e < 0 && 0 === s && 0 !== this[t + o - 1] && (s = 1), (this[t + o] = (((e / a) >> 0) - s) & 255)
- return t + r
- }),
- (t.prototype.writeIntBE = function (e, t, r, n) {
- if (((e = +e), (t >>>= 0), !n)) {
- var i = Math.pow(2, 8 * r - 1)
- B(this, e, t, r, i - 1, -i)
- }
- var o = r - 1,
- a = 1,
- s = 0
- this[t + o] = 255 & e
- while (--o >= 0 && (a *= 256))
- e < 0 && 0 === s && 0 !== this[t + o + 1] && (s = 1), (this[t + o] = (((e / a) >> 0) - s) & 255)
- return t + r
- }),
- (t.prototype.writeInt8 = function (e, t, r) {
- return (e = +e), (t >>>= 0), r || B(this, e, t, 1, 127, -128), e < 0 && (e = 255 + e + 1), (this[t] = 255 & e), t + 1
- }),
- (t.prototype.writeInt16LE = function (e, t, r) {
- return (
- (e = +e), (t >>>= 0), r || B(this, e, t, 2, 32767, -32768), (this[t] = 255 & e), (this[t + 1] = e >>> 8), t + 2
- )
- }),
- (t.prototype.writeInt16BE = function (e, t, r) {
- return (
- (e = +e), (t >>>= 0), r || B(this, e, t, 2, 32767, -32768), (this[t] = e >>> 8), (this[t + 1] = 255 & e), t + 2
- )
- }),
- (t.prototype.writeInt32LE = function (e, t, r) {
- return (
- (e = +e),
- (t >>>= 0),
- r || B(this, e, t, 4, 2147483647, -2147483648),
- (this[t] = 255 & e),
- (this[t + 1] = e >>> 8),
- (this[t + 2] = e >>> 16),
- (this[t + 3] = e >>> 24),
- t + 4
- )
- }),
- (t.prototype.writeInt32BE = function (e, t, r) {
- return (
- (e = +e),
- (t >>>= 0),
- r || B(this, e, t, 4, 2147483647, -2147483648),
- e < 0 && (e = 4294967295 + e + 1),
- (this[t] = e >>> 24),
- (this[t + 1] = e >>> 16),
- (this[t + 2] = e >>> 8),
- (this[t + 3] = 255 & e),
- t + 4
- )
- }),
- (t.prototype.writeFloatLE = function (e, t, r) {
- return U(this, e, t, !0, r)
- }),
- (t.prototype.writeFloatBE = function (e, t, r) {
- return U(this, e, t, !1, r)
- }),
- (t.prototype.writeDoubleLE = function (e, t, r) {
- return z(this, e, t, !0, r)
- }),
- (t.prototype.writeDoubleBE = function (e, t, r) {
- return z(this, e, t, !1, r)
- }),
- (t.prototype.copy = function (e, r, n, i) {
- if (!t.isBuffer(e)) throw new TypeError("argument should be a Buffer")
- if (
- (n || (n = 0),
- i || 0 === i || (i = this.length),
- r >= e.length && (r = e.length),
- r || (r = 0),
- i > 0 && i < n && (i = n),
- i === n)
- )
- return 0
- if (0 === e.length || 0 === this.length) return 0
- if (r < 0) throw new RangeError("targetStart out of bounds")
- if (n < 0 || n >= this.length) throw new RangeError("Index out of range")
- if (i < 0) throw new RangeError("sourceEnd out of bounds")
- i > this.length && (i = this.length), e.length - r < i - n && (i = e.length - r + n)
- var o = i - n
- if (this === e && "function" === typeof Uint8Array.prototype.copyWithin) this.copyWithin(r, n, i)
- else if (this === e && n < r && r < i) for (var a = o - 1; a >= 0; --a) e[a + r] = this[a + n]
- else Uint8Array.prototype.set.call(e, this.subarray(n, i), r)
- return o
- }),
- (t.prototype.fill = function (e, r, n, i) {
- if ("string" === typeof e) {
- if (
- ("string" === typeof r
- ? ((i = r), (r = 0), (n = this.length))
- : "string" === typeof n && ((i = n), (n = this.length)),
- void 0 !== i && "string" !== typeof i)
- )
- throw new TypeError("encoding must be a string")
- if ("string" === typeof i && !t.isEncoding(i)) throw new TypeError("Unknown encoding: " + i)
- if (1 === e.length) {
- var o = e.charCodeAt(0)
- ;(("utf8" === i && o < 128) || "latin1" === i) && (e = o)
- }
- } else "number" === typeof e && (e &= 255)
- if (r < 0 || this.length < r || this.length < n) throw new RangeError("Out of range index")
- if (n <= r) return this
- var a
- if (((r >>>= 0), (n = void 0 === n ? this.length : n >>> 0), e || (e = 0), "number" === typeof e))
- for (a = r; a < n; ++a) this[a] = e
- else {
- var s = t.isBuffer(e) ? e : t.from(e, i),
- l = s.length
- if (0 === l) throw new TypeError('The value "' + e + '" is invalid for argument "value"')
- for (a = 0; a < n - r; ++a) this[a + r] = s[a % l]
- }
- return this
- })
- var q = /[^+/0-9A-Za-z-_]/g
- function G(e) {
- if (((e = e.split("=")[0]), (e = e.trim().replace(q, "")), e.length < 2)) return ""
- while (e.length % 4 !== 0) e += "="
- return e
- }
- function W(e) {
- return e < 16 ? "0" + e.toString(16) : e.toString(16)
- }
- function V(e, t) {
- var r
- t = t || 1 / 0
- for (var n = e.length, i = null, o = [], a = 0; a < n; ++a) {
- if (((r = e.charCodeAt(a)), r > 55295 && r < 57344)) {
- if (!i) {
- if (r > 56319) {
- ;(t -= 3) > -1 && o.push(239, 191, 189)
- continue
- }
- if (a + 1 === n) {
- ;(t -= 3) > -1 && o.push(239, 191, 189)
- continue
- }
- i = r
- continue
- }
- if (r < 56320) {
- ;(t -= 3) > -1 && o.push(239, 191, 189), (i = r)
- continue
- }
- r = 65536 + (((i - 55296) << 10) | (r - 56320))
- } else i && (t -= 3) > -1 && o.push(239, 191, 189)
- if (((i = null), r < 128)) {
- if ((t -= 1) < 0) break
- o.push(r)
- } else if (r < 2048) {
- if ((t -= 2) < 0) break
- o.push((r >> 6) | 192, (63 & r) | 128)
- } else if (r < 65536) {
- if ((t -= 3) < 0) break
- o.push((r >> 12) | 224, ((r >> 6) & 63) | 128, (63 & r) | 128)
- } else {
- if (!(r < 1114112)) throw new Error("Invalid code point")
- if ((t -= 4) < 0) break
- o.push((r >> 18) | 240, ((r >> 12) & 63) | 128, ((r >> 6) & 63) | 128, (63 & r) | 128)
- }
- }
- return o
- }
- function H(e) {
- for (var t = [], r = 0; r < e.length; ++r) t.push(255 & e.charCodeAt(r))
- return t
- }
- function X(e, t) {
- for (var r, n, i, o = [], a = 0; a < e.length; ++a) {
- if ((t -= 2) < 0) break
- ;(r = e.charCodeAt(a)), (n = r >> 8), (i = r % 256), o.push(i), o.push(n)
- }
- return o
- }
- function Y(e) {
- return n.toByteArray(G(e))
- }
- function K(e, t, r, n) {
- for (var i = 0; i < n; ++i) {
- if (i + r >= t.length || i >= e.length) break
- t[i + r] = e[i]
- }
- return i
- }
- function Z(e, t) {
- return (
- e instanceof t || (null != e && null != e.constructor && null != e.constructor.name && e.constructor.name === t.name)
- )
- }
- function Q(e) {
- return e !== e
- }
- }).call(this, e("buffer").Buffer)
- },
- {
- "base64-js": 77,
- buffer: 99,
- ieee754: 299
- }
- ],
- 100: [
- function (e, t, r) {
- t.exports = {
- 100: "Continue",
- 101: "Switching Protocols",
- 102: "Processing",
- 200: "OK",
- 201: "Created",
- 202: "Accepted",
- 203: "Non-Authoritative Information",
- 204: "No Content",
- 205: "Reset Content",
- 206: "Partial Content",
- 207: "Multi-Status",
- 208: "Already Reported",
- 226: "IM Used",
- 300: "Multiple Choices",
- 301: "Moved Permanently",
- 302: "Found",
- 303: "See Other",
- 304: "Not Modified",
- 305: "Use Proxy",
- 307: "Temporary Redirect",
- 308: "Permanent Redirect",
- 400: "Bad Request",
- 401: "Unauthorized",
- 402: "Payment Required",
- 403: "Forbidden",
- 404: "Not Found",
- 405: "Method Not Allowed",
- 406: "Not Acceptable",
- 407: "Proxy Authentication Required",
- 408: "Request Timeout",
- 409: "Conflict",
- 410: "Gone",
- 411: "Length Required",
- 412: "Precondition Failed",
- 413: "Payload Too Large",
- 414: "URI Too Long",
- 415: "Unsupported Media Type",
- 416: "Range Not Satisfiable",
- 417: "Expectation Failed",
- 418: "I'm a teapot",
- 421: "Misdirected Request",
- 422: "Unprocessable Entity",
- 423: "Locked",
- 424: "Failed Dependency",
- 425: "Unordered Collection",
- 426: "Upgrade Required",
- 428: "Precondition Required",
- 429: "Too Many Requests",
- 431: "Request Header Fields Too Large",
- 451: "Unavailable For Legal Reasons",
- 500: "Internal Server Error",
- 501: "Not Implemented",
- 502: "Bad Gateway",
- 503: "Service Unavailable",
- 504: "Gateway Timeout",
- 505: "HTTP Version Not Supported",
- 506: "Variant Also Negotiates",
- 507: "Insufficient Storage",
- 508: "Loop Detected",
- 509: "Bandwidth Limit Exceeded",
- 510: "Not Extended",
- 511: "Network Authentication Required"
- }
- },
- {}
- ],
- 101: [
- function (e, t, r) {
- /*!
- * copy-to - index.js
- * Copyright(c) 2014 dead_horse <dead_horse@qq.com>
- * MIT Licensed
- */
- "use strict"
- var n = Array.prototype.slice
- function i(e, t) {
- if (!(this instanceof i)) return new i(e, t)
- ;(this.src = e), (this._withAccess = t)
- }
- function o(e, t) {
- return void 0 === e[t] && void 0 === e.__lookupGetter__(t) && void 0 === e.__lookupSetter__(t)
- }
- ;(t.exports = i),
- (i.prototype.withAccess = function (e) {
- return (this._withAccess = !1 !== e), this
- }),
- (i.prototype.pick = function (e) {
- return Array.isArray(e) || (e = n.call(arguments)), e.length && (this.keys = e), this
- }),
- (i.prototype.to = function (e) {
- if (((e = e || {}), !this.src)) return e
- var t = this.keys || Object.keys(this.src)
- if (!this._withAccess) {
- for (var r = 0; r < t.length; r++) (n = t[r]), void 0 === e[n] && (e[n] = this.src[n])
- return e
- }
- for (r = 0; r < t.length; r++) {
- var n = t[r]
- if (o(e, n)) {
- var i = this.src.__lookupGetter__(n),
- a = this.src.__lookupSetter__(n)
- i && e.__defineGetter__(n, i), a && e.__defineSetter__(n, a), i || a || (e[n] = this.src[n])
- }
- }
- return e
- }),
- (i.prototype.toCover = function (e) {
- for (var t = this.keys || Object.keys(this.src), r = 0; r < t.length; r++) {
- var n = t[r]
- delete e[n]
- var i = this.src.__lookupGetter__(n),
- o = this.src.__lookupSetter__(n)
- i && e.__defineGetter__(n, i), o && e.__defineSetter__(n, o), i || o || (e[n] = this.src[n])
- }
- }),
- (i.prototype.override = i.prototype.toCover),
- (i.prototype.and = function (e) {
- var t = {}
- return this.to(t), (this.src = e), this.to(t), (this.src = t), this
- })
- },
- {}
- ],
- 102: [
- function (e, t, r) {
- t.exports = function (e) {
- if ("function" != typeof e) throw TypeError(String(e) + " is not a function")
- return e
- }
- },
- {}
- ],
- 103: [
- function (e, t, r) {
- var n = e("../internals/is-object")
- t.exports = function (e) {
- if (!n(e) && null !== e) throw TypeError("Can't set " + String(e) + " as a prototype")
- return e
- }
- },
- {
- "../internals/is-object": 164
- }
- ],
- 104: [
- function (e, t, r) {
- var n = e("../internals/well-known-symbol"),
- i = e("../internals/object-create"),
- o = e("../internals/object-define-property"),
- a = n("unscopables"),
- s = Array.prototype
- void 0 == s[a] &&
- o.f(s, a, {
- configurable: !0,
- value: i(null)
- }),
- (t.exports = function (e) {
- s[a][e] = !0
- })
- },
- {
- "../internals/object-create": 178,
- "../internals/object-define-property": 180,
- "../internals/well-known-symbol": 231
- }
- ],
- 105: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/string-multibyte").charAt
- t.exports = function (e, t, r) {
- return t + (r ? n(e, t).length : 1)
- }
- },
- {
- "../internals/string-multibyte": 211
- }
- ],
- 106: [
- function (e, t, r) {
- t.exports = function (e, t, r) {
- if (!(e instanceof t)) throw TypeError("Incorrect " + (r ? r + " " : "") + "invocation")
- return e
- }
- },
- {}
- ],
- 107: [
- function (e, t, r) {
- var n = e("../internals/is-object")
- t.exports = function (e) {
- if (!n(e)) throw TypeError(String(e) + " is not an object")
- return e
- }
- },
- {
- "../internals/is-object": 164
- }
- ],
- 108: [
- function (e, t, r) {
- t.exports = "undefined" !== typeof ArrayBuffer && "undefined" !== typeof DataView
- },
- {}
- ],
- 109: [
- function (e, t, r) {
- "use strict"
- var n,
- i = e("../internals/array-buffer-native"),
- o = e("../internals/descriptors"),
- a = e("../internals/global"),
- s = e("../internals/is-object"),
- l = e("../internals/has"),
- c = e("../internals/classof"),
- u = e("../internals/create-non-enumerable-property"),
- f = e("../internals/redefine"),
- p = e("../internals/object-define-property").f,
- d = e("../internals/object-get-prototype-of"),
- h = e("../internals/object-set-prototype-of"),
- m = e("../internals/well-known-symbol"),
- g = e("../internals/uid"),
- y = a.Int8Array,
- v = y && y.prototype,
- b = a.Uint8ClampedArray,
- w = b && b.prototype,
- x = y && d(y),
- A = v && d(v),
- _ = Object.prototype,
- T = _.isPrototypeOf,
- E = m("toStringTag"),
- S = g("TYPED_ARRAY_TAG"),
- C = i && !!h && "Opera" !== c(a.opera),
- k = !1,
- L = {
- Int8Array: 1,
- Uint8Array: 1,
- Uint8ClampedArray: 1,
- Int16Array: 2,
- Uint16Array: 2,
- Int32Array: 4,
- Uint32Array: 4,
- Float32Array: 4,
- Float64Array: 8
- },
- P = function (e) {
- var t = c(e)
- return "DataView" === t || l(L, t)
- },
- O = function (e) {
- return s(e) && l(L, c(e))
- },
- j = function (e) {
- if (O(e)) return e
- throw TypeError("Target is not a typed array")
- },
- R = function (e) {
- if (h) {
- if (T.call(x, e)) return e
- } else
- for (var t in L)
- if (l(L, n)) {
- var r = a[t]
- if (r && (e === r || T.call(r, e))) return e
- }
- throw TypeError("Target is not a typed array constructor")
- },
- I = function (e, t, r) {
- if (o) {
- if (r)
- for (var n in L) {
- var i = a[n]
- i && l(i.prototype, e) && delete i.prototype[e]
- }
- ;(A[e] && !r) || f(A, e, r ? t : (C && v[e]) || t)
- }
- },
- N = function (e, t, r) {
- var n, i
- if (o) {
- if (h) {
- if (r) for (n in L) (i = a[n]), i && l(i, e) && delete i[e]
- if (x[e] && !r) return
- try {
- return f(x, e, r ? t : (C && y[e]) || t)
- } catch (s) {}
- }
- for (n in L) (i = a[n]), !i || (i[e] && !r) || f(i, e, t)
- }
- }
- for (n in L) a[n] || (C = !1)
- if (
- (!C || "function" != typeof x || x === Function.prototype) &&
- ((x = function () {
- throw TypeError("Incorrect invocation")
- }),
- C)
- )
- for (n in L) a[n] && h(a[n], x)
- if ((!C || !A || A === _) && ((A = x.prototype), C)) for (n in L) a[n] && h(a[n].prototype, A)
- if ((C && d(w) !== A && h(w, A), o && !l(A, E)))
- for (n in ((k = !0),
- p(A, E, {
- get: function () {
- return s(this) ? this[S] : void 0
- }
- }),
- L))
- a[n] && u(a[n], S, n)
- t.exports = {
- NATIVE_ARRAY_BUFFER_VIEWS: C,
- TYPED_ARRAY_TAG: k && S,
- aTypedArray: j,
- aTypedArrayConstructor: R,
- exportTypedArrayMethod: I,
- exportTypedArrayStaticMethod: N,
- isView: P,
- isTypedArray: O,
- TypedArray: x,
- TypedArrayPrototype: A
- }
- },
- {
- "../internals/array-buffer-native": 108,
- "../internals/classof": 126,
- "../internals/create-non-enumerable-property": 131,
- "../internals/descriptors": 136,
- "../internals/global": 150,
- "../internals/has": 151,
- "../internals/is-object": 164,
- "../internals/object-define-property": 180,
- "../internals/object-get-prototype-of": 185,
- "../internals/object-set-prototype-of": 189,
- "../internals/redefine": 197,
- "../internals/uid": 228,
- "../internals/well-known-symbol": 231
- }
- ],
- 110: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/global"),
- i = e("../internals/descriptors"),
- o = e("../internals/array-buffer-native"),
- a = e("../internals/create-non-enumerable-property"),
- s = e("../internals/redefine-all"),
- l = e("../internals/fails"),
- c = e("../internals/an-instance"),
- u = e("../internals/to-integer"),
- f = e("../internals/to-length"),
- p = e("../internals/to-index"),
- d = e("../internals/ieee754"),
- h = e("../internals/object-get-prototype-of"),
- m = e("../internals/object-set-prototype-of"),
- g = e("../internals/object-get-own-property-names").f,
- y = e("../internals/object-define-property").f,
- v = e("../internals/array-fill"),
- b = e("../internals/set-to-string-tag"),
- w = e("../internals/internal-state"),
- x = w.get,
- A = w.set,
- _ = "ArrayBuffer",
- T = "DataView",
- E = "prototype",
- S = "Wrong length",
- C = "Wrong index",
- k = n[_],
- L = k,
- P = n[T],
- O = P && P[E],
- j = Object.prototype,
- R = n.RangeError,
- I = d.pack,
- N = d.unpack,
- M = function (e) {
- return [255 & e]
- },
- D = function (e) {
- return [255 & e, (e >> 8) & 255]
- },
- B = function (e) {
- return [255 & e, (e >> 8) & 255, (e >> 16) & 255, (e >> 24) & 255]
- },
- F = function (e) {
- return (e[3] << 24) | (e[2] << 16) | (e[1] << 8) | e[0]
- },
- U = function (e) {
- return I(e, 23, 4)
- },
- z = function (e) {
- return I(e, 52, 8)
- },
- q = function (e, t) {
- y(e[E], t, {
- get: function () {
- return x(this)[t]
- }
- })
- },
- G = function (e, t, r, n) {
- var i = p(r),
- o = x(e)
- if (i + t > o.byteLength) throw R(C)
- var a = x(o.buffer).bytes,
- s = i + o.byteOffset,
- l = a.slice(s, s + t)
- return n ? l : l.reverse()
- },
- W = function (e, t, r, n, i, o) {
- var a = p(r),
- s = x(e)
- if (a + t > s.byteLength) throw R(C)
- for (var l = x(s.buffer).bytes, c = a + s.byteOffset, u = n(+i), f = 0; f < t; f++) l[c + f] = u[o ? f : t - f - 1]
- }
- if (o) {
- if (
- !l(function () {
- k(1)
- }) ||
- !l(function () {
- new k(-1)
- }) ||
- l(function () {
- return new k(), new k(1.5), new k(NaN), k.name != _
- })
- ) {
- L = function (e) {
- return c(this, L), new k(p(e))
- }
- for (var V, H = (L[E] = k[E]), X = g(k), Y = 0; X.length > Y; ) (V = X[Y++]) in L || a(L, V, k[V])
- H.constructor = L
- }
- m && h(O) !== j && m(O, j)
- var K = new P(new L(2)),
- Z = O.setInt8
- K.setInt8(0, 2147483648),
- K.setInt8(1, 2147483649),
- (!K.getInt8(0) && K.getInt8(1)) ||
- s(
- O,
- {
- setInt8: function (e, t) {
- Z.call(this, e, (t << 24) >> 24)
- },
- setUint8: function (e, t) {
- Z.call(this, e, (t << 24) >> 24)
- }
- },
- {
- unsafe: !0
- }
- )
- } else
- (L = function (e) {
- c(this, L, _)
- var t = p(e)
- A(this, {
- bytes: v.call(new Array(t), 0),
- byteLength: t
- }),
- i || (this.byteLength = t)
- }),
- (P = function (e, t, r) {
- c(this, P, T), c(e, L, T)
- var n = x(e).byteLength,
- o = u(t)
- if (o < 0 || o > n) throw R("Wrong offset")
- if (((r = void 0 === r ? n - o : f(r)), o + r > n)) throw R(S)
- A(this, {
- buffer: e,
- byteLength: r,
- byteOffset: o
- }),
- i || ((this.buffer = e), (this.byteLength = r), (this.byteOffset = o))
- }),
- i && (q(L, "byteLength"), q(P, "buffer"), q(P, "byteLength"), q(P, "byteOffset")),
- s(P[E], {
- getInt8: function (e) {
- return (G(this, 1, e)[0] << 24) >> 24
- },
- getUint8: function (e) {
- return G(this, 1, e)[0]
- },
- getInt16: function (e) {
- var t = G(this, 2, e, arguments.length > 1 ? arguments[1] : void 0)
- return (((t[1] << 8) | t[0]) << 16) >> 16
- },
- getUint16: function (e) {
- var t = G(this, 2, e, arguments.length > 1 ? arguments[1] : void 0)
- return (t[1] << 8) | t[0]
- },
- getInt32: function (e) {
- return F(G(this, 4, e, arguments.length > 1 ? arguments[1] : void 0))
- },
- getUint32: function (e) {
- return F(G(this, 4, e, arguments.length > 1 ? arguments[1] : void 0)) >>> 0
- },
- getFloat32: function (e) {
- return N(G(this, 4, e, arguments.length > 1 ? arguments[1] : void 0), 23)
- },
- getFloat64: function (e) {
- return N(G(this, 8, e, arguments.length > 1 ? arguments[1] : void 0), 52)
- },
- setInt8: function (e, t) {
- W(this, 1, e, M, t)
- },
- setUint8: function (e, t) {
- W(this, 1, e, M, t)
- },
- setInt16: function (e, t) {
- W(this, 2, e, D, t, arguments.length > 2 ? arguments[2] : void 0)
- },
- setUint16: function (e, t) {
- W(this, 2, e, D, t, arguments.length > 2 ? arguments[2] : void 0)
- },
- setInt32: function (e, t) {
- W(this, 4, e, B, t, arguments.length > 2 ? arguments[2] : void 0)
- },
- setUint32: function (e, t) {
- W(this, 4, e, B, t, arguments.length > 2 ? arguments[2] : void 0)
- },
- setFloat32: function (e, t) {
- W(this, 4, e, U, t, arguments.length > 2 ? arguments[2] : void 0)
- },
- setFloat64: function (e, t) {
- W(this, 8, e, z, t, arguments.length > 2 ? arguments[2] : void 0)
- }
- })
- b(L, _),
- b(P, T),
- (t.exports = {
- ArrayBuffer: L,
- DataView: P
- })
- },
- {
- "../internals/an-instance": 106,
- "../internals/array-buffer-native": 108,
- "../internals/array-fill": 112,
- "../internals/create-non-enumerable-property": 131,
- "../internals/descriptors": 136,
- "../internals/fails": 145,
- "../internals/global": 150,
- "../internals/ieee754": 156,
- "../internals/internal-state": 160,
- "../internals/object-define-property": 180,
- "../internals/object-get-own-property-names": 183,
- "../internals/object-get-prototype-of": 185,
- "../internals/object-set-prototype-of": 189,
- "../internals/redefine-all": 196,
- "../internals/set-to-string-tag": 206,
- "../internals/to-index": 216,
- "../internals/to-integer": 218,
- "../internals/to-length": 219
- }
- ],
- 111: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/to-object"),
- i = e("../internals/to-absolute-index"),
- o = e("../internals/to-length"),
- a = Math.min
- t.exports =
- [].copyWithin ||
- function (e, t) {
- var r = n(this),
- s = o(r.length),
- l = i(e, s),
- c = i(t, s),
- u = arguments.length > 2 ? arguments[2] : void 0,
- f = a((void 0 === u ? s : i(u, s)) - c, s - l),
- p = 1
- c < l && l < c + f && ((p = -1), (c += f - 1), (l += f - 1))
- while (f-- > 0) c in r ? (r[l] = r[c]) : delete r[l], (l += p), (c += p)
- return r
- }
- },
- {
- "../internals/to-absolute-index": 215,
- "../internals/to-length": 219,
- "../internals/to-object": 220
- }
- ],
- 112: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/to-object"),
- i = e("../internals/to-absolute-index"),
- o = e("../internals/to-length")
- t.exports = function (e) {
- var t = n(this),
- r = o(t.length),
- a = arguments.length,
- s = i(a > 1 ? arguments[1] : void 0, r),
- l = a > 2 ? arguments[2] : void 0,
- c = void 0 === l ? r : i(l, r)
- while (c > s) t[s++] = e
- return t
- }
- },
- {
- "../internals/to-absolute-index": 215,
- "../internals/to-length": 219,
- "../internals/to-object": 220
- }
- ],
- 113: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-iteration").forEach,
- i = e("../internals/array-method-is-strict"),
- o = e("../internals/array-method-uses-to-length"),
- a = i("forEach"),
- s = o("forEach")
- t.exports =
- a && s
- ? [].forEach
- : function (e) {
- return n(this, e, arguments.length > 1 ? arguments[1] : void 0)
- }
- },
- {
- "../internals/array-iteration": 116,
- "../internals/array-method-is-strict": 119,
- "../internals/array-method-uses-to-length": 120
- }
- ],
- 114: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/function-bind-context"),
- i = e("../internals/to-object"),
- o = e("../internals/call-with-safe-iteration-closing"),
- a = e("../internals/is-array-iterator-method"),
- s = e("../internals/to-length"),
- l = e("../internals/create-property"),
- c = e("../internals/get-iterator-method")
- t.exports = function (e) {
- var t,
- r,
- u,
- f,
- p,
- d,
- h = i(e),
- m = "function" == typeof this ? this : Array,
- g = arguments.length,
- y = g > 1 ? arguments[1] : void 0,
- v = void 0 !== y,
- b = c(h),
- w = 0
- if ((v && (y = n(y, g > 2 ? arguments[2] : void 0, 2)), void 0 == b || (m == Array && a(b))))
- for (t = s(h.length), r = new m(t); t > w; w++) (d = v ? y(h[w], w) : h[w]), l(r, w, d)
- else
- for (f = b.call(h), p = f.next, r = new m(); !(u = p.call(f)).done; w++)
- (d = v ? o(f, y, [u.value, w], !0) : u.value), l(r, w, d)
- return (r.length = w), r
- }
- },
- {
- "../internals/call-with-safe-iteration-closing": 123,
- "../internals/create-property": 133,
- "../internals/function-bind-context": 147,
- "../internals/get-iterator-method": 149,
- "../internals/is-array-iterator-method": 161,
- "../internals/to-length": 219,
- "../internals/to-object": 220
- }
- ],
- 115: [
- function (e, t, r) {
- var n = e("../internals/to-indexed-object"),
- i = e("../internals/to-length"),
- o = e("../internals/to-absolute-index"),
- a = function (e) {
- return function (t, r, a) {
- var s,
- l = n(t),
- c = i(l.length),
- u = o(a, c)
- if (e && r != r) {
- while (c > u) if (((s = l[u++]), s != s)) return !0
- } else for (; c > u; u++) if ((e || u in l) && l[u] === r) return e || u || 0
- return !e && -1
- }
- }
- t.exports = {
- includes: a(!0),
- indexOf: a(!1)
- }
- },
- {
- "../internals/to-absolute-index": 215,
- "../internals/to-indexed-object": 217,
- "../internals/to-length": 219
- }
- ],
- 116: [
- function (e, t, r) {
- var n = e("../internals/function-bind-context"),
- i = e("../internals/indexed-object"),
- o = e("../internals/to-object"),
- a = e("../internals/to-length"),
- s = e("../internals/array-species-create"),
- l = [].push,
- c = function (e) {
- var t = 1 == e,
- r = 2 == e,
- c = 3 == e,
- u = 4 == e,
- f = 6 == e,
- p = 5 == e || f
- return function (d, h, m, g) {
- for (
- var y,
- v,
- b = o(d),
- w = i(b),
- x = n(h, m, 3),
- A = a(w.length),
- _ = 0,
- T = g || s,
- E = t ? T(d, A) : r ? T(d, 0) : void 0;
- A > _;
- _++
- )
- if ((p || _ in w) && ((y = w[_]), (v = x(y, _, b)), e))
- if (t) E[_] = v
- else if (v)
- switch (e) {
- case 3:
- return !0
- case 5:
- return y
- case 6:
- return _
- case 2:
- l.call(E, y)
- }
- else if (u) return !1
- return f ? -1 : c || u ? u : E
- }
- }
- t.exports = {
- forEach: c(0),
- map: c(1),
- filter: c(2),
- some: c(3),
- every: c(4),
- find: c(5),
- findIndex: c(6)
- }
- },
- {
- "../internals/array-species-create": 122,
- "../internals/function-bind-context": 147,
- "../internals/indexed-object": 157,
- "../internals/to-length": 219,
- "../internals/to-object": 220
- }
- ],
- 117: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/to-indexed-object"),
- i = e("../internals/to-integer"),
- o = e("../internals/to-length"),
- a = e("../internals/array-method-is-strict"),
- s = e("../internals/array-method-uses-to-length"),
- l = Math.min,
- c = [].lastIndexOf,
- u = !!c && 1 / [1].lastIndexOf(1, -0) < 0,
- f = a("lastIndexOf"),
- p = s("indexOf", {
- ACCESSORS: !0,
- 1: 0
- }),
- d = u || !f || !p
- t.exports = d
- ? function (e) {
- if (u) return c.apply(this, arguments) || 0
- var t = n(this),
- r = o(t.length),
- a = r - 1
- for (arguments.length > 1 && (a = l(a, i(arguments[1]))), a < 0 && (a = r + a); a >= 0; a--)
- if (a in t && t[a] === e) return a || 0
- return -1
- }
- : c
- },
- {
- "../internals/array-method-is-strict": 119,
- "../internals/array-method-uses-to-length": 120,
- "../internals/to-indexed-object": 217,
- "../internals/to-integer": 218,
- "../internals/to-length": 219
- }
- ],
- 118: [
- function (e, t, r) {
- var n = e("../internals/fails"),
- i = e("../internals/well-known-symbol"),
- o = e("../internals/engine-v8-version"),
- a = i("species")
- t.exports = function (e) {
- return (
- o >= 51 ||
- !n(function () {
- var t = [],
- r = (t.constructor = {})
- return (
- (r[a] = function () {
- return {
- foo: 1
- }
- }),
- 1 !== t[e](Boolean).foo
- )
- })
- )
- }
- },
- {
- "../internals/engine-v8-version": 142,
- "../internals/fails": 145,
- "../internals/well-known-symbol": 231
- }
- ],
- 119: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/fails")
- t.exports = function (e, t) {
- var r = [][e]
- return (
- !!r &&
- n(function () {
- r.call(
- null,
- t ||
- function () {
- throw 1
- },
- 1
- )
- })
- )
- }
- },
- {
- "../internals/fails": 145
- }
- ],
- 120: [
- function (e, t, r) {
- var n = e("../internals/descriptors"),
- i = e("../internals/fails"),
- o = e("../internals/has"),
- a = Object.defineProperty,
- s = {},
- l = function (e) {
- throw e
- }
- t.exports = function (e, t) {
- if (o(s, e)) return s[e]
- t || (t = {})
- var r = [][e],
- c = !!o(t, "ACCESSORS") && t.ACCESSORS,
- u = o(t, 0) ? t[0] : l,
- f = o(t, 1) ? t[1] : void 0
- return (s[e] =
- !!r &&
- !i(function () {
- if (c && !n) return !0
- var e = {
- length: -1
- }
- c
- ? a(e, 1, {
- enumerable: !0,
- get: l
- })
- : (e[1] = 1),
- r.call(e, u, f)
- }))
- }
- },
- {
- "../internals/descriptors": 136,
- "../internals/fails": 145,
- "../internals/has": 151
- }
- ],
- 121: [
- function (e, t, r) {
- var n = e("../internals/a-function"),
- i = e("../internals/to-object"),
- o = e("../internals/indexed-object"),
- a = e("../internals/to-length"),
- s = function (e) {
- return function (t, r, s, l) {
- n(r)
- var c = i(t),
- u = o(c),
- f = a(c.length),
- p = e ? f - 1 : 0,
- d = e ? -1 : 1
- if (s < 2)
- while (1) {
- if (p in u) {
- ;(l = u[p]), (p += d)
- break
- }
- if (((p += d), e ? p < 0 : f <= p)) throw TypeError("Reduce of empty array with no initial value")
- }
- for (; e ? p >= 0 : f > p; p += d) p in u && (l = r(l, u[p], p, c))
- return l
- }
- }
- t.exports = {
- left: s(!1),
- right: s(!0)
- }
- },
- {
- "../internals/a-function": 102,
- "../internals/indexed-object": 157,
- "../internals/to-length": 219,
- "../internals/to-object": 220
- }
- ],
- 122: [
- function (e, t, r) {
- var n = e("../internals/is-object"),
- i = e("../internals/is-array"),
- o = e("../internals/well-known-symbol"),
- a = o("species")
- t.exports = function (e, t) {
- var r
- return (
- i(e) &&
- ((r = e.constructor),
- "function" != typeof r || (r !== Array && !i(r.prototype))
- ? n(r) && ((r = r[a]), null === r && (r = void 0))
- : (r = void 0)),
- new (void 0 === r ? Array : r)(0 === t ? 0 : t)
- )
- }
- },
- {
- "../internals/is-array": 162,
- "../internals/is-object": 164,
- "../internals/well-known-symbol": 231
- }
- ],
- 123: [
- function (e, t, r) {
- var n = e("../internals/an-object"),
- i = e("../internals/iterator-close")
- t.exports = function (e, t, r, o) {
- try {
- return o ? t(n(r)[0], r[1]) : t(r)
- } catch (a) {
- throw (i(e), a)
- }
- }
- },
- {
- "../internals/an-object": 107,
- "../internals/iterator-close": 168
- }
- ],
- 124: [
- function (e, t, r) {
- var n = e("../internals/well-known-symbol"),
- i = n("iterator"),
- o = !1
- try {
- var a = 0,
- s = {
- next: function () {
- return {
- done: !!a++
- }
- },
- return: function () {
- o = !0
- }
- }
- ;(s[i] = function () {
- return this
- }),
- Array.from(s, function () {
- throw 2
- })
- } catch (l) {}
- t.exports = function (e, t) {
- if (!t && !o) return !1
- var r = !1
- try {
- var n = {}
- ;(n[i] = function () {
- return {
- next: function () {
- return {
- done: (r = !0)
- }
- }
- }
- }),
- e(n)
- } catch (l) {}
- return r
- }
- },
- {
- "../internals/well-known-symbol": 231
- }
- ],
- 125: [
- function (e, t, r) {
- var n = {}.toString
- t.exports = function (e) {
- return n.call(e).slice(8, -1)
- }
- },
- {}
- ],
- 126: [
- function (e, t, r) {
- var n = e("../internals/to-string-tag-support"),
- i = e("../internals/classof-raw"),
- o = e("../internals/well-known-symbol"),
- a = o("toStringTag"),
- s =
- "Arguments" ==
- i(
- (function () {
- return arguments
- })()
- ),
- l = function (e, t) {
- try {
- return e[t]
- } catch (r) {}
- }
- t.exports = n
- ? i
- : function (e) {
- var t, r, n
- return void 0 === e
- ? "Undefined"
- : null === e
- ? "Null"
- : "string" == typeof (r = l((t = Object(e)), a))
- ? r
- : s
- ? i(t)
- : "Object" == (n = i(t)) && "function" == typeof t.callee
- ? "Arguments"
- : n
- }
- },
- {
- "../internals/classof-raw": 125,
- "../internals/to-string-tag-support": 224,
- "../internals/well-known-symbol": 231
- }
- ],
- 127: [
- function (e, t, r) {
- var n = e("../internals/has"),
- i = e("../internals/own-keys"),
- o = e("../internals/object-get-own-property-descriptor"),
- a = e("../internals/object-define-property")
- t.exports = function (e, t) {
- for (var r = i(t), s = a.f, l = o.f, c = 0; c < r.length; c++) {
- var u = r[c]
- n(e, u) || s(e, u, l(t, u))
- }
- }
- },
- {
- "../internals/has": 151,
- "../internals/object-define-property": 180,
- "../internals/object-get-own-property-descriptor": 181,
- "../internals/own-keys": 192
- }
- ],
- 128: [
- function (e, t, r) {
- var n = e("../internals/well-known-symbol"),
- i = n("match")
- t.exports = function (e) {
- var t = /./
- try {
- "/./"[e](t)
- } catch (r) {
- try {
- return (t[i] = !1), "/./"[e](t)
- } catch (n) {}
- }
- return !1
- }
- },
- {
- "../internals/well-known-symbol": 231
- }
- ],
- 129: [
- function (e, t, r) {
- var n = e("../internals/fails")
- t.exports = !n(function () {
- function e() {}
- return (e.prototype.constructor = null), Object.getPrototypeOf(new e()) !== e.prototype
- })
- },
- {
- "../internals/fails": 145
- }
- ],
- 130: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/iterators-core").IteratorPrototype,
- i = e("../internals/object-create"),
- o = e("../internals/create-property-descriptor"),
- a = e("../internals/set-to-string-tag"),
- s = e("../internals/iterators"),
- l = function () {
- return this
- }
- t.exports = function (e, t, r) {
- var c = t + " Iterator"
- return (
- (e.prototype = i(n, {
- next: o(1, r)
- })),
- a(e, c, !1, !0),
- (s[c] = l),
- e
- )
- }
- },
- {
- "../internals/create-property-descriptor": 132,
- "../internals/iterators": 170,
- "../internals/iterators-core": 169,
- "../internals/object-create": 178,
- "../internals/set-to-string-tag": 206
- }
- ],
- 131: [
- function (e, t, r) {
- var n = e("../internals/descriptors"),
- i = e("../internals/object-define-property"),
- o = e("../internals/create-property-descriptor")
- t.exports = n
- ? function (e, t, r) {
- return i.f(e, t, o(1, r))
- }
- : function (e, t, r) {
- return (e[t] = r), e
- }
- },
- {
- "../internals/create-property-descriptor": 132,
- "../internals/descriptors": 136,
- "../internals/object-define-property": 180
- }
- ],
- 132: [
- function (e, t, r) {
- t.exports = function (e, t) {
- return {
- enumerable: !(1 & e),
- configurable: !(2 & e),
- writable: !(4 & e),
- value: t
- }
- }
- },
- {}
- ],
- 133: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/to-primitive"),
- i = e("../internals/object-define-property"),
- o = e("../internals/create-property-descriptor")
- t.exports = function (e, t, r) {
- var a = n(t)
- a in e ? i.f(e, a, o(0, r)) : (e[a] = r)
- }
- },
- {
- "../internals/create-property-descriptor": 132,
- "../internals/object-define-property": 180,
- "../internals/to-primitive": 223
- }
- ],
- 134: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/create-iterator-constructor"),
- o = e("../internals/object-get-prototype-of"),
- a = e("../internals/object-set-prototype-of"),
- s = e("../internals/set-to-string-tag"),
- l = e("../internals/create-non-enumerable-property"),
- c = e("../internals/redefine"),
- u = e("../internals/well-known-symbol"),
- f = e("../internals/is-pure"),
- p = e("../internals/iterators"),
- d = e("../internals/iterators-core"),
- h = d.IteratorPrototype,
- m = d.BUGGY_SAFARI_ITERATORS,
- g = u("iterator"),
- y = "keys",
- v = "values",
- b = "entries",
- w = function () {
- return this
- }
- t.exports = function (e, t, r, u, d, x, A) {
- i(r, t, u)
- var _,
- T,
- E,
- S = function (e) {
- if (e === d && O) return O
- if (!m && e in L) return L[e]
- switch (e) {
- case y:
- return function () {
- return new r(this, e)
- }
- case v:
- return function () {
- return new r(this, e)
- }
- case b:
- return function () {
- return new r(this, e)
- }
- }
- return function () {
- return new r(this)
- }
- },
- C = t + " Iterator",
- k = !1,
- L = e.prototype,
- P = L[g] || L["@@iterator"] || (d && L[d]),
- O = (!m && P) || S(d),
- j = ("Array" == t && L.entries) || P
- if (
- (j &&
- ((_ = o(j.call(new e()))),
- h !== Object.prototype &&
- _.next &&
- (f || o(_) === h || (a ? a(_, h) : "function" != typeof _[g] && l(_, g, w)), s(_, C, !0, !0), f && (p[C] = w))),
- d == v &&
- P &&
- P.name !== v &&
- ((k = !0),
- (O = function () {
- return P.call(this)
- })),
- (f && !A) || L[g] === O || l(L, g, O),
- (p[t] = O),
- d)
- )
- if (
- ((T = {
- values: S(v),
- keys: x ? O : S(y),
- entries: S(b)
- }),
- A)
- )
- for (E in T) (m || k || !(E in L)) && c(L, E, T[E])
- else
- n(
- {
- target: t,
- proto: !0,
- forced: m || k
- },
- T
- )
- return T
- }
- },
- {
- "../internals/create-iterator-constructor": 130,
- "../internals/create-non-enumerable-property": 131,
- "../internals/export": 144,
- "../internals/is-pure": 165,
- "../internals/iterators": 170,
- "../internals/iterators-core": 169,
- "../internals/object-get-prototype-of": 185,
- "../internals/object-set-prototype-of": 189,
- "../internals/redefine": 197,
- "../internals/set-to-string-tag": 206,
- "../internals/well-known-symbol": 231
- }
- ],
- 135: [
- function (e, t, r) {
- var n = e("../internals/path"),
- i = e("../internals/has"),
- o = e("../internals/well-known-symbol-wrapped"),
- a = e("../internals/object-define-property").f
- t.exports = function (e) {
- var t = n.Symbol || (n.Symbol = {})
- i(t, e) ||
- a(t, e, {
- value: o.f(e)
- })
- }
- },
- {
- "../internals/has": 151,
- "../internals/object-define-property": 180,
- "../internals/path": 193,
- "../internals/well-known-symbol-wrapped": 230
- }
- ],
- 136: [
- function (e, t, r) {
- var n = e("../internals/fails")
- t.exports = !n(function () {
- return (
- 7 !=
- Object.defineProperty({}, 1, {
- get: function () {
- return 7
- }
- })[1]
- )
- })
- },
- {
- "../internals/fails": 145
- }
- ],
- 137: [
- function (e, t, r) {
- var n = e("../internals/global"),
- i = e("../internals/is-object"),
- o = n.document,
- a = i(o) && i(o.createElement)
- t.exports = function (e) {
- return a ? o.createElement(e) : {}
- }
- },
- {
- "../internals/global": 150,
- "../internals/is-object": 164
- }
- ],
- 138: [
- function (e, t, r) {
- t.exports = {
- CSSRuleList: 0,
- CSSStyleDeclaration: 0,
- CSSValueList: 0,
- ClientRectList: 0,
- DOMRectList: 0,
- DOMStringList: 0,
- DOMTokenList: 1,
- DataTransferItemList: 0,
- FileList: 0,
- HTMLAllCollection: 0,
- HTMLCollection: 0,
- HTMLFormElement: 0,
- HTMLSelectElement: 0,
- MediaList: 0,
- MimeTypeArray: 0,
- NamedNodeMap: 0,
- NodeList: 1,
- PaintRequestList: 0,
- Plugin: 0,
- PluginArray: 0,
- SVGLengthList: 0,
- SVGNumberList: 0,
- SVGPathSegList: 0,
- SVGPointList: 0,
- SVGStringList: 0,
- SVGTransformList: 0,
- SourceBufferList: 0,
- StyleSheetList: 0,
- TextTrackCueList: 0,
- TextTrackList: 0,
- TouchList: 0
- }
- },
- {}
- ],
- 139: [
- function (e, t, r) {
- var n = e("../internals/engine-user-agent")
- t.exports = /(iphone|ipod|ipad).*applewebkit/i.test(n)
- },
- {
- "../internals/engine-user-agent": 141
- }
- ],
- 140: [
- function (e, t, r) {
- var n = e("../internals/classof-raw"),
- i = e("../internals/global")
- t.exports = "process" == n(i.process)
- },
- {
- "../internals/classof-raw": 125,
- "../internals/global": 150
- }
- ],
- 141: [
- function (e, t, r) {
- var n = e("../internals/get-built-in")
- t.exports = n("navigator", "userAgent") || ""
- },
- {
- "../internals/get-built-in": 148
- }
- ],
- 142: [
- function (e, t, r) {
- var n,
- i,
- o = e("../internals/global"),
- a = e("../internals/engine-user-agent"),
- s = o.process,
- l = s && s.versions,
- c = l && l.v8
- c
- ? ((n = c.split(".")), (i = n[0] + n[1]))
- : a && ((n = a.match(/Edge\/(\d+)/)), (!n || n[1] >= 74) && ((n = a.match(/Chrome\/(\d+)/)), n && (i = n[1]))),
- (t.exports = i && +i)
- },
- {
- "../internals/engine-user-agent": 141,
- "../internals/global": 150
- }
- ],
- 143: [
- function (e, t, r) {
- t.exports = [
- "constructor",
- "hasOwnProperty",
- "isPrototypeOf",
- "propertyIsEnumerable",
- "toLocaleString",
- "toString",
- "valueOf"
- ]
- },
- {}
- ],
- 144: [
- function (e, t, r) {
- var n = e("../internals/global"),
- i = e("../internals/object-get-own-property-descriptor").f,
- o = e("../internals/create-non-enumerable-property"),
- a = e("../internals/redefine"),
- s = e("../internals/set-global"),
- l = e("../internals/copy-constructor-properties"),
- c = e("../internals/is-forced")
- t.exports = function (e, t) {
- var r,
- u,
- f,
- p,
- d,
- h,
- m = e.target,
- g = e.global,
- y = e.stat
- if (((u = g ? n : y ? n[m] || s(m, {}) : (n[m] || {}).prototype), u))
- for (f in t) {
- if (
- ((d = t[f]),
- e.noTargetGet ? ((h = i(u, f)), (p = h && h.value)) : (p = u[f]),
- (r = c(g ? f : m + (y ? "." : "#") + f, e.forced)),
- !r && void 0 !== p)
- ) {
- if (typeof d === typeof p) continue
- l(d, p)
- }
- ;(e.sham || (p && p.sham)) && o(d, "sham", !0), a(u, f, d, e)
- }
- }
- },
- {
- "../internals/copy-constructor-properties": 127,
- "../internals/create-non-enumerable-property": 131,
- "../internals/global": 150,
- "../internals/is-forced": 163,
- "../internals/object-get-own-property-descriptor": 181,
- "../internals/redefine": 197,
- "../internals/set-global": 204
- }
- ],
- 145: [
- function (e, t, r) {
- t.exports = function (e) {
- try {
- return !!e()
- } catch (t) {
- return !0
- }
- }
- },
- {}
- ],
- 146: [
- function (e, t, r) {
- "use strict"
- e("../modules/es.regexp.exec")
- var n = e("../internals/redefine"),
- i = e("../internals/fails"),
- o = e("../internals/well-known-symbol"),
- a = e("../internals/regexp-exec"),
- s = e("../internals/create-non-enumerable-property"),
- l = o("species"),
- c = !i(function () {
- var e = /./
- return (
- (e.exec = function () {
- var e = []
- return (
- (e.groups = {
- a: "7"
- }),
- e
- )
- }),
- "7" !== "".replace(e, "$<a>")
- )
- }),
- u = (function () {
- return "$0" === "a".replace(/./, "$0")
- })(),
- f = o("replace"),
- p = (function () {
- return !!/./[f] && "" === /./[f]("a", "$0")
- })(),
- d = !i(function () {
- var e = /(?:)/,
- t = e.exec
- e.exec = function () {
- return t.apply(this, arguments)
- }
- var r = "ab".split(e)
- return 2 !== r.length || "a" !== r[0] || "b" !== r[1]
- })
- t.exports = function (e, t, r, f) {
- var h = o(e),
- m = !i(function () {
- var t = {}
- return (
- (t[h] = function () {
- return 7
- }),
- 7 != ""[e](t)
- )
- }),
- g =
- m &&
- !i(function () {
- var t = !1,
- r = /a/
- return (
- "split" === e &&
- ((r = {}),
- (r.constructor = {}),
- (r.constructor[l] = function () {
- return r
- }),
- (r.flags = ""),
- (r[h] = /./[h])),
- (r.exec = function () {
- return (t = !0), null
- }),
- r[h](""),
- !t
- )
- })
- if (!m || !g || ("replace" === e && (!c || !u || p)) || ("split" === e && !d)) {
- var y = /./[h],
- v = r(
- h,
- ""[e],
- function (e, t, r, n, i) {
- return t.exec === a
- ? m && !i
- ? {
- done: !0,
- value: y.call(t, r, n)
- }
- : {
- done: !0,
- value: e.call(r, t, n)
- }
- : {
- done: !1
- }
- },
- {
- REPLACE_KEEPS_$0: u,
- REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: p
- }
- ),
- b = v[0],
- w = v[1]
- n(String.prototype, e, b),
- n(
- RegExp.prototype,
- h,
- 2 == t
- ? function (e, t) {
- return w.call(e, this, t)
- }
- : function (e) {
- return w.call(e, this)
- }
- )
- }
- f && s(RegExp.prototype[h], "sham", !0)
- }
- },
- {
- "../internals/create-non-enumerable-property": 131,
- "../internals/fails": 145,
- "../internals/redefine": 197,
- "../internals/regexp-exec": 199,
- "../internals/well-known-symbol": 231,
- "../modules/es.regexp.exec": 256
- }
- ],
- 147: [
- function (e, t, r) {
- var n = e("../internals/a-function")
- t.exports = function (e, t, r) {
- if ((n(e), void 0 === t)) return e
- switch (r) {
- case 0:
- return function () {
- return e.call(t)
- }
- case 1:
- return function (r) {
- return e.call(t, r)
- }
- case 2:
- return function (r, n) {
- return e.call(t, r, n)
- }
- case 3:
- return function (r, n, i) {
- return e.call(t, r, n, i)
- }
- }
- return function () {
- return e.apply(t, arguments)
- }
- }
- },
- {
- "../internals/a-function": 102
- }
- ],
- 148: [
- function (e, t, r) {
- var n = e("../internals/path"),
- i = e("../internals/global"),
- o = function (e) {
- return "function" == typeof e ? e : void 0
- }
- t.exports = function (e, t) {
- return arguments.length < 2 ? o(n[e]) || o(i[e]) : (n[e] && n[e][t]) || (i[e] && i[e][t])
- }
- },
- {
- "../internals/global": 150,
- "../internals/path": 193
- }
- ],
- 149: [
- function (e, t, r) {
- var n = e("../internals/classof"),
- i = e("../internals/iterators"),
- o = e("../internals/well-known-symbol"),
- a = o("iterator")
- t.exports = function (e) {
- if (void 0 != e) return e[a] || e["@@iterator"] || i[n(e)]
- }
- },
- {
- "../internals/classof": 126,
- "../internals/iterators": 170,
- "../internals/well-known-symbol": 231
- }
- ],
- 150: [
- function (e, t, r) {
- ;(function (e) {
- var r = function (e) {
- return e && e.Math == Math && e
- }
- t.exports =
- r("object" == typeof globalThis && globalThis) ||
- r("object" == typeof window && window) ||
- r("object" == typeof self && self) ||
- r("object" == typeof e && e) ||
- (function () {
- return this
- })() ||
- Function("return this")()
- }).call(
- this,
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
- )
- },
- {}
- ],
- 151: [
- function (e, t, r) {
- var n = {}.hasOwnProperty
- t.exports = function (e, t) {
- return n.call(e, t)
- }
- },
- {}
- ],
- 152: [
- function (e, t, r) {
- t.exports = {}
- },
- {}
- ],
- 153: [
- function (e, t, r) {
- var n = e("../internals/global")
- t.exports = function (e, t) {
- var r = n.console
- r && r.error && (1 === arguments.length ? r.error(e) : r.error(e, t))
- }
- },
- {
- "../internals/global": 150
- }
- ],
- 154: [
- function (e, t, r) {
- var n = e("../internals/get-built-in")
- t.exports = n("document", "documentElement")
- },
- {
- "../internals/get-built-in": 148
- }
- ],
- 155: [
- function (e, t, r) {
- var n = e("../internals/descriptors"),
- i = e("../internals/fails"),
- o = e("../internals/document-create-element")
- t.exports =
- !n &&
- !i(function () {
- return (
- 7 !=
- Object.defineProperty(o("div"), "a", {
- get: function () {
- return 7
- }
- }).a
- )
- })
- },
- {
- "../internals/descriptors": 136,
- "../internals/document-create-element": 137,
- "../internals/fails": 145
- }
- ],
- 156: [
- function (e, t, r) {
- var n = 1 / 0,
- i = Math.abs,
- o = Math.pow,
- a = Math.floor,
- s = Math.log,
- l = Math.LN2,
- c = function (e, t, r) {
- var c,
- u,
- f,
- p = new Array(r),
- d = 8 * r - t - 1,
- h = (1 << d) - 1,
- m = h >> 1,
- g = 23 === t ? o(2, -24) - o(2, -77) : 0,
- y = e < 0 || (0 === e && 1 / e < 0) ? 1 : 0,
- v = 0
- for (
- e = i(e),
- e != e || e === n
- ? ((u = e != e ? 1 : 0), (c = h))
- : ((c = a(s(e) / l)),
- e * (f = o(2, -c)) < 1 && (c--, (f *= 2)),
- (e += c + m >= 1 ? g / f : g * o(2, 1 - m)),
- e * f >= 2 && (c++, (f /= 2)),
- c + m >= h
- ? ((u = 0), (c = h))
- : c + m >= 1
- ? ((u = (e * f - 1) * o(2, t)), (c += m))
- : ((u = e * o(2, m - 1) * o(2, t)), (c = 0)));
- t >= 8;
- p[v++] = 255 & u, u /= 256, t -= 8
- );
- for (c = (c << t) | u, d += t; d > 0; p[v++] = 255 & c, c /= 256, d -= 8);
- return (p[--v] |= 128 * y), p
- },
- u = function (e, t) {
- var r,
- i = e.length,
- a = 8 * i - t - 1,
- s = (1 << a) - 1,
- l = s >> 1,
- c = a - 7,
- u = i - 1,
- f = e[u--],
- p = 127 & f
- for (f >>= 7; c > 0; p = 256 * p + e[u], u--, c -= 8);
- for (r = p & ((1 << -c) - 1), p >>= -c, c += t; c > 0; r = 256 * r + e[u], u--, c -= 8);
- if (0 === p) p = 1 - l
- else {
- if (p === s) return r ? NaN : f ? -n : n
- ;(r += o(2, t)), (p -= l)
- }
- return (f ? -1 : 1) * r * o(2, p - t)
- }
- t.exports = {
- pack: c,
- unpack: u
- }
- },
- {}
- ],
- 157: [
- function (e, t, r) {
- var n = e("../internals/fails"),
- i = e("../internals/classof-raw"),
- o = "".split
- t.exports = n(function () {
- return !Object("z").propertyIsEnumerable(0)
- })
- ? function (e) {
- return "String" == i(e) ? o.call(e, "") : Object(e)
- }
- : Object
- },
- {
- "../internals/classof-raw": 125,
- "../internals/fails": 145
- }
- ],
- 158: [
- function (e, t, r) {
- var n = e("../internals/is-object"),
- i = e("../internals/object-set-prototype-of")
- t.exports = function (e, t, r) {
- var o, a
- return i && "function" == typeof (o = t.constructor) && o !== r && n((a = o.prototype)) && a !== r.prototype && i(e, a), e
- }
- },
- {
- "../internals/is-object": 164,
- "../internals/object-set-prototype-of": 189
- }
- ],
- 159: [
- function (e, t, r) {
- var n = e("../internals/shared-store"),
- i = Function.toString
- "function" != typeof n.inspectSource &&
- (n.inspectSource = function (e) {
- return i.call(e)
- }),
- (t.exports = n.inspectSource)
- },
- {
- "../internals/shared-store": 208
- }
- ],
- 160: [
- function (e, t, r) {
- var n,
- i,
- o,
- a = e("../internals/native-weak-map"),
- s = e("../internals/global"),
- l = e("../internals/is-object"),
- c = e("../internals/create-non-enumerable-property"),
- u = e("../internals/has"),
- f = e("../internals/shared-store"),
- p = e("../internals/shared-key"),
- d = e("../internals/hidden-keys"),
- h = s.WeakMap,
- m = function (e) {
- return o(e) ? i(e) : n(e, {})
- },
- g = function (e) {
- return function (t) {
- var r
- if (!l(t) || (r = i(t)).type !== e) throw TypeError("Incompatible receiver, " + e + " required")
- return r
- }
- }
- if (a) {
- var y = f.state || (f.state = new h()),
- v = y.get,
- b = y.has,
- w = y.set
- ;(n = function (e, t) {
- return (t.facade = e), w.call(y, e, t), t
- }),
- (i = function (e) {
- return v.call(y, e) || {}
- }),
- (o = function (e) {
- return b.call(y, e)
- })
- } else {
- var x = p("state")
- ;(d[x] = !0),
- (n = function (e, t) {
- return (t.facade = e), c(e, x, t), t
- }),
- (i = function (e) {
- return u(e, x) ? e[x] : {}
- }),
- (o = function (e) {
- return u(e, x)
- })
- }
- t.exports = {
- set: n,
- get: i,
- has: o,
- enforce: m,
- getterFor: g
- }
- },
- {
- "../internals/create-non-enumerable-property": 131,
- "../internals/global": 150,
- "../internals/has": 151,
- "../internals/hidden-keys": 152,
- "../internals/is-object": 164,
- "../internals/native-weak-map": 174,
- "../internals/shared-key": 207,
- "../internals/shared-store": 208
- }
- ],
- 161: [
- function (e, t, r) {
- var n = e("../internals/well-known-symbol"),
- i = e("../internals/iterators"),
- o = n("iterator"),
- a = Array.prototype
- t.exports = function (e) {
- return void 0 !== e && (i.Array === e || a[o] === e)
- }
- },
- {
- "../internals/iterators": 170,
- "../internals/well-known-symbol": 231
- }
- ],
- 162: [
- function (e, t, r) {
- var n = e("../internals/classof-raw")
- t.exports =
- Array.isArray ||
- function (e) {
- return "Array" == n(e)
- }
- },
- {
- "../internals/classof-raw": 125
- }
- ],
- 163: [
- function (e, t, r) {
- var n = e("../internals/fails"),
- i = /#|\.prototype\./,
- o = function (e, t) {
- var r = s[a(e)]
- return r == c || (r != l && ("function" == typeof t ? n(t) : !!t))
- },
- a = (o.normalize = function (e) {
- return String(e).replace(i, ".").toLowerCase()
- }),
- s = (o.data = {}),
- l = (o.NATIVE = "N"),
- c = (o.POLYFILL = "P")
- t.exports = o
- },
- {
- "../internals/fails": 145
- }
- ],
- 164: [
- function (e, t, r) {
- t.exports = function (e) {
- return "object" === typeof e ? null !== e : "function" === typeof e
- }
- },
- {}
- ],
- 165: [
- function (e, t, r) {
- t.exports = !1
- },
- {}
- ],
- 166: [
- function (e, t, r) {
- var n = e("../internals/is-object"),
- i = e("../internals/classof-raw"),
- o = e("../internals/well-known-symbol"),
- a = o("match")
- t.exports = function (e) {
- var t
- return n(e) && (void 0 !== (t = e[a]) ? !!t : "RegExp" == i(e))
- }
- },
- {
- "../internals/classof-raw": 125,
- "../internals/is-object": 164,
- "../internals/well-known-symbol": 231
- }
- ],
- 167: [
- function (e, t, r) {
- var n = e("../internals/an-object"),
- i = e("../internals/is-array-iterator-method"),
- o = e("../internals/to-length"),
- a = e("../internals/function-bind-context"),
- s = e("../internals/get-iterator-method"),
- l = e("../internals/iterator-close"),
- c = function (e, t) {
- ;(this.stopped = e), (this.result = t)
- }
- t.exports = function (e, t, r) {
- var u,
- f,
- p,
- d,
- h,
- m,
- g,
- y = r && r.that,
- v = !(!r || !r.AS_ENTRIES),
- b = !(!r || !r.IS_ITERATOR),
- w = !(!r || !r.INTERRUPTED),
- x = a(t, y, 1 + v + w),
- A = function (e) {
- return u && l(u), new c(!0, e)
- },
- _ = function (e) {
- return v ? (n(e), w ? x(e[0], e[1], A) : x(e[0], e[1])) : w ? x(e, A) : x(e)
- }
- if (b) u = e
- else {
- if (((f = s(e)), "function" != typeof f)) throw TypeError("Target is not iterable")
- if (i(f)) {
- for (p = 0, d = o(e.length); d > p; p++) if (((h = _(e[p])), h && h instanceof c)) return h
- return new c(!1)
- }
- u = f.call(e)
- }
- m = u.next
- while (!(g = m.call(u)).done) {
- try {
- h = _(g.value)
- } catch (T) {
- throw (l(u), T)
- }
- if ("object" == typeof h && h && h instanceof c) return h
- }
- return new c(!1)
- }
- },
- {
- "../internals/an-object": 107,
- "../internals/function-bind-context": 147,
- "../internals/get-iterator-method": 149,
- "../internals/is-array-iterator-method": 161,
- "../internals/iterator-close": 168,
- "../internals/to-length": 219
- }
- ],
- 168: [
- function (e, t, r) {
- var n = e("../internals/an-object")
- t.exports = function (e) {
- var t = e["return"]
- if (void 0 !== t) return n(t.call(e)).value
- }
- },
- {
- "../internals/an-object": 107
- }
- ],
- 169: [
- function (e, t, r) {
- "use strict"
- var n,
- i,
- o,
- a = e("../internals/object-get-prototype-of"),
- s = e("../internals/create-non-enumerable-property"),
- l = e("../internals/has"),
- c = e("../internals/well-known-symbol"),
- u = e("../internals/is-pure"),
- f = c("iterator"),
- p = !1,
- d = function () {
- return this
- }
- ;[].keys && ((o = [].keys()), "next" in o ? ((i = a(a(o))), i !== Object.prototype && (n = i)) : (p = !0)),
- void 0 == n && (n = {}),
- u || l(n, f) || s(n, f, d),
- (t.exports = {
- IteratorPrototype: n,
- BUGGY_SAFARI_ITERATORS: p
- })
- },
- {
- "../internals/create-non-enumerable-property": 131,
- "../internals/has": 151,
- "../internals/is-pure": 165,
- "../internals/object-get-prototype-of": 185,
- "../internals/well-known-symbol": 231
- }
- ],
- 170: [
- function (e, t, r) {
- arguments[4][152][0].apply(r, arguments)
- },
- {
- dup: 152
- }
- ],
- 171: [
- function (e, t, r) {
- var n,
- i,
- o,
- a,
- s,
- l,
- c,
- u,
- f = e("../internals/global"),
- p = e("../internals/object-get-own-property-descriptor").f,
- d = e("../internals/task").set,
- h = e("../internals/engine-is-ios"),
- m = e("../internals/engine-is-node"),
- g = f.MutationObserver || f.WebKitMutationObserver,
- y = f.document,
- v = f.process,
- b = f.Promise,
- w = p(f, "queueMicrotask"),
- x = w && w.value
- x ||
- ((n = function () {
- var e, t
- m && (e = v.domain) && e.exit()
- while (i) {
- ;(t = i.fn), (i = i.next)
- try {
- t()
- } catch (r) {
- throw (i ? a() : (o = void 0), r)
- }
- }
- ;(o = void 0), e && e.enter()
- }),
- !h && !m && g && y
- ? ((s = !0),
- (l = y.createTextNode("")),
- new g(n).observe(l, {
- characterData: !0
- }),
- (a = function () {
- l.data = s = !s
- }))
- : b && b.resolve
- ? ((c = b.resolve(void 0)),
- (u = c.then),
- (a = function () {
- u.call(c, n)
- }))
- : (a = m
- ? function () {
- v.nextTick(n)
- }
- : function () {
- d.call(f, n)
- })),
- (t.exports =
- x ||
- function (e) {
- var t = {
- fn: e,
- next: void 0
- }
- o && (o.next = t), i || ((i = t), a()), (o = t)
- })
- },
- {
- "../internals/engine-is-ios": 139,
- "../internals/engine-is-node": 140,
- "../internals/global": 150,
- "../internals/object-get-own-property-descriptor": 181,
- "../internals/task": 214
- }
- ],
- 172: [
- function (e, t, r) {
- var n = e("../internals/global")
- t.exports = n.Promise
- },
- {
- "../internals/global": 150
- }
- ],
- 173: [
- function (e, t, r) {
- var n = e("../internals/fails")
- t.exports =
- !!Object.getOwnPropertySymbols &&
- !n(function () {
- return !String(Symbol())
- })
- },
- {
- "../internals/fails": 145
- }
- ],
- 174: [
- function (e, t, r) {
- var n = e("../internals/global"),
- i = e("../internals/inspect-source"),
- o = n.WeakMap
- t.exports = "function" === typeof o && /native code/.test(i(o))
- },
- {
- "../internals/global": 150,
- "../internals/inspect-source": 159
- }
- ],
- 175: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/a-function"),
- i = function (e) {
- var t, r
- ;(this.promise = new e(function (e, n) {
- if (void 0 !== t || void 0 !== r) throw TypeError("Bad Promise constructor")
- ;(t = e), (r = n)
- })),
- (this.resolve = n(t)),
- (this.reject = n(r))
- }
- t.exports.f = function (e) {
- return new i(e)
- }
- },
- {
- "../internals/a-function": 102
- }
- ],
- 176: [
- function (e, t, r) {
- var n = e("../internals/is-regexp")
- t.exports = function (e) {
- if (n(e)) throw TypeError("The method doesn't accept regular expressions")
- return e
- }
- },
- {
- "../internals/is-regexp": 166
- }
- ],
- 177: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/descriptors"),
- i = e("../internals/fails"),
- o = e("../internals/object-keys"),
- a = e("../internals/object-get-own-property-symbols"),
- s = e("../internals/object-property-is-enumerable"),
- l = e("../internals/to-object"),
- c = e("../internals/indexed-object"),
- u = Object.assign,
- f = Object.defineProperty
- t.exports =
- !u ||
- i(function () {
- if (
- n &&
- 1 !==
- u(
- {
- b: 1
- },
- u(
- f({}, "a", {
- enumerable: !0,
- get: function () {
- f(this, "b", {
- value: 3,
- enumerable: !1
- })
- }
- }),
- {
- b: 2
- }
- )
- ).b
- )
- return !0
- var e = {},
- t = {},
- r = Symbol(),
- i = "abcdefghijklmnopqrst"
- return (
- (e[r] = 7),
- i.split("").forEach(function (e) {
- t[e] = e
- }),
- 7 != u({}, e)[r] || o(u({}, t)).join("") != i
- )
- })
- ? function (e, t) {
- var r = l(e),
- i = arguments.length,
- u = 1,
- f = a.f,
- p = s.f
- while (i > u) {
- var d,
- h = c(arguments[u++]),
- m = f ? o(h).concat(f(h)) : o(h),
- g = m.length,
- y = 0
- while (g > y) (d = m[y++]), (n && !p.call(h, d)) || (r[d] = h[d])
- }
- return r
- }
- : u
- },
- {
- "../internals/descriptors": 136,
- "../internals/fails": 145,
- "../internals/indexed-object": 157,
- "../internals/object-get-own-property-symbols": 184,
- "../internals/object-keys": 187,
- "../internals/object-property-is-enumerable": 188,
- "../internals/to-object": 220
- }
- ],
- 178: [
- function (e, t, r) {
- var n,
- i = e("../internals/an-object"),
- o = e("../internals/object-define-properties"),
- a = e("../internals/enum-bug-keys"),
- s = e("../internals/hidden-keys"),
- l = e("../internals/html"),
- c = e("../internals/document-create-element"),
- u = e("../internals/shared-key"),
- f = ">",
- p = "<",
- d = "prototype",
- h = "script",
- m = u("IE_PROTO"),
- g = function () {},
- y = function (e) {
- return p + h + f + e + p + "/" + h + f
- },
- v = function (e) {
- e.write(y("")), e.close()
- var t = e.parentWindow.Object
- return (e = null), t
- },
- b = function () {
- var e,
- t = c("iframe"),
- r = "java" + h + ":"
- return (
- (t.style.display = "none"),
- l.appendChild(t),
- (t.src = String(r)),
- (e = t.contentWindow.document),
- e.open(),
- e.write(y("document.F=Object")),
- e.close(),
- e.F
- )
- },
- w = function () {
- try {
- n = document.domain && new ActiveXObject("htmlfile")
- } catch (t) {}
- w = n ? v(n) : b()
- var e = a.length
- while (e--) delete w[d][a[e]]
- return w()
- }
- ;(s[m] = !0),
- (t.exports =
- Object.create ||
- function (e, t) {
- var r
- return null !== e ? ((g[d] = i(e)), (r = new g()), (g[d] = null), (r[m] = e)) : (r = w()), void 0 === t ? r : o(r, t)
- })
- },
- {
- "../internals/an-object": 107,
- "../internals/document-create-element": 137,
- "../internals/enum-bug-keys": 143,
- "../internals/hidden-keys": 152,
- "../internals/html": 154,
- "../internals/object-define-properties": 179,
- "../internals/shared-key": 207
- }
- ],
- 179: [
- function (e, t, r) {
- var n = e("../internals/descriptors"),
- i = e("../internals/object-define-property"),
- o = e("../internals/an-object"),
- a = e("../internals/object-keys")
- t.exports = n
- ? Object.defineProperties
- : function (e, t) {
- o(e)
- var r,
- n = a(t),
- s = n.length,
- l = 0
- while (s > l) i.f(e, (r = n[l++]), t[r])
- return e
- }
- },
- {
- "../internals/an-object": 107,
- "../internals/descriptors": 136,
- "../internals/object-define-property": 180,
- "../internals/object-keys": 187
- }
- ],
- 180: [
- function (e, t, r) {
- var n = e("../internals/descriptors"),
- i = e("../internals/ie8-dom-define"),
- o = e("../internals/an-object"),
- a = e("../internals/to-primitive"),
- s = Object.defineProperty
- r.f = n
- ? s
- : function (e, t, r) {
- if ((o(e), (t = a(t, !0)), o(r), i))
- try {
- return s(e, t, r)
- } catch (n) {}
- if ("get" in r || "set" in r) throw TypeError("Accessors not supported")
- return "value" in r && (e[t] = r.value), e
- }
- },
- {
- "../internals/an-object": 107,
- "../internals/descriptors": 136,
- "../internals/ie8-dom-define": 155,
- "../internals/to-primitive": 223
- }
- ],
- 181: [
- function (e, t, r) {
- var n = e("../internals/descriptors"),
- i = e("../internals/object-property-is-enumerable"),
- o = e("../internals/create-property-descriptor"),
- a = e("../internals/to-indexed-object"),
- s = e("../internals/to-primitive"),
- l = e("../internals/has"),
- c = e("../internals/ie8-dom-define"),
- u = Object.getOwnPropertyDescriptor
- r.f = n
- ? u
- : function (e, t) {
- if (((e = a(e)), (t = s(t, !0)), c))
- try {
- return u(e, t)
- } catch (r) {}
- if (l(e, t)) return o(!i.f.call(e, t), e[t])
- }
- },
- {
- "../internals/create-property-descriptor": 132,
- "../internals/descriptors": 136,
- "../internals/has": 151,
- "../internals/ie8-dom-define": 155,
- "../internals/object-property-is-enumerable": 188,
- "../internals/to-indexed-object": 217,
- "../internals/to-primitive": 223
- }
- ],
- 182: [
- function (e, t, r) {
- var n = e("../internals/to-indexed-object"),
- i = e("../internals/object-get-own-property-names").f,
- o = {}.toString,
- a = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [],
- s = function (e) {
- try {
- return i(e)
- } catch (t) {
- return a.slice()
- }
- }
- t.exports.f = function (e) {
- return a && "[object Window]" == o.call(e) ? s(e) : i(n(e))
- }
- },
- {
- "../internals/object-get-own-property-names": 183,
- "../internals/to-indexed-object": 217
- }
- ],
- 183: [
- function (e, t, r) {
- var n = e("../internals/object-keys-internal"),
- i = e("../internals/enum-bug-keys"),
- o = i.concat("length", "prototype")
- r.f =
- Object.getOwnPropertyNames ||
- function (e) {
- return n(e, o)
- }
- },
- {
- "../internals/enum-bug-keys": 143,
- "../internals/object-keys-internal": 186
- }
- ],
- 184: [
- function (e, t, r) {
- r.f = Object.getOwnPropertySymbols
- },
- {}
- ],
- 185: [
- function (e, t, r) {
- var n = e("../internals/has"),
- i = e("../internals/to-object"),
- o = e("../internals/shared-key"),
- a = e("../internals/correct-prototype-getter"),
- s = o("IE_PROTO"),
- l = Object.prototype
- t.exports = a
- ? Object.getPrototypeOf
- : function (e) {
- return (
- (e = i(e)),
- n(e, s)
- ? e[s]
- : "function" == typeof e.constructor && e instanceof e.constructor
- ? e.constructor.prototype
- : e instanceof Object
- ? l
- : null
- )
- }
- },
- {
- "../internals/correct-prototype-getter": 129,
- "../internals/has": 151,
- "../internals/shared-key": 207,
- "../internals/to-object": 220
- }
- ],
- 186: [
- function (e, t, r) {
- var n = e("../internals/has"),
- i = e("../internals/to-indexed-object"),
- o = e("../internals/array-includes").indexOf,
- a = e("../internals/hidden-keys")
- t.exports = function (e, t) {
- var r,
- s = i(e),
- l = 0,
- c = []
- for (r in s) !n(a, r) && n(s, r) && c.push(r)
- while (t.length > l) n(s, (r = t[l++])) && (~o(c, r) || c.push(r))
- return c
- }
- },
- {
- "../internals/array-includes": 115,
- "../internals/has": 151,
- "../internals/hidden-keys": 152,
- "../internals/to-indexed-object": 217
- }
- ],
- 187: [
- function (e, t, r) {
- var n = e("../internals/object-keys-internal"),
- i = e("../internals/enum-bug-keys")
- t.exports =
- Object.keys ||
- function (e) {
- return n(e, i)
- }
- },
- {
- "../internals/enum-bug-keys": 143,
- "../internals/object-keys-internal": 186
- }
- ],
- 188: [
- function (e, t, r) {
- "use strict"
- var n = {}.propertyIsEnumerable,
- i = Object.getOwnPropertyDescriptor,
- o =
- i &&
- !n.call(
- {
- 1: 2
- },
- 1
- )
- r.f = o
- ? function (e) {
- var t = i(this, e)
- return !!t && t.enumerable
- }
- : n
- },
- {}
- ],
- 189: [
- function (e, t, r) {
- var n = e("../internals/an-object"),
- i = e("../internals/a-possible-prototype")
- t.exports =
- Object.setPrototypeOf ||
- ("__proto__" in {}
- ? (function () {
- var e,
- t = !1,
- r = {}
- try {
- ;(e = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set),
- e.call(r, []),
- (t = r instanceof Array)
- } catch (o) {}
- return function (r, o) {
- return n(r), i(o), t ? e.call(r, o) : (r.__proto__ = o), r
- }
- })()
- : void 0)
- },
- {
- "../internals/a-possible-prototype": 103,
- "../internals/an-object": 107
- }
- ],
- 190: [
- function (e, t, r) {
- var n = e("../internals/descriptors"),
- i = e("../internals/object-keys"),
- o = e("../internals/to-indexed-object"),
- a = e("../internals/object-property-is-enumerable").f,
- s = function (e) {
- return function (t) {
- var r,
- s = o(t),
- l = i(s),
- c = l.length,
- u = 0,
- f = []
- while (c > u) (r = l[u++]), (n && !a.call(s, r)) || f.push(e ? [r, s[r]] : s[r])
- return f
- }
- }
- t.exports = {
- entries: s(!0),
- values: s(!1)
- }
- },
- {
- "../internals/descriptors": 136,
- "../internals/object-keys": 187,
- "../internals/object-property-is-enumerable": 188,
- "../internals/to-indexed-object": 217
- }
- ],
- 191: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/to-string-tag-support"),
- i = e("../internals/classof")
- t.exports = n
- ? {}.toString
- : function () {
- return "[object " + i(this) + "]"
- }
- },
- {
- "../internals/classof": 126,
- "../internals/to-string-tag-support": 224
- }
- ],
- 192: [
- function (e, t, r) {
- var n = e("../internals/get-built-in"),
- i = e("../internals/object-get-own-property-names"),
- o = e("../internals/object-get-own-property-symbols"),
- a = e("../internals/an-object")
- t.exports =
- n("Reflect", "ownKeys") ||
- function (e) {
- var t = i.f(a(e)),
- r = o.f
- return r ? t.concat(r(e)) : t
- }
- },
- {
- "../internals/an-object": 107,
- "../internals/get-built-in": 148,
- "../internals/object-get-own-property-names": 183,
- "../internals/object-get-own-property-symbols": 184
- }
- ],
- 193: [
- function (e, t, r) {
- var n = e("../internals/global")
- t.exports = n
- },
- {
- "../internals/global": 150
- }
- ],
- 194: [
- function (e, t, r) {
- t.exports = function (e) {
- try {
- return {
- error: !1,
- value: e()
- }
- } catch (t) {
- return {
- error: !0,
- value: t
- }
- }
- }
- },
- {}
- ],
- 195: [
- function (e, t, r) {
- var n = e("../internals/an-object"),
- i = e("../internals/is-object"),
- o = e("../internals/new-promise-capability")
- t.exports = function (e, t) {
- if ((n(e), i(t) && t.constructor === e)) return t
- var r = o.f(e),
- a = r.resolve
- return a(t), r.promise
- }
- },
- {
- "../internals/an-object": 107,
- "../internals/is-object": 164,
- "../internals/new-promise-capability": 175
- }
- ],
- 196: [
- function (e, t, r) {
- var n = e("../internals/redefine")
- t.exports = function (e, t, r) {
- for (var i in t) n(e, i, t[i], r)
- return e
- }
- },
- {
- "../internals/redefine": 197
- }
- ],
- 197: [
- function (e, t, r) {
- var n = e("../internals/global"),
- i = e("../internals/create-non-enumerable-property"),
- o = e("../internals/has"),
- a = e("../internals/set-global"),
- s = e("../internals/inspect-source"),
- l = e("../internals/internal-state"),
- c = l.get,
- u = l.enforce,
- f = String(String).split("String")
- ;(t.exports = function (e, t, r, s) {
- var l,
- c = !!s && !!s.unsafe,
- p = !!s && !!s.enumerable,
- d = !!s && !!s.noTargetGet
- "function" == typeof r &&
- ("string" != typeof t || o(r, "name") || i(r, "name", t),
- (l = u(r)),
- l.source || (l.source = f.join("string" == typeof t ? t : ""))),
- e !== n ? (c ? !d && e[t] && (p = !0) : delete e[t], p ? (e[t] = r) : i(e, t, r)) : p ? (e[t] = r) : a(t, r)
- })(Function.prototype, "toString", function () {
- return ("function" == typeof this && c(this).source) || s(this)
- })
- },
- {
- "../internals/create-non-enumerable-property": 131,
- "../internals/global": 150,
- "../internals/has": 151,
- "../internals/inspect-source": 159,
- "../internals/internal-state": 160,
- "../internals/set-global": 204
- }
- ],
- 198: [
- function (e, t, r) {
- var n = e("./classof-raw"),
- i = e("./regexp-exec")
- t.exports = function (e, t) {
- var r = e.exec
- if ("function" === typeof r) {
- var o = r.call(e, t)
- if ("object" !== typeof o) throw TypeError("RegExp exec method returned something other than an Object or null")
- return o
- }
- if ("RegExp" !== n(e)) throw TypeError("RegExp#exec called on incompatible receiver")
- return i.call(e, t)
- }
- },
- {
- "./classof-raw": 125,
- "./regexp-exec": 199
- }
- ],
- 199: [
- function (e, t, r) {
- "use strict"
- var n = e("./regexp-flags"),
- i = e("./regexp-sticky-helpers"),
- o = RegExp.prototype.exec,
- a = String.prototype.replace,
- s = o,
- l = (function () {
- var e = /a/,
- t = /b*/g
- return o.call(e, "a"), o.call(t, "a"), 0 !== e.lastIndex || 0 !== t.lastIndex
- })(),
- c = i.UNSUPPORTED_Y || i.BROKEN_CARET,
- u = void 0 !== /()??/.exec("")[1],
- f = l || u || c
- f &&
- (s = function (e) {
- var t,
- r,
- i,
- s,
- f = this,
- p = c && f.sticky,
- d = n.call(f),
- h = f.source,
- m = 0,
- g = e
- return (
- p &&
- ((d = d.replace("y", "")),
- -1 === d.indexOf("g") && (d += "g"),
- (g = String(e).slice(f.lastIndex)),
- f.lastIndex > 0 &&
- (!f.multiline || (f.multiline && "\n" !== e[f.lastIndex - 1])) &&
- ((h = "(?: " + h + ")"), (g = " " + g), m++),
- (r = new RegExp("^(?:" + h + ")", d))),
- u && (r = new RegExp("^" + h + "$(?!\\s)", d)),
- l && (t = f.lastIndex),
- (i = o.call(p ? r : f, g)),
- p
- ? i
- ? ((i.input = i.input.slice(m)), (i[0] = i[0].slice(m)), (i.index = f.lastIndex), (f.lastIndex += i[0].length))
- : (f.lastIndex = 0)
- : l && i && (f.lastIndex = f.global ? i.index + i[0].length : t),
- u &&
- i &&
- i.length > 1 &&
- a.call(i[0], r, function () {
- for (s = 1; s < arguments.length - 2; s++) void 0 === arguments[s] && (i[s] = void 0)
- }),
- i
- )
- }),
- (t.exports = s)
- },
- {
- "./regexp-flags": 200,
- "./regexp-sticky-helpers": 201
- }
- ],
- 200: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/an-object")
- t.exports = function () {
- var e = n(this),
- t = ""
- return (
- e.global && (t += "g"),
- e.ignoreCase && (t += "i"),
- e.multiline && (t += "m"),
- e.dotAll && (t += "s"),
- e.unicode && (t += "u"),
- e.sticky && (t += "y"),
- t
- )
- }
- },
- {
- "../internals/an-object": 107
- }
- ],
- 201: [
- function (e, t, r) {
- "use strict"
- var n = e("./fails")
- function i(e, t) {
- return RegExp(e, t)
- }
- ;(r.UNSUPPORTED_Y = n(function () {
- var e = i("a", "y")
- return (e.lastIndex = 2), null != e.exec("abcd")
- })),
- (r.BROKEN_CARET = n(function () {
- var e = i("^r", "gy")
- return (e.lastIndex = 2), null != e.exec("str")
- }))
- },
- {
- "./fails": 145
- }
- ],
- 202: [
- function (e, t, r) {
- t.exports = function (e) {
- if (void 0 == e) throw TypeError("Can't call method on " + e)
- return e
- }
- },
- {}
- ],
- 203: [
- function (e, t, r) {
- t.exports =
- Object.is ||
- function (e, t) {
- return e === t ? 0 !== e || 1 / e === 1 / t : e != e && t != t
- }
- },
- {}
- ],
- 204: [
- function (e, t, r) {
- var n = e("../internals/global"),
- i = e("../internals/create-non-enumerable-property")
- t.exports = function (e, t) {
- try {
- i(n, e, t)
- } catch (r) {
- n[e] = t
- }
- return t
- }
- },
- {
- "../internals/create-non-enumerable-property": 131,
- "../internals/global": 150
- }
- ],
- 205: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/get-built-in"),
- i = e("../internals/object-define-property"),
- o = e("../internals/well-known-symbol"),
- a = e("../internals/descriptors"),
- s = o("species")
- t.exports = function (e) {
- var t = n(e),
- r = i.f
- a &&
- t &&
- !t[s] &&
- r(t, s, {
- configurable: !0,
- get: function () {
- return this
- }
- })
- }
- },
- {
- "../internals/descriptors": 136,
- "../internals/get-built-in": 148,
- "../internals/object-define-property": 180,
- "../internals/well-known-symbol": 231
- }
- ],
- 206: [
- function (e, t, r) {
- var n = e("../internals/object-define-property").f,
- i = e("../internals/has"),
- o = e("../internals/well-known-symbol"),
- a = o("toStringTag")
- t.exports = function (e, t, r) {
- e &&
- !i((e = r ? e : e.prototype), a) &&
- n(e, a, {
- configurable: !0,
- value: t
- })
- }
- },
- {
- "../internals/has": 151,
- "../internals/object-define-property": 180,
- "../internals/well-known-symbol": 231
- }
- ],
- 207: [
- function (e, t, r) {
- var n = e("../internals/shared"),
- i = e("../internals/uid"),
- o = n("keys")
- t.exports = function (e) {
- return o[e] || (o[e] = i(e))
- }
- },
- {
- "../internals/shared": 209,
- "../internals/uid": 228
- }
- ],
- 208: [
- function (e, t, r) {
- var n = e("../internals/global"),
- i = e("../internals/set-global"),
- o = "__core-js_shared__",
- a = n[o] || i(o, {})
- t.exports = a
- },
- {
- "../internals/global": 150,
- "../internals/set-global": 204
- }
- ],
- 209: [
- function (e, t, r) {
- var n = e("../internals/is-pure"),
- i = e("../internals/shared-store")
- ;(t.exports = function (e, t) {
- return i[e] || (i[e] = void 0 !== t ? t : {})
- })("versions", []).push({
- version: "3.7.0",
- mode: n ? "pure" : "global",
- copyright: "© 2020 Denis Pushkarev (zloirock.ru)"
- })
- },
- {
- "../internals/is-pure": 165,
- "../internals/shared-store": 208
- }
- ],
- 210: [
- function (e, t, r) {
- var n = e("../internals/an-object"),
- i = e("../internals/a-function"),
- o = e("../internals/well-known-symbol"),
- a = o("species")
- t.exports = function (e, t) {
- var r,
- o = n(e).constructor
- return void 0 === o || void 0 == (r = n(o)[a]) ? t : i(r)
- }
- },
- {
- "../internals/a-function": 102,
- "../internals/an-object": 107,
- "../internals/well-known-symbol": 231
- }
- ],
- 211: [
- function (e, t, r) {
- var n = e("../internals/to-integer"),
- i = e("../internals/require-object-coercible"),
- o = function (e) {
- return function (t, r) {
- var o,
- a,
- s = String(i(t)),
- l = n(r),
- c = s.length
- return l < 0 || l >= c
- ? e
- ? ""
- : void 0
- : ((o = s.charCodeAt(l)),
- o < 55296 || o > 56319 || l + 1 === c || (a = s.charCodeAt(l + 1)) < 56320 || a > 57343
- ? e
- ? s.charAt(l)
- : o
- : e
- ? s.slice(l, l + 2)
- : a - 56320 + ((o - 55296) << 10) + 65536)
- }
- }
- t.exports = {
- codeAt: o(!1),
- charAt: o(!0)
- }
- },
- {
- "../internals/require-object-coercible": 202,
- "../internals/to-integer": 218
- }
- ],
- 212: [
- function (e, t, r) {
- var n = e("../internals/fails"),
- i = e("../internals/whitespaces"),
- o = "
"
- t.exports = function (e) {
- return n(function () {
- return !!i[e]() || o[e]() != o || i[e].name !== e
- })
- }
- },
- {
- "../internals/fails": 145,
- "../internals/whitespaces": 232
- }
- ],
- 213: [
- function (e, t, r) {
- var n = e("../internals/require-object-coercible"),
- i = e("../internals/whitespaces"),
- o = "[" + i + "]",
- a = RegExp("^" + o + o + "*"),
- s = RegExp(o + o + "*$"),
- l = function (e) {
- return function (t) {
- var r = String(n(t))
- return 1 & e && (r = r.replace(a, "")), 2 & e && (r = r.replace(s, "")), r
- }
- }
- t.exports = {
- start: l(1),
- end: l(2),
- trim: l(3)
- }
- },
- {
- "../internals/require-object-coercible": 202,
- "../internals/whitespaces": 232
- }
- ],
- 214: [
- function (e, t, r) {
- var n,
- i,
- o,
- a = e("../internals/global"),
- s = e("../internals/fails"),
- l = e("../internals/function-bind-context"),
- c = e("../internals/html"),
- u = e("../internals/document-create-element"),
- f = e("../internals/engine-is-ios"),
- p = e("../internals/engine-is-node"),
- d = a.location,
- h = a.setImmediate,
- m = a.clearImmediate,
- g = a.process,
- y = a.MessageChannel,
- v = a.Dispatch,
- b = 0,
- w = {},
- x = "onreadystatechange",
- A = function (e) {
- if (w.hasOwnProperty(e)) {
- var t = w[e]
- delete w[e], t()
- }
- },
- _ = function (e) {
- return function () {
- A(e)
- }
- },
- T = function (e) {
- A(e.data)
- },
- E = function (e) {
- a.postMessage(e + "", d.protocol + "//" + d.host)
- }
- ;(h && m) ||
- ((h = function (e) {
- var t = [],
- r = 1
- while (arguments.length > r) t.push(arguments[r++])
- return (
- (w[++b] = function () {
- ;("function" == typeof e ? e : Function(e)).apply(void 0, t)
- }),
- n(b),
- b
- )
- }),
- (m = function (e) {
- delete w[e]
- }),
- p
- ? (n = function (e) {
- g.nextTick(_(e))
- })
- : v && v.now
- ? (n = function (e) {
- v.now(_(e))
- })
- : y && !f
- ? ((i = new y()), (o = i.port2), (i.port1.onmessage = T), (n = l(o.postMessage, o, 1)))
- : a.addEventListener && "function" == typeof postMessage && !a.importScripts && d && "file:" !== d.protocol && !s(E)
- ? ((n = E), a.addEventListener("message", T, !1))
- : (n =
- x in u("script")
- ? function (e) {
- c.appendChild(u("script"))[x] = function () {
- c.removeChild(this), A(e)
- }
- }
- : function (e) {
- setTimeout(_(e), 0)
- })),
- (t.exports = {
- set: h,
- clear: m
- })
- },
- {
- "../internals/document-create-element": 137,
- "../internals/engine-is-ios": 139,
- "../internals/engine-is-node": 140,
- "../internals/fails": 145,
- "../internals/function-bind-context": 147,
- "../internals/global": 150,
- "../internals/html": 154
- }
- ],
- 215: [
- function (e, t, r) {
- var n = e("../internals/to-integer"),
- i = Math.max,
- o = Math.min
- t.exports = function (e, t) {
- var r = n(e)
- return r < 0 ? i(r + t, 0) : o(r, t)
- }
- },
- {
- "../internals/to-integer": 218
- }
- ],
- 216: [
- function (e, t, r) {
- var n = e("../internals/to-integer"),
- i = e("../internals/to-length")
- t.exports = function (e) {
- if (void 0 === e) return 0
- var t = n(e),
- r = i(t)
- if (t !== r) throw RangeError("Wrong length or index")
- return r
- }
- },
- {
- "../internals/to-integer": 218,
- "../internals/to-length": 219
- }
- ],
- 217: [
- function (e, t, r) {
- var n = e("../internals/indexed-object"),
- i = e("../internals/require-object-coercible")
- t.exports = function (e) {
- return n(i(e))
- }
- },
- {
- "../internals/indexed-object": 157,
- "../internals/require-object-coercible": 202
- }
- ],
- 218: [
- function (e, t, r) {
- var n = Math.ceil,
- i = Math.floor
- t.exports = function (e) {
- return isNaN((e = +e)) ? 0 : (e > 0 ? i : n)(e)
- }
- },
- {}
- ],
- 219: [
- function (e, t, r) {
- var n = e("../internals/to-integer"),
- i = Math.min
- t.exports = function (e) {
- return e > 0 ? i(n(e), 9007199254740991) : 0
- }
- },
- {
- "../internals/to-integer": 218
- }
- ],
- 220: [
- function (e, t, r) {
- var n = e("../internals/require-object-coercible")
- t.exports = function (e) {
- return Object(n(e))
- }
- },
- {
- "../internals/require-object-coercible": 202
- }
- ],
- 221: [
- function (e, t, r) {
- var n = e("../internals/to-positive-integer")
- t.exports = function (e, t) {
- var r = n(e)
- if (r % t) throw RangeError("Wrong offset")
- return r
- }
- },
- {
- "../internals/to-positive-integer": 222
- }
- ],
- 222: [
- function (e, t, r) {
- var n = e("../internals/to-integer")
- t.exports = function (e) {
- var t = n(e)
- if (t < 0) throw RangeError("The argument can't be less than 0")
- return t
- }
- },
- {
- "../internals/to-integer": 218
- }
- ],
- 223: [
- function (e, t, r) {
- var n = e("../internals/is-object")
- t.exports = function (e, t) {
- if (!n(e)) return e
- var r, i
- if (t && "function" == typeof (r = e.toString) && !n((i = r.call(e)))) return i
- if ("function" == typeof (r = e.valueOf) && !n((i = r.call(e)))) return i
- if (!t && "function" == typeof (r = e.toString) && !n((i = r.call(e)))) return i
- throw TypeError("Can't convert object to primitive value")
- }
- },
- {
- "../internals/is-object": 164
- }
- ],
- 224: [
- function (e, t, r) {
- var n = e("../internals/well-known-symbol"),
- i = n("toStringTag"),
- o = {}
- ;(o[i] = "z"), (t.exports = "[object z]" === String(o))
- },
- {
- "../internals/well-known-symbol": 231
- }
- ],
- 225: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/global"),
- o = e("../internals/descriptors"),
- a = e("../internals/typed-array-constructors-require-wrappers"),
- s = e("../internals/array-buffer-view-core"),
- l = e("../internals/array-buffer"),
- c = e("../internals/an-instance"),
- u = e("../internals/create-property-descriptor"),
- f = e("../internals/create-non-enumerable-property"),
- p = e("../internals/to-length"),
- d = e("../internals/to-index"),
- h = e("../internals/to-offset"),
- m = e("../internals/to-primitive"),
- g = e("../internals/has"),
- y = e("../internals/classof"),
- v = e("../internals/is-object"),
- b = e("../internals/object-create"),
- w = e("../internals/object-set-prototype-of"),
- x = e("../internals/object-get-own-property-names").f,
- A = e("../internals/typed-array-from"),
- _ = e("../internals/array-iteration").forEach,
- T = e("../internals/set-species"),
- E = e("../internals/object-define-property"),
- S = e("../internals/object-get-own-property-descriptor"),
- C = e("../internals/internal-state"),
- k = e("../internals/inherit-if-required"),
- L = C.get,
- P = C.set,
- O = E.f,
- j = S.f,
- R = Math.round,
- I = i.RangeError,
- N = l.ArrayBuffer,
- M = l.DataView,
- D = s.NATIVE_ARRAY_BUFFER_VIEWS,
- B = s.TYPED_ARRAY_TAG,
- F = s.TypedArray,
- U = s.TypedArrayPrototype,
- z = s.aTypedArrayConstructor,
- q = s.isTypedArray,
- G = "BYTES_PER_ELEMENT",
- W = "Wrong length",
- V = function (e, t) {
- var r = 0,
- n = t.length,
- i = new (z(e))(n)
- while (n > r) i[r] = t[r++]
- return i
- },
- H = function (e, t) {
- O(e, t, {
- get: function () {
- return L(this)[t]
- }
- })
- },
- X = function (e) {
- var t
- return e instanceof N || "ArrayBuffer" == (t = y(e)) || "SharedArrayBuffer" == t
- },
- Y = function (e, t) {
- return q(e) && "symbol" != typeof t && t in e && String(+t) == String(t)
- },
- K = function (e, t) {
- return Y(e, (t = m(t, !0))) ? u(2, e[t]) : j(e, t)
- },
- Z = function (e, t, r) {
- return !(Y(e, (t = m(t, !0))) && v(r) && g(r, "value")) ||
- g(r, "get") ||
- g(r, "set") ||
- r.configurable ||
- (g(r, "writable") && !r.writable) ||
- (g(r, "enumerable") && !r.enumerable)
- ? O(e, t, r)
- : ((e[t] = r.value), e)
- }
- o
- ? (D || ((S.f = K), (E.f = Z), H(U, "buffer"), H(U, "byteOffset"), H(U, "byteLength"), H(U, "length")),
- n(
- {
- target: "Object",
- stat: !0,
- forced: !D
- },
- {
- getOwnPropertyDescriptor: K,
- defineProperty: Z
- }
- ),
- (t.exports = function (e, t, r) {
- var o = e.match(/\d+$/)[0] / 8,
- s = e + (r ? "Clamped" : "") + "Array",
- l = "get" + e,
- u = "set" + e,
- m = i[s],
- g = m,
- y = g && g.prototype,
- E = {},
- S = function (e, t) {
- var r = L(e)
- return r.view[l](t * o + r.byteOffset, !0)
- },
- C = function (e, t, n) {
- var i = L(e)
- r && (n = (n = R(n)) < 0 ? 0 : n > 255 ? 255 : 255 & n), i.view[u](t * o + i.byteOffset, n, !0)
- },
- j = function (e, t) {
- O(e, t, {
- get: function () {
- return S(this, t)
- },
- set: function (e) {
- return C(this, t, e)
- },
- enumerable: !0
- })
- }
- D
- ? a &&
- ((g = t(function (e, t, r, n) {
- return (
- c(e, g, s),
- k(
- (function () {
- return v(t)
- ? X(t)
- ? void 0 !== n
- ? new m(t, h(r, o), n)
- : void 0 !== r
- ? new m(t, h(r, o))
- : new m(t)
- : q(t)
- ? V(g, t)
- : A.call(g, t)
- : new m(d(t))
- })(),
- e,
- g
- )
- )
- })),
- w && w(g, F),
- _(x(m), function (e) {
- e in g || f(g, e, m[e])
- }),
- (g.prototype = y))
- : ((g = t(function (e, t, r, n) {
- c(e, g, s)
- var i,
- a,
- l,
- u = 0,
- f = 0
- if (v(t)) {
- if (!X(t)) return q(t) ? V(g, t) : A.call(g, t)
- ;(i = t), (f = h(r, o))
- var m = t.byteLength
- if (void 0 === n) {
- if (m % o) throw I(W)
- if (((a = m - f), a < 0)) throw I(W)
- } else if (((a = p(n) * o), a + f > m)) throw I(W)
- l = a / o
- } else (l = d(t)), (a = l * o), (i = new N(a))
- P(e, {
- buffer: i,
- byteOffset: f,
- byteLength: a,
- length: l,
- view: new M(i)
- })
- while (u < l) j(e, u++)
- })),
- w && w(g, F),
- (y = g.prototype = b(U))),
- y.constructor !== g && f(y, "constructor", g),
- B && f(y, B, s),
- (E[s] = g),
- n(
- {
- global: !0,
- forced: g != m,
- sham: !D
- },
- E
- ),
- G in g || f(g, G, o),
- G in y || f(y, G, o),
- T(s)
- }))
- : (t.exports = function () {})
- },
- {
- "../internals/an-instance": 106,
- "../internals/array-buffer": 110,
- "../internals/array-buffer-view-core": 109,
- "../internals/array-iteration": 116,
- "../internals/classof": 126,
- "../internals/create-non-enumerable-property": 131,
- "../internals/create-property-descriptor": 132,
- "../internals/descriptors": 136,
- "../internals/export": 144,
- "../internals/global": 150,
- "../internals/has": 151,
- "../internals/inherit-if-required": 158,
- "../internals/internal-state": 160,
- "../internals/is-object": 164,
- "../internals/object-create": 178,
- "../internals/object-define-property": 180,
- "../internals/object-get-own-property-descriptor": 181,
- "../internals/object-get-own-property-names": 183,
- "../internals/object-set-prototype-of": 189,
- "../internals/set-species": 205,
- "../internals/to-index": 216,
- "../internals/to-length": 219,
- "../internals/to-offset": 221,
- "../internals/to-primitive": 223,
- "../internals/typed-array-constructors-require-wrappers": 226,
- "../internals/typed-array-from": 227
- }
- ],
- 226: [
- function (e, t, r) {
- var n = e("../internals/global"),
- i = e("../internals/fails"),
- o = e("../internals/check-correctness-of-iteration"),
- a = e("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,
- s = n.ArrayBuffer,
- l = n.Int8Array
- t.exports =
- !a ||
- !i(function () {
- l(1)
- }) ||
- !i(function () {
- new l(-1)
- }) ||
- !o(function (e) {
- new l(), new l(null), new l(1.5), new l(e)
- }, !0) ||
- i(function () {
- return 1 !== new l(new s(2), 1, void 0).length
- })
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/check-correctness-of-iteration": 124,
- "../internals/fails": 145,
- "../internals/global": 150
- }
- ],
- 227: [
- function (e, t, r) {
- var n = e("../internals/to-object"),
- i = e("../internals/to-length"),
- o = e("../internals/get-iterator-method"),
- a = e("../internals/is-array-iterator-method"),
- s = e("../internals/function-bind-context"),
- l = e("../internals/array-buffer-view-core").aTypedArrayConstructor
- t.exports = function (e) {
- var t,
- r,
- c,
- u,
- f,
- p,
- d = n(e),
- h = arguments.length,
- m = h > 1 ? arguments[1] : void 0,
- g = void 0 !== m,
- y = o(d)
- if (void 0 != y && !a(y)) {
- ;(f = y.call(d)), (p = f.next), (d = [])
- while (!(u = p.call(f)).done) d.push(u.value)
- }
- for (g && h > 2 && (m = s(m, arguments[2], 2)), r = i(d.length), c = new (l(this))(r), t = 0; r > t; t++)
- c[t] = g ? m(d[t], t) : d[t]
- return c
- }
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/function-bind-context": 147,
- "../internals/get-iterator-method": 149,
- "../internals/is-array-iterator-method": 161,
- "../internals/to-length": 219,
- "../internals/to-object": 220
- }
- ],
- 228: [
- function (e, t, r) {
- var n = 0,
- i = Math.random()
- t.exports = function (e) {
- return "Symbol(" + String(void 0 === e ? "" : e) + ")_" + (++n + i).toString(36)
- }
- },
- {}
- ],
- 229: [
- function (e, t, r) {
- var n = e("../internals/native-symbol")
- t.exports = n && !Symbol.sham && "symbol" == typeof Symbol.iterator
- },
- {
- "../internals/native-symbol": 173
- }
- ],
- 230: [
- function (e, t, r) {
- var n = e("../internals/well-known-symbol")
- r.f = n
- },
- {
- "../internals/well-known-symbol": 231
- }
- ],
- 231: [
- function (e, t, r) {
- var n = e("../internals/global"),
- i = e("../internals/shared"),
- o = e("../internals/has"),
- a = e("../internals/uid"),
- s = e("../internals/native-symbol"),
- l = e("../internals/use-symbol-as-uid"),
- c = i("wks"),
- u = n.Symbol,
- f = l ? u : (u && u.withoutSetter) || a
- t.exports = function (e) {
- return o(c, e) || (s && o(u, e) ? (c[e] = u[e]) : (c[e] = f("Symbol." + e))), c[e]
- }
- },
- {
- "../internals/global": 150,
- "../internals/has": 151,
- "../internals/native-symbol": 173,
- "../internals/shared": 209,
- "../internals/uid": 228,
- "../internals/use-symbol-as-uid": 229
- }
- ],
- 232: [
- function (e, t, r) {
- t.exports = "\t\n\v\f\r \u2028\u2029\ufeff"
- },
- {}
- ],
- 233: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/fails"),
- o = e("../internals/array-buffer"),
- a = e("../internals/an-object"),
- s = e("../internals/to-absolute-index"),
- l = e("../internals/to-length"),
- c = e("../internals/species-constructor"),
- u = o.ArrayBuffer,
- f = o.DataView,
- p = u.prototype.slice,
- d = i(function () {
- return !new u(2).slice(1, void 0).byteLength
- })
- n(
- {
- target: "ArrayBuffer",
- proto: !0,
- unsafe: !0,
- forced: d
- },
- {
- slice: function (e, t) {
- if (void 0 !== p && void 0 === t) return p.call(a(this), e)
- var r = a(this).byteLength,
- n = s(e, r),
- i = s(void 0 === t ? r : t, r),
- o = new (c(this, u))(l(i - n)),
- d = new f(this),
- h = new f(o),
- m = 0
- while (n < i) h.setUint8(m++, d.getUint8(n++))
- return o
- }
- }
- )
- },
- {
- "../internals/an-object": 107,
- "../internals/array-buffer": 110,
- "../internals/export": 144,
- "../internals/fails": 145,
- "../internals/species-constructor": 210,
- "../internals/to-absolute-index": 215,
- "../internals/to-length": 219
- }
- ],
- 234: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/fails"),
- o = e("../internals/is-array"),
- a = e("../internals/is-object"),
- s = e("../internals/to-object"),
- l = e("../internals/to-length"),
- c = e("../internals/create-property"),
- u = e("../internals/array-species-create"),
- f = e("../internals/array-method-has-species-support"),
- p = e("../internals/well-known-symbol"),
- d = e("../internals/engine-v8-version"),
- h = p("isConcatSpreadable"),
- m = 9007199254740991,
- g = "Maximum allowed index exceeded",
- y =
- d >= 51 ||
- !i(function () {
- var e = []
- return (e[h] = !1), e.concat()[0] !== e
- }),
- v = f("concat"),
- b = function (e) {
- if (!a(e)) return !1
- var t = e[h]
- return void 0 !== t ? !!t : o(e)
- },
- w = !y || !v
- n(
- {
- target: "Array",
- proto: !0,
- forced: w
- },
- {
- concat: function (e) {
- var t,
- r,
- n,
- i,
- o,
- a = s(this),
- f = u(a, 0),
- p = 0
- for (t = -1, n = arguments.length; t < n; t++)
- if (((o = -1 === t ? a : arguments[t]), b(o))) {
- if (((i = l(o.length)), p + i > m)) throw TypeError(g)
- for (r = 0; r < i; r++, p++) r in o && c(f, p, o[r])
- } else {
- if (p >= m) throw TypeError(g)
- c(f, p++, o)
- }
- return (f.length = p), f
- }
- }
- )
- },
- {
- "../internals/array-method-has-species-support": 118,
- "../internals/array-species-create": 122,
- "../internals/create-property": 133,
- "../internals/engine-v8-version": 142,
- "../internals/export": 144,
- "../internals/fails": 145,
- "../internals/is-array": 162,
- "../internals/is-object": 164,
- "../internals/to-length": 219,
- "../internals/to-object": 220,
- "../internals/well-known-symbol": 231
- }
- ],
- 235: [
- function (e, t, r) {
- var n = e("../internals/export"),
- i = e("../internals/array-fill"),
- o = e("../internals/add-to-unscopables")
- n(
- {
- target: "Array",
- proto: !0
- },
- {
- fill: i
- }
- ),
- o("fill")
- },
- {
- "../internals/add-to-unscopables": 104,
- "../internals/array-fill": 112,
- "../internals/export": 144
- }
- ],
- 236: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/array-iteration").filter,
- o = e("../internals/array-method-has-species-support"),
- a = e("../internals/array-method-uses-to-length"),
- s = o("filter"),
- l = a("filter")
- n(
- {
- target: "Array",
- proto: !0,
- forced: !s || !l
- },
- {
- filter: function (e) {
- return i(this, e, arguments.length > 1 ? arguments[1] : void 0)
- }
- }
- )
- },
- {
- "../internals/array-iteration": 116,
- "../internals/array-method-has-species-support": 118,
- "../internals/array-method-uses-to-length": 120,
- "../internals/export": 144
- }
- ],
- 237: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/array-iteration").find,
- o = e("../internals/add-to-unscopables"),
- a = e("../internals/array-method-uses-to-length"),
- s = "find",
- l = !0,
- c = a(s)
- s in [] &&
- Array(1)[s](function () {
- l = !1
- }),
- n(
- {
- target: "Array",
- proto: !0,
- forced: l || !c
- },
- {
- find: function (e) {
- return i(this, e, arguments.length > 1 ? arguments[1] : void 0)
- }
- }
- ),
- o(s)
- },
- {
- "../internals/add-to-unscopables": 104,
- "../internals/array-iteration": 116,
- "../internals/array-method-uses-to-length": 120,
- "../internals/export": 144
- }
- ],
- 238: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/array-for-each")
- n(
- {
- target: "Array",
- proto: !0,
- forced: [].forEach != i
- },
- {
- forEach: i
- }
- )
- },
- {
- "../internals/array-for-each": 113,
- "../internals/export": 144
- }
- ],
- 239: [
- function (e, t, r) {
- var n = e("../internals/export"),
- i = e("../internals/array-from"),
- o = e("../internals/check-correctness-of-iteration"),
- a = !o(function (e) {
- Array.from(e)
- })
- n(
- {
- target: "Array",
- stat: !0,
- forced: a
- },
- {
- from: i
- }
- )
- },
- {
- "../internals/array-from": 114,
- "../internals/check-correctness-of-iteration": 124,
- "../internals/export": 144
- }
- ],
- 240: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/array-includes").includes,
- o = e("../internals/add-to-unscopables"),
- a = e("../internals/array-method-uses-to-length"),
- s = a("indexOf", {
- ACCESSORS: !0,
- 1: 0
- })
- n(
- {
- target: "Array",
- proto: !0,
- forced: !s
- },
- {
- includes: function (e) {
- return i(this, e, arguments.length > 1 ? arguments[1] : void 0)
- }
- }
- ),
- o("includes")
- },
- {
- "../internals/add-to-unscopables": 104,
- "../internals/array-includes": 115,
- "../internals/array-method-uses-to-length": 120,
- "../internals/export": 144
- }
- ],
- 241: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/array-includes").indexOf,
- o = e("../internals/array-method-is-strict"),
- a = e("../internals/array-method-uses-to-length"),
- s = [].indexOf,
- l = !!s && 1 / [1].indexOf(1, -0) < 0,
- c = o("indexOf"),
- u = a("indexOf", {
- ACCESSORS: !0,
- 1: 0
- })
- n(
- {
- target: "Array",
- proto: !0,
- forced: l || !c || !u
- },
- {
- indexOf: function (e) {
- return l ? s.apply(this, arguments) || 0 : i(this, e, arguments.length > 1 ? arguments[1] : void 0)
- }
- }
- )
- },
- {
- "../internals/array-includes": 115,
- "../internals/array-method-is-strict": 119,
- "../internals/array-method-uses-to-length": 120,
- "../internals/export": 144
- }
- ],
- 242: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/to-indexed-object"),
- i = e("../internals/add-to-unscopables"),
- o = e("../internals/iterators"),
- a = e("../internals/internal-state"),
- s = e("../internals/define-iterator"),
- l = "Array Iterator",
- c = a.set,
- u = a.getterFor(l)
- ;(t.exports = s(
- Array,
- "Array",
- function (e, t) {
- c(this, {
- type: l,
- target: n(e),
- index: 0,
- kind: t
- })
- },
- function () {
- var e = u(this),
- t = e.target,
- r = e.kind,
- n = e.index++
- return !t || n >= t.length
- ? ((e.target = void 0),
- {
- value: void 0,
- done: !0
- })
- : "keys" == r
- ? {
- value: n,
- done: !1
- }
- : "values" == r
- ? {
- value: t[n],
- done: !1
- }
- : {
- value: [n, t[n]],
- done: !1
- }
- },
- "values"
- )),
- (o.Arguments = o.Array),
- i("keys"),
- i("values"),
- i("entries")
- },
- {
- "../internals/add-to-unscopables": 104,
- "../internals/define-iterator": 134,
- "../internals/internal-state": 160,
- "../internals/iterators": 170,
- "../internals/to-indexed-object": 217
- }
- ],
- 243: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/indexed-object"),
- o = e("../internals/to-indexed-object"),
- a = e("../internals/array-method-is-strict"),
- s = [].join,
- l = i != Object,
- c = a("join", ",")
- n(
- {
- target: "Array",
- proto: !0,
- forced: l || !c
- },
- {
- join: function (e) {
- return s.call(o(this), void 0 === e ? "," : e)
- }
- }
- )
- },
- {
- "../internals/array-method-is-strict": 119,
- "../internals/export": 144,
- "../internals/indexed-object": 157,
- "../internals/to-indexed-object": 217
- }
- ],
- 244: [
- function (e, t, r) {
- var n = e("../internals/export"),
- i = e("../internals/array-last-index-of")
- n(
- {
- target: "Array",
- proto: !0,
- forced: i !== [].lastIndexOf
- },
- {
- lastIndexOf: i
- }
- )
- },
- {
- "../internals/array-last-index-of": 117,
- "../internals/export": 144
- }
- ],
- 245: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/array-iteration").map,
- o = e("../internals/array-method-has-species-support"),
- a = e("../internals/array-method-uses-to-length"),
- s = o("map"),
- l = a("map")
- n(
- {
- target: "Array",
- proto: !0,
- forced: !s || !l
- },
- {
- map: function (e) {
- return i(this, e, arguments.length > 1 ? arguments[1] : void 0)
- }
- }
- )
- },
- {
- "../internals/array-iteration": 116,
- "../internals/array-method-has-species-support": 118,
- "../internals/array-method-uses-to-length": 120,
- "../internals/export": 144
- }
- ],
- 246: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/is-object"),
- o = e("../internals/is-array"),
- a = e("../internals/to-absolute-index"),
- s = e("../internals/to-length"),
- l = e("../internals/to-indexed-object"),
- c = e("../internals/create-property"),
- u = e("../internals/well-known-symbol"),
- f = e("../internals/array-method-has-species-support"),
- p = e("../internals/array-method-uses-to-length"),
- d = f("slice"),
- h = p("slice", {
- ACCESSORS: !0,
- 0: 0,
- 1: 2
- }),
- m = u("species"),
- g = [].slice,
- y = Math.max
- n(
- {
- target: "Array",
- proto: !0,
- forced: !d || !h
- },
- {
- slice: function (e, t) {
- var r,
- n,
- u,
- f = l(this),
- p = s(f.length),
- d = a(e, p),
- h = a(void 0 === t ? p : t, p)
- if (
- o(f) &&
- ((r = f.constructor),
- "function" != typeof r || (r !== Array && !o(r.prototype))
- ? i(r) && ((r = r[m]), null === r && (r = void 0))
- : (r = void 0),
- r === Array || void 0 === r)
- )
- return g.call(f, d, h)
- for (n = new (void 0 === r ? Array : r)(y(h - d, 0)), u = 0; d < h; d++, u++) d in f && c(n, u, f[d])
- return (n.length = u), n
- }
- }
- )
- },
- {
- "../internals/array-method-has-species-support": 118,
- "../internals/array-method-uses-to-length": 120,
- "../internals/create-property": 133,
- "../internals/export": 144,
- "../internals/is-array": 162,
- "../internals/is-object": 164,
- "../internals/to-absolute-index": 215,
- "../internals/to-indexed-object": 217,
- "../internals/to-length": 219,
- "../internals/well-known-symbol": 231
- }
- ],
- 247: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/a-function"),
- o = e("../internals/to-object"),
- a = e("../internals/fails"),
- s = e("../internals/array-method-is-strict"),
- l = [],
- c = l.sort,
- u = a(function () {
- l.sort(void 0)
- }),
- f = a(function () {
- l.sort(null)
- }),
- p = s("sort"),
- d = u || !f || !p
- n(
- {
- target: "Array",
- proto: !0,
- forced: d
- },
- {
- sort: function (e) {
- return void 0 === e ? c.call(o(this)) : c.call(o(this), i(e))
- }
- }
- )
- },
- {
- "../internals/a-function": 102,
- "../internals/array-method-is-strict": 119,
- "../internals/export": 144,
- "../internals/fails": 145,
- "../internals/to-object": 220
- }
- ],
- 248: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/to-absolute-index"),
- o = e("../internals/to-integer"),
- a = e("../internals/to-length"),
- s = e("../internals/to-object"),
- l = e("../internals/array-species-create"),
- c = e("../internals/create-property"),
- u = e("../internals/array-method-has-species-support"),
- f = e("../internals/array-method-uses-to-length"),
- p = u("splice"),
- d = f("splice", {
- ACCESSORS: !0,
- 0: 0,
- 1: 2
- }),
- h = Math.max,
- m = Math.min,
- g = 9007199254740991,
- y = "Maximum allowed length exceeded"
- n(
- {
- target: "Array",
- proto: !0,
- forced: !p || !d
- },
- {
- splice: function (e, t) {
- var r,
- n,
- u,
- f,
- p,
- d,
- v = s(this),
- b = a(v.length),
- w = i(e, b),
- x = arguments.length
- if (
- (0 === x ? (r = n = 0) : 1 === x ? ((r = 0), (n = b - w)) : ((r = x - 2), (n = m(h(o(t), 0), b - w))),
- b + r - n > g)
- )
- throw TypeError(y)
- for (u = l(v, n), f = 0; f < n; f++) (p = w + f), p in v && c(u, f, v[p])
- if (((u.length = n), r < n)) {
- for (f = w; f < b - n; f++) (p = f + n), (d = f + r), p in v ? (v[d] = v[p]) : delete v[d]
- for (f = b; f > b - n + r; f--) delete v[f - 1]
- } else if (r > n) for (f = b - n; f > w; f--) (p = f + n - 1), (d = f + r - 1), p in v ? (v[d] = v[p]) : delete v[d]
- for (f = 0; f < r; f++) v[f + w] = arguments[f + 2]
- return (v.length = b - n + r), u
- }
- }
- )
- },
- {
- "../internals/array-method-has-species-support": 118,
- "../internals/array-method-uses-to-length": 120,
- "../internals/array-species-create": 122,
- "../internals/create-property": 133,
- "../internals/export": 144,
- "../internals/to-absolute-index": 215,
- "../internals/to-integer": 218,
- "../internals/to-length": 219,
- "../internals/to-object": 220
- }
- ],
- 249: [
- function (e, t, r) {
- var n = e("../internals/descriptors"),
- i = e("../internals/object-define-property").f,
- o = Function.prototype,
- a = o.toString,
- s = /^\s*function ([^ (]*)/,
- l = "name"
- n &&
- !(l in o) &&
- i(o, l, {
- configurable: !0,
- get: function () {
- try {
- return a.call(this).match(s)[1]
- } catch (e) {
- return ""
- }
- }
- })
- },
- {
- "../internals/descriptors": 136,
- "../internals/object-define-property": 180
- }
- ],
- 250: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/descriptors"),
- i = e("../internals/global"),
- o = e("../internals/is-forced"),
- a = e("../internals/redefine"),
- s = e("../internals/has"),
- l = e("../internals/classof-raw"),
- c = e("../internals/inherit-if-required"),
- u = e("../internals/to-primitive"),
- f = e("../internals/fails"),
- p = e("../internals/object-create"),
- d = e("../internals/object-get-own-property-names").f,
- h = e("../internals/object-get-own-property-descriptor").f,
- m = e("../internals/object-define-property").f,
- g = e("../internals/string-trim").trim,
- y = "Number",
- v = i[y],
- b = v.prototype,
- w = l(p(b)) == y,
- x = function (e) {
- var t,
- r,
- n,
- i,
- o,
- a,
- s,
- l,
- c = u(e, !1)
- if ("string" == typeof c && c.length > 2)
- if (((c = g(c)), (t = c.charCodeAt(0)), 43 === t || 45 === t)) {
- if (((r = c.charCodeAt(2)), 88 === r || 120 === r)) return NaN
- } else if (48 === t) {
- switch (c.charCodeAt(1)) {
- case 66:
- case 98:
- ;(n = 2), (i = 49)
- break
- case 79:
- case 111:
- ;(n = 8), (i = 55)
- break
- default:
- return +c
- }
- for (o = c.slice(2), a = o.length, s = 0; s < a; s++) if (((l = o.charCodeAt(s)), l < 48 || l > i)) return NaN
- return parseInt(o, n)
- }
- return +c
- }
- if (o(y, !v(" 0o1") || !v("0b1") || v("+0x1"))) {
- for (
- var A,
- _ = function (e) {
- var t = arguments.length < 1 ? 0 : e,
- r = this
- return r instanceof _ &&
- (w
- ? f(function () {
- b.valueOf.call(r)
- })
- : l(r) != y)
- ? c(new v(x(t)), r, _)
- : x(t)
- },
- T = n
- ? d(v)
- : "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(
- ","
- ),
- E = 0;
- T.length > E;
- E++
- )
- s(v, (A = T[E])) && !s(_, A) && m(_, A, h(v, A))
- ;(_.prototype = b), (b.constructor = _), a(i, y, _)
- }
- },
- {
- "../internals/classof-raw": 125,
- "../internals/descriptors": 136,
- "../internals/fails": 145,
- "../internals/global": 150,
- "../internals/has": 151,
- "../internals/inherit-if-required": 158,
- "../internals/is-forced": 163,
- "../internals/object-create": 178,
- "../internals/object-define-property": 180,
- "../internals/object-get-own-property-descriptor": 181,
- "../internals/object-get-own-property-names": 183,
- "../internals/redefine": 197,
- "../internals/string-trim": 213,
- "../internals/to-primitive": 223
- }
- ],
- 251: [
- function (e, t, r) {
- var n = e("../internals/export"),
- i = e("../internals/object-assign")
- n(
- {
- target: "Object",
- stat: !0,
- forced: Object.assign !== i
- },
- {
- assign: i
- }
- )
- },
- {
- "../internals/export": 144,
- "../internals/object-assign": 177
- }
- ],
- 252: [
- function (e, t, r) {
- var n = e("../internals/export"),
- i = e("../internals/object-to-array").entries
- n(
- {
- target: "Object",
- stat: !0
- },
- {
- entries: function (e) {
- return i(e)
- }
- }
- )
- },
- {
- "../internals/export": 144,
- "../internals/object-to-array": 190
- }
- ],
- 253: [
- function (e, t, r) {
- var n = e("../internals/export"),
- i = e("../internals/to-object"),
- o = e("../internals/object-keys"),
- a = e("../internals/fails"),
- s = a(function () {
- o(1)
- })
- n(
- {
- target: "Object",
- stat: !0,
- forced: s
- },
- {
- keys: function (e) {
- return o(i(e))
- }
- }
- )
- },
- {
- "../internals/export": 144,
- "../internals/fails": 145,
- "../internals/object-keys": 187,
- "../internals/to-object": 220
- }
- ],
- 254: [
- function (e, t, r) {
- var n = e("../internals/to-string-tag-support"),
- i = e("../internals/redefine"),
- o = e("../internals/object-to-string")
- n ||
- i(Object.prototype, "toString", o, {
- unsafe: !0
- })
- },
- {
- "../internals/object-to-string": 191,
- "../internals/redefine": 197,
- "../internals/to-string-tag-support": 224
- }
- ],
- 255: [
- function (e, t, r) {
- "use strict"
- var n,
- i,
- o,
- a,
- s = e("../internals/export"),
- l = e("../internals/is-pure"),
- c = e("../internals/global"),
- u = e("../internals/get-built-in"),
- f = e("../internals/native-promise-constructor"),
- p = e("../internals/redefine"),
- d = e("../internals/redefine-all"),
- h = e("../internals/set-to-string-tag"),
- m = e("../internals/set-species"),
- g = e("../internals/is-object"),
- y = e("../internals/a-function"),
- v = e("../internals/an-instance"),
- b = e("../internals/inspect-source"),
- w = e("../internals/iterate"),
- x = e("../internals/check-correctness-of-iteration"),
- A = e("../internals/species-constructor"),
- _ = e("../internals/task").set,
- T = e("../internals/microtask"),
- E = e("../internals/promise-resolve"),
- S = e("../internals/host-report-errors"),
- C = e("../internals/new-promise-capability"),
- k = e("../internals/perform"),
- L = e("../internals/internal-state"),
- P = e("../internals/is-forced"),
- O = e("../internals/well-known-symbol"),
- j = e("../internals/engine-is-node"),
- R = e("../internals/engine-v8-version"),
- I = O("species"),
- N = "Promise",
- M = L.get,
- D = L.set,
- B = L.getterFor(N),
- F = f,
- U = c.TypeError,
- z = c.document,
- q = c.process,
- G = u("fetch"),
- W = C.f,
- V = W,
- H = !!(z && z.createEvent && c.dispatchEvent),
- X = "function" == typeof PromiseRejectionEvent,
- Y = "unhandledrejection",
- K = "rejectionhandled",
- Z = 0,
- Q = 1,
- J = 2,
- $ = 1,
- ee = 2,
- te = P(N, function () {
- var e = b(F) !== String(F)
- if (!e) {
- if (66 === R) return !0
- if (!j && !X) return !0
- }
- if (l && !F.prototype["finally"]) return !0
- if (R >= 51 && /native code/.test(F)) return !1
- var t = F.resolve(1),
- r = function (e) {
- e(
- function () {},
- function () {}
- )
- },
- n = (t.constructor = {})
- return (n[I] = r), !(t.then(function () {}) instanceof r)
- }),
- re =
- te ||
- !x(function (e) {
- F.all(e)["catch"](function () {})
- }),
- ne = function (e) {
- var t
- return !(!g(e) || "function" != typeof (t = e.then)) && t
- },
- ie = function (e, t) {
- if (!e.notified) {
- e.notified = !0
- var r = e.reactions
- T(function () {
- var n = e.value,
- i = e.state == Q,
- o = 0
- while (r.length > o) {
- var a,
- s,
- l,
- c = r[o++],
- u = i ? c.ok : c.fail,
- f = c.resolve,
- p = c.reject,
- d = c.domain
- try {
- u
- ? (i || (e.rejection === ee && le(e), (e.rejection = $)),
- !0 === u ? (a = n) : (d && d.enter(), (a = u(n)), d && (d.exit(), (l = !0))),
- a === c.promise ? p(U("Promise-chain cycle")) : (s = ne(a)) ? s.call(a, f, p) : f(a))
- : p(n)
- } catch (h) {
- d && !l && d.exit(), p(h)
- }
- }
- ;(e.reactions = []), (e.notified = !1), t && !e.rejection && ae(e)
- })
- }
- },
- oe = function (e, t, r) {
- var n, i
- H
- ? ((n = z.createEvent("Event")), (n.promise = t), (n.reason = r), n.initEvent(e, !1, !0), c.dispatchEvent(n))
- : (n = {
- promise: t,
- reason: r
- }),
- !X && (i = c["on" + e]) ? i(n) : e === Y && S("Unhandled promise rejection", r)
- },
- ae = function (e) {
- _.call(c, function () {
- var t,
- r = e.facade,
- n = e.value,
- i = se(e)
- if (
- i &&
- ((t = k(function () {
- j ? q.emit("unhandledRejection", n, r) : oe(Y, r, n)
- })),
- (e.rejection = j || se(e) ? ee : $),
- t.error)
- )
- throw t.value
- })
- },
- se = function (e) {
- return e.rejection !== $ && !e.parent
- },
- le = function (e) {
- _.call(c, function () {
- var t = e.facade
- j ? q.emit("rejectionHandled", t) : oe(K, t, e.value)
- })
- },
- ce = function (e, t, r) {
- return function (n) {
- e(t, n, r)
- }
- },
- ue = function (e, t, r) {
- e.done || ((e.done = !0), r && (e = r), (e.value = t), (e.state = J), ie(e, !0))
- },
- fe = function (e, t, r) {
- if (!e.done) {
- ;(e.done = !0), r && (e = r)
- try {
- if (e.facade === t) throw U("Promise can't be resolved itself")
- var n = ne(t)
- n
- ? T(function () {
- var r = {
- done: !1
- }
- try {
- n.call(t, ce(fe, r, e), ce(ue, r, e))
- } catch (i) {
- ue(r, i, e)
- }
- })
- : ((e.value = t), (e.state = Q), ie(e, !1))
- } catch (i) {
- ue(
- {
- done: !1
- },
- i,
- e
- )
- }
- }
- }
- te &&
- ((F = function (e) {
- v(this, F, N), y(e), n.call(this)
- var t = M(this)
- try {
- e(ce(fe, t), ce(ue, t))
- } catch (r) {
- ue(t, r)
- }
- }),
- (n = function (e) {
- D(this, {
- type: N,
- done: !1,
- notified: !1,
- parent: !1,
- reactions: [],
- rejection: !1,
- state: Z,
- value: void 0
- })
- }),
- (n.prototype = d(F.prototype, {
- then: function (e, t) {
- var r = B(this),
- n = W(A(this, F))
- return (
- (n.ok = "function" != typeof e || e),
- (n.fail = "function" == typeof t && t),
- (n.domain = j ? q.domain : void 0),
- (r.parent = !0),
- r.reactions.push(n),
- r.state != Z && ie(r, !1),
- n.promise
- )
- },
- catch: function (e) {
- return this.then(void 0, e)
- }
- })),
- (i = function () {
- var e = new n(),
- t = M(e)
- ;(this.promise = e), (this.resolve = ce(fe, t)), (this.reject = ce(ue, t))
- }),
- (C.f = W =
- function (e) {
- return e === F || e === o ? new i(e) : V(e)
- }),
- l ||
- "function" != typeof f ||
- ((a = f.prototype.then),
- p(
- f.prototype,
- "then",
- function (e, t) {
- var r = this
- return new F(function (e, t) {
- a.call(r, e, t)
- }).then(e, t)
- },
- {
- unsafe: !0
- }
- ),
- "function" == typeof G &&
- s(
- {
- global: !0,
- enumerable: !0,
- forced: !0
- },
- {
- fetch: function (e) {
- return E(F, G.apply(c, arguments))
- }
- }
- ))),
- s(
- {
- global: !0,
- wrap: !0,
- forced: te
- },
- {
- Promise: F
- }
- ),
- h(F, N, !1, !0),
- m(N),
- (o = u(N)),
- s(
- {
- target: N,
- stat: !0,
- forced: te
- },
- {
- reject: function (e) {
- var t = W(this)
- return t.reject.call(void 0, e), t.promise
- }
- }
- ),
- s(
- {
- target: N,
- stat: !0,
- forced: l || te
- },
- {
- resolve: function (e) {
- return E(l && this === o ? F : this, e)
- }
- }
- ),
- s(
- {
- target: N,
- stat: !0,
- forced: re
- },
- {
- all: function (e) {
- var t = this,
- r = W(t),
- n = r.resolve,
- i = r.reject,
- o = k(function () {
- var r = y(t.resolve),
- o = [],
- a = 0,
- s = 1
- w(e, function (e) {
- var l = a++,
- c = !1
- o.push(void 0),
- s++,
- r.call(t, e).then(function (e) {
- c || ((c = !0), (o[l] = e), --s || n(o))
- }, i)
- }),
- --s || n(o)
- })
- return o.error && i(o.value), r.promise
- },
- race: function (e) {
- var t = this,
- r = W(t),
- n = r.reject,
- i = k(function () {
- var i = y(t.resolve)
- w(e, function (e) {
- i.call(t, e).then(r.resolve, n)
- })
- })
- return i.error && n(i.value), r.promise
- }
- }
- )
- },
- {
- "../internals/a-function": 102,
- "../internals/an-instance": 106,
- "../internals/check-correctness-of-iteration": 124,
- "../internals/engine-is-node": 140,
- "../internals/engine-v8-version": 142,
- "../internals/export": 144,
- "../internals/get-built-in": 148,
- "../internals/global": 150,
- "../internals/host-report-errors": 153,
- "../internals/inspect-source": 159,
- "../internals/internal-state": 160,
- "../internals/is-forced": 163,
- "../internals/is-object": 164,
- "../internals/is-pure": 165,
- "../internals/iterate": 167,
- "../internals/microtask": 171,
- "../internals/native-promise-constructor": 172,
- "../internals/new-promise-capability": 175,
- "../internals/perform": 194,
- "../internals/promise-resolve": 195,
- "../internals/redefine": 197,
- "../internals/redefine-all": 196,
- "../internals/set-species": 205,
- "../internals/set-to-string-tag": 206,
- "../internals/species-constructor": 210,
- "../internals/task": 214,
- "../internals/well-known-symbol": 231
- }
- ],
- 256: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/regexp-exec")
- n(
- {
- target: "RegExp",
- proto: !0,
- forced: /./.exec !== i
- },
- {
- exec: i
- }
- )
- },
- {
- "../internals/export": 144,
- "../internals/regexp-exec": 199
- }
- ],
- 257: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/redefine"),
- i = e("../internals/an-object"),
- o = e("../internals/fails"),
- a = e("../internals/regexp-flags"),
- s = "toString",
- l = RegExp.prototype,
- c = l[s],
- u = o(function () {
- return (
- "/a/b" !=
- c.call({
- source: "a",
- flags: "b"
- })
- )
- }),
- f = c.name != s
- ;(u || f) &&
- n(
- RegExp.prototype,
- s,
- function () {
- var e = i(this),
- t = String(e.source),
- r = e.flags,
- n = String(void 0 === r && e instanceof RegExp && !("flags" in l) ? a.call(e) : r)
- return "/" + t + "/" + n
- },
- {
- unsafe: !0
- }
- )
- },
- {
- "../internals/an-object": 107,
- "../internals/fails": 145,
- "../internals/redefine": 197,
- "../internals/regexp-flags": 200
- }
- ],
- 258: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/not-a-regexp"),
- o = e("../internals/require-object-coercible"),
- a = e("../internals/correct-is-regexp-logic")
- n(
- {
- target: "String",
- proto: !0,
- forced: !a("includes")
- },
- {
- includes: function (e) {
- return !!~String(o(this)).indexOf(i(e), arguments.length > 1 ? arguments[1] : void 0)
- }
- }
- )
- },
- {
- "../internals/correct-is-regexp-logic": 128,
- "../internals/export": 144,
- "../internals/not-a-regexp": 176,
- "../internals/require-object-coercible": 202
- }
- ],
- 259: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/string-multibyte").charAt,
- i = e("../internals/internal-state"),
- o = e("../internals/define-iterator"),
- a = "String Iterator",
- s = i.set,
- l = i.getterFor(a)
- o(
- String,
- "String",
- function (e) {
- s(this, {
- type: a,
- string: String(e),
- index: 0
- })
- },
- function () {
- var e,
- t = l(this),
- r = t.string,
- i = t.index
- return i >= r.length
- ? {
- value: void 0,
- done: !0
- }
- : ((e = n(r, i)),
- (t.index += e.length),
- {
- value: e,
- done: !1
- })
- }
- )
- },
- {
- "../internals/define-iterator": 134,
- "../internals/internal-state": 160,
- "../internals/string-multibyte": 211
- }
- ],
- 260: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/fix-regexp-well-known-symbol-logic"),
- i = e("../internals/an-object"),
- o = e("../internals/to-length"),
- a = e("../internals/require-object-coercible"),
- s = e("../internals/advance-string-index"),
- l = e("../internals/regexp-exec-abstract")
- n("match", 1, function (e, t, r) {
- return [
- function (t) {
- var r = a(this),
- n = void 0 == t ? void 0 : t[e]
- return void 0 !== n ? n.call(t, r) : new RegExp(t)[e](String(r))
- },
- function (e) {
- var n = r(t, e, this)
- if (n.done) return n.value
- var a = i(e),
- c = String(this)
- if (!a.global) return l(a, c)
- var u = a.unicode
- a.lastIndex = 0
- var f,
- p = [],
- d = 0
- while (null !== (f = l(a, c))) {
- var h = String(f[0])
- ;(p[d] = h), "" === h && (a.lastIndex = s(c, o(a.lastIndex), u)), d++
- }
- return 0 === d ? null : p
- }
- ]
- })
- },
- {
- "../internals/advance-string-index": 105,
- "../internals/an-object": 107,
- "../internals/fix-regexp-well-known-symbol-logic": 146,
- "../internals/regexp-exec-abstract": 198,
- "../internals/require-object-coercible": 202,
- "../internals/to-length": 219
- }
- ],
- 261: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/fix-regexp-well-known-symbol-logic"),
- i = e("../internals/an-object"),
- o = e("../internals/to-object"),
- a = e("../internals/to-length"),
- s = e("../internals/to-integer"),
- l = e("../internals/require-object-coercible"),
- c = e("../internals/advance-string-index"),
- u = e("../internals/regexp-exec-abstract"),
- f = Math.max,
- p = Math.min,
- d = Math.floor,
- h = /\$([$&'`]|\d\d?|<[^>]*>)/g,
- m = /\$([$&'`]|\d\d?)/g,
- g = function (e) {
- return void 0 === e ? e : String(e)
- }
- n("replace", 2, function (e, t, r, n) {
- var y = n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,
- v = n.REPLACE_KEEPS_$0,
- b = y ? "$" : "$0"
- return [
- function (r, n) {
- var i = l(this),
- o = void 0 == r ? void 0 : r[e]
- return void 0 !== o ? o.call(r, i, n) : t.call(String(i), r, n)
- },
- function (e, n) {
- if ((!y && v) || ("string" === typeof n && -1 === n.indexOf(b))) {
- var o = r(t, e, this, n)
- if (o.done) return o.value
- }
- var l = i(e),
- d = String(this),
- h = "function" === typeof n
- h || (n = String(n))
- var m = l.global
- if (m) {
- var x = l.unicode
- l.lastIndex = 0
- }
- var A = []
- while (1) {
- var _ = u(l, d)
- if (null === _) break
- if ((A.push(_), !m)) break
- var T = String(_[0])
- "" === T && (l.lastIndex = c(d, a(l.lastIndex), x))
- }
- for (var E = "", S = 0, C = 0; C < A.length; C++) {
- _ = A[C]
- for (var k = String(_[0]), L = f(p(s(_.index), d.length), 0), P = [], O = 1; O < _.length; O++) P.push(g(_[O]))
- var j = _.groups
- if (h) {
- var R = [k].concat(P, L, d)
- void 0 !== j && R.push(j)
- var I = String(n.apply(void 0, R))
- } else I = w(k, d, L, P, j, n)
- L >= S && ((E += d.slice(S, L) + I), (S = L + k.length))
- }
- return E + d.slice(S)
- }
- ]
- function w(e, r, n, i, a, s) {
- var l = n + e.length,
- c = i.length,
- u = m
- return (
- void 0 !== a && ((a = o(a)), (u = h)),
- t.call(s, u, function (t, o) {
- var s
- switch (o.charAt(0)) {
- case "$":
- return "$"
- case "&":
- return e
- case "`":
- return r.slice(0, n)
- case "'":
- return r.slice(l)
- case "<":
- s = a[o.slice(1, -1)]
- break
- default:
- var u = +o
- if (0 === u) return t
- if (u > c) {
- var f = d(u / 10)
- return 0 === f ? t : f <= c ? (void 0 === i[f - 1] ? o.charAt(1) : i[f - 1] + o.charAt(1)) : t
- }
- s = i[u - 1]
- }
- return void 0 === s ? "" : s
- })
- )
- }
- })
- },
- {
- "../internals/advance-string-index": 105,
- "../internals/an-object": 107,
- "../internals/fix-regexp-well-known-symbol-logic": 146,
- "../internals/regexp-exec-abstract": 198,
- "../internals/require-object-coercible": 202,
- "../internals/to-integer": 218,
- "../internals/to-length": 219,
- "../internals/to-object": 220
- }
- ],
- 262: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/fix-regexp-well-known-symbol-logic"),
- i = e("../internals/an-object"),
- o = e("../internals/require-object-coercible"),
- a = e("../internals/same-value"),
- s = e("../internals/regexp-exec-abstract")
- n("search", 1, function (e, t, r) {
- return [
- function (t) {
- var r = o(this),
- n = void 0 == t ? void 0 : t[e]
- return void 0 !== n ? n.call(t, r) : new RegExp(t)[e](String(r))
- },
- function (e) {
- var n = r(t, e, this)
- if (n.done) return n.value
- var o = i(e),
- l = String(this),
- c = o.lastIndex
- a(c, 0) || (o.lastIndex = 0)
- var u = s(o, l)
- return a(o.lastIndex, c) || (o.lastIndex = c), null === u ? -1 : u.index
- }
- ]
- })
- },
- {
- "../internals/an-object": 107,
- "../internals/fix-regexp-well-known-symbol-logic": 146,
- "../internals/regexp-exec-abstract": 198,
- "../internals/require-object-coercible": 202,
- "../internals/same-value": 203
- }
- ],
- 263: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/fix-regexp-well-known-symbol-logic"),
- i = e("../internals/is-regexp"),
- o = e("../internals/an-object"),
- a = e("../internals/require-object-coercible"),
- s = e("../internals/species-constructor"),
- l = e("../internals/advance-string-index"),
- c = e("../internals/to-length"),
- u = e("../internals/regexp-exec-abstract"),
- f = e("../internals/regexp-exec"),
- p = e("../internals/fails"),
- d = [].push,
- h = Math.min,
- m = 4294967295,
- g = !p(function () {
- return !RegExp(m, "y")
- })
- n(
- "split",
- 2,
- function (e, t, r) {
- var n
- return (
- (n =
- "c" == "abbc".split(/(b)*/)[1] ||
- 4 != "test".split(/(?:)/, -1).length ||
- 2 != "ab".split(/(?:ab)*/).length ||
- 4 != ".".split(/(.?)(.?)/).length ||
- ".".split(/()()/).length > 1 ||
- "".split(/.?/).length
- ? function (e, r) {
- var n = String(a(this)),
- o = void 0 === r ? m : r >>> 0
- if (0 === o) return []
- if (void 0 === e) return [n]
- if (!i(e)) return t.call(n, e, o)
- var s,
- l,
- c,
- u = [],
- p =
- (e.ignoreCase ? "i" : "") +
- (e.multiline ? "m" : "") +
- (e.unicode ? "u" : "") +
- (e.sticky ? "y" : ""),
- h = 0,
- g = new RegExp(e.source, p + "g")
- while ((s = f.call(g, n))) {
- if (
- ((l = g.lastIndex),
- l > h &&
- (u.push(n.slice(h, s.index)),
- s.length > 1 && s.index < n.length && d.apply(u, s.slice(1)),
- (c = s[0].length),
- (h = l),
- u.length >= o))
- )
- break
- g.lastIndex === s.index && g.lastIndex++
- }
- return (
- h === n.length ? (!c && g.test("")) || u.push("") : u.push(n.slice(h)),
- u.length > o ? u.slice(0, o) : u
- )
- }
- : "0".split(void 0, 0).length
- ? function (e, r) {
- return void 0 === e && 0 === r ? [] : t.call(this, e, r)
- }
- : t),
- [
- function (t, r) {
- var i = a(this),
- o = void 0 == t ? void 0 : t[e]
- return void 0 !== o ? o.call(t, i, r) : n.call(String(i), t, r)
- },
- function (e, i) {
- var a = r(n, e, this, i, n !== t)
- if (a.done) return a.value
- var f = o(e),
- p = String(this),
- d = s(f, RegExp),
- y = f.unicode,
- v = (f.ignoreCase ? "i" : "") + (f.multiline ? "m" : "") + (f.unicode ? "u" : "") + (g ? "y" : "g"),
- b = new d(g ? f : "^(?:" + f.source + ")", v),
- w = void 0 === i ? m : i >>> 0
- if (0 === w) return []
- if (0 === p.length) return null === u(b, p) ? [p] : []
- var x = 0,
- A = 0,
- _ = []
- while (A < p.length) {
- b.lastIndex = g ? A : 0
- var T,
- E = u(b, g ? p : p.slice(A))
- if (null === E || (T = h(c(b.lastIndex + (g ? 0 : A)), p.length)) === x) A = l(p, A, y)
- else {
- if ((_.push(p.slice(x, A)), _.length === w)) return _
- for (var S = 1; S <= E.length - 1; S++) if ((_.push(E[S]), _.length === w)) return _
- A = x = T
- }
- }
- return _.push(p.slice(x)), _
- }
- ]
- )
- },
- !g
- )
- },
- {
- "../internals/advance-string-index": 105,
- "../internals/an-object": 107,
- "../internals/fails": 145,
- "../internals/fix-regexp-well-known-symbol-logic": 146,
- "../internals/is-regexp": 166,
- "../internals/regexp-exec": 199,
- "../internals/regexp-exec-abstract": 198,
- "../internals/require-object-coercible": 202,
- "../internals/species-constructor": 210,
- "../internals/to-length": 219
- }
- ],
- 264: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/string-trim").trim,
- o = e("../internals/string-trim-forced")
- n(
- {
- target: "String",
- proto: !0,
- forced: o("trim")
- },
- {
- trim: function () {
- return i(this)
- }
- }
- )
- },
- {
- "../internals/export": 144,
- "../internals/string-trim": 213,
- "../internals/string-trim-forced": 212
- }
- ],
- 265: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/descriptors"),
- o = e("../internals/global"),
- a = e("../internals/has"),
- s = e("../internals/is-object"),
- l = e("../internals/object-define-property").f,
- c = e("../internals/copy-constructor-properties"),
- u = o.Symbol
- if (i && "function" == typeof u && (!("description" in u.prototype) || void 0 !== u().description)) {
- var f = {},
- p = function () {
- var e = arguments.length < 1 || void 0 === arguments[0] ? void 0 : String(arguments[0]),
- t = this instanceof p ? new u(e) : void 0 === e ? u() : u(e)
- return "" === e && (f[t] = !0), t
- }
- c(p, u)
- var d = (p.prototype = u.prototype)
- d.constructor = p
- var h = d.toString,
- m = "Symbol(test)" == String(u("test")),
- g = /^Symbol\((.*)\)[^)]+$/
- l(d, "description", {
- configurable: !0,
- get: function () {
- var e = s(this) ? this.valueOf() : this,
- t = h.call(e)
- if (a(f, e)) return ""
- var r = m ? t.slice(7, -1) : t.replace(g, "$1")
- return "" === r ? void 0 : r
- }
- }),
- n(
- {
- global: !0,
- forced: !0
- },
- {
- Symbol: p
- }
- )
- }
- },
- {
- "../internals/copy-constructor-properties": 127,
- "../internals/descriptors": 136,
- "../internals/export": 144,
- "../internals/global": 150,
- "../internals/has": 151,
- "../internals/is-object": 164,
- "../internals/object-define-property": 180
- }
- ],
- 266: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/export"),
- i = e("../internals/global"),
- o = e("../internals/get-built-in"),
- a = e("../internals/is-pure"),
- s = e("../internals/descriptors"),
- l = e("../internals/native-symbol"),
- c = e("../internals/use-symbol-as-uid"),
- u = e("../internals/fails"),
- f = e("../internals/has"),
- p = e("../internals/is-array"),
- d = e("../internals/is-object"),
- h = e("../internals/an-object"),
- m = e("../internals/to-object"),
- g = e("../internals/to-indexed-object"),
- y = e("../internals/to-primitive"),
- v = e("../internals/create-property-descriptor"),
- b = e("../internals/object-create"),
- w = e("../internals/object-keys"),
- x = e("../internals/object-get-own-property-names"),
- A = e("../internals/object-get-own-property-names-external"),
- _ = e("../internals/object-get-own-property-symbols"),
- T = e("../internals/object-get-own-property-descriptor"),
- E = e("../internals/object-define-property"),
- S = e("../internals/object-property-is-enumerable"),
- C = e("../internals/create-non-enumerable-property"),
- k = e("../internals/redefine"),
- L = e("../internals/shared"),
- P = e("../internals/shared-key"),
- O = e("../internals/hidden-keys"),
- j = e("../internals/uid"),
- R = e("../internals/well-known-symbol"),
- I = e("../internals/well-known-symbol-wrapped"),
- N = e("../internals/define-well-known-symbol"),
- M = e("../internals/set-to-string-tag"),
- D = e("../internals/internal-state"),
- B = e("../internals/array-iteration").forEach,
- F = P("hidden"),
- U = "Symbol",
- z = "prototype",
- q = R("toPrimitive"),
- G = D.set,
- W = D.getterFor(U),
- V = Object[z],
- H = i.Symbol,
- X = o("JSON", "stringify"),
- Y = T.f,
- K = E.f,
- Z = A.f,
- Q = S.f,
- J = L("symbols"),
- $ = L("op-symbols"),
- ee = L("string-to-symbol-registry"),
- te = L("symbol-to-string-registry"),
- re = L("wks"),
- ne = i.QObject,
- ie = !ne || !ne[z] || !ne[z].findChild,
- oe =
- s &&
- u(function () {
- return (
- 7 !=
- b(
- K({}, "a", {
- get: function () {
- return K(this, "a", {
- value: 7
- }).a
- }
- })
- ).a
- )
- })
- ? function (e, t, r) {
- var n = Y(V, t)
- n && delete V[t], K(e, t, r), n && e !== V && K(V, t, n)
- }
- : K,
- ae = function (e, t) {
- var r = (J[e] = b(H[z]))
- return (
- G(r, {
- type: U,
- tag: e,
- description: t
- }),
- s || (r.description = t),
- r
- )
- },
- se = c
- ? function (e) {
- return "symbol" == typeof e
- }
- : function (e) {
- return Object(e) instanceof H
- },
- le = function (e, t, r) {
- e === V && le($, t, r), h(e)
- var n = y(t, !0)
- return (
- h(r),
- f(J, n)
- ? (r.enumerable
- ? (f(e, F) && e[F][n] && (e[F][n] = !1),
- (r = b(r, {
- enumerable: v(0, !1)
- })))
- : (f(e, F) || K(e, F, v(1, {})), (e[F][n] = !0)),
- oe(e, n, r))
- : K(e, n, r)
- )
- },
- ce = function (e, t) {
- h(e)
- var r = g(t),
- n = w(r).concat(he(r))
- return (
- B(n, function (t) {
- ;(s && !fe.call(r, t)) || le(e, t, r[t])
- }),
- e
- )
- },
- ue = function (e, t) {
- return void 0 === t ? b(e) : ce(b(e), t)
- },
- fe = function (e) {
- var t = y(e, !0),
- r = Q.call(this, t)
- return !(this === V && f(J, t) && !f($, t)) && (!(r || !f(this, t) || !f(J, t) || (f(this, F) && this[F][t])) || r)
- },
- pe = function (e, t) {
- var r = g(e),
- n = y(t, !0)
- if (r !== V || !f(J, n) || f($, n)) {
- var i = Y(r, n)
- return !i || !f(J, n) || (f(r, F) && r[F][n]) || (i.enumerable = !0), i
- }
- },
- de = function (e) {
- var t = Z(g(e)),
- r = []
- return (
- B(t, function (e) {
- f(J, e) || f(O, e) || r.push(e)
- }),
- r
- )
- },
- he = function (e) {
- var t = e === V,
- r = Z(t ? $ : g(e)),
- n = []
- return (
- B(r, function (e) {
- !f(J, e) || (t && !f(V, e)) || n.push(J[e])
- }),
- n
- )
- }
- if (
- (l ||
- ((H = function () {
- if (this instanceof H) throw TypeError("Symbol is not a constructor")
- var e = arguments.length && void 0 !== arguments[0] ? String(arguments[0]) : void 0,
- t = j(e),
- r = function (e) {
- this === V && r.call($, e), f(this, F) && f(this[F], t) && (this[F][t] = !1), oe(this, t, v(1, e))
- }
- return (
- s &&
- ie &&
- oe(V, t, {
- configurable: !0,
- set: r
- }),
- ae(t, e)
- )
- }),
- k(H[z], "toString", function () {
- return W(this).tag
- }),
- k(H, "withoutSetter", function (e) {
- return ae(j(e), e)
- }),
- (S.f = fe),
- (E.f = le),
- (T.f = pe),
- (x.f = A.f = de),
- (_.f = he),
- (I.f = function (e) {
- return ae(R(e), e)
- }),
- s &&
- (K(H[z], "description", {
- configurable: !0,
- get: function () {
- return W(this).description
- }
- }),
- a ||
- k(V, "propertyIsEnumerable", fe, {
- unsafe: !0
- }))),
- n(
- {
- global: !0,
- wrap: !0,
- forced: !l,
- sham: !l
- },
- {
- Symbol: H
- }
- ),
- B(w(re), function (e) {
- N(e)
- }),
- n(
- {
- target: U,
- stat: !0,
- forced: !l
- },
- {
- for: function (e) {
- var t = String(e)
- if (f(ee, t)) return ee[t]
- var r = H(t)
- return (ee[t] = r), (te[r] = t), r
- },
- keyFor: function (e) {
- if (!se(e)) throw TypeError(e + " is not a symbol")
- if (f(te, e)) return te[e]
- },
- useSetter: function () {
- ie = !0
- },
- useSimple: function () {
- ie = !1
- }
- }
- ),
- n(
- {
- target: "Object",
- stat: !0,
- forced: !l,
- sham: !s
- },
- {
- create: ue,
- defineProperty: le,
- defineProperties: ce,
- getOwnPropertyDescriptor: pe
- }
- ),
- n(
- {
- target: "Object",
- stat: !0,
- forced: !l
- },
- {
- getOwnPropertyNames: de,
- getOwnPropertySymbols: he
- }
- ),
- n(
- {
- target: "Object",
- stat: !0,
- forced: u(function () {
- _.f(1)
- })
- },
- {
- getOwnPropertySymbols: function (e) {
- return _.f(m(e))
- }
- }
- ),
- X)
- ) {
- var me =
- !l ||
- u(function () {
- var e = H()
- return (
- "[null]" != X([e]) ||
- "{}" !=
- X({
- a: e
- }) ||
- "{}" != X(Object(e))
- )
- })
- n(
- {
- target: "JSON",
- stat: !0,
- forced: me
- },
- {
- stringify: function (e, t, r) {
- var n,
- i = [e],
- o = 1
- while (arguments.length > o) i.push(arguments[o++])
- if (((n = t), (d(t) || void 0 !== e) && !se(e)))
- return (
- p(t) ||
- (t = function (e, t) {
- if (("function" == typeof n && (t = n.call(this, e, t)), !se(t))) return t
- }),
- (i[1] = t),
- X.apply(null, i)
- )
- }
- }
- )
- }
- H[z][q] || C(H[z], q, H[z].valueOf), M(H, U), (O[F] = !0)
- },
- {
- "../internals/an-object": 107,
- "../internals/array-iteration": 116,
- "../internals/create-non-enumerable-property": 131,
- "../internals/create-property-descriptor": 132,
- "../internals/define-well-known-symbol": 135,
- "../internals/descriptors": 136,
- "../internals/export": 144,
- "../internals/fails": 145,
- "../internals/get-built-in": 148,
- "../internals/global": 150,
- "../internals/has": 151,
- "../internals/hidden-keys": 152,
- "../internals/internal-state": 160,
- "../internals/is-array": 162,
- "../internals/is-object": 164,
- "../internals/is-pure": 165,
- "../internals/native-symbol": 173,
- "../internals/object-create": 178,
- "../internals/object-define-property": 180,
- "../internals/object-get-own-property-descriptor": 181,
- "../internals/object-get-own-property-names": 183,
- "../internals/object-get-own-property-names-external": 182,
- "../internals/object-get-own-property-symbols": 184,
- "../internals/object-keys": 187,
- "../internals/object-property-is-enumerable": 188,
- "../internals/redefine": 197,
- "../internals/set-to-string-tag": 206,
- "../internals/shared": 209,
- "../internals/shared-key": 207,
- "../internals/to-indexed-object": 217,
- "../internals/to-object": 220,
- "../internals/to-primitive": 223,
- "../internals/uid": 228,
- "../internals/use-symbol-as-uid": 229,
- "../internals/well-known-symbol": 231,
- "../internals/well-known-symbol-wrapped": 230
- }
- ],
- 267: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/array-copy-within"),
- o = n.aTypedArray,
- a = n.exportTypedArrayMethod
- a("copyWithin", function (e, t) {
- return i.call(o(this), e, t, arguments.length > 2 ? arguments[2] : void 0)
- })
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/array-copy-within": 111
- }
- ],
- 268: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/array-iteration").every,
- o = n.aTypedArray,
- a = n.exportTypedArrayMethod
- a("every", function (e) {
- return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0)
- })
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/array-iteration": 116
- }
- ],
- 269: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/array-fill"),
- o = n.aTypedArray,
- a = n.exportTypedArrayMethod
- a("fill", function (e) {
- return i.apply(o(this), arguments)
- })
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/array-fill": 112
- }
- ],
- 270: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/array-iteration").filter,
- o = e("../internals/species-constructor"),
- a = n.aTypedArray,
- s = n.aTypedArrayConstructor,
- l = n.exportTypedArrayMethod
- l("filter", function (e) {
- var t = i(a(this), e, arguments.length > 1 ? arguments[1] : void 0),
- r = o(this, this.constructor),
- n = 0,
- l = t.length,
- c = new (s(r))(l)
- while (l > n) c[n] = t[n++]
- return c
- })
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/array-iteration": 116,
- "../internals/species-constructor": 210
- }
- ],
- 271: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/array-iteration").findIndex,
- o = n.aTypedArray,
- a = n.exportTypedArrayMethod
- a("findIndex", function (e) {
- return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0)
- })
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/array-iteration": 116
- }
- ],
- 272: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/array-iteration").find,
- o = n.aTypedArray,
- a = n.exportTypedArrayMethod
- a("find", function (e) {
- return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0)
- })
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/array-iteration": 116
- }
- ],
- 273: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/array-iteration").forEach,
- o = n.aTypedArray,
- a = n.exportTypedArrayMethod
- a("forEach", function (e) {
- i(o(this), e, arguments.length > 1 ? arguments[1] : void 0)
- })
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/array-iteration": 116
- }
- ],
- 274: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/array-includes").includes,
- o = n.aTypedArray,
- a = n.exportTypedArrayMethod
- a("includes", function (e) {
- return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0)
- })
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/array-includes": 115
- }
- ],
- 275: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/array-includes").indexOf,
- o = n.aTypedArray,
- a = n.exportTypedArrayMethod
- a("indexOf", function (e) {
- return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0)
- })
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/array-includes": 115
- }
- ],
- 276: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/global"),
- i = e("../internals/array-buffer-view-core"),
- o = e("../modules/es.array.iterator"),
- a = e("../internals/well-known-symbol"),
- s = a("iterator"),
- l = n.Uint8Array,
- c = o.values,
- u = o.keys,
- f = o.entries,
- p = i.aTypedArray,
- d = i.exportTypedArrayMethod,
- h = l && l.prototype[s],
- m = !!h && ("values" == h.name || void 0 == h.name),
- g = function () {
- return c.call(p(this))
- }
- d("entries", function () {
- return f.call(p(this))
- }),
- d("keys", function () {
- return u.call(p(this))
- }),
- d("values", g, !m),
- d(s, g, !m)
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/global": 150,
- "../internals/well-known-symbol": 231,
- "../modules/es.array.iterator": 242
- }
- ],
- 277: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = n.aTypedArray,
- o = n.exportTypedArrayMethod,
- a = [].join
- o("join", function (e) {
- return a.apply(i(this), arguments)
- })
- },
- {
- "../internals/array-buffer-view-core": 109
- }
- ],
- 278: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/array-last-index-of"),
- o = n.aTypedArray,
- a = n.exportTypedArrayMethod
- a("lastIndexOf", function (e) {
- return i.apply(o(this), arguments)
- })
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/array-last-index-of": 117
- }
- ],
- 279: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/array-iteration").map,
- o = e("../internals/species-constructor"),
- a = n.aTypedArray,
- s = n.aTypedArrayConstructor,
- l = n.exportTypedArrayMethod
- l("map", function (e) {
- return i(a(this), e, arguments.length > 1 ? arguments[1] : void 0, function (e, t) {
- return new (s(o(e, e.constructor)))(t)
- })
- })
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/array-iteration": 116,
- "../internals/species-constructor": 210
- }
- ],
- 280: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/array-reduce").right,
- o = n.aTypedArray,
- a = n.exportTypedArrayMethod
- a("reduceRight", function (e) {
- return i(o(this), e, arguments.length, arguments.length > 1 ? arguments[1] : void 0)
- })
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/array-reduce": 121
- }
- ],
- 281: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/array-reduce").left,
- o = n.aTypedArray,
- a = n.exportTypedArrayMethod
- a("reduce", function (e) {
- return i(o(this), e, arguments.length, arguments.length > 1 ? arguments[1] : void 0)
- })
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/array-reduce": 121
- }
- ],
- 282: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = n.aTypedArray,
- o = n.exportTypedArrayMethod,
- a = Math.floor
- o("reverse", function () {
- var e,
- t = this,
- r = i(t).length,
- n = a(r / 2),
- o = 0
- while (o < n) (e = t[o]), (t[o++] = t[--r]), (t[r] = e)
- return t
- })
- },
- {
- "../internals/array-buffer-view-core": 109
- }
- ],
- 283: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/to-length"),
- o = e("../internals/to-offset"),
- a = e("../internals/to-object"),
- s = e("../internals/fails"),
- l = n.aTypedArray,
- c = n.exportTypedArrayMethod,
- u = s(function () {
- new Int8Array(1).set({})
- })
- c(
- "set",
- function (e) {
- l(this)
- var t = o(arguments.length > 1 ? arguments[1] : void 0, 1),
- r = this.length,
- n = a(e),
- s = i(n.length),
- c = 0
- if (s + t > r) throw RangeError("Wrong length")
- while (c < s) this[t + c] = n[c++]
- },
- u
- )
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/fails": 145,
- "../internals/to-length": 219,
- "../internals/to-object": 220,
- "../internals/to-offset": 221
- }
- ],
- 284: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/species-constructor"),
- o = e("../internals/fails"),
- a = n.aTypedArray,
- s = n.aTypedArrayConstructor,
- l = n.exportTypedArrayMethod,
- c = [].slice,
- u = o(function () {
- new Int8Array(1).slice()
- })
- l(
- "slice",
- function (e, t) {
- var r = c.call(a(this), e, t),
- n = i(this, this.constructor),
- o = 0,
- l = r.length,
- u = new (s(n))(l)
- while (l > o) u[o] = r[o++]
- return u
- },
- u
- )
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/fails": 145,
- "../internals/species-constructor": 210
- }
- ],
- 285: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/array-iteration").some,
- o = n.aTypedArray,
- a = n.exportTypedArrayMethod
- a("some", function (e) {
- return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0)
- })
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/array-iteration": 116
- }
- ],
- 286: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = n.aTypedArray,
- o = n.exportTypedArrayMethod,
- a = [].sort
- o("sort", function (e) {
- return a.call(i(this), e)
- })
- },
- {
- "../internals/array-buffer-view-core": 109
- }
- ],
- 287: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core"),
- i = e("../internals/to-length"),
- o = e("../internals/to-absolute-index"),
- a = e("../internals/species-constructor"),
- s = n.aTypedArray,
- l = n.exportTypedArrayMethod
- l("subarray", function (e, t) {
- var r = s(this),
- n = r.length,
- l = o(e, n)
- return new (a(r, r.constructor))(r.buffer, r.byteOffset + l * r.BYTES_PER_ELEMENT, i((void 0 === t ? n : o(t, n)) - l))
- })
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/species-constructor": 210,
- "../internals/to-absolute-index": 215,
- "../internals/to-length": 219
- }
- ],
- 288: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/global"),
- i = e("../internals/array-buffer-view-core"),
- o = e("../internals/fails"),
- a = n.Int8Array,
- s = i.aTypedArray,
- l = i.exportTypedArrayMethod,
- c = [].toLocaleString,
- u = [].slice,
- f =
- !!a &&
- o(function () {
- c.call(new a(1))
- }),
- p =
- o(function () {
- return [1, 2].toLocaleString() != new a([1, 2]).toLocaleString()
- }) ||
- !o(function () {
- a.prototype.toLocaleString.call([1, 2])
- })
- l(
- "toLocaleString",
- function () {
- return c.apply(f ? u.call(s(this)) : s(this), arguments)
- },
- p
- )
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/fails": 145,
- "../internals/global": 150
- }
- ],
- 289: [
- function (e, t, r) {
- "use strict"
- var n = e("../internals/array-buffer-view-core").exportTypedArrayMethod,
- i = e("../internals/fails"),
- o = e("../internals/global"),
- a = o.Uint8Array,
- s = (a && a.prototype) || {},
- l = [].toString,
- c = [].join
- i(function () {
- l.call({})
- }) &&
- (l = function () {
- return c.call(this)
- })
- var u = s.toString != l
- n("toString", l, u)
- },
- {
- "../internals/array-buffer-view-core": 109,
- "../internals/fails": 145,
- "../internals/global": 150
- }
- ],
- 290: [
- function (e, t, r) {
- var n = e("../internals/typed-array-constructor")
- n("Uint8", function (e) {
- return function (t, r, n) {
- return e(this, t, r, n)
- }
- })
- },
- {
- "../internals/typed-array-constructor": 225
- }
- ],
- 291: [
- function (e, t, r) {
- var n = e("../internals/global"),
- i = e("../internals/dom-iterables"),
- o = e("../internals/array-for-each"),
- a = e("../internals/create-non-enumerable-property")
- for (var s in i) {
- var l = n[s],
- c = l && l.prototype
- if (c && c.forEach !== o)
- try {
- a(c, "forEach", o)
- } catch (u) {
- c.forEach = o
- }
- }
- },
- {
- "../internals/array-for-each": 113,
- "../internals/create-non-enumerable-property": 131,
- "../internals/dom-iterables": 138,
- "../internals/global": 150
- }
- ],
- 292: [
- function (e, t, r) {
- var n = e("../internals/global"),
- i = e("../internals/dom-iterables"),
- o = e("../modules/es.array.iterator"),
- a = e("../internals/create-non-enumerable-property"),
- s = e("../internals/well-known-symbol"),
- l = s("iterator"),
- c = s("toStringTag"),
- u = o.values
- for (var f in i) {
- var p = n[f],
- d = p && p.prototype
- if (d) {
- if (d[l] !== u)
- try {
- a(d, l, u)
- } catch (m) {
- d[l] = u
- }
- if ((d[c] || a(d, c, f), i[f]))
- for (var h in o)
- if (d[h] !== o[h])
- try {
- a(d, h, o[h])
- } catch (m) {
- d[h] = o[h]
- }
- }
- }
- },
- {
- "../internals/create-non-enumerable-property": 131,
- "../internals/dom-iterables": 138,
- "../internals/global": 150,
- "../internals/well-known-symbol": 231,
- "../modules/es.array.iterator": 242
- }
- ],
- 293: [
- function (e, t, r) {
- ;(function (e) {
- function t(e) {
- return Array.isArray ? Array.isArray(e) : "[object Array]" === g(e)
- }
- function n(e) {
- return "boolean" === typeof e
- }
- function i(e) {
- return null === e
- }
- function o(e) {
- return null == e
- }
- function a(e) {
- return "number" === typeof e
- }
- function s(e) {
- return "string" === typeof e
- }
- function l(e) {
- return "symbol" === typeof e
- }
- function c(e) {
- return void 0 === e
- }
- function u(e) {
- return "[object RegExp]" === g(e)
- }
- function f(e) {
- return "object" === typeof e && null !== e
- }
- function p(e) {
- return "[object Date]" === g(e)
- }
- function d(e) {
- return "[object Error]" === g(e) || e instanceof Error
- }
- function h(e) {
- return "function" === typeof e
- }
- function m(e) {
- return (
- null === e ||
- "boolean" === typeof e ||
- "number" === typeof e ||
- "string" === typeof e ||
- "symbol" === typeof e ||
- "undefined" === typeof e
- )
- }
- function g(e) {
- return Object.prototype.toString.call(e)
- }
- ;(r.isArray = t),
- (r.isBoolean = n),
- (r.isNull = i),
- (r.isNullOrUndefined = o),
- (r.isNumber = a),
- (r.isString = s),
- (r.isSymbol = l),
- (r.isUndefined = c),
- (r.isRegExp = u),
- (r.isObject = f),
- (r.isDate = p),
- (r.isError = d),
- (r.isFunction = h),
- (r.isPrimitive = m),
- (r.isBuffer = e.isBuffer)
- }).call(this, {
- isBuffer: e("../../is-buffer/index.js")
- })
- },
- {
- "../../is-buffer/index.js": 307
- }
- ],
- 294: [
- function (e, t, r) {
- ;(function (e) {
- "use strict"
- var n = (function () {
- var e = /d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,
- t =
- /\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,
- r = /[^-+\dA-Z]/g
- return function (l, c, u, f) {
- if (
- (1 !== arguments.length || "string" !== s(l) || /\d/.test(l) || ((c = l), (l = void 0)),
- (l = l || new Date()),
- l instanceof Date || (l = new Date(l)),
- isNaN(l))
- )
- throw TypeError("Invalid date")
- c = String(n.masks[c] || c || n.masks["default"])
- var p = c.slice(0, 4)
- ;("UTC:" !== p && "GMT:" !== p) || ((c = c.slice(4)), (u = !0), "GMT:" === p && (f = !0))
- var d = u ? "getUTC" : "get",
- h = l[d + "Date"](),
- m = l[d + "Day"](),
- g = l[d + "Month"](),
- y = l[d + "FullYear"](),
- v = l[d + "Hours"](),
- b = l[d + "Minutes"](),
- w = l[d + "Seconds"](),
- x = l[d + "Milliseconds"](),
- A = u ? 0 : l.getTimezoneOffset(),
- _ = o(l),
- T = a(l),
- E = {
- d: h,
- dd: i(h),
- ddd: n.i18n.dayNames[m],
- dddd: n.i18n.dayNames[m + 7],
- m: g + 1,
- mm: i(g + 1),
- mmm: n.i18n.monthNames[g],
- mmmm: n.i18n.monthNames[g + 12],
- yy: String(y).slice(2),
- yyyy: y,
- h: v % 12 || 12,
- hh: i(v % 12 || 12),
- H: v,
- HH: i(v),
- M: b,
- MM: i(b),
- s: w,
- ss: i(w),
- l: i(x, 3),
- L: i(Math.round(x / 10)),
- t: v < 12 ? "a" : "p",
- tt: v < 12 ? "am" : "pm",
- T: v < 12 ? "A" : "P",
- TT: v < 12 ? "AM" : "PM",
- Z: f ? "GMT" : u ? "UTC" : (String(l).match(t) || [""]).pop().replace(r, ""),
- o: (A > 0 ? "-" : "+") + i(100 * Math.floor(Math.abs(A) / 60) + (Math.abs(A) % 60), 4),
- S: ["th", "st", "nd", "rd"][h % 10 > 3 ? 0 : (((h % 100) - (h % 10) != 10) * h) % 10],
- W: _,
- N: T
- }
- return c.replace(e, function (e) {
- return e in E ? E[e] : e.slice(1, e.length - 1)
- })
- }
- })()
- function i(e, t) {
- ;(e = String(e)), (t = t || 2)
- while (e.length < t) e = "0" + e
- return e
- }
- function o(e) {
- var t = new Date(e.getFullYear(), e.getMonth(), e.getDate())
- t.setDate(t.getDate() - ((t.getDay() + 6) % 7) + 3)
- var r = new Date(t.getFullYear(), 0, 4)
- r.setDate(r.getDate() - ((r.getDay() + 6) % 7) + 3)
- var n = t.getTimezoneOffset() - r.getTimezoneOffset()
- t.setHours(t.getHours() - n)
- var i = (t - r) / 6048e5
- return 1 + Math.floor(i)
- }
- function a(e) {
- var t = e.getDay()
- return 0 === t && (t = 7), t
- }
- function s(e) {
- return null === e
- ? "null"
- : void 0 === e
- ? "undefined"
- : "object" !== typeof e
- ? typeof e
- : Array.isArray(e)
- ? "array"
- : {}.toString.call(e).slice(8, -1).toLowerCase()
- }
- ;(n.masks = {
- default: "ddd mmm dd yyyy HH:MM:ss",
- shortDate: "m/d/yy",
- mediumDate: "mmm d, yyyy",
- longDate: "mmmm d, yyyy",
- fullDate: "dddd, mmmm d, yyyy",
- shortTime: "h:MM TT",
- mediumTime: "h:MM:ss TT",
- longTime: "h:MM:ss TT Z",
- isoDate: "yyyy-mm-dd",
- isoTime: "HH:MM:ss",
- isoDateTime: "yyyy-mm-dd'T'HH:MM:sso",
- isoUtcDateTime: "UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",
- expiresHeaderFormat: "ddd, dd mmm yyyy HH:MM:ss Z"
- }),
- (n.i18n = {
- dayNames: [
- "Sun",
- "Mon",
- "Tue",
- "Wed",
- "Thu",
- "Fri",
- "Sat",
- "Sunday",
- "Monday",
- "Tuesday",
- "Wednesday",
- "Thursday",
- "Friday",
- "Saturday"
- ],
- monthNames: [
- "Jan",
- "Feb",
- "Mar",
- "Apr",
- "May",
- "Jun",
- "Jul",
- "Aug",
- "Sep",
- "Oct",
- "Nov",
- "Dec",
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
- ]
- }),
- "function" === typeof define && define.amd
- ? define(function () {
- return n
- })
- : "object" === typeof r
- ? (t.exports = n)
- : (e.dateFormat = n)
- })(this)
- },
- {}
- ],
- 295: [
- function (e, t, r) {
- /*!
- * escape-html
- * Copyright(c) 2012-2013 TJ Holowaychuk
- * Copyright(c) 2015 Andreas Lubbe
- * Copyright(c) 2015 Tiancheng "Timothy" Gu
- * MIT Licensed
- */
- "use strict"
- var n = /["'&<>]/
- function i(e) {
- var t,
- r = "" + e,
- i = n.exec(r)
- if (!i) return r
- var o = "",
- a = 0,
- s = 0
- for (a = i.index; a < r.length; a++) {
- switch (r.charCodeAt(a)) {
- case 34:
- t = """
- break
- case 38:
- t = "&"
- break
- case 39:
- t = "'"
- break
- case 60:
- t = "<"
- break
- case 62:
- t = ">"
- break
- default:
- continue
- }
- s !== a && (o += r.substring(s, a)), (s = a + 1), (o += t)
- }
- return s !== a ? o + r.substring(s, a) : o
- }
- t.exports = i
- },
- {}
- ],
- 296: [
- function (e, t, r) {
- var n = Object.create || T,
- i = Object.keys || E,
- o = Function.prototype.bind || S
- function a() {
- ;(this._events && Object.prototype.hasOwnProperty.call(this, "_events")) ||
- ((this._events = n(null)), (this._eventsCount = 0)),
- (this._maxListeners = this._maxListeners || void 0)
- }
- ;(t.exports = a), (a.EventEmitter = a), (a.prototype._events = void 0), (a.prototype._maxListeners = void 0)
- var s,
- l = 10
- try {
- var c = {}
- Object.defineProperty &&
- Object.defineProperty(c, "x", {
- value: 0
- }),
- (s = 0 === c.x)
- } catch (C) {
- s = !1
- }
- function u(e) {
- return void 0 === e._maxListeners ? a.defaultMaxListeners : e._maxListeners
- }
- function f(e, t, r) {
- if (t) e.call(r)
- else for (var n = e.length, i = A(e, n), o = 0; o < n; ++o) i[o].call(r)
- }
- function p(e, t, r, n) {
- if (t) e.call(r, n)
- else for (var i = e.length, o = A(e, i), a = 0; a < i; ++a) o[a].call(r, n)
- }
- function d(e, t, r, n, i) {
- if (t) e.call(r, n, i)
- else for (var o = e.length, a = A(e, o), s = 0; s < o; ++s) a[s].call(r, n, i)
- }
- function h(e, t, r, n, i, o) {
- if (t) e.call(r, n, i, o)
- else for (var a = e.length, s = A(e, a), l = 0; l < a; ++l) s[l].call(r, n, i, o)
- }
- function m(e, t, r, n) {
- if (t) e.apply(r, n)
- else for (var i = e.length, o = A(e, i), a = 0; a < i; ++a) o[a].apply(r, n)
- }
- function g(e, t, r, i) {
- var o, a, s
- if ("function" !== typeof r) throw new TypeError('"listener" argument must be a function')
- if (
- ((a = e._events),
- a
- ? (a.newListener && (e.emit("newListener", t, r.listener ? r.listener : r), (a = e._events)), (s = a[t]))
- : ((a = e._events = n(null)), (e._eventsCount = 0)),
- s)
- ) {
- if (
- ("function" === typeof s ? (s = a[t] = i ? [r, s] : [s, r]) : i ? s.unshift(r) : s.push(r),
- !s.warned && ((o = u(e)), o && o > 0 && s.length > o))
- ) {
- s.warned = !0
- var l = new Error(
- "Possible EventEmitter memory leak detected. " +
- s.length +
- ' "' +
- String(t) +
- '" listeners added. Use emitter.setMaxListeners() to increase limit.'
- )
- ;(l.name = "MaxListenersExceededWarning"),
- (l.emitter = e),
- (l.type = t),
- (l.count = s.length),
- "object" === typeof console && console.warn && console.warn("%s: %s", l.name, l.message)
- }
- } else (s = a[t] = r), ++e._eventsCount
- return e
- }
- function y() {
- if (!this.fired)
- switch ((this.target.removeListener(this.type, this.wrapFn), (this.fired = !0), arguments.length)) {
- case 0:
- return this.listener.call(this.target)
- case 1:
- return this.listener.call(this.target, arguments[0])
- case 2:
- return this.listener.call(this.target, arguments[0], arguments[1])
- case 3:
- return this.listener.call(this.target, arguments[0], arguments[1], arguments[2])
- default:
- for (var e = new Array(arguments.length), t = 0; t < e.length; ++t) e[t] = arguments[t]
- this.listener.apply(this.target, e)
- }
- }
- function v(e, t, r) {
- var n = {
- fired: !1,
- wrapFn: void 0,
- target: e,
- type: t,
- listener: r
- },
- i = o.call(y, n)
- return (i.listener = r), (n.wrapFn = i), i
- }
- function b(e, t, r) {
- var n = e._events
- if (!n) return []
- var i = n[t]
- return i ? ("function" === typeof i ? (r ? [i.listener || i] : [i]) : r ? _(i) : A(i, i.length)) : []
- }
- function w(e) {
- var t = this._events
- if (t) {
- var r = t[e]
- if ("function" === typeof r) return 1
- if (r) return r.length
- }
- return 0
- }
- function x(e, t) {
- for (var r = t, n = r + 1, i = e.length; n < i; r += 1, n += 1) e[r] = e[n]
- e.pop()
- }
- function A(e, t) {
- for (var r = new Array(t), n = 0; n < t; ++n) r[n] = e[n]
- return r
- }
- function _(e) {
- for (var t = new Array(e.length), r = 0; r < t.length; ++r) t[r] = e[r].listener || e[r]
- return t
- }
- function T(e) {
- var t = function () {}
- return (t.prototype = e), new t()
- }
- function E(e) {
- var t = []
- for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.push(r)
- return r
- }
- function S(e) {
- var t = this
- return function () {
- return t.apply(e, arguments)
- }
- }
- s
- ? Object.defineProperty(a, "defaultMaxListeners", {
- enumerable: !0,
- get: function () {
- return l
- },
- set: function (e) {
- if ("number" !== typeof e || e < 0 || e !== e)
- throw new TypeError('"defaultMaxListeners" must be a positive number')
- l = e
- }
- })
- : (a.defaultMaxListeners = l),
- (a.prototype.setMaxListeners = function (e) {
- if ("number" !== typeof e || e < 0 || isNaN(e)) throw new TypeError('"n" argument must be a positive number')
- return (this._maxListeners = e), this
- }),
- (a.prototype.getMaxListeners = function () {
- return u(this)
- }),
- (a.prototype.emit = function (e) {
- var t,
- r,
- n,
- i,
- o,
- a,
- s = "error" === e
- if (((a = this._events), a)) s = s && null == a.error
- else if (!s) return !1
- if (s) {
- if ((arguments.length > 1 && (t = arguments[1]), t instanceof Error)) throw t
- var l = new Error('Unhandled "error" event. (' + t + ")")
- throw ((l.context = t), l)
- }
- if (((r = a[e]), !r)) return !1
- var c = "function" === typeof r
- switch (((n = arguments.length), n)) {
- case 1:
- f(r, c, this)
- break
- case 2:
- p(r, c, this, arguments[1])
- break
- case 3:
- d(r, c, this, arguments[1], arguments[2])
- break
- case 4:
- h(r, c, this, arguments[1], arguments[2], arguments[3])
- break
- default:
- for (i = new Array(n - 1), o = 1; o < n; o++) i[o - 1] = arguments[o]
- m(r, c, this, i)
- }
- return !0
- }),
- (a.prototype.addListener = function (e, t) {
- return g(this, e, t, !1)
- }),
- (a.prototype.on = a.prototype.addListener),
- (a.prototype.prependListener = function (e, t) {
- return g(this, e, t, !0)
- }),
- (a.prototype.once = function (e, t) {
- if ("function" !== typeof t) throw new TypeError('"listener" argument must be a function')
- return this.on(e, v(this, e, t)), this
- }),
- (a.prototype.prependOnceListener = function (e, t) {
- if ("function" !== typeof t) throw new TypeError('"listener" argument must be a function')
- return this.prependListener(e, v(this, e, t)), this
- }),
- (a.prototype.removeListener = function (e, t) {
- var r, i, o, a, s
- if ("function" !== typeof t) throw new TypeError('"listener" argument must be a function')
- if (((i = this._events), !i)) return this
- if (((r = i[e]), !r)) return this
- if (r === t || r.listener === t)
- 0 === --this._eventsCount
- ? (this._events = n(null))
- : (delete i[e], i.removeListener && this.emit("removeListener", e, r.listener || t))
- else if ("function" !== typeof r) {
- for (o = -1, a = r.length - 1; a >= 0; a--)
- if (r[a] === t || r[a].listener === t) {
- ;(s = r[a].listener), (o = a)
- break
- }
- if (o < 0) return this
- 0 === o ? r.shift() : x(r, o),
- 1 === r.length && (i[e] = r[0]),
- i.removeListener && this.emit("removeListener", e, s || t)
- }
- return this
- }),
- (a.prototype.removeAllListeners = function (e) {
- var t, r, o
- if (((r = this._events), !r)) return this
- if (!r.removeListener)
- return (
- 0 === arguments.length
- ? ((this._events = n(null)), (this._eventsCount = 0))
- : r[e] && (0 === --this._eventsCount ? (this._events = n(null)) : delete r[e]),
- this
- )
- if (0 === arguments.length) {
- var a,
- s = i(r)
- for (o = 0; o < s.length; ++o) (a = s[o]), "removeListener" !== a && this.removeAllListeners(a)
- return this.removeAllListeners("removeListener"), (this._events = n(null)), (this._eventsCount = 0), this
- }
- if (((t = r[e]), "function" === typeof t)) this.removeListener(e, t)
- else if (t) for (o = t.length - 1; o >= 0; o--) this.removeListener(e, t[o])
- return this
- }),
- (a.prototype.listeners = function (e) {
- return b(this, e, !0)
- }),
- (a.prototype.rawListeners = function (e) {
- return b(this, e, !1)
- }),
- (a.listenerCount = function (e, t) {
- return "function" === typeof e.listenerCount ? e.listenerCount(t) : w.call(e, t)
- }),
- (a.prototype.listenerCount = w),
- (a.prototype.eventNames = function () {
- return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : []
- })
- },
- {}
- ],
- 297: [
- function (e, t, r) {
- var n = e("http"),
- i = e("url"),
- o = t.exports
- for (var a in n) n.hasOwnProperty(a) && (o[a] = n[a])
- function s(e) {
- if (("string" === typeof e && (e = i.parse(e)), e.protocol || (e.protocol = "https:"), "https:" !== e.protocol))
- throw new Error('Protocol "' + e.protocol + '" not supported. Expected "https:"')
- return e
- }
- ;(o.request = function (e, t) {
- return (e = s(e)), n.request.call(this, e, t)
- }),
- (o.get = function (e, t) {
- return (e = s(e)), n.get.call(this, e, t)
- })
- },
- {
- http: 80,
- url: 393
- }
- ],
- 298: [
- function (e, t, r) {
- /*!
- * humanize-ms - index.js
- * Copyright(c) 2014 dead_horse <dead_horse@qq.com>
- * MIT Licensed
- */
- "use strict"
- var n = e("util"),
- i = e("ms")
- t.exports = function (e) {
- if ("number" === typeof e) return e
- var t = i(e)
- if (void 0 === t) {
- var r = new Error(n.format("humanize-ms(%j) result undefined", e))
- console.warn(r.stack)
- }
- return t
- }
- },
- {
- ms: 314,
- util: 345
- }
- ],
- 299: [
- function (e, t, r) {
- ;(r.read = function (e, t, r, n, i) {
- var o,
- a,
- s = 8 * i - n - 1,
- l = (1 << s) - 1,
- c = l >> 1,
- u = -7,
- f = r ? i - 1 : 0,
- p = r ? -1 : 1,
- d = e[t + f]
- for (f += p, o = d & ((1 << -u) - 1), d >>= -u, u += s; u > 0; o = 256 * o + e[t + f], f += p, u -= 8);
- for (a = o & ((1 << -u) - 1), o >>= -u, u += n; u > 0; a = 256 * a + e[t + f], f += p, u -= 8);
- if (0 === o) o = 1 - c
- else {
- if (o === l) return a ? NaN : (1 / 0) * (d ? -1 : 1)
- ;(a += Math.pow(2, n)), (o -= c)
- }
- return (d ? -1 : 1) * a * Math.pow(2, o - n)
- }),
- (r.write = function (e, t, r, n, i, o) {
- var a,
- s,
- l,
- c = 8 * o - i - 1,
- u = (1 << c) - 1,
- f = u >> 1,
- p = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
- d = n ? 0 : o - 1,
- h = n ? 1 : -1,
- m = t < 0 || (0 === t && 1 / t < 0) ? 1 : 0
- for (
- t = Math.abs(t),
- isNaN(t) || t === 1 / 0
- ? ((s = isNaN(t) ? 1 : 0), (a = u))
- : ((a = Math.floor(Math.log(t) / Math.LN2)),
- t * (l = Math.pow(2, -a)) < 1 && (a--, (l *= 2)),
- (t += a + f >= 1 ? p / l : p * Math.pow(2, 1 - f)),
- t * l >= 2 && (a++, (l /= 2)),
- a + f >= u
- ? ((s = 0), (a = u))
- : a + f >= 1
- ? ((s = (t * l - 1) * Math.pow(2, i)), (a += f))
- : ((s = t * Math.pow(2, f - 1) * Math.pow(2, i)), (a = 0)));
- i >= 8;
- e[r + d] = 255 & s, d += h, s /= 256, i -= 8
- );
- for (a = (a << i) | s, c += i; c > 0; e[r + d] = 255 & a, d += h, a /= 256, c -= 8);
- e[r + d - h] |= 128 * m
- })
- },
- {}
- ],
- 300: [
- function (e, t, r) {
- "use strict"
- var n,
- i,
- o,
- a = [
- e("./nextTick"),
- e("./queueMicrotask"),
- e("./mutation.js"),
- e("./messageChannel"),
- e("./stateChange"),
- e("./timeout")
- ],
- s = -1,
- l = [],
- c = !1
- function u() {
- n && i && ((n = !1), i.length ? (l = i.concat(l)) : (s = -1), l.length && f())
- }
- function f() {
- if (!n) {
- ;(c = !1), (n = !0)
- var e = l.length,
- t = setTimeout(u)
- while (e) {
- ;(i = l), (l = [])
- while (i && ++s < e) i[s].run()
- ;(s = -1), (e = l.length)
- }
- ;(i = null), (s = -1), (n = !1), clearTimeout(t)
- }
- }
- var p = -1,
- d = a.length
- while (++p < d)
- if (a[p] && a[p].test && a[p].test()) {
- o = a[p].install(f)
- break
- }
- function h(e, t) {
- ;(this.fun = e), (this.array = t)
- }
- function m(e) {
- var t = new Array(arguments.length - 1)
- if (arguments.length > 1) for (var r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]
- l.push(new h(e, t)), c || n || ((c = !0), o())
- }
- ;(h.prototype.run = function () {
- var e = this.fun,
- t = this.array
- switch (t.length) {
- case 0:
- return e()
- case 1:
- return e(t[0])
- case 2:
- return e(t[0], t[1])
- case 3:
- return e(t[0], t[1], t[2])
- default:
- return e.apply(null, t)
- }
- }),
- (t.exports = m)
- },
- {
- "./messageChannel": 301,
- "./mutation.js": 302,
- "./nextTick": 79,
- "./queueMicrotask": 303,
- "./stateChange": 304,
- "./timeout": 305
- }
- ],
- 301: [
- function (e, t, r) {
- ;(function (e) {
- "use strict"
- ;(r.test = function () {
- return !e.setImmediate && "undefined" !== typeof e.MessageChannel
- }),
- (r.install = function (t) {
- var r = new e.MessageChannel()
- return (
- (r.port1.onmessage = t),
- function () {
- r.port2.postMessage(0)
- }
- )
- })
- }).call(
- this,
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
- )
- },
- {}
- ],
- 302: [
- function (e, t, r) {
- ;(function (e) {
- "use strict"
- var t = e.MutationObserver || e.WebKitMutationObserver
- ;(r.test = function () {
- return t
- }),
- (r.install = function (r) {
- var n = 0,
- i = new t(r),
- o = e.document.createTextNode("")
- return (
- i.observe(o, {
- characterData: !0
- }),
- function () {
- o.data = n = ++n % 2
- }
- )
- })
- }).call(
- this,
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
- )
- },
- {}
- ],
- 303: [
- function (e, t, r) {
- ;(function (e) {
- "use strict"
- ;(r.test = function () {
- return "function" === typeof e.queueMicrotask
- }),
- (r.install = function (t) {
- return function () {
- e.queueMicrotask(t)
- }
- })
- }).call(
- this,
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
- )
- },
- {}
- ],
- 304: [
- function (e, t, r) {
- ;(function (e) {
- "use strict"
- ;(r.test = function () {
- return "document" in e && "onreadystatechange" in e.document.createElement("script")
- }),
- (r.install = function (t) {
- return function () {
- var r = e.document.createElement("script")
- return (
- (r.onreadystatechange = function () {
- t(), (r.onreadystatechange = null), r.parentNode.removeChild(r), (r = null)
- }),
- e.document.documentElement.appendChild(r),
- t
- )
- }
- })
- }).call(
- this,
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
- )
- },
- {}
- ],
- 305: [
- function (e, t, r) {
- "use strict"
- ;(r.test = function () {
- return !0
- }),
- (r.install = function (e) {
- return function () {
- setTimeout(e, 0)
- }
- })
- },
- {}
- ],
- 306: [
- function (e, t, r) {
- "function" === typeof Object.create
- ? (t.exports = function (e, t) {
- t &&
- ((e.super_ = t),
- (e.prototype = Object.create(t.prototype, {
- constructor: {
- value: e,
- enumerable: !1,
- writable: !0,
- configurable: !0
- }
- })))
- })
- : (t.exports = function (e, t) {
- if (t) {
- e.super_ = t
- var r = function () {}
- ;(r.prototype = t.prototype), (e.prototype = new r()), (e.prototype.constructor = e)
- }
- })
- },
- {}
- ],
- 307: [
- function (e, t, r) {
- function n(e) {
- return !!e.constructor && "function" === typeof e.constructor.isBuffer && e.constructor.isBuffer(e)
- }
- function i(e) {
- return "function" === typeof e.readFloatLE && "function" === typeof e.slice && n(e.slice(0, 0))
- }
- /*!
- * Determine if an object is a Buffer
- *
- * @author Feross Aboukhadijeh <https://feross.org>
- * @license MIT
- */
- t.exports = function (e) {
- return null != e && (n(e) || i(e) || !!e._isBuffer)
- }
- },
- {}
- ],
- 308: [
- function (e, t, r) {
- var n = {}.toString
- t.exports =
- Array.isArray ||
- function (e) {
- return "[object Array]" == n.call(e)
- }
- },
- {}
- ],
- 309: [
- function (require, module, exports) {
- ;(function (global) {
- ;(function (e, t) {
- "object" === typeof exports && "undefined" !== typeof module
- ? (module.exports = t(e))
- : "function" === typeof define && define.amd
- ? define(t)
- : t(e)
- })(
- "undefined" !== typeof self
- ? self
- : "undefined" !== typeof window
- ? window
- : "undefined" !== typeof global
- ? global
- : this,
- function (global) {
- "use strict"
- global = global || {}
- var _Base64 = global.Base64,
- version = "2.5.2",
- buffer
- if ("undefined" !== typeof module && module.exports)
- try {
- buffer = eval("require('buffer').Buffer")
- } catch (err) {
- buffer = void 0
- }
- var b64chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
- b64tab = (function (e) {
- for (var t = {}, r = 0, n = e.length; r < n; r++) t[e.charAt(r)] = r
- return t
- })(b64chars),
- fromCharCode = String.fromCharCode,
- cb_utob = function (e) {
- if (e.length < 2) {
- var t = e.charCodeAt(0)
- return t < 128
- ? e
- : t < 2048
- ? fromCharCode(192 | (t >>> 6)) + fromCharCode(128 | (63 & t))
- : fromCharCode(224 | ((t >>> 12) & 15)) +
- fromCharCode(128 | ((t >>> 6) & 63)) +
- fromCharCode(128 | (63 & t))
- }
- t = 65536 + 1024 * (e.charCodeAt(0) - 55296) + (e.charCodeAt(1) - 56320)
- return (
- fromCharCode(240 | ((t >>> 18) & 7)) +
- fromCharCode(128 | ((t >>> 12) & 63)) +
- fromCharCode(128 | ((t >>> 6) & 63)) +
- fromCharCode(128 | (63 & t))
- )
- },
- re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,
- utob = function (e) {
- return e.replace(re_utob, cb_utob)
- },
- cb_encode = function (e) {
- var t = [0, 2, 1][e.length % 3],
- r =
- (e.charCodeAt(0) << 16) |
- ((e.length > 1 ? e.charCodeAt(1) : 0) << 8) |
- (e.length > 2 ? e.charCodeAt(2) : 0),
- n = [
- b64chars.charAt(r >>> 18),
- b64chars.charAt((r >>> 12) & 63),
- t >= 2 ? "=" : b64chars.charAt((r >>> 6) & 63),
- t >= 1 ? "=" : b64chars.charAt(63 & r)
- ]
- return n.join("")
- },
- btoa = global.btoa
- ? function (e) {
- return global.btoa(e)
- }
- : function (e) {
- return e.replace(/[\s\S]{1,3}/g, cb_encode)
- },
- _encode = function (e) {
- var t = "[object Uint8Array]" === Object.prototype.toString.call(e)
- return t ? e.toString("base64") : btoa(utob(String(e)))
- },
- encode = function (e, t) {
- return t
- ? _encode(String(e))
- .replace(/[+\/]/g, function (e) {
- return "+" == e ? "-" : "_"
- })
- .replace(/=/g, "")
- : _encode(e)
- },
- encodeURI = function (e) {
- return encode(e, !0)
- },
- re_btou = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,
- cb_btou = function (e) {
- switch (e.length) {
- case 4:
- var t =
- ((7 & e.charCodeAt(0)) << 18) |
- ((63 & e.charCodeAt(1)) << 12) |
- ((63 & e.charCodeAt(2)) << 6) |
- (63 & e.charCodeAt(3)),
- r = t - 65536
- return fromCharCode(55296 + (r >>> 10)) + fromCharCode(56320 + (1023 & r))
- case 3:
- return fromCharCode(
- ((15 & e.charCodeAt(0)) << 12) | ((63 & e.charCodeAt(1)) << 6) | (63 & e.charCodeAt(2))
- )
- default:
- return fromCharCode(((31 & e.charCodeAt(0)) << 6) | (63 & e.charCodeAt(1)))
- }
- },
- btou = function (e) {
- return e.replace(re_btou, cb_btou)
- },
- cb_decode = function (e) {
- var t = e.length,
- r = t % 4,
- n =
- (t > 0 ? b64tab[e.charAt(0)] << 18 : 0) |
- (t > 1 ? b64tab[e.charAt(1)] << 12 : 0) |
- (t > 2 ? b64tab[e.charAt(2)] << 6 : 0) |
- (t > 3 ? b64tab[e.charAt(3)] : 0),
- i = [fromCharCode(n >>> 16), fromCharCode((n >>> 8) & 255), fromCharCode(255 & n)]
- return (i.length -= [0, 0, 2, 1][r]), i.join("")
- },
- _atob = global.atob
- ? function (e) {
- return global.atob(e)
- }
- : function (e) {
- return e.replace(/\S{1,4}/g, cb_decode)
- },
- atob = function (e) {
- return _atob(String(e).replace(/[^A-Za-z0-9\+\/]/g, ""))
- },
- _decode = buffer
- ? buffer.from && Uint8Array && buffer.from !== Uint8Array.from
- ? function (e) {
- return (e.constructor === buffer.constructor ? e : buffer.from(e, "base64")).toString()
- }
- : function (e) {
- return (e.constructor === buffer.constructor ? e : new buffer(e, "base64")).toString()
- }
- : function (e) {
- return btou(_atob(e))
- },
- decode = function (e) {
- return _decode(
- String(e)
- .replace(/[-_]/g, function (e) {
- return "-" == e ? "+" : "/"
- })
- .replace(/[^A-Za-z0-9\+\/]/g, "")
- )
- },
- noConflict = function () {
- var e = global.Base64
- return (global.Base64 = _Base64), e
- }
- if (
- ((global.Base64 = {
- VERSION: version,
- atob: atob,
- btoa: btoa,
- fromBase64: decode,
- toBase64: encode,
- utob: utob,
- encode: encode,
- encodeURI: encodeURI,
- btou: btou,
- decode: decode,
- noConflict: noConflict,
- __buffer__: buffer
- }),
- "function" === typeof Object.defineProperty)
- ) {
- var noEnum = function (e) {
- return {
- value: e,
- enumerable: !1,
- writable: !0,
- configurable: !0
- }
- }
- global.Base64.extendString = function () {
- Object.defineProperty(
- String.prototype,
- "fromBase64",
- noEnum(function () {
- return decode(this)
- })
- ),
- Object.defineProperty(
- String.prototype,
- "toBase64",
- noEnum(function (e) {
- return encode(this, e)
- })
- ),
- Object.defineProperty(
- String.prototype,
- "toBase64URI",
- noEnum(function () {
- return encode(this, !0)
- })
- )
- }
- }
- return (
- global["Meteor"] && (Base64 = global.Base64),
- "undefined" !== typeof module && module.exports
- ? (module.exports.Base64 = global.Base64)
- : "function" === typeof define &&
- define.amd &&
- define([], function () {
- return global.Base64
- }),
- {
- Base64: global.Base64
- }
- )
- }
- )
- }).call(
- this,
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
- )
- },
- {}
- ],
- 310: [
- function (e, t, r) {
- /*!
- * merge-descriptors
- * Copyright(c) 2014 Jonathan Ong
- * Copyright(c) 2015 Douglas Christopher Wilson
- * MIT Licensed
- */
- "use strict"
- t.exports = i
- var n = Object.prototype.hasOwnProperty
- function i(e, t, r) {
- if (!e) throw new TypeError("argument dest is required")
- if (!t) throw new TypeError("argument src is required")
- return (
- void 0 === r && (r = !0),
- Object.getOwnPropertyNames(t).forEach(function (i) {
- if (r || !n.call(e, i)) {
- var o = Object.getOwnPropertyDescriptor(t, i)
- Object.defineProperty(e, i, o)
- }
- }),
- e
- )
- }
- },
- {}
- ],
- 311: [
- function (e, t, r) {
- "use strict"
- function n() {
- ;(this._types = Object.create(null)), (this._extensions = Object.create(null))
- for (var e = 0; e < arguments.length; e++) this.define(arguments[e])
- ;(this.define = this.define.bind(this)),
- (this.getType = this.getType.bind(this)),
- (this.getExtension = this.getExtension.bind(this))
- }
- ;(n.prototype.define = function (e, t) {
- for (var r in e) {
- var n = e[r].map(function (e) {
- return e.toLowerCase()
- })
- r = r.toLowerCase()
- for (var i = 0; i < n.length; i++) {
- var o = n[i]
- if ("*" != o[0]) {
- if (!t && o in this._types)
- throw new Error(
- 'Attempt to change mapping for "' +
- o +
- '" extension from "' +
- this._types[o] +
- '" to "' +
- r +
- '". Pass `force=true` to allow this, otherwise remove "' +
- o +
- '" from the list of extensions for "' +
- r +
- '".'
- )
- this._types[o] = r
- }
- }
- if (t || !this._extensions[r]) {
- o = n[0]
- this._extensions[r] = "*" != o[0] ? o : o.substr(1)
- }
- }
- }),
- (n.prototype.getType = function (e) {
- e = String(e)
- var t = e.replace(/^.*[/\\]/, "").toLowerCase(),
- r = t.replace(/^.*\./, "").toLowerCase(),
- n = t.length < e.length,
- i = r.length < t.length - 1
- return ((i || !n) && this._types[r]) || null
- }),
- (n.prototype.getExtension = function (e) {
- return (e = /^\s*([^;\s]*)/.test(e) && RegExp.$1), (e && this._extensions[e.toLowerCase()]) || null
- }),
- (t.exports = n)
- },
- {}
- ],
- 312: [
- function (e, t, r) {
- "use strict"
- var n = e("./Mime")
- t.exports = new n(e("./types/standard"))
- },
- {
- "./Mime": 311,
- "./types/standard": 313
- }
- ],
- 313: [
- function (e, t, r) {
- t.exports = {
- "application/andrew-inset": ["ez"],
- "application/applixware": ["aw"],
- "application/atom+xml": ["atom"],
- "application/atomcat+xml": ["atomcat"],
- "application/atomdeleted+xml": ["atomdeleted"],
- "application/atomsvc+xml": ["atomsvc"],
- "application/atsc-dwd+xml": ["dwd"],
- "application/atsc-held+xml": ["held"],
- "application/atsc-rsat+xml": ["rsat"],
- "application/bdoc": ["bdoc"],
- "application/calendar+xml": ["xcs"],
- "application/ccxml+xml": ["ccxml"],
- "application/cdfx+xml": ["cdfx"],
- "application/cdmi-capability": ["cdmia"],
- "application/cdmi-container": ["cdmic"],
- "application/cdmi-domain": ["cdmid"],
- "application/cdmi-object": ["cdmio"],
- "application/cdmi-queue": ["cdmiq"],
- "application/cu-seeme": ["cu"],
- "application/dash+xml": ["mpd"],
- "application/davmount+xml": ["davmount"],
- "application/docbook+xml": ["dbk"],
- "application/dssc+der": ["dssc"],
- "application/dssc+xml": ["xdssc"],
- "application/ecmascript": ["ecma", "es"],
- "application/emma+xml": ["emma"],
- "application/emotionml+xml": ["emotionml"],
- "application/epub+zip": ["epub"],
- "application/exi": ["exi"],
- "application/fdt+xml": ["fdt"],
- "application/font-tdpfr": ["pfr"],
- "application/geo+json": ["geojson"],
- "application/gml+xml": ["gml"],
- "application/gpx+xml": ["gpx"],
- "application/gxf": ["gxf"],
- "application/gzip": ["gz"],
- "application/hjson": ["hjson"],
- "application/hyperstudio": ["stk"],
- "application/inkml+xml": ["ink", "inkml"],
- "application/ipfix": ["ipfix"],
- "application/its+xml": ["its"],
- "application/java-archive": ["jar", "war", "ear"],
- "application/java-serialized-object": ["ser"],
- "application/java-vm": ["class"],
- "application/javascript": ["js", "mjs"],
- "application/json": ["json", "map"],
- "application/json5": ["json5"],
- "application/jsonml+json": ["jsonml"],
- "application/ld+json": ["jsonld"],
- "application/lgr+xml": ["lgr"],
- "application/lost+xml": ["lostxml"],
- "application/mac-binhex40": ["hqx"],
- "application/mac-compactpro": ["cpt"],
- "application/mads+xml": ["mads"],
- "application/manifest+json": ["webmanifest"],
- "application/marc": ["mrc"],
- "application/marcxml+xml": ["mrcx"],
- "application/mathematica": ["ma", "nb", "mb"],
- "application/mathml+xml": ["mathml"],
- "application/mbox": ["mbox"],
- "application/mediaservercontrol+xml": ["mscml"],
- "application/metalink+xml": ["metalink"],
- "application/metalink4+xml": ["meta4"],
- "application/mets+xml": ["mets"],
- "application/mmt-aei+xml": ["maei"],
- "application/mmt-usd+xml": ["musd"],
- "application/mods+xml": ["mods"],
- "application/mp21": ["m21", "mp21"],
- "application/mp4": ["mp4s", "m4p"],
- "application/mrb-consumer+xml": ["*xdf"],
- "application/mrb-publish+xml": ["*xdf"],
- "application/msword": ["doc", "dot"],
- "application/mxf": ["mxf"],
- "application/n-quads": ["nq"],
- "application/n-triples": ["nt"],
- "application/node": ["cjs"],
- "application/octet-stream": [
- "bin",
- "dms",
- "lrf",
- "mar",
- "so",
- "dist",
- "distz",
- "pkg",
- "bpk",
- "dump",
- "elc",
- "deploy",
- "exe",
- "dll",
- "deb",
- "dmg",
- "iso",
- "img",
- "msi",
- "msp",
- "msm",
- "buffer"
- ],
- "application/oda": ["oda"],
- "application/oebps-package+xml": ["opf"],
- "application/ogg": ["ogx"],
- "application/omdoc+xml": ["omdoc"],
- "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"],
- "application/oxps": ["oxps"],
- "application/p2p-overlay+xml": ["relo"],
- "application/patch-ops-error+xml": ["*xer"],
- "application/pdf": ["pdf"],
- "application/pgp-encrypted": ["pgp"],
- "application/pgp-signature": ["asc", "sig"],
- "application/pics-rules": ["prf"],
- "application/pkcs10": ["p10"],
- "application/pkcs7-mime": ["p7m", "p7c"],
- "application/pkcs7-signature": ["p7s"],
- "application/pkcs8": ["p8"],
- "application/pkix-attr-cert": ["ac"],
- "application/pkix-cert": ["cer"],
- "application/pkix-crl": ["crl"],
- "application/pkix-pkipath": ["pkipath"],
- "application/pkixcmp": ["pki"],
- "application/pls+xml": ["pls"],
- "application/postscript": ["ai", "eps", "ps"],
- "application/provenance+xml": ["provx"],
- "application/pskc+xml": ["pskcxml"],
- "application/raml+yaml": ["raml"],
- "application/rdf+xml": ["rdf", "owl"],
- "application/reginfo+xml": ["rif"],
- "application/relax-ng-compact-syntax": ["rnc"],
- "application/resource-lists+xml": ["rl"],
- "application/resource-lists-diff+xml": ["rld"],
- "application/rls-services+xml": ["rs"],
- "application/route-apd+xml": ["rapd"],
- "application/route-s-tsid+xml": ["sls"],
- "application/route-usd+xml": ["rusd"],
- "application/rpki-ghostbusters": ["gbr"],
- "application/rpki-manifest": ["mft"],
- "application/rpki-roa": ["roa"],
- "application/rsd+xml": ["rsd"],
- "application/rss+xml": ["rss"],
- "application/rtf": ["rtf"],
- "application/sbml+xml": ["sbml"],
- "application/scvp-cv-request": ["scq"],
- "application/scvp-cv-response": ["scs"],
- "application/scvp-vp-request": ["spq"],
- "application/scvp-vp-response": ["spp"],
- "application/sdp": ["sdp"],
- "application/senml+xml": ["senmlx"],
- "application/sensml+xml": ["sensmlx"],
- "application/set-payment-initiation": ["setpay"],
- "application/set-registration-initiation": ["setreg"],
- "application/shf+xml": ["shf"],
- "application/sieve": ["siv", "sieve"],
- "application/smil+xml": ["smi", "smil"],
- "application/sparql-query": ["rq"],
- "application/sparql-results+xml": ["srx"],
- "application/srgs": ["gram"],
- "application/srgs+xml": ["grxml"],
- "application/sru+xml": ["sru"],
- "application/ssdl+xml": ["ssdl"],
- "application/ssml+xml": ["ssml"],
- "application/swid+xml": ["swidtag"],
- "application/tei+xml": ["tei", "teicorpus"],
- "application/thraud+xml": ["tfi"],
- "application/timestamped-data": ["tsd"],
- "application/toml": ["toml"],
- "application/ttml+xml": ["ttml"],
- "application/urc-ressheet+xml": ["rsheet"],
- "application/voicexml+xml": ["vxml"],
- "application/wasm": ["wasm"],
- "application/widget": ["wgt"],
- "application/winhlp": ["hlp"],
- "application/wsdl+xml": ["wsdl"],
- "application/wspolicy+xml": ["wspolicy"],
- "application/xaml+xml": ["xaml"],
- "application/xcap-att+xml": ["xav"],
- "application/xcap-caps+xml": ["xca"],
- "application/xcap-diff+xml": ["xdf"],
- "application/xcap-el+xml": ["xel"],
- "application/xcap-error+xml": ["xer"],
- "application/xcap-ns+xml": ["xns"],
- "application/xenc+xml": ["xenc"],
- "application/xhtml+xml": ["xhtml", "xht"],
- "application/xliff+xml": ["xlf"],
- "application/xml": ["xml", "xsl", "xsd", "rng"],
- "application/xml-dtd": ["dtd"],
- "application/xop+xml": ["xop"],
- "application/xproc+xml": ["xpl"],
- "application/xslt+xml": ["xslt"],
- "application/xspf+xml": ["xspf"],
- "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"],
- "application/yang": ["yang"],
- "application/yin+xml": ["yin"],
- "application/zip": ["zip"],
- "audio/3gpp": ["*3gpp"],
- "audio/adpcm": ["adp"],
- "audio/basic": ["au", "snd"],
- "audio/midi": ["mid", "midi", "kar", "rmi"],
- "audio/mobile-xmf": ["mxmf"],
- "audio/mp3": ["*mp3"],
- "audio/mp4": ["m4a", "mp4a"],
- "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"],
- "audio/ogg": ["oga", "ogg", "spx"],
- "audio/s3m": ["s3m"],
- "audio/silk": ["sil"],
- "audio/wav": ["wav"],
- "audio/wave": ["*wav"],
- "audio/webm": ["weba"],
- "audio/xm": ["xm"],
- "font/collection": ["ttc"],
- "font/otf": ["otf"],
- "font/ttf": ["ttf"],
- "font/woff": ["woff"],
- "font/woff2": ["woff2"],
- "image/aces": ["exr"],
- "image/apng": ["apng"],
- "image/bmp": ["bmp"],
- "image/cgm": ["cgm"],
- "image/dicom-rle": ["drle"],
- "image/emf": ["emf"],
- "image/fits": ["fits"],
- "image/g3fax": ["g3"],
- "image/gif": ["gif"],
- "image/heic": ["heic"],
- "image/heic-sequence": ["heics"],
- "image/heif": ["heif"],
- "image/heif-sequence": ["heifs"],
- "image/hej2k": ["hej2"],
- "image/hsj2": ["hsj2"],
- "image/ief": ["ief"],
- "image/jls": ["jls"],
- "image/jp2": ["jp2", "jpg2"],
- "image/jpeg": ["jpeg", "jpg", "jpe"],
- "image/jph": ["jph"],
- "image/jphc": ["jhc"],
- "image/jpm": ["jpm"],
- "image/jpx": ["jpx", "jpf"],
- "image/jxr": ["jxr"],
- "image/jxra": ["jxra"],
- "image/jxrs": ["jxrs"],
- "image/jxs": ["jxs"],
- "image/jxsc": ["jxsc"],
- "image/jxsi": ["jxsi"],
- "image/jxss": ["jxss"],
- "image/ktx": ["ktx"],
- "image/png": ["png"],
- "image/sgi": ["sgi"],
- "image/svg+xml": ["svg", "svgz"],
- "image/t38": ["t38"],
- "image/tiff": ["tif", "tiff"],
- "image/tiff-fx": ["tfx"],
- "image/webp": ["webp"],
- "image/wmf": ["wmf"],
- "message/disposition-notification": ["disposition-notification"],
- "message/global": ["u8msg"],
- "message/global-delivery-status": ["u8dsn"],
- "message/global-disposition-notification": ["u8mdn"],
- "message/global-headers": ["u8hdr"],
- "message/rfc822": ["eml", "mime"],
- "model/3mf": ["3mf"],
- "model/gltf+json": ["gltf"],
- "model/gltf-binary": ["glb"],
- "model/iges": ["igs", "iges"],
- "model/mesh": ["msh", "mesh", "silo"],
- "model/mtl": ["mtl"],
- "model/obj": ["obj"],
- "model/stl": ["stl"],
- "model/vrml": ["wrl", "vrml"],
- "model/x3d+binary": ["*x3db", "x3dbz"],
- "model/x3d+fastinfoset": ["x3db"],
- "model/x3d+vrml": ["*x3dv", "x3dvz"],
- "model/x3d+xml": ["x3d", "x3dz"],
- "model/x3d-vrml": ["x3dv"],
- "text/cache-manifest": ["appcache", "manifest"],
- "text/calendar": ["ics", "ifb"],
- "text/coffeescript": ["coffee", "litcoffee"],
- "text/css": ["css"],
- "text/csv": ["csv"],
- "text/html": ["html", "htm", "shtml"],
- "text/jade": ["jade"],
- "text/jsx": ["jsx"],
- "text/less": ["less"],
- "text/markdown": ["markdown", "md"],
- "text/mathml": ["mml"],
- "text/mdx": ["mdx"],
- "text/n3": ["n3"],
- "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"],
- "text/richtext": ["rtx"],
- "text/rtf": ["*rtf"],
- "text/sgml": ["sgml", "sgm"],
- "text/shex": ["shex"],
- "text/slim": ["slim", "slm"],
- "text/stylus": ["stylus", "styl"],
- "text/tab-separated-values": ["tsv"],
- "text/troff": ["t", "tr", "roff", "man", "me", "ms"],
- "text/turtle": ["ttl"],
- "text/uri-list": ["uri", "uris", "urls"],
- "text/vcard": ["vcard"],
- "text/vtt": ["vtt"],
- "text/xml": ["*xml"],
- "text/yaml": ["yaml", "yml"],
- "video/3gpp": ["3gp", "3gpp"],
- "video/3gpp2": ["3g2"],
- "video/h261": ["h261"],
- "video/h263": ["h263"],
- "video/h264": ["h264"],
- "video/jpeg": ["jpgv"],
- "video/jpm": ["*jpm", "jpgm"],
- "video/mj2": ["mj2", "mjp2"],
- "video/mp2t": ["ts"],
- "video/mp4": ["mp4", "mp4v", "mpg4"],
- "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"],
- "video/ogg": ["ogv"],
- "video/quicktime": ["qt", "mov"],
- "video/webm": ["webm"]
- }
- },
- {}
- ],
- 314: [
- function (e, t, r) {
- var n = 1e3,
- i = 60 * n,
- o = 60 * i,
- a = 24 * o,
- s = 7 * a,
- l = 365.25 * a
- function c(e) {
- if (((e = String(e)), !(e.length > 100))) {
- var t =
- /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
- e
- )
- if (t) {
- var r = parseFloat(t[1]),
- c = (t[2] || "ms").toLowerCase()
- switch (c) {
- case "years":
- case "year":
- case "yrs":
- case "yr":
- case "y":
- return r * l
- case "weeks":
- case "week":
- case "w":
- return r * s
- case "days":
- case "day":
- case "d":
- return r * a
- case "hours":
- case "hour":
- case "hrs":
- case "hr":
- case "h":
- return r * o
- case "minutes":
- case "minute":
- case "mins":
- case "min":
- case "m":
- return r * i
- case "seconds":
- case "second":
- case "secs":
- case "sec":
- case "s":
- return r * n
- case "milliseconds":
- case "millisecond":
- case "msecs":
- case "msec":
- case "ms":
- return r
- default:
- return
- }
- }
- }
- }
- function u(e) {
- var t = Math.abs(e)
- return t >= a
- ? Math.round(e / a) + "d"
- : t >= o
- ? Math.round(e / o) + "h"
- : t >= i
- ? Math.round(e / i) + "m"
- : t >= n
- ? Math.round(e / n) + "s"
- : e + "ms"
- }
- function f(e) {
- var t = Math.abs(e)
- return t >= a
- ? p(e, t, a, "day")
- : t >= o
- ? p(e, t, o, "hour")
- : t >= i
- ? p(e, t, i, "minute")
- : t >= n
- ? p(e, t, n, "second")
- : e + " ms"
- }
- function p(e, t, r, n) {
- var i = t >= 1.5 * r
- return Math.round(e / r) + " " + n + (i ? "s" : "")
- }
- t.exports = function (e, t) {
- t = t || {}
- var r = typeof e
- if ("string" === r && e.length > 0) return c(e)
- if ("number" === r && isFinite(e)) return t.long ? f(e) : u(e)
- throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(e))
- }
- },
- {}
- ],
- 315: [
- function (e, t, r) {
- ;(function (e) {
- function t(e, t) {
- for (var r = 0, n = e.length - 1; n >= 0; n--) {
- var i = e[n]
- "." === i ? e.splice(n, 1) : ".." === i ? (e.splice(n, 1), r++) : r && (e.splice(n, 1), r--)
- }
- if (t) for (; r--; r) e.unshift("..")
- return e
- }
- function n(e) {
- "string" !== typeof e && (e += "")
- var t,
- r = 0,
- n = -1,
- i = !0
- for (t = e.length - 1; t >= 0; --t)
- if (47 === e.charCodeAt(t)) {
- if (!i) {
- r = t + 1
- break
- }
- } else -1 === n && ((i = !1), (n = t + 1))
- return -1 === n ? "" : e.slice(r, n)
- }
- function i(e, t) {
- if (e.filter) return e.filter(t)
- for (var r = [], n = 0; n < e.length; n++) t(e[n], n, e) && r.push(e[n])
- return r
- }
- ;(r.resolve = function () {
- for (var r = "", n = !1, o = arguments.length - 1; o >= -1 && !n; o--) {
- var a = o >= 0 ? arguments[o] : e.cwd()
- if ("string" !== typeof a) throw new TypeError("Arguments to path.resolve must be strings")
- a && ((r = a + "/" + r), (n = "/" === a.charAt(0)))
- }
- return (
- (r = t(
- i(r.split("/"), function (e) {
- return !!e
- }),
- !n
- ).join("/")),
- (n ? "/" : "") + r || "."
- )
- }),
- (r.normalize = function (e) {
- var n = r.isAbsolute(e),
- a = "/" === o(e, -1)
- return (
- (e = t(
- i(e.split("/"), function (e) {
- return !!e
- }),
- !n
- ).join("/")),
- e || n || (e = "."),
- e && a && (e += "/"),
- (n ? "/" : "") + e
- )
- }),
- (r.isAbsolute = function (e) {
- return "/" === e.charAt(0)
- }),
- (r.join = function () {
- var e = Array.prototype.slice.call(arguments, 0)
- return r.normalize(
- i(e, function (e, t) {
- if ("string" !== typeof e) throw new TypeError("Arguments to path.join must be strings")
- return e
- }).join("/")
- )
- }),
- (r.relative = function (e, t) {
- function n(e) {
- for (var t = 0; t < e.length; t++) if ("" !== e[t]) break
- for (var r = e.length - 1; r >= 0; r--) if ("" !== e[r]) break
- return t > r ? [] : e.slice(t, r - t + 1)
- }
- ;(e = r.resolve(e).substr(1)), (t = r.resolve(t).substr(1))
- for (var i = n(e.split("/")), o = n(t.split("/")), a = Math.min(i.length, o.length), s = a, l = 0; l < a; l++)
- if (i[l] !== o[l]) {
- s = l
- break
- }
- var c = []
- for (l = s; l < i.length; l++) c.push("..")
- return (c = c.concat(o.slice(s))), c.join("/")
- }),
- (r.sep = "/"),
- (r.delimiter = ":"),
- (r.dirname = function (e) {
- if (("string" !== typeof e && (e += ""), 0 === e.length)) return "."
- for (var t = e.charCodeAt(0), r = 47 === t, n = -1, i = !0, o = e.length - 1; o >= 1; --o)
- if (((t = e.charCodeAt(o)), 47 === t)) {
- if (!i) {
- n = o
- break
- }
- } else i = !1
- return -1 === n ? (r ? "/" : ".") : r && 1 === n ? "/" : e.slice(0, n)
- }),
- (r.basename = function (e, t) {
- var r = n(e)
- return t && r.substr(-1 * t.length) === t && (r = r.substr(0, r.length - t.length)), r
- }),
- (r.extname = function (e) {
- "string" !== typeof e && (e += "")
- for (var t = -1, r = 0, n = -1, i = !0, o = 0, a = e.length - 1; a >= 0; --a) {
- var s = e.charCodeAt(a)
- if (47 !== s)
- -1 === n && ((i = !1), (n = a + 1)),
- 46 === s ? (-1 === t ? (t = a) : 1 !== o && (o = 1)) : -1 !== t && (o = -1)
- else if (!i) {
- r = a + 1
- break
- }
- }
- return -1 === t || -1 === n || 0 === o || (1 === o && t === n - 1 && t === r + 1) ? "" : e.slice(t, n)
- })
- var o =
- "b" === "ab".substr(-1)
- ? function (e, t, r) {
- return e.substr(t, r)
- }
- : function (e, t, r) {
- return t < 0 && (t = e.length + t), e.substr(t, r)
- }
- }).call(this, e("_process"))
- },
- {
- _process: 392
- }
- ],
- 316: [
- function (e, t, r) {
- ;(function (e) {
- ;(function () {
- "use strict"
- var n = {
- function: !0,
- object: !0
- },
- i = (n[typeof window] && window) || this,
- o = n[typeof r] && r,
- a = n[typeof t] && t && !t.nodeType && t,
- s = o && a && "object" == typeof e && e
- !s || (s.global !== s && s.window !== s && s.self !== s) || (i = s)
- var l = Math.pow(2, 53) - 1,
- c = /\bOpera/,
- u = Object.prototype,
- f = u.hasOwnProperty,
- p = u.toString
- function d(e) {
- return (e = String(e)), e.charAt(0).toUpperCase() + e.slice(1)
- }
- function h(e, t, r) {
- var n = {
- "10.0": "10",
- 6.4: "10 Technical Preview",
- 6.3: "8.1",
- 6.2: "8",
- 6.1: "Server 2008 R2 / 7",
- "6.0": "Server 2008 / Vista",
- 5.2: "Server 2003 / XP 64-bit",
- 5.1: "XP",
- 5.01: "2000 SP1",
- "5.0": "2000",
- "4.0": "NT",
- "4.90": "ME"
- }
- return (
- t && r && /^Win/i.test(e) && !/^Windows Phone /i.test(e) && (n = n[/[\d.]+$/.exec(e)]) && (e = "Windows " + n),
- (e = String(e)),
- t && r && (e = e.replace(RegExp(t, "i"), r)),
- (e = g(
- e
- .replace(/ ce$/i, " CE")
- .replace(/\bhpw/i, "web")
- .replace(/\bMacintosh\b/, "Mac OS")
- .replace(/_PowerPC\b/i, " OS")
- .replace(/\b(OS X) [^ \d]+/i, "$1")
- .replace(/\bMac (OS X)\b/, "$1")
- .replace(/\/(\d)/, " $1")
- .replace(/_/g, ".")
- .replace(/(?: BePC|[ .]*fc[ \d.]+)$/i, "")
- .replace(/\bx86\.64\b/gi, "x86_64")
- .replace(/\b(Windows Phone) OS\b/, "$1")
- .replace(/\b(Chrome OS \w+) [\d.]+\b/, "$1")
- .split(" on ")[0]
- )),
- e
- )
- }
- function m(e, t) {
- var r = -1,
- n = e ? e.length : 0
- if ("number" == typeof n && n > -1 && n <= l) while (++r < n) t(e[r], r, e)
- else y(e, t)
- }
- function g(e) {
- return (e = A(e)), /^(?:webOS|i(?:OS|P))/.test(e) ? e : d(e)
- }
- function y(e, t) {
- for (var r in e) f.call(e, r) && t(e[r], r, e)
- }
- function v(e) {
- return null == e ? d(e) : p.call(e).slice(8, -1)
- }
- function b(e, t) {
- var r = null != e ? typeof e[t] : "number"
- return !/^(?:boolean|number|string|undefined)$/.test(r) && ("object" != r || !!e[t])
- }
- function w(e) {
- return String(e).replace(/([ -])(?!$)/g, "$1?")
- }
- function x(e, t) {
- var r = null
- return (
- m(e, function (n, i) {
- r = t(r, n, i, e)
- }),
- r
- )
- }
- function A(e) {
- return String(e).replace(/^ +| +$/g, "")
- }
- function _(e) {
- var t = i,
- r = e && "object" == typeof e && "String" != v(e)
- r && ((t = e), (e = null))
- var n = t.navigator || {},
- o = n.userAgent || ""
- e || (e = o)
- var a,
- s,
- l = r ? !!n.likeChrome : /\bChrome\b/.test(e) && !/internal|\n/i.test(p.toString()),
- u = "Object",
- f = r ? u : "ScriptBridgingProxyObject",
- d = r ? u : "Environment",
- m = r && t.java ? "JavaPackage" : v(t.java),
- T = r ? u : "RuntimeObject",
- E = /\bJava/.test(m) && t.java,
- S = E && v(t.environment) == d,
- C = E ? "a" : "α",
- k = E ? "b" : "β",
- L = t.document || {},
- P = t.operamini || t.opera,
- O = c.test((O = r && P ? P["[[Class]]"] : v(P))) ? O : (P = null),
- j = e,
- R = [],
- I = null,
- N = e == o,
- M = N && P && "function" == typeof P.version && P.version(),
- D = q([
- {
- label: "EdgeHTML",
- pattern: "Edge"
- },
- "Trident",
- {
- label: "WebKit",
- pattern: "AppleWebKit"
- },
- "iCab",
- "Presto",
- "NetFront",
- "Tasman",
- "KHTML",
- "Gecko"
- ]),
- B = W([
- "Adobe AIR",
- "Arora",
- "Avant Browser",
- "Breach",
- "Camino",
- "Electron",
- "Epiphany",
- "Fennec",
- "Flock",
- "Galeon",
- "GreenBrowser",
- "iCab",
- "Iceweasel",
- "K-Meleon",
- "Konqueror",
- "Lunascape",
- "Maxthon",
- {
- label: "Microsoft Edge",
- pattern: "Edge"
- },
- "Midori",
- "Nook Browser",
- "PaleMoon",
- "PhantomJS",
- "Raven",
- "Rekonq",
- "RockMelt",
- {
- label: "Samsung Internet",
- pattern: "SamsungBrowser"
- },
- "SeaMonkey",
- {
- label: "Silk",
- pattern: "(?:Cloud9|Silk-Accelerated)"
- },
- "Sleipnir",
- "SlimBrowser",
- {
- label: "SRWare Iron",
- pattern: "Iron"
- },
- "Sunrise",
- "Swiftfox",
- "Waterfox",
- "WebPositive",
- "Opera Mini",
- {
- label: "Opera Mini",
- pattern: "OPiOS"
- },
- "Opera",
- {
- label: "Opera",
- pattern: "OPR"
- },
- "Chrome",
- {
- label: "Chrome Mobile",
- pattern: "(?:CriOS|CrMo)"
- },
- {
- label: "Firefox",
- pattern: "(?:Firefox|Minefield)"
- },
- {
- label: "Firefox for iOS",
- pattern: "FxiOS"
- },
- {
- label: "IE",
- pattern: "IEMobile"
- },
- {
- label: "IE",
- pattern: "MSIE"
- },
- "Safari"
- ]),
- F = H([
- {
- label: "BlackBerry",
- pattern: "BB10"
- },
- "BlackBerry",
- {
- label: "Galaxy S",
- pattern: "GT-I9000"
- },
- {
- label: "Galaxy S2",
- pattern: "GT-I9100"
- },
- {
- label: "Galaxy S3",
- pattern: "GT-I9300"
- },
- {
- label: "Galaxy S4",
- pattern: "GT-I9500"
- },
- {
- label: "Galaxy S5",
- pattern: "SM-G900"
- },
- {
- label: "Galaxy S6",
- pattern: "SM-G920"
- },
- {
- label: "Galaxy S6 Edge",
- pattern: "SM-G925"
- },
- {
- label: "Galaxy S7",
- pattern: "SM-G930"
- },
- {
- label: "Galaxy S7 Edge",
- pattern: "SM-G935"
- },
- "Google TV",
- "Lumia",
- "iPad",
- "iPod",
- "iPhone",
- "Kindle",
- {
- label: "Kindle Fire",
- pattern: "(?:Cloud9|Silk-Accelerated)"
- },
- "Nexus",
- "Nook",
- "PlayBook",
- "PlayStation Vita",
- "PlayStation",
- "TouchPad",
- "Transformer",
- {
- label: "Wii U",
- pattern: "WiiU"
- },
- "Wii",
- "Xbox One",
- {
- label: "Xbox 360",
- pattern: "Xbox"
- },
- "Xoom"
- ]),
- U = G({
- Apple: {
- iPad: 1,
- iPhone: 1,
- iPod: 1
- },
- Archos: {},
- Amazon: {
- Kindle: 1,
- "Kindle Fire": 1
- },
- Asus: {
- Transformer: 1
- },
- "Barnes & Noble": {
- Nook: 1
- },
- BlackBerry: {
- PlayBook: 1
- },
- Google: {
- "Google TV": 1,
- Nexus: 1
- },
- HP: {
- TouchPad: 1
- },
- HTC: {},
- LG: {},
- Microsoft: {
- Xbox: 1,
- "Xbox One": 1
- },
- Motorola: {
- Xoom: 1
- },
- Nintendo: {
- "Wii U": 1,
- Wii: 1
- },
- Nokia: {
- Lumia: 1
- },
- Samsung: {
- "Galaxy S": 1,
- "Galaxy S2": 1,
- "Galaxy S3": 1,
- "Galaxy S4": 1
- },
- Sony: {
- PlayStation: 1,
- "PlayStation Vita": 1
- }
- }),
- z = V([
- "Windows Phone",
- "Android",
- "CentOS",
- {
- label: "Chrome OS",
- pattern: "CrOS"
- },
- "Debian",
- "Fedora",
- "FreeBSD",
- "Gentoo",
- "Haiku",
- "Kubuntu",
- "Linux Mint",
- "OpenBSD",
- "Red Hat",
- "SuSE",
- "Ubuntu",
- "Xubuntu",
- "Cygwin",
- "Symbian OS",
- "hpwOS",
- "webOS ",
- "webOS",
- "Tablet OS",
- "Tizen",
- "Linux",
- "Mac OS X",
- "Macintosh",
- "Mac",
- "Windows 98;",
- "Windows "
- ])
- function q(t) {
- return x(t, function (t, r) {
- return t || (RegExp("\\b" + (r.pattern || w(r)) + "\\b", "i").exec(e) && (r.label || r))
- })
- }
- function G(t) {
- return x(t, function (t, r, n) {
- return (
- t ||
- ((r[F] || r[/^[a-z]+(?: +[a-z]+\b)*/i.exec(F)] || RegExp("\\b" + w(n) + "(?:\\b|\\w*\\d)", "i").exec(e)) &&
- n)
- )
- })
- }
- function W(t) {
- return x(t, function (t, r) {
- return t || (RegExp("\\b" + (r.pattern || w(r)) + "\\b", "i").exec(e) && (r.label || r))
- })
- }
- function V(t) {
- return x(t, function (t, r) {
- var n = r.pattern || w(r)
- return !t && (t = RegExp("\\b" + n + "(?:/[\\d.]+|[ \\w.]*)", "i").exec(e)) && (t = h(t, n, r.label || r)), t
- })
- }
- function H(t) {
- return x(t, function (t, r) {
- var n = r.pattern || w(r)
- return (
- !t &&
- (t =
- RegExp("\\b" + n + " *\\d+[.\\w_]*", "i").exec(e) ||
- RegExp("\\b" + n + " *\\w+-[\\w]*", "i").exec(e) ||
- RegExp("\\b" + n + "(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)", "i").exec(e)) &&
- ((t = String(r.label && !RegExp(n, "i").test(r.label) ? r.label : t).split("/"))[1] &&
- !/[\d.]+/.test(t[0]) &&
- (t[0] += " " + t[1]),
- (r = r.label || r),
- (t = g(
- t[0]
- .replace(RegExp(n, "i"), r)
- .replace(RegExp("; *(?:" + r + "[_-])?", "i"), " ")
- .replace(RegExp("(" + r + ")[-_.]?(\\w)", "i"), "$1 $2")
- ))),
- t
- )
- })
- }
- function X(t) {
- return x(t, function (t, r) {
- return (
- t || (RegExp(r + "(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)", "i").exec(e) || 0)[1] || null
- )
- })
- }
- function Y() {
- return this.description || ""
- }
- if (
- (D && (D = [D]),
- U && !F && (F = H([U])),
- (a = /\bGoogle TV\b/.exec(F)) && (F = a[0]),
- /\bSimulator\b/i.test(e) && (F = (F ? F + " " : "") + "Simulator"),
- "Opera Mini" == B && /\bOPiOS\b/.test(e) && R.push("running in Turbo/Uncompressed mode"),
- "IE" == B && /\blike iPhone OS\b/.test(e)
- ? ((a = _(e.replace(/like iPhone OS/, ""))), (U = a.manufacturer), (F = a.product))
- : /^iP/.test(F)
- ? (B || (B = "Safari"), (z = "iOS" + ((a = / OS ([\d_]+)/i.exec(e)) ? " " + a[1].replace(/_/g, ".") : "")))
- : "Konqueror" != B || /buntu/i.test(z)
- ? (U && "Google" != U && ((/Chrome/.test(B) && !/\bMobile Safari\b/i.test(e)) || /\bVita\b/.test(F))) ||
- (/\bAndroid\b/.test(z) && /^Chrome/.test(B) && /\bVersion\//i.test(e))
- ? ((B = "Android Browser"), (z = /\bAndroid\b/.test(z) ? z : "Android"))
- : "Silk" == B
- ? (/\bMobi/i.test(e) || ((z = "Android"), R.unshift("desktop mode")),
- /Accelerated *= *true/i.test(e) && R.unshift("accelerated"))
- : "PaleMoon" == B && (a = /\bFirefox\/([\d.]+)\b/.exec(e))
- ? R.push("identifying as Firefox " + a[1])
- : "Firefox" == B && (a = /\b(Mobile|Tablet|TV)\b/i.exec(e))
- ? (z || (z = "Firefox OS"), F || (F = a[1]))
- : !B || (a = !/\bMinefield\b/i.test(e) && /\b(?:Firefox|Safari)\b/.exec(B))
- ? (B && !F && /[\/,]|^[^(]+?\)/.test(e.slice(e.indexOf(a + "/") + 8)) && (B = null),
- (a = F || U || z) &&
- (F || U || /\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(z)) &&
- (B = /[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(z) ? z : a) + " Browser"))
- : "Electron" == B && (a = (/\bChrome\/([\d.]+)\b/.exec(e) || 0)[1]) && R.push("Chromium " + a)
- : (z = "Kubuntu"),
- M ||
- (M = X([
- "(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))",
- "Version",
- w(B),
- "(?:Firefox|Minefield|NetFront)"
- ])),
- (a =
- ("iCab" == D && parseFloat(M) > 3
- ? "WebKit"
- : /\bOpera\b/.test(B) && (/\bOPR\b/.test(e) ? "Blink" : "Presto")) ||
- (/\b(?:Midori|Nook|Safari)\b/i.test(e) && !/^(?:Trident|EdgeHTML)$/.test(D) && "WebKit") ||
- (!D && /\bMSIE\b/i.test(e) && ("Mac OS" == z ? "Tasman" : "Trident")) ||
- ("WebKit" == D && /\bPlayStation\b(?! Vita\b)/i.test(B) && "NetFront")) && (D = [a]),
- "IE" == B && (a = (/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e) || 0)[1])
- ? ((B += " Mobile"), (z = "Windows Phone " + (/\+$/.test(a) ? a : a + ".x")), R.unshift("desktop mode"))
- : /\bWPDesktop\b/i.test(e)
- ? ((B = "IE Mobile"),
- (z = "Windows Phone 8.x"),
- R.unshift("desktop mode"),
- M || (M = (/\brv:([\d.]+)/.exec(e) || 0)[1]))
- : "IE" != B &&
- "Trident" == D &&
- (a = /\brv:([\d.]+)/.exec(e)) &&
- (B && R.push("identifying as " + B + (M ? " " + M : "")), (B = "IE"), (M = a[1])),
- N)
- ) {
- if (b(t, "global"))
- if (
- (E &&
- ((a = E.lang.System),
- (j = a.getProperty("os.arch")),
- (z = z || a.getProperty("os.name") + " " + a.getProperty("os.version"))),
- S)
- ) {
- try {
- ;(M = t.require("ringo/engine").version.join(".")), (B = "RingoJS")
- } catch (Z) {
- ;(a = t.system) && a.global.system == t.system && ((B = "Narwhal"), z || (z = a[0].os || null))
- }
- B || (B = "Rhino")
- } else
- "object" == typeof t.process &&
- !t.process.browser &&
- (a = t.process) &&
- ("object" == typeof a.versions &&
- ("string" == typeof a.versions.electron
- ? (R.push("Node " + a.versions.node), (B = "Electron"), (M = a.versions.electron))
- : "string" == typeof a.versions.nw &&
- (R.push("Chromium " + M, "Node " + a.versions.node), (B = "NW.js"), (M = a.versions.nw))),
- B ||
- ((B = "Node.js"),
- (j = a.arch),
- (z = a.platform),
- (M = /[\d.]+/.exec(a.version)),
- (M = M ? M[0] : null)))
- else
- v((a = t.runtime)) == f
- ? ((B = "Adobe AIR"), (z = a.flash.system.Capabilities.os))
- : v((a = t.phantom)) == T
- ? ((B = "PhantomJS"), (M = (a = a.version || null) && a.major + "." + a.minor + "." + a.patch))
- : "number" == typeof L.documentMode && (a = /\bTrident\/(\d+)/i.exec(e))
- ? ((M = [M, L.documentMode]),
- (a = +a[1] + 4) != M[1] && (R.push("IE " + M[1] + " mode"), D && (D[1] = ""), (M[1] = a)),
- (M = "IE" == B ? String(M[1].toFixed(1)) : M[0]))
- : "number" == typeof L.documentMode &&
- /^(?:Chrome|Firefox)\b/.test(B) &&
- (R.push("masking as " + B + " " + M), (B = "IE"), (M = "11.0"), (D = ["Trident"]), (z = "Windows"))
- z = z && g(z)
- }
- if (
- (M &&
- (a =
- /(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(M) ||
- /(?:alpha|beta)(?: ?\d)?/i.exec(e + ";" + (N && n.appMinorVersion)) ||
- (/\bMinefield\b/i.test(e) && "a")) &&
- ((I = /b/i.test(a) ? "beta" : "alpha"),
- (M = M.replace(RegExp(a + "\\+?$"), "") + ("beta" == I ? k : C) + (/\d+\+?/.exec(a) || ""))),
- "Fennec" == B || ("Firefox" == B && /\b(?:Android|Firefox OS)\b/.test(z)))
- )
- B = "Firefox Mobile"
- else if ("Maxthon" == B && M) M = M.replace(/\.[\d.]+/, ".x")
- else if (/\bXbox\b/i.test(F))
- "Xbox 360" == F && (z = null), "Xbox 360" == F && /\bIEMobile\b/.test(e) && R.unshift("mobile mode")
- else if (
- (!/^(?:Chrome|IE|Opera)$/.test(B) && (!B || F || /Browser|Mobi/.test(B))) ||
- ("Windows CE" != z && !/Mobi/i.test(e))
- )
- if ("IE" == B && N)
- try {
- null === t.external && R.unshift("platform preview")
- } catch (Z) {
- R.unshift("embedded")
- }
- else
- (/\bBlackBerry\b/.test(F) || /\bBB10\b/.test(e)) &&
- (a = (RegExp(F.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(e) || 0)[1] || M)
- ? ((a = [a, /BB10/.test(e)]),
- (z = (a[1] ? ((F = null), (U = "BlackBerry")) : "Device Software") + " " + a[0]),
- (M = null))
- : this != y &&
- "Wii" != F &&
- ((N && P) ||
- (/Opera/.test(B) && /\b(?:MSIE|Firefox)\b/i.test(e)) ||
- ("Firefox" == B && /\bOS X (?:\d+\.){2,}/.test(z)) ||
- ("IE" == B &&
- ((z && !/^Win/.test(z) && M > 5.5) ||
- (/\bWindows XP\b/.test(z) && M > 8) ||
- (8 == M && !/\bTrident\b/.test(e))))) &&
- !c.test((a = _.call(y, e.replace(c, "") + ";"))) &&
- a.name &&
- ((a = "ing as " + a.name + ((a = a.version) ? " " + a : "")),
- c.test(B)
- ? (/\bIE\b/.test(a) && "Mac OS" == z && (z = null), (a = "identify" + a))
- : ((a = "mask" + a),
- (B = O ? g(O.replace(/([a-z])([A-Z])/g, "$1 $2")) : "Opera"),
- /\bIE\b/.test(a) && (z = null),
- N || (M = null)),
- (D = ["Presto"]),
- R.push(a))
- else B += " Mobile"
- ;(a = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(e) || 0)[1]) &&
- ((a = [parseFloat(a.replace(/\.(\d)$/, ".0$1")), a]),
- "Safari" == B && "+" == a[1].slice(-1)
- ? ((B = "WebKit Nightly"), (I = "alpha"), (M = a[1].slice(0, -1)))
- : (M != a[1] && M != (a[2] = (/\bSafari\/([\d.]+\+?)/i.exec(e) || 0)[1])) || (M = null),
- (a[1] = (/\bChrome\/([\d.]+)/i.exec(e) || 0)[1]),
- 537.36 == a[0] && 537.36 == a[2] && parseFloat(a[1]) >= 28 && "WebKit" == D && (D = ["Blink"]),
- N && (l || a[1])
- ? (D && (D[1] = "like Chrome"),
- (a =
- a[1] ||
- ((a = a[0]),
- a < 530
- ? 1
- : a < 532
- ? 2
- : a < 532.05
- ? 3
- : a < 533
- ? 4
- : a < 534.03
- ? 5
- : a < 534.07
- ? 6
- : a < 534.1
- ? 7
- : a < 534.13
- ? 8
- : a < 534.16
- ? 9
- : a < 534.24
- ? 10
- : a < 534.3
- ? 11
- : a < 535.01
- ? 12
- : a < 535.02
- ? "13+"
- : a < 535.07
- ? 15
- : a < 535.11
- ? 16
- : a < 535.19
- ? 17
- : a < 536.05
- ? 18
- : a < 536.1
- ? 19
- : a < 537.01
- ? 20
- : a < 537.11
- ? "21+"
- : a < 537.13
- ? 23
- : a < 537.18
- ? 24
- : a < 537.24
- ? 25
- : a < 537.36
- ? 26
- : "Blink" != D
- ? "27"
- : "28")))
- : (D && (D[1] = "like Safari"),
- (a = a[0]),
- (a =
- a < 400
- ? 1
- : a < 500
- ? 2
- : a < 526
- ? 3
- : a < 533
- ? 4
- : a < 534
- ? "4+"
- : a < 535
- ? 5
- : a < 537
- ? 6
- : a < 538
- ? 7
- : a < 601
- ? 8
- : "8")),
- D && (D[1] += " " + (a += "number" == typeof a ? ".x" : /[.+]/.test(a) ? "" : "+")),
- "Safari" == B && (!M || parseInt(M) > 45) && (M = a)),
- "Opera" == B && (a = /\bzbov|zvav$/.exec(z))
- ? ((B += " "),
- R.unshift("desktop mode"),
- "zvav" == a ? ((B += "Mini"), (M = null)) : (B += "Mobile"),
- (z = z.replace(RegExp(" *" + a + "$"), "")))
- : "Safari" == B &&
- /\bChrome\b/.exec(D && D[1]) &&
- (R.unshift("desktop mode"),
- (B = "Chrome Mobile"),
- (M = null),
- /\bOS X\b/.test(z) ? ((U = "Apple"), (z = "iOS 4.3+")) : (z = null)),
- M && 0 == M.indexOf((a = /[\d.]+$/.exec(z))) && e.indexOf("/" + a + "-") > -1 && (z = A(z.replace(a, ""))),
- D &&
- !/\b(?:Avant|Nook)\b/.test(B) &&
- (/Browser|Lunascape|Maxthon/.test(B) ||
- ("Safari" != B && /^iOS/.test(z) && /\bSafari\b/.test(D[1])) ||
- (/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(B) &&
- D[1])) &&
- (a = D[D.length - 1]) &&
- R.push(a),
- R.length && (R = ["(" + R.join("; ") + ")"]),
- U && F && F.indexOf(U) < 0 && R.push("on " + U),
- F && R.push((/^on /.test(R[R.length - 1]) ? "" : "on ") + F),
- z &&
- ((a = / ([\d.+]+)$/.exec(z)),
- (s = a && "/" == z.charAt(z.length - a[0].length - 1)),
- (z = {
- architecture: 32,
- family: a && !s ? z.replace(a[0], "") : z,
- version: a ? a[1] : null,
- toString: function () {
- var e = this.version
- return this.family + (e && !s ? " " + e : "") + (64 == this.architecture ? " 64-bit" : "")
- }
- })),
- (a = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(j)) && !/\bi686\b/i.test(j)
- ? (z && ((z.architecture = 64), (z.family = z.family.replace(RegExp(" *" + a), ""))),
- B &&
- (/\bWOW64\b/i.test(e) ||
- (N && /\w(?:86|32)$/.test(n.cpuClass || n.platform) && !/\bWin64; x64\b/i.test(e))) &&
- R.unshift("32-bit"))
- : z && /^OS X/.test(z.family) && "Chrome" == B && parseFloat(M) >= 39 && (z.architecture = 64),
- e || (e = null)
- var K = {}
- return (
- (K.description = e),
- (K.layout = D && D[0]),
- (K.manufacturer = U),
- (K.name = B),
- (K.prerelease = I),
- (K.product = F),
- (K.ua = e),
- (K.version = B && M),
- (K.os = z || {
- architecture: null,
- family: null,
- version: null,
- toString: function () {
- return "null"
- }
- }),
- (K.parse = _),
- (K.toString = Y),
- K.version && R.unshift(M),
- K.name && R.unshift(B),
- z && B && (z != String(z).split(" ")[0] || (z != B.split(" ")[0] && !F)) && R.push(F ? "(" + z + ")" : "on " + z),
- R.length && (K.description = R.join(" ")),
- K
- )
- }
- var T = _()
- "function" == typeof define && "object" == typeof define.amd && define.amd
- ? ((i.platform = T),
- define(function () {
- return T
- }))
- : o && a
- ? y(T, function (e, t) {
- o[t] = e
- })
- : (i.platform = T)
- }).call(this)
- }).call(
- this,
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
- )
- },
- {}
- ],
- 317: [
- function (e, t, r) {
- ;(function (e) {
- "use strict"
- function r(t, r, n, i) {
- if ("function" !== typeof t) throw new TypeError('"callback" argument must be a function')
- var o,
- a,
- s = arguments.length
- switch (s) {
- case 0:
- case 1:
- return e.nextTick(t)
- case 2:
- return e.nextTick(function () {
- t.call(null, r)
- })
- case 3:
- return e.nextTick(function () {
- t.call(null, r, n)
- })
- case 4:
- return e.nextTick(function () {
- t.call(null, r, n, i)
- })
- default:
- ;(o = new Array(s - 1)), (a = 0)
- while (a < o.length) o[a++] = arguments[a]
- return e.nextTick(function () {
- t.apply(null, o)
- })
- }
- }
- "undefined" === typeof e ||
- !e.version ||
- 0 === e.version.indexOf("v0.") ||
- (0 === e.version.indexOf("v1.") && 0 !== e.version.indexOf("v1.8."))
- ? (t.exports = {
- nextTick: r
- })
- : (t.exports = e)
- }).call(this, e("_process"))
- },
- {
- _process: 392
- }
- ],
- 318: [
- function (e, t, r) {
- var n,
- i,
- o = (t.exports = {})
- function a() {
- throw new Error("setTimeout has not been defined")
- }
- function s() {
- throw new Error("clearTimeout has not been defined")
- }
- function l(e) {
- if (n === setTimeout) return setTimeout(e, 0)
- if ((n === a || !n) && setTimeout) return (n = setTimeout), setTimeout(e, 0)
- try {
- return n(e, 0)
- } catch (t) {
- try {
- return n.call(null, e, 0)
- } catch (t) {
- return n.call(this, e, 0)
- }
- }
- }
- function c(e) {
- if (i === clearTimeout) return clearTimeout(e)
- if ((i === s || !i) && clearTimeout) return (i = clearTimeout), clearTimeout(e)
- try {
- return i(e)
- } catch (t) {
- try {
- return i.call(null, e)
- } catch (t) {
- return i.call(this, e)
- }
- }
- }
- ;(function () {
- try {
- n = "function" === typeof setTimeout ? setTimeout : a
- } catch (e) {
- n = a
- }
- try {
- i = "function" === typeof clearTimeout ? clearTimeout : s
- } catch (e) {
- i = s
- }
- })()
- var u,
- f = [],
- p = !1,
- d = -1
- function h() {
- p && u && ((p = !1), u.length ? (f = u.concat(f)) : (d = -1), f.length && m())
- }
- function m() {
- if (!p) {
- var e = l(h)
- p = !0
- var t = f.length
- while (t) {
- ;(u = f), (f = [])
- while (++d < t) u && u[d].run()
- ;(d = -1), (t = f.length)
- }
- ;(u = null), (p = !1), c(e)
- }
- }
- function g(e, t) {
- ;(this.fun = e), (this.array = t)
- }
- function y() {}
- ;(o.nextTick = function (e) {
- var t = new Array(arguments.length - 1)
- if (arguments.length > 1) for (var r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]
- f.push(new g(e, t)), 1 !== f.length || p || l(m)
- }),
- (g.prototype.run = function () {
- this.fun.apply(null, this.array)
- }),
- (o.title = "browser"),
- (o.browser = !0),
- (o.env = {}),
- (o.argv = []),
- (o.version = ""),
- (o.versions = {}),
- (o.on = y),
- (o.addListener = y),
- (o.once = y),
- (o.off = y),
- (o.removeListener = y),
- (o.removeAllListeners = y),
- (o.emit = y),
- (o.prependListener = y),
- (o.prependOnceListener = y),
- (o.listeners = function (e) {
- return []
- }),
- (o.binding = function (e) {
- throw new Error("process.binding is not supported")
- }),
- (o.cwd = function () {
- return "/"
- }),
- (o.chdir = function (e) {
- throw new Error("process.chdir is not supported")
- }),
- (o.umask = function () {
- return 0
- })
- },
- {}
- ],
- 319: [
- function (e, t, r) {
- ;(function (e) {
- ;(function (n) {
- var i = "object" == typeof r && r && !r.nodeType && r,
- o = "object" == typeof t && t && !t.nodeType && t,
- a = "object" == typeof e && e
- ;(a.global !== a && a.window !== a && a.self !== a) || (n = a)
- var s,
- l,
- c = 2147483647,
- u = 36,
- f = 1,
- p = 26,
- d = 38,
- h = 700,
- m = 72,
- g = 128,
- y = "-",
- v = /^xn--/,
- b = /[^\x20-\x7E]/,
- w = /[\x2E\u3002\uFF0E\uFF61]/g,
- x = {
- overflow: "Overflow: input needs wider integers to process",
- "not-basic": "Illegal input >= 0x80 (not a basic code point)",
- "invalid-input": "Invalid input"
- },
- A = u - f,
- _ = Math.floor,
- T = String.fromCharCode
- function E(e) {
- throw new RangeError(x[e])
- }
- function S(e, t) {
- var r = e.length,
- n = []
- while (r--) n[r] = t(e[r])
- return n
- }
- function C(e, t) {
- var r = e.split("@"),
- n = ""
- r.length > 1 && ((n = r[0] + "@"), (e = r[1])), (e = e.replace(w, "."))
- var i = e.split("."),
- o = S(i, t).join(".")
- return n + o
- }
- function k(e) {
- var t,
- r,
- n = [],
- i = 0,
- o = e.length
- while (i < o)
- (t = e.charCodeAt(i++)),
- t >= 55296 && t <= 56319 && i < o
- ? ((r = e.charCodeAt(i++)),
- 56320 == (64512 & r) ? n.push(((1023 & t) << 10) + (1023 & r) + 65536) : (n.push(t), i--))
- : n.push(t)
- return n
- }
- function L(e) {
- return S(e, function (e) {
- var t = ""
- return (
- e > 65535 && ((e -= 65536), (t += T(((e >>> 10) & 1023) | 55296)), (e = 56320 | (1023 & e))), (t += T(e)), t
- )
- }).join("")
- }
- function P(e) {
- return e - 48 < 10 ? e - 22 : e - 65 < 26 ? e - 65 : e - 97 < 26 ? e - 97 : u
- }
- function O(e, t) {
- return e + 22 + 75 * (e < 26) - ((0 != t) << 5)
- }
- function j(e, t, r) {
- var n = 0
- for (e = r ? _(e / h) : e >> 1, e += _(e / t); e > (A * p) >> 1; n += u) e = _(e / A)
- return _(n + ((A + 1) * e) / (e + d))
- }
- function R(e) {
- var t,
- r,
- n,
- i,
- o,
- a,
- s,
- l,
- d,
- h,
- v = [],
- b = e.length,
- w = 0,
- x = g,
- A = m
- for (r = e.lastIndexOf(y), r < 0 && (r = 0), n = 0; n < r; ++n)
- e.charCodeAt(n) >= 128 && E("not-basic"), v.push(e.charCodeAt(n))
- for (i = r > 0 ? r + 1 : 0; i < b; ) {
- for (o = w, a = 1, s = u; ; s += u) {
- if (
- (i >= b && E("invalid-input"),
- (l = P(e.charCodeAt(i++))),
- (l >= u || l > _((c - w) / a)) && E("overflow"),
- (w += l * a),
- (d = s <= A ? f : s >= A + p ? p : s - A),
- l < d)
- )
- break
- ;(h = u - d), a > _(c / h) && E("overflow"), (a *= h)
- }
- ;(t = v.length + 1),
- (A = j(w - o, t, 0 == o)),
- _(w / t) > c - x && E("overflow"),
- (x += _(w / t)),
- (w %= t),
- v.splice(w++, 0, x)
- }
- return L(v)
- }
- function I(e) {
- var t,
- r,
- n,
- i,
- o,
- a,
- s,
- l,
- d,
- h,
- v,
- b,
- w,
- x,
- A,
- S = []
- for (e = k(e), b = e.length, t = g, r = 0, o = m, a = 0; a < b; ++a) (v = e[a]), v < 128 && S.push(T(v))
- ;(n = i = S.length), i && S.push(y)
- while (n < b) {
- for (s = c, a = 0; a < b; ++a) (v = e[a]), v >= t && v < s && (s = v)
- for (w = n + 1, s - t > _((c - r) / w) && E("overflow"), r += (s - t) * w, t = s, a = 0; a < b; ++a)
- if (((v = e[a]), v < t && ++r > c && E("overflow"), v == t)) {
- for (l = r, d = u; ; d += u) {
- if (((h = d <= o ? f : d >= o + p ? p : d - o), l < h)) break
- ;(A = l - h), (x = u - h), S.push(T(O(h + (A % x), 0))), (l = _(A / x))
- }
- S.push(T(O(l, 0))), (o = j(r, w, n == i)), (r = 0), ++n
- }
- ++r, ++t
- }
- return S.join("")
- }
- function N(e) {
- return C(e, function (e) {
- return v.test(e) ? R(e.slice(4).toLowerCase()) : e
- })
- }
- function M(e) {
- return C(e, function (e) {
- return b.test(e) ? "xn--" + I(e) : e
- })
- }
- if (
- ((s = {
- version: "1.4.1",
- ucs2: {
- decode: k,
- encode: L
- },
- decode: R,
- encode: I,
- toASCII: M,
- toUnicode: N
- }),
- "function" == typeof define && "object" == typeof define.amd && define.amd)
- )
- define("punycode", function () {
- return s
- })
- else if (i && o)
- if (t.exports == i) o.exports = s
- else for (l in s) s.hasOwnProperty(l) && (i[l] = s[l])
- else n.punycode = s
- })(this)
- }).call(
- this,
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
- )
- },
- {}
- ],
- 320: [
- function (e, t, r) {
- "use strict"
- function n(e, t) {
- return Object.prototype.hasOwnProperty.call(e, t)
- }
- t.exports = function (e, t, r, o) {
- ;(t = t || "&"), (r = r || "=")
- var a = {}
- if ("string" !== typeof e || 0 === e.length) return a
- var s = /\+/g
- e = e.split(t)
- var l = 1e3
- o && "number" === typeof o.maxKeys && (l = o.maxKeys)
- var c = e.length
- l > 0 && c > l && (c = l)
- for (var u = 0; u < c; ++u) {
- var f,
- p,
- d,
- h,
- m = e[u].replace(s, "%20"),
- g = m.indexOf(r)
- g >= 0 ? ((f = m.substr(0, g)), (p = m.substr(g + 1))) : ((f = m), (p = "")),
- (d = decodeURIComponent(f)),
- (h = decodeURIComponent(p)),
- n(a, d) ? (i(a[d]) ? a[d].push(h) : (a[d] = [a[d], h])) : (a[d] = h)
- }
- return a
- }
- var i =
- Array.isArray ||
- function (e) {
- return "[object Array]" === Object.prototype.toString.call(e)
- }
- },
- {}
- ],
- 321: [
- function (e, t, r) {
- "use strict"
- var n = function (e) {
- switch (typeof e) {
- case "string":
- return e
- case "boolean":
- return e ? "true" : "false"
- case "number":
- return isFinite(e) ? e : ""
- default:
- return ""
- }
- }
- t.exports = function (e, t, r, s) {
- return (
- (t = t || "&"),
- (r = r || "="),
- null === e && (e = void 0),
- "object" === typeof e
- ? o(a(e), function (a) {
- var s = encodeURIComponent(n(a)) + r
- return i(e[a])
- ? o(e[a], function (e) {
- return s + encodeURIComponent(n(e))
- }).join(t)
- : s + encodeURIComponent(n(e[a]))
- }).join(t)
- : s
- ? encodeURIComponent(n(s)) + r + encodeURIComponent(n(e))
- : ""
- )
- }
- var i =
- Array.isArray ||
- function (e) {
- return "[object Array]" === Object.prototype.toString.call(e)
- }
- function o(e, t) {
- if (e.map) return e.map(t)
- for (var r = [], n = 0; n < e.length; n++) r.push(t(e[n], n))
- return r
- }
- var a =
- Object.keys ||
- function (e) {
- var t = []
- for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.push(r)
- return t
- }
- },
- {}
- ],
- 322: [
- function (e, t, r) {
- "use strict"
- ;(r.decode = r.parse = e("./decode")), (r.encode = r.stringify = e("./encode"))
- },
- {
- "./decode": 320,
- "./encode": 321
- }
- ],
- 323: [
- function (e, t, r) {
- t.exports = e("./lib/_stream_duplex.js")
- },
- {
- "./lib/_stream_duplex.js": 324
- }
- ],
- 324: [
- function (e, t, r) {
- "use strict"
- var n = e("process-nextick-args"),
- i =
- Object.keys ||
- function (e) {
- var t = []
- for (var r in e) t.push(r)
- return t
- }
- t.exports = f
- var o = Object.create(e("core-util-is"))
- o.inherits = e("inherits")
- var a = e("./_stream_readable"),
- s = e("./_stream_writable")
- o.inherits(f, a)
- for (var l = i(s.prototype), c = 0; c < l.length; c++) {
- var u = l[c]
- f.prototype[u] || (f.prototype[u] = s.prototype[u])
- }
- function f(e) {
- if (!(this instanceof f)) return new f(e)
- a.call(this, e),
- s.call(this, e),
- e && !1 === e.readable && (this.readable = !1),
- e && !1 === e.writable && (this.writable = !1),
- (this.allowHalfOpen = !0),
- e && !1 === e.allowHalfOpen && (this.allowHalfOpen = !1),
- this.once("end", p)
- }
- function p() {
- this.allowHalfOpen || this._writableState.ended || n.nextTick(d, this)
- }
- function d(e) {
- e.end()
- }
- Object.defineProperty(f.prototype, "writableHighWaterMark", {
- enumerable: !1,
- get: function () {
- return this._writableState.highWaterMark
- }
- }),
- Object.defineProperty(f.prototype, "destroyed", {
- get: function () {
- return (
- void 0 !== this._readableState &&
- void 0 !== this._writableState &&
- this._readableState.destroyed &&
- this._writableState.destroyed
- )
- },
- set: function (e) {
- void 0 !== this._readableState &&
- void 0 !== this._writableState &&
- ((this._readableState.destroyed = e), (this._writableState.destroyed = e))
- }
- }),
- (f.prototype._destroy = function (e, t) {
- this.push(null), this.end(), n.nextTick(t, e)
- })
- },
- {
- "./_stream_readable": 326,
- "./_stream_writable": 328,
- "core-util-is": 293,
- inherits: 306,
- "process-nextick-args": 317
- }
- ],
- 325: [
- function (e, t, r) {
- "use strict"
- t.exports = o
- var n = e("./_stream_transform"),
- i = Object.create(e("core-util-is"))
- function o(e) {
- if (!(this instanceof o)) return new o(e)
- n.call(this, e)
- }
- ;(i.inherits = e("inherits")),
- i.inherits(o, n),
- (o.prototype._transform = function (e, t, r) {
- r(null, e)
- })
- },
- {
- "./_stream_transform": 327,
- "core-util-is": 293,
- inherits: 306
- }
- ],
- 326: [
- function (e, t, r) {
- ;(function (r, n) {
- "use strict"
- var i = e("process-nextick-args")
- t.exports = A
- var o,
- a = e("isarray")
- A.ReadableState = x
- e("events").EventEmitter
- var s = function (e, t) {
- return e.listeners(t).length
- },
- l = e("./internal/streams/stream"),
- c = e("safe-buffer").Buffer,
- u = n.Uint8Array || function () {}
- function f(e) {
- return c.from(e)
- }
- function p(e) {
- return c.isBuffer(e) || e instanceof u
- }
- var d = Object.create(e("core-util-is"))
- d.inherits = e("inherits")
- var h = e("util"),
- m = void 0
- m = h && h.debuglog ? h.debuglog("stream") : function () {}
- var g,
- y = e("./internal/streams/BufferList"),
- v = e("./internal/streams/destroy")
- d.inherits(A, l)
- var b = ["error", "close", "destroy", "pause", "resume"]
- function w(e, t, r) {
- if ("function" === typeof e.prependListener) return e.prependListener(t, r)
- e._events && e._events[t]
- ? a(e._events[t])
- ? e._events[t].unshift(r)
- : (e._events[t] = [r, e._events[t]])
- : e.on(t, r)
- }
- function x(t, r) {
- ;(o = o || e("./_stream_duplex")), (t = t || {})
- var n = r instanceof o
- ;(this.objectMode = !!t.objectMode), n && (this.objectMode = this.objectMode || !!t.readableObjectMode)
- var i = t.highWaterMark,
- a = t.readableHighWaterMark,
- s = this.objectMode ? 16 : 16384
- ;(this.highWaterMark = i || 0 === i ? i : n && (a || 0 === a) ? a : s),
- (this.highWaterMark = Math.floor(this.highWaterMark)),
- (this.buffer = new y()),
- (this.length = 0),
- (this.pipes = null),
- (this.pipesCount = 0),
- (this.flowing = null),
- (this.ended = !1),
- (this.endEmitted = !1),
- (this.reading = !1),
- (this.sync = !0),
- (this.needReadable = !1),
- (this.emittedReadable = !1),
- (this.readableListening = !1),
- (this.resumeScheduled = !1),
- (this.destroyed = !1),
- (this.defaultEncoding = t.defaultEncoding || "utf8"),
- (this.awaitDrain = 0),
- (this.readingMore = !1),
- (this.decoder = null),
- (this.encoding = null),
- t.encoding &&
- (g || (g = e("string_decoder/").StringDecoder), (this.decoder = new g(t.encoding)), (this.encoding = t.encoding))
- }
- function A(t) {
- if (((o = o || e("./_stream_duplex")), !(this instanceof A))) return new A(t)
- ;(this._readableState = new x(t, this)),
- (this.readable = !0),
- t &&
- ("function" === typeof t.read && (this._read = t.read),
- "function" === typeof t.destroy && (this._destroy = t.destroy)),
- l.call(this)
- }
- function _(e, t, r, n, i) {
- var o,
- a = e._readableState
- null === t
- ? ((a.reading = !1), P(e, a))
- : (i || (o = E(a, t)),
- o
- ? e.emit("error", o)
- : a.objectMode || (t && t.length > 0)
- ? ("string" === typeof t || a.objectMode || Object.getPrototypeOf(t) === c.prototype || (t = f(t)),
- n
- ? a.endEmitted
- ? e.emit("error", new Error("stream.unshift() after end event"))
- : T(e, a, t, !0)
- : a.ended
- ? e.emit("error", new Error("stream.push() after EOF"))
- : ((a.reading = !1),
- a.decoder && !r
- ? ((t = a.decoder.write(t)), a.objectMode || 0 !== t.length ? T(e, a, t, !1) : R(e, a))
- : T(e, a, t, !1)))
- : n || (a.reading = !1))
- return S(a)
- }
- function T(e, t, r, n) {
- t.flowing && 0 === t.length && !t.sync
- ? (e.emit("data", r), e.read(0))
- : ((t.length += t.objectMode ? 1 : r.length), n ? t.buffer.unshift(r) : t.buffer.push(r), t.needReadable && O(e)),
- R(e, t)
- }
- function E(e, t) {
- var r
- return (
- p(t) ||
- "string" === typeof t ||
- void 0 === t ||
- e.objectMode ||
- (r = new TypeError("Invalid non-string/buffer chunk")),
- r
- )
- }
- function S(e) {
- return !e.ended && (e.needReadable || e.length < e.highWaterMark || 0 === e.length)
- }
- Object.defineProperty(A.prototype, "destroyed", {
- get: function () {
- return void 0 !== this._readableState && this._readableState.destroyed
- },
- set: function (e) {
- this._readableState && (this._readableState.destroyed = e)
- }
- }),
- (A.prototype.destroy = v.destroy),
- (A.prototype._undestroy = v.undestroy),
- (A.prototype._destroy = function (e, t) {
- this.push(null), t(e)
- }),
- (A.prototype.push = function (e, t) {
- var r,
- n = this._readableState
- return (
- n.objectMode
- ? (r = !0)
- : "string" === typeof e &&
- ((t = t || n.defaultEncoding), t !== n.encoding && ((e = c.from(e, t)), (t = "")), (r = !0)),
- _(this, e, t, !1, r)
- )
- }),
- (A.prototype.unshift = function (e) {
- return _(this, e, null, !0, !1)
- }),
- (A.prototype.isPaused = function () {
- return !1 === this._readableState.flowing
- }),
- (A.prototype.setEncoding = function (t) {
- return (
- g || (g = e("string_decoder/").StringDecoder),
- (this._readableState.decoder = new g(t)),
- (this._readableState.encoding = t),
- this
- )
- })
- var C = 8388608
- function k(e) {
- return e >= C ? (e = C) : (e--, (e |= e >>> 1), (e |= e >>> 2), (e |= e >>> 4), (e |= e >>> 8), (e |= e >>> 16), e++), e
- }
- function L(e, t) {
- return e <= 0 || (0 === t.length && t.ended)
- ? 0
- : t.objectMode
- ? 1
- : e !== e
- ? t.flowing && t.length
- ? t.buffer.head.data.length
- : t.length
- : (e > t.highWaterMark && (t.highWaterMark = k(e)),
- e <= t.length ? e : t.ended ? t.length : ((t.needReadable = !0), 0))
- }
- function P(e, t) {
- if (!t.ended) {
- if (t.decoder) {
- var r = t.decoder.end()
- r && r.length && (t.buffer.push(r), (t.length += t.objectMode ? 1 : r.length))
- }
- ;(t.ended = !0), O(e)
- }
- }
- function O(e) {
- var t = e._readableState
- ;(t.needReadable = !1),
- t.emittedReadable || (m("emitReadable", t.flowing), (t.emittedReadable = !0), t.sync ? i.nextTick(j, e) : j(e))
- }
- function j(e) {
- m("emit readable"), e.emit("readable"), F(e)
- }
- function R(e, t) {
- t.readingMore || ((t.readingMore = !0), i.nextTick(I, e, t))
- }
- function I(e, t) {
- var r = t.length
- while (!t.reading && !t.flowing && !t.ended && t.length < t.highWaterMark) {
- if ((m("maybeReadMore read 0"), e.read(0), r === t.length)) break
- r = t.length
- }
- t.readingMore = !1
- }
- function N(e) {
- return function () {
- var t = e._readableState
- m("pipeOnDrain", t.awaitDrain),
- t.awaitDrain && t.awaitDrain--,
- 0 === t.awaitDrain && s(e, "data") && ((t.flowing = !0), F(e))
- }
- }
- function M(e) {
- m("readable nexttick read 0"), e.read(0)
- }
- function D(e, t) {
- t.resumeScheduled || ((t.resumeScheduled = !0), i.nextTick(B, e, t))
- }
- function B(e, t) {
- t.reading || (m("resume read 0"), e.read(0)),
- (t.resumeScheduled = !1),
- (t.awaitDrain = 0),
- e.emit("resume"),
- F(e),
- t.flowing && !t.reading && e.read(0)
- }
- function F(e) {
- var t = e._readableState
- m("flow", t.flowing)
- while (t.flowing && null !== e.read());
- }
- function U(e, t) {
- return 0 === t.length
- ? null
- : (t.objectMode
- ? (r = t.buffer.shift())
- : !e || e >= t.length
- ? ((r = t.decoder ? t.buffer.join("") : 1 === t.buffer.length ? t.buffer.head.data : t.buffer.concat(t.length)),
- t.buffer.clear())
- : (r = z(e, t.buffer, t.decoder)),
- r)
- var r
- }
- function z(e, t, r) {
- var n
- return (
- e < t.head.data.length
- ? ((n = t.head.data.slice(0, e)), (t.head.data = t.head.data.slice(e)))
- : (n = e === t.head.data.length ? t.shift() : r ? q(e, t) : G(e, t)),
- n
- )
- }
- function q(e, t) {
- var r = t.head,
- n = 1,
- i = r.data
- e -= i.length
- while ((r = r.next)) {
- var o = r.data,
- a = e > o.length ? o.length : e
- if ((a === o.length ? (i += o) : (i += o.slice(0, e)), (e -= a), 0 === e)) {
- a === o.length
- ? (++n, r.next ? (t.head = r.next) : (t.head = t.tail = null))
- : ((t.head = r), (r.data = o.slice(a)))
- break
- }
- ++n
- }
- return (t.length -= n), i
- }
- function G(e, t) {
- var r = c.allocUnsafe(e),
- n = t.head,
- i = 1
- n.data.copy(r), (e -= n.data.length)
- while ((n = n.next)) {
- var o = n.data,
- a = e > o.length ? o.length : e
- if ((o.copy(r, r.length - e, 0, a), (e -= a), 0 === e)) {
- a === o.length
- ? (++i, n.next ? (t.head = n.next) : (t.head = t.tail = null))
- : ((t.head = n), (n.data = o.slice(a)))
- break
- }
- ++i
- }
- return (t.length -= i), r
- }
- function W(e) {
- var t = e._readableState
- if (t.length > 0) throw new Error('"endReadable()" called on non-empty stream')
- t.endEmitted || ((t.ended = !0), i.nextTick(V, t, e))
- }
- function V(e, t) {
- e.endEmitted || 0 !== e.length || ((e.endEmitted = !0), (t.readable = !1), t.emit("end"))
- }
- function H(e, t) {
- for (var r = 0, n = e.length; r < n; r++) if (e[r] === t) return r
- return -1
- }
- ;(A.prototype.read = function (e) {
- m("read", e), (e = parseInt(e, 10))
- var t = this._readableState,
- r = e
- if ((0 !== e && (t.emittedReadable = !1), 0 === e && t.needReadable && (t.length >= t.highWaterMark || t.ended)))
- return m("read: emitReadable", t.length, t.ended), 0 === t.length && t.ended ? W(this) : O(this), null
- if (((e = L(e, t)), 0 === e && t.ended)) return 0 === t.length && W(this), null
- var n,
- i = t.needReadable
- return (
- m("need readable", i),
- (0 === t.length || t.length - e < t.highWaterMark) && ((i = !0), m("length less than watermark", i)),
- t.ended || t.reading
- ? ((i = !1), m("reading or ended", i))
- : i &&
- (m("do read"),
- (t.reading = !0),
- (t.sync = !0),
- 0 === t.length && (t.needReadable = !0),
- this._read(t.highWaterMark),
- (t.sync = !1),
- t.reading || (e = L(r, t))),
- (n = e > 0 ? U(e, t) : null),
- null === n ? ((t.needReadable = !0), (e = 0)) : (t.length -= e),
- 0 === t.length && (t.ended || (t.needReadable = !0), r !== e && t.ended && W(this)),
- null !== n && this.emit("data", n),
- n
- )
- }),
- (A.prototype._read = function (e) {
- this.emit("error", new Error("_read() is not implemented"))
- }),
- (A.prototype.pipe = function (e, t) {
- var n = this,
- o = this._readableState
- switch (o.pipesCount) {
- case 0:
- o.pipes = e
- break
- case 1:
- o.pipes = [o.pipes, e]
- break
- default:
- o.pipes.push(e)
- break
- }
- ;(o.pipesCount += 1), m("pipe count=%d opts=%j", o.pipesCount, t)
- var a = (!t || !1 !== t.end) && e !== r.stdout && e !== r.stderr,
- l = a ? u : x
- function c(e, t) {
- m("onunpipe"), e === n && t && !1 === t.hasUnpiped && ((t.hasUnpiped = !0), d())
- }
- function u() {
- m("onend"), e.end()
- }
- o.endEmitted ? i.nextTick(l) : n.once("end", l), e.on("unpipe", c)
- var f = N(n)
- e.on("drain", f)
- var p = !1
- function d() {
- m("cleanup"),
- e.removeListener("close", v),
- e.removeListener("finish", b),
- e.removeListener("drain", f),
- e.removeListener("error", y),
- e.removeListener("unpipe", c),
- n.removeListener("end", u),
- n.removeListener("end", x),
- n.removeListener("data", g),
- (p = !0),
- !o.awaitDrain || (e._writableState && !e._writableState.needDrain) || f()
- }
- var h = !1
- function g(t) {
- m("ondata"), (h = !1)
- var r = e.write(t)
- !1 !== r ||
- h ||
- (((1 === o.pipesCount && o.pipes === e) || (o.pipesCount > 1 && -1 !== H(o.pipes, e))) &&
- !p &&
- (m("false write response, pause", n._readableState.awaitDrain), n._readableState.awaitDrain++, (h = !0)),
- n.pause())
- }
- function y(t) {
- m("onerror", t), x(), e.removeListener("error", y), 0 === s(e, "error") && e.emit("error", t)
- }
- function v() {
- e.removeListener("finish", b), x()
- }
- function b() {
- m("onfinish"), e.removeListener("close", v), x()
- }
- function x() {
- m("unpipe"), n.unpipe(e)
- }
- return (
- n.on("data", g),
- w(e, "error", y),
- e.once("close", v),
- e.once("finish", b),
- e.emit("pipe", n),
- o.flowing || (m("pipe resume"), n.resume()),
- e
- )
- }),
- (A.prototype.unpipe = function (e) {
- var t = this._readableState,
- r = {
- hasUnpiped: !1
- }
- if (0 === t.pipesCount) return this
- if (1 === t.pipesCount)
- return (
- (e && e !== t.pipes) ||
- (e || (e = t.pipes),
- (t.pipes = null),
- (t.pipesCount = 0),
- (t.flowing = !1),
- e && e.emit("unpipe", this, r)),
- this
- )
- if (!e) {
- var n = t.pipes,
- i = t.pipesCount
- ;(t.pipes = null), (t.pipesCount = 0), (t.flowing = !1)
- for (var o = 0; o < i; o++) n[o].emit("unpipe", this, r)
- return this
- }
- var a = H(t.pipes, e)
- return (
- -1 === a ||
- (t.pipes.splice(a, 1),
- (t.pipesCount -= 1),
- 1 === t.pipesCount && (t.pipes = t.pipes[0]),
- e.emit("unpipe", this, r)),
- this
- )
- }),
- (A.prototype.on = function (e, t) {
- var r = l.prototype.on.call(this, e, t)
- if ("data" === e) !1 !== this._readableState.flowing && this.resume()
- else if ("readable" === e) {
- var n = this._readableState
- n.endEmitted ||
- n.readableListening ||
- ((n.readableListening = n.needReadable = !0),
- (n.emittedReadable = !1),
- n.reading ? n.length && O(this) : i.nextTick(M, this))
- }
- return r
- }),
- (A.prototype.addListener = A.prototype.on),
- (A.prototype.resume = function () {
- var e = this._readableState
- return e.flowing || (m("resume"), (e.flowing = !0), D(this, e)), this
- }),
- (A.prototype.pause = function () {
- return (
- m("call pause flowing=%j", this._readableState.flowing),
- !1 !== this._readableState.flowing && (m("pause"), (this._readableState.flowing = !1), this.emit("pause")),
- this
- )
- }),
- (A.prototype.wrap = function (e) {
- var t = this,
- r = this._readableState,
- n = !1
- for (var i in (e.on("end", function () {
- if ((m("wrapped end"), r.decoder && !r.ended)) {
- var e = r.decoder.end()
- e && e.length && t.push(e)
- }
- t.push(null)
- }),
- e.on("data", function (i) {
- if (
- (m("wrapped data"),
- r.decoder && (i = r.decoder.write(i)),
- (!r.objectMode || (null !== i && void 0 !== i)) && (r.objectMode || (i && i.length)))
- ) {
- var o = t.push(i)
- o || ((n = !0), e.pause())
- }
- }),
- e))
- void 0 === this[i] &&
- "function" === typeof e[i] &&
- (this[i] = (function (t) {
- return function () {
- return e[t].apply(e, arguments)
- }
- })(i))
- for (var o = 0; o < b.length; o++) e.on(b[o], this.emit.bind(this, b[o]))
- return (
- (this._read = function (t) {
- m("wrapped _read", t), n && ((n = !1), e.resume())
- }),
- this
- )
- }),
- Object.defineProperty(A.prototype, "readableHighWaterMark", {
- enumerable: !1,
- get: function () {
- return this._readableState.highWaterMark
- }
- }),
- (A._fromList = U)
- }).call(
- this,
- e("_process"),
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
- )
- },
- {
- "./_stream_duplex": 324,
- "./internal/streams/BufferList": 329,
- "./internal/streams/destroy": 330,
- "./internal/streams/stream": 331,
- _process: 392,
- "core-util-is": 293,
- events: 296,
- inherits: 306,
- isarray: 308,
- "process-nextick-args": 317,
- "safe-buffer": 337,
- "string_decoder/": 340,
- util: 79
- }
- ],
- 327: [
- function (e, t, r) {
- "use strict"
- t.exports = a
- var n = e("./_stream_duplex"),
- i = Object.create(e("core-util-is"))
- function o(e, t) {
- var r = this._transformState
- r.transforming = !1
- var n = r.writecb
- if (!n) return this.emit("error", new Error("write callback called multiple times"))
- ;(r.writechunk = null), (r.writecb = null), null != t && this.push(t), n(e)
- var i = this._readableState
- ;(i.reading = !1), (i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark)
- }
- function a(e) {
- if (!(this instanceof a)) return new a(e)
- n.call(this, e),
- (this._transformState = {
- afterTransform: o.bind(this),
- needTransform: !1,
- transforming: !1,
- writecb: null,
- writechunk: null,
- writeencoding: null
- }),
- (this._readableState.needReadable = !0),
- (this._readableState.sync = !1),
- e &&
- ("function" === typeof e.transform && (this._transform = e.transform),
- "function" === typeof e.flush && (this._flush = e.flush)),
- this.on("prefinish", s)
- }
- function s() {
- var e = this
- "function" === typeof this._flush
- ? this._flush(function (t, r) {
- l(e, t, r)
- })
- : l(this, null, null)
- }
- function l(e, t, r) {
- if (t) return e.emit("error", t)
- if ((null != r && e.push(r), e._writableState.length)) throw new Error("Calling transform done when ws.length != 0")
- if (e._transformState.transforming) throw new Error("Calling transform done when still transforming")
- return e.push(null)
- }
- ;(i.inherits = e("inherits")),
- i.inherits(a, n),
- (a.prototype.push = function (e, t) {
- return (this._transformState.needTransform = !1), n.prototype.push.call(this, e, t)
- }),
- (a.prototype._transform = function (e, t, r) {
- throw new Error("_transform() is not implemented")
- }),
- (a.prototype._write = function (e, t, r) {
- var n = this._transformState
- if (((n.writecb = r), (n.writechunk = e), (n.writeencoding = t), !n.transforming)) {
- var i = this._readableState
- ;(n.needTransform || i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark)
- }
- }),
- (a.prototype._read = function (e) {
- var t = this._transformState
- null !== t.writechunk && t.writecb && !t.transforming
- ? ((t.transforming = !0), this._transform(t.writechunk, t.writeencoding, t.afterTransform))
- : (t.needTransform = !0)
- }),
- (a.prototype._destroy = function (e, t) {
- var r = this
- n.prototype._destroy.call(this, e, function (e) {
- t(e), r.emit("close")
- })
- })
- },
- {
- "./_stream_duplex": 324,
- "core-util-is": 293,
- inherits: 306
- }
- ],
- 328: [
- function (e, t, r) {
- ;(function (r, n, i) {
- "use strict"
- var o = e("process-nextick-args")
- function a(e) {
- var t = this
- ;(this.next = null),
- (this.entry = null),
- (this.finish = function () {
- D(t, e)
- })
- }
- t.exports = w
- var s,
- l = !r.browser && ["v0.10", "v0.9."].indexOf(r.version.slice(0, 5)) > -1 ? i : o.nextTick
- w.WritableState = b
- var c = Object.create(e("core-util-is"))
- c.inherits = e("inherits")
- var u = {
- deprecate: e("util-deprecate")
- },
- f = e("./internal/streams/stream"),
- p = e("safe-buffer").Buffer,
- d = n.Uint8Array || function () {}
- function h(e) {
- return p.from(e)
- }
- function m(e) {
- return p.isBuffer(e) || e instanceof d
- }
- var g,
- y = e("./internal/streams/destroy")
- function v() {}
- function b(t, r) {
- ;(s = s || e("./_stream_duplex")), (t = t || {})
- var n = r instanceof s
- ;(this.objectMode = !!t.objectMode), n && (this.objectMode = this.objectMode || !!t.writableObjectMode)
- var i = t.highWaterMark,
- o = t.writableHighWaterMark,
- l = this.objectMode ? 16 : 16384
- ;(this.highWaterMark = i || 0 === i ? i : n && (o || 0 === o) ? o : l),
- (this.highWaterMark = Math.floor(this.highWaterMark)),
- (this.finalCalled = !1),
- (this.needDrain = !1),
- (this.ending = !1),
- (this.ended = !1),
- (this.finished = !1),
- (this.destroyed = !1)
- var c = !1 === t.decodeStrings
- ;(this.decodeStrings = !c),
- (this.defaultEncoding = t.defaultEncoding || "utf8"),
- (this.length = 0),
- (this.writing = !1),
- (this.corked = 0),
- (this.sync = !0),
- (this.bufferProcessing = !1),
- (this.onwrite = function (e) {
- k(r, e)
- }),
- (this.writecb = null),
- (this.writelen = 0),
- (this.bufferedRequest = null),
- (this.lastBufferedRequest = null),
- (this.pendingcb = 0),
- (this.prefinished = !1),
- (this.errorEmitted = !1),
- (this.bufferedRequestCount = 0),
- (this.corkedRequestsFree = new a(this))
- }
- function w(t) {
- if (((s = s || e("./_stream_duplex")), !g.call(w, this) && !(this instanceof s))) return new w(t)
- ;(this._writableState = new b(t, this)),
- (this.writable = !0),
- t &&
- ("function" === typeof t.write && (this._write = t.write),
- "function" === typeof t.writev && (this._writev = t.writev),
- "function" === typeof t.destroy && (this._destroy = t.destroy),
- "function" === typeof t.final && (this._final = t.final)),
- f.call(this)
- }
- function x(e, t) {
- var r = new Error("write after end")
- e.emit("error", r), o.nextTick(t, r)
- }
- function A(e, t, r, n) {
- var i = !0,
- a = !1
- return (
- null === r
- ? (a = new TypeError("May not write null values to stream"))
- : "string" === typeof r || void 0 === r || t.objectMode || (a = new TypeError("Invalid non-string/buffer chunk")),
- a && (e.emit("error", a), o.nextTick(n, a), (i = !1)),
- i
- )
- }
- function _(e, t, r) {
- return e.objectMode || !1 === e.decodeStrings || "string" !== typeof t || (t = p.from(t, r)), t
- }
- function T(e, t, r, n, i, o) {
- if (!r) {
- var a = _(t, n, i)
- n !== a && ((r = !0), (i = "buffer"), (n = a))
- }
- var s = t.objectMode ? 1 : n.length
- t.length += s
- var l = t.length < t.highWaterMark
- if ((l || (t.needDrain = !0), t.writing || t.corked)) {
- var c = t.lastBufferedRequest
- ;(t.lastBufferedRequest = {
- chunk: n,
- encoding: i,
- isBuf: r,
- callback: o,
- next: null
- }),
- c ? (c.next = t.lastBufferedRequest) : (t.bufferedRequest = t.lastBufferedRequest),
- (t.bufferedRequestCount += 1)
- } else E(e, t, !1, s, n, i, o)
- return l
- }
- function E(e, t, r, n, i, o, a) {
- ;(t.writelen = n),
- (t.writecb = a),
- (t.writing = !0),
- (t.sync = !0),
- r ? e._writev(i, t.onwrite) : e._write(i, o, t.onwrite),
- (t.sync = !1)
- }
- function S(e, t, r, n, i) {
- --t.pendingcb,
- r
- ? (o.nextTick(i, n), o.nextTick(N, e, t), (e._writableState.errorEmitted = !0), e.emit("error", n))
- : (i(n), (e._writableState.errorEmitted = !0), e.emit("error", n), N(e, t))
- }
- function C(e) {
- ;(e.writing = !1), (e.writecb = null), (e.length -= e.writelen), (e.writelen = 0)
- }
- function k(e, t) {
- var r = e._writableState,
- n = r.sync,
- i = r.writecb
- if ((C(r), t)) S(e, r, n, t, i)
- else {
- var o = j(r)
- o || r.corked || r.bufferProcessing || !r.bufferedRequest || O(e, r), n ? l(L, e, r, o, i) : L(e, r, o, i)
- }
- }
- function L(e, t, r, n) {
- r || P(e, t), t.pendingcb--, n(), N(e, t)
- }
- function P(e, t) {
- 0 === t.length && t.needDrain && ((t.needDrain = !1), e.emit("drain"))
- }
- function O(e, t) {
- t.bufferProcessing = !0
- var r = t.bufferedRequest
- if (e._writev && r && r.next) {
- var n = t.bufferedRequestCount,
- i = new Array(n),
- o = t.corkedRequestsFree
- o.entry = r
- var s = 0,
- l = !0
- while (r) (i[s] = r), r.isBuf || (l = !1), (r = r.next), (s += 1)
- ;(i.allBuffers = l),
- E(e, t, !0, t.length, i, "", o.finish),
- t.pendingcb++,
- (t.lastBufferedRequest = null),
- o.next ? ((t.corkedRequestsFree = o.next), (o.next = null)) : (t.corkedRequestsFree = new a(t)),
- (t.bufferedRequestCount = 0)
- } else {
- while (r) {
- var c = r.chunk,
- u = r.encoding,
- f = r.callback,
- p = t.objectMode ? 1 : c.length
- if ((E(e, t, !1, p, c, u, f), (r = r.next), t.bufferedRequestCount--, t.writing)) break
- }
- null === r && (t.lastBufferedRequest = null)
- }
- ;(t.bufferedRequest = r), (t.bufferProcessing = !1)
- }
- function j(e) {
- return e.ending && 0 === e.length && null === e.bufferedRequest && !e.finished && !e.writing
- }
- function R(e, t) {
- e._final(function (r) {
- t.pendingcb--, r && e.emit("error", r), (t.prefinished = !0), e.emit("prefinish"), N(e, t)
- })
- }
- function I(e, t) {
- t.prefinished ||
- t.finalCalled ||
- ("function" === typeof e._final
- ? (t.pendingcb++, (t.finalCalled = !0), o.nextTick(R, e, t))
- : ((t.prefinished = !0), e.emit("prefinish")))
- }
- function N(e, t) {
- var r = j(t)
- return r && (I(e, t), 0 === t.pendingcb && ((t.finished = !0), e.emit("finish"))), r
- }
- function M(e, t, r) {
- ;(t.ending = !0), N(e, t), r && (t.finished ? o.nextTick(r) : e.once("finish", r)), (t.ended = !0), (e.writable = !1)
- }
- function D(e, t, r) {
- var n = e.entry
- e.entry = null
- while (n) {
- var i = n.callback
- t.pendingcb--, i(r), (n = n.next)
- }
- t.corkedRequestsFree ? (t.corkedRequestsFree.next = e) : (t.corkedRequestsFree = e)
- }
- c.inherits(w, f),
- (b.prototype.getBuffer = function () {
- var e = this.bufferedRequest,
- t = []
- while (e) t.push(e), (e = e.next)
- return t
- }),
- (function () {
- try {
- Object.defineProperty(b.prototype, "buffer", {
- get: u.deprecate(
- function () {
- return this.getBuffer()
- },
- "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.",
- "DEP0003"
- )
- })
- } catch (e) {}
- })(),
- "function" === typeof Symbol && Symbol.hasInstance && "function" === typeof Function.prototype[Symbol.hasInstance]
- ? ((g = Function.prototype[Symbol.hasInstance]),
- Object.defineProperty(w, Symbol.hasInstance, {
- value: function (e) {
- return !!g.call(this, e) || (this === w && e && e._writableState instanceof b)
- }
- }))
- : (g = function (e) {
- return e instanceof this
- }),
- (w.prototype.pipe = function () {
- this.emit("error", new Error("Cannot pipe, not readable"))
- }),
- (w.prototype.write = function (e, t, r) {
- var n = this._writableState,
- i = !1,
- o = !n.objectMode && m(e)
- return (
- o && !p.isBuffer(e) && (e = h(e)),
- "function" === typeof t && ((r = t), (t = null)),
- o ? (t = "buffer") : t || (t = n.defaultEncoding),
- "function" !== typeof r && (r = v),
- n.ended ? x(this, r) : (o || A(this, n, e, r)) && (n.pendingcb++, (i = T(this, n, o, e, t, r))),
- i
- )
- }),
- (w.prototype.cork = function () {
- var e = this._writableState
- e.corked++
- }),
- (w.prototype.uncork = function () {
- var e = this._writableState
- e.corked &&
- (e.corked--, e.writing || e.corked || e.finished || e.bufferProcessing || !e.bufferedRequest || O(this, e))
- }),
- (w.prototype.setDefaultEncoding = function (e) {
- if (
- ("string" === typeof e && (e = e.toLowerCase()),
- !(
- ["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf(
- (e + "").toLowerCase()
- ) > -1
- ))
- )
- throw new TypeError("Unknown encoding: " + e)
- return (this._writableState.defaultEncoding = e), this
- }),
- Object.defineProperty(w.prototype, "writableHighWaterMark", {
- enumerable: !1,
- get: function () {
- return this._writableState.highWaterMark
- }
- }),
- (w.prototype._write = function (e, t, r) {
- r(new Error("_write() is not implemented"))
- }),
- (w.prototype._writev = null),
- (w.prototype.end = function (e, t, r) {
- var n = this._writableState
- "function" === typeof e ? ((r = e), (e = null), (t = null)) : "function" === typeof t && ((r = t), (t = null)),
- null !== e && void 0 !== e && this.write(e, t),
- n.corked && ((n.corked = 1), this.uncork()),
- n.ending || n.finished || M(this, n, r)
- }),
- Object.defineProperty(w.prototype, "destroyed", {
- get: function () {
- return void 0 !== this._writableState && this._writableState.destroyed
- },
- set: function (e) {
- this._writableState && (this._writableState.destroyed = e)
- }
- }),
- (w.prototype.destroy = y.destroy),
- (w.prototype._undestroy = y.undestroy),
- (w.prototype._destroy = function (e, t) {
- this.end(), t(e)
- })
- }).call(
- this,
- e("_process"),
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {},
- e("timers").setImmediate
- )
- },
- {
- "./_stream_duplex": 324,
- "./internal/streams/destroy": 330,
- "./internal/streams/stream": 331,
- _process: 392,
- "core-util-is": 293,
- inherits: 306,
- "process-nextick-args": 317,
- "safe-buffer": 337,
- timers: 341,
- "util-deprecate": 342
- }
- ],
- 329: [
- function (e, t, r) {
- "use strict"
- function n(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- var i = e("safe-buffer").Buffer,
- o = e("util")
- function a(e, t, r) {
- e.copy(t, r)
- }
- ;(t.exports = (function () {
- function e() {
- n(this, e), (this.head = null), (this.tail = null), (this.length = 0)
- }
- return (
- (e.prototype.push = function (e) {
- var t = {
- data: e,
- next: null
- }
- this.length > 0 ? (this.tail.next = t) : (this.head = t), (this.tail = t), ++this.length
- }),
- (e.prototype.unshift = function (e) {
- var t = {
- data: e,
- next: this.head
- }
- 0 === this.length && (this.tail = t), (this.head = t), ++this.length
- }),
- (e.prototype.shift = function () {
- if (0 !== this.length) {
- var e = this.head.data
- return 1 === this.length ? (this.head = this.tail = null) : (this.head = this.head.next), --this.length, e
- }
- }),
- (e.prototype.clear = function () {
- ;(this.head = this.tail = null), (this.length = 0)
- }),
- (e.prototype.join = function (e) {
- if (0 === this.length) return ""
- var t = this.head,
- r = "" + t.data
- while ((t = t.next)) r += e + t.data
- return r
- }),
- (e.prototype.concat = function (e) {
- if (0 === this.length) return i.alloc(0)
- if (1 === this.length) return this.head.data
- var t = i.allocUnsafe(e >>> 0),
- r = this.head,
- n = 0
- while (r) a(r.data, t, n), (n += r.data.length), (r = r.next)
- return t
- }),
- e
- )
- })()),
- o &&
- o.inspect &&
- o.inspect.custom &&
- (t.exports.prototype[o.inspect.custom] = function () {
- var e = o.inspect({
- length: this.length
- })
- return this.constructor.name + " " + e
- })
- },
- {
- "safe-buffer": 337,
- util: 79
- }
- ],
- 330: [
- function (e, t, r) {
- "use strict"
- var n = e("process-nextick-args")
- function i(e, t) {
- var r = this,
- i = this._readableState && this._readableState.destroyed,
- o = this._writableState && this._writableState.destroyed
- return i || o
- ? (t ? t(e) : !e || (this._writableState && this._writableState.errorEmitted) || n.nextTick(a, this, e), this)
- : (this._readableState && (this._readableState.destroyed = !0),
- this._writableState && (this._writableState.destroyed = !0),
- this._destroy(e || null, function (e) {
- !t && e ? (n.nextTick(a, r, e), r._writableState && (r._writableState.errorEmitted = !0)) : t && t(e)
- }),
- this)
- }
- function o() {
- this._readableState &&
- ((this._readableState.destroyed = !1),
- (this._readableState.reading = !1),
- (this._readableState.ended = !1),
- (this._readableState.endEmitted = !1)),
- this._writableState &&
- ((this._writableState.destroyed = !1),
- (this._writableState.ended = !1),
- (this._writableState.ending = !1),
- (this._writableState.finished = !1),
- (this._writableState.errorEmitted = !1))
- }
- function a(e, t) {
- e.emit("error", t)
- }
- t.exports = {
- destroy: i,
- undestroy: o
- }
- },
- {
- "process-nextick-args": 317
- }
- ],
- 331: [
- function (e, t, r) {
- arguments[4][97][0].apply(r, arguments)
- },
- {
- dup: 97,
- events: 296
- }
- ],
- 332: [
- function (e, t, r) {
- t.exports = e("./readable").PassThrough
- },
- {
- "./readable": 333
- }
- ],
- 333: [
- function (e, t, r) {
- ;(r = t.exports = e("./lib/_stream_readable.js")),
- (r.Stream = r),
- (r.Readable = r),
- (r.Writable = e("./lib/_stream_writable.js")),
- (r.Duplex = e("./lib/_stream_duplex.js")),
- (r.Transform = e("./lib/_stream_transform.js")),
- (r.PassThrough = e("./lib/_stream_passthrough.js"))
- },
- {
- "./lib/_stream_duplex.js": 324,
- "./lib/_stream_passthrough.js": 325,
- "./lib/_stream_readable.js": 326,
- "./lib/_stream_transform.js": 327,
- "./lib/_stream_writable.js": 328
- }
- ],
- 334: [
- function (e, t, r) {
- t.exports = e("./readable").Transform
- },
- {
- "./readable": 333
- }
- ],
- 335: [
- function (e, t, r) {
- t.exports = e("./lib/_stream_writable.js")
- },
- {
- "./lib/_stream_writable.js": 328
- }
- ],
- 336: [
- function (e, t, r) {
- !(function (e) {
- "use strict"
- var r,
- n = Object.prototype,
- i = n.hasOwnProperty,
- o = "function" === typeof Symbol ? Symbol : {},
- a = o.iterator || "@@iterator",
- s = o.asyncIterator || "@@asyncIterator",
- l = o.toStringTag || "@@toStringTag",
- c = "object" === typeof t,
- u = e.regeneratorRuntime
- if (u) c && (t.exports = u)
- else {
- ;(u = e.regeneratorRuntime = c ? t.exports : {}), (u.wrap = w)
- var f = "suspendedStart",
- p = "suspendedYield",
- d = "executing",
- h = "completed",
- m = {},
- g = {}
- g[a] = function () {
- return this
- }
- var y = Object.getPrototypeOf,
- v = y && y(y(j([])))
- v && v !== n && i.call(v, a) && (g = v)
- var b = (T.prototype = A.prototype = Object.create(g))
- ;(_.prototype = b.constructor = T),
- (T.constructor = _),
- (T[l] = _.displayName = "GeneratorFunction"),
- (u.isGeneratorFunction = function (e) {
- var t = "function" === typeof e && e.constructor
- return !!t && (t === _ || "GeneratorFunction" === (t.displayName || t.name))
- }),
- (u.mark = function (e) {
- return (
- Object.setPrototypeOf
- ? Object.setPrototypeOf(e, T)
- : ((e.__proto__ = T), l in e || (e[l] = "GeneratorFunction")),
- (e.prototype = Object.create(b)),
- e
- )
- }),
- (u.awrap = function (e) {
- return {
- __await: e
- }
- }),
- E(S.prototype),
- (S.prototype[s] = function () {
- return this
- }),
- (u.AsyncIterator = S),
- (u.async = function (e, t, r, n) {
- var i = new S(w(e, t, r, n))
- return u.isGeneratorFunction(t)
- ? i
- : i.next().then(function (e) {
- return e.done ? e.value : i.next()
- })
- }),
- E(b),
- (b[l] = "Generator"),
- (b[a] = function () {
- return this
- }),
- (b.toString = function () {
- return "[object Generator]"
- }),
- (u.keys = function (e) {
- var t = []
- for (var r in e) t.push(r)
- return (
- t.reverse(),
- function r() {
- while (t.length) {
- var n = t.pop()
- if (n in e) return (r.value = n), (r.done = !1), r
- }
- return (r.done = !0), r
- }
- )
- }),
- (u.values = j),
- (O.prototype = {
- constructor: O,
- reset: function (e) {
- if (
- ((this.prev = 0),
- (this.next = 0),
- (this.sent = this._sent = r),
- (this.done = !1),
- (this.delegate = null),
- (this.method = "next"),
- (this.arg = r),
- this.tryEntries.forEach(P),
- !e)
- )
- for (var t in this) "t" === t.charAt(0) && i.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = r)
- },
- stop: function () {
- this.done = !0
- var e = this.tryEntries[0],
- t = e.completion
- if ("throw" === t.type) throw t.arg
- return this.rval
- },
- dispatchException: function (e) {
- if (this.done) throw e
- var t = this
- function n(n, i) {
- return (s.type = "throw"), (s.arg = e), (t.next = n), i && ((t.method = "next"), (t.arg = r)), !!i
- }
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
- var a = this.tryEntries[o],
- s = a.completion
- if ("root" === a.tryLoc) return n("end")
- if (a.tryLoc <= this.prev) {
- var l = i.call(a, "catchLoc"),
- c = i.call(a, "finallyLoc")
- if (l && c) {
- if (this.prev < a.catchLoc) return n(a.catchLoc, !0)
- if (this.prev < a.finallyLoc) return n(a.finallyLoc)
- } else if (l) {
- if (this.prev < a.catchLoc) return n(a.catchLoc, !0)
- } else {
- if (!c) throw new Error("try statement without catch or finally")
- if (this.prev < a.finallyLoc) return n(a.finallyLoc)
- }
- }
- }
- },
- abrupt: function (e, t) {
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
- var n = this.tryEntries[r]
- if (n.tryLoc <= this.prev && i.call(n, "finallyLoc") && this.prev < n.finallyLoc) {
- var o = n
- break
- }
- }
- o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null)
- var a = o ? o.completion : {}
- return (
- (a.type = e), (a.arg = t), o ? ((this.method = "next"), (this.next = o.finallyLoc), m) : this.complete(a)
- )
- },
- complete: function (e, t) {
- if ("throw" === e.type) throw e.arg
- return (
- "break" === e.type || "continue" === e.type
- ? (this.next = e.arg)
- : "return" === e.type
- ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end"))
- : "normal" === e.type && t && (this.next = t),
- m
- )
- },
- finish: function (e) {
- for (var t = this.tryEntries.length - 1; t >= 0; --t) {
- var r = this.tryEntries[t]
- if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), P(r), m
- }
- },
- catch: function (e) {
- for (var t = this.tryEntries.length - 1; t >= 0; --t) {
- var r = this.tryEntries[t]
- if (r.tryLoc === e) {
- var n = r.completion
- if ("throw" === n.type) {
- var i = n.arg
- P(r)
- }
- return i
- }
- }
- throw new Error("illegal catch attempt")
- },
- delegateYield: function (e, t, n) {
- return (
- (this.delegate = {
- iterator: j(e),
- resultName: t,
- nextLoc: n
- }),
- "next" === this.method && (this.arg = r),
- m
- )
- }
- })
- }
- function w(e, t, r, n) {
- var i = t && t.prototype instanceof A ? t : A,
- o = Object.create(i.prototype),
- a = new O(n || [])
- return (o._invoke = C(e, r, a)), o
- }
- function x(e, t, r) {
- try {
- return {
- type: "normal",
- arg: e.call(t, r)
- }
- } catch (n) {
- return {
- type: "throw",
- arg: n
- }
- }
- }
- function A() {}
- function _() {}
- function T() {}
- function E(e) {
- ;["next", "throw", "return"].forEach(function (t) {
- e[t] = function (e) {
- return this._invoke(t, e)
- }
- })
- }
- function S(e) {
- function t(r, n, o, a) {
- var s = x(e[r], e, n)
- if ("throw" !== s.type) {
- var l = s.arg,
- c = l.value
- return c && "object" === typeof c && i.call(c, "__await")
- ? Promise.resolve(c.__await).then(
- function (e) {
- t("next", e, o, a)
- },
- function (e) {
- t("throw", e, o, a)
- }
- )
- : Promise.resolve(c).then(function (e) {
- ;(l.value = e), o(l)
- }, a)
- }
- a(s.arg)
- }
- var r
- function n(e, n) {
- function i() {
- return new Promise(function (r, i) {
- t(e, n, r, i)
- })
- }
- return (r = r ? r.then(i, i) : i())
- }
- this._invoke = n
- }
- function C(e, t, r) {
- var n = f
- return function (i, o) {
- if (n === d) throw new Error("Generator is already running")
- if (n === h) {
- if ("throw" === i) throw o
- return R()
- }
- ;(r.method = i), (r.arg = o)
- while (1) {
- var a = r.delegate
- if (a) {
- var s = k(a, r)
- if (s) {
- if (s === m) continue
- return s
- }
- }
- if ("next" === r.method) r.sent = r._sent = r.arg
- else if ("throw" === r.method) {
- if (n === f) throw ((n = h), r.arg)
- r.dispatchException(r.arg)
- } else "return" === r.method && r.abrupt("return", r.arg)
- n = d
- var l = x(e, t, r)
- if ("normal" === l.type) {
- if (((n = r.done ? h : p), l.arg === m)) continue
- return {
- value: l.arg,
- done: r.done
- }
- }
- "throw" === l.type && ((n = h), (r.method = "throw"), (r.arg = l.arg))
- }
- }
- }
- function k(e, t) {
- var n = e.iterator[t.method]
- if (n === r) {
- if (((t.delegate = null), "throw" === t.method)) {
- if (e.iterator.return && ((t.method = "return"), (t.arg = r), k(e, t), "throw" === t.method)) return m
- ;(t.method = "throw"), (t.arg = new TypeError("The iterator does not provide a 'throw' method"))
- }
- return m
- }
- var i = x(n, e.iterator, t.arg)
- if ("throw" === i.type) return (t.method = "throw"), (t.arg = i.arg), (t.delegate = null), m
- var o = i.arg
- return o
- ? o.done
- ? ((t[e.resultName] = o.value),
- (t.next = e.nextLoc),
- "return" !== t.method && ((t.method = "next"), (t.arg = r)),
- (t.delegate = null),
- m)
- : o
- : ((t.method = "throw"), (t.arg = new TypeError("iterator result is not an object")), (t.delegate = null), m)
- }
- function L(e) {
- var t = {
- tryLoc: e[0]
- }
- 1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t)
- }
- function P(e) {
- var t = e.completion || {}
- ;(t.type = "normal"), delete t.arg, (e.completion = t)
- }
- function O(e) {
- ;(this.tryEntries = [
- {
- tryLoc: "root"
- }
- ]),
- e.forEach(L, this),
- this.reset(!0)
- }
- function j(e) {
- if (e) {
- var t = e[a]
- if (t) return t.call(e)
- if ("function" === typeof e.next) return e
- if (!isNaN(e.length)) {
- var n = -1,
- o = function t() {
- while (++n < e.length) if (i.call(e, n)) return (t.value = e[n]), (t.done = !1), t
- return (t.value = r), (t.done = !0), t
- }
- return (o.next = o)
- }
- }
- return {
- next: R
- }
- }
- function R() {
- return {
- value: r,
- done: !0
- }
- }
- })(
- (function () {
- return this
- })() || Function("return this")()
- )
- },
- {}
- ],
- 337: [
- function (e, t, r) {
- var n = e("buffer"),
- i = n.Buffer
- function o(e, t) {
- for (var r in e) t[r] = e[r]
- }
- function a(e, t, r) {
- return i(e, t, r)
- }
- i.from && i.alloc && i.allocUnsafe && i.allocUnsafeSlow ? (t.exports = n) : (o(n, r), (r.Buffer = a)),
- o(i, a),
- (a.from = function (e, t, r) {
- if ("number" === typeof e) throw new TypeError("Argument must not be a number")
- return i(e, t, r)
- }),
- (a.alloc = function (e, t, r) {
- if ("number" !== typeof e) throw new TypeError("Argument must be a number")
- var n = i(e)
- return void 0 !== t ? ("string" === typeof r ? n.fill(t, r) : n.fill(t)) : n.fill(0), n
- }),
- (a.allocUnsafe = function (e) {
- if ("number" !== typeof e) throw new TypeError("Argument must be a number")
- return i(e)
- }),
- (a.allocUnsafeSlow = function (e) {
- if ("number" !== typeof e) throw new TypeError("Argument must be a number")
- return n.SlowBuffer(e)
- })
- },
- {
- buffer: 99
- }
- ],
- 338: [
- function (e, t, r) {
- ;(function (t) {
- ;(function (r) {
- ;(r.parser = function (e, t) {
- return new o(e, t)
- }),
- (r.SAXParser = o),
- (r.SAXStream = f),
- (r.createStream = u),
- (r.MAX_BUFFER_LENGTH = 65536)
- var n,
- i = [
- "comment",
- "sgmlDecl",
- "textNode",
- "tagName",
- "doctype",
- "procInstName",
- "procInstBody",
- "entity",
- "attribName",
- "attribValue",
- "cdata",
- "script"
- ]
- function o(e, t) {
- if (!(this instanceof o)) return new o(e, t)
- var n = this
- s(n),
- (n.q = n.c = ""),
- (n.bufferCheckPosition = r.MAX_BUFFER_LENGTH),
- (n.opt = t || {}),
- (n.opt.lowercase = n.opt.lowercase || n.opt.lowercasetags),
- (n.looseCase = n.opt.lowercase ? "toLowerCase" : "toUpperCase"),
- (n.tags = []),
- (n.closed = n.closedRoot = n.sawRoot = !1),
- (n.tag = n.error = null),
- (n.strict = !!e),
- (n.noscript = !(!e && !n.opt.noscript)),
- (n.state = S.BEGIN),
- (n.strictEntities = n.opt.strictEntities),
- (n.ENTITIES = n.strictEntities ? Object.create(r.XML_ENTITIES) : Object.create(r.ENTITIES)),
- (n.attribList = []),
- n.opt.xmlns && (n.ns = Object.create(g)),
- (n.trackPosition = !1 !== n.opt.position),
- n.trackPosition && (n.position = n.line = n.column = 0),
- k(n, "onready")
- }
- function a(e) {
- for (var t = Math.max(r.MAX_BUFFER_LENGTH, 10), n = 0, o = 0, a = i.length; o < a; o++) {
- var s = e[i[o]].length
- if (s > t)
- switch (i[o]) {
- case "textNode":
- P(e)
- break
- case "cdata":
- L(e, "oncdata", e.cdata), (e.cdata = "")
- break
- case "script":
- L(e, "onscript", e.script), (e.script = "")
- break
- default:
- j(e, "Max buffer length exceeded: " + i[o])
- }
- n = Math.max(n, s)
- }
- var l = r.MAX_BUFFER_LENGTH - n
- e.bufferCheckPosition = l + e.position
- }
- function s(e) {
- for (var t = 0, r = i.length; t < r; t++) e[i[t]] = ""
- }
- function l(e) {
- P(e),
- "" !== e.cdata && (L(e, "oncdata", e.cdata), (e.cdata = "")),
- "" !== e.script && (L(e, "onscript", e.script), (e.script = ""))
- }
- ;(r.EVENTS = [
- "text",
- "processinginstruction",
- "sgmldeclaration",
- "doctype",
- "comment",
- "opentagstart",
- "attribute",
- "opentag",
- "closetag",
- "opencdata",
- "cdata",
- "closecdata",
- "error",
- "end",
- "ready",
- "script",
- "opennamespace",
- "closenamespace"
- ]),
- Object.create ||
- (Object.create = function (e) {
- function t() {}
- t.prototype = e
- var r = new t()
- return r
- }),
- Object.keys ||
- (Object.keys = function (e) {
- var t = []
- for (var r in e) e.hasOwnProperty(r) && t.push(r)
- return t
- }),
- (o.prototype = {
- end: function () {
- R(this)
- },
- write: G,
- resume: function () {
- return (this.error = null), this
- },
- close: function () {
- return this.write(null)
- },
- flush: function () {
- l(this)
- }
- })
- try {
- n = e("stream").Stream
- } catch (W) {
- n = function () {}
- }
- var c = r.EVENTS.filter(function (e) {
- return "error" !== e && "end" !== e
- })
- function u(e, t) {
- return new f(e, t)
- }
- function f(e, t) {
- if (!(this instanceof f)) return new f(e, t)
- n.apply(this), (this._parser = new o(e, t)), (this.writable = !0), (this.readable = !0)
- var r = this
- ;(this._parser.onend = function () {
- r.emit("end")
- }),
- (this._parser.onerror = function (e) {
- r.emit("error", e), (r._parser.error = null)
- }),
- (this._decoder = null),
- c.forEach(function (e) {
- Object.defineProperty(r, "on" + e, {
- get: function () {
- return r._parser["on" + e]
- },
- set: function (t) {
- if (!t) return r.removeAllListeners(e), (r._parser["on" + e] = t), t
- r.on(e, t)
- },
- enumerable: !0,
- configurable: !1
- })
- })
- }
- ;(f.prototype = Object.create(n.prototype, {
- constructor: {
- value: f
- }
- })),
- (f.prototype.write = function (r) {
- if ("function" === typeof t && "function" === typeof t.isBuffer && t.isBuffer(r)) {
- if (!this._decoder) {
- var n = e("string_decoder").StringDecoder
- this._decoder = new n("utf8")
- }
- r = this._decoder.write(r)
- }
- return this._parser.write(r.toString()), this.emit("data", r), !0
- }),
- (f.prototype.end = function (e) {
- return e && e.length && this.write(e), this._parser.end(), !0
- }),
- (f.prototype.on = function (e, t) {
- var r = this
- return (
- r._parser["on" + e] ||
- -1 === c.indexOf(e) ||
- (r._parser["on" + e] = function () {
- var t = 1 === arguments.length ? [arguments[0]] : Array.apply(null, arguments)
- t.splice(0, 0, e), r.emit.apply(r, t)
- }),
- n.prototype.on.call(r, e, t)
- )
- })
- var p = "[CDATA[",
- d = "DOCTYPE",
- h = "http://www.w3.org/XML/1998/namespace",
- m = "http://www.w3.org/2000/xmlns/",
- g = {
- xml: h,
- xmlns: m
- },
- y =
- /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,
- v =
- /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,
- b =
- /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,
- w =
- /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/
- function x(e) {
- return " " === e || "\n" === e || "\r" === e || "\t" === e
- }
- function A(e) {
- return '"' === e || "'" === e
- }
- function _(e) {
- return ">" === e || x(e)
- }
- function T(e, t) {
- return e.test(t)
- }
- function E(e, t) {
- return !T(e, t)
- }
- var S = 0
- for (var C in ((r.STATE = {
- BEGIN: S++,
- BEGIN_WHITESPACE: S++,
- TEXT: S++,
- TEXT_ENTITY: S++,
- OPEN_WAKA: S++,
- SGML_DECL: S++,
- SGML_DECL_QUOTED: S++,
- DOCTYPE: S++,
- DOCTYPE_QUOTED: S++,
- DOCTYPE_DTD: S++,
- DOCTYPE_DTD_QUOTED: S++,
- COMMENT_STARTING: S++,
- COMMENT: S++,
- COMMENT_ENDING: S++,
- COMMENT_ENDED: S++,
- CDATA: S++,
- CDATA_ENDING: S++,
- CDATA_ENDING_2: S++,
- PROC_INST: S++,
- PROC_INST_BODY: S++,
- PROC_INST_ENDING: S++,
- OPEN_TAG: S++,
- OPEN_TAG_SLASH: S++,
- ATTRIB: S++,
- ATTRIB_NAME: S++,
- ATTRIB_NAME_SAW_WHITE: S++,
- ATTRIB_VALUE: S++,
- ATTRIB_VALUE_QUOTED: S++,
- ATTRIB_VALUE_CLOSED: S++,
- ATTRIB_VALUE_UNQUOTED: S++,
- ATTRIB_VALUE_ENTITY_Q: S++,
- ATTRIB_VALUE_ENTITY_U: S++,
- CLOSE_TAG: S++,
- CLOSE_TAG_SAW_WHITE: S++,
- SCRIPT: S++,
- SCRIPT_ENDING: S++
- }),
- (r.XML_ENTITIES = {
- amp: "&",
- gt: ">",
- lt: "<",
- quot: '"',
- apos: "'"
- }),
- (r.ENTITIES = {
- amp: "&",
- gt: ">",
- lt: "<",
- quot: '"',
- apos: "'",
- AElig: 198,
- Aacute: 193,
- Acirc: 194,
- Agrave: 192,
- Aring: 197,
- Atilde: 195,
- Auml: 196,
- Ccedil: 199,
- ETH: 208,
- Eacute: 201,
- Ecirc: 202,
- Egrave: 200,
- Euml: 203,
- Iacute: 205,
- Icirc: 206,
- Igrave: 204,
- Iuml: 207,
- Ntilde: 209,
- Oacute: 211,
- Ocirc: 212,
- Ograve: 210,
- Oslash: 216,
- Otilde: 213,
- Ouml: 214,
- THORN: 222,
- Uacute: 218,
- Ucirc: 219,
- Ugrave: 217,
- Uuml: 220,
- Yacute: 221,
- aacute: 225,
- acirc: 226,
- aelig: 230,
- agrave: 224,
- aring: 229,
- atilde: 227,
- auml: 228,
- ccedil: 231,
- eacute: 233,
- ecirc: 234,
- egrave: 232,
- eth: 240,
- euml: 235,
- iacute: 237,
- icirc: 238,
- igrave: 236,
- iuml: 239,
- ntilde: 241,
- oacute: 243,
- ocirc: 244,
- ograve: 242,
- oslash: 248,
- otilde: 245,
- ouml: 246,
- szlig: 223,
- thorn: 254,
- uacute: 250,
- ucirc: 251,
- ugrave: 249,
- uuml: 252,
- yacute: 253,
- yuml: 255,
- copy: 169,
- reg: 174,
- nbsp: 160,
- iexcl: 161,
- cent: 162,
- pound: 163,
- curren: 164,
- yen: 165,
- brvbar: 166,
- sect: 167,
- uml: 168,
- ordf: 170,
- laquo: 171,
- not: 172,
- shy: 173,
- macr: 175,
- deg: 176,
- plusmn: 177,
- sup1: 185,
- sup2: 178,
- sup3: 179,
- acute: 180,
- micro: 181,
- para: 182,
- middot: 183,
- cedil: 184,
- ordm: 186,
- raquo: 187,
- frac14: 188,
- frac12: 189,
- frac34: 190,
- iquest: 191,
- times: 215,
- divide: 247,
- OElig: 338,
- oelig: 339,
- Scaron: 352,
- scaron: 353,
- Yuml: 376,
- fnof: 402,
- circ: 710,
- tilde: 732,
- Alpha: 913,
- Beta: 914,
- Gamma: 915,
- Delta: 916,
- Epsilon: 917,
- Zeta: 918,
- Eta: 919,
- Theta: 920,
- Iota: 921,
- Kappa: 922,
- Lambda: 923,
- Mu: 924,
- Nu: 925,
- Xi: 926,
- Omicron: 927,
- Pi: 928,
- Rho: 929,
- Sigma: 931,
- Tau: 932,
- Upsilon: 933,
- Phi: 934,
- Chi: 935,
- Psi: 936,
- Omega: 937,
- alpha: 945,
- beta: 946,
- gamma: 947,
- delta: 948,
- epsilon: 949,
- zeta: 950,
- eta: 951,
- theta: 952,
- iota: 953,
- kappa: 954,
- lambda: 955,
- mu: 956,
- nu: 957,
- xi: 958,
- omicron: 959,
- pi: 960,
- rho: 961,
- sigmaf: 962,
- sigma: 963,
- tau: 964,
- upsilon: 965,
- phi: 966,
- chi: 967,
- psi: 968,
- omega: 969,
- thetasym: 977,
- upsih: 978,
- piv: 982,
- ensp: 8194,
- emsp: 8195,
- thinsp: 8201,
- zwnj: 8204,
- zwj: 8205,
- lrm: 8206,
- rlm: 8207,
- ndash: 8211,
- mdash: 8212,
- lsquo: 8216,
- rsquo: 8217,
- sbquo: 8218,
- ldquo: 8220,
- rdquo: 8221,
- bdquo: 8222,
- dagger: 8224,
- Dagger: 8225,
- bull: 8226,
- hellip: 8230,
- permil: 8240,
- prime: 8242,
- Prime: 8243,
- lsaquo: 8249,
- rsaquo: 8250,
- oline: 8254,
- frasl: 8260,
- euro: 8364,
- image: 8465,
- weierp: 8472,
- real: 8476,
- trade: 8482,
- alefsym: 8501,
- larr: 8592,
- uarr: 8593,
- rarr: 8594,
- darr: 8595,
- harr: 8596,
- crarr: 8629,
- lArr: 8656,
- uArr: 8657,
- rArr: 8658,
- dArr: 8659,
- hArr: 8660,
- forall: 8704,
- part: 8706,
- exist: 8707,
- empty: 8709,
- nabla: 8711,
- isin: 8712,
- notin: 8713,
- ni: 8715,
- prod: 8719,
- sum: 8721,
- minus: 8722,
- lowast: 8727,
- radic: 8730,
- prop: 8733,
- infin: 8734,
- ang: 8736,
- and: 8743,
- or: 8744,
- cap: 8745,
- cup: 8746,
- int: 8747,
- there4: 8756,
- sim: 8764,
- cong: 8773,
- asymp: 8776,
- ne: 8800,
- equiv: 8801,
- le: 8804,
- ge: 8805,
- sub: 8834,
- sup: 8835,
- nsub: 8836,
- sube: 8838,
- supe: 8839,
- oplus: 8853,
- otimes: 8855,
- perp: 8869,
- sdot: 8901,
- lceil: 8968,
- rceil: 8969,
- lfloor: 8970,
- rfloor: 8971,
- lang: 9001,
- rang: 9002,
- loz: 9674,
- spades: 9824,
- clubs: 9827,
- hearts: 9829,
- diams: 9830
- }),
- Object.keys(r.ENTITIES).forEach(function (e) {
- var t = r.ENTITIES[e],
- n = "number" === typeof t ? String.fromCharCode(t) : t
- r.ENTITIES[e] = n
- }),
- r.STATE))
- r.STATE[r.STATE[C]] = C
- function k(e, t, r) {
- e[t] && e[t](r)
- }
- function L(e, t, r) {
- e.textNode && P(e), k(e, t, r)
- }
- function P(e) {
- ;(e.textNode = O(e.opt, e.textNode)), e.textNode && k(e, "ontext", e.textNode), (e.textNode = "")
- }
- function O(e, t) {
- return e.trim && (t = t.trim()), e.normalize && (t = t.replace(/\s+/g, " ")), t
- }
- function j(e, t) {
- return (
- P(e),
- e.trackPosition && (t += "\nLine: " + e.line + "\nColumn: " + e.column + "\nChar: " + e.c),
- (t = new Error(t)),
- (e.error = t),
- k(e, "onerror", t),
- e
- )
- }
- function R(e) {
- return (
- e.sawRoot && !e.closedRoot && I(e, "Unclosed root tag"),
- e.state !== S.BEGIN && e.state !== S.BEGIN_WHITESPACE && e.state !== S.TEXT && j(e, "Unexpected end"),
- P(e),
- (e.c = ""),
- (e.closed = !0),
- k(e, "onend"),
- o.call(e, e.strict, e.opt),
- e
- )
- }
- function I(e, t) {
- if ("object" !== typeof e || !(e instanceof o)) throw new Error("bad call to strictFail")
- e.strict && j(e, t)
- }
- function N(e) {
- e.strict || (e.tagName = e.tagName[e.looseCase]())
- var t = e.tags[e.tags.length - 1] || e,
- r = (e.tag = {
- name: e.tagName,
- attributes: {}
- })
- e.opt.xmlns && (r.ns = t.ns), (e.attribList.length = 0), L(e, "onopentagstart", r)
- }
- function M(e, t) {
- var r = e.indexOf(":"),
- n = r < 0 ? ["", e] : e.split(":"),
- i = n[0],
- o = n[1]
- return (
- t && "xmlns" === e && ((i = "xmlns"), (o = "")),
- {
- prefix: i,
- local: o
- }
- )
- }
- function D(e) {
- if (
- (e.strict || (e.attribName = e.attribName[e.looseCase]()),
- -1 !== e.attribList.indexOf(e.attribName) || e.tag.attributes.hasOwnProperty(e.attribName))
- )
- e.attribName = e.attribValue = ""
- else {
- if (e.opt.xmlns) {
- var t = M(e.attribName, !0),
- r = t.prefix,
- n = t.local
- if ("xmlns" === r)
- if ("xml" === n && e.attribValue !== h)
- I(e, "xml: prefix must be bound to " + h + "\nActual: " + e.attribValue)
- else if ("xmlns" === n && e.attribValue !== m)
- I(e, "xmlns: prefix must be bound to " + m + "\nActual: " + e.attribValue)
- else {
- var i = e.tag,
- o = e.tags[e.tags.length - 1] || e
- i.ns === o.ns && (i.ns = Object.create(o.ns)), (i.ns[n] = e.attribValue)
- }
- e.attribList.push([e.attribName, e.attribValue])
- } else
- (e.tag.attributes[e.attribName] = e.attribValue),
- L(e, "onattribute", {
- name: e.attribName,
- value: e.attribValue
- })
- e.attribName = e.attribValue = ""
- }
- }
- function B(e, t) {
- if (e.opt.xmlns) {
- var r = e.tag,
- n = M(e.tagName)
- ;(r.prefix = n.prefix),
- (r.local = n.local),
- (r.uri = r.ns[n.prefix] || ""),
- r.prefix && !r.uri && (I(e, "Unbound namespace prefix: " + JSON.stringify(e.tagName)), (r.uri = n.prefix))
- var i = e.tags[e.tags.length - 1] || e
- r.ns &&
- i.ns !== r.ns &&
- Object.keys(r.ns).forEach(function (t) {
- L(e, "onopennamespace", {
- prefix: t,
- uri: r.ns[t]
- })
- })
- for (var o = 0, a = e.attribList.length; o < a; o++) {
- var s = e.attribList[o],
- l = s[0],
- c = s[1],
- u = M(l, !0),
- f = u.prefix,
- p = u.local,
- d = "" === f ? "" : r.ns[f] || "",
- h = {
- name: l,
- value: c,
- prefix: f,
- local: p,
- uri: d
- }
- f && "xmlns" !== f && !d && (I(e, "Unbound namespace prefix: " + JSON.stringify(f)), (h.uri = f)),
- (e.tag.attributes[l] = h),
- L(e, "onattribute", h)
- }
- e.attribList.length = 0
- }
- ;(e.tag.isSelfClosing = !!t),
- (e.sawRoot = !0),
- e.tags.push(e.tag),
- L(e, "onopentag", e.tag),
- t ||
- (e.noscript || "script" !== e.tagName.toLowerCase() ? (e.state = S.TEXT) : (e.state = S.SCRIPT),
- (e.tag = null),
- (e.tagName = "")),
- (e.attribName = e.attribValue = ""),
- (e.attribList.length = 0)
- }
- function F(e) {
- if (!e.tagName) return I(e, "Weird empty close tag."), (e.textNode += "</>"), void (e.state = S.TEXT)
- if (e.script) {
- if ("script" !== e.tagName)
- return (e.script += "</" + e.tagName + ">"), (e.tagName = ""), void (e.state = S.SCRIPT)
- L(e, "onscript", e.script), (e.script = "")
- }
- var t = e.tags.length,
- r = e.tagName
- e.strict || (r = r[e.looseCase]())
- var n = r
- while (t--) {
- var i = e.tags[t]
- if (i.name === n) break
- I(e, "Unexpected close tag")
- }
- if (t < 0)
- return (
- I(e, "Unmatched closing tag: " + e.tagName), (e.textNode += "</" + e.tagName + ">"), void (e.state = S.TEXT)
- )
- e.tagName = r
- var o = e.tags.length
- while (o-- > t) {
- var a = (e.tag = e.tags.pop())
- ;(e.tagName = e.tag.name), L(e, "onclosetag", e.tagName)
- var s = {}
- for (var l in a.ns) s[l] = a.ns[l]
- var c = e.tags[e.tags.length - 1] || e
- e.opt.xmlns &&
- a.ns !== c.ns &&
- Object.keys(a.ns).forEach(function (t) {
- var r = a.ns[t]
- L(e, "onclosenamespace", {
- prefix: t,
- uri: r
- })
- })
- }
- 0 === t && (e.closedRoot = !0),
- (e.tagName = e.attribValue = e.attribName = ""),
- (e.attribList.length = 0),
- (e.state = S.TEXT)
- }
- function U(e) {
- var t,
- r = e.entity,
- n = r.toLowerCase(),
- i = ""
- return e.ENTITIES[r]
- ? e.ENTITIES[r]
- : e.ENTITIES[n]
- ? e.ENTITIES[n]
- : ((r = n),
- "#" === r.charAt(0) &&
- ("x" === r.charAt(1)
- ? ((r = r.slice(2)), (t = parseInt(r, 16)), (i = t.toString(16)))
- : ((r = r.slice(1)), (t = parseInt(r, 10)), (i = t.toString(10)))),
- (r = r.replace(/^0+/, "")),
- isNaN(t) || i.toLowerCase() !== r
- ? (I(e, "Invalid character entity"), "&" + e.entity + ";")
- : String.fromCodePoint(t))
- }
- function z(e, t) {
- "<" === t
- ? ((e.state = S.OPEN_WAKA), (e.startTagPosition = e.position))
- : x(t) || (I(e, "Non-whitespace before first tag."), (e.textNode = t), (e.state = S.TEXT))
- }
- function q(e, t) {
- var r = ""
- return t < e.length && (r = e.charAt(t)), r
- }
- function G(e) {
- var t = this
- if (this.error) throw this.error
- if (t.closed) return j(t, "Cannot write after close. Assign an onready handler.")
- if (null === e) return R(t)
- "object" === typeof e && (e = e.toString())
- var r = 0,
- n = ""
- while (1) {
- if (((n = q(e, r++)), (t.c = n), !n)) break
- switch ((t.trackPosition && (t.position++, "\n" === n ? (t.line++, (t.column = 0)) : t.column++), t.state)) {
- case S.BEGIN:
- if (((t.state = S.BEGIN_WHITESPACE), "\ufeff" === n)) continue
- z(t, n)
- continue
- case S.BEGIN_WHITESPACE:
- z(t, n)
- continue
- case S.TEXT:
- if (t.sawRoot && !t.closedRoot) {
- var i = r - 1
- while (n && "<" !== n && "&" !== n)
- (n = q(e, r++)),
- n && t.trackPosition && (t.position++, "\n" === n ? (t.line++, (t.column = 0)) : t.column++)
- t.textNode += e.substring(i, r - 1)
- }
- "<" !== n || (t.sawRoot && t.closedRoot && !t.strict)
- ? (x(n) || (t.sawRoot && !t.closedRoot) || I(t, "Text data outside of root node."),
- "&" === n ? (t.state = S.TEXT_ENTITY) : (t.textNode += n))
- : ((t.state = S.OPEN_WAKA), (t.startTagPosition = t.position))
- continue
- case S.SCRIPT:
- "<" === n ? (t.state = S.SCRIPT_ENDING) : (t.script += n)
- continue
- case S.SCRIPT_ENDING:
- "/" === n ? (t.state = S.CLOSE_TAG) : ((t.script += "<" + n), (t.state = S.SCRIPT))
- continue
- case S.OPEN_WAKA:
- if ("!" === n) (t.state = S.SGML_DECL), (t.sgmlDecl = "")
- else if (x(n));
- else if (T(y, n)) (t.state = S.OPEN_TAG), (t.tagName = n)
- else if ("/" === n) (t.state = S.CLOSE_TAG), (t.tagName = "")
- else if ("?" === n) (t.state = S.PROC_INST), (t.procInstName = t.procInstBody = "")
- else {
- if ((I(t, "Unencoded <"), t.startTagPosition + 1 < t.position)) {
- var o = t.position - t.startTagPosition
- n = new Array(o).join(" ") + n
- }
- ;(t.textNode += "<" + n), (t.state = S.TEXT)
- }
- continue
- case S.SGML_DECL:
- ;(t.sgmlDecl + n).toUpperCase() === p
- ? (L(t, "onopencdata"), (t.state = S.CDATA), (t.sgmlDecl = ""), (t.cdata = ""))
- : t.sgmlDecl + n === "--"
- ? ((t.state = S.COMMENT), (t.comment = ""), (t.sgmlDecl = ""))
- : (t.sgmlDecl + n).toUpperCase() === d
- ? ((t.state = S.DOCTYPE),
- (t.doctype || t.sawRoot) && I(t, "Inappropriately located doctype declaration"),
- (t.doctype = ""),
- (t.sgmlDecl = ""))
- : ">" === n
- ? (L(t, "onsgmldeclaration", t.sgmlDecl), (t.sgmlDecl = ""), (t.state = S.TEXT))
- : A(n)
- ? ((t.state = S.SGML_DECL_QUOTED), (t.sgmlDecl += n))
- : (t.sgmlDecl += n)
- continue
- case S.SGML_DECL_QUOTED:
- n === t.q && ((t.state = S.SGML_DECL), (t.q = "")), (t.sgmlDecl += n)
- continue
- case S.DOCTYPE:
- ">" === n
- ? ((t.state = S.TEXT), L(t, "ondoctype", t.doctype), (t.doctype = !0))
- : ((t.doctype += n),
- "[" === n ? (t.state = S.DOCTYPE_DTD) : A(n) && ((t.state = S.DOCTYPE_QUOTED), (t.q = n)))
- continue
- case S.DOCTYPE_QUOTED:
- ;(t.doctype += n), n === t.q && ((t.q = ""), (t.state = S.DOCTYPE))
- continue
- case S.DOCTYPE_DTD:
- ;(t.doctype += n), "]" === n ? (t.state = S.DOCTYPE) : A(n) && ((t.state = S.DOCTYPE_DTD_QUOTED), (t.q = n))
- continue
- case S.DOCTYPE_DTD_QUOTED:
- ;(t.doctype += n), n === t.q && ((t.state = S.DOCTYPE_DTD), (t.q = ""))
- continue
- case S.COMMENT:
- "-" === n ? (t.state = S.COMMENT_ENDING) : (t.comment += n)
- continue
- case S.COMMENT_ENDING:
- "-" === n
- ? ((t.state = S.COMMENT_ENDED),
- (t.comment = O(t.opt, t.comment)),
- t.comment && L(t, "oncomment", t.comment),
- (t.comment = ""))
- : ((t.comment += "-" + n), (t.state = S.COMMENT))
- continue
- case S.COMMENT_ENDED:
- ">" !== n ? (I(t, "Malformed comment"), (t.comment += "--" + n), (t.state = S.COMMENT)) : (t.state = S.TEXT)
- continue
- case S.CDATA:
- "]" === n ? (t.state = S.CDATA_ENDING) : (t.cdata += n)
- continue
- case S.CDATA_ENDING:
- "]" === n ? (t.state = S.CDATA_ENDING_2) : ((t.cdata += "]" + n), (t.state = S.CDATA))
- continue
- case S.CDATA_ENDING_2:
- ">" === n
- ? (t.cdata && L(t, "oncdata", t.cdata), L(t, "onclosecdata"), (t.cdata = ""), (t.state = S.TEXT))
- : "]" === n
- ? (t.cdata += "]")
- : ((t.cdata += "]]" + n), (t.state = S.CDATA))
- continue
- case S.PROC_INST:
- "?" === n ? (t.state = S.PROC_INST_ENDING) : x(n) ? (t.state = S.PROC_INST_BODY) : (t.procInstName += n)
- continue
- case S.PROC_INST_BODY:
- if (!t.procInstBody && x(n)) continue
- "?" === n ? (t.state = S.PROC_INST_ENDING) : (t.procInstBody += n)
- continue
- case S.PROC_INST_ENDING:
- ">" === n
- ? (L(t, "onprocessinginstruction", {
- name: t.procInstName,
- body: t.procInstBody
- }),
- (t.procInstName = t.procInstBody = ""),
- (t.state = S.TEXT))
- : ((t.procInstBody += "?" + n), (t.state = S.PROC_INST_BODY))
- continue
- case S.OPEN_TAG:
- T(v, n)
- ? (t.tagName += n)
- : (N(t),
- ">" === n
- ? B(t)
- : "/" === n
- ? (t.state = S.OPEN_TAG_SLASH)
- : (x(n) || I(t, "Invalid character in tag name"), (t.state = S.ATTRIB)))
- continue
- case S.OPEN_TAG_SLASH:
- ">" === n
- ? (B(t, !0), F(t))
- : (I(t, "Forward-slash in opening tag not followed by >"), (t.state = S.ATTRIB))
- continue
- case S.ATTRIB:
- if (x(n)) continue
- ">" === n
- ? B(t)
- : "/" === n
- ? (t.state = S.OPEN_TAG_SLASH)
- : T(y, n)
- ? ((t.attribName = n), (t.attribValue = ""), (t.state = S.ATTRIB_NAME))
- : I(t, "Invalid attribute name")
- continue
- case S.ATTRIB_NAME:
- "=" === n
- ? (t.state = S.ATTRIB_VALUE)
- : ">" === n
- ? (I(t, "Attribute without value"), (t.attribValue = t.attribName), D(t), B(t))
- : x(n)
- ? (t.state = S.ATTRIB_NAME_SAW_WHITE)
- : T(v, n)
- ? (t.attribName += n)
- : I(t, "Invalid attribute name")
- continue
- case S.ATTRIB_NAME_SAW_WHITE:
- if ("=" === n) t.state = S.ATTRIB_VALUE
- else {
- if (x(n)) continue
- I(t, "Attribute without value"),
- (t.tag.attributes[t.attribName] = ""),
- (t.attribValue = ""),
- L(t, "onattribute", {
- name: t.attribName,
- value: ""
- }),
- (t.attribName = ""),
- ">" === n
- ? B(t)
- : T(y, n)
- ? ((t.attribName = n), (t.state = S.ATTRIB_NAME))
- : (I(t, "Invalid attribute name"), (t.state = S.ATTRIB))
- }
- continue
- case S.ATTRIB_VALUE:
- if (x(n)) continue
- A(n)
- ? ((t.q = n), (t.state = S.ATTRIB_VALUE_QUOTED))
- : (I(t, "Unquoted attribute value"), (t.state = S.ATTRIB_VALUE_UNQUOTED), (t.attribValue = n))
- continue
- case S.ATTRIB_VALUE_QUOTED:
- if (n !== t.q) {
- "&" === n ? (t.state = S.ATTRIB_VALUE_ENTITY_Q) : (t.attribValue += n)
- continue
- }
- D(t), (t.q = ""), (t.state = S.ATTRIB_VALUE_CLOSED)
- continue
- case S.ATTRIB_VALUE_CLOSED:
- x(n)
- ? (t.state = S.ATTRIB)
- : ">" === n
- ? B(t)
- : "/" === n
- ? (t.state = S.OPEN_TAG_SLASH)
- : T(y, n)
- ? (I(t, "No whitespace between attributes"),
- (t.attribName = n),
- (t.attribValue = ""),
- (t.state = S.ATTRIB_NAME))
- : I(t, "Invalid attribute name")
- continue
- case S.ATTRIB_VALUE_UNQUOTED:
- if (!_(n)) {
- "&" === n ? (t.state = S.ATTRIB_VALUE_ENTITY_U) : (t.attribValue += n)
- continue
- }
- D(t), ">" === n ? B(t) : (t.state = S.ATTRIB)
- continue
- case S.CLOSE_TAG:
- if (t.tagName)
- ">" === n
- ? F(t)
- : T(v, n)
- ? (t.tagName += n)
- : t.script
- ? ((t.script += "</" + t.tagName), (t.tagName = ""), (t.state = S.SCRIPT))
- : (x(n) || I(t, "Invalid tagname in closing tag"), (t.state = S.CLOSE_TAG_SAW_WHITE))
- else {
- if (x(n)) continue
- E(y, n)
- ? t.script
- ? ((t.script += "</" + n), (t.state = S.SCRIPT))
- : I(t, "Invalid tagname in closing tag.")
- : (t.tagName = n)
- }
- continue
- case S.CLOSE_TAG_SAW_WHITE:
- if (x(n)) continue
- ">" === n ? F(t) : I(t, "Invalid characters in closing tag")
- continue
- case S.TEXT_ENTITY:
- case S.ATTRIB_VALUE_ENTITY_Q:
- case S.ATTRIB_VALUE_ENTITY_U:
- var s, l
- switch (t.state) {
- case S.TEXT_ENTITY:
- ;(s = S.TEXT), (l = "textNode")
- break
- case S.ATTRIB_VALUE_ENTITY_Q:
- ;(s = S.ATTRIB_VALUE_QUOTED), (l = "attribValue")
- break
- case S.ATTRIB_VALUE_ENTITY_U:
- ;(s = S.ATTRIB_VALUE_UNQUOTED), (l = "attribValue")
- break
- }
- ";" === n
- ? ((t[l] += U(t)), (t.entity = ""), (t.state = s))
- : T(t.entity.length ? w : b, n)
- ? (t.entity += n)
- : (I(t, "Invalid character in entity name"),
- (t[l] += "&" + t.entity + n),
- (t.entity = ""),
- (t.state = s))
- continue
- default:
- throw new Error(t, "Unknown state: " + t.state)
- }
- }
- return t.position >= t.bufferCheckPosition && a(t), t
- }
- /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
- ;(S = r.STATE),
- String.fromCodePoint ||
- (function () {
- var e = String.fromCharCode,
- t = Math.floor,
- r = function () {
- var r,
- n,
- i = 16384,
- o = [],
- a = -1,
- s = arguments.length
- if (!s) return ""
- var l = ""
- while (++a < s) {
- var c = Number(arguments[a])
- if (!isFinite(c) || c < 0 || c > 1114111 || t(c) !== c) throw RangeError("Invalid code point: " + c)
- c <= 65535
- ? o.push(c)
- : ((c -= 65536), (r = 55296 + (c >> 10)), (n = (c % 1024) + 56320), o.push(r, n)),
- (a + 1 === s || o.length > i) && ((l += e.apply(null, o)), (o.length = 0))
- }
- return l
- }
- Object.defineProperty
- ? Object.defineProperty(String, "fromCodePoint", {
- value: r,
- configurable: !0,
- writable: !0
- })
- : (String.fromCodePoint = r)
- })()
- })("undefined" === typeof r ? (this.sax = {}) : r)
- }).call(this, e("buffer").Buffer)
- },
- {
- buffer: 99,
- stream: 339,
- string_decoder: 340
- }
- ],
- 339: [
- function (e, t, r) {
- t.exports = o
- var n = e("events").EventEmitter,
- i = e("inherits")
- function o() {
- n.call(this)
- }
- i(o, n),
- (o.Readable = e("readable-stream/readable.js")),
- (o.Writable = e("readable-stream/writable.js")),
- (o.Duplex = e("readable-stream/duplex.js")),
- (o.Transform = e("readable-stream/transform.js")),
- (o.PassThrough = e("readable-stream/passthrough.js")),
- (o.Stream = o),
- (o.prototype.pipe = function (e, t) {
- var r = this
- function i(t) {
- e.writable && !1 === e.write(t) && r.pause && r.pause()
- }
- function o() {
- r.readable && r.resume && r.resume()
- }
- r.on("data", i), e.on("drain", o), e._isStdio || (t && !1 === t.end) || (r.on("end", s), r.on("close", l))
- var a = !1
- function s() {
- a || ((a = !0), e.end())
- }
- function l() {
- a || ((a = !0), "function" === typeof e.destroy && e.destroy())
- }
- function c(e) {
- if ((u(), 0 === n.listenerCount(this, "error"))) throw e
- }
- function u() {
- r.removeListener("data", i),
- e.removeListener("drain", o),
- r.removeListener("end", s),
- r.removeListener("close", l),
- r.removeListener("error", c),
- e.removeListener("error", c),
- r.removeListener("end", u),
- r.removeListener("close", u),
- e.removeListener("close", u)
- }
- return r.on("error", c), e.on("error", c), r.on("end", u), r.on("close", u), e.on("close", u), e.emit("pipe", r), e
- })
- },
- {
- events: 296,
- inherits: 306,
- "readable-stream/duplex.js": 323,
- "readable-stream/passthrough.js": 332,
- "readable-stream/readable.js": 333,
- "readable-stream/transform.js": 334,
- "readable-stream/writable.js": 335
- }
- ],
- 340: [
- function (e, t, r) {
- "use strict"
- var n = e("safe-buffer").Buffer,
- i =
- n.isEncoding ||
- function (e) {
- switch (((e = "" + e), e && e.toLowerCase())) {
- case "hex":
- case "utf8":
- case "utf-8":
- case "ascii":
- case "binary":
- case "base64":
- case "ucs2":
- case "ucs-2":
- case "utf16le":
- case "utf-16le":
- case "raw":
- return !0
- default:
- return !1
- }
- }
- function o(e) {
- if (!e) return "utf8"
- var t
- while (1)
- switch (e) {
- case "utf8":
- case "utf-8":
- return "utf8"
- case "ucs2":
- case "ucs-2":
- case "utf16le":
- case "utf-16le":
- return "utf16le"
- case "latin1":
- case "binary":
- return "latin1"
- case "base64":
- case "ascii":
- case "hex":
- return e
- default:
- if (t) return
- ;(e = ("" + e).toLowerCase()), (t = !0)
- }
- }
- function a(e) {
- var t = o(e)
- if ("string" !== typeof t && (n.isEncoding === i || !i(e))) throw new Error("Unknown encoding: " + e)
- return t || e
- }
- function s(e) {
- var t
- switch (((this.encoding = a(e)), this.encoding)) {
- case "utf16le":
- ;(this.text = h), (this.end = m), (t = 4)
- break
- case "utf8":
- ;(this.fillLast = f), (t = 4)
- break
- case "base64":
- ;(this.text = g), (this.end = y), (t = 3)
- break
- default:
- return (this.write = v), void (this.end = b)
- }
- ;(this.lastNeed = 0), (this.lastTotal = 0), (this.lastChar = n.allocUnsafe(t))
- }
- function l(e) {
- return e <= 127 ? 0 : e >> 5 === 6 ? 2 : e >> 4 === 14 ? 3 : e >> 3 === 30 ? 4 : e >> 6 === 2 ? -1 : -2
- }
- function c(e, t, r) {
- var n = t.length - 1
- if (n < r) return 0
- var i = l(t[n])
- return i >= 0
- ? (i > 0 && (e.lastNeed = i - 1), i)
- : --n < r || -2 === i
- ? 0
- : ((i = l(t[n])),
- i >= 0
- ? (i > 0 && (e.lastNeed = i - 2), i)
- : --n < r || -2 === i
- ? 0
- : ((i = l(t[n])), i >= 0 ? (i > 0 && (2 === i ? (i = 0) : (e.lastNeed = i - 3)), i) : 0))
- }
- function u(e, t, r) {
- if (128 !== (192 & t[0])) return (e.lastNeed = 0), "�"
- if (e.lastNeed > 1 && t.length > 1) {
- if (128 !== (192 & t[1])) return (e.lastNeed = 1), "�"
- if (e.lastNeed > 2 && t.length > 2 && 128 !== (192 & t[2])) return (e.lastNeed = 2), "�"
- }
- }
- function f(e) {
- var t = this.lastTotal - this.lastNeed,
- r = u(this, e, t)
- return void 0 !== r
- ? r
- : this.lastNeed <= e.length
- ? (e.copy(this.lastChar, t, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal))
- : (e.copy(this.lastChar, t, 0, e.length), void (this.lastNeed -= e.length))
- }
- function p(e, t) {
- var r = c(this, e, t)
- if (!this.lastNeed) return e.toString("utf8", t)
- this.lastTotal = r
- var n = e.length - (r - this.lastNeed)
- return e.copy(this.lastChar, 0, n), e.toString("utf8", t, n)
- }
- function d(e) {
- var t = e && e.length ? this.write(e) : ""
- return this.lastNeed ? t + "�" : t
- }
- function h(e, t) {
- if ((e.length - t) % 2 === 0) {
- var r = e.toString("utf16le", t)
- if (r) {
- var n = r.charCodeAt(r.length - 1)
- if (n >= 55296 && n <= 56319)
- return (
- (this.lastNeed = 2),
- (this.lastTotal = 4),
- (this.lastChar[0] = e[e.length - 2]),
- (this.lastChar[1] = e[e.length - 1]),
- r.slice(0, -1)
- )
- }
- return r
- }
- return (
- (this.lastNeed = 1), (this.lastTotal = 2), (this.lastChar[0] = e[e.length - 1]), e.toString("utf16le", t, e.length - 1)
- )
- }
- function m(e) {
- var t = e && e.length ? this.write(e) : ""
- if (this.lastNeed) {
- var r = this.lastTotal - this.lastNeed
- return t + this.lastChar.toString("utf16le", 0, r)
- }
- return t
- }
- function g(e, t) {
- var r = (e.length - t) % 3
- return 0 === r
- ? e.toString("base64", t)
- : ((this.lastNeed = 3 - r),
- (this.lastTotal = 3),
- 1 === r
- ? (this.lastChar[0] = e[e.length - 1])
- : ((this.lastChar[0] = e[e.length - 2]), (this.lastChar[1] = e[e.length - 1])),
- e.toString("base64", t, e.length - r))
- }
- function y(e) {
- var t = e && e.length ? this.write(e) : ""
- return this.lastNeed ? t + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : t
- }
- function v(e) {
- return e.toString(this.encoding)
- }
- function b(e) {
- return e && e.length ? this.write(e) : ""
- }
- ;(r.StringDecoder = s),
- (s.prototype.write = function (e) {
- if (0 === e.length) return ""
- var t, r
- if (this.lastNeed) {
- if (((t = this.fillLast(e)), void 0 === t)) return ""
- ;(r = this.lastNeed), (this.lastNeed = 0)
- } else r = 0
- return r < e.length ? (t ? t + this.text(e, r) : this.text(e, r)) : t || ""
- }),
- (s.prototype.end = d),
- (s.prototype.text = p),
- (s.prototype.fillLast = function (e) {
- if (this.lastNeed <= e.length)
- return (
- e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed),
- this.lastChar.toString(this.encoding, 0, this.lastTotal)
- )
- e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, e.length), (this.lastNeed -= e.length)
- })
- },
- {
- "safe-buffer": 337
- }
- ],
- 341: [
- function (e, t, r) {
- ;(function (t, n) {
- var i = e("process/browser.js").nextTick,
- o = Function.prototype.apply,
- a = Array.prototype.slice,
- s = {},
- l = 0
- function c(e, t) {
- ;(this._id = e), (this._clearFn = t)
- }
- ;(r.setTimeout = function () {
- return new c(o.call(setTimeout, window, arguments), clearTimeout)
- }),
- (r.setInterval = function () {
- return new c(o.call(setInterval, window, arguments), clearInterval)
- }),
- (r.clearTimeout = r.clearInterval =
- function (e) {
- e.close()
- }),
- (c.prototype.unref = c.prototype.ref = function () {}),
- (c.prototype.close = function () {
- this._clearFn.call(window, this._id)
- }),
- (r.enroll = function (e, t) {
- clearTimeout(e._idleTimeoutId), (e._idleTimeout = t)
- }),
- (r.unenroll = function (e) {
- clearTimeout(e._idleTimeoutId), (e._idleTimeout = -1)
- }),
- (r._unrefActive = r.active =
- function (e) {
- clearTimeout(e._idleTimeoutId)
- var t = e._idleTimeout
- t >= 0 &&
- (e._idleTimeoutId = setTimeout(function () {
- e._onTimeout && e._onTimeout()
- }, t))
- }),
- (r.setImmediate =
- "function" === typeof t
- ? t
- : function (e) {
- var t = l++,
- n = !(arguments.length < 2) && a.call(arguments, 1)
- return (
- (s[t] = !0),
- i(function () {
- s[t] && (n ? e.apply(null, n) : e.call(null), r.clearImmediate(t))
- }),
- t
- )
- }),
- (r.clearImmediate =
- "function" === typeof n
- ? n
- : function (e) {
- delete s[e]
- })
- }).call(this, e("timers").setImmediate, e("timers").clearImmediate)
- },
- {
- "process/browser.js": 318,
- timers: 341
- }
- ],
- 342: [
- function (e, t, r) {
- ;(function (e) {
- function r(e, t) {
- if (n("noDeprecation")) return e
- var r = !1
- function i() {
- if (!r) {
- if (n("throwDeprecation")) throw new Error(t)
- n("traceDeprecation") ? console.trace(t) : console.warn(t), (r = !0)
- }
- return e.apply(this, arguments)
- }
- return i
- }
- function n(t) {
- try {
- if (!e.localStorage) return !1
- } catch (n) {
- return !1
- }
- var r = e.localStorage[t]
- return null != r && "true" === String(r).toLowerCase()
- }
- t.exports = r
- }).call(
- this,
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
- )
- },
- {}
- ],
- 343: [
- function (e, t, r) {
- "function" === typeof Object.create
- ? (t.exports = function (e, t) {
- ;(e.super_ = t),
- (e.prototype = Object.create(t.prototype, {
- constructor: {
- value: e,
- enumerable: !1,
- writable: !0,
- configurable: !0
- }
- }))
- })
- : (t.exports = function (e, t) {
- e.super_ = t
- var r = function () {}
- ;(r.prototype = t.prototype), (e.prototype = new r()), (e.prototype.constructor = e)
- })
- },
- {}
- ],
- 344: [
- function (e, t, r) {
- t.exports = function (e) {
- return (
- e &&
- "object" === typeof e &&
- "function" === typeof e.copy &&
- "function" === typeof e.fill &&
- "function" === typeof e.readUInt8
- )
- }
- },
- {}
- ],
- 345: [
- function (e, t, r) {
- ;(function (t, n) {
- var i = /%[sdj%]/g
- ;(r.format = function (e) {
- if (!A(e)) {
- for (var t = [], r = 0; r < arguments.length; r++) t.push(s(arguments[r]))
- return t.join(" ")
- }
- r = 1
- for (
- var n = arguments,
- o = n.length,
- a = String(e).replace(i, function (e) {
- if ("%%" === e) return "%"
- if (r >= o) return e
- switch (e) {
- case "%s":
- return String(n[r++])
- case "%d":
- return Number(n[r++])
- case "%j":
- try {
- return JSON.stringify(n[r++])
- } catch (t) {
- return "[Circular]"
- }
- default:
- return e
- }
- }),
- l = n[r];
- r < o;
- l = n[++r]
- )
- b(l) || !S(l) ? (a += " " + l) : (a += " " + s(l))
- return a
- }),
- (r.deprecate = function (e, i) {
- if (T(n.process))
- return function () {
- return r.deprecate(e, i).apply(this, arguments)
- }
- if (!0 === t.noDeprecation) return e
- var o = !1
- function a() {
- if (!o) {
- if (t.throwDeprecation) throw new Error(i)
- t.traceDeprecation ? console.trace(i) : console.error(i), (o = !0)
- }
- return e.apply(this, arguments)
- }
- return a
- })
- var o,
- a = {}
- function s(e, t) {
- var n = {
- seen: [],
- stylize: c
- }
- return (
- arguments.length >= 3 && (n.depth = arguments[2]),
- arguments.length >= 4 && (n.colors = arguments[3]),
- v(t) ? (n.showHidden = t) : t && r._extend(n, t),
- T(n.showHidden) && (n.showHidden = !1),
- T(n.depth) && (n.depth = 2),
- T(n.colors) && (n.colors = !1),
- T(n.customInspect) && (n.customInspect = !0),
- n.colors && (n.stylize = l),
- f(n, e, n.depth)
- )
- }
- function l(e, t) {
- var r = s.styles[t]
- return r ? "[" + s.colors[r][0] + "m" + e + "[" + s.colors[r][1] + "m" : e
- }
- function c(e, t) {
- return e
- }
- function u(e) {
- var t = {}
- return (
- e.forEach(function (e, r) {
- t[e] = !0
- }),
- t
- )
- }
- function f(e, t, n) {
- if (
- e.customInspect &&
- t &&
- L(t.inspect) &&
- t.inspect !== r.inspect &&
- (!t.constructor || t.constructor.prototype !== t)
- ) {
- var i = t.inspect(n, e)
- return A(i) || (i = f(e, i, n)), i
- }
- var o = p(e, t)
- if (o) return o
- var a = Object.keys(t),
- s = u(a)
- if (
- (e.showHidden && (a = Object.getOwnPropertyNames(t)),
- k(t) && (a.indexOf("message") >= 0 || a.indexOf("description") >= 0))
- )
- return d(t)
- if (0 === a.length) {
- if (L(t)) {
- var l = t.name ? ": " + t.name : ""
- return e.stylize("[Function" + l + "]", "special")
- }
- if (E(t)) return e.stylize(RegExp.prototype.toString.call(t), "regexp")
- if (C(t)) return e.stylize(Date.prototype.toString.call(t), "date")
- if (k(t)) return d(t)
- }
- var c,
- v = "",
- b = !1,
- w = ["{", "}"]
- if ((y(t) && ((b = !0), (w = ["[", "]"])), L(t))) {
- var x = t.name ? ": " + t.name : ""
- v = " [Function" + x + "]"
- }
- return (
- E(t) && (v = " " + RegExp.prototype.toString.call(t)),
- C(t) && (v = " " + Date.prototype.toUTCString.call(t)),
- k(t) && (v = " " + d(t)),
- 0 !== a.length || (b && 0 != t.length)
- ? n < 0
- ? E(t)
- ? e.stylize(RegExp.prototype.toString.call(t), "regexp")
- : e.stylize("[Object]", "special")
- : (e.seen.push(t),
- (c = b
- ? h(e, t, n, s, a)
- : a.map(function (r) {
- return m(e, t, n, s, r, b)
- })),
- e.seen.pop(),
- g(c, v, w))
- : w[0] + v + w[1]
- )
- }
- function p(e, t) {
- if (T(t)) return e.stylize("undefined", "undefined")
- if (A(t)) {
- var r = "'" + JSON.stringify(t).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'"
- return e.stylize(r, "string")
- }
- return x(t)
- ? e.stylize("" + t, "number")
- : v(t)
- ? e.stylize("" + t, "boolean")
- : b(t)
- ? e.stylize("null", "null")
- : void 0
- }
- function d(e) {
- return "[" + Error.prototype.toString.call(e) + "]"
- }
- function h(e, t, r, n, i) {
- for (var o = [], a = 0, s = t.length; a < s; ++a) N(t, String(a)) ? o.push(m(e, t, r, n, String(a), !0)) : o.push("")
- return (
- i.forEach(function (i) {
- i.match(/^\d+$/) || o.push(m(e, t, r, n, i, !0))
- }),
- o
- )
- }
- function m(e, t, r, n, i, o) {
- var a, s, l
- if (
- ((l = Object.getOwnPropertyDescriptor(t, i) || {
- value: t[i]
- }),
- l.get
- ? (s = l.set ? e.stylize("[Getter/Setter]", "special") : e.stylize("[Getter]", "special"))
- : l.set && (s = e.stylize("[Setter]", "special")),
- N(n, i) || (a = "[" + i + "]"),
- s ||
- (e.seen.indexOf(l.value) < 0
- ? ((s = b(r) ? f(e, l.value, null) : f(e, l.value, r - 1)),
- s.indexOf("\n") > -1 &&
- (s = o
- ? s
- .split("\n")
- .map(function (e) {
- return " " + e
- })
- .join("\n")
- .substr(2)
- : "\n" +
- s
- .split("\n")
- .map(function (e) {
- return " " + e
- })
- .join("\n")))
- : (s = e.stylize("[Circular]", "special"))),
- T(a))
- ) {
- if (o && i.match(/^\d+$/)) return s
- ;(a = JSON.stringify("" + i)),
- a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)
- ? ((a = a.substr(1, a.length - 2)), (a = e.stylize(a, "name")))
- : ((a = a
- .replace(/'/g, "\\'")
- .replace(/\\"/g, '"')
- .replace(/(^"|"$)/g, "'")),
- (a = e.stylize(a, "string")))
- }
- return a + ": " + s
- }
- function g(e, t, r) {
- var n = e.reduce(function (e, t) {
- return t.indexOf("\n") >= 0 && 0, e + t.replace(/\u001b\[\d\d?m/g, "").length + 1
- }, 0)
- return n > 60
- ? r[0] + ("" === t ? "" : t + "\n ") + " " + e.join(",\n ") + " " + r[1]
- : r[0] + t + " " + e.join(", ") + " " + r[1]
- }
- function y(e) {
- return Array.isArray(e)
- }
- function v(e) {
- return "boolean" === typeof e
- }
- function b(e) {
- return null === e
- }
- function w(e) {
- return null == e
- }
- function x(e) {
- return "number" === typeof e
- }
- function A(e) {
- return "string" === typeof e
- }
- function _(e) {
- return "symbol" === typeof e
- }
- function T(e) {
- return void 0 === e
- }
- function E(e) {
- return S(e) && "[object RegExp]" === O(e)
- }
- function S(e) {
- return "object" === typeof e && null !== e
- }
- function C(e) {
- return S(e) && "[object Date]" === O(e)
- }
- function k(e) {
- return S(e) && ("[object Error]" === O(e) || e instanceof Error)
- }
- function L(e) {
- return "function" === typeof e
- }
- function P(e) {
- return (
- null === e ||
- "boolean" === typeof e ||
- "number" === typeof e ||
- "string" === typeof e ||
- "symbol" === typeof e ||
- "undefined" === typeof e
- )
- }
- function O(e) {
- return Object.prototype.toString.call(e)
- }
- function j(e) {
- return e < 10 ? "0" + e.toString(10) : e.toString(10)
- }
- ;(r.debuglog = function (e) {
- if ((T(o) && (o = t.env.NODE_DEBUG || ""), (e = e.toUpperCase()), !a[e]))
- if (new RegExp("\\b" + e + "\\b", "i").test(o)) {
- var n = t.pid
- a[e] = function () {
- var t = r.format.apply(r, arguments)
- console.error("%s %d: %s", e, n, t)
- }
- } else a[e] = function () {}
- return a[e]
- }),
- (r.inspect = s),
- (s.colors = {
- bold: [1, 22],
- italic: [3, 23],
- underline: [4, 24],
- inverse: [7, 27],
- white: [37, 39],
- grey: [90, 39],
- black: [30, 39],
- blue: [34, 39],
- cyan: [36, 39],
- green: [32, 39],
- magenta: [35, 39],
- red: [31, 39],
- yellow: [33, 39]
- }),
- (s.styles = {
- special: "cyan",
- number: "yellow",
- boolean: "yellow",
- undefined: "grey",
- null: "bold",
- string: "green",
- date: "magenta",
- regexp: "red"
- }),
- (r.isArray = y),
- (r.isBoolean = v),
- (r.isNull = b),
- (r.isNullOrUndefined = w),
- (r.isNumber = x),
- (r.isString = A),
- (r.isSymbol = _),
- (r.isUndefined = T),
- (r.isRegExp = E),
- (r.isObject = S),
- (r.isDate = C),
- (r.isError = k),
- (r.isFunction = L),
- (r.isPrimitive = P),
- (r.isBuffer = e("./support/isBuffer"))
- var R = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
- function I() {
- var e = new Date(),
- t = [j(e.getHours()), j(e.getMinutes()), j(e.getSeconds())].join(":")
- return [e.getDate(), R[e.getMonth()], t].join(" ")
- }
- function N(e, t) {
- return Object.prototype.hasOwnProperty.call(e, t)
- }
- ;(r.log = function () {
- console.log("%s - %s", I(), r.format.apply(r, arguments))
- }),
- (r.inherits = e("inherits")),
- (r._extend = function (e, t) {
- if (!t || !S(t)) return e
- var r = Object.keys(t),
- n = r.length
- while (n--) e[r[n]] = t[r[n]]
- return e
- })
- }).call(
- this,
- e("_process"),
- "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}
- )
- },
- {
- "./support/isBuffer": 344,
- _process: 392,
- inherits: 343
- }
- ],
- 346: [
- function (e, t, r) {
- ;(function () {
- "use strict"
- r.stripBOM = function (e) {
- return "\ufeff" === e[0] ? e.substring(1) : e
- }
- }).call(this)
- },
- {}
- ],
- 347: [
- function (e, t, r) {
- ;(function () {
- "use strict"
- var t,
- n,
- i,
- o,
- a,
- s = {}.hasOwnProperty
- ;(t = e("xmlbuilder")),
- (n = e("./defaults").defaults),
- (o = function (e) {
- return "string" === typeof e && (e.indexOf("&") >= 0 || e.indexOf(">") >= 0 || e.indexOf("<") >= 0)
- }),
- (a = function (e) {
- return "<![CDATA[" + i(e) + "]]>"
- }),
- (i = function (e) {
- return e.replace("]]>", "]]]]><![CDATA[>")
- }),
- (r.Builder = (function () {
- function e(e) {
- var t, r, i
- for (t in ((this.options = {}), (r = n["0.2"]), r)) s.call(r, t) && ((i = r[t]), (this.options[t] = i))
- for (t in e) s.call(e, t) && ((i = e[t]), (this.options[t] = i))
- }
- return (
- (e.prototype.buildObject = function (e) {
- var r, i, l, c, u
- return (
- (r = this.options.attrkey),
- (i = this.options.charkey),
- 1 === Object.keys(e).length && this.options.rootName === n["0.2"].rootName
- ? ((u = Object.keys(e)[0]), (e = e[u]))
- : (u = this.options.rootName),
- (l = (function (e) {
- return function (t, n) {
- var c, u, f, p, d, h
- if ("object" !== typeof n) e.options.cdata && o(n) ? t.raw(a(n)) : t.txt(n)
- else if (Array.isArray(n)) {
- for (p in n) if (s.call(n, p)) for (d in ((u = n[p]), u)) (f = u[d]), (t = l(t.ele(d), f).up())
- } else
- for (d in n)
- if (s.call(n, d))
- if (((u = n[d]), d === r)) {
- if ("object" === typeof u) for (c in u) (h = u[c]), (t = t.att(c, h))
- } else if (d === i) t = e.options.cdata && o(u) ? t.raw(a(u)) : t.txt(u)
- else if (Array.isArray(u))
- for (p in u)
- s.call(u, p) &&
- ((f = u[p]),
- (t =
- "string" === typeof f
- ? e.options.cdata && o(f)
- ? t.ele(d).raw(a(f)).up()
- : t.ele(d, f).up()
- : l(t.ele(d), f).up()))
- else
- "object" === typeof u
- ? (t = l(t.ele(d), u).up())
- : "string" === typeof u && e.options.cdata && o(u)
- ? (t = t.ele(d).raw(a(u)).up())
- : (null == u && (u = ""), (t = t.ele(d, u.toString()).up()))
- return t
- }
- })(this)),
- (c = t.create(u, this.options.xmldec, this.options.doctype, {
- headless: this.options.headless,
- allowSurrogateChars: this.options.allowSurrogateChars
- })),
- l(c, e).end(this.options.renderOpts)
- )
- }),
- e
- )
- })())
- }).call(this)
- },
- {
- "./defaults": 348,
- xmlbuilder: 384
- }
- ],
- 348: [
- function (e, t, r) {
- ;(function () {
- r.defaults = {
- 0.1: {
- explicitCharkey: !1,
- trim: !0,
- normalize: !0,
- normalizeTags: !1,
- attrkey: "@",
- charkey: "#",
- explicitArray: !1,
- ignoreAttrs: !1,
- mergeAttrs: !1,
- explicitRoot: !1,
- validator: null,
- xmlns: !1,
- explicitChildren: !1,
- childkey: "@@",
- charsAsChildren: !1,
- includeWhiteChars: !1,
- async: !1,
- strict: !0,
- attrNameProcessors: null,
- attrValueProcessors: null,
- tagNameProcessors: null,
- valueProcessors: null,
- emptyTag: ""
- },
- 0.2: {
- explicitCharkey: !1,
- trim: !1,
- normalize: !1,
- normalizeTags: !1,
- attrkey: "$",
- charkey: "_",
- explicitArray: !0,
- ignoreAttrs: !1,
- mergeAttrs: !1,
- explicitRoot: !0,
- validator: null,
- xmlns: !1,
- explicitChildren: !1,
- preserveChildrenOrder: !1,
- childkey: "$$",
- charsAsChildren: !1,
- includeWhiteChars: !1,
- async: !1,
- strict: !0,
- attrNameProcessors: null,
- attrValueProcessors: null,
- tagNameProcessors: null,
- valueProcessors: null,
- rootName: "root",
- xmldec: {
- version: "1.0",
- encoding: "UTF-8",
- standalone: !0
- },
- doctype: null,
- renderOpts: {
- pretty: !0,
- indent: " ",
- newline: "\n"
- },
- headless: !1,
- chunkSize: 1e4,
- emptyTag: "",
- cdata: !1
- }
- }
- }).call(this)
- },
- {}
- ],
- 349: [
- function (e, t, r) {
- ;(function () {
- "use strict"
- var t,
- n,
- i,
- o,
- a,
- s,
- l,
- c,
- u = function (e, t) {
- return function () {
- return e.apply(t, arguments)
- }
- },
- f = function (e, t) {
- for (var r in t) p.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- p = {}.hasOwnProperty
- ;(l = e("sax")),
- (i = e("events")),
- (t = e("./bom")),
- (s = e("./processors")),
- (c = e("timers").setImmediate),
- (n = e("./defaults").defaults),
- (o = function (e) {
- return "object" === typeof e && null != e && 0 === Object.keys(e).length
- }),
- (a = function (e, t, r) {
- var n, i, o
- for (n = 0, i = e.length; n < i; n++) (o = e[n]), (t = o(t, r))
- return t
- }),
- (r.Parser = (function (e) {
- function i(e) {
- var t, i, o
- if (
- ((this.parseStringPromise = u(this.parseStringPromise, this)),
- (this.parseString = u(this.parseString, this)),
- (this.reset = u(this.reset, this)),
- (this.assignOrPush = u(this.assignOrPush, this)),
- (this.processAsync = u(this.processAsync, this)),
- !(this instanceof r.Parser))
- )
- return new r.Parser(e)
- for (t in ((this.options = {}), (i = n["0.2"]), i)) p.call(i, t) && ((o = i[t]), (this.options[t] = o))
- for (t in e) p.call(e, t) && ((o = e[t]), (this.options[t] = o))
- this.options.xmlns && (this.options.xmlnskey = this.options.attrkey + "ns"),
- this.options.normalizeTags &&
- (this.options.tagNameProcessors || (this.options.tagNameProcessors = []),
- this.options.tagNameProcessors.unshift(s.normalize)),
- this.reset()
- }
- return (
- f(i, e),
- (i.prototype.processAsync = function () {
- var e, t
- try {
- return this.remaining.length <= this.options.chunkSize
- ? ((e = this.remaining),
- (this.remaining = ""),
- (this.saxParser = this.saxParser.write(e)),
- this.saxParser.close())
- : ((e = this.remaining.substr(0, this.options.chunkSize)),
- (this.remaining = this.remaining.substr(this.options.chunkSize, this.remaining.length)),
- (this.saxParser = this.saxParser.write(e)),
- c(this.processAsync))
- } catch (r) {
- if (((t = r), !this.saxParser.errThrown)) return (this.saxParser.errThrown = !0), this.emit(t)
- }
- }),
- (i.prototype.assignOrPush = function (e, t, r) {
- return t in e
- ? (e[t] instanceof Array || (e[t] = [e[t]]), e[t].push(r))
- : this.options.explicitArray
- ? (e[t] = [r])
- : (e[t] = r)
- }),
- (i.prototype.reset = function () {
- var e, t, r, n
- return (
- this.removeAllListeners(),
- (this.saxParser = l.parser(this.options.strict, {
- trim: !1,
- normalize: !1,
- xmlns: this.options.xmlns
- })),
- (this.saxParser.errThrown = !1),
- (this.saxParser.onerror = (function (e) {
- return function (t) {
- if ((e.saxParser.resume(), !e.saxParser.errThrown))
- return (e.saxParser.errThrown = !0), e.emit("error", t)
- }
- })(this)),
- (this.saxParser.onend = (function (e) {
- return function () {
- if (!e.saxParser.ended) return (e.saxParser.ended = !0), e.emit("end", e.resultObject)
- }
- })(this)),
- (this.saxParser.ended = !1),
- (this.EXPLICIT_CHARKEY = this.options.explicitCharkey),
- (this.resultObject = null),
- (n = []),
- (e = this.options.attrkey),
- (t = this.options.charkey),
- (this.saxParser.onopentag = (function (r) {
- return function (i) {
- var o, s, l, c, u
- if (((l = {}), (l[t] = ""), !r.options.ignoreAttrs))
- for (o in ((u = i.attributes), u))
- p.call(u, o) &&
- (e in l || r.options.mergeAttrs || (l[e] = {}),
- (s = r.options.attrValueProcessors
- ? a(r.options.attrValueProcessors, i.attributes[o], o)
- : i.attributes[o]),
- (c = r.options.attrNameProcessors ? a(r.options.attrNameProcessors, o) : o),
- r.options.mergeAttrs ? r.assignOrPush(l, c, s) : (l[e][c] = s))
- return (
- (l["#name"] = r.options.tagNameProcessors ? a(r.options.tagNameProcessors, i.name) : i.name),
- r.options.xmlns &&
- (l[r.options.xmlnskey] = {
- uri: i.uri,
- local: i.local
- }),
- n.push(l)
- )
- }
- })(this)),
- (this.saxParser.onclosetag = (function (e) {
- return function () {
- var r, i, s, l, c, u, f, d, h, m
- if (
- ((u = n.pop()),
- (c = u["#name"]),
- (e.options.explicitChildren && e.options.preserveChildrenOrder) || delete u["#name"],
- !0 === u.cdata && ((r = u.cdata), delete u.cdata),
- (h = n[n.length - 1]),
- u[t].match(/^\s*$/) && !r
- ? ((i = u[t]), delete u[t])
- : (e.options.trim && (u[t] = u[t].trim()),
- e.options.normalize && (u[t] = u[t].replace(/\s{2,}/g, " ").trim()),
- (u[t] = e.options.valueProcessors ? a(e.options.valueProcessors, u[t], c) : u[t]),
- 1 === Object.keys(u).length && t in u && !e.EXPLICIT_CHARKEY && (u = u[t])),
- o(u) && (u = "" !== e.options.emptyTag ? e.options.emptyTag : i),
- null != e.options.validator &&
- ((m =
- "/" +
- (function () {
- var e, t, r
- for (r = [], e = 0, t = n.length; e < t; e++) (l = n[e]), r.push(l["#name"])
- return r
- })()
- .concat(c)
- .join("/")),
- (function () {
- var t
- try {
- u = e.options.validator(m, h && h[c], u)
- } catch (r) {
- return (t = r), e.emit("error", t)
- }
- })()),
- e.options.explicitChildren && !e.options.mergeAttrs && "object" === typeof u)
- )
- if (e.options.preserveChildrenOrder) {
- if (h) {
- for (s in ((h[e.options.childkey] = h[e.options.childkey] || []), (f = {}), u))
- p.call(u, s) && (f[s] = u[s])
- h[e.options.childkey].push(f),
- delete u["#name"],
- 1 === Object.keys(u).length && t in u && !e.EXPLICIT_CHARKEY && (u = u[t])
- }
- } else
- (l = {}),
- e.options.attrkey in u &&
- ((l[e.options.attrkey] = u[e.options.attrkey]), delete u[e.options.attrkey]),
- !e.options.charsAsChildren &&
- e.options.charkey in u &&
- ((l[e.options.charkey] = u[e.options.charkey]), delete u[e.options.charkey]),
- Object.getOwnPropertyNames(u).length > 0 && (l[e.options.childkey] = u),
- (u = l)
- return n.length > 0
- ? e.assignOrPush(h, c, u)
- : (e.options.explicitRoot && ((d = u), (u = {}), (u[c] = d)),
- (e.resultObject = u),
- (e.saxParser.ended = !0),
- e.emit("end", e.resultObject))
- }
- })(this)),
- (r = (function (e) {
- return function (r) {
- var i, o
- if (((o = n[n.length - 1]), o))
- return (
- (o[t] += r),
- e.options.explicitChildren &&
- e.options.preserveChildrenOrder &&
- e.options.charsAsChildren &&
- (e.options.includeWhiteChars || "" !== r.replace(/\\n/g, "").trim()) &&
- ((o[e.options.childkey] = o[e.options.childkey] || []),
- (i = {
- "#name": "__text__"
- }),
- (i[t] = r),
- e.options.normalize && (i[t] = i[t].replace(/\s{2,}/g, " ").trim()),
- o[e.options.childkey].push(i)),
- o
- )
- }
- })(this)),
- (this.saxParser.ontext = r),
- (this.saxParser.oncdata = (function (e) {
- return function (e) {
- var t
- if (((t = r(e)), t)) return (t.cdata = !0)
- }
- })())
- )
- }),
- (i.prototype.parseString = function (e, r) {
- var n
- null != r &&
- "function" === typeof r &&
- (this.on("end", function (e) {
- return this.reset(), r(null, e)
- }),
- this.on("error", function (e) {
- return this.reset(), r(e)
- }))
- try {
- return (
- (e = e.toString()),
- "" === e.trim()
- ? (this.emit("end", null), !0)
- : ((e = t.stripBOM(e)),
- this.options.async
- ? ((this.remaining = e), c(this.processAsync), this.saxParser)
- : this.saxParser.write(e).close())
- )
- } catch (i) {
- if (((n = i), !this.saxParser.errThrown && !this.saxParser.ended))
- return this.emit("error", n), (this.saxParser.errThrown = !0)
- if (this.saxParser.ended) throw n
- }
- }),
- (i.prototype.parseStringPromise = function (e) {
- return new Promise(
- (function (t) {
- return function (r, n) {
- return t.parseString(e, function (e, t) {
- return e ? n(e) : r(t)
- })
- }
- })(this)
- )
- }),
- i
- )
- })(i)),
- (r.parseString = function (e, t, n) {
- var i, o, a
- return (
- null != n
- ? ("function" === typeof n && (i = n), "object" === typeof t && (o = t))
- : ("function" === typeof t && (i = t), (o = {})),
- (a = new r.Parser(o)),
- a.parseString(e, i)
- )
- }),
- (r.parseStringPromise = function (e, t) {
- var n, i
- return "object" === typeof t && (n = t), (i = new r.Parser(n)), i.parseStringPromise(e)
- })
- }).call(this)
- },
- {
- "./bom": 346,
- "./defaults": 348,
- "./processors": 350,
- events: 296,
- sax: 338,
- timers: 341
- }
- ],
- 350: [
- function (e, t, r) {
- ;(function () {
- "use strict"
- var e
- ;(e = new RegExp(/(?!xmlns)^.*:/)),
- (r.normalize = function (e) {
- return e.toLowerCase()
- }),
- (r.firstCharLowerCase = function (e) {
- return e.charAt(0).toLowerCase() + e.slice(1)
- }),
- (r.stripPrefix = function (t) {
- return t.replace(e, "")
- }),
- (r.parseNumbers = function (e) {
- return isNaN(e) || (e = e % 1 === 0 ? parseInt(e, 10) : parseFloat(e)), e
- }),
- (r.parseBooleans = function (e) {
- return /^(?:true|false)$/i.test(e) && (e = "true" === e.toLowerCase()), e
- })
- }).call(this)
- },
- {}
- ],
- 351: [
- function (e, t, r) {
- ;(function () {
- "use strict"
- var t,
- n,
- i,
- o,
- a = function (e, t) {
- for (var r in t) s.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- s = {}.hasOwnProperty
- ;(n = e("./defaults")),
- (t = e("./builder")),
- (i = e("./parser")),
- (o = e("./processors")),
- (r.defaults = n.defaults),
- (r.processors = o),
- (r.ValidationError = (function (e) {
- function t(e) {
- this.message = e
- }
- return a(t, e), t
- })(Error)),
- (r.Builder = t.Builder),
- (r.Parser = i.Parser),
- (r.parseString = i.parseString),
- (r.parseStringPromise = i.parseStringPromise)
- }).call(this)
- },
- {
- "./builder": 347,
- "./defaults": 348,
- "./parser": 349,
- "./processors": 350
- }
- ],
- 352: [
- function (e, t, r) {
- ;(function () {
- t.exports = {
- Disconnected: 1,
- Preceding: 2,
- Following: 4,
- Contains: 8,
- ContainedBy: 16,
- ImplementationSpecific: 32
- }
- }).call(this)
- },
- {}
- ],
- 353: [
- function (e, t, r) {
- ;(function () {
- t.exports = {
- Element: 1,
- Attribute: 2,
- Text: 3,
- CData: 4,
- EntityReference: 5,
- EntityDeclaration: 6,
- ProcessingInstruction: 7,
- Comment: 8,
- Document: 9,
- DocType: 10,
- DocumentFragment: 11,
- NotationDeclaration: 12,
- Declaration: 201,
- Raw: 202,
- AttributeDeclaration: 203,
- ElementDeclaration: 204,
- Dummy: 205
- }
- }).call(this)
- },
- {}
- ],
- 354: [
- function (e, t, r) {
- ;(function () {
- var e,
- r,
- n,
- i,
- o,
- a,
- s,
- l = [].slice,
- c = {}.hasOwnProperty
- ;(e = function () {
- var e, t, r, n, i, a
- if (((a = arguments[0]), (i = 2 <= arguments.length ? l.call(arguments, 1) : []), o(Object.assign)))
- Object.assign.apply(null, arguments)
- else for (e = 0, r = i.length; e < r; e++) if (((n = i[e]), null != n)) for (t in n) c.call(n, t) && (a[t] = n[t])
- return a
- }),
- (o = function (e) {
- return !!e && "[object Function]" === Object.prototype.toString.call(e)
- }),
- (a = function (e) {
- var t
- return !!e && ("function" === (t = typeof e) || "object" === t)
- }),
- (n = function (e) {
- return o(Array.isArray) ? Array.isArray(e) : "[object Array]" === Object.prototype.toString.call(e)
- }),
- (i = function (e) {
- var t
- if (n(e)) return !e.length
- for (t in e) if (c.call(e, t)) return !1
- return !0
- }),
- (s = function (e) {
- var t, r
- return (
- a(e) &&
- (r = Object.getPrototypeOf(e)) &&
- (t = r.constructor) &&
- "function" === typeof t &&
- t instanceof t &&
- Function.prototype.toString.call(t) === Function.prototype.toString.call(Object)
- )
- }),
- (r = function (e) {
- return o(e.valueOf) ? e.valueOf() : e
- }),
- (t.exports.assign = e),
- (t.exports.isFunction = o),
- (t.exports.isObject = a),
- (t.exports.isArray = n),
- (t.exports.isEmpty = i),
- (t.exports.isPlainObject = s),
- (t.exports.getValue = r)
- }).call(this)
- },
- {}
- ],
- 355: [
- function (e, t, r) {
- ;(function () {
- t.exports = {
- None: 0,
- OpenTag: 1,
- InsideTag: 2,
- CloseTag: 3
- }
- }).call(this)
- },
- {}
- ],
- 356: [
- function (e, t, r) {
- ;(function () {
- var r
- ;(r = e("./NodeType")),
- e("./XMLNode"),
- (t.exports = (function () {
- function e(e, t, n) {
- if (
- ((this.parent = e),
- this.parent && ((this.options = this.parent.options), (this.stringify = this.parent.stringify)),
- null == t)
- )
- throw new Error("Missing attribute name. " + this.debugInfo(t))
- ;(this.name = this.stringify.name(t)),
- (this.value = this.stringify.attValue(n)),
- (this.type = r.Attribute),
- (this.isId = !1),
- (this.schemaTypeInfo = null)
- }
- return (
- Object.defineProperty(e.prototype, "nodeType", {
- get: function () {
- return this.type
- }
- }),
- Object.defineProperty(e.prototype, "ownerElement", {
- get: function () {
- return this.parent
- }
- }),
- Object.defineProperty(e.prototype, "textContent", {
- get: function () {
- return this.value
- },
- set: function (e) {
- return (this.value = e || "")
- }
- }),
- Object.defineProperty(e.prototype, "namespaceURI", {
- get: function () {
- return ""
- }
- }),
- Object.defineProperty(e.prototype, "prefix", {
- get: function () {
- return ""
- }
- }),
- Object.defineProperty(e.prototype, "localName", {
- get: function () {
- return this.name
- }
- }),
- Object.defineProperty(e.prototype, "specified", {
- get: function () {
- return !0
- }
- }),
- (e.prototype.clone = function () {
- return Object.create(this)
- }),
- (e.prototype.toString = function (e) {
- return this.options.writer.attribute(this, this.options.writer.filterOptions(e))
- }),
- (e.prototype.debugInfo = function (e) {
- return (
- (e = e || this.name),
- null == e
- ? "parent: <" + this.parent.name + ">"
- : "attribute: {" + e + "}, parent: <" + this.parent.name + ">"
- )
- }),
- (e.prototype.isEqualNode = function (e) {
- return (
- e.namespaceURI === this.namespaceURI &&
- e.prefix === this.prefix &&
- e.localName === this.localName &&
- e.value === this.value
- )
- }),
- e
- )
- })())
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./XMLNode": 375
- }
- ],
- 357: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i = function (e, t) {
- for (var r in t) o.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- o = {}.hasOwnProperty
- ;(r = e("./NodeType")),
- (n = e("./XMLCharacterData")),
- (t.exports = (function (e) {
- function t(e, n) {
- if ((t.__super__.constructor.call(this, e), null == n)) throw new Error("Missing CDATA text. " + this.debugInfo())
- ;(this.name = "#cdata-section"), (this.type = r.CData), (this.value = this.stringify.cdata(n))
- }
- return (
- i(t, e),
- (t.prototype.clone = function () {
- return Object.create(this)
- }),
- (t.prototype.toString = function (e) {
- return this.options.writer.cdata(this, this.options.writer.filterOptions(e))
- }),
- t
- )
- })(n))
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./XMLCharacterData": 358
- }
- ],
- 358: [
- function (e, t, r) {
- ;(function () {
- var r,
- n = function (e, t) {
- for (var r in t) i.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- i = {}.hasOwnProperty
- ;(r = e("./XMLNode")),
- (t.exports = (function (e) {
- function t(e) {
- t.__super__.constructor.call(this, e), (this.value = "")
- }
- return (
- n(t, e),
- Object.defineProperty(t.prototype, "data", {
- get: function () {
- return this.value
- },
- set: function (e) {
- return (this.value = e || "")
- }
- }),
- Object.defineProperty(t.prototype, "length", {
- get: function () {
- return this.value.length
- }
- }),
- Object.defineProperty(t.prototype, "textContent", {
- get: function () {
- return this.value
- },
- set: function (e) {
- return (this.value = e || "")
- }
- }),
- (t.prototype.clone = function () {
- return Object.create(this)
- }),
- (t.prototype.substringData = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.appendData = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.insertData = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.deleteData = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.replaceData = function (e, t, r) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.isEqualNode = function (e) {
- return !!t.__super__.isEqualNode.apply(this, arguments).isEqualNode(e) && e.data === this.data
- }),
- t
- )
- })(r))
- }).call(this)
- },
- {
- "./XMLNode": 375
- }
- ],
- 359: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i = function (e, t) {
- for (var r in t) o.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- o = {}.hasOwnProperty
- ;(r = e("./NodeType")),
- (n = e("./XMLCharacterData")),
- (t.exports = (function (e) {
- function t(e, n) {
- if ((t.__super__.constructor.call(this, e), null == n))
- throw new Error("Missing comment text. " + this.debugInfo())
- ;(this.name = "#comment"), (this.type = r.Comment), (this.value = this.stringify.comment(n))
- }
- return (
- i(t, e),
- (t.prototype.clone = function () {
- return Object.create(this)
- }),
- (t.prototype.toString = function (e) {
- return this.options.writer.comment(this, this.options.writer.filterOptions(e))
- }),
- t
- )
- })(n))
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./XMLCharacterData": 358
- }
- ],
- 360: [
- function (e, t, r) {
- ;(function () {
- var r, n
- ;(r = e("./XMLDOMErrorHandler")),
- (n = e("./XMLDOMStringList")),
- (t.exports = (function () {
- function e() {
- ;(this.defaultParams = {
- "canonical-form": !1,
- "cdata-sections": !1,
- comments: !1,
- "datatype-normalization": !1,
- "element-content-whitespace": !0,
- entities: !0,
- "error-handler": new r(),
- infoset: !0,
- "validate-if-schema": !1,
- namespaces: !0,
- "namespace-declarations": !0,
- "normalize-characters": !1,
- "schema-location": "",
- "schema-type": "",
- "split-cdata-sections": !0,
- validate: !1,
- "well-formed": !0
- }),
- (this.params = Object.create(this.defaultParams))
- }
- return (
- Object.defineProperty(e.prototype, "parameterNames", {
- get: function () {
- return new n(Object.keys(this.defaultParams))
- }
- }),
- (e.prototype.getParameter = function (e) {
- return this.params.hasOwnProperty(e) ? this.params[e] : null
- }),
- (e.prototype.canSetParameter = function (e, t) {
- return !0
- }),
- (e.prototype.setParameter = function (e, t) {
- return null != t ? (this.params[e] = t) : delete this.params[e]
- }),
- e
- )
- })())
- }).call(this)
- },
- {
- "./XMLDOMErrorHandler": 361,
- "./XMLDOMStringList": 363
- }
- ],
- 361: [
- function (e, t, r) {
- ;(function () {
- t.exports = (function () {
- function e() {}
- return (
- (e.prototype.handleError = function (e) {
- throw new Error(e)
- }),
- e
- )
- })()
- }).call(this)
- },
- {}
- ],
- 362: [
- function (e, t, r) {
- ;(function () {
- t.exports = (function () {
- function e() {}
- return (
- (e.prototype.hasFeature = function (e, t) {
- return !0
- }),
- (e.prototype.createDocumentType = function (e, t, r) {
- throw new Error("This DOM method is not implemented.")
- }),
- (e.prototype.createDocument = function (e, t, r) {
- throw new Error("This DOM method is not implemented.")
- }),
- (e.prototype.createHTMLDocument = function (e) {
- throw new Error("This DOM method is not implemented.")
- }),
- (e.prototype.getFeature = function (e, t) {
- throw new Error("This DOM method is not implemented.")
- }),
- e
- )
- })()
- }).call(this)
- },
- {}
- ],
- 363: [
- function (e, t, r) {
- ;(function () {
- t.exports = (function () {
- function e(e) {
- this.arr = e || []
- }
- return (
- Object.defineProperty(e.prototype, "length", {
- get: function () {
- return this.arr.length
- }
- }),
- (e.prototype.item = function (e) {
- return this.arr[e] || null
- }),
- (e.prototype.contains = function (e) {
- return -1 !== this.arr.indexOf(e)
- }),
- e
- )
- })()
- }).call(this)
- },
- {}
- ],
- 364: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i = function (e, t) {
- for (var r in t) o.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- o = {}.hasOwnProperty
- ;(n = e("./XMLNode")),
- (r = e("./NodeType")),
- (t.exports = (function (e) {
- function t(e, n, i, o, a, s) {
- if ((t.__super__.constructor.call(this, e), null == n))
- throw new Error("Missing DTD element name. " + this.debugInfo())
- if (null == i) throw new Error("Missing DTD attribute name. " + this.debugInfo(n))
- if (!o) throw new Error("Missing DTD attribute type. " + this.debugInfo(n))
- if (!a) throw new Error("Missing DTD attribute default. " + this.debugInfo(n))
- if ((0 !== a.indexOf("#") && (a = "#" + a), !a.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/)))
- throw new Error(
- "Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. " + this.debugInfo(n)
- )
- if (s && !a.match(/^(#FIXED|#DEFAULT)$/))
- throw new Error("Default value only applies to #FIXED or #DEFAULT. " + this.debugInfo(n))
- ;(this.elementName = this.stringify.name(n)),
- (this.type = r.AttributeDeclaration),
- (this.attributeName = this.stringify.name(i)),
- (this.attributeType = this.stringify.dtdAttType(o)),
- s && (this.defaultValue = this.stringify.dtdAttDefault(s)),
- (this.defaultValueType = a)
- }
- return (
- i(t, e),
- (t.prototype.toString = function (e) {
- return this.options.writer.dtdAttList(this, this.options.writer.filterOptions(e))
- }),
- t
- )
- })(n))
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./XMLNode": 375
- }
- ],
- 365: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i = function (e, t) {
- for (var r in t) o.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- o = {}.hasOwnProperty
- ;(n = e("./XMLNode")),
- (r = e("./NodeType")),
- (t.exports = (function (e) {
- function t(e, n, i) {
- if ((t.__super__.constructor.call(this, e), null == n))
- throw new Error("Missing DTD element name. " + this.debugInfo())
- i || (i = "(#PCDATA)"),
- Array.isArray(i) && (i = "(" + i.join(",") + ")"),
- (this.name = this.stringify.name(n)),
- (this.type = r.ElementDeclaration),
- (this.value = this.stringify.dtdElementValue(i))
- }
- return (
- i(t, e),
- (t.prototype.toString = function (e) {
- return this.options.writer.dtdElement(this, this.options.writer.filterOptions(e))
- }),
- t
- )
- })(n))
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./XMLNode": 375
- }
- ],
- 366: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i,
- o = function (e, t) {
- for (var r in t) a.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- a = {}.hasOwnProperty
- ;(i = e("./Utility").isObject),
- (n = e("./XMLNode")),
- (r = e("./NodeType")),
- (t.exports = (function (e) {
- function t(e, n, o, a) {
- if ((t.__super__.constructor.call(this, e), null == o))
- throw new Error("Missing DTD entity name. " + this.debugInfo(o))
- if (null == a) throw new Error("Missing DTD entity value. " + this.debugInfo(o))
- if (((this.pe = !!n), (this.name = this.stringify.name(o)), (this.type = r.EntityDeclaration), i(a))) {
- if (!a.pubID && !a.sysID)
- throw new Error(
- "Public and/or system identifiers are required for an external entity. " + this.debugInfo(o)
- )
- if (a.pubID && !a.sysID)
- throw new Error("System identifier is required for a public external entity. " + this.debugInfo(o))
- if (
- ((this.internal = !1),
- null != a.pubID && (this.pubID = this.stringify.dtdPubID(a.pubID)),
- null != a.sysID && (this.sysID = this.stringify.dtdSysID(a.sysID)),
- null != a.nData && (this.nData = this.stringify.dtdNData(a.nData)),
- this.pe && this.nData)
- )
- throw new Error("Notation declaration is not allowed in a parameter entity. " + this.debugInfo(o))
- } else (this.value = this.stringify.dtdEntityValue(a)), (this.internal = !0)
- }
- return (
- o(t, e),
- Object.defineProperty(t.prototype, "publicId", {
- get: function () {
- return this.pubID
- }
- }),
- Object.defineProperty(t.prototype, "systemId", {
- get: function () {
- return this.sysID
- }
- }),
- Object.defineProperty(t.prototype, "notationName", {
- get: function () {
- return this.nData || null
- }
- }),
- Object.defineProperty(t.prototype, "inputEncoding", {
- get: function () {
- return null
- }
- }),
- Object.defineProperty(t.prototype, "xmlEncoding", {
- get: function () {
- return null
- }
- }),
- Object.defineProperty(t.prototype, "xmlVersion", {
- get: function () {
- return null
- }
- }),
- (t.prototype.toString = function (e) {
- return this.options.writer.dtdEntity(this, this.options.writer.filterOptions(e))
- }),
- t
- )
- })(n))
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./Utility": 354,
- "./XMLNode": 375
- }
- ],
- 367: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i = function (e, t) {
- for (var r in t) o.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- o = {}.hasOwnProperty
- ;(n = e("./XMLNode")),
- (r = e("./NodeType")),
- (t.exports = (function (e) {
- function t(e, n, i) {
- if ((t.__super__.constructor.call(this, e), null == n))
- throw new Error("Missing DTD notation name. " + this.debugInfo(n))
- if (!i.pubID && !i.sysID)
- throw new Error("Public or system identifiers are required for an external entity. " + this.debugInfo(n))
- ;(this.name = this.stringify.name(n)),
- (this.type = r.NotationDeclaration),
- null != i.pubID && (this.pubID = this.stringify.dtdPubID(i.pubID)),
- null != i.sysID && (this.sysID = this.stringify.dtdSysID(i.sysID))
- }
- return (
- i(t, e),
- Object.defineProperty(t.prototype, "publicId", {
- get: function () {
- return this.pubID
- }
- }),
- Object.defineProperty(t.prototype, "systemId", {
- get: function () {
- return this.sysID
- }
- }),
- (t.prototype.toString = function (e) {
- return this.options.writer.dtdNotation(this, this.options.writer.filterOptions(e))
- }),
- t
- )
- })(n))
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./XMLNode": 375
- }
- ],
- 368: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i,
- o = function (e, t) {
- for (var r in t) a.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- a = {}.hasOwnProperty
- ;(i = e("./Utility").isObject),
- (n = e("./XMLNode")),
- (r = e("./NodeType")),
- (t.exports = (function (e) {
- function t(e, n, o, a) {
- var s
- t.__super__.constructor.call(this, e),
- i(n) && ((s = n), (n = s.version), (o = s.encoding), (a = s.standalone)),
- n || (n = "1.0"),
- (this.type = r.Declaration),
- (this.version = this.stringify.xmlVersion(n)),
- null != o && (this.encoding = this.stringify.xmlEncoding(o)),
- null != a && (this.standalone = this.stringify.xmlStandalone(a))
- }
- return (
- o(t, e),
- (t.prototype.toString = function (e) {
- return this.options.writer.declaration(this, this.options.writer.filterOptions(e))
- }),
- t
- )
- })(n))
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./Utility": 354,
- "./XMLNode": 375
- }
- ],
- 369: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i,
- o,
- a,
- s,
- l,
- c,
- u = function (e, t) {
- for (var r in t) f.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- f = {}.hasOwnProperty
- ;(c = e("./Utility").isObject),
- (l = e("./XMLNode")),
- (r = e("./NodeType")),
- (n = e("./XMLDTDAttList")),
- (o = e("./XMLDTDEntity")),
- (i = e("./XMLDTDElement")),
- (a = e("./XMLDTDNotation")),
- (s = e("./XMLNamedNodeMap")),
- (t.exports = (function (e) {
- function t(e, n, i) {
- var o, a, s, l, u, f
- if ((t.__super__.constructor.call(this, e), (this.type = r.DocType), e.children))
- for (l = e.children, a = 0, s = l.length; a < s; a++)
- if (((o = l[a]), o.type === r.Element)) {
- this.name = o.name
- break
- }
- ;(this.documentObject = e),
- c(n) && ((u = n), (n = u.pubID), (i = u.sysID)),
- null == i && ((f = [n, i]), (i = f[0]), (n = f[1])),
- null != n && (this.pubID = this.stringify.dtdPubID(n)),
- null != i && (this.sysID = this.stringify.dtdSysID(i))
- }
- return (
- u(t, e),
- Object.defineProperty(t.prototype, "entities", {
- get: function () {
- var e, t, n, i, o
- for (i = {}, o = this.children, t = 0, n = o.length; t < n; t++)
- (e = o[t]), e.type !== r.EntityDeclaration || e.pe || (i[e.name] = e)
- return new s(i)
- }
- }),
- Object.defineProperty(t.prototype, "notations", {
- get: function () {
- var e, t, n, i, o
- for (i = {}, o = this.children, t = 0, n = o.length; t < n; t++)
- (e = o[t]), e.type === r.NotationDeclaration && (i[e.name] = e)
- return new s(i)
- }
- }),
- Object.defineProperty(t.prototype, "publicId", {
- get: function () {
- return this.pubID
- }
- }),
- Object.defineProperty(t.prototype, "systemId", {
- get: function () {
- return this.sysID
- }
- }),
- Object.defineProperty(t.prototype, "internalSubset", {
- get: function () {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }
- }),
- (t.prototype.element = function (e, t) {
- var r
- return (r = new i(this, e, t)), this.children.push(r), this
- }),
- (t.prototype.attList = function (e, t, r, i, o) {
- var a
- return (a = new n(this, e, t, r, i, o)), this.children.push(a), this
- }),
- (t.prototype.entity = function (e, t) {
- var r
- return (r = new o(this, !1, e, t)), this.children.push(r), this
- }),
- (t.prototype.pEntity = function (e, t) {
- var r
- return (r = new o(this, !0, e, t)), this.children.push(r), this
- }),
- (t.prototype.notation = function (e, t) {
- var r
- return (r = new a(this, e, t)), this.children.push(r), this
- }),
- (t.prototype.toString = function (e) {
- return this.options.writer.docType(this, this.options.writer.filterOptions(e))
- }),
- (t.prototype.ele = function (e, t) {
- return this.element(e, t)
- }),
- (t.prototype.att = function (e, t, r, n, i) {
- return this.attList(e, t, r, n, i)
- }),
- (t.prototype.ent = function (e, t) {
- return this.entity(e, t)
- }),
- (t.prototype.pent = function (e, t) {
- return this.pEntity(e, t)
- }),
- (t.prototype.not = function (e, t) {
- return this.notation(e, t)
- }),
- (t.prototype.up = function () {
- return this.root() || this.documentObject
- }),
- (t.prototype.isEqualNode = function (e) {
- return (
- !!t.__super__.isEqualNode.apply(this, arguments).isEqualNode(e) &&
- e.name === this.name &&
- e.publicId === this.publicId &&
- e.systemId === this.systemId
- )
- }),
- t
- )
- })(l))
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./Utility": 354,
- "./XMLDTDAttList": 364,
- "./XMLDTDElement": 365,
- "./XMLDTDEntity": 366,
- "./XMLDTDNotation": 367,
- "./XMLNamedNodeMap": 374,
- "./XMLNode": 375
- }
- ],
- 370: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i,
- o,
- a,
- s,
- l,
- c = function (e, t) {
- for (var r in t) u.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- u = {}.hasOwnProperty
- ;(l = e("./Utility").isPlainObject),
- (i = e("./XMLDOMImplementation")),
- (n = e("./XMLDOMConfiguration")),
- (o = e("./XMLNode")),
- (r = e("./NodeType")),
- (s = e("./XMLStringifier")),
- (a = e("./XMLStringWriter")),
- (t.exports = (function (e) {
- function t(e) {
- t.__super__.constructor.call(this, null),
- (this.name = "#document"),
- (this.type = r.Document),
- (this.documentURI = null),
- (this.domConfig = new n()),
- e || (e = {}),
- e.writer || (e.writer = new a()),
- (this.options = e),
- (this.stringify = new s(e))
- }
- return (
- c(t, e),
- Object.defineProperty(t.prototype, "implementation", {
- value: new i()
- }),
- Object.defineProperty(t.prototype, "doctype", {
- get: function () {
- var e, t, n, i
- for (i = this.children, t = 0, n = i.length; t < n; t++) if (((e = i[t]), e.type === r.DocType)) return e
- return null
- }
- }),
- Object.defineProperty(t.prototype, "documentElement", {
- get: function () {
- return this.rootObject || null
- }
- }),
- Object.defineProperty(t.prototype, "inputEncoding", {
- get: function () {
- return null
- }
- }),
- Object.defineProperty(t.prototype, "strictErrorChecking", {
- get: function () {
- return !1
- }
- }),
- Object.defineProperty(t.prototype, "xmlEncoding", {
- get: function () {
- return 0 !== this.children.length && this.children[0].type === r.Declaration
- ? this.children[0].encoding
- : null
- }
- }),
- Object.defineProperty(t.prototype, "xmlStandalone", {
- get: function () {
- return (
- 0 !== this.children.length &&
- this.children[0].type === r.Declaration &&
- "yes" === this.children[0].standalone
- )
- }
- }),
- Object.defineProperty(t.prototype, "xmlVersion", {
- get: function () {
- return 0 !== this.children.length && this.children[0].type === r.Declaration
- ? this.children[0].version
- : "1.0"
- }
- }),
- Object.defineProperty(t.prototype, "URL", {
- get: function () {
- return this.documentURI
- }
- }),
- Object.defineProperty(t.prototype, "origin", {
- get: function () {
- return null
- }
- }),
- Object.defineProperty(t.prototype, "compatMode", {
- get: function () {
- return null
- }
- }),
- Object.defineProperty(t.prototype, "characterSet", {
- get: function () {
- return null
- }
- }),
- Object.defineProperty(t.prototype, "contentType", {
- get: function () {
- return null
- }
- }),
- (t.prototype.end = function (e) {
- var t
- return (
- (t = {}),
- e ? l(e) && ((t = e), (e = this.options.writer)) : (e = this.options.writer),
- e.document(this, e.filterOptions(t))
- )
- }),
- (t.prototype.toString = function (e) {
- return this.options.writer.document(this, this.options.writer.filterOptions(e))
- }),
- (t.prototype.createElement = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.createDocumentFragment = function () {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.createTextNode = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.createComment = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.createCDATASection = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.createProcessingInstruction = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.createAttribute = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.createEntityReference = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.getElementsByTagName = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.importNode = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.createElementNS = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.createAttributeNS = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.getElementsByTagNameNS = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.getElementById = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.adoptNode = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.normalizeDocument = function () {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.renameNode = function (e, t, r) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.getElementsByClassName = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.createEvent = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.createRange = function () {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.createNodeIterator = function (e, t, r) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.createTreeWalker = function (e, t, r) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- t
- )
- })(o))
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./Utility": 354,
- "./XMLDOMConfiguration": 360,
- "./XMLDOMImplementation": 362,
- "./XMLNode": 375,
- "./XMLStringWriter": 380,
- "./XMLStringifier": 381
- }
- ],
- 371: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i,
- o,
- a,
- s,
- l,
- c,
- u,
- f,
- p,
- d,
- h,
- m,
- g,
- y,
- v,
- b,
- w,
- x,
- A,
- _,
- T,
- E = {}.hasOwnProperty
- ;(T = e("./Utility")),
- (A = T.isObject),
- (x = T.isFunction),
- (_ = T.isPlainObject),
- (w = T.getValue),
- (r = e("./NodeType")),
- (d = e("./XMLDocument")),
- (h = e("./XMLElement")),
- (o = e("./XMLCData")),
- (a = e("./XMLComment")),
- (g = e("./XMLRaw")),
- (b = e("./XMLText")),
- (m = e("./XMLProcessingInstruction")),
- (f = e("./XMLDeclaration")),
- (p = e("./XMLDocType")),
- (s = e("./XMLDTDAttList")),
- (c = e("./XMLDTDEntity")),
- (l = e("./XMLDTDElement")),
- (u = e("./XMLDTDNotation")),
- (i = e("./XMLAttribute")),
- (v = e("./XMLStringifier")),
- (y = e("./XMLStringWriter")),
- (n = e("./WriterState")),
- (t.exports = (function () {
- function e(e, t, n) {
- var i
- ;(this.name = "?xml"),
- (this.type = r.Document),
- e || (e = {}),
- (i = {}),
- e.writer ? _(e.writer) && ((i = e.writer), (e.writer = new y())) : (e.writer = new y()),
- (this.options = e),
- (this.writer = e.writer),
- (this.writerOptions = this.writer.filterOptions(i)),
- (this.stringify = new v(e)),
- (this.onDataCallback = t || function () {}),
- (this.onEndCallback = n || function () {}),
- (this.currentNode = null),
- (this.currentLevel = -1),
- (this.openTags = {}),
- (this.documentStarted = !1),
- (this.documentCompleted = !1),
- (this.root = null)
- }
- return (
- (e.prototype.createChildNode = function (e) {
- var t, n, i, o, a, s, l, c
- switch (e.type) {
- case r.CData:
- this.cdata(e.value)
- break
- case r.Comment:
- this.comment(e.value)
- break
- case r.Element:
- for (n in ((i = {}), (l = e.attribs), l)) E.call(l, n) && ((t = l[n]), (i[n] = t.value))
- this.node(e.name, i)
- break
- case r.Dummy:
- this.dummy()
- break
- case r.Raw:
- this.raw(e.value)
- break
- case r.Text:
- this.text(e.value)
- break
- case r.ProcessingInstruction:
- this.instruction(e.target, e.value)
- break
- default:
- throw new Error("This XML node type is not supported in a JS object: " + e.constructor.name)
- }
- for (c = e.children, a = 0, s = c.length; a < s; a++)
- (o = c[a]), this.createChildNode(o), o.type === r.Element && this.up()
- return this
- }),
- (e.prototype.dummy = function () {
- return this
- }),
- (e.prototype.node = function (e, t, r) {
- var n
- if (null == e) throw new Error("Missing node name.")
- if (this.root && -1 === this.currentLevel)
- throw new Error("Document can only have one root node. " + this.debugInfo(e))
- return (
- this.openCurrent(),
- (e = w(e)),
- null == t && (t = {}),
- (t = w(t)),
- A(t) || ((n = [t, r]), (r = n[0]), (t = n[1])),
- (this.currentNode = new h(this, e, t)),
- (this.currentNode.children = !1),
- this.currentLevel++,
- (this.openTags[this.currentLevel] = this.currentNode),
- null != r && this.text(r),
- this
- )
- }),
- (e.prototype.element = function (e, t, n) {
- var i, o, a, s, l, c
- if (this.currentNode && this.currentNode.type === r.DocType) this.dtdElement.apply(this, arguments)
- else if (Array.isArray(e) || A(e) || x(e))
- for (
- s = this.options.noValidation,
- this.options.noValidation = !0,
- c = new d(this.options).element("TEMP_ROOT"),
- c.element(e),
- this.options.noValidation = s,
- l = c.children,
- o = 0,
- a = l.length;
- o < a;
- o++
- )
- (i = l[o]), this.createChildNode(i), i.type === r.Element && this.up()
- else this.node(e, t, n)
- return this
- }),
- (e.prototype.attribute = function (e, t) {
- var r, n
- if (!this.currentNode || this.currentNode.children)
- throw new Error(
- "att() can only be used immediately after an ele() call in callback mode. " + this.debugInfo(e)
- )
- if ((null != e && (e = w(e)), A(e))) for (r in e) E.call(e, r) && ((n = e[r]), this.attribute(r, n))
- else
- x(t) && (t = t.apply()),
- this.options.keepNullAttributes && null == t
- ? (this.currentNode.attribs[e] = new i(this, e, ""))
- : null != t && (this.currentNode.attribs[e] = new i(this, e, t))
- return this
- }),
- (e.prototype.text = function (e) {
- var t
- return (
- this.openCurrent(),
- (t = new b(this, e)),
- this.onData(this.writer.text(t, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
- this
- )
- }),
- (e.prototype.cdata = function (e) {
- var t
- return (
- this.openCurrent(),
- (t = new o(this, e)),
- this.onData(this.writer.cdata(t, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
- this
- )
- }),
- (e.prototype.comment = function (e) {
- var t
- return (
- this.openCurrent(),
- (t = new a(this, e)),
- this.onData(this.writer.comment(t, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
- this
- )
- }),
- (e.prototype.raw = function (e) {
- var t
- return (
- this.openCurrent(),
- (t = new g(this, e)),
- this.onData(this.writer.raw(t, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
- this
- )
- }),
- (e.prototype.instruction = function (e, t) {
- var r, n, i, o, a
- if ((this.openCurrent(), null != e && (e = w(e)), null != t && (t = w(t)), Array.isArray(e)))
- for (r = 0, o = e.length; r < o; r++) (n = e[r]), this.instruction(n)
- else if (A(e)) for (n in e) E.call(e, n) && ((i = e[n]), this.instruction(n, i))
- else
- x(t) && (t = t.apply()),
- (a = new m(this, e, t)),
- this.onData(
- this.writer.processingInstruction(a, this.writerOptions, this.currentLevel + 1),
- this.currentLevel + 1
- )
- return this
- }),
- (e.prototype.declaration = function (e, t, r) {
- var n
- if ((this.openCurrent(), this.documentStarted)) throw new Error("declaration() must be the first node.")
- return (
- (n = new f(this, e, t, r)),
- this.onData(this.writer.declaration(n, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
- this
- )
- }),
- (e.prototype.doctype = function (e, t, r) {
- if ((this.openCurrent(), null == e)) throw new Error("Missing root node name.")
- if (this.root) throw new Error("dtd() must come before the root node.")
- return (
- (this.currentNode = new p(this, t, r)),
- (this.currentNode.rootNodeName = e),
- (this.currentNode.children = !1),
- this.currentLevel++,
- (this.openTags[this.currentLevel] = this.currentNode),
- this
- )
- }),
- (e.prototype.dtdElement = function (e, t) {
- var r
- return (
- this.openCurrent(),
- (r = new l(this, e, t)),
- this.onData(this.writer.dtdElement(r, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
- this
- )
- }),
- (e.prototype.attList = function (e, t, r, n, i) {
- var o
- return (
- this.openCurrent(),
- (o = new s(this, e, t, r, n, i)),
- this.onData(this.writer.dtdAttList(o, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
- this
- )
- }),
- (e.prototype.entity = function (e, t) {
- var r
- return (
- this.openCurrent(),
- (r = new c(this, !1, e, t)),
- this.onData(this.writer.dtdEntity(r, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
- this
- )
- }),
- (e.prototype.pEntity = function (e, t) {
- var r
- return (
- this.openCurrent(),
- (r = new c(this, !0, e, t)),
- this.onData(this.writer.dtdEntity(r, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
- this
- )
- }),
- (e.prototype.notation = function (e, t) {
- var r
- return (
- this.openCurrent(),
- (r = new u(this, e, t)),
- this.onData(this.writer.dtdNotation(r, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
- this
- )
- }),
- (e.prototype.up = function () {
- if (this.currentLevel < 0) throw new Error("The document node has no parent.")
- return (
- this.currentNode
- ? (this.currentNode.children ? this.closeNode(this.currentNode) : this.openNode(this.currentNode),
- (this.currentNode = null))
- : this.closeNode(this.openTags[this.currentLevel]),
- delete this.openTags[this.currentLevel],
- this.currentLevel--,
- this
- )
- }),
- (e.prototype.end = function () {
- while (this.currentLevel >= 0) this.up()
- return this.onEnd()
- }),
- (e.prototype.openCurrent = function () {
- if (this.currentNode) return (this.currentNode.children = !0), this.openNode(this.currentNode)
- }),
- (e.prototype.openNode = function (e) {
- var t, i, o, a
- if (!e.isOpen) {
- if (
- (this.root || 0 !== this.currentLevel || e.type !== r.Element || (this.root = e),
- (i = ""),
- e.type === r.Element)
- ) {
- for (o in ((this.writerOptions.state = n.OpenTag),
- (i = this.writer.indent(e, this.writerOptions, this.currentLevel) + "<" + e.name),
- (a = e.attribs),
- a))
- E.call(a, o) && ((t = a[o]), (i += this.writer.attribute(t, this.writerOptions, this.currentLevel)))
- ;(i += (e.children ? ">" : "/>") + this.writer.endline(e, this.writerOptions, this.currentLevel)),
- (this.writerOptions.state = n.InsideTag)
- } else
- (this.writerOptions.state = n.OpenTag),
- (i = this.writer.indent(e, this.writerOptions, this.currentLevel) + "<!DOCTYPE " + e.rootNodeName),
- e.pubID && e.sysID
- ? (i += ' PUBLIC "' + e.pubID + '" "' + e.sysID + '"')
- : e.sysID && (i += ' SYSTEM "' + e.sysID + '"'),
- e.children
- ? ((i += " ["), (this.writerOptions.state = n.InsideTag))
- : ((this.writerOptions.state = n.CloseTag), (i += ">")),
- (i += this.writer.endline(e, this.writerOptions, this.currentLevel))
- return this.onData(i, this.currentLevel), (e.isOpen = !0)
- }
- }),
- (e.prototype.closeNode = function (e) {
- var t
- if (!e.isClosed)
- return (
- (t = ""),
- (this.writerOptions.state = n.CloseTag),
- (t =
- e.type === r.Element
- ? this.writer.indent(e, this.writerOptions, this.currentLevel) +
- "</" +
- e.name +
- ">" +
- this.writer.endline(e, this.writerOptions, this.currentLevel)
- : this.writer.indent(e, this.writerOptions, this.currentLevel) +
- "]>" +
- this.writer.endline(e, this.writerOptions, this.currentLevel)),
- (this.writerOptions.state = n.None),
- this.onData(t, this.currentLevel),
- (e.isClosed = !0)
- )
- }),
- (e.prototype.onData = function (e, t) {
- return (this.documentStarted = !0), this.onDataCallback(e, t + 1)
- }),
- (e.prototype.onEnd = function () {
- return (this.documentCompleted = !0), this.onEndCallback()
- }),
- (e.prototype.debugInfo = function (e) {
- return null == e ? "" : "node: <" + e + ">"
- }),
- (e.prototype.ele = function () {
- return this.element.apply(this, arguments)
- }),
- (e.prototype.nod = function (e, t, r) {
- return this.node(e, t, r)
- }),
- (e.prototype.txt = function (e) {
- return this.text(e)
- }),
- (e.prototype.dat = function (e) {
- return this.cdata(e)
- }),
- (e.prototype.com = function (e) {
- return this.comment(e)
- }),
- (e.prototype.ins = function (e, t) {
- return this.instruction(e, t)
- }),
- (e.prototype.dec = function (e, t, r) {
- return this.declaration(e, t, r)
- }),
- (e.prototype.dtd = function (e, t, r) {
- return this.doctype(e, t, r)
- }),
- (e.prototype.e = function (e, t, r) {
- return this.element(e, t, r)
- }),
- (e.prototype.n = function (e, t, r) {
- return this.node(e, t, r)
- }),
- (e.prototype.t = function (e) {
- return this.text(e)
- }),
- (e.prototype.d = function (e) {
- return this.cdata(e)
- }),
- (e.prototype.c = function (e) {
- return this.comment(e)
- }),
- (e.prototype.r = function (e) {
- return this.raw(e)
- }),
- (e.prototype.i = function (e, t) {
- return this.instruction(e, t)
- }),
- (e.prototype.att = function () {
- return this.currentNode && this.currentNode.type === r.DocType
- ? this.attList.apply(this, arguments)
- : this.attribute.apply(this, arguments)
- }),
- (e.prototype.a = function () {
- return this.currentNode && this.currentNode.type === r.DocType
- ? this.attList.apply(this, arguments)
- : this.attribute.apply(this, arguments)
- }),
- (e.prototype.ent = function (e, t) {
- return this.entity(e, t)
- }),
- (e.prototype.pent = function (e, t) {
- return this.pEntity(e, t)
- }),
- (e.prototype.not = function (e, t) {
- return this.notation(e, t)
- }),
- e
- )
- })())
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./Utility": 354,
- "./WriterState": 355,
- "./XMLAttribute": 356,
- "./XMLCData": 357,
- "./XMLComment": 359,
- "./XMLDTDAttList": 364,
- "./XMLDTDElement": 365,
- "./XMLDTDEntity": 366,
- "./XMLDTDNotation": 367,
- "./XMLDeclaration": 368,
- "./XMLDocType": 369,
- "./XMLDocument": 370,
- "./XMLElement": 373,
- "./XMLProcessingInstruction": 377,
- "./XMLRaw": 378,
- "./XMLStringWriter": 380,
- "./XMLStringifier": 381,
- "./XMLText": 382
- }
- ],
- 372: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i = function (e, t) {
- for (var r in t) o.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- o = {}.hasOwnProperty
- ;(n = e("./XMLNode")),
- (r = e("./NodeType")),
- (t.exports = (function (e) {
- function t(e) {
- t.__super__.constructor.call(this, e), (this.type = r.Dummy)
- }
- return (
- i(t, e),
- (t.prototype.clone = function () {
- return Object.create(this)
- }),
- (t.prototype.toString = function (e) {
- return ""
- }),
- t
- )
- })(n))
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./XMLNode": 375
- }
- ],
- 373: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i,
- o,
- a,
- s,
- l,
- c,
- u = function (e, t) {
- for (var r in t) f.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- f = {}.hasOwnProperty
- ;(c = e("./Utility")),
- (l = c.isObject),
- (s = c.isFunction),
- (a = c.getValue),
- (o = e("./XMLNode")),
- (r = e("./NodeType")),
- (n = e("./XMLAttribute")),
- (i = e("./XMLNamedNodeMap")),
- (t.exports = (function (e) {
- function t(e, n, i) {
- var o, a, s, l
- if ((t.__super__.constructor.call(this, e), null == n))
- throw new Error("Missing element name. " + this.debugInfo())
- if (
- ((this.name = this.stringify.name(n)),
- (this.type = r.Element),
- (this.attribs = {}),
- (this.schemaTypeInfo = null),
- null != i && this.attribute(i),
- e.type === r.Document && ((this.isRoot = !0), (this.documentObject = e), (e.rootObject = this), e.children))
- )
- for (l = e.children, a = 0, s = l.length; a < s; a++)
- if (((o = l[a]), o.type === r.DocType)) {
- o.name = this.name
- break
- }
- }
- return (
- u(t, e),
- Object.defineProperty(t.prototype, "tagName", {
- get: function () {
- return this.name
- }
- }),
- Object.defineProperty(t.prototype, "namespaceURI", {
- get: function () {
- return ""
- }
- }),
- Object.defineProperty(t.prototype, "prefix", {
- get: function () {
- return ""
- }
- }),
- Object.defineProperty(t.prototype, "localName", {
- get: function () {
- return this.name
- }
- }),
- Object.defineProperty(t.prototype, "id", {
- get: function () {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }
- }),
- Object.defineProperty(t.prototype, "className", {
- get: function () {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }
- }),
- Object.defineProperty(t.prototype, "classList", {
- get: function () {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }
- }),
- Object.defineProperty(t.prototype, "attributes", {
- get: function () {
- return (
- (this.attributeMap && this.attributeMap.nodes) || (this.attributeMap = new i(this.attribs)),
- this.attributeMap
- )
- }
- }),
- (t.prototype.clone = function () {
- var e, t, r, n
- for (t in ((r = Object.create(this)),
- r.isRoot && (r.documentObject = null),
- (r.attribs = {}),
- (n = this.attribs),
- n))
- f.call(n, t) && ((e = n[t]), (r.attribs[t] = e.clone()))
- return (
- (r.children = []),
- this.children.forEach(function (e) {
- var t
- return (t = e.clone()), (t.parent = r), r.children.push(t)
- }),
- r
- )
- }),
- (t.prototype.attribute = function (e, t) {
- var r, i
- if ((null != e && (e = a(e)), l(e))) for (r in e) f.call(e, r) && ((i = e[r]), this.attribute(r, i))
- else
- s(t) && (t = t.apply()),
- this.options.keepNullAttributes && null == t
- ? (this.attribs[e] = new n(this, e, ""))
- : null != t && (this.attribs[e] = new n(this, e, t))
- return this
- }),
- (t.prototype.removeAttribute = function (e) {
- var t, r, n
- if (null == e) throw new Error("Missing attribute name. " + this.debugInfo())
- if (((e = a(e)), Array.isArray(e))) for (r = 0, n = e.length; r < n; r++) (t = e[r]), delete this.attribs[t]
- else delete this.attribs[e]
- return this
- }),
- (t.prototype.toString = function (e) {
- return this.options.writer.element(this, this.options.writer.filterOptions(e))
- }),
- (t.prototype.att = function (e, t) {
- return this.attribute(e, t)
- }),
- (t.prototype.a = function (e, t) {
- return this.attribute(e, t)
- }),
- (t.prototype.getAttribute = function (e) {
- return this.attribs.hasOwnProperty(e) ? this.attribs[e].value : null
- }),
- (t.prototype.setAttribute = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.getAttributeNode = function (e) {
- return this.attribs.hasOwnProperty(e) ? this.attribs[e] : null
- }),
- (t.prototype.setAttributeNode = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.removeAttributeNode = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.getElementsByTagName = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.getAttributeNS = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.setAttributeNS = function (e, t, r) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.removeAttributeNS = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.getAttributeNodeNS = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.setAttributeNodeNS = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.getElementsByTagNameNS = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.hasAttribute = function (e) {
- return this.attribs.hasOwnProperty(e)
- }),
- (t.prototype.hasAttributeNS = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.setIdAttribute = function (e, t) {
- return this.attribs.hasOwnProperty(e) ? this.attribs[e].isId : t
- }),
- (t.prototype.setIdAttributeNS = function (e, t, r) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.setIdAttributeNode = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.getElementsByTagName = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.getElementsByTagNameNS = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.getElementsByClassName = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.isEqualNode = function (e) {
- var r, n, i
- if (!t.__super__.isEqualNode.apply(this, arguments).isEqualNode(e)) return !1
- if (e.namespaceURI !== this.namespaceURI) return !1
- if (e.prefix !== this.prefix) return !1
- if (e.localName !== this.localName) return !1
- if (e.attribs.length !== this.attribs.length) return !1
- for (r = n = 0, i = this.attribs.length - 1; 0 <= i ? n <= i : n >= i; r = 0 <= i ? ++n : --n)
- if (!this.attribs[r].isEqualNode(e.attribs[r])) return !1
- return !0
- }),
- t
- )
- })(o))
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./Utility": 354,
- "./XMLAttribute": 356,
- "./XMLNamedNodeMap": 374,
- "./XMLNode": 375
- }
- ],
- 374: [
- function (e, t, r) {
- ;(function () {
- t.exports = (function () {
- function e(e) {
- this.nodes = e
- }
- return (
- Object.defineProperty(e.prototype, "length", {
- get: function () {
- return Object.keys(this.nodes).length || 0
- }
- }),
- (e.prototype.clone = function () {
- return (this.nodes = null)
- }),
- (e.prototype.getNamedItem = function (e) {
- return this.nodes[e]
- }),
- (e.prototype.setNamedItem = function (e) {
- var t
- return (t = this.nodes[e.nodeName]), (this.nodes[e.nodeName] = e), t || null
- }),
- (e.prototype.removeNamedItem = function (e) {
- var t
- return (t = this.nodes[e]), delete this.nodes[e], t || null
- }),
- (e.prototype.item = function (e) {
- return this.nodes[Object.keys(this.nodes)[e]] || null
- }),
- (e.prototype.getNamedItemNS = function (e, t) {
- throw new Error("This DOM method is not implemented.")
- }),
- (e.prototype.setNamedItemNS = function (e) {
- throw new Error("This DOM method is not implemented.")
- }),
- (e.prototype.removeNamedItemNS = function (e, t) {
- throw new Error("This DOM method is not implemented.")
- }),
- e
- )
- })()
- }).call(this)
- },
- {}
- ],
- 375: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i,
- o,
- a,
- s,
- l,
- c,
- u,
- f,
- p,
- d,
- h,
- m,
- g,
- y,
- v,
- b = {}.hasOwnProperty
- ;(v = e("./Utility")),
- (y = v.isObject),
- (g = v.isFunction),
- (m = v.isEmpty),
- (h = v.getValue),
- (c = null),
- (i = null),
- (o = null),
- (a = null),
- (s = null),
- (p = null),
- (d = null),
- (f = null),
- (l = null),
- (n = null),
- (u = null),
- (r = null),
- (t.exports = (function () {
- function t(t) {
- ;(this.parent = t),
- this.parent && ((this.options = this.parent.options), (this.stringify = this.parent.stringify)),
- (this.value = null),
- (this.children = []),
- (this.baseURI = null),
- c ||
- ((c = e("./XMLElement")),
- (i = e("./XMLCData")),
- (o = e("./XMLComment")),
- (a = e("./XMLDeclaration")),
- (s = e("./XMLDocType")),
- (p = e("./XMLRaw")),
- (d = e("./XMLText")),
- (f = e("./XMLProcessingInstruction")),
- (l = e("./XMLDummy")),
- (n = e("./NodeType")),
- (u = e("./XMLNodeList")),
- e("./XMLNamedNodeMap"),
- (r = e("./DocumentPosition")))
- }
- return (
- Object.defineProperty(t.prototype, "nodeName", {
- get: function () {
- return this.name
- }
- }),
- Object.defineProperty(t.prototype, "nodeType", {
- get: function () {
- return this.type
- }
- }),
- Object.defineProperty(t.prototype, "nodeValue", {
- get: function () {
- return this.value
- }
- }),
- Object.defineProperty(t.prototype, "parentNode", {
- get: function () {
- return this.parent
- }
- }),
- Object.defineProperty(t.prototype, "childNodes", {
- get: function () {
- return (
- (this.childNodeList && this.childNodeList.nodes) || (this.childNodeList = new u(this.children)),
- this.childNodeList
- )
- }
- }),
- Object.defineProperty(t.prototype, "firstChild", {
- get: function () {
- return this.children[0] || null
- }
- }),
- Object.defineProperty(t.prototype, "lastChild", {
- get: function () {
- return this.children[this.children.length - 1] || null
- }
- }),
- Object.defineProperty(t.prototype, "previousSibling", {
- get: function () {
- var e
- return (e = this.parent.children.indexOf(this)), this.parent.children[e - 1] || null
- }
- }),
- Object.defineProperty(t.prototype, "nextSibling", {
- get: function () {
- var e
- return (e = this.parent.children.indexOf(this)), this.parent.children[e + 1] || null
- }
- }),
- Object.defineProperty(t.prototype, "ownerDocument", {
- get: function () {
- return this.document() || null
- }
- }),
- Object.defineProperty(t.prototype, "textContent", {
- get: function () {
- var e, t, r, i, o
- if (this.nodeType === n.Element || this.nodeType === n.DocumentFragment) {
- for (o = "", i = this.children, t = 0, r = i.length; t < r; t++)
- (e = i[t]), e.textContent && (o += e.textContent)
- return o
- }
- return null
- },
- set: function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }
- }),
- (t.prototype.setParent = function (e) {
- var t, r, n, i, o
- for (
- this.parent = e,
- e && ((this.options = e.options), (this.stringify = e.stringify)),
- i = this.children,
- o = [],
- r = 0,
- n = i.length;
- r < n;
- r++
- )
- (t = i[r]), o.push(t.setParent(this))
- return o
- }),
- (t.prototype.element = function (e, t, r) {
- var n, i, o, a, s, l, c, u, f, p, d
- if (
- ((l = null),
- null === t && null == r && ((f = [{}, null]), (t = f[0]), (r = f[1])),
- null == t && (t = {}),
- (t = h(t)),
- y(t) || ((p = [t, r]), (r = p[0]), (t = p[1])),
- null != e && (e = h(e)),
- Array.isArray(e))
- )
- for (o = 0, c = e.length; o < c; o++) (i = e[o]), (l = this.element(i))
- else if (g(e)) l = this.element(e.apply())
- else if (y(e)) {
- for (s in e)
- if (b.call(e, s))
- if (
- ((d = e[s]),
- g(d) && (d = d.apply()),
- !this.options.ignoreDecorators &&
- this.stringify.convertAttKey &&
- 0 === s.indexOf(this.stringify.convertAttKey))
- )
- l = this.attribute(s.substr(this.stringify.convertAttKey.length), d)
- else if (!this.options.separateArrayItems && Array.isArray(d) && m(d)) l = this.dummy()
- else if (y(d) && m(d)) l = this.element(s)
- else if (this.options.keepNullNodes || null != d)
- if (!this.options.separateArrayItems && Array.isArray(d))
- for (a = 0, u = d.length; a < u; a++) (i = d[a]), (n = {}), (n[s] = i), (l = this.element(n))
- else
- y(d)
- ? !this.options.ignoreDecorators &&
- this.stringify.convertTextKey &&
- 0 === s.indexOf(this.stringify.convertTextKey)
- ? (l = this.element(d))
- : ((l = this.element(s)), l.element(d))
- : (l = this.element(s, d))
- else l = this.dummy()
- } else
- l =
- this.options.keepNullNodes || null !== r
- ? !this.options.ignoreDecorators &&
- this.stringify.convertTextKey &&
- 0 === e.indexOf(this.stringify.convertTextKey)
- ? this.text(r)
- : !this.options.ignoreDecorators &&
- this.stringify.convertCDataKey &&
- 0 === e.indexOf(this.stringify.convertCDataKey)
- ? this.cdata(r)
- : !this.options.ignoreDecorators &&
- this.stringify.convertCommentKey &&
- 0 === e.indexOf(this.stringify.convertCommentKey)
- ? this.comment(r)
- : !this.options.ignoreDecorators &&
- this.stringify.convertRawKey &&
- 0 === e.indexOf(this.stringify.convertRawKey)
- ? this.raw(r)
- : !this.options.ignoreDecorators &&
- this.stringify.convertPIKey &&
- 0 === e.indexOf(this.stringify.convertPIKey)
- ? this.instruction(e.substr(this.stringify.convertPIKey.length), r)
- : this.node(e, t, r)
- : this.dummy()
- if (null == l) throw new Error("Could not create any elements with: " + e + ". " + this.debugInfo())
- return l
- }),
- (t.prototype.insertBefore = function (e, t, r) {
- var n, i, o, a, s
- if (null != e ? e.type : void 0)
- return (
- (o = e),
- (a = t),
- o.setParent(this),
- a
- ? ((i = children.indexOf(a)),
- (s = children.splice(i)),
- children.push(o),
- Array.prototype.push.apply(children, s))
- : children.push(o),
- o
- )
- if (this.isRoot) throw new Error("Cannot insert elements at root level. " + this.debugInfo(e))
- return (
- (i = this.parent.children.indexOf(this)),
- (s = this.parent.children.splice(i)),
- (n = this.parent.element(e, t, r)),
- Array.prototype.push.apply(this.parent.children, s),
- n
- )
- }),
- (t.prototype.insertAfter = function (e, t, r) {
- var n, i, o
- if (this.isRoot) throw new Error("Cannot insert elements at root level. " + this.debugInfo(e))
- return (
- (i = this.parent.children.indexOf(this)),
- (o = this.parent.children.splice(i + 1)),
- (n = this.parent.element(e, t, r)),
- Array.prototype.push.apply(this.parent.children, o),
- n
- )
- }),
- (t.prototype.remove = function () {
- var e
- if (this.isRoot) throw new Error("Cannot remove the root element. " + this.debugInfo())
- return (
- (e = this.parent.children.indexOf(this)),
- [].splice.apply(this.parent.children, [e, e - e + 1].concat([])),
- this.parent
- )
- }),
- (t.prototype.node = function (e, t, r) {
- var n, i
- return (
- null != e && (e = h(e)),
- t || (t = {}),
- (t = h(t)),
- y(t) || ((i = [t, r]), (r = i[0]), (t = i[1])),
- (n = new c(this, e, t)),
- null != r && n.text(r),
- this.children.push(n),
- n
- )
- }),
- (t.prototype.text = function (e) {
- var t
- return y(e) && this.element(e), (t = new d(this, e)), this.children.push(t), this
- }),
- (t.prototype.cdata = function (e) {
- var t
- return (t = new i(this, e)), this.children.push(t), this
- }),
- (t.prototype.comment = function (e) {
- var t
- return (t = new o(this, e)), this.children.push(t), this
- }),
- (t.prototype.commentBefore = function (e) {
- var t, r
- return (
- (t = this.parent.children.indexOf(this)),
- (r = this.parent.children.splice(t)),
- this.parent.comment(e),
- Array.prototype.push.apply(this.parent.children, r),
- this
- )
- }),
- (t.prototype.commentAfter = function (e) {
- var t, r
- return (
- (t = this.parent.children.indexOf(this)),
- (r = this.parent.children.splice(t + 1)),
- this.parent.comment(e),
- Array.prototype.push.apply(this.parent.children, r),
- this
- )
- }),
- (t.prototype.raw = function (e) {
- var t
- return (t = new p(this, e)), this.children.push(t), this
- }),
- (t.prototype.dummy = function () {
- var e
- return (e = new l(this)), e
- }),
- (t.prototype.instruction = function (e, t) {
- var r, n, i, o, a
- if ((null != e && (e = h(e)), null != t && (t = h(t)), Array.isArray(e)))
- for (o = 0, a = e.length; o < a; o++) (r = e[o]), this.instruction(r)
- else if (y(e)) for (r in e) b.call(e, r) && ((n = e[r]), this.instruction(r, n))
- else g(t) && (t = t.apply()), (i = new f(this, e, t)), this.children.push(i)
- return this
- }),
- (t.prototype.instructionBefore = function (e, t) {
- var r, n
- return (
- (r = this.parent.children.indexOf(this)),
- (n = this.parent.children.splice(r)),
- this.parent.instruction(e, t),
- Array.prototype.push.apply(this.parent.children, n),
- this
- )
- }),
- (t.prototype.instructionAfter = function (e, t) {
- var r, n
- return (
- (r = this.parent.children.indexOf(this)),
- (n = this.parent.children.splice(r + 1)),
- this.parent.instruction(e, t),
- Array.prototype.push.apply(this.parent.children, n),
- this
- )
- }),
- (t.prototype.declaration = function (e, t, r) {
- var i, o
- return (
- (i = this.document()),
- (o = new a(i, e, t, r)),
- 0 === i.children.length
- ? i.children.unshift(o)
- : i.children[0].type === n.Declaration
- ? (i.children[0] = o)
- : i.children.unshift(o),
- i.root() || i
- )
- }),
- (t.prototype.dtd = function (e, t) {
- var r, i, o, a, l, c, u, f, p, d
- for (i = this.document(), o = new s(i, e, t), p = i.children, a = l = 0, u = p.length; l < u; a = ++l)
- if (((r = p[a]), r.type === n.DocType)) return (i.children[a] = o), o
- for (d = i.children, a = c = 0, f = d.length; c < f; a = ++c)
- if (((r = d[a]), r.isRoot)) return i.children.splice(a, 0, o), o
- return i.children.push(o), o
- }),
- (t.prototype.up = function () {
- if (this.isRoot)
- throw new Error("The root node has no parent. Use doc() if you need to get the document object.")
- return this.parent
- }),
- (t.prototype.root = function () {
- var e
- e = this
- while (e) {
- if (e.type === n.Document) return e.rootObject
- if (e.isRoot) return e
- e = e.parent
- }
- }),
- (t.prototype.document = function () {
- var e
- e = this
- while (e) {
- if (e.type === n.Document) return e
- e = e.parent
- }
- }),
- (t.prototype.end = function (e) {
- return this.document().end(e)
- }),
- (t.prototype.prev = function () {
- var e
- if (((e = this.parent.children.indexOf(this)), e < 1))
- throw new Error("Already at the first node. " + this.debugInfo())
- return this.parent.children[e - 1]
- }),
- (t.prototype.next = function () {
- var e
- if (((e = this.parent.children.indexOf(this)), -1 === e || e === this.parent.children.length - 1))
- throw new Error("Already at the last node. " + this.debugInfo())
- return this.parent.children[e + 1]
- }),
- (t.prototype.importDocument = function (e) {
- var t
- return (t = e.root().clone()), (t.parent = this), (t.isRoot = !1), this.children.push(t), this
- }),
- (t.prototype.debugInfo = function (e) {
- var t, r
- return (
- (e = e || this.name),
- null != e || (null != (t = this.parent) ? t.name : void 0)
- ? null == e
- ? "parent: <" + this.parent.name + ">"
- : (null != (r = this.parent) ? r.name : void 0)
- ? "node: <" + e + ">, parent: <" + this.parent.name + ">"
- : "node: <" + e + ">"
- : ""
- )
- }),
- (t.prototype.ele = function (e, t, r) {
- return this.element(e, t, r)
- }),
- (t.prototype.nod = function (e, t, r) {
- return this.node(e, t, r)
- }),
- (t.prototype.txt = function (e) {
- return this.text(e)
- }),
- (t.prototype.dat = function (e) {
- return this.cdata(e)
- }),
- (t.prototype.com = function (e) {
- return this.comment(e)
- }),
- (t.prototype.ins = function (e, t) {
- return this.instruction(e, t)
- }),
- (t.prototype.doc = function () {
- return this.document()
- }),
- (t.prototype.dec = function (e, t, r) {
- return this.declaration(e, t, r)
- }),
- (t.prototype.e = function (e, t, r) {
- return this.element(e, t, r)
- }),
- (t.prototype.n = function (e, t, r) {
- return this.node(e, t, r)
- }),
- (t.prototype.t = function (e) {
- return this.text(e)
- }),
- (t.prototype.d = function (e) {
- return this.cdata(e)
- }),
- (t.prototype.c = function (e) {
- return this.comment(e)
- }),
- (t.prototype.r = function (e) {
- return this.raw(e)
- }),
- (t.prototype.i = function (e, t) {
- return this.instruction(e, t)
- }),
- (t.prototype.u = function () {
- return this.up()
- }),
- (t.prototype.importXMLBuilder = function (e) {
- return this.importDocument(e)
- }),
- (t.prototype.replaceChild = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.removeChild = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.appendChild = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.hasChildNodes = function () {
- return 0 !== this.children.length
- }),
- (t.prototype.cloneNode = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.normalize = function () {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.isSupported = function (e, t) {
- return !0
- }),
- (t.prototype.hasAttributes = function () {
- return 0 !== this.attribs.length
- }),
- (t.prototype.compareDocumentPosition = function (e) {
- var t, n
- return (
- (t = this),
- t === e
- ? 0
- : this.document() !== e.document()
- ? ((n = r.Disconnected | r.ImplementationSpecific),
- Math.random() < 0.5 ? (n |= r.Preceding) : (n |= r.Following),
- n)
- : t.isAncestor(e)
- ? r.Contains | r.Preceding
- : t.isDescendant(e)
- ? r.Contains | r.Following
- : t.isPreceding(e)
- ? r.Preceding
- : r.Following
- )
- }),
- (t.prototype.isSameNode = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.lookupPrefix = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.isDefaultNamespace = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.lookupNamespaceURI = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.isEqualNode = function (e) {
- var t, r, n
- if (e.nodeType !== this.nodeType) return !1
- if (e.children.length !== this.children.length) return !1
- for (t = r = 0, n = this.children.length - 1; 0 <= n ? r <= n : r >= n; t = 0 <= n ? ++r : --r)
- if (!this.children[t].isEqualNode(e.children[t])) return !1
- return !0
- }),
- (t.prototype.getFeature = function (e, t) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.setUserData = function (e, t, r) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.getUserData = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.contains = function (e) {
- return !!e && (e === this || this.isDescendant(e))
- }),
- (t.prototype.isDescendant = function (e) {
- var t, r, n, i, o
- for (o = this.children, n = 0, i = o.length; n < i; n++) {
- if (((t = o[n]), e === t)) return !0
- if (((r = t.isDescendant(e)), r)) return !0
- }
- return !1
- }),
- (t.prototype.isAncestor = function (e) {
- return e.isDescendant(this)
- }),
- (t.prototype.isPreceding = function (e) {
- var t, r
- return (t = this.treePosition(e)), (r = this.treePosition(this)), -1 !== t && -1 !== r && t < r
- }),
- (t.prototype.isFollowing = function (e) {
- var t, r
- return (t = this.treePosition(e)), (r = this.treePosition(this)), -1 !== t && -1 !== r && t > r
- }),
- (t.prototype.treePosition = function (e) {
- var t, r
- return (
- (r = 0),
- (t = !1),
- this.foreachTreeNode(this.document(), function (n) {
- if ((r++, !t && n === e)) return (t = !0)
- }),
- t ? r : -1
- )
- }),
- (t.prototype.foreachTreeNode = function (e, t) {
- var r, n, i, o, a
- for (e || (e = this.document()), o = e.children, n = 0, i = o.length; n < i; n++) {
- if (((r = o[n]), (a = t(r)))) return a
- if (((a = this.foreachTreeNode(r, t)), a)) return a
- }
- }),
- t
- )
- })())
- }).call(this)
- },
- {
- "./DocumentPosition": 352,
- "./NodeType": 353,
- "./Utility": 354,
- "./XMLCData": 357,
- "./XMLComment": 359,
- "./XMLDeclaration": 368,
- "./XMLDocType": 369,
- "./XMLDummy": 372,
- "./XMLElement": 373,
- "./XMLNamedNodeMap": 374,
- "./XMLNodeList": 376,
- "./XMLProcessingInstruction": 377,
- "./XMLRaw": 378,
- "./XMLText": 382
- }
- ],
- 376: [
- function (e, t, r) {
- ;(function () {
- t.exports = (function () {
- function e(e) {
- this.nodes = e
- }
- return (
- Object.defineProperty(e.prototype, "length", {
- get: function () {
- return this.nodes.length || 0
- }
- }),
- (e.prototype.clone = function () {
- return (this.nodes = null)
- }),
- (e.prototype.item = function (e) {
- return this.nodes[e] || null
- }),
- e
- )
- })()
- }).call(this)
- },
- {}
- ],
- 377: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i = function (e, t) {
- for (var r in t) o.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- o = {}.hasOwnProperty
- ;(r = e("./NodeType")),
- (n = e("./XMLCharacterData")),
- (t.exports = (function (e) {
- function t(e, n, i) {
- if ((t.__super__.constructor.call(this, e), null == n))
- throw new Error("Missing instruction target. " + this.debugInfo())
- ;(this.type = r.ProcessingInstruction),
- (this.target = this.stringify.insTarget(n)),
- (this.name = this.target),
- i && (this.value = this.stringify.insValue(i))
- }
- return (
- i(t, e),
- (t.prototype.clone = function () {
- return Object.create(this)
- }),
- (t.prototype.toString = function (e) {
- return this.options.writer.processingInstruction(this, this.options.writer.filterOptions(e))
- }),
- (t.prototype.isEqualNode = function (e) {
- return !!t.__super__.isEqualNode.apply(this, arguments).isEqualNode(e) && e.target === this.target
- }),
- t
- )
- })(n))
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./XMLCharacterData": 358
- }
- ],
- 378: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i = function (e, t) {
- for (var r in t) o.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- o = {}.hasOwnProperty
- ;(r = e("./NodeType")),
- (n = e("./XMLNode")),
- (t.exports = (function (e) {
- function t(e, n) {
- if ((t.__super__.constructor.call(this, e), null == n)) throw new Error("Missing raw text. " + this.debugInfo())
- ;(this.type = r.Raw), (this.value = this.stringify.raw(n))
- }
- return (
- i(t, e),
- (t.prototype.clone = function () {
- return Object.create(this)
- }),
- (t.prototype.toString = function (e) {
- return this.options.writer.raw(this, this.options.writer.filterOptions(e))
- }),
- t
- )
- })(n))
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./XMLNode": 375
- }
- ],
- 379: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i,
- o = function (e, t) {
- for (var r in t) a.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- a = {}.hasOwnProperty
- ;(r = e("./NodeType")),
- (i = e("./XMLWriterBase")),
- (n = e("./WriterState")),
- (t.exports = (function (e) {
- function t(e, r) {
- ;(this.stream = e), t.__super__.constructor.call(this, r)
- }
- return (
- o(t, e),
- (t.prototype.endline = function (e, r, i) {
- return e.isLastRootNode && r.state === n.CloseTag ? "" : t.__super__.endline.call(this, e, r, i)
- }),
- (t.prototype.document = function (e, t) {
- var r, n, i, o, a, s, l, c, u
- for (l = e.children, n = i = 0, a = l.length; i < a; n = ++i)
- (r = l[n]), (r.isLastRootNode = n === e.children.length - 1)
- for (t = this.filterOptions(t), c = e.children, u = [], o = 0, s = c.length; o < s; o++)
- (r = c[o]), u.push(this.writeChildNode(r, t, 0))
- return u
- }),
- (t.prototype.attribute = function (e, r, n) {
- return this.stream.write(t.__super__.attribute.call(this, e, r, n))
- }),
- (t.prototype.cdata = function (e, r, n) {
- return this.stream.write(t.__super__.cdata.call(this, e, r, n))
- }),
- (t.prototype.comment = function (e, r, n) {
- return this.stream.write(t.__super__.comment.call(this, e, r, n))
- }),
- (t.prototype.declaration = function (e, r, n) {
- return this.stream.write(t.__super__.declaration.call(this, e, r, n))
- }),
- (t.prototype.docType = function (e, t, r) {
- var i, o, a, s
- if (
- (r || (r = 0),
- this.openNode(e, t, r),
- (t.state = n.OpenTag),
- this.stream.write(this.indent(e, t, r)),
- this.stream.write("<!DOCTYPE " + e.root().name),
- e.pubID && e.sysID
- ? this.stream.write(' PUBLIC "' + e.pubID + '" "' + e.sysID + '"')
- : e.sysID && this.stream.write(' SYSTEM "' + e.sysID + '"'),
- e.children.length > 0)
- ) {
- for (
- this.stream.write(" ["),
- this.stream.write(this.endline(e, t, r)),
- t.state = n.InsideTag,
- s = e.children,
- o = 0,
- a = s.length;
- o < a;
- o++
- )
- (i = s[o]), this.writeChildNode(i, t, r + 1)
- ;(t.state = n.CloseTag), this.stream.write("]")
- }
- return (
- (t.state = n.CloseTag),
- this.stream.write(t.spaceBeforeSlash + ">"),
- this.stream.write(this.endline(e, t, r)),
- (t.state = n.None),
- this.closeNode(e, t, r)
- )
- }),
- (t.prototype.element = function (e, t, i) {
- var o, s, l, c, u, f, p, d, h
- for (p in (i || (i = 0),
- this.openNode(e, t, i),
- (t.state = n.OpenTag),
- this.stream.write(this.indent(e, t, i) + "<" + e.name),
- (d = e.attribs),
- d))
- a.call(d, p) && ((o = d[p]), this.attribute(o, t, i))
- if (
- ((l = e.children.length),
- (c = 0 === l ? null : e.children[0]),
- 0 === l ||
- e.children.every(function (e) {
- return (e.type === r.Text || e.type === r.Raw) && "" === e.value
- }))
- )
- t.allowEmpty
- ? (this.stream.write(">"), (t.state = n.CloseTag), this.stream.write("</" + e.name + ">"))
- : ((t.state = n.CloseTag), this.stream.write(t.spaceBeforeSlash + "/>"))
- else if (!t.pretty || 1 !== l || (c.type !== r.Text && c.type !== r.Raw) || null == c.value) {
- for (
- this.stream.write(">" + this.endline(e, t, i)),
- t.state = n.InsideTag,
- h = e.children,
- u = 0,
- f = h.length;
- u < f;
- u++
- )
- (s = h[u]), this.writeChildNode(s, t, i + 1)
- ;(t.state = n.CloseTag), this.stream.write(this.indent(e, t, i) + "</" + e.name + ">")
- } else
- this.stream.write(">"),
- (t.state = n.InsideTag),
- t.suppressPrettyCount++,
- !0,
- this.writeChildNode(c, t, i + 1),
- t.suppressPrettyCount--,
- !1,
- (t.state = n.CloseTag),
- this.stream.write("</" + e.name + ">")
- return this.stream.write(this.endline(e, t, i)), (t.state = n.None), this.closeNode(e, t, i)
- }),
- (t.prototype.processingInstruction = function (e, r, n) {
- return this.stream.write(t.__super__.processingInstruction.call(this, e, r, n))
- }),
- (t.prototype.raw = function (e, r, n) {
- return this.stream.write(t.__super__.raw.call(this, e, r, n))
- }),
- (t.prototype.text = function (e, r, n) {
- return this.stream.write(t.__super__.text.call(this, e, r, n))
- }),
- (t.prototype.dtdAttList = function (e, r, n) {
- return this.stream.write(t.__super__.dtdAttList.call(this, e, r, n))
- }),
- (t.prototype.dtdElement = function (e, r, n) {
- return this.stream.write(t.__super__.dtdElement.call(this, e, r, n))
- }),
- (t.prototype.dtdEntity = function (e, r, n) {
- return this.stream.write(t.__super__.dtdEntity.call(this, e, r, n))
- }),
- (t.prototype.dtdNotation = function (e, r, n) {
- return this.stream.write(t.__super__.dtdNotation.call(this, e, r, n))
- }),
- t
- )
- })(i))
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./WriterState": 355,
- "./XMLWriterBase": 383
- }
- ],
- 380: [
- function (e, t, r) {
- ;(function () {
- var r,
- n = function (e, t) {
- for (var r in t) i.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- i = {}.hasOwnProperty
- ;(r = e("./XMLWriterBase")),
- (t.exports = (function (e) {
- function t(e) {
- t.__super__.constructor.call(this, e)
- }
- return (
- n(t, e),
- (t.prototype.document = function (e, t) {
- var r, n, i, o, a
- for (t = this.filterOptions(t), o = "", a = e.children, n = 0, i = a.length; n < i; n++)
- (r = a[n]), (o += this.writeChildNode(r, t, 0))
- return t.pretty && o.slice(-t.newline.length) === t.newline && (o = o.slice(0, -t.newline.length)), o
- }),
- t
- )
- })(r))
- }).call(this)
- },
- {
- "./XMLWriterBase": 383
- }
- ],
- 381: [
- function (e, t, r) {
- ;(function () {
- var e = function (e, t) {
- return function () {
- return e.apply(t, arguments)
- }
- },
- r = {}.hasOwnProperty
- t.exports = (function () {
- function t(t) {
- var n, i, o
- for (n in ((this.assertLegalName = e(this.assertLegalName, this)),
- (this.assertLegalChar = e(this.assertLegalChar, this)),
- t || (t = {}),
- (this.options = t),
- this.options.version || (this.options.version = "1.0"),
- (i = t.stringify || {}),
- i))
- r.call(i, n) && ((o = i[n]), (this[n] = o))
- }
- return (
- (t.prototype.name = function (e) {
- return this.options.noValidation ? e : this.assertLegalName("" + e || "")
- }),
- (t.prototype.text = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar(this.textEscape("" + e || ""))
- }),
- (t.prototype.cdata = function (e) {
- return this.options.noValidation
- ? e
- : ((e = "" + e || ""), (e = e.replace("]]>", "]]]]><![CDATA[>")), this.assertLegalChar(e))
- }),
- (t.prototype.comment = function (e) {
- if (this.options.noValidation) return e
- if (((e = "" + e || ""), e.match(/--/))) throw new Error("Comment text cannot contain double-hypen: " + e)
- return this.assertLegalChar(e)
- }),
- (t.prototype.raw = function (e) {
- return this.options.noValidation ? e : "" + e || ""
- }),
- (t.prototype.attValue = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar(this.attEscape((e = "" + e || "")))
- }),
- (t.prototype.insTarget = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar("" + e || "")
- }),
- (t.prototype.insValue = function (e) {
- if (this.options.noValidation) return e
- if (((e = "" + e || ""), e.match(/\?>/))) throw new Error("Invalid processing instruction value: " + e)
- return this.assertLegalChar(e)
- }),
- (t.prototype.xmlVersion = function (e) {
- if (this.options.noValidation) return e
- if (((e = "" + e || ""), !e.match(/1\.[0-9]+/))) throw new Error("Invalid version number: " + e)
- return e
- }),
- (t.prototype.xmlEncoding = function (e) {
- if (this.options.noValidation) return e
- if (((e = "" + e || ""), !e.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))) throw new Error("Invalid encoding: " + e)
- return this.assertLegalChar(e)
- }),
- (t.prototype.xmlStandalone = function (e) {
- return this.options.noValidation ? e : e ? "yes" : "no"
- }),
- (t.prototype.dtdPubID = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar("" + e || "")
- }),
- (t.prototype.dtdSysID = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar("" + e || "")
- }),
- (t.prototype.dtdElementValue = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar("" + e || "")
- }),
- (t.prototype.dtdAttType = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar("" + e || "")
- }),
- (t.prototype.dtdAttDefault = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar("" + e || "")
- }),
- (t.prototype.dtdEntityValue = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar("" + e || "")
- }),
- (t.prototype.dtdNData = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar("" + e || "")
- }),
- (t.prototype.convertAttKey = "@"),
- (t.prototype.convertPIKey = "?"),
- (t.prototype.convertTextKey = "#text"),
- (t.prototype.convertCDataKey = "#cdata"),
- (t.prototype.convertCommentKey = "#comment"),
- (t.prototype.convertRawKey = "#raw"),
- (t.prototype.assertLegalChar = function (e) {
- var t, r
- if (this.options.noValidation) return e
- if (((t = ""), "1.0" === this.options.version)) {
- if (
- ((t =
- /[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),
- (r = e.match(t)))
- )
- throw new Error("Invalid character in string: " + e + " at index " + r.index)
- } else if (
- "1.1" === this.options.version &&
- ((t = /[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),
- (r = e.match(t)))
- )
- throw new Error("Invalid character in string: " + e + " at index " + r.index)
- return e
- }),
- (t.prototype.assertLegalName = function (e) {
- var t
- if (this.options.noValidation) return e
- if (
- (this.assertLegalChar(e),
- (t =
- /^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/),
- !e.match(t))
- )
- throw new Error("Invalid character in name")
- return e
- }),
- (t.prototype.textEscape = function (e) {
- var t
- return this.options.noValidation
- ? e
- : ((t = this.options.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g),
- e.replace(t, "&").replace(/</g, "<").replace(/>/g, ">").replace(/\r/g, "
"))
- }),
- (t.prototype.attEscape = function (e) {
- var t
- return this.options.noValidation
- ? e
- : ((t = this.options.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g),
- e
- .replace(t, "&")
- .replace(/</g, "<")
- .replace(/"/g, """)
- .replace(/\t/g, "	")
- .replace(/\n/g, "
")
- .replace(/\r/g, "
"))
- }),
- t
- )
- })()
- }).call(this)
- },
- {}
- ],
- 382: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i = function (e, t) {
- for (var r in t) o.call(t, r) && (e[r] = t[r])
- function n() {
- this.constructor = e
- }
- return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e
- },
- o = {}.hasOwnProperty
- ;(r = e("./NodeType")),
- (n = e("./XMLCharacterData")),
- (t.exports = (function (e) {
- function t(e, n) {
- if ((t.__super__.constructor.call(this, e), null == n))
- throw new Error("Missing element text. " + this.debugInfo())
- ;(this.name = "#text"), (this.type = r.Text), (this.value = this.stringify.text(n))
- }
- return (
- i(t, e),
- Object.defineProperty(t.prototype, "isElementContentWhitespace", {
- get: function () {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }
- }),
- Object.defineProperty(t.prototype, "wholeText", {
- get: function () {
- var e, t, r
- ;(r = ""), (t = this.previousSibling)
- while (t) (r = t.data + r), (t = t.previousSibling)
- ;(r += this.data), (e = this.nextSibling)
- while (e) (r += e.data), (e = e.nextSibling)
- return r
- }
- }),
- (t.prototype.clone = function () {
- return Object.create(this)
- }),
- (t.prototype.toString = function (e) {
- return this.options.writer.text(this, this.options.writer.filterOptions(e))
- }),
- (t.prototype.splitText = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- (t.prototype.replaceWholeText = function (e) {
- throw new Error("This DOM method is not implemented." + this.debugInfo())
- }),
- t
- )
- })(n))
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./XMLCharacterData": 358
- }
- ],
- 383: [
- function (e, t, r) {
- ;(function () {
- var r,
- n,
- i,
- o = {}.hasOwnProperty
- ;(i = e("./Utility").assign),
- (r = e("./NodeType")),
- e("./XMLDeclaration"),
- e("./XMLDocType"),
- e("./XMLCData"),
- e("./XMLComment"),
- e("./XMLElement"),
- e("./XMLRaw"),
- e("./XMLText"),
- e("./XMLProcessingInstruction"),
- e("./XMLDummy"),
- e("./XMLDTDAttList"),
- e("./XMLDTDElement"),
- e("./XMLDTDEntity"),
- e("./XMLDTDNotation"),
- (n = e("./WriterState")),
- (t.exports = (function () {
- function e(e) {
- var t, r, n
- for (t in (e || (e = {}), (this.options = e), (r = e.writer || {}), r))
- o.call(r, t) && ((n = r[t]), (this["_" + t] = this[t]), (this[t] = n))
- }
- return (
- (e.prototype.filterOptions = function (e) {
- var t, r, o, a, s, l, c, u
- return (
- e || (e = {}),
- (e = i({}, this.options, e)),
- (t = {
- writer: this
- }),
- (t.pretty = e.pretty || !1),
- (t.allowEmpty = e.allowEmpty || !1),
- (t.indent = null != (r = e.indent) ? r : " "),
- (t.newline = null != (o = e.newline) ? o : "\n"),
- (t.offset = null != (a = e.offset) ? a : 0),
- (t.dontPrettyTextNodes =
- null != (s = null != (l = e.dontPrettyTextNodes) ? l : e.dontprettytextnodes) ? s : 0),
- (t.spaceBeforeSlash = null != (c = null != (u = e.spaceBeforeSlash) ? u : e.spacebeforeslash) ? c : ""),
- !0 === t.spaceBeforeSlash && (t.spaceBeforeSlash = " "),
- (t.suppressPrettyCount = 0),
- (t.user = {}),
- (t.state = n.None),
- t
- )
- }),
- (e.prototype.indent = function (e, t, r) {
- var n
- return !t.pretty || t.suppressPrettyCount
- ? ""
- : t.pretty && ((n = (r || 0) + t.offset + 1), n > 0)
- ? new Array(n).join(t.indent)
- : ""
- }),
- (e.prototype.endline = function (e, t, r) {
- return !t.pretty || t.suppressPrettyCount ? "" : t.newline
- }),
- (e.prototype.attribute = function (e, t, r) {
- var n
- return this.openAttribute(e, t, r), (n = " " + e.name + '="' + e.value + '"'), this.closeAttribute(e, t, r), n
- }),
- (e.prototype.cdata = function (e, t, r) {
- var i
- return (
- this.openNode(e, t, r),
- (t.state = n.OpenTag),
- (i = this.indent(e, t, r) + "<![CDATA["),
- (t.state = n.InsideTag),
- (i += e.value),
- (t.state = n.CloseTag),
- (i += "]]>" + this.endline(e, t, r)),
- (t.state = n.None),
- this.closeNode(e, t, r),
- i
- )
- }),
- (e.prototype.comment = function (e, t, r) {
- var i
- return (
- this.openNode(e, t, r),
- (t.state = n.OpenTag),
- (i = this.indent(e, t, r) + "\x3c!-- "),
- (t.state = n.InsideTag),
- (i += e.value),
- (t.state = n.CloseTag),
- (i += " --\x3e" + this.endline(e, t, r)),
- (t.state = n.None),
- this.closeNode(e, t, r),
- i
- )
- }),
- (e.prototype.declaration = function (e, t, r) {
- var i
- return (
- this.openNode(e, t, r),
- (t.state = n.OpenTag),
- (i = this.indent(e, t, r) + "<?xml"),
- (t.state = n.InsideTag),
- (i += ' version="' + e.version + '"'),
- null != e.encoding && (i += ' encoding="' + e.encoding + '"'),
- null != e.standalone && (i += ' standalone="' + e.standalone + '"'),
- (t.state = n.CloseTag),
- (i += t.spaceBeforeSlash + "?>"),
- (i += this.endline(e, t, r)),
- (t.state = n.None),
- this.closeNode(e, t, r),
- i
- )
- }),
- (e.prototype.docType = function (e, t, r) {
- var i, o, a, s, l
- if (
- (r || (r = 0),
- this.openNode(e, t, r),
- (t.state = n.OpenTag),
- (s = this.indent(e, t, r)),
- (s += "<!DOCTYPE " + e.root().name),
- e.pubID && e.sysID
- ? (s += ' PUBLIC "' + e.pubID + '" "' + e.sysID + '"')
- : e.sysID && (s += ' SYSTEM "' + e.sysID + '"'),
- e.children.length > 0)
- ) {
- for (
- s += " [", s += this.endline(e, t, r), t.state = n.InsideTag, l = e.children, o = 0, a = l.length;
- o < a;
- o++
- )
- (i = l[o]), (s += this.writeChildNode(i, t, r + 1))
- ;(t.state = n.CloseTag), (s += "]")
- }
- return (
- (t.state = n.CloseTag),
- (s += t.spaceBeforeSlash + ">"),
- (s += this.endline(e, t, r)),
- (t.state = n.None),
- this.closeNode(e, t, r),
- s
- )
- }),
- (e.prototype.element = function (e, t, i) {
- var a, s, l, c, u, f, p, d, h, m, g, y, v, b
- for (h in (i || (i = 0),
- (m = !1),
- (g = ""),
- this.openNode(e, t, i),
- (t.state = n.OpenTag),
- (g += this.indent(e, t, i) + "<" + e.name),
- (y = e.attribs),
- y))
- o.call(y, h) && ((a = y[h]), (g += this.attribute(a, t, i)))
- if (
- ((l = e.children.length),
- (c = 0 === l ? null : e.children[0]),
- 0 === l ||
- e.children.every(function (e) {
- return (e.type === r.Text || e.type === r.Raw) && "" === e.value
- }))
- )
- t.allowEmpty
- ? ((g += ">"), (t.state = n.CloseTag), (g += "</" + e.name + ">" + this.endline(e, t, i)))
- : ((t.state = n.CloseTag), (g += t.spaceBeforeSlash + "/>" + this.endline(e, t, i)))
- else if (!t.pretty || 1 !== l || (c.type !== r.Text && c.type !== r.Raw) || null == c.value) {
- if (t.dontPrettyTextNodes)
- for (v = e.children, u = 0, p = v.length; u < p; u++)
- if (((s = v[u]), (s.type === r.Text || s.type === r.Raw) && null != s.value)) {
- t.suppressPrettyCount++, (m = !0)
- break
- }
- for (
- g += ">" + this.endline(e, t, i), t.state = n.InsideTag, b = e.children, f = 0, d = b.length;
- f < d;
- f++
- )
- (s = b[f]), (g += this.writeChildNode(s, t, i + 1))
- ;(t.state = n.CloseTag),
- (g += this.indent(e, t, i) + "</" + e.name + ">"),
- m && t.suppressPrettyCount--,
- (g += this.endline(e, t, i)),
- (t.state = n.None)
- } else
- (g += ">"),
- (t.state = n.InsideTag),
- t.suppressPrettyCount++,
- (m = !0),
- (g += this.writeChildNode(c, t, i + 1)),
- t.suppressPrettyCount--,
- (m = !1),
- (t.state = n.CloseTag),
- (g += "</" + e.name + ">" + this.endline(e, t, i))
- return this.closeNode(e, t, i), g
- }),
- (e.prototype.writeChildNode = function (e, t, n) {
- switch (e.type) {
- case r.CData:
- return this.cdata(e, t, n)
- case r.Comment:
- return this.comment(e, t, n)
- case r.Element:
- return this.element(e, t, n)
- case r.Raw:
- return this.raw(e, t, n)
- case r.Text:
- return this.text(e, t, n)
- case r.ProcessingInstruction:
- return this.processingInstruction(e, t, n)
- case r.Dummy:
- return ""
- case r.Declaration:
- return this.declaration(e, t, n)
- case r.DocType:
- return this.docType(e, t, n)
- case r.AttributeDeclaration:
- return this.dtdAttList(e, t, n)
- case r.ElementDeclaration:
- return this.dtdElement(e, t, n)
- case r.EntityDeclaration:
- return this.dtdEntity(e, t, n)
- case r.NotationDeclaration:
- return this.dtdNotation(e, t, n)
- default:
- throw new Error("Unknown XML node type: " + e.constructor.name)
- }
- }),
- (e.prototype.processingInstruction = function (e, t, r) {
- var i
- return (
- this.openNode(e, t, r),
- (t.state = n.OpenTag),
- (i = this.indent(e, t, r) + "<?"),
- (t.state = n.InsideTag),
- (i += e.target),
- e.value && (i += " " + e.value),
- (t.state = n.CloseTag),
- (i += t.spaceBeforeSlash + "?>"),
- (i += this.endline(e, t, r)),
- (t.state = n.None),
- this.closeNode(e, t, r),
- i
- )
- }),
- (e.prototype.raw = function (e, t, r) {
- var i
- return (
- this.openNode(e, t, r),
- (t.state = n.OpenTag),
- (i = this.indent(e, t, r)),
- (t.state = n.InsideTag),
- (i += e.value),
- (t.state = n.CloseTag),
- (i += this.endline(e, t, r)),
- (t.state = n.None),
- this.closeNode(e, t, r),
- i
- )
- }),
- (e.prototype.text = function (e, t, r) {
- var i
- return (
- this.openNode(e, t, r),
- (t.state = n.OpenTag),
- (i = this.indent(e, t, r)),
- (t.state = n.InsideTag),
- (i += e.value),
- (t.state = n.CloseTag),
- (i += this.endline(e, t, r)),
- (t.state = n.None),
- this.closeNode(e, t, r),
- i
- )
- }),
- (e.prototype.dtdAttList = function (e, t, r) {
- var i
- return (
- this.openNode(e, t, r),
- (t.state = n.OpenTag),
- (i = this.indent(e, t, r) + "<!ATTLIST"),
- (t.state = n.InsideTag),
- (i += " " + e.elementName + " " + e.attributeName + " " + e.attributeType),
- "#DEFAULT" !== e.defaultValueType && (i += " " + e.defaultValueType),
- e.defaultValue && (i += ' "' + e.defaultValue + '"'),
- (t.state = n.CloseTag),
- (i += t.spaceBeforeSlash + ">" + this.endline(e, t, r)),
- (t.state = n.None),
- this.closeNode(e, t, r),
- i
- )
- }),
- (e.prototype.dtdElement = function (e, t, r) {
- var i
- return (
- this.openNode(e, t, r),
- (t.state = n.OpenTag),
- (i = this.indent(e, t, r) + "<!ELEMENT"),
- (t.state = n.InsideTag),
- (i += " " + e.name + " " + e.value),
- (t.state = n.CloseTag),
- (i += t.spaceBeforeSlash + ">" + this.endline(e, t, r)),
- (t.state = n.None),
- this.closeNode(e, t, r),
- i
- )
- }),
- (e.prototype.dtdEntity = function (e, t, r) {
- var i
- return (
- this.openNode(e, t, r),
- (t.state = n.OpenTag),
- (i = this.indent(e, t, r) + "<!ENTITY"),
- (t.state = n.InsideTag),
- e.pe && (i += " %"),
- (i += " " + e.name),
- e.value
- ? (i += ' "' + e.value + '"')
- : (e.pubID && e.sysID
- ? (i += ' PUBLIC "' + e.pubID + '" "' + e.sysID + '"')
- : e.sysID && (i += ' SYSTEM "' + e.sysID + '"'),
- e.nData && (i += " NDATA " + e.nData)),
- (t.state = n.CloseTag),
- (i += t.spaceBeforeSlash + ">" + this.endline(e, t, r)),
- (t.state = n.None),
- this.closeNode(e, t, r),
- i
- )
- }),
- (e.prototype.dtdNotation = function (e, t, r) {
- var i
- return (
- this.openNode(e, t, r),
- (t.state = n.OpenTag),
- (i = this.indent(e, t, r) + "<!NOTATION"),
- (t.state = n.InsideTag),
- (i += " " + e.name),
- e.pubID && e.sysID
- ? (i += ' PUBLIC "' + e.pubID + '" "' + e.sysID + '"')
- : e.pubID
- ? (i += ' PUBLIC "' + e.pubID + '"')
- : e.sysID && (i += ' SYSTEM "' + e.sysID + '"'),
- (t.state = n.CloseTag),
- (i += t.spaceBeforeSlash + ">" + this.endline(e, t, r)),
- (t.state = n.None),
- this.closeNode(e, t, r),
- i
- )
- }),
- (e.prototype.openNode = function (e, t, r) {}),
- (e.prototype.closeNode = function (e, t, r) {}),
- (e.prototype.openAttribute = function (e, t, r) {}),
- (e.prototype.closeAttribute = function (e, t, r) {}),
- e
- )
- })())
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./Utility": 354,
- "./WriterState": 355,
- "./XMLCData": 357,
- "./XMLComment": 359,
- "./XMLDTDAttList": 364,
- "./XMLDTDElement": 365,
- "./XMLDTDEntity": 366,
- "./XMLDTDNotation": 367,
- "./XMLDeclaration": 368,
- "./XMLDocType": 369,
- "./XMLDummy": 372,
- "./XMLElement": 373,
- "./XMLProcessingInstruction": 377,
- "./XMLRaw": 378,
- "./XMLText": 382
- }
- ],
- 384: [
- function (e, t, r) {
- ;(function () {
- var r, n, i, o, a, s, l, c, u, f
- ;(f = e("./Utility")),
- (c = f.assign),
- (u = f.isFunction),
- (i = e("./XMLDOMImplementation")),
- (o = e("./XMLDocument")),
- (a = e("./XMLDocumentCB")),
- (l = e("./XMLStringWriter")),
- (s = e("./XMLStreamWriter")),
- (r = e("./NodeType")),
- (n = e("./WriterState")),
- (t.exports.create = function (e, t, r, n) {
- var i, a
- if (null == e) throw new Error("Root element needs a name.")
- return (
- (n = c({}, t, r, n)),
- (i = new o(n)),
- (a = i.element(e)),
- n.headless || (i.declaration(n), (null == n.pubID && null == n.sysID) || i.dtd(n)),
- a
- )
- }),
- (t.exports.begin = function (e, t, r) {
- var n
- return u(e) && ((n = [e, t]), (t = n[0]), (r = n[1]), (e = {})), t ? new a(e, t, r) : new o(e)
- }),
- (t.exports.stringWriter = function (e) {
- return new l(e)
- }),
- (t.exports.streamWriter = function (e, t) {
- return new s(e, t)
- }),
- (t.exports.implementation = new i()),
- (t.exports.nodeType = r),
- (t.exports.writerState = n)
- }).call(this)
- },
- {
- "./NodeType": 353,
- "./Utility": 354,
- "./WriterState": 355,
- "./XMLDOMImplementation": 362,
- "./XMLDocument": 370,
- "./XMLDocumentCB": 371,
- "./XMLStreamWriter": 379,
- "./XMLStringWriter": 380
- }
- ],
- 385: [
- function (e, t, r) {
- t.exports = i
- var n = Object.prototype.hasOwnProperty
- function i() {
- for (var e = {}, t = 0; t < arguments.length; t++) {
- var r = arguments[t]
- for (var i in r) n.call(r, i) && (e[i] = r[i])
- }
- return e
- }
- },
- {}
- ],
- 386: [
- function (e, t, r) {
- "use strict"
- e("core-js/modules/es.array.concat"),
- e("core-js/modules/es.array.fill"),
- e("core-js/modules/es.array.join"),
- e("core-js/modules/es.array.slice"),
- e("core-js/modules/es.object.to-string"),
- e("core-js/modules/es.regexp.to-string")
- var n = e("buffer").Buffer,
- i = e("./sha"),
- o = e("./md5"),
- a = {
- sha1: i,
- md5: o
- },
- s = 64,
- l = n.alloc(s)
- function c(e, t, r) {
- n.isBuffer(t) || (t = n.from(t)),
- n.isBuffer(r) || (r = n.from(r)),
- t.length > s ? (t = e(t)) : t.length < s && (t = n.concat([t, l], s))
- for (var i = n.alloc(s), o = n.alloc(s), a = 0; a < s; a++) (i[a] = 54 ^ t[a]), (o[a] = 92 ^ t[a])
- var c = e(n.concat([i, r]))
- return e(n.concat([o, c]))
- }
- function u(e, t) {
- e = e || "sha1"
- var r = a[e],
- i = []
- return (
- r || f("algorithm:", e, "is not yet supported"),
- {
- update: function (e) {
- return n.isBuffer(e) || (e = n.from(e)), i.push(e), e.length, this
- },
- digest: function (e) {
- var o = n.concat(i),
- a = t ? c(r, t, o) : r(o)
- return (i = null), e ? a.toString(e) : a
- }
- }
- )
- }
- function f() {
- var e = [].slice.call(arguments).join(" ")
- throw new Error([e, "we accept pull requests", "http://github.com/dominictarr/crypto-browserify"].join("\n"))
- }
- l.fill(0),
- (r.createHash = function (e) {
- return u(e)
- }),
- (r.createHmac = function (e, t) {
- return u(e, t)
- }),
- (r.createCredentials = function () {
- f("sorry,createCredentials is not implemented yet")
- }),
- (r.createCipher = function () {
- f("sorry,createCipher is not implemented yet")
- }),
- (r.createCipheriv = function () {
- f("sorry,createCipheriv is not implemented yet")
- }),
- (r.createDecipher = function () {
- f("sorry,createDecipher is not implemented yet")
- }),
- (r.createDecipheriv = function () {
- f("sorry,createDecipheriv is not implemented yet")
- }),
- (r.createSign = function () {
- f("sorry,createSign is not implemented yet")
- }),
- (r.createVerify = function () {
- f("sorry,createVerify is not implemented yet")
- }),
- (r.createDiffieHellman = function () {
- f("sorry,createDiffieHellman is not implemented yet")
- }),
- (r.pbkdf2 = function () {
- f("sorry,pbkdf2 is not implemented yet")
- })
- },
- {
- "./md5": 388,
- "./sha": 389,
- buffer: 99,
- "core-js/modules/es.array.concat": 234,
- "core-js/modules/es.array.fill": 235,
- "core-js/modules/es.array.join": 243,
- "core-js/modules/es.array.slice": 246,
- "core-js/modules/es.object.to-string": 254,
- "core-js/modules/es.regexp.to-string": 257
- }
- ],
- 387: [
- function (e, t, r) {
- "use strict"
- e("core-js/modules/es.array.concat"), e("core-js/modules/es.array.fill")
- var n = e("buffer").Buffer,
- i = 4,
- o = n.alloc(i)
- o.fill(0)
- var a = 8
- function s(e, t) {
- if (e.length % i !== 0) {
- var r = e.length + (i - (e.length % i))
- e = n.concat([e, o], r)
- }
- for (var a = [], s = t ? e.readInt32BE : e.readInt32LE, l = 0; l < e.length; l += i) a.push(s.call(e, l))
- return a
- }
- function l(e, t, r) {
- for (var i = n.alloc(t), o = r ? i.writeInt32BE : i.writeInt32LE, a = 0; a < e.length; a++) o.call(i, e[a], 4 * a, !0)
- return i
- }
- function c(e, t, r, i) {
- n.isBuffer(e) || (e = n.from(e))
- var o = t(s(e, i), e.length * a)
- return l(o, r, i)
- }
- t.exports = {
- hash: c
- }
- },
- {
- buffer: 99,
- "core-js/modules/es.array.concat": 234,
- "core-js/modules/es.array.fill": 235
- }
- ],
- 388: [
- function (e, t, r) {
- "use strict"
- var n = e("./helpers")
- function i(e, t) {
- ;(e[t >> 5] |= 128 << t % 32), (e[14 + (((t + 64) >>> 9) << 4)] = t)
- for (var r = 1732584193, n = -271733879, i = -1732584194, o = 271733878, f = 0; f < e.length; f += 16) {
- var p = r,
- d = n,
- h = i,
- m = o
- ;(r = a(r, n, i, o, e[f + 0], 7, -680876936)),
- (o = a(o, r, n, i, e[f + 1], 12, -389564586)),
- (i = a(i, o, r, n, e[f + 2], 17, 606105819)),
- (n = a(n, i, o, r, e[f + 3], 22, -1044525330)),
- (r = a(r, n, i, o, e[f + 4], 7, -176418897)),
- (o = a(o, r, n, i, e[f + 5], 12, 1200080426)),
- (i = a(i, o, r, n, e[f + 6], 17, -1473231341)),
- (n = a(n, i, o, r, e[f + 7], 22, -45705983)),
- (r = a(r, n, i, o, e[f + 8], 7, 1770035416)),
- (o = a(o, r, n, i, e[f + 9], 12, -1958414417)),
- (i = a(i, o, r, n, e[f + 10], 17, -42063)),
- (n = a(n, i, o, r, e[f + 11], 22, -1990404162)),
- (r = a(r, n, i, o, e[f + 12], 7, 1804603682)),
- (o = a(o, r, n, i, e[f + 13], 12, -40341101)),
- (i = a(i, o, r, n, e[f + 14], 17, -1502002290)),
- (n = a(n, i, o, r, e[f + 15], 22, 1236535329)),
- (r = s(r, n, i, o, e[f + 1], 5, -165796510)),
- (o = s(o, r, n, i, e[f + 6], 9, -1069501632)),
- (i = s(i, o, r, n, e[f + 11], 14, 643717713)),
- (n = s(n, i, o, r, e[f + 0], 20, -373897302)),
- (r = s(r, n, i, o, e[f + 5], 5, -701558691)),
- (o = s(o, r, n, i, e[f + 10], 9, 38016083)),
- (i = s(i, o, r, n, e[f + 15], 14, -660478335)),
- (n = s(n, i, o, r, e[f + 4], 20, -405537848)),
- (r = s(r, n, i, o, e[f + 9], 5, 568446438)),
- (o = s(o, r, n, i, e[f + 14], 9, -1019803690)),
- (i = s(i, o, r, n, e[f + 3], 14, -187363961)),
- (n = s(n, i, o, r, e[f + 8], 20, 1163531501)),
- (r = s(r, n, i, o, e[f + 13], 5, -1444681467)),
- (o = s(o, r, n, i, e[f + 2], 9, -51403784)),
- (i = s(i, o, r, n, e[f + 7], 14, 1735328473)),
- (n = s(n, i, o, r, e[f + 12], 20, -1926607734)),
- (r = l(r, n, i, o, e[f + 5], 4, -378558)),
- (o = l(o, r, n, i, e[f + 8], 11, -2022574463)),
- (i = l(i, o, r, n, e[f + 11], 16, 1839030562)),
- (n = l(n, i, o, r, e[f + 14], 23, -35309556)),
- (r = l(r, n, i, o, e[f + 1], 4, -1530992060)),
- (o = l(o, r, n, i, e[f + 4], 11, 1272893353)),
- (i = l(i, o, r, n, e[f + 7], 16, -155497632)),
- (n = l(n, i, o, r, e[f + 10], 23, -1094730640)),
- (r = l(r, n, i, o, e[f + 13], 4, 681279174)),
- (o = l(o, r, n, i, e[f + 0], 11, -358537222)),
- (i = l(i, o, r, n, e[f + 3], 16, -722521979)),
- (n = l(n, i, o, r, e[f + 6], 23, 76029189)),
- (r = l(r, n, i, o, e[f + 9], 4, -640364487)),
- (o = l(o, r, n, i, e[f + 12], 11, -421815835)),
- (i = l(i, o, r, n, e[f + 15], 16, 530742520)),
- (n = l(n, i, o, r, e[f + 2], 23, -995338651)),
- (r = c(r, n, i, o, e[f + 0], 6, -198630844)),
- (o = c(o, r, n, i, e[f + 7], 10, 1126891415)),
- (i = c(i, o, r, n, e[f + 14], 15, -1416354905)),
- (n = c(n, i, o, r, e[f + 5], 21, -57434055)),
- (r = c(r, n, i, o, e[f + 12], 6, 1700485571)),
- (o = c(o, r, n, i, e[f + 3], 10, -1894986606)),
- (i = c(i, o, r, n, e[f + 10], 15, -1051523)),
- (n = c(n, i, o, r, e[f + 1], 21, -2054922799)),
- (r = c(r, n, i, o, e[f + 8], 6, 1873313359)),
- (o = c(o, r, n, i, e[f + 15], 10, -30611744)),
- (i = c(i, o, r, n, e[f + 6], 15, -1560198380)),
- (n = c(n, i, o, r, e[f + 13], 21, 1309151649)),
- (r = c(r, n, i, o, e[f + 4], 6, -145523070)),
- (o = c(o, r, n, i, e[f + 11], 10, -1120210379)),
- (i = c(i, o, r, n, e[f + 2], 15, 718787259)),
- (n = c(n, i, o, r, e[f + 9], 21, -343485551)),
- (r = u(r, p)),
- (n = u(n, d)),
- (i = u(i, h)),
- (o = u(o, m))
- }
- return Array(r, n, i, o)
- }
- function o(e, t, r, n, i, o) {
- return u(f(u(u(t, e), u(n, o)), i), r)
- }
- function a(e, t, r, n, i, a, s) {
- return o((t & r) | (~t & n), e, t, i, a, s)
- }
- function s(e, t, r, n, i, a, s) {
- return o((t & n) | (r & ~n), e, t, i, a, s)
- }
- function l(e, t, r, n, i, a, s) {
- return o(t ^ r ^ n, e, t, i, a, s)
- }
- function c(e, t, r, n, i, a, s) {
- return o(r ^ (t | ~n), e, t, i, a, s)
- }
- function u(e, t) {
- var r = (65535 & e) + (65535 & t),
- n = (e >> 16) + (t >> 16) + (r >> 16)
- return (n << 16) | (65535 & r)
- }
- function f(e, t) {
- return (e << t) | (e >>> (32 - t))
- }
- t.exports = function (e) {
- return n.hash(e, i, 16)
- }
- },
- {
- "./helpers": 387
- }
- ],
- 389: [
- function (e, t, r) {
- "use strict"
- var n = e("./helpers")
- function i(e, t) {
- ;(e[t >> 5] |= 128 << (24 - (t % 32))), (e[15 + (((t + 64) >> 9) << 4)] = t)
- for (
- var r = Array(80), n = 1732584193, i = -271733879, c = -1732584194, u = 271733878, f = -1009589776, p = 0;
- p < e.length;
- p += 16
- ) {
- for (var d = n, h = i, m = c, g = u, y = f, v = 0; v < 80; v++) {
- r[v] = v < 16 ? e[p + v] : l(r[v - 3] ^ r[v - 8] ^ r[v - 14] ^ r[v - 16], 1)
- var b = s(s(l(n, 5), o(v, i, c, u)), s(s(f, r[v]), a(v)))
- ;(f = u), (u = c), (c = l(i, 30)), (i = n), (n = b)
- }
- ;(n = s(n, d)), (i = s(i, h)), (c = s(c, m)), (u = s(u, g)), (f = s(f, y))
- }
- return Array(n, i, c, u, f)
- }
- function o(e, t, r, n) {
- return e < 20 ? (t & r) | (~t & n) : e < 40 ? t ^ r ^ n : e < 60 ? (t & r) | (t & n) | (r & n) : t ^ r ^ n
- }
- function a(e) {
- return e < 20 ? 1518500249 : e < 40 ? 1859775393 : e < 60 ? -1894007588 : -899497514
- }
- function s(e, t) {
- var r = (65535 & e) + (65535 & t),
- n = (e >> 16) + (t >> 16) + (r >> 16)
- return (n << 16) | (65535 & r)
- }
- function l(e, t) {
- return (e << t) | (e >>> (32 - t))
- }
- t.exports = function (e) {
- return n.hash(e, i, 20, !0)
- }
- },
- {
- "./helpers": 387
- }
- ],
- 390: [
- function (e, t, r) {
- "use strict"
- t.exports = function () {
- return function () {}
- }
- },
- {}
- ],
- 391: [
- function (e, t, r) {
- ;(function (r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault"),
- i = n(e("@babel/runtime/helpers/typeof")),
- o = e("stream"),
- a = o.Stream,
- s = e("../lib/common/utils/isArray"),
- l = s.isArray
- function c(e) {
- return e instanceof a
- }
- ;(t.exports.string = function (e) {
- return "string" === typeof e
- }),
- (t.exports.array = l),
- (t.exports.buffer = r.isBuffer),
- (t.exports.writableStream = function (e) {
- return c(e) && "function" === typeof e._write && "object" === (0, i.default)(e._writableState)
- })
- }).call(this, {
- isBuffer: e("../node_modules/is-buffer/index.js")
- })
- },
- {
- "../lib/common/utils/isArray": 59,
- "../node_modules/is-buffer/index.js": 307,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/helpers/typeof": 73,
- stream: 339
- }
- ],
- 392: [
- function (e, t, r) {
- "use strict"
- var n = e("immediate"),
- i = (t.exports = {})
- function o() {}
- ;(i.nextTick = n),
- (i.title = "browser"),
- (i.browser = !0),
- (i.env = {}),
- (i.argv = []),
- (i.version = ""),
- (i.versions = {}),
- (i.on = o),
- (i.addListener = o),
- (i.once = o),
- (i.off = o),
- (i.removeListener = o),
- (i.removeAllListeners = o),
- (i.emit = o),
- (i.prependListener = o),
- (i.prependOnceListener = o),
- (i.listeners = function (e) {
- return []
- }),
- (i.binding = function (e) {
- throw new Error("process.binding is not supported")
- }),
- (i.cwd = function () {
- return "/"
- }),
- (i.chdir = function (e) {
- throw new Error("process.chdir is not supported")
- }),
- (i.umask = function () {
- return 0
- })
- },
- {
- immediate: 300
- }
- ],
- 393: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.concat"),
- e("core-js/modules/es.array.index-of"),
- e("core-js/modules/es.array.join"),
- e("core-js/modules/es.array.last-index-of"),
- e("core-js/modules/es.array.slice"),
- e("core-js/modules/es.array.splice"),
- e("core-js/modules/es.object.keys"),
- e("core-js/modules/es.regexp.exec"),
- e("core-js/modules/es.string.match"),
- e("core-js/modules/es.string.replace"),
- e("core-js/modules/es.string.search"),
- e("core-js/modules/es.string.split"),
- e("core-js/modules/es.string.trim")
- var i = n(e("@babel/runtime/helpers/typeof")),
- o = e("punycode"),
- a = e("./util")
- function s() {
- ;(this.protocol = null),
- (this.slashes = null),
- (this.auth = null),
- (this.host = null),
- (this.port = null),
- (this.hostname = null),
- (this.hash = null),
- (this.search = null),
- (this.query = null),
- (this.pathname = null),
- (this.path = null),
- (this.href = null)
- }
- ;(r.parse = _), (r.resolve = E), (r.resolveObject = S), (r.format = T), (r.Url = s)
- var l = /^([a-z0-9.+-]+:)/i,
- c = /:[0-9]*$/,
- u = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,
- f = ["<", ">", '"', "`", " ", "\r", "\n", "\t"],
- p = ["{", "}", "|", "\\", "^", "`"].concat(f),
- d = ["'"].concat(p),
- h = ["%", "/", "?", ";", "#"].concat(d),
- m = ["/", "?", "#"],
- g = 255,
- y = /^[+a-z0-9A-Z_-]{0,63}$/,
- v = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,
- b = {
- javascript: !0,
- "javascript:": !0
- },
- w = {
- javascript: !0,
- "javascript:": !0
- },
- x = {
- http: !0,
- https: !0,
- ftp: !0,
- gopher: !0,
- file: !0,
- "http:": !0,
- "https:": !0,
- "ftp:": !0,
- "gopher:": !0,
- "file:": !0
- },
- A = e("querystring")
- function _(e, t, r) {
- if (e && a.isObject(e) && e instanceof s) return e
- var n = new s()
- return n.parse(e, t, r), n
- }
- function T(e) {
- return a.isString(e) && (e = _(e)), e instanceof s ? e.format() : s.prototype.format.call(e)
- }
- function E(e, t) {
- return _(e, !1, !0).resolve(t)
- }
- function S(e, t) {
- return e ? _(e, !1, !0).resolveObject(t) : t
- }
- ;(s.prototype.parse = function (e, t, r) {
- if (!a.isString(e)) throw new TypeError("Parameter 'url' must be a string, not " + (0, i.default)(e))
- var n = e.indexOf("?"),
- s = -1 !== n && n < e.indexOf("#") ? "?" : "#",
- c = e.split(s),
- f = /\\/g
- ;(c[0] = c[0].replace(f, "/")), (e = c.join(s))
- var p = e
- if (((p = p.trim()), !r && 1 === e.split("#").length)) {
- var _ = u.exec(p)
- if (_)
- return (
- (this.path = p),
- (this.href = p),
- (this.pathname = _[1]),
- _[2]
- ? ((this.search = _[2]), (this.query = t ? A.parse(this.search.substr(1)) : this.search.substr(1)))
- : t && ((this.search = ""), (this.query = {})),
- this
- )
- }
- var T = l.exec(p)
- if (T) {
- T = T[0]
- var E = T.toLowerCase()
- ;(this.protocol = E), (p = p.substr(T.length))
- }
- if (r || T || p.match(/^\/\/[^@\/]+@[^@\/]+/)) {
- var S = "//" === p.substr(0, 2)
- !S || (T && w[T]) || ((p = p.substr(2)), (this.slashes = !0))
- }
- if (!w[T] && (S || (T && !x[T]))) {
- for (var C, k, L = -1, P = 0; P < m.length; P++) {
- var O = p.indexOf(m[P])
- ;-1 !== O && (-1 === L || O < L) && (L = O)
- }
- ;(k = -1 === L ? p.lastIndexOf("@") : p.lastIndexOf("@", L)),
- -1 !== k && ((C = p.slice(0, k)), (p = p.slice(k + 1)), (this.auth = decodeURIComponent(C))),
- (L = -1)
- for (P = 0; P < h.length; P++) {
- O = p.indexOf(h[P])
- ;-1 !== O && (-1 === L || O < L) && (L = O)
- }
- ;-1 === L && (L = p.length),
- (this.host = p.slice(0, L)),
- (p = p.slice(L)),
- this.parseHost(),
- (this.hostname = this.hostname || "")
- var j = "[" === this.hostname[0] && "]" === this.hostname[this.hostname.length - 1]
- if (!j)
- for (var R = this.hostname.split("."), I = ((P = 0), R.length); P < I; P++) {
- var N = R[P]
- if (N && !N.match(y)) {
- for (var M = "", D = 0, B = N.length; D < B; D++) N.charCodeAt(D) > 127 ? (M += "x") : (M += N[D])
- if (!M.match(y)) {
- var F = R.slice(0, P),
- U = R.slice(P + 1),
- z = N.match(v)
- z && (F.push(z[1]), U.unshift(z[2])), U.length && (p = "/" + U.join(".") + p), (this.hostname = F.join("."))
- break
- }
- }
- }
- this.hostname.length > g ? (this.hostname = "") : (this.hostname = this.hostname.toLowerCase()),
- j || (this.hostname = o.toASCII(this.hostname))
- var q = this.port ? ":" + this.port : "",
- G = this.hostname || ""
- ;(this.host = G + q),
- (this.href += this.host),
- j && ((this.hostname = this.hostname.substr(1, this.hostname.length - 2)), "/" !== p[0] && (p = "/" + p))
- }
- if (!b[E])
- for (P = 0, I = d.length; P < I; P++) {
- var W = d[P]
- if (-1 !== p.indexOf(W)) {
- var V = encodeURIComponent(W)
- V === W && (V = escape(W)), (p = p.split(W).join(V))
- }
- }
- var H = p.indexOf("#")
- ;-1 !== H && ((this.hash = p.substr(H)), (p = p.slice(0, H)))
- var X = p.indexOf("?")
- if (
- (-1 !== X
- ? ((this.search = p.substr(X)),
- (this.query = p.substr(X + 1)),
- t && (this.query = A.parse(this.query)),
- (p = p.slice(0, X)))
- : t && ((this.search = ""), (this.query = {})),
- p && (this.pathname = p),
- x[E] && this.hostname && !this.pathname && (this.pathname = "/"),
- this.pathname || this.search)
- ) {
- q = this.pathname || ""
- var Y = this.search || ""
- this.path = q + Y
- }
- return (this.href = this.format()), this
- }),
- (s.prototype.format = function () {
- var e = this.auth || ""
- e && ((e = encodeURIComponent(e)), (e = e.replace(/%3A/i, ":")), (e += "@"))
- var t = this.protocol || "",
- r = this.pathname || "",
- n = this.hash || "",
- i = !1,
- o = ""
- this.host
- ? (i = e + this.host)
- : this.hostname &&
- ((i = e + (-1 === this.hostname.indexOf(":") ? this.hostname : "[" + this.hostname + "]")),
- this.port && (i += ":" + this.port)),
- this.query && a.isObject(this.query) && Object.keys(this.query).length && (o = A.stringify(this.query))
- var s = this.search || (o && "?" + o) || ""
- return (
- t && ":" !== t.substr(-1) && (t += ":"),
- this.slashes || ((!t || x[t]) && !1 !== i)
- ? ((i = "//" + (i || "")), r && "/" !== r.charAt(0) && (r = "/" + r))
- : i || (i = ""),
- n && "#" !== n.charAt(0) && (n = "#" + n),
- s && "?" !== s.charAt(0) && (s = "?" + s),
- (r = r.replace(/[?#]/g, function (e) {
- return encodeURIComponent(e)
- })),
- (s = s.replace("#", "%23")),
- t + i + r + s + n
- )
- }),
- (s.prototype.resolve = function (e) {
- return this.resolveObject(_(e, !1, !0)).format()
- }),
- (s.prototype.resolveObject = function (e) {
- if (a.isString(e)) {
- var t = new s()
- t.parse(e, !1, !0), (e = t)
- }
- for (var r = new s(), n = Object.keys(this), i = 0; i < n.length; i++) {
- var o = n[i]
- r[o] = this[o]
- }
- if (((r.hash = e.hash), "" === e.href)) return (r.href = r.format()), r
- if (e.slashes && !e.protocol) {
- for (var l = Object.keys(e), c = 0; c < l.length; c++) {
- var u = l[c]
- "protocol" !== u && (r[u] = e[u])
- }
- return x[r.protocol] && r.hostname && !r.pathname && (r.path = r.pathname = "/"), (r.href = r.format()), r
- }
- if (e.protocol && e.protocol !== r.protocol) {
- if (!x[e.protocol]) {
- for (var f = Object.keys(e), p = 0; p < f.length; p++) {
- var d = f[p]
- r[d] = e[d]
- }
- return (r.href = r.format()), r
- }
- if (((r.protocol = e.protocol), e.host || w[e.protocol])) r.pathname = e.pathname
- else {
- var h = (e.pathname || "").split("/")
- while (h.length && !(e.host = h.shift()));
- e.host || (e.host = ""),
- e.hostname || (e.hostname = ""),
- "" !== h[0] && h.unshift(""),
- h.length < 2 && h.unshift(""),
- (r.pathname = h.join("/"))
- }
- if (
- ((r.search = e.search),
- (r.query = e.query),
- (r.host = e.host || ""),
- (r.auth = e.auth),
- (r.hostname = e.hostname || e.host),
- (r.port = e.port),
- r.pathname || r.search)
- ) {
- var m = r.pathname || "",
- g = r.search || ""
- r.path = m + g
- }
- return (r.slashes = r.slashes || e.slashes), (r.href = r.format()), r
- }
- var y = r.pathname && "/" === r.pathname.charAt(0),
- v = e.host || (e.pathname && "/" === e.pathname.charAt(0)),
- b = v || y || (r.host && e.pathname),
- A = b,
- _ = (r.pathname && r.pathname.split("/")) || [],
- T = ((h = (e.pathname && e.pathname.split("/")) || []), r.protocol && !x[r.protocol])
- if (
- (T &&
- ((r.hostname = ""),
- (r.port = null),
- r.host && ("" === _[0] ? (_[0] = r.host) : _.unshift(r.host)),
- (r.host = ""),
- e.protocol &&
- ((e.hostname = null),
- (e.port = null),
- e.host && ("" === h[0] ? (h[0] = e.host) : h.unshift(e.host)),
- (e.host = null)),
- (b = b && ("" === h[0] || "" === _[0]))),
- v)
- )
- (r.host = e.host || "" === e.host ? e.host : r.host),
- (r.hostname = e.hostname || "" === e.hostname ? e.hostname : r.hostname),
- (r.search = e.search),
- (r.query = e.query),
- (_ = h)
- else if (h.length) _ || (_ = []), _.pop(), (_ = _.concat(h)), (r.search = e.search), (r.query = e.query)
- else if (!a.isNullOrUndefined(e.search)) {
- if (T) {
- r.hostname = r.host = _.shift()
- var E = !!(r.host && r.host.indexOf("@") > 0) && r.host.split("@")
- E && ((r.auth = E.shift()), (r.host = r.hostname = E.shift()))
- }
- return (
- (r.search = e.search),
- (r.query = e.query),
- (a.isNull(r.pathname) && a.isNull(r.search)) ||
- (r.path = (r.pathname ? r.pathname : "") + (r.search ? r.search : "")),
- (r.href = r.format()),
- r
- )
- }
- if (!_.length)
- return (r.pathname = null), r.search ? (r.path = "/" + r.search) : (r.path = null), (r.href = r.format()), r
- for (
- var S = _.slice(-1)[0],
- C = ((r.host || e.host || _.length > 1) && ("." === S || ".." === S)) || "" === S,
- k = 0,
- L = _.length;
- L >= 0;
- L--
- )
- (S = _[L]), "." === S ? _.splice(L, 1) : ".." === S ? (_.splice(L, 1), k++) : k && (_.splice(L, 1), k--)
- if (!b && !A) for (; k--; k) _.unshift("..")
- !b || "" === _[0] || (_[0] && "/" === _[0].charAt(0)) || _.unshift(""),
- C && "/" !== _.join("/").substr(-1) && _.push("")
- var P = "" === _[0] || (_[0] && "/" === _[0].charAt(0))
- if (T) {
- r.hostname = r.host = P ? "" : _.length ? _.shift() : ""
- E = !!(r.host && r.host.indexOf("@") > 0) && r.host.split("@")
- E && ((r.auth = E.shift()), (r.host = r.hostname = E.shift()))
- }
- return (
- (b = b || (r.host && _.length)),
- b && !P && _.unshift(""),
- _.length ? (r.pathname = _.join("/")) : ((r.pathname = null), (r.path = null)),
- (a.isNull(r.pathname) && a.isNull(r.search)) ||
- (r.path = (r.pathname ? r.pathname : "") + (r.search ? r.search : "")),
- (r.auth = e.auth || r.auth),
- (r.slashes = r.slashes || e.slashes),
- (r.href = r.format()),
- r
- )
- }),
- (s.prototype.parseHost = function () {
- var e = this.host,
- t = c.exec(e)
- t && ((t = t[0]), ":" !== t && (this.port = t.substr(1)), (e = e.substr(0, e.length - t.length))),
- e && (this.hostname = e)
- })
- },
- {
- "./util": 394,
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/helpers/typeof": 73,
- "core-js/modules/es.array.concat": 234,
- "core-js/modules/es.array.index-of": 241,
- "core-js/modules/es.array.join": 243,
- "core-js/modules/es.array.last-index-of": 244,
- "core-js/modules/es.array.slice": 246,
- "core-js/modules/es.array.splice": 248,
- "core-js/modules/es.object.keys": 253,
- "core-js/modules/es.regexp.exec": 256,
- "core-js/modules/es.string.match": 260,
- "core-js/modules/es.string.replace": 261,
- "core-js/modules/es.string.search": 262,
- "core-js/modules/es.string.split": 263,
- "core-js/modules/es.string.trim": 264,
- punycode: 319,
- querystring: 322
- }
- ],
- 394: [
- function (e, t, r) {
- "use strict"
- var n = e("@babel/runtime/helpers/interopRequireDefault"),
- i = n(e("@babel/runtime/helpers/typeof"))
- t.exports = {
- isString: function (e) {
- return "string" === typeof e
- },
- isObject: function (e) {
- return "object" === (0, i.default)(e) && null !== e
- },
- isNull: function (e) {
- return null === e
- },
- isNullOrUndefined: function (e) {
- return null == e
- }
- }
- },
- {
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/helpers/typeof": 73
- }
- ],
- 395: [
- function (e, t, r) {
- "use strict"
- e("core-js/modules/es.number.constructor"),
- (r.encodeURIComponent = function (e) {
- try {
- return encodeURIComponent(e)
- } catch (t) {
- return e
- }
- }),
- (r.escape = e("escape-html")),
- (r.timestamp = function (e) {
- if (e) {
- var t = e
- return "string" === typeof t && (t = Number(t)), 10 === String(e).length && (t *= 1e3), new Date(t)
- }
- return Math.round(Date.now() / 1e3)
- })
- },
- {
- "core-js/modules/es.number.constructor": 250,
- "escape-html": 295
- }
- ],
- 396: [
- function (e, t, r) {
- ;(function (t, n) {
- "use strict"
- var i = e("@babel/runtime/helpers/interopRequireDefault")
- e("core-js/modules/es.array.concat"),
- e("core-js/modules/es.array.index-of"),
- e("core-js/modules/es.function.name"),
- e("core-js/modules/es.object.to-string"),
- e("core-js/modules/es.promise"),
- e("core-js/modules/es.regexp.exec"),
- e("core-js/modules/es.string.split"),
- e("core-js/modules/es.string.trim")
- var o = i(e("@babel/runtime/helpers/typeof")),
- a = e("util"),
- s = e("url"),
- l = e("http"),
- c = e("https"),
- u = e("debug")("urllib"),
- f = e("humanize-ms"),
- p = 0,
- d = Math.pow(2, 31) - 10,
- h = /^https?:\/\//i
- function m(e, t) {
- return void 0 === e ? t : e
- }
- function g(e) {
- return e ? e.split(";")[0].trim().toLowerCase() : ""
- }
- function y(e, t) {
- return function (r, n, i) {
- if (r) return t(r)
- e({
- data: n,
- status: i.statusCode,
- headers: i.headers,
- res: i
- })
- }
- }
- r.TIMEOUTS = [f("300s"), f("300s")]
- var v = ["json", "text"]
- ;(r.request = function (e, t, n) {
- return (
- 2 === arguments.length && "function" === typeof t && ((n = t), (t = null)),
- "function" === typeof n
- ? r.requestWithCallback(e, t, n)
- : new Promise(function (n, i) {
- r.requestWithCallback(e, t, y(n, i))
- })
- )
- }),
- (r.requestWithCallback = function (e, i, y) {
- if (!e || ("string" !== typeof e && "object" !== (0, o.default)(e))) {
- var b = a.format("expect request url to be a string or a http request options, but got %j", e)
- throw new Error(b)
- }
- 2 === arguments.length && "function" === typeof i && ((y = i), (i = null)), (i = i || {}), p >= d && (p = 0)
- var w = ++p
- i.requestUrls = i.requestUrls || []
- var x = {
- requestId: w,
- url: e,
- args: i,
- ctx: i.ctx
- }
- i.emitter && i.emitter.emit("request", x),
- (i.timeout = i.timeout || r.TIMEOUTS),
- (i.maxRedirects = i.maxRedirects || 10),
- (i.streaming = i.streaming || i.customResponse)
- var A,
- _ = Date.now()
- "string" === typeof e ? (h.test(e) || (e = "https://" + e), (A = s.parse(e))) : (A = e)
- var T = (i.type || i.method || A.method || "GET").toUpperCase(),
- E = A.port || 80,
- S = l,
- C = m(i.agent, r.agent),
- k = i.fixJSONCtlChars
- "https:" === A.protocol && ((S = c), (C = m(i.httpsAgent, r.httpsAgent)), A.port || (E = 443))
- var L = {
- host: A.hostname || A.host || "localhost",
- path: A.path || "/",
- method: T,
- port: E,
- agent: C,
- headers: i.headers || {},
- lookup: i.lookup
- }
- Array.isArray(i.timeout)
- ? (L.requestTimeout = i.timeout[i.timeout.length - 1])
- : "undefined" !== typeof i.timeout && (L.requestTimeout = i.timeout)
- var P = i.auth || A.auth
- P && (L.auth = P)
- var O = i.content || i.data,
- j = "GET" === T || "HEAD" === T || i.dataAsQueryString
- if (!i.content && O && "string" !== typeof O && !n.isBuffer(O))
- if (j) O = i.nestedQuerystring ? qs.stringify(O) : querystring.stringify(O)
- else {
- var R = L.headers["Content-Type"] || L.headers["content-type"]
- R ||
- ((R = "json" === i.contentType ? "application/json" : "application/x-www-form-urlencoded"),
- (L.headers["Content-Type"] = R)),
- (O =
- "application/json" === g(R)
- ? JSON.stringify(O)
- : i.nestedQuerystring
- ? qs.stringify(O)
- : querystring.stringify(O))
- }
- j && O && ((L.path += (A.query ? "&" : "?") + O), (O = null))
- var I = 0
- if (O) {
- var N = O.length
- n.isBuffer(O) || (N = n.byteLength(O)), (I = L.headers["Content-Length"] = N)
- }
- "json" === i.dataType && (L.headers.Accept = "application/json"),
- "function" === typeof i.beforeRequest && i.beforeRequest(L)
- var M = null,
- D = null,
- B = null,
- F = !1,
- U = !1,
- z = 0,
- q = -1,
- G = !1,
- W = "",
- V = "",
- H = null
- function X() {
- M && (clearTimeout(M), (M = null))
- }
- function Y() {
- D && (clearTimeout(D), (D = null))
- }
- function K(r, n, o) {
- if ((Y(), !y))
- return (
- console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!", Date(), w, t.pid, L.method, e),
- void (
- r &&
- console.warn(
- "[urllib:warn] [%s] [%s] [worker:%s] %s: %s\nstack: %s",
- Date(),
- w,
- t.pid,
- r.name,
- r.message,
- r.stack
- )
- )
- )
- var a = y
- y = null
- var s = {}
- o && ((q = o.statusCode), (s = o.headers))
- var l = Date.now() - _
- H && (H.contentDownload = l),
- u(
- "[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",
- l,
- z,
- q,
- L.method,
- L.host,
- L.path,
- U,
- H
- )
- var c = {
- status: q,
- statusCode: q,
- headers: s,
- size: z,
- aborted: G,
- rt: l,
- keepAliveSocket: U,
- data: n,
- requestUrls: i.requestUrls,
- timing: H,
- remoteAddress: W,
- remotePort: V
- }
- if (r) {
- var f = ""
- C &&
- "function" === typeof C.getCurrentStatus &&
- (f = ", agent status: " + JSON.stringify(C.getCurrentStatus())),
- (r.message +=
- ", " +
- L.method +
- " " +
- e +
- " " +
- q +
- " (connected: " +
- F +
- ", keepalive socket: " +
- U +
- f +
- ")\nheaders: " +
- JSON.stringify(s)),
- (r.data = n),
- (r.path = L.path),
- (r.status = q),
- (r.headers = s),
- (r.res = c)
- }
- a(r, n, i.streaming ? o : c),
- i.emitter &&
- ((x.url = e),
- (x.socket = ee && ee.connection),
- (x.options = L),
- (x.size = I),
- i.emitter.emit("response", {
- requestId: w,
- error: r,
- ctx: i.ctx,
- req: x,
- res: c
- }))
- }
- function Z(t) {
- var n = null
- if (i.followRedirect && statuses.redirect[t.statusCode]) {
- i._followRedirectCount = (i._followRedirectCount || 0) + 1
- var o = t.headers.location
- if (o) {
- if (!(i._followRedirectCount > i.maxRedirects)) {
- var a = i.formatRedirectUrl ? i.formatRedirectUrl(e, o) : s.resolve(e, o)
- u("Request#%d %s: `redirected` from %s to %s", w, L.path, e, a),
- Y(),
- i.headers && i.headers.Host && h.test(o) && (i.headers.Host = null)
- var l = y
- return (
- (y = null),
- r.requestWithCallback(a, i, l),
- {
- redirect: !0,
- error: null
- }
- )
- }
- ;(n = new Error("Exceeded maxRedirects. Probably stuck in a redirect loop " + e)),
- (n.name = "MaxRedirectError")
- } else
- (n = new Error("Got statusCode " + t.statusCode + " but cannot resolve next location from headers")),
- (n.name = "FollowRedirectError")
- }
- return {
- redirect: !1,
- error: n
- }
- }
- function Q(e, t, r) {
- var n = e.headers["content-encoding"]
- return r(null, t, n)
- }
- i.timing &&
- (H = {
- queuing: 0,
- dnslookup: 0,
- connected: 0,
- requestSent: 0,
- waiting: 0,
- contentDownload: 0
- }),
- i.gzip &&
- (L.headers["Accept-Encoding"] || L.headers["accept-encoding"] || (L.headers["Accept-Encoding"] = "gzip"))
- var J,
- $,
- ee,
- te = i.writeStream
- function re(t) {
- if (
- (H && (H.waiting = Date.now() - _),
- u("Request#%d %s `req response` event emit: status %d, headers: %j", w, e, t.statusCode, t.headers),
- i.streaming)
- ) {
- var r = Z(t)
- return r.redirect ? void t.resume() : r.error ? (t.resume(), K(r.error, null, t)) : K(null, null, t)
- }
- if (
- (t.on("close", function () {
- u("Request#%d %s: `res close` event emit, total size %d", w, e, z)
- }),
- t.on("error", function () {
- u("Request#%d %s: `res error` event emit, total size %d", w, e, z)
- }),
- t.on("aborted", function () {
- ;(G = !0), u("Request#%d %s: `res aborted` event emit, total size %d", w, e, z)
- }),
- te)
- ) {
- var o = Z(t)
- return o.redirect
- ? void t.resume()
- : o.error
- ? (t.resume(), te.end(), K(o.error, null, t))
- : (!1 === i.consumeWriteStream
- ? t.on("end", K.bind(null, null, null, t))
- : te.on("close", function () {
- u("Request#%d %s: writeStream close event emitted", w, e), K(B || null, null, t)
- }),
- t.pipe(te))
- }
- var a = []
- t.on("data", function (t) {
- u("Request#%d %s: `res data` event emit, size %d", w, e, t.length), (z += t.length), a.push(t)
- }),
- t.on("end", function () {
- var r = n.concat(a, z)
- if ((u("Request#%d %s: `res end` event emit, total size %d, _dumped: %s", w, e, z, t._dumped), B))
- return K(B, r, t)
- var o = Z(t)
- if (o.error) return K(o.error, r, t)
- o.redirect ||
- Q(t, r, function (n, o, a) {
- if (n) return K(n, r, t)
- if (!a && v.indexOf(i.dataType) >= 0) {
- try {
- o = decodeBodyByCharset(o, t)
- } catch (l) {
- return u("decodeBodyByCharset error: %s", l), K(null, o, t)
- }
- if ("json" === i.dataType)
- if (0 === z) o = null
- else {
- var s = parseJSON(o, k)
- s.error ? (n = s.error) : (o = s.data)
- }
- }
- G && u("Request#%d %s: Remote socket was terminated before `response.end()` was called", w, e),
- K(n, o, t)
- })
- })
- }
- function ne() {
- u("Connect timer ticking, timeout: %d", J),
- (M = setTimeout(function () {
- ;(M = null), -1 === q && (q = -2)
- var t = "Connect timeout for " + J + "ms",
- r = "ConnectionTimeoutError"
- ee.socket || ((r = "SocketAssignTimeoutError"), (t += ", working sockets is full")),
- (B = new Error(t)),
- (B.name = r),
- (B.requestId = w),
- u("ConnectTimeout: Request#%d %s %s: %s, connected: %s", w, e, B.name, t, F),
- oe()
- }, J))
- }
- function ie() {
- u("Response timer ticking, timeout: %d", $),
- (D = setTimeout(function () {
- D = null
- var t = "Response timeout for " + $ + "ms",
- r = "ResponseTimeoutError"
- ;(B = new Error(t)),
- (B.name = r),
- (B.requestId = w),
- u("ResponseTimeout: Request#%d %s %s: %s, connected: %s", w, e, B.name, t, F),
- oe()
- }, $))
- }
- u("Request#%d %s %s with headers %j, options.path: %s", w, T, e, L.headers, L.path),
- i.requestUrls.push(e),
- Array.isArray(i.timeout) ? ((J = f(i.timeout[0])), ($ = f(i.timeout[1]))) : (J = $ = f(i.timeout)),
- u("ConnectTimeout: %d, ResponseTimeout: %d", J, $),
- (L.mode = i.mode ? i.mode : "")
- try {
- ee = S.request(L, re)
- } catch (ae) {
- return K(ae)
- }
- function oe() {
- u("Request#%d %s abort, connected: %s", w, e, F), ee.socket || ((B.noSocket = !0), K(B)), ee.abort()
- }
- return (
- "undefined" === typeof window
- ? ne()
- : ee.on("requestTimeout", function () {
- ;-1 === q && (q = -2)
- var e = "Connect timeout for " + J + "ms",
- t = "ConnectionTimeoutError"
- ;(B = new Error(e)), (B.name = t), (B.requestId = w), oe()
- }),
- H &&
- ee.on("finish", function () {
- H.requestSent = Date.now() - _
- }),
- ee.once("socket", function (t) {
- H && (H.queuing = Date.now() - _)
- var r = t.readyState
- if ("opening" === r)
- return (
- t.once("lookup", function (t, r, n) {
- u("Request#%d %s lookup: %s, %s, %s", w, e, t, r, n),
- H && (H.dnslookup = Date.now() - _),
- r && (W = r)
- }),
- void t.once("connect", function () {
- H && (H.connected = Date.now() - _),
- X(),
- ie(),
- u("Request#%d %s new socket connected", w, e),
- (F = !0),
- W || (W = t.remoteAddress),
- (V = t.remotePort)
- })
- )
- u("Request#%d %s reuse socket connected, readyState: %s", w, e, r),
- (F = !0),
- (U = !0),
- W || (W = t.remoteAddress),
- (V = t.remotePort),
- X(),
- ie()
- }),
- ee.on("error", function (t) {
- ;("Error" !== t.name && "TypeError" !== t.name) || (t.name = F ? "ResponseError" : "RequestError"),
- (t.message += ' (req "error")'),
- u("Request#%d %s `req error` event emit, %s: %s", w, e, t.name, t.message),
- K(B || t)
- }),
- te &&
- te.once("error", function (t) {
- ;(t.message += ' (writeStream "error")'),
- (B = t),
- u("Request#%d %s `writeStream error` event emit, %s: %s", w, e, t.name, t.message),
- oe()
- }),
- i.stream
- ? (i.stream.pipe(ee),
- i.stream.once("error", function (t) {
- ;(t.message += ' (stream "error")'),
- (B = t),
- u("Request#%d %s `readStream error` event emit, %s: %s", w, e, t.name, t.message),
- oe()
- }))
- : ee.end(O),
- (ee.requestId = w),
- ee
- )
- })
- }).call(this, e("_process"), e("buffer").Buffer)
- },
- {
- "@babel/runtime/helpers/interopRequireDefault": 72,
- "@babel/runtime/helpers/typeof": 73,
- _process: 392,
- buffer: 99,
- "core-js/modules/es.array.concat": 234,
- "core-js/modules/es.array.index-of": 241,
- "core-js/modules/es.function.name": 249,
- "core-js/modules/es.object.to-string": 254,
- "core-js/modules/es.promise": 255,
- "core-js/modules/es.regexp.exec": 256,
- "core-js/modules/es.string.split": 263,
- "core-js/modules/es.string.trim": 264,
- debug: 390,
- http: 80,
- https: 297,
- "humanize-ms": 298,
- url: 393,
- util: 345
- }
- ]
- },
- {},
- [1]
- )(1)
- })
- }).call(this, __webpack_require__("c8ba"))
- },
- "9bdd": function (e, t, r) {
- var n = r("825a"),
- i = r("2a62")
- e.exports = function (e, t, r, o) {
- try {
- return o ? t(n(r)[0], r[1]) : t(r)
- } catch (a) {
- i(e, "throw", a)
- }
- }
- },
- "9bf2": function (e, t, r) {
- var n = r("83ab"),
- i = r("0cfb"),
- o = r("825a"),
- a = r("a04b"),
- s = Object.defineProperty
- t.f = n
- ? s
- : function (e, t, r) {
- if ((o(e), (t = a(t)), o(r), i))
- try {
- return s(e, t, r)
- } catch (n) {}
- if ("get" in r || "set" in r) throw TypeError("Accessors not supported")
- return "value" in r && (e[t] = r.value), e
- }
- },
- "9ed3": function (e, t, r) {
- "use strict"
- var n = r("ae93").IteratorPrototype,
- i = r("7c73"),
- o = r("5c6c"),
- a = r("d44e"),
- s = r("3f8c"),
- l = function () {
- return this
- }
- e.exports = function (e, t, r) {
- var c = t + " Iterator"
- return (
- (e.prototype = i(n, {
- next: o(1, r)
- })),
- a(e, c, !1, !0),
- (s[c] = l),
- e
- )
- }
- },
- "9f7f": function (e, t, r) {
- var n = r("d039"),
- i = r("da84"),
- o = i.RegExp
- ;(t.UNSUPPORTED_Y = n(function () {
- var e = o("a", "y")
- return (e.lastIndex = 2), null != e.exec("abcd")
- })),
- (t.BROKEN_CARET = n(function () {
- var e = o("^r", "gy")
- return (e.lastIndex = 2), null != e.exec("str")
- }))
- },
- a04b: function (e, t, r) {
- var n = r("c04e"),
- i = r("d9b5")
- e.exports = function (e) {
- var t = n(e, "string")
- return i(t) ? t : String(t)
- }
- },
- a4d3: function (e, t, r) {
- "use strict"
- var n = r("23e7"),
- i = r("da84"),
- o = r("d066"),
- a = r("c430"),
- s = r("83ab"),
- l = r("4930"),
- c = r("d039"),
- u = r("5135"),
- f = r("e8b5"),
- p = r("861d"),
- d = r("d9b5"),
- h = r("825a"),
- m = r("7b0b"),
- g = r("fc6a"),
- y = r("a04b"),
- v = r("577e"),
- b = r("5c6c"),
- w = r("7c73"),
- x = r("df75"),
- A = r("241c"),
- _ = r("057f"),
- T = r("7418"),
- E = r("06cf"),
- S = r("9bf2"),
- C = r("d1e7"),
- k = r("9112"),
- L = r("6eeb"),
- P = r("5692"),
- O = r("f772"),
- j = r("d012"),
- R = r("90e3"),
- I = r("b622"),
- N = r("e538"),
- M = r("746f"),
- D = r("d44e"),
- B = r("69f3"),
- F = r("b727").forEach,
- U = O("hidden"),
- z = "Symbol",
- q = "prototype",
- G = I("toPrimitive"),
- W = B.set,
- V = B.getterFor(z),
- H = Object[q],
- X = i.Symbol,
- Y = o("JSON", "stringify"),
- K = E.f,
- Z = S.f,
- Q = _.f,
- J = C.f,
- $ = P("symbols"),
- ee = P("op-symbols"),
- te = P("string-to-symbol-registry"),
- re = P("symbol-to-string-registry"),
- ne = P("wks"),
- ie = i.QObject,
- oe = !ie || !ie[q] || !ie[q].findChild,
- ae =
- s &&
- c(function () {
- return (
- 7 !=
- w(
- Z({}, "a", {
- get: function () {
- return Z(this, "a", {
- value: 7
- }).a
- }
- })
- ).a
- )
- })
- ? function (e, t, r) {
- var n = K(H, t)
- n && delete H[t], Z(e, t, r), n && e !== H && Z(H, t, n)
- }
- : Z,
- se = function (e, t) {
- var r = ($[e] = w(X[q]))
- return (
- W(r, {
- type: z,
- tag: e,
- description: t
- }),
- s || (r.description = t),
- r
- )
- },
- le = function (e, t, r) {
- e === H && le(ee, t, r), h(e)
- var n = y(t)
- return (
- h(r),
- u($, n)
- ? (r.enumerable
- ? (u(e, U) && e[U][n] && (e[U][n] = !1),
- (r = w(r, {
- enumerable: b(0, !1)
- })))
- : (u(e, U) || Z(e, U, b(1, {})), (e[U][n] = !0)),
- ae(e, n, r))
- : Z(e, n, r)
- )
- },
- ce = function (e, t) {
- h(e)
- var r = g(t),
- n = x(r).concat(he(r))
- return (
- F(n, function (t) {
- ;(s && !fe.call(r, t)) || le(e, t, r[t])
- }),
- e
- )
- },
- ue = function (e, t) {
- return void 0 === t ? w(e) : ce(w(e), t)
- },
- fe = function (e) {
- var t = y(e),
- r = J.call(this, t)
- return !(this === H && u($, t) && !u(ee, t)) && (!(r || !u(this, t) || !u($, t) || (u(this, U) && this[U][t])) || r)
- },
- pe = function (e, t) {
- var r = g(e),
- n = y(t)
- if (r !== H || !u($, n) || u(ee, n)) {
- var i = K(r, n)
- return !i || !u($, n) || (u(r, U) && r[U][n]) || (i.enumerable = !0), i
- }
- },
- de = function (e) {
- var t = Q(g(e)),
- r = []
- return (
- F(t, function (e) {
- u($, e) || u(j, e) || r.push(e)
- }),
- r
- )
- },
- he = function (e) {
- var t = e === H,
- r = Q(t ? ee : g(e)),
- n = []
- return (
- F(r, function (e) {
- !u($, e) || (t && !u(H, e)) || n.push($[e])
- }),
- n
- )
- }
- if (
- (l ||
- ((X = function () {
- if (this instanceof X) throw TypeError("Symbol is not a constructor")
- var e = arguments.length && void 0 !== arguments[0] ? v(arguments[0]) : void 0,
- t = R(e),
- r = function (e) {
- this === H && r.call(ee, e), u(this, U) && u(this[U], t) && (this[U][t] = !1), ae(this, t, b(1, e))
- }
- return (
- s &&
- oe &&
- ae(H, t, {
- configurable: !0,
- set: r
- }),
- se(t, e)
- )
- }),
- L(X[q], "toString", function () {
- return V(this).tag
- }),
- L(X, "withoutSetter", function (e) {
- return se(R(e), e)
- }),
- (C.f = fe),
- (S.f = le),
- (E.f = pe),
- (A.f = _.f = de),
- (T.f = he),
- (N.f = function (e) {
- return se(I(e), e)
- }),
- s &&
- (Z(X[q], "description", {
- configurable: !0,
- get: function () {
- return V(this).description
- }
- }),
- a ||
- L(H, "propertyIsEnumerable", fe, {
- unsafe: !0
- }))),
- n(
- {
- global: !0,
- wrap: !0,
- forced: !l,
- sham: !l
- },
- {
- Symbol: X
- }
- ),
- F(x(ne), function (e) {
- M(e)
- }),
- n(
- {
- target: z,
- stat: !0,
- forced: !l
- },
- {
- for: function (e) {
- var t = v(e)
- if (u(te, t)) return te[t]
- var r = X(t)
- return (te[t] = r), (re[r] = t), r
- },
- keyFor: function (e) {
- if (!d(e)) throw TypeError(e + " is not a symbol")
- if (u(re, e)) return re[e]
- },
- useSetter: function () {
- oe = !0
- },
- useSimple: function () {
- oe = !1
- }
- }
- ),
- n(
- {
- target: "Object",
- stat: !0,
- forced: !l,
- sham: !s
- },
- {
- create: ue,
- defineProperty: le,
- defineProperties: ce,
- getOwnPropertyDescriptor: pe
- }
- ),
- n(
- {
- target: "Object",
- stat: !0,
- forced: !l
- },
- {
- getOwnPropertyNames: de,
- getOwnPropertySymbols: he
- }
- ),
- n(
- {
- target: "Object",
- stat: !0,
- forced: c(function () {
- T.f(1)
- })
- },
- {
- getOwnPropertySymbols: function (e) {
- return T.f(m(e))
- }
- }
- ),
- Y)
- ) {
- var me =
- !l ||
- c(function () {
- var e = X()
- return (
- "[null]" != Y([e]) ||
- "{}" !=
- Y({
- a: e
- }) ||
- "{}" != Y(Object(e))
- )
- })
- n(
- {
- target: "JSON",
- stat: !0,
- forced: me
- },
- {
- stringify: function (e, t, r) {
- var n,
- i = [e],
- o = 1
- while (arguments.length > o) i.push(arguments[o++])
- if (((n = t), (p(t) || void 0 !== e) && !d(e)))
- return (
- f(t) ||
- (t = function (e, t) {
- if (("function" == typeof n && (t = n.call(this, e, t)), !d(t))) return t
- }),
- (i[1] = t),
- Y.apply(null, i)
- )
- }
- }
- )
- }
- X[q][G] || k(X[q], G, X[q].valueOf), D(X, z), (j[U] = !0)
- },
- a630: function (e, t, r) {
- var n = r("23e7"),
- i = r("4df4"),
- o = r("1c7e"),
- a = !o(function (e) {
- Array.from(e)
- })
- n(
- {
- target: "Array",
- stat: !0,
- forced: a
- },
- {
- from: i
- }
- )
- },
- a640: function (e, t, r) {
- "use strict"
- var n = r("d039")
- e.exports = function (e, t) {
- var r = [][e]
- return (
- !!r &&
- n(function () {
- r.call(
- null,
- t ||
- function () {
- throw 1
- },
- 1
- )
- })
- )
- }
- },
- a691: function (e, t) {
- var r = Math.ceil,
- n = Math.floor
- e.exports = function (e) {
- return isNaN((e = +e)) ? 0 : (e > 0 ? n : r)(e)
- }
- },
- a8f0: function (e, t, r) {
- var n = r("b639"),
- i = n.Buffer
- function o(e, t) {
- for (var r in e) t[r] = e[r]
- }
- function a(e, t, r) {
- return i(e, t, r)
- }
- i.from && i.alloc && i.allocUnsafe && i.allocUnsafeSlow ? (e.exports = n) : (o(n, t), (t.Buffer = a)),
- o(i, a),
- (a.from = function (e, t, r) {
- if ("number" === typeof e) throw new TypeError("Argument must not be a number")
- return i(e, t, r)
- }),
- (a.alloc = function (e, t, r) {
- if ("number" !== typeof e) throw new TypeError("Argument must be a number")
- var n = i(e)
- return void 0 !== t ? ("string" === typeof r ? n.fill(t, r) : n.fill(t)) : n.fill(0), n
- }),
- (a.allocUnsafe = function (e) {
- if ("number" !== typeof e) throw new TypeError("Argument must be a number")
- return i(e)
- }),
- (a.allocUnsafeSlow = function (e) {
- if ("number" !== typeof e) throw new TypeError("Argument must be a number")
- return n.SlowBuffer(e)
- })
- },
- ab13: function (e, t, r) {
- var n = r("b622"),
- i = n("match")
- e.exports = function (e) {
- var t = /./
- try {
- "/./"[e](t)
- } catch (r) {
- try {
- return (t[i] = !1), "/./"[e](t)
- } catch (n) {}
- }
- return !1
- }
- },
- ac1f: function (e, t, r) {
- "use strict"
- var n = r("23e7"),
- i = r("9263")
- n(
- {
- target: "RegExp",
- proto: !0,
- forced: /./.exec !== i
- },
- {
- exec: i
- }
- )
- },
- ad6d: function (e, t, r) {
- "use strict"
- var n = r("825a")
- e.exports = function () {
- var e = n(this),
- t = ""
- return (
- e.global && (t += "g"),
- e.ignoreCase && (t += "i"),
- e.multiline && (t += "m"),
- e.dotAll && (t += "s"),
- e.unicode && (t += "u"),
- e.sticky && (t += "y"),
- t
- )
- }
- },
- ad71: function (e, t, r) {
- "use strict"
- ;(function (t, n) {
- var i = r("966d")
- e.exports = A
- var o,
- a = r("e3db")
- A.ReadableState = x
- r("faa1").EventEmitter
- var s = function (e, t) {
- return e.listeners(t).length
- },
- l = r("429b"),
- c = r("a8f0").Buffer,
- u = t.Uint8Array || function () {}
- function f(e) {
- return c.from(e)
- }
- function p(e) {
- return c.isBuffer(e) || e instanceof u
- }
- var d = Object.create(r("3a7c"))
- d.inherits = r("3fb5")
- var h = r(2),
- m = void 0
- m = h && h.debuglog ? h.debuglog("stream") : function () {}
- var g,
- y = r("5e1a"),
- v = r("4681")
- d.inherits(A, l)
- var b = ["error", "close", "destroy", "pause", "resume"]
- function w(e, t, r) {
- if ("function" === typeof e.prependListener) return e.prependListener(t, r)
- e._events && e._events[t] ? (a(e._events[t]) ? e._events[t].unshift(r) : (e._events[t] = [r, e._events[t]])) : e.on(t, r)
- }
- function x(e, t) {
- ;(o = o || r("b19a")), (e = e || {})
- var n = t instanceof o
- ;(this.objectMode = !!e.objectMode), n && (this.objectMode = this.objectMode || !!e.readableObjectMode)
- var i = e.highWaterMark,
- a = e.readableHighWaterMark,
- s = this.objectMode ? 16 : 16384
- ;(this.highWaterMark = i || 0 === i ? i : n && (a || 0 === a) ? a : s),
- (this.highWaterMark = Math.floor(this.highWaterMark)),
- (this.buffer = new y()),
- (this.length = 0),
- (this.pipes = null),
- (this.pipesCount = 0),
- (this.flowing = null),
- (this.ended = !1),
- (this.endEmitted = !1),
- (this.reading = !1),
- (this.sync = !0),
- (this.needReadable = !1),
- (this.emittedReadable = !1),
- (this.readableListening = !1),
- (this.resumeScheduled = !1),
- (this.destroyed = !1),
- (this.defaultEncoding = e.defaultEncoding || "utf8"),
- (this.awaitDrain = 0),
- (this.readingMore = !1),
- (this.decoder = null),
- (this.encoding = null),
- e.encoding && (g || (g = r("7d72").StringDecoder), (this.decoder = new g(e.encoding)), (this.encoding = e.encoding))
- }
- function A(e) {
- if (((o = o || r("b19a")), !(this instanceof A))) return new A(e)
- ;(this._readableState = new x(e, this)),
- (this.readable = !0),
- e && ("function" === typeof e.read && (this._read = e.read), "function" === typeof e.destroy && (this._destroy = e.destroy)),
- l.call(this)
- }
- function _(e, t, r, n, i) {
- var o,
- a = e._readableState
- null === t
- ? ((a.reading = !1), P(e, a))
- : (i || (o = E(a, t)),
- o
- ? e.emit("error", o)
- : a.objectMode || (t && t.length > 0)
- ? ("string" === typeof t || a.objectMode || Object.getPrototypeOf(t) === c.prototype || (t = f(t)),
- n
- ? a.endEmitted
- ? e.emit("error", new Error("stream.unshift() after end event"))
- : T(e, a, t, !0)
- : a.ended
- ? e.emit("error", new Error("stream.push() after EOF"))
- : ((a.reading = !1),
- a.decoder && !r ? ((t = a.decoder.write(t)), a.objectMode || 0 !== t.length ? T(e, a, t, !1) : R(e, a)) : T(e, a, t, !1)))
- : n || (a.reading = !1))
- return S(a)
- }
- function T(e, t, r, n) {
- t.flowing && 0 === t.length && !t.sync
- ? (e.emit("data", r), e.read(0))
- : ((t.length += t.objectMode ? 1 : r.length), n ? t.buffer.unshift(r) : t.buffer.push(r), t.needReadable && O(e)),
- R(e, t)
- }
- function E(e, t) {
- var r
- return p(t) || "string" === typeof t || void 0 === t || e.objectMode || (r = new TypeError("Invalid non-string/buffer chunk")), r
- }
- function S(e) {
- return !e.ended && (e.needReadable || e.length < e.highWaterMark || 0 === e.length)
- }
- Object.defineProperty(A.prototype, "destroyed", {
- get: function () {
- return void 0 !== this._readableState && this._readableState.destroyed
- },
- set: function (e) {
- this._readableState && (this._readableState.destroyed = e)
- }
- }),
- (A.prototype.destroy = v.destroy),
- (A.prototype._undestroy = v.undestroy),
- (A.prototype._destroy = function (e, t) {
- this.push(null), t(e)
- }),
- (A.prototype.push = function (e, t) {
- var r,
- n = this._readableState
- return (
- n.objectMode
- ? (r = !0)
- : "string" === typeof e && ((t = t || n.defaultEncoding), t !== n.encoding && ((e = c.from(e, t)), (t = "")), (r = !0)),
- _(this, e, t, !1, r)
- )
- }),
- (A.prototype.unshift = function (e) {
- return _(this, e, null, !0, !1)
- }),
- (A.prototype.isPaused = function () {
- return !1 === this._readableState.flowing
- }),
- (A.prototype.setEncoding = function (e) {
- return g || (g = r("7d72").StringDecoder), (this._readableState.decoder = new g(e)), (this._readableState.encoding = e), this
- })
- var C = 8388608
- function k(e) {
- return e >= C ? (e = C) : (e--, (e |= e >>> 1), (e |= e >>> 2), (e |= e >>> 4), (e |= e >>> 8), (e |= e >>> 16), e++), e
- }
- function L(e, t) {
- return e <= 0 || (0 === t.length && t.ended)
- ? 0
- : t.objectMode
- ? 1
- : e !== e
- ? t.flowing && t.length
- ? t.buffer.head.data.length
- : t.length
- : (e > t.highWaterMark && (t.highWaterMark = k(e)), e <= t.length ? e : t.ended ? t.length : ((t.needReadable = !0), 0))
- }
- function P(e, t) {
- if (!t.ended) {
- if (t.decoder) {
- var r = t.decoder.end()
- r && r.length && (t.buffer.push(r), (t.length += t.objectMode ? 1 : r.length))
- }
- ;(t.ended = !0), O(e)
- }
- }
- function O(e) {
- var t = e._readableState
- ;(t.needReadable = !1), t.emittedReadable || (m("emitReadable", t.flowing), (t.emittedReadable = !0), t.sync ? i.nextTick(j, e) : j(e))
- }
- function j(e) {
- m("emit readable"), e.emit("readable"), F(e)
- }
- function R(e, t) {
- t.readingMore || ((t.readingMore = !0), i.nextTick(I, e, t))
- }
- function I(e, t) {
- var r = t.length
- while (!t.reading && !t.flowing && !t.ended && t.length < t.highWaterMark) {
- if ((m("maybeReadMore read 0"), e.read(0), r === t.length)) break
- r = t.length
- }
- t.readingMore = !1
- }
- function N(e) {
- return function () {
- var t = e._readableState
- m("pipeOnDrain", t.awaitDrain), t.awaitDrain && t.awaitDrain--, 0 === t.awaitDrain && s(e, "data") && ((t.flowing = !0), F(e))
- }
- }
- function M(e) {
- m("readable nexttick read 0"), e.read(0)
- }
- function D(e, t) {
- t.resumeScheduled || ((t.resumeScheduled = !0), i.nextTick(B, e, t))
- }
- function B(e, t) {
- t.reading || (m("resume read 0"), e.read(0)),
- (t.resumeScheduled = !1),
- (t.awaitDrain = 0),
- e.emit("resume"),
- F(e),
- t.flowing && !t.reading && e.read(0)
- }
- function F(e) {
- var t = e._readableState
- m("flow", t.flowing)
- while (t.flowing && null !== e.read());
- }
- function U(e, t) {
- return 0 === t.length
- ? null
- : (t.objectMode
- ? (r = t.buffer.shift())
- : !e || e >= t.length
- ? ((r = t.decoder ? t.buffer.join("") : 1 === t.buffer.length ? t.buffer.head.data : t.buffer.concat(t.length)), t.buffer.clear())
- : (r = z(e, t.buffer, t.decoder)),
- r)
- var r
- }
- function z(e, t, r) {
- var n
- return (
- e < t.head.data.length
- ? ((n = t.head.data.slice(0, e)), (t.head.data = t.head.data.slice(e)))
- : (n = e === t.head.data.length ? t.shift() : r ? q(e, t) : G(e, t)),
- n
- )
- }
- function q(e, t) {
- var r = t.head,
- n = 1,
- i = r.data
- e -= i.length
- while ((r = r.next)) {
- var o = r.data,
- a = e > o.length ? o.length : e
- if ((a === o.length ? (i += o) : (i += o.slice(0, e)), (e -= a), 0 === e)) {
- a === o.length ? (++n, r.next ? (t.head = r.next) : (t.head = t.tail = null)) : ((t.head = r), (r.data = o.slice(a)))
- break
- }
- ++n
- }
- return (t.length -= n), i
- }
- function G(e, t) {
- var r = c.allocUnsafe(e),
- n = t.head,
- i = 1
- n.data.copy(r), (e -= n.data.length)
- while ((n = n.next)) {
- var o = n.data,
- a = e > o.length ? o.length : e
- if ((o.copy(r, r.length - e, 0, a), (e -= a), 0 === e)) {
- a === o.length ? (++i, n.next ? (t.head = n.next) : (t.head = t.tail = null)) : ((t.head = n), (n.data = o.slice(a)))
- break
- }
- ++i
- }
- return (t.length -= i), r
- }
- function W(e) {
- var t = e._readableState
- if (t.length > 0) throw new Error('"endReadable()" called on non-empty stream')
- t.endEmitted || ((t.ended = !0), i.nextTick(V, t, e))
- }
- function V(e, t) {
- e.endEmitted || 0 !== e.length || ((e.endEmitted = !0), (t.readable = !1), t.emit("end"))
- }
- function H(e, t) {
- for (var r = 0, n = e.length; r < n; r++) if (e[r] === t) return r
- return -1
- }
- ;(A.prototype.read = function (e) {
- m("read", e), (e = parseInt(e, 10))
- var t = this._readableState,
- r = e
- if ((0 !== e && (t.emittedReadable = !1), 0 === e && t.needReadable && (t.length >= t.highWaterMark || t.ended)))
- return m("read: emitReadable", t.length, t.ended), 0 === t.length && t.ended ? W(this) : O(this), null
- if (((e = L(e, t)), 0 === e && t.ended)) return 0 === t.length && W(this), null
- var n,
- i = t.needReadable
- return (
- m("need readable", i),
- (0 === t.length || t.length - e < t.highWaterMark) && ((i = !0), m("length less than watermark", i)),
- t.ended || t.reading
- ? ((i = !1), m("reading or ended", i))
- : i &&
- (m("do read"),
- (t.reading = !0),
- (t.sync = !0),
- 0 === t.length && (t.needReadable = !0),
- this._read(t.highWaterMark),
- (t.sync = !1),
- t.reading || (e = L(r, t))),
- (n = e > 0 ? U(e, t) : null),
- null === n ? ((t.needReadable = !0), (e = 0)) : (t.length -= e),
- 0 === t.length && (t.ended || (t.needReadable = !0), r !== e && t.ended && W(this)),
- null !== n && this.emit("data", n),
- n
- )
- }),
- (A.prototype._read = function (e) {
- this.emit("error", new Error("_read() is not implemented"))
- }),
- (A.prototype.pipe = function (e, t) {
- var r = this,
- o = this._readableState
- switch (o.pipesCount) {
- case 0:
- o.pipes = e
- break
- case 1:
- o.pipes = [o.pipes, e]
- break
- default:
- o.pipes.push(e)
- break
- }
- ;(o.pipesCount += 1), m("pipe count=%d opts=%j", o.pipesCount, t)
- var a = (!t || !1 !== t.end) && e !== n.stdout && e !== n.stderr,
- l = a ? u : x
- function c(e, t) {
- m("onunpipe"), e === r && t && !1 === t.hasUnpiped && ((t.hasUnpiped = !0), d())
- }
- function u() {
- m("onend"), e.end()
- }
- o.endEmitted ? i.nextTick(l) : r.once("end", l), e.on("unpipe", c)
- var f = N(r)
- e.on("drain", f)
- var p = !1
- function d() {
- m("cleanup"),
- e.removeListener("close", v),
- e.removeListener("finish", b),
- e.removeListener("drain", f),
- e.removeListener("error", y),
- e.removeListener("unpipe", c),
- r.removeListener("end", u),
- r.removeListener("end", x),
- r.removeListener("data", g),
- (p = !0),
- !o.awaitDrain || (e._writableState && !e._writableState.needDrain) || f()
- }
- var h = !1
- function g(t) {
- m("ondata"), (h = !1)
- var n = e.write(t)
- !1 !== n ||
- h ||
- (((1 === o.pipesCount && o.pipes === e) || (o.pipesCount > 1 && -1 !== H(o.pipes, e))) &&
- !p &&
- (m("false write response, pause", r._readableState.awaitDrain), r._readableState.awaitDrain++, (h = !0)),
- r.pause())
- }
- function y(t) {
- m("onerror", t), x(), e.removeListener("error", y), 0 === s(e, "error") && e.emit("error", t)
- }
- function v() {
- e.removeListener("finish", b), x()
- }
- function b() {
- m("onfinish"), e.removeListener("close", v), x()
- }
- function x() {
- m("unpipe"), r.unpipe(e)
- }
- return (
- r.on("data", g),
- w(e, "error", y),
- e.once("close", v),
- e.once("finish", b),
- e.emit("pipe", r),
- o.flowing || (m("pipe resume"), r.resume()),
- e
- )
- }),
- (A.prototype.unpipe = function (e) {
- var t = this._readableState,
- r = {
- hasUnpiped: !1
- }
- if (0 === t.pipesCount) return this
- if (1 === t.pipesCount)
- return (
- (e && e !== t.pipes) ||
- (e || (e = t.pipes), (t.pipes = null), (t.pipesCount = 0), (t.flowing = !1), e && e.emit("unpipe", this, r)),
- this
- )
- if (!e) {
- var n = t.pipes,
- i = t.pipesCount
- ;(t.pipes = null), (t.pipesCount = 0), (t.flowing = !1)
- for (var o = 0; o < i; o++) n[o].emit("unpipe", this, r)
- return this
- }
- var a = H(t.pipes, e)
- return (
- -1 === a || (t.pipes.splice(a, 1), (t.pipesCount -= 1), 1 === t.pipesCount && (t.pipes = t.pipes[0]), e.emit("unpipe", this, r)),
- this
- )
- }),
- (A.prototype.on = function (e, t) {
- var r = l.prototype.on.call(this, e, t)
- if ("data" === e) !1 !== this._readableState.flowing && this.resume()
- else if ("readable" === e) {
- var n = this._readableState
- n.endEmitted ||
- n.readableListening ||
- ((n.readableListening = n.needReadable = !0), (n.emittedReadable = !1), n.reading ? n.length && O(this) : i.nextTick(M, this))
- }
- return r
- }),
- (A.prototype.addListener = A.prototype.on),
- (A.prototype.resume = function () {
- var e = this._readableState
- return e.flowing || (m("resume"), (e.flowing = !0), D(this, e)), this
- }),
- (A.prototype.pause = function () {
- return (
- m("call pause flowing=%j", this._readableState.flowing),
- !1 !== this._readableState.flowing && (m("pause"), (this._readableState.flowing = !1), this.emit("pause")),
- this
- )
- }),
- (A.prototype.wrap = function (e) {
- var t = this,
- r = this._readableState,
- n = !1
- for (var i in (e.on("end", function () {
- if ((m("wrapped end"), r.decoder && !r.ended)) {
- var e = r.decoder.end()
- e && e.length && t.push(e)
- }
- t.push(null)
- }),
- e.on("data", function (i) {
- if (
- (m("wrapped data"),
- r.decoder && (i = r.decoder.write(i)),
- (!r.objectMode || (null !== i && void 0 !== i)) && (r.objectMode || (i && i.length)))
- ) {
- var o = t.push(i)
- o || ((n = !0), e.pause())
- }
- }),
- e))
- void 0 === this[i] &&
- "function" === typeof e[i] &&
- (this[i] = (function (t) {
- return function () {
- return e[t].apply(e, arguments)
- }
- })(i))
- for (var o = 0; o < b.length; o++) e.on(b[o], this.emit.bind(this, b[o]))
- return (
- (this._read = function (t) {
- m("wrapped _read", t), n && ((n = !1), e.resume())
- }),
- this
- )
- }),
- Object.defineProperty(A.prototype, "readableHighWaterMark", {
- enumerable: !1,
- get: function () {
- return this._readableState.highWaterMark
- }
- }),
- (A._fromList = U)
- }).call(this, r("c8ba"), r("4362"))
- },
- ae93: function (e, t, r) {
- "use strict"
- var n,
- i,
- o,
- a = r("d039"),
- s = r("e163"),
- l = r("9112"),
- c = r("5135"),
- u = r("b622"),
- f = r("c430"),
- p = u("iterator"),
- d = !1,
- h = function () {
- return this
- }
- ;[].keys && ((o = [].keys()), "next" in o ? ((i = s(s(o))), i !== Object.prototype && (n = i)) : (d = !0))
- var m =
- void 0 == n ||
- a(function () {
- var e = {}
- return n[p].call(e) !== e
- })
- m && (n = {}),
- (f && !m) || c(n, p) || l(n, p, h),
- (e.exports = {
- IteratorPrototype: n,
- BUGGY_SAFARI_ITERATORS: d
- })
- },
- b041: function (e, t, r) {
- "use strict"
- var n = r("00ee"),
- i = r("f5df")
- e.exports = n
- ? {}.toString
- : function () {
- return "[object " + i(this) + "]"
- }
- },
- b0c0: function (e, t, r) {
- var n = r("83ab"),
- i = r("9bf2").f,
- o = Function.prototype,
- a = o.toString,
- s = /^\s*function ([^ (]*)/,
- l = "name"
- n &&
- !(l in o) &&
- i(o, l, {
- configurable: !0,
- get: function () {
- try {
- return a.call(this).match(s)[1]
- } catch (e) {
- return ""
- }
- }
- })
- },
- b19a: function (e, t, r) {
- "use strict"
- var n = r("966d"),
- i =
- Object.keys ||
- function (e) {
- var t = []
- for (var r in e) t.push(r)
- return t
- }
- e.exports = f
- var o = Object.create(r("3a7c"))
- o.inherits = r("3fb5")
- var a = r("ad71"),
- s = r("dc14")
- o.inherits(f, a)
- for (var l = i(s.prototype), c = 0; c < l.length; c++) {
- var u = l[c]
- f.prototype[u] || (f.prototype[u] = s.prototype[u])
- }
- function f(e) {
- if (!(this instanceof f)) return new f(e)
- a.call(this, e),
- s.call(this, e),
- e && !1 === e.readable && (this.readable = !1),
- e && !1 === e.writable && (this.writable = !1),
- (this.allowHalfOpen = !0),
- e && !1 === e.allowHalfOpen && (this.allowHalfOpen = !1),
- this.once("end", p)
- }
- function p() {
- this.allowHalfOpen || this._writableState.ended || n.nextTick(d, this)
- }
- function d(e) {
- e.end()
- }
- Object.defineProperty(f.prototype, "writableHighWaterMark", {
- enumerable: !1,
- get: function () {
- return this._writableState.highWaterMark
- }
- }),
- Object.defineProperty(f.prototype, "destroyed", {
- get: function () {
- return (
- void 0 !== this._readableState && void 0 !== this._writableState && this._readableState.destroyed && this._writableState.destroyed
- )
- },
- set: function (e) {
- void 0 !== this._readableState &&
- void 0 !== this._writableState &&
- ((this._readableState.destroyed = e), (this._writableState.destroyed = e))
- }
- }),
- (f.prototype._destroy = function (e, t) {
- this.push(null), this.end(), n.nextTick(t, e)
- })
- },
- b622: function (e, t, r) {
- var n = r("da84"),
- i = r("5692"),
- o = r("5135"),
- a = r("90e3"),
- s = r("4930"),
- l = r("fdbf"),
- c = i("wks"),
- u = n.Symbol,
- f = l ? u : (u && u.withoutSetter) || a
- e.exports = function (e) {
- return (o(c, e) && (s || "string" == typeof c[e])) || (s && o(u, e) ? (c[e] = u[e]) : (c[e] = f("Symbol." + e))), c[e]
- }
- },
- b639: function (e, t, r) {
- "use strict"
- ;(function (e) {
- /*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <http://feross.org>
- * @license MIT
- */
- var n = r("1fb5"),
- i = r("9152"),
- o = r("e3db")
- function a() {
- try {
- var e = new Uint8Array(1)
- return (
- (e.__proto__ = {
- __proto__: Uint8Array.prototype,
- foo: function () {
- return 42
- }
- }),
- 42 === e.foo() && "function" === typeof e.subarray && 0 === e.subarray(1, 1).byteLength
- )
- } catch (t) {
- return !1
- }
- }
- function s() {
- return c.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823
- }
- function l(e, t) {
- if (s() < t) throw new RangeError("Invalid typed array length")
- return c.TYPED_ARRAY_SUPPORT ? ((e = new Uint8Array(t)), (e.__proto__ = c.prototype)) : (null === e && (e = new c(t)), (e.length = t)), e
- }
- function c(e, t, r) {
- if (!c.TYPED_ARRAY_SUPPORT && !(this instanceof c)) return new c(e, t, r)
- if ("number" === typeof e) {
- if ("string" === typeof t) throw new Error("If encoding is specified then the first argument must be a string")
- return d(this, e)
- }
- return u(this, e, t, r)
- }
- function u(e, t, r, n) {
- if ("number" === typeof t) throw new TypeError('"value" argument must not be a number')
- return "undefined" !== typeof ArrayBuffer && t instanceof ArrayBuffer ? g(e, t, r, n) : "string" === typeof t ? h(e, t, r) : y(e, t)
- }
- function f(e) {
- if ("number" !== typeof e) throw new TypeError('"size" argument must be a number')
- if (e < 0) throw new RangeError('"size" argument must not be negative')
- }
- function p(e, t, r, n) {
- return f(t), t <= 0 ? l(e, t) : void 0 !== r ? ("string" === typeof n ? l(e, t).fill(r, n) : l(e, t).fill(r)) : l(e, t)
- }
- function d(e, t) {
- if ((f(t), (e = l(e, t < 0 ? 0 : 0 | v(t))), !c.TYPED_ARRAY_SUPPORT)) for (var r = 0; r < t; ++r) e[r] = 0
- return e
- }
- function h(e, t, r) {
- if ((("string" === typeof r && "" !== r) || (r = "utf8"), !c.isEncoding(r)))
- throw new TypeError('"encoding" must be a valid string encoding')
- var n = 0 | w(t, r)
- e = l(e, n)
- var i = e.write(t, r)
- return i !== n && (e = e.slice(0, i)), e
- }
- function m(e, t) {
- var r = t.length < 0 ? 0 : 0 | v(t.length)
- e = l(e, r)
- for (var n = 0; n < r; n += 1) e[n] = 255 & t[n]
- return e
- }
- function g(e, t, r, n) {
- if ((t.byteLength, r < 0 || t.byteLength < r)) throw new RangeError("'offset' is out of bounds")
- if (t.byteLength < r + (n || 0)) throw new RangeError("'length' is out of bounds")
- return (
- (t = void 0 === r && void 0 === n ? new Uint8Array(t) : void 0 === n ? new Uint8Array(t, r) : new Uint8Array(t, r, n)),
- c.TYPED_ARRAY_SUPPORT ? ((e = t), (e.__proto__ = c.prototype)) : (e = m(e, t)),
- e
- )
- }
- function y(e, t) {
- if (c.isBuffer(t)) {
- var r = 0 | v(t.length)
- return (e = l(e, r)), 0 === e.length ? e : (t.copy(e, 0, 0, r), e)
- }
- if (t) {
- if (("undefined" !== typeof ArrayBuffer && t.buffer instanceof ArrayBuffer) || "length" in t)
- return "number" !== typeof t.length || te(t.length) ? l(e, 0) : m(e, t)
- if ("Buffer" === t.type && o(t.data)) return m(e, t.data)
- }
- throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")
- }
- function v(e) {
- if (e >= s()) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + s().toString(16) + " bytes")
- return 0 | e
- }
- function b(e) {
- return +e != e && (e = 0), c.alloc(+e)
- }
- function w(e, t) {
- if (c.isBuffer(e)) return e.length
- if ("undefined" !== typeof ArrayBuffer && "function" === typeof ArrayBuffer.isView && (ArrayBuffer.isView(e) || e instanceof ArrayBuffer))
- return e.byteLength
- "string" !== typeof e && (e = "" + e)
- var r = e.length
- if (0 === r) return 0
- for (var n = !1; ; )
- switch (t) {
- case "ascii":
- case "latin1":
- case "binary":
- return r
- case "utf8":
- case "utf-8":
- case void 0:
- return Z(e).length
- case "ucs2":
- case "ucs-2":
- case "utf16le":
- case "utf-16le":
- return 2 * r
- case "hex":
- return r >>> 1
- case "base64":
- return $(e).length
- default:
- if (n) return Z(e).length
- ;(t = ("" + t).toLowerCase()), (n = !0)
- }
- }
- function x(e, t, r) {
- var n = !1
- if (((void 0 === t || t < 0) && (t = 0), t > this.length)) return ""
- if (((void 0 === r || r > this.length) && (r = this.length), r <= 0)) return ""
- if (((r >>>= 0), (t >>>= 0), r <= t)) return ""
- e || (e = "utf8")
- while (1)
- switch (e) {
- case "hex":
- return D(this, t, r)
- case "utf8":
- case "utf-8":
- return j(this, t, r)
- case "ascii":
- return N(this, t, r)
- case "latin1":
- case "binary":
- return M(this, t, r)
- case "base64":
- return O(this, t, r)
- case "ucs2":
- case "ucs-2":
- case "utf16le":
- case "utf-16le":
- return B(this, t, r)
- default:
- if (n) throw new TypeError("Unknown encoding: " + e)
- ;(e = (e + "").toLowerCase()), (n = !0)
- }
- }
- function A(e, t, r) {
- var n = e[t]
- ;(e[t] = e[r]), (e[r] = n)
- }
- function _(e, t, r, n, i) {
- if (0 === e.length) return -1
- if (
- ("string" === typeof r ? ((n = r), (r = 0)) : r > 2147483647 ? (r = 2147483647) : r < -2147483648 && (r = -2147483648),
- (r = +r),
- isNaN(r) && (r = i ? 0 : e.length - 1),
- r < 0 && (r = e.length + r),
- r >= e.length)
- ) {
- if (i) return -1
- r = e.length - 1
- } else if (r < 0) {
- if (!i) return -1
- r = 0
- }
- if (("string" === typeof t && (t = c.from(t, n)), c.isBuffer(t))) return 0 === t.length ? -1 : T(e, t, r, n, i)
- if ("number" === typeof t)
- return (
- (t &= 255),
- c.TYPED_ARRAY_SUPPORT && "function" === typeof Uint8Array.prototype.indexOf
- ? i
- ? Uint8Array.prototype.indexOf.call(e, t, r)
- : Uint8Array.prototype.lastIndexOf.call(e, t, r)
- : T(e, [t], r, n, i)
- )
- throw new TypeError("val must be string, number or Buffer")
- }
- function T(e, t, r, n, i) {
- var o,
- a = 1,
- s = e.length,
- l = t.length
- if (void 0 !== n && ((n = String(n).toLowerCase()), "ucs2" === n || "ucs-2" === n || "utf16le" === n || "utf-16le" === n)) {
- if (e.length < 2 || t.length < 2) return -1
- ;(a = 2), (s /= 2), (l /= 2), (r /= 2)
- }
- function c(e, t) {
- return 1 === a ? e[t] : e.readUInt16BE(t * a)
- }
- if (i) {
- var u = -1
- for (o = r; o < s; o++)
- if (c(e, o) === c(t, -1 === u ? 0 : o - u)) {
- if ((-1 === u && (u = o), o - u + 1 === l)) return u * a
- } else -1 !== u && (o -= o - u), (u = -1)
- } else
- for (r + l > s && (r = s - l), o = r; o >= 0; o--) {
- for (var f = !0, p = 0; p < l; p++)
- if (c(e, o + p) !== c(t, p)) {
- f = !1
- break
- }
- if (f) return o
- }
- return -1
- }
- function E(e, t, r, n) {
- r = Number(r) || 0
- var i = e.length - r
- n ? ((n = Number(n)), n > i && (n = i)) : (n = i)
- var o = t.length
- if (o % 2 !== 0) throw new TypeError("Invalid hex string")
- n > o / 2 && (n = o / 2)
- for (var a = 0; a < n; ++a) {
- var s = parseInt(t.substr(2 * a, 2), 16)
- if (isNaN(s)) return a
- e[r + a] = s
- }
- return a
- }
- function S(e, t, r, n) {
- return ee(Z(t, e.length - r), e, r, n)
- }
- function C(e, t, r, n) {
- return ee(Q(t), e, r, n)
- }
- function k(e, t, r, n) {
- return C(e, t, r, n)
- }
- function L(e, t, r, n) {
- return ee($(t), e, r, n)
- }
- function P(e, t, r, n) {
- return ee(J(t, e.length - r), e, r, n)
- }
- function O(e, t, r) {
- return 0 === t && r === e.length ? n.fromByteArray(e) : n.fromByteArray(e.slice(t, r))
- }
- function j(e, t, r) {
- r = Math.min(e.length, r)
- var n = [],
- i = t
- while (i < r) {
- var o,
- a,
- s,
- l,
- c = e[i],
- u = null,
- f = c > 239 ? 4 : c > 223 ? 3 : c > 191 ? 2 : 1
- if (i + f <= r)
- switch (f) {
- case 1:
- c < 128 && (u = c)
- break
- case 2:
- ;(o = e[i + 1]), 128 === (192 & o) && ((l = ((31 & c) << 6) | (63 & o)), l > 127 && (u = l))
- break
- case 3:
- ;(o = e[i + 1]),
- (a = e[i + 2]),
- 128 === (192 & o) &&
- 128 === (192 & a) &&
- ((l = ((15 & c) << 12) | ((63 & o) << 6) | (63 & a)), l > 2047 && (l < 55296 || l > 57343) && (u = l))
- break
- case 4:
- ;(o = e[i + 1]),
- (a = e[i + 2]),
- (s = e[i + 3]),
- 128 === (192 & o) &&
- 128 === (192 & a) &&
- 128 === (192 & s) &&
- ((l = ((15 & c) << 18) | ((63 & o) << 12) | ((63 & a) << 6) | (63 & s)), l > 65535 && l < 1114112 && (u = l))
- }
- null === u ? ((u = 65533), (f = 1)) : u > 65535 && ((u -= 65536), n.push(((u >>> 10) & 1023) | 55296), (u = 56320 | (1023 & u))),
- n.push(u),
- (i += f)
- }
- return I(n)
- }
- ;(t.Buffer = c),
- (t.SlowBuffer = b),
- (t.INSPECT_MAX_BYTES = 50),
- (c.TYPED_ARRAY_SUPPORT = void 0 !== e.TYPED_ARRAY_SUPPORT ? e.TYPED_ARRAY_SUPPORT : a()),
- (t.kMaxLength = s()),
- (c.poolSize = 8192),
- (c._augment = function (e) {
- return (e.__proto__ = c.prototype), e
- }),
- (c.from = function (e, t, r) {
- return u(null, e, t, r)
- }),
- c.TYPED_ARRAY_SUPPORT &&
- ((c.prototype.__proto__ = Uint8Array.prototype),
- (c.__proto__ = Uint8Array),
- "undefined" !== typeof Symbol &&
- Symbol.species &&
- c[Symbol.species] === c &&
- Object.defineProperty(c, Symbol.species, {
- value: null,
- configurable: !0
- })),
- (c.alloc = function (e, t, r) {
- return p(null, e, t, r)
- }),
- (c.allocUnsafe = function (e) {
- return d(null, e)
- }),
- (c.allocUnsafeSlow = function (e) {
- return d(null, e)
- }),
- (c.isBuffer = function (e) {
- return !(null == e || !e._isBuffer)
- }),
- (c.compare = function (e, t) {
- if (!c.isBuffer(e) || !c.isBuffer(t)) throw new TypeError("Arguments must be Buffers")
- if (e === t) return 0
- for (var r = e.length, n = t.length, i = 0, o = Math.min(r, n); i < o; ++i)
- if (e[i] !== t[i]) {
- ;(r = e[i]), (n = t[i])
- break
- }
- return r < n ? -1 : n < r ? 1 : 0
- }),
- (c.isEncoding = function (e) {
- switch (String(e).toLowerCase()) {
- case "hex":
- case "utf8":
- case "utf-8":
- case "ascii":
- case "latin1":
- case "binary":
- case "base64":
- case "ucs2":
- case "ucs-2":
- case "utf16le":
- case "utf-16le":
- return !0
- default:
- return !1
- }
- }),
- (c.concat = function (e, t) {
- if (!o(e)) throw new TypeError('"list" argument must be an Array of Buffers')
- if (0 === e.length) return c.alloc(0)
- var r
- if (void 0 === t) for (t = 0, r = 0; r < e.length; ++r) t += e[r].length
- var n = c.allocUnsafe(t),
- i = 0
- for (r = 0; r < e.length; ++r) {
- var a = e[r]
- if (!c.isBuffer(a)) throw new TypeError('"list" argument must be an Array of Buffers')
- a.copy(n, i), (i += a.length)
- }
- return n
- }),
- (c.byteLength = w),
- (c.prototype._isBuffer = !0),
- (c.prototype.swap16 = function () {
- var e = this.length
- if (e % 2 !== 0) throw new RangeError("Buffer size must be a multiple of 16-bits")
- for (var t = 0; t < e; t += 2) A(this, t, t + 1)
- return this
- }),
- (c.prototype.swap32 = function () {
- var e = this.length
- if (e % 4 !== 0) throw new RangeError("Buffer size must be a multiple of 32-bits")
- for (var t = 0; t < e; t += 4) A(this, t, t + 3), A(this, t + 1, t + 2)
- return this
- }),
- (c.prototype.swap64 = function () {
- var e = this.length
- if (e % 8 !== 0) throw new RangeError("Buffer size must be a multiple of 64-bits")
- for (var t = 0; t < e; t += 8) A(this, t, t + 7), A(this, t + 1, t + 6), A(this, t + 2, t + 5), A(this, t + 3, t + 4)
- return this
- }),
- (c.prototype.toString = function () {
- var e = 0 | this.length
- return 0 === e ? "" : 0 === arguments.length ? j(this, 0, e) : x.apply(this, arguments)
- }),
- (c.prototype.equals = function (e) {
- if (!c.isBuffer(e)) throw new TypeError("Argument must be a Buffer")
- return this === e || 0 === c.compare(this, e)
- }),
- (c.prototype.inspect = function () {
- var e = "",
- r = t.INSPECT_MAX_BYTES
- return (
- this.length > 0 && ((e = this.toString("hex", 0, r).match(/.{2}/g).join(" ")), this.length > r && (e += " ... ")),
- "<Buffer " + e + ">"
- )
- }),
- (c.prototype.compare = function (e, t, r, n, i) {
- if (!c.isBuffer(e)) throw new TypeError("Argument must be a Buffer")
- if (
- (void 0 === t && (t = 0),
- void 0 === r && (r = e ? e.length : 0),
- void 0 === n && (n = 0),
- void 0 === i && (i = this.length),
- t < 0 || r > e.length || n < 0 || i > this.length)
- )
- throw new RangeError("out of range index")
- if (n >= i && t >= r) return 0
- if (n >= i) return -1
- if (t >= r) return 1
- if (((t >>>= 0), (r >>>= 0), (n >>>= 0), (i >>>= 0), this === e)) return 0
- for (var o = i - n, a = r - t, s = Math.min(o, a), l = this.slice(n, i), u = e.slice(t, r), f = 0; f < s; ++f)
- if (l[f] !== u[f]) {
- ;(o = l[f]), (a = u[f])
- break
- }
- return o < a ? -1 : a < o ? 1 : 0
- }),
- (c.prototype.includes = function (e, t, r) {
- return -1 !== this.indexOf(e, t, r)
- }),
- (c.prototype.indexOf = function (e, t, r) {
- return _(this, e, t, r, !0)
- }),
- (c.prototype.lastIndexOf = function (e, t, r) {
- return _(this, e, t, r, !1)
- }),
- (c.prototype.write = function (e, t, r, n) {
- if (void 0 === t) (n = "utf8"), (r = this.length), (t = 0)
- else if (void 0 === r && "string" === typeof t) (n = t), (r = this.length), (t = 0)
- else {
- if (!isFinite(t)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported")
- ;(t |= 0), isFinite(r) ? ((r |= 0), void 0 === n && (n = "utf8")) : ((n = r), (r = void 0))
- }
- var i = this.length - t
- if (((void 0 === r || r > i) && (r = i), (e.length > 0 && (r < 0 || t < 0)) || t > this.length))
- throw new RangeError("Attempt to write outside buffer bounds")
- n || (n = "utf8")
- for (var o = !1; ; )
- switch (n) {
- case "hex":
- return E(this, e, t, r)
- case "utf8":
- case "utf-8":
- return S(this, e, t, r)
- case "ascii":
- return C(this, e, t, r)
- case "latin1":
- case "binary":
- return k(this, e, t, r)
- case "base64":
- return L(this, e, t, r)
- case "ucs2":
- case "ucs-2":
- case "utf16le":
- case "utf-16le":
- return P(this, e, t, r)
- default:
- if (o) throw new TypeError("Unknown encoding: " + n)
- ;(n = ("" + n).toLowerCase()), (o = !0)
- }
- }),
- (c.prototype.toJSON = function () {
- return {
- type: "Buffer",
- data: Array.prototype.slice.call(this._arr || this, 0)
- }
- })
- var R = 4096
- function I(e) {
- var t = e.length
- if (t <= R) return String.fromCharCode.apply(String, e)
- var r = "",
- n = 0
- while (n < t) r += String.fromCharCode.apply(String, e.slice(n, (n += R)))
- return r
- }
- function N(e, t, r) {
- var n = ""
- r = Math.min(e.length, r)
- for (var i = t; i < r; ++i) n += String.fromCharCode(127 & e[i])
- return n
- }
- function M(e, t, r) {
- var n = ""
- r = Math.min(e.length, r)
- for (var i = t; i < r; ++i) n += String.fromCharCode(e[i])
- return n
- }
- function D(e, t, r) {
- var n = e.length
- ;(!t || t < 0) && (t = 0), (!r || r < 0 || r > n) && (r = n)
- for (var i = "", o = t; o < r; ++o) i += K(e[o])
- return i
- }
- function B(e, t, r) {
- for (var n = e.slice(t, r), i = "", o = 0; o < n.length; o += 2) i += String.fromCharCode(n[o] + 256 * n[o + 1])
- return i
- }
- function F(e, t, r) {
- if (e % 1 !== 0 || e < 0) throw new RangeError("offset is not uint")
- if (e + t > r) throw new RangeError("Trying to access beyond buffer length")
- }
- function U(e, t, r, n, i, o) {
- if (!c.isBuffer(e)) throw new TypeError('"buffer" argument must be a Buffer instance')
- if (t > i || t < o) throw new RangeError('"value" argument is out of bounds')
- if (r + n > e.length) throw new RangeError("Index out of range")
- }
- function z(e, t, r, n) {
- t < 0 && (t = 65535 + t + 1)
- for (var i = 0, o = Math.min(e.length - r, 2); i < o; ++i) e[r + i] = (t & (255 << (8 * (n ? i : 1 - i)))) >>> (8 * (n ? i : 1 - i))
- }
- function q(e, t, r, n) {
- t < 0 && (t = 4294967295 + t + 1)
- for (var i = 0, o = Math.min(e.length - r, 4); i < o; ++i) e[r + i] = (t >>> (8 * (n ? i : 3 - i))) & 255
- }
- function G(e, t, r, n, i, o) {
- if (r + n > e.length) throw new RangeError("Index out of range")
- if (r < 0) throw new RangeError("Index out of range")
- }
- function W(e, t, r, n, o) {
- return o || G(e, t, r, 4, 34028234663852886e22, -34028234663852886e22), i.write(e, t, r, n, 23, 4), r + 4
- }
- function V(e, t, r, n, o) {
- return o || G(e, t, r, 8, 17976931348623157e292, -17976931348623157e292), i.write(e, t, r, n, 52, 8), r + 8
- }
- ;(c.prototype.slice = function (e, t) {
- var r,
- n = this.length
- if (
- ((e = ~~e),
- (t = void 0 === t ? n : ~~t),
- e < 0 ? ((e += n), e < 0 && (e = 0)) : e > n && (e = n),
- t < 0 ? ((t += n), t < 0 && (t = 0)) : t > n && (t = n),
- t < e && (t = e),
- c.TYPED_ARRAY_SUPPORT)
- )
- (r = this.subarray(e, t)), (r.__proto__ = c.prototype)
- else {
- var i = t - e
- r = new c(i, void 0)
- for (var o = 0; o < i; ++o) r[o] = this[o + e]
- }
- return r
- }),
- (c.prototype.readUIntLE = function (e, t, r) {
- ;(e |= 0), (t |= 0), r || F(e, t, this.length)
- var n = this[e],
- i = 1,
- o = 0
- while (++o < t && (i *= 256)) n += this[e + o] * i
- return n
- }),
- (c.prototype.readUIntBE = function (e, t, r) {
- ;(e |= 0), (t |= 0), r || F(e, t, this.length)
- var n = this[e + --t],
- i = 1
- while (t > 0 && (i *= 256)) n += this[e + --t] * i
- return n
- }),
- (c.prototype.readUInt8 = function (e, t) {
- return t || F(e, 1, this.length), this[e]
- }),
- (c.prototype.readUInt16LE = function (e, t) {
- return t || F(e, 2, this.length), this[e] | (this[e + 1] << 8)
- }),
- (c.prototype.readUInt16BE = function (e, t) {
- return t || F(e, 2, this.length), (this[e] << 8) | this[e + 1]
- }),
- (c.prototype.readUInt32LE = function (e, t) {
- return t || F(e, 4, this.length), (this[e] | (this[e + 1] << 8) | (this[e + 2] << 16)) + 16777216 * this[e + 3]
- }),
- (c.prototype.readUInt32BE = function (e, t) {
- return t || F(e, 4, this.length), 16777216 * this[e] + ((this[e + 1] << 16) | (this[e + 2] << 8) | this[e + 3])
- }),
- (c.prototype.readIntLE = function (e, t, r) {
- ;(e |= 0), (t |= 0), r || F(e, t, this.length)
- var n = this[e],
- i = 1,
- o = 0
- while (++o < t && (i *= 256)) n += this[e + o] * i
- return (i *= 128), n >= i && (n -= Math.pow(2, 8 * t)), n
- }),
- (c.prototype.readIntBE = function (e, t, r) {
- ;(e |= 0), (t |= 0), r || F(e, t, this.length)
- var n = t,
- i = 1,
- o = this[e + --n]
- while (n > 0 && (i *= 256)) o += this[e + --n] * i
- return (i *= 128), o >= i && (o -= Math.pow(2, 8 * t)), o
- }),
- (c.prototype.readInt8 = function (e, t) {
- return t || F(e, 1, this.length), 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e]
- }),
- (c.prototype.readInt16LE = function (e, t) {
- t || F(e, 2, this.length)
- var r = this[e] | (this[e + 1] << 8)
- return 32768 & r ? 4294901760 | r : r
- }),
- (c.prototype.readInt16BE = function (e, t) {
- t || F(e, 2, this.length)
- var r = this[e + 1] | (this[e] << 8)
- return 32768 & r ? 4294901760 | r : r
- }),
- (c.prototype.readInt32LE = function (e, t) {
- return t || F(e, 4, this.length), this[e] | (this[e + 1] << 8) | (this[e + 2] << 16) | (this[e + 3] << 24)
- }),
- (c.prototype.readInt32BE = function (e, t) {
- return t || F(e, 4, this.length), (this[e] << 24) | (this[e + 1] << 16) | (this[e + 2] << 8) | this[e + 3]
- }),
- (c.prototype.readFloatLE = function (e, t) {
- return t || F(e, 4, this.length), i.read(this, e, !0, 23, 4)
- }),
- (c.prototype.readFloatBE = function (e, t) {
- return t || F(e, 4, this.length), i.read(this, e, !1, 23, 4)
- }),
- (c.prototype.readDoubleLE = function (e, t) {
- return t || F(e, 8, this.length), i.read(this, e, !0, 52, 8)
- }),
- (c.prototype.readDoubleBE = function (e, t) {
- return t || F(e, 8, this.length), i.read(this, e, !1, 52, 8)
- }),
- (c.prototype.writeUIntLE = function (e, t, r, n) {
- if (((e = +e), (t |= 0), (r |= 0), !n)) {
- var i = Math.pow(2, 8 * r) - 1
- U(this, e, t, r, i, 0)
- }
- var o = 1,
- a = 0
- this[t] = 255 & e
- while (++a < r && (o *= 256)) this[t + a] = (e / o) & 255
- return t + r
- }),
- (c.prototype.writeUIntBE = function (e, t, r, n) {
- if (((e = +e), (t |= 0), (r |= 0), !n)) {
- var i = Math.pow(2, 8 * r) - 1
- U(this, e, t, r, i, 0)
- }
- var o = r - 1,
- a = 1
- this[t + o] = 255 & e
- while (--o >= 0 && (a *= 256)) this[t + o] = (e / a) & 255
- return t + r
- }),
- (c.prototype.writeUInt8 = function (e, t, r) {
- return (e = +e), (t |= 0), r || U(this, e, t, 1, 255, 0), c.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), (this[t] = 255 & e), t + 1
- }),
- (c.prototype.writeUInt16LE = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || U(this, e, t, 2, 65535, 0),
- c.TYPED_ARRAY_SUPPORT ? ((this[t] = 255 & e), (this[t + 1] = e >>> 8)) : z(this, e, t, !0),
- t + 2
- )
- }),
- (c.prototype.writeUInt16BE = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || U(this, e, t, 2, 65535, 0),
- c.TYPED_ARRAY_SUPPORT ? ((this[t] = e >>> 8), (this[t + 1] = 255 & e)) : z(this, e, t, !1),
- t + 2
- )
- }),
- (c.prototype.writeUInt32LE = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || U(this, e, t, 4, 4294967295, 0),
- c.TYPED_ARRAY_SUPPORT
- ? ((this[t + 3] = e >>> 24), (this[t + 2] = e >>> 16), (this[t + 1] = e >>> 8), (this[t] = 255 & e))
- : q(this, e, t, !0),
- t + 4
- )
- }),
- (c.prototype.writeUInt32BE = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || U(this, e, t, 4, 4294967295, 0),
- c.TYPED_ARRAY_SUPPORT
- ? ((this[t] = e >>> 24), (this[t + 1] = e >>> 16), (this[t + 2] = e >>> 8), (this[t + 3] = 255 & e))
- : q(this, e, t, !1),
- t + 4
- )
- }),
- (c.prototype.writeIntLE = function (e, t, r, n) {
- if (((e = +e), (t |= 0), !n)) {
- var i = Math.pow(2, 8 * r - 1)
- U(this, e, t, r, i - 1, -i)
- }
- var o = 0,
- a = 1,
- s = 0
- this[t] = 255 & e
- while (++o < r && (a *= 256)) e < 0 && 0 === s && 0 !== this[t + o - 1] && (s = 1), (this[t + o] = (((e / a) >> 0) - s) & 255)
- return t + r
- }),
- (c.prototype.writeIntBE = function (e, t, r, n) {
- if (((e = +e), (t |= 0), !n)) {
- var i = Math.pow(2, 8 * r - 1)
- U(this, e, t, r, i - 1, -i)
- }
- var o = r - 1,
- a = 1,
- s = 0
- this[t + o] = 255 & e
- while (--o >= 0 && (a *= 256)) e < 0 && 0 === s && 0 !== this[t + o + 1] && (s = 1), (this[t + o] = (((e / a) >> 0) - s) & 255)
- return t + r
- }),
- (c.prototype.writeInt8 = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || U(this, e, t, 1, 127, -128),
- c.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)),
- e < 0 && (e = 255 + e + 1),
- (this[t] = 255 & e),
- t + 1
- )
- }),
- (c.prototype.writeInt16LE = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || U(this, e, t, 2, 32767, -32768),
- c.TYPED_ARRAY_SUPPORT ? ((this[t] = 255 & e), (this[t + 1] = e >>> 8)) : z(this, e, t, !0),
- t + 2
- )
- }),
- (c.prototype.writeInt16BE = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || U(this, e, t, 2, 32767, -32768),
- c.TYPED_ARRAY_SUPPORT ? ((this[t] = e >>> 8), (this[t + 1] = 255 & e)) : z(this, e, t, !1),
- t + 2
- )
- }),
- (c.prototype.writeInt32LE = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || U(this, e, t, 4, 2147483647, -2147483648),
- c.TYPED_ARRAY_SUPPORT
- ? ((this[t] = 255 & e), (this[t + 1] = e >>> 8), (this[t + 2] = e >>> 16), (this[t + 3] = e >>> 24))
- : q(this, e, t, !0),
- t + 4
- )
- }),
- (c.prototype.writeInt32BE = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || U(this, e, t, 4, 2147483647, -2147483648),
- e < 0 && (e = 4294967295 + e + 1),
- c.TYPED_ARRAY_SUPPORT
- ? ((this[t] = e >>> 24), (this[t + 1] = e >>> 16), (this[t + 2] = e >>> 8), (this[t + 3] = 255 & e))
- : q(this, e, t, !1),
- t + 4
- )
- }),
- (c.prototype.writeFloatLE = function (e, t, r) {
- return W(this, e, t, !0, r)
- }),
- (c.prototype.writeFloatBE = function (e, t, r) {
- return W(this, e, t, !1, r)
- }),
- (c.prototype.writeDoubleLE = function (e, t, r) {
- return V(this, e, t, !0, r)
- }),
- (c.prototype.writeDoubleBE = function (e, t, r) {
- return V(this, e, t, !1, r)
- }),
- (c.prototype.copy = function (e, t, r, n) {
- if (
- (r || (r = 0), n || 0 === n || (n = this.length), t >= e.length && (t = e.length), t || (t = 0), n > 0 && n < r && (n = r), n === r)
- )
- return 0
- if (0 === e.length || 0 === this.length) return 0
- if (t < 0) throw new RangeError("targetStart out of bounds")
- if (r < 0 || r >= this.length) throw new RangeError("sourceStart out of bounds")
- if (n < 0) throw new RangeError("sourceEnd out of bounds")
- n > this.length && (n = this.length), e.length - t < n - r && (n = e.length - t + r)
- var i,
- o = n - r
- if (this === e && r < t && t < n) for (i = o - 1; i >= 0; --i) e[i + t] = this[i + r]
- else if (o < 1e3 || !c.TYPED_ARRAY_SUPPORT) for (i = 0; i < o; ++i) e[i + t] = this[i + r]
- else Uint8Array.prototype.set.call(e, this.subarray(r, r + o), t)
- return o
- }),
- (c.prototype.fill = function (e, t, r, n) {
- if ("string" === typeof e) {
- if (
- ("string" === typeof t ? ((n = t), (t = 0), (r = this.length)) : "string" === typeof r && ((n = r), (r = this.length)),
- 1 === e.length)
- ) {
- var i = e.charCodeAt(0)
- i < 256 && (e = i)
- }
- if (void 0 !== n && "string" !== typeof n) throw new TypeError("encoding must be a string")
- if ("string" === typeof n && !c.isEncoding(n)) throw new TypeError("Unknown encoding: " + n)
- } else "number" === typeof e && (e &= 255)
- if (t < 0 || this.length < t || this.length < r) throw new RangeError("Out of range index")
- if (r <= t) return this
- var o
- if (((t >>>= 0), (r = void 0 === r ? this.length : r >>> 0), e || (e = 0), "number" === typeof e)) for (o = t; o < r; ++o) this[o] = e
- else {
- var a = c.isBuffer(e) ? e : Z(new c(e, n).toString()),
- s = a.length
- for (o = 0; o < r - t; ++o) this[o + t] = a[o % s]
- }
- return this
- })
- var H = /[^+\/0-9A-Za-z-_]/g
- function X(e) {
- if (((e = Y(e).replace(H, "")), e.length < 2)) return ""
- while (e.length % 4 !== 0) e += "="
- return e
- }
- function Y(e) {
- return e.trim ? e.trim() : e.replace(/^\s+|\s+$/g, "")
- }
- function K(e) {
- return e < 16 ? "0" + e.toString(16) : e.toString(16)
- }
- function Z(e, t) {
- var r
- t = t || 1 / 0
- for (var n = e.length, i = null, o = [], a = 0; a < n; ++a) {
- if (((r = e.charCodeAt(a)), r > 55295 && r < 57344)) {
- if (!i) {
- if (r > 56319) {
- ;(t -= 3) > -1 && o.push(239, 191, 189)
- continue
- }
- if (a + 1 === n) {
- ;(t -= 3) > -1 && o.push(239, 191, 189)
- continue
- }
- i = r
- continue
- }
- if (r < 56320) {
- ;(t -= 3) > -1 && o.push(239, 191, 189), (i = r)
- continue
- }
- r = 65536 + (((i - 55296) << 10) | (r - 56320))
- } else i && (t -= 3) > -1 && o.push(239, 191, 189)
- if (((i = null), r < 128)) {
- if ((t -= 1) < 0) break
- o.push(r)
- } else if (r < 2048) {
- if ((t -= 2) < 0) break
- o.push((r >> 6) | 192, (63 & r) | 128)
- } else if (r < 65536) {
- if ((t -= 3) < 0) break
- o.push((r >> 12) | 224, ((r >> 6) & 63) | 128, (63 & r) | 128)
- } else {
- if (!(r < 1114112)) throw new Error("Invalid code point")
- if ((t -= 4) < 0) break
- o.push((r >> 18) | 240, ((r >> 12) & 63) | 128, ((r >> 6) & 63) | 128, (63 & r) | 128)
- }
- }
- return o
- }
- function Q(e) {
- for (var t = [], r = 0; r < e.length; ++r) t.push(255 & e.charCodeAt(r))
- return t
- }
- function J(e, t) {
- for (var r, n, i, o = [], a = 0; a < e.length; ++a) {
- if ((t -= 2) < 0) break
- ;(r = e.charCodeAt(a)), (n = r >> 8), (i = r % 256), o.push(i), o.push(n)
- }
- return o
- }
- function $(e) {
- return n.toByteArray(X(e))
- }
- function ee(e, t, r, n) {
- for (var i = 0; i < n; ++i) {
- if (i + r >= t.length || i >= e.length) break
- t[i + r] = e[i]
- }
- return i
- }
- function te(e) {
- return e !== e
- }
- }).call(this, r("c8ba"))
- },
- b64b: function (e, t, r) {
- var n = r("23e7"),
- i = r("7b0b"),
- o = r("df75"),
- a = r("d039"),
- s = a(function () {
- o(1)
- })
- n(
- {
- target: "Object",
- stat: !0,
- forced: s
- },
- {
- keys: function (e) {
- return o(i(e))
- }
- }
- )
- },
- b727: function (e, t, r) {
- var n = r("0366"),
- i = r("44ad"),
- o = r("7b0b"),
- a = r("50c4"),
- s = r("65f0"),
- l = [].push,
- c = function (e) {
- var t = 1 == e,
- r = 2 == e,
- c = 3 == e,
- u = 4 == e,
- f = 6 == e,
- p = 7 == e,
- d = 5 == e || f
- return function (h, m, g, y) {
- for (
- var v, b, w = o(h), x = i(w), A = n(m, g, 3), _ = a(x.length), T = 0, E = y || s, S = t ? E(h, _) : r || p ? E(h, 0) : void 0;
- _ > T;
- T++
- )
- if ((d || T in x) && ((v = x[T]), (b = A(v, T, w)), e))
- if (t) S[T] = b
- else if (b)
- switch (e) {
- case 3:
- return !0
- case 5:
- return v
- case 6:
- return T
- case 2:
- l.call(S, v)
- }
- else
- switch (e) {
- case 4:
- return !1
- case 7:
- l.call(S, v)
- }
- return f ? -1 : c || u ? u : S
- }
- }
- e.exports = {
- forEach: c(0),
- map: c(1),
- filter: c(2),
- some: c(3),
- every: c(4),
- find: c(5),
- findIndex: c(6),
- filterReject: c(7)
- }
- },
- b7d1: function (e, t, r) {
- ;(function (t) {
- function r(e, t) {
- if (n("noDeprecation")) return e
- var r = !1
- function i() {
- if (!r) {
- if (n("throwDeprecation")) throw new Error(t)
- n("traceDeprecation") ? console.trace(t) : console.warn(t), (r = !0)
- }
- return e.apply(this, arguments)
- }
- return i
- }
- function n(e) {
- try {
- if (!t.localStorage) return !1
- } catch (n) {
- return !1
- }
- var r = t.localStorage[e]
- return null != r && "true" === String(r).toLowerCase()
- }
- e.exports = r
- }).call(this, r("c8ba"))
- },
- c04e: function (e, t, r) {
- var n = r("861d"),
- i = r("d9b5"),
- o = r("485a"),
- a = r("b622"),
- s = a("toPrimitive")
- e.exports = function (e, t) {
- if (!n(e) || i(e)) return e
- var r,
- a = e[s]
- if (void 0 !== a) {
- if ((void 0 === t && (t = "default"), (r = a.call(e, t)), !n(r) || i(r))) return r
- throw TypeError("Can't convert object to primitive value")
- }
- return void 0 === t && (t = "number"), o(e, t)
- }
- },
- c2ae: function (e, t, r) {
- e.exports = r("e372").PassThrough
- },
- c430: function (e, t) {
- e.exports = !1
- },
- c4e3: function (e, t, r) {
- ;(function (t, r, n) {
- var i
- !(function (t) {
- e.exports = t()
- })(function () {
- return (function e(t, r, n) {
- function o(s, l) {
- if (!r[s]) {
- if (!t[s]) {
- var c = "function" == typeof i && i
- if (!l && c) return i(s, !0)
- if (a) return a(s, !0)
- var u = new Error("Cannot find module '" + s + "'")
- throw ((u.code = "MODULE_NOT_FOUND"), u)
- }
- var f = (r[s] = {
- exports: {}
- })
- t[s][0].call(
- f.exports,
- function (e) {
- var r = t[s][1][e]
- return o(r || e)
- },
- f,
- f.exports,
- e,
- t,
- r,
- n
- )
- }
- return r[s].exports
- }
- for (var a = "function" == typeof i && i, s = 0; s < n.length; s++) o(n[s])
- return o
- })(
- {
- 1: [
- function (e, t, r) {
- "use strict"
- var n = e("./utils"),
- i = e("./support"),
- o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
- ;(r.encode = function (e) {
- for (var t, r, i, a, s, l, c, u = [], f = 0, p = e.length, d = p, h = "string" !== n.getTypeOf(e); f < e.length; )
- (d = p - f),
- (i = h
- ? ((t = e[f++]), (r = f < p ? e[f++] : 0), f < p ? e[f++] : 0)
- : ((t = e.charCodeAt(f++)), (r = f < p ? e.charCodeAt(f++) : 0), f < p ? e.charCodeAt(f++) : 0)),
- (a = t >> 2),
- (s = ((3 & t) << 4) | (r >> 4)),
- (l = 1 < d ? ((15 & r) << 2) | (i >> 6) : 64),
- (c = 2 < d ? 63 & i : 64),
- u.push(o.charAt(a) + o.charAt(s) + o.charAt(l) + o.charAt(c))
- return u.join("")
- }),
- (r.decode = function (e) {
- var t,
- r,
- n,
- a,
- s,
- l,
- c = 0,
- u = 0,
- f = "data:"
- if (e.substr(0, f.length) === f) throw new Error("Invalid base64 input, it looks like a data url.")
- var p,
- d = (3 * (e = e.replace(/[^A-Za-z0-9+/=]/g, "")).length) / 4
- if ((e.charAt(e.length - 1) === o.charAt(64) && d--, e.charAt(e.length - 2) === o.charAt(64) && d--, d % 1 != 0))
- throw new Error("Invalid base64 input, bad content length.")
- for (p = i.uint8array ? new Uint8Array(0 | d) : new Array(0 | d); c < e.length; )
- (t = (o.indexOf(e.charAt(c++)) << 2) | ((a = o.indexOf(e.charAt(c++))) >> 4)),
- (r = ((15 & a) << 4) | ((s = o.indexOf(e.charAt(c++))) >> 2)),
- (n = ((3 & s) << 6) | (l = o.indexOf(e.charAt(c++)))),
- (p[u++] = t),
- 64 !== s && (p[u++] = r),
- 64 !== l && (p[u++] = n)
- return p
- })
- },
- {
- "./support": 30,
- "./utils": 32
- }
- ],
- 2: [
- function (e, t, r) {
- "use strict"
- var n = e("./external"),
- i = e("./stream/DataWorker"),
- o = e("./stream/Crc32Probe"),
- a = e("./stream/DataLengthProbe")
- function s(e, t, r, n, i) {
- ;(this.compressedSize = e),
- (this.uncompressedSize = t),
- (this.crc32 = r),
- (this.compression = n),
- (this.compressedContent = i)
- }
- ;(s.prototype = {
- getContentWorker: function () {
- var e = new i(n.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 new Error("Bug : uncompressed data size mismatch")
- }),
- e
- )
- },
- getCompressedWorker: function () {
- return new i(n.Promise.resolve(this.compressedContent))
- .withStreamInfo("compressedSize", this.compressedSize)
- .withStreamInfo("uncompressedSize", this.uncompressedSize)
- .withStreamInfo("crc32", this.crc32)
- .withStreamInfo("compression", this.compression)
- }
- }),
- (s.createWorkerFrom = function (e, t, r) {
- return e
- .pipe(new o())
- .pipe(new a("uncompressedSize"))
- .pipe(t.compressWorker(r))
- .pipe(new a("compressedSize"))
- .withStreamInfo("compression", t)
- }),
- (t.exports = s)
- },
- {
- "./external": 6,
- "./stream/Crc32Probe": 25,
- "./stream/DataLengthProbe": 26,
- "./stream/DataWorker": 27
- }
- ],
- 3: [
- function (e, t, r) {
- "use strict"
- var n = e("./stream/GenericWorker")
- ;(r.STORE = {
- magic: "\0\0",
- compressWorker: function () {
- return new n("STORE compression")
- },
- uncompressWorker: function () {
- return new n("STORE decompression")
- }
- }),
- (r.DEFLATE = e("./flate"))
- },
- {
- "./flate": 7,
- "./stream/GenericWorker": 28
- }
- ],
- 4: [
- function (e, t, r) {
- "use strict"
- var n = e("./utils"),
- i = (function () {
- for (var e, t = [], r = 0; r < 256; r++) {
- e = r
- for (var n = 0; n < 8; n++) 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" !== n.getTypeOf(e)
- ? (function (e, t, r, n) {
- var o = i,
- a = n + r
- e ^= -1
- for (var s = n; s < a; s++) e = (e >>> 8) ^ o[255 & (e ^ t[s])]
- return -1 ^ e
- })(0 | t, e, e.length, 0)
- : (function (e, t, r, n) {
- var o = i,
- a = n + r
- e ^= -1
- for (var s = n; s < a; s++) e = (e >>> 8) ^ o[255 & (e ^ t.charCodeAt(s))]
- 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 n = null
- ;(n = "undefined" != typeof Promise ? Promise : e("lie")),
- (t.exports = {
- Promise: n
- })
- },
- {
- lie: 37
- }
- ],
- 7: [
- function (e, t, r) {
- "use strict"
- var n = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Uint32Array,
- i = e("pako"),
- o = e("./utils"),
- a = e("./stream/GenericWorker"),
- s = n ? "uint8array" : "array"
- function l(e, t) {
- a.call(this, "FlateWorker/" + e), (this._pako = null), (this._pakoAction = e), (this._pakoOptions = t), (this.meta = {})
- }
- ;(r.magic = "\b\0"),
- o.inherits(l, a),
- (l.prototype.processChunk = function (e) {
- ;(this.meta = e.meta), null === this._pako && this._createPako(), this._pako.push(o.transformTo(s, e.data), !1)
- }),
- (l.prototype.flush = function () {
- a.prototype.flush.call(this), null === this._pako && this._createPako(), this._pako.push([], !0)
- }),
- (l.prototype.cleanUp = function () {
- a.prototype.cleanUp.call(this), (this._pako = null)
- }),
- (l.prototype._createPako = function () {
- this._pako = new i[this._pakoAction]({
- raw: !0,
- level: this._pakoOptions.level || -1
- })
- var e = this
- this._pako.onData = function (t) {
- e.push({
- data: t,
- meta: e.meta
- })
- }
- }),
- (r.compressWorker = function (e) {
- return new l("Deflate", e)
- }),
- (r.uncompressWorker = function () {
- return new l("Inflate", {})
- })
- },
- {
- "./stream/GenericWorker": 28,
- "./utils": 32,
- pako: 38
- }
- ],
- 8: [
- function (e, t, r) {
- "use strict"
- function n(e, t) {
- var r,
- n = ""
- for (r = 0; r < t; r++) (n += String.fromCharCode(255 & e)), (e >>>= 8)
- return n
- }
- function i(e, t, r, i, a, u) {
- var f,
- p,
- d = e.file,
- h = e.compression,
- m = u !== s.utf8encode,
- g = o.transformTo("string", u(d.name)),
- y = o.transformTo("string", s.utf8encode(d.name)),
- v = d.comment,
- b = o.transformTo("string", u(v)),
- w = o.transformTo("string", s.utf8encode(v)),
- x = y.length !== d.name.length,
- A = w.length !== v.length,
- _ = "",
- T = "",
- E = "",
- S = d.dir,
- C = d.date,
- k = {
- crc32: 0,
- compressedSize: 0,
- uncompressedSize: 0
- }
- ;(t && !r) || ((k.crc32 = e.crc32), (k.compressedSize = e.compressedSize), (k.uncompressedSize = e.uncompressedSize))
- var L = 0
- t && (L |= 8), m || (!x && !A) || (L |= 2048)
- var P = 0,
- O = 0
- S && (P |= 16),
- "UNIX" === a
- ? ((O = 798),
- (P |= (function (e, t) {
- var r = e
- return e || (r = t ? 16893 : 33204), (65535 & r) << 16
- })(d.unixPermissions, S)))
- : ((O = 20),
- (P |= (function (e) {
- return 63 & (e || 0)
- })(d.dosPermissions))),
- (f = C.getUTCHours()),
- (f <<= 6),
- (f |= C.getUTCMinutes()),
- (f <<= 5),
- (f |= C.getUTCSeconds() / 2),
- (p = C.getUTCFullYear() - 1980),
- (p <<= 4),
- (p |= C.getUTCMonth() + 1),
- (p <<= 5),
- (p |= C.getUTCDate()),
- x && ((T = n(1, 1) + n(l(g), 4) + y), (_ += "up" + n(T.length, 2) + T)),
- A && ((E = n(1, 1) + n(l(b), 4) + w), (_ += "uc" + n(E.length, 2) + E))
- var j = ""
- return (
- (j += "\n\0"),
- (j += n(L, 2)),
- (j += h.magic),
- (j += n(f, 2)),
- (j += n(p, 2)),
- (j += n(k.crc32, 4)),
- (j += n(k.compressedSize, 4)),
- (j += n(k.uncompressedSize, 4)),
- (j += n(g.length, 2)),
- (j += n(_.length, 2)),
- {
- fileRecord: c.LOCAL_FILE_HEADER + j + g + _,
- dirRecord: c.CENTRAL_FILE_HEADER + n(O, 2) + j + n(b.length, 2) + "\0\0\0\0" + n(P, 4) + n(i, 4) + g + _ + b
- }
- )
- }
- var o = e("../utils"),
- a = e("../stream/GenericWorker"),
- s = e("../utf8"),
- l = e("../crc32"),
- c = e("../signature")
- function u(e, t, r, n) {
- a.call(this, "ZipFileWorker"),
- (this.bytesWritten = 0),
- (this.zipComment = t),
- (this.zipPlatform = r),
- (this.encodeFileName = n),
- (this.streamFiles = e),
- (this.accumulate = !1),
- (this.contentBuffer = []),
- (this.dirRecords = []),
- (this.currentSourceOffset = 0),
- (this.entriesCount = 0),
- (this.currentFile = null),
- (this._sources = [])
- }
- o.inherits(u, a),
- (u.prototype.push = function (e) {
- var t = e.meta.percent || 0,
- r = this.entriesCount,
- n = this._sources.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 - n - 1)) / r : 100
- }
- }))
- }),
- (u.prototype.openedSource = function (e) {
- ;(this.currentSourceOffset = this.bytesWritten), (this.currentFile = e.file.name)
- var t = this.streamFiles && !e.file.dir
- if (t) {
- var r = i(e, t, !1, this.currentSourceOffset, this.zipPlatform, this.encodeFileName)
- this.push({
- data: r.fileRecord,
- meta: {
- percent: 0
- }
- })
- } else this.accumulate = !0
- }),
- (u.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 + n(e.crc32, 4) + n(e.compressedSize, 4) + n(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
- }),
- (u.prototype.flush = function () {
- for (var e = this.bytesWritten, t = 0; t < this.dirRecords.length; t++)
- this.push({
- data: this.dirRecords[t],
- meta: {
- percent: 100
- }
- })
- var r = this.bytesWritten - e,
- i = (function (e, t, r, i, a) {
- var s = o.transformTo("string", a(i))
- return c.CENTRAL_DIRECTORY_END + "\0\0\0\0" + n(e, 2) + n(e, 2) + n(t, 4) + n(r, 4) + n(s.length, 2) + s
- })(this.dirRecords.length, r, e, this.zipComment, this.encodeFileName)
- this.push({
- data: i,
- meta: {
- percent: 100
- }
- })
- }),
- (u.prototype.prepareNextSource = function () {
- ;(this.previous = this._sources.shift()),
- this.openedSource(this.previous.streamInfo),
- this.isPaused ? this.previous.pause() : this.previous.resume()
- }),
- (u.prototype.registerPrevious = function (e) {
- this._sources.push(e)
- var t = this
- return (
- e.on("data", function (e) {
- t.processChunk(e)
- }),
- e.on("end", function () {
- t.closedSource(t.previous.streamInfo), t._sources.length ? t.prepareNextSource() : t.end()
- }),
- e.on("error", function (e) {
- t.error(e)
- }),
- this
- )
- }),
- (u.prototype.resume = function () {
- return (
- !!a.prototype.resume.call(this) &&
- (!this.previous && this._sources.length
- ? (this.prepareNextSource(), !0)
- : this.previous || this._sources.length || this.generatedError
- ? void 0
- : (this.end(), !0))
- )
- }),
- (u.prototype.error = function (e) {
- var t = this._sources
- if (!a.prototype.error.call(this, e)) return !1
- for (var r = 0; r < t.length; r++)
- try {
- t[r].error(e)
- } catch (e) {}
- return !0
- }),
- (u.prototype.lock = function () {
- a.prototype.lock.call(this)
- for (var e = this._sources, t = 0; t < e.length; t++) e[t].lock()
- }),
- (t.exports = u)
- },
- {
- "../crc32": 4,
- "../signature": 23,
- "../stream/GenericWorker": 28,
- "../utf8": 31,
- "../utils": 32
- }
- ],
- 9: [
- function (e, t, r) {
- "use strict"
- var n = e("../compressions"),
- i = e("./ZipFileWorker")
- r.generateWorker = function (e, t, r) {
- var o = 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 = n[r]
- if (!i) throw new Error(r + " is not a valid compression method !")
- return i
- })(r.options.compression, t.compression),
- s = r.options.compressionOptions || t.compressionOptions || {},
- l = r.dir,
- c = r.date
- r._compressWorker(i, s)
- .withStreamInfo("file", {
- name: e,
- dir: l,
- date: c,
- comment: r.comment || "",
- unixPermissions: r.unixPermissions,
- dosPermissions: r.dosPermissions
- })
- .pipe(o)
- }),
- (o.entriesCount = a)
- } catch (e) {
- o.error(e)
- }
- return o
- }
- },
- {
- "../compressions": 3,
- "./ZipFileWorker": 8
- }
- ],
- 10: [
- function (e, t, r) {
- "use strict"
- function n() {
- if (!(this instanceof n)) return new n()
- if (arguments.length)
- throw new 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 = new n()
- for (var t in this) "function" != typeof this[t] && (e[t] = this[t])
- return e
- })
- }
- ;((n.prototype = e("./object")).loadAsync = e("./load")),
- (n.support = e("./support")),
- (n.defaults = e("./defaults")),
- (n.version = "3.10.1"),
- (n.loadAsync = function (e, t) {
- return new n().loadAsync(e, t)
- }),
- (n.external = e("./external")),
- (t.exports = n)
- },
- {
- "./defaults": 5,
- "./external": 6,
- "./load": 11,
- "./object": 15,
- "./support": 30
- }
- ],
- 11: [
- function (e, t, r) {
- "use strict"
- var n = e("./utils"),
- i = e("./external"),
- o = e("./utf8"),
- a = e("./zipEntries"),
- s = e("./stream/Crc32Probe"),
- l = e("./nodejsUtils")
- function c(e) {
- return new i.Promise(function (t, r) {
- var n = e.decompressed.getContentWorker().pipe(new s())
- n.on("error", function (e) {
- r(e)
- })
- .on("end", function () {
- n.streamInfo.crc32 !== e.decompressed.crc32 ? r(new Error("Corrupted zip : CRC32 mismatch")) : t()
- })
- .resume()
- })
- }
- t.exports = function (e, t) {
- var r = this
- return (
- (t = n.extend(t || {}, {
- base64: !1,
- checkCRC32: !1,
- optimizedBinaryString: !1,
- createFolders: !1,
- decodeFileName: o.utf8decode
- })),
- l.isNode && l.isStream(e)
- ? i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file."))
- : n
- .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 = [i.Promise.resolve(e)],
- n = e.files
- if (t.checkCRC32) for (var o = 0; o < n.length; o++) r.push(c(n[o]))
- return i.Promise.all(r)
- })
- .then(function (e) {
- for (var i = e.shift(), o = i.files, a = 0; a < o.length; a++) {
- var s = o[a],
- l = s.fileNameStr,
- c = n.resolve(s.fileNameStr)
- r.file(c, s.decompressed, {
- binary: !0,
- optimizedBinaryString: !0,
- date: s.date,
- dir: s.dir,
- comment: s.fileCommentStr.length ? s.fileCommentStr : null,
- unixPermissions: s.unixPermissions,
- dosPermissions: s.dosPermissions,
- createFolders: t.createFolders
- }),
- s.dir || (r.file(c).unsafeOriginalName = l)
- }
- 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 n = e("../utils"),
- i = e("../stream/GenericWorker")
- function o(e, t) {
- i.call(this, "Nodejs stream input adapter for " + e), (this._upstreamEnded = !1), this._bindStream(t)
- }
- n.inherits(o, i),
- (o.prototype._bindStream = function (e) {
- var t = this
- ;(this._stream = 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._upstreamEnded = !0) : t.end()
- })
- }),
- (o.prototype.pause = function () {
- return !!i.prototype.pause.call(this) && (this._stream.pause(), !0)
- }),
- (o.prototype.resume = function () {
- return !!i.prototype.resume.call(this) && (this._upstreamEnded ? this.end() : this._stream.resume(), !0)
- }),
- (t.exports = o)
- },
- {
- "../stream/GenericWorker": 28,
- "../utils": 32
- }
- ],
- 13: [
- function (e, t, r) {
- "use strict"
- var n = e("readable-stream").Readable
- function i(e, t, r) {
- n.call(this, t), (this._helper = e)
- var i = this
- e.on("data", function (e, t) {
- i.push(e) || i._helper.pause(), r && r(t)
- })
- .on("error", function (e) {
- i.emit("error", e)
- })
- .on("end", function () {
- i.push(null)
- })
- }
- e("../utils").inherits(i, n),
- (i.prototype._read = function () {
- this._helper.resume()
- }),
- (t.exports = i)
- },
- {
- "../utils": 32,
- "readable-stream": 16
- }
- ],
- 14: [
- function (e, r, n) {
- "use strict"
- r.exports = {
- isNode: "undefined" != typeof t,
- newBufferFrom: function (e, r) {
- if (t.from && t.from !== Uint8Array.from) return t.from(e, r)
- if ("number" == typeof e) throw new Error('The "data" argument must not be a number')
- return new t(e, r)
- },
- allocBuffer: function (e) {
- if (t.alloc) return t.alloc(e)
- var r = new t(e)
- return r.fill(0), r
- },
- isBuffer: function (e) {
- return t.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"
- function n(e, t, r) {
- var n,
- i = o.getTypeOf(t),
- s = o.extend(r || {}, l)
- ;(s.date = s.date || new Date()),
- null !== s.compression && (s.compression = s.compression.toUpperCase()),
- "string" == typeof s.unixPermissions && (s.unixPermissions = parseInt(s.unixPermissions, 8)),
- s.unixPermissions && 16384 & s.unixPermissions && (s.dir = !0),
- s.dosPermissions && 16 & s.dosPermissions && (s.dir = !0),
- s.dir && (e = m(e)),
- s.createFolders && (n = h(e)) && g.call(this, n, !0)
- var f = "string" === i && !1 === s.binary && !1 === s.base64
- ;(r && void 0 !== r.binary) || (s.binary = !f),
- ((t instanceof c && 0 === t.uncompressedSize) || s.dir || !t || 0 === t.length) &&
- ((s.base64 = !1), (s.binary = !0), (t = ""), (s.compression = "STORE"), (i = "string"))
- var y = null
- y =
- t instanceof c || t instanceof a
- ? t
- : p.isNode && p.isStream(t)
- ? new d(e, t)
- : o.prepareContent(e, t, s.binary, s.optimizedBinaryString, s.base64)
- var v = new u(e, y, s)
- this.files[e] = v
- }
- var i = e("./utf8"),
- o = e("./utils"),
- a = e("./stream/GenericWorker"),
- s = e("./stream/StreamHelper"),
- l = e("./defaults"),
- c = e("./compressedObject"),
- u = e("./zipObject"),
- f = e("./generate"),
- p = e("./nodejsUtils"),
- d = e("./nodejs/NodejsStreamInputAdapter"),
- h = function (e) {
- "/" === e.slice(-1) && (e = e.substring(0, e.length - 1))
- var t = e.lastIndexOf("/")
- return 0 < t ? e.substring(0, t) : ""
- },
- m = function (e) {
- return "/" !== e.slice(-1) && (e += "/"), e
- },
- g = function (e, t) {
- return (
- (t = void 0 !== t ? t : l.createFolders),
- (e = m(e)),
- this.files[e] ||
- n.call(this, e, null, {
- dir: !0,
- createFolders: t
- }),
- this.files[e]
- )
- }
- function y(e) {
- return "[object RegExp]" === Object.prototype.toString.call(e)
- }
- var v = {
- load: function () {
- throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")
- },
- forEach: function (e) {
- var t, r, n
- for (t in this.files)
- (n = this.files[t]),
- (r = t.slice(this.root.length, t.length)) && t.slice(0, this.root.length) === this.root && e(r, n)
- },
- filter: function (e) {
- var t = []
- return (
- this.forEach(function (r, n) {
- e(r, n) && t.push(n)
- }),
- t
- )
- },
- file: function (e, t, r) {
- if (1 !== arguments.length) return (e = this.root + e), n.call(this, e, t, r), this
- if (y(e)) {
- var i = e
- return this.filter(function (e, t) {
- return !t.dir && i.test(e)
- })
- }
- var o = this.files[this.root + e]
- return o && !o.dir ? o : 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 = g.call(this, t),
- n = this.clone()
- return (n.root = r.name), n
- },
- remove: function (e) {
- e = this.root + e
- var t = this.files[e]
- if ((t || ("/" !== e.slice(-1) && (e += "/"), (t = this.files[e])), t && !t.dir)) delete this.files[e]
- else
- for (
- var r = this.filter(function (t, r) {
- return r.name.slice(0, e.length) === e
- }),
- n = 0;
- n < r.length;
- n++
- )
- delete this.files[r[n].name]
- return this
- },
- generate: function () {
- throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")
- },
- generateInternalStream: function (e) {
- var t,
- r = {}
- try {
- if (
- (((r = o.extend(e || {}, {
- streamFiles: !1,
- compression: "STORE",
- compressionOptions: null,
- type: "",
- platform: "DOS",
- comment: null,
- mimeType: "application/zip",
- encodeFileName: i.utf8encode
- })).type = r.type.toLowerCase()),
- (r.compression = r.compression.toUpperCase()),
- "binarystring" === r.type && (r.type = "string"),
- !r.type)
- )
- throw new Error("No output type specified.")
- o.checkSupport(r.type),
- ("darwin" !== r.platform && "freebsd" !== r.platform && "linux" !== r.platform && "sunos" !== r.platform) ||
- (r.platform = "UNIX"),
- "win32" === r.platform && (r.platform = "DOS")
- var n = r.comment || this.comment || ""
- t = f.generateWorker(this, r, n)
- } catch (e) {
- ;(t = new a("error")).error(e)
- }
- return new s(t, r.type || "string", r.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 = v
- },
- {
- "./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 n = e("./DataReader")
- function i(e) {
- n.call(this, e)
- for (var t = 0; t < this.data.length; t++) e[t] = 255 & e[t]
- }
- e("../utils").inherits(i, n),
- (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), n = e.charCodeAt(2), i = e.charCodeAt(3), o = this.length - 4;
- 0 <= o;
- --o
- )
- if (this.data[o] === t && this.data[o + 1] === r && this.data[o + 2] === n && this.data[o + 3] === i)
- return o - this.zero
- return -1
- }),
- (i.prototype.readAndCheckSignature = function (e) {
- var t = e.charCodeAt(0),
- r = e.charCodeAt(1),
- n = e.charCodeAt(2),
- i = e.charCodeAt(3),
- o = this.readData(4)
- return t === o[0] && r === o[1] && n === o[2] && i === o[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 n = 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 new 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 n.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 n = e("./Uint8ArrayReader")
- function i(e) {
- n.call(this, e)
- }
- e("../utils").inherits(i, n),
- (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 n = e("./DataReader")
- function i(e) {
- n.call(this, e)
- }
- e("../utils").inherits(i, n),
- (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 n = e("./ArrayReader")
- function i(e) {
- n.call(this, e)
- }
- e("../utils").inherits(i, n),
- (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 n = e("../utils"),
- i = e("../support"),
- o = e("./ArrayReader"),
- a = e("./StringReader"),
- s = e("./NodeBufferReader"),
- l = e("./Uint8ArrayReader")
- t.exports = function (e) {
- var t = n.getTypeOf(e)
- return (
- n.checkSupport(t),
- "string" !== t || i.uint8array
- ? "nodebuffer" === t
- ? new s(e)
- : i.uint8array
- ? new l(n.transformTo("uint8array", e))
- : new o(n.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"),
- (r.CENTRAL_FILE_HEADER = "PK"),
- (r.CENTRAL_DIRECTORY_END = "PK"),
- (r.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK"),
- (r.ZIP64_CENTRAL_DIRECTORY_END = "PK"),
- (r.DATA_DESCRIPTOR = "PK\b")
- },
- {}
- ],
- 24: [
- function (e, t, r) {
- "use strict"
- var n = e("./GenericWorker"),
- i = e("../utils")
- function o(e) {
- n.call(this, "ConvertWorker to " + e), (this.destType = e)
- }
- i.inherits(o, n),
- (o.prototype.processChunk = function (e) {
- this.push({
- data: i.transformTo(this.destType, e.data),
- meta: e.meta
- })
- }),
- (t.exports = o)
- },
- {
- "../utils": 32,
- "./GenericWorker": 28
- }
- ],
- 25: [
- function (e, t, r) {
- "use strict"
- var n = e("./GenericWorker"),
- i = e("../crc32")
- function o() {
- n.call(this, "Crc32Probe"), this.withStreamInfo("crc32", 0)
- }
- e("../utils").inherits(o, n),
- (o.prototype.processChunk = function (e) {
- ;(this.streamInfo.crc32 = i(e.data, this.streamInfo.crc32 || 0)), this.push(e)
- }),
- (t.exports = o)
- },
- {
- "../crc32": 4,
- "../utils": 32,
- "./GenericWorker": 28
- }
- ],
- 26: [
- function (e, t, r) {
- "use strict"
- var n = e("../utils"),
- i = e("./GenericWorker")
- function o(e) {
- i.call(this, "DataLengthProbe for " + e), (this.propName = e), this.withStreamInfo(e, 0)
- }
- n.inherits(o, i),
- (o.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 = o)
- },
- {
- "../utils": 32,
- "./GenericWorker": 28
- }
- ],
- 27: [
- function (e, t, r) {
- "use strict"
- var n = e("../utils"),
- i = e("./GenericWorker")
- function o(e) {
- i.call(this, "DataWorker")
- var t = this
- ;(this.dataIsReady = !1),
- (this.index = 0),
- (this.max = 0),
- (this.data = null),
- (this.type = ""),
- (this._tickScheduled = !1),
- e.then(
- function (e) {
- ;(t.dataIsReady = !0),
- (t.data = e),
- (t.max = (e && e.length) || 0),
- (t.type = n.getTypeOf(e)),
- t.isPaused || t._tickAndRepeat()
- },
- function (e) {
- t.error(e)
- }
- )
- }
- n.inherits(o, i),
- (o.prototype.cleanUp = function () {
- i.prototype.cleanUp.call(this), (this.data = null)
- }),
- (o.prototype.resume = function () {
- return (
- !!i.prototype.resume.call(this) &&
- (!this._tickScheduled && this.dataIsReady && ((this._tickScheduled = !0), n.delay(this._tickAndRepeat, [], this)),
- !0)
- )
- }),
- (o.prototype._tickAndRepeat = function () {
- ;(this._tickScheduled = !1),
- this.isPaused ||
- this.isFinished ||
- (this._tick(), this.isFinished || (n.delay(this._tickAndRepeat, [], this), (this._tickScheduled = !0)))
- }),
- (o.prototype._tick = 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":
- e = this.data.subarray(this.index, t)
- break
- case "array":
- case "nodebuffer":
- e = this.data.slice(this.index, t)
- }
- return (
- (this.index = t),
- this.push({
- data: e,
- meta: {
- percent: this.max ? (this.index / this.max) * 100 : 0
- }
- })
- )
- }),
- (t.exports = o)
- },
- {
- "../utils": 32,
- "./GenericWorker": 28
- }
- ],
- 28: [
- function (e, t, r) {
- "use strict"
- function n(e) {
- ;(this.name = e || "default"),
- (this.streamInfo = {}),
- (this.generatedError = null),
- (this.extraStreamInfo = {}),
- (this.isPaused = !0),
- (this.isFinished = !1),
- (this.isLocked = !1),
- (this._listeners = {
- data: [],
- end: [],
- error: []
- }),
- (this.previous = null)
- }
- ;(n.prototype = {
- push: function (e) {
- this.emit("data", e)
- },
- end: function () {
- if (this.isFinished) return !1
- this.flush()
- try {
- this.emit("end"), this.cleanUp(), (this.isFinished = !0)
- } catch (e) {
- this.emit("error", e)
- }
- return !0
- },
- error: function (e) {
- return (
- !this.isFinished &&
- (this.isPaused
- ? (this.generatedError = e)
- : ((this.isFinished = !0), this.emit("error", e), this.previous && this.previous.error(e), this.cleanUp()),
- !0)
- )
- },
- on: function (e, t) {
- return this._listeners[e].push(t), this
- },
- cleanUp: function () {
- ;(this.streamInfo = this.generatedError = this.extraStreamInfo = null), (this._listeners = [])
- },
- emit: function (e, t) {
- if (this._listeners[e]) for (var r = 0; r < this._listeners[e].length; r++) this._listeners[e][r].call(this, t)
- },
- pipe: function (e) {
- return e.registerPrevious(this)
- },
- registerPrevious: function (e) {
- if (this.isLocked) throw new Error("The stream '" + this + "' has already been used.")
- ;(this.streamInfo = e.streamInfo), this.mergeStreamInfo(), (this.previous = e)
- var t = this
- return (
- e.on("data", function (e) {
- t.processChunk(e)
- }),
- e.on("end", function () {
- t.end()
- }),
- e.on("error", function (e) {
- t.error(e)
- }),
- this
- )
- },
- pause: function () {
- return !this.isPaused && !this.isFinished && ((this.isPaused = !0), this.previous && this.previous.pause(), !0)
- },
- resume: function () {
- if (!this.isPaused || this.isFinished) return !1
- var e = (this.isPaused = !1)
- return this.generatedError && (this.error(this.generatedError), (e = !0)), this.previous && this.previous.resume(), !e
- },
- flush: function () {},
- processChunk: function (e) {
- this.push(e)
- },
- withStreamInfo: function (e, t) {
- return (this.extraStreamInfo[e] = t), this.mergeStreamInfo(), this
- },
- mergeStreamInfo: function () {
- for (var e in this.extraStreamInfo)
- Object.prototype.hasOwnProperty.call(this.extraStreamInfo, e) && (this.streamInfo[e] = this.extraStreamInfo[e])
- },
- lock: function () {
- if (this.isLocked) throw new Error("The stream '" + this + "' has already been used.")
- ;(this.isLocked = !0), this.previous && this.previous.lock()
- },
- toString: function () {
- var e = "Worker " + this.name
- return this.previous ? this.previous + " -> " + e : e
- }
- }),
- (t.exports = n)
- },
- {}
- ],
- 29: [
- function (e, r, n) {
- "use strict"
- var i = e("../utils"),
- o = e("./ConvertWorker"),
- a = e("./GenericWorker"),
- s = e("../base64"),
- l = e("../support"),
- c = e("../external"),
- u = null
- if (l.nodestream)
- try {
- u = e("../nodejs/NodejsStreamOutputAdapter")
- } catch (e) {}
- function f(e, r) {
- return new c.Promise(function (n, o) {
- var a = [],
- l = e._internalType,
- c = e._outputType,
- u = e._mimeType
- e.on("data", function (e, t) {
- a.push(e), r && r(t)
- })
- .on("error", function (e) {
- ;(a = []), o(e)
- })
- .on("end", function () {
- try {
- var e = (function (e, t, r) {
- switch (e) {
- case "blob":
- return i.newBlob(i.transformTo("arraybuffer", t), r)
- case "base64":
- return s.encode(t)
- default:
- return i.transformTo(e, t)
- }
- })(
- c,
- (function (e, r) {
- var n,
- i = 0,
- o = null,
- a = 0
- for (n = 0; n < r.length; n++) a += r[n].length
- switch (e) {
- case "string":
- return r.join("")
- case "array":
- return Array.prototype.concat.apply([], r)
- case "uint8array":
- for (o = new Uint8Array(a), n = 0; n < r.length; n++) o.set(r[n], i), (i += r[n].length)
- return o
- case "nodebuffer":
- return t.concat(r)
- default:
- throw new Error("concat : unsupported type '" + e + "'")
- }
- })(l, a),
- u
- )
- n(e)
- } catch (e) {
- o(e)
- }
- a = []
- })
- .resume()
- })
- }
- function p(e, t, r) {
- var n = t
- switch (t) {
- case "blob":
- case "arraybuffer":
- n = "uint8array"
- break
- case "base64":
- n = "string"
- }
- try {
- ;(this._internalType = n),
- (this._outputType = t),
- (this._mimeType = r),
- i.checkSupport(n),
- (this._worker = e.pipe(new o(n))),
- e.lock()
- } catch (e) {
- ;(this._worker = new a("error")), this._worker.error(e)
- }
- }
- ;(p.prototype = {
- accumulate: function (e) {
- return f(this, e)
- },
- on: function (e, t) {
- var r = this
- return (
- "data" === e
- ? this._worker.on(e, function (e) {
- t.call(r, e.data, e.meta)
- })
- : this._worker.on(e, function () {
- i.delay(t, arguments, r)
- }),
- this
- )
- },
- resume: function () {
- return i.delay(this._worker.resume, [], this._worker), this
- },
- pause: function () {
- return this._worker.pause(), this
- },
- toNodejsStream: function (e) {
- if ((i.checkSupport("nodestream"), "nodebuffer" !== this._outputType))
- throw new Error(this._outputType + " is not supported by this method")
- return new u(
- this,
- {
- objectMode: "nodebuffer" !== this._outputType
- },
- e
- )
- }
- }),
- (r.exports = p)
- },
- {
- "../base64": 1,
- "../external": 6,
- "../nodejs/NodejsStreamOutputAdapter": 13,
- "../support": 30,
- "../utils": 32,
- "./ConvertWorker": 24,
- "./GenericWorker": 28
- }
- ],
- 30: [
- function (e, r, n) {
- "use strict"
- if (
- ((n.base64 = !0),
- (n.array = !0),
- (n.string = !0),
- (n.arraybuffer = "undefined" != typeof ArrayBuffer && "undefined" != typeof Uint8Array),
- (n.nodebuffer = "undefined" != typeof t),
- (n.uint8array = "undefined" != typeof Uint8Array),
- "undefined" == typeof ArrayBuffer)
- )
- n.blob = !1
- else {
- var i = new ArrayBuffer(0)
- try {
- n.blob =
- 0 ===
- new Blob([i], {
- type: "application/zip"
- }).size
- } catch (e) {
- try {
- var o = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)()
- o.append(i), (n.blob = 0 === o.getBlob("application/zip").size)
- } catch (e) {
- n.blob = !1
- }
- }
- }
- try {
- n.nodestream = !!e("readable-stream").Readable
- } catch (e) {
- n.nodestream = !1
- }
- },
- {
- "readable-stream": 16
- }
- ],
- 31: [
- function (e, t, r) {
- "use strict"
- for (
- var n = e("./utils"),
- i = e("./support"),
- o = e("./nodejsUtils"),
- a = e("./stream/GenericWorker"),
- s = new Array(256),
- l = 0;
- l < 256;
- l++
- )
- s[l] = 252 <= l ? 6 : 248 <= l ? 5 : 240 <= l ? 4 : 224 <= l ? 3 : 192 <= l ? 2 : 1
- function c() {
- a.call(this, "utf-8 decode"), (this.leftOver = null)
- }
- function u() {
- a.call(this, "utf-8 encode")
- }
- ;(s[254] = s[254] = 1),
- (r.utf8encode = function (e) {
- return i.nodebuffer
- ? o.newBufferFrom(e, "utf-8")
- : (function (e) {
- var t,
- r,
- n,
- o,
- a,
- s = e.length,
- l = 0
- for (o = 0; o < s; o++)
- 55296 == (64512 & (r = e.charCodeAt(o))) &&
- o + 1 < s &&
- 56320 == (64512 & (n = e.charCodeAt(o + 1))) &&
- ((r = 65536 + ((r - 55296) << 10) + (n - 56320)), o++),
- (l += r < 128 ? 1 : r < 2048 ? 2 : r < 65536 ? 3 : 4)
- for (t = i.uint8array ? new Uint8Array(l) : new Array(l), o = a = 0; a < l; o++)
- 55296 == (64512 & (r = e.charCodeAt(o))) &&
- o + 1 < s &&
- 56320 == (64512 & (n = e.charCodeAt(o + 1))) &&
- ((r = 65536 + ((r - 55296) << 10) + (n - 56320)), o++),
- r < 128
- ? (t[a++] = r)
- : (r < 2048
- ? (t[a++] = 192 | (r >>> 6))
- : (r < 65536
- ? (t[a++] = 224 | (r >>> 12))
- : ((t[a++] = 240 | (r >>> 18)), (t[a++] = 128 | ((r >>> 12) & 63))),
- (t[a++] = 128 | ((r >>> 6) & 63))),
- (t[a++] = 128 | (63 & r)))
- return t
- })(e)
- }),
- (r.utf8decode = function (e) {
- return i.nodebuffer
- ? n.transformTo("nodebuffer", e).toString("utf-8")
- : (function (e) {
- var t,
- r,
- i,
- o,
- a = e.length,
- l = new Array(2 * a)
- for (t = r = 0; t < a; )
- if ((i = e[t++]) < 128) l[r++] = i
- else if (4 < (o = s[i])) (l[r++] = 65533), (t += o - 1)
- else {
- for (i &= 2 === o ? 31 : 3 === o ? 15 : 7; 1 < o && t < a; ) (i = (i << 6) | (63 & e[t++])), o--
- 1 < o
- ? (l[r++] = 65533)
- : i < 65536
- ? (l[r++] = i)
- : ((i -= 65536), (l[r++] = 55296 | ((i >> 10) & 1023)), (l[r++] = 56320 | (1023 & i)))
- }
- return l.length !== r && (l.subarray ? (l = l.subarray(0, r)) : (l.length = r)), n.applyFromCharCode(l)
- })((e = n.transformTo(i.uint8array ? "uint8array" : "array", e)))
- }),
- n.inherits(c, a),
- (c.prototype.processChunk = function (e) {
- var t = n.transformTo(i.uint8array ? "uint8array" : "array", e.data)
- if (this.leftOver && this.leftOver.length) {
- if (i.uint8array) {
- var o = t
- ;(t = new Uint8Array(o.length + this.leftOver.length)).set(this.leftOver, 0), t.set(o, this.leftOver.length)
- } else t = this.leftOver.concat(t)
- this.leftOver = null
- }
- var a = (function (e, t) {
- var r
- for ((t = t || e.length) > e.length && (t = e.length), r = t - 1; 0 <= r && 128 == (192 & e[r]); ) r--
- return r < 0 || 0 === r ? t : r + s[e[r]] > t ? r : t
- })(t),
- l = t
- a !== t.length &&
- (i.uint8array
- ? ((l = t.subarray(0, a)), (this.leftOver = t.subarray(a, t.length)))
- : ((l = t.slice(0, a)), (this.leftOver = t.slice(a, t.length)))),
- this.push({
- data: r.utf8decode(l),
- meta: e.meta
- })
- }),
- (c.prototype.flush = function () {
- this.leftOver &&
- this.leftOver.length &&
- (this.push({
- data: r.utf8decode(this.leftOver),
- meta: {}
- }),
- (this.leftOver = null))
- }),
- (r.Utf8DecodeWorker = c),
- n.inherits(u, a),
- (u.prototype.processChunk = function (e) {
- this.push({
- data: r.utf8encode(e.data),
- meta: e.meta
- })
- }),
- (r.Utf8EncodeWorker = u)
- },
- {
- "./nodejsUtils": 14,
- "./stream/GenericWorker": 28,
- "./support": 30,
- "./utils": 32
- }
- ],
- 32: [
- function (e, t, r) {
- "use strict"
- var n = e("./support"),
- i = e("./base64"),
- o = e("./nodejsUtils"),
- a = e("./external")
- function s(e) {
- return e
- }
- function l(e, t) {
- for (var r = 0; r < e.length; ++r) t[r] = 255 & e.charCodeAt(r)
- return t
- }
- e("setimmediate"),
- (r.newBlob = function (t, n) {
- r.checkSupport("blob")
- try {
- return new Blob([t], {
- type: n
- })
- } catch (e) {
- try {
- var i = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)()
- return i.append(t), i.getBlob(n)
- } catch (e) {
- throw new Error("Bug : can't construct the Blob.")
- }
- }
- })
- var c = {
- stringifyByChunk: function (e, t, r) {
- var n = [],
- i = 0,
- o = e.length
- if (o <= r) return String.fromCharCode.apply(null, e)
- for (; i < o; )
- "array" === t || "nodebuffer" === t
- ? n.push(String.fromCharCode.apply(null, e.slice(i, Math.min(i + r, o))))
- : n.push(String.fromCharCode.apply(null, e.subarray(i, Math.min(i + r, o)))),
- (i += r)
- return n.join("")
- },
- stringifyByChar: function (e) {
- for (var t = "", r = 0; r < e.length; r++) t += String.fromCharCode(e[r])
- return t
- },
- applyCanBeUsed: {
- uint8array: (function () {
- try {
- return n.uint8array && 1 === String.fromCharCode.apply(null, new Uint8Array(1)).length
- } catch (e) {
- return !1
- }
- })(),
- nodebuffer: (function () {
- try {
- return n.nodebuffer && 1 === String.fromCharCode.apply(null, o.allocBuffer(1)).length
- } catch (e) {
- return !1
- }
- })()
- }
- }
- function u(e) {
- var t = 65536,
- n = r.getTypeOf(e),
- i = !0
- if (("uint8array" === n ? (i = c.applyCanBeUsed.uint8array) : "nodebuffer" === n && (i = c.applyCanBeUsed.nodebuffer), i))
- for (; 1 < t; )
- try {
- return c.stringifyByChunk(e, n, t)
- } catch (e) {
- t = Math.floor(t / 2)
- }
- return c.stringifyByChar(e)
- }
- function f(e, t) {
- for (var r = 0; r < e.length; r++) t[r] = e[r]
- return t
- }
- r.applyFromCharCode = u
- var p = {}
- ;(p.string = {
- string: s,
- array: function (e) {
- return l(e, new Array(e.length))
- },
- arraybuffer: function (e) {
- return p.string.uint8array(e).buffer
- },
- uint8array: function (e) {
- return l(e, new Uint8Array(e.length))
- },
- nodebuffer: function (e) {
- return l(e, o.allocBuffer(e.length))
- }
- }),
- (p.array = {
- string: u,
- array: s,
- arraybuffer: function (e) {
- return new Uint8Array(e).buffer
- },
- uint8array: function (e) {
- return new Uint8Array(e)
- },
- nodebuffer: function (e) {
- return o.newBufferFrom(e)
- }
- }),
- (p.arraybuffer = {
- string: function (e) {
- return u(new Uint8Array(e))
- },
- array: function (e) {
- return f(new Uint8Array(e), new Array(e.byteLength))
- },
- arraybuffer: s,
- uint8array: function (e) {
- return new Uint8Array(e)
- },
- nodebuffer: function (e) {
- return o.newBufferFrom(new Uint8Array(e))
- }
- }),
- (p.uint8array = {
- string: u,
- array: function (e) {
- return f(e, new Array(e.length))
- },
- arraybuffer: function (e) {
- return e.buffer
- },
- uint8array: s,
- nodebuffer: function (e) {
- return o.newBufferFrom(e)
- }
- }),
- (p.nodebuffer = {
- string: u,
- array: function (e) {
- return f(e, new Array(e.length))
- },
- arraybuffer: function (e) {
- return p.nodebuffer.uint8array(e).buffer
- },
- uint8array: function (e) {
- return f(e, new Uint8Array(e.length))
- },
- nodebuffer: s
- }),
- (r.transformTo = function (e, t) {
- if (((t = t || ""), !e)) return t
- r.checkSupport(e)
- var n = r.getTypeOf(t)
- return p[n][e](t)
- }),
- (r.resolve = function (e) {
- for (var t = e.split("/"), r = [], n = 0; n < t.length; n++) {
- var i = t[n]
- "." === i || ("" === i && 0 !== n && n !== t.length - 1) || (".." === i ? r.pop() : r.push(i))
- }
- return r.join("/")
- }),
- (r.getTypeOf = function (e) {
- return "string" == typeof e
- ? "string"
- : "[object Array]" === Object.prototype.toString.call(e)
- ? "array"
- : n.nodebuffer && o.isBuffer(e)
- ? "nodebuffer"
- : n.uint8array && e instanceof Uint8Array
- ? "uint8array"
- : n.arraybuffer && e instanceof ArrayBuffer
- ? "arraybuffer"
- : void 0
- }),
- (r.checkSupport = function (e) {
- if (!n[e.toLowerCase()]) throw new Error(e + " is not supported by this platform")
- }),
- (r.MAX_VALUE_16BITS = 65535),
- (r.MAX_VALUE_32BITS = -1),
- (r.pretty = function (e) {
- var t,
- r,
- n = ""
- for (r = 0; r < (e || "").length; r++)
- n += "\\x" + ((t = e.charCodeAt(r)) < 16 ? "0" : "") + t.toString(16).toUpperCase()
- return n
- }),
- (r.delay = function (e, t, r) {
- setImmediate(function () {
- e.apply(r || null, t || [])
- })
- }),
- (r.inherits = function (e, t) {
- function r() {}
- ;(r.prototype = t.prototype), (e.prototype = new r())
- }),
- (r.extend = function () {
- var e,
- t,
- r = {}
- for (e = 0; e < arguments.length; e++)
- for (t in arguments[e])
- Object.prototype.hasOwnProperty.call(arguments[e], t) && void 0 === r[t] && (r[t] = arguments[e][t])
- return r
- }),
- (r.prepareContent = function (e, t, o, s, c) {
- return a.Promise.resolve(t)
- .then(function (e) {
- return n.blob &&
- (e instanceof Blob || -1 !== ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(e))) &&
- "undefined" != typeof FileReader
- ? new a.Promise(function (t, r) {
- var n = new FileReader()
- ;(n.onload = function (e) {
- t(e.target.result)
- }),
- (n.onerror = function (e) {
- r(e.target.error)
- }),
- n.readAsArrayBuffer(e)
- })
- : e
- })
- .then(function (t) {
- var u = r.getTypeOf(t)
- return u
- ? ("arraybuffer" === u
- ? (t = r.transformTo("uint8array", t))
- : "string" === u &&
- (c
- ? (t = i.decode(t))
- : o &&
- !0 !== s &&
- (t = (function (e) {
- return l(e, n.uint8array ? new Uint8Array(e.length) : new Array(e.length))
- })(t))),
- t)
- : a.Promise.reject(
- new Error(
- "Can't read the data of '" +
- e +
- "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"
- )
- )
- })
- })
- },
- {
- "./base64": 1,
- "./external": 6,
- "./nodejsUtils": 14,
- "./support": 30,
- setimmediate: 54
- }
- ],
- 33: [
- function (e, t, r) {
- "use strict"
- var n = e("./reader/readerFor"),
- i = e("./utils"),
- o = e("./signature"),
- a = e("./zipEntry"),
- s = e("./support")
- function l(e) {
- ;(this.files = []), (this.loadOptions = e)
- }
- ;(l.prototype = {
- checkSignature: function (e) {
- if (!this.reader.readAndCheckSignature(e)) {
- this.reader.index -= 4
- var t = this.reader.readString(4)
- throw new Error("Corrupted zip or bug: unexpected signature (" + i.pretty(t) + ", expected " + i.pretty(e) + ")")
- }
- },
- isSignature: function (e, t) {
- var r = this.reader.index
- this.reader.setIndex(e)
- var n = this.reader.readString(4) === t
- return this.reader.setIndex(r), n
- },
- readBlockEndOfCentral: function () {
- ;(this.diskNumber = this.reader.readInt(2)),
- (this.diskWithCentralDirStart = this.reader.readInt(2)),
- (this.centralDirRecordsOnThisDisk = this.reader.readInt(2)),
- (this.centralDirRecords = this.reader.readInt(2)),
- (this.centralDirSize = this.reader.readInt(4)),
- (this.centralDirOffset = this.reader.readInt(4)),
- (this.zipCommentLength = this.reader.readInt(2))
- var e = this.reader.readData(this.zipCommentLength),
- t = s.uint8array ? "uint8array" : "array",
- r = i.transformTo(t, e)
- this.zipComment = this.loadOptions.decodeFileName(r)
- },
- readBlockZip64EndOfCentral: function () {
- ;(this.zip64EndOfCentralSize = this.reader.readInt(8)),
- this.reader.skip(4),
- (this.diskNumber = this.reader.readInt(4)),
- (this.diskWithCentralDirStart = this.reader.readInt(4)),
- (this.centralDirRecordsOnThisDisk = this.reader.readInt(8)),
- (this.centralDirRecords = this.reader.readInt(8)),
- (this.centralDirSize = this.reader.readInt(8)),
- (this.centralDirOffset = this.reader.readInt(8)),
- (this.zip64ExtensibleData = {})
- for (var e, t, r, n = this.zip64EndOfCentralSize - 44; 0 < n; )
- (e = this.reader.readInt(2)),
- (t = this.reader.readInt(4)),
- (r = this.reader.readData(t)),
- (this.zip64ExtensibleData[e] = {
- id: e,
- length: t,
- value: r
- })
- },
- readBlockZip64EndOfCentralLocator: function () {
- if (
- ((this.diskWithZip64CentralDirStart = this.reader.readInt(4)),
- (this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8)),
- (this.disksCount = this.reader.readInt(4)),
- 1 < this.disksCount)
- )
- throw new Error("Multi-volumes zip are not supported")
- },
- readLocalFiles: function () {
- var e, t
- for (e = 0; e < this.files.length; e++)
- (t = this.files[e]),
- this.reader.setIndex(t.localHeaderOffset),
- this.checkSignature(o.LOCAL_FILE_HEADER),
- t.readLocalPart(this.reader),
- t.handleUTF8(),
- t.processAttributes()
- },
- readCentralDir: function () {
- var e
- for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER); )
- (e = new a(
- {
- zip64: this.zip64
- },
- this.loadOptions
- )).readCentralPart(this.reader),
- this.files.push(e)
- if (this.centralDirRecords !== this.files.length && 0 !== this.centralDirRecords && 0 === this.files.length)
- throw new Error(
- "Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length
- )
- },
- readEndOfCentral: function () {
- var e = this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END)
- if (e < 0)
- throw this.isSignature(0, o.LOCAL_FILE_HEADER)
- ? new Error("Corrupted zip: can't find end of central directory")
- : new Error(
- "Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"
- )
- this.reader.setIndex(e)
- var t = e
- if (
- (this.checkSignature(o.CENTRAL_DIRECTORY_END),
- this.readBlockEndOfCentral(),
- this.diskNumber === i.MAX_VALUE_16BITS ||
- this.diskWithCentralDirStart === i.MAX_VALUE_16BITS ||
- this.centralDirRecordsOnThisDisk === i.MAX_VALUE_16BITS ||
- this.centralDirRecords === i.MAX_VALUE_16BITS ||
- this.centralDirSize === i.MAX_VALUE_32BITS ||
- this.centralDirOffset === i.MAX_VALUE_32BITS)
- ) {
- if (((this.zip64 = !0), (e = this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR)) < 0))
- throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator")
- if (
- (this.reader.setIndex(e),
- this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),
- this.readBlockZip64EndOfCentralLocator(),
- !this.isSignature(this.relativeOffsetEndOfZip64CentralDir, o.ZIP64_CENTRAL_DIRECTORY_END) &&
- ((this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END)),
- this.relativeOffsetEndOfZip64CentralDir < 0))
- )
- throw new Error("Corrupted zip: can't find the ZIP64 end of central directory")
- this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),
- this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),
- this.readBlockZip64EndOfCentral()
- }
- var r = this.centralDirOffset + this.centralDirSize
- this.zip64 && ((r += 20), (r += 12 + this.zip64EndOfCentralSize))
- var n = t - r
- if (0 < n) this.isSignature(t, o.CENTRAL_FILE_HEADER) || (this.reader.zero = n)
- else if (n < 0) throw new Error("Corrupted zip: missing " + Math.abs(n) + " bytes.")
- },
- prepareReader: function (e) {
- this.reader = n(e)
- },
- load: function (e) {
- this.prepareReader(e), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles()
- }
- }),
- (t.exports = l)
- },
- {
- "./reader/readerFor": 22,
- "./signature": 23,
- "./support": 30,
- "./utils": 32,
- "./zipEntry": 34
- }
- ],
- 34: [
- function (e, t, r) {
- "use strict"
- var n = e("./reader/readerFor"),
- i = e("./utils"),
- o = e("./compressedObject"),
- a = e("./crc32"),
- s = e("./utf8"),
- l = e("./compressions"),
- c = e("./support")
- function u(e, t) {
- ;(this.options = e), (this.loadOptions = t)
- }
- ;(u.prototype = {
- isEncrypted: function () {
- return 1 == (1 & this.bitFlag)
- },
- useUTF8: function () {
- return 2048 == (2048 & this.bitFlag)
- },
- readLocalPart: function (e) {
- var t, r
- if (
- (e.skip(22),
- (this.fileNameLength = e.readInt(2)),
- (r = e.readInt(2)),
- (this.fileName = e.readData(this.fileNameLength)),
- e.skip(r),
- -1 === this.compressedSize || -1 === this.uncompressedSize)
- )
- throw new Error(
- "Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)"
- )
- if (
- null ===
- (t = (function (e) {
- for (var t in l) if (Object.prototype.hasOwnProperty.call(l, t) && l[t].magic === e) return l[t]
- return null
- })(this.compressionMethod))
- )
- throw new Error(
- "Corrupted zip : compression " +
- i.pretty(this.compressionMethod) +
- " unknown (inner file : " +
- i.transformTo("string", this.fileName) +
- ")"
- )
- this.decompressed = new o(this.compressedSize, this.uncompressedSize, this.crc32, t, e.readData(this.compressedSize))
- },
- readCentralPart: function (e) {
- ;(this.versionMadeBy = e.readInt(2)),
- e.skip(2),
- (this.bitFlag = e.readInt(2)),
- (this.compressionMethod = e.readString(2)),
- (this.date = e.readDate()),
- (this.crc32 = e.readInt(4)),
- (this.compressedSize = e.readInt(4)),
- (this.uncompressedSize = e.readInt(4))
- var t = e.readInt(2)
- if (
- ((this.extraFieldsLength = e.readInt(2)),
- (this.fileCommentLength = e.readInt(2)),
- (this.diskNumberStart = e.readInt(2)),
- (this.internalFileAttributes = e.readInt(2)),
- (this.externalFileAttributes = e.readInt(4)),
- (this.localHeaderOffset = e.readInt(4)),
- this.isEncrypted())
- )
- throw new Error("Encrypted zip are not supported")
- e.skip(t),
- this.readExtraFields(e),
- this.parseZIP64ExtraField(e),
- (this.fileComment = e.readData(this.fileCommentLength))
- },
- processAttributes: function () {
- ;(this.unixPermissions = null), (this.dosPermissions = null)
- var e = this.versionMadeBy >> 8
- ;(this.dir = !!(16 & this.externalFileAttributes)),
- 0 == e && (this.dosPermissions = 63 & this.externalFileAttributes),
- 3 == e && (this.unixPermissions = (this.externalFileAttributes >> 16) & 65535),
- this.dir || "/" !== this.fileNameStr.slice(-1) || (this.dir = !0)
- },
- parseZIP64ExtraField: function () {
- if (this.extraFields[1]) {
- var e = n(this.extraFields[1].value)
- this.uncompressedSize === i.MAX_VALUE_32BITS && (this.uncompressedSize = e.readInt(8)),
- this.compressedSize === i.MAX_VALUE_32BITS && (this.compressedSize = e.readInt(8)),
- this.localHeaderOffset === i.MAX_VALUE_32BITS && (this.localHeaderOffset = e.readInt(8)),
- this.diskNumberStart === i.MAX_VALUE_32BITS && (this.diskNumberStart = e.readInt(4))
- }
- },
- readExtraFields: function (e) {
- var t,
- r,
- n,
- i = e.index + this.extraFieldsLength
- for (this.extraFields || (this.extraFields = {}); e.index + 4 < i; )
- (t = e.readInt(2)),
- (r = e.readInt(2)),
- (n = e.readData(r)),
- (this.extraFields[t] = {
- id: t,
- length: r,
- value: n
- })
- e.setIndex(i)
- },
- handleUTF8: function () {
- var e = c.uint8array ? "uint8array" : "array"
- if (this.useUTF8())
- (this.fileNameStr = s.utf8decode(this.fileName)), (this.fileCommentStr = s.utf8decode(this.fileComment))
- else {
- var t = this.findExtraFieldUnicodePath()
- if (null !== t) this.fileNameStr = t
- else {
- var r = i.transformTo(e, this.fileName)
- this.fileNameStr = this.loadOptions.decodeFileName(r)
- }
- var n = this.findExtraFieldUnicodeComment()
- if (null !== n) this.fileCommentStr = n
- else {
- var o = i.transformTo(e, this.fileComment)
- this.fileCommentStr = this.loadOptions.decodeFileName(o)
- }
- }
- },
- findExtraFieldUnicodePath: function () {
- var e = this.extraFields[28789]
- if (e) {
- var t = n(e.value)
- return 1 !== t.readInt(1) || a(this.fileName) !== t.readInt(4) ? null : s.utf8decode(t.readData(e.length - 5))
- }
- return null
- },
- findExtraFieldUnicodeComment: function () {
- var e = this.extraFields[25461]
- if (e) {
- var t = n(e.value)
- return 1 !== t.readInt(1) || a(this.fileComment) !== t.readInt(4) ? null : s.utf8decode(t.readData(e.length - 5))
- }
- return null
- }
- }),
- (t.exports = u)
- },
- {
- "./compressedObject": 2,
- "./compressions": 3,
- "./crc32": 4,
- "./reader/readerFor": 22,
- "./support": 30,
- "./utf8": 31,
- "./utils": 32
- }
- ],
- 35: [
- function (e, t, r) {
- "use strict"
- function n(e, t, r) {
- ;(this.name = e),
- (this.dir = r.dir),
- (this.date = r.date),
- (this.comment = r.comment),
- (this.unixPermissions = r.unixPermissions),
- (this.dosPermissions = r.dosPermissions),
- (this._data = t),
- (this._dataBinary = r.binary),
- (this.options = {
- compression: r.compression,
- compressionOptions: r.compressionOptions
- })
- }
- var i = e("./stream/StreamHelper"),
- o = e("./stream/DataWorker"),
- a = e("./utf8"),
- s = e("./compressedObject"),
- l = e("./stream/GenericWorker")
- n.prototype = {
- internalStream: function (e) {
- var t = null,
- r = "string"
- try {
- if (!e) throw new Error("No output type specified.")
- var n = "string" === (r = e.toLowerCase()) || "text" === r
- ;("binarystring" !== r && "text" !== r) || (r = "string"), (t = this._decompressWorker())
- var o = !this._dataBinary
- o && !n && (t = t.pipe(new a.Utf8EncodeWorker())), !o && n && (t = t.pipe(new a.Utf8DecodeWorker()))
- } catch (e) {
- ;(t = new l("error")).error(e)
- }
- return new i(t, r, "")
- },
- async: function (e, t) {
- return this.internalStream(e).accumulate(t)
- },
- nodeStream: function (e, t) {
- return this.internalStream(e || "nodebuffer").toNodejsStream(t)
- },
- _compressWorker: function (e, t) {
- if (this._data instanceof s && this._data.compression.magic === e.magic) return this._data.getCompressedWorker()
- var r = this._decompressWorker()
- return this._dataBinary || (r = r.pipe(new a.Utf8EncodeWorker())), s.createWorkerFrom(r, e, t)
- },
- _decompressWorker: function () {
- return this._data instanceof s
- ? this._data.getContentWorker()
- : this._data instanceof l
- ? this._data
- : new o(this._data)
- }
- }
- for (
- var c = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"],
- u = function () {
- throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")
- },
- f = 0;
- f < c.length;
- f++
- )
- n.prototype[c[f]] = u
- t.exports = n
- },
- {
- "./compressedObject": 2,
- "./stream/DataWorker": 27,
- "./stream/GenericWorker": 28,
- "./stream/StreamHelper": 29,
- "./utf8": 31
- }
- ],
- 36: [
- function (e, t, n) {
- ;(function (e) {
- "use strict"
- var r,
- n,
- i = e.MutationObserver || e.WebKitMutationObserver
- if (i) {
- var o = 0,
- a = new i(u),
- s = e.document.createTextNode("")
- a.observe(s, {
- characterData: !0
- }),
- (r = function () {
- s.data = o = ++o % 2
- })
- } else if (e.setImmediate || void 0 === e.MessageChannel)
- r =
- "document" in e && "onreadystatechange" in e.document.createElement("script")
- ? function () {
- var t = e.document.createElement("script")
- ;(t.onreadystatechange = function () {
- u(), (t.onreadystatechange = null), t.parentNode.removeChild(t), (t = null)
- }),
- e.document.documentElement.appendChild(t)
- }
- : function () {
- setTimeout(u, 0)
- }
- else {
- var l = new e.MessageChannel()
- ;(l.port1.onmessage = u),
- (r = function () {
- l.port2.postMessage(0)
- })
- }
- var c = []
- function u() {
- var e, t
- n = !0
- for (var r = c.length; r; ) {
- for (t = c, c = [], e = -1; ++e < r; ) t[e]()
- r = c.length
- }
- n = !1
- }
- t.exports = function (e) {
- 1 !== c.push(e) || n || r()
- }
- }).call(this, "undefined" != typeof r ? r : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {})
- },
- {}
- ],
- 37: [
- function (e, t, r) {
- "use strict"
- var n = e("immediate")
- function i() {}
- var o = {},
- a = ["REJECTED"],
- s = ["FULFILLED"],
- l = ["PENDING"]
- function c(e) {
- if ("function" != typeof e) throw new TypeError("resolver must be a function")
- ;(this.state = l), (this.queue = []), (this.outcome = void 0), e !== i && d(this, e)
- }
- function u(e, t, r) {
- ;(this.promise = e),
- "function" == typeof t && ((this.onFulfilled = t), (this.callFulfilled = this.otherCallFulfilled)),
- "function" == typeof r && ((this.onRejected = r), (this.callRejected = this.otherCallRejected))
- }
- function f(e, t, r) {
- n(function () {
- var n
- try {
- n = t(r)
- } catch (n) {
- return o.reject(e, n)
- }
- n === e ? o.reject(e, new TypeError("Cannot resolve promise with itself")) : o.resolve(e, n)
- })
- }
- function p(e) {
- var t = e && e.then
- if (e && ("object" == typeof e || "function" == typeof e) && "function" == typeof t)
- return function () {
- t.apply(e, arguments)
- }
- }
- function d(e, t) {
- var r = !1
- function n(t) {
- r || ((r = !0), o.reject(e, t))
- }
- function i(t) {
- r || ((r = !0), o.resolve(e, t))
- }
- var a = h(function () {
- t(i, n)
- })
- "error" === a.status && n(a.value)
- }
- function h(e, t) {
- var r = {}
- try {
- ;(r.value = e(t)), (r.status = "success")
- } catch (e) {
- ;(r.status = "error"), (r.value = e)
- }
- return r
- }
- ;((t.exports = c).prototype.finally = function (e) {
- if ("function" != typeof e) return this
- var t = this.constructor
- return this.then(
- function (r) {
- return t.resolve(e()).then(function () {
- return r
- })
- },
- function (r) {
- return t.resolve(e()).then(function () {
- throw r
- })
- }
- )
- }),
- (c.prototype.catch = function (e) {
- return this.then(null, e)
- }),
- (c.prototype.then = function (e, t) {
- if (("function" != typeof e && this.state === s) || ("function" != typeof t && this.state === a)) return this
- var r = new this.constructor(i)
- return this.state !== l ? f(r, this.state === s ? e : t, this.outcome) : this.queue.push(new u(r, e, t)), r
- }),
- (u.prototype.callFulfilled = function (e) {
- o.resolve(this.promise, e)
- }),
- (u.prototype.otherCallFulfilled = function (e) {
- f(this.promise, this.onFulfilled, e)
- }),
- (u.prototype.callRejected = function (e) {
- o.reject(this.promise, e)
- }),
- (u.prototype.otherCallRejected = function (e) {
- f(this.promise, this.onRejected, e)
- }),
- (o.resolve = function (e, t) {
- var r = h(p, t)
- if ("error" === r.status) return o.reject(e, r.value)
- var n = r.value
- if (n) d(e, n)
- else {
- ;(e.state = s), (e.outcome = t)
- for (var i = -1, a = e.queue.length; ++i < a; ) e.queue[i].callFulfilled(t)
- }
- return e
- }),
- (o.reject = function (e, t) {
- ;(e.state = a), (e.outcome = t)
- for (var r = -1, n = e.queue.length; ++r < n; ) e.queue[r].callRejected(t)
- return e
- }),
- (c.resolve = function (e) {
- return e instanceof this ? e : o.resolve(new this(i), e)
- }),
- (c.reject = function (e) {
- var t = new this(i)
- return o.reject(t, e)
- }),
- (c.all = function (e) {
- var t = this
- if ("[object Array]" !== Object.prototype.toString.call(e)) return this.reject(new TypeError("must be an array"))
- var r = e.length,
- n = !1
- if (!r) return this.resolve([])
- for (var a = new Array(r), s = 0, l = -1, c = new this(i); ++l < r; ) u(e[l], l)
- return c
- function u(e, i) {
- t.resolve(e).then(
- function (e) {
- ;(a[i] = e), ++s !== r || n || ((n = !0), o.resolve(c, a))
- },
- function (e) {
- n || ((n = !0), o.reject(c, e))
- }
- )
- }
- }),
- (c.race = function (e) {
- var t = this
- if ("[object Array]" !== Object.prototype.toString.call(e)) return this.reject(new TypeError("must be an array"))
- var r = e.length,
- n = !1
- if (!r) return this.resolve([])
- for (var a, s = -1, l = new this(i); ++s < r; )
- (a = e[s]),
- t.resolve(a).then(
- function (e) {
- n || ((n = !0), o.resolve(l, e))
- },
- function (e) {
- n || ((n = !0), o.reject(l, e))
- }
- )
- return l
- })
- },
- {
- immediate: 36
- }
- ],
- 38: [
- function (e, t, r) {
- "use strict"
- var n = {}
- ;(0, e("./lib/utils/common").assign)(n, e("./lib/deflate"), e("./lib/inflate"), e("./lib/zlib/constants")), (t.exports = n)
- },
- {
- "./lib/deflate": 39,
- "./lib/inflate": 40,
- "./lib/utils/common": 41,
- "./lib/zlib/constants": 44
- }
- ],
- 39: [
- function (e, t, r) {
- "use strict"
- var n = e("./zlib/deflate"),
- i = e("./utils/common"),
- o = e("./utils/strings"),
- a = e("./zlib/messages"),
- s = e("./zlib/zstream"),
- l = Object.prototype.toString,
- c = 0,
- u = -1,
- f = 0,
- p = 8
- function d(e) {
- if (!(this instanceof d)) return new d(e)
- this.options = i.assign(
- {
- level: u,
- method: p,
- chunkSize: 16384,
- windowBits: 15,
- memLevel: 8,
- strategy: f,
- to: ""
- },
- e || {}
- )
- var t = this.options
- t.raw && 0 < t.windowBits
- ? (t.windowBits = -t.windowBits)
- : t.gzip && 0 < t.windowBits && t.windowBits < 16 && (t.windowBits += 16),
- (this.err = 0),
- (this.msg = ""),
- (this.ended = !1),
- (this.chunks = []),
- (this.strm = new s()),
- (this.strm.avail_out = 0)
- var r = n.deflateInit2(this.strm, t.level, t.method, t.windowBits, t.memLevel, t.strategy)
- if (r !== c) throw new Error(a[r])
- if ((t.header && n.deflateSetHeader(this.strm, t.header), t.dictionary)) {
- var h
- if (
- ((h =
- "string" == typeof t.dictionary
- ? o.string2buf(t.dictionary)
- : "[object ArrayBuffer]" === l.call(t.dictionary)
- ? new Uint8Array(t.dictionary)
- : t.dictionary),
- (r = n.deflateSetDictionary(this.strm, h)) !== c)
- )
- throw new Error(a[r])
- this._dict_set = !0
- }
- }
- function h(e, t) {
- var r = new d(t)
- if ((r.push(e, !0), r.err)) throw r.msg || a[r.err]
- return r.result
- }
- ;(d.prototype.push = function (e, t) {
- var r,
- a,
- s = this.strm,
- u = this.options.chunkSize
- if (this.ended) return !1
- ;(a = t === ~~t ? t : !0 === t ? 4 : 0),
- "string" == typeof e
- ? (s.input = o.string2buf(e))
- : "[object ArrayBuffer]" === l.call(e)
- ? (s.input = new Uint8Array(e))
- : (s.input = e),
- (s.next_in = 0),
- (s.avail_in = s.input.length)
- do {
- if (
- (0 === s.avail_out && ((s.output = new i.Buf8(u)), (s.next_out = 0), (s.avail_out = u)),
- 1 !== (r = n.deflate(s, a)) && r !== c)
- )
- return this.onEnd(r), !(this.ended = !0)
- ;(0 !== s.avail_out && (0 !== s.avail_in || (4 !== a && 2 !== a))) ||
- ("string" === this.options.to
- ? this.onData(o.buf2binstring(i.shrinkBuf(s.output, s.next_out)))
- : this.onData(i.shrinkBuf(s.output, s.next_out)))
- } while ((0 < s.avail_in || 0 === s.avail_out) && 1 !== r)
- return 4 === a
- ? ((r = n.deflateEnd(this.strm)), this.onEnd(r), (this.ended = !0), r === c)
- : 2 !== a || (this.onEnd(c), !(s.avail_out = 0))
- }),
- (d.prototype.onData = function (e) {
- this.chunks.push(e)
- }),
- (d.prototype.onEnd = function (e) {
- e === c &&
- ("string" === this.options.to ? (this.result = this.chunks.join("")) : (this.result = i.flattenChunks(this.chunks))),
- (this.chunks = []),
- (this.err = e),
- (this.msg = this.strm.msg)
- }),
- (r.Deflate = d),
- (r.deflate = h),
- (r.deflateRaw = function (e, t) {
- return ((t = t || {}).raw = !0), h(e, t)
- }),
- (r.gzip = function (e, t) {
- return ((t = t || {}).gzip = !0), h(e, t)
- })
- },
- {
- "./utils/common": 41,
- "./utils/strings": 42,
- "./zlib/deflate": 46,
- "./zlib/messages": 51,
- "./zlib/zstream": 53
- }
- ],
- 40: [
- function (e, t, r) {
- "use strict"
- var n = e("./zlib/inflate"),
- i = e("./utils/common"),
- o = e("./utils/strings"),
- a = e("./zlib/constants"),
- s = e("./zlib/messages"),
- l = e("./zlib/zstream"),
- c = e("./zlib/gzheader"),
- u = Object.prototype.toString
- function f(e) {
- if (!(this instanceof f)) return new f(e)
- this.options = i.assign(
- {
- chunkSize: 16384,
- windowBits: 0,
- to: ""
- },
- e || {}
- )
- var t = this.options
- t.raw &&
- 0 <= t.windowBits &&
- t.windowBits < 16 &&
- ((t.windowBits = -t.windowBits), 0 === t.windowBits && (t.windowBits = -15)),
- !(0 <= t.windowBits && t.windowBits < 16) || (e && e.windowBits) || (t.windowBits += 32),
- 15 < t.windowBits && t.windowBits < 48 && 0 == (15 & t.windowBits) && (t.windowBits |= 15),
- (this.err = 0),
- (this.msg = ""),
- (this.ended = !1),
- (this.chunks = []),
- (this.strm = new l()),
- (this.strm.avail_out = 0)
- var r = n.inflateInit2(this.strm, t.windowBits)
- if (r !== a.Z_OK) throw new Error(s[r])
- ;(this.header = new c()), n.inflateGetHeader(this.strm, this.header)
- }
- function p(e, t) {
- var r = new f(t)
- if ((r.push(e, !0), r.err)) throw r.msg || s[r.err]
- return r.result
- }
- ;(f.prototype.push = function (e, t) {
- var r,
- s,
- l,
- c,
- f,
- p,
- d = this.strm,
- h = this.options.chunkSize,
- m = this.options.dictionary,
- g = !1
- if (this.ended) return !1
- ;(s = t === ~~t ? t : !0 === t ? a.Z_FINISH : a.Z_NO_FLUSH),
- "string" == typeof e
- ? (d.input = o.binstring2buf(e))
- : "[object ArrayBuffer]" === u.call(e)
- ? (d.input = new Uint8Array(e))
- : (d.input = e),
- (d.next_in = 0),
- (d.avail_in = d.input.length)
- do {
- if (
- (0 === d.avail_out && ((d.output = new i.Buf8(h)), (d.next_out = 0), (d.avail_out = h)),
- (r = n.inflate(d, a.Z_NO_FLUSH)) === a.Z_NEED_DICT &&
- m &&
- ((p = "string" == typeof m ? o.string2buf(m) : "[object ArrayBuffer]" === u.call(m) ? new Uint8Array(m) : m),
- (r = n.inflateSetDictionary(this.strm, p))),
- r === a.Z_BUF_ERROR && !0 === g && ((r = a.Z_OK), (g = !1)),
- r !== a.Z_STREAM_END && r !== a.Z_OK)
- )
- return this.onEnd(r), !(this.ended = !0)
- d.next_out &&
- ((0 !== d.avail_out && r !== a.Z_STREAM_END && (0 !== d.avail_in || (s !== a.Z_FINISH && s !== a.Z_SYNC_FLUSH))) ||
- ("string" === this.options.to
- ? ((l = o.utf8border(d.output, d.next_out)),
- (c = d.next_out - l),
- (f = o.buf2string(d.output, l)),
- (d.next_out = c),
- (d.avail_out = h - c),
- c && i.arraySet(d.output, d.output, l, c, 0),
- this.onData(f))
- : this.onData(i.shrinkBuf(d.output, d.next_out)))),
- 0 === d.avail_in && 0 === d.avail_out && (g = !0)
- } while ((0 < d.avail_in || 0 === d.avail_out) && r !== a.Z_STREAM_END)
- return (
- r === a.Z_STREAM_END && (s = a.Z_FINISH),
- s === a.Z_FINISH
- ? ((r = n.inflateEnd(this.strm)), this.onEnd(r), (this.ended = !0), r === a.Z_OK)
- : s !== a.Z_SYNC_FLUSH || (this.onEnd(a.Z_OK), !(d.avail_out = 0))
- )
- }),
- (f.prototype.onData = function (e) {
- this.chunks.push(e)
- }),
- (f.prototype.onEnd = function (e) {
- e === a.Z_OK &&
- ("string" === this.options.to ? (this.result = this.chunks.join("")) : (this.result = i.flattenChunks(this.chunks))),
- (this.chunks = []),
- (this.err = e),
- (this.msg = this.strm.msg)
- }),
- (r.Inflate = f),
- (r.inflate = p),
- (r.inflateRaw = function (e, t) {
- return ((t = t || {}).raw = !0), p(e, t)
- }),
- (r.ungzip = p)
- },
- {
- "./utils/common": 41,
- "./utils/strings": 42,
- "./zlib/constants": 44,
- "./zlib/gzheader": 47,
- "./zlib/inflate": 49,
- "./zlib/messages": 51,
- "./zlib/zstream": 53
- }
- ],
- 41: [
- function (e, t, r) {
- "use strict"
- var n = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Int32Array
- ;(r.assign = function (e) {
- for (var t = Array.prototype.slice.call(arguments, 1); t.length; ) {
- var r = t.shift()
- if (r) {
- if ("object" != typeof r) throw new TypeError(r + "must be non-object")
- for (var n in r) r.hasOwnProperty(n) && (e[n] = r[n])
- }
- }
- return e
- }),
- (r.shrinkBuf = function (e, t) {
- return e.length === t ? e : e.subarray ? e.subarray(0, t) : ((e.length = t), e)
- })
- var i = {
- arraySet: function (e, t, r, n, i) {
- if (t.subarray && e.subarray) e.set(t.subarray(r, r + n), i)
- else for (var o = 0; o < n; o++) e[i + o] = t[r + o]
- },
- flattenChunks: function (e) {
- var t, r, n, i, o, a
- for (t = n = 0, r = e.length; t < r; t++) n += e[t].length
- for (a = new Uint8Array(n), t = i = 0, r = e.length; t < r; t++) (o = e[t]), a.set(o, i), (i += o.length)
- return a
- }
- },
- o = {
- arraySet: function (e, t, r, n, i) {
- for (var o = 0; o < n; o++) e[i + o] = t[r + o]
- },
- flattenChunks: function (e) {
- return [].concat.apply([], e)
- }
- }
- ;(r.setTyped = function (e) {
- e
- ? ((r.Buf8 = Uint8Array), (r.Buf16 = Uint16Array), (r.Buf32 = Int32Array), r.assign(r, i))
- : ((r.Buf8 = Array), (r.Buf16 = Array), (r.Buf32 = Array), r.assign(r, o))
- }),
- r.setTyped(n)
- },
- {}
- ],
- 42: [
- function (e, t, r) {
- "use strict"
- var n = e("./common"),
- i = !0,
- o = !0
- try {
- String.fromCharCode.apply(null, [0])
- } catch (e) {
- i = !1
- }
- try {
- String.fromCharCode.apply(null, new Uint8Array(1))
- } catch (e) {
- o = !1
- }
- for (var a = new n.Buf8(256), s = 0; s < 256; s++)
- a[s] = 252 <= s ? 6 : 248 <= s ? 5 : 240 <= s ? 4 : 224 <= s ? 3 : 192 <= s ? 2 : 1
- function l(e, t) {
- if (t < 65537 && ((e.subarray && o) || (!e.subarray && i))) return String.fromCharCode.apply(null, n.shrinkBuf(e, t))
- for (var r = "", a = 0; a < t; a++) r += String.fromCharCode(e[a])
- return r
- }
- ;(a[254] = a[254] = 1),
- (r.string2buf = function (e) {
- var t,
- r,
- i,
- o,
- a,
- s = e.length,
- l = 0
- for (o = 0; o < s; o++)
- 55296 == (64512 & (r = e.charCodeAt(o))) &&
- o + 1 < s &&
- 56320 == (64512 & (i = e.charCodeAt(o + 1))) &&
- ((r = 65536 + ((r - 55296) << 10) + (i - 56320)), o++),
- (l += r < 128 ? 1 : r < 2048 ? 2 : r < 65536 ? 3 : 4)
- for (t = new n.Buf8(l), o = a = 0; a < l; o++)
- 55296 == (64512 & (r = e.charCodeAt(o))) &&
- o + 1 < s &&
- 56320 == (64512 & (i = e.charCodeAt(o + 1))) &&
- ((r = 65536 + ((r - 55296) << 10) + (i - 56320)), o++),
- r < 128
- ? (t[a++] = r)
- : (r < 2048
- ? (t[a++] = 192 | (r >>> 6))
- : (r < 65536
- ? (t[a++] = 224 | (r >>> 12))
- : ((t[a++] = 240 | (r >>> 18)), (t[a++] = 128 | ((r >>> 12) & 63))),
- (t[a++] = 128 | ((r >>> 6) & 63))),
- (t[a++] = 128 | (63 & r)))
- return t
- }),
- (r.buf2binstring = function (e) {
- return l(e, e.length)
- }),
- (r.binstring2buf = function (e) {
- for (var t = new n.Buf8(e.length), r = 0, i = t.length; r < i; r++) t[r] = e.charCodeAt(r)
- return t
- }),
- (r.buf2string = function (e, t) {
- var r,
- n,
- i,
- o,
- s = t || e.length,
- c = new Array(2 * s)
- for (r = n = 0; r < s; )
- if ((i = e[r++]) < 128) c[n++] = i
- else if (4 < (o = a[i])) (c[n++] = 65533), (r += o - 1)
- else {
- for (i &= 2 === o ? 31 : 3 === o ? 15 : 7; 1 < o && r < s; ) (i = (i << 6) | (63 & e[r++])), o--
- 1 < o
- ? (c[n++] = 65533)
- : i < 65536
- ? (c[n++] = i)
- : ((i -= 65536), (c[n++] = 55296 | ((i >> 10) & 1023)), (c[n++] = 56320 | (1023 & i)))
- }
- return l(c, n)
- }),
- (r.utf8border = function (e, t) {
- var r
- for ((t = t || e.length) > e.length && (t = e.length), r = t - 1; 0 <= r && 128 == (192 & e[r]); ) r--
- return r < 0 || 0 === r ? t : r + a[e[r]] > t ? r : t
- })
- },
- {
- "./common": 41
- }
- ],
- 43: [
- function (e, t, r) {
- "use strict"
- t.exports = function (e, t, r, n) {
- for (var i = (65535 & e) | 0, o = ((e >>> 16) & 65535) | 0, a = 0; 0 !== r; ) {
- for (r -= a = 2e3 < r ? 2e3 : r; (o = (o + (i = (i + t[n++]) | 0)) | 0), --a; );
- ;(i %= 65521), (o %= 65521)
- }
- return i | (o << 16) | 0
- }
- },
- {}
- ],
- 44: [
- function (e, t, r) {
- "use strict"
- t.exports = {
- Z_NO_FLUSH: 0,
- Z_PARTIAL_FLUSH: 1,
- Z_SYNC_FLUSH: 2,
- Z_FULL_FLUSH: 3,
- Z_FINISH: 4,
- Z_BLOCK: 5,
- Z_TREES: 6,
- Z_OK: 0,
- Z_STREAM_END: 1,
- Z_NEED_DICT: 2,
- Z_ERRNO: -1,
- Z_STREAM_ERROR: -2,
- Z_DATA_ERROR: -3,
- Z_BUF_ERROR: -5,
- Z_NO_COMPRESSION: 0,
- Z_BEST_SPEED: 1,
- Z_BEST_COMPRESSION: 9,
- Z_DEFAULT_COMPRESSION: -1,
- Z_FILTERED: 1,
- Z_HUFFMAN_ONLY: 2,
- Z_RLE: 3,
- Z_FIXED: 4,
- Z_DEFAULT_STRATEGY: 0,
- Z_BINARY: 0,
- Z_TEXT: 1,
- Z_UNKNOWN: 2,
- Z_DEFLATED: 8
- }
- },
- {}
- ],
- 45: [
- function (e, t, r) {
- "use strict"
- var n = (function () {
- for (var e, t = [], r = 0; r < 256; r++) {
- e = r
- for (var n = 0; n < 8; n++) e = 1 & e ? 3988292384 ^ (e >>> 1) : e >>> 1
- t[r] = e
- }
- return t
- })()
- t.exports = function (e, t, r, i) {
- var o = n,
- a = i + r
- e ^= -1
- for (var s = i; s < a; s++) e = (e >>> 8) ^ o[255 & (e ^ t[s])]
- return -1 ^ e
- }
- },
- {}
- ],
- 46: [
- function (e, t, r) {
- "use strict"
- var n,
- i = e("../utils/common"),
- o = e("./trees"),
- a = e("./adler32"),
- s = e("./crc32"),
- l = e("./messages"),
- c = 0,
- u = 4,
- f = 0,
- p = -2,
- d = -1,
- h = 4,
- m = 2,
- g = 8,
- y = 9,
- v = 286,
- b = 30,
- w = 19,
- x = 2 * v + 1,
- A = 15,
- _ = 3,
- T = 258,
- E = T + _ + 1,
- S = 42,
- C = 113,
- k = 1,
- L = 2,
- P = 3,
- O = 4
- function j(e, t) {
- return (e.msg = l[t]), t
- }
- function R(e) {
- return (e << 1) - (4 < e ? 9 : 0)
- }
- function I(e) {
- for (var t = e.length; 0 <= --t; ) e[t] = 0
- }
- function N(e) {
- var t = e.state,
- r = t.pending
- r > e.avail_out && (r = e.avail_out),
- 0 !== r &&
- (i.arraySet(e.output, t.pending_buf, t.pending_out, r, e.next_out),
- (e.next_out += r),
- (t.pending_out += r),
- (e.total_out += r),
- (e.avail_out -= r),
- (t.pending -= r),
- 0 === t.pending && (t.pending_out = 0))
- }
- function M(e, t) {
- o._tr_flush_block(e, 0 <= e.block_start ? e.block_start : -1, e.strstart - e.block_start, t),
- (e.block_start = e.strstart),
- N(e.strm)
- }
- function D(e, t) {
- e.pending_buf[e.pending++] = t
- }
- function B(e, t) {
- ;(e.pending_buf[e.pending++] = (t >>> 8) & 255), (e.pending_buf[e.pending++] = 255 & t)
- }
- function F(e, t) {
- var r,
- n,
- i = e.max_chain_length,
- o = e.strstart,
- a = e.prev_length,
- s = e.nice_match,
- l = e.strstart > e.w_size - E ? e.strstart - (e.w_size - E) : 0,
- c = e.window,
- u = e.w_mask,
- f = e.prev,
- p = e.strstart + T,
- d = c[o + a - 1],
- h = c[o + a]
- e.prev_length >= e.good_match && (i >>= 2), s > e.lookahead && (s = e.lookahead)
- do {
- if (c[(r = t) + a] === h && c[r + a - 1] === d && c[r] === c[o] && c[++r] === c[o + 1]) {
- ;(o += 2), r++
- do {} while (
- c[++o] === c[++r] &&
- c[++o] === c[++r] &&
- c[++o] === c[++r] &&
- c[++o] === c[++r] &&
- c[++o] === c[++r] &&
- c[++o] === c[++r] &&
- c[++o] === c[++r] &&
- c[++o] === c[++r] &&
- o < p
- )
- if (((n = T - (p - o)), (o = p - T), a < n)) {
- if (((e.match_start = t), s <= (a = n))) break
- ;(d = c[o + a - 1]), (h = c[o + a])
- }
- }
- } while ((t = f[t & u]) > l && 0 != --i)
- return a <= e.lookahead ? a : e.lookahead
- }
- function U(e) {
- var t,
- r,
- n,
- o,
- l,
- c,
- u,
- f,
- p,
- d,
- h = e.w_size
- do {
- if (((o = e.window_size - e.lookahead - e.strstart), e.strstart >= h + (h - E))) {
- for (
- i.arraySet(e.window, e.window, h, h, 0),
- e.match_start -= h,
- e.strstart -= h,
- e.block_start -= h,
- t = r = e.hash_size;
- (n = e.head[--t]), (e.head[t] = h <= n ? n - h : 0), --r;
- );
- for (t = r = h; (n = e.prev[--t]), (e.prev[t] = h <= n ? n - h : 0), --r; );
- o += h
- }
- if (0 === e.strm.avail_in) break
- if (
- ((c = e.strm),
- (u = e.window),
- (f = e.strstart + e.lookahead),
- (p = o),
- (d = void 0),
- (d = c.avail_in),
- p < d && (d = p),
- (r =
- 0 === d
- ? 0
- : ((c.avail_in -= d),
- i.arraySet(u, c.input, c.next_in, d, f),
- 1 === c.state.wrap ? (c.adler = a(c.adler, u, d, f)) : 2 === c.state.wrap && (c.adler = s(c.adler, u, d, f)),
- (c.next_in += d),
- (c.total_in += d),
- d)),
- (e.lookahead += r),
- e.lookahead + e.insert >= _)
- )
- for (
- l = e.strstart - e.insert,
- e.ins_h = e.window[l],
- e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[l + 1]) & e.hash_mask;
- e.insert &&
- ((e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[l + _ - 1]) & e.hash_mask),
- (e.prev[l & e.w_mask] = e.head[e.ins_h]),
- (e.head[e.ins_h] = l),
- l++,
- e.insert--,
- !(e.lookahead + e.insert < _));
- );
- } while (e.lookahead < E && 0 !== e.strm.avail_in)
- }
- function z(e, t) {
- for (var r, n; ; ) {
- if (e.lookahead < E) {
- if ((U(e), e.lookahead < E && t === c)) return k
- if (0 === e.lookahead) break
- }
- if (
- ((r = 0),
- e.lookahead >= _ &&
- ((e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[e.strstart + _ - 1]) & e.hash_mask),
- (r = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h]),
- (e.head[e.ins_h] = e.strstart)),
- 0 !== r && e.strstart - r <= e.w_size - E && (e.match_length = F(e, r)),
- e.match_length >= _)
- )
- if (
- ((n = o._tr_tally(e, e.strstart - e.match_start, e.match_length - _)),
- (e.lookahead -= e.match_length),
- e.match_length <= e.max_lazy_match && e.lookahead >= _)
- ) {
- for (
- e.match_length--;
- e.strstart++,
- (e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[e.strstart + _ - 1]) & e.hash_mask),
- (r = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h]),
- (e.head[e.ins_h] = e.strstart),
- 0 != --e.match_length;
- );
- e.strstart++
- } else
- (e.strstart += e.match_length),
- (e.match_length = 0),
- (e.ins_h = e.window[e.strstart]),
- (e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[e.strstart + 1]) & e.hash_mask)
- else (n = o._tr_tally(e, 0, e.window[e.strstart])), e.lookahead--, e.strstart++
- if (n && (M(e, !1), 0 === e.strm.avail_out)) return k
- }
- return (
- (e.insert = e.strstart < _ - 1 ? e.strstart : _ - 1),
- t === u ? (M(e, !0), 0 === e.strm.avail_out ? P : O) : e.last_lit && (M(e, !1), 0 === e.strm.avail_out) ? k : L
- )
- }
- function q(e, t) {
- for (var r, n, i; ; ) {
- if (e.lookahead < E) {
- if ((U(e), e.lookahead < E && t === c)) return k
- if (0 === e.lookahead) break
- }
- if (
- ((r = 0),
- e.lookahead >= _ &&
- ((e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[e.strstart + _ - 1]) & e.hash_mask),
- (r = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h]),
- (e.head[e.ins_h] = e.strstart)),
- (e.prev_length = e.match_length),
- (e.prev_match = e.match_start),
- (e.match_length = _ - 1),
- 0 !== r &&
- e.prev_length < e.max_lazy_match &&
- e.strstart - r <= e.w_size - E &&
- ((e.match_length = F(e, r)),
- e.match_length <= 5 &&
- (1 === e.strategy || (e.match_length === _ && 4096 < e.strstart - e.match_start)) &&
- (e.match_length = _ - 1)),
- e.prev_length >= _ && e.match_length <= e.prev_length)
- ) {
- for (
- i = e.strstart + e.lookahead - _,
- n = o._tr_tally(e, e.strstart - 1 - e.prev_match, e.prev_length - _),
- e.lookahead -= e.prev_length - 1,
- e.prev_length -= 2;
- ++e.strstart <= i &&
- ((e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[e.strstart + _ - 1]) & e.hash_mask),
- (r = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h]),
- (e.head[e.ins_h] = e.strstart)),
- 0 != --e.prev_length;
- );
- if (((e.match_available = 0), (e.match_length = _ - 1), e.strstart++, n && (M(e, !1), 0 === e.strm.avail_out)))
- return k
- } else if (e.match_available) {
- if (
- ((n = o._tr_tally(e, 0, e.window[e.strstart - 1])) && M(e, !1),
- e.strstart++,
- e.lookahead--,
- 0 === e.strm.avail_out)
- )
- return k
- } else (e.match_available = 1), e.strstart++, e.lookahead--
- }
- return (
- e.match_available && ((n = o._tr_tally(e, 0, e.window[e.strstart - 1])), (e.match_available = 0)),
- (e.insert = e.strstart < _ - 1 ? e.strstart : _ - 1),
- t === u ? (M(e, !0), 0 === e.strm.avail_out ? P : O) : e.last_lit && (M(e, !1), 0 === e.strm.avail_out) ? k : L
- )
- }
- function G(e, t, r, n, i) {
- ;(this.good_length = e), (this.max_lazy = t), (this.nice_length = r), (this.max_chain = n), (this.func = i)
- }
- function W() {
- ;(this.strm = null),
- (this.status = 0),
- (this.pending_buf = null),
- (this.pending_buf_size = 0),
- (this.pending_out = 0),
- (this.pending = 0),
- (this.wrap = 0),
- (this.gzhead = null),
- (this.gzindex = 0),
- (this.method = g),
- (this.last_flush = -1),
- (this.w_size = 0),
- (this.w_bits = 0),
- (this.w_mask = 0),
- (this.window = null),
- (this.window_size = 0),
- (this.prev = null),
- (this.head = null),
- (this.ins_h = 0),
- (this.hash_size = 0),
- (this.hash_bits = 0),
- (this.hash_mask = 0),
- (this.hash_shift = 0),
- (this.block_start = 0),
- (this.match_length = 0),
- (this.prev_match = 0),
- (this.match_available = 0),
- (this.strstart = 0),
- (this.match_start = 0),
- (this.lookahead = 0),
- (this.prev_length = 0),
- (this.max_chain_length = 0),
- (this.max_lazy_match = 0),
- (this.level = 0),
- (this.strategy = 0),
- (this.good_match = 0),
- (this.nice_match = 0),
- (this.dyn_ltree = new i.Buf16(2 * x)),
- (this.dyn_dtree = new i.Buf16(2 * (2 * b + 1))),
- (this.bl_tree = new i.Buf16(2 * (2 * w + 1))),
- I(this.dyn_ltree),
- I(this.dyn_dtree),
- I(this.bl_tree),
- (this.l_desc = null),
- (this.d_desc = null),
- (this.bl_desc = null),
- (this.bl_count = new i.Buf16(A + 1)),
- (this.heap = new i.Buf16(2 * v + 1)),
- I(this.heap),
- (this.heap_len = 0),
- (this.heap_max = 0),
- (this.depth = new i.Buf16(2 * v + 1)),
- I(this.depth),
- (this.l_buf = 0),
- (this.lit_bufsize = 0),
- (this.last_lit = 0),
- (this.d_buf = 0),
- (this.opt_len = 0),
- (this.static_len = 0),
- (this.matches = 0),
- (this.insert = 0),
- (this.bi_buf = 0),
- (this.bi_valid = 0)
- }
- function V(e) {
- var t
- return e && e.state
- ? ((e.total_in = e.total_out = 0),
- (e.data_type = m),
- ((t = e.state).pending = 0),
- (t.pending_out = 0),
- t.wrap < 0 && (t.wrap = -t.wrap),
- (t.status = t.wrap ? S : C),
- (e.adler = 2 === t.wrap ? 0 : 1),
- (t.last_flush = c),
- o._tr_init(t),
- f)
- : j(e, p)
- }
- function H(e) {
- var t = V(e)
- return (
- t === f &&
- (function (e) {
- ;(e.window_size = 2 * e.w_size),
- I(e.head),
- (e.max_lazy_match = n[e.level].max_lazy),
- (e.good_match = n[e.level].good_length),
- (e.nice_match = n[e.level].nice_length),
- (e.max_chain_length = n[e.level].max_chain),
- (e.strstart = 0),
- (e.block_start = 0),
- (e.lookahead = 0),
- (e.insert = 0),
- (e.match_length = e.prev_length = _ - 1),
- (e.match_available = 0),
- (e.ins_h = 0)
- })(e.state),
- t
- )
- }
- function X(e, t, r, n, o, a) {
- if (!e) return p
- var s = 1
- if (
- (t === d && (t = 6),
- n < 0 ? ((s = 0), (n = -n)) : 15 < n && ((s = 2), (n -= 16)),
- o < 1 || y < o || r !== g || n < 8 || 15 < n || t < 0 || 9 < t || a < 0 || h < a)
- )
- return j(e, p)
- 8 === n && (n = 9)
- var l = new W()
- return (
- ((e.state = l).strm = e),
- (l.wrap = s),
- (l.gzhead = null),
- (l.w_bits = n),
- (l.w_size = 1 << l.w_bits),
- (l.w_mask = l.w_size - 1),
- (l.hash_bits = o + 7),
- (l.hash_size = 1 << l.hash_bits),
- (l.hash_mask = l.hash_size - 1),
- (l.hash_shift = ~~((l.hash_bits + _ - 1) / _)),
- (l.window = new i.Buf8(2 * l.w_size)),
- (l.head = new i.Buf16(l.hash_size)),
- (l.prev = new i.Buf16(l.w_size)),
- (l.lit_bufsize = 1 << (o + 6)),
- (l.pending_buf_size = 4 * l.lit_bufsize),
- (l.pending_buf = new i.Buf8(l.pending_buf_size)),
- (l.d_buf = 1 * l.lit_bufsize),
- (l.l_buf = 3 * l.lit_bufsize),
- (l.level = t),
- (l.strategy = a),
- (l.method = r),
- H(e)
- )
- }
- ;(n = [
- new G(0, 0, 0, 0, function (e, t) {
- var r = 65535
- for (r > e.pending_buf_size - 5 && (r = e.pending_buf_size - 5); ; ) {
- if (e.lookahead <= 1) {
- if ((U(e), 0 === e.lookahead && t === c)) return k
- if (0 === e.lookahead) break
- }
- ;(e.strstart += e.lookahead), (e.lookahead = 0)
- var n = e.block_start + r
- if (
- (0 === e.strstart || e.strstart >= n) &&
- ((e.lookahead = e.strstart - n), (e.strstart = n), M(e, !1), 0 === e.strm.avail_out)
- )
- return k
- if (e.strstart - e.block_start >= e.w_size - E && (M(e, !1), 0 === e.strm.avail_out)) return k
- }
- return (
- (e.insert = 0),
- t === u
- ? (M(e, !0), 0 === e.strm.avail_out ? P : O)
- : (e.strstart > e.block_start && (M(e, !1), e.strm.avail_out), k)
- )
- }),
- new G(4, 4, 8, 4, z),
- new G(4, 5, 16, 8, z),
- new G(4, 6, 32, 32, z),
- new G(4, 4, 16, 16, q),
- new G(8, 16, 32, 32, q),
- new G(8, 16, 128, 128, q),
- new G(8, 32, 128, 256, q),
- new G(32, 128, 258, 1024, q),
- new G(32, 258, 258, 4096, q)
- ]),
- (r.deflateInit = function (e, t) {
- return X(e, t, g, 15, 8, 0)
- }),
- (r.deflateInit2 = X),
- (r.deflateReset = H),
- (r.deflateResetKeep = V),
- (r.deflateSetHeader = function (e, t) {
- return e && e.state ? (2 !== e.state.wrap ? p : ((e.state.gzhead = t), f)) : p
- }),
- (r.deflate = function (e, t) {
- var r, i, a, l
- if (!e || !e.state || 5 < t || t < 0) return e ? j(e, p) : p
- if (((i = e.state), !e.output || (!e.input && 0 !== e.avail_in) || (666 === i.status && t !== u)))
- return j(e, 0 === e.avail_out ? -5 : p)
- if (((i.strm = e), (r = i.last_flush), (i.last_flush = t), i.status === S))
- if (2 === i.wrap)
- (e.adler = 0),
- D(i, 31),
- D(i, 139),
- D(i, 8),
- i.gzhead
- ? (D(
- i,
- (i.gzhead.text ? 1 : 0) +
- (i.gzhead.hcrc ? 2 : 0) +
- (i.gzhead.extra ? 4 : 0) +
- (i.gzhead.name ? 8 : 0) +
- (i.gzhead.comment ? 16 : 0)
- ),
- D(i, 255 & i.gzhead.time),
- D(i, (i.gzhead.time >> 8) & 255),
- D(i, (i.gzhead.time >> 16) & 255),
- D(i, (i.gzhead.time >> 24) & 255),
- D(i, 9 === i.level ? 2 : 2 <= i.strategy || i.level < 2 ? 4 : 0),
- D(i, 255 & i.gzhead.os),
- i.gzhead.extra &&
- i.gzhead.extra.length &&
- (D(i, 255 & i.gzhead.extra.length), D(i, (i.gzhead.extra.length >> 8) & 255)),
- i.gzhead.hcrc && (e.adler = s(e.adler, i.pending_buf, i.pending, 0)),
- (i.gzindex = 0),
- (i.status = 69))
- : (D(i, 0),
- D(i, 0),
- D(i, 0),
- D(i, 0),
- D(i, 0),
- D(i, 9 === i.level ? 2 : 2 <= i.strategy || i.level < 2 ? 4 : 0),
- D(i, 3),
- (i.status = C))
- else {
- var d = (g + ((i.w_bits - 8) << 4)) << 8
- ;(d |= (2 <= i.strategy || i.level < 2 ? 0 : i.level < 6 ? 1 : 6 === i.level ? 2 : 3) << 6),
- 0 !== i.strstart && (d |= 32),
- (d += 31 - (d % 31)),
- (i.status = C),
- B(i, d),
- 0 !== i.strstart && (B(i, e.adler >>> 16), B(i, 65535 & e.adler)),
- (e.adler = 1)
- }
- if (69 === i.status)
- if (i.gzhead.extra) {
- for (
- a = i.pending;
- i.gzindex < (65535 & i.gzhead.extra.length) &&
- (i.pending !== i.pending_buf_size ||
- (i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)),
- N(e),
- (a = i.pending),
- i.pending !== i.pending_buf_size));
- )
- D(i, 255 & i.gzhead.extra[i.gzindex]), i.gzindex++
- i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)),
- i.gzindex === i.gzhead.extra.length && ((i.gzindex = 0), (i.status = 73))
- } else i.status = 73
- if (73 === i.status)
- if (i.gzhead.name) {
- a = i.pending
- do {
- if (
- i.pending === i.pending_buf_size &&
- (i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)),
- N(e),
- (a = i.pending),
- i.pending === i.pending_buf_size)
- ) {
- l = 1
- break
- }
- ;(l = i.gzindex < i.gzhead.name.length ? 255 & i.gzhead.name.charCodeAt(i.gzindex++) : 0), D(i, l)
- } while (0 !== l)
- i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)),
- 0 === l && ((i.gzindex = 0), (i.status = 91))
- } else i.status = 91
- if (91 === i.status)
- if (i.gzhead.comment) {
- a = i.pending
- do {
- if (
- i.pending === i.pending_buf_size &&
- (i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)),
- N(e),
- (a = i.pending),
- i.pending === i.pending_buf_size)
- ) {
- l = 1
- break
- }
- ;(l = i.gzindex < i.gzhead.comment.length ? 255 & i.gzhead.comment.charCodeAt(i.gzindex++) : 0), D(i, l)
- } while (0 !== l)
- i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)),
- 0 === l && (i.status = 103)
- } else i.status = 103
- if (
- (103 === i.status &&
- (i.gzhead.hcrc
- ? (i.pending + 2 > i.pending_buf_size && N(e),
- i.pending + 2 <= i.pending_buf_size &&
- (D(i, 255 & e.adler), D(i, (e.adler >> 8) & 255), (e.adler = 0), (i.status = C)))
- : (i.status = C)),
- 0 !== i.pending)
- ) {
- if ((N(e), 0 === e.avail_out)) return (i.last_flush = -1), f
- } else if (0 === e.avail_in && R(t) <= R(r) && t !== u) return j(e, -5)
- if (666 === i.status && 0 !== e.avail_in) return j(e, -5)
- if (0 !== e.avail_in || 0 !== i.lookahead || (t !== c && 666 !== i.status)) {
- var h =
- 2 === i.strategy
- ? (function (e, t) {
- for (var r; ; ) {
- if (0 === e.lookahead && (U(e), 0 === e.lookahead)) {
- if (t === c) return k
- break
- }
- if (
- ((e.match_length = 0),
- (r = o._tr_tally(e, 0, e.window[e.strstart])),
- e.lookahead--,
- e.strstart++,
- r && (M(e, !1), 0 === e.strm.avail_out))
- )
- return k
- }
- return (
- (e.insert = 0),
- t === u
- ? (M(e, !0), 0 === e.strm.avail_out ? P : O)
- : e.last_lit && (M(e, !1), 0 === e.strm.avail_out)
- ? k
- : L
- )
- })(i, t)
- : 3 === i.strategy
- ? (function (e, t) {
- for (var r, n, i, a, s = e.window; ; ) {
- if (e.lookahead <= T) {
- if ((U(e), e.lookahead <= T && t === c)) return k
- if (0 === e.lookahead) break
- }
- if (
- ((e.match_length = 0),
- e.lookahead >= _ &&
- 0 < e.strstart &&
- (n = s[(i = e.strstart - 1)]) === s[++i] &&
- n === s[++i] &&
- n === s[++i])
- ) {
- a = e.strstart + T
- do {} while (
- n === s[++i] &&
- n === s[++i] &&
- n === s[++i] &&
- n === s[++i] &&
- n === s[++i] &&
- n === s[++i] &&
- n === s[++i] &&
- n === s[++i] &&
- i < a
- )
- ;(e.match_length = T - (a - i)), e.match_length > e.lookahead && (e.match_length = e.lookahead)
- }
- if (
- (e.match_length >= _
- ? ((r = o._tr_tally(e, 1, e.match_length - _)),
- (e.lookahead -= e.match_length),
- (e.strstart += e.match_length),
- (e.match_length = 0))
- : ((r = o._tr_tally(e, 0, e.window[e.strstart])), e.lookahead--, e.strstart++),
- r && (M(e, !1), 0 === e.strm.avail_out))
- )
- return k
- }
- return (
- (e.insert = 0),
- t === u
- ? (M(e, !0), 0 === e.strm.avail_out ? P : O)
- : e.last_lit && (M(e, !1), 0 === e.strm.avail_out)
- ? k
- : L
- )
- })(i, t)
- : n[i.level].func(i, t)
- if (((h !== P && h !== O) || (i.status = 666), h === k || h === P))
- return 0 === e.avail_out && (i.last_flush = -1), f
- if (
- h === L &&
- (1 === t
- ? o._tr_align(i)
- : 5 !== t &&
- (o._tr_stored_block(i, 0, 0, !1),
- 3 === t && (I(i.head), 0 === i.lookahead && ((i.strstart = 0), (i.block_start = 0), (i.insert = 0)))),
- N(e),
- 0 === e.avail_out)
- )
- return (i.last_flush = -1), f
- }
- return t !== u
- ? f
- : i.wrap <= 0
- ? 1
- : (2 === i.wrap
- ? (D(i, 255 & e.adler),
- D(i, (e.adler >> 8) & 255),
- D(i, (e.adler >> 16) & 255),
- D(i, (e.adler >> 24) & 255),
- D(i, 255 & e.total_in),
- D(i, (e.total_in >> 8) & 255),
- D(i, (e.total_in >> 16) & 255),
- D(i, (e.total_in >> 24) & 255))
- : (B(i, e.adler >>> 16), B(i, 65535 & e.adler)),
- N(e),
- 0 < i.wrap && (i.wrap = -i.wrap),
- 0 !== i.pending ? f : 1)
- }),
- (r.deflateEnd = function (e) {
- var t
- return e && e.state
- ? (t = e.state.status) !== S && 69 !== t && 73 !== t && 91 !== t && 103 !== t && t !== C && 666 !== t
- ? j(e, p)
- : ((e.state = null), t === C ? j(e, -3) : f)
- : p
- }),
- (r.deflateSetDictionary = function (e, t) {
- var r,
- n,
- o,
- s,
- l,
- c,
- u,
- d,
- h = t.length
- if (!e || !e.state) return p
- if (2 === (s = (r = e.state).wrap) || (1 === s && r.status !== S) || r.lookahead) return p
- for (
- 1 === s && (e.adler = a(e.adler, t, h, 0)),
- r.wrap = 0,
- h >= r.w_size &&
- (0 === s && (I(r.head), (r.strstart = 0), (r.block_start = 0), (r.insert = 0)),
- (d = new i.Buf8(r.w_size)),
- i.arraySet(d, t, h - r.w_size, r.w_size, 0),
- (t = d),
- (h = r.w_size)),
- l = e.avail_in,
- c = e.next_in,
- u = e.input,
- e.avail_in = h,
- e.next_in = 0,
- e.input = t,
- U(r);
- r.lookahead >= _;
- ) {
- for (
- n = r.strstart, o = r.lookahead - (_ - 1);
- (r.ins_h = ((r.ins_h << r.hash_shift) ^ r.window[n + _ - 1]) & r.hash_mask),
- (r.prev[n & r.w_mask] = r.head[r.ins_h]),
- (r.head[r.ins_h] = n),
- n++,
- --o;
- );
- ;(r.strstart = n), (r.lookahead = _ - 1), U(r)
- }
- return (
- (r.strstart += r.lookahead),
- (r.block_start = r.strstart),
- (r.insert = r.lookahead),
- (r.lookahead = 0),
- (r.match_length = r.prev_length = _ - 1),
- (r.match_available = 0),
- (e.next_in = c),
- (e.input = u),
- (e.avail_in = l),
- (r.wrap = s),
- f
- )
- }),
- (r.deflateInfo = "pako deflate (from Nodeca project)")
- },
- {
- "../utils/common": 41,
- "./adler32": 43,
- "./crc32": 45,
- "./messages": 51,
- "./trees": 52
- }
- ],
- 47: [
- function (e, t, r) {
- "use strict"
- t.exports = function () {
- ;(this.text = 0),
- (this.time = 0),
- (this.xflags = 0),
- (this.os = 0),
- (this.extra = null),
- (this.extra_len = 0),
- (this.name = ""),
- (this.comment = ""),
- (this.hcrc = 0),
- (this.done = !1)
- }
- },
- {}
- ],
- 48: [
- function (e, t, r) {
- "use strict"
- t.exports = function (e, t) {
- var r, n, i, o, a, s, l, c, u, f, p, d, h, m, g, y, v, b, w, x, A, _, T, E, S
- ;(r = e.state),
- (n = e.next_in),
- (E = e.input),
- (i = n + (e.avail_in - 5)),
- (o = e.next_out),
- (S = e.output),
- (a = o - (t - e.avail_out)),
- (s = o + (e.avail_out - 257)),
- (l = r.dmax),
- (c = r.wsize),
- (u = r.whave),
- (f = r.wnext),
- (p = r.window),
- (d = r.hold),
- (h = r.bits),
- (m = r.lencode),
- (g = r.distcode),
- (y = (1 << r.lenbits) - 1),
- (v = (1 << r.distbits) - 1)
- e: do {
- h < 15 && ((d += E[n++] << h), (h += 8), (d += E[n++] << h), (h += 8)), (b = m[d & y])
- t: for (;;) {
- if (((d >>>= w = b >>> 24), (h -= w), 0 === (w = (b >>> 16) & 255))) S[o++] = 65535 & b
- else {
- if (!(16 & w)) {
- if (0 == (64 & w)) {
- b = m[(65535 & b) + (d & ((1 << w) - 1))]
- continue t
- }
- if (32 & w) {
- r.mode = 12
- break e
- }
- ;(e.msg = "invalid literal/length code"), (r.mode = 30)
- break e
- }
- ;(x = 65535 & b),
- (w &= 15) && (h < w && ((d += E[n++] << h), (h += 8)), (x += d & ((1 << w) - 1)), (d >>>= w), (h -= w)),
- h < 15 && ((d += E[n++] << h), (h += 8), (d += E[n++] << h), (h += 8)),
- (b = g[d & v])
- r: for (;;) {
- if (((d >>>= w = b >>> 24), (h -= w), !(16 & (w = (b >>> 16) & 255)))) {
- if (0 == (64 & w)) {
- b = g[(65535 & b) + (d & ((1 << w) - 1))]
- continue r
- }
- ;(e.msg = "invalid distance code"), (r.mode = 30)
- break e
- }
- if (
- ((A = 65535 & b),
- h < (w &= 15) && ((d += E[n++] << h), (h += 8) < w && ((d += E[n++] << h), (h += 8))),
- l < (A += d & ((1 << w) - 1)))
- ) {
- ;(e.msg = "invalid distance too far back"), (r.mode = 30)
- break e
- }
- if (((d >>>= w), (h -= w), (w = o - a) < A)) {
- if (u < (w = A - w) && r.sane) {
- ;(e.msg = "invalid distance too far back"), (r.mode = 30)
- break e
- }
- if (((T = p), (_ = 0) === f)) {
- if (((_ += c - w), w < x)) {
- for (x -= w; (S[o++] = p[_++]), --w; );
- ;(_ = o - A), (T = S)
- }
- } else if (f < w) {
- if (((_ += c + f - w), (w -= f) < x)) {
- for (x -= w; (S[o++] = p[_++]), --w; );
- if (((_ = 0), f < x)) {
- for (x -= w = f; (S[o++] = p[_++]), --w; );
- ;(_ = o - A), (T = S)
- }
- }
- } else if (((_ += f - w), w < x)) {
- for (x -= w; (S[o++] = p[_++]), --w; );
- ;(_ = o - A), (T = S)
- }
- for (; 2 < x; ) (S[o++] = T[_++]), (S[o++] = T[_++]), (S[o++] = T[_++]), (x -= 3)
- x && ((S[o++] = T[_++]), 1 < x && (S[o++] = T[_++]))
- } else {
- for (_ = o - A; (S[o++] = S[_++]), (S[o++] = S[_++]), (S[o++] = S[_++]), 2 < (x -= 3); );
- x && ((S[o++] = S[_++]), 1 < x && (S[o++] = S[_++]))
- }
- break
- }
- }
- break
- }
- } while (n < i && o < s)
- ;(n -= x = h >> 3),
- (d &= (1 << (h -= x << 3)) - 1),
- (e.next_in = n),
- (e.next_out = o),
- (e.avail_in = n < i ? i - n + 5 : 5 - (n - i)),
- (e.avail_out = o < s ? s - o + 257 : 257 - (o - s)),
- (r.hold = d),
- (r.bits = h)
- }
- },
- {}
- ],
- 49: [
- function (e, t, r) {
- "use strict"
- var n = e("../utils/common"),
- i = e("./adler32"),
- o = e("./crc32"),
- a = e("./inffast"),
- s = e("./inftrees"),
- l = 1,
- c = 2,
- u = 0,
- f = -2,
- p = 1,
- d = 852,
- h = 592
- function m(e) {
- return ((e >>> 24) & 255) + ((e >>> 8) & 65280) + ((65280 & e) << 8) + ((255 & e) << 24)
- }
- function g() {
- ;(this.mode = 0),
- (this.last = !1),
- (this.wrap = 0),
- (this.havedict = !1),
- (this.flags = 0),
- (this.dmax = 0),
- (this.check = 0),
- (this.total = 0),
- (this.head = null),
- (this.wbits = 0),
- (this.wsize = 0),
- (this.whave = 0),
- (this.wnext = 0),
- (this.window = null),
- (this.hold = 0),
- (this.bits = 0),
- (this.length = 0),
- (this.offset = 0),
- (this.extra = 0),
- (this.lencode = null),
- (this.distcode = null),
- (this.lenbits = 0),
- (this.distbits = 0),
- (this.ncode = 0),
- (this.nlen = 0),
- (this.ndist = 0),
- (this.have = 0),
- (this.next = null),
- (this.lens = new n.Buf16(320)),
- (this.work = new n.Buf16(288)),
- (this.lendyn = null),
- (this.distdyn = null),
- (this.sane = 0),
- (this.back = 0),
- (this.was = 0)
- }
- function y(e) {
- var t
- return e && e.state
- ? ((t = e.state),
- (e.total_in = e.total_out = t.total = 0),
- (e.msg = ""),
- t.wrap && (e.adler = 1 & t.wrap),
- (t.mode = p),
- (t.last = 0),
- (t.havedict = 0),
- (t.dmax = 32768),
- (t.head = null),
- (t.hold = 0),
- (t.bits = 0),
- (t.lencode = t.lendyn = new n.Buf32(d)),
- (t.distcode = t.distdyn = new n.Buf32(h)),
- (t.sane = 1),
- (t.back = -1),
- u)
- : f
- }
- function v(e) {
- var t
- return e && e.state ? (((t = e.state).wsize = 0), (t.whave = 0), (t.wnext = 0), y(e)) : f
- }
- function b(e, t) {
- var r, n
- return e && e.state
- ? ((n = e.state),
- t < 0 ? ((r = 0), (t = -t)) : ((r = 1 + (t >> 4)), t < 48 && (t &= 15)),
- t && (t < 8 || 15 < t)
- ? f
- : (null !== n.window && n.wbits !== t && (n.window = null), (n.wrap = r), (n.wbits = t), v(e)))
- : f
- }
- function w(e, t) {
- var r, n
- return e ? ((n = new g()), ((e.state = n).window = null), (r = b(e, t)) !== u && (e.state = null), r) : f
- }
- var x,
- A,
- _ = !0
- function T(e) {
- if (_) {
- var t
- for (x = new n.Buf32(512), A = new n.Buf32(32), t = 0; t < 144; ) e.lens[t++] = 8
- for (; t < 256; ) e.lens[t++] = 9
- for (; t < 280; ) e.lens[t++] = 7
- for (; t < 288; ) e.lens[t++] = 8
- for (
- s(l, e.lens, 0, 288, x, 0, e.work, {
- bits: 9
- }),
- t = 0;
- t < 32;
- )
- e.lens[t++] = 5
- s(c, e.lens, 0, 32, A, 0, e.work, {
- bits: 5
- }),
- (_ = !1)
- }
- ;(e.lencode = x), (e.lenbits = 9), (e.distcode = A), (e.distbits = 5)
- }
- function E(e, t, r, i) {
- var o,
- a = e.state
- return (
- null === a.window && ((a.wsize = 1 << a.wbits), (a.wnext = 0), (a.whave = 0), (a.window = new n.Buf8(a.wsize))),
- i >= a.wsize
- ? (n.arraySet(a.window, t, r - a.wsize, a.wsize, 0), (a.wnext = 0), (a.whave = a.wsize))
- : (i < (o = a.wsize - a.wnext) && (o = i),
- n.arraySet(a.window, t, r - i, o, a.wnext),
- (i -= o)
- ? (n.arraySet(a.window, t, r - i, i, 0), (a.wnext = i), (a.whave = a.wsize))
- : ((a.wnext += o), a.wnext === a.wsize && (a.wnext = 0), a.whave < a.wsize && (a.whave += o))),
- 0
- )
- }
- ;(r.inflateReset = v),
- (r.inflateReset2 = b),
- (r.inflateResetKeep = y),
- (r.inflateInit = function (e) {
- return w(e, 15)
- }),
- (r.inflateInit2 = w),
- (r.inflate = function (e, t) {
- var r,
- d,
- h,
- g,
- y,
- v,
- b,
- w,
- x,
- A,
- _,
- S,
- C,
- k,
- L,
- P,
- O,
- j,
- R,
- I,
- N,
- M,
- D,
- B,
- F = 0,
- U = new n.Buf8(4),
- z = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]
- if (!e || !e.state || !e.output || (!e.input && 0 !== e.avail_in)) return f
- 12 === (r = e.state).mode && (r.mode = 13),
- (y = e.next_out),
- (h = e.output),
- (b = e.avail_out),
- (g = e.next_in),
- (d = e.input),
- (v = e.avail_in),
- (w = r.hold),
- (x = r.bits),
- (A = v),
- (_ = b),
- (M = u)
- e: for (;;)
- switch (r.mode) {
- case p:
- if (0 === r.wrap) {
- r.mode = 13
- break
- }
- for (; x < 16; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- if (2 & r.wrap && 35615 === w) {
- ;(U[(r.check = 0)] = 255 & w),
- (U[1] = (w >>> 8) & 255),
- (r.check = o(r.check, U, 2, 0)),
- (x = w = 0),
- (r.mode = 2)
- break
- }
- if (((r.flags = 0), r.head && (r.head.done = !1), !(1 & r.wrap) || (((255 & w) << 8) + (w >> 8)) % 31)) {
- ;(e.msg = "incorrect header check"), (r.mode = 30)
- break
- }
- if (8 != (15 & w)) {
- ;(e.msg = "unknown compression method"), (r.mode = 30)
- break
- }
- if (((x -= 4), (N = 8 + (15 & (w >>>= 4))), 0 === r.wbits)) r.wbits = N
- else if (N > r.wbits) {
- ;(e.msg = "invalid window size"), (r.mode = 30)
- break
- }
- ;(r.dmax = 1 << N), (e.adler = r.check = 1), (r.mode = 512 & w ? 10 : 12), (x = w = 0)
- break
- case 2:
- for (; x < 16; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- if (((r.flags = w), 8 != (255 & r.flags))) {
- ;(e.msg = "unknown compression method"), (r.mode = 30)
- break
- }
- if (57344 & r.flags) {
- ;(e.msg = "unknown header flags set"), (r.mode = 30)
- break
- }
- r.head && (r.head.text = (w >> 8) & 1),
- 512 & r.flags && ((U[0] = 255 & w), (U[1] = (w >>> 8) & 255), (r.check = o(r.check, U, 2, 0))),
- (x = w = 0),
- (r.mode = 3)
- case 3:
- for (; x < 32; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- r.head && (r.head.time = w),
- 512 & r.flags &&
- ((U[0] = 255 & w),
- (U[1] = (w >>> 8) & 255),
- (U[2] = (w >>> 16) & 255),
- (U[3] = (w >>> 24) & 255),
- (r.check = o(r.check, U, 4, 0))),
- (x = w = 0),
- (r.mode = 4)
- case 4:
- for (; x < 16; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- r.head && ((r.head.xflags = 255 & w), (r.head.os = w >> 8)),
- 512 & r.flags && ((U[0] = 255 & w), (U[1] = (w >>> 8) & 255), (r.check = o(r.check, U, 2, 0))),
- (x = w = 0),
- (r.mode = 5)
- case 5:
- if (1024 & r.flags) {
- for (; x < 16; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- ;(r.length = w),
- r.head && (r.head.extra_len = w),
- 512 & r.flags && ((U[0] = 255 & w), (U[1] = (w >>> 8) & 255), (r.check = o(r.check, U, 2, 0))),
- (x = w = 0)
- } else r.head && (r.head.extra = null)
- r.mode = 6
- case 6:
- if (
- 1024 & r.flags &&
- (v < (S = r.length) && (S = v),
- S &&
- (r.head &&
- ((N = r.head.extra_len - r.length),
- r.head.extra || (r.head.extra = new Array(r.head.extra_len)),
- n.arraySet(r.head.extra, d, g, S, N)),
- 512 & r.flags && (r.check = o(r.check, d, S, g)),
- (v -= S),
- (g += S),
- (r.length -= S)),
- r.length)
- )
- break e
- ;(r.length = 0), (r.mode = 7)
- case 7:
- if (2048 & r.flags) {
- if (0 === v) break e
- for (
- S = 0;
- (N = d[g + S++]), r.head && N && r.length < 65536 && (r.head.name += String.fromCharCode(N)), N && S < v;
- );
- if ((512 & r.flags && (r.check = o(r.check, d, S, g)), (v -= S), (g += S), N)) break e
- } else r.head && (r.head.name = null)
- ;(r.length = 0), (r.mode = 8)
- case 8:
- if (4096 & r.flags) {
- if (0 === v) break e
- for (
- S = 0;
- (N = d[g + S++]),
- r.head && N && r.length < 65536 && (r.head.comment += String.fromCharCode(N)),
- N && S < v;
- );
- if ((512 & r.flags && (r.check = o(r.check, d, S, g)), (v -= S), (g += S), N)) break e
- } else r.head && (r.head.comment = null)
- r.mode = 9
- case 9:
- if (512 & r.flags) {
- for (; x < 16; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- if (w !== (65535 & r.check)) {
- ;(e.msg = "header crc mismatch"), (r.mode = 30)
- break
- }
- x = w = 0
- }
- r.head && ((r.head.hcrc = (r.flags >> 9) & 1), (r.head.done = !0)), (e.adler = r.check = 0), (r.mode = 12)
- break
- case 10:
- for (; x < 32; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- ;(e.adler = r.check = m(w)), (x = w = 0), (r.mode = 11)
- case 11:
- if (0 === r.havedict)
- return (e.next_out = y), (e.avail_out = b), (e.next_in = g), (e.avail_in = v), (r.hold = w), (r.bits = x), 2
- ;(e.adler = r.check = 1), (r.mode = 12)
- case 12:
- if (5 === t || 6 === t) break e
- case 13:
- if (r.last) {
- ;(w >>>= 7 & x), (x -= 7 & x), (r.mode = 27)
- break
- }
- for (; x < 3; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- switch (((r.last = 1 & w), (x -= 1), 3 & (w >>>= 1))) {
- case 0:
- r.mode = 14
- break
- case 1:
- if ((T(r), (r.mode = 20), 6 !== t)) break
- ;(w >>>= 2), (x -= 2)
- break e
- case 2:
- r.mode = 17
- break
- case 3:
- ;(e.msg = "invalid block type"), (r.mode = 30)
- }
- ;(w >>>= 2), (x -= 2)
- break
- case 14:
- for (w >>>= 7 & x, x -= 7 & x; x < 32; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- if ((65535 & w) != ((w >>> 16) ^ 65535)) {
- ;(e.msg = "invalid stored block lengths"), (r.mode = 30)
- break
- }
- if (((r.length = 65535 & w), (x = w = 0), (r.mode = 15), 6 === t)) break e
- case 15:
- r.mode = 16
- case 16:
- if ((S = r.length)) {
- if ((v < S && (S = v), b < S && (S = b), 0 === S)) break e
- n.arraySet(h, d, g, S, y), (v -= S), (g += S), (b -= S), (y += S), (r.length -= S)
- break
- }
- r.mode = 12
- break
- case 17:
- for (; x < 14; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- if (
- ((r.nlen = 257 + (31 & w)),
- (w >>>= 5),
- (x -= 5),
- (r.ndist = 1 + (31 & w)),
- (w >>>= 5),
- (x -= 5),
- (r.ncode = 4 + (15 & w)),
- (w >>>= 4),
- (x -= 4),
- 286 < r.nlen || 30 < r.ndist)
- ) {
- ;(e.msg = "too many length or distance symbols"), (r.mode = 30)
- break
- }
- ;(r.have = 0), (r.mode = 18)
- case 18:
- for (; r.have < r.ncode; ) {
- for (; x < 3; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- ;(r.lens[z[r.have++]] = 7 & w), (w >>>= 3), (x -= 3)
- }
- for (; r.have < 19; ) r.lens[z[r.have++]] = 0
- if (
- ((r.lencode = r.lendyn),
- (r.lenbits = 7),
- (D = {
- bits: r.lenbits
- }),
- (M = s(0, r.lens, 0, 19, r.lencode, 0, r.work, D)),
- (r.lenbits = D.bits),
- M)
- ) {
- ;(e.msg = "invalid code lengths set"), (r.mode = 30)
- break
- }
- ;(r.have = 0), (r.mode = 19)
- case 19:
- for (; r.have < r.nlen + r.ndist; ) {
- for (
- ;
- (P = ((F = r.lencode[w & ((1 << r.lenbits) - 1)]) >>> 16) & 255),
- (O = 65535 & F),
- !((L = F >>> 24) <= x);
- ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- if (O < 16) (w >>>= L), (x -= L), (r.lens[r.have++] = O)
- else {
- if (16 === O) {
- for (B = L + 2; x < B; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- if (((w >>>= L), (x -= L), 0 === r.have)) {
- ;(e.msg = "invalid bit length repeat"), (r.mode = 30)
- break
- }
- ;(N = r.lens[r.have - 1]), (S = 3 + (3 & w)), (w >>>= 2), (x -= 2)
- } else if (17 === O) {
- for (B = L + 3; x < B; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- ;(x -= L), (N = 0), (S = 3 + (7 & (w >>>= L))), (w >>>= 3), (x -= 3)
- } else {
- for (B = L + 7; x < B; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- ;(x -= L), (N = 0), (S = 11 + (127 & (w >>>= L))), (w >>>= 7), (x -= 7)
- }
- if (r.have + S > r.nlen + r.ndist) {
- ;(e.msg = "invalid bit length repeat"), (r.mode = 30)
- break
- }
- for (; S--; ) r.lens[r.have++] = N
- }
- }
- if (30 === r.mode) break
- if (0 === r.lens[256]) {
- ;(e.msg = "invalid code -- missing end-of-block"), (r.mode = 30)
- break
- }
- if (
- ((r.lenbits = 9),
- (D = {
- bits: r.lenbits
- }),
- (M = s(l, r.lens, 0, r.nlen, r.lencode, 0, r.work, D)),
- (r.lenbits = D.bits),
- M)
- ) {
- ;(e.msg = "invalid literal/lengths set"), (r.mode = 30)
- break
- }
- if (
- ((r.distbits = 6),
- (r.distcode = r.distdyn),
- (D = {
- bits: r.distbits
- }),
- (M = s(c, r.lens, r.nlen, r.ndist, r.distcode, 0, r.work, D)),
- (r.distbits = D.bits),
- M)
- ) {
- ;(e.msg = "invalid distances set"), (r.mode = 30)
- break
- }
- if (((r.mode = 20), 6 === t)) break e
- case 20:
- r.mode = 21
- case 21:
- if (6 <= v && 258 <= b) {
- ;(e.next_out = y),
- (e.avail_out = b),
- (e.next_in = g),
- (e.avail_in = v),
- (r.hold = w),
- (r.bits = x),
- a(e, _),
- (y = e.next_out),
- (h = e.output),
- (b = e.avail_out),
- (g = e.next_in),
- (d = e.input),
- (v = e.avail_in),
- (w = r.hold),
- (x = r.bits),
- 12 === r.mode && (r.back = -1)
- break
- }
- for (
- r.back = 0;
- (P = ((F = r.lencode[w & ((1 << r.lenbits) - 1)]) >>> 16) & 255), (O = 65535 & F), !((L = F >>> 24) <= x);
- ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- if (P && 0 == (240 & P)) {
- for (
- j = L, R = P, I = O;
- (P = ((F = r.lencode[I + ((w & ((1 << (j + R)) - 1)) >> j)]) >>> 16) & 255),
- (O = 65535 & F),
- !(j + (L = F >>> 24) <= x);
- ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- ;(w >>>= j), (x -= j), (r.back += j)
- }
- if (((w >>>= L), (x -= L), (r.back += L), (r.length = O), 0 === P)) {
- r.mode = 26
- break
- }
- if (32 & P) {
- ;(r.back = -1), (r.mode = 12)
- break
- }
- if (64 & P) {
- ;(e.msg = "invalid literal/length code"), (r.mode = 30)
- break
- }
- ;(r.extra = 15 & P), (r.mode = 22)
- case 22:
- if (r.extra) {
- for (B = r.extra; x < B; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- ;(r.length += w & ((1 << r.extra) - 1)), (w >>>= r.extra), (x -= r.extra), (r.back += r.extra)
- }
- ;(r.was = r.length), (r.mode = 23)
- case 23:
- for (
- ;
- (P = ((F = r.distcode[w & ((1 << r.distbits) - 1)]) >>> 16) & 255), (O = 65535 & F), !((L = F >>> 24) <= x);
- ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- if (0 == (240 & P)) {
- for (
- j = L, R = P, I = O;
- (P = ((F = r.distcode[I + ((w & ((1 << (j + R)) - 1)) >> j)]) >>> 16) & 255),
- (O = 65535 & F),
- !(j + (L = F >>> 24) <= x);
- ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- ;(w >>>= j), (x -= j), (r.back += j)
- }
- if (((w >>>= L), (x -= L), (r.back += L), 64 & P)) {
- ;(e.msg = "invalid distance code"), (r.mode = 30)
- break
- }
- ;(r.offset = O), (r.extra = 15 & P), (r.mode = 24)
- case 24:
- if (r.extra) {
- for (B = r.extra; x < B; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- ;(r.offset += w & ((1 << r.extra) - 1)), (w >>>= r.extra), (x -= r.extra), (r.back += r.extra)
- }
- if (r.offset > r.dmax) {
- ;(e.msg = "invalid distance too far back"), (r.mode = 30)
- break
- }
- r.mode = 25
- case 25:
- if (0 === b) break e
- if (((S = _ - b), r.offset > S)) {
- if ((S = r.offset - S) > r.whave && r.sane) {
- ;(e.msg = "invalid distance too far back"), (r.mode = 30)
- break
- }
- ;(C = S > r.wnext ? ((S -= r.wnext), r.wsize - S) : r.wnext - S),
- S > r.length && (S = r.length),
- (k = r.window)
- } else (k = h), (C = y - r.offset), (S = r.length)
- for (b < S && (S = b), b -= S, r.length -= S; (h[y++] = k[C++]), --S; );
- 0 === r.length && (r.mode = 21)
- break
- case 26:
- if (0 === b) break e
- ;(h[y++] = r.length), b--, (r.mode = 21)
- break
- case 27:
- if (r.wrap) {
- for (; x < 32; ) {
- if (0 === v) break e
- v--, (w |= d[g++] << x), (x += 8)
- }
- if (
- ((_ -= b),
- (e.total_out += _),
- (r.total += _),
- _ && (e.adler = r.check = r.flags ? o(r.check, h, _, y - _) : i(r.check, h, _, y - _)),
- (_ = b),
- (r.flags ? w : m(w)) !== r.check)
- ) {
- ;(e.msg = "incorrect data check"), (r.mode = 30)
- break
- }
- x = w = 0
- }
- r.mode = 28
- case 28:
- if (r.wrap && r.flags) {
- for (; x < 32; ) {
- if (0 === v) break e
- v--, (w += d[g++] << x), (x += 8)
- }
- if (w !== (4294967295 & r.total)) {
- ;(e.msg = "incorrect length check"), (r.mode = 30)
- break
- }
- x = w = 0
- }
- r.mode = 29
- case 29:
- M = 1
- break e
- case 30:
- M = -3
- break e
- case 31:
- return -4
- case 32:
- default:
- return f
- }
- return (
- (e.next_out = y),
- (e.avail_out = b),
- (e.next_in = g),
- (e.avail_in = v),
- (r.hold = w),
- (r.bits = x),
- (r.wsize || (_ !== e.avail_out && r.mode < 30 && (r.mode < 27 || 4 !== t))) &&
- E(e, e.output, e.next_out, _ - e.avail_out)
- ? ((r.mode = 31), -4)
- : ((A -= e.avail_in),
- (_ -= e.avail_out),
- (e.total_in += A),
- (e.total_out += _),
- (r.total += _),
- r.wrap &&
- _ &&
- (e.adler = r.check = r.flags ? o(r.check, h, _, e.next_out - _) : i(r.check, h, _, e.next_out - _)),
- (e.data_type =
- r.bits + (r.last ? 64 : 0) + (12 === r.mode ? 128 : 0) + (20 === r.mode || 15 === r.mode ? 256 : 0)),
- ((0 == A && 0 === _) || 4 === t) && M === u && (M = -5),
- M)
- )
- }),
- (r.inflateEnd = function (e) {
- if (!e || !e.state) return f
- var t = e.state
- return t.window && (t.window = null), (e.state = null), u
- }),
- (r.inflateGetHeader = function (e, t) {
- var r
- return e && e.state ? (0 == (2 & (r = e.state).wrap) ? f : (((r.head = t).done = !1), u)) : f
- }),
- (r.inflateSetDictionary = function (e, t) {
- var r,
- n = t.length
- return e && e.state
- ? 0 !== (r = e.state).wrap && 11 !== r.mode
- ? f
- : 11 === r.mode && i(1, t, n, 0) !== r.check
- ? -3
- : E(e, t, n, n)
- ? ((r.mode = 31), -4)
- : ((r.havedict = 1), u)
- : f
- }),
- (r.inflateInfo = "pako inflate (from Nodeca project)")
- },
- {
- "../utils/common": 41,
- "./adler32": 43,
- "./crc32": 45,
- "./inffast": 48,
- "./inftrees": 50
- }
- ],
- 50: [
- function (e, t, r) {
- "use strict"
- var n = e("../utils/common"),
- i = [
- 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0
- ],
- o = [
- 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72,
- 78
- ],
- a = [
- 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193,
- 12289, 16385, 24577, 0, 0
- ],
- s = [
- 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29,
- 64, 64
- ]
- t.exports = function (e, t, r, l, c, u, f, p) {
- var d,
- h,
- m,
- g,
- y,
- v,
- b,
- w,
- x,
- A = p.bits,
- _ = 0,
- T = 0,
- E = 0,
- S = 0,
- C = 0,
- k = 0,
- L = 0,
- P = 0,
- O = 0,
- j = 0,
- R = null,
- I = 0,
- N = new n.Buf16(16),
- M = new n.Buf16(16),
- D = null,
- B = 0
- for (_ = 0; _ <= 15; _++) N[_] = 0
- for (T = 0; T < l; T++) N[t[r + T]]++
- for (C = A, S = 15; 1 <= S && 0 === N[S]; S--);
- if ((S < C && (C = S), 0 === S)) return (c[u++] = 20971520), (c[u++] = 20971520), (p.bits = 1), 0
- for (E = 1; E < S && 0 === N[E]; E++);
- for (C < E && (C = E), _ = P = 1; _ <= 15; _++) if (((P <<= 1), (P -= N[_]) < 0)) return -1
- if (0 < P && (0 === e || 1 !== S)) return -1
- for (M[1] = 0, _ = 1; _ < 15; _++) M[_ + 1] = M[_] + N[_]
- for (T = 0; T < l; T++) 0 !== t[r + T] && (f[M[t[r + T]]++] = T)
- if (
- ((v = 0 === e ? ((R = D = f), 19) : 1 === e ? ((R = i), (I -= 257), (D = o), (B -= 257), 256) : ((R = a), (D = s), -1)),
- (_ = E),
- (y = u),
- (L = T = j = 0),
- (m = -1),
- (g = (O = 1 << (k = C)) - 1),
- (1 === e && 852 < O) || (2 === e && 592 < O))
- )
- return 1
- for (;;) {
- for (
- b = _ - L,
- x = f[T] < v ? ((w = 0), f[T]) : f[T] > v ? ((w = D[B + f[T]]), R[I + f[T]]) : ((w = 96), 0),
- d = 1 << (_ - L),
- E = h = 1 << k;
- (c[y + (j >> L) + (h -= d)] = (b << 24) | (w << 16) | x | 0), 0 !== h;
- );
- for (d = 1 << (_ - 1); j & d; ) d >>= 1
- if ((0 !== d ? ((j &= d - 1), (j += d)) : (j = 0), T++, 0 == --N[_])) {
- if (_ === S) break
- _ = t[r + f[T]]
- }
- if (C < _ && (j & g) !== m) {
- for (0 === L && (L = C), y += E, P = 1 << (k = _ - L); k + L < S && !((P -= N[k + L]) <= 0); ) k++, (P <<= 1)
- if (((O += 1 << k), (1 === e && 852 < O) || (2 === e && 592 < O))) return 1
- c[(m = j & g)] = (C << 24) | (k << 16) | (y - u) | 0
- }
- }
- return 0 !== j && (c[y + j] = ((_ - L) << 24) | (64 << 16) | 0), (p.bits = C), 0
- }
- },
- {
- "../utils/common": 41
- }
- ],
- 51: [
- function (e, t, r) {
- "use strict"
- t.exports = {
- 2: "need dictionary",
- 1: "stream end",
- 0: "",
- "-1": "file error",
- "-2": "stream error",
- "-3": "data error",
- "-4": "insufficient memory",
- "-5": "buffer error",
- "-6": "incompatible version"
- }
- },
- {}
- ],
- 52: [
- function (e, t, r) {
- "use strict"
- var n = e("../utils/common"),
- i = 0,
- o = 1
- function a(e) {
- for (var t = e.length; 0 <= --t; ) e[t] = 0
- }
- var s = 0,
- l = 29,
- c = 256,
- u = c + 1 + l,
- f = 30,
- p = 19,
- d = 2 * u + 1,
- h = 15,
- m = 16,
- g = 7,
- y = 256,
- v = 16,
- b = 17,
- w = 18,
- x = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0],
- A = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13],
- _ = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7],
- T = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15],
- E = new Array(2 * (u + 2))
- a(E)
- var S = new Array(2 * f)
- a(S)
- var C = new Array(512)
- a(C)
- var k = new Array(256)
- a(k)
- var L = new Array(l)
- a(L)
- var P,
- O,
- j,
- R = new Array(f)
- function I(e, t, r, n, i) {
- ;(this.static_tree = e),
- (this.extra_bits = t),
- (this.extra_base = r),
- (this.elems = n),
- (this.max_length = i),
- (this.has_stree = e && e.length)
- }
- function N(e, t) {
- ;(this.dyn_tree = e), (this.max_code = 0), (this.stat_desc = t)
- }
- function M(e) {
- return e < 256 ? C[e] : C[256 + (e >>> 7)]
- }
- function D(e, t) {
- ;(e.pending_buf[e.pending++] = 255 & t), (e.pending_buf[e.pending++] = (t >>> 8) & 255)
- }
- function B(e, t, r) {
- e.bi_valid > m - r
- ? ((e.bi_buf |= (t << e.bi_valid) & 65535), D(e, e.bi_buf), (e.bi_buf = t >> (m - e.bi_valid)), (e.bi_valid += r - m))
- : ((e.bi_buf |= (t << e.bi_valid) & 65535), (e.bi_valid += r))
- }
- function F(e, t, r) {
- B(e, r[2 * t], r[2 * t + 1])
- }
- function U(e, t) {
- for (var r = 0; (r |= 1 & e), (e >>>= 1), (r <<= 1), 0 < --t; );
- return r >>> 1
- }
- function z(e, t, r) {
- var n,
- i,
- o = new Array(h + 1),
- a = 0
- for (n = 1; n <= h; n++) o[n] = a = (a + r[n - 1]) << 1
- for (i = 0; i <= t; i++) {
- var s = e[2 * i + 1]
- 0 !== s && (e[2 * i] = U(o[s]++, s))
- }
- }
- function q(e) {
- var t
- for (t = 0; t < u; t++) e.dyn_ltree[2 * t] = 0
- for (t = 0; t < f; t++) e.dyn_dtree[2 * t] = 0
- for (t = 0; t < p; t++) e.bl_tree[2 * t] = 0
- ;(e.dyn_ltree[2 * y] = 1), (e.opt_len = e.static_len = 0), (e.last_lit = e.matches = 0)
- }
- function G(e) {
- 8 < e.bi_valid ? D(e, e.bi_buf) : 0 < e.bi_valid && (e.pending_buf[e.pending++] = e.bi_buf),
- (e.bi_buf = 0),
- (e.bi_valid = 0)
- }
- function W(e, t, r, n) {
- var i = 2 * t,
- o = 2 * r
- return e[i] < e[o] || (e[i] === e[o] && n[t] <= n[r])
- }
- function V(e, t, r) {
- for (
- var n = e.heap[r], i = r << 1;
- i <= e.heap_len && (i < e.heap_len && W(t, e.heap[i + 1], e.heap[i], e.depth) && i++, !W(t, n, e.heap[i], e.depth));
- )
- (e.heap[r] = e.heap[i]), (r = i), (i <<= 1)
- e.heap[r] = n
- }
- function H(e, t, r) {
- var n,
- i,
- o,
- a,
- s = 0
- if (0 !== e.last_lit)
- for (
- ;
- (n = (e.pending_buf[e.d_buf + 2 * s] << 8) | e.pending_buf[e.d_buf + 2 * s + 1]),
- (i = e.pending_buf[e.l_buf + s]),
- s++,
- 0 === n
- ? F(e, i, t)
- : (F(e, (o = k[i]) + c + 1, t),
- 0 !== (a = x[o]) && B(e, (i -= L[o]), a),
- F(e, (o = M(--n)), r),
- 0 !== (a = A[o]) && B(e, (n -= R[o]), a)),
- s < e.last_lit;
- );
- F(e, y, t)
- }
- function X(e, t) {
- var r,
- n,
- i,
- o = t.dyn_tree,
- a = t.stat_desc.static_tree,
- s = t.stat_desc.has_stree,
- l = t.stat_desc.elems,
- c = -1
- for (e.heap_len = 0, e.heap_max = d, r = 0; r < l; r++)
- 0 !== o[2 * r] ? ((e.heap[++e.heap_len] = c = r), (e.depth[r] = 0)) : (o[2 * r + 1] = 0)
- for (; e.heap_len < 2; )
- (o[2 * (i = e.heap[++e.heap_len] = c < 2 ? ++c : 0)] = 1),
- (e.depth[i] = 0),
- e.opt_len--,
- s && (e.static_len -= a[2 * i + 1])
- for (t.max_code = c, r = e.heap_len >> 1; 1 <= r; r--) V(e, o, r)
- for (
- i = l;
- (r = e.heap[1]),
- (e.heap[1] = e.heap[e.heap_len--]),
- V(e, o, 1),
- (n = e.heap[1]),
- (e.heap[--e.heap_max] = r),
- (e.heap[--e.heap_max] = n),
- (o[2 * i] = o[2 * r] + o[2 * n]),
- (e.depth[i] = (e.depth[r] >= e.depth[n] ? e.depth[r] : e.depth[n]) + 1),
- (o[2 * r + 1] = o[2 * n + 1] = i),
- (e.heap[1] = i++),
- V(e, o, 1),
- 2 <= e.heap_len;
- );
- ;(e.heap[--e.heap_max] = e.heap[1]),
- (function (e, t) {
- var r,
- n,
- i,
- o,
- a,
- s,
- l = t.dyn_tree,
- c = t.max_code,
- u = t.stat_desc.static_tree,
- f = t.stat_desc.has_stree,
- p = t.stat_desc.extra_bits,
- m = t.stat_desc.extra_base,
- g = t.stat_desc.max_length,
- y = 0
- for (o = 0; o <= h; o++) e.bl_count[o] = 0
- for (l[2 * e.heap[e.heap_max] + 1] = 0, r = e.heap_max + 1; r < d; r++)
- g < (o = l[2 * l[2 * (n = e.heap[r]) + 1] + 1] + 1) && ((o = g), y++),
- (l[2 * n + 1] = o),
- c < n ||
- (e.bl_count[o]++,
- (a = 0),
- m <= n && (a = p[n - m]),
- (s = l[2 * n]),
- (e.opt_len += s * (o + a)),
- f && (e.static_len += s * (u[2 * n + 1] + a)))
- if (0 !== y) {
- do {
- for (o = g - 1; 0 === e.bl_count[o]; ) o--
- e.bl_count[o]--, (e.bl_count[o + 1] += 2), e.bl_count[g]--, (y -= 2)
- } while (0 < y)
- for (o = g; 0 !== o; o--)
- for (n = e.bl_count[o]; 0 !== n; )
- c < (i = e.heap[--r]) ||
- (l[2 * i + 1] !== o && ((e.opt_len += (o - l[2 * i + 1]) * l[2 * i]), (l[2 * i + 1] = o)), n--)
- }
- })(e, t),
- z(o, c, e.bl_count)
- }
- function Y(e, t, r) {
- var n,
- i,
- o = -1,
- a = t[1],
- s = 0,
- l = 7,
- c = 4
- for (0 === a && ((l = 138), (c = 3)), t[2 * (r + 1) + 1] = 65535, n = 0; n <= r; n++)
- (i = a),
- (a = t[2 * (n + 1) + 1]),
- (++s < l && i === a) ||
- (s < c
- ? (e.bl_tree[2 * i] += s)
- : 0 !== i
- ? (i !== o && e.bl_tree[2 * i]++, e.bl_tree[2 * v]++)
- : s <= 10
- ? e.bl_tree[2 * b]++
- : e.bl_tree[2 * w]++,
- (o = i),
- (c = (s = 0) === a ? ((l = 138), 3) : i === a ? ((l = 6), 3) : ((l = 7), 4)))
- }
- function K(e, t, r) {
- var n,
- i,
- o = -1,
- a = t[1],
- s = 0,
- l = 7,
- c = 4
- for (0 === a && ((l = 138), (c = 3)), n = 0; n <= r; n++)
- if (((i = a), (a = t[2 * (n + 1) + 1]), !(++s < l && i === a))) {
- if (s < c) for (; F(e, i, e.bl_tree), 0 != --s; );
- else
- 0 !== i
- ? (i !== o && (F(e, i, e.bl_tree), s--), F(e, v, e.bl_tree), B(e, s - 3, 2))
- : s <= 10
- ? (F(e, b, e.bl_tree), B(e, s - 3, 3))
- : (F(e, w, e.bl_tree), B(e, s - 11, 7))
- ;(o = i), (c = (s = 0) === a ? ((l = 138), 3) : i === a ? ((l = 6), 3) : ((l = 7), 4))
- }
- }
- a(R)
- var Z = !1
- function Q(e, t, r, i) {
- B(e, (s << 1) + (i ? 1 : 0), 3),
- (function (e, t, r, i) {
- G(e), i && (D(e, r), D(e, ~r)), n.arraySet(e.pending_buf, e.window, t, r, e.pending), (e.pending += r)
- })(e, t, r, !0)
- }
- ;(r._tr_init = function (e) {
- Z ||
- ((function () {
- var e,
- t,
- r,
- n,
- i,
- o = new Array(h + 1)
- for (n = r = 0; n < l - 1; n++) for (L[n] = r, e = 0; e < 1 << x[n]; e++) k[r++] = n
- for (k[r - 1] = n, n = i = 0; n < 16; n++) for (R[n] = i, e = 0; e < 1 << A[n]; e++) C[i++] = n
- for (i >>= 7; n < f; n++) for (R[n] = i << 7, e = 0; e < 1 << (A[n] - 7); e++) C[256 + i++] = n
- for (t = 0; t <= h; t++) o[t] = 0
- for (e = 0; e <= 143; ) (E[2 * e + 1] = 8), e++, o[8]++
- for (; e <= 255; ) (E[2 * e + 1] = 9), e++, o[9]++
- for (; e <= 279; ) (E[2 * e + 1] = 7), e++, o[7]++
- for (; e <= 287; ) (E[2 * e + 1] = 8), e++, o[8]++
- for (z(E, u + 1, o), e = 0; e < f; e++) (S[2 * e + 1] = 5), (S[2 * e] = U(e, 5))
- ;(P = new I(E, x, c + 1, u, h)), (O = new I(S, A, 0, f, h)), (j = new I(new Array(0), _, 0, p, g))
- })(),
- (Z = !0)),
- (e.l_desc = new N(e.dyn_ltree, P)),
- (e.d_desc = new N(e.dyn_dtree, O)),
- (e.bl_desc = new N(e.bl_tree, j)),
- (e.bi_buf = 0),
- (e.bi_valid = 0),
- q(e)
- }),
- (r._tr_stored_block = Q),
- (r._tr_flush_block = function (e, t, r, n) {
- var a,
- s,
- l = 0
- 0 < e.level
- ? (2 === e.strm.data_type &&
- (e.strm.data_type = (function (e) {
- var t,
- r = 4093624447
- for (t = 0; t <= 31; t++, r >>>= 1) if (1 & r && 0 !== e.dyn_ltree[2 * t]) return i
- if (0 !== e.dyn_ltree[18] || 0 !== e.dyn_ltree[20] || 0 !== e.dyn_ltree[26]) return o
- for (t = 32; t < c; t++) if (0 !== e.dyn_ltree[2 * t]) return o
- return i
- })(e)),
- X(e, e.l_desc),
- X(e, e.d_desc),
- (l = (function (e) {
- var t
- for (
- Y(e, e.dyn_ltree, e.l_desc.max_code), Y(e, e.dyn_dtree, e.d_desc.max_code), X(e, e.bl_desc), t = p - 1;
- 3 <= t && 0 === e.bl_tree[2 * T[t] + 1];
- t--
- );
- return (e.opt_len += 3 * (t + 1) + 5 + 5 + 4), t
- })(e)),
- (a = (e.opt_len + 3 + 7) >>> 3),
- (s = (e.static_len + 3 + 7) >>> 3) <= a && (a = s))
- : (a = s = r + 5),
- r + 4 <= a && -1 !== t
- ? Q(e, t, r, n)
- : 4 === e.strategy || s === a
- ? (B(e, 2 + (n ? 1 : 0), 3), H(e, E, S))
- : (B(e, 4 + (n ? 1 : 0), 3),
- (function (e, t, r, n) {
- var i
- for (B(e, t - 257, 5), B(e, r - 1, 5), B(e, n - 4, 4), i = 0; i < n; i++) B(e, e.bl_tree[2 * T[i] + 1], 3)
- K(e, e.dyn_ltree, t - 1), K(e, e.dyn_dtree, r - 1)
- })(e, e.l_desc.max_code + 1, e.d_desc.max_code + 1, l + 1),
- H(e, e.dyn_ltree, e.dyn_dtree)),
- q(e),
- n && G(e)
- }),
- (r._tr_tally = function (e, t, r) {
- return (
- (e.pending_buf[e.d_buf + 2 * e.last_lit] = (t >>> 8) & 255),
- (e.pending_buf[e.d_buf + 2 * e.last_lit + 1] = 255 & t),
- (e.pending_buf[e.l_buf + e.last_lit] = 255 & r),
- e.last_lit++,
- 0 === t ? e.dyn_ltree[2 * r]++ : (e.matches++, t--, e.dyn_ltree[2 * (k[r] + c + 1)]++, e.dyn_dtree[2 * M(t)]++),
- e.last_lit === e.lit_bufsize - 1
- )
- }),
- (r._tr_align = function (e) {
- B(e, 2, 3),
- F(e, y, E),
- (function (e) {
- 16 === e.bi_valid
- ? (D(e, e.bi_buf), (e.bi_buf = 0), (e.bi_valid = 0))
- : 8 <= e.bi_valid && ((e.pending_buf[e.pending++] = 255 & e.bi_buf), (e.bi_buf >>= 8), (e.bi_valid -= 8))
- })(e)
- })
- },
- {
- "../utils/common": 41
- }
- ],
- 53: [
- function (e, t, r) {
- "use strict"
- t.exports = function () {
- ;(this.input = null),
- (this.next_in = 0),
- (this.avail_in = 0),
- (this.total_in = 0),
- (this.output = null),
- (this.next_out = 0),
- (this.avail_out = 0),
- (this.total_out = 0),
- (this.msg = ""),
- (this.state = null),
- (this.data_type = 2),
- (this.adler = 0)
- }
- },
- {}
- ],
- 54: [
- function (e, t, i) {
- ;(function (e) {
- !(function (e, t) {
- "use strict"
- if (!e.setImmediate) {
- var r,
- i,
- o,
- a,
- s = 1,
- l = {},
- c = !1,
- u = e.document,
- f = Object.getPrototypeOf && Object.getPrototypeOf(e)
- ;(f = f && f.setTimeout ? f : e),
- (r =
- "[object process]" === {}.toString.call(e.process)
- ? function (e) {
- n.nextTick(function () {
- d(e)
- })
- }
- : (function () {
- if (e.postMessage && !e.importScripts) {
- var t = !0,
- r = e.onmessage
- return (
- (e.onmessage = function () {
- t = !1
- }),
- e.postMessage("", "*"),
- (e.onmessage = r),
- t
- )
- }
- })()
- ? ((a = "setImmediate$" + Math.random() + "$"),
- e.addEventListener ? e.addEventListener("message", h, !1) : e.attachEvent("onmessage", h),
- function (t) {
- e.postMessage(a + t, "*")
- })
- : e.MessageChannel
- ? (((o = new MessageChannel()).port1.onmessage = function (e) {
- d(e.data)
- }),
- function (e) {
- o.port2.postMessage(e)
- })
- : u && "onreadystatechange" in u.createElement("script")
- ? ((i = u.documentElement),
- function (e) {
- var t = u.createElement("script")
- ;(t.onreadystatechange = function () {
- d(e), (t.onreadystatechange = null), i.removeChild(t), (t = null)
- }),
- i.appendChild(t)
- })
- : function (e) {
- setTimeout(d, 0, e)
- }),
- (f.setImmediate = function (e) {
- "function" != typeof e && (e = new Function("" + e))
- for (var t = new Array(arguments.length - 1), n = 0; n < t.length; n++) t[n] = arguments[n + 1]
- var i = {
- callback: e,
- args: t
- }
- return (l[s] = i), r(s), s++
- }),
- (f.clearImmediate = p)
- }
- function p(e) {
- delete l[e]
- }
- function d(e) {
- if (c) setTimeout(d, 0, e)
- else {
- var r = l[e]
- if (r) {
- c = !0
- try {
- !(function (e) {
- var r = e.callback,
- n = e.args
- switch (n.length) {
- case 0:
- r()
- break
- case 1:
- r(n[0])
- break
- case 2:
- r(n[0], n[1])
- break
- case 3:
- r(n[0], n[1], n[2])
- break
- default:
- r.apply(t, n)
- }
- })(r)
- } finally {
- p(e), (c = !1)
- }
- }
- }
- }
- function h(t) {
- t.source === e && "string" == typeof t.data && 0 === t.data.indexOf(a) && d(+t.data.slice(a.length))
- }
- })("undefined" == typeof self ? (void 0 === e ? this : e) : self)
- }).call(this, "undefined" != typeof r ? r : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {})
- },
- {}
- ]
- },
- {},
- [10]
- )(10)
- })
- }).call(this, r("b639").Buffer, r("c8ba"), r("4362"))
- },
- c51a: function (e, t, r) {
- var n = r("844f"),
- i = r("078a"),
- o = r("cef9"),
- a = r("493b")
- e.exports = {
- xml2js: n,
- xml2json: i,
- js2xml: o,
- json2xml: a
- }
- },
- c6b6: function (e, t) {
- var r = {}.toString
- e.exports = function (e) {
- return r.call(e).slice(8, -1)
- }
- },
- c6cd: function (e, t, r) {
- var n = r("da84"),
- i = r("ce4e"),
- o = "__core-js_shared__",
- a = n[o] || i(o, {})
- e.exports = a
- },
- c8ba: function (e, t) {
- var r
- r = (function () {
- return this
- })()
- try {
- r = r || new Function("return this")()
- } catch (n) {
- "object" === typeof window && (r = window)
- }
- e.exports = r
- },
- c8d2: function (e, t, r) {
- var n = r("d039"),
- i = r("5899"),
- o = "
"
- e.exports = function (e) {
- return n(function () {
- return !!i[e]() || o[e]() != o || i[e].name !== e
- })
- }
- },
- ca84: function (e, t, r) {
- var n = r("5135"),
- i = r("fc6a"),
- o = r("4d64").indexOf,
- a = r("d012")
- e.exports = function (e, t) {
- var r,
- s = i(e),
- l = 0,
- c = []
- for (r in s) !n(a, r) && n(s, r) && c.push(r)
- while (t.length > l) n(s, (r = t[l++])) && (~o(c, r) || c.push(r))
- return c
- }
- },
- caad: function (e, t, r) {
- "use strict"
- var n = r("23e7"),
- i = r("4d64").includes,
- o = r("44d2")
- n(
- {
- target: "Array",
- proto: !0
- },
- {
- includes: function (e) {
- return i(this, e, arguments.length > 1 ? arguments[1] : void 0)
- }
- }
- ),
- o("includes")
- },
- cc12: function (e, t, r) {
- var n = r("da84"),
- i = r("861d"),
- o = n.document,
- a = i(o) && i(o.createElement)
- e.exports = function (e) {
- return a ? o.createElement(e) : {}
- }
- },
- ce4e: function (e, t, r) {
- var n = r("da84")
- e.exports = function (e, t) {
- try {
- Object.defineProperty(n, e, {
- value: t,
- configurable: !0,
- writable: !0
- })
- } catch (r) {
- n[e] = t
- }
- return t
- }
- },
- cef9: function (e, t, r) {
- var n,
- i,
- o = r("96c1"),
- a = r("9b12").isArray
- function s(e) {
- var t = o.copyOptions(e)
- return (
- o.ensureFlagExists("ignoreDeclaration", t),
- o.ensureFlagExists("ignoreInstruction", t),
- o.ensureFlagExists("ignoreAttributes", t),
- o.ensureFlagExists("ignoreText", t),
- o.ensureFlagExists("ignoreComment", t),
- o.ensureFlagExists("ignoreCdata", t),
- o.ensureFlagExists("ignoreDoctype", t),
- o.ensureFlagExists("compact", t),
- o.ensureFlagExists("indentText", t),
- o.ensureFlagExists("indentCdata", t),
- o.ensureFlagExists("indentAttributes", t),
- o.ensureFlagExists("indentInstruction", t),
- o.ensureFlagExists("fullTagEmptyElement", t),
- o.ensureFlagExists("noQuotesForNativeAttributes", t),
- o.ensureSpacesExists(t),
- "number" === typeof t.spaces && (t.spaces = Array(t.spaces + 1).join(" ")),
- o.ensureKeyExists("declaration", t),
- o.ensureKeyExists("instruction", t),
- o.ensureKeyExists("attributes", t),
- o.ensureKeyExists("text", t),
- o.ensureKeyExists("comment", t),
- o.ensureKeyExists("cdata", t),
- o.ensureKeyExists("doctype", t),
- o.ensureKeyExists("type", t),
- o.ensureKeyExists("name", t),
- o.ensureKeyExists("elements", t),
- o.checkFnExists("doctype", t),
- o.checkFnExists("instruction", t),
- o.checkFnExists("cdata", t),
- o.checkFnExists("comment", t),
- o.checkFnExists("text", t),
- o.checkFnExists("instructionName", t),
- o.checkFnExists("elementName", t),
- o.checkFnExists("attributeName", t),
- o.checkFnExists("attributeValue", t),
- o.checkFnExists("attributes", t),
- o.checkFnExists("fullTagEmptyElement", t),
- t
- )
- }
- function l(e, t, r) {
- return (!r && e.spaces ? "\n" : "") + Array(t + 1).join(e.spaces)
- }
- function c(e, t, r) {
- if (t.ignoreAttributes) return ""
- "attributesFn" in t && (e = t.attributesFn(e, i, n))
- var o,
- a,
- s,
- c,
- u = []
- for (o in e)
- e.hasOwnProperty(o) &&
- null !== e[o] &&
- void 0 !== e[o] &&
- ((c = t.noQuotesForNativeAttributes && "string" !== typeof e[o] ? "" : '"'),
- (a = "" + e[o]),
- (a = a.replace(/"/g, """)),
- (s = "attributeNameFn" in t ? t.attributeNameFn(o, a, i, n) : o),
- u.push(t.spaces && t.indentAttributes ? l(t, r + 1, !1) : " "),
- u.push(s + "=" + c + ("attributeValueFn" in t ? t.attributeValueFn(a, o, i, n) : a) + c))
- return e && Object.keys(e).length && t.spaces && t.indentAttributes && u.push(l(t, r, !1)), u.join("")
- }
- function u(e, t, r) {
- return (n = e), (i = "xml"), t.ignoreDeclaration ? "" : "<?xml" + c(e[t.attributesKey], t, r) + "?>"
- }
- function f(e, t, r) {
- if (t.ignoreInstruction) return ""
- var o
- for (o in e) if (e.hasOwnProperty(o)) break
- var a = "instructionNameFn" in t ? t.instructionNameFn(o, e[o], i, n) : o
- if ("object" === typeof e[o]) return (n = e), (i = a), "<?" + a + c(e[o][t.attributesKey], t, r) + "?>"
- var s = e[o] ? e[o] : ""
- return "instructionFn" in t && (s = t.instructionFn(s, o, i, n)), "<?" + a + (s ? " " + s : "") + "?>"
- }
- function p(e, t) {
- return t.ignoreComment ? "" : "\x3c!--" + ("commentFn" in t ? t.commentFn(e, i, n) : e) + "--\x3e"
- }
- function d(e, t) {
- return t.ignoreCdata ? "" : "<![CDATA[" + ("cdataFn" in t ? t.cdataFn(e, i, n) : e.replace("]]>", "]]]]><![CDATA[>")) + "]]>"
- }
- function h(e, t) {
- return t.ignoreDoctype ? "" : "<!DOCTYPE " + ("doctypeFn" in t ? t.doctypeFn(e, i, n) : e) + ">"
- }
- function m(e, t) {
- return t.ignoreText
- ? ""
- : ((e = "" + e),
- (e = e.replace(/&/g, "&")),
- (e = e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">")),
- "textFn" in t ? t.textFn(e, i, n) : e)
- }
- function g(e, t) {
- var r
- if (e.elements && e.elements.length)
- for (r = 0; r < e.elements.length; ++r)
- switch (e.elements[r][t.typeKey]) {
- case "text":
- if (t.indentText) return !0
- break
- case "cdata":
- if (t.indentCdata) return !0
- break
- case "instruction":
- if (t.indentInstruction) return !0
- break
- case "doctype":
- case "comment":
- case "element":
- return !0
- default:
- return !0
- }
- return !1
- }
- function y(e, t, r) {
- ;(n = e), (i = e.name)
- var o = [],
- a = "elementNameFn" in t ? t.elementNameFn(e.name, e) : e.name
- o.push("<" + a), e[t.attributesKey] && o.push(c(e[t.attributesKey], t, r))
- var s = (e[t.elementsKey] && e[t.elementsKey].length) || (e[t.attributesKey] && "preserve" === e[t.attributesKey]["xml:space"])
- return (
- s || (s = "fullTagEmptyElementFn" in t ? t.fullTagEmptyElementFn(e.name, e) : t.fullTagEmptyElement),
- s
- ? (o.push(">"),
- e[t.elementsKey] && e[t.elementsKey].length && (o.push(v(e[t.elementsKey], t, r + 1)), (n = e), (i = e.name)),
- o.push(t.spaces && g(e, t) ? "\n" + Array(r + 1).join(t.spaces) : ""),
- o.push("</" + a + ">"))
- : o.push("/>"),
- o.join("")
- )
- }
- function v(e, t, r, n) {
- return e.reduce(function (e, i) {
- var o = l(t, r, n && !e)
- switch (i.type) {
- case "element":
- return e + o + y(i, t, r)
- case "comment":
- return e + o + p(i[t.commentKey], t)
- case "doctype":
- return e + o + h(i[t.doctypeKey], t)
- case "cdata":
- return e + (t.indentCdata ? o : "") + d(i[t.cdataKey], t)
- case "text":
- return e + (t.indentText ? o : "") + m(i[t.textKey], t)
- case "instruction":
- var a = {}
- return (a[i[t.nameKey]] = i[t.attributesKey] ? i : i[t.instructionKey]), e + (t.indentInstruction ? o : "") + f(a, t, r)
- }
- }, "")
- }
- function b(e, t, r) {
- var n
- for (n in e)
- if (e.hasOwnProperty(n))
- switch (n) {
- case t.parentKey:
- case t.attributesKey:
- break
- case t.textKey:
- if (t.indentText || r) return !0
- break
- case t.cdataKey:
- if (t.indentCdata || r) return !0
- break
- case t.instructionKey:
- if (t.indentInstruction || r) return !0
- break
- case t.doctypeKey:
- case t.commentKey:
- return !0
- default:
- return !0
- }
- return !1
- }
- function w(e, t, r, o, a) {
- ;(n = e), (i = t)
- var s = "elementNameFn" in r ? r.elementNameFn(t, e) : t
- if ("undefined" === typeof e || null === e || "" === e)
- return ("fullTagEmptyElementFn" in r && r.fullTagEmptyElementFn(t, e)) || r.fullTagEmptyElement
- ? "<" + s + "></" + s + ">"
- : "<" + s + "/>"
- var u = []
- if (t) {
- if ((u.push("<" + s), "object" !== typeof e)) return u.push(">" + m(e, r) + "</" + s + ">"), u.join("")
- e[r.attributesKey] && u.push(c(e[r.attributesKey], r, o))
- var f = b(e, r, !0) || (e[r.attributesKey] && "preserve" === e[r.attributesKey]["xml:space"])
- if ((f || (f = "fullTagEmptyElementFn" in r ? r.fullTagEmptyElementFn(t, e) : r.fullTagEmptyElement), !f)) return u.push("/>"), u.join("")
- u.push(">")
- }
- return u.push(x(e, r, o + 1, !1)), (n = e), (i = t), t && u.push((a ? l(r, o, !1) : "") + "</" + s + ">"), u.join("")
- }
- function x(e, t, r, n) {
- var i,
- o,
- s,
- c = []
- for (o in e)
- if (e.hasOwnProperty(o))
- for (s = a(e[o]) ? e[o] : [e[o]], i = 0; i < s.length; ++i) {
- switch (o) {
- case t.declarationKey:
- c.push(u(s[i], t, r))
- break
- case t.instructionKey:
- c.push((t.indentInstruction ? l(t, r, n) : "") + f(s[i], t, r))
- break
- case t.attributesKey:
- case t.parentKey:
- break
- case t.textKey:
- c.push((t.indentText ? l(t, r, n) : "") + m(s[i], t))
- break
- case t.cdataKey:
- c.push((t.indentCdata ? l(t, r, n) : "") + d(s[i], t))
- break
- case t.doctypeKey:
- c.push(l(t, r, n) + h(s[i], t))
- break
- case t.commentKey:
- c.push(l(t, r, n) + p(s[i], t))
- break
- default:
- c.push(l(t, r, n) + w(s[i], o, t, r, b(s[i], t)))
- }
- n = n && !c.length
- }
- return c.join("")
- }
- e.exports = function (e, t) {
- t = s(t)
- var r = []
- return (
- (n = e),
- (i = "_root_"),
- t.compact
- ? r.push(x(e, t, 0, !0))
- : (e[t.declarationKey] && r.push(u(e[t.declarationKey], t, 0)),
- e[t.elementsKey] && e[t.elementsKey].length && r.push(v(e[t.elementsKey], t, 0, !r.length))),
- r.join("")
- )
- }
- },
- d012: function (e, t) {
- e.exports = {}
- },
- d039: function (e, t) {
- e.exports = function (e) {
- try {
- return !!e()
- } catch (t) {
- return !0
- }
- }
- },
- d066: function (e, t, r) {
- var n = r("da84"),
- i = function (e) {
- return "function" == typeof e ? e : void 0
- }
- e.exports = function (e, t) {
- return arguments.length < 2 ? i(n[e]) : n[e] && n[e][t]
- }
- },
- d17b: function (e, t, r) {
- e.exports = r("e372").Transform
- },
- d1e7: function (e, t, r) {
- "use strict"
- var n = {}.propertyIsEnumerable,
- i = Object.getOwnPropertyDescriptor,
- o =
- i &&
- !n.call(
- {
- 1: 2
- },
- 1
- )
- t.f = o
- ? function (e) {
- var t = i(this, e)
- return !!t && t.enumerable
- }
- : n
- },
- d28b: function (e, t, r) {
- var n = r("746f")
- n("iterator")
- },
- d2bb: function (e, t, r) {
- var n = r("825a"),
- i = r("3bbe")
- e.exports =
- Object.setPrototypeOf ||
- ("__proto__" in {}
- ? (function () {
- var e,
- t = !1,
- r = {}
- try {
- ;(e = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set), e.call(r, []), (t = r instanceof Array)
- } catch (o) {}
- return function (r, o) {
- return n(r), i(o), t ? e.call(r, o) : (r.__proto__ = o), r
- }
- })()
- : void 0)
- },
- d3b7: function (e, t, r) {
- var n = r("00ee"),
- i = r("6eeb"),
- o = r("b041")
- n ||
- i(Object.prototype, "toString", o, {
- unsafe: !0
- })
- },
- d44e: function (e, t, r) {
- var n = r("9bf2").f,
- i = r("5135"),
- o = r("b622"),
- a = o("toStringTag")
- e.exports = function (e, t, r) {
- e &&
- !i((e = r ? e : e.prototype), a) &&
- n(e, a, {
- configurable: !0,
- value: t
- })
- }
- },
- d485: function (e, t, r) {
- e.exports = o
- var n = r("faa1").EventEmitter,
- i = r("3fb5")
- function o() {
- n.call(this)
- }
- i(o, n),
- (o.Readable = r("e372")),
- (o.Writable = r("2c63")),
- (o.Duplex = r("0960")),
- (o.Transform = r("d17b")),
- (o.PassThrough = r("c2ae")),
- (o.Stream = o),
- (o.prototype.pipe = function (e, t) {
- var r = this
- function i(t) {
- e.writable && !1 === e.write(t) && r.pause && r.pause()
- }
- function o() {
- r.readable && r.resume && r.resume()
- }
- r.on("data", i), e.on("drain", o), e._isStdio || (t && !1 === t.end) || (r.on("end", s), r.on("close", l))
- var a = !1
- function s() {
- a || ((a = !0), e.end())
- }
- function l() {
- a || ((a = !0), "function" === typeof e.destroy && e.destroy())
- }
- function c(e) {
- if ((u(), 0 === n.listenerCount(this, "error"))) throw e
- }
- function u() {
- r.removeListener("data", i),
- e.removeListener("drain", o),
- r.removeListener("end", s),
- r.removeListener("close", l),
- r.removeListener("error", c),
- e.removeListener("error", c),
- r.removeListener("end", u),
- r.removeListener("close", u),
- e.removeListener("close", u)
- }
- return r.on("error", c), e.on("error", c), r.on("end", u), r.on("close", u), e.on("close", u), e.emit("pipe", r), e
- })
- },
- d784: function (e, t, r) {
- "use strict"
- r("ac1f")
- var n = r("6eeb"),
- i = r("9263"),
- o = r("d039"),
- a = r("b622"),
- s = r("9112"),
- l = a("species"),
- c = RegExp.prototype
- e.exports = function (e, t, r, u) {
- var f = a(e),
- p = !o(function () {
- var t = {}
- return (
- (t[f] = function () {
- return 7
- }),
- 7 != ""[e](t)
- )
- }),
- d =
- p &&
- !o(function () {
- var t = !1,
- r = /a/
- return (
- "split" === e &&
- ((r = {}),
- (r.constructor = {}),
- (r.constructor[l] = function () {
- return r
- }),
- (r.flags = ""),
- (r[f] = /./[f])),
- (r.exec = function () {
- return (t = !0), null
- }),
- r[f](""),
- !t
- )
- })
- if (!p || !d || r) {
- var h = /./[f],
- m = t(f, ""[e], function (e, t, r, n, o) {
- var a = t.exec
- return a === i || a === c.exec
- ? p && !o
- ? {
- done: !0,
- value: h.call(t, r, n)
- }
- : {
- done: !0,
- value: e.call(r, t, n)
- }
- : {
- done: !1
- }
- })
- n(String.prototype, e, m[0]), n(c, f, m[1])
- }
- u && s(c[f], "sham", !0)
- }
- },
- d9b5: function (e, t, r) {
- var n = r("d066"),
- i = r("fdbf")
- e.exports = i
- ? function (e) {
- return "symbol" == typeof e
- }
- : function (e) {
- var t = n("Symbol")
- return "function" == typeof t && Object(e) instanceof t
- }
- },
- da84: function (e, t, r) {
- ;(function (t) {
- var r = function (e) {
- return e && e.Math == Math && e
- }
- e.exports =
- r("object" == typeof globalThis && globalThis) ||
- r("object" == typeof window && window) ||
- r("object" == typeof self && self) ||
- r("object" == typeof t && t) ||
- (function () {
- return this
- })() ||
- Function("return this")()
- }).call(this, r("c8ba"))
- },
- dbb4: function (e, t, r) {
- var n = r("23e7"),
- i = r("83ab"),
- o = r("56ef"),
- a = r("fc6a"),
- s = r("06cf"),
- l = r("8418")
- n(
- {
- target: "Object",
- stat: !0,
- sham: !i
- },
- {
- getOwnPropertyDescriptors: function (e) {
- var t,
- r,
- n = a(e),
- i = s.f,
- c = o(n),
- u = {},
- f = 0
- while (c.length > f) (r = i(n, (t = c[f++]))), void 0 !== r && l(u, t, r)
- return u
- }
- }
- )
- },
- dc14: function (e, t, r) {
- "use strict"
- ;(function (t, n) {
- var i = r("966d")
- function o(e) {
- var t = this
- ;(this.next = null),
- (this.entry = null),
- (this.finish = function () {
- M(t, e)
- })
- }
- e.exports = b
- var a,
- s = !t.browser && ["v0.10", "v0.9."].indexOf(t.version.slice(0, 5)) > -1 ? setImmediate : i.nextTick
- b.WritableState = v
- var l = Object.create(r("3a7c"))
- l.inherits = r("3fb5")
- var c = {
- deprecate: r("b7d1")
- },
- u = r("429b"),
- f = r("a8f0").Buffer,
- p = n.Uint8Array || function () {}
- function d(e) {
- return f.from(e)
- }
- function h(e) {
- return f.isBuffer(e) || e instanceof p
- }
- var m,
- g = r("4681")
- function y() {}
- function v(e, t) {
- ;(a = a || r("b19a")), (e = e || {})
- var n = t instanceof a
- ;(this.objectMode = !!e.objectMode), n && (this.objectMode = this.objectMode || !!e.writableObjectMode)
- var i = e.highWaterMark,
- s = e.writableHighWaterMark,
- l = this.objectMode ? 16 : 16384
- ;(this.highWaterMark = i || 0 === i ? i : n && (s || 0 === s) ? s : l),
- (this.highWaterMark = Math.floor(this.highWaterMark)),
- (this.finalCalled = !1),
- (this.needDrain = !1),
- (this.ending = !1),
- (this.ended = !1),
- (this.finished = !1),
- (this.destroyed = !1)
- var c = !1 === e.decodeStrings
- ;(this.decodeStrings = !c),
- (this.defaultEncoding = e.defaultEncoding || "utf8"),
- (this.length = 0),
- (this.writing = !1),
- (this.corked = 0),
- (this.sync = !0),
- (this.bufferProcessing = !1),
- (this.onwrite = function (e) {
- C(t, e)
- }),
- (this.writecb = null),
- (this.writelen = 0),
- (this.bufferedRequest = null),
- (this.lastBufferedRequest = null),
- (this.pendingcb = 0),
- (this.prefinished = !1),
- (this.errorEmitted = !1),
- (this.bufferedRequestCount = 0),
- (this.corkedRequestsFree = new o(this))
- }
- function b(e) {
- if (((a = a || r("b19a")), !m.call(b, this) && !(this instanceof a))) return new b(e)
- ;(this._writableState = new v(e, this)),
- (this.writable = !0),
- e &&
- ("function" === typeof e.write && (this._write = e.write),
- "function" === typeof e.writev && (this._writev = e.writev),
- "function" === typeof e.destroy && (this._destroy = e.destroy),
- "function" === typeof e.final && (this._final = e.final)),
- u.call(this)
- }
- function w(e, t) {
- var r = new Error("write after end")
- e.emit("error", r), i.nextTick(t, r)
- }
- function x(e, t, r, n) {
- var o = !0,
- a = !1
- return (
- null === r
- ? (a = new TypeError("May not write null values to stream"))
- : "string" === typeof r || void 0 === r || t.objectMode || (a = new TypeError("Invalid non-string/buffer chunk")),
- a && (e.emit("error", a), i.nextTick(n, a), (o = !1)),
- o
- )
- }
- function A(e, t, r) {
- return e.objectMode || !1 === e.decodeStrings || "string" !== typeof t || (t = f.from(t, r)), t
- }
- function _(e, t, r, n, i, o) {
- if (!r) {
- var a = A(t, n, i)
- n !== a && ((r = !0), (i = "buffer"), (n = a))
- }
- var s = t.objectMode ? 1 : n.length
- t.length += s
- var l = t.length < t.highWaterMark
- if ((l || (t.needDrain = !0), t.writing || t.corked)) {
- var c = t.lastBufferedRequest
- ;(t.lastBufferedRequest = {
- chunk: n,
- encoding: i,
- isBuf: r,
- callback: o,
- next: null
- }),
- c ? (c.next = t.lastBufferedRequest) : (t.bufferedRequest = t.lastBufferedRequest),
- (t.bufferedRequestCount += 1)
- } else T(e, t, !1, s, n, i, o)
- return l
- }
- function T(e, t, r, n, i, o, a) {
- ;(t.writelen = n),
- (t.writecb = a),
- (t.writing = !0),
- (t.sync = !0),
- r ? e._writev(i, t.onwrite) : e._write(i, o, t.onwrite),
- (t.sync = !1)
- }
- function E(e, t, r, n, o) {
- --t.pendingcb,
- r
- ? (i.nextTick(o, n), i.nextTick(I, e, t), (e._writableState.errorEmitted = !0), e.emit("error", n))
- : (o(n), (e._writableState.errorEmitted = !0), e.emit("error", n), I(e, t))
- }
- function S(e) {
- ;(e.writing = !1), (e.writecb = null), (e.length -= e.writelen), (e.writelen = 0)
- }
- function C(e, t) {
- var r = e._writableState,
- n = r.sync,
- i = r.writecb
- if ((S(r), t)) E(e, r, n, t, i)
- else {
- var o = O(r)
- o || r.corked || r.bufferProcessing || !r.bufferedRequest || P(e, r), n ? s(k, e, r, o, i) : k(e, r, o, i)
- }
- }
- function k(e, t, r, n) {
- r || L(e, t), t.pendingcb--, n(), I(e, t)
- }
- function L(e, t) {
- 0 === t.length && t.needDrain && ((t.needDrain = !1), e.emit("drain"))
- }
- function P(e, t) {
- t.bufferProcessing = !0
- var r = t.bufferedRequest
- if (e._writev && r && r.next) {
- var n = t.bufferedRequestCount,
- i = new Array(n),
- a = t.corkedRequestsFree
- a.entry = r
- var s = 0,
- l = !0
- while (r) (i[s] = r), r.isBuf || (l = !1), (r = r.next), (s += 1)
- ;(i.allBuffers = l),
- T(e, t, !0, t.length, i, "", a.finish),
- t.pendingcb++,
- (t.lastBufferedRequest = null),
- a.next ? ((t.corkedRequestsFree = a.next), (a.next = null)) : (t.corkedRequestsFree = new o(t)),
- (t.bufferedRequestCount = 0)
- } else {
- while (r) {
- var c = r.chunk,
- u = r.encoding,
- f = r.callback,
- p = t.objectMode ? 1 : c.length
- if ((T(e, t, !1, p, c, u, f), (r = r.next), t.bufferedRequestCount--, t.writing)) break
- }
- null === r && (t.lastBufferedRequest = null)
- }
- ;(t.bufferedRequest = r), (t.bufferProcessing = !1)
- }
- function O(e) {
- return e.ending && 0 === e.length && null === e.bufferedRequest && !e.finished && !e.writing
- }
- function j(e, t) {
- e._final(function (r) {
- t.pendingcb--, r && e.emit("error", r), (t.prefinished = !0), e.emit("prefinish"), I(e, t)
- })
- }
- function R(e, t) {
- t.prefinished ||
- t.finalCalled ||
- ("function" === typeof e._final
- ? (t.pendingcb++, (t.finalCalled = !0), i.nextTick(j, e, t))
- : ((t.prefinished = !0), e.emit("prefinish")))
- }
- function I(e, t) {
- var r = O(t)
- return r && (R(e, t), 0 === t.pendingcb && ((t.finished = !0), e.emit("finish"))), r
- }
- function N(e, t, r) {
- ;(t.ending = !0), I(e, t), r && (t.finished ? i.nextTick(r) : e.once("finish", r)), (t.ended = !0), (e.writable = !1)
- }
- function M(e, t, r) {
- var n = e.entry
- e.entry = null
- while (n) {
- var i = n.callback
- t.pendingcb--, i(r), (n = n.next)
- }
- t.corkedRequestsFree ? (t.corkedRequestsFree.next = e) : (t.corkedRequestsFree = e)
- }
- l.inherits(b, u),
- (v.prototype.getBuffer = function () {
- var e = this.bufferedRequest,
- t = []
- while (e) t.push(e), (e = e.next)
- return t
- }),
- (function () {
- try {
- Object.defineProperty(v.prototype, "buffer", {
- get: c.deprecate(
- function () {
- return this.getBuffer()
- },
- "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.",
- "DEP0003"
- )
- })
- } catch (e) {}
- })(),
- "function" === typeof Symbol && Symbol.hasInstance && "function" === typeof Function.prototype[Symbol.hasInstance]
- ? ((m = Function.prototype[Symbol.hasInstance]),
- Object.defineProperty(b, Symbol.hasInstance, {
- value: function (e) {
- return !!m.call(this, e) || (this === b && e && e._writableState instanceof v)
- }
- }))
- : (m = function (e) {
- return e instanceof this
- }),
- (b.prototype.pipe = function () {
- this.emit("error", new Error("Cannot pipe, not readable"))
- }),
- (b.prototype.write = function (e, t, r) {
- var n = this._writableState,
- i = !1,
- o = !n.objectMode && h(e)
- return (
- o && !f.isBuffer(e) && (e = d(e)),
- "function" === typeof t && ((r = t), (t = null)),
- o ? (t = "buffer") : t || (t = n.defaultEncoding),
- "function" !== typeof r && (r = y),
- n.ended ? w(this, r) : (o || x(this, n, e, r)) && (n.pendingcb++, (i = _(this, n, o, e, t, r))),
- i
- )
- }),
- (b.prototype.cork = function () {
- var e = this._writableState
- e.corked++
- }),
- (b.prototype.uncork = function () {
- var e = this._writableState
- e.corked && (e.corked--, e.writing || e.corked || e.finished || e.bufferProcessing || !e.bufferedRequest || P(this, e))
- }),
- (b.prototype.setDefaultEncoding = function (e) {
- if (
- ("string" === typeof e && (e = e.toLowerCase()),
- !(
- ["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf(
- (e + "").toLowerCase()
- ) > -1
- ))
- )
- throw new TypeError("Unknown encoding: " + e)
- return (this._writableState.defaultEncoding = e), this
- }),
- Object.defineProperty(b.prototype, "writableHighWaterMark", {
- enumerable: !1,
- get: function () {
- return this._writableState.highWaterMark
- }
- }),
- (b.prototype._write = function (e, t, r) {
- r(new Error("_write() is not implemented"))
- }),
- (b.prototype._writev = null),
- (b.prototype.end = function (e, t, r) {
- var n = this._writableState
- "function" === typeof e ? ((r = e), (e = null), (t = null)) : "function" === typeof t && ((r = t), (t = null)),
- null !== e && void 0 !== e && this.write(e, t),
- n.corked && ((n.corked = 1), this.uncork()),
- n.ending || n.finished || N(this, n, r)
- }),
- Object.defineProperty(b.prototype, "destroyed", {
- get: function () {
- return void 0 !== this._writableState && this._writableState.destroyed
- },
- set: function (e) {
- this._writableState && (this._writableState.destroyed = e)
- }
- }),
- (b.prototype.destroy = g.destroy),
- (b.prototype._undestroy = g.undestroy),
- (b.prototype._destroy = function (e, t) {
- this.end(), t(e)
- })
- }).call(this, r("4362"), r("c8ba"))
- },
- ddb0: function (e, t, r) {
- var n = r("da84"),
- i = r("fdbc"),
- o = r("e260"),
- a = r("9112"),
- s = r("b622"),
- l = s("iterator"),
- c = s("toStringTag"),
- u = o.values
- for (var f in i) {
- var p = n[f],
- d = p && p.prototype
- if (d) {
- if (d[l] !== u)
- try {
- a(d, l, u)
- } catch (m) {
- d[l] = u
- }
- if ((d[c] || a(d, c, f), i[f]))
- for (var h in o)
- if (d[h] !== o[h])
- try {
- a(d, h, o[h])
- } catch (m) {
- d[h] = o[h]
- }
- }
- }
- },
- df75: function (e, t, r) {
- var n = r("ca84"),
- i = r("7839")
- e.exports =
- Object.keys ||
- function (e) {
- return n(e, i)
- }
- },
- df7c: function (e, t, r) {
- ;(function (e) {
- function r(e, t) {
- for (var r = 0, n = e.length - 1; n >= 0; n--) {
- var i = e[n]
- "." === i ? e.splice(n, 1) : ".." === i ? (e.splice(n, 1), r++) : r && (e.splice(n, 1), r--)
- }
- if (t) for (; r--; r) e.unshift("..")
- return e
- }
- function n(e) {
- "string" !== typeof e && (e += "")
- var t,
- r = 0,
- n = -1,
- i = !0
- for (t = e.length - 1; t >= 0; --t)
- if (47 === e.charCodeAt(t)) {
- if (!i) {
- r = t + 1
- break
- }
- } else -1 === n && ((i = !1), (n = t + 1))
- return -1 === n ? "" : e.slice(r, n)
- }
- function i(e, t) {
- if (e.filter) return e.filter(t)
- for (var r = [], n = 0; n < e.length; n++) t(e[n], n, e) && r.push(e[n])
- return r
- }
- ;(t.resolve = function () {
- for (var t = "", n = !1, o = arguments.length - 1; o >= -1 && !n; o--) {
- var a = o >= 0 ? arguments[o] : e.cwd()
- if ("string" !== typeof a) throw new TypeError("Arguments to path.resolve must be strings")
- a && ((t = a + "/" + t), (n = "/" === a.charAt(0)))
- }
- return (
- (t = r(
- i(t.split("/"), function (e) {
- return !!e
- }),
- !n
- ).join("/")),
- (n ? "/" : "") + t || "."
- )
- }),
- (t.normalize = function (e) {
- var n = t.isAbsolute(e),
- a = "/" === o(e, -1)
- return (
- (e = r(
- i(e.split("/"), function (e) {
- return !!e
- }),
- !n
- ).join("/")),
- e || n || (e = "."),
- e && a && (e += "/"),
- (n ? "/" : "") + e
- )
- }),
- (t.isAbsolute = function (e) {
- return "/" === e.charAt(0)
- }),
- (t.join = function () {
- var e = Array.prototype.slice.call(arguments, 0)
- return t.normalize(
- i(e, function (e, t) {
- if ("string" !== typeof e) throw new TypeError("Arguments to path.join must be strings")
- return e
- }).join("/")
- )
- }),
- (t.relative = function (e, r) {
- function n(e) {
- for (var t = 0; t < e.length; t++) if ("" !== e[t]) break
- for (var r = e.length - 1; r >= 0; r--) if ("" !== e[r]) break
- return t > r ? [] : e.slice(t, r - t + 1)
- }
- ;(e = t.resolve(e).substr(1)), (r = t.resolve(r).substr(1))
- for (var i = n(e.split("/")), o = n(r.split("/")), a = Math.min(i.length, o.length), s = a, l = 0; l < a; l++)
- if (i[l] !== o[l]) {
- s = l
- break
- }
- var c = []
- for (l = s; l < i.length; l++) c.push("..")
- return (c = c.concat(o.slice(s))), c.join("/")
- }),
- (t.sep = "/"),
- (t.delimiter = ":"),
- (t.dirname = function (e) {
- if (("string" !== typeof e && (e += ""), 0 === e.length)) return "."
- for (var t = e.charCodeAt(0), r = 47 === t, n = -1, i = !0, o = e.length - 1; o >= 1; --o)
- if (((t = e.charCodeAt(o)), 47 === t)) {
- if (!i) {
- n = o
- break
- }
- } else i = !1
- return -1 === n ? (r ? "/" : ".") : r && 1 === n ? "/" : e.slice(0, n)
- }),
- (t.basename = function (e, t) {
- var r = n(e)
- return t && r.substr(-1 * t.length) === t && (r = r.substr(0, r.length - t.length)), r
- }),
- (t.extname = function (e) {
- "string" !== typeof e && (e += "")
- for (var t = -1, r = 0, n = -1, i = !0, o = 0, a = e.length - 1; a >= 0; --a) {
- var s = e.charCodeAt(a)
- if (47 !== s) -1 === n && ((i = !1), (n = a + 1)), 46 === s ? (-1 === t ? (t = a) : 1 !== o && (o = 1)) : -1 !== t && (o = -1)
- else if (!i) {
- r = a + 1
- break
- }
- }
- return -1 === t || -1 === n || 0 === o || (1 === o && t === n - 1 && t === r + 1) ? "" : e.slice(t, n)
- })
- var o =
- "b" === "ab".substr(-1)
- ? function (e, t, r) {
- return e.substr(t, r)
- }
- : function (e, t, r) {
- return t < 0 && (t = e.length + t), e.substr(t, r)
- }
- }).call(this, r("4362"))
- },
- e01a: function (e, t, r) {
- "use strict"
- var n = r("23e7"),
- i = r("83ab"),
- o = r("da84"),
- a = r("5135"),
- s = r("861d"),
- l = r("9bf2").f,
- c = r("e893"),
- u = o.Symbol
- if (i && "function" == typeof u && (!("description" in u.prototype) || void 0 !== u().description)) {
- var f = {},
- p = function () {
- var e = arguments.length < 1 || void 0 === arguments[0] ? void 0 : String(arguments[0]),
- t = this instanceof p ? new u(e) : void 0 === e ? u() : u(e)
- return "" === e && (f[t] = !0), t
- }
- c(p, u)
- var d = (p.prototype = u.prototype)
- d.constructor = p
- var h = d.toString,
- m = "Symbol(test)" == String(u("test")),
- g = /^Symbol\((.*)\)[^)]+$/
- l(d, "description", {
- configurable: !0,
- get: function () {
- var e = s(this) ? this.valueOf() : this,
- t = h.call(e)
- if (a(f, e)) return ""
- var r = m ? t.slice(7, -1) : t.replace(g, "$1")
- return "" === r ? void 0 : r
- }
- }),
- n(
- {
- global: !0,
- forced: !0
- },
- {
- Symbol: p
- }
- )
- }
- },
- e163: function (e, t, r) {
- var n = r("5135"),
- i = r("7b0b"),
- o = r("f772"),
- a = r("e177"),
- s = o("IE_PROTO"),
- l = Object.prototype
- e.exports = a
- ? Object.getPrototypeOf
- : function (e) {
- return (
- (e = i(e)),
- n(e, s)
- ? e[s]
- : "function" == typeof e.constructor && e instanceof e.constructor
- ? e.constructor.prototype
- : e instanceof Object
- ? l
- : null
- )
- }
- },
- e177: function (e, t, r) {
- var n = r("d039")
- e.exports = !n(function () {
- function e() {}
- return (e.prototype.constructor = null), Object.getPrototypeOf(new e()) !== e.prototype
- })
- },
- e260: function (e, t, r) {
- "use strict"
- var n = r("fc6a"),
- i = r("44d2"),
- o = r("3f8c"),
- a = r("69f3"),
- s = r("7dd0"),
- l = "Array Iterator",
- c = a.set,
- u = a.getterFor(l)
- ;(e.exports = s(
- Array,
- "Array",
- function (e, t) {
- c(this, {
- type: l,
- target: n(e),
- index: 0,
- kind: t
- })
- },
- function () {
- var e = u(this),
- t = e.target,
- r = e.kind,
- n = e.index++
- return !t || n >= t.length
- ? ((e.target = void 0),
- {
- value: void 0,
- done: !0
- })
- : "keys" == r
- ? {
- value: n,
- done: !1
- }
- : "values" == r
- ? {
- value: t[n],
- done: !1
- }
- : {
- value: [n, t[n]],
- done: !1
- }
- },
- "values"
- )),
- (o.Arguments = o.Array),
- i("keys"),
- i("values"),
- i("entries")
- },
- e372: function (e, t, r) {
- ;(t = e.exports = r("ad71")),
- (t.Stream = t),
- (t.Readable = t),
- (t.Writable = r("dc14")),
- (t.Duplex = r("b19a")),
- (t.Transform = r("27bf")),
- (t.PassThrough = r("780f"))
- },
- e3db: function (e, t) {
- var r = {}.toString
- e.exports =
- Array.isArray ||
- function (e) {
- return "[object Array]" == r.call(e)
- }
- },
- e439: function (e, t, r) {
- var n = r("23e7"),
- i = r("d039"),
- o = r("fc6a"),
- a = r("06cf").f,
- s = r("83ab"),
- l = i(function () {
- a(1)
- }),
- c = !s || l
- n(
- {
- target: "Object",
- stat: !0,
- forced: c,
- sham: !s
- },
- {
- getOwnPropertyDescriptor: function (e, t) {
- return a(o(e), t)
- }
- }
- )
- },
- e538: function (e, t, r) {
- var n = r("b622")
- t.f = n
- },
- e893: function (e, t, r) {
- var n = r("5135"),
- i = r("56ef"),
- o = r("06cf"),
- a = r("9bf2")
- e.exports = function (e, t) {
- for (var r = i(t), s = a.f, l = o.f, c = 0; c < r.length; c++) {
- var u = r[c]
- n(e, u) || s(e, u, l(t, u))
- }
- }
- },
- e8b5: function (e, t, r) {
- var n = r("c6b6")
- e.exports =
- Array.isArray ||
- function (e) {
- return "Array" == n(e)
- }
- },
- e95a: function (e, t, r) {
- var n = r("b622"),
- i = r("3f8c"),
- o = n("iterator"),
- a = Array.prototype
- e.exports = function (e) {
- return void 0 !== e && (i.Array === e || a[o] === e)
- }
- },
- f5df: function (e, t, r) {
- var n = r("00ee"),
- i = r("c6b6"),
- o = r("b622"),
- a = o("toStringTag"),
- s =
- "Arguments" ==
- i(
- (function () {
- return arguments
- })()
- ),
- l = function (e, t) {
- try {
- return e[t]
- } catch (r) {}
- }
- e.exports = n
- ? i
- : function (e) {
- var t, r, n
- return void 0 === e
- ? "Undefined"
- : null === e
- ? "Null"
- : "string" == typeof (r = l((t = Object(e)), a))
- ? r
- : s
- ? i(t)
- : "Object" == (n = i(t)) && "function" == typeof t.callee
- ? "Arguments"
- : n
- }
- },
- f5f5: function (e, t, r) {
- "use strict"
- ;(function (e) {
- r.d(t, "a", function () {
- return Ri
- })
- var n,
- i,
- o,
- a = r("8fc1"),
- s = r("2ef0"),
- l = r.n(s),
- c = r("c4e3"),
- u = r.n(c),
- f = r("c51a")
- function p(e, t) {
- for (var r = 0; r < t.length; r++) {
- var n = t[r]
- ;(n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, j(n.key), n)
- }
- }
- function d(e, t, r) {
- return (
- t && p(e.prototype, t),
- r && p(e, r),
- Object.defineProperty(e, "prototype", {
- writable: !1
- }),
- e
- )
- }
- function h(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- function m(e, t) {
- if ("function" !== typeof t && null !== t) throw new TypeError("Super expression must either be null or a function")
- ;(e.prototype = Object.create(t && t.prototype, {
- constructor: {
- value: e,
- writable: !0,
- configurable: !0
- }
- })),
- Object.defineProperty(e, "prototype", {
- writable: !1
- }),
- t && g(e, t)
- }
- function g(e, t) {
- return (
- (g = Object.setPrototypeOf
- ? Object.setPrototypeOf.bind()
- : function (e, t) {
- return (e.__proto__ = t), e
- }),
- g(e, t)
- )
- }
- function y(e) {
- var t = w()
- return function () {
- var r,
- n = x(e)
- if (t) {
- var i = x(this).constructor
- r = Reflect.construct(n, arguments, i)
- } else r = n.apply(this, arguments)
- return v(this, r)
- }
- }
- function v(e, t) {
- if (t && ("object" === z(t) || "function" === typeof t)) return t
- if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined")
- return b(e)
- }
- function b(e) {
- if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
- return e
- }
- function w() {
- if ("undefined" === typeof Reflect || !Reflect.construct) return !1
- if (Reflect.construct.sham) return !1
- if ("function" === typeof Proxy) return !0
- try {
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0
- } catch (Rt) {
- return !1
- }
- }
- function x(e) {
- return (
- (x = Object.setPrototypeOf
- ? Object.getPrototypeOf.bind()
- : function (e) {
- return e.__proto__ || Object.getPrototypeOf(e)
- }),
- x(e)
- )
- }
- function A() {
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
- A = function () {
- return e
- }
- var e = {},
- t = Object.prototype,
- r = t.hasOwnProperty,
- n =
- Object.defineProperty ||
- function (e, t, r) {
- e[t] = r.value
- },
- i = "function" == typeof Symbol ? Symbol : {},
- o = i.iterator || "@@iterator",
- a = i.asyncIterator || "@@asyncIterator",
- s = i.toStringTag || "@@toStringTag"
- function l(e, t, r) {
- return (
- Object.defineProperty(e, t, {
- value: r,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }),
- e[t]
- )
- }
- try {
- l({}, "")
- } catch (L) {
- l = function (e, t, r) {
- return (e[t] = r)
- }
- }
- function c(e, t, r, i) {
- var o = t && t.prototype instanceof p ? t : p,
- a = Object.create(o.prototype),
- s = new S(i || [])
- return (
- n(a, "_invoke", {
- value: x(e, r, s)
- }),
- a
- )
- }
- function u(e, t, r) {
- try {
- return {
- type: "normal",
- arg: e.call(t, r)
- }
- } catch (L) {
- return {
- type: "throw",
- arg: L
- }
- }
- }
- e.wrap = c
- var f = {}
- function p() {}
- function d() {}
- function h() {}
- var m = {}
- l(m, o, function () {
- return this
- })
- var g = Object.getPrototypeOf,
- y = g && g(g(C([])))
- y && y !== t && r.call(y, o) && (m = y)
- var v = (h.prototype = p.prototype = Object.create(m))
- function b(e) {
- ;["next", "throw", "return"].forEach(function (t) {
- l(e, t, function (e) {
- return this._invoke(t, e)
- })
- })
- }
- function w(e, t) {
- function i(n, o, a, s) {
- var l = u(e[n], e, o)
- if ("throw" !== l.type) {
- var c = l.arg,
- f = c.value
- return f && "object" == z(f) && r.call(f, "__await")
- ? t.resolve(f.__await).then(
- function (e) {
- i("next", e, a, s)
- },
- function (e) {
- i("throw", e, a, s)
- }
- )
- : t.resolve(f).then(
- function (e) {
- ;(c.value = e), a(c)
- },
- function (e) {
- return i("throw", e, a, s)
- }
- )
- }
- s(l.arg)
- }
- var o
- n(this, "_invoke", {
- value: function (e, r) {
- function n() {
- return new t(function (t, n) {
- i(e, r, t, n)
- })
- }
- return (o = o ? o.then(n, n) : n())
- }
- })
- }
- function x(e, t, r) {
- var n = "suspendedStart"
- return function (i, o) {
- if ("executing" === n) throw new Error("Generator is already running")
- if ("completed" === n) {
- if ("throw" === i) throw o
- return k()
- }
- for (r.method = i, r.arg = o; ; ) {
- var a = r.delegate
- if (a) {
- var s = _(a, r)
- if (s) {
- if (s === f) continue
- return s
- }
- }
- if ("next" === r.method) r.sent = r._sent = r.arg
- else if ("throw" === r.method) {
- if ("suspendedStart" === n) throw ((n = "completed"), r.arg)
- r.dispatchException(r.arg)
- } else "return" === r.method && r.abrupt("return", r.arg)
- n = "executing"
- var l = u(e, t, r)
- if ("normal" === l.type) {
- if (((n = r.done ? "completed" : "suspendedYield"), l.arg === f)) continue
- return {
- value: l.arg,
- done: r.done
- }
- }
- "throw" === l.type && ((n = "completed"), (r.method = "throw"), (r.arg = l.arg))
- }
- }
- }
- function _(e, t) {
- var r = t.method,
- n = e.iterator[r]
- if (void 0 === n)
- return (
- (t.delegate = null),
- ("throw" === r && e.iterator["return"] && ((t.method = "return"), (t.arg = void 0), _(e, t), "throw" === t.method)) ||
- ("return" !== r && ((t.method = "throw"), (t.arg = new TypeError("The iterator does not provide a '" + r + "' method")))),
- f
- )
- var i = u(n, e.iterator, t.arg)
- if ("throw" === i.type) return (t.method = "throw"), (t.arg = i.arg), (t.delegate = null), f
- var o = i.arg
- return o
- ? o.done
- ? ((t[e.resultName] = o.value),
- (t.next = e.nextLoc),
- "return" !== t.method && ((t.method = "next"), (t.arg = void 0)),
- (t.delegate = null),
- f)
- : o
- : ((t.method = "throw"), (t.arg = new TypeError("iterator result is not an object")), (t.delegate = null), f)
- }
- function T(e) {
- var t = {
- tryLoc: e[0]
- }
- 1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t)
- }
- function E(e) {
- var t = e.completion || {}
- ;(t.type = "normal"), delete t.arg, (e.completion = t)
- }
- function S(e) {
- ;(this.tryEntries = [
- {
- tryLoc: "root"
- }
- ]),
- e.forEach(T, this),
- this.reset(!0)
- }
- function C(e) {
- if (e) {
- var t = e[o]
- if (t) return t.call(e)
- if ("function" == typeof e.next) return e
- if (!isNaN(e.length)) {
- var n = -1,
- i = function t() {
- for (; ++n < e.length; ) if (r.call(e, n)) return (t.value = e[n]), (t.done = !1), t
- return (t.value = void 0), (t.done = !0), t
- }
- return (i.next = i)
- }
- }
- return {
- next: k
- }
- }
- function k() {
- return {
- value: void 0,
- done: !0
- }
- }
- return (
- (d.prototype = h),
- n(v, "constructor", {
- value: h,
- configurable: !0
- }),
- n(h, "constructor", {
- value: d,
- configurable: !0
- }),
- (d.displayName = l(h, s, "GeneratorFunction")),
- (e.isGeneratorFunction = function (e) {
- var t = "function" == typeof e && e.constructor
- return !!t && (t === d || "GeneratorFunction" === (t.displayName || t.name))
- }),
- (e.mark = function (e) {
- return (
- Object.setPrototypeOf ? Object.setPrototypeOf(e, h) : ((e.__proto__ = h), l(e, s, "GeneratorFunction")),
- (e.prototype = Object.create(v)),
- e
- )
- }),
- (e.awrap = function (e) {
- return {
- __await: e
- }
- }),
- b(w.prototype),
- l(w.prototype, a, function () {
- return this
- }),
- (e.AsyncIterator = w),
- (e.async = function (t, r, n, i, o) {
- void 0 === o && (o = Promise)
- var a = new w(c(t, r, n, i), o)
- return e.isGeneratorFunction(r)
- ? a
- : a.next().then(function (e) {
- return e.done ? e.value : a.next()
- })
- }),
- b(v),
- l(v, s, "Generator"),
- l(v, o, function () {
- return this
- }),
- l(v, "toString", function () {
- return "[object Generator]"
- }),
- (e.keys = function (e) {
- var t = Object(e),
- r = []
- for (var n in t) r.push(n)
- return (
- r.reverse(),
- function e() {
- for (; r.length; ) {
- var n = r.pop()
- if (n in t) return (e.value = n), (e.done = !1), e
- }
- return (e.done = !0), e
- }
- )
- }),
- (e.values = C),
- (S.prototype = {
- constructor: S,
- reset: function (e) {
- if (
- ((this.prev = 0),
- (this.next = 0),
- (this.sent = this._sent = void 0),
- (this.done = !1),
- (this.delegate = null),
- (this.method = "next"),
- (this.arg = void 0),
- this.tryEntries.forEach(E),
- !e)
- )
- for (var t in this) "t" === t.charAt(0) && r.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = void 0)
- },
- stop: function () {
- this.done = !0
- var e = this.tryEntries[0].completion
- if ("throw" === e.type) throw e.arg
- return this.rval
- },
- dispatchException: function (e) {
- if (this.done) throw e
- var t = this
- function n(r, n) {
- return (a.type = "throw"), (a.arg = e), (t.next = r), n && ((t.method = "next"), (t.arg = void 0)), !!n
- }
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
- var o = this.tryEntries[i],
- a = o.completion
- if ("root" === o.tryLoc) return n("end")
- if (o.tryLoc <= this.prev) {
- var s = r.call(o, "catchLoc"),
- l = r.call(o, "finallyLoc")
- if (s && l) {
- if (this.prev < o.catchLoc) return n(o.catchLoc, !0)
- if (this.prev < o.finallyLoc) return n(o.finallyLoc)
- } else if (s) {
- if (this.prev < o.catchLoc) return n(o.catchLoc, !0)
- } else {
- if (!l) throw new Error("try statement without catch or finally")
- if (this.prev < o.finallyLoc) return n(o.finallyLoc)
- }
- }
- }
- },
- abrupt: function (e, t) {
- for (var n = this.tryEntries.length - 1; n >= 0; --n) {
- var i = this.tryEntries[n]
- if (i.tryLoc <= this.prev && r.call(i, "finallyLoc") && this.prev < i.finallyLoc) {
- var o = i
- break
- }
- }
- o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null)
- var a = o ? o.completion : {}
- return (a.type = e), (a.arg = t), o ? ((this.method = "next"), (this.next = o.finallyLoc), f) : this.complete(a)
- },
- complete: function (e, t) {
- if ("throw" === e.type) throw e.arg
- return (
- "break" === e.type || "continue" === e.type
- ? (this.next = e.arg)
- : "return" === e.type
- ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end"))
- : "normal" === e.type && t && (this.next = t),
- f
- )
- },
- finish: function (e) {
- for (var t = this.tryEntries.length - 1; t >= 0; --t) {
- var r = this.tryEntries[t]
- if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), E(r), f
- }
- },
- catch: function (e) {
- for (var t = this.tryEntries.length - 1; t >= 0; --t) {
- var r = this.tryEntries[t]
- if (r.tryLoc === e) {
- var n = r.completion
- if ("throw" === n.type) {
- var i = n.arg
- E(r)
- }
- return i
- }
- }
- throw new Error("illegal catch attempt")
- },
- delegateYield: function (e, t, r) {
- return (
- (this.delegate = {
- iterator: C(e),
- resultName: t,
- nextLoc: r
- }),
- "next" === this.method && (this.arg = void 0),
- f
- )
- }
- }),
- e
- )
- }
- function _(e, t, r, n, i, o, a) {
- try {
- var s = e[o](a),
- l = s.value
- } catch (c) {
- return void r(c)
- }
- s.done ? t(l) : Promise.resolve(l).then(n, i)
- }
- function T(e) {
- return function () {
- var t = this,
- r = arguments
- return new Promise(function (n, i) {
- var o = e.apply(t, r)
- function a(e) {
- _(o, n, i, a, s, "next", e)
- }
- function s(e) {
- _(o, n, i, a, s, "throw", e)
- }
- a(void 0)
- })
- }
- }
- function E(e, t) {
- return k(e) || C(e, t) || D(e, t) || S()
- }
- function S() {
- throw new TypeError(
- "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- )
- }
- function C(e, t) {
- var r = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]
- if (null != r) {
- var n,
- i,
- o,
- a,
- s = [],
- l = !0,
- c = !1
- try {
- if (((o = (r = r.call(e)).next), 0 === t)) {
- if (Object(r) !== r) return
- l = !1
- } else for (; !(l = (n = o.call(r)).done) && (s.push(n.value), s.length !== t); l = !0);
- } catch (u) {
- ;(c = !0), (i = u)
- } finally {
- try {
- if (!l && null != r["return"] && ((a = r["return"]()), Object(a) !== a)) return
- } finally {
- if (c) throw i
- }
- }
- return s
- }
- }
- function k(e) {
- if (Array.isArray(e)) return e
- }
- function L(e, t) {
- var r = Object.keys(e)
- if (Object.getOwnPropertySymbols) {
- var n = Object.getOwnPropertySymbols(e)
- t &&
- (n = n.filter(function (t) {
- return Object.getOwnPropertyDescriptor(e, t).enumerable
- })),
- r.push.apply(r, n)
- }
- return r
- }
- function P(e) {
- for (var t = 1; t < arguments.length; t++) {
- var r = null != arguments[t] ? arguments[t] : {}
- t % 2
- ? L(Object(r), !0).forEach(function (t) {
- O(e, t, r[t])
- })
- : Object.getOwnPropertyDescriptors
- ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
- : L(Object(r)).forEach(function (t) {
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
- })
- }
- return e
- }
- function O(e, t, r) {
- return (
- (t = j(t)),
- t in e
- ? Object.defineProperty(e, t, {
- value: r,
- enumerable: !0,
- configurable: !0,
- writable: !0
- })
- : (e[t] = r),
- e
- )
- }
- function j(e) {
- var t = R(e, "string")
- return "symbol" === z(t) ? t : String(t)
- }
- function R(e, t) {
- if ("object" !== z(e) || null === e) return e
- var r = e[Symbol.toPrimitive]
- if (void 0 !== r) {
- var n = r.call(e, t || "default")
- if ("object" !== z(n)) return n
- throw new TypeError("@@toPrimitive must return a primitive value.")
- }
- return ("string" === t ? String : Number)(e)
- }
- function I(e, t) {
- var r = ("undefined" !== typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]
- if (!r) {
- if (Array.isArray(e) || (r = D(e)) || (t && e && "number" === typeof e.length)) {
- r && (e = r)
- var n = 0,
- i = function () {}
- return {
- s: i,
- n: function () {
- return n >= e.length
- ? {
- done: !0
- }
- : {
- done: !1,
- value: e[n++]
- }
- },
- e: function (e) {
- throw e
- },
- f: i
- }
- }
- throw new TypeError(
- "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- )
- }
- var o,
- a = !0,
- s = !1
- return {
- s: function () {
- r = r.call(e)
- },
- n: function () {
- var e = r.next()
- return (a = e.done), e
- },
- e: function (e) {
- ;(s = !0), (o = e)
- },
- f: function () {
- try {
- a || null == r["return"] || r["return"]()
- } finally {
- if (s) throw o
- }
- }
- }
- }
- function N(e) {
- return F(e) || B(e) || D(e) || M()
- }
- function M() {
- throw new TypeError(
- "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- )
- }
- function D(e, t) {
- if (e) {
- if ("string" === typeof e) return U(e, t)
- var r = Object.prototype.toString.call(e).slice(8, -1)
- return (
- "Object" === r && e.constructor && (r = e.constructor.name),
- "Map" === r || "Set" === r
- ? Array.from(e)
- : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)
- ? U(e, t)
- : void 0
- )
- }
- }
- function B(e) {
- if (("undefined" !== typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e)
- }
- function F(e) {
- if (Array.isArray(e)) return U(e)
- }
- function U(e, t) {
- ;(null == t || t > e.length) && (t = e.length)
- for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]
- return n
- }
- function z(e) {
- return (
- (z =
- "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
- }),
- z(e)
- )
- /*!
- * @evideo/pptist-exchange-pptx v0.0.17
- * (c) 2023 brisky-package-template
- * @license MIT
- */
- }
- function q(e) {
- return H(e) || V(e) || W(e) || G()
- }
- function G() {
- throw new TypeError(
- "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- )
- }
- function W(e, t) {
- if (e) {
- if ("string" === typeof e) return X(e, t)
- var r = Object.prototype.toString.call(e).slice(8, -1)
- return (
- "Object" === r && e.constructor && (r = e.constructor.name),
- "Map" === r || "Set" === r
- ? Array.from(e)
- : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)
- ? X(e, t)
- : void 0
- )
- }
- }
- function V(e) {
- if (("undefined" !== typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e)
- }
- function H(e) {
- if (Array.isArray(e)) return X(e)
- }
- function X(e, t) {
- ;(null == t || t > e.length) && (t = e.length)
- for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]
- return n
- }
- function Y(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- function K(e, t) {
- for (var r = 0; r < t.length; r++) {
- var n = t[r]
- ;(n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
- }
- }
- function Z(e, t, r) {
- return (
- t && K(e.prototype, t),
- r && K(e, r),
- Object.defineProperty(e, "prototype", {
- writable: !1
- }),
- e
- )
- }
- function Q(e, t, r) {
- return (
- t in e
- ? Object.defineProperty(e, t, {
- value: r,
- enumerable: !0,
- configurable: !0,
- writable: !0
- })
- : (e[t] = r),
- e
- )
- }
- /*!
- * @evideo/logger v1.0.7
- * (c) 2023 evideo-logger
- * @license MIT
- */
- ;(function (e) {
- ;(e["ALL"] = "all"),
- (e["TRACE"] = "trace"),
- (e["DEBUG"] = "debug"),
- (e["INFO"] = "info"),
- (e["WARN"] = "warn"),
- (e["ERROR"] = "error"),
- (e["FETAL"] = "fatal"),
- (e["OFF"] = "off")
- })(o || (o = {}))
- var J =
- ((i = {}),
- Q(i, o.ALL, 0),
- Q(i, o.TRACE, 1),
- Q(i, o.DEBUG, 2),
- Q(i, o.INFO, 3),
- Q(i, o.WARN, 4),
- Q(i, o.ERROR, 5),
- Q(i, o.FETAL, 6),
- Q(i, o.OFF, 7),
- i),
- $ = "1.0.7",
- ee = "FrontEndLogger",
- te = (function () {
- function e() {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "unknown",
- r = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1],
- n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : void 0
- Y(this, e),
- Q(this, "namespace", void 0),
- Q(this, "showLevel", void 0),
- Q(this, "printLevel", void 0),
- Q(this, "beforeFuncs", []),
- Q(this, "afterFuncs", []),
- (this.namespace = t),
- (this.showLevel = r),
- (this.printLevel = n),
- console.log("".concat(ee, " Version: ").concat($))
- }
- return (
- Z(e, [
- {
- key: "_log",
- value: function (e) {
- for (var t, r = this, n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++) i[o - 1] = arguments[o]
- var a = this.getPrintLevel()
- if (!(J[a] > J[e])) {
- this.beforeFuncs.forEach(function (t) {
- return t(e, r.namespace, i)
- })
- var s = ""
- if (i.length > 1 && "log-stack" === String(i[i.length - 1])) {
- var l,
- c = (null === (l = new Error().stack) || void 0 === l ? void 0 : l.split("\n")) || []
- s = "\n" + c.slice(2).join("\n")
- }
- var u = s ? i.slice(0, i.length - 1) : i
- ;(t = console).log.apply(
- t,
- ["".concat(this.showLevel ? "[".concat(e.toUpperCase(), "]-") : "", "(").concat(this.namespace, "):")].concat(q(u), [
- s
- ])
- ),
- this.afterFuncs.reverse().forEach(function (t) {
- return t(e, r.namespace, i)
- })
- }
- }
- },
- {
- key: "getPrintLevel",
- value: function () {
- var e = self || {},
- t = self.localStorage || {
- getItem: function () {}
- }
- return (
- this.printLevel ||
- e["".concat(this.namespace, "LoggerLevel")] ||
- t.getItem("logger.".concat(this.namespace, ".level")) ||
- e.FrontEndLoggerLevel ||
- t.getItem("logger.level") ||
- o.INFO
- )
- }
- },
- {
- key: "addInterceptor",
- value: function (e) {
- var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1]
- if ("function" !== typeof e) throw new Error("interceptor is not a function")
- return t ? (this.beforeFuncs.push(e), this) : (this.afterFuncs.push(e), this)
- }
- },
- {
- key: "addBeforeInterceptor",
- value: function (e) {
- return this.addInterceptor(e), this
- }
- },
- {
- key: "addAfterInterceptor",
- value: function (e) {
- return this.addInterceptor(e, !1), this
- }
- },
- {
- key: "create",
- value: function () {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "unknown",
- r = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1],
- n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : void 0
- return new e(t, r, n)
- }
- },
- {
- key: "setNamespace",
- value: function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ""
- return (this.namespace = e), this
- }
- },
- {
- key: "setPrintLevel",
- value: function (e) {
- return (this.printLevel = e), this
- }
- },
- {
- key: "trace",
- value: function () {
- for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]
- return this._log.apply(this, [o.TRACE].concat(t, ["log-stack"])), this
- }
- },
- {
- key: "debug",
- value: function () {
- for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]
- return this._log.apply(this, [o.DEBUG].concat(t)), this
- }
- },
- {
- key: "info",
- value: function () {
- for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]
- return this._log.apply(this, [o.INFO].concat(t)), this
- }
- },
- {
- key: "warn",
- value: function () {
- for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]
- return this._log.apply(this, [o.WARN].concat(t)), this
- }
- },
- {
- key: "error",
- value: function () {
- for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]
- return this._log.apply(this, [o.ERROR].concat(t)), this
- }
- },
- {
- key: "fetal",
- value: function () {
- for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]
- return this._log.apply(this, [o.FETAL].concat(t)), this
- }
- },
- {
- key: "time",
- value: function (e) {
- return console.time("(".concat(this.namespace, "):").concat(e)), this
- }
- },
- {
- key: "timeEnd",
- value: function (e) {
- return console.timeEnd("(".concat(this.namespace, "):").concat(e)), this
- }
- }
- ]),
- e
- )
- })(),
- re = new te(),
- ne = /^\s+/,
- ie = /\s+$/
- function oe(e, t) {
- if (((e = e || ""), (t = t || {}), e instanceof oe)) return e
- if (!(this instanceof oe)) return new oe(e, t)
- var r = ae(e)
- ;(this._originalInput = e),
- (this._r = r.r),
- (this._g = r.g),
- (this._b = r.b),
- (this._a = r.a),
- (this._roundA = Math.round(100 * this._a) / 100),
- (this._format = t.format || r.format),
- (this._gradientType = t.gradientType),
- this._r < 1 && (this._r = Math.round(this._r)),
- this._g < 1 && (this._g = Math.round(this._g)),
- this._b < 1 && (this._b = Math.round(this._b)),
- (this._ok = r.ok)
- }
- function ae(e) {
- var t = {
- r: 0,
- g: 0,
- b: 0
- },
- r = 1,
- n = null,
- i = null,
- o = null,
- a = !1,
- s = !1
- return (
- "string" == typeof e && (e = qe(e)),
- "object" == z(e) &&
- (ze(e.r) && ze(e.g) && ze(e.b)
- ? ((t = se(e.r, e.g, e.b)), (a = !0), (s = "%" === String(e.r).substr(-1) ? "prgb" : "rgb"))
- : ze(e.h) && ze(e.s) && ze(e.v)
- ? ((n = De(e.s)), (i = De(e.v)), (t = fe(e.h, n, i)), (a = !0), (s = "hsv"))
- : ze(e.h) && ze(e.s) && ze(e.l) && ((n = De(e.s)), (o = De(e.l)), (t = ce(e.h, n, o)), (a = !0), (s = "hsl")),
- e.hasOwnProperty("a") && (r = e.a)),
- (r = Pe(r)),
- {
- ok: a,
- format: e.format || s,
- r: Math.min(255, Math.max(t.r, 0)),
- g: Math.min(255, Math.max(t.g, 0)),
- b: Math.min(255, Math.max(t.b, 0)),
- a: r
- }
- )
- }
- function se(e, t, r) {
- return {
- r: 255 * Oe(e, 255),
- g: 255 * Oe(t, 255),
- b: 255 * Oe(r, 255)
- }
- }
- function le(e, t, r) {
- ;(e = Oe(e, 255)), (t = Oe(t, 255)), (r = Oe(r, 255))
- var n,
- i,
- o = Math.max(e, t, r),
- a = Math.min(e, t, r),
- s = (o + a) / 2
- if (o == a) n = i = 0
- else {
- var l = o - a
- switch (((i = s > 0.5 ? l / (2 - o - a) : l / (o + a)), o)) {
- case e:
- n = (t - r) / l + (t < r ? 6 : 0)
- break
- case t:
- n = (r - e) / l + 2
- break
- case r:
- n = (e - t) / l + 4
- break
- }
- n /= 6
- }
- return {
- h: n,
- s: i,
- l: s
- }
- }
- function ce(e, t, r) {
- var n, i, o
- function a(e, t, r) {
- return (
- r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + 6 * (t - e) * r : r < 0.5 ? t : r < 2 / 3 ? e + (t - e) * (2 / 3 - r) * 6 : e
- )
- }
- if (((e = Oe(e, 360)), (t = Oe(t, 100)), (r = Oe(r, 100)), 0 === t)) n = i = o = r
- else {
- var s = r < 0.5 ? r * (1 + t) : r + t - r * t,
- l = 2 * r - s
- ;(n = a(l, s, e + 1 / 3)), (i = a(l, s, e)), (o = a(l, s, e - 1 / 3))
- }
- return {
- r: 255 * n,
- g: 255 * i,
- b: 255 * o
- }
- }
- function ue(e, t, r) {
- ;(e = Oe(e, 255)), (t = Oe(t, 255)), (r = Oe(r, 255))
- var n,
- i,
- o = Math.max(e, t, r),
- a = Math.min(e, t, r),
- s = o,
- l = o - a
- if (((i = 0 === o ? 0 : l / o), o == a)) n = 0
- else {
- switch (o) {
- case e:
- n = (t - r) / l + (t < r ? 6 : 0)
- break
- case t:
- n = (r - e) / l + 2
- break
- case r:
- n = (e - t) / l + 4
- break
- }
- n /= 6
- }
- return {
- h: n,
- s: i,
- v: s
- }
- }
- function fe(e, t, r) {
- ;(e = 6 * Oe(e, 360)), (t = Oe(t, 100)), (r = Oe(r, 100))
- var n = Math.floor(e),
- i = e - n,
- o = r * (1 - t),
- a = r * (1 - i * t),
- s = r * (1 - (1 - i) * t),
- l = n % 6,
- c = [r, a, o, o, s, r][l],
- u = [s, r, r, a, o, o][l],
- f = [o, o, s, r, r, a][l]
- return {
- r: 255 * c,
- g: 255 * u,
- b: 255 * f
- }
- }
- function pe(e, t, r, n) {
- var i = [Me(Math.round(e).toString(16)), Me(Math.round(t).toString(16)), Me(Math.round(r).toString(16))]
- return n && i[0].charAt(0) == i[0].charAt(1) && i[1].charAt(0) == i[1].charAt(1) && i[2].charAt(0) == i[2].charAt(1)
- ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0)
- : i.join("")
- }
- function de(e, t, r, n, i) {
- var o = [Me(Math.round(e).toString(16)), Me(Math.round(t).toString(16)), Me(Math.round(r).toString(16)), Me(Be(n))]
- return i &&
- o[0].charAt(0) == o[0].charAt(1) &&
- o[1].charAt(0) == o[1].charAt(1) &&
- o[2].charAt(0) == o[2].charAt(1) &&
- o[3].charAt(0) == o[3].charAt(1)
- ? o[0].charAt(0) + o[1].charAt(0) + o[2].charAt(0) + o[3].charAt(0)
- : o.join("")
- }
- function he(e, t, r, n) {
- var i = [Me(Be(n)), Me(Math.round(e).toString(16)), Me(Math.round(t).toString(16)), Me(Math.round(r).toString(16))]
- return i.join("")
- }
- function me(e, t) {
- t = 0 === t ? 0 : t || 10
- var r = oe(e).toHsl()
- return (r.s -= t / 100), (r.s = je(r.s)), oe(r)
- }
- function ge(e, t) {
- t = 0 === t ? 0 : t || 10
- var r = oe(e).toHsl()
- return (r.s += t / 100), (r.s = je(r.s)), oe(r)
- }
- function ye(e) {
- return oe(e).desaturate(100)
- }
- function ve(e, t) {
- t = 0 === t ? 0 : t || 10
- var r = oe(e).toHsl()
- return (r.l += t / 100), (r.l = je(r.l)), oe(r)
- }
- function be(e, t) {
- t = 0 === t ? 0 : t || 10
- var r = oe(e).toRgb()
- return (
- (r.r = Math.max(0, Math.min(255, r.r - Math.round((-t / 100) * 255)))),
- (r.g = Math.max(0, Math.min(255, r.g - Math.round((-t / 100) * 255)))),
- (r.b = Math.max(0, Math.min(255, r.b - Math.round((-t / 100) * 255)))),
- oe(r)
- )
- }
- function we(e, t) {
- t = 0 === t ? 0 : t || 10
- var r = oe(e).toHsl()
- return (r.l -= t / 100), (r.l = je(r.l)), oe(r)
- }
- function xe(e, t) {
- var r = oe(e).toHsl(),
- n = (r.h + t) % 360
- return (r.h = n < 0 ? 360 + n : n), oe(r)
- }
- function Ae(e) {
- var t = oe(e).toHsl()
- return (t.h = (t.h + 180) % 360), oe(t)
- }
- function _e(e, t) {
- if (isNaN(t) || t <= 0) throw new Error("Argument to polyad must be a positive number")
- for (var r = oe(e).toHsl(), n = [oe(e)], i = 360 / t, o = 1; o < t; o++)
- n.push(
- oe({
- h: (r.h + o * i) % 360,
- s: r.s,
- l: r.l
- })
- )
- return n
- }
- function Te(e) {
- var t = oe(e).toHsl(),
- r = t.h
- return [
- oe(e),
- oe({
- h: (r + 72) % 360,
- s: t.s,
- l: t.l
- }),
- oe({
- h: (r + 216) % 360,
- s: t.s,
- l: t.l
- })
- ]
- }
- function Ee(e, t, r) {
- ;(t = t || 6), (r = r || 30)
- var n = oe(e).toHsl(),
- i = 360 / r,
- o = [oe(e)]
- for (n.h = (n.h - ((i * t) >> 1) + 720) % 360; --t; ) (n.h = (n.h + i) % 360), o.push(oe(n))
- return o
- }
- function Se(e, t) {
- t = t || 6
- var r = oe(e).toHsv(),
- n = r.h,
- i = r.s,
- o = r.v,
- a = [],
- s = 1 / t
- while (t--)
- a.push(
- oe({
- h: n,
- s: i,
- v: o
- })
- ),
- (o = (o + s) % 1)
- return a
- }
- ;(oe.prototype = {
- isDark: function () {
- return this.getBrightness() < 128
- },
- isLight: function () {
- return !this.isDark()
- },
- isValid: function () {
- return this._ok
- },
- getOriginalInput: function () {
- return this._originalInput
- },
- getFormat: function () {
- return this._format
- },
- getAlpha: function () {
- return this._a
- },
- getBrightness: function () {
- var e = this.toRgb()
- return (299 * e.r + 587 * e.g + 114 * e.b) / 1e3
- },
- getLuminance: function () {
- var e,
- t,
- r,
- n,
- i,
- o,
- a = this.toRgb()
- return (
- (e = a.r / 255),
- (t = a.g / 255),
- (r = a.b / 255),
- (n = e <= 0.03928 ? e / 12.92 : Math.pow((e + 0.055) / 1.055, 2.4)),
- (i = t <= 0.03928 ? t / 12.92 : Math.pow((t + 0.055) / 1.055, 2.4)),
- (o = r <= 0.03928 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4)),
- 0.2126 * n + 0.7152 * i + 0.0722 * o
- )
- },
- setAlpha: function (e) {
- return (this._a = Pe(e)), (this._roundA = Math.round(100 * this._a) / 100), this
- },
- toHsv: function () {
- var e = ue(this._r, this._g, this._b)
- return {
- h: 360 * e.h,
- s: e.s,
- v: e.v,
- a: this._a
- }
- },
- toHsvString: function () {
- var e = ue(this._r, this._g, this._b),
- t = Math.round(360 * e.h),
- r = Math.round(100 * e.s),
- n = Math.round(100 * e.v)
- return 1 == this._a ? "hsv(" + t + ", " + r + "%, " + n + "%)" : "hsva(" + t + ", " + r + "%, " + n + "%, " + this._roundA + ")"
- },
- toHsl: function () {
- var e = le(this._r, this._g, this._b)
- return {
- h: 360 * e.h,
- s: e.s,
- l: e.l,
- a: this._a
- }
- },
- toHslString: function () {
- var e = le(this._r, this._g, this._b),
- t = Math.round(360 * e.h),
- r = Math.round(100 * e.s),
- n = Math.round(100 * e.l)
- return 1 == this._a ? "hsl(" + t + ", " + r + "%, " + n + "%)" : "hsla(" + t + ", " + r + "%, " + n + "%, " + this._roundA + ")"
- },
- toHex: function (e) {
- return pe(this._r, this._g, this._b, e)
- },
- toHexString: function (e) {
- return "#" + this.toHex(e)
- },
- toHex8: function (e) {
- return de(this._r, this._g, this._b, this._a, e)
- },
- toHex8String: function (e) {
- return "#" + this.toHex8(e)
- },
- toRgb: function () {
- return {
- r: Math.round(this._r),
- g: Math.round(this._g),
- b: Math.round(this._b),
- a: this._a
- }
- },
- toRgbString: function () {
- return 1 == this._a
- ? "rgb(" + Math.round(this._r) + ", " + Math.round(this._g) + ", " + Math.round(this._b) + ")"
- : "rgba(" + Math.round(this._r) + ", " + Math.round(this._g) + ", " + Math.round(this._b) + ", " + this._roundA + ")"
- },
- toPercentageRgb: function () {
- return {
- r: Math.round(100 * Oe(this._r, 255)) + "%",
- g: Math.round(100 * Oe(this._g, 255)) + "%",
- b: Math.round(100 * Oe(this._b, 255)) + "%",
- a: this._a
- }
- },
- toPercentageRgbString: function () {
- return 1 == this._a
- ? "rgb(" +
- Math.round(100 * Oe(this._r, 255)) +
- "%, " +
- Math.round(100 * Oe(this._g, 255)) +
- "%, " +
- Math.round(100 * Oe(this._b, 255)) +
- "%)"
- : "rgba(" +
- Math.round(100 * Oe(this._r, 255)) +
- "%, " +
- Math.round(100 * Oe(this._g, 255)) +
- "%, " +
- Math.round(100 * Oe(this._b, 255)) +
- "%, " +
- this._roundA +
- ")"
- },
- toName: function () {
- return 0 === this._a ? "transparent" : !(this._a < 1) && (ke[pe(this._r, this._g, this._b, !0)] || !1)
- },
- toFilter: function (e) {
- var t = "#" + he(this._r, this._g, this._b, this._a),
- r = t,
- n = this._gradientType ? "GradientType = 1, " : ""
- if (e) {
- var i = oe(e)
- r = "#" + he(i._r, i._g, i._b, i._a)
- }
- return "progid:DXImageTransform.Microsoft.gradient(" + n + "startColorstr=" + t + ",endColorstr=" + r + ")"
- },
- toString: function (e) {
- var t = !!e
- e = e || this._format
- var r = !1,
- n = this._a < 1 && this._a >= 0,
- i = !t && n && ("hex" === e || "hex6" === e || "hex3" === e || "hex4" === e || "hex8" === e || "name" === e)
- return i
- ? "name" === e && 0 === this._a
- ? this.toName()
- : this.toRgbString()
- : ("rgb" === e && (r = this.toRgbString()),
- "prgb" === e && (r = this.toPercentageRgbString()),
- ("hex" !== e && "hex6" !== e) || (r = this.toHexString()),
- "hex3" === e && (r = this.toHexString(!0)),
- "hex4" === e && (r = this.toHex8String(!0)),
- "hex8" === e && (r = this.toHex8String()),
- "name" === e && (r = this.toName()),
- "hsl" === e && (r = this.toHslString()),
- "hsv" === e && (r = this.toHsvString()),
- r || this.toHexString())
- },
- clone: function () {
- return oe(this.toString())
- },
- _applyModification: function (e, t) {
- var r = e.apply(null, [this].concat([].slice.call(t)))
- return (this._r = r._r), (this._g = r._g), (this._b = r._b), this.setAlpha(r._a), this
- },
- lighten: function () {
- return this._applyModification(ve, arguments)
- },
- brighten: function () {
- return this._applyModification(be, arguments)
- },
- darken: function () {
- return this._applyModification(we, arguments)
- },
- desaturate: function () {
- return this._applyModification(me, arguments)
- },
- saturate: function () {
- return this._applyModification(ge, arguments)
- },
- greyscale: function () {
- return this._applyModification(ye, arguments)
- },
- spin: function () {
- return this._applyModification(xe, arguments)
- },
- _applyCombination: function (e, t) {
- return e.apply(null, [this].concat([].slice.call(t)))
- },
- analogous: function () {
- return this._applyCombination(Ee, arguments)
- },
- complement: function () {
- return this._applyCombination(Ae, arguments)
- },
- monochromatic: function () {
- return this._applyCombination(Se, arguments)
- },
- splitcomplement: function () {
- return this._applyCombination(Te, arguments)
- },
- triad: function () {
- return this._applyCombination(_e, [3])
- },
- tetrad: function () {
- return this._applyCombination(_e, [4])
- }
- }),
- (oe.fromRatio = function (e, t) {
- if ("object" == z(e)) {
- var r = {}
- for (var n in e) e.hasOwnProperty(n) && (r[n] = "a" === n ? e[n] : De(e[n]))
- e = r
- }
- return oe(e, t)
- }),
- (oe.equals = function (e, t) {
- return !(!e || !t) && oe(e).toRgbString() == oe(t).toRgbString()
- }),
- (oe.random = function () {
- return oe.fromRatio({
- r: Math.random(),
- g: Math.random(),
- b: Math.random()
- })
- }),
- (oe.mix = function (e, t, r) {
- r = 0 === r ? 0 : r || 50
- var n = oe(e).toRgb(),
- i = oe(t).toRgb(),
- o = r / 100,
- a = {
- r: (i.r - n.r) * o + n.r,
- g: (i.g - n.g) * o + n.g,
- b: (i.b - n.b) * o + n.b,
- a: (i.a - n.a) * o + n.a
- }
- return oe(a)
- }),
- (oe.readability = function (e, t) {
- var r = oe(e),
- n = oe(t)
- return (Math.max(r.getLuminance(), n.getLuminance()) + 0.05) / (Math.min(r.getLuminance(), n.getLuminance()) + 0.05)
- }),
- (oe.isReadable = function (e, t, r) {
- var n,
- i,
- o = oe.readability(e, t)
- switch (((i = !1), (n = Ge(r)), n.level + n.size)) {
- case "AAsmall":
- case "AAAlarge":
- i = o >= 4.5
- break
- case "AAlarge":
- i = o >= 3
- break
- case "AAAsmall":
- i = o >= 7
- break
- }
- return i
- }),
- (oe.mostReadable = function (e, t, r) {
- var n,
- i,
- o,
- a,
- s = null,
- l = 0
- ;(r = r || {}), (i = r.includeFallbackColors), (o = r.level), (a = r.size)
- for (var c = 0; c < t.length; c++) (n = oe.readability(e, t[c])), n > l && ((l = n), (s = oe(t[c])))
- return oe.isReadable(e, s, {
- level: o,
- size: a
- }) || !i
- ? s
- : ((r.includeFallbackColors = !1), oe.mostReadable(e, ["#fff", "#000"], r))
- })
- var Ce = (oe.names = {
- aliceblue: "f0f8ff",
- antiquewhite: "faebd7",
- aqua: "0ff",
- aquamarine: "7fffd4",
- azure: "f0ffff",
- beige: "f5f5dc",
- bisque: "ffe4c4",
- black: "000",
- blanchedalmond: "ffebcd",
- blue: "00f",
- blueviolet: "8a2be2",
- brown: "a52a2a",
- burlywood: "deb887",
- burntsienna: "ea7e5d",
- cadetblue: "5f9ea0",
- chartreuse: "7fff00",
- chocolate: "d2691e",
- coral: "ff7f50",
- cornflowerblue: "6495ed",
- cornsilk: "fff8dc",
- crimson: "dc143c",
- cyan: "0ff",
- darkblue: "00008b",
- darkcyan: "008b8b",
- darkgoldenrod: "b8860b",
- darkgray: "a9a9a9",
- darkgreen: "006400",
- darkgrey: "a9a9a9",
- darkkhaki: "bdb76b",
- darkmagenta: "8b008b",
- darkolivegreen: "556b2f",
- darkorange: "ff8c00",
- darkorchid: "9932cc",
- darkred: "8b0000",
- darksalmon: "e9967a",
- darkseagreen: "8fbc8f",
- darkslateblue: "483d8b",
- darkslategray: "2f4f4f",
- darkslategrey: "2f4f4f",
- darkturquoise: "00ced1",
- darkviolet: "9400d3",
- deeppink: "ff1493",
- deepskyblue: "00bfff",
- dimgray: "696969",
- dimgrey: "696969",
- dodgerblue: "1e90ff",
- firebrick: "b22222",
- floralwhite: "fffaf0",
- forestgreen: "228b22",
- fuchsia: "f0f",
- gainsboro: "dcdcdc",
- ghostwhite: "f8f8ff",
- gold: "ffd700",
- goldenrod: "daa520",
- gray: "808080",
- green: "008000",
- greenyellow: "adff2f",
- grey: "808080",
- honeydew: "f0fff0",
- hotpink: "ff69b4",
- indianred: "cd5c5c",
- indigo: "4b0082",
- ivory: "fffff0",
- khaki: "f0e68c",
- lavender: "e6e6fa",
- lavenderblush: "fff0f5",
- lawngreen: "7cfc00",
- lemonchiffon: "fffacd",
- lightblue: "add8e6",
- lightcoral: "f08080",
- lightcyan: "e0ffff",
- lightgoldenrodyellow: "fafad2",
- lightgray: "d3d3d3",
- lightgreen: "90ee90",
- lightgrey: "d3d3d3",
- lightpink: "ffb6c1",
- lightsalmon: "ffa07a",
- lightseagreen: "20b2aa",
- lightskyblue: "87cefa",
- lightslategray: "789",
- lightslategrey: "789",
- lightsteelblue: "b0c4de",
- lightyellow: "ffffe0",
- lime: "0f0",
- limegreen: "32cd32",
- linen: "faf0e6",
- magenta: "f0f",
- maroon: "800000",
- mediumaquamarine: "66cdaa",
- mediumblue: "0000cd",
- mediumorchid: "ba55d3",
- mediumpurple: "9370db",
- mediumseagreen: "3cb371",
- mediumslateblue: "7b68ee",
- mediumspringgreen: "00fa9a",
- mediumturquoise: "48d1cc",
- mediumvioletred: "c71585",
- midnightblue: "191970",
- mintcream: "f5fffa",
- mistyrose: "ffe4e1",
- moccasin: "ffe4b5",
- navajowhite: "ffdead",
- navy: "000080",
- oldlace: "fdf5e6",
- olive: "808000",
- olivedrab: "6b8e23",
- orange: "ffa500",
- orangered: "ff4500",
- orchid: "da70d6",
- palegoldenrod: "eee8aa",
- palegreen: "98fb98",
- paleturquoise: "afeeee",
- palevioletred: "db7093",
- papayawhip: "ffefd5",
- peachpuff: "ffdab9",
- peru: "cd853f",
- pink: "ffc0cb",
- plum: "dda0dd",
- powderblue: "b0e0e6",
- purple: "800080",
- rebeccapurple: "663399",
- red: "f00",
- rosybrown: "bc8f8f",
- royalblue: "4169e1",
- saddlebrown: "8b4513",
- salmon: "fa8072",
- sandybrown: "f4a460",
- seagreen: "2e8b57",
- seashell: "fff5ee",
- sienna: "a0522d",
- silver: "c0c0c0",
- skyblue: "87ceeb",
- slateblue: "6a5acd",
- slategray: "708090",
- slategrey: "708090",
- snow: "fffafa",
- springgreen: "00ff7f",
- steelblue: "4682b4",
- tan: "d2b48c",
- teal: "008080",
- thistle: "d8bfd8",
- tomato: "ff6347",
- turquoise: "40e0d0",
- violet: "ee82ee",
- wheat: "f5deb3",
- white: "fff",
- whitesmoke: "f5f5f5",
- yellow: "ff0",
- yellowgreen: "9acd32"
- }),
- ke = (oe.hexNames = Le(Ce))
- function Le(e) {
- var t = {}
- for (var r in e) e.hasOwnProperty(r) && (t[e[r]] = r)
- return t
- }
- function Pe(e) {
- return (e = parseFloat(e)), (isNaN(e) || e < 0 || e > 1) && (e = 1), e
- }
- function Oe(e, t) {
- Ie(e) && (e = "100%")
- var r = Ne(e)
- return (
- (e = Math.min(t, Math.max(0, parseFloat(e)))),
- r && (e = parseInt(e * t, 10) / 100),
- Math.abs(e - t) < 1e-6 ? 1 : (e % t) / parseFloat(t)
- )
- }
- function je(e) {
- return Math.min(1, Math.max(0, e))
- }
- function Re(e) {
- return parseInt(e, 16)
- }
- function Ie(e) {
- return "string" == typeof e && -1 != e.indexOf(".") && 1 === parseFloat(e)
- }
- function Ne(e) {
- return "string" === typeof e && -1 != e.indexOf("%")
- }
- function Me(e) {
- return 1 == e.length ? "0" + e : "" + e
- }
- function De(e) {
- return e <= 1 && (e = 100 * e + "%"), e
- }
- function Be(e) {
- return Math.round(255 * parseFloat(e)).toString(16)
- }
- function Fe(e) {
- return Re(e) / 255
- }
- var Ue = (function () {
- var e = "[-\\+]?\\d+%?",
- t = "[-\\+]?\\d*\\.\\d+%?",
- r = "(?:" + t + ")|(?:" + e + ")",
- n = "[\\s|\\(]+(" + r + ")[,|\\s]+(" + r + ")[,|\\s]+(" + r + ")\\s*\\)?",
- i = "[\\s|\\(]+(" + r + ")[,|\\s]+(" + r + ")[,|\\s]+(" + r + ")[,|\\s]+(" + r + ")\\s*\\)?"
- return {
- CSS_UNIT: new RegExp(r),
- rgb: new RegExp("rgb" + n),
- rgba: new RegExp("rgba" + i),
- hsl: new RegExp("hsl" + n),
- hsla: new RegExp("hsla" + i),
- hsv: new RegExp("hsv" + n),
- hsva: new RegExp("hsva" + i),
- hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
- hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
- hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
- hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
- }
- })()
- function ze(e) {
- return !!Ue.CSS_UNIT.exec(e)
- }
- function qe(e) {
- e = e.replace(ne, "").replace(ie, "").toLowerCase()
- var t,
- r = !1
- if (Ce[e]) (e = Ce[e]), (r = !0)
- else if ("transparent" == e)
- return {
- r: 0,
- g: 0,
- b: 0,
- a: 0,
- format: "name"
- }
- return (t = Ue.rgb.exec(e))
- ? {
- r: t[1],
- g: t[2],
- b: t[3]
- }
- : (t = Ue.rgba.exec(e))
- ? {
- r: t[1],
- g: t[2],
- b: t[3],
- a: t[4]
- }
- : (t = Ue.hsl.exec(e))
- ? {
- h: t[1],
- s: t[2],
- l: t[3]
- }
- : (t = Ue.hsla.exec(e))
- ? {
- h: t[1],
- s: t[2],
- l: t[3],
- a: t[4]
- }
- : (t = Ue.hsv.exec(e))
- ? {
- h: t[1],
- s: t[2],
- v: t[3]
- }
- : (t = Ue.hsva.exec(e))
- ? {
- h: t[1],
- s: t[2],
- v: t[3],
- a: t[4]
- }
- : (t = Ue.hex8.exec(e))
- ? {
- r: Re(t[1]),
- g: Re(t[2]),
- b: Re(t[3]),
- a: Fe(t[4]),
- format: r ? "name" : "hex8"
- }
- : (t = Ue.hex6.exec(e))
- ? {
- r: Re(t[1]),
- g: Re(t[2]),
- b: Re(t[3]),
- format: r ? "name" : "hex"
- }
- : (t = Ue.hex4.exec(e))
- ? {
- r: Re(t[1] + "" + t[1]),
- g: Re(t[2] + "" + t[2]),
- b: Re(t[3] + "" + t[3]),
- a: Fe(t[4] + "" + t[4]),
- format: r ? "name" : "hex8"
- }
- : !!(t = Ue.hex3.exec(e)) && {
- r: Re(t[1] + "" + t[1]),
- g: Re(t[2] + "" + t[2]),
- b: Re(t[3] + "" + t[3]),
- format: r ? "name" : "hex"
- }
- }
- function Ge(e) {
- var t, r
- return (
- (e = e || {
- level: "AA",
- size: "small"
- }),
- (t = (e.level || "AA").toUpperCase()),
- (r = (e.size || "small").toLowerCase()),
- "AA" !== t && "AAA" !== t && (t = "AA"),
- "small" !== r && "large" !== r && (r = "small"),
- {
- level: t,
- size: r
- }
- )
- }
- var We = ["style", "script", "template"],
- Ve = ["html", "head", "body", "p", "dt", "dd", "li", "option", "thead", "th", "tbody", "tr", "td", "tfoot", "colgroup"],
- He = {
- li: ["ul", "ol", "menu"],
- dt: ["dl"],
- dd: ["dl"],
- tbody: ["table"],
- thead: ["table"],
- tfoot: ["table"],
- tr: ["table"],
- td: ["table"]
- },
- Xe = [
- "!doctype",
- "area",
- "base",
- "br",
- "col",
- "command",
- "embed",
- "hr",
- "img",
- "input",
- "keygen",
- "link",
- "meta",
- "param",
- "source",
- "track",
- "wbr"
- ],
- Ye = function (e, t) {
- var r = t - e.position
- Ke(e, r)
- },
- Ke = function (e, t) {
- e.position = e.position + t
- },
- Ze = function (e, t) {
- var r = !1
- while (!r) {
- var n = e.indexOf("<", t)
- if (-1 === n) return n
- var i = e.charAt(n + 1)
- if ("/" === i || "!" === i || /[A-Za-z0-9]/.test(i)) return n
- t = n + 1
- }
- return -1
- },
- Qe = function (e) {
- var t = e.str,
- r = Ze(t, e.position)
- if (r !== e.position) {
- ;-1 === r && (r = t.length)
- var n = t.slice(e.position, r)
- Ye(e, r),
- e.tokens.push({
- type: "text",
- content: n
- })
- }
- },
- Je = function (e) {
- var t = e.str
- Ke(e, 4)
- var r = t.indexOf("--\x3e", e.position),
- n = r + 3
- ;-1 === r && (r = n = t.length)
- var i = t.slice(e.position, r)
- Ye(e, n),
- e.tokens.push({
- type: "comment",
- content: i
- })
- },
- $e = function (e) {
- var t = e.str,
- r = t.length,
- n = e.position
- while (n < r) {
- var i = t.charAt(n),
- o = !(/\s/.test(i) || "/" === i || ">" === i)
- if (o) break
- n++
- }
- var a = n + 1
- while (a < r) {
- var s = t.charAt(a),
- l = !(/\s/.test(s) || "/" === s || ">" === s)
- if (!l) break
- a++
- }
- Ye(e, a)
- var c = t.slice(n, a)
- return (
- e.tokens.push({
- type: "tag",
- content: c
- }),
- c
- )
- },
- et = function (e) {
- var t = e.str,
- r = e.tokens,
- n = e.position,
- i = null,
- o = n,
- a = [],
- l = t.length
- while (n < l) {
- var c = t.charAt(n)
- if (i) {
- var u = c === i
- u && (i = null), n++
- } else {
- var f = "/" === c || ">" === c
- if (f) {
- n !== o && a.push(t.slice(o, n))
- break
- }
- var p = /\s/.test(c)
- if (p) n !== o && a.push(t.slice(o, n)), (o = n + 1), n++
- else {
- var d = "'" === c || '"' === c
- d ? ((i = c), n++) : n++
- }
- }
- }
- Ye(e, n)
- for (var h = "attribute", m = 0; m < a.length; m++) {
- var g = a[m],
- y = -1 === g.indexOf("=")
- if (y) {
- var v = a[m + 1]
- if (v && Object(s["startsWith"])(v, "=")) {
- if (v.length > 1) {
- var b = g + v
- r.push({
- type: h,
- content: b
- }),
- (m += 1)
- continue
- }
- var w = a[m + 2]
- if (((m += 1), w)) {
- var x = g + "=" + w
- r.push({
- type: h,
- content: x
- }),
- (m += 1)
- continue
- }
- }
- }
- if (Object(s["endsWith"])(g, "=")) {
- var A = a[m + 1]
- if (A && -1 === A.indexOf("=")) {
- var _ = g + A
- r.push({
- type: h,
- content: _
- }),
- (m += 1)
- continue
- }
- var T = g.slice(0, -1)
- r.push({
- type: h,
- content: T
- })
- } else
- r.push({
- type: h,
- content: g
- })
- }
- },
- tt = function (e, t) {
- var r = t.str,
- n = t.tokens,
- i = e.toLowerCase(),
- o = r.length,
- a = t.position
- while (a < o) {
- var s = r.indexOf("</", a)
- if (-1 === s) {
- Qe(t)
- break
- }
- var l = {
- str: r,
- position: t.position,
- tokens: []
- }
- Ye(l, s)
- var c = rt(l)
- if (i === c.toLowerCase()) {
- if (s !== t.position) {
- var u = t.position
- Ye(t, s),
- n.push({
- type: "text",
- content: r.slice(u, s)
- })
- }
- n.push.apply(n, N(l.tokens)), Ye(t, l.position)
- break
- }
- a = l.position
- }
- },
- rt = function (e) {
- var t = e.str,
- r = t.charAt(e.position + 1),
- n = "/" === r
- Ke(e, n ? 2 : 1),
- e.tokens.push({
- type: "tag-start",
- close: n
- })
- var i = $e(e)
- et(e)
- var o = t.charAt(e.position),
- a = "/" === o
- return (
- Ke(e, a ? 2 : 1),
- e.tokens.push({
- type: "tag-end",
- close: a
- }),
- i
- )
- },
- nt = function (e) {
- var t = e.str,
- r = t.length
- while (e.position < r) {
- var n = e.position
- if ((Qe(e), e.position === n)) {
- var i = Object(s["startsWith"])(t, "!--", n + 1)
- if (i) Je(e)
- else {
- var o = rt(e),
- a = o.toLowerCase()
- We.includes(a) && tt(o, e)
- }
- }
- }
- },
- it = function (e) {
- var t = {
- str: e,
- position: 0,
- tokens: []
- }
- return nt(t), t.tokens
- },
- ot = function (e) {
- var t = {
- tagName: null,
- children: []
- },
- r = {
- tokens: e,
- cursor: 0,
- stack: [t]
- }
- return lt(r), t.children
- },
- at = function (e, t) {
- var r = He[e]
- if (r) {
- var n = t.length - 1
- while (n >= 0) {
- var i = t[n].tagName
- if (i === e) break
- if (r.includes(i)) return !0
- n--
- }
- }
- return !1
- },
- st = function (e, t) {
- e.splice(t)
- },
- lt = function e(t) {
- var r = t.stack,
- n = t.tokens,
- i = t.cursor,
- o = r[r.length - 1].children,
- a = n.length
- while (i < a) {
- var s = n[i]
- if ("tag-start" === s.type) {
- var l = n[++i]
- i++
- var c = l.content.toLowerCase()
- if (s.close) {
- var u = r.length,
- f = !1
- while (--u > -1)
- if (r[u].tagName === c) {
- f = !0
- break
- }
- while (i < a) {
- if ("tag-end" !== n[i].type) break
- i++
- }
- if (f) {
- st(r, u)
- break
- }
- } else {
- var p = Ve.includes(c),
- d = p
- if ((d && (d = !at(c, r)), d)) {
- var h = r.length - 1
- while (h > 0) {
- if (c === r[h].tagName) {
- st(r, h)
- var m = h - 1
- o = r[m].children
- break
- }
- h -= 1
- }
- }
- var g = [],
- y = void 0
- while (i < a) {
- var v = n[i]
- if ("tag-end" === v.type) {
- y = v
- break
- }
- g.push(v.content), i++
- }
- if (!y) break
- i++
- var b = [],
- w = {
- type: "element",
- tagName: l.content,
- attributes: g,
- children: b
- }
- o.push(w)
- var x = !(y.close || Xe.includes(c))
- if (x) {
- r.push({
- tagName: c,
- children: b
- })
- var A = {
- tokens: n,
- cursor: i,
- stack: r
- }
- e(A), (i = A.cursor)
- }
- }
- } else o.push(s), i++
- }
- t.cursor = i
- },
- ct = function (e, t) {
- var r = e.indexOf(t)
- return -1 === r ? [e] : [e.slice(0, r), e.slice(r + t.length)]
- },
- ut = function (e) {
- var t = e.charAt(0),
- r = e.length - 1,
- n = '"' === t || "'" === t
- return n && t === e.charAt(r) ? e.slice(1, r) : e
- },
- ft = function (e) {
- return e.map(function (e) {
- var t = ct(e.trim(), "="),
- r = t[0],
- n = "string" === typeof t[1] ? ut(t[1]) : null
- return {
- key: r,
- value: n
- }
- })
- },
- pt = function e(t) {
- return t.map(function (t) {
- if ("element" === t.type) {
- var r = e(t.children),
- n = {
- type: "element",
- tagName: t.tagName.toLowerCase(),
- attributes: ft(t.attributes),
- children: r
- }
- return n
- }
- var i = {
- type: t.type,
- content: t.content
- }
- return i
- })
- },
- dt = function (e) {
- var t = it(e),
- r = ot(t)
- return pt(r)
- },
- ht = 96,
- mt = 0.75,
- gt = function (e) {
- var t = oe(e),
- r = t.getAlpha(),
- n = 0 === r ? "#ffffff" : t.setAlpha(1).toHexString()
- return {
- alpha: r,
- color: n
- }
- },
- yt = function (e) {
- var t = dt(e),
- r = !1,
- n = 0,
- i = [],
- o = function e(t) {
- var o,
- a = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
- s = I(t)
- try {
- for (s.s(); !(o = s.n()).done; ) {
- var c = o.value,
- u = "tagName" in c && ["div", "li", "p"].includes(c.tagName)
- if (u && i.length) {
- var f = i[i.length - 1]
- f.options || (f.options = {}), (f.options.breakLine = !0)
- }
- var p = P({}, a),
- d =
- "attributes" in c
- ? c.attributes.find(function (e) {
- return "style" === e.key
- })
- : null
- if (d && d.value) {
- var h,
- m = d.value.split(";"),
- g = I(m)
- try {
- for (g.s(); !(h = g.n()).done; ) {
- var y = h.value,
- v = y.split(": "),
- b = E(v, 2),
- w = b[0],
- x = b[1],
- A = [l.a.trim(w), l.a.trim(x)],
- _ = A[0],
- T = A[1]
- _ && T && (p[_] = T)
- var S = y.split(":"),
- C = E(S, 2),
- k = C[0],
- L = C[1],
- O = [l.a.trim(k), l.a.trim(L)],
- j = O[0],
- R = O[1]
- j && R && (p[j] = R)
- }
- } catch (F) {
- g.e(F)
- } finally {
- g.f()
- }
- }
- if ("tagName" in c) {
- if (
- ("em" === c.tagName && (p["font-style"] = "italic"),
- "strong" === c.tagName && (p["font-weight"] = "bold"),
- "sup" === c.tagName && (p["vertical-align"] = "super"),
- "sub" === c.tagName && (p["vertical-align"] = "sub"),
- "a" === c.tagName)
- ) {
- var N = c.attributes.find(function (e) {
- return "href" === e.key
- })
- p["href"] = (null === N || void 0 === N ? void 0 : N.value) || ""
- }
- if (
- ("ul" === c.tagName && (p["list-type"] = "ul"),
- "ol" === c.tagName && (p["list-type"] = "ol"),
- "li" === c.tagName && (r = !0),
- "p" === c.tagName && "attributes" in c)
- ) {
- var M = c.attributes.find(function (e) {
- return "data-indent" === e.key
- })
- M && M.value && (n = +M.value)
- }
- }
- if ("tagName" in c && "br" === c.tagName)
- i.push({
- text: "",
- options: {
- breakLine: !0
- }
- })
- else if ("content" in c) {
- var D = c.content
- .replace(/ /g, " ")
- .replace(/>/g, ">")
- .replace(/</g, "<")
- .replace(/&/g, "&")
- .replace(/\n/g, ""),
- B = {}
- p["font-size"] && (B.fontSize = parseInt(p["font-size"]) * mt),
- p["color"] && (B.color = gt(p["color"]).color),
- p["background-color"] && (B.highlight = gt(p["background-color"]).color),
- p["text-decoration-line"] &&
- (-1 !== p["text-decoration-line"].indexOf("underline") &&
- (B.underline = {
- color: B.color || "#000000",
- style: "sng"
- }),
- -1 !== p["text-decoration-line"].indexOf("line-through") && (B.strike = "sngStrike")),
- p["text-decoration"] &&
- (-1 !== p["text-decoration"].indexOf("underline") &&
- (B.underline = {
- color: B.color || "#000000",
- style: "sng"
- }),
- -1 !== p["text-decoration"].indexOf("line-through") && (B.strike = "sngStrike")),
- p["vertical-align"] &&
- ("super" === p["vertical-align"] && (B.superscript = !0), "sub" === p["vertical-align"] && (B.subscript = !0)),
- p["text-align"] && (B.align = p["text-align"]),
- p["font-weight"] && (B.bold = "bold" === p["font-weight"]),
- p["font-style"] && (B.italic = "italic" === p["font-style"]),
- p["font-family"] && (B.fontFace = p["font-family"]),
- p["href"] &&
- (B.hyperlink = {
- url: p["href"]
- }),
- r &&
- "ol" === p["list-type"] &&
- ((B.bullet = {
- type: "number",
- indent: 20 * mt
- }),
- (B.paraSpaceBefore = 0.1),
- (r = !1)),
- r &&
- "ul" === p["list-type"] &&
- ((B.bullet = {
- indent: 20 * mt
- }),
- (B.paraSpaceBefore = 0.1),
- (r = !1)),
- n && ((B.indentLevel = n), (n = 0)),
- i.push({
- text: D,
- options: B
- })
- } else "children" in c && e(c.children, p)
- }
- } catch (F) {
- s.e(F)
- } finally {
- s.f()
- }
- }
- return o(t), i
- },
- vt = function (e) {
- var t =
- arguments.length > 1 && void 0 !== arguments[1]
- ? arguments[1]
- : {
- x: 1,
- y: 1
- }
- return e.map(function (e) {
- if (void 0 !== e.close)
- return {
- close: !0
- }
- if ("M" === e.type)
- return {
- x: (e.x / ht) * t.x,
- y: (e.y / ht) * t.y,
- moveTo: !0
- }
- if (e.curve) {
- if ("cubic" === e.curve.type)
- return {
- x: (e.x / ht) * t.x,
- y: (e.y / ht) * t.y,
- curve: {
- type: "cubic",
- x1: (e.curve.x1 / ht) * t.x,
- y1: (e.curve.y1 / ht) * t.y,
- x2: (e.curve.x2 / ht) * t.x,
- y2: (e.curve.y2 / ht) * t.y
- }
- }
- if ("quadratic" === e.curve.type)
- return {
- x: (e.x / ht) * t.x,
- y: (e.y / ht) * t.y,
- curve: {
- type: "quadratic",
- x1: (e.curve.x1 / ht) * t.x,
- y1: (e.curve.y1 / ht) * t.y
- }
- }
- }
- return {
- x: (e.x / ht) * t.x,
- y: (e.y / ht) * t.y
- }
- })
- },
- bt = function (e) {
- var t = gt(e.color),
- r = e.h,
- n = e.v,
- i = 4,
- o = 45
- return (
- 0 === r && 0 === n
- ? ((i = 4), (o = 45))
- : 0 === r
- ? n > 0
- ? ((i = n), (o = 90))
- : ((i = -n), (o = 270))
- : 0 === n
- ? r > 0
- ? ((i = r), (o = 1))
- : ((i = -r), (o = 180))
- : r > 0 && n > 0
- ? ((i = Math.max(r, n)), (o = 45))
- : r > 0 && n < 0
- ? ((i = Math.max(r, -n)), (o = 315))
- : r < 0 && n > 0
- ? ((i = Math.max(-r, n)), (o = 135))
- : r < 0 && n < 0 && ((i = Math.max(-r, -n)), (o = 225)),
- {
- type: "outer",
- color: t.color.replace("#", ""),
- opacity: t.alpha,
- blur: e.blur * mt,
- offset: i,
- angle: o
- }
- )
- },
- wt = function (e) {
- var t = gt((null === e || void 0 === e ? void 0 : e.color) || "#000000")
- return {
- color: t.color,
- transparency: 100 * (1 - t.alpha),
- width: (e.width || 1) * mt,
- dashType: "solid" === e.style ? "solid" : "dash"
- }
- },
- xt = function (e) {
- var t = e.start.join(","),
- r = e.end.join(",")
- if (e.broken) {
- var n = e.broken.join(",")
- return "M".concat(t, " L").concat(n, " L").concat(r)
- }
- if (e.curve) {
- var i = e.curve.join(",")
- return "M".concat(t, " Q").concat(i, " ").concat(r)
- }
- if (e.cubic) {
- var o = E(e.cubic, 2),
- a = o[0],
- s = o[1],
- l = a.join(","),
- c = s.join(",")
- return "M".concat(t, " C").concat(l, " ").concat(c, " ").concat(r)
- }
- return "M".concat(t, " L").concat(r)
- },
- At = function (e) {
- var t, r, n, i
- if ("line" === e.type)
- (t = e.left), (r = e.left + Math.max(e.start[0], e.end[0])), (n = e.top), (i = e.top + Math.max(e.start[1], e.end[1]))
- else if ("rotate" in e && e.rotate) {
- var o = e.left,
- a = e.top,
- s = e.width,
- l = e.height,
- c = e.rotate,
- u = _t({
- left: o,
- top: a,
- width: s,
- height: l,
- rotate: c
- }),
- f = u.xRange,
- p = u.yRange
- ;(t = f[0]), (r = f[1]), (n = p[0]), (i = p[1])
- } else (t = e.left), (r = e.left + e.width), (n = e.top), (i = e.top + e.height)
- return {
- minX: t,
- maxX: r,
- minY: n,
- maxY: i
- }
- },
- _t = function (e) {
- var t = e.left,
- r = e.top,
- n = e.width,
- i = e.height,
- o = e.rotate,
- a = void 0 === o ? 0 : o,
- s = Math.sqrt(Math.pow(n, 2) + Math.pow(i, 2)) / 2,
- l = (180 * Math.atan(i / n)) / Math.PI,
- c = ((180 - a - l) * Math.PI) / 180,
- u = ((l - a) * Math.PI) / 180,
- f = t + n / 2,
- p = r + i / 2,
- d = [f + s * Math.cos(c), f + s * Math.cos(u), f - s * Math.cos(c), f - s * Math.cos(u)],
- h = [p - s * Math.sin(c), p - s * Math.sin(u), p + s * Math.sin(c), p + s * Math.sin(u)]
- return {
- xRange: [Math.min.apply(Math, d), Math.max.apply(Math, d)],
- yRange: [Math.min.apply(Math, h), Math.max.apply(Math, h)]
- }
- },
- Tt = function (e) {
- var t = oe(e)
- return [t.setAlpha(0.3).toRgbString(), t.setAlpha(0.1).toRgbString()]
- },
- Et = function (e) {
- var t = e.type,
- r = e.target
- if ("web-url" === t)
- return {
- url: r
- }
- if ("slide" === t) {
- var n,
- i = +(null === (n = r.split("-")) || void 0 === n ? void 0 : n[0])
- if (-1 !== i)
- return {
- slide: i + 1
- }
- }
- return null
- },
- St = {
- A3: {
- name: "A3",
- width: 10,
- height: 7.0710678
- },
- LAYOUT_1920x1200: {
- name: "LAYOUT_1920x1200",
- width: 20,
- height: 12.25
- },
- LAYOUT_1920x1080: {
- name: "LAYOUT_1920x1080",
- width: 20,
- height: 11.25
- },
- LAYOUT_1920x1440: {
- name: "LAYOUT_1920x1440",
- width: 20,
- height: 14.5833
- }
- },
- Ct = function (e) {
- Object.entries(St).forEach(function (t) {
- var r = E(t, 2),
- n = (r[0], r[1])
- e.defineLayout(P({}, n || {}))
- })
- },
- kt = function (e, t, r) {
- switch ((Ct(r), t.viewportRatio)) {
- case 0.625:
- r.layout = St.LAYOUT_1920x1200.name
- break
- case 0.75:
- r.layout = St.LAYOUT_1920x1440.name
- break
- case 0.70710678:
- r.layout = St.A3.name
- break
- default:
- r.layout = St.LAYOUT_1920x1080.name
- break
- }
- if (t.masterOverwrite) {
- var n = gt(e.theme.backgroundColor),
- i = n.color,
- o = n.alpha
- r.defineSlideMaster({
- title: "".concat(t.name, "_MASTER"),
- background: {
- color: i,
- transparency: 100 * (1 - o)
- }
- })
- }
- return r
- },
- Lt = function (e, t, r, n, i, o) {
- return new Promise(function (r, i) {
- for (var o = [], a = 0; a < e.data.series.length; a++) {
- var s = e.data.series[a]
- o.push({
- name: "系列".concat(a + 1),
- labels: e.data.labels,
- values: s
- })
- }
- var l = [],
- c = Array.isArray(e.themeColor) ? e.themeColor : [e.themeColor]
- if (10 === c.length)
- l = c.map(function (e) {
- return gt(e).color
- })
- else if (1 === c.length)
- l = oe(c[0])
- .analogous(10)
- .map(function (e) {
- return gt(e.toHexString()).color
- })
- else {
- var u = c.length,
- f = oe(c[u - 1])
- .analogous(11 - u)
- .map(function (e) {
- return e.toHexString()
- })
- l = [].concat(N(c.slice(0, u - 1)), N(f)).map(function (e) {
- return gt(e).color
- })
- }
- var p = {
- x: e.left / ht,
- y: e.top / ht,
- w: e.width / ht,
- h: e.height / ht,
- chartColors: "pie" === e.chartType ? l : l.slice(0, e.data.series.length)
- }
- e.fill &&
- (p.plotArea = {
- fill: {
- color: gt(e.fill).color
- }
- }),
- e.legend &&
- ((p.showLegend = !0),
- (p.legendPos = "top" === e.legend ? "t" : "b"),
- (p.legendColor = gt(e.gridColor || "#000000").color),
- (p.legendFontSize = 14 * mt))
- var d,
- h = n.ChartType.bar
- if ("bar" === e.chartType)
- (h = n.ChartType.bar), (p.barDir = null !== (d = e.options) && void 0 !== d && d.horizontalBars ? "bar" : "col")
- else if ("line" === e.chartType) {
- var m, g, y
- null !== (m = e.options) && void 0 !== m && m.showArea
- ? (h = n.ChartType.area)
- : !1 === (null === (g = e.options) || void 0 === g ? void 0 : g.showLine)
- ? ((h = n.ChartType.scatter),
- o.unshift({
- name: "X-Axis",
- values: Array(e.data.series[0].length)
- .fill(0)
- .map(function (e, t) {
- return t
- })
- }),
- (p.lineSize = 0))
- : (h = n.ChartType.line),
- null !== (y = e.options) && void 0 !== y && y.lineSmooth ? (p.lineSmooth = !0) : (p.lineSmooth = !1)
- } else if ("pie" === e.chartType) {
- var v
- null !== (v = e.options) && void 0 !== v && v.donut ? ((h = n.ChartType.doughnut), (p.holeSize = 75)) : (h = n.ChartType.pie)
- }
- t.addChart(h, o, p), r(t)
- })
- },
- Pt = function (e, t, r, n, i, o) {
- return new Promise(function (r, n) {
- var i,
- o,
- a = e.src.indexOf("data:image") > -1,
- s = {
- path: a ? void 0 : e.src,
- data: a ? e.src : void 0,
- x: e.left / ht,
- y: e.top / ht,
- w: e.width / ht,
- h: e.height / ht
- }
- if ((e.flipH && (s.flipH = e.flipH), e.flipV && (s.flipV = e.flipV), e.rotate && (s.rotate = e.rotate), e.link)) {
- var l = Et(e.link)
- l && (s.hyperlink = l)
- }
- if (
- (null !== (i = e.filters) &&
- void 0 !== i &&
- i.opacity &&
- (s.transparency = 100 - parseInt(null === (o = e.filters) || void 0 === o ? void 0 : o.opacity)),
- e.clip)
- ) {
- "ellipse" === e.clip.shape && (s.rounding = !0)
- var c = E(e.clip.range, 2),
- u = c[0],
- f = c[1],
- p = E(u, 2),
- d = p[0],
- h = p[1],
- m = E(f, 2),
- g = m[0],
- y = m[1],
- v = e.width / ((g - d) / ht),
- b = e.height / ((y - h) / ht)
- ;(s.w = v / ht),
- (s.h = b / ht),
- (s.sizing = {
- type: "crop",
- x: ((d / ht) * v) / ht,
- y: ((h / ht) * b) / ht,
- w: (((g - d) / ht) * v) / ht,
- h: (((y - h) / ht) * b) / ht
- })
- }
- t.addImage(s), r(t)
- })
- },
- Ot = function (e, t) {
- return (Ot =
- Object.setPrototypeOf ||
- ({
- __proto__: []
- } instanceof Array &&
- function (e, t) {
- e.__proto__ = t
- }) ||
- function (e, t) {
- for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r])
- })(e, t)
- }
- function jt(e, t) {
- if ("function" != typeof t && null !== t) throw new TypeError("Class extends value " + String(t) + " is not a constructor or null")
- function r() {
- this.constructor = e
- }
- Ot(e, t), (e.prototype = null === t ? Object.create(t) : ((r.prototype = t.prototype), new r()))
- }
- function Rt(e) {
- var t = ""
- Array.isArray(e) || (e = [e])
- for (var r = 0; r < e.length; r++) {
- var n = e[r]
- if (n.type === Qt.CLOSE_PATH) t += "z"
- else if (n.type === Qt.HORIZ_LINE_TO) t += (n.relative ? "h" : "H") + n.x
- else if (n.type === Qt.VERT_LINE_TO) t += (n.relative ? "v" : "V") + n.y
- else if (n.type === Qt.MOVE_TO) t += (n.relative ? "m" : "M") + n.x + " " + n.y
- else if (n.type === Qt.LINE_TO) t += (n.relative ? "l" : "L") + n.x + " " + n.y
- else if (n.type === Qt.CURVE_TO) t += (n.relative ? "c" : "C") + n.x1 + " " + n.y1 + " " + n.x2 + " " + n.y2 + " " + n.x + " " + n.y
- else if (n.type === Qt.SMOOTH_CURVE_TO) t += (n.relative ? "s" : "S") + n.x2 + " " + n.y2 + " " + n.x + " " + n.y
- else if (n.type === Qt.QUAD_TO) t += (n.relative ? "q" : "Q") + n.x1 + " " + n.y1 + " " + n.x + " " + n.y
- else if (n.type === Qt.SMOOTH_QUAD_TO) t += (n.relative ? "t" : "T") + n.x + " " + n.y
- else {
- if (n.type !== Qt.ARC) throw new Error('Unexpected command type "' + n.type + '" at index ' + r + ".")
- t += (n.relative ? "a" : "A") + n.rX + " " + n.rY + " " + n.xRot + " " + +n.lArcFlag + " " + +n.sweepFlag + " " + n.x + " " + n.y
- }
- }
- return t
- }
- function It(e, t) {
- var r = e[0],
- n = e[1]
- return [r * Math.cos(t) - n * Math.sin(t), r * Math.sin(t) + n * Math.cos(t)]
- }
- function Nt() {
- for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]
- for (var r = 0; r < e.length; r++)
- if ("number" != typeof e[r]) throw new Error("assertNumbers arguments[" + r + "] is not a number. " + z(e[r]) + " == typeof " + e[r])
- return !0
- }
- var Mt = Math.PI
- function Dt(e, t, r) {
- ;(e.lArcFlag = 0 === e.lArcFlag ? 0 : 1), (e.sweepFlag = 0 === e.sweepFlag ? 0 : 1)
- var n = e.rX,
- i = e.rY,
- o = e.x,
- a = e.y
- ;(n = Math.abs(e.rX)), (i = Math.abs(e.rY))
- var s = It([(t - o) / 2, (r - a) / 2], (-e.xRot / 180) * Mt),
- l = s[0],
- c = s[1],
- u = Math.pow(l, 2) / Math.pow(n, 2) + Math.pow(c, 2) / Math.pow(i, 2)
- 1 < u && ((n *= Math.sqrt(u)), (i *= Math.sqrt(u))), (e.rX = n), (e.rY = i)
- var f = Math.pow(n, 2) * Math.pow(c, 2) + Math.pow(i, 2) * Math.pow(l, 2),
- p = (e.lArcFlag !== e.sweepFlag ? 1 : -1) * Math.sqrt(Math.max(0, (Math.pow(n, 2) * Math.pow(i, 2) - f) / f)),
- d = ((n * c) / i) * p,
- h = ((-i * l) / n) * p,
- m = It([d, h], (e.xRot / 180) * Mt)
- ;(e.cX = m[0] + (t + o) / 2),
- (e.cY = m[1] + (r + a) / 2),
- (e.phi1 = Math.atan2((c - h) / i, (l - d) / n)),
- (e.phi2 = Math.atan2((-c - h) / i, (-l - d) / n)),
- 0 === e.sweepFlag && e.phi2 > e.phi1 && (e.phi2 -= 2 * Mt),
- 1 === e.sweepFlag && e.phi2 < e.phi1 && (e.phi2 += 2 * Mt),
- (e.phi1 *= 180 / Mt),
- (e.phi2 *= 180 / Mt)
- }
- function Bt(e, t, r) {
- Nt(e, t, r)
- var n = e * e + t * t - r * r
- if (0 > n) return []
- if (0 === n) return [[(e * r) / (e * e + t * t), (t * r) / (e * e + t * t)]]
- var i = Math.sqrt(n)
- return [
- [(e * r + t * i) / (e * e + t * t), (t * r - e * i) / (e * e + t * t)],
- [(e * r - t * i) / (e * e + t * t), (t * r + e * i) / (e * e + t * t)]
- ]
- }
- var Ft,
- Ut = Math.PI / 180
- function zt(e, t, r) {
- return (1 - r) * e + r * t
- }
- function qt(e, t, r, n) {
- return e + Math.cos((n / 180) * Mt) * t + Math.sin((n / 180) * Mt) * r
- }
- function Gt(e, t, r, n) {
- var i = 1e-6,
- o = t - e,
- a = r - t,
- s = 3 * o + 3 * (n - r) - 6 * a,
- l = 6 * (a - o),
- c = 3 * o
- return Math.abs(s) < i
- ? [-c / l]
- : (function (e, t, r) {
- void 0 === r && (r = 1e-6)
- var n = (e * e) / 4 - t
- if (n < -r) return []
- if (n <= r) return [-e / 2]
- var i = Math.sqrt(n)
- return [-e / 2 - i, -e / 2 + i]
- })(l / s, c / s, i)
- }
- function Wt(e, t, r, n, i) {
- var o = 1 - i
- return e * (o * o * o) + t * (3 * o * o * i) + r * (3 * o * i * i) + n * (i * i * i)
- }
- !(function (e) {
- function t() {
- return i(function (e, t, r) {
- return (
- e.relative &&
- (void 0 !== e.x1 && (e.x1 += t),
- void 0 !== e.y1 && (e.y1 += r),
- void 0 !== e.x2 && (e.x2 += t),
- void 0 !== e.y2 && (e.y2 += r),
- void 0 !== e.x && (e.x += t),
- void 0 !== e.y && (e.y += r),
- (e.relative = !1)),
- e
- )
- })
- }
- function r() {
- var e = NaN,
- t = NaN,
- r = NaN,
- n = NaN
- return i(function (i, o, a) {
- return (
- i.type & Qt.SMOOTH_CURVE_TO &&
- ((i.type = Qt.CURVE_TO),
- (e = isNaN(e) ? o : e),
- (t = isNaN(t) ? a : t),
- (i.x1 = i.relative ? o - e : 2 * o - e),
- (i.y1 = i.relative ? a - t : 2 * a - t)),
- i.type & Qt.CURVE_TO ? ((e = i.relative ? o + i.x2 : i.x2), (t = i.relative ? a + i.y2 : i.y2)) : ((e = NaN), (t = NaN)),
- i.type & Qt.SMOOTH_QUAD_TO &&
- ((i.type = Qt.QUAD_TO),
- (r = isNaN(r) ? o : r),
- (n = isNaN(n) ? a : n),
- (i.x1 = i.relative ? o - r : 2 * o - r),
- (i.y1 = i.relative ? a - n : 2 * a - n)),
- i.type & Qt.QUAD_TO ? ((r = i.relative ? o + i.x1 : i.x1), (n = i.relative ? a + i.y1 : i.y1)) : ((r = NaN), (n = NaN)),
- i
- )
- })
- }
- function n() {
- var e = NaN,
- t = NaN
- return i(function (r, n, i) {
- if (
- (r.type & Qt.SMOOTH_QUAD_TO &&
- ((r.type = Qt.QUAD_TO),
- (e = isNaN(e) ? n : e),
- (t = isNaN(t) ? i : t),
- (r.x1 = r.relative ? n - e : 2 * n - e),
- (r.y1 = r.relative ? i - t : 2 * i - t)),
- r.type & Qt.QUAD_TO)
- ) {
- ;(e = r.relative ? n + r.x1 : r.x1), (t = r.relative ? i + r.y1 : r.y1)
- var o = r.x1,
- a = r.y1
- ;(r.type = Qt.CURVE_TO),
- (r.x1 = ((r.relative ? 0 : n) + 2 * o) / 3),
- (r.y1 = ((r.relative ? 0 : i) + 2 * a) / 3),
- (r.x2 = (r.x + 2 * o) / 3),
- (r.y2 = (r.y + 2 * a) / 3)
- } else (e = NaN), (t = NaN)
- return r
- })
- }
- function i(e) {
- var t = 0,
- r = 0,
- n = NaN,
- i = NaN
- return function (o) {
- if (isNaN(n) && !(o.type & Qt.MOVE_TO)) throw new Error("path must start with moveto")
- var a = e(o, t, r, n, i)
- return (
- o.type & Qt.CLOSE_PATH && ((t = n), (r = i)),
- void 0 !== o.x && (t = o.relative ? t + o.x : o.x),
- void 0 !== o.y && (r = o.relative ? r + o.y : o.y),
- o.type & Qt.MOVE_TO && ((n = t), (i = r)),
- a
- )
- }
- }
- function o(e, t, r, n, o, a) {
- return (
- Nt(e, t, r, n, o, a),
- i(function (i, s, l, c) {
- var u = i.x1,
- f = i.x2,
- p = i.relative && !isNaN(c),
- d = void 0 !== i.x ? i.x : p ? 0 : s,
- h = void 0 !== i.y ? i.y : p ? 0 : l
- function m(e) {
- return e * e
- }
- i.type & Qt.HORIZ_LINE_TO && 0 !== t && ((i.type = Qt.LINE_TO), (i.y = i.relative ? 0 : l)),
- i.type & Qt.VERT_LINE_TO && 0 !== r && ((i.type = Qt.LINE_TO), (i.x = i.relative ? 0 : s)),
- void 0 !== i.x && (i.x = i.x * e + h * r + (p ? 0 : o)),
- void 0 !== i.y && (i.y = d * t + i.y * n + (p ? 0 : a)),
- void 0 !== i.x1 && (i.x1 = i.x1 * e + i.y1 * r + (p ? 0 : o)),
- void 0 !== i.y1 && (i.y1 = u * t + i.y1 * n + (p ? 0 : a)),
- void 0 !== i.x2 && (i.x2 = i.x2 * e + i.y2 * r + (p ? 0 : o)),
- void 0 !== i.y2 && (i.y2 = f * t + i.y2 * n + (p ? 0 : a))
- var g = e * n - t * r
- if (void 0 !== i.xRot && (1 !== e || 0 !== t || 0 !== r || 1 !== n))
- if (0 === g) delete i.rX, delete i.rY, delete i.xRot, delete i.lArcFlag, delete i.sweepFlag, (i.type = Qt.LINE_TO)
- else {
- var y = (i.xRot * Math.PI) / 180,
- v = Math.sin(y),
- b = Math.cos(y),
- w = 1 / m(i.rX),
- x = 1 / m(i.rY),
- A = m(b) * w + m(v) * x,
- _ = 2 * v * b * (w - x),
- T = m(v) * w + m(b) * x,
- E = A * n * n - _ * t * n + T * t * t,
- S = _ * (e * n + t * r) - 2 * (A * r * n + T * e * t),
- C = A * r * r - _ * e * r + T * e * e,
- k = ((Math.atan2(S, E - C) + Math.PI) % Math.PI) / 2,
- L = Math.sin(k),
- P = Math.cos(k)
- ;(i.rX = Math.abs(g) / Math.sqrt(E * m(P) + S * L * P + C * m(L))),
- (i.rY = Math.abs(g) / Math.sqrt(E * m(L) - S * L * P + C * m(P))),
- (i.xRot = (180 * k) / Math.PI)
- }
- return void 0 !== i.sweepFlag && 0 > g && (i.sweepFlag = +!i.sweepFlag), i
- })
- )
- }
- function a() {
- return function (e) {
- var t = {}
- for (var r in e) t[r] = e[r]
- return t
- }
- }
- ;(e.ROUND = function (e) {
- function t(t) {
- return Math.round(t * e) / e
- }
- return (
- void 0 === e && (e = 1e13),
- Nt(e),
- function (e) {
- return (
- void 0 !== e.x1 && (e.x1 = t(e.x1)),
- void 0 !== e.y1 && (e.y1 = t(e.y1)),
- void 0 !== e.x2 && (e.x2 = t(e.x2)),
- void 0 !== e.y2 && (e.y2 = t(e.y2)),
- void 0 !== e.x && (e.x = t(e.x)),
- void 0 !== e.y && (e.y = t(e.y)),
- void 0 !== e.rX && (e.rX = t(e.rX)),
- void 0 !== e.rY && (e.rY = t(e.rY)),
- e
- )
- }
- )
- }),
- (e.TO_ABS = t),
- (e.TO_REL = function () {
- return i(function (e, t, r) {
- return (
- e.relative ||
- (void 0 !== e.x1 && (e.x1 -= t),
- void 0 !== e.y1 && (e.y1 -= r),
- void 0 !== e.x2 && (e.x2 -= t),
- void 0 !== e.y2 && (e.y2 -= r),
- void 0 !== e.x && (e.x -= t),
- void 0 !== e.y && (e.y -= r),
- (e.relative = !0)),
- e
- )
- })
- }),
- (e.NORMALIZE_HVZ = function (e, t, r) {
- return (
- void 0 === e && (e = !0),
- void 0 === t && (t = !0),
- void 0 === r && (r = !0),
- i(function (n, i, o, a, s) {
- if (isNaN(a) && !(n.type & Qt.MOVE_TO)) throw new Error("path must start with moveto")
- return (
- t && n.type & Qt.HORIZ_LINE_TO && ((n.type = Qt.LINE_TO), (n.y = n.relative ? 0 : o)),
- r && n.type & Qt.VERT_LINE_TO && ((n.type = Qt.LINE_TO), (n.x = n.relative ? 0 : i)),
- e && n.type & Qt.CLOSE_PATH && ((n.type = Qt.LINE_TO), (n.x = n.relative ? a - i : a), (n.y = n.relative ? s - o : s)),
- n.type & Qt.ARC &&
- (0 === n.rX || 0 === n.rY) &&
- ((n.type = Qt.LINE_TO), delete n.rX, delete n.rY, delete n.xRot, delete n.lArcFlag, delete n.sweepFlag),
- n
- )
- })
- )
- }),
- (e.NORMALIZE_ST = r),
- (e.QT_TO_C = n),
- (e.INFO = i),
- (e.SANITIZE = function (e) {
- void 0 === e && (e = 0), Nt(e)
- var t = NaN,
- r = NaN,
- n = NaN,
- o = NaN
- return i(function (i, a, s, l, c) {
- var u = Math.abs,
- f = !1,
- p = 0,
- d = 0
- if (
- (i.type & Qt.SMOOTH_CURVE_TO && ((p = isNaN(t) ? 0 : a - t), (d = isNaN(r) ? 0 : s - r)),
- i.type & (Qt.CURVE_TO | Qt.SMOOTH_CURVE_TO)
- ? ((t = i.relative ? a + i.x2 : i.x2), (r = i.relative ? s + i.y2 : i.y2))
- : ((t = NaN), (r = NaN)),
- i.type & Qt.SMOOTH_QUAD_TO
- ? ((n = isNaN(n) ? a : 2 * a - n), (o = isNaN(o) ? s : 2 * s - o))
- : i.type & Qt.QUAD_TO
- ? ((n = i.relative ? a + i.x1 : i.x1), (o = i.relative ? s + i.y1 : i.y2))
- : ((n = NaN), (o = NaN)),
- i.type & Qt.LINE_COMMANDS ||
- (i.type & Qt.ARC && (0 === i.rX || 0 === i.rY || !i.lArcFlag)) ||
- i.type & Qt.CURVE_TO ||
- i.type & Qt.SMOOTH_CURVE_TO ||
- i.type & Qt.QUAD_TO ||
- i.type & Qt.SMOOTH_QUAD_TO)
- ) {
- var h = void 0 === i.x ? 0 : i.relative ? i.x : i.x - a,
- m = void 0 === i.y ? 0 : i.relative ? i.y : i.y - s
- ;(p = isNaN(n) ? (void 0 === i.x1 ? p : i.relative ? i.x : i.x1 - a) : n - a),
- (d = isNaN(o) ? (void 0 === i.y1 ? d : i.relative ? i.y : i.y1 - s) : o - s)
- var g = void 0 === i.x2 ? 0 : i.relative ? i.x : i.x2 - a,
- y = void 0 === i.y2 ? 0 : i.relative ? i.y : i.y2 - s
- u(h) <= e && u(m) <= e && u(p) <= e && u(d) <= e && u(g) <= e && u(y) <= e && (f = !0)
- }
- return i.type & Qt.CLOSE_PATH && u(a - l) <= e && u(s - c) <= e && (f = !0), f ? [] : i
- })
- }),
- (e.MATRIX = o),
- (e.ROTATE = function (e, t, r) {
- void 0 === t && (t = 0), void 0 === r && (r = 0), Nt(e, t, r)
- var n = Math.sin(e),
- i = Math.cos(e)
- return o(i, n, -n, i, t - t * i + r * n, r - t * n - r * i)
- }),
- (e.TRANSLATE = function (e, t) {
- return void 0 === t && (t = 0), Nt(e, t), o(1, 0, 0, 1, e, t)
- }),
- (e.SCALE = function (e, t) {
- return void 0 === t && (t = e), Nt(e, t), o(e, 0, 0, t, 0, 0)
- }),
- (e.SKEW_X = function (e) {
- return Nt(e), o(1, 0, Math.atan(e), 1, 0, 0)
- }),
- (e.SKEW_Y = function (e) {
- return Nt(e), o(1, Math.atan(e), 0, 1, 0, 0)
- }),
- (e.X_AXIS_SYMMETRY = function (e) {
- return void 0 === e && (e = 0), Nt(e), o(-1, 0, 0, 1, e, 0)
- }),
- (e.Y_AXIS_SYMMETRY = function (e) {
- return void 0 === e && (e = 0), Nt(e), o(1, 0, 0, -1, 0, e)
- }),
- (e.A_TO_C = function () {
- return i(function (e, t, r) {
- return Qt.ARC === e.type
- ? (function (e, t, r) {
- var n, i, o, a
- e.cX || Dt(e, t, r)
- for (
- var s = Math.min(e.phi1, e.phi2),
- l = Math.max(e.phi1, e.phi2) - s,
- c = Math.ceil(l / 90),
- u = new Array(c),
- f = t,
- p = r,
- d = 0;
- d < c;
- d++
- ) {
- var h = zt(e.phi1, e.phi2, d / c),
- m = zt(e.phi1, e.phi2, (d + 1) / c),
- g = m - h,
- y = (4 / 3) * Math.tan((g * Ut) / 4),
- v = [Math.cos(h * Ut) - y * Math.sin(h * Ut), Math.sin(h * Ut) + y * Math.cos(h * Ut)],
- b = v[0],
- w = v[1],
- x = [Math.cos(m * Ut), Math.sin(m * Ut)],
- A = x[0],
- _ = x[1],
- T = [A + y * Math.sin(m * Ut), _ - y * Math.cos(m * Ut)],
- E = T[0],
- S = T[1]
- u[d] = {
- relative: e.relative,
- type: Qt.CURVE_TO
- }
- var C = function (t, r) {
- var n = It([t * e.rX, r * e.rY], e.xRot),
- i = n[0],
- o = n[1]
- return [e.cX + i, e.cY + o]
- }
- ;(n = C(b, w)),
- (u[d].x1 = n[0]),
- (u[d].y1 = n[1]),
- (i = C(E, S)),
- (u[d].x2 = i[0]),
- (u[d].y2 = i[1]),
- (o = C(A, _)),
- (u[d].x = o[0]),
- (u[d].y = o[1]),
- e.relative && ((u[d].x1 -= f), (u[d].y1 -= p), (u[d].x2 -= f), (u[d].y2 -= p), (u[d].x -= f), (u[d].y -= p)),
- (f = (a = [u[d].x, u[d].y])[0]),
- (p = a[1])
- }
- return u
- })(e, e.relative ? 0 : t, e.relative ? 0 : r)
- : e
- })
- }),
- (e.ANNOTATE_ARCS = function () {
- return i(function (e, t, r) {
- return e.relative && ((t = 0), (r = 0)), Qt.ARC === e.type && Dt(e, t, r), e
- })
- }),
- (e.CLONE = a),
- (e.CALCULATE_BOUNDS = function () {
- var e = function (e) {
- var t = {}
- for (var r in e) t[r] = e[r]
- return t
- },
- o = t(),
- a = n(),
- s = r(),
- l = i(function (t, r, n) {
- var i = s(a(o(e(t))))
- function c(e) {
- e > l.maxX && (l.maxX = e), e < l.minX && (l.minX = e)
- }
- function u(e) {
- e > l.maxY && (l.maxY = e), e < l.minY && (l.minY = e)
- }
- if (
- (i.type & Qt.DRAWING_COMMANDS && (c(r), u(n)),
- i.type & Qt.HORIZ_LINE_TO && c(i.x),
- i.type & Qt.VERT_LINE_TO && u(i.y),
- i.type & Qt.LINE_TO && (c(i.x), u(i.y)),
- i.type & Qt.CURVE_TO)
- ) {
- c(i.x), u(i.y)
- for (var f = 0, p = Gt(r, i.x1, i.x2, i.x); f < p.length; f++) 0 < (k = p[f]) && 1 > k && c(Wt(r, i.x1, i.x2, i.x, k))
- for (var d = 0, h = Gt(n, i.y1, i.y2, i.y); d < h.length; d++) 0 < (k = h[d]) && 1 > k && u(Wt(n, i.y1, i.y2, i.y, k))
- }
- if (i.type & Qt.ARC) {
- c(i.x), u(i.y), Dt(i, r, n)
- for (
- var m = (i.xRot / 180) * Math.PI,
- g = Math.cos(m) * i.rX,
- y = Math.sin(m) * i.rX,
- v = -Math.sin(m) * i.rY,
- b = Math.cos(m) * i.rY,
- w = i.phi1 < i.phi2 ? [i.phi1, i.phi2] : -180 > i.phi2 ? [i.phi2 + 360, i.phi1 + 360] : [i.phi2, i.phi1],
- x = w[0],
- A = w[1],
- _ = function (e) {
- var t = e[0],
- r = e[1],
- n = (180 * Math.atan2(r, t)) / Math.PI
- return n < x ? n + 360 : n
- },
- T = 0,
- E = Bt(v, -g, 0).map(_);
- T < E.length;
- T++
- )
- (k = E[T]) > x && k < A && c(qt(i.cX, g, v, k))
- for (var S = 0, C = Bt(b, -y, 0).map(_); S < C.length; S++) {
- var k
- ;(k = C[S]) > x && k < A && u(qt(i.cY, y, b, k))
- }
- }
- return t
- })
- return (l.minX = 1 / 0), (l.maxX = -1 / 0), (l.minY = 1 / 0), (l.maxY = -1 / 0), l
- })
- })(Ft || (Ft = {}))
- var Vt,
- Ht,
- Xt = (function () {
- function e() {}
- return (
- (e.prototype.round = function (e) {
- return this.transform(Ft.ROUND(e))
- }),
- (e.prototype.toAbs = function () {
- return this.transform(Ft.TO_ABS())
- }),
- (e.prototype.toRel = function () {
- return this.transform(Ft.TO_REL())
- }),
- (e.prototype.normalizeHVZ = function (e, t, r) {
- return this.transform(Ft.NORMALIZE_HVZ(e, t, r))
- }),
- (e.prototype.normalizeST = function () {
- return this.transform(Ft.NORMALIZE_ST())
- }),
- (e.prototype.qtToC = function () {
- return this.transform(Ft.QT_TO_C())
- }),
- (e.prototype.aToC = function () {
- return this.transform(Ft.A_TO_C())
- }),
- (e.prototype.sanitize = function (e) {
- return this.transform(Ft.SANITIZE(e))
- }),
- (e.prototype.translate = function (e, t) {
- return this.transform(Ft.TRANSLATE(e, t))
- }),
- (e.prototype.scale = function (e, t) {
- return this.transform(Ft.SCALE(e, t))
- }),
- (e.prototype.rotate = function (e, t, r) {
- return this.transform(Ft.ROTATE(e, t, r))
- }),
- (e.prototype.matrix = function (e, t, r, n, i, o) {
- return this.transform(Ft.MATRIX(e, t, r, n, i, o))
- }),
- (e.prototype.skewX = function (e) {
- return this.transform(Ft.SKEW_X(e))
- }),
- (e.prototype.skewY = function (e) {
- return this.transform(Ft.SKEW_Y(e))
- }),
- (e.prototype.xSymmetry = function (e) {
- return this.transform(Ft.X_AXIS_SYMMETRY(e))
- }),
- (e.prototype.ySymmetry = function (e) {
- return this.transform(Ft.Y_AXIS_SYMMETRY(e))
- }),
- (e.prototype.annotateArcs = function () {
- return this.transform(Ft.ANNOTATE_ARCS())
- }),
- e
- )
- })(),
- Yt = function (e) {
- return " " === e || "\t" === e || "\r" === e || "\n" === e
- },
- Kt = function (e) {
- return "0".charCodeAt(0) <= e.charCodeAt(0) && e.charCodeAt(0) <= "9".charCodeAt(0)
- },
- Zt = (function (e) {
- function t() {
- var t = e.call(this) || this
- return (
- (t.curNumber = ""),
- (t.curCommandType = -1),
- (t.curCommandRelative = !1),
- (t.canParseCommandOrComma = !0),
- (t.curNumberHasExp = !1),
- (t.curNumberHasExpDigits = !1),
- (t.curNumberHasDecimal = !1),
- (t.curArgs = []),
- t
- )
- }
- return (
- jt(t, e),
- (t.prototype.finish = function (e) {
- if ((void 0 === e && (e = []), this.parse(" ", e), 0 !== this.curArgs.length || !this.canParseCommandOrComma))
- throw new SyntaxError("Unterminated command at the path end.")
- return e
- }),
- (t.prototype.parse = function (e, t) {
- var r = this
- void 0 === t && (t = [])
- for (
- var n = function (e) {
- t.push(e), (r.curArgs.length = 0), (r.canParseCommandOrComma = !0)
- },
- i = 0;
- i < e.length;
- i++
- ) {
- var o = e[i],
- a = !(
- this.curCommandType !== Qt.ARC ||
- (3 !== this.curArgs.length && 4 !== this.curArgs.length) ||
- 1 !== this.curNumber.length ||
- ("0" !== this.curNumber && "1" !== this.curNumber)
- ),
- s = Kt(o) && (("0" === this.curNumber && "0" === o) || a)
- if (!Kt(o) || s)
- if ("e" !== o && "E" !== o)
- if (("-" !== o && "+" !== o) || !this.curNumberHasExp || this.curNumberHasExpDigits)
- if ("." !== o || this.curNumberHasExp || this.curNumberHasDecimal || a) {
- if (this.curNumber && -1 !== this.curCommandType) {
- var l = Number(this.curNumber)
- if (isNaN(l)) throw new SyntaxError("Invalid number ending at " + i)
- if (this.curCommandType === Qt.ARC)
- if (0 === this.curArgs.length || 1 === this.curArgs.length) {
- if (0 > l) throw new SyntaxError('Expected positive number, got "' + l + '" at index "' + i + '"')
- } else if (
- (3 === this.curArgs.length || 4 === this.curArgs.length) &&
- "0" !== this.curNumber &&
- "1" !== this.curNumber
- )
- throw new SyntaxError('Expected a flag, got "' + this.curNumber + '" at index "' + i + '"')
- this.curArgs.push(l),
- this.curArgs.length === Jt[this.curCommandType] &&
- (Qt.HORIZ_LINE_TO === this.curCommandType
- ? n({
- type: Qt.HORIZ_LINE_TO,
- relative: this.curCommandRelative,
- x: l
- })
- : Qt.VERT_LINE_TO === this.curCommandType
- ? n({
- type: Qt.VERT_LINE_TO,
- relative: this.curCommandRelative,
- y: l
- })
- : this.curCommandType === Qt.MOVE_TO ||
- this.curCommandType === Qt.LINE_TO ||
- this.curCommandType === Qt.SMOOTH_QUAD_TO
- ? (n({
- type: this.curCommandType,
- relative: this.curCommandRelative,
- x: this.curArgs[0],
- y: this.curArgs[1]
- }),
- Qt.MOVE_TO === this.curCommandType && (this.curCommandType = Qt.LINE_TO))
- : this.curCommandType === Qt.CURVE_TO
- ? n({
- type: Qt.CURVE_TO,
- relative: this.curCommandRelative,
- x1: this.curArgs[0],
- y1: this.curArgs[1],
- x2: this.curArgs[2],
- y2: this.curArgs[3],
- x: this.curArgs[4],
- y: this.curArgs[5]
- })
- : this.curCommandType === Qt.SMOOTH_CURVE_TO
- ? n({
- type: Qt.SMOOTH_CURVE_TO,
- relative: this.curCommandRelative,
- x2: this.curArgs[0],
- y2: this.curArgs[1],
- x: this.curArgs[2],
- y: this.curArgs[3]
- })
- : this.curCommandType === Qt.QUAD_TO
- ? n({
- type: Qt.QUAD_TO,
- relative: this.curCommandRelative,
- x1: this.curArgs[0],
- y1: this.curArgs[1],
- x: this.curArgs[2],
- y: this.curArgs[3]
- })
- : this.curCommandType === Qt.ARC &&
- n({
- type: Qt.ARC,
- relative: this.curCommandRelative,
- rX: this.curArgs[0],
- rY: this.curArgs[1],
- xRot: this.curArgs[2],
- lArcFlag: this.curArgs[3],
- sweepFlag: this.curArgs[4],
- x: this.curArgs[5],
- y: this.curArgs[6]
- })),
- (this.curNumber = ""),
- (this.curNumberHasExpDigits = !1),
- (this.curNumberHasExp = !1),
- (this.curNumberHasDecimal = !1),
- (this.canParseCommandOrComma = !0)
- }
- if (!Yt(o))
- if ("," === o && this.canParseCommandOrComma) this.canParseCommandOrComma = !1
- else if ("+" !== o && "-" !== o && "." !== o)
- if (s) (this.curNumber = o), (this.curNumberHasDecimal = !1)
- else {
- if (0 !== this.curArgs.length) throw new SyntaxError("Unterminated command at index " + i + ".")
- if (!this.canParseCommandOrComma)
- throw new SyntaxError(
- 'Unexpected character "' + o + '" at index ' + i + ". Command cannot follow comma"
- )
- if (((this.canParseCommandOrComma = !1), "z" !== o && "Z" !== o))
- if ("h" === o || "H" === o)
- (this.curCommandType = Qt.HORIZ_LINE_TO), (this.curCommandRelative = "h" === o)
- else if ("v" === o || "V" === o)
- (this.curCommandType = Qt.VERT_LINE_TO), (this.curCommandRelative = "v" === o)
- else if ("m" === o || "M" === o)
- (this.curCommandType = Qt.MOVE_TO), (this.curCommandRelative = "m" === o)
- else if ("l" === o || "L" === o)
- (this.curCommandType = Qt.LINE_TO), (this.curCommandRelative = "l" === o)
- else if ("c" === o || "C" === o)
- (this.curCommandType = Qt.CURVE_TO), (this.curCommandRelative = "c" === o)
- else if ("s" === o || "S" === o)
- (this.curCommandType = Qt.SMOOTH_CURVE_TO), (this.curCommandRelative = "s" === o)
- else if ("q" === o || "Q" === o)
- (this.curCommandType = Qt.QUAD_TO), (this.curCommandRelative = "q" === o)
- else if ("t" === o || "T" === o)
- (this.curCommandType = Qt.SMOOTH_QUAD_TO), (this.curCommandRelative = "t" === o)
- else {
- if ("a" !== o && "A" !== o)
- throw new SyntaxError('Unexpected character "' + o + '" at index ' + i + ".")
- ;(this.curCommandType = Qt.ARC), (this.curCommandRelative = "a" === o)
- }
- else
- t.push({
- type: Qt.CLOSE_PATH
- }),
- (this.canParseCommandOrComma = !0),
- (this.curCommandType = -1)
- }
- else (this.curNumber = o), (this.curNumberHasDecimal = "." === o)
- } else (this.curNumber += o), (this.curNumberHasDecimal = !0)
- else this.curNumber += o
- else (this.curNumber += o), (this.curNumberHasExp = !0)
- else (this.curNumber += o), (this.curNumberHasExpDigits = this.curNumberHasExp)
- }
- return t
- }),
- (t.prototype.transform = function (e) {
- return Object.create(this, {
- parse: {
- value: function (t, r) {
- void 0 === r && (r = [])
- for (var n = 0, i = Object.getPrototypeOf(this).parse.call(this, t); n < i.length; n++) {
- var o = i[n],
- a = e(o)
- Array.isArray(a) ? r.push.apply(r, a) : r.push(a)
- }
- return r
- }
- }
- })
- }),
- t
- )
- })(Xt),
- Qt = (function (e) {
- function t(r) {
- var n = e.call(this) || this
- return (n.commands = "string" == typeof r ? t.parse(r) : r), n
- }
- return (
- jt(t, e),
- (t.prototype.encode = function () {
- return t.encode(this.commands)
- }),
- (t.prototype.getBounds = function () {
- var e = Ft.CALCULATE_BOUNDS()
- return this.transform(e), e
- }),
- (t.prototype.transform = function (e) {
- for (var t = [], r = 0, n = this.commands; r < n.length; r++) {
- var i = e(n[r])
- Array.isArray(i) ? t.push.apply(t, i) : t.push(i)
- }
- return (this.commands = t), this
- }),
- (t.encode = function (e) {
- return Rt(e)
- }),
- (t.parse = function (e) {
- var t = new Zt(),
- r = []
- return t.parse(e, r), t.finish(r), r
- }),
- (t.CLOSE_PATH = 1),
- (t.MOVE_TO = 2),
- (t.HORIZ_LINE_TO = 4),
- (t.VERT_LINE_TO = 8),
- (t.LINE_TO = 16),
- (t.CURVE_TO = 32),
- (t.SMOOTH_CURVE_TO = 64),
- (t.QUAD_TO = 128),
- (t.SMOOTH_QUAD_TO = 256),
- (t.ARC = 512),
- (t.LINE_COMMANDS = t.LINE_TO | t.HORIZ_LINE_TO | t.VERT_LINE_TO),
- (t.DRAWING_COMMANDS =
- t.HORIZ_LINE_TO | t.VERT_LINE_TO | t.LINE_TO | t.CURVE_TO | t.SMOOTH_CURVE_TO | t.QUAD_TO | t.SMOOTH_QUAD_TO | t.ARC),
- t
- )
- })(Xt),
- Jt =
- (((Vt = {})[Qt.MOVE_TO] = 2),
- (Vt[Qt.LINE_TO] = 2),
- (Vt[Qt.HORIZ_LINE_TO] = 1),
- (Vt[Qt.VERT_LINE_TO] = 1),
- (Vt[Qt.CLOSE_PATH] = 0),
- (Vt[Qt.QUAD_TO] = 4),
- (Vt[Qt.SMOOTH_QUAD_TO] = 2),
- (Vt[Qt.CURVE_TO] = 6),
- (Vt[Qt.SMOOTH_CURVE_TO] = 4),
- (Vt[Qt.ARC] = 7),
- Vt),
- $t = (function () {
- function e(e, t) {
- var r = [],
- n = !0,
- i = !1,
- o = void 0
- try {
- for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done); n = !0) if ((r.push(a.value), t && r.length === t)) break
- } catch (l) {
- ;(i = !0), (o = l)
- } finally {
- try {
- !n && s["return"] && s["return"]()
- } finally {
- if (i) throw o
- }
- }
- return r
- }
- return function (t, r) {
- if (Array.isArray(t)) return t
- if (Symbol.iterator in Object(t)) return e(t, r)
- throw new TypeError("Invalid attempt to destructure non-iterable instance")
- }
- })(),
- er = 2 * Math.PI,
- tr = function (e, t, r, n, i, o, a) {
- var s = e.x,
- l = e.y
- ;(s *= t), (l *= r)
- var c = n * s - i * l,
- u = i * s + n * l
- return {
- x: c + o,
- y: u + a
- }
- },
- rr = function (e, t) {
- var r = 1.5707963267948966 === t ? 0.551915024494 : -1.5707963267948966 === t ? -0.551915024494 : (4 / 3) * Math.tan(t / 4),
- n = Math.cos(e),
- i = Math.sin(e),
- o = Math.cos(e + t),
- a = Math.sin(e + t)
- return [
- {
- x: n - i * r,
- y: i + n * r
- },
- {
- x: o + a * r,
- y: a - o * r
- },
- {
- x: o,
- y: a
- }
- ]
- },
- nr = function (e, t, r, n) {
- var i = e * n - t * r < 0 ? -1 : 1,
- o = e * r + t * n
- return o > 1 && (o = 1), o < -1 && (o = -1), i * Math.acos(o)
- },
- ir = function (e, t, r, n, i, o, a, s, l, c, u, f) {
- var p = Math.pow(i, 2),
- d = Math.pow(o, 2),
- h = Math.pow(u, 2),
- m = Math.pow(f, 2),
- g = p * d - p * m - d * h
- g < 0 && (g = 0), (g /= p * m + d * h), (g = Math.sqrt(g) * (a === s ? -1 : 1))
- var y = ((g * i) / o) * f,
- v = ((g * -o) / i) * u,
- b = c * y - l * v + (e + r) / 2,
- w = l * y + c * v + (t + n) / 2,
- x = (u - y) / i,
- A = (f - v) / o,
- _ = (-u - y) / i,
- T = (-f - v) / o,
- E = nr(1, 0, x, A),
- S = nr(x, A, _, T)
- return 0 === s && S > 0 && (S -= er), 1 === s && S < 0 && (S += er), [b, w, E, S]
- },
- or = function (e) {
- var t = e.px,
- r = e.py,
- n = e.cx,
- i = e.cy,
- o = e.rx,
- a = e.ry,
- s = e.xAxisRotation,
- l = void 0 === s ? 0 : s,
- c = e.largeArcFlag,
- u = void 0 === c ? 0 : c,
- f = e.sweepFlag,
- p = void 0 === f ? 0 : f,
- d = []
- if (0 === o || 0 === a) return []
- var h = Math.sin((l * er) / 360),
- m = Math.cos((l * er) / 360),
- g = (m * (t - n)) / 2 + (h * (r - i)) / 2,
- y = (-h * (t - n)) / 2 + (m * (r - i)) / 2
- if (0 === g && 0 === y) return []
- ;(o = Math.abs(o)), (a = Math.abs(a))
- var v = Math.pow(g, 2) / Math.pow(o, 2) + Math.pow(y, 2) / Math.pow(a, 2)
- v > 1 && ((o *= Math.sqrt(v)), (a *= Math.sqrt(v)))
- var b = ir(t, r, n, i, o, a, u, p, h, m, g, y),
- w = $t(b, 4),
- x = w[0],
- A = w[1],
- _ = w[2],
- T = w[3],
- E = Math.abs(T) / (er / 4)
- Math.abs(1 - E) < 1e-7 && (E = 1)
- var S = Math.max(Math.ceil(E), 1)
- T /= S
- for (var C = 0; C < S; C++) d.push(rr(_, T)), (_ += T)
- return d.map(function (e) {
- var t = tr(e[0], o, a, m, h, x, A),
- r = t.x,
- n = t.y,
- i = tr(e[1], o, a, m, h, x, A),
- s = i.x,
- l = i.y,
- c = tr(e[2], o, a, m, h, x, A),
- u = c.x,
- f = c.y
- return {
- x1: r,
- y1: n,
- x2: s,
- y2: l,
- x: u,
- y: f
- }
- })
- },
- ar = {
- 1: "Z",
- 2: "M",
- 4: "H",
- 8: "V",
- 16: "L",
- 32: "C",
- 64: "S",
- 128: "Q",
- 256: "T",
- 512: "A"
- },
- sr = function (e) {
- var t,
- r = new Qt(e),
- n = [],
- i = I(r.commands)
- try {
- for (i.s(); !(t = i.n()).done; ) {
- var o = t.value,
- a = ar[o.type]
- if (
- ((2 !== o.type && 16 !== o.type) ||
- n.push({
- x: o.x,
- y: o.y,
- relative: o.relative,
- type: a
- }),
- 32 === o.type)
- )
- n.push({
- x: o.x,
- y: o.y,
- curve: {
- type: "cubic",
- x1: o.x1,
- y1: o.y1,
- x2: o.x2,
- y2: o.y2
- },
- relative: o.relative,
- type: a
- })
- else if (128 === o.type)
- n.push({
- x: o.x,
- y: o.y,
- curve: {
- type: "quadratic",
- x1: o.x1,
- y1: o.y1
- },
- relative: o.relative,
- type: a
- })
- else if (512 === o.type) {
- var s = n[n.length - 1]
- if (!["M", "L", "Q", "C"].includes(s.type)) continue
- var l,
- c = or({
- px: s.x,
- py: s.y,
- cx: o.x,
- cy: o.y,
- rx: o.rX,
- ry: o.rY,
- xAxisRotation: o.xRot,
- largeArcFlag: o.lArcFlag,
- sweepFlag: o.sweepFlag
- }),
- u = I(c)
- try {
- for (u.s(); !(l = u.n()).done; ) {
- var f = l.value
- n.push({
- x: f.x,
- y: f.y,
- curve: {
- type: "cubic",
- x1: f.x1,
- y1: f.y1,
- x2: f.x2,
- y2: f.y2
- },
- relative: !1,
- type: "C"
- })
- }
- } catch (p) {
- u.e(p)
- } finally {
- u.f()
- }
- } else {
- if (1 !== o.type) continue
- n.push({
- close: !0,
- type: a
- })
- }
- }
- } catch (p) {
- i.e(p)
- } finally {
- i.f()
- }
- return n
- },
- lr = function (e) {
- var t = "none"
- switch (e) {
- case "arrow":
- t = "arrow"
- break
- case "dot":
- t = "oval"
- break
- default:
- t = "none"
- break
- }
- return t
- },
- cr = function (e, t, r, n, i, o) {
- return new Promise(function (r, n) {
- var i = xt(e),
- o = vt(sr(i)),
- a = At(e),
- s = a.minX,
- l = a.maxX,
- c = a.minY,
- u = a.maxY,
- f = gt(e.color),
- p = {
- x: e.left / ht,
- y: e.top / ht,
- w: (l - s) / ht,
- h: (u - c) / ht,
- line: {
- color: f.color,
- transparency: 100 * (1 - f.alpha),
- width: e.width * mt,
- dashType: "solid" === e.style ? "solid" : "dash",
- beginArrowType: lr(e.points[0]),
- endArrowType: lr(e.points[1])
- },
- points: o
- }
- e.shadow && (p.shadow = bt(e.shadow)), t.addShape("custGeom", p), r(t)
- })
- },
- ur = function (e, t, r, n, i, o) {
- return new Promise(function (r, n) {
- var i,
- o = yt(e.content),
- a = {
- x: e.left / ht,
- y: e.top / ht,
- w: e.width / ht,
- h: e.height / ht,
- fontSize: 40 * mt,
- fontFace: "微软雅黑",
- color: "#000000",
- valign: "top",
- margin: 10 * mt,
- paraSpaceBefore: 5 * mt,
- lineSpacingMultiple: 1.2,
- autoFit: !0
- }
- if (
- (e.rotate && (a.rotate = e.rotate),
- e.wordSpace && (a.charSpacing = e.wordSpace * mt),
- e.lineHeight && (a.lineSpacingMultiple = e.lineHeight / 1.25),
- e.fill)
- ) {
- var s = gt(e.fill),
- l = void 0 === e.opacity ? 1 : e.opacity
- a.fill = {
- color: s.color,
- transparency: 100 * (1 - s.alpha * l)
- }
- }
- if (
- (e.defaultColor && (a.color = gt(e.defaultColor).color),
- e.shadow && (a.shadow = bt(e.shadow)),
- null !== (i = e.outline) && void 0 !== i && i.width && (a.line = wt(e.outline)),
- void 0 !== e.opacity && (a.transparency = 100 * (1 - e.opacity)),
- void 0 !== e.paragraphSpace && (a.paraSpaceBefore = e.paragraphSpace * mt),
- e.vertical && (a.vert = "eaVert"),
- e.link)
- ) {
- var c = Et(e.link)
- c && (a.hyperlink = c)
- }
- ;(o = Array.isArray(o) ? o : [o]),
- (o = o.map(function (e) {
- var t = e.text,
- r = e.options,
- n = void 0 === r ? {} : r
- return {
- text: t,
- options: P(
- P({}, n),
- {},
- {
- fontFace: "微软雅黑"
- }
- )
- }
- })),
- t.addText(o, a),
- r(t)
- })
- },
- fr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
- pr = "data:image/svg+xml;base64,",
- dr = function (e) {
- e = e.replace(/\r\n/g, "\n")
- for (var t = "", r = 0; r < e.length; r++) {
- var n = e.charCodeAt(r)
- n < 128
- ? (t += String.fromCharCode(n))
- : n > 127 && n < 2048
- ? ((t += String.fromCharCode((n >> 6) | 192)), (t += String.fromCharCode((63 & n) | 128)))
- : ((t += String.fromCharCode((n >> 12) | 224)),
- (t += String.fromCharCode(((n >> 6) & 63) | 128)),
- (t += String.fromCharCode((63 & n) | 128)))
- }
- return t
- },
- hr = function (e) {
- var t,
- r,
- n,
- i,
- o,
- a,
- s,
- l = "",
- c = 0
- e = dr(e)
- while (c < e.length)
- (t = e.charCodeAt(c++)),
- (r = e.charCodeAt(c++)),
- (n = e.charCodeAt(c++)),
- (i = t >> 2),
- (o = ((3 & t) << 4) | (r >> 4)),
- (a = ((15 & r) << 2) | (n >> 6)),
- (s = 63 & n),
- isNaN(r) ? (a = s = 64) : isNaN(n) && (s = 64),
- (l = l + fr.charAt(i) + fr.charAt(o) + fr.charAt(a) + fr.charAt(s))
- return l
- },
- mr = function (e) {
- return pr + hr(e)
- },
- gr = function (e, t, r, n, i, o) {
- return new Promise(function (r, n) {
- if (e.special && e.svgStr) {
- var i = e.svgStr,
- o = mr(i),
- a = {
- data: o,
- x: e.left / 100,
- y: e.top / 100,
- w: e.width / 100,
- h: e.height / 100
- }
- if ((e.rotate && (a.rotate = e.rotate), e.link)) {
- var s = Et(e.link)
- s && (a.hyperlink = s)
- }
- t.addImage(a)
- } else {
- var l,
- c = Array.isArray(e.viewBox) ? e.viewBox : [e.viewBox, e.viewBox],
- u = {
- x: e.width / c[0],
- y: e.height / c[1]
- }
- null !== e && void 0 !== e && e.path && e.path.includes("NaN") && r(t)
- var f = vt(sr(e.path), u),
- p = gt(e.fill),
- d = void 0 === e.opacity ? 1 : e.opacity,
- h = {
- x: e.left / ht,
- y: e.top / ht,
- w: e.width / ht,
- h: e.height / ht,
- fill: {
- color: p.color,
- transparency: 100 * (1 - p.alpha * d)
- },
- points: f
- }
- if (
- (e.flipH && (h.flipH = e.flipH),
- e.flipV && (h.flipV = e.flipV),
- e.shadow && (h.shadow = bt(e.shadow)),
- null !== (l = e.outline) && void 0 !== l && l.width && (h.line = wt(e.outline)),
- e.link)
- ) {
- var m = Et(e.link)
- m && (h.hyperlink = m)
- }
- if ((t.addShape("custGeom", h), e.text)) {
- var g = e.text,
- y = g.content,
- v = g.align,
- b = g.defaultColor,
- w = yt(y),
- x = {
- shape: "custGeom",
- x: e.left / ht,
- y: e.top / ht,
- w: e.width / ht,
- h: e.height / ht,
- valign: v,
- fontSize: 40 * mt,
- fontFace: "微软雅黑",
- color: "#000000"
- }
- b && (x.color = gt(b).color),
- (w = Array.isArray(w) ? w : [w]),
- (w = w.map(function (e) {
- var t = e.text,
- r = e.options,
- n = void 0 === r ? {} : r
- return {
- text: t,
- options: P(
- P({}, n),
- {},
- {
- fontFace: "微软雅黑"
- }
- )
- }
- })),
- t.addText(w, x)
- }
- }
- r(t)
- })
- },
- yr = function (e, t, r, n, i, o) {
- return new Promise(function (r, n) {
- for (var i = [], o = 0; o < e.data.length; o++)
- for (var a = e.data[o], s = 0; s < a.length; s++) {
- var l = a[s]
- if (l.colspan > 1 || l.rowspan > 1)
- for (var c = o; c < o + l.rowspan; c++)
- for (var u = c === o ? s + 1 : s; u < s + l.colspan; u++) i.push("".concat(c, "_").concat(u))
- }
- var f = [],
- p = e.theme,
- d = null,
- h = []
- p &&
- ((d = gt(p.color)),
- (h = Tt(p.color).map(function (e) {
- return gt(e)
- })))
- for (var m = 0; m < e.data.length; m++) {
- for (var g = e.data[m], y = [], v = 0; v < g.length; v++) {
- var b,
- w,
- x,
- A,
- _,
- T,
- E,
- S,
- C = g[v],
- k = {
- colspan: C.colspan,
- rowspan: C.rowspan,
- bold: (null === (b = C.style) || void 0 === b ? void 0 : b.bold) || !1,
- italic: (null === (w = C.style) || void 0 === w ? void 0 : w.em) || !1,
- underline: {
- style: null !== (x = C.style) && void 0 !== x && x.underline ? "sng" : "none"
- },
- align: (null === (A = C.style) || void 0 === A ? void 0 : A.align) || "left",
- valign: "middle",
- fontFace: "微软雅黑",
- fontSize:
- (null !== (_ = C.style) && void 0 !== _ && _.fontsize
- ? parseInt(null === (T = C.style) || void 0 === T ? void 0 : T.fontsize)
- : 14) * mt
- }
- if (p && d) {
- var L = void 0
- ;(L = m % 2 === 0 ? h[1] : h[0]),
- ((p.rowHeader && 0 === m) ||
- (p.rowFooter && m === e.data.length - 1) ||
- (p.colHeader && 0 === v) ||
- (p.colFooter && v === g.length - 1)) &&
- (L = d),
- (k.fill = {
- color: L.color,
- transparency: 100 * (1 - L.alpha)
- })
- }
- if (null !== (E = C.style) && void 0 !== E && E.backcolor) {
- var P = gt(C.style.backcolor)
- k.fill = {
- color: P.color,
- transparency: 100 * (1 - P.alpha)
- }
- }
- null !== (S = C.style) && void 0 !== S && S.color && (k.color = gt(C.style.color).color),
- i.includes("".concat(m, "_").concat(v)) ||
- y.push({
- text: C.text,
- options: k
- })
- }
- y.length && f.push(y)
- }
- var O = {
- x: e.left / ht,
- y: e.top / ht,
- w: e.width / ht,
- h: e.height / ht,
- colW: e.colWidths.map(function (t) {
- return (e.width * t) / ht
- })
- }
- e.theme &&
- (O.fill = {
- color: "#ffffff"
- }),
- e.outline.width &&
- e.outline.color &&
- (O.border = {
- type: "solid" === e.outline.style ? "solid" : "dash",
- pt: e.outline.width * mt,
- color: gt(e.outline.color).color
- }),
- t.addTable(f, O),
- r(t)
- })
- },
- vr = function (e) {
- return new Promise(function (t) {
- fetch(e)
- .then(function (e) {
- return e.blob()
- })
- .then(function (e) {
- var r = new FileReader()
- r.addEventListener("load", function () {
- t(r.result)
- }),
- r.readAsDataURL(e)
- })
- })
- },
- br = function (e) {
- return new Promise(function (t, r) {
- e
- ? vr(e).then(function (e) {
- return t(e)
- })
- : t(null)
- })
- },
- wr = function (e, t, r, n, i, o) {
- return br(e.poster || e.src + "?x-oss-process=video/snapshot,t_0,f_jpg,w_0,h_0,m_fast").then(function (r) {
- var n = {
- type: "online",
- link: e.src,
- x: e.left / ht,
- y: e.top / ht,
- w: e.width / ht,
- h: e.height / ht
- }
- return (
- r &&
- l.a.merge(n, {
- cover: r
- }),
- t.addMedia(n),
- t
- )
- })
- },
- xr = function (e, t, r, n, i, o) {
- return new Promise(function (r, n) {
- var i = {
- type: "audio",
- path: e.src,
- x: e.left / ht,
- y: e.top / ht,
- w: 60 / ht,
- h: 60 / ht,
- cover: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAABBCAMAAAC5KTl3AAADdmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS41LWMwMjEgNzkuMTU1NzcyLCAyMDE0LzAxLzEzLTE5OjQ0OjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOmVlOTdmZGI5LThjMDQtNGI0YS05NDJlLTcwNDc5NDVmZjVhNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo3OUUwNTgzQTU1NzQxMUU2OTI4Q0I3MTI5MEFDNjdEOCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo3OUUwNTgzOTU1NzQxMUU2OTI4Q0I3MTI5MEFDNjdEOCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNCAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5NGE5MGE1OC01N2YyLTcxNDItYWJmMi1iOTU0MTQ2Y2Y3MzUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6ZWU5N2ZkYjktOGMwNC00YjRhLTk0MmUtNzA0Nzk0NWZmNWE2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+BmF+rgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAACNUExURUdwTOmPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPToF3nRIAAAAudFJOUwC7HEg57eN/gPkZBlTuLU4e1fD+k7r9NizHysnpEvHTspEXucIIIjjy2JKxB9SH738mAAAA30lEQVRYw+3W2Q6CMBAFUFAQEFFUcN/39f7/5ymJLyaXMG31id7HJj1JM9N2HMfGpnbp7f2+Z7B/d8c7a32g4xcARrr7Hxk++VoOIAWWBzAhgFQ4XcEEOTBegAly4LwCE+RAdwAmyIFGC0yQA/EcTJADzhZUkAPNIReqk+YReKSCCxgKkbGAWgjV4v+FutTCvCfN70Xqmt7NqvdBQbpxIZQT8YyfQoEoeatViJL/QoXwLrwWKkTCq6lATFq8HxSI9pR3VChvi2Om25O/m6OKk2wK4Wk2T+aJ0TxpY2OjlRdpOINRgkW3uAAAAABJRU5ErkJggg=="
- }
- t.addMedia(i), r(t)
- })
- },
- Ar = function (e, t, r, n, i, o) {
- return new Promise(function (e, n) {
- var i = 1080
- switch (o.viewportRatio) {
- case 0.625:
- i = 1200
- break
- case 0.75:
- i = 1440
- break
- default:
- i = 1080
- break
- }
- // hqy 这里没有预览图的时候会报错,所以加了判空
- var a = r.preview || "",
- // hqy
- s = a.indexOf("data:image") > -1,
- l = {
- path: s ? void 0 : a,
- data: s ? a : void 0,
- x: 0 / ht,
- y: 0 / ht,
- w: 1920 / ht,
- h: i / ht
- }
- t.addImage(l), e(t)
- })
- },
- _r = function (e, t, r, n, i, o) {
- return new Promise(function (a, s) {
- var l = null
- switch (e.subtype) {
- case "elf-audio":
- l = xr
- break
- case "elf-video":
- l = wr
- break
- case "elf-sing-play":
- case "elf-enjoy":
- case "elf-music-rhythm":
- case "elf-questions-bank":
- case "elf-carouse-image":
- l = Ar
- break
- }
- if (!l) return console.warn(new Error("no found elfelement ".concat(e.subtype, " parse Function"))), void a(t)
- l(e, t, r, n, i, o)
- .then(function () {
- return a(t)
- })
- ["catch"](function (e) {
- return s(e)
- })
- })
- },
- Tr = function (e, t, r, n, i, o, a, s) {
- return new Promise(function (l, c) {
- var u = null
- switch (t.type) {
- case "text":
- u = ur
- break
- case "image":
- u = Pt
- break
- case "shape":
- u = gr
- break
- case "line":
- u = cr
- break
- case "chart":
- u = Lt
- break
- case "table":
- u = yr
- break
- case "elf":
- u = _r
- break
- }
- if (!u) return console.warn(new Error("no found element ".concat(t.type, " parse Function"))), void l(r)
- a.beforeParseElement && a.beforeParseElement(t, void 0, r, e, s),
- u(t, r, n, i, o, a)
- .then(function () {
- a.afterParseElement && a.afterParseElement(t, void 0, r, e, s)
- })
- .then(function () {
- return l(r)
- })
- ["catch"](function (e) {
- return c(e)
- })
- })
- },
- Er = function (e, t, r, n, i, o) {
- return new Promise(function (a, s) {
- var l = r.addSlide()
- if ((i.beforeParseSlide && i.beforeParseSlide(t, l, e, o), t.background)) {
- var c = t.background
- if ("image" === c.type && c.image) {
- var u = c.image.indexOf("data:image") > -1
- l.background = {
- path: u ? void 0 : c.image,
- data: u ? c.image : void 0
- }
- } else if ("solid" === c.type && c.color) {
- var f = gt(c.color)
- l.background = {
- color: f.color,
- transparency: 100 * (1 - f.alpha)
- }
- } else if ("gradient" === c.type && c.gradientColor) {
- var p = E(c.gradientColor, 2),
- d = p[0],
- h = p[1],
- m = oe.mix(d, h).toHexString(),
- g = gt(m)
- l.background = {
- color: g.color,
- transparency: 100 * (1 - g.alpha)
- }
- }
- }
- if ((t.remark && l.addNotes(t.remark), t.elements)) {
- for (var y = [], v = 0; v < t.elements.length; v++) {
- var b = t.elements[v]
- y.push(Tr(v + 1, b, l, t, r, n, i, t.elements.length))
- }
- Promise.all(y)
- .then(function () {
- i.afterParseSlide && i.afterParseSlide(t, l, e, o)
- })
- .then(function () {
- return a(l)
- })
- ["catch"](function (e) {
- return s(e)
- })
- } else a(l)
- })
- },
- Sr = function (e, t) {
- return new Promise(function (r, n) {
- var i = new a["a"](),
- o = []
- t.beforeParse && t.beforeParse(e, i), kt(e, t, i)
- for (var s = 0; s < e.slides.length; s++) {
- var l = e.slides[s]
- o.push(Er(s + 1, l, i, e, t, e.slides.length))
- }
- Promise.all(o)
- .then(function () {
- t.afterParse && t.afterParse(e, i)
- })
- .then(function () {
- return r(i)
- })
- ["catch"](function (e) {
- return n(e)
- })
- ["finally"](function () {
- re.info("fininsh parse json", i)
- })
- })
- },
- Cr = function (e) {
- return fetch(e).then(function (e) {
- return e.json()
- })
- },
- kr = (function () {
- var e = T(
- A().mark(function e(t, r) {
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (r.viewportRatio = t.theme.viewportRatio),
- e.abrupt("return", {
- pptJson: t,
- json2PptxOption: r
- })
- )
- case 2:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r) {
- return e.apply(this, arguments)
- }
- })(),
- Lr = function (e) {
- var t =
- arguments.length > 1 && void 0 !== arguments[1]
- ? arguments[1]
- : {
- name: "pptist.pptx",
- viewportRatio: 0.5625
- }
- return new Promise(function (r, n) {
- Cr(e)
- .then(function (e) {
- return kr(e, t)
- })
- .then(function (e) {
- var t = e.pptJson,
- r = e.json2PptxOption
- return Sr(t, r)
- })
- .then(function (e) {
- return e.write({
- outputType: "arraybuffer"
- })
- })
- .then(function (e) {
- return r(e)
- })
- ["catch"](function (e) {
- return n(e)
- })
- })
- },
- Pr = function (e) {
- var t = e.toLowerCase()
- "#" !== t[0] && (t = "#" + t)
- var r = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/,
- n = []
- if (t && r.test(t)) {
- if (4 === t.length) {
- for (var i = "#", o = 1; o < 4; o += 1) i += t.slice(o, o + 1).concat(t.slice(o, o + 1))
- t = i
- }
- for (var a = 1; a < 7; a += 2) n.push(parseInt("0x" + t.slice(a, a + 2)))
- }
- return n
- },
- Or = function (e) {
- for (var t = "#", r = 0; r < 3; r++) {
- var n = Number(e[r]).toString(16)
- n.length < 2 && (n = "0" + n), (t += n)
- }
- return t
- },
- jr = function (e, t, r) {
- var n,
- i,
- o = e / 255,
- a = t / 255,
- s = r / 255,
- l = Math.max(o, a, s),
- c = Math.min(o, a, s),
- u = (l + c) / 2
- if (l === c) (n = 0), (i = 0)
- else {
- var f = l - c
- switch (((i = u > 0.5 ? f / (2 - l - c) : f / (l + c)), l)) {
- case o:
- n = (a - s) / f + (a < s ? 6 : 0)
- break
- case a:
- n = (s - o) / f + 2
- break
- case s:
- n = (o - a) / f + 4
- break
- default:
- return
- }
- console.log("h:", n), (n *= 0.6)
- }
- return [n, i, u]
- },
- Rr = function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0,
- t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0,
- r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0,
- n = (1 - Math.abs(2 * r - 1)) * t,
- i = n * (1 - Math.abs(((e / 60) % 2) - 1)),
- o = r - n / 2,
- a = []
- e >= 0 && e < 60
- ? a.push(n, i, 0)
- : e >= 60 && e < 120
- ? a.push(i, n, 0)
- : e >= 120 && e < 180
- ? a.push(0, n, i)
- : e >= 180 && e < 240
- ? a.push(0, i, n)
- : e >= 240 && e < 300
- ? a.push(i, 0, n)
- : e >= 300 && e < 360 && a.push(n, 0, i)
- var s = a[0],
- l = a[1],
- c = a[2],
- u = 255 * (s + o),
- f = 255 * (l + o),
- p = 255 * (c + o)
- return [Math.round(u), Math.round(f), Math.round(p)]
- },
- Ir = function (e, t) {
- return Object(f["xml2js"])(e, t)
- },
- Nr = function () {
- for (
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 6,
- t = "_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
- r = t.length,
- n = "",
- i = 0;
- i < e;
- i++
- ) {
- var o = Math.floor(Math.random() * r)
- n += t[o]
- }
- return n
- },
- Mr = function (e) {
- return e ? (Array.isArray(e) ? e : [e]) : []
- },
- Dr = function (e) {
- var t = e / 12700,
- r = (4 * t) / 3
- return r
- },
- Br = function (e) {
- var t, r, n, i
- return (
- !(null !== e && void 0 !== e && null !== (t = e.spPr) && void 0 !== t && t.xfrm) ||
- (null === e ||
- void 0 === e ||
- null === (r = e.nvSpPr) ||
- void 0 === r ||
- null === (n = r.nvPr) ||
- void 0 === n ||
- null === (i = n.ph) ||
- void 0 === i
- ? void 0
- : i.attributes)
- )
- },
- Fr = {
- compact: !0,
- ignoreDeclaration: !0,
- attributesKey: "attributes",
- elementNameFn: function (e) {
- return e.replace("p:", "").replace("a:", "")
- }
- },
- Ur = (function () {
- var e = T(
- A().mark(function e(t, r, n, i) {
- var o, a, s, l, c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E, S
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- ;(o = {}),
- (a = {}),
- (s = []),
- r.forEach(function (e) {
- s.push(n[e])
- }),
- (l = 0)
- case 5:
- if (!(l < s.length)) {
- e.next = 18
- break
- }
- return (e.next = 8), s[l].async("string")
- case 8:
- for (g in ((p = e.sent),
- (d = Ir(p, Fr)),
- (h =
- null === d ||
- void 0 === d ||
- null === (c = d.theme) ||
- void 0 === c ||
- null === (u = c.themeElements) ||
- void 0 === u
- ? void 0
- : u.clrScheme),
- (m = {}),
- h))
- (y = h[g]),
- null !== y && void 0 !== y && y.srgbClr
- ? (m[g] = null === (v = y.srgbClr.attributes) || void 0 === v ? void 0 : v.val)
- : null !== y &&
- void 0 !== y &&
- y.sysClr &&
- (m[g] =
- null === (b = y.sysClr) || void 0 === b || null === (w = b.attributes) || void 0 === w
- ? void 0
- : w.lastClr)
- ;(x = (null === (f = s[l].name.match(/\d+(.\d+)?/g)) || void 0 === f ? void 0 : f[0]) || l + 1), (o[x] = m)
- case 15:
- l++, (e.next = 5)
- break
- case 18:
- ;(_ = []),
- t.forEach(function (e) {
- _.push(n[e])
- }),
- (T = []),
- i.forEach(function (e) {
- T.push(n[e])
- }),
- (E = A().mark(function e() {
- var t, r, n, i, s, l, c, u, f
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (e.next = 2), _[S].async("string")
- case 2:
- if (
- ((i = e.sent),
- (s = Ir(i, Fr)),
- (l = (null === (t = _[S].name.match(/\d+(.\d+)?/g)) || void 0 === t ? void 0 : t[0]) || S + 1),
- (a[l] =
- null === s ||
- void 0 === s ||
- null === (r = s.sldMaster) ||
- void 0 === r ||
- null === (n = r.clrMap) ||
- void 0 === n
- ? void 0
- : n.attributes),
- null === T || void 0 === T || !T[S])
- ) {
- e.next = 13
- break
- }
- return (e.next = 9), T[S].async("string")
- case 9:
- ;(c = e.sent),
- (u = Ir(c, Fr)),
- (f = Array.isArray(u.Relationships.Relationship)
- ? u.Relationships.Relationship
- : [u.Relationships.Relationship]),
- null === f ||
- void 0 === f ||
- f.forEach(function (e) {
- if (e.attributes.Target.includes("theme")) {
- var t = +e.attributes.Target.replace(/[^0-9]/gi, ""),
- r = o[t]
- for (var n in a[l]) {
- var i,
- s = a[l][n]
- r[s] && (a[l][n] = r[s]),
- (null !== a && void 0 !== a && null !== (i = a[l]) && void 0 !== i && i[s]) ||
- !r[s] ||
- (a[l][s] = r[s])
- }
- }
- })
- case 13:
- case "end":
- return e.stop()
- }
- }, e)
- })),
- (S = 0)
- case 24:
- if (!(S < _.length)) {
- e.next = 29
- break
- }
- return e.delegateYield(E(), "t0", 26)
- case 26:
- S++, (e.next = 24)
- break
- case 29:
- return e.abrupt("return", a)
- case 30:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r, n, i) {
- return e.apply(this, arguments)
- }
- })(),
- zr = function (e, t, r) {
- return e[t][r] ? "#".concat(e[t][r]) : ""
- },
- qr = (function () {
- var e = T(
- A().mark(function e(t, r) {
- var n, i, o, a
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (n = t[r]), (e.next = 3), n.async("string")
- case 3:
- return (i = e.sent), (o = Ir(i, Fr)), (a = o.presentation.defaultTextStyle.lvl1pPr), e.abrupt("return", a)
- case 7:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r) {
- return e.apply(this, arguments)
- }
- })(),
- Gr = (function () {
- var e = T(
- A().mark(function e(t, r, n, i) {
- var o, a, s, l, c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E, S, C, k, L, P, O, j, R, I, N
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((h =
- (null === t ||
- void 0 === t ||
- null === (o = t.nvSpPr) ||
- void 0 === o ||
- null === (a = o.nvPr) ||
- void 0 === a ||
- null === (s = a.ph) ||
- void 0 === s ||
- null === (l = s.attributes) ||
- void 0 === l
- ? void 0
- : l.type) ||
- (null === t ||
- void 0 === t ||
- null === (c = t.nvSpPr) ||
- void 0 === c ||
- null === (u = c.nvPr) ||
- void 0 === u ||
- null === (f = u.ph) ||
- void 0 === f ||
- null === (p = f.attributes) ||
- void 0 === p
- ? void 0
- : p.idx)),
- (m = null === r || void 0 === r || null === (d = r.Relationships) || void 0 === d ? void 0 : d.Relationship),
- Array.isArray(m)
- ? m.forEach(function (e) {
- var t
- e.attributes.Type.includes("slideLayout") &&
- (g = null === (t = e.attributes) || void 0 === t ? void 0 : t.Target)
- })
- : (g =
- null === r ||
- void 0 === r ||
- null === (v = r.Relationships) ||
- void 0 === v ||
- null === (b = v.Relationship) ||
- void 0 === b ||
- null === (w = b.attributes) ||
- void 0 === w
- ? void 0
- : w.Target),
- !g)
- ) {
- e.next = 20
- break
- }
- return (k = n["ppt".concat(g.replace("..", ""))]), (e.next = 7), k.async("string")
- case 7:
- if (
- ((L = e.sent),
- (P = Ir(L, Fr)),
- (O =
- null === P ||
- void 0 === P ||
- null === (x = P.sldLayout) ||
- void 0 === x ||
- null === (_ = x.cSld) ||
- void 0 === _ ||
- null === (T = _.spTree) ||
- void 0 === T
- ? void 0
- : T.sp),
- (y =
- null === (E = Mr(O)) || void 0 === E
- ? void 0
- : E.find(function (e) {
- var t, r, n, i, o, a, s, l
- return (
- (null === e ||
- void 0 === e ||
- null === (t = e.nvSpPr) ||
- void 0 === t ||
- null === (r = t.nvPr) ||
- void 0 === r ||
- null === (n = r.ph) ||
- void 0 === n ||
- null === (i = n.attributes) ||
- void 0 === i
- ? void 0
- : i.type) === h ||
- (null === e ||
- void 0 === e ||
- null === (o = e.nvSpPr) ||
- void 0 === o ||
- null === (a = o.nvPr) ||
- void 0 === a ||
- null === (s = a.ph) ||
- void 0 === s ||
- null === (l = s.attributes) ||
- void 0 === l
- ? void 0
- : l.idx) === h
- )
- })),
- null !== (S = y) && void 0 !== S && null !== (C = S.spPr) && void 0 !== C && C.xfrm)
- ) {
- e.next = 19
- break
- }
- return (R = n["ppt/slideMasters/".concat(i)]), (e.next = 15), R.async("string")
- case 15:
- ;(I = e.sent),
- (N = Ir(I, Fr)),
- "1" === h && (h = "body"),
- null === (j = N.sldMaster.cSld.spTree.sp) ||
- void 0 === j ||
- j.forEach(function (e) {
- var t, r, n
- ;(null === (t = e.nvSpPr.nvPr) ||
- void 0 === t ||
- null === (r = t.ph) ||
- void 0 === r ||
- null === (n = r.attributes) ||
- void 0 === n
- ? void 0
- : n.type) === h && (y = e)
- })
- case 19:
- return e.abrupt("return", y)
- case 20:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r, n, i) {
- return e.apply(this, arguments)
- }
- })(),
- Wr = (function () {
- var e = T(
- A().mark(function e(t, r, n, i) {
- var o, a, s, l, c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E, S
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((v =
- (null === t || void 0 === t || null === (o = t.spPr) || void 0 === o ? void 0 : o.xfrm) ||
- (null === t || void 0 === t ? void 0 : t.xfrm)),
- v)
- ) {
- e.next = 8
- break
- }
- if (((b = Br(t)), !b)) {
- e.next = 8
- break
- }
- return (e.next = 6), Gr(t, r, n, i)
- case 6:
- ;(x = e.sent), (v = null === x || void 0 === x || null === (w = x.spPr) || void 0 === w ? void 0 : w.xfrm)
- case 8:
- return (
- (_ = Dr(
- (null === (a = v) ||
- void 0 === a ||
- null === (s = a.off) ||
- void 0 === s ||
- null === (l = s.attributes) ||
- void 0 === l
- ? void 0
- : l.x) || 0
- )),
- (T = Dr(
- (null === (c = v) ||
- void 0 === c ||
- null === (u = c.off) ||
- void 0 === u ||
- null === (f = u.attributes) ||
- void 0 === f
- ? void 0
- : f.y) || 0
- )),
- (E = Dr(
- (null === (p = v) ||
- void 0 === p ||
- null === (d = p.ext) ||
- void 0 === d ||
- null === (h = d.attributes) ||
- void 0 === h
- ? void 0
- : h.cx) || 9144e3
- )),
- (S = Dr(
- (null === (m = v) ||
- void 0 === m ||
- null === (g = m.ext) ||
- void 0 === g ||
- null === (y = g.attributes) ||
- void 0 === y
- ? void 0
- : y.cy) || 2387600
- )),
- e.abrupt("return", {
- left: _,
- top: T,
- width: E,
- height: S
- })
- )
- case 13:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r, n, i) {
- return e.apply(this, arguments)
- }
- })(),
- Vr = function (e, t) {
- var r,
- n,
- i,
- o,
- a = e.xfrm
- ;(t.left = (12700 * t.left * 3) / 4),
- (t.top = (12700 * t.top * 3) / 4),
- (t.width = (12700 * t.width * 3) / 4),
- (t.height = (12700 * t.height * 3) / 4)
- var s = (null === a || void 0 === a || null === (r = a.chExt) || void 0 === r ? void 0 : r.attributes) || {},
- l = s.cx,
- c = s.cy,
- u = (null === a || void 0 === a || null === (n = a.chOff) || void 0 === n ? void 0 : n.attributes) || {},
- f = u.x,
- p = u.y,
- d = (null === a || void 0 === a || null === (i = a.ext) || void 0 === i ? void 0 : i.attributes) || {},
- h = d.cx,
- m = d.cy,
- g = (null === a || void 0 === a || null === (o = a.off) || void 0 === o ? void 0 : o.attributes) || {},
- y = g.x,
- v = g.y,
- b = t.left,
- w = t.top,
- x = t.width,
- A = t.height
- if (l && h) {
- var _ = +l || 1
- x = (x / _) * h
- var T = +f || 0
- b = ((Number(b) - Number(T)) / _) * h + Number(y)
- }
- if (c && m) {
- var E = +c || 1
- A = (A / E) * m
- var S = +p || 0
- w = ((Number(w) - Number(S)) / E) * m + Number(v)
- }
- return {
- left: Dr(b),
- top: Dr(w),
- width: Dr(x),
- height: Dr(A)
- }
- },
- Hr = function (e, t, r) {
- var n = 1,
- i = 0
- t && (n = +t / 1e5), r && (i = +r / 1e5)
- var o = Pr(e),
- a = jr(o[0], o[1], o[2])
- if (null === a || void 0 === a || !a[2]) return e
- a[2] = a[2] * n + i
- var s = Rr(
- Math.round(100 * (null === a || void 0 === a ? void 0 : a[0])),
- null === a || void 0 === a ? void 0 : a[1],
- null === a || void 0 === a ? void 0 : a[2]
- ),
- l = Or(s)
- return l
- },
- Xr = function (e, t, r, n, i, o) {
- var a,
- s,
- l,
- c,
- u,
- f,
- p,
- d,
- h = o.colorMap,
- m = o.textStyleDef,
- g = o.slidePer,
- y = o.defaultTextStyle,
- v = []
- if (r) {
- var b,
- w,
- x,
- A,
- _,
- T,
- E,
- S,
- C,
- k,
- L,
- P,
- O =
- (null === r ||
- void 0 === r ||
- null === (b = r.txBody) ||
- void 0 === b ||
- null === (w = b.lstStyle) ||
- void 0 === w ||
- null === (x = w.lvl1pPr) ||
- void 0 === x ||
- null === (A = x.defRPr) ||
- void 0 === A ||
- null === (_ = A.attributes) ||
- void 0 === _
- ? void 0
- : _.sz) ||
- (null === m ||
- void 0 === m ||
- null === (T = m.txBody.lstStyle.lvl1pPr.defRPr) ||
- void 0 === T ||
- null === (E = T.attributes) ||
- void 0 === E
- ? void 0
- : E.sz)
- if (!O || (null !== (S = t.rPr) && void 0 !== S && null !== (C = S.attributes) && void 0 !== C && C.baseline)) {
- if (
- null !== (k = t.rPr) &&
- void 0 !== k &&
- null !== (L = k.attributes) &&
- void 0 !== L &&
- L.baseline &&
- null !== t &&
- void 0 !== t &&
- null !== (P = t.rPr) &&
- void 0 !== P &&
- P.attributes.sz
- ) {
- var j = ((t.rPr.attributes.sz / 100) * 4) / 3
- 1 !== g && (j = Math.round(j / g)), v.push("font-size:".concat(j, "px;"))
- }
- } else {
- var R = ((O / 100) * 4) / 3
- 1 !== g && (R = Math.round(R / g)), v.push("font-size:".concat(R, "px;"))
- }
- }
- if (
- (e && v.push("text-decoration: underline;"),
- null !== (a = t.rPr) && void 0 !== a && null !== (s = a.attributes) && void 0 !== s && s.sz)
- ) {
- var I = ((t.rPr.attributes.sz / 100) * 4) / 3
- 1 !== g && (I = Math.round(I / g)), v.push("font-size:".concat(I, "px;"))
- } else if (
- i &&
- null !== i &&
- void 0 !== i &&
- null !== (l = i.defRPr) &&
- void 0 !== l &&
- null !== (c = l.attributes) &&
- void 0 !== c &&
- c.sz
- ) {
- var N = ((i.defRPr.attributes.sz / 100) * 4) / 3
- 1 !== g && (N = Math.round(N / g)), v.push("font-size:".concat(N, "px;"))
- } else if (y) {
- var M,
- D = (null === y || void 0 === y || null === (M = y.defRPr) || void 0 === M ? void 0 : M.attributes) || {},
- B = D.sz
- if (B) {
- var F = ((B / 100) * 4) / 3
- 1 !== g && (F = Math.round(F / g)), v.push("font-size:".concat(F, "px;"))
- }
- }
- var U = t || {},
- z = U.rPr,
- q = i || {},
- G = q.defRPr,
- W = G || {},
- V = W.solidFill
- if (null !== z && void 0 !== z && z.solidFill) {
- var H = (null === z || void 0 === z ? void 0 : z.solidFill) || {},
- X = H.schemeClr,
- Y = H.srgbClr,
- K = H.prstClr
- if (Y) {
- var Z,
- Q,
- J = "#" + Y.attributes.val
- if (J && ((null !== Y && void 0 !== Y && Y.lumMod) || (null !== Y && void 0 !== Y && Y.lumOff)))
- J = Hr(
- J,
- (null === Y || void 0 === Y || null === (Z = Y.lumMod) || void 0 === Z ? void 0 : Z.attributes.val) || 0,
- (null === Y || void 0 === Y || null === (Q = Y.lumOff) || void 0 === Q ? void 0 : Q.attributes.val) || 0
- )
- v.push("color:".concat(J, ";"))
- }
- if (X) {
- var $,
- ee,
- te = zr(h, n, X.attributes.val)
- if (te && ((null !== X && void 0 !== X && X.lumMod) || (null !== X && void 0 !== X && X.lumOff)))
- te = Hr(
- te,
- (null === X || void 0 === X || null === ($ = X.lumMod) || void 0 === $ ? void 0 : $.attributes.val) || 0,
- (null === X || void 0 === X || null === (ee = X.lumOff) || void 0 === ee ? void 0 : ee.attributes.val) || 0
- )
- v.push("color:".concat(te, ";"))
- }
- K && "white" === K.attributes.val && v.push("color:#ffffff;")
- } else if (V) {
- var re = V || {},
- ne = re.schemeClr,
- ie = re.srgbClr
- if (ne) {
- var oe,
- ae,
- se = zr(h, n, ne.attributes.val)
- if (se && ((null !== ne && void 0 !== ne && ne.lumMod) || (null !== ne && void 0 !== ne && ne.lumOff)))
- se = Hr(
- se,
- (null === ne || void 0 === ne || null === (oe = ne.lumMod) || void 0 === oe ? void 0 : oe.attributes.val) || 0,
- (null === ne || void 0 === ne || null === (ae = ne.lumOff) || void 0 === ae ? void 0 : ae.attributes.val) || 0
- )
- v.push("color:".concat(se, ";"))
- }
- ie && v.push("color:#".concat(ie.attributes.val, ";"))
- } else if (y) {
- var le,
- ce = null === y || void 0 === y || null === (le = y.defRPr) || void 0 === le ? void 0 : le.solidFill,
- ue = ce.srgbClr,
- fe = ce.schemeClr
- if (ue) {
- var pe,
- de,
- he = "#" + ue.attributes.val
- if (he && ((null !== ue && void 0 !== ue && ue.lumMod) || (null !== ue && void 0 !== ue && ue.lumOff)))
- he = Hr(
- he,
- (null === ue || void 0 === ue || null === (pe = ue.lumMod) || void 0 === pe ? void 0 : pe.attributes.val) || 0,
- (null === ue || void 0 === ue || null === (de = ue.lumOff) || void 0 === de ? void 0 : de.attributes.val) || 0
- )
- v.push("color:".concat(he, ";"))
- }
- if (fe) {
- var me,
- ge,
- ye = zr(h, n, fe.attributes.val)
- if (ye && ((null !== fe && void 0 !== fe && fe.lumMod) || (null !== fe && void 0 !== fe && fe.lumOff)))
- ye = Hr(
- ye,
- (null === fe || void 0 === fe || null === (me = fe.lumMod) || void 0 === me ? void 0 : me.attributes.val) || 0,
- (null === fe || void 0 === fe || null === (ge = fe.lumOff) || void 0 === ge ? void 0 : ge.attributes.val) || 0
- )
- v.push("color:".concat(ye, ";"))
- }
- }
- return (
- null !== (u = t.rPr) &&
- void 0 !== u &&
- null !== (f = u.highlight) &&
- void 0 !== f &&
- null !== (p = f.srgbClr) &&
- void 0 !== p &&
- null !== (d = p.attributes) &&
- void 0 !== d &&
- d.val &&
- v.push("background-color: #".concat(t.rPr.highlight.srgbClr.attributes.val, ";")),
- v.join("")
- )
- },
- Yr = function (e, t, r, n) {
- var i,
- o,
- a = ""
- if (e && null !== e && void 0 !== e && null !== (i = e.attributes) && void 0 !== i && i.algn)
- "ctr" === e.attributes.algn ? (a = "text-align:center;") : "r" === e.attributes.algn && (a = "text-align:right;")
- else if (t && null !== t && void 0 !== t && null !== (o = t.attributes) && void 0 !== o && o.algn)
- "ctr" === t.attributes.algn ? (a = "text-align:center;") : "r" === t.attributes.algn && (a = "text-align:right;")
- else if (r) {
- var s, l
- null !== r && void 0 !== r && null !== (s = r.lvl1pPr) && void 0 !== s && null !== (l = s.attributes) && void 0 !== l && l.algn
- ? "ctr" === r.lvl1pPr.attributes.algn
- ? (a = "text-align:center;")
- : "r" === r.lvl1pPr.attributes.algn && (a = "text-align:right;")
- : null !== r && void 0 !== r && r.type && (r.type.includes("title") || r.type.includes("Title")) && (a = "text-align:center;")
- }
- return a
- },
- Kr = function (e, t, r, n, i) {
- var o = "#ffffff"
- if (((o = "#" + t[e][r]), n || i)) {
- var a = Hr(o, n, i)
- a && (o = a)
- }
- return o
- },
- Zr = (function () {
- var e = T(
- A().mark(function e(t, r, n, i, o, a, s, l) {
- var c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E, S, C, k, L, P, O, j, R, I, N, M, D, B, F, U, z, q, G
- return A().wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- null === n ||
- void 0 === n ||
- null === (c = n.sld) ||
- void 0 === c ||
- null === (u = c.cSld) ||
- void 0 === u ||
- null === (f = u.bg) ||
- void 0 === f ||
- null === (p = f.bgPr) ||
- void 0 === p ||
- null === (d = p.blipFill) ||
- void 0 === d ||
- !d.blip
- ) {
- e.next = 7
- break
- }
- if (((j = n.sld.cSld.bg.bgPr.blipFill.blip.attributes["r:embed"]), j)) {
- e.next = 4
- break
- }
- return e.abrupt("return")
- case 4:
- ;(O = i.Relationships.Relationship.find(function (e) {
- return e.attributes.Id === j
- })),
- (e.next = 27)
- break
- case 7:
- if (
- null === n ||
- void 0 === n ||
- null === (h = n.sld) ||
- void 0 === h ||
- null === (m = h.cSld) ||
- void 0 === m ||
- null === (g = m.bg) ||
- void 0 === g ||
- null === (y = g.bgPr) ||
- void 0 === y ||
- !y.noFill
- ) {
- e.next = 11
- break
- }
- return e.abrupt("return")
- case 11:
- if (
- null === o ||
- void 0 === o ||
- null === (v = o.sldLayout) ||
- void 0 === v ||
- null === (b = v.cSld) ||
- void 0 === b ||
- null === (w = b.bg) ||
- void 0 === w ||
- null === (x = w.bgPr) ||
- void 0 === x ||
- null === (_ = x.blipFill) ||
- void 0 === _ ||
- !_.blip
- ) {
- e.next = 18
- break
- }
- if (((R = o.sldLayout.cSld.bg.bgPr.blipFill.blip.attributes["r:embed"]), R)) {
- e.next = 15
- break
- }
- return e.abrupt("return")
- case 15:
- ;(O = a.Relationships.Relationship.find(function (e) {
- return e.attributes.Id === R
- })),
- (e.next = 27)
- break
- case 18:
- if ("0" !== (null === (T = o.sldLayout.attributes) || void 0 === T ? void 0 : T.showMasterSp)) {
- e.next = 22
- break
- }
- return e.abrupt("return")
- case 22:
- if (
- null === s ||
- void 0 === s ||
- null === (E = s.sldMaster) ||
- void 0 === E ||
- null === (S = E.cSld) ||
- void 0 === S ||
- null === (C = S.bg) ||
- void 0 === C ||
- null === (k = C.bgPr) ||
- void 0 === k ||
- null === (L = k.blipFill) ||
- void 0 === L ||
- null === (P = L.blip) ||
- void 0 === P ||
- !P.attributes
- ) {
- e.next = 27
- break
- }
- if (((I = s.sldMaster.cSld.bg.bgPr.blipFill.blip.attributes["r:embed"]), I)) {
- e.next = 26
- break
- }
- return e.abrupt("return")
- case 26:
- O = l.Relationships.Relationship.find(function (e) {
- return e.attributes.Id === I
- })
- case 27:
- if (O) {
- e.next = 29
- break
- }
- return e.abrupt("return")
- case 29:
- return (
- (N = O.attributes.Target),
- (M = t["ppt".concat(N.replace("..", ""))]),
- (e.prev = 31),
- (e.next = 34),
- M.async("arraybuffer")
- )
- case 34:
- return (
- (D = e.sent),
- (B = M.name.split(".")),
- (F = "image/".concat(B[B.length - 1])),
- (U = new Blob([D], {
- type: F
- })),
- (z = M.name.split("/").reverse()[0]),
- (q = new File([U], z, {
- type: F
- })),
- (e.next = 42),
- r(q)
- )
- case 42:
- return (G = e.sent), e.abrupt("return", G)
- case 46:
- throw (
- ((e.prev = 46),
- (e.t0 = e["catch"](31)),
- re.error("ppt-file parse background image upload failed", e.t0),
- new Error("背景图片上传失败"))
- )
- case 50:
- case "end":
- return e.stop()
- }
- },
- e,
- null,
- [[31, 46]]
- )
- })
- )
- return function (t, r, n, i, o, a, s, l) {
- return e.apply(this, arguments)
- }
- })(),
- Qr = (function () {
- var e = T(
- A().mark(function e(t, r, n, i, o, a, s, l) {
- var c,
- u,
- f,
- p,
- d,
- h,
- m,
- g,
- y,
- v,
- b,
- w,
- x,
- _,
- T,
- E,
- S,
- C,
- k,
- L,
- P,
- O,
- j,
- R,
- I,
- N,
- M,
- D,
- B,
- F,
- U,
- z,
- q,
- G,
- W,
- V,
- H,
- X,
- Y,
- K,
- Z,
- Q,
- J,
- $,
- ee,
- te,
- re,
- ne,
- ie,
- ae,
- se,
- le,
- ce,
- ue,
- fe,
- pe,
- de,
- he,
- me,
- ge,
- ye,
- ve,
- be,
- we,
- xe,
- Ae,
- _e,
- Te,
- Ee,
- Se,
- Ce,
- ke,
- Le,
- Pe,
- Oe,
- je,
- Re,
- Ie,
- Ne,
- Me,
- De,
- Be,
- Fe,
- Ue,
- ze,
- qe,
- Ge,
- We,
- Ve,
- He,
- Xe,
- Ye,
- Ke,
- Ze,
- Qe,
- Je,
- $e,
- et,
- tt,
- rt,
- nt,
- it
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (T = {
- type: "solid",
- color: "#fff"
- }),
- (E = +l.replace(/[^0-9]/gi, "")),
- (S = t["ppt/slideMasters/_rels/".concat(l, ".rels")]),
- (e.next = 5),
- S.async("string")
- )
- case 5:
- return (C = e.sent), (k = Ir(C, Fr)), (L = t["ppt/slideMasters/".concat(l)]), (e.next = 10), L.async("string")
- case 10:
- return (P = e.sent), (O = Ir(P, Fr)), (e.next = 14), Zr(t, r.upload, i, o, a, s, O, k)
- case 14:
- if (((j = e.sent), !j)) {
- e.next = 20
- break
- }
- return (T.type = "image"), (T.imageSize = "100% 100%"), (T.image = j.url), e.abrupt("return", T)
- case 20:
- if (((R = ""), !i)) {
- e.next = 37
- break
- }
- if (
- ((D =
- (null === i ||
- void 0 === i ||
- null === (I = i.sld) ||
- void 0 === I ||
- null === (N = I.cSld) ||
- void 0 === N ||
- null === (M = N.bg) ||
- void 0 === M
- ? void 0
- : M.bgPr) || {}),
- (B = D.solidFill),
- (F = B || {}),
- (U = F.schemeClr),
- (z = F.srgbClr),
- (q = U || z || {}),
- (G = q.lumMod),
- (W = q.lumOff),
- !U)
- ) {
- e.next = 33
- break
- }
- if (
- ((Y = null === U || void 0 === U || null === (V = U.attributes) || void 0 === V ? void 0 : V.val),
- (K = null === G || void 0 === G || null === (H = G.attributes) || void 0 === H ? void 0 : H.val),
- (Z = null === W || void 0 === W || null === (X = W.attributes) || void 0 === X ? void 0 : X.val),
- !Y)
- ) {
- e.next = 33
- break
- }
- return (R = Kr(E, n, Y, K, Z)), R && (T.color = R), e.abrupt("return", T)
- case 33:
- if (!z) {
- e.next = 37
- break
- }
- return (
- (R = null === z || void 0 === z || null === (Q = z.attributes) || void 0 === Q ? void 0 : Q.val),
- (T.color = "#" + (null === z || void 0 === z || null === (J = z.attributes) || void 0 === J ? void 0 : J.val)),
- e.abrupt("return", T)
- )
- case 37:
- if (!a) {
- e.next = 53
- break
- }
- if (
- ((re =
- (null === a ||
- void 0 === a ||
- null === ($ = a.sldLayout) ||
- void 0 === $ ||
- null === (ee = $.cSld) ||
- void 0 === ee ||
- null === (te = ee.bg) ||
- void 0 === te
- ? void 0
- : te.bgPr) || {}),
- (ne = re.solidFill),
- (ie = ne || {}),
- (ae = ie.schemeClr),
- (se = ie.srgbClr),
- (le = ae || se || {}),
- (ce = le.lumMod),
- (ue = le.lumOff),
- !ae)
- ) {
- e.next = 49
- break
- }
- if (
- ((he = null === ae || void 0 === ae || null === (fe = ae.attributes) || void 0 === fe ? void 0 : fe.val),
- (me = null === ce || void 0 === ce || null === (pe = ce.attributes) || void 0 === pe ? void 0 : pe.val),
- (ge = null === ue || void 0 === ue || null === (de = ue.attributes) || void 0 === de ? void 0 : de.val),
- !he)
- ) {
- e.next = 49
- break
- }
- return (R = Kr(E, n, he, me, ge)), R && (T.color = R), e.abrupt("return", T)
- case 49:
- if (!se) {
- e.next = 53
- break
- }
- return (
- (R = null === se || void 0 === se || null === (ye = se.attributes) || void 0 === ye ? void 0 : ye.val),
- (T.color =
- "#" + (null === se || void 0 === se || null === (ve = se.attributes) || void 0 === ve ? void 0 : ve.val)),
- e.abrupt("return", T)
- )
- case 53:
- if (!O) {
- e.next = 69
- break
- }
- if (
- ((Ae =
- (null === O ||
- void 0 === O ||
- null === (be = O.sldMaster) ||
- void 0 === be ||
- null === (we = be.cSld) ||
- void 0 === we ||
- null === (xe = we.bg) ||
- void 0 === xe
- ? void 0
- : xe.bgPr) || {}),
- (_e = Ae.solidFill),
- (Te = _e || {}),
- (Ee = Te.schemeClr),
- (Se = Te.srgbClr),
- (Ce = Ee || Se || {}),
- (ke = Ce.lumMod),
- (Le = Ce.lumOff),
- !Ee)
- ) {
- e.next = 65
- break
- }
- if (
- ((Re = null === Ee || void 0 === Ee || null === (Pe = Ee.attributes) || void 0 === Pe ? void 0 : Pe.val),
- (Ie = null === ke || void 0 === ke || null === (Oe = ke.attributes) || void 0 === Oe ? void 0 : Oe.val),
- (Ne = null === Le || void 0 === Le || null === (je = Le.attributes) || void 0 === je ? void 0 : je.val),
- !Re)
- ) {
- e.next = 65
- break
- }
- return (R = Kr(E, n, Re, Ie, Ne)), R && (T.color = R), e.abrupt("return", T)
- case 65:
- if (!Se) {
- e.next = 69
- break
- }
- return (
- (R = null === Se || void 0 === Se || null === (Me = Se.attributes) || void 0 === Me ? void 0 : Me.val),
- (T.color =
- "#" + (null === Se || void 0 === Se || null === (De = Se.attributes) || void 0 === De ? void 0 : De.val)),
- e.abrupt("return", T)
- )
- case 69:
- if (
- ((Be =
- (null === i ||
- void 0 === i ||
- null === (c = i.sld) ||
- void 0 === c ||
- null === (u = c.cSld) ||
- void 0 === u ||
- null === (f = u.bg) ||
- void 0 === f ||
- null === (p = f.bgPr) ||
- void 0 === p
- ? void 0
- : p.gradFill) ||
- (null === a ||
- void 0 === a ||
- null === (d = a.sldLayout) ||
- void 0 === d ||
- null === (h = d.cSld) ||
- void 0 === h ||
- null === (m = h.bg) ||
- void 0 === m ||
- null === (g = m.bgPr) ||
- void 0 === g
- ? void 0
- : g.gradFill) ||
- (null === O ||
- void 0 === O ||
- null === (y = O.sldMaster) ||
- void 0 === y ||
- null === (v = y.cSld) ||
- void 0 === v ||
- null === (b = v.bg) ||
- void 0 === b ||
- null === (w = b.bgPr) ||
- void 0 === w
- ? void 0
- : w.gradFill) ||
- {}),
- (Fe = Be.gsLst),
- !(Fe && null !== (x = Fe.gs) && void 0 !== x && x[0] && null !== (_ = Fe.gs) && void 0 !== _ && _[1]))
- ) {
- e.next = 97
- break
- }
- if (
- ((Ue = Fe.gs[0] || {}),
- (ze = Ue.srgbClr),
- (qe = Ue.schemeClr),
- (Ge = Fe.gs[1] || {}),
- (We = Ge.srgbClr),
- (Ve = Ge.schemeClr),
- (He = +l.replace(/[^0-9]/gi, "")),
- !ze || !We)
- ) {
- e.next = 78
- break
- }
- return (Xe = oe.mix(ze.attributes.val, We.attributes.val).toHexString()), (T.color = Xe), e.abrupt("return", T)
- case 78:
- if (
- ((Ye = ""),
- (Ke = ""),
- qe &&
- ((Ye = zr(n, He, qe.attributes.val)),
- (Ze = qe || {}),
- (Qe = Ze.lumMod),
- (Je = Ze.lumOff),
- Ye &&
- (Qe || Je) &&
- (Ye = Hr(
- Ye,
- (null === Qe || void 0 === Qe ? void 0 : Qe.attributes.val) || 0,
- (null === Je || void 0 === Je ? void 0 : Je.attributes.val) || 0
- ))),
- Ve &&
- ((Ke = zr(n, He, Ve.attributes.val)),
- ($e = Ve || {}),
- (et = $e.lumMod),
- (tt = $e.lumOff),
- Ve &&
- (et || tt) &&
- (Ke = Hr(
- Ke,
- (null === et || void 0 === et ? void 0 : et.attributes.val) || 0,
- (null === tt || void 0 === tt ? void 0 : tt.attributes.val) || 0
- ))),
- !Ye || !We)
- ) {
- e.next = 87
- break
- }
- if (((rt = oe.mix(Ye, We.attributes.val).toHexString()), !rt)) {
- e.next = 87
- break
- }
- return (T.color = rt), e.abrupt("return", T)
- case 87:
- if (!Ke || !ze) {
- e.next = 92
- break
- }
- if (((nt = oe.mix(Ke, ze.attributes.val).toHexString()), !nt)) {
- e.next = 92
- break
- }
- return (T.color = nt), e.abrupt("return", T)
- case 92:
- if (!qe || !Ve) {
- e.next = 97
- break
- }
- if (((it = oe.mix(Ye, Ke).toHexString()), !it)) {
- e.next = 97
- break
- }
- return (T.color = it), e.abrupt("return", T)
- case 97:
- return e.abrupt("return", T)
- case 98:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r, n, i, o, a, s, l) {
- return e.apply(this, arguments)
- }
- })(),
- Jr = (function () {
- var e = T(
- A().mark(function e(t, r) {
- var n, i, o, a, s, l
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (n = t[r]), (e.next = 3), n.async("string")
- case 3:
- return (
- (i = e.sent),
- (o = Ir(i, Fr)),
- (a = o.presentation.sldSz.attributes),
- (s = Dr(a.cx)),
- (l = Dr(a.cy)),
- e.abrupt("return", {
- width: s,
- height: l
- })
- )
- case 9:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r) {
- return e.apply(this, arguments)
- }
- })(),
- $r = function (e, t, r) {
- var n, i, o, a, s, l, c
- if ("title" === t && null !== (n = e.sldMaster.txStyles) && void 0 !== n && null !== (i = n.titleStyle) && void 0 !== i && i.lvl1pPr)
- c = {
- txBody: {
- lstStyle: {
- lvl1pPr: e.sldMaster.txStyles.titleStyle.lvl1pPr
- }
- }
- }
- else if (
- "body" === t &&
- null !== (o = e.sldMaster.txStyles) &&
- void 0 !== o &&
- null !== (a = o.bodyStyle) &&
- void 0 !== a &&
- a.lvl1pPr
- )
- c = {
- txBody: {
- lstStyle: {
- lvl1pPr: e.sldMaster.txStyles.bodyStyle.lvl1pPr
- }
- }
- }
- else if (r || (null !== (s = e.sldMaster.txStyles) && void 0 !== s && null !== (l = s.otherStyle) && void 0 !== l && l.lvl1pPr)) {
- var u
- ;(u = r
- ? {
- defRPr: {
- attributes: {
- sz: r
- }
- }
- }
- : e.sldMaster.txStyles.otherStyle.lvl1pPr),
- (c = {
- txBody: {
- lstStyle: {
- lvl1pPr: u
- }
- }
- })
- }
- return c
- },
- en = (function () {
- var e = T(
- A().mark(function e(t, r) {
- var n, i, o
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (e.next = 2), Jr(t, "ppt/presentation.xml")
- case 2:
- return (
- (n = e.sent),
- (i = {
- width: 1920,
- height: 0.5625 === r ? 1080 : 1080 / r
- }),
- (o = Math.max(n.width / i.width, n.height / i.height)),
- e.abrupt("return", o)
- )
- case 6:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r) {
- return e.apply(this, arguments)
- }
- })(),
- tn = new Uint8Array(16)
- function rn() {
- if (
- !Ht &&
- ((Ht =
- ("undefined" !== typeof crypto && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||
- ("undefined" !== typeof msCrypto && "function" === typeof msCrypto.getRandomValues && msCrypto.getRandomValues.bind(msCrypto))),
- !Ht)
- )
- throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported")
- return Ht(tn)
- }
- var nn = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i
- function on(e) {
- return "string" === typeof e && nn.test(e)
- }
- for (var an = [], sn = 0; sn < 256; ++sn) an.push((sn + 256).toString(16).substr(1))
- function ln(e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0,
- r = (
- an[e[t + 0]] +
- an[e[t + 1]] +
- an[e[t + 2]] +
- an[e[t + 3]] +
- "-" +
- an[e[t + 4]] +
- an[e[t + 5]] +
- "-" +
- an[e[t + 6]] +
- an[e[t + 7]] +
- "-" +
- an[e[t + 8]] +
- an[e[t + 9]] +
- "-" +
- an[e[t + 10]] +
- an[e[t + 11]] +
- an[e[t + 12]] +
- an[e[t + 13]] +
- an[e[t + 14]] +
- an[e[t + 15]]
- ).toLowerCase()
- if (!on(r)) throw TypeError("Stringified UUID is invalid")
- return r
- }
- function cn(e, t, r) {
- e = e || {}
- var n = e.random || (e.rng || rn)()
- if (((n[6] = (15 & n[6]) | 64), (n[8] = (63 & n[8]) | 128), t)) {
- r = r || 0
- for (var i = 0; i < 16; ++i) t[r + i] = n[i]
- return t
- }
- return ln(n)
- }
- function un(e, t, r) {
- return (
- (r = {
- path: t,
- exports: {},
- require: function (e, t) {
- return fn(e, void 0 === t || null === t ? r.path : t)
- }
- }),
- e(r, r.exports),
- r.exports
- )
- }
- function fn() {
- throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")
- }
- var pn = "object" === ("undefined" === typeof e ? "undefined" : z(e)) && e && "win32" === e.platform,
- dn = pn
- ? {
- sep: "\\"
- }
- : {
- sep: "/"
- },
- hn = mn
- function mn(e, t, r) {
- e instanceof RegExp && (e = gn(e, r)), t instanceof RegExp && (t = gn(t, r))
- var n = yn(e, t, r)
- return (
- n && {
- start: n[0],
- end: n[1],
- pre: r.slice(0, n[0]),
- body: r.slice(n[0] + e.length, n[1]),
- post: r.slice(n[1] + t.length)
- }
- )
- }
- function gn(e, t) {
- var r = t.match(e)
- return r ? r[0] : null
- }
- function yn(e, t, r) {
- var n,
- i,
- o,
- a,
- s,
- l = r.indexOf(e),
- c = r.indexOf(t, l + 1),
- u = l
- if (l >= 0 && c > 0) {
- if (e === t) return [l, c]
- ;(n = []), (o = r.length)
- while (u >= 0 && !s)
- u == l
- ? (n.push(u), (l = r.indexOf(e, u + 1)))
- : 1 == n.length
- ? (s = [n.pop(), c])
- : ((i = n.pop()), i < o && ((o = i), (a = c)), (c = r.indexOf(t, u + 1))),
- (u = l < c && l >= 0 ? l : c)
- n.length && (s = [o, a])
- }
- return s
- }
- mn.range = yn
- var vn = kn,
- bn = "\0SLASH" + Math.random() + "\0",
- wn = "\0OPEN" + Math.random() + "\0",
- xn = "\0CLOSE" + Math.random() + "\0",
- An = "\0COMMA" + Math.random() + "\0",
- _n = "\0PERIOD" + Math.random() + "\0"
- function Tn(e) {
- return parseInt(e, 10) == e ? parseInt(e, 10) : e.charCodeAt(0)
- }
- function En(e) {
- return e.split("\\\\").join(bn).split("\\{").join(wn).split("\\}").join(xn).split("\\,").join(An).split("\\.").join(_n)
- }
- function Sn(e) {
- return e.split(bn).join("\\").split(wn).join("{").split(xn).join("}").split(An).join(",").split(_n).join(".")
- }
- function Cn(e) {
- if (!e) return [""]
- var t = [],
- r = hn("{", "}", e)
- if (!r) return e.split(",")
- var n = r.pre,
- i = r.body,
- o = r.post,
- a = n.split(",")
- a[a.length - 1] += "{" + i + "}"
- var s = Cn(o)
- return o.length && ((a[a.length - 1] += s.shift()), a.push.apply(a, s)), t.push.apply(t, a), t
- }
- function kn(e) {
- return e ? ("{}" === e.substr(0, 2) && (e = "\\{\\}" + e.substr(2)), Rn(En(e), !0).map(Sn)) : []
- }
- function Ln(e) {
- return "{" + e + "}"
- }
- function Pn(e) {
- return /^-?0\d/.test(e)
- }
- function On(e, t) {
- return e <= t
- }
- function jn(e, t) {
- return e >= t
- }
- function Rn(e, t) {
- var r = [],
- n = hn("{", "}", e)
- if (!n) return [e]
- var i = n.pre,
- o = n.post.length ? Rn(n.post, !1) : [""]
- if (/\$$/.test(n.pre))
- for (var a = 0; a < o.length; a++) {
- var s = i + "{" + n.body + "}" + o[a]
- r.push(s)
- }
- else {
- var l,
- c,
- u = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),
- f = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),
- p = u || f,
- d = n.body.indexOf(",") >= 0
- if (!p && !d) return n.post.match(/,.*\}/) ? ((e = n.pre + "{" + n.body + xn + n.post), Rn(e)) : [e]
- if (p) l = n.body.split(/\.\./)
- else if (((l = Cn(n.body)), 1 === l.length && ((l = Rn(l[0], !1).map(Ln)), 1 === l.length)))
- return o.map(function (e) {
- return n.pre + l[0] + e
- })
- if (p) {
- var h = Tn(l[0]),
- m = Tn(l[1]),
- g = Math.max(l[0].length, l[1].length),
- y = 3 == l.length ? Math.abs(Tn(l[2])) : 1,
- v = On,
- b = m < h
- b && ((y *= -1), (v = jn))
- var w = l.some(Pn)
- c = []
- for (var x = h; v(x, m); x += y) {
- var A
- if (f) (A = String.fromCharCode(x)), "\\" === A && (A = "")
- else if (((A = String(x)), w)) {
- var _ = g - A.length
- if (_ > 0) {
- var T = new Array(_ + 1).join("0")
- A = x < 0 ? "-" + T + A.slice(1) : T + A
- }
- }
- c.push(A)
- }
- } else {
- c = []
- for (var E = 0; E < l.length; E++) c.push.apply(c, Rn(l[E], !1))
- }
- for (E = 0; E < c.length; E++)
- for (a = 0; a < o.length; a++) {
- s = i + c[E] + o[a]
- ;(!t || p || s) && r.push(s)
- }
- }
- return r
- }
- var In = un(function (e) {
- var t = (e.exports = function (e, t) {
- var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}
- return b(t), !(!r.nocomment && "#" === t.charAt(0)) && new E(t, r).match(e)
- })
- ;(e.exports = t), (t.sep = dn.sep)
- var r = Symbol("globstar **")
- t.GLOBSTAR = r
- var n = {
- "!": {
- open: "(?:(?!(?:",
- close: "))[^/]*?)"
- },
- "?": {
- open: "(?:",
- close: ")?"
- },
- "+": {
- open: "(?:",
- close: ")+"
- },
- "*": {
- open: "(?:",
- close: ")*"
- },
- "@": {
- open: "(?:",
- close: ")"
- }
- },
- i = "[^/]",
- o = i + "*?",
- a = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",
- s = "(?:(?!(?:\\/|^)\\.).)*?",
- l = function (e) {
- return e.split("").reduce(function (e, t) {
- return (e[t] = !0), e
- }, {})
- },
- c = l("().*{}+?[]^$\\!"),
- u = l("[.("),
- f = /\/+/
- t.filter = function (e) {
- var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}
- return function (n, i, o) {
- return t(n, e, r)
- }
- }
- var p = function (e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
- r = {}
- return (
- Object.keys(e).forEach(function (t) {
- return (r[t] = e[t])
- }),
- Object.keys(t).forEach(function (e) {
- return (r[e] = t[e])
- }),
- r
- )
- }
- ;(t.defaults = function (e) {
- if (!e || "object" !== z(e) || !Object.keys(e).length) return t
- var r = t,
- n = function (t, n, i) {
- return r(t, n, p(e, i))
- }
- return (
- (n.Minimatch = (function (t) {
- m(n, t)
- var r = y(n)
- function n(t, i) {
- return h(this, n), r.call(this, t, p(e, i))
- }
- return d(n)
- })(r.Minimatch)),
- (n.Minimatch.defaults = function (t) {
- return r.defaults(p(e, t)).Minimatch
- }),
- (n.filter = function (t, n) {
- return r.filter(t, p(e, n))
- }),
- (n.defaults = function (t) {
- return r.defaults(p(e, t))
- }),
- (n.makeRe = function (t, n) {
- return r.makeRe(t, p(e, n))
- }),
- (n.braceExpand = function (t, n) {
- return r.braceExpand(t, p(e, n))
- }),
- (n.match = function (t, n, i) {
- return r.match(t, n, p(e, i))
- }),
- n
- )
- }),
- (t.braceExpand = function (e, t) {
- return g(e, t)
- })
- var g = function (e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}
- return b(e), t.nobrace || !/\{(?:(?!\{).)*\}/.test(e) ? [e] : vn(e)
- },
- v = 65536,
- b = function (e) {
- if ("string" !== typeof e) throw new TypeError("invalid pattern")
- if (e.length > v) throw new TypeError("pattern is too long")
- },
- w = Symbol("subparse")
- ;(t.makeRe = function (e, t) {
- return new E(e, t || {}).makeRe()
- }),
- (t.match = function (e, t) {
- var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
- n = new E(t, r)
- return (
- (e = e.filter(function (e) {
- return n.match(e)
- })),
- n.options.nonull && !e.length && e.push(t),
- e
- )
- })
- var x = function (e) {
- return e.replace(/\\(.)/g, "$1")
- },
- A = function (e) {
- return e.replace(/\\([^-\]])/g, "$1")
- },
- _ = function (e) {
- return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&")
- },
- T = function (e) {
- return e.replace(/[[\]\\]/g, "\\$&")
- },
- E = (function () {
- function e(t, r) {
- h(this, e),
- b(t),
- r || (r = {}),
- (this.options = r),
- (this.set = []),
- (this.pattern = t),
- (this.windowsPathsNoEscape = !!r.windowsPathsNoEscape || !1 === r.allowWindowsEscape),
- this.windowsPathsNoEscape && (this.pattern = this.pattern.replace(/\\/g, "/")),
- (this.regexp = null),
- (this.negate = !1),
- (this.comment = !1),
- (this.empty = !1),
- (this.partial = !!r.partial),
- this.make()
- }
- return (
- d(
- e,
- [
- {
- key: "debug",
- value: function () {}
- },
- {
- key: "make",
- value: function () {
- var e = this,
- t = this.pattern,
- r = this.options
- if (r.nocomment || "#" !== t.charAt(0))
- if (t) {
- this.parseNegate()
- var n = (this.globSet = this.braceExpand())
- r.debug &&
- (this.debug = function () {
- var e
- return (e = console).error.apply(e, arguments)
- }),
- this.debug(this.pattern, n),
- (n = this.globParts =
- n.map(function (e) {
- return e.split(f)
- })),
- this.debug(this.pattern, n),
- (n = n.map(function (t, r, n) {
- return t.map(e.parse, e)
- })),
- this.debug(this.pattern, n),
- (n = n.filter(function (e) {
- return -1 === e.indexOf(!1)
- })),
- this.debug(this.pattern, n),
- (this.set = n)
- } else this.empty = !0
- else this.comment = !0
- }
- },
- {
- key: "parseNegate",
- value: function () {
- if (!this.options.nonegate) {
- for (var e = this.pattern, t = !1, r = 0, n = 0; n < e.length && "!" === e.charAt(n); n++) (t = !t), r++
- r && (this.pattern = e.slice(r)), (this.negate = t)
- }
- }
- },
- {
- key: "matchOne",
- value: function (e, t, n) {
- var i = this.options
- this.debug("matchOne", {
- this: this,
- file: e,
- pattern: t
- }),
- this.debug("matchOne", e.length, t.length)
- for (var o = 0, a = 0, s = e.length, l = t.length; o < s && a < l; o++, a++) {
- this.debug("matchOne loop")
- var c,
- u = t[a],
- f = e[o]
- if ((this.debug(t, u, f), !1 === u)) return !1
- if (u === r) {
- this.debug("GLOBSTAR", [t, u, f])
- var p = o,
- d = a + 1
- if (d === l) {
- for (this.debug("** at the end"); o < s; o++)
- if ("." === e[o] || ".." === e[o] || (!i.dot && "." === e[o].charAt(0))) return !1
- return !0
- }
- while (p < s) {
- var h = e[p]
- if ((this.debug("\nglobstar while", e, p, t, d, h), this.matchOne(e.slice(p), t.slice(d), n)))
- return this.debug("globstar found match!", p, s, h), !0
- if ("." === h || ".." === h || (!i.dot && "." === h.charAt(0))) {
- this.debug("dot detected!", e, p, t, d)
- break
- }
- this.debug("globstar swallow a segment, and continue"), p++
- }
- return !(!n || (this.debug("\n>>> no match, partial?", e, p, t, d), p !== s))
- }
- if (
- ("string" === typeof u
- ? ((c = f === u), this.debug("string match", u, f, c))
- : ((c = f.match(u)), this.debug("pattern match", u, f, c)),
- !c)
- )
- return !1
- }
- if (o === s && a === l) return !0
- if (o === s) return n
- if (a === l) return o === s - 1 && "" === e[o]
- throw new Error("wtf?")
- }
- },
- {
- key: "braceExpand",
- value: function () {
- return g(this.pattern, this.options)
- }
- },
- {
- key: "parse",
- value: function (e, t) {
- var a = this
- b(e)
- var s = this.options
- if ("**" === e) {
- if (!s.noglobstar) return r
- e = "*"
- }
- if ("" === e) return ""
- for (
- var l,
- f,
- p,
- d,
- h,
- m = "",
- g = !!s.nocase,
- y = !1,
- v = [],
- _ = [],
- E = !1,
- S = -1,
- C = -1,
- k = "." === e.charAt(0) ? "" : s.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)",
- L = function () {
- if (l) {
- switch (l) {
- case "*":
- ;(m += o), (g = !0)
- break
- case "?":
- ;(m += i), (g = !0)
- break
- default:
- m += "\\" + l
- break
- }
- a.debug("clearStateChar %j %j", l, m), (l = !1)
- }
- },
- P = 0;
- P < e.length && (h = e.charAt(P));
- P++
- )
- if ((this.debug("%s\t%s %s %j", e, P, m, h), y)) {
- if ("/" === h) return !1
- c[h] && (m += "\\"), (m += h), (y = !1)
- } else
- switch (h) {
- case "/":
- return !1
- case "\\":
- if (E && "-" === e.charAt(P + 1)) {
- m += h
- continue
- }
- L(), (y = !0)
- continue
- case "?":
- case "*":
- case "+":
- case "@":
- case "!":
- if ((this.debug("%s\t%s %s %j <-- stateChar", e, P, m, h), E)) {
- this.debug(" in class"), "!" === h && P === C + 1 && (h = "^"), (m += h)
- continue
- }
- this.debug("call clearStateChar %j", l), L(), (l = h), s.noext && L()
- continue
- case "(":
- if (E) {
- m += "("
- continue
- }
- if (!l) {
- m += "\\("
- continue
- }
- v.push({
- type: l,
- start: P - 1,
- reStart: m.length,
- open: n[l].open,
- close: n[l].close
- }),
- (m += "!" === l ? "(?:(?!(?:" : "(?:"),
- this.debug("plType %j %j", l, m),
- (l = !1)
- continue
- case ")":
- if (E || !v.length) {
- m += "\\)"
- continue
- }
- L(), (g = !0), (p = v.pop()), (m += p.close), "!" === p.type && _.push(p), (p.reEnd = m.length)
- continue
- case "|":
- if (E || !v.length) {
- m += "\\|"
- continue
- }
- L(), (m += "|")
- continue
- case "[":
- if ((L(), E)) {
- m += "\\" + h
- continue
- }
- ;(E = !0), (C = P), (S = m.length), (m += h)
- continue
- case "]":
- if (P === C + 1 || !E) {
- m += "\\" + h
- continue
- }
- f = e.substring(C + 1, P)
- try {
- RegExp("[" + T(A(f)) + "]"), (m += h)
- } catch (V) {
- m = m.substring(0, S) + "(?:$.)"
- }
- ;(g = !0), (E = !1)
- continue
- default:
- L(), !c[h] || ("^" === h && E) || (m += "\\"), (m += h)
- break
- }
- for (
- E && ((f = e.slice(C + 1)), (d = this.parse(f, w)), (m = m.substring(0, S) + "\\[" + d[0]), (g = g || d[1])),
- p = v.pop();
- p;
- p = v.pop()
- ) {
- var O = void 0
- ;(O = m.slice(p.reStart + p.open.length)),
- this.debug("setting tail", m, p),
- (O = O.replace(/((?:\\{2}){0,64})(\\?)\|/g, function (e, t, r) {
- return r || (r = "\\"), t + t + r + "|"
- })),
- this.debug("tail=%j\n %s", O, O, p, m)
- var j = "*" === p.type ? o : "?" === p.type ? i : "\\" + p.type
- ;(g = !0), (m = m.slice(0, p.reStart) + j + "\\(" + O)
- }
- L(), y && (m += "\\\\")
- for (var R = u[m.charAt(0)], I = _.length - 1; I > -1; I--) {
- for (
- var N = _[I],
- M = m.slice(0, N.reStart),
- D = m.slice(N.reStart, N.reEnd - 8),
- B = m.slice(N.reEnd),
- F = m.slice(N.reEnd - 8, N.reEnd) + B,
- U = M.split("(").length - 1,
- z = B,
- q = 0;
- q < U;
- q++
- )
- z = z.replace(/\)[+*?]?/, "")
- B = z
- var G = "" === B && t !== w ? "$" : ""
- m = M + D + B + G + F
- }
- if (("" !== m && g && (m = "(?=.)" + m), R && (m = k + m), t === w)) return [m, g]
- if (!g) return x(e)
- var W = s.nocase ? "i" : ""
- try {
- return Object.assign(new RegExp("^" + m + "$", W), {
- _glob: e,
- _src: m
- })
- } catch (V) {
- return new RegExp("$.")
- }
- }
- },
- {
- key: "makeRe",
- value: function () {
- if (this.regexp || !1 === this.regexp) return this.regexp
- var e = this.set
- if (!e.length) return (this.regexp = !1), this.regexp
- var t = this.options,
- n = t.noglobstar ? o : t.dot ? a : s,
- i = t.nocase ? "i" : "",
- l = e
- .map(function (e) {
- return (
- (e = e
- .map(function (e) {
- return "string" === typeof e ? _(e) : e === r ? r : e._src
- })
- .reduce(function (e, t) {
- return (e[e.length - 1] === r && t === r) || e.push(t), e
- }, [])),
- e.forEach(function (t, i) {
- t === r &&
- e[i - 1] !== r &&
- (0 === i
- ? e.length > 1
- ? (e[i + 1] = "(?:\\/|" + n + "\\/)?" + e[i + 1])
- : (e[i] = n)
- : i === e.length - 1
- ? (e[i - 1] += "(?:\\/|" + n + ")?")
- : ((e[i - 1] += "(?:\\/|\\/" + n + "\\/)" + e[i + 1]), (e[i + 1] = r)))
- }),
- e
- .filter(function (e) {
- return e !== r
- })
- .join("/")
- )
- })
- .join("|")
- ;(l = "^(?:" + l + ")$"), this.negate && (l = "^(?!" + l + ").*$")
- try {
- this.regexp = new RegExp(l, i)
- } catch (c) {
- this.regexp = !1
- }
- return this.regexp
- }
- },
- {
- key: "match",
- value: function (e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : this.partial
- if ((this.debug("match", e, this.pattern), this.comment)) return !1
- if (this.empty) return "" === e
- if ("/" === e && t) return !0
- var r = this.options
- "/" !== dn.sep && (e = e.split(dn.sep).join("/")), (e = e.split(f)), this.debug(this.pattern, "split", e)
- var n,
- i = this.set
- this.debug(this.pattern, "set", i)
- for (var o = e.length - 1; o >= 0; o--) if (((n = e[o]), n)) break
- for (var a = 0; a < i.length; a++) {
- var s = i[a],
- l = e
- r.matchBase && 1 === s.length && (l = [n])
- var c = this.matchOne(l, s, t)
- if (c) return !!r.flipNegate || !this.negate
- }
- return !r.flipNegate && this.negate
- }
- }
- ],
- [
- {
- key: "defaults",
- value: function (e) {
- return t.defaults(e).Minimatch
- }
- }
- ]
- ),
- e
- )
- })()
- t.Minimatch = E
- }),
- Nn = {
- ContentTypesPath: "[Content_Types].xml",
- PresentationRelsPath: "ppt/_rels/presentation.xml.rels",
- SlidePath: "ppt/slides/slide[0-9]*.xml",
- SlideRelsPath: "ppt/slides/_rels/slide[0-9]*.xml.rels",
- MediaPath: "ppt/media/**/*.**",
- themePath: "ppt/theme/theme[0-9]*.xml",
- PresentationPath: "ppt/presentation.xml",
- SlideLayoutsPath: "ppt/slideLayouts/slideLayout[0-9]*.xml"
- },
- Mn = {
- compact: !0,
- ignoreDeclaration: !0,
- attributesKey: "attributes",
- elementNameFn: function (e) {
- return e.replace("p:", "").replace("a:", "")
- }
- },
- Dn = (function () {
- var e = T(
- A().mark(function e(t) {
- var r, n, i, o, a, s, l, c, u, f, p, d, h, m, g, y, v, b, w
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (l = Object.keys(t)),
- (c =
- In.match(l, Nn.themePath, {
- matchBase: !0
- }) || []),
- (u = t[c[0]]),
- (e.next = 5),
- u.async("string")
- )
- case 5:
- return (
- (f = e.sent),
- (p = Ir(f, Mn)),
- (d = p.theme.themeElements.clrScheme),
- (h = "#".concat(
- (null === (r = d.lt1.sysClr) || void 0 === r ? void 0 : r.attributes.lastClr) ||
- (null === (n = d.lt1.srgbClr) || void 0 === n ? void 0 : n.attributes.val)
- )),
- (m = "#".concat(
- (null === (i = d.dk1.sysClr) || void 0 === i ? void 0 : i.attributes.lastClr) ||
- (null === (o = d.dk1.srgbClr) || void 0 === o ? void 0 : o.attributes.val)
- )),
- (g = "#".concat(
- (null === (a = d.accent1.sysClr) || void 0 === a ? void 0 : a.attributes.lastClr) ||
- (null === (s = d.accent1.srgbClr) || void 0 === s ? void 0 : s.attributes.val)
- )),
- (y = "Sans-serif"),
- (e.next = 14),
- Jr(t, "ppt/presentation.xml")
- )
- case 14:
- return (
- (v = e.sent),
- (b = 0.5625),
- v.height / v.width === 9 / 16
- ? (b = 0.5625)
- : v.height / v.width === 3 / 4
- ? (b = 0.75)
- : 0.626 === +(v.height / v.width).toFixed(3) && (b = 0.625),
- (w = b),
- e.abrupt("return", {
- backgroundColor: h,
- fontColor: m,
- themeColor: g,
- fontName: y,
- fontSize: "40px",
- viewportRatio: b,
- bestViewportRatio: w
- })
- )
- case 19:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t) {
- return e.apply(this, arguments)
- }
- })(),
- Bn = ["emf", "wmf", "tiff", "tif"],
- Fn = (function () {
- var e = T(
- A().mark(function e(t, r, n, i, o) {
- var a, s, l, c, u, f, p, d, h, m, g, y, v, b
- return A().wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((s = null === r || void 0 === r || null === (a = r.blipFill) || void 0 === a ? void 0 : a.blip),
- (l = s.attributes["r:embed"]),
- l)
- ) {
- e.next = 4
- break
- }
- return e.abrupt("return")
- case 4:
- if (
- ((c = n.Relationships.Relationship || []),
- (u = c.find(function (e) {
- return e.attributes.Id === l
- })),
- u)
- ) {
- e.next = 8
- break
- }
- return e.abrupt("return")
- case 8:
- if (((f = u.attributes.Target), (p = i["ppt".concat(f.replace("..", ""))]), p)) {
- e.next = 12
- break
- }
- return e.abrupt("return")
- case 12:
- return (e.prev = 12), (e.next = 15), p.async("arraybuffer")
- case 15:
- if (
- ((d = e.sent),
- (h = p.name.split(".")),
- (m = "image/".concat(h[h.length - 1])),
- -1 === Bn.indexOf(h[h.length - 1]))
- ) {
- e.next = 20
- break
- }
- return e.abrupt("return", "noSupportImageType")
- case 20:
- return (
- (g = new Blob([d], {
- type: m
- })),
- (y = p.name.split("/").reverse()[0]),
- (v = new File([g], y, {
- type: m
- })),
- (e.next = 25),
- o(v)
- )
- case 25:
- return (b = e.sent), e.abrupt("return", b)
- case 29:
- throw (
- ((e.prev = 29),
- (e.t0 = e["catch"](12)),
- re.error("ppt-file parse image upload failed", e.t0),
- new Error("第".concat(t, "页PPT 图片上传失败,请重试")))
- )
- case 33:
- case "end":
- return e.stop()
- }
- },
- e,
- null,
- [[12, 29]]
- )
- })
- )
- return function (t, r, n, i, o) {
- return e.apply(this, arguments)
- }
- })(),
- Un = (function () {
- var e = T(
- A().mark(function e(t, r, n, i, o, a, s) {
- var c,
- u,
- f,
- p,
- d,
- h,
- m,
- g,
- y,
- v,
- b,
- w,
- x,
- _,
- T,
- E,
- S,
- C,
- k,
- L,
- P,
- O,
- j,
- R,
- I,
- N,
- M,
- D,
- B,
- F,
- U,
- z,
- q,
- G,
- W,
- V,
- H,
- X,
- Y,
- K,
- Z,
- Q,
- J,
- $,
- ee,
- te,
- re,
- ne,
- ie,
- oe,
- ae,
- se,
- le,
- ce,
- ue,
- fe,
- pe,
- de,
- he,
- me,
- ge,
- ye,
- ve,
- be,
- we,
- xe,
- Ae,
- _e,
- Te,
- Ee,
- Se,
- Ce,
- ke,
- Le
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (_ = {
- type: "image",
- id: Nr(),
- left: 0,
- top: 0,
- width: 0,
- height: 0,
- rotate: 0,
- fixedRatio: !0,
- src: "",
- size: 0,
- md5: ""
- }),
- (e.next = 3),
- Fn(t, r, n, o, a)
- )
- case 3:
- if (((T = e.sent), "noSupportImageType" !== T)) {
- e.next = 6
- break
- }
- return e.abrupt("return", "noSupportImageType")
- case 6:
- if ((T && ((_.src = T.url), (_.size = T.size), (_.md5 = T.md5)), _.src)) {
- e.next = 9
- break
- }
- return e.abrupt("return")
- case 9:
- return (
- null !== r &&
- void 0 !== r &&
- null !== (c = r.spPr) &&
- void 0 !== c &&
- null !== (u = c.xfrm) &&
- void 0 !== u &&
- null !== (f = u.attributes) &&
- void 0 !== f &&
- f.rot &&
- (_.rotate =
- r.spPr.xfrm.attributes.rot / 6e4 > 180
- ? r.spPr.xfrm.attributes.rot / 6e4 - 360
- : r.spPr.xfrm.attributes.rot / 6e4),
- (_.flipH =
- (null === r ||
- void 0 === r ||
- null === (p = r.spPr) ||
- void 0 === p ||
- null === (d = p.xfrm) ||
- void 0 === d ||
- null === (h = d.attributes) ||
- void 0 === h
- ? void 0
- : h.flipH) || !1),
- (_.flipV =
- (null === r ||
- void 0 === r ||
- null === (m = r.spPr) ||
- void 0 === m ||
- null === (g = m.xfrm) ||
- void 0 === g ||
- null === (y = g.attributes) ||
- void 0 === y
- ? void 0
- : y.flipV) || !1),
- null !== r &&
- void 0 !== r &&
- null !== (v = r.spPr) &&
- void 0 !== v &&
- v.ln &&
- ((null !== (E = r.spPr.ln) && void 0 !== E && E.noFill) ||
- (null !== (S = r.spPr.ln) && void 0 !== S && S.miter) ||
- ((U = {
- style:
- -1 ===
- (null === (C = r.spPr.ln) ||
- void 0 === C ||
- null === (k = C.prstDash) ||
- void 0 === k ||
- null === (L = k.attributes) ||
- void 0 === L
- ? void 0
- : L.val.toLowerCase().indexOf("solid"))
- ? "dashed"
- : "solid",
- width:
- ((null === (P = r.spPr.ln) || void 0 === P || null === (O = P.attributes) || void 0 === O
- ? void 0
- : O.w) || 9525) / 12700,
- color: "#000000"
- }),
- null !== (j = r.spPr.ln) &&
- void 0 !== j &&
- null !== (R = j.solidFill) &&
- void 0 !== R &&
- null !== (I = R.srgbClr) &&
- void 0 !== I &&
- null !== (N = I.attributes) &&
- void 0 !== N &&
- N.val
- ? (U.color = "#".concat(
- null === (z = r.spPr.ln) ||
- void 0 === z ||
- null === (q = z.solidFill) ||
- void 0 === q ||
- null === (G = q.srgbClr) ||
- void 0 === G ||
- null === (W = G.attributes) ||
- void 0 === W
- ? void 0
- : W.val
- ))
- : null !== (M = r.spPr.ln) &&
- void 0 !== M &&
- null !== (D = M.solidFill) &&
- void 0 !== D &&
- null !== (B = D.schemeClr) &&
- void 0 !== B &&
- null !== (F = B.attributes) &&
- void 0 !== F &&
- F.val &&
- ((K = +i.replace(/[^0-9]/gi, "")),
- (Z = zr(
- s,
- K,
- null === (V = r.spPr.ln) ||
- void 0 === V ||
- null === (H = V.solidFill) ||
- void 0 === H ||
- null === (X = H.schemeClr) ||
- void 0 === X ||
- null === (Y = X.attributes) ||
- void 0 === Y
- ? void 0
- : Y.val
- )),
- Z && (U.color = Z)),
- (_.outline = U))),
- null !== r &&
- void 0 !== r &&
- null !== (b = r.spPr) &&
- void 0 !== b &&
- null !== (w = b.effectLst) &&
- void 0 !== w &&
- w.outerShdw &&
- ((de = {
- blur: 1,
- color: "#000000",
- h:
- ((null === (Q = r.spPr.effectLst.outerShdw) || void 0 === Q ? void 0 : Q.attributes.sx) || 12700) /
- 12700,
- v: ((null === (J = r.spPr.effectLst.outerShdw) || void 0 === J ? void 0 : J.attributes.sy) || 12700) / 12700
- }),
- null !== ($ = r.spPr) &&
- void 0 !== $ &&
- null !== (ee = $.effectLst) &&
- void 0 !== ee &&
- null !== (te = ee.outerShdw) &&
- void 0 !== te &&
- null !== (re = te.attributes) &&
- void 0 !== re &&
- re.blurRad &&
- (de.blur = (r.spPr.effectLst.outerShdw.attributes.blurRad / 12700 / 100) * 20),
- null !== (ne = r.spPr) &&
- void 0 !== ne &&
- null !== (ie = ne.effectLst) &&
- void 0 !== ie &&
- null !== (oe = ie.outerShdw) &&
- void 0 !== oe &&
- null !== (ae = oe.srgbClr) &&
- void 0 !== ae &&
- null !== (se = ae.attributes) &&
- void 0 !== se &&
- se.val
- ? (de.color = "#".concat(r.spPr.effectLst.outerShdw.srgbClr.attributes.val))
- : null !== (le = r.spPr) &&
- void 0 !== le &&
- null !== (ce = le.effectLst) &&
- void 0 !== ce &&
- null !== (ue = ce.outerShdw) &&
- void 0 !== ue &&
- null !== (fe = ue.schemeClr) &&
- void 0 !== fe &&
- null !== (pe = fe.attributes) &&
- void 0 !== pe &&
- pe.val &&
- ((he = +i.replace(/[^0-9]/gi, "")),
- (me = zr(s, he, r.spPr.effectLst.outerShdw.schemeClr.attributes.val)),
- me && (de.color = me)),
- (_.shadow = de)),
- null !== r &&
- void 0 !== r &&
- null !== (x = r.blipFill) &&
- void 0 !== x &&
- x.srcRect &&
- ((Te =
- ((null === (ge = r.blipFill.srcRect) || void 0 === ge || null === (ye = ge.attributes) || void 0 === ye
- ? void 0
- : ye.t) || 0) / 1e3),
- (Ee =
- 100 -
- (null === (ve = r.blipFill.srcRect) || void 0 === ve || null === (be = ve.attributes) || void 0 === be
- ? void 0
- : be.b) /
- 1e3 || 100),
- (Se =
- ((null === (we = r.blipFill.srcRect) || void 0 === we || null === (xe = we.attributes) || void 0 === xe
- ? void 0
- : xe.l) || 0) / 1e3),
- (Ce =
- 100 -
- (null === (Ae = r.blipFill.srcRect) || void 0 === Ae || null === (_e = Ae.attributes) || void 0 === _e
- ? void 0
- : _e.r) /
- 1e3 || 100),
- (ke = {
- range: [
- [Se, Te],
- [Ce, Ee]
- ],
- shape: "rect"
- }),
- (_.clip = ke)),
- (e.next = 17),
- Wr(r, n, o)
- )
- case 17:
- return (Le = e.sent), l.a.merge(_, Le), e.abrupt("return", _)
- case 20:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r, n, i, o, a, s) {
- return e.apply(this, arguments)
- }
- })(),
- zn = function (e) {
- var t = ""
- switch (e) {
- case "arrow":
- case "triangle":
- case "stealth":
- t = "arrow"
- break
- case "oval":
- case "diamond":
- t = "dot"
- break
- default:
- t = ""
- break
- }
- return t
- },
- qn = function (e, t, r, n, i, o, a) {
- var s = {
- type: "line",
- id: Nr(),
- left: 0,
- top: 0,
- width: 2,
- start: [0, 0],
- end: [0, 0],
- points: ["", ""],
- color: "#5b9bd5",
- style: "solid"
- },
- c = 1,
- u = 1
- return Wr(t, r, i)
- .then(function (e) {
- var r = t.spPr,
- n = void 0 === r ? {} : r,
- i = n.xfrm,
- o = (null === i || void 0 === i ? void 0 : i.attributes) || {},
- a = o.flipH,
- f = o.flipV,
- p = {
- left: e.left,
- top: e.top,
- start: [0, 0],
- end: [e.width, e.height]
- }
- l.a.merge(s, p),
- (c = e.width),
- (u = e.height),
- a &&
- !f &&
- l.a.merge(
- s,
- P(
- P({}, p),
- {},
- {
- start: [e.width, 0],
- end: [0, e.height]
- }
- )
- ),
- !a &&
- f &&
- l.a.merge(
- s,
- P(
- P({}, p),
- {},
- {
- start: [0, e.height],
- end: [e.width, 0]
- }
- )
- ),
- a &&
- f &&
- l.a.merge(
- s,
- P(
- P({}, p),
- {},
- {
- start: [e.height, e.width],
- end: [0, 0]
- }
- )
- )
- })
- .then(function () {
- var e,
- r,
- n,
- i,
- o,
- a = t.spPr,
- c = E(s.points, 2),
- u = c[0],
- f = c[1],
- p = s.style
- if (a && null !== a && void 0 !== a && a.ln) {
- var d,
- h,
- m = a.ln,
- g = m.headEnd,
- y = m.tailEnd
- g && (u = zn(null === g || void 0 === g || null === (d = g.attributes) || void 0 === d ? void 0 : d.type)),
- y && (f = zn(null === y || void 0 === y || null === (h = y.attributes) || void 0 === h ? void 0 : h.type))
- }
- a &&
- null !== a &&
- void 0 !== a &&
- a.ln &&
- null !== a &&
- void 0 !== a &&
- null !== (e = a.ln) &&
- void 0 !== e &&
- e.prstDash &&
- "solid" !==
- (null === a || void 0 === a || null === (r = a.ln) || void 0 === r || null === (n = r.prstDash) || void 0 === n
- ? void 0
- : n.attributes.val) &&
- "tx1" !==
- (null === a || void 0 === a || null === (i = a.ln) || void 0 === i || null === (o = i.prstDash) || void 0 === o
- ? void 0
- : o.attributes.val) &&
- (p = "dashed"),
- l.a.merge(s, {
- points: [u, f],
- style: p
- })
- })
- .then(function () {
- var e,
- r,
- i,
- o,
- c,
- u,
- f = t.spPr,
- p = t.style,
- d = +n.replace(/[^0-9]/gi, ""),
- h = s.color,
- m = s.width,
- g = s.shadow
- if (
- f &&
- null !== f &&
- void 0 !== f &&
- f.ln &&
- null !== f &&
- void 0 !== f &&
- null !== (e = f.ln) &&
- void 0 !== e &&
- e.solidFill
- ) {
- var y,
- v,
- b,
- w = null === f || void 0 === f || null === (y = f.ln) || void 0 === y ? void 0 : y.solidFill,
- x = w.schemeClr,
- A = w.srgbClr
- if (
- (x && (h = zr(a, d, x.attributes.val)),
- (null !== x && void 0 !== x && x.lumMod) || (null !== x && void 0 !== x && x.lumOff))
- )
- h = Hr(
- h,
- null === x || void 0 === x || null === (v = x.lumMod) || void 0 === v ? void 0 : v.attributes.val,
- null === x || void 0 === x || null === (b = x.lumOff) || void 0 === b ? void 0 : b.attributes.val
- )
- A && (h = "#".concat(A.attributes.val))
- } else if (p && null !== p && void 0 !== p && p.lnRef) {
- var _ = p.lnRef,
- T = _.schemeClr,
- E = _.srgbClr,
- S = T || E || {},
- C = S.lumMod,
- k = S.lumOff
- T && (h = zr(a, d, T.attributes.val)),
- E && (h = "#".concat(E.attributes.val)),
- (C || k) &&
- (h = Hr(
- h,
- null === C || void 0 === C ? void 0 : C.attributes.val,
- null === k || void 0 === k ? void 0 : k.attributes.val
- ))
- }
- f &&
- null !== f &&
- void 0 !== f &&
- f.ln &&
- null !== f &&
- void 0 !== f &&
- null !== (r = f.ln) &&
- void 0 !== r &&
- null !== (i = r.attributes) &&
- void 0 !== i &&
- i.w &&
- (m = Dr(
- null === f || void 0 === f || null === (c = f.ln) || void 0 === c || null === (u = c.attributes) || void 0 === u
- ? void 0
- : u.w
- ))
- if (
- f &&
- null !== f &&
- void 0 !== f &&
- f.effectLst &&
- null !== f &&
- void 0 !== f &&
- null !== (o = f.effectLst) &&
- void 0 !== o &&
- o.outerShdw
- ) {
- var L,
- P,
- O = (null === f || void 0 === f || null === (L = f.effectLst) || void 0 === L ? void 0 : L.outerShdw.attributes) || {},
- j = O.blurRad,
- R = O.dist,
- I = O.sx
- g = {
- blur: Dr(j || 12700),
- color: "#000000",
- h: Dr(I),
- v: Dr(R)
- }
- var N = null === f || void 0 === f || null === (P = f.effectLst) || void 0 === P ? void 0 : P.outerShdw,
- M = N.schemeClr,
- D = N.srgbClr
- M && (g.color = zr(a, d, M.attributes.val)), D && (g.color = "#".concat(D.attributes.val))
- }
- l.a.merge(s, {
- color: h,
- width: m,
- shadow: g
- })
- })
- .then(function () {
- var e, r, n
- return {
- id:
- null === t ||
- void 0 === t ||
- null === (e = t.nvCxnSpPr) ||
- void 0 === e ||
- null === (r = e.cNvPr) ||
- void 0 === r ||
- null === (n = r.attributes) ||
- void 0 === n
- ? void 0
- : n.id,
- element: s,
- lineWidth: c,
- lineHeight: u
- }
- })
- },
- Gn = function (e, t, r, n, i, o, a) {
- return new Promise(function (s, l) {
- var c,
- u = Array.isArray(t) ? t : [t],
- f = [],
- p = I(u)
- try {
- for (p.s(); !(c = p.n()).done; ) {
- var d = c.value
- f.push(qn(e, d, r, n, i, o, a))
- }
- } catch (h) {
- p.e(h)
- } finally {
- p.f()
- }
- Promise.all(f).then(function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : []
- s(e.filter(Boolean))
- })
- })
- },
- Wn =
- ((n = {}),
- O(n, "roundRect", {
- editable: !0,
- defaultValue: 0.125,
- range: [0, 0.5],
- relative: "left",
- getBaseSize: function (e, t) {
- return Math.min(e, t)
- },
- formula: function (e, t, r) {
- var n = Math.min(e, t) * r
- return "M "
- .concat(n, " 0 L ")
- .concat(e - n, " 0 Q ")
- .concat(e, " 0 ")
- .concat(e, " ")
- .concat(n, " L ")
- .concat(e, " ")
- .concat(t - n, " Q ")
- .concat(e, " ")
- .concat(t, " ")
- .concat(e - n, " ")
- .concat(t, " L ")
- .concat(n, " ")
- .concat(t, " Q 0 ")
- .concat(t, " 0 ")
- .concat(t - n, " L 0 ")
- .concat(n, " Q 0 0 ")
- .concat(n, " 0 Z")
- }
- }),
- O(n, "cutRectDiagonal", {
- editable: !0,
- defaultValue: 0.2,
- range: [0, 0.9],
- relative: "right",
- getBaseSize: function (e, t) {
- return Math.min(e, t)
- },
- formula: function (e, t, r) {
- var n = Math.min(e, t) * r
- return "M 0 "
- .concat(t - n, " L 0 0 L ")
- .concat(e - n, " 0 L ")
- .concat(e, " ")
- .concat(n, " L ")
- .concat(e, " ")
- .concat(t, " L ")
- .concat(n, " ")
- .concat(t, " Z")
- }
- }),
- O(n, "cutRectSingle", {
- editable: !0,
- defaultValue: 0.2,
- range: [0, 0.9],
- relative: "right",
- getBaseSize: function (e, t) {
- return Math.min(e, t)
- },
- formula: function (e, t, r) {
- var n = Math.min(e, t) * r
- return "M 0 "
- .concat(t, " L 0 0 L ")
- .concat(e - n, " 0 L ")
- .concat(e, " ")
- .concat(n, " L ")
- .concat(e, " ")
- .concat(t, " Z")
- }
- }),
- O(n, "cutRectSameSide", {
- editable: !0,
- defaultValue: 0.2,
- range: [0, 0.5],
- relative: "left",
- getBaseSize: function (e, t) {
- return Math.min(e, t)
- },
- formula: function (e, t, r) {
- var n = Math.min(e, t) * r
- return "M 0 "
- .concat(n, " L ")
- .concat(n, " 0 L ")
- .concat(e - n, " 0 L ")
- .concat(e, " ")
- .concat(n, " L ")
- .concat(e, " ")
- .concat(t, " L 0 ")
- .concat(t, " Z")
- }
- }),
- O(n, "roundRectDiagonal", {
- editable: !0,
- defaultValue: 0.125,
- range: [0, 1],
- relative: "right",
- getBaseSize: function (e, t) {
- return Math.min(e, t)
- },
- formula: function (e, t, r) {
- var n = Math.min(e, t) * r
- return "M 0 0 L "
- .concat(e - n, " 0 Q ")
- .concat(e, " 0 ")
- .concat(e, " ")
- .concat(n, " L ")
- .concat(e, " ")
- .concat(t, " L ")
- .concat(n, " ")
- .concat(t, " Q 0 ")
- .concat(t, " 0 ")
- .concat(t - n, " L 0 0 Z")
- }
- }),
- O(n, "roundRectSingle", {
- editable: !0,
- defaultValue: 0.125,
- range: [0, 1],
- relative: "right",
- getBaseSize: function (e, t) {
- return Math.min(e, t)
- },
- formula: function (e, t, r) {
- var n = Math.min(e, t) * r
- return "M 0 0 L "
- .concat(e - n, " 0 Q ")
- .concat(e, " 0 ")
- .concat(e, " ")
- .concat(n, " L ")
- .concat(e, " ")
- .concat(t, " L 0 ")
- .concat(t, " L 0 0 Z")
- }
- }),
- O(n, "roundRectSameSide", {
- editable: !0,
- defaultValue: 0.125,
- range: [0, 0.5],
- relative: "left",
- getBaseSize: function (e, t) {
- return Math.min(e, t)
- },
- formula: function (e, t, r) {
- var n = Math.min(e, t) * r
- return "M 0 "
- .concat(n, " Q 0 0 ")
- .concat(n, " 0 L ")
- .concat(e - n, " 0 Q ")
- .concat(e, " 0 ")
- .concat(e, " ")
- .concat(n, " L ")
- .concat(e, " ")
- .concat(t, " L 0 ")
- .concat(t, " Z")
- }
- }),
- O(n, "message", {
- formula: function (e, t) {
- var r = 0.2 * e,
- n = 0.2 * t
- return "M 0 0 L "
- .concat(e, " 0 L ")
- .concat(e, " ")
- .concat(t - n, " L ")
- .concat(e / 2, " ")
- .concat(t - n, " L ")
- .concat(e / 2 - r, " ")
- .concat(t, " L ")
- .concat(e / 2 - r, " ")
- .concat(t - n, " L 0 ")
- .concat(t - n, " Z")
- }
- }),
- O(n, "roundMessage", {
- formula: function (e, t) {
- var r = 0.125 * Math.min(e, t),
- n = 0.2 * e,
- i = 0.2 * t
- return "M 0 "
- .concat(r, " Q 0 0 ")
- .concat(r, " 0 L ")
- .concat(e - r, " 0 Q ")
- .concat(e, " 0 ")
- .concat(e, " ")
- .concat(r, " L ")
- .concat(e, " ")
- .concat(t - r - i, " Q ")
- .concat(e, " ")
- .concat(t - i, " ")
- .concat(e - r, " ")
- .concat(t - i, " L ")
- .concat(e / 2, " ")
- .concat(t - i, " L ")
- .concat(e / 2 - n, " ")
- .concat(t, " L ")
- .concat(e / 2 - n, " ")
- .concat(t - i, " L ")
- .concat(r, " ")
- .concat(t - i, " Q 0 ")
- .concat(t - i, " 0 ")
- .concat(t - r - i, " L 0 ")
- .concat(r, " Z")
- }
- }),
- O(n, "L", {
- editable: !0,
- defaultValue: 0.25,
- range: [0.1, 0.9],
- relative: "left",
- getBaseSize: function (e, t) {
- return Math.min(e, t)
- },
- formula: function (e, t, r) {
- var n = Math.min(e, t) * r
- return "M 0 0 L 0 "
- .concat(t, " L ")
- .concat(e, " ")
- .concat(t, " L ")
- .concat(e, " ")
- .concat(t - n, " L ")
- .concat(n, " ")
- .concat(t - n, " L ")
- .concat(n, " 0 Z")
- }
- }),
- O(n, "ringRect", {
- editable: !0,
- defaultValue: 0.25,
- range: [0.1, 0.45],
- relative: "left",
- getBaseSize: function (e, t) {
- return Math.min(e, t)
- },
- formula: function (e, t, r) {
- var n = Math.min(e, t) * r
- return "M 0 0 "
- .concat(e, " 0 ")
- .concat(e, " ")
- .concat(t, " L 0 ")
- .concat(t, " L 0 0 Z M ")
- .concat(n, " ")
- .concat(n, " L ")
- .concat(n, " ")
- .concat(t - n, " L ")
- .concat(e - n, " ")
- .concat(t - n, " L ")
- .concat(e - n, " ")
- .concat(n, " Z")
- }
- }),
- O(n, "plus", {
- editable: !0,
- defaultValue: 0.25,
- range: [0.1, 0.9],
- relative: "center",
- getBaseSize: function (e, t) {
- return Math.min(e, t)
- },
- formula: function (e, t, r) {
- var n = Math.min(e, t) * r
- return "M "
- .concat(e / 2 - n / 2, " 0 L ")
- .concat(e / 2 - n / 2, " ")
- .concat(t / 2 - n / 2, " L 0 ")
- .concat(t / 2 - n / 2, " L 0 ")
- .concat(t / 2 + n / 2, " L ")
- .concat(e / 2 - n / 2, " ")
- .concat(t / 2 + n / 2, " L ")
- .concat(e / 2 - n / 2, " ")
- .concat(t, " L ")
- .concat(e / 2 + n / 2, " ")
- .concat(t, " L ")
- .concat(e / 2 + n / 2, " ")
- .concat(t / 2 + n / 2, " L ")
- .concat(e, " ")
- .concat(t / 2 + n / 2, " L ")
- .concat(e, " ")
- .concat(t / 2 - n / 2, " L ")
- .concat(e / 2 + n / 2, " ")
- .concat(t / 2 - n / 2, " L ")
- .concat(e / 2 + n / 2, " 0 Z")
- }
- }),
- O(n, "triangle", {
- editable: !0,
- defaultValue: 0.5,
- range: [0, 1],
- relative: "left",
- getBaseSize: function (e, t) {
- return e
- },
- formula: function (e, t, r) {
- var n = e * r
- return "M ".concat(n, " 0 L 0 ").concat(t, " L ").concat(e, " ").concat(t, " Z")
- }
- }),
- O(n, "parallelogramLeft", {
- editable: !0,
- defaultValue: 0.25,
- range: [0, 0.9],
- relative: "left",
- getBaseSize: function (e, t) {
- return e
- },
- formula: function (e, t, r) {
- var n = e * r
- return "M "
- .concat(n, " 0 L ")
- .concat(e, " 0 L ")
- .concat(e - n, " ")
- .concat(t, " L 0 ")
- .concat(t, " Z")
- }
- }),
- O(n, "parallelogramRight", {
- editable: !0,
- defaultValue: 0.25,
- range: [0, 0.9],
- relative: "right",
- getBaseSize: function (e, t) {
- return e
- },
- formula: function (e, t, r) {
- var n = e * r
- return "M 0 0 L "
- .concat(e - n, " 0 L ")
- .concat(e, " ")
- .concat(t, " L ")
- .concat(n, " ")
- .concat(t, " Z")
- }
- }),
- O(n, "trapezoid", {
- editable: !0,
- defaultValue: 0.25,
- range: [0, 0.5],
- relative: "left",
- getBaseSize: function (e, t) {
- return e
- },
- formula: function (e, t, r) {
- var n = e * r
- return "M "
- .concat(n, " 0 L ")
- .concat(e - n, " 0 L ")
- .concat(e, " ")
- .concat(t, " L 0 ")
- .concat(t, " Z")
- }
- }),
- O(n, "bullet", {
- editable: !0,
- defaultValue: 0.2,
- range: [0, 1],
- relative: "top",
- getBaseSize: function (e, t) {
- return t
- },
- formula: function (e, t, r) {
- var n = t * r
- return "M "
- .concat(e / 2, " 0 L 0 ")
- .concat(n, " L 0 ")
- .concat(t, " L ")
- .concat(e, " ")
- .concat(t, " L ")
- .concat(e, " ")
- .concat(n, " Z")
- }
- }),
- O(n, "indicator", {
- editable: !0,
- defaultValue: 0.2,
- range: [0, 0.9],
- relative: "right",
- getBaseSize: function (e, t) {
- return e
- },
- formula: function (e, t, r) {
- var n = e * r
- return "M "
- .concat(e, " ")
- .concat(t / 2, " L ")
- .concat(e - n, " 0 L 0 0 L ")
- .concat(n, " ")
- .concat(t / 2, " L 0 ")
- .concat(t, " L ")
- .concat(e - n, " ")
- .concat(t, " Z")
- }
- }),
- n),
- Vn = [
- {
- type: "矩形",
- children: [
- {
- viewBox: [200, 200],
- path: "M 0 0 L 200 0 L 200 200 L 0 200 Z",
- name: "rect"
- },
- {
- viewBox: [200, 200],
- path: "M 50 0 L 150 0 Q 200 0 200 50 L 200 150 Q 200 200 150 200 L 50 200 Q 0 200 0 150 L 0 50 Q 0 0 50 0 Z",
- pathFormula: "roundRect",
- name: "roundRect"
- },
- {
- viewBox: [200, 200],
- path: "M 0 150 L 0 0 L 150 0 L 200 50 L 200 200 L 50 200 Z",
- pathFormula: "cutRectDiagonal",
- name: "cutRectDiaGonal"
- },
- {
- viewBox: [200, 200],
- path: "M 0 200 L 0 0 L 150 0 L 200 50 L 200 200 Z",
- pathFormula: "cutRectSingle",
- name: "cutRectSingle"
- },
- {
- viewBox: [200, 200],
- path: "M 0 50 L 50 0 L 150 0 L 200 50 L 200 200 L 0 200 Z",
- pathFormula: "cutRectSameSide",
- name: "cutRectSameSide"
- },
- {
- viewBox: [200, 200],
- path: "M 0 0 L 150 0 Q 200 0 200 50 L 200 200 L 50 200 Q 0 200 0 150 L 0 0 Z",
- pathFormula: "roundRectDiagonal",
- name: "roundRectDiagonal"
- },
- {
- viewBox: [200, 200],
- path: "M 0 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 L 0 0 Z",
- pathFormula: "roundRectSingle",
- name: "roundRectSingle"
- },
- {
- viewBox: [200, 200],
- path: "M 0 50 Q 0 0 50 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 Z",
- pathFormula: "roundRectSameSide",
- name: "roundRectSameSide"
- }
- ]
- },
- {
- type: "常用形状",
- children: [
- {
- viewBox: [200, 200],
- path: "M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",
- name: "ellipse"
- },
- {
- viewBox: [200, 200],
- path: "M 100 0 L 0 200 L 200 200 L 100 0 Z",
- pathFormula: "triangle",
- name: "triangle"
- },
- {
- viewBox: [200, 200],
- path: "M 0 0 L 0 200 L 200 200 Z",
- name: "rtTriangle"
- },
- {
- viewBox: [200, 200],
- path: "M 50 0 L 200 0 L 150 200 L 0 200 L 50 0 Z",
- pathFormula: "parallelogramLeft",
- name: "parallelogramLeft"
- },
- {
- viewBox: [200, 200],
- path: "M 0 0 L 150 0 L 200 200 L 50 200 L 0 0 Z",
- pathFormula: "parallelogramRight",
- name: "parallelogramRight"
- },
- {
- viewBox: [200, 200],
- path: "M 50 0 L 150 0 L 200 200 L 0 200 L 50 0 Z",
- pathFormula: "trapezoid",
- name: "trapezoid"
- },
- {
- viewBox: [200, 200],
- path: "M 100 0 L 0 100 L 100 200 L 200 100 L 100 0 Z",
- name: "diamond"
- },
- {
- viewBox: [200, 200],
- path: "M 100 0 L 0 50 L 0 200 L 200 200 L 200 50 L 100 0 Z",
- pathFormula: "bullet",
- name: "bullet"
- },
- {
- viewBox: [200, 200],
- path: "M 200 100 L 150 0 L 0 0 L 50 100 L 0 200 L 150 200 L 200 100 Z",
- pathFormula: "indicator",
- name: "indicator"
- },
- {
- viewBox: [200, 200],
- path: "M 0 200 A 50 100 0 1 1 200 200 L 0 200 Z",
- name: "halfUpElliptical"
- },
- {
- viewBox: [200, 200],
- path: "M 40 20 A 100 100 0 1 0 200 100 L 100 100 L 40 20 Z",
- name: "5/8pie"
- },
- {
- viewBox: [200, 200],
- path: "M 100 0 A 100 100 102 1 0 200 100 L 100 100 L 100 0 Z",
- name: "pie"
- },
- {
- viewBox: [200, 200],
- path: "M 160 20 A 100 100 0 1 0 200 100 L 100 100 L 160 20 Z",
- name: "7/8pie"
- },
- {
- viewBox: [200, 200],
- path: "M 100 0 A 100 100 102 1 0 200 100 L 100 0 Z",
- name: "chord"
- },
- {
- viewBox: [200, 200],
- path: "M 100 0 A 100 100 102 1 0 200 100 L 200 0 L 100 0 Z",
- name: "teardrop"
- },
- {
- viewBox: [200, 200],
- path: "M 0 0 L 200 0 Q 200 200 0 200 L 0 0 Z",
- name: "1/4pie"
- },
- {
- viewBox: [200, 200],
- path: "M 100 0 L 0 90 L 50 200 L 150 200 L 200 90 L 100 0 Z",
- name: "pentagon"
- },
- {
- viewBox: [200, 200],
- path: "M 100 0 L 0 60 L 0 140 L 100 200 L 200 140 L 200 60 L 100 0 Z",
- name: "hexagon"
- },
- {
- viewBox: [200, 200],
- path: "M 60 0 L 140 0 L 200 60 L 200 140 L 140 200 L 60 200 L 0 140 L 0 60 L 60 0 Z",
- name: "octagon"
- },
- {
- viewBox: [200, 200],
- path: "M 75 0 L 125 0 L 175 25 L 200 75 L 200 125 L 175 175 L 125 200 L 75 200 L 25 175 L 0 125 L 0 75 L 25 25 L 75 0 Z",
- name: "dodecagon"
- },
- {
- viewBox: [200, 200],
- path: "M 150 0 A 50 100 0 1 1 150 200 L 0 200 L 0 0 L 150 0 Z",
- name: "flowChartDelay"
- },
- {
- viewBox: [200, 200],
- path: "M 50 0 A 25 50 0 1 0 50 200 L 150 200 A 25 50 0 1 0 150 0 L 50 0 Z",
- name: "flowChartTerminator"
- },
- {
- viewBox: [200, 200],
- path: "M 150 0 A 50 100 0 1 1 150 200 L 0 200 A 50 100 0 0 0 0 0 L 150 0 Z",
- name: "flowChartOnlineStorage"
- },
- {
- viewBox: [200, 200],
- path: "M 200 0 L 200 200 L 0 200 L 0 100 L 200 0 Z",
- name: "flowChartManualInputLeft"
- },
- {
- viewBox: [200, 200],
- path: "M 0 0 L 200 100 L 200 200 L 0 200 L 0 0 Z",
- name: "flowChartManualInputRight"
- },
- {
- viewBox: [200, 200],
- path: "M 200 0 L 100 0 L 0 100 L 0 200 L 200 0 Z",
- name: "diagStripe"
- },
- {
- viewBox: [200, 200],
- path: "M 50 0 L 150 0 L 150 50 L 200 50 L 200 150 L 150 150 L 150 200 L 50 200 L 50 150 L 0 150 L 0 50 L 50 50 L 50 0 Z",
- name: "plusStatic"
- },
- {
- viewBox: [200, 200],
- path: "M 0 0 L 0 200 L 200 200 L 200 140 L 60 140 L 60 0 L 0 0 Z",
- pathFormula: "L",
- name: "L"
- },
- {
- viewBox: [200, 200],
- path: "M0 0 L200 0 L200 200 L0 200 L0 0 Z M50 50 L50 150 L150 150 L150 50 Z",
- pathFormula: "ringRect",
- name: "ringRect"
- },
- {
- viewBox: [200, 200],
- path: "M0 100 A100 100 0 1 1 0 101 Z M150 100 A50 50 0 1 0 150 101 Z",
- name: "donut"
- },
- {
- viewBox: [200, 200],
- path: "M 70 0 L 70 70 L 0 70 L 0 130 L 70 130 L 70 200 L 130 200 L 130 130 L 200 130 L 200 70 L 130 70 L 130 0 L 70 0 Z",
- pathFormula: "plus",
- name: "plus"
- },
- {
- viewBox: [200, 200],
- path: "M 40 0 L 0 40 L 60 100 L 0 160 L 40 200 L 100 140 L 160 200 L 200 160 L 140 100 L 200 40 L 160 0 L 100 60 L 40 0 Z",
- name: "multiply"
- },
- {
- viewBox: [200, 200],
- path: "M 0 0 L 200 0 L 200 160 L 100 160 L 60 200 L 60 160 L 0 160 Z",
- pathFormula: "message",
- name: "message"
- },
- {
- viewBox: [200, 200],
- path: "M 0 40 Q 0 0 40 0 L 160 0 Q 200 0 200 40 L 200 120 Q 200 160 160 160 L 100 160 L 60 200 L 60 160 L 40 160 Q 0 160 0 120 L 0 40 Z",
- pathFormula: "roundMessage",
- name: "roundMessage"
- },
- {
- viewBox: [200, 200],
- path: "M 180 160 A 100 100 0 1 0 100 200 L 200 200 L 200 160 L 180 160 Z",
- name: "flowChartMagneticTape"
- },
- {
- viewBox: [200, 200],
- path: "M 200 0 L 0 0 L 200 200 L 0 200 L 200 0 Z",
- name: "flowChartCollate"
- },
- {
- viewBox: [200, 200],
- path: "M 0 20 C 60 60 140 -40 200 20 L 200 180 C 140 140 60 240 0 180 L 0 20 Z",
- name: "wave"
- },
- {
- viewBox: [200, 200],
- path: "M 0 20 C 40 -40 60 60 100 20 C 140 -40 160 60 200 20 L 200 180 C 140 240 160 140 100 180 C 40 240 60 140 0 180 L 0 20 Z",
- name: "doubleWave"
- },
- {
- viewBox: [200, 200],
- path: "M 100 0 Q 0 50 0 175 Q 100 225 200 175 Q 200 50 100 0 Z",
- name: "roundTriangle"
- },
- {
- viewBox: [200, 200],
- path: "M 0 100 A 50 50 0 1 1 200 100 L 100 200 L 0 100 Z",
- name: "parachute"
- },
- {
- viewBox: [200, 200],
- path: "M 100 0 L 60 60 L 0 100 L 60 140 L 100 200 L 140 140 L 200 100 L 140 60 L 100 0 Z",
- name: "star4"
- },
- {
- viewBox: [200, 200],
- path: "M 100 0 L 80 40 L 20 20 L 40 80 L 0 100 L 40 120 L 20 180 L 80 160 L 100 200 L 120 160 L 180 180 L 160 120 L 200 100 L 160 80 L 180 20 L 120 40 L 100 0 Z",
- name: "star8"
- }
- ]
- },
- {
- type: "箭头",
- children: [
- {
- viewBox: [200, 200],
- path: "M 100 0 L 0 100 L 50 100 L 50 200 L 150 200 L 150 100 L 200 100 L 100 0 Z",
- name: "upArrow"
- },
- {
- viewBox: [200, 200],
- path: "M 100 200 L 200 100 L 150 100 L 150 0 L 50 0 L 50 100 L 0 100 L 100 200 Z",
- name: "downArrow"
- },
- {
- viewBox: [200, 200],
- path: "M 0 100 L 100 0 L 100 50 L 200 50 L 200 150 L 100 150 L 100 200 L 0 100 Z",
- name: "leftArrow"
- },
- {
- viewBox: [200, 200],
- path: "M 200 100 L 100 0 L 100 50 L 0 50 L 0 150 L 100 150 L 100 200 L 200 100 Z",
- name: "rightArrow"
- },
- {
- viewBox: [200, 200],
- path: "M 100 0 L 0 60 L 60 60 L 60 140 L 0 140 L 100 200 L 200 140 L 140 140 L 140 60 L 200 60 L 100 0 Z",
- name: "upDownArrow"
- },
- {
- viewBox: [200, 200],
- path: "M 0 100 L 60 0 L 60 60 L 140 60 L 140 0 L 200 100 L 140 200 L 140 140 L 60 140 L 60 200 L 0 100 Z",
- name: "leftRightArrow"
- },
- {
- viewBox: [200, 200],
- path: "M 100 0 L 60 40 L 80 40 L 80 80 L 40 80 L 40 60 L 0 100 L 40 140 L 40 120 L 80 120 L 80 160 L 60 160 L 100 200 L 140 160 L 120 160 L 120 120 L 160 120 L 160 140 L 200 100 L 160 60 L 160 80 L 120 80 L 120 40 L 140 40 L 100 0 Z",
- name: "quadArrow"
- },
- {
- viewBox: [200, 200],
- path: "M 0 100 L 100 0 L 100 50 L 200 50 L 150 100 L 200 150 L 100 150 L 100 200 L 0 100 Z",
- name: "notchedLeftArrow"
- },
- {
- viewBox: [200, 200],
- path: "M 200 100 L 100 0 L 100 50 L 0 50 L 50 100 L 0 150 L 100 150 L 100 200 L 200 100 Z",
- name: "notchedRightArrow"
- },
- {
- viewBox: [200, 200],
- path: "M 0 100 L 80 20 L 80 80 L 120 80 L 120 0 L 200 0 L 200 200 L 120 200 L 120 120 L 80 120 L 80 180 L 0 100 Z",
- name: "leftArrowCallout"
- },
- {
- viewBox: [200, 200],
- path: "M 200 100 L 120 20 L 120 80 L 80 80 L 80 0 L 0 0 L 0 200 L 80 200 L 80 120 L 120 120 L 120 180 L 200 100 Z",
- name: "rightArrowCallout"
- },
- {
- viewBox: [200, 200],
- path: "M 0 0 L 120 0 L 200 100 L 120 200 L 0 200 L 80 100 L 0 0 Z",
- name: "chevronRight"
- },
- {
- viewBox: [200, 200],
- path: "M 80 0 L 200 0 L 120 100 L 200 200 L 80 200 L 0 100 L 80 0 Z",
- name: "chevronLeft"
- },
- {
- viewBox: [200, 200],
- path: "M 0 0 L 140 0 L 200 100 L 140 200 L 0 200 L 0 100 L 0 0 Z",
- name: "homePlateRight"
- },
- {
- viewBox: [200, 200],
- path: "M 60 0 L 200 0 L 200 100 L 200 200 L 60 200 L 0 100 L 60 0 Z",
- name: "homePlateLeft"
- },
- {
- viewBox: [200, 200],
- path: "M 0 0 L 200 100 L 0 200 L 60 100 L 0 0 Z",
- name: "triangleArrowRight"
- },
- {
- viewBox: [200, 200],
- path: "M 200 0 L 0 100 L 200 200 L 140 100 L 200 0 Z",
- name: "triangleArrowLeft"
- },
- {
- viewBox: [200, 200],
- path: "M 0 0 L 80 0 L 200 100 L 80 200 L 0 200 L 120 100 L 0 0 Z",
- name: "chevronThinRight"
- },
- {
- viewBox: [200, 200],
- path: "M 200 0 L 120 0 L 0 100 L 120 200 L 200 200 L 80 100 L 200 0 Z",
- name: "chevronThinLeft"
- },
- {
- viewBox: [200, 200],
- path: "M 0 200 L 180 200 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 160 L 0 160 L 0 200 Z",
- name: "bentUpArrow"
- },
- {
- viewBox: [200, 200],
- path: "M 0 200 L 0 20 L 160 20 L 160 0 L 200 40 L 160 80 L 160 60 L 40 60 L 40 200 L 0 200 Z",
- name: "bentRightArrow"
- },
- {
- viewBox: [200, 200],
- path: "M 40 180 L 180 180 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 140 L 40 140 L 40 120 L 0 160 L 40 200 L 40 180 Z",
- name: "leftUpArrow"
- },
- {
- viewBox: [1024, 1024],
- path: "M398.208 302.912V64L0 482.112l398.208 418.176V655.36c284.48 0 483.584 95.552 625.792 304.64-56.896-298.688-227.584-597.312-625.792-657.088z",
- special: !0,
- name: "leftBendArrow"
- },
- {
- viewBox: [1024, 1024],
- path: "M625.792 302.912V64L1024 482.112l-398.208 418.176V655.36C341.312 655.36 142.208 750.912 0 960c56.896-298.688 227.584-597.312 625.792-657.088z",
- special: !0,
- name: "rightBendArrow"
- }
- ]
- },
- {
- type: "其他形状",
- children: [
- {
- viewBox: [1024, 1024],
- path: "M995.336 243.4016c-15.7584-36.5736-38.3376-69.26639999-66.91440001-97.37280001-28.5768-27.98879999-61.73999999-49.8624-98.78399999-65.26799998-38.22-15.876-78.6744-23.8728-120.4224-23.87280001-57.97680001 0-114.5424 15.876-163.69919999 45.864-11.76 7.17360001-22.932 15.05279999-33.51600001 23.63760001-10.584-8.5848-21.75600001-16.46400001-33.51600001-23.63760001-49.1568-29.98799999-105.7224-45.86399999-163.69919999-45.864-41.74799999 0-82.2024 7.9968-120.4224 23.87280001-36.9264 15.28799999-70.2072 37.27919999-98.78399999 65.26799998-28.6944 28.10640001-51.156 60.79919999-66.91440001 97.37280001-16.34639999 37.9848-24.696 78.3216-24.696 119.83439999 0 39.1608 7.9968 79.96800001 23.8728 121.48080001 13.28880001 34.692 32.34000001 70.67760001 56.6832 107.016 38.57279999 57.5064 91.61040001 117.4824 157.4664 178.28160001 109.1328 100.78319999 217.2072 170.4024 221.79359999 173.22479998l27.87120001 17.8752c12.348 7.8792 28.224 7.8792 40.572 0l27.87119999-17.8752c4.58639999-2.94 112.54319999-72.44159999 221.79360001-173.22479998 65.85599999-60.79919999 118.89359999-120.7752 157.4664-178.28160001 24.3432-36.33839999 43.512-72.324 56.68319999-107.016 15.876-41.5128 23.8728-82.32 23.87280001-121.48080001 0.1176-41.5128-8.232-81.8496-24.5784-119.83439999z",
- special: !0,
- name: "heart"
- },
- {
- viewBox: [1024, 1024],
- path: "M985.20746667 343.50079998l-303.32586667-44.08319999L546.28693333 24.5248c-3.70346666-7.5264-9.79626667-13.6192-17.32266665-17.32266668-18.87573334-9.3184-41.81333333-1.55306667-51.25120001 17.32266668L342.1184 299.41759999l-303.32586667 44.08319999c-8.36266667 1.19466667-16.00853333 5.13706667-21.8624 11.11040001-14.69440001 15.17226667-14.45546667 39.30453334 0.71679999 54.1184l219.46026668 213.9648-51.84853333 302.1312c-1.43359999 8.24320001-0.11946667 16.8448 3.82293333 24.25173333 9.79626667 18.6368 32.9728 25.92426667 51.6096 16.00853334L512 822.44266665l271.3088 142.64320001c7.40693333 3.9424 16.00853333 5.25653333 24.25173333 3.82293333 20.78719999-3.584 34.7648-23.296 31.1808-44.0832l-51.84853333-302.1312 219.46026668-213.9648c5.97333334-5.85386666 9.91573333-13.49973334 11.11039999-21.8624 3.2256-20.90666667-11.34933333-40.26026667-32.256-43.36640001z",
- special: !0,
- name: "star5"
- },
- {
- viewBox: [1024, 1024],
- path: "M852.65066667 405.84533333C800.54044445 268.40177778 667.76177778 170.66666667 512.22755555 170.66666667S223.91466667 268.288 171.80444445 405.73155555C74.29688889 431.33155555 2.27555555 520.07822222 2.27555555 625.77777778c0 125.72444445 101.83111111 227.55555555 227.44177778 227.55555555h564.56533334C919.89333333 853.33333333 1021.72444445 751.50222222 1021.72444445 625.77777778c0-105.472-71.79377778-194.21866667-169.07377778-219.93244445z",
- special: !0,
- name: "cloud"
- },
- {
- viewBox: [1024, 1024],
- path: "M926.25224691 323.7371485H654.6457886L898.88200917 15.14388241c5.05486373-6.53433603 0.49315743-16.02761669-7.76722963-16.02761668H418.30008701c-3.45210206 0-6.78091476 1.84934039-8.50696579 4.93157436L90.35039154 555.76772251c-3.82197013 6.53433603 0.86302552 14.7947231 8.50696578 14.79472311h215.01664245l-110.22068713 440.88274851c-2.34249783 9.61657002 9.24670194 16.39748478 16.39748477 9.49328065L933.03316167 340.62779071c6.41104668-6.0411786 2.09591911-16.8906422-6.78091476-16.89064221z",
- special: !0,
- name: "lightningBolt"
- },
- {
- viewBox: [1024, 1024],
- path: "M878.47822222 463.30311111c-22.18666667-49.83466667-53.93066667-93.98044445-94.32177777-131.072l-33.10933334-30.37866666c-4.89244445-4.32355555-12.62933333-2.38933333-14.79111111 3.75466666l-14.79111111 42.43911111c-9.216 26.624-26.16888889 53.81688889-50.176 80.55466667-1.59288889 1.70666667-3.41333333 2.16177778-4.66488889 2.27555556-1.25155555 0.11377778-3.18577778-0.11377778-4.89244445-1.70666667-1.59288889-1.36533333-2.38933333-3.41333333-2.27555555-5.46133333 4.20977778-68.49422222-16.27022222-145.74933333-61.09866667-229.83111112C561.26577778 124.01777778 509.72444445 69.51822222 445.32622222 31.51644445l-46.99022222-27.648c-6.144-3.64088889-13.99466667 1.13777778-13.65333333 8.30577777l2.50311111 54.61333333c1.70666667 37.31911111-2.61688889 70.31466667-12.85688889 97.73511112-12.51555555 33.56444445-30.49244445 64.73955555-53.47555556 92.72888888-16.15644445 19.56977778-34.24711111 37.20533333-54.04444444 52.45155556-47.90044445 36.75022222-87.38133333 84.65066667-114.11911111 138.24C125.72444445 502.10133333 111.50222222 562.74488889 111.50222222 623.50222222c0 53.70311111 10.58133333 105.69955555 31.51644445 154.73777778 20.25244445 47.21777778 49.152 89.77066667 85.90222222 126.17955555 36.864 36.40888889 79.64444445 65.08088889 127.31733333 84.992C405.61777778 1010.11911111 457.95555555 1020.58666667 512 1020.58666667s106.38222222-10.46755555 155.76177778-31.06133334c47.67288889-19.91111111 90.56711111-48.46933333 127.31733333-84.992 36.864-36.40888889 65.76355555-78.96177778 85.90222222-126.17955555 20.93511111-49.03822222 31.51644445-101.03466667 31.51644445-154.73777778 0-55.52355555-11.37777778-109.45422222-34.01955556-160.31288889z",
- special: !0,
- name: "fire"
- },
- {
- viewBox: [1024, 1024],
- path: "M968.20337778 20.11591112H705.44042667c-22.17301333 0-41.92483556 15.16430222-47.14951111 37.33731555C642.36202666 124.73685332 582.08711111 173.03324444 512 173.03324444s-130.36202666-48.29639112-146.29091556-115.58001777c-5.22467555-22.17301333-24.84906667-37.33731556-47.14951111-37.33731555H55.79662222c-30.96576 0-56.06968889 25.10392889-56.06968888 56.06968888v321.12639999c0 30.96576 25.10392889 56.06968889 56.06968888 56.06968889h95.57333334v494.43271112c0 30.96576 25.10392889 56.06968889 56.06968889 56.06968888h609.1207111c30.96576 0 56.06968889-25.10392889 56.06968889-56.06968888V453.38168888h95.57333334c30.96576 0 56.06968889-25.10392889 56.06968888-56.06968889V76.1856c0-30.96576-25.10392889-56.06968889-56.06968888-56.06968888z",
- special: !0,
- name: "clothes"
- },
- {
- viewBox: [1024, 1024],
- path: "M980.94648889 239.80714666H523.46880001L373.99210666 96.82944c-1.91146667-1.78403556-4.46008889-2.80348444-7.00871111-2.80348445H43.05351111c-22.55530667 0-40.77795555 18.22264888-40.77795555 40.77795557v754.39217776c0 22.55530667 18.22264888 40.77795555 40.77795555 40.77795557h937.89297778c22.55530667 0 40.77795555-18.22264888 40.77795555-40.77795557V280.58510222c0-22.55530667-18.22264888-40.77795555-40.77795555-40.77795556z",
- special: !0,
- name: "folder"
- },
- {
- viewBox: [1024, 1024],
- path: "M972.60904597 164.57058577L841.30587843 33.39070759c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480282-29.3428675-26.75379095 0-51.90482023 10.47959553-70.76809219 29.3428675L558.60337778 174.68031322c-18.86327195 18.86327195-29.34286748 44.1375906-29.34286749 70.64480283 0 26.75379095 10.47959553 51.90482023 29.34286749 70.76809218l103.31648301 103.31648302c-24.28800376 53.50758189-57.69942011 101.59043198-99.24793416 143.13894603-41.42522469 41.67180341-89.63136414 75.08321976-143.13894603 99.61780223L316.21649759 558.84995649c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480283-29.34286747-26.75379095 0-51.90482023 10.47959553-70.76809217 29.34286747L33.39070759 700.01627278c-18.86327195 18.86327195-29.34286748 44.1375906-29.3428675 70.76809217 0 26.75379095 10.47959553 51.90482023 29.3428675 70.76809219l131.05658883 131.05658883c30.08260365 30.205893 71.63111769 47.34311394 114.28923598 47.34311394 9.00012323 0 17.63037836-0.73973616 26.13734414-2.21920846 166.19405621-27.37023774 331.03192945-115.76870829 464.06114804-248.67463751C901.84095379 636.27567408 990.11613498 471.56109018 1017.85624079 304.87387654c8.38367642-50.91850535-8.50696579-103.31648302-45.24719482-140.30329077z",
- special: !0,
- name: "phone"
- },
- {
- viewBox: [1024, 1024],
- path: "M910.60451556 640.96028445c-20.38897778-65.49959112-43.83630221-120.54983112-79.89930667-210.64362666C836.31217778 193.67708444 737.93535999 2.27555556 511.36284444 2.27555556 282.24170667 2.27555556 186.03121778 197.50001778 192.14791111 430.31665779c-36.19043555 90.22122667-59.51032888 144.88917333-79.89930667 210.64362666-43.32657778 139.53706668-29.30915556 197.26336001-18.60494222 198.53767111 22.9376 2.80348444 89.32920888-105.00323556 89.32920889-105.00323556 0 62.44124445 32.11264001 143.86972444 101.69002667 202.61546667-33.64181333 10.32192-109.20846222 38.10190221-91.24067556 68.55793777 14.52714667 24.59420444 250.01984 15.67402668 317.94062222 8.02816 67.92078222 7.64586667 303.41347556 16.56604444 317.94062223-8.02816 17.96778667-30.32860444-57.72629333-58.23601779-91.24067555-68.55793777 69.57738667-58.87317334 101.69002667-140.30165333 101.69002667-202.61546667 0 0 66.39160889 107.80672 89.32920888 105.00323556 10.83164445-1.40174222 24.84906667-59.12803556-18.47751111-198.53767111z",
- special: !0,
- name: "penguin"
- },
- {
- viewBox: [1024, 1024],
- path: "M1016.86992592 199.24764445c-37.13706667 16.01991111-77.55093333 27.54939259-119.17842962 32.03982222 42.96248889-25.60758518 75.60912592-66.02145185 91.02222222-114.08118519-39.68568889 23.66577778-84.58998518 41.02068148-131.31472593 50.00154074C819.53374815 126.79395555 765.76995555 101.79318518 706.18074075 101.79318518c-114.688 0-206.92385185 92.96402963-206.92385186 207.04521482 0 16.01991111 1.94180741 32.03982222 5.09724444 47.45291852-171.72859259-8.98085925-324.88865185-91.02222222-426.71217778-216.63288889-17.96171852 30.82619259-28.15620741 66.02145185-28.1562074 104.49351112 0 71.84687408 36.53025185 135.19834075 92.23585185 172.45677036-33.98162963-1.33499259-66.02145185-10.92266667-93.57084445-26.33576296v2.54862222c0 100.6098963 71.1186963 183.98625185 165.90317037 203.1616-17.3549037 4.49042963-35.92343703 7.03905185-54.49197037 7.03905185-13.47128889 0-26.2144-1.33499259-39.07887407-3.15543704C146.69748148 681.90814815 223.03478518 741.49736297 313.93564445 743.43917037c-71.1186963 55.7056-160.19911111 88.4736-256.9253926 88.4736-17.3549037 0-33.37481482-0.60681482-50.00154074-2.54862222C98.75911111 888.22518518 207.62168889 922.20681482 324.85831111 922.20681482 705.45256297 922.20681482 913.71140741 606.90583703 913.71140741 333.23235555c0-8.98085925 0-17.96171852-0.60681482-26.94257777 40.2925037-29.4912 75.60912592-66.02145185 103.76533333-107.04213333z",
- special: !0,
- name: "bird"
- },
- {
- viewBox: [1024, 1024],
- path: "M917.96720197 1.08889505H106.03279803C53.56084718 1.08889505 9.37393998 45.27580225 9.37393998 97.74775309v5.52336372c0 19.33177108 8.28504494 41.42522469 22.0934536 55.23363205l331.40179753 392.15879462v325.87843379c0 16.57008987 8.28504494 30.37849854 22.09345359 35.90186098l209.88780469 104.94390299 2.76168121 2.76168121c27.61681602 11.04672615 55.23363335-8.28504494 55.23363335-38.66354218V550.66354348l331.40179753-392.15879462c35.90186097-41.42522469 30.37849854-102.18222047-11.04672616-135.32240022-11.04672615-13.80840865-33.14017975-22.0934536-55.23363335-22.09345359z",
- special: !0,
- name: "funnel"
- },
- {
- viewBox: [1024, 1024],
- path: "M491.70164031 97.48884502a25.89076502 25.89076502 0 0 1 40.59671938 0L745.66415762 367.01171317a25.89076502 25.89076502 0 0 0 30.49932208 7.72839349l208.00640948-89.14190458a25.89076502 25.89076502 0 0 1 35.56096592 29.06238339l-115.18801541 554.96855704A103.56306132 103.56306132 0 0 1 803.14165689 952.14301275H220.85834311a103.56306132 103.56306132 0 0 1-101.4011828-82.51387024l-115.18801541-554.96855704a25.89076502 25.89076502 0 0 1 35.54802012-29.06238339l208.01935528 89.14190458a25.89076502 25.89076502 0 0 0 30.49932208-7.72839349l213.36579793-269.52286815z",
- special: !0,
- name: "crown"
- },
- {
- viewBox: [1024, 1024],
- path: "M643.02466884 387.7801525c19.85376751-88.69205333 33.718272-152.84087467 41.61900049-192.57389433C704.52292267 95.17283515 652.90057916 2.27555515 550.58614084 2.27555515c-92.26012484 0-138.59407685 45.84971417-165.91530666 137.49816969l-0.70087152 2.67605334c-16.40038399 74.13942085-41.47882668 131.61085116-74.6746315 172.73287031a189.06953915 189.06953915 0 0 1-143.04142182 70.44391902l-26.17434983 0.5606965C77.66380049 387.52529067 27.76177817 438.90551468 27.76177817 501.84374084V881.55022182c0 77.4144 62.25009818 140.17422182 139.05282766 140.17422303h492.82707951c101.23127467 0 191.59267516-63.995904 225.93535999-159.98976l102.37815468-286.22301868c26.04691951-72.82688-11.39234134-153.15945284-83.63303784-179.42300483a138.04612267 138.04612267 0 0 0-47.17499733-8.30850884H643.02466884z",
- special: !0,
- name: "like"
- },
- {
- viewBox: [1024, 1024],
- path: "M512 512c140.82958222 0 254.86222222-114.03264 254.86222222-254.86222222S652.82958222 2.27555555 512 2.27555555a254.78940445 254.78940445 0 0 0-254.86222222 254.86222223C257.13777778 397.96736 371.17041778 512 512 512z m0 72.81777778c-170.10232889 0-509.72444445 97.57582222-509.72444445 291.27111111v145.63555556h1019.4488889v-145.63555556c0-193.69528889-339.62211555-291.27111111-509.72444445-291.27111111z",
- special: !0,
- name: "people"
- },
- {
- viewBox: [1024, 1024],
- path: "M1019.81297778 564.50161779l-138.89991111-472.51456c-8.66531556-25.99594668-29.43658667-43.45400889-57.21656889-43.45400891s-50.33528889 15.67402668-59.00060446 41.66997334l-92.00526221 274.48661334H351.69166222L259.6864 90.33045333c-8.66531556-25.99594668-31.22062222-41.66997333-59.00060444-41.66997332s-50.33528889 17.33063112-57.2165689 43.45400887L4.69674667 564.50161779c-5.22467555 17.33063112 1.78403556 36.44529778 15.67402667 46.89464887l491.11950221 368.27591113 492.77610666-368.27591113c13.76256-10.32192 20.77127111-29.43658667 15.54659557-46.89464887z",
- special: !0,
- name: "fox"
- },
- {
- viewBox: [1024, 1024],
- path: "M927.78951111 340.39277037c-12.01493333-47.81700741 12.01493333-124.03294815 89.08041481-150.97552592l-82.40545184-4.36906667s-31.19028148-109.22666667-174.27721483-118.9357037c-143.08693333-9.8304-236.65777778-3.64088889-236.65777777-3.6408889s106.07122963 67.47780741 63.5941926 187.74850371c-31.06891852 63.71555555-79.85682963 116.02299259-132.04290371 175.61220741-1.57771852 1.57771852-3.03407408 3.15543703-4.2477037 4.49042962C278.25493333 624.86755555 7.13007408 934.34311111 7.13007408 934.34311111c298.43152592 78.15774815 498.43768889-7.64586667 616.76657777-110.56165926 24.87940741-0.24272592 43.5693037-0.36408889 56.19105185-0.36408888 164.8109037 0 304.13558518-142.72284445 298.43152593-301.4656-3.88361482-109.1053037-38.71478518-133.74198518-50.72971852-181.5589926z",
- special: !0,
- name: "bird2"
- },
- {
- viewBox: [1024, 1024],
- path: "M997.8886764 504.17210418L537.2729208 43.89182982c-13.97838539-13.97838539-36.56745619-13.97838539-50.5458416 0L26.1113236 504.17210418c-13.41924998 13.41924998-21.02349164 31.64706454-21.02349163 50.65766867 0 39.47496036 32.09437288 71.56933323 71.56933324 71.56933323h48.53295408V954.83524937c0 19.79339373 15.99127289 35.78466661 35.78466663 35.78466662H440.43066677V740.12724968h125.24633315v250.49266631h297.34821416c19.79339373 0 35.78466661-15.99127289 35.78466663-35.78466662V626.39910608h48.53295408c19.01060414 0 37.23841869-7.49241457 50.65766869-21.02349163 27.84494371-27.95677079 27.84494371-73.24673948-0.11182708-101.20351027z",
- special: !0,
- name: "house"
- },
- {
- viewBox: [1024, 1024],
- path: "M1009.13013121 349.27572283L674.72427717 14.86986879c-8.82158299-8.82158299-20.35749924-13.16451618-31.89341544-13.16451618s-23.07183245 4.34293316-31.89341547 13.16451618L392.29790453 233.6451272c-16.5574327-1.90003326-33.25058207-2.71433322-49.94373146-2.71433324-99.34459624 0-198.68919249 32.70771543-280.25490606 98.12314628-20.90036589 16.69314938-22.52896582 48.04369819-3.66434987 67.04403081l246.59717401 246.59717401-292.33368895 292.06225564c-3.52863319 3.52863319-5.83581644 8.27871636-6.24296642 13.30023282l-4.61436649 50.48659809c-1.22144996 12.75736619 8.95729967 23.6146991 21.57894918 23.6146991 0.6785833 0 1.35716662 0 2.03574992-0.13571666l50.48659809-4.61436649c5.02151649-0.40714999 9.77159962-2.71433322 13.30023282-6.24296643l292.33368896-292.33368896 246.59717402 246.59717401c8.82158299 8.82158299 20.35749924 13.16451618 31.89341544 13.16451618 13.16451618 0 26.19331567-5.70009979 35.15061536-16.82886604 76.40848044-95.40881307 108.16617924-214.83947521 95.27309638-330.33435417l218.63954175-218.63954173c17.50744934-17.37173267 17.50744934-45.8722316 0-63.51539759z",
- special: !0,
- name: "nail"
- },
- {
- viewBox: [1024, 1024],
- path: "M976.62005979 160.47737905c-0.39452595-0.39452595-80.35178503 78.64217259-239.47725131 237.50462156l-111.6508437-111.65084369 237.89914752-237.89914752c-125.19623464-75.35445635-286.03131335-56.02268482-390.31767264 48.26367449-81.92988882 81.92988882-112.57140424 200.15616502-83.37648398 310.09739626l2.36715569 8.81107954-372.82702222 372.69551356c-8.15353628 8.15353628-8.15353628 21.56741857 0 29.72095487l185.95323084 185.95323084c8.15353628 8.15353628 21.56741857 8.15353628 29.72095485 0l372.56400493-372.56400493 8.81107953 2.3671557c110.07273989 29.32642892 228.29901608-1.18357785 310.36041356-83.24497533 104.41786795-104.2863593 123.74963948-265.12143802 49.97328693-390.05465535z",
- special: !0,
- name: "wrench"
- }
- ]
- },
- {
- type: "线性",
- children: [
- {
- viewBox: [1024, 1024],
- path: "M953.5488 832.61667556c-24.08448-57.08913778-58.74574221-108.31644445-102.70947556-152.28017777-43.96373333-43.96373333-95.19104-78.49756444-152.28017777-102.70947558-0.50972445-0.25486222-1.01944888-0.38229333-1.52917334-0.63715555C776.41955556 519.64586667 828.02915556 426.23886221 828.02915556 320.85333332c0-174.58062221-141.44853334-316.02915556-316.02915556-316.02915554S195.97084444 146.27271111 195.97084444 320.85333332c0 105.38552889 51.6096 198.79253333 130.99918223 256.26396447-0.50972445 0.25486222-1.01944888 0.38229333-1.52917334 0.63715555-57.08913778 24.08448-108.31644445 58.61831112-152.28017777 102.70947554-43.96373333 43.96373333-78.49756444 95.19104-102.70947556 152.28017779C46.74901333 888.55893332 34.13333334 947.8144 32.85902222 1008.72647111c-0.12743111 5.7344 4.46008889 10.44935111 10.19448889 10.44935111h76.45866667c5.60696888 0 10.06705778-4.46008889 10.19448889-9.93962666 2.54862221-98.37681778 42.05226667-190.50951112 111.88451555-260.34176001 72.25344-72.25344 168.20906666-112.01194667 270.40881778-112.01194667s198.15537778 39.75850667 270.40881778 112.01194667C852.24106667 818.72668444 891.74471111 910.85937779 894.29333333 1009.23619556c0.12743111 5.60696888 4.58752 9.93962667 10.19448889 9.93962666h76.45866667c5.7344 0 10.32192-4.71495112 10.19448889-10.44935111-1.27431111-60.91207112-13.88999112-120.16753779-37.59217778-176.10979555zM512 540.03484444c-58.49088 0-113.54112-22.81016889-154.95623111-64.22527999S292.81848888 379.34421333 292.81848888 320.85333332c0-58.49088 22.81016889-113.54112 64.22528001-154.9562311S453.50912 101.67182221 512 101.67182221s113.54112 22.81016889 154.95623111 64.22528001S731.18151112 262.36245333 731.18151112 320.85333332c0 58.49088-22.81016889 113.54112-64.22528001 154.95623113S570.49088 540.03484444 512 540.03484444z",
- special: !0,
- outlined: !0,
- name: "peopleLine"
- },
- {
- viewBox: [1024, 1024],
- path: "M985.31555555 111.50222222H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888889v728.17777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h946.6311111c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V147.91111111c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888889z m-45.5111111 126.06577778V830.57777778H84.19555555V237.568l-31.40266666-24.46222222 44.71466666-57.45777778 48.6968889 37.888h731.70488888l48.69688889-37.888 44.71466667 57.45777778-31.51644444 24.46222222z M877.90933333 193.42222222L512 477.86666667 146.09066667 193.42222222l-48.69688889-37.888-44.71466667 57.45777778 31.40266667 24.46222222 388.66488889 302.19377778c22.98311111 17.86311111 55.18222222 17.86311111 78.16533333 0L939.80444445 237.568l31.40266666-24.46222222-44.71466666-57.45777778-48.58311112 37.77422222z",
- special: !0,
- outlined: !0,
- name: "envelopLine"
- },
- {
- viewBox: [1024, 1024],
- path: "M985.31555555 88.74666667H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888888v564.33777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h432.35555555v127.43111111H275.34222222c-10.01244445 0-18.20444445 8.192-18.20444444 18.20444445v54.61333333c0 5.00622222 4.096 9.10222222 9.10222222 9.10222222h491.52c5.00622222 0 9.10222222-4.096 9.10222222-9.10222222v-54.61333333c0-10.01244445-8.192-18.20444445-18.20444444-18.20444445H552.96V725.90222222h432.35555555c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V125.15555555c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888888z m-45.5111111 555.23555555H84.19555555V170.66666667h855.6088889v473.31555555z",
- special: !0,
- outlined: !0,
- name: "pcLine"
- },
- {
- viewBox: [1024, 1024],
- path: "M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m0 932.97777778c-233.69955555 0-423.25333333-189.55377778-423.25333333-423.25333333 0-101.26222222 35.61244445-194.33244445 95.00444444-267.15022222l595.39911111 595.39911111C706.33244445 899.64088889 613.26222222 935.25333333 512 935.25333333z m328.24888889-156.10311111L244.84977778 183.75111111C317.66755555 124.35911111 410.73777778 88.74666667 512 88.74666667c233.69955555 0 423.25333333 189.55377778 423.25333333 423.25333333 0 101.26222222-35.61244445 194.33244445-95.00444444 267.15022222z",
- special: !0,
- outlined: !0,
- name: "forbidLine"
- },
- {
- viewBox: [1024, 1024],
- path: "M901.80266667 257.82044445L656.95288889 12.97066667c-6.82666667-6.82666667-16.04266667-10.69511111-25.71377778-10.69511112H147.91111111c-20.13866667 0-36.40888889 16.27022222-36.40888889 36.4088889v946.6311111c0 20.13866667 16.27022222 36.40888889 36.40888889 36.4088889h728.17777778c20.13866667 0 36.40888889-16.27022222 36.40888889-36.4088889V283.648c0-9.67111111-3.86844445-19.00088889-10.69511111-25.82755555zM828.52977778 300.37333333H614.4V86.24355555L828.52977778 300.37333333z m2.048 639.43111112H193.42222222V84.19555555h343.60888889v245.76c0 26.39644445 21.39022222 47.78666667 47.78666667 47.78666667h245.76v562.06222223z",
- special: !0,
- outlined: !0,
- name: "paperLine"
- },
- {
- viewBox: [1024, 1024],
- path: "M981.07392 55.79662222H42.92608c-31.22062222 0-50.71758221 34.02410666-35.04355556 61.16693334L304.28728889 620.82616888V927.42542221c0 22.55530667 18.09521779 40.77795555 40.52309333 40.77795557h334.37923556c22.42787556 0 40.52309333-18.22264888 40.52309333-40.77795557V620.82616888L1016.24490667 116.96355556c15.54659555-27.14282666-3.95036444-61.16693333-35.17098667-61.16693334zM628.47203556 876.45297779H395.52796444V677.66044445h233.07150222v198.79253334z m12.23338666-301.50200891l-12.10595556 21.15356445h-233.19893332l-12.10595556-21.15356445L130.59868445 147.54702221h762.8026311L640.70542222 574.95096888z",
- special: !0,
- outlined: !0,
- name: "bowl"
- },
- {
- viewBox: [1024, 1024],
- path: "M980.62285431 4.54099753H654.39920987c-4.2719763 0-7.76722963 3.49525333-7.76722962 7.76722964v72.4941432c0 4.2719763 3.49525333 7.76722963 7.76722962 7.76722963h207.64393877L604.04167111 350.57107753c-64.72691358-49.83972347-143.69374815-76.7661195-226.67365136-76.7661195-99.54999309 0-193.27456395 38.83614815-263.5679921 109.25903012S4.54099753 547.08198717 4.54099753 646.63198025s38.83614815 193.27456395 109.25903012 263.5679921C184.09345581 980.62285431 277.81802667 1019.45900247 377.36801975 1019.45900247s193.27456395-38.83614815 263.5679921-109.25903012C711.35889383 839.90654419 750.19504197 746.18197333 750.19504197 646.63198025c0-82.9799032-26.92639605-161.68783013-76.63666567-226.41474372L931.4304 162.34521283V369.60079013c0 4.2719763 3.49525333 7.76722963 7.76722963 7.76722962h72.4941432c4.2719763 0 7.76722963-3.49525333 7.76722964-7.76722962V43.37714569c0-21.35988148-17.47626667-38.83614815-38.83614816-38.83614816zM377.36801975 921.07409383c-151.33152395 0-274.44211358-123.11058963-274.44211358-274.44211358s123.11058963-274.44211358 274.44211358-274.44211358 274.44211358 123.11058963 274.44211358 274.44211358-123.11058963 274.44211358-274.44211358 274.44211358z",
- special: !0,
- outlined: !0,
- name: "manLine"
- },
- {
- viewBox: [1024, 1024],
- path: "M591.98717801 512l405.34042913-483.16579151c6.79427767-8.02960089 1.08090782-20.22841761-9.41933951-20.2284176h-123.22349044c-7.25752386 0-14.20621693 3.24272343-18.99309439 8.80167789L511.38233839 415.95362022 177.07299399 17.40746878c-4.63246205-5.55895447-11.58115512-8.80167789-18.99309439-8.80167789H34.85640916c-10.50024731 0-16.21361717 12.19881672-9.41933952 20.2284176L430.77749876 512 25.43706964 995.16579151c-6.79427767 8.02960089-1.08090782 20.22841761 9.41933952 20.2284176h123.22349044c7.25752386 0 14.20621693-3.24272343 18.99309439-8.80167789l334.3093444-398.54615144 334.30934441 398.54615144c4.63246205 5.55895447 11.58115512 8.80167789 18.99309439 8.80167789h123.22349044c10.50024731 0 16.21361717-12.19881672 9.41933951-20.2284176L591.98717801 512z",
- special: !0,
- outlined: !0,
- name: "wrongLine"
- }
- ]
- }
- ],
- Hn = {
- rect: "rect",
- roundRect: "roundRect",
- snip2DiagRect: "cutRectDiagonal",
- snip1Rect: "cutRectSingle",
- snip2SameRect: "cutRectSameSide",
- round2DiagRect: "roundRectDiagonal",
- round1Rect: "roundRectSingle",
- round2SameRect: "roundRectSameSide",
- mathMinus: "rect",
- flowChartPunchedCard: "cutRectSingle",
- flowChartProcess: "rect",
- flowChartAlternateProcess: "roundRect",
- flowChartPredefinedProcess: "rect",
- flowChartInternalStorage: "rect",
- flowChartDocument: "rect",
- flowChartMultidocument: "rect",
- flowChartDisplay: "rect",
- ribbon2: "rect",
- ribbon: "rect",
- ellipseRibbon2: "rect",
- ellipseRibbon: "rect",
- verticalScroll: "rect",
- horizontalScroll: "rect"
- },
- Xn = {
- ellipse: "ellipse",
- triangle: "triangle",
- rtTriangle: "rtTriangle",
- parallelogram: "parallelogramLeft",
- trapezoid: "trapezoid",
- diamond: "diamond",
- hexagon: "hexagon",
- pentagon: "pentagon",
- octagon: "octagon",
- dodecagon: "dodecagon",
- pie: "pie",
- chord: "chord",
- teardrop: "teardrop",
- frame: "ringRect",
- corner: "L",
- diagStripe: "diagStripe",
- plus: "plus",
- donut: "donut",
- mathPlus: "plus",
- mathMultiply: "multiply",
- flowChartManualInput: "flowChartManualInputLeft",
- flowChartMerge: "triangle",
- flowChartManualOperation: "trapezoid",
- flowChartPunchedTape: "wave",
- flowChartCollate: "flowChartCollate",
- flowChartDecision: "diamond",
- flowChartInputOutput: "parallelogramLeft",
- flowChartTerminator: "flowChartTerminator",
- flowChartConnector: "ellipse",
- flowChartExtract: "triangle",
- flowChartOnlineStorage: "flowChartOnlineStorage",
- flowChartDelay: "flowChartDelay",
- flowChartMagneticTape: "flowChartMagneticTape",
- irregularSeal1: "star8",
- irregularSeal2: "star8",
- star6: "star8",
- star7: "star8",
- star8: "star8",
- star10: "star8",
- star12: "star8",
- star16: "star8",
- star24: "star8",
- star32: "star8",
- star4: "star4",
- wave: "wave",
- doubleWave: "doubleWave",
- wedgeRectCallout: "message",
- wedgeRoundRectCallout: "roundMessage",
- wedgeEllipseCallout: "roundMessage",
- cloudCallout: "roundMessage",
- borderCallout1: "message",
- borderCallout2: "message",
- borderCallout3: "message",
- accentCallout1: "message",
- accentCallout2: "message",
- accentCallout3: "message",
- callout1: "message",
- callout3: "message",
- accentBorderCallout1: "message",
- accentBorderCallout2: "message",
- accentBorderCallout3: "message"
- },
- Yn = {
- rightArrow: "rightArrow",
- leftArrow: "leftArrow",
- upArrow: "upArrow",
- downArrow: "downArrow",
- leftRightArrow: "leftRightArrow",
- upDownArrow: "upDownArrow",
- quadArrow: "quadArrow",
- bentArrow: "rightArrow",
- uturnArrow: "downArrow",
- leftUpArrow: "leftUpArrow",
- bentUpArrow: "bentUpArrow",
- curvedRightArrow: "rightArrow",
- curvedLeftArrow: "leftArrow",
- curvedUpArrow: "upArrow",
- curvedDownArrow: "downArrow",
- stripedRightArrow: "rightArrow",
- homePlate: "homePlateRight",
- notchedRightArrow: "notchedRightArrow",
- chevron: "chevronRight",
- rightArrowCallout: "rightArrowCallout",
- leftArrowCallout: "leftArrowCallout",
- upArrowCallout: "leftArrowCallout",
- downArrowCallout: "leftArrowCallout",
- circularArrow: "downArrow",
- flowChartOffpageConnector: "homePlateRight"
- },
- Kn = {
- heart: "heart",
- lightningBolt: "lightningBolt",
- cloud: "cloud",
- star5: "star5"
- },
- Zn = {
- snip2DiagRect: "adj2",
- snip2SameRect: "adj1",
- round2DiagRect: "adj1",
- round2SameRect: "adj1",
- corner: "adj2"
- },
- Qn = function (e) {
- return void 0 !== Hn[e] ? "rect" : void 0 !== Xn[e] ? "common" : void 0 !== Yn[e] ? "arrow" : void 0 !== Kn[e] ? "other" : void 0
- },
- Jn = function (e, t, r, n, i, o) {
- var a,
- s = e.spPr.prstGeom.avLst.gd,
- l = n.defaultValue
- if (Array.isArray(s)) {
- var c,
- u = e.spPr.prstGeom.avLst.gd,
- f = u.findLast(function (e) {
- var r
- return (
- (null === e || void 0 === e || null === (r = e.attributes) || void 0 === r ? void 0 : r.name) &&
- e.attributes.name === Zn[t]
- )
- })
- f &&
- null !== f &&
- void 0 !== f &&
- null !== (c = f.attributes) &&
- void 0 !== c &&
- c.fmla &&
- (a = f.attributes.fmla.replace(/[^\d]/g, ""))
- } else {
- var p
- ;("adj" !== s.attributes.name && "adj1" !== s.attributes.name) ||
- null === (p = s.attributes) ||
- void 0 === p ||
- !p.fmla ||
- ((a = s.attributes.fmla.replace(/[^\d]/g, "")), "plus" === t && (a = 2 * (5e4 - a)))
- }
- if (void 0 !== a) {
- var d = E(n.range, 2),
- h = d[0],
- m = d[1]
- ;(l = a / 1e5), l < h ? (l = h) : l > m && (l = m)
- }
- return {
- keypoint: l,
- path: n.formula(i / r, o / r, l)
- }
- },
- $n = function (e, t) {
- return Vn[e].children.find(function (e) {
- return e.name === t
- })
- },
- ei = function (e, t, r) {
- var n = {
- path: "M 0 0 L 200 0 L 200 200 L 0 200 Z",
- viewBox: [200, 200]
- },
- i = r.width,
- o = r.height,
- a = r.sp,
- s = Qn(e)
- switch (s) {
- case "rect":
- var c,
- u,
- f = Hn[e],
- p = Wn[f]
- if ("rect" !== f)
- if (((n.viewBox = [i / t, o / t]), (n["pathFormula"] = f), p))
- if (
- ((n.path = p.formula(i / t, o / t, p.defaultValue)),
- (n["keypoint"] = p.defaultValue),
- "editable" in p && null !== (c = a.spPr.prstGeom) && void 0 !== c && null !== (u = c.avLst) && void 0 !== u && u.gd)
- ) {
- var d = Jn(a, e, t, p, i, o)
- l.a.merge(n, d)
- }
- break
- case "common":
- var h = Xn[e]
- if (h) {
- var m = Wn[h]
- if (m) {
- var g, y
- if (
- ((n.viewBox = [i / t, o / t]),
- (n["pathFormula"] = h),
- (n.path = m.formula(i / t, o / t, m.defaultValue)),
- (n["keypoint"] = m.defaultValue),
- "editable" in m && null !== (g = a.spPr.prstGeom) && void 0 !== g && null !== (y = g.avLst) && void 0 !== y && y.gd)
- ) {
- var v = Jn(a, e, t, m, i, o)
- l.a.merge(n, v)
- }
- } else {
- var b = $n(1, h)
- b && (n = b)
- }
- }
- break
- case "arrow":
- var w = Yn[e]
- if (w) {
- var x = $n(2, w)
- x && (n = x)
- }
- break
- case "other":
- var A = Kn[e]
- if (A) {
- var _ = $n(3, A)
- _ && (n = _)
- }
- break
- }
- return n
- },
- ti = function (e, t, r, n) {
- var i = r || {},
- o = i.ext,
- a = e.gdLst,
- s = e.pathLst,
- l = a.gd,
- c = s.path,
- u = Array.isArray(c) ? c[0].attributes : null !== c && void 0 !== c && c.attributes ? c.attributes : {},
- f = u.w,
- p = void 0 === f ? 1 : f,
- d = u.h,
- h = void 0 === d ? 1 : d,
- m = [1, 1]
- if (o) {
- var g = (null === o || void 0 === o ? void 0 : o.attributes) || {},
- y = g.cx,
- v = g.cy
- if (y && v) {
- var b = (y / (+p || 1)).toFixed(1),
- w = (v / (+h || 1)).toFixed(1)
- Array.isArray(c), (m[0] = +b || 1), (m[1] = +w || 1)
- }
- }
- l &&
- Array.isArray(l) &&
- l.forEach(function (e) {
- var t = e.attributes || {},
- r = t.name,
- n = t.fmla
- if (n && r) {
- var i = n.replace("w", p).replace("h", h).split(" "),
- o = void 0
- if (i.length > 0) {
- var a = i[0].split(""),
- s = 0
- a.forEach(function (e) {
- switch (e) {
- case "*":
- 0 === s ? ((o = Math.round(i[1] * i[2])), (s = 3)) : ((o = Math.round(o * i[s])), s++)
- break
- case "/":
- 0 === s ? ((o = Math.round(i[1] / i[2])), (s = 3)) : ((o = Math.round(o / i[s])), s++)
- break
- }
- })
- }
- }
- })
- var x = []
- if (t)
- for (
- var A = function () {
- switch (t[_].name) {
- case "moveTo":
- var e = t[_].elements[0].attributes,
- r = e.x,
- i = e.y,
- o = Dr(r * m[0]) / n,
- a = Dr(i * m[1]) / n,
- s = "M ".concat(o, " ").concat(a)
- x.push(s)
- break
- case "lnTo":
- var l = t[_].elements[0].attributes,
- c = l.x,
- u = l.y,
- f = Dr(c * m[0]) / n,
- p = Dr(u * m[1]) / n,
- d = "L ".concat(f, " ").concat(p)
- x.push(d)
- break
- case "cubicBezTo":
- var h = t[_].elements,
- g = "C"
- h.forEach(function (e) {
- var t = (null === e || void 0 === e ? void 0 : e.attributes) || {},
- r = t.x,
- i = t.y,
- o = Dr(r * m[0]) / n,
- a = Dr(i * m[1]) / n
- g = g + " " + o + " " + a
- }),
- x.push(g)
- break
- case "close":
- x.push("Z")
- break
- }
- },
- _ = 0;
- _ < t.length;
- _++
- )
- A()
- return x.join(" ")
- },
- ri = function (e, t, r, n, i) {
- var o,
- a,
- s,
- l = "",
- c = (null === e || void 0 === e || null === (o = e.br) || void 0 === o ? void 0 : o.length) || 0,
- u = (null === e || void 0 === e || null === (a = e.endParaRPr) || void 0 === a ? void 0 : a.length) || 0,
- f = 0
- t &&
- (t =
- null === (s = t) || void 0 === s
- ? void 0
- : s.filter(function (e) {
- return "r" === e.name || "br" === e.name
- }))
- var p = i.textStyleOtherDef,
- d = i.slidePer,
- h = [],
- m = null === e || void 0 === e ? void 0 : e.lstStyle
- return (
- Object.entries(e).forEach(function (o) {
- var a = E(o, 2),
- s = a[0],
- g = a[1]
- switch (s) {
- case "r":
- var y = Array.isArray(g) ? g : [g]
- y.forEach(function (o) {
- var a,
- s,
- l,
- g,
- y,
- v,
- b,
- w,
- x,
- A,
- _,
- T,
- E,
- S,
- C,
- k,
- L,
- P,
- O,
- j,
- R = [],
- I = o.t._text || "",
- N = {
- bold:
- "1" ===
- (null === o ||
- void 0 === o ||
- null === (a = o.rPr) ||
- void 0 === a ||
- null === (s = a.attributes) ||
- void 0 === s
- ? void 0
- : s.b) ||
- "1" ===
- (null === m ||
- void 0 === m ||
- null === (l = m.defRPr) ||
- void 0 === l ||
- null === (g = l.attributes) ||
- void 0 === g
- ? void 0
- : g.b) ||
- "b" ===
- (null === r ||
- void 0 === r ||
- null === (y = r.txBody) ||
- void 0 === y ||
- null === (v = y.bodyPr) ||
- void 0 === v ||
- null === (b = v.attributes) ||
- void 0 === b
- ? void 0
- : b.anchor)
- ? 1
- : 0,
- em:
- "1" ===
- (null === o ||
- void 0 === o ||
- null === (w = o.rPr) ||
- void 0 === w ||
- null === (x = w.attributes) ||
- void 0 === x
- ? void 0
- : x.i)
- ? 1
- : 0,
- underLine:
- "1" ===
- (null === o ||
- void 0 === o ||
- null === (A = o.rPr) ||
- void 0 === A ||
- null === (_ = A.attributes) ||
- void 0 === _
- ? void 0
- : _.u) ||
- "sng" ===
- (null === o ||
- void 0 === o ||
- null === (T = o.rPr) ||
- void 0 === T ||
- null === (E = T.attributes) ||
- void 0 === E
- ? void 0
- : E.u)
- ? 1
- : 0,
- baseLine:
- null === o ||
- void 0 === o ||
- null === (S = o.rPr) ||
- void 0 === S ||
- null === (C = S.attributes) ||
- void 0 === C
- ? void 0
- : C.baseline
- },
- M = Xr(N.underLine, o, r, n, null === e || void 0 === e ? void 0 : e.lstStyle, i),
- D =
- (null === (k = o.rPr) ||
- void 0 === k ||
- null === (L = k.latin) ||
- void 0 === L ||
- null === (P = L.attributes) ||
- void 0 === P
- ? void 0
- : P.typeface) || "Sans-serif"
- if (
- (D in ["Sans-serif", "Serif"] || (D = "Sans-serif"), !M.includes("font-size")) &&
- null !== p &&
- void 0 !== p &&
- null !== (O = p.txBody.lstStyle.lvl1pPr.defRPr) &&
- void 0 !== O &&
- null !== (j = O.attributes) &&
- void 0 !== j &&
- j.sz
- ) {
- var B = (((null === p || void 0 === p ? void 0 : p.txBody.lstStyle.lvl1pPr.defRPr.attributes.sz) / 100) * 4) / 3
- 1 !== d && (B = Math.round(B / d)), (M = "".concat(M, "font-size:").concat(B, "px;vertical-align:top;"))
- }
- var F = '<span style="font-family:'.concat(D, '"><span style="').concat(M, '">').concat(I, "</span></span>")
- R.push(F),
- N.em && (R.unshift("<em>"), R.push("</em>")),
- N.bold && (R.unshift("<strong>"), R.push("</strong>")),
- N.baseLine &&
- (N.baseLine > 0
- ? (R.unshift("<sup>"), R.push("</sup>"))
- : N.baseLine < 0 && (R.unshift("<sub>"), R.push("</sub>"))),
- (F = R.join("")),
- c > 0 && u === c && (F = "<p>".concat(F, "</p>")),
- t && t[f + 1] && "br" === t[f + 1].name && (f++, (F = "".concat(F, "<br/>"))),
- f++,
- h.push(F)
- }),
- (l = h.join(""))
- break
- }
- }),
- h.length <= 0 && (l = "<span></span>"),
- l
- )
- },
- ni = "",
- ii = function (e, t) {
- if (ni) {
- var r, n, i, o, a, s
- if (
- ((null === e || void 0 === e || null === (r = e.pPr) || void 0 === r || !r.buChar) &&
- (null === e || void 0 === e || null === (n = e.pPr) || void 0 === n || !n.buAutoNum) &&
- (null === t ||
- void 0 === t ||
- null === (i = t.txBody) ||
- void 0 === i ||
- null === (o = i.lstStyle) ||
- void 0 === o ||
- null === (a = o.lvl1pPr) ||
- void 0 === a ||
- !a.buChar)) ||
- (null !== e && void 0 !== e && null !== (s = e.pPr) && void 0 !== s && s.buNone)
- ) {
- var l = "bulletList" === ni ? "</ul>" : "</ol>"
- return (ni = ""), l
- }
- } else {
- var c, u, f, p, d, h
- if (null !== e && void 0 !== e && null !== (c = e.pPr) && void 0 !== c && c.buChar) return (ni = "bulletList"), "<ul>"
- if (
- (null === e || void 0 === e || null === (u = e.pPr) || void 0 === u || !u.buNone) &&
- null !== t &&
- void 0 !== t &&
- null !== (f = t.txBody) &&
- void 0 !== f &&
- null !== (p = f.lstStyle) &&
- void 0 !== p &&
- null !== (d = p.lvl1pPr) &&
- void 0 !== d &&
- d.buChar
- )
- return (ni = "bulletList"), "<ul>"
- if (null !== e && void 0 !== e && null !== (h = e.pPr) && void 0 !== h && h.buAutoNum) return (ni = "orderedList"), "<ol>"
- }
- return ""
- },
- oi = (function () {
- var e = T(
- A().mark(function e(t, r, n, i, o, a, s) {
- var c,
- u,
- f,
- p,
- d,
- h,
- m,
- g,
- y,
- v,
- b,
- w,
- x,
- _,
- T,
- S,
- C,
- k,
- L,
- O,
- j,
- R,
- I,
- N,
- M,
- D,
- B,
- F,
- U,
- z,
- q,
- G,
- W,
- V,
- H,
- X,
- Y,
- K,
- Z,
- Q,
- J,
- $,
- ee,
- te,
- re,
- ne,
- ie,
- oe,
- ae,
- se,
- le,
- ce,
- ue,
- fe,
- pe,
- de,
- he,
- me,
- ge,
- ye,
- ve,
- be
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((f = []),
- (p = null === t || void 0 === t ? void 0 : t.txBody.p),
- (d =
- null === t ||
- void 0 === t ||
- null === (c = t.txBody) ||
- void 0 === c ||
- null === (u = c.lstStyle) ||
- void 0 === u
- ? void 0
- : u.lvl1pPr),
- d && (p.lstStyle = d),
- (h = t.txBody.p),
- Array.isArray(h) || (h = [h]),
- h.map(function (e) {
- var r, n, i, o
- if (
- null !== e &&
- void 0 !== e &&
- e.r &&
- null !== t &&
- void 0 !== t &&
- null !== (r = t.txBody) &&
- void 0 !== r &&
- null !== (n = r.bodyPr) &&
- void 0 !== n &&
- null !== (i = n.normAutofit) &&
- void 0 !== i &&
- null !== (o = i.attributes) &&
- void 0 !== o &&
- o.fontScale
- ) {
- var a,
- s,
- l,
- c,
- u = e.r
- Array.isArray(u) || (u = [u])
- var f =
- ((null === t ||
- void 0 === t ||
- null === (a = t.txBody) ||
- void 0 === a ||
- null === (s = a.bodyPr) ||
- void 0 === s ||
- null === (l = s.normAutofit) ||
- void 0 === l ||
- null === (c = l.attributes) ||
- void 0 === c
- ? void 0
- : c.fontScale) || 1e5) / 1e5
- u.map(function (e) {
- var t, r, n, i, o
- null === (t = e) ||
- void 0 === t ||
- null === (r = t.rPr) ||
- void 0 === r ||
- null === (n = r.attributes) ||
- void 0 === n ||
- !n.sz ||
- (null !== (i = e.rPr) && void 0 !== i && null !== (o = i.attributes) && void 0 !== o && o.baseline)
- ? (e = P(
- P({}, e),
- {},
- {
- rpr: {
- attributes: {
- sz: (e.rPr.attributes.sz *= f)
- }
- }
- }
- ))
- : (e.rPr.attributes.sz *= f)
- })
- }
- }),
- !Br(t))
- ) {
- e.next = 29
- break
- }
- if (
- ((b = null === n || void 0 === n || null === (v = n.Relationships) || void 0 === v ? void 0 : v.Relationship),
- Array.isArray(b)
- ? b.forEach(function (e) {
- var t
- e.attributes.Type.includes("slideLayout") &&
- (w = null === (t = e.attributes) || void 0 === t ? void 0 : t.Target)
- })
- : (w =
- null === n ||
- void 0 === n ||
- null === (x = n.Relationships) ||
- void 0 === x ||
- null === (_ = x.Relationship) ||
- void 0 === _ ||
- null === (T = _.attributes) ||
- void 0 === T
- ? void 0
- : T.Target),
- !w)
- ) {
- e.next = 29
- break
- }
- return (U = o["ppt".concat(w.replace("..", ""))]), (e.next = 14), U.async("string")
- case 14:
- return (
- (z = e.sent),
- (q = Ir(z, Fr)),
- (G =
- null === q ||
- void 0 === q ||
- null === (S = q.sldLayout) ||
- void 0 === S ||
- null === (C = S.cSld) ||
- void 0 === C ||
- null === (k = C.spTree) ||
- void 0 === k
- ? void 0
- : k.sp),
- (W =
- (null === t ||
- void 0 === t ||
- null === (L = t.nvSpPr) ||
- void 0 === L ||
- null === (O = L.nvPr) ||
- void 0 === O ||
- null === (j = O.ph) ||
- void 0 === j ||
- null === (R = j.attributes) ||
- void 0 === R
- ? void 0
- : R.type) ||
- (null === t ||
- void 0 === t ||
- null === (I = t.nvSpPr) ||
- void 0 === I ||
- null === (N = I.nvPr) ||
- void 0 === N ||
- null === (M = N.ph) ||
- void 0 === M ||
- null === (D = M.attributes) ||
- void 0 === D
- ? void 0
- : D.idx)),
- (V = o["ppt/slideMasters/".concat(i)]),
- (e.next = 21),
- V.async("string")
- )
- case 21:
- ;(H = e.sent),
- (X = Ir(H, Fr)),
- (Y = s || {}),
- (K = Y.defaultTextStyle),
- (Z = (null === K || void 0 === K || null === (B = K.defRPr) || void 0 === B ? void 0 : B.attributes) || {}),
- (Q = Z.sz),
- (g = $r(X, "1" === W ? "body" : W, Q)),
- (y = $r(X, "other", Q)),
- (m =
- null === (F = Mr(G)) || void 0 === F
- ? void 0
- : F.find(function (e) {
- var t, r, n, i, o, a, s, l
- return (
- ((null === e ||
- void 0 === e ||
- null === (t = e.nvSpPr) ||
- void 0 === t ||
- null === (r = t.nvPr) ||
- void 0 === r ||
- null === (n = r.ph) ||
- void 0 === n ||
- null === (i = n.attributes) ||
- void 0 === i
- ? void 0
- : i.type) ||
- (null === e ||
- void 0 === e ||
- null === (o = e.nvSpPr) ||
- void 0 === o ||
- null === (a = o.nvPr) ||
- void 0 === a ||
- null === (s = a.ph) ||
- void 0 === s ||
- null === (l = s.attributes) ||
- void 0 === l
- ? void 0
- : l.idx)) === W
- )
- })),
- (m && "1" !== W) || (m = g)
- case 29:
- if (
- ((J = l.a.cloneDeep({
- textStyleDef: g,
- textStyleOtherDef: y,
- colorMap: a,
- slidePer: s.slidePer,
- defaultTextStyle: null === s || void 0 === s ? void 0 : s.defaultTextStyle
- })),
- ($ = ""),
- (ee = !1),
- (ni = ""),
- (te = Object.keys(p)),
- te.forEach(function (e) {
- ;/^\d+$/.test(e) && (ee = !0)
- }),
- (re = +i.replace(/[^0-9]/gi, "")),
- !ee)
- ) {
- e.next = 40
- break
- }
- Object.entries(p).forEach(function (e, n) {
- var i,
- o,
- a,
- s,
- c,
- u,
- d,
- h,
- y,
- v,
- b,
- w,
- x,
- A,
- _,
- T,
- S,
- C,
- k,
- L,
- P,
- O,
- j,
- R,
- I,
- N,
- M,
- D,
- B = E(e, 2),
- F = B[1],
- U = ii(F, m)
- if (
- (U && f.push(U),
- null !== p && void 0 !== p && p.lstStyle && (F["lstStyle"] = l.a.cloneDeep(p.lstStyle)),
- ($ = ri(F, null === r || void 0 === r || null === (i = r[n]) || void 0 === i ? void 0 : i.elements, m, re, J)),
- $)
- ) {
- if (
- ((null !== F && void 0 !== F && null !== (o = F.pPr) && void 0 !== o && o.buChar) ||
- (null !== F && void 0 !== F && null !== (a = F.pPr) && void 0 !== a && a.buAutoNum) ||
- (null !== (s = m) &&
- void 0 !== s &&
- null !== (c = s.txBody) &&
- void 0 !== c &&
- null !== (u = c.lstStyle) &&
- void 0 !== u &&
- null !== (d = u.lvl1pPr) &&
- void 0 !== d &&
- d.buChar)) &&
- (null === F || void 0 === F || null === (h = F.pPr) || void 0 === h || !h.buNone) &&
- $
- ) {
- var z,
- q = $.match(/font-size:\d+(.\d+)?px/g) || [],
- G = 40
- if (null !== q && void 0 !== q && q[0])
- G = (null === (z = q[0].match(/\d+(.\d+)?/g)) || void 0 === z ? void 0 : z[0]) || 40
- f.push('<li style="font-size:'.concat(G, 'px">'))
- }
- var W = Yr(
- null === F || void 0 === F ? void 0 : F.pPr,
- null === F || void 0 === F ? void 0 : F.lstStyle,
- null !== (y = m) &&
- void 0 !== y &&
- null !== (v = y.nvSpPr) &&
- void 0 !== v &&
- null !== (b = v.nvPr) &&
- void 0 !== b &&
- null !== (w = b.ph) &&
- void 0 !== w &&
- null !== (x = w.attributes) &&
- void 0 !== x &&
- x.type
- ? m.nvSpPr.nvPr.ph.attributes
- : null !== (A = m) &&
- void 0 !== A &&
- null !== (_ = A.txBody) &&
- void 0 !== _ &&
- null !== (T = _.lstStyle) &&
- void 0 !== T &&
- T.lvl1pPr
- ? null === (S = m) || void 0 === S || null === (C = S.txBody) || void 0 === C
- ? void 0
- : C.lstStyle
- : null === (k = g) || void 0 === k || null === (L = k.txBody) || void 0 === L
- ? void 0
- : L.lstStyle,
- null === t || void 0 === t || null === (P = t.txBody) || void 0 === P ? void 0 : P.bodyPr
- )
- if ($.includes("<br/>")) {
- var V = $.split("<br/>")
- V.forEach(function (e) {
- f.push("<p style=".concat(W, ">").concat(e, "</p>"))
- })
- } else f.push("<p style=".concat(W, ">").concat($, "</p>"))
- !(
- (null !== F && void 0 !== F && null !== (O = F.pPr) && void 0 !== O && O.buChar) ||
- (null !== F && void 0 !== F && null !== (j = F.pPr) && void 0 !== j && j.buAutoNum) ||
- (null !== (R = m) &&
- void 0 !== R &&
- null !== (I = R.txBody) &&
- void 0 !== I &&
- null !== (N = I.lstStyle) &&
- void 0 !== N &&
- null !== (M = N.lvl1pPr) &&
- void 0 !== M &&
- M.buChar)
- ) ||
- (null !== F && void 0 !== F && null !== (D = F.pPr) && void 0 !== D && D.buNone) ||
- !$ ||
- f.push("</li>")
- }
- }),
- (e.next = 48)
- break
- case 40:
- if (
- ((ge = Yr(
- null === p || void 0 === p ? void 0 : p.pPr,
- null === p || void 0 === p ? void 0 : p.lstStyle,
- null !== (ne = m) &&
- void 0 !== ne &&
- null !== (ie = ne.nvSpPr) &&
- void 0 !== ie &&
- null !== (oe = ie.nvPr) &&
- void 0 !== oe &&
- null !== (ae = oe.ph) &&
- void 0 !== ae &&
- null !== (se = ae.attributes) &&
- void 0 !== se &&
- se.type
- ? m.nvSpPr.nvPr.ph.attributes
- : null !== (le = m) &&
- void 0 !== le &&
- null !== (ce = le.txBody) &&
- void 0 !== ce &&
- null !== (ue = ce.lstStyle) &&
- void 0 !== ue &&
- ue.lvl1pPr
- ? null === (fe = m) || void 0 === fe || null === (pe = fe.txBody) || void 0 === pe
- ? void 0
- : pe.lstStyle
- : null === (de = g) || void 0 === de || null === (he = de.txBody) || void 0 === he
- ? void 0
- : he.lstStyle,
- null === t || void 0 === t || null === (me = t.txBody) || void 0 === me ? void 0 : me.bodyPr
- )),
- ($ = ri(p, null === r || void 0 === r ? void 0 : r[0].elements, m, re, J)),
- $ && "<span></span>" !== $)
- ) {
- e.next = 44
- break
- }
- return e.abrupt("return")
- case 44:
- ;(ye = ii(p, m)),
- ye && (f.push(ye), f.push("<li>")),
- $.includes("</p>")
- ? (($ = $.replaceAll("<p>", "<p style=".concat(ge, ">"))), f.push($))
- : $.includes("<br/>")
- ? ((ve = $.split("<br/>")),
- ve.forEach(function (e) {
- f.push("<p style=".concat(ge, ">").concat(e, "</p>"))
- }))
- : f.push("<p style=".concat(ge, ">").concat($, "</p>")),
- ye && (f.push("</li>"), (be = "<ul>" === ye ? "</ul>" : "<ol>"), f.push(be))
- case 48:
- return e.abrupt("return", {
- textContent: f.join(""),
- sp: t
- })
- case 49:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r, n, i, o, a, s) {
- return e.apply(this, arguments)
- }
- })(),
- ai = (function () {
- var e = T(
- A().mark(function e(t, r, n, i, o, a) {
- var s,
- c,
- u,
- f,
- p,
- d,
- h,
- m,
- g,
- y,
- v,
- b,
- w,
- x,
- _,
- T,
- E,
- S,
- C,
- k,
- L,
- P,
- O,
- j,
- R,
- I,
- N,
- M,
- D,
- B,
- F,
- U,
- z,
- q,
- G,
- W,
- V,
- H,
- X,
- Y,
- K,
- Z,
- Q,
- J,
- $,
- ee,
- te,
- re,
- ne,
- ie,
- oe,
- ae,
- se,
- le,
- ce,
- ue,
- fe,
- pe,
- de,
- he,
- me,
- ge,
- ye,
- ve,
- be,
- we,
- xe,
- Ae,
- _e,
- Te,
- Ee,
- Se,
- Ce,
- ke,
- Le,
- Pe,
- Oe,
- je,
- Re,
- Ie,
- Ne,
- Me,
- De,
- Be,
- Fe,
- Ue,
- ze,
- qe,
- Ge,
- We,
- Ve,
- He,
- Xe,
- Ye,
- Ke,
- Ze,
- Qe,
- Je,
- $e,
- et,
- tt,
- rt,
- nt,
- it,
- ot,
- at,
- st,
- lt,
- ct,
- ut,
- ft,
- pt,
- dt,
- ht,
- mt,
- gt,
- yt,
- vt,
- bt,
- wt,
- xt,
- At,
- _t,
- Tt,
- Et,
- St,
- Ct,
- kt,
- Lt,
- Pt,
- Ot,
- jt,
- Rt,
- It,
- Nt,
- Mt,
- Dt,
- Bt,
- Ft,
- Ut,
- zt,
- qt,
- Gt,
- Wt,
- Vt
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (Q = {
- type: "text",
- id: Nr(),
- left: 0,
- top: 0,
- width: 0,
- height: 0,
- content: "",
- rotate: 0,
- defaultFontName: "Sans-serif",
- defaultColor: "#000",
- lineHeight: 1.2
- }),
- (J = a.colorMap),
- ($ = +i.replace(/[^0-9]/gi, "")),
- null !== J &&
- void 0 !== J &&
- null !== (s = J[$]) &&
- void 0 !== s &&
- s["tx1"] &&
- (Q.defaultColor = "#" + J[$]["tx1"]),
- (e.next = 6),
- oi(t, r, n, i, o, J, a)
- )
- case 6:
- if (
- ((ee = e.sent),
- ee && ((Q.content = ee.textContent), (t = ee.sp)),
- null !== (c = t) &&
- void 0 !== c &&
- null !== (u = c.spPr) &&
- void 0 !== u &&
- null !== (f = u.xfrm) &&
- void 0 !== f &&
- null !== (p = f.attributes) &&
- void 0 !== p &&
- p.rot &&
- (Q.rotate =
- (null === (te = t) || void 0 === te ? void 0 : te.spPr.xfrm.attributes.rot) / 6e4 > 180
- ? (null === (re = t) || void 0 === re ? void 0 : re.spPr.xfrm.attributes.rot) / 6e4 - 360
- : (null === (ne = t) || void 0 === ne ? void 0 : ne.spPr.xfrm.attributes.rot) / 6e4),
- null !== (d = t) &&
- void 0 !== d &&
- null !== (h = d.spPr) &&
- void 0 !== h &&
- null !== (m = h.solidFill) &&
- void 0 !== m &&
- null !== (g = m.schemeClr) &&
- void 0 !== g &&
- null !== (y = g.attributes) &&
- void 0 !== y &&
- y.val
- ? ((ue = Kr(
- $,
- J,
- t.spPr.solidFill.schemeClr.attributes.val,
- null === (ie = t.spPr.solidFill.schemeClr) ||
- void 0 === ie ||
- null === (oe = ie.lumMod) ||
- void 0 === oe ||
- null === (ae = oe.attributes) ||
- void 0 === ae
- ? void 0
- : ae.val,
- null === (se = t.spPr.solidFill.schemeClr) ||
- void 0 === se ||
- null === (le = se.lumOff) ||
- void 0 === le ||
- null === (ce = le.attributes) ||
- void 0 === ce
- ? void 0
- : ce.val
- )),
- ue && (Q.fill = ue))
- : null !== (v = t) &&
- void 0 !== v &&
- null !== (b = v.spPr) &&
- void 0 !== b &&
- null !== (w = b.solidFill) &&
- void 0 !== w &&
- w.srgbClr &&
- (Q.fill =
- "#" +
- (null === (fe = t) ||
- void 0 === fe ||
- null === (pe = fe.spPr) ||
- void 0 === pe ||
- null === (de = pe.solidFill) ||
- void 0 === de ||
- null === (he = de.srgbClr) ||
- void 0 === he
- ? void 0
- : he.attributes.val)),
- ((null !== (x = t) &&
- void 0 !== x &&
- null !== (_ = x.txBody) &&
- void 0 !== _ &&
- null !== (T = _.bodyPr) &&
- void 0 !== T &&
- T.vert) ||
- "vert" ===
- (null === (E = t) ||
- void 0 === E ||
- null === (S = E.nvSpPr) ||
- void 0 === S ||
- null === (C = S.nvPr) ||
- void 0 === C ||
- null === (k = C.ph) ||
- void 0 === k ||
- null === (L = k.attributes) ||
- void 0 === L
- ? void 0
- : L.orient)) &&
- (Q.vertical = !0),
- Q.content)
- ) {
- e.next = 13
- break
- }
- return e.abrupt("return")
- case 13:
- return (e.next = 15), Wr(t, n, o, i)
- case 15:
- return (
- (me = e.sent),
- null !== (P = t) &&
- void 0 !== P &&
- null !== (O = P.spPr) &&
- void 0 !== O &&
- O.ln &&
- ((null !== (ge = t.spPr.ln) && void 0 !== ge && ge.noFill) ||
- ((_e = (null === (ye = t.spPr.ln) || void 0 === ye ? void 0 : ye.solidFill) || {}),
- (Te = _e.srgbClr),
- (Ee = _e.schemeClr),
- (Se = "#000000"),
- Te
- ? (Se =
- "#" +
- (null === Te || void 0 === Te || null === (Ce = Te.attributes) || void 0 === Ce ? void 0 : Ce.val))
- : Ee &&
- (Se = zr(
- J,
- $,
- null === Ee || void 0 === Ee || null === (ke = Ee.attributes) || void 0 === ke ? void 0 : ke.val
- )),
- (Le = {
- style:
- -1 ===
- (null === (ve = t.spPr.ln) ||
- void 0 === ve ||
- null === (be = ve.prstDash) ||
- void 0 === be ||
- null === (we = be.attributes) ||
- void 0 === we
- ? void 0
- : we.val.toLowerCase().indexOf("solid"))
- ? "dashed"
- : "solid",
- width:
- ((null === (xe = t.spPr.ln) || void 0 === xe || null === (Ae = xe.attributes) || void 0 === Ae
- ? void 0
- : Ae.w) || 12700) / 12700,
- color: Se
- }),
- (Q.outline = Le))),
- null !== (j = t.spPr) && void 0 !== j && null !== (R = j.effectLst) && void 0 !== R && R.outerShdw
- ? ((He = {
- blur: 1,
- color: "#000000",
- h:
- ((null === (Pe = t.spPr.effectLst.outerShdw) ||
- void 0 === Pe ||
- null === (Oe = Pe.attributes) ||
- void 0 === Oe
- ? void 0
- : Oe.sx) || 12700) / 12700,
- v:
- ((null === (je = t.spPr.effectLst.outerShdw) ||
- void 0 === je ||
- null === (Re = je.attributes) ||
- void 0 === Re
- ? void 0
- : Re.sy) || 12700) / 12700
- }),
- null !== (Ie = t.spPr.effectLst.outerShdw) &&
- void 0 !== Ie &&
- null !== (Ne = Ie.attributes) &&
- void 0 !== Ne &&
- Ne.blurRad &&
- (He.blur =
- ((null === (Xe = t.spPr.effectLst.outerShdw) ||
- void 0 === Xe ||
- null === (Ye = Xe.attributes) ||
- void 0 === Ye
- ? void 0
- : Ye.blurRad) /
- 12700 /
- 100) *
- 20),
- null !== (Me = t.spPr) &&
- void 0 !== Me &&
- null !== (De = Me.effectLst) &&
- void 0 !== De &&
- null !== (Be = De.outerShdw) &&
- void 0 !== Be &&
- null !== (Fe = Be.srgbClr) &&
- void 0 !== Fe &&
- null !== (Ue = Fe.attributes) &&
- void 0 !== Ue &&
- Ue.val
- ? (He.color = "#".concat(t.spPr.effectLst.outerShdw.srgbClr.attributes.val))
- : null !== (ze = t.spPr) &&
- void 0 !== ze &&
- null !== (qe = ze.effectLst) &&
- void 0 !== qe &&
- null !== (Ge = qe.outerShdw) &&
- void 0 !== Ge &&
- null !== (We = Ge.schemeClr) &&
- void 0 !== We &&
- null !== (Ve = We.attributes) &&
- void 0 !== Ve &&
- Ve.val &&
- ((Ke = +i.replace(/[^0-9]/gi, "")),
- (Ze = zr(J, Ke, t.spPr.effectLst.outerShdw.schemeClr.attributes.val)),
- Ze && (He.color = Ze)),
- (Q.shadow = He))
- : null !== (I = t) &&
- void 0 !== I &&
- null !== (N = I.txBody) &&
- void 0 !== N &&
- null !== (M = N.p[0]) &&
- void 0 !== M &&
- null !== (D = M.r) &&
- void 0 !== D &&
- null !== (B = D.rPr) &&
- void 0 !== B &&
- null !== (F = B.effectLst) &&
- void 0 !== F &&
- F.outerShdw
- ? ((ct = {
- blur: 1,
- color: "#000000",
- h:
- ((null === (Qe = t.txBody.p[0].r.rPr.effectLst.outerShdw) ||
- void 0 === Qe ||
- null === (Je = Qe.attributes) ||
- void 0 === Je
- ? void 0
- : Je.sx) || 12700) / 12700,
- v:
- ((null === ($e = t.txBody.p[0].r.rPr.effectLst.outerShdw) ||
- void 0 === $e ||
- null === (et = $e.attributes) ||
- void 0 === et
- ? void 0
- : et.sy) || 12700) / 12700
- }),
- null !== (tt = t.txBody.p[0].r.rPr.effectLst.outerShdw) &&
- void 0 !== tt &&
- null !== (rt = tt.attributes) &&
- void 0 !== rt &&
- rt.blurRad &&
- (ct.blur =
- ((null === (ut = t.txBody.p[0].r.rPr.effectLst.outerShdw) ||
- void 0 === ut ||
- null === (ft = ut.attributes) ||
- void 0 === ft
- ? void 0
- : ft.blurRad) /
- 12700 /
- 100) *
- 20),
- null !== (nt = t.txBody.p[0].r.rPr.effectLst.outerShdw) &&
- void 0 !== nt &&
- null !== (it = nt.srgbClr) &&
- void 0 !== it &&
- null !== (ot = it.attributes) &&
- void 0 !== ot &&
- ot.val
- ? (ct.color = "#".concat(t.txBody.p[0].r.rPr.effectLst.outerShdw.srgbClr.attributes.val))
- : null !== (at = t.txBody.p[0].r.rPr.effectLst.outerShdw) &&
- void 0 !== at &&
- null !== (st = at.schemeClr) &&
- void 0 !== st &&
- null !== (lt = st.attributes) &&
- void 0 !== lt &&
- lt.val &&
- ((pt = +i.replace(/[^0-9]/gi, "")),
- (dt = zr(J, pt, t.txBody.p[0].r.rPr.effectLst.outerShdw.schemeClr.attributes.val)),
- dt && (ct.color = dt)),
- (Q.shadow = ct))
- : null !== (U = t) &&
- void 0 !== U &&
- null !== (z = U.txBody) &&
- void 0 !== z &&
- null !== (q = z.p) &&
- void 0 !== q &&
- null !== (G = q.r) &&
- void 0 !== G &&
- null !== (W = G.rPr) &&
- void 0 !== W &&
- null !== (V = W.effectLst) &&
- void 0 !== V &&
- V.outerShdw &&
- ((St = {
- blur: 1,
- color: "#000000",
- h: Dr(
- (null === (ht = t.txBody.p.r.rPr.effectLst.outerShdw) ||
- void 0 === ht ||
- null === (mt = ht.attributes) ||
- void 0 === mt
- ? void 0
- : mt.sx) || 12700
- ),
- v: Dr(
- (null === (gt = t.txBody.p.r.rPr.effectLst.outerShdw) ||
- void 0 === gt ||
- null === (yt = gt.attributes) ||
- void 0 === yt
- ? void 0
- : yt.sy) || 12700
- )
- }),
- null !== (vt = t.txBody.p.r.rPr.effectLst.outerShdw) &&
- void 0 !== vt &&
- null !== (bt = vt.attributes) &&
- void 0 !== bt &&
- bt.blurRad &&
- (St.blur =
- ((null === (Ct = t.txBody.p.r.rPr.effectLst.outerShdw) ||
- void 0 === Ct ||
- null === (kt = Ct.attributes) ||
- void 0 === kt
- ? void 0
- : kt.blurRad) /
- 12700 /
- 100) *
- 20),
- null !== (wt = t.txBody.p.r.rPr.effectLst.outerShdw) &&
- void 0 !== wt &&
- null !== (xt = wt.srgbClr) &&
- void 0 !== xt &&
- null !== (At = xt.attributes) &&
- void 0 !== At &&
- At.val
- ? (St.color = "#".concat(t.txBody.p.r.rPr.effectLst.outerShdw.srgbClr.attributes.val))
- : null !== (_t = t.txBody.p.r.rPr.effectLst.outerShdw) &&
- void 0 !== _t &&
- null !== (Tt = _t.schemeClr) &&
- void 0 !== Tt &&
- null !== (Et = Tt.attributes) &&
- void 0 !== Et &&
- Et.val &&
- ((Lt = +i.replace(/[^0-9]/gi, "")),
- (Pt = zr(J, Lt, t.txBody.p.r.rPr.effectLst.outerShdw.schemeClr.attributes.val)),
- Pt && (St.color = Pt)),
- (Q.shadow = St)),
- null !== (H = t) &&
- void 0 !== H &&
- null !== (X = H.txBody) &&
- void 0 !== X &&
- null !== (Y = X.p) &&
- void 0 !== Y &&
- Y.r &&
- ((Dt = t.txBody.p.r),
- Array.isArray(Dt) || (Dt = [Dt]),
- null !== (Ot = Dt[0]) &&
- void 0 !== Ot &&
- null !== (jt = Ot.rPr) &&
- void 0 !== jt &&
- null !== (Rt = jt.solidFill) &&
- void 0 !== Rt &&
- null !== (It = Rt.schemeClr) &&
- void 0 !== It &&
- null !== (Nt = It.alpha) &&
- void 0 !== Nt &&
- null !== (Mt = Nt.attributes) &&
- void 0 !== Mt &&
- Mt.val &&
- ((Bt = Dt[0].rPr.solidFill.schemeClr.alpha.attributes.val / 1e5), (Q.opacity = Bt))),
- null !== (K = t) &&
- void 0 !== K &&
- null !== (Z = K.txBody) &&
- void 0 !== Z &&
- Z.p &&
- ((Wt = t.txBody.p),
- Array.isArray(Wt) || (Wt = [Wt]),
- null !== (Ft = Wt[0]) &&
- void 0 !== Ft &&
- null !== (Ut = Ft.pPr) &&
- void 0 !== Ut &&
- null !== (zt = Ut.lnSpc) &&
- void 0 !== zt &&
- null !== (qt = zt.spcPct) &&
- void 0 !== qt &&
- null !== (Gt = qt.attributes) &&
- void 0 !== Gt &&
- Gt.val &&
- ((Vt = Wt[0].pPr.lnSpc.spcPct.attributes.val / 1e5), (Q.lineHeight = Vt < 1 ? 1 : Vt))),
- l.a.merge(Q, me),
- e.abrupt("return", Q)
- )
- case 22:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r, n, i, o, a) {
- return e.apply(this, arguments)
- }
- })(),
- si = (function () {
- var e = T(
- A().mark(function e(t, r, n, i, o, a, s, c, u) {
- var f,
- p,
- d,
- h,
- m,
- g,
- y,
- v,
- b,
- w,
- x,
- _,
- T,
- E,
- S,
- C,
- k,
- L,
- P,
- O,
- j,
- R,
- I,
- N,
- M,
- D,
- B,
- F,
- U,
- z,
- q,
- G,
- W,
- V,
- H,
- X,
- Y,
- K,
- Z,
- Q,
- J,
- $,
- ee,
- te,
- re,
- ne,
- ie,
- ae,
- se,
- le,
- ce,
- ue,
- fe,
- pe,
- de,
- he,
- me,
- ge,
- ye,
- ve,
- be,
- we,
- xe,
- Ae,
- _e,
- Te,
- Ee,
- Se,
- Ce,
- ke,
- Le,
- Pe,
- Oe,
- je,
- Re,
- Ie,
- Ne,
- Me,
- De,
- Be,
- Fe,
- Ue,
- ze,
- qe,
- Ge,
- We,
- Ve,
- He,
- Xe,
- Ye,
- Ke,
- Ze,
- Qe,
- Je,
- $e,
- et,
- tt,
- rt,
- nt,
- it,
- ot,
- at,
- st,
- lt,
- ct,
- ut,
- ft,
- pt,
- dt,
- ht,
- mt,
- gt,
- yt,
- vt,
- bt,
- wt,
- xt,
- At,
- _t,
- Tt,
- Et,
- St,
- Ct,
- kt
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (((E = u.colorMap), (S = u.slidePer), null === (f = t.spPr) || void 0 === f || !f.blipFill)) {
- e.next = 6
- break
- }
- return (e.next = 4), Un(a, t.spPr, n, i, o, s, E)
- case 4:
- return (C = e.sent), e.abrupt("return", C)
- case 6:
- if (
- !(
- (null === (p = t.spPr.prstGeom) ||
- void 0 === p ||
- null === (d = p.attributes) ||
- void 0 === d ||
- null === (h = d.prst) ||
- void 0 === h
- ? void 0
- : h.indexOf("line")) >= 0
- )
- ) {
- e.next = 12
- break
- }
- return (e.next = 9), Gn(a, t, n, i, o, s, E)
- case 9:
- if (((L = e.sent), null === L || void 0 === L || null === (k = L[0]) || void 0 === k || !k.element)) {
- e.next = 12
- break
- }
- return e.abrupt("return", L[0])
- case 12:
- return (
- (P = {
- type: "shape",
- id: Nr(),
- left: 0,
- top: 0,
- width: 0,
- height: 0,
- rotate: 0,
- viewBox: [200, 200],
- fixedRatio: !1,
- fill: "transparent",
- path: "M 0 0 L 200 0 L 200 200 L 0 200 Z"
- }),
- (e.next = 15),
- Wr(t, n, o, i)
- )
- case 15:
- if (
- ((O = e.sent),
- l.a.merge(P, O),
- null !== (m = t.spPr) && void 0 !== m && m.custGeom
- ? ((R = ti(t.spPr.custGeom, c, null === (j = t.spPr) || void 0 === j ? void 0 : j.xfrm, S)),
- R && ((P.path = R), (P.viewBox = [P.width / S, P.height / S])))
- : ((D = ei(
- null === (I = t.spPr) ||
- void 0 === I ||
- null === (N = I.prstGeom) ||
- void 0 === N ||
- null === (M = N.attributes) ||
- void 0 === M
- ? void 0
- : M.prst,
- S,
- {
- width: P.width,
- height: P.height,
- sp: t
- }
- )),
- l.a.merge(P, D)),
- (B = t.spPr || {}),
- (F = B.noFill),
- (U = B.solidFill),
- (z = B.gradFill),
- (q = (null === t || void 0 === t ? void 0 : t.style) || {}),
- (G = q.fillRef),
- ("arc" !==
- (null === (g = t.spPr.prstGeom) || void 0 === g || null === (y = g.attributes) || void 0 === y
- ? void 0
- : y.prst) ||
- U) &&
- (z
- ? ((W = z || {}),
- (V = W.gsLst),
- (H = V || {}),
- (X = H.gs),
- null !== X && void 0 !== X && X[0] && null !== X && void 0 !== X && X[1]
- ? ((Y = X[0] || {}),
- (K = Y.srgbClr),
- (Z = Y.schemeClr),
- (Q = X[1] || {}),
- (J = Q.srgbClr),
- ($ = Q.schemeClr),
- (ee = +i.replace(/[^0-9]/gi, "")),
- K && J && ((te = oe.mix(K.attributes.val, J.attributes.val).toHexString()), (P.fill = te)),
- (re = ""),
- (ne = ""),
- Z &&
- ((re = zr(E, ee, Z.attributes.val)),
- (ie = Z || {}),
- (ae = ie.lumMod),
- (se = ie.lumOff),
- re &&
- (ae || se) &&
- (re = Hr(
- re,
- (null === ae || void 0 === ae ? void 0 : ae.attributes.val) || 0,
- (null === se || void 0 === se ? void 0 : se.attributes.val) || 0
- ))),
- $ &&
- ((ne = zr(E, ee, $.attributes.val)),
- (le = $ || {}),
- (ce = le.lumMod),
- (ue = le.lumOff),
- $ &&
- (ce || ue) &&
- (ne = Hr(
- ne,
- (null === ce || void 0 === ce ? void 0 : ce.attributes.val) || 0,
- (null === ue || void 0 === ue ? void 0 : ue.attributes.val) || 0
- ))),
- re && J && ((fe = oe.mix(re, J.attributes.val).toHexString()), fe && (P.fill = fe)),
- ne && K && ((pe = oe.mix(ne, K.attributes.val).toHexString()), pe && (P.fill = pe)),
- Z && $ && ((de = oe.mix(re, ne).toHexString()), de && (P.fill = de)))
- : (P.fill = "#000"))
- : F
- ? (P.fill = "transparent")
- : U
- ? ((he = U.schemeClr),
- (me = U.srgbClr),
- he &&
- ((ve = +i.replace(/[^0-9]/gi, "")),
- (be = zr(E, ve, null === he || void 0 === he ? void 0 : he.attributes.val)),
- (we =
- (null === (ge = t.spPr) || void 0 === ge || null === (ye = ge.solidFill) || void 0 === ye
- ? void 0
- : ye.schemeClr) || {}),
- (xe = we.lumMod),
- (Ae = we.lumOff),
- be &&
- (xe || Ae) &&
- (be = Hr(
- be,
- (null === xe || void 0 === xe ? void 0 : xe.attributes.val) || 0,
- (null === Ae || void 0 === Ae ? void 0 : Ae.attributes.val) || 0
- )),
- be && (P.fill = be),
- (_e = he || {}),
- (Te = _e.alpha),
- Te && (P.opacity = 1 - (1e5 - Te.attributes.val) / 1e5)),
- me &&
- ((ke =
- null === (Ee = t.spPr) ||
- void 0 === Ee ||
- null === (Se = Ee.solidFill) ||
- void 0 === Se ||
- null === (Ce = Se.srgbClr) ||
- void 0 === Ce
- ? void 0
- : Ce.attributes.val),
- ke && (P.fill = "#" + ke),
- (Le = me || {}),
- (Pe = Le.alpha),
- Pe && (P.opacity = 1 - (1e5 - Pe.attributes.val) / 1e5)))
- : !G ||
- (null !== (v = t.spPr) && void 0 !== v && v.custGeom) ||
- ((Oe = G.schemeClr),
- (je = +i.replace(/[^0-9]/gi, "")),
- (Re = zr(E, je, null === Oe || void 0 === Oe ? void 0 : Oe.attributes.val)),
- Re && (P.fill = Re))),
- null === (b = t.txBody) || void 0 === b || !b.p)
- ) {
- e.next = 26
- break
- }
- return (e.next = 24), ai(t, r, n, i, o, u)
- case 24:
- ;(Ie = e.sent),
- null !== Ie &&
- void 0 !== Ie &&
- Ie.content &&
- ((P.text = {
- content: Ie.content,
- defaultColor: Ie.defaultColor,
- defaultFontName: "Sans-serif",
- align: "top"
- }),
- "ctr" ===
- (null === (Ne = t.txBody) ||
- void 0 === Ne ||
- null === (Me = Ne.bodyPr) ||
- void 0 === Me ||
- null === (De = Me.attributes) ||
- void 0 === De
- ? void 0
- : De.anchor)
- ? (P.text.align = "middle")
- : "t" ===
- (null === (Be = t.txBody) ||
- void 0 === Be ||
- null === (Fe = Be.bodyPr) ||
- void 0 === Fe ||
- null === (Ue = Fe.attributes) ||
- void 0 === Ue
- ? void 0
- : Ue.anchor)
- ? (P.text.align = "top")
- : "b" ===
- (null === (ze = t.txBody) ||
- void 0 === ze ||
- null === (qe = ze.bodyPr) ||
- void 0 === qe ||
- null === (Ge = qe.attributes) ||
- void 0 === Ge
- ? void 0
- : Ge.anchor) && (P.text.align = "bottom"),
- null !== (We = t.style) &&
- void 0 !== We &&
- null !== (Ve = We.fontRef) &&
- void 0 !== Ve &&
- Ve.schemeClr &&
- ((Ke = +i.replace(/[^0-9]/gi, "")),
- (Ze = zr(
- E,
- Ke,
- null === t ||
- void 0 === t ||
- null === (He = t.style) ||
- void 0 === He ||
- null === (Xe = He.fontRef) ||
- void 0 === Xe ||
- null === (Ye = Xe.schemeClr) ||
- void 0 === Ye
- ? void 0
- : Ye.attributes.val
- )),
- Ze && (P.text.defaultColor = Ze)))
- case 26:
- return (
- (null !== (w = t.spPr) && void 0 !== w && null !== (x = w.ln) && void 0 !== x && x.noFill) ||
- ((tt = +i.replace(/[^0-9]/gi, "")),
- (rt = "transparent"),
- null !== (Qe = t.style) &&
- void 0 !== Qe &&
- null !== (Je = Qe.lnRef) &&
- void 0 !== Je &&
- null !== ($e = Je.schemeClr) &&
- void 0 !== $e &&
- $e.attributes.val &&
- ((ot = zr(
- E,
- tt,
- null === (nt = t.style) || void 0 === nt || null === (it = nt.lnRef) || void 0 === it
- ? void 0
- : it.schemeClr.attributes.val
- )),
- ot && (rt = ot)),
- (at = {
- style: "solid",
- width: 1,
- color: rt
- }),
- null !== t &&
- void 0 !== t &&
- null !== (et = t.spPr) &&
- void 0 !== et &&
- et.ln &&
- ((dt = (null === (st = t.spPr.ln) || void 0 === st ? void 0 : st.solidFill) || {}),
- (ht = dt.srgbClr),
- (mt = dt.schemeClr),
- (gt = rt),
- ht
- ? (gt =
- "#" +
- (null === ht || void 0 === ht || null === (yt = ht.attributes) || void 0 === yt ? void 0 : yt.val))
- : mt &&
- ((gt = zr(
- E,
- tt,
- null === mt || void 0 === mt || null === (vt = mt.attributes) || void 0 === vt ? void 0 : vt.val
- )),
- (At =
- (null === (bt = t.spPr) ||
- void 0 === bt ||
- null === (wt = bt.ln) ||
- void 0 === wt ||
- null === (xt = wt.solidFill) ||
- void 0 === xt
- ? void 0
- : xt.schemeClr) || {}),
- (_t = At.lumMod),
- (Tt = At.lumOff),
- gt &&
- (_t || Tt) &&
- (gt = Hr(
- gt,
- (null === _t || void 0 === _t ? void 0 : _t.attributes.val) || 0,
- (null === Tt || void 0 === Tt ? void 0 : Tt.attributes.val) || 0
- ))),
- (at.style =
- -1 ===
- (null === (lt = t.spPr.ln) ||
- void 0 === lt ||
- null === (ct = lt.prstDash) ||
- void 0 === ct ||
- null === (ut = ct.attributes) ||
- void 0 === ut
- ? void 0
- : ut.val.toLowerCase().indexOf("solid"))
- ? "dashed"
- : "solid"),
- (
- (at.width =
- (((null === (ft = t.spPr.ln) || void 0 === ft || null === (pt = ft.attributes) || void 0 === pt
- ? void 0
- : pt.w) || 12700) /
- 12700) *
- 4) / 3
- ).toFixed(1),
- (at.color = gt)),
- (P.outline = at)),
- (Et =
- (null === t || void 0 === t || null === (_ = t.spPr) || void 0 === _ || null === (T = _.xfrm) || void 0 === T
- ? void 0
- : T.attributes) || {}),
- (St = Et.rot),
- (Ct = Et.flipV),
- (kt = Et.flipH),
- St &&
- (P.rotate =
- t.spPr.xfrm.attributes.rot / 6e4 > 180
- ? t.spPr.xfrm.attributes.rot / 6e4 - 360
- : t.spPr.xfrm.attributes.rot / 6e4),
- Ct && (P.flipV = !0),
- kt && (P.flipH = !0),
- e.abrupt("return", P)
- )
- case 32:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r, n, i, o, a, s, l, c) {
- return e.apply(this, arguments)
- }
- })(),
- li = {
- slide: 0,
- layout: 1,
- master: 2
- },
- ci = (function () {
- var e = T(
- A().mark(function e(t, r, n, i, o, a, s, l, c, u) {
- var f, p, d, h, m, g, y
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((p = []),
- (d = []),
- Array.isArray(t) || (t = [t]),
- (h =
- null === n || void 0 === n || null === (f = n.elements) || void 0 === f
- ? void 0
- : f.filter(function (e) {
- return "sp" === e.name
- })),
- h)
- ) {
- e.next = 6
- break
- }
- return e.abrupt("return")
- case 6:
- ;(m = A().mark(function e() {
- var n, c, f, m, y, v, b, w, x, _, T, E, S, C, k, L, P, O, j, R, I, N, M, D, B, F, U, z
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (((w = t[g]), r !== li.layout && r !== li.master)) {
- e.next = 4
- break
- }
- if (
- null === w ||
- void 0 === w ||
- null === (x = w.nvSpPr) ||
- void 0 === x ||
- null === (_ = x.nvPr) ||
- void 0 === _ ||
- !_.ph
- ) {
- e.next = 4
- break
- }
- return e.abrupt("return", "continue")
- case 4:
- if (
- ((T =
- null === w ||
- void 0 === w ||
- null === (n = w.nvSpPr) ||
- void 0 === n ||
- null === (c = n.cNvPr) ||
- void 0 === c ||
- null === (f = c.attributes) ||
- void 0 === f
- ? void 0
- : f.id),
- h.forEach(function (e) {
- null === e ||
- void 0 === e ||
- e.elements.forEach(function (t) {
- "nvSpPr" === t.name &&
- (null === t ||
- void 0 === t ||
- t.elements.forEach(function (t) {
- if ("cNvPr" === t.name && t.attributes.id === T) {
- var r =
- null === e || void 0 === e
- ? void 0
- : e.elements.filter(function (e) {
- return "txBody" === e.name
- })[0]
- E =
- null === r || void 0 === r
- ? void 0
- : r.elements.filter(function (e) {
- return "p" === e.name
- })
- }
- }))
- })
- }),
- !(
- (null !== (m = w.spPr) &&
- void 0 !== m &&
- null !== (y = m.prstGeom) &&
- void 0 !== y &&
- null !== (v = y.attributes) &&
- void 0 !== v &&
- v.prst) ||
- (null !== (b = w.spPr) && void 0 !== b && b.custGeom)
- ))
- ) {
- e.next = 16
- break
- }
- return (
- (k =
- null === (S = w.nvSpPr) || void 0 === S || null === (C = S.cNvPr) || void 0 === C
- ? void 0
- : C.attributes.id),
- (L = []),
- h.forEach(function (e) {
- var t = !0
- null === e ||
- void 0 === e ||
- e.elements.forEach(function (e) {
- "nvSpPr" === e.name &&
- (null === e ||
- void 0 === e ||
- e.elements.forEach(function (e) {
- var r
- "cNvPr" === e.name &&
- (null === (r = e.attributes) || void 0 === r ? void 0 : r.id) !== k &&
- (t = !1)
- })),
- "spPr" === e.name &&
- t &&
- (null === e ||
- void 0 === e ||
- e.elements.forEach(function (e) {
- "custGeom" === e.name &&
- (null === e ||
- void 0 === e ||
- e.elements.forEach(function (e) {
- "pathLst" === e.name &&
- (null === e ||
- void 0 === e ||
- e.elements.every(function (e) {
- return (
- "path" !== e.name ||
- ((L =
- (null === e || void 0 === e ? void 0 : e.elements) ||
- []),
- !1)
- )
- }))
- }))
- }))
- })
- }),
- (e.next = 12),
- si(w, E, i, o, a, s, l, L, u)
- )
- case 12:
- ;(P = e.sent),
- P &&
- (null !== P &&
- void 0 !== P &&
- P.element &&
- "line" === (null === (O = P.element) || void 0 === O ? void 0 : O.type)
- ? (p.push(P.element),
- d.push({
- id:
- null === w ||
- void 0 === w ||
- null === (j = w.nvSpPr) ||
- void 0 === j ||
- null === (R = j.cNvPr) ||
- void 0 === R ||
- null === (I = R.attributes) ||
- void 0 === I
- ? void 0
- : I.id,
- element: P.element,
- lineWidth: P.lineWidth,
- lineHeight: P.lineHeight
- }))
- : (p.push(P),
- d.push({
- id:
- null === w ||
- void 0 === w ||
- null === (N = w.nvSpPr) ||
- void 0 === N ||
- null === (M = N.cNvPr) ||
- void 0 === M ||
- null === (D = M.attributes) ||
- void 0 === D
- ? void 0
- : D.id,
- element: P
- }))),
- (e.next = 20)
- break
- case 16:
- return (e.next = 18), ai(w, E, i, o, a, u)
- case 18:
- ;(B = e.sent),
- null !== B &&
- void 0 !== B &&
- B.content &&
- (p.push(B),
- d.push({
- id:
- null === w ||
- void 0 === w ||
- null === (F = w.nvSpPr) ||
- void 0 === F ||
- null === (U = F.cNvPr) ||
- void 0 === U ||
- null === (z = U.attributes) ||
- void 0 === z
- ? void 0
- : z.id,
- element: B
- }))
- case 20:
- case "end":
- return e.stop()
- }
- }, e)
- })),
- (g = 0)
- case 8:
- if (!(g < t.length)) {
- e.next = 16
- break
- }
- return e.delegateYield(m(), "t0", 10)
- case 10:
- if (((y = e.t0), "continue" !== y)) {
- e.next = 13
- break
- }
- return e.abrupt("continue", 13)
- case 13:
- g++, (e.next = 8)
- break
- case 16:
- return e.abrupt("return", d)
- case 17:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r, n, i, o, a, s, l, c, u) {
- return e.apply(this, arguments)
- }
- })(),
- ui = (function () {
- var e = T(
- A().mark(function e(t, r, n, i, o, a) {
- var s, l, c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E
- return A().wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- (n
- ? (l =
- (null === (c = n["p14:media"]) || void 0 === c || null === (u = c.attributes) || void 0 === u
- ? void 0
- : u["r:embed"]) ||
- (null === (f = n["p14:media"]) || void 0 === f || null === (p = f.attributes) || void 0 === p
- ? void 0
- : p["r:link"]))
- : r && (l = null === (d = r.attributes) || void 0 === d ? void 0 : d["r:link"]),
- l)
- ) {
- e.next = 3
- break
- }
- return e.abrupt("return")
- case 3:
- if (
- ((h = i.Relationships.Relationship || []),
- (m = h.find(function (e) {
- return e.attributes.Id === l
- })),
- m)
- ) {
- e.next = 7
- break
- }
- return e.abrupt("return")
- case 7:
- if (
- ((g = m.attributes.Target),
- "External" !== (null === (s = m.attributes) || void 0 === s ? void 0 : s.TargetMode))
- ) {
- e.next = 10
- break
- }
- return e.abrupt("return", "external")
- case 10:
- if (((y = o["ppt".concat(g.replace("..", ""))]), y)) {
- e.next = 13
- break
- }
- return e.abrupt("return")
- case 13:
- return (e.prev = 13), (e.next = 16), y.async("arraybuffer")
- case 16:
- return (
- (v = e.sent),
- (b = y.name.split(".")),
- (w = "audio/".concat(b[b.length - 1])),
- (x = new Blob([v], {
- type: w
- })),
- (_ = y.name.split("/").reverse()[0]),
- (T = new File([x], _, {
- type: w
- })),
- (e.next = 24),
- a(T)
- )
- case 24:
- return (E = e.sent), (E.name = _.split(".")[0]), e.abrupt("return", E)
- case 29:
- throw (
- ((e.prev = 29),
- (e.t0 = e["catch"](13)),
- re.error("ppt-file parse audio upload failed", e.t0),
- new Error("第".concat(t, "页PPT 音频上传失败,请重试")))
- )
- case 33:
- case "end":
- return e.stop()
- }
- },
- e,
- null,
- [[13, 29]]
- )
- })
- )
- return function (t, r, n, i, o, a) {
- return e.apply(this, arguments)
- }
- })(),
- fi = (function () {
- var e = T(
- A().mark(function e(t, r, n, i, o, a) {
- var s, l, c, u, f, p, d
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (u = {
- type: "elf",
- subtype: "elf-audio",
- id: Nr(),
- left: 0,
- top: 0,
- width: 400,
- height: 50,
- src: "",
- name: "",
- focusOrder: 1
- }),
- (f =
- null === n ||
- void 0 === n ||
- null === (s = n.nvPicPr) ||
- void 0 === s ||
- null === (l = s.nvPr) ||
- void 0 === l ||
- null === (c = l.extLst) ||
- void 0 === c
- ? void 0
- : c.ext),
- (e.next = 4),
- ui(t, r, f, i, o, a)
- )
- case 4:
- if (((p = e.sent), "external" !== p)) {
- e.next = 7
- break
- }
- return e.abrupt("return", "external")
- case 7:
- if ((p && ((u.src = p.url), (u.size = p.size), (u.md5 = p.md5), (u.name = p.name)), u.src)) {
- e.next = 10
- break
- }
- return e.abrupt("return")
- case 10:
- return (e.next = 12), Wr(n, i, o)
- case 12:
- return (
- (d = e.sent),
- d &&
- ((u.left = null === d || void 0 === d ? void 0 : d.left),
- (u.top = null === d || void 0 === d ? void 0 : d.top)),
- e.abrupt("return", u)
- )
- case 15:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r, n, i, o, a) {
- return e.apply(this, arguments)
- }
- })(),
- pi = ["avi", "mpg"],
- di = (function () {
- var e = T(
- A().mark(function e(t, r, n, i, o) {
- var a, s, l, c, u, f, p, d, h, m, g, y, v
- return A().wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (((s = r.attributes["r:link"]), s)) {
- e.next = 3
- break
- }
- return e.abrupt("return")
- case 3:
- if (
- ((l = n.Relationships.Relationship || []),
- (c = l.find(function (e) {
- return e.attributes.Id === s
- })),
- "External" !== (null === (a = c.attributes) || void 0 === a ? void 0 : a.TargetMode))
- ) {
- e.next = 7
- break
- }
- return e.abrupt("return", "external")
- case 7:
- if (c) {
- e.next = 9
- break
- }
- return e.abrupt("return")
- case 9:
- if (((u = c.attributes.Target), (f = i["ppt".concat(u.replace("..", ""))]), f)) {
- e.next = 13
- break
- }
- return e.abrupt("return")
- case 13:
- return (e.prev = 13), (e.next = 16), f.async("arraybuffer")
- case 16:
- if (
- ((p = e.sent),
- (d = f.name.split(".")),
- (h = "video/".concat(d[d.length - 1])),
- -1 === pi.indexOf(d[d.length - 1]))
- ) {
- e.next = 21
- break
- }
- return e.abrupt("return", "noSupportVideoType")
- case 21:
- return (
- (m = new Blob([p], {
- type: h
- })),
- (g = f.name.split("/").reverse()[0]),
- (y = new File([m], g, {
- type: h
- })),
- (e.next = 26),
- o(y)
- )
- case 26:
- return (v = e.sent), (v.name = g.split(".")[0]), e.abrupt("return", v)
- case 31:
- throw (
- ((e.prev = 31),
- (e.t0 = e["catch"](13)),
- re.error("ppt-file parse video upload failed", e.t0),
- new Error("第".concat(t, "页PPT 视频上传失败,请重试")))
- )
- case 35:
- case "end":
- return e.stop()
- }
- },
- e,
- null,
- [[13, 31]]
- )
- })
- )
- return function (t, r, n, i, o) {
- return e.apply(this, arguments)
- }
- })(),
- hi = (function () {
- var e = T(
- A().mark(function e(t, r, n, i, o, a) {
- var s, c, u
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (s = {
- type: "elf",
- subtype: "elf-video",
- id: Nr(),
- left: 0,
- top: 0,
- width: 0,
- height: 0,
- name: "",
- src: "",
- poster: "",
- videoSize: 0,
- posterSize: 0
- }),
- (e.next = 3),
- di(t, r, i, o, a)
- )
- case 3:
- if (((c = e.sent), "external" !== c)) {
- e.next = 6
- break
- }
- return e.abrupt("return", "external")
- case 6:
- if ("noSupportVideoType" !== c) {
- e.next = 8
- break
- }
- return e.abrupt("return", "noSupportVideoType")
- case 8:
- if ((c && ((s.src = c.url), (s.videoSize = c.size), (s.md5 = c.md5), (s.name = c.name)), s.src)) {
- e.next = 11
- break
- }
- return e.abrupt("return")
- case 11:
- return (e.next = 13), Wr(n, i, o)
- case 13:
- return (u = e.sent), l.a.merge(s, u), e.abrupt("return", s)
- case 16:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r, n, i, o, a) {
- return e.apply(this, arguments)
- }
- })(),
- mi = function (e) {
- var t = []
- if (Array.isArray(e)) {
- e.forEach(function (e) {
- null !== e && void 0 !== e && e.id && -1 === gi.indexOf(e.id) && t.push(e)
- })
- var r = []
- t.forEach(function (e) {
- var t
- "elf-video" === (null === e || void 0 === e || null === (t = e.element) || void 0 === t ? void 0 : t.subtype) && r.push(e.id)
- }),
- r.length > 0 &&
- r.forEach(function (e) {
- var r
- t.forEach(function (t) {
- var n
- t.id === e &&
- "image" === (null === t || void 0 === t || null === (n = t.element) || void 0 === n ? void 0 : n.type) &&
- (r = t)
- }),
- r &&
- t.forEach(function (t) {
- var n
- t.id === e &&
- "elf-video" ===
- (null === t || void 0 === t || null === (n = t.element) || void 0 === n ? void 0 : n.subtype) &&
- (t.element.poster = r.element.src)
- })
- }),
- (t = t.filter(function (e) {
- var t
- return (
- "elf-video" === (null === e || void 0 === e || null === (t = e.element) || void 0 === t ? void 0 : t.subtype) ||
- -1 === r.indexOf(e.id)
- )
- }))
- }
- return t
- },
- gi = [],
- yi = (function () {
- var e = T(
- A().mark(function e(t, r, n, i, o, a, s) {
- var l, c, u, f, p, d, h, m, g, y, v, b
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((l = r.nvPicPr.nvPr || {}),
- (c = Object.entries(l)),
- (u = []),
- 0 !== c.length && (1 !== c.length || "attributes" !== c[0][0]))
- ) {
- e.next = 12
- break
- }
- return (e.next = 6), Un(t, r, n, i, o, a, s)
- case 6:
- if (((f = e.sent), f)) {
- e.next = 9
- break
- }
- throw new Error("第".concat(t, "页PPT 图片解析失败,请重试"))
- case 9:
- if ("noSupportImageType" !== f) {
- e.next = 11
- break
- }
- return e.abrupt("return")
- case 11:
- u.push({
- id: r.nvPicPr.cNvPr.attributes.id,
- element: f
- })
- case 12:
- p = 0
- case 13:
- if (!(p < c.length)) {
- e.next = 59
- break
- }
- if (((d = E(c[p], 2)), (h = d[0]), (m = d[1]), "audioFile" !== h)) {
- e.next = 24
- break
- }
- return (e.next = 18), fi(t, m, r, n, o, a)
- case 18:
- if (((g = e.sent), g)) {
- e.next = 21
- break
- }
- throw new Error("第".concat(t, "页PPT 音频解析失败,请重试"))
- case 21:
- "external" !== g &&
- u.push({
- id: r.nvPicPr.cNvPr.attributes.id,
- element: g
- }),
- (e.next = 56)
- break
- case 24:
- if ("videoFile" !== h) {
- e.next = 36
- break
- }
- return (e.next = 27), hi(t, m, r, n, o, a)
- case 27:
- if (((y = e.sent), !y || "noSupportVideoType" !== y)) {
- e.next = 31
- break
- }
- return gi.push(r.nvPicPr.cNvPr.attributes.id), e.abrupt("return")
- case 31:
- if (y) {
- e.next = 33
- break
- }
- throw new Error("第".concat(t, "页PPT 视频解析失败,请重试"))
- case 33:
- "external" !== y
- ? u.push({
- id: r.nvPicPr.cNvPr.attributes.id,
- element: y
- })
- : gi.push(r.nvPicPr.cNvPr.attributes.id),
- (e.next = 56)
- break
- case 36:
- if ("ph" !== h) {
- e.next = 47
- break
- }
- return (e.next = 39), Un(t, r, n, i, o, a, s)
- case 39:
- if (((v = e.sent), v)) {
- e.next = 42
- break
- }
- throw new Error("第".concat(t, "页PPT 图片解析失败,请重试"))
- case 42:
- if ("noSupportImageType" !== v) {
- e.next = 44
- break
- }
- return e.abrupt("return")
- case 44:
- u.push({
- id: r.nvPicPr.cNvPr.attributes.id,
- element: v
- }),
- (e.next = 56)
- break
- case 47:
- if ("custDataLst" !== h) {
- e.next = 56
- break
- }
- return (e.next = 50), Un(t, r, n, i, o, a, s)
- case 50:
- if (((b = e.sent), b)) {
- e.next = 53
- break
- }
- throw new Error("第".concat(t, "页PPT 图片解析失败,请重试"))
- case 53:
- if ("noSupportImageType" !== b) {
- e.next = 55
- break
- }
- return e.abrupt("return")
- case 55:
- u.push({
- id: r.nvPicPr.cNvPr.attributes.id,
- element: b
- })
- case 56:
- p++, (e.next = 13)
- break
- case 59:
- return (u = mi(u)), e.abrupt("return", u)
- case 61:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r, n, i, o, a, s) {
- return e.apply(this, arguments)
- }
- })(),
- vi = {
- ContentTypesPath: "[Content_Types].xml",
- PresentationRelsPath: "ppt/_rels/presentation.xml.rels",
- SlidePath: "ppt/slides/slide[0-9]*.xml",
- SlideRelsPath: "ppt/slides/_rels/slide[0-9]*.xml.rels",
- MediaPath: "ppt/media/**/*.**",
- themePath: "ppt/theme/theme[0-9]*.xml",
- PresentationPath: "ppt/presentation.xml",
- SlideLayoutRelsPath: "ppt/slideLayouts/_rels/slideLayout[0-100]*.xml.rels",
- SlideMasterPath: "ppt/slideMasters/slideMaster[0-9]*.xml",
- SlideMasterRelsPath: "ppt/slideMasters/_rels/slideMaster[0-9]*.xml.rels"
- },
- bi = {
- compact: !0,
- ignoreDeclaration: !0,
- attributesKey: "attributes",
- elementNameFn: function (e) {
- return e.replace("p:", "").replace("a:", "")
- }
- },
- wi = {
- compact: !1,
- ignoreDeclaration: !0,
- attributesKey: "attributes",
- elementNameFn: function (e) {
- return e.replace("p:", "").replace("a:", "")
- }
- },
- xi = {
- slide: 0,
- layout: 1,
- master: 2
- },
- Ai = function e(t, r, n) {
- var i = []
- if (r) {
- var o, a
- if ("spTree" === r.name)
- r =
- null === (o = r) || void 0 === o
- ? void 0
- : o.elements.filter(function (e) {
- return "pic" === e.name || "sp" === e.name || "grpSp" === e.name || "graphicFrame" === e.name || "cxnSp" === e.name
- })
- else
- r =
- null === (a = r) || void 0 === a
- ? void 0
- : a.filter(function (e) {
- return "pic" === e.name || "sp" === e.name || "grpSp" === e.name || "graphicFrame" === e.name || "cxnSp" === e.name
- })
- var s = []
- if (
- (t.forEach(function (e) {
- null !== e && void 0 !== e && e.graphicFrameId && s.push(e.graphicFrameId)
- }),
- r.length > 0)
- )
- for (
- var c = function () {
- if ("pic" === r[u].name) {
- var o,
- a,
- c,
- f,
- p =
- null === (o = r[u].elements) || void 0 === o
- ? void 0
- : o.find(function (e) {
- return "nvPicPr" === e.name
- }),
- d =
- null === (a = Mr(null === p || void 0 === p ? void 0 : p.elements)) || void 0 === a
- ? void 0
- : a.find(function (e) {
- return "cNvPr" === e.name
- }),
- h = null === d || void 0 === d || null === (c = d.attributes) || void 0 === c ? void 0 : c.id,
- m =
- null === (f = Mr(t)) || void 0 === f
- ? void 0
- : f.find(function (e) {
- return (
- (!n && e.id === h) ||
- (n && e.id === h && n === (null === e || void 0 === e ? void 0 : e.graphicFrameId))
- )
- })
- m && i.push(m.element)
- } else if ("sp" === r[u].name) {
- var g,
- y,
- v,
- b,
- w =
- null === (g = Mr(r[u].elements)) || void 0 === g
- ? void 0
- : g.find(function (e) {
- return "nvSpPr" === e.name
- }),
- x =
- null === (y = Mr(null === w || void 0 === w ? void 0 : w.elements)) || void 0 === y
- ? void 0
- : y.find(function (e) {
- return "cNvPr" === e.name
- }),
- A = null === x || void 0 === x || null === (v = x.attributes) || void 0 === v ? void 0 : v.id,
- _ =
- null === (b = Mr(t)) || void 0 === b
- ? void 0
- : b.find(function (e) {
- return e.id === A
- })
- _ && i.push(_.element)
- } else if ("grpSp" === r[u].name) {
- var T,
- E = l.a.cloneDeep(i)
- i = []
- var S = e(t, r[u].elements) || []
- ;(T = i).push.apply(T, N(E).concat(N(S)))
- } else if ("graphicFrame" === r[u].name) {
- var C = !1,
- k = ""
- r[u].elements.forEach(function (e) {
- "nvGraphicFramePr" === e.name &&
- e.elements.forEach(function (e) {
- "cNvPr" === e.name && ((k = e.attributes.id), k && s.includes(k) && (C = !0))
- })
- }),
- C &&
- r[u].elements.forEach(function (r) {
- "graphic" === r.name &&
- r.elements.forEach(function (r) {
- "graphicData" === r.name &&
- r.elements.forEach(function (r) {
- "mc:AlternateContent" === r.name &&
- r.elements.forEach(function (r) {
- "mc:Fallback" === r.name &&
- r.elements.forEach(function (r) {
- if ("oleObj" === r.name) {
- var n,
- o = l.a.cloneDeep(i)
- i = []
- var a = e(t, r.elements, k) || []
- ;(n = i).push.apply(n, N(o).concat(N(a)))
- }
- })
- })
- })
- })
- })
- } else if ("cxnSp" === r[u].name) {
- var L,
- P,
- O,
- j,
- R =
- null === (L = Mr(r[u].elements)) || void 0 === L
- ? void 0
- : L.find(function (e) {
- return "nvCxnSpPr" === e.name
- }),
- I =
- null === (P = Mr(null === R || void 0 === R ? void 0 : R.elements)) || void 0 === P
- ? void 0
- : P.find(function (e) {
- return "cNvPr" === e.name
- }),
- M = null === I || void 0 === I || null === (O = I.attributes) || void 0 === O ? void 0 : O.id,
- D =
- null === (j = Mr(t)) || void 0 === j
- ? void 0
- : j.find(function (e) {
- return e.id === M
- })
- D && i.push(D.element)
- }
- },
- u = 0;
- u < r.length;
- u++
- )
- c()
- return i
- }
- },
- _i = (function () {
- var e = T(
- A().mark(function e(t, r, n, i, o, a, s, l, c, u, f, p) {
- var d, h, m
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- ;(d = []),
- (h = A().mark(function e() {
- var h,
- g,
- y,
- v,
- b,
- w,
- x,
- _,
- T,
- S,
- C,
- k,
- L,
- P,
- O,
- j,
- R,
- I,
- M,
- D,
- B,
- F,
- U,
- z,
- q,
- G,
- W,
- V,
- H,
- X,
- Y,
- K,
- Z,
- Q,
- J,
- $,
- ee,
- te,
- re,
- ne
- return A().wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- ;(h = E(n[m], 2)),
- (g = h[0]),
- (y = h[1]),
- l.beforeParseElement && l.beforeParseElement(n[m], d[m], m + 1, n.length),
- (e.t0 = g),
- (e.next =
- "sp" === e.t0
- ? 5
- : "grpSp" === e.t0
- ? 19
- : "grpSpPr" === e.t0
- ? 52
- : "pic" === e.t0
- ? 55
- : "graphicFrame" === e.t0
- ? 76
- : "cxnSp" === e.t0
- ? 91
- : 99)
- break
- case 5:
- return (e.prev = 5), (e.next = 8), ci(y, r, i, o, a, s, t, l.upload, c, p)
- case 8:
- if (((e.t1 = e.sent), e.t1)) {
- e.next = 11
- break
- }
- e.t1 = []
- case 11:
- ;(v = e.t1),
- v.forEach(function (e) {
- d.push(e)
- }),
- (e.next = 18)
- break
- case 15:
- throw ((e.prev = 15), (e.t2 = e["catch"](5)), new Error(e.t2.message))
- case 18:
- return e.abrupt("break", 99)
- case 19:
- if (!y) {
- e.next = 51
- break
- }
- if (((b = Object.entries(y)), (e.prev = 21), "0" !== b[0][0])) {
- e.next = 32
- break
- }
- ;(w = A().mark(function e() {
- var n, h, m, g, y, v, w, _, T, S, C, k
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (h = E(b[x], 2)),
- (m = h[1]),
- (g = Object.entries(m)),
- (y =
- null === i || void 0 === i || null === (n = i.elements) || void 0 === n
- ? void 0
- : n.filter(function (e) {
- return "grpSp" === e.name
- })),
- (v = void 0),
- (w = !1),
- (_ = void 0),
- g.forEach(function (e) {
- var t, r
- "nvGrpSpPr" === e[0] &&
- null !== (t = e[1].cNvPr) &&
- void 0 !== t &&
- t.attributes.id &&
- (v =
- null === (r = e[1].cNvPr) || void 0 === r ? void 0 : r.attributes.id)
- }),
- null === y ||
- void 0 === y ||
- y.forEach(function (e) {
- null === e ||
- void 0 === e ||
- e.elements.forEach(function (t) {
- "nvGrpSpPr" === t.name &&
- (null === t ||
- void 0 === t ||
- t.elements.forEach(function (e) {
- if ("cNvPr" === e.name) {
- var t,
- r =
- null === e ||
- void 0 === e ||
- null === (t = e.attributes) ||
- void 0 === t
- ? void 0
- : t.id
- r === v && (w = !0)
- }
- })),
- w && ((_ = e), (w = !1))
- })
- }),
- (e.next = 10),
- _i(t, r, g, _, o, a, s, l, c, u, f, p)
- )
- case 10:
- ;(T = e.sent),
- (S = Nr()),
- (C = u.pop()),
- T.forEach(function (e) {
- var t = e.element.width
- if (C) {
- var r = Vr(C, {
- left: e.element.left,
- top: e.element.top,
- width: "line" === e.element.type ? e.lineWidth : e.element.width,
- height: "line" === e.element.type ? e.lineHeight : e.element.height
- })
- if (
- ((e.element.left = r.left),
- (e.element.top = r.top),
- "line" !== e.element.type)
- )
- (e.element.width = r.width), (e.element.height = r.height)
- else {
- var n = e.element || {}
- n.start, n.end
- ;(e.element.start = e.element.start.map(function (t) {
- return t === e.lineWidth
- ? r.width
- : t === e.lineHeight
- ? r.height
- : t
- })),
- (e.element.end = e.element.end.map(function (t) {
- return t === e.lineWidth
- ? r.width
- : t === e.lineHeight
- ? r.height
- : t
- }))
- }
- }
- if (
- "shape" === e.element.type &&
- (200 !== e.element.viewBox[0] || 200 !== e.element.viewBox[1])
- ) {
- var i = 0 === t ? 1 : e.element.width / t,
- o = e.element.path,
- a = []
- o.split(" ").forEach(function (e) {
- isNaN(+e) ? a.push(e) : a.push(+e * i)
- }),
- (e.element.path = a.join(" ")),
- (e.element.viewBox = [
- e.element.viewBox[0] * i,
- e.element.viewBox[1] * i
- ])
- }
- }),
- (k = f.pop()),
- T.forEach(function (e) {
- ;(e.element.groupId = S),
- ("text" !== e.element.type && "shape" !== e.element.type) ||
- (k && (e.element.fill = k)),
- "elf" === e.element.type &&
- "elf-audio" === e.element.subtype &&
- ((e.element.width = 400), (e.element.height = 50)),
- d.push(e)
- })
- case 16:
- case "end":
- return e.stop()
- }
- }, e)
- })),
- (x = 0)
- case 25:
- if (!(x < b.length)) {
- e.next = 30
- break
- }
- return e.delegateYield(w(), "t3", 27)
- case 27:
- x++, (e.next = 25)
- break
- case 30:
- e.next = 46
- break
- case 32:
- return (
- (C =
- null === i || void 0 === i || null === (_ = i.elements) || void 0 === _
- ? void 0
- : _.filter(function (e) {
- return "grpSp" === e.name
- })),
- 0 === (null === (T = C) || void 0 === T ? void 0 : T.length) && (C = [i]),
- (k = void 0),
- (L = !1),
- (P = void 0),
- b.forEach(function (e) {
- var t, r, n, i
- "nvGrpSpPr" === e[0] &&
- null !== (t = e[1]) &&
- void 0 !== t &&
- null !== (r = t.cNvPr) &&
- void 0 !== r &&
- null !== (n = r.attributes) &&
- void 0 !== n &&
- n.id &&
- (k = null === (i = e[1].cNvPr) || void 0 === i ? void 0 : i.attributes.id)
- }),
- null === (S = C) ||
- void 0 === S ||
- S.forEach(function (e) {
- null === e ||
- void 0 === e ||
- e.elements.forEach(function (t) {
- "nvGrpSpPr" === t.name &&
- (null === t ||
- void 0 === t ||
- t.elements.forEach(function (e) {
- if ("cNvPr" === e.name) {
- var t,
- r =
- null === e ||
- void 0 === e ||
- null === (t = e.attributes) ||
- void 0 === t
- ? void 0
- : t.id
- r === k && (L = !0)
- }
- })),
- L && ((P = e), (L = !1))
- })
- }),
- (e.next = 41),
- _i(t, r, b, P, o, a, s, l, c, u, f, p)
- )
- case 41:
- ;(O = e.sent),
- (j = Nr()),
- (R = f.pop()),
- (I = u.pop()),
- O.forEach(function (e) {
- var t = e.element.width
- if (I) {
- var r = Vr(I, {
- left: e.element.left,
- top: e.element.top,
- width: "line" === e.element.type ? e.lineWidth : e.element.width,
- height: "line" === e.element.type ? e.lineHeight : e.element.height
- })
- if (
- ((e.element.groupId = j),
- (e.element.left = r.left),
- (e.element.top = r.top),
- "line" !== e.element.type)
- )
- (e.element.width = r.width), (e.element.height = r.height)
- else {
- var n = e.element || {}
- n.start, n.end
- ;(e.element.start = e.element.start.map(function (t) {
- return t === e.lineWidth ? r.width : t === e.lineHeight ? r.height : t
- })),
- (e.element.end = e.element.end.map(function (t) {
- return t === e.lineWidth ? r.width : t === e.lineHeight ? r.height : t
- }))
- }
- }
- if (
- (("text" !== e.element.type && "shape" !== e.element.type) ||
- (R && (e.element.fill = R)),
- "shape" === e.element.type &&
- (200 !== e.element.viewBox[0] || 200 !== e.element.viewBox[1]))
- ) {
- var i = 0 === t ? 1 : e.element.width / t,
- o = e.element.path,
- a = []
- o.split(" ").forEach(function (e) {
- isNaN(+e) ? a.push(e) : a.push(+e * i)
- }),
- (e.element.path = a.join(" ")),
- (e.element.viewBox = [e.element.viewBox[0] * i, e.element.viewBox[1] * i])
- }
- "elf" === e.element.type &&
- "elf-audio" === e.element.subtype &&
- ((e.element.width = 400), (e.element.height = 50)),
- d.push(e)
- })
- case 46:
- e.next = 51
- break
- case 48:
- throw ((e.prev = 48), (e.t4 = e["catch"](21)), new Error(e.t4.message))
- case 51:
- return e.abrupt("break", 99)
- case 52:
- return (
- null !== y && void 0 !== y && y.solidFill
- ? null !== y &&
- void 0 !== y &&
- null !== (M = y.solidFill) &&
- void 0 !== M &&
- null !== (D = M.schemeClr) &&
- void 0 !== D &&
- null !== (B = D.attributes) &&
- void 0 !== B &&
- B.val
- ? ((H = +a.replace(/[^0-9]/gi, "")),
- (X = Kr(
- H,
- c,
- y.solidFill.schemeClr.attributes.val,
- null === (U = y.solidFill.schemeClr) ||
- void 0 === U ||
- null === (z = U.lumMod) ||
- void 0 === z ||
- null === (q = z.attributes) ||
- void 0 === q
- ? void 0
- : q.val,
- null === (G = y.solidFill.schemeClr) ||
- void 0 === G ||
- null === (W = G.lumOff) ||
- void 0 === W ||
- null === (V = W.attributes) ||
- void 0 === V
- ? void 0
- : V.val
- )),
- X && f.push(X))
- : null !== y &&
- void 0 !== y &&
- null !== (F = y.solidFill) &&
- void 0 !== F &&
- F.srgbClr &&
- f.push("#" + y.solidFill.srgbClr.attributes.val)
- : f.push(""),
- null !== y && void 0 !== y && y.xfrm && ((Y = y), u.push(Y)),
- e.abrupt("break", 99)
- )
- case 55:
- ;(K = []), Array.isArray(y) ? K.push.apply(K, N(y)) : K.push(y), (Z = 0)
- case 58:
- if (!(Z < K.length)) {
- e.next = 75
- break
- }
- return (e.prev = 59), (e.next = 62), yi(t, K[Z], o, a, s, l.upload, c)
- case 62:
- if (((e.t5 = e.sent), e.t5)) {
- e.next = 65
- break
- }
- e.t5 = []
- case 65:
- ;(Q = e.t5),
- Q.forEach(function (e) {
- e && d.push(e)
- }),
- (e.next = 72)
- break
- case 69:
- throw ((e.prev = 69), (e.t6 = e["catch"](59)), new Error(e.t6.message))
- case 72:
- Z++, (e.next = 58)
- break
- case 75:
- return e.abrupt("break", 99)
- case 76:
- if (
- ((J = []),
- Array.isArray(y) ? J.push.apply(J, N(y)) : J.push(y),
- ($ = []),
- J.forEach(function (e) {
- var t, r, n, i, o, a, s, l, c, u, f, p, d
- null !== e &&
- void 0 !== e &&
- null !== (t = e.graphic) &&
- void 0 !== t &&
- null !== (r = t.graphicData) &&
- void 0 !== r &&
- null !== (n = r["mc:AlternateContent"]) &&
- void 0 !== n &&
- null !== (i = n["mc:Fallback"]) &&
- void 0 !== i &&
- null !== (o = i.oleObj) &&
- void 0 !== o &&
- o.pic &&
- ($.push(
- null === e ||
- void 0 === e ||
- null === (a = e.graphic) ||
- void 0 === a ||
- null === (s = a.graphicData) ||
- void 0 === s ||
- null === (l = s["mc:AlternateContent"]) ||
- void 0 === l ||
- null === (c = l["mc:Fallback"]) ||
- void 0 === c ||
- null === (u = c.oleObj) ||
- void 0 === u
- ? void 0
- : u.pic
- ),
- ($[$.length - 1].id =
- null === e ||
- void 0 === e ||
- null === (f = e.nvGraphicFramePr) ||
- void 0 === f ||
- null === (p = f.cNvPr) ||
- void 0 === p ||
- null === (d = p.attributes) ||
- void 0 === d
- ? void 0
- : d.id))
- }),
- !$)
- ) {
- e.next = 90
- break
- }
- ;(ee = []),
- Array.isArray($) ? ee.push.apply(ee, $) : ee.push($),
- (te = A().mark(function e(r) {
- var n
- return A().wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (e.prev = 0), (e.next = 3), yi(t, ee[r], o, a, s, l.upload, c)
- case 3:
- if (((e.t0 = e.sent), e.t0)) {
- e.next = 6
- break
- }
- e.t0 = []
- case 6:
- ;(n = e.t0),
- n.forEach(function (e) {
- e && ((e.graphicFrameId = ee[r].id), d.push(e))
- }),
- (e.next = 13)
- break
- case 10:
- throw ((e.prev = 10), (e.t1 = e["catch"](0)), new Error(e.t1.message))
- case 13:
- case "end":
- return e.stop()
- }
- },
- e,
- null,
- [[0, 10]]
- )
- })),
- (re = 0)
- case 85:
- if (!(re < ee.length)) {
- e.next = 90
- break
- }
- return e.delegateYield(te(re), "t7", 87)
- case 87:
- re++, (e.next = 85)
- break
- case 90:
- return e.abrupt("break", 99)
- case 91:
- return (e.next = 93), Gn(t, y, o, a, s, l.upload, c)
- case 93:
- if (((e.t8 = e.sent), e.t8)) {
- e.next = 96
- break
- }
- e.t8 = []
- case 96:
- return (ne = e.t8.filter(Boolean)), d.push.apply(d, N(ne)), e.abrupt("break", 99)
- case 99:
- l.afterParseElement && l.afterParseElement(n[m], d[m], m + 1, n.length)
- case 100:
- case "end":
- return e.stop()
- }
- },
- e,
- null,
- [
- [5, 15],
- [21, 48],
- [59, 69]
- ]
- )
- })),
- (m = 0)
- case 3:
- if (!(m < n.length)) {
- e.next = 8
- break
- }
- return e.delegateYield(h(), "t0", 5)
- case 5:
- m++, (e.next = 3)
- break
- case 8:
- return e.abrupt("return", d)
- case 9:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r, n, i, o, a, s, l, c, u, f, p) {
- return e.apply(this, arguments)
- }
- })(),
- Ti = (function () {
- var e = T(
- A().mark(function e(t, r, n, i, o, a, s, l) {
- var c,
- u,
- f,
- p,
- d,
- h,
- m,
- g,
- y,
- v,
- b,
- w,
- x,
- _,
- T,
- E,
- S,
- C,
- k,
- L,
- P,
- O,
- j,
- R,
- I,
- M,
- D,
- B,
- F,
- U,
- z,
- q,
- G,
- W,
- V,
- H,
- X,
- Y,
- K,
- Z,
- Q,
- J,
- $,
- ee,
- te
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (f = l.colorMap),
- (p = []),
- (d = r.name.replace("ppt/slides/", "")),
- (h = o["ppt/slides/_rels/".concat(d, ".rels")]),
- (e.next = 6),
- h.async("string")
- )
- case 6:
- if (
- ((m = e.sent),
- (g = Ir(m, bi)),
- (y = ""),
- (v = []),
- Array.isArray(g.Relationships.Relationship)
- ? v.push.apply(v, N(g.Relationships.Relationship))
- : v.push(g.Relationships.Relationship),
- null === v ||
- void 0 === v ||
- v.forEach(function (e) {
- var t,
- r = null === (t = e.attributes) || void 0 === t ? void 0 : t.Target
- ;-1 !== r.indexOf("slideLayout") && (y = r.replace("../slideLayouts/", ""))
- }),
- (b = "slideMaster1.xml"),
- !y)
- ) {
- e.next = 28
- break
- }
- return (T = o["ppt/slideLayouts/_rels/".concat(y, ".rels")]), (e.next = 17), T.async("string")
- case 17:
- return (E = e.sent), (x = Ir(E, bi)), (S = o["ppt/slideLayouts/".concat(y)]), (e.next = 22), S.async("string")
- case 22:
- ;(C = e.sent),
- (w = Ir(C, bi)),
- (_ = Ir(C, wi)),
- (k = []),
- Array.isArray(x.Relationships.Relationship)
- ? k.push.apply(k, N(x.Relationships.Relationship))
- : k.push(x.Relationships.Relationship),
- k.forEach(function (e) {
- var t,
- r = null === (t = e.attributes) || void 0 === t ? void 0 : t.Target
- ;-1 !== r.indexOf("slideMaster") && (b = r.replace("../slideMasters/", ""))
- })
- case 28:
- return (e.next = 30), Qr(o, a, f, n, g, w, x, b)
- case 30:
- if (
- ((L = e.sent),
- (P = {
- id: Nr(8),
- elements: [],
- background: L
- }),
- a.beforeParseSlide && a.beforeParseSlide(r, P, t, s),
- (O = Object.entries(n.sld.cSld.spTree)),
- (j = []),
- (R = []),
- (I = []),
- "0" !== (null === (c = w.sldLayout.attributes) || void 0 === c ? void 0 : c.showMasterSp))
- ) {
- e.next = 41
- break
- }
- ;(I = []), (e.next = 58)
- break
- case 41:
- return (B = o["ppt/slideMasters/_rels/".concat(b, ".rels")]), (e.next = 44), B.async("string")
- case 44:
- return (F = e.sent), (U = Ir(F, bi)), (z = o["ppt/slideMasters/".concat(b)]), (e.next = 49), z.async("string")
- case 49:
- return (
- (q = e.sent),
- (G = Ir(q, bi)),
- (W = Ir(q, wi)),
- null === W ||
- void 0 === W ||
- W.elements.forEach(function (e) {
- var t
- "sldMaster" === e.name &&
- (null === (t = e.elements) ||
- void 0 === t ||
- t.forEach(function (e) {
- var t
- "cSld" === e.name &&
- (D =
- null === (t = Mr(e.elements)) || void 0 === t
- ? void 0
- : t.find(function (e) {
- return "spTree" === e.name
- }))
- }))
- }),
- (V = Object.entries(null === (M = G.sldMaster.cSld) || void 0 === M ? void 0 : M.spTree)),
- (e.next = 56),
- _i(t, xi.master, V, D, U, b, o, a, f, R, j, l)
- )
- case 56:
- ;(H = e.sent), (I = Ai(H, D) || [])
- case 58:
- if (
- ((j = []),
- (R = []),
- (X = []),
- "0" !== (null === (u = n.sld.attributes) || void 0 === u ? void 0 : u.showMasterSp))
- ) {
- e.next = 66
- break
- }
- ;(X = []), (I = []), (e.next = 72)
- break
- case 66:
- return (
- null === (Y = _) ||
- void 0 === Y ||
- Y.elements.forEach(function (e) {
- var t
- "sldLayout" === e.name &&
- (null === (t = e.elements) ||
- void 0 === t ||
- t.forEach(function (e) {
- var t
- "cSld" === e.name &&
- (Z =
- null === (t = Mr(e.elements)) || void 0 === t
- ? void 0
- : t.find(function (e) {
- return "spTree" === e.name
- }))
- }))
- }),
- (Q = Object.entries(null === (K = w.sldLayout.cSld) || void 0 === K ? void 0 : K.spTree)),
- (e.next = 70),
- _i(t, xi.layout, Q, Z, x, b, o, a, f, R, j, l)
- )
- case 70:
- ;(J = e.sent), (X = Ai(J, Z) || [])
- case 72:
- return (
- (j = []),
- (R = []),
- null === i ||
- void 0 === i ||
- i.elements.forEach(function (e) {
- var t
- "sld" === e.name &&
- (null === (t = e.elements) ||
- void 0 === t ||
- t.forEach(function (e) {
- var t
- "cSld" === e.name &&
- ($ =
- null === (t = Mr(e.elements)) || void 0 === t
- ? void 0
- : t.find(function (e) {
- return "spTree" === e.name
- }))
- }))
- }),
- (e.next = 77),
- _i(t, xi.slide, O, $, g, b, o, a, f, R, j, l)
- )
- case 77:
- if (((e.t0 = e.sent), e.t0)) {
- e.next = 80
- break
- }
- e.t0 = []
- case 80:
- return (
- (ee = e.t0),
- ee.forEach(function (e) {
- p.push(e)
- }),
- (te = Ai(p, $)),
- te && (P.elements = [].concat(N(I), N(X), N(te))),
- a.afterParseSlide && a.afterParseSlide(r, P, t, s),
- e.abrupt("return", P)
- )
- case 86:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r, n, i, o, a, s, l) {
- return e.apply(this, arguments)
- }
- })(),
- Ei = (function () {
- var e = T(
- A().mark(function e(t, r, n) {
- var i, o, a, s, c, u, f, p, d, h, m, g, y, v, b
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (i = []),
- (o = Object.keys(t)),
- (a =
- In.match(o, vi.SlidePath, {
- matchBase: !0
- }) || []),
- (s =
- In.match(o, vi.themePath, {
- matchBase: !0
- }) || []),
- (c =
- In.match(o, vi.SlideMasterPath, {
- matchBase: !0
- }) || []),
- (u =
- In.match(o, vi.SlideMasterRelsPath, {
- matchBase: !0
- }) || []),
- (a = l.a
- .sortBy(a, function (e) {
- var t = /\d+/g,
- r = t.exec(e)
- if (r) return parseInt(r[0])
- })
- .filter(Boolean)),
- (e.t1 = l.a),
- (e.next = 10),
- Ur(c, s, t, u)
- )
- case 10:
- if (((e.t2 = e.sent), (e.t0 = e.t1.cloneDeep.call(e.t1, e.t2)), e.t0)) {
- e.next = 14
- break
- }
- e.t0 = []
- case 14:
- return (f = e.t0), (e.t3 = l.a), (e.next = 18), qr(t, "ppt/presentation.xml")
- case 18:
- ;(e.t4 = e.sent),
- (p = e.t3.cloneDeep.call(e.t3, e.t4)),
- (d = l.a.cloneDeep({
- slidePer: r,
- colorMap: f,
- defaultTextStyle: p
- })),
- (h = 0)
- case 22:
- if (!(h < a.length)) {
- e.next = 38
- break
- }
- return re.info("start parse ppt ".concat(h + 1, " silde")), (m = t[a[h]]), (e.next = 27), m.async("string")
- case 27:
- return (g = e.sent), (y = Ir(g, bi)), (v = Ir(g, wi)), (e.next = 32), Ti(h + 1, m, y, v, t, n, a.length, d)
- case 32:
- ;(b = e.sent), i.push(b), re.info("end parse ppt ".concat(h + 1, " silde"))
- case 35:
- h++, (e.next = 22)
- break
- case 38:
- return e.abrupt("return", i)
- case 39:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r, n) {
- return e.apply(this, arguments)
- }
- })(),
- Si = {
- uuid: cn(),
- slides: [],
- // hqy
- width: 1920,
- height: 1080,
- // hqy
- theme: {
- themeColor: "#5b9bd5",
- fontColor: "#333",
- fontName: "Sans-serif",
- fontSize: "40px",
- backgroundColor: "#fff",
- viewportRatio: 0.5625
- }
- },
- Ci = (function () {
- var e = T(
- A().mark(function e(t, r, n) {
- var i, o, a
- return A().wrap(function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (e.next = 2), Jr(t, "ppt/presentation.xml")
- case 2:
- return (
- (i = e.sent),
- (o = {
- width: 1920,
- height: 0.5625 === n ? 1080 : 1080 / n
- }),
- i &&
- ((a = Math.max(i.width / o.width, i.height / o.height)),
- 1 !== a &&
- r.forEach(function (e) {
- e.elements.forEach(function (e) {
- if (
- ((e.left = e.left / a),
- (e.top = e.top / a),
- ("elf" === e.type && "elf-audio" === e.subtype) || (e.width = e.width / a),
- "elf" === e.type)
- )
- "elf-audio" !== e.subtype && (e.height = (null === e || void 0 === e ? void 0 : e.height) / a)
- else if ("line" !== e.type) e.height = (null === e || void 0 === e ? void 0 : e.height) / a
- else {
- var t = e
- ;(t.start = [t.start[0] / a, t.start[1] / a]), (t.end = [t.end[0] / a, t.end[1] / a])
- }
- })
- })),
- e.abrupt("return", r)
- )
- case 6:
- case "end":
- return e.stop()
- }
- }, e)
- })
- )
- return function (t, r, n) {
- return e.apply(this, arguments)
- }
- })(),
- ki = (function () {
- var e = T(
- A().mark(function e(t, r) {
- var n, i, o, a
- return A().wrap(
- function (e) {
- while (1)
- switch ((e.prev = e.next)) {
- case 0:
- return (n = P({}, Si)), (e.prev = 1), r.beforeParse && r.beforeParse(t, n), (e.next = 5), Dn(t)
- case 5:
- return (i = e.sent), (n.theme = i), (e.next = 9), en(t, n.theme.viewportRatio)
- case 9:
- if (((e.t0 = e.sent), e.t0)) {
- e.next = 12
- break
- }
- e.t0 = 1
- case 12:
- return (o = e.t0), (e.next = 15), Ei(t, o, r)
- case 15:
- return (a = e.sent), (e.next = 18), Ci(t, a, n.theme.viewportRatio)
- case 18:
- return (a = e.sent), (n.slides = a), re.info("fininsh parse ppt", n), e.abrupt("return", n)
- case 24:
- throw ((e.prev = 24), (e.t1 = e["catch"](1)), new Error(e.t1.message))
- case 27:
- return (e.prev = 27), (t = null), e.finish(27)
- case 30:
- case "end":
- return e.stop()
- }
- },
- e,
- null,
- [[1, 24, 27, 30]]
- )
- })
- )
- return function (t, r) {
- return e.apply(this, arguments)
- }
- })(),
- Li = function (e) {
- return new Promise(function (t, r) {
- var n = new u.a()
- n.loadAsync(e)
- .then(function (e) {
- return t(e)
- })
- ["catch"](function (e) {
- return r(e)
- })
- })
- },
- Pi = function (e, t) {
- return new Promise(function (r, n) {
- Li(e)
- .then(function (e) {
- return ki(e.files, t)
- })
- .then(function (e) {
- return r(JSON.stringify(e))
- })
- ["catch"](function (e) {
- return n(e)
- })
- })
- },
- Oi = "0.0.17",
- ji = "PptistExchangePptx"
- re.setNamespace("PptistExchangePptx"), console.log("".concat(ji, " Version: ").concat(Oi))
- var Ri = {
- version: Oi,
- outputName: ji,
- json2pptx: Lr,
- pptx2json: Pi
- }
- }).call(this, r("4362"))
- },
- f772: function (e, t, r) {
- var n = r("5692"),
- i = r("90e3"),
- o = n("keys")
- e.exports = function (e) {
- return o[e] || (o[e] = i(e))
- }
- },
- faa1: function (e, t, r) {
- "use strict"
- var n,
- i = "object" === typeof Reflect ? Reflect : null,
- o =
- i && "function" === typeof i.apply
- ? i.apply
- : function (e, t, r) {
- return Function.prototype.apply.call(e, t, r)
- }
- function a(e) {
- console && console.warn && console.warn(e)
- }
- n =
- i && "function" === typeof i.ownKeys
- ? i.ownKeys
- : Object.getOwnPropertySymbols
- ? function (e) {
- return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))
- }
- : function (e) {
- return Object.getOwnPropertyNames(e)
- }
- var s =
- Number.isNaN ||
- function (e) {
- return e !== e
- }
- function l() {
- l.init.call(this)
- }
- ;(e.exports = l),
- (e.exports.once = w),
- (l.EventEmitter = l),
- (l.prototype._events = void 0),
- (l.prototype._eventsCount = 0),
- (l.prototype._maxListeners = void 0)
- var c = 10
- function u(e) {
- if ("function" !== typeof e) throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e)
- }
- function f(e) {
- return void 0 === e._maxListeners ? l.defaultMaxListeners : e._maxListeners
- }
- function p(e, t, r, n) {
- var i, o, s
- if (
- (u(r),
- (o = e._events),
- void 0 === o
- ? ((o = e._events = Object.create(null)), (e._eventsCount = 0))
- : (void 0 !== o.newListener && (e.emit("newListener", t, r.listener ? r.listener : r), (o = e._events)), (s = o[t])),
- void 0 === s)
- )
- (s = o[t] = r), ++e._eventsCount
- else if (
- ("function" === typeof s ? (s = o[t] = n ? [r, s] : [s, r]) : n ? s.unshift(r) : s.push(r),
- (i = f(e)),
- i > 0 && s.length > i && !s.warned)
- ) {
- s.warned = !0
- var l = new Error(
- "Possible EventEmitter memory leak detected. " +
- s.length +
- " " +
- String(t) +
- " listeners added. Use emitter.setMaxListeners() to increase limit"
- )
- ;(l.name = "MaxListenersExceededWarning"), (l.emitter = e), (l.type = t), (l.count = s.length), a(l)
- }
- return e
- }
- function d() {
- if (!this.fired)
- return (
- this.target.removeListener(this.type, this.wrapFn),
- (this.fired = !0),
- 0 === arguments.length ? this.listener.call(this.target) : this.listener.apply(this.target, arguments)
- )
- }
- function h(e, t, r) {
- var n = {
- fired: !1,
- wrapFn: void 0,
- target: e,
- type: t,
- listener: r
- },
- i = d.bind(n)
- return (i.listener = r), (n.wrapFn = i), i
- }
- function m(e, t, r) {
- var n = e._events
- if (void 0 === n) return []
- var i = n[t]
- return void 0 === i ? [] : "function" === typeof i ? (r ? [i.listener || i] : [i]) : r ? b(i) : y(i, i.length)
- }
- function g(e) {
- var t = this._events
- if (void 0 !== t) {
- var r = t[e]
- if ("function" === typeof r) return 1
- if (void 0 !== r) return r.length
- }
- return 0
- }
- function y(e, t) {
- for (var r = new Array(t), n = 0; n < t; ++n) r[n] = e[n]
- return r
- }
- function v(e, t) {
- for (; t + 1 < e.length; t++) e[t] = e[t + 1]
- e.pop()
- }
- function b(e) {
- for (var t = new Array(e.length), r = 0; r < t.length; ++r) t[r] = e[r].listener || e[r]
- return t
- }
- function w(e, t) {
- return new Promise(function (r, n) {
- function i(r) {
- e.removeListener(t, o), n(r)
- }
- function o() {
- "function" === typeof e.removeListener && e.removeListener("error", i), r([].slice.call(arguments))
- }
- A(e, t, o, {
- once: !0
- }),
- "error" !== t &&
- x(e, i, {
- once: !0
- })
- })
- }
- function x(e, t, r) {
- "function" === typeof e.on && A(e, "error", t, r)
- }
- function A(e, t, r, n) {
- if ("function" === typeof e.on) n.once ? e.once(t, r) : e.on(t, r)
- else {
- if ("function" !== typeof e.addEventListener)
- throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e)
- e.addEventListener(t, function i(o) {
- n.once && e.removeEventListener(t, i), r(o)
- })
- }
- }
- Object.defineProperty(l, "defaultMaxListeners", {
- enumerable: !0,
- get: function () {
- return c
- },
- set: function (e) {
- if ("number" !== typeof e || e < 0 || s(e))
- throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + ".")
- c = e
- }
- }),
- (l.init = function () {
- ;(void 0 !== this._events && this._events !== Object.getPrototypeOf(this)._events) ||
- ((this._events = Object.create(null)), (this._eventsCount = 0)),
- (this._maxListeners = this._maxListeners || void 0)
- }),
- (l.prototype.setMaxListeners = function (e) {
- if ("number" !== typeof e || e < 0 || s(e))
- throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + ".")
- return (this._maxListeners = e), this
- }),
- (l.prototype.getMaxListeners = function () {
- return f(this)
- }),
- (l.prototype.emit = function (e) {
- for (var t = [], r = 1; r < arguments.length; r++) t.push(arguments[r])
- var n = "error" === e,
- i = this._events
- if (void 0 !== i) n = n && void 0 === i.error
- else if (!n) return !1
- if (n) {
- var a
- if ((t.length > 0 && (a = t[0]), a instanceof Error)) throw a
- var s = new Error("Unhandled error." + (a ? " (" + a.message + ")" : ""))
- throw ((s.context = a), s)
- }
- var l = i[e]
- if (void 0 === l) return !1
- if ("function" === typeof l) o(l, this, t)
- else {
- var c = l.length,
- u = y(l, c)
- for (r = 0; r < c; ++r) o(u[r], this, t)
- }
- return !0
- }),
- (l.prototype.addListener = function (e, t) {
- return p(this, e, t, !1)
- }),
- (l.prototype.on = l.prototype.addListener),
- (l.prototype.prependListener = function (e, t) {
- return p(this, e, t, !0)
- }),
- (l.prototype.once = function (e, t) {
- return u(t), this.on(e, h(this, e, t)), this
- }),
- (l.prototype.prependOnceListener = function (e, t) {
- return u(t), this.prependListener(e, h(this, e, t)), this
- }),
- (l.prototype.removeListener = function (e, t) {
- var r, n, i, o, a
- if ((u(t), (n = this._events), void 0 === n)) return this
- if (((r = n[e]), void 0 === r)) return this
- if (r === t || r.listener === t)
- 0 === --this._eventsCount
- ? (this._events = Object.create(null))
- : (delete n[e], n.removeListener && this.emit("removeListener", e, r.listener || t))
- else if ("function" !== typeof r) {
- for (i = -1, o = r.length - 1; o >= 0; o--)
- if (r[o] === t || r[o].listener === t) {
- ;(a = r[o].listener), (i = o)
- break
- }
- if (i < 0) return this
- 0 === i ? r.shift() : v(r, i), 1 === r.length && (n[e] = r[0]), void 0 !== n.removeListener && this.emit("removeListener", e, a || t)
- }
- return this
- }),
- (l.prototype.off = l.prototype.removeListener),
- (l.prototype.removeAllListeners = function (e) {
- var t, r, n
- if (((r = this._events), void 0 === r)) return this
- if (void 0 === r.removeListener)
- return (
- 0 === arguments.length
- ? ((this._events = Object.create(null)), (this._eventsCount = 0))
- : void 0 !== r[e] && (0 === --this._eventsCount ? (this._events = Object.create(null)) : delete r[e]),
- this
- )
- if (0 === arguments.length) {
- var i,
- o = Object.keys(r)
- for (n = 0; n < o.length; ++n) (i = o[n]), "removeListener" !== i && this.removeAllListeners(i)
- return this.removeAllListeners("removeListener"), (this._events = Object.create(null)), (this._eventsCount = 0), this
- }
- if (((t = r[e]), "function" === typeof t)) this.removeListener(e, t)
- else if (void 0 !== t) for (n = t.length - 1; n >= 0; n--) this.removeListener(e, t[n])
- return this
- }),
- (l.prototype.listeners = function (e) {
- return m(this, e, !0)
- }),
- (l.prototype.rawListeners = function (e) {
- return m(this, e, !1)
- }),
- (l.listenerCount = function (e, t) {
- return "function" === typeof e.listenerCount ? e.listenerCount(t) : g.call(e, t)
- }),
- (l.prototype.listenerCount = g),
- (l.prototype.eventNames = function () {
- return this._eventsCount > 0 ? n(this._events) : []
- })
- },
- fb6a: function (e, t, r) {
- "use strict"
- var n = r("23e7"),
- i = r("861d"),
- o = r("e8b5"),
- a = r("23cb"),
- s = r("50c4"),
- l = r("fc6a"),
- c = r("8418"),
- u = r("b622"),
- f = r("1dde"),
- p = f("slice"),
- d = u("species"),
- h = [].slice,
- m = Math.max
- n(
- {
- target: "Array",
- proto: !0,
- forced: !p
- },
- {
- slice: function (e, t) {
- var r,
- n,
- u,
- f = l(this),
- p = s(f.length),
- g = a(e, p),
- y = a(void 0 === t ? p : t, p)
- if (
- o(f) &&
- ((r = f.constructor),
- "function" != typeof r || (r !== Array && !o(r.prototype)) ? i(r) && ((r = r[d]), null === r && (r = void 0)) : (r = void 0),
- r === Array || void 0 === r)
- )
- return h.call(f, g, y)
- for (n = new (void 0 === r ? Array : r)(m(y - g, 0)), u = 0; g < y; g++, u++) g in f && c(n, u, f[g])
- return (n.length = u), n
- }
- }
- )
- },
- fc6a: function (e, t, r) {
- var n = r("44ad"),
- i = r("1d80")
- e.exports = function (e) {
- return n(i(e))
- }
- },
- fce3: function (e, t, r) {
- var n = r("d039"),
- i = r("da84"),
- o = i.RegExp
- e.exports = n(function () {
- var e = o(".", "s")
- return !(e.dotAll && e.exec("\n") && "s" === e.flags)
- })
- },
- fdbc: function (e, t) {
- e.exports = {
- CSSRuleList: 0,
- CSSStyleDeclaration: 0,
- CSSValueList: 0,
- ClientRectList: 0,
- DOMRectList: 0,
- DOMStringList: 0,
- DOMTokenList: 1,
- DataTransferItemList: 0,
- FileList: 0,
- HTMLAllCollection: 0,
- HTMLCollection: 0,
- HTMLFormElement: 0,
- HTMLSelectElement: 0,
- MediaList: 0,
- MimeTypeArray: 0,
- NamedNodeMap: 0,
- NodeList: 1,
- PaintRequestList: 0,
- Plugin: 0,
- PluginArray: 0,
- SVGLengthList: 0,
- SVGNumberList: 0,
- SVGPathSegList: 0,
- SVGPointList: 0,
- SVGStringList: 0,
- SVGTransformList: 0,
- SourceBufferList: 0,
- StyleSheetList: 0,
- TextTrackCueList: 0,
- TextTrackList: 0,
- TouchList: 0
- }
- },
- fdbf: function (e, t, r) {
- var n = r("4930")
- e.exports = n && !Symbol.sham && "symbol" == typeof Symbol.iterator
- }
- })
- //# sourceMappingURL=mine-coursewares.9424885e.worker.js.map
|