12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421 |
- // Aliyun OSS SDK for JavaScript v6.18.0
- // Copyright Aliyun.com, Inc. or its affiliates. All Rights Reserved.
- // License at https://github.com/ali-sdk/ali-oss/blob/master/LICENSE
- (function (global) {
- !(function (e) {
- 'object' == typeof exports && 'undefined' != typeof module
- ? (module.exports = e())
- : 'function' == typeof define && define.amd
- ? define([], e)
- : (('undefined' != typeof window
- ? window
- : 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : this
- ).OSS = e());
- })(function () {
- return (function n(s, i, o) {
- function a(t, e) {
- if (!i[t]) {
- if (!s[t]) {
- var r = 'function' == typeof require && require;
- if (!e && r) return r(t, !0);
- if (c) return c(t, !0);
- throw (((e = new Error("Cannot find module '" + t + "'")).code = 'MODULE_NOT_FOUND'), e);
- }
- (r = i[t] = { exports: {} }),
- s[t][0].call(
- r.exports,
- function (e) {
- return a(s[t][1][e] || e);
- },
- r,
- r.exports,
- n,
- s,
- i,
- o
- );
- }
- return i[t].exports;
- }
- for (var c = 'function' == typeof require && require, e = 0; e < o.length; e++) a(o[e]);
- return a;
- })(
- {
- 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': 449, './browser/client': 3, './browser/version': 6, buffer: 89 }
- ],
- 2: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- d = n(e('@babel/runtime/regenerator')),
- i = n(e('@babel/runtime/helpers/asyncToGenerator')),
- h =
- (e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- e('core-js/modules/es.object.keys.js'),
- e('core-js/modules/es.array.slice.js'),
- e('assert')),
- s = e('../common/utils/checkBucketName').checkBucketName,
- n = r;
- function o(e) {
- return Array.isArray ? Array.isArray(e) : '[object Array]' === Object.prototype.toString.call(e);
- }
- function m(e) {
- return e ? (o(e) ? e : [e]) : [];
- }
- (n.useBucket = function (e) {
- return s(e), (this.options.bucket = e), this;
- }),
- (n.setBucket = function (e) {
- return s(e), (this.options.bucket = e), this;
- }),
- (n.getBucket = function () {
- return this.options.bucket;
- }),
- (n.deleteBucket = (function () {
- var r = (0, i.default)(
- d.default.mark(function e(t, r) {
- var n, s;
- return d.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (n = this._bucketRequestParams('DELETE', t, '', r)), (e.next = 3), this.request(n);
- case 3:
- if (200 === (s = e.sent).status || 204 === s.status)
- return e.abrupt('return', { res: s.res });
- e.next = 6;
- break;
- case 6:
- return (e.next = 8), this.requestError(s);
- case 8:
- throw e.sent;
- case 9:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })()),
- (n.putBucketACL = (function () {
- var n = (0, i.default)(
- d.default.mark(function e(t, r, n) {
- var s;
- return d.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((s = this._bucketRequestParams('PUT', t, 'acl', n)).headers = { 'x-oss-acl': r }),
- (s.successStatuses = [200]),
- (e.next = 5),
- this.request(s)
- );
- case 5:
- return (
- (s = e.sent),
- e.abrupt('return', {
- bucket: (s.headers.location && s.headers.location.substring(1)) || null,
- res: s.res
- })
- );
- case 7:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r) {
- return n.apply(this, arguments);
- };
- })()),
- (n.getBucketACL = (function () {
- var r = (0, i.default)(
- d.default.mark(function e(t, r) {
- var n;
- return d.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((n = this._bucketRequestParams('GET', t, 'acl', r)).successStatuses = [200]),
- (n.xmlResponse = !0),
- (e.next = 5),
- this.request(n)
- );
- case 5:
- return (
- (n = e.sent),
- e.abrupt('return', {
- acl: n.data.AccessControlList.Grant,
- owner: { id: n.data.Owner.ID, displayName: n.data.Owner.DisplayName },
- res: n.res
- })
- );
- case 7:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })()),
- (n.putBucketLogging = (function () {
- var n = (0, i.default)(
- d.default.mark(function e(t, r, n) {
- var s, i;
- return d.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (s = this._bucketRequestParams('PUT', t, 'logging', n)),
- (i =
- '<?xml version="1.0" encoding="UTF-8"?>\n<BucketLoggingStatus>\n<LoggingEnabled>\n<TargetBucket>'.concat(
- t,
- '</TargetBucket>\n'
- )),
- r && (i += '<TargetPrefix>'.concat(r, '</TargetPrefix>\n')),
- (i += '</LoggingEnabled>\n</BucketLoggingStatus>'),
- (s.content = i),
- (s.mime = 'xml'),
- (s.successStatuses = [200]),
- (e.next = 9),
- this.request(s)
- );
- case 9:
- return (i = e.sent), e.abrupt('return', { res: i.res });
- case 11:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r) {
- return n.apply(this, arguments);
- };
- })()),
- (n.getBucketLogging = (function () {
- var r = (0, i.default)(
- d.default.mark(function e(t, r) {
- var n, s;
- return d.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((n = this._bucketRequestParams('GET', t, 'logging', r)).successStatuses = [200]),
- (n.xmlResponse = !0),
- (e.next = 5),
- this.request(n)
- );
- case 5:
- return (
- (n = e.sent),
- (s = n.data.LoggingEnabled),
- e.abrupt('return', { enable: !!s, prefix: (s && s.TargetPrefix) || null, res: n.res })
- );
- case 8:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })()),
- (n.deleteBucketLogging = (function () {
- var r = (0, i.default)(
- d.default.mark(function e(t, r) {
- var n;
- return d.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((n = this._bucketRequestParams('DELETE', t, 'logging', r)).successStatuses = [
- 204, 200
- ]),
- (e.next = 4),
- this.request(n)
- );
- case 4:
- return (n = e.sent), e.abrupt('return', { res: n.res });
- case 6:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })()),
- (n.putBucketCORS = (function () {
- var n = (0, i.default)(
- d.default.mark(function e(t, r, n) {
- var s, i, o, a, c, l, u, p, f;
- return d.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- for (
- h((r = r || []).length, 'rules is required'),
- r.forEach(function (e) {
- h(e.allowedOrigin, 'allowedOrigin is required'),
- h(e.allowedMethod, 'allowedMethod is required');
- }),
- f = this._bucketRequestParams('PUT', t, 'cors', n),
- s = '<?xml version="1.0" encoding="UTF-8"?>\n<CORSConfiguration>',
- i = function (e) {
- s += '<AllowedOrigin>'.concat(e, '</AllowedOrigin>');
- },
- o = function (e) {
- s += '<AllowedMethod>'.concat(e, '</AllowedMethod>');
- },
- a = function (e) {
- s += '<AllowedHeader>'.concat(e, '</AllowedHeader>');
- },
- c = function (e) {
- s += '<ExposeHeader>'.concat(e, '</ExposeHeader>');
- },
- l = 0,
- u = r.length;
- l < u;
- l++
- )
- (p = r[l]),
- (s += '<CORSRule>'),
- m(p.allowedOrigin).forEach(i),
- m(p.allowedMethod).forEach(o),
- m(p.allowedHeader).forEach(a),
- m(p.exposeHeader).forEach(c),
- p.maxAgeSeconds &&
- (s += '<MaxAgeSeconds>'.concat(p.maxAgeSeconds, '</MaxAgeSeconds>')),
- (s += '</CORSRule>');
- return (
- (s += '</CORSConfiguration>'),
- (f.content = s),
- (f.mime = 'xml'),
- (f.successStatuses = [200]),
- (e.next = 16),
- this.request(f)
- );
- case 16:
- return (f = e.sent), e.abrupt('return', { res: f.res });
- case 18:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r) {
- return n.apply(this, arguments);
- };
- })()),
- (n.getBucketCORS = (function () {
- var r = (0, i.default)(
- d.default.mark(function e(t, r) {
- var n, s, i;
- return d.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((n = this._bucketRequestParams('GET', t, 'cors', r)).successStatuses = [200]),
- (n.xmlResponse = !0),
- (e.next = 5),
- this.request(n)
- );
- case 5:
- return (
- (n = e.sent),
- (s = []),
- n.data &&
- n.data.CORSRule &&
- (i = o((i = n.data.CORSRule)) ? i : [i]).forEach(function (t) {
- var r = {};
- Object.keys(t).forEach(function (e) {
- r[e.slice(0, 1).toLowerCase() + e.slice(1, e.length)] = t[e];
- }),
- s.push(r);
- }),
- e.abrupt('return', { rules: s, res: n.res })
- );
- case 9:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })()),
- (n.deleteBucketCORS = (function () {
- var r = (0, i.default)(
- d.default.mark(function e(t, r) {
- var n;
- return d.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((n = this._bucketRequestParams('DELETE', t, 'cors', r)).successStatuses = [204]),
- (e.next = 4),
- this.request(n)
- );
- case 4:
- return (n = e.sent), e.abrupt('return', { res: n.res });
- case 6:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })()),
- (n.putBucketReferer = (function () {
- var s = (0, i.default)(
- d.default.mark(function e(t, r, n, s) {
- var i, o, a;
- return d.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((a = this._bucketRequestParams('PUT', t, 'referer', s)),
- (i = '<?xml version="1.0" encoding="UTF-8"?>\n<RefererConfiguration>\n'),
- (i += ' <AllowEmptyReferer>'.concat(r ? 'true' : 'false', '</AllowEmptyReferer>\n')),
- n && 0 < n.length)
- ) {
- for (i += ' <RefererList>\n', o = 0; o < n.length; o++)
- i += ' <Referer>'.concat(n[o], '</Referer>\n');
- i += ' </RefererList>\n';
- } else i += ' <RefererList />\n';
- return (
- (i += '</RefererConfiguration>'),
- (a.content = i),
- (a.mime = 'xml'),
- (a.successStatuses = [200]),
- (e.next = 10),
- this.request(a)
- );
- case 10:
- return (a = e.sent), e.abrupt('return', { res: a.res });
- case 12:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r, n) {
- return s.apply(this, arguments);
- };
- })()),
- (n.getBucketReferer = (function () {
- var r = (0, i.default)(
- d.default.mark(function e(t, r) {
- var n, s;
- return d.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((n = this._bucketRequestParams('GET', t, 'referer', r)).successStatuses = [200]),
- (n.xmlResponse = !0),
- (e.next = 5),
- this.request(n)
- );
- case 5:
- return (
- (n = e.sent),
- (s = n.data.RefererList.Referer || null) && !o(s) && (s = [s]),
- e.abrupt('return', {
- allowEmpty: 'true' === n.data.AllowEmptyReferer,
- referers: s,
- res: n.res
- })
- );
- case 9:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })()),
- (n.deleteBucketReferer = (function () {
- var r = (0, i.default)(
- d.default.mark(function e(t, r) {
- return d.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (e.next = 2), this.putBucketReferer(t, !0, null, r);
- case 2:
- return e.abrupt('return', e.sent);
- case 3:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })()),
- (n._bucketRequestParams = function (e, t, r, n) {
- return { method: e, bucket: t, subres: r, timeout: n && n.timeout, ctx: n && n.ctx };
- });
- },
- {
- '../common/utils/checkBucketName': 51,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- assert: 81,
- 'core-js/modules/es.array.slice.js': 278,
- 'core-js/modules/es.object.keys.js': 289,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/web.dom-collections.for-each.js': 338
- }
- ],
- 3: [
- function (E, _, e) {
- !function (T, k) {
- !function () {
- 'use strict';
- var e = E('@babel/runtime/helpers/interopRequireDefault'),
- c = e(E('@babel/runtime/regenerator')),
- r = e(E('@babel/runtime/helpers/asyncToGenerator')),
- e =
- (E('core-js/modules/es.function.name.js'),
- E('core-js/modules/es.regexp.exec.js'),
- E('core-js/modules/es.string.split.js'),
- E('core-js/modules/es.object.assign.js'),
- E('core-js/modules/es.array.includes.js'),
- E('core-js/modules/es.string.replace.js'),
- E('core-js/modules/es.array.concat.js'),
- E('core-js/modules/es.symbol.js'),
- E('core-js/modules/es.symbol.description.js'),
- E('core-js/modules/es.array.slice.js'),
- E('core-js/modules/es.object.to-string.js'),
- E('core-js/modules/es.promise.js'),
- E('core-js/modules/es.regexp.to-string.js'),
- E('debug')('ali-oss')),
- t = E('xml2js'),
- n = E('agentkeepalive'),
- s = E('merge-descriptors'),
- i = E('platform'),
- o = E('utility'),
- a = E('urllib'),
- l = E('./version'),
- u = E('bowser'),
- p = E('../common/signUtils'),
- f = E('../common/client/initOptions'),
- d = E('../common/utils/createRequest').createRequest,
- h = E('../common/utils/encoder').encoder,
- m = E('../common/client/getReqUrl').getReqUrl,
- y = E('../common/utils/setSTSToken').setSTSToken,
- b = E('../common/utils/retry').retry,
- g = E('../common/utils/isFunction').isFunction,
- v = new n();
- function j(e, t) {
- var r, n;
- if (
- ((r = i.name),
- (n = i.version),
- r &&
- r.toLowerCase &&
- 'ie' === r.toLowerCase() &&
- n.split('.')[0] < 10 &&
- console.warn('ali-oss does not support the current browser'),
- !(this instanceof j))
- )
- return new j(e, t);
- e && e.inited ? (this.options = e) : (this.options = j.initOptions(e)),
- (this.options.cancelFlag = !1),
- this.options.urllib
- ? (this.urllib = this.options.urllib)
- : ((this.urllib = a), (this.agent = this.options.agent || v)),
- (this.ctx = t),
- (this.userAgent = this._getUserAgent()),
- (this.stsTokenFreshTime = new Date()),
- (this.options.amendTimeSkewed = 0);
- }
- (_.exports = j).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'
- );
- e = Object.assign({ secure: location && 'https:' === location.protocol, useFetch: !1 }, e);
- return f(e);
- };
- n = j.prototype;
- function w(e) {
- return x.apply(this, arguments);
- }
- function x() {
- return (x = (0, r.default)(
- c.default.mark(function e(t) {
- var r, n, s, i, o, a;
- return c.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (this.options.stsToken && g(this.options.refreshSTSToken))
- return (e.next = 3), y.call(this);
- e.next = 3;
- break;
- case 3:
- return (
- (r = d.call(this, t)),
- this.options.useFetch || (r.params.mode = 'disable-fetch'),
- (i = !!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)), (s = e.t0);
- case 16:
- if (n && t.successStatuses && -1 === t.successStatuses.indexOf(n.status))
- return (e.next = 19), this.requestError(n);
- e.next = 28;
- break;
- case 19:
- if ('RequestTimeTooSkewed' !== (o = e.sent).code || i) {
- e.next = 25;
- break;
- }
- return (
- (this.options.amendTimeSkewed = +new Date(o.serverTime) - new Date()),
- (e.next = 24),
- this.request(t)
- );
- case 24:
- return e.abrupt('return', e.sent);
- case 25:
- (o.params = t), (e.next = 32);
- break;
- case 28:
- if (s) return (e.next = 31), this.requestError(s);
- e.next = 32;
- break;
- case 31:
- o = e.sent;
- case 32:
- if (o) throw o;
- e.next = 34;
- break;
- case 34:
- if (t.xmlResponse) return (e.next = 37), this.parseXML(n.data);
- e.next = 39;
- break;
- case 37:
- (a = e.sent), (n.data = a);
- case 39:
- return e.abrupt('return', n);
- case 40:
- case 'end':
- return e.stop();
- }
- },
- e,
- this,
- [[6, 13]]
- );
- })
- )).apply(this, arguments);
- }
- (n.debug = e),
- s(n, E('./object')),
- s(n, E('./bucket')),
- s(n, E('../common/bucket/getBucketWebsite')),
- s(n, E('../common/bucket/putBucketWebsite')),
- s(n, E('../common/bucket/deleteBucketWebsite')),
- s(n, E('../common/bucket/getBucketLifecycle')),
- s(n, E('../common/bucket/putBucketLifecycle')),
- s(n, E('../common/bucket/deleteBucketLifecycle')),
- s(n, E('../common/bucket/putBucketVersioning')),
- s(n, E('../common/bucket/getBucketVersioning')),
- s(n, E('../common/bucket/getBucketInventory')),
- s(n, E('../common/bucket/deleteBucketInventory')),
- s(n, E('../common/bucket/listBucketInventory')),
- s(n, E('../common/bucket/putBucketInventory')),
- s(n, E('../common/bucket/abortBucketWorm')),
- s(n, E('../common/bucket/completeBucketWorm')),
- s(n, E('../common/bucket/extendBucketWorm')),
- s(n, E('../common/bucket/getBucketWorm')),
- s(n, E('../common/bucket/initiateBucketWorm')),
- s(n, E('./managed-upload')),
- s(n, E('../common/multipart-copy')),
- s(n, E('../common/multipart')),
- s(n, E('../common/parallel')),
- (n.signature = function (e) {
- return (
- this.debug('authorization stringToSign: %s', e, 'info'),
- p.computeSignature(this.options.accessKeySecret, e, this.options.headerEncoding)
- );
- }),
- (n._getReqUrl = m),
- (n.authorization = function (e, t, r, n) {
- e = p.buildCanonicalString(e.toUpperCase(), t, { headers: n, parameters: r });
- return p.authorization(
- this.options.accessKeyId,
- this.options.accessKeySecret,
- e,
- this.options.headerEncoding
- );
- }),
- (n.request = (function () {
- var t = (0, r.default)(
- c.default.mark(function e(n) {
- var s = this;
- return c.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (this.options.retryMax)
- return (
- (e.next = 3),
- b(w.bind(this), this.options.retryMax, {
- errorHandler: function (e) {
- return !!(function (e) {
- if (n.stream) return !1;
- var t = [-1, -2].includes(e.status),
- r =
- s.options.requestErrorRetryHandle ||
- function () {
- return !0;
- };
- return t && r(e);
- })(e);
- }
- })(n)
- );
- e.next = 6;
- break;
- case 3:
- return e.abrupt('return', e.sent);
- case 6:
- return e.abrupt('return', w.call(this, n));
- case 7:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e) {
- return t.apply(this, arguments);
- };
- })()),
- (n._getResource = function (e) {
- var t = '/';
- return (
- e.bucket && (t += ''.concat(e.bucket, '/')),
- e.object && (t += h(e.object, this.options.headerEncoding)),
- t
- );
- }),
- (n._escape = function (e) {
- return o.encodeURIComponent(e).replace(/%2F/g, '/');
- }),
- (n._getUserAgent = function () {
- var e = k && k.browser ? 'js' : 'nodejs',
- e = 'aliyun-sdk-'.concat(e, '/').concat(l.version),
- t = i.description;
- return (
- !t &&
- k &&
- (t = 'Node.js '.concat(k.version.slice(1), ' on ').concat(k.platform, ' ').concat(k.arch)),
- this._checkUserAgent(''.concat(e, ' ').concat(t))
- );
- }),
- (n._checkUserAgent = function (e) {
- return e.replace(/\u03b1/, 'alpha').replace(/\u03b2/, 'beta');
- }),
- (n.checkBrowserAndVersion = function (e, t) {
- return u.name === e && u.version.split('.')[0] === t;
- }),
- (n.parseXML = function (e) {
- return new Promise(function (r, n) {
- T.isBuffer(e) && (e = e.toString()),
- t.parseString(e, { explicitRoot: !1, explicitArray: !1 }, function (e, t) {
- e ? n(e) : r(t);
- });
- });
- }),
- (n.requestError = (function () {
- var t = (0, r.default)(
- c.default.mark(function e(t) {
- var r, n, s, i;
- return c.default.wrap(
- function (e) {
- for (;;)
- 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)).name = t.name),
- (r.status = t.status),
- (r.code = t.name))
- : (404 === t.status
- ? (((r = new Error('Object not exists')).name = 'NoSuchKeyError'),
- (r.status = 404),
- (r.code = 'NoSuchKey'))
- : 412 === t.status
- ? (((r = new Error('Pre condition failed')).name = 'PreconditionFailedError'),
- (r.status = 412),
- (r.code = 'PreconditionFailed'))
- : (((r = new Error('Unknow error, status: '.concat(t.status))).name =
- 'UnknownError'),
- (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:
- (s = 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:
- (i = s.Message || 'unknow request error, status: '.concat(t.status)),
- s.Condition && (i += ' (condition: '.concat(s.Condition, ')')),
- ((r = new Error(i)).name = s.Code ? ''.concat(s.Code, 'Error') : 'UnknownError'),
- (r.status = t.status),
- (r.code = s.Code),
- (r.requestId = s.RequestId),
- (r.hostId = s.HostId),
- (r.serverTime = s.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]]
- );
- })
- );
- return function (e) {
- return t.apply(this, arguments);
- };
- })());
- }.call(this);
- }.call(this, { isBuffer: E('../../node_modules/is-buffer/index.js') }, E('_process'));
- },
- {
- '../../node_modules/is-buffer/index.js': 354,
- '../common/bucket/abortBucketWorm': 7,
- '../common/bucket/completeBucketWorm': 8,
- '../common/bucket/deleteBucketInventory': 9,
- '../common/bucket/deleteBucketLifecycle': 10,
- '../common/bucket/deleteBucketWebsite': 11,
- '../common/bucket/extendBucketWorm': 12,
- '../common/bucket/getBucketInventory': 13,
- '../common/bucket/getBucketLifecycle': 14,
- '../common/bucket/getBucketVersioning': 15,
- '../common/bucket/getBucketWebsite': 16,
- '../common/bucket/getBucketWorm': 17,
- '../common/bucket/initiateBucketWorm': 18,
- '../common/bucket/listBucketInventory': 19,
- '../common/bucket/putBucketInventory': 20,
- '../common/bucket/putBucketLifecycle': 21,
- '../common/bucket/putBucketVersioning': 22,
- '../common/bucket/putBucketWebsite': 23,
- '../common/client/getReqUrl': 25,
- '../common/client/initOptions': 26,
- '../common/multipart': 30,
- '../common/multipart-copy': 29,
- '../common/parallel': 49,
- '../common/signUtils': 50,
- '../common/utils/createRequest': 55,
- '../common/utils/encoder': 58,
- '../common/utils/isFunction': 66,
- '../common/utils/retry': 72,
- '../common/utils/setSTSToken': 74,
- './bucket': 2,
- './managed-upload': 4,
- './object': 5,
- './version': 6,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- _process: 441,
- agentkeepalive: 80,
- bowser: 86,
- 'core-js/modules/es.array.concat.js': 269,
- 'core-js/modules/es.array.includes.js': 274,
- 'core-js/modules/es.array.slice.js': 278,
- 'core-js/modules/es.function.name.js': 281,
- 'core-js/modules/es.object.assign.js': 284,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.promise.js': 294,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/es.regexp.to-string.js': 300,
- 'core-js/modules/es.string.replace.js': 304,
- 'core-js/modules/es.string.split.js': 306,
- 'core-js/modules/es.symbol.description.js': 309,
- 'core-js/modules/es.symbol.js': 312,
- debug: 439,
- 'merge-descriptors': 357,
- platform: 364,
- urllib: 449,
- utility: 448,
- xml2js: 400
- }
- ],
- 4: [
- function (s, e, i) {
- !function (o) {
- !function () {
- 'use strict';
- var e = s('@babel/runtime/helpers/interopRequireDefault'),
- b = e(s('@babel/runtime/regenerator')),
- g =
- (s('core-js/modules/es.function.name.js'),
- s('core-js/modules/es.object.to-string.js'),
- s('core-js/modules/es.promise.js'),
- s('core-js/modules/es.array.from.js'),
- s('core-js/modules/es.string.iterator.js'),
- s('core-js/modules/es.array.map.js'),
- s('core-js/modules/es.array.filter.js'),
- s('core-js/modules/es.array.find.js'),
- s('core-js/modules/es.array.concat.js'),
- s('core-js/modules/es.regexp.to-string.js'),
- s('core-js/modules/es.array.slice.js'),
- s('core-js/modules/es.array.iterator.js'),
- s('core-js/modules/es.array-buffer.slice.js'),
- s('core-js/modules/es.typed-array.uint8-array.js'),
- s('core-js/modules/es.typed-array.copy-within.js'),
- s('core-js/modules/es.typed-array.every.js'),
- s('core-js/modules/es.typed-array.fill.js'),
- s('core-js/modules/es.typed-array.filter.js'),
- s('core-js/modules/es.typed-array.find.js'),
- s('core-js/modules/es.typed-array.find-index.js'),
- s('core-js/modules/es.typed-array.for-each.js'),
- s('core-js/modules/es.typed-array.includes.js'),
- s('core-js/modules/es.typed-array.index-of.js'),
- s('core-js/modules/es.typed-array.iterator.js'),
- s('core-js/modules/es.typed-array.join.js'),
- s('core-js/modules/es.typed-array.last-index-of.js'),
- s('core-js/modules/es.typed-array.map.js'),
- s('core-js/modules/es.typed-array.reduce.js'),
- s('core-js/modules/es.typed-array.reduce-right.js'),
- s('core-js/modules/es.typed-array.reverse.js'),
- s('core-js/modules/es.typed-array.set.js'),
- s('core-js/modules/es.typed-array.slice.js'),
- s('core-js/modules/es.typed-array.some.js'),
- s('core-js/modules/es.typed-array.sort.js'),
- s('core-js/modules/es.typed-array.subarray.js'),
- s('core-js/modules/es.typed-array.to-locale-string.js'),
- s('core-js/modules/es.typed-array.to-string.js'),
- e(s('@babel/runtime/helpers/asyncToGenerator'))),
- e = s('util'),
- p = s('path'),
- f = s('mime'),
- v = s('copy-to'),
- d = s('../common/utils/isBlob').isBlob,
- h = s('../common/utils/isFile').isFile,
- m = s('../common/utils/isBuffer').isBuffer,
- t = i;
- (t.multipartUpload = (function () {
- var r = (0, g.default)(
- b.default.mark(function e(t, r) {
- var n,
- s,
- i,
- o,
- a,
- c,
- l,
- u = arguments;
- return b.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((n = 2 < u.length && void 0 !== u[2] ? u[2] : {}),
- this.resetCancelFlag(),
- (n.disabledMD5 = void 0 === n.disabledMD5 || !!n.disabledMD5),
- n.checkpoint && n.checkpoint.uploadId)
- )
- return (
- r && h(r) && (n.checkpoint.file = r),
- (e.next = 7),
- this._resumeMultipart(n.checkpoint, n)
- );
- e.next = 8;
- break;
- case 7:
- return e.abrupt('return', e.sent);
- case 8:
- return (
- (s = 102400),
- n.mime ||
- (h(r)
- ? (n.mime = f.getType(p.extname(r.name)))
- : d(r)
- ? (n.mime = r.type)
- : m(r)
- ? (n.mime = '')
- : (n.mime = f.getType(p.extname(r)))),
- (n.headers = n.headers || {}),
- this._convertMetaToHeaders(n.meta, n.headers),
- (e.next = 14),
- this._getFileSize(r)
- );
- case 14:
- if ((i = e.sent) < s) return (n.contentLength = i), (e.next = 19), this.put(t, r, n);
- e.next = 26;
- break;
- case 19:
- if (((o = e.sent), n && n.progress)) return (e.next = 23), n.progress(1);
- e.next = 23;
- break;
- case 23:
- return (
- (a = { res: o.res, bucket: this.options.bucket, name: t, etag: o.res.headers.etag }),
- ((n.headers && n.headers['x-oss-callback']) || n.callback) && (a.data = o.data),
- e.abrupt('return', a)
- );
- case 26:
- if (n.partSize && parseInt(n.partSize, 10) !== n.partSize)
- throw new Error('partSize must be int number');
- e.next = 28;
- break;
- case 28:
- if (n.partSize && n.partSize < s)
- throw new Error('partSize must not be smaller than '.concat(s));
- e.next = 30;
- break;
- case 30:
- return (e.next = 32), this.initMultipartUpload(t, n);
- case 32:
- if (
- ((a = e.sent),
- (c = a.uploadId),
- (l = this._getPartSize(i, n.partSize)),
- (l = { file: r, name: t, fileSize: i, partSize: l, uploadId: c, doneParts: [] }),
- n && n.progress)
- )
- return (e.next = 39), n.progress(0, l, a.res);
- e.next = 39;
- break;
- case 39:
- return (e.next = 41), this._resumeMultipart(l, n);
- case 41:
- return e.abrupt('return', e.sent);
- case 42:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })()),
- (t._resumeMultipart = (function () {
- var r = (0, g.default)(
- b.default.mark(function e(c, l) {
- var n, u, p, f, d, s, h, m, y, i, t, r, o, a;
- return b.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if ((n = this).isCancel()) throw this._makeCancelEvent();
- e.next = 3;
- break;
- case 3:
- return (
- (u = c.file),
- (r = c.fileSize),
- (a = c.partSize),
- (p = c.uploadId),
- (f = c.doneParts),
- (d = c.name),
- (s = []),
- 0 < f.length && v(f).to(s),
- (h = this._divideParts(r, a)),
- (m = h.length),
- (y = !1),
- (i = function (o, a) {
- return new Promise(
- (function () {
- var r = (0, g.default)(
- b.default.mark(function e(t, r) {
- var n, s, i;
- return b.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (((e.prev = 0), o.isCancel())) {
- e.next = 29;
- break;
- }
- return (
- (n = h[a - 1]),
- (e.next = 5),
- o._createBuffer(u, n.start, n.end)
- );
- case 5:
- return (
- (i = e.sent),
- (i = { content: i, size: n.end - n.start }),
- (e.prev = 7),
- (e.next = 10),
- o._uploadPart(d, p, a, i, l)
- );
- case 10:
- (s = e.sent), (e.next = 18);
- break;
- case 13:
- if (((e.prev = 13), (e.t0 = e.catch(7)), 404 === e.t0.status))
- throw o._makeAbortEvent();
- e.next = 17;
- break;
- case 17:
- throw e.t0;
- case 18:
- if (o.isCancel() || y) {
- e.next = 26;
- break;
- }
- if (
- (c.doneParts.push({ number: a, etag: s.res.headers.etag }),
- l.progress)
- )
- return (
- (e.next = 23), l.progress(f.length / (m + 1), c, s.res)
- );
- e.next = 23;
- break;
- case 23:
- t({ number: a, etag: s.res.headers.etag }), (e.next = 27);
- break;
- case 26:
- t();
- case 27:
- e.next = 30;
- break;
- case 29:
- t();
- case 30:
- e.next = 41;
- break;
- case 32:
- (e.prev = 32),
- (e.t1 = e.catch(0)),
- ((i = new Error()).name = e.t1.name),
- (i.message = e.t1.message),
- (i.stack = e.t1.stack),
- (i.partNum = a),
- v(e.t1).to(i),
- r(i);
- case 41:
- case 'end':
- return e.stop();
- }
- },
- e,
- null,
- [
- [0, 32],
- [7, 13]
- ]
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })()
- );
- }),
- (r = Array.from(new Array(m), function (e, t) {
- return t + 1;
- })),
- (t = s.map(function (e) {
- return e.number;
- })),
- (a = r.filter(function (e) {
- return t.indexOf(e) < 0;
- })),
- (r = l.parallel || 5),
- (e.next = 17),
- this._parallel(a, r, function (e) {
- return new Promise(function (t, r) {
- i(n, e)
- .then(function (e) {
- e && s.push(e), t();
- })
- .catch(function (e) {
- r(e);
- });
- });
- })
- );
- case 17:
- if (
- ((o = e.sent),
- (y = !0),
- (a = o.find(function (e) {
- return 'abort' === e.name;
- })))
- )
- throw a;
- e.next = 22;
- break;
- case 22:
- if (this.isCancel()) throw ((i = null), this._makeCancelEvent());
- e.next = 25;
- break;
- case 25:
- if (o && 0 < o.length)
- throw (
- ((o[0].message = 'Failed to upload some parts with error: '
- .concat(o[0].toString(), ' part_num: ')
- .concat(o[0].partNum)),
- o[0])
- );
- e.next = 28;
- break;
- case 28:
- return (e.next = 30), this.completeMultipartUpload(d, p, s, l);
- case 30:
- return e.abrupt('return', e.sent);
- case 31:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })()),
- (t._getFileSize = (function () {
- var t = (0, g.default)(
- b.default.mark(function e(t) {
- return b.default.wrap(function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (m(t)) return e.abrupt('return', t.length);
- e.next = 4;
- break;
- case 4:
- if (d(t) || h(t)) return e.abrupt('return', t.size);
- e.next = 6;
- break;
- case 6:
- throw new Error('_getFileSize requires Buffer/File/Blob.');
- case 7:
- case 'end':
- return e.stop();
- }
- }, e);
- })
- );
- return function (e) {
- return t.apply(this, arguments);
- };
- })());
- var r = s('stream').Readable;
- function n(e, t) {
- if (!(this instanceof n)) return new n(e, t);
- r.call(this, t),
- (this.file = e),
- (this.reader = new FileReader()),
- (this.start = 0),
- (this.finish = !1),
- (this.fileBuffer = null);
- }
- e.inherits(n, r),
- (n.prototype.readFileAndPush = function (e) {
- if (this.fileBuffer)
- for (var t = !0; t && this.fileBuffer && this.start < this.fileBuffer.length; ) {
- var r = this.start,
- n = (n = r + e) > this.fileBuffer.length ? this.fileBuffer.length : n;
- (this.start = n), (t = this.push(this.fileBuffer.slice(r, n)));
- }
- }),
- (n.prototype._read = function (t) {
- 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);
- t = t || 16384;
- var r = this;
- (this.reader.onload = function (e) {
- (r.fileBuffer = o.from(new Uint8Array(e.target.result))), (r.file = null), r.readFileAndPush(t);
- }),
- 0 === this.start ? this.reader.readAsArrayBuffer(this.file) : this.readFileAndPush(t);
- }),
- (t._createBuffer = (function () {
- var n = (0, g.default)(
- b.default.mark(function e(t, r, s) {
- var i;
- return b.default.wrap(function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (!d(t) && !h(t)) {
- e.next = 8;
- break;
- }
- (i = t.slice(r, s)), (e.next = 4);
- var n = i;
- return n.arrayBuffer
- ? n.arrayBuffer()
- : new Promise(function (t, r) {
- var e = new FileReader();
- (e.onload = function (e) {
- t(e.target.result);
- }),
- (e.onerror = function (e) {
- r(e);
- }),
- e.readAsArrayBuffer(n);
- });
- case 4:
- return (i = e.sent), e.abrupt('return', o.from(i));
- case 8:
- if (m(t)) return e.abrupt('return', t.subarray(r, s));
- e.next = 12;
- break;
- case 12:
- throw new Error('_createBuffer requires File/Blob/Buffer.');
- case 13:
- case 'end':
- return e.stop();
- }
- }, e);
- })
- );
- return function (e, t, r) {
- return n.apply(this, arguments);
- };
- })()),
- (t._getPartSize = function (e, t) {
- t = t || 1048576;
- e = Math.ceil(e / 1e4);
- return (
- t < e &&
- ((t = e),
- console.warn(
- 'partSize has been set to '.concat(
- t,
- ', because the partSize you provided causes partNumber to be greater than 10,000'
- )
- )),
- t
- );
- }),
- (t._divideParts = function (e, t) {
- for (var r = Math.ceil(e / t), n = [], s = 0; s < r; s++) {
- var i = t * s,
- o = Math.min(i + t, e);
- n.push({ start: i, end: o });
- }
- return n;
- });
- }.call(this);
- }.call(this, s('buffer').Buffer);
- },
- {
- '../common/utils/isBlob': 63,
- '../common/utils/isBuffer': 64,
- '../common/utils/isFile': 65,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- buffer: 89,
- 'copy-to': 91,
- 'core-js/modules/es.array-buffer.slice.js': 268,
- 'core-js/modules/es.array.concat.js': 269,
- 'core-js/modules/es.array.filter.js': 271,
- 'core-js/modules/es.array.find.js': 272,
- 'core-js/modules/es.array.from.js': 273,
- 'core-js/modules/es.array.iterator.js': 275,
- 'core-js/modules/es.array.map.js': 277,
- 'core-js/modules/es.array.slice.js': 278,
- 'core-js/modules/es.function.name.js': 281,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.promise.js': 294,
- 'core-js/modules/es.regexp.to-string.js': 300,
- 'core-js/modules/es.string.iterator.js': 302,
- 'core-js/modules/es.typed-array.copy-within.js': 314,
- 'core-js/modules/es.typed-array.every.js': 315,
- 'core-js/modules/es.typed-array.fill.js': 316,
- 'core-js/modules/es.typed-array.filter.js': 317,
- 'core-js/modules/es.typed-array.find-index.js': 318,
- 'core-js/modules/es.typed-array.find.js': 319,
- 'core-js/modules/es.typed-array.for-each.js': 320,
- 'core-js/modules/es.typed-array.includes.js': 321,
- 'core-js/modules/es.typed-array.index-of.js': 322,
- 'core-js/modules/es.typed-array.iterator.js': 323,
- 'core-js/modules/es.typed-array.join.js': 324,
- 'core-js/modules/es.typed-array.last-index-of.js': 325,
- 'core-js/modules/es.typed-array.map.js': 326,
- 'core-js/modules/es.typed-array.reduce-right.js': 327,
- 'core-js/modules/es.typed-array.reduce.js': 328,
- 'core-js/modules/es.typed-array.reverse.js': 329,
- 'core-js/modules/es.typed-array.set.js': 330,
- 'core-js/modules/es.typed-array.slice.js': 331,
- 'core-js/modules/es.typed-array.some.js': 332,
- 'core-js/modules/es.typed-array.sort.js': 333,
- 'core-js/modules/es.typed-array.subarray.js': 334,
- 'core-js/modules/es.typed-array.to-locale-string.js': 335,
- 'core-js/modules/es.typed-array.to-string.js': 336,
- 'core-js/modules/es.typed-array.uint8-array.js': 337,
- mime: 359,
- path: 363,
- stream: 387,
- util: 394
- }
- ],
- 5: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- c =
- (e('core-js/modules/es.function.name.js'),
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/es.regexp.to-string.js'),
- e('core-js/modules/es.array.map.js'),
- e('core-js/modules/es.number.constructor.js'),
- e('core-js/modules/es.object.assign.js'),
- e('core-js/modules/es.regexp.exec.js'),
- e('core-js/modules/es.string.replace.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- e('core-js/modules/es.object.keys.js'),
- e('core-js/modules/es.promise.js'),
- n(e('@babel/runtime/regenerator'))),
- s = n(e('@babel/runtime/helpers/asyncToGenerator')),
- i = e('fs'),
- o = e('copy-to'),
- l = e('path'),
- u = e('mime'),
- p = e('../common/callback'),
- n = e('merge-descriptors'),
- f = e('../common/utils/isBlob').isBlob,
- d = e('../common/utils/isFile').isFile,
- h = e('../common/utils/isBuffer').isBuffer,
- a = e('../common/utils/obj2xml').obj2xml;
- (r.append = (function () {
- var n = (0, s.default)(
- c.default.mark(function e(t, r, n) {
- var s;
- return c.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- void 0 === (n = 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 (
- ((s = e.sent).nextAppendPosition = s.res.headers['x-oss-next-append-position']),
- e.abrupt('return', s)
- );
- case 9:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r) {
- return n.apply(this, arguments);
- };
- })()),
- (r.put = (function () {
- var n = (0, s.default)(
- c.default.mark(function e(t, r, n) {
- var s, i, o, a;
- return c.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- (((n = n || {}).disabledMD5 = void 0 === n.disabledMD5 || !!n.disabledMD5),
- (n.headers = n.headers || {}),
- (t = this._objectName(t)),
- !h(r))
- ) {
- e.next = 8;
- break;
- }
- (s = r), (e.next = 19);
- break;
- case 8:
- if (f(r) || d(r))
- return (
- n.mime || (d(r) ? (n.mime = u.getType(l.extname(r.name))) : (n.mime = r.type)),
- (e.next = 12),
- this._createBuffer(r, 0, r.size)
- );
- e.next = 18;
- break;
- case 12:
- return (s = 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),
- (i = n.method || 'PUT'),
- (i = this._objectRequestParams(i, t, n)),
- p.encodeCallback(i, n),
- (i.mime = n.mime),
- (i.disabledMD5 = n.disabledMD5),
- (i.content = s),
- (i.successStatuses = [200]),
- (e.next = 29),
- this.request(i)
- );
- case 29:
- return (
- (o = e.sent),
- (a = { name: t, url: this._objectUrl(t), res: o.res }),
- i.headers && i.headers['x-oss-callback'] && (a.data = JSON.parse(o.data.toString())),
- e.abrupt('return', a)
- );
- case 33:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r) {
- return n.apply(this, arguments);
- };
- })()),
- (r.putStream = (function () {
- var n = (0, s.default)(
- c.default.mark(function e(t, r, n) {
- var s, i, o;
- return c.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((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),
- (s = n.method || 'PUT'),
- (s = this._objectRequestParams(s, t, n)),
- p.encodeCallback(s, n),
- (s.mime = n.mime),
- (s.stream = r),
- (s.successStatuses = [200]),
- (e.next = 13),
- this.request(s)
- );
- case 13:
- return (
- (i = e.sent),
- (o = { name: t, url: this._objectUrl(t), res: i.res }),
- s.headers && s.headers['x-oss-callback'] && (o.data = JSON.parse(i.data.toString())),
- e.abrupt('return', o)
- );
- case 17:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r) {
- return n.apply(this, arguments);
- };
- })()),
- n(r, e('../common/object/copyObject')),
- n(r, e('../common/object/getObjectTagging')),
- n(r, e('../common/object/putObjectTagging')),
- n(r, e('../common/object/deleteObjectTagging')),
- n(r, e('../common/image')),
- n(r, e('../common/object/getBucketVersions')),
- n(r, e('../common/object/getACL')),
- n(r, e('../common/object/putACL')),
- n(r, e('../common/object/head')),
- n(r, e('../common/object/delete')),
- n(r, e('../common/object/get')),
- n(r, e('../common/object/putSymlink')),
- n(r, e('../common/object/getSymlink')),
- n(r, e('../common/object/deleteMulti')),
- n(r, e('../common/object/getObjectMeta')),
- n(r, e('../common/object/getObjectUrl')),
- n(r, e('../common/object/generateObjectUrl')),
- n(r, e('../common/object/signatureUrl')),
- n(r, e('../common/object/asyncSignatureUrl')),
- (r.putMeta = (function () {
- var n = (0, s.default)(
- c.default.mark(function e(t, r, n) {
- var s;
- return c.default.wrap(
- function (e) {
- for (;;)
- 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 (s = e.sent), e.abrupt('return', s);
- case 4:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r) {
- return n.apply(this, arguments);
- };
- })()),
- (r.list = (function () {
- var r = (0, s.default)(
- c.default.mark(function e(t, r) {
- var n, s, i, o;
- return c.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((n = this._objectRequestParams('GET', '', r)).query = t),
- (n.xmlResponse = !0),
- (n.successStatuses = [200]),
- (e.next = 6),
- this.request(n)
- );
- case 6:
- return (
- (n = e.sent),
- (s = n.data.Contents || []),
- (i = this),
- (s =
- s &&
- (s = Array.isArray(s) ? s : [s]).map(function (e) {
- return {
- name: e.Key,
- url: i._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 }
- };
- })),
- (o =
- (o = n.data.CommonPrefixes || null) &&
- (o = Array.isArray(o) ? o : [o]).map(function (e) {
- return e.Prefix;
- })),
- e.abrupt('return', {
- res: n.res,
- objects: s,
- prefixes: o,
- nextMarker: n.data.NextMarker || null,
- isTruncated: 'true' === n.data.IsTruncated
- })
- );
- case 13:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })()),
- (r.listV2 = (function () {
- var t = (0, s.default)(
- c.default.mark(function e(t) {
- var r,
- n,
- s,
- i,
- o = arguments;
- return c.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (r = 1 < o.length && void 0 !== o[1] ? o[1] : {}),
- (n = t['continuation-token'] || t.continuationToken) &&
- (r.subres = Object.assign({ 'continuation-token': n }, r.subres)),
- ((n = this._objectRequestParams('GET', '', r)).query = Object.assign(
- { 'list-type': 2 },
- t
- )),
- delete n.query['continuation-token'],
- delete n.query.continuationToken,
- (n.xmlResponse = !0),
- (n.successStatuses = [200]),
- (e.next = 11),
- this.request(n)
- );
- case 11:
- return (
- (r = e.sent),
- (n = r.data.Contents || []),
- (s = this),
- (n =
- n &&
- (n = Array.isArray(n) ? n : [n]).map(function (e) {
- var t = null;
- return (
- e.Owner && (t = { id: e.Owner.ID, displayName: e.Owner.DisplayName }),
- {
- 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: t
- }
- );
- })),
- (i =
- (i = r.data.CommonPrefixes || null) &&
- (i = Array.isArray(i) ? i : [i]).map(function (e) {
- return e.Prefix;
- })),
- e.abrupt('return', {
- res: r.res,
- objects: n,
- prefixes: i,
- isTruncated: 'true' === r.data.IsTruncated,
- keyCount: +r.data.KeyCount,
- continuationToken: r.data.ContinuationToken || null,
- nextContinuationToken: r.data.NextContinuationToken || null
- })
- );
- case 18:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e) {
- return t.apply(this, arguments);
- };
- })()),
- (r.restore = (function () {
- var t = (0, s.default)(
- c.default.mark(function e(t) {
- var r,
- n,
- s = arguments;
- return c.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((n = (n = 1 < s.length && void 0 !== s[1] ? s[1] : { type: 'Archive' }) || {}).subres =
- Object.assign({ restore: '' }, n.subres)),
- n.versionId && (n.subres.versionId = n.versionId),
- (r = this._objectRequestParams('POST', t, n)),
- 'ColdArchive' === n.type &&
- ((n = {
- RestoreRequest: {
- Days: n.Days || 2,
- JobParameters: { Tier: n.JobParameters || 'Standard' }
- }
- }),
- (r.content = a(n, { headers: !0 })),
- (r.mime = 'xml')),
- (r.successStatuses = [202]),
- (e.next = 9),
- this.request(r)
- );
- case 9:
- return (n = e.sent), e.abrupt('return', { res: n.res });
- case 11:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e) {
- return t.apply(this, arguments);
- };
- })()),
- (r._objectUrl = function (e) {
- return this._getReqUrl({ bucket: this.options.bucket, object: e });
- }),
- (r._objectRequestParams = function (e, t, r) {
- if (!this.options.bucket && !this.options.cname) throw new Error('Please create a bucket first');
- r = r || {};
- t = {
- object: (t = this._objectName(t)),
- bucket: this.options.bucket,
- method: e,
- subres: r && r.subres,
- timeout: r && r.timeout,
- ctx: r && r.ctx
- };
- return r.headers && ((t.headers = {}), o(r.headers).to(t.headers)), t;
- }),
- (r._objectName = function (e) {
- return e.replace(/^\/+/, '');
- }),
- (r._convertMetaToHeaders = function (t, r) {
- t &&
- Object.keys(t).forEach(function (e) {
- r['x-oss-meta-'.concat(e)] = t[e];
- });
- }),
- (r._deleteFileSafe = function (r) {
- var n = this;
- return new Promise(function (t) {
- i.exists(r, function (e) {
- e
- ? i.unlink(r, function (e) {
- e && n.debug('unlink %j error: %s', r, e, 'error'), t();
- })
- : t();
- });
- });
- });
- },
- {
- '../common/callback': 24,
- '../common/image': 27,
- '../common/object/asyncSignatureUrl': 31,
- '../common/object/copyObject': 32,
- '../common/object/delete': 33,
- '../common/object/deleteMulti': 34,
- '../common/object/deleteObjectTagging': 35,
- '../common/object/generateObjectUrl': 36,
- '../common/object/get': 37,
- '../common/object/getACL': 38,
- '../common/object/getBucketVersions': 39,
- '../common/object/getObjectMeta': 40,
- '../common/object/getObjectTagging': 41,
- '../common/object/getObjectUrl': 42,
- '../common/object/getSymlink': 43,
- '../common/object/head': 44,
- '../common/object/putACL': 45,
- '../common/object/putObjectTagging': 46,
- '../common/object/putSymlink': 47,
- '../common/object/signatureUrl': 48,
- '../common/utils/isBlob': 63,
- '../common/utils/isBuffer': 64,
- '../common/utils/isFile': 65,
- '../common/utils/obj2xml': 70,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'copy-to': 91,
- 'core-js/modules/es.array.map.js': 277,
- 'core-js/modules/es.function.name.js': 281,
- 'core-js/modules/es.number.constructor.js': 283,
- 'core-js/modules/es.object.assign.js': 284,
- 'core-js/modules/es.object.keys.js': 289,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.promise.js': 294,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/es.regexp.to-string.js': 300,
- 'core-js/modules/es.string.replace.js': 304,
- 'core-js/modules/web.dom-collections.for-each.js': 338,
- fs: 87,
- 'merge-descriptors': 357,
- mime: 359,
- path: 363
- }
- ],
- 6: [
- function (e, t, r) {
- 'use strict';
- r.version = '6.18.0';
- },
- {}
- ],
- 7: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- s = n(e('@babel/runtime/regenerator')),
- i = n(e('@babel/runtime/helpers/asyncToGenerator')),
- o =
- (Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.abortBucketWorm = void 0),
- e('../utils/checkBucketName'));
- function a() {
- return (a = (0, i.default)(
- s.default.mark(function e(t, r) {
- var n;
- return s.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- o.checkBucketName(t),
- (n = this._bucketRequestParams('DELETE', t, 'worm', r)),
- (e.next = 4),
- this.request(n)
- );
- case 4:
- return (n = e.sent), e.abrupt('return', { res: n.res, status: n.status });
- case 6:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- )).apply(this, arguments);
- }
- r.abortBucketWorm = function (e, t) {
- return a.apply(this, arguments);
- };
- },
- {
- '../utils/checkBucketName': 51,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79
- }
- ],
- 8: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- i = n(e('@babel/runtime/regenerator')),
- s = n(e('@babel/runtime/helpers/asyncToGenerator')),
- o =
- (Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.completeBucketWorm = void 0),
- e('../utils/checkBucketName'));
- function a() {
- return (a = (0, s.default)(
- i.default.mark(function e(t, r, n) {
- var s;
- return i.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- o.checkBucketName(t),
- (s = this._bucketRequestParams('POST', t, { wormId: r }, n)),
- (e.next = 4),
- this.request(s)
- );
- case 4:
- return (s = e.sent), e.abrupt('return', { res: s.res, status: s.status });
- case 6:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- )).apply(this, arguments);
- }
- r.completeBucketWorm = function (e, t, r) {
- return a.apply(this, arguments);
- };
- },
- {
- '../utils/checkBucketName': 51,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79
- }
- ],
- 9: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- o = n(e('@babel/runtime/regenerator')),
- s = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator'))),
- a =
- (Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.deleteBucketInventory = void 0),
- e('../utils/checkBucketName'));
- function i() {
- return (i = (0, s.default)(
- o.default.mark(function e(t, r) {
- var n,
- s,
- i = arguments;
- return o.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (s = 2 < i.length && void 0 !== i[2] ? i[2] : {}),
- (n = Object.assign({ inventory: '', inventoryId: r }, s.subres)),
- a.checkBucketName(t),
- ((n = this._bucketRequestParams('DELETE', t, n, s)).successStatuses = [204]),
- (e.next = 7),
- this.request(n)
- );
- case 7:
- return (s = e.sent), e.abrupt('return', { status: s.status, res: s.res });
- case 9:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- )).apply(this, arguments);
- }
- r.deleteBucketInventory = function (e, t) {
- return i.apply(this, arguments);
- };
- },
- {
- '../utils/checkBucketName': 51,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.object.assign.js': 284
- }
- ],
- 10: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- s = n(e('@babel/runtime/regenerator')),
- i = n(e('@babel/runtime/helpers/asyncToGenerator')),
- o = e('../utils/checkBucketName').checkBucketName;
- r.deleteBucketLifecycle = (function () {
- var r = (0, i.default)(
- s.default.mark(function e(t, r) {
- var n;
- return s.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- o(t),
- ((n = this._bucketRequestParams('DELETE', t, 'lifecycle', r)).successStatuses = [204]),
- (e.next = 5),
- this.request(n)
- );
- case 5:
- return (n = e.sent), e.abrupt('return', { res: n.res });
- case 7:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })();
- },
- {
- '../utils/checkBucketName': 51,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79
- }
- ],
- 11: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- s = n(e('@babel/runtime/regenerator')),
- i = n(e('@babel/runtime/helpers/asyncToGenerator')),
- o = e('../utils/checkBucketName').checkBucketName;
- r.deleteBucketWebsite = (function () {
- var r = (0, i.default)(
- s.default.mark(function e(t, r) {
- var n;
- return s.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- o(t),
- ((n = this._bucketRequestParams('DELETE', t, 'website', r)).successStatuses = [204]),
- (e.next = 5),
- this.request(n)
- );
- case 5:
- return (n = e.sent), e.abrupt('return', { res: n.res });
- case 7:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })();
- },
- {
- '../utils/checkBucketName': 51,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79
- }
- ],
- 12: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- a = n(e('@babel/runtime/regenerator')),
- s = n(e('@babel/runtime/helpers/asyncToGenerator')),
- c =
- (Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.extendBucketWorm = void 0),
- e('../utils/checkBucketName')),
- l = e('../utils/obj2xml');
- function i() {
- return (i = (0, s.default)(
- a.default.mark(function e(t, r, n, s) {
- var i, o;
- return a.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- c.checkBucketName(t),
- (i = this._bucketRequestParams('POST', t, { wormExtend: '', wormId: r }, s)),
- (o = { ExtendWormConfiguration: { RetentionPeriodInDays: n } }),
- (i.mime = 'xml'),
- (i.content = l.obj2xml(o, { headers: !0 })),
- (i.successStatuses = [200]),
- (e.next = 8),
- this.request(i)
- );
- case 8:
- return (o = e.sent), e.abrupt('return', { res: o.res, status: o.status });
- case 10:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- )).apply(this, arguments);
- }
- r.extendBucketWorm = function (e, t, r, n) {
- return i.apply(this, arguments);
- };
- },
- {
- '../utils/checkBucketName': 51,
- '../utils/obj2xml': 70,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79
- }
- ],
- 13: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- o = n(e('@babel/runtime/regenerator')),
- s = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator'))),
- a =
- (Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.getBucketInventory = void 0),
- e('../utils/checkBucketName')),
- c = e('../utils/formatInventoryConfig');
- function i() {
- return (i = (0, s.default)(
- o.default.mark(function e(t, r) {
- var n,
- s,
- i = arguments;
- return o.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (s = 2 < i.length && void 0 !== i[2] ? i[2] : {}),
- (n = Object.assign({ inventory: '', inventoryId: r }, s.subres)),
- a.checkBucketName(t),
- ((n = this._bucketRequestParams('GET', t, n, s)).successStatuses = [200]),
- (n.xmlResponse = !0),
- (e.next = 8),
- this.request(n)
- );
- case 8:
- return (
- (s = e.sent),
- e.abrupt('return', {
- status: s.status,
- res: s.res,
- inventory: c.formatInventoryConfig(s.data)
- })
- );
- case 10:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- )).apply(this, arguments);
- }
- r.getBucketInventory = function (e, t) {
- return i.apply(this, arguments);
- };
- },
- {
- '../utils/checkBucketName': 51,
- '../utils/formatInventoryConfig': 59,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.object.assign.js': 284
- }
- ],
- 14: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- i = n(e('@babel/runtime/regenerator')),
- s = (e('core-js/modules/es.array.map.js'), n(e('@babel/runtime/helpers/asyncToGenerator'))),
- o = e('../utils/checkBucketName').checkBucketName,
- a = e('../utils/isArray').isArray,
- c = e('../utils/formatObjKey').formatObjKey;
- r.getBucketLifecycle = (function () {
- var r = (0, s.default)(
- i.default.mark(function e(t, r) {
- var n, s;
- return i.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- o(t),
- ((n = this._bucketRequestParams('GET', t, 'lifecycle', r)).successStatuses = [200]),
- (n.xmlResponse = !0),
- (e.next = 6),
- this.request(n)
- );
- case 6:
- return (
- (n = e.sent),
- (s =
- (s = n.data.Rule || null) &&
- (s = a(s) ? s : [s]).map(function (e) {
- return (
- e.ID && ((e.id = e.ID), delete e.ID),
- e.Tag && !a(e.Tag) && (e.Tag = [e.Tag]),
- c(e, 'firstLowerCase')
- );
- })),
- e.abrupt('return', { rules: s, res: n.res })
- );
- case 10:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })();
- },
- {
- '../utils/checkBucketName': 51,
- '../utils/formatObjKey': 60,
- '../utils/isArray': 62,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.array.map.js': 277
- }
- ],
- 15: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- i = n(e('@babel/runtime/regenerator')),
- s = n(e('@babel/runtime/helpers/asyncToGenerator')),
- o = e('../utils/checkBucketName').checkBucketName;
- r.getBucketVersioning = (function () {
- var r = (0, s.default)(
- i.default.mark(function e(t, r) {
- var n, s;
- return i.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- o(t),
- ((n = this._bucketRequestParams('GET', t, 'versioning', r)).xmlResponse = !0),
- (n.successStatuses = [200]),
- (e.next = 6),
- this.request(n)
- );
- case 6:
- return (
- (n = e.sent),
- (s = n.data.Status),
- e.abrupt('return', { status: n.status, versionStatus: s, res: n.res })
- );
- case 9:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })();
- },
- {
- '../utils/checkBucketName': 51,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79
- }
- ],
- 16: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- i = n(e('@babel/runtime/regenerator')),
- s = n(e('@babel/runtime/helpers/asyncToGenerator')),
- o = e('../utils/checkBucketName').checkBucketName,
- a = e('../utils/isObject').isObject;
- r.getBucketWebsite = (function () {
- var r = (0, s.default)(
- i.default.mark(function e(t, r) {
- var n, s;
- return i.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- o(t),
- ((n = this._bucketRequestParams('GET', t, 'website', r)).successStatuses = [200]),
- (n.xmlResponse = !0),
- (e.next = 6),
- this.request(n)
- );
- case 6:
- return (
- (n = e.sent),
- (s = []),
- n.data.RoutingRules &&
- n.data.RoutingRules.RoutingRule &&
- (s = a(n.data.RoutingRules.RoutingRule)
- ? [n.data.RoutingRules.RoutingRule]
- : n.data.RoutingRules.RoutingRule),
- e.abrupt('return', {
- index: (n.data.IndexDocument && n.data.IndexDocument.Suffix) || '',
- supportSubDir: (n.data.IndexDocument && n.data.IndexDocument.SupportSubDir) || 'false',
- type: n.data.IndexDocument && n.data.IndexDocument.Type,
- routingRules: s,
- error: (n.data.ErrorDocument && n.data.ErrorDocument.Key) || null,
- res: n.res
- })
- );
- case 10:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })();
- },
- {
- '../utils/checkBucketName': 51,
- '../utils/isObject': 68,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79
- }
- ],
- 17: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- s = n(e('@babel/runtime/regenerator')),
- i = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator'))),
- o =
- (Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.getBucketWorm = void 0),
- e('../utils/checkBucketName')),
- a = e('../utils/dataFix');
- function c() {
- return (c = (0, i.default)(
- s.default.mark(function e(t, r) {
- var n;
- return s.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- o.checkBucketName(t),
- ((n = this._bucketRequestParams('GET', t, 'worm', r)).successStatuses = [200]),
- (n.xmlResponse = !0),
- (e.next = 6),
- this.request(n)
- );
- case 6:
- return (
- (n = e.sent),
- a.dataFix(n.data, { lowerFirst: !0, rename: { RetentionPeriodInDays: 'days' } }),
- e.abrupt(
- 'return',
- Object.assign(Object.assign({}, n.data), { res: n.res, status: n.status })
- )
- );
- case 9:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- )).apply(this, arguments);
- }
- r.getBucketWorm = function (e, t) {
- return c.apply(this, arguments);
- };
- },
- {
- '../utils/checkBucketName': 51,
- '../utils/dataFix': 56,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.object.assign.js': 284
- }
- ],
- 18: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- o = n(e('@babel/runtime/regenerator')),
- s = n(e('@babel/runtime/helpers/asyncToGenerator')),
- a =
- (Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.initiateBucketWorm = void 0),
- e('../utils/obj2xml')),
- c = e('../utils/checkBucketName');
- function i() {
- return (i = (0, s.default)(
- o.default.mark(function e(t, r, n) {
- var s, i;
- return o.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- c.checkBucketName(t),
- (s = this._bucketRequestParams('POST', t, 'worm', n)),
- (i = { InitiateWormConfiguration: { RetentionPeriodInDays: r } }),
- (s.mime = 'xml'),
- (s.content = a.obj2xml(i, { headers: !0 })),
- (s.successStatuses = [200]),
- (e.next = 8),
- this.request(s)
- );
- case 8:
- return (
- (i = e.sent),
- e.abrupt('return', {
- res: i.res,
- wormId: i.res.headers['x-oss-worm-id'],
- status: i.status
- })
- );
- case 10:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- )).apply(this, arguments);
- }
- r.initiateBucketWorm = function (e, t, r) {
- return i.apply(this, arguments);
- };
- },
- {
- '../utils/checkBucketName': 51,
- '../utils/obj2xml': 70,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79
- }
- ],
- 19: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- a = n(e('@babel/runtime/regenerator')),
- s = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator'))),
- c =
- (Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.listBucketInventory = void 0),
- e('../utils/checkBucketName')),
- l = e('../utils/formatInventoryConfig');
- function i() {
- return (i = (0, s.default)(
- a.default.mark(function e(t) {
- var r,
- n,
- s,
- i,
- o = arguments;
- return a.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (n = (r = 1 < o.length && void 0 !== o[1] ? o[1] : {}).continuationToken),
- (n = Object.assign({ inventory: '' }, n && { 'continuation-token': n }, r.subres)),
- c.checkBucketName(t),
- ((n = this._bucketRequestParams('GET', t, n, r)).successStatuses = [200]),
- (n.xmlResponse = !0),
- (e.next = 9),
- this.request(n)
- );
- case 9:
- return (
- (r = e.sent),
- (n = r.data),
- (s = r.res),
- (i = r.status),
- e.abrupt('return', {
- isTruncated: 'true' === n.IsTruncated,
- nextContinuationToken: n.NextContinuationToken,
- inventoryList: l.formatInventoryConfig(n.InventoryConfiguration, !0),
- status: i,
- res: s
- })
- );
- case 12:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- )).apply(this, arguments);
- }
- r.listBucketInventory = function (e) {
- return i.apply(this, arguments);
- };
- },
- {
- '../utils/checkBucketName': 51,
- '../utils/formatInventoryConfig': 59,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.object.assign.js': 284
- }
- ],
- 20: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- u = n(e('@babel/runtime/regenerator')),
- s =
- (e('core-js/modules/es.object.assign.js'),
- e('core-js/modules/es.array.concat.js'),
- n(e('@babel/runtime/helpers/asyncToGenerator'))),
- p =
- (Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.putBucketInventory = void 0),
- e('../utils/checkBucketName')),
- f = e('../utils/obj2xml');
- function i() {
- return (i = (0, s.default)(
- u.default.mark(function e(t, r) {
- var n,
- s,
- i,
- o,
- a,
- c,
- l = arguments;
- return u.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (n = 2 < l.length && void 0 !== l[2] ? l[2] : {}),
- (s = Object.assign({ inventory: '', inventoryId: r.id }, n.subres)),
- p.checkBucketName(t),
- (o = r.OSSBucketDestination),
- (c = r.optionalFields),
- (a = r.includedObjectVersions),
- (i = 'acs:ram::'.concat(o.accountId, ':role/')),
- (i = {
- InventoryConfiguration: {
- Id: r.id,
- IsEnabled: r.isEnabled,
- Filter: { Prefix: r.prefix || '' },
- Destination: {
- OSSBucketDestination: {
- Format: o.format,
- AccountId: o.accountId,
- RoleArn: ''.concat(i).concat(o.rolename),
- Bucket: ''.concat('acs:oss:::').concat(o.bucket),
- Prefix: o.prefix || '',
- Encryption: o.encryption || ''
- }
- },
- Schedule: { Frequency: r.frequency },
- IncludedObjectVersions: a,
- OptionalFields: { Field: (null == c ? void 0 : c.field) || [] }
- }
- }),
- (o = f.obj2xml(i, { headers: !0, firstUpperCase: !0 })),
- ((a = this._bucketRequestParams('PUT', t, s, n)).successStatuses = [200]),
- (a.mime = 'xml'),
- (a.content = o),
- (e.next = 14),
- this.request(a)
- );
- case 14:
- return (c = e.sent), e.abrupt('return', { status: c.status, res: c.res });
- case 16:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- )).apply(this, arguments);
- }
- r.putBucketInventory = function (e, t) {
- return i.apply(this, arguments);
- };
- },
- {
- '../utils/checkBucketName': 51,
- '../utils/obj2xml': 70,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.array.concat.js': 269,
- 'core-js/modules/es.object.assign.js': 284
- }
- ],
- 21: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- a = n(e('@babel/runtime/regenerator')),
- s =
- (e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- e('core-js/modules/es.regexp.exec.js'),
- e('core-js/modules/es.array.includes.js'),
- n(e('@babel/runtime/helpers/asyncToGenerator'))),
- c = e('../utils/checkBucketName').checkBucketName,
- l = e('../utils/isArray').isArray,
- u = e('../utils/deepCopy').deepCopy,
- p = e('../utils/isObject').isObject,
- f = e('../utils/obj2xml').obj2xml,
- d = e('../utils/checkObjectTag').checkObjectTag,
- h = e('../utils/getStrBytesCount').getStrBytesCount;
- function m(e, t) {
- var r = e.days,
- e = e.createdBeforeDate;
- if (!r && !e) 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 (e && !/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(e))
- throw new Error('createdBeforeDate must be date and conform to iso8601 format');
- }
- r.putBucketLifecycle = (function () {
- var n = (0, s.default)(
- a.default.mark(function e(t, r, n) {
- var s, i, o;
- return a.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if ((c(t), l(r))) {
- e.next = 3;
- break;
- }
- throw new Error('rules must be Array');
- case 3:
- return (
- (s = this._bucketRequestParams('PUT', t, 'lifecycle', n)),
- (o = { LifecycleConfiguration: { Rule: (i = []) } }),
- r.forEach(function (e) {
- var t = e,
- t =
- (t.days && (t.expiration = { days: t.days }),
- t.date && (t.expiration = { createdBeforeDate: t.date }),
- e);
- if (t.id && 255 < h(t.id)) throw new Error('ID is composed of 255 bytes at most');
- if (void 0 === t.prefix) throw new Error('Rule must includes prefix');
- if (!['Enabled', 'Disabled'].includes(t.status))
- throw new Error('Status must be Enabled or Disabled');
- if (t.transition) {
- if (!['IA', 'Archive'].includes(t.transition.storageClass))
- throw new Error('StorageClass must be IA or Archive');
- m(t.transition, 'Transition');
- }
- if (t.expiration)
- if (t.expiration.expiredObjectDeleteMarker) {
- if (t.expiration.days || t.expiration.createdBeforeDate)
- throw new Error(
- 'expiredObjectDeleteMarker cannot be used with days or createdBeforeDate'
- );
- } else m(t.expiration, 'Expiration');
- if (
- (t.abortMultipartUpload && m(t.abortMultipartUpload, 'AbortMultipartUpload'),
- !(
- t.expiration ||
- t.abortMultipartUpload ||
- t.transition ||
- t.noncurrentVersionTransition
- ))
- )
- throw new Error(
- 'Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition'
- );
- if (t.tag) {
- if (t.abortMultipartUpload)
- throw new Error('Tag cannot be used with abortMultipartUpload');
- !(function (e) {
- if (!l(e) && !p(e)) throw new Error('tag must be Object or Array');
- e = p(e) ? [e] : e;
- var t = {};
- u(e).forEach(function (e) {
- t[e.key] = e.value;
- }),
- d(t);
- })(t.tag);
- }
- e.id && ((e.ID = e.id), delete e.id), i.push(e);
- }),
- (o = f(o, { headers: !0, firstUpperCase: !0 })),
- (s.content = o),
- (s.mime = 'xml'),
- (s.successStatuses = [200]),
- (e.next = 13),
- this.request(s)
- );
- case 13:
- return (o = e.sent), e.abrupt('return', { res: o.res });
- case 15:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r) {
- return n.apply(this, arguments);
- };
- })();
- },
- {
- '../utils/checkBucketName': 51,
- '../utils/checkObjectTag': 53,
- '../utils/deepCopy': 57,
- '../utils/getStrBytesCount': 61,
- '../utils/isArray': 62,
- '../utils/isObject': 68,
- '../utils/obj2xml': 70,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.array.includes.js': 274,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/web.dom-collections.for-each.js': 338
- }
- ],
- 22: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- a = n(e('@babel/runtime/regenerator')),
- s = (e('core-js/modules/es.array.includes.js'), n(e('@babel/runtime/helpers/asyncToGenerator'))),
- c = e('../utils/checkBucketName').checkBucketName,
- l = e('../utils/obj2xml').obj2xml;
- r.putBucketVersioning = (function () {
- var r = (0, s.default)(
- a.default.mark(function e(t, r) {
- var n,
- s,
- i,
- o = arguments;
- return a.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((n = 2 < o.length && void 0 !== o[2] ? o[2] : {}),
- c(t),
- ['Enabled', 'Suspended'].includes(r))
- ) {
- e.next = 4;
- break;
- }
- throw new Error('status must be Enabled or Suspended');
- case 4:
- return (
- (s = this._bucketRequestParams('PUT', t, 'versioning', n)),
- (i = { VersioningConfiguration: { Status: r } }),
- (s.mime = 'xml'),
- (s.content = l(i, { headers: !0 })),
- (e.next = 10),
- this.request(s)
- );
- case 10:
- return (i = e.sent), e.abrupt('return', { res: i.res, status: i.status });
- case 12:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })();
- },
- {
- '../utils/checkBucketName': 51,
- '../utils/obj2xml': 70,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.array.includes.js': 274
- }
- ],
- 23: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- c = n(e('@babel/runtime/regenerator')),
- s = n(e('@babel/runtime/helpers/asyncToGenerator')),
- l = e('../utils/checkBucketName').checkBucketName,
- u = e('../utils/obj2xml').obj2xml,
- p = e('../utils/isArray').isArray;
- r.putBucketWebsite = (function () {
- var t = (0, s.default)(
- c.default.mark(function e(t) {
- var r,
- n,
- s,
- i,
- o,
- a = arguments;
- return c.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((r = 1 < a.length && void 0 !== a[1] ? a[1] : {}),
- (n = 2 < a.length ? a[2] : void 0),
- l(t),
- (n = this._bucketRequestParams('PUT', t, 'website', n)),
- (o = { Suffix: r.index || 'index.html' }),
- (i = { WebsiteConfiguration: (s = { IndexDocument: o }) }),
- r.supportSubDir && (o.SupportSubDir = r.supportSubDir),
- r.type && (o.Type = r.type),
- r.error && (s.ErrorDocument = { Key: r.error }),
- void 0 === r.routingRules)
- ) {
- e.next = 14;
- break;
- }
- if (p(r.routingRules)) {
- e.next = 13;
- break;
- }
- throw new Error('RoutingRules must be Array');
- case 13:
- s.RoutingRules = { RoutingRule: r.routingRules };
- case 14:
- return (
- (i = u(i)),
- (n.content = i),
- (n.mime = 'xml'),
- (n.successStatuses = [200]),
- (e.next = 20),
- this.request(n)
- );
- case 20:
- return (o = e.sent), e.abrupt('return', { res: o.res });
- case 22:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e) {
- return t.apply(this, arguments);
- };
- })();
- },
- {
- '../utils/checkBucketName': 51,
- '../utils/isArray': 62,
- '../utils/obj2xml': 70,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79
- }
- ],
- 24: [
- function (e, t, r) {
- !function (s) {
- !function () {
- 'use strict';
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/es.regexp.to-string.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- e('core-js/modules/es.object.keys.js'),
- (r.encodeCallback = function (e, t) {
- var r, n;
- (e.headers = e.headers || {}),
- Object.prototype.hasOwnProperty.call(e.headers, 'x-oss-callback') ||
- (t.callback &&
- ((r = { callbackUrl: encodeURI(t.callback.url), callbackBody: t.callback.body }),
- t.callback.host && (r.callbackHost = t.callback.host),
- t.callback.contentType && (r.callbackBodyType = t.callback.contentType),
- (r = s.from(JSON.stringify(r)).toString('base64')),
- (e.headers['x-oss-callback'] = r),
- t.callback.customValue &&
- ((n = {}),
- Object.keys(t.callback.customValue).forEach(function (e) {
- n['x:'.concat(e)] = t.callback.customValue[e].toString();
- }),
- (e.headers['x-oss-callback-var'] = s.from(JSON.stringify(n)).toString('base64')))));
- });
- }.call(this);
- }.call(this, e('buffer').Buffer);
- },
- {
- buffer: 89,
- 'core-js/modules/es.object.keys.js': 289,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.regexp.to-string.js': 300,
- 'core-js/modules/web.dom-collections.for-each.js': 338
- }
- ],
- 25: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.array.concat.js'),
- e('core-js/modules/es.regexp.exec.js'),
- e('core-js/modules/es.string.replace.js'),
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/web.dom-collections.for-each.js');
- var n = function (e) {
- return e && e.__esModule ? e : { default: e };
- },
- s = (Object.defineProperty(r, '__esModule', { value: !0 }), (r.getReqUrl = void 0), n(e('copy-to'))),
- i = n(e('url')),
- o = n(e('merge-descriptors')),
- a = n(e('is-type-of')),
- c = e('../utils/isIP'),
- l = e('../utils/checkConfigValid');
- r.getReqUrl = function (e) {
- var t,
- r = {},
- n = this.options.cname,
- n =
- (l.checkConfigValid(this.options.endpoint, 'endpoint'),
- s.default(this.options.endpoint, !1).to(r),
- !e.bucket ||
- n ||
- c.isIP(r.hostname) ||
- this.options.sldEnable ||
- (r.host = ''.concat(e.bucket, '.').concat(r.host)),
- '/'),
- n =
- (e.bucket && this.options.sldEnable && (n += ''.concat(e.bucket, '/')),
- e.object && (n += this._escape(e.object).replace(/\+/g, '%2B')),
- (r.pathname = n),
- {});
- return (
- e.query && o.default(n, e.query),
- e.subres &&
- ((t = {}),
- a.default.string(e.subres)
- ? (t[e.subres] = '')
- : a.default.array(e.subres)
- ? e.subres.forEach(function (e) {
- t[e] = '';
- })
- : (t = e.subres),
- o.default(n, t)),
- (r.query = n),
- i.default.format(r)
- );
- };
- },
- {
- '../utils/checkConfigValid': 52,
- '../utils/isIP': 67,
- 'copy-to': 91,
- 'core-js/modules/es.array.concat.js': 269,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/es.string.replace.js': 304,
- 'core-js/modules/web.dom-collections.for-each.js': 338,
- 'is-type-of': 440,
- 'merge-descriptors': 357,
- url: 446
- }
- ],
- 26: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.array.concat.js'),
- e('core-js/modules/es.object.assign.js'),
- e('core-js/modules/es.string.trim.js');
- var n = e('humanize-ms'),
- s = e('url'),
- i = e('../utils/checkBucketName').checkBucketName,
- o = e('../utils/setRegion').setRegion,
- a = e('../utils/checkConfigValid').checkConfigValid;
- 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\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"
- ),
- e.bucket && i(e.bucket);
- e = 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 (
- ((e.accessKeyId = e.accessKeyId.trim()),
- (e.accessKeySecret = e.accessKeySecret.trim()),
- e.timeout && (e.timeout = n(e.timeout)),
- e.endpoint)
- )
- e.endpoint = (function (e, t) {
- a(e, 'endpoint');
- var r = s.parse(e);
- if (
- 'http:' !== (r = r.protocol ? r : s.parse('http'.concat(t ? 's' : '', '://').concat(e))).protocol &&
- 'https:' !== r.protocol
- )
- throw new Error('Endpoint protocol must be http or https.');
- return r;
- })(e.endpoint, e.secure);
- else {
- if (!e.region) throw new Error('require options.endpoint or options.region');
- e.endpoint = o(e.region, e.internal, e.secure);
- }
- return (e.inited = !0), e;
- };
- },
- {
- '../utils/checkBucketName': 51,
- '../utils/checkConfigValid': 52,
- '../utils/setRegion': 73,
- 'core-js/modules/es.array.concat.js': 269,
- 'core-js/modules/es.object.assign.js': 284,
- 'core-js/modules/es.string.trim.js': 307,
- 'humanize-ms': 345,
- url: 446
- }
- ],
- 27: [
- function (e, t, r) {
- 'use strict';
- e('merge-descriptors')(r, e('./processObjectSave'));
- },
- { './processObjectSave': 28, 'merge-descriptors': 357 }
- ],
- 28: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- a = n(e('@babel/runtime/regenerator')),
- i = (e('core-js/modules/es.array.concat.js'), n(e('@babel/runtime/helpers/asyncToGenerator'))),
- c = e('../utils/checkBucketName').checkBucketName,
- l = e('querystring'),
- u = e('js-base64').Base64.encode;
- 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'));
- }
- r.processObjectSave = (function () {
- var s = (0, i.default)(
- a.default.mark(function e(t, r, n, s) {
- var i, o;
- return a.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- p(t, 'sourceObject'),
- p(r, 'targetObject'),
- p(n, 'process'),
- (r = this._objectName(r)),
- s && c(s),
- (i = this._objectRequestParams('POST', t, { subres: 'x-oss-process' })),
- (o = s ? ',b_'.concat(u(s)) : ''),
- (r = u(r)),
- (o = { 'x-oss-process': ''.concat(n, '|sys/saveas,o_').concat(r).concat(o) }),
- (i.content = l.stringify(o)),
- (e.next = 12),
- this.request(i)
- );
- case 12:
- return (o = e.sent), e.abrupt('return', { res: o.res, status: o.res.status });
- case 14:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r, n) {
- return s.apply(this, arguments);
- };
- })();
- },
- {
- '../utils/checkBucketName': 51,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.array.concat.js': 269,
- 'js-base64': 356,
- querystring: 370
- }
- ],
- 29: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- b = n(e('@babel/runtime/regenerator')),
- g =
- (e('core-js/modules/es.array.concat.js'),
- e('core-js/modules/es.function.name.js'),
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/es.promise.js'),
- e('core-js/modules/es.array.from.js'),
- e('core-js/modules/es.string.iterator.js'),
- e('core-js/modules/es.array.map.js'),
- e('core-js/modules/es.array.filter.js'),
- e('core-js/modules/es.array.find.js'),
- e('core-js/modules/es.regexp.to-string.js'),
- n(e('@babel/runtime/helpers/asyncToGenerator'))),
- v = e('debug')('ali-oss:multipart-copy'),
- j = e('copy-to'),
- n = r;
- (n.uploadPartCopy = (function () {
- var i = (0, g.default)(
- b.default.mark(function e(t, r, n, s, i) {
- var o,
- a,
- c = arguments;
- return b.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((a = 5 < c.length && void 0 !== c[5] ? c[5] : {}).headers = a.headers || {}),
- (o = a.versionId || (a.subres && a.subres.versionId) || null),
- (o = o
- ? '/'
- .concat(i.sourceBucketName, '/')
- .concat(encodeURIComponent(i.sourceKey), '?versionId=')
- .concat(o)
- : '/'.concat(i.sourceBucketName, '/').concat(encodeURIComponent(i.sourceKey))),
- (a.headers['x-oss-copy-source'] = o),
- s && (a.headers['x-oss-copy-source-range'] = 'bytes='.concat(s)),
- (a.subres = { partNumber: n, uploadId: r }),
- ((o = this._objectRequestParams('PUT', t, a)).mime = a.mime),
- (o.successStatuses = [200]),
- (e.next = 12),
- this.request(o)
- );
- case 12:
- return (a = e.sent), e.abrupt('return', { name: t, etag: a.res.headers.etag, res: a.res });
- case 14:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r, n, s) {
- return i.apply(this, arguments);
- };
- })()),
- (n.multipartUploadCopy = (function () {
- var r = (0, g.default)(
- b.default.mark(function e(t, r) {
- var n,
- s,
- i,
- o,
- a,
- c,
- l,
- u = arguments;
- return b.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (n = 2 < u.length && void 0 !== u[2] ? u[2] : {}),
- this.resetCancelFlag(),
- (s = n.versionId),
- (s = { versionId: void 0 === s ? null : s }),
- (e.next = 6),
- this._getObjectMeta(r.sourceBucketName, r.sourceKey, s)
- );
- case 6:
- if (
- ((s = e.sent),
- (a = s.res.headers['content-length']),
- (r.startOffset = r.startOffset || 0),
- (r.endOffset = r.endOffset || a),
- n.checkpoint && n.checkpoint.uploadId)
- )
- return (e.next = 13), this._resumeMultipartCopy(n.checkpoint, r, n);
- e.next = 14;
- break;
- case 13:
- return e.abrupt('return', e.sent);
- case 14:
- if (((i = 102400), (o = r.endOffset - r.startOffset) < i))
- throw new Error('copySize must not be smaller than '.concat(i));
- e.next = 18;
- break;
- case 18:
- if (n.partSize && n.partSize < i)
- throw new Error('partSize must not be smaller than '.concat(i));
- e.next = 20;
- break;
- case 20:
- return (e.next = 22), this.initMultipartUpload(t, n);
- case 22:
- if (
- ((a = e.sent),
- (c = a.uploadId),
- (l = this._getPartSize(o, n.partSize)),
- (l = { name: t, copySize: o, partSize: l, uploadId: c, doneParts: [] }),
- n && n.progress)
- )
- return (e.next = 29), n.progress(0, l, a.res);
- e.next = 29;
- break;
- case 29:
- return (e.next = 31), this._resumeMultipartCopy(l, r, n);
- case 31:
- return e.abrupt('return', e.sent);
- case 32:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })()),
- (n._resumeMultipartCopy = (function () {
- var n = (0, g.default)(
- b.default.mark(function e(c, t, l) {
- var u, p, f, d, h, m, r, n, s, i, o, a, y;
- return b.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (this.isCancel()) throw this._makeCancelEvent();
- e.next = 2;
- break;
- case 2:
- if (
- ((s = l.versionId),
- (i = { versionId: (s = void 0 === s ? null : s) }),
- (r = c.copySize),
- (o = c.partSize),
- (u = c.uploadId),
- (p = c.doneParts),
- (f = c.name),
- (d = this._divideMultipartCopyParts(r, o, t.startOffset)),
- (h = d.length),
- (m = { headers: {} }),
- l.copyheaders && j(l.copyheaders).to(m.headers),
- s && j(i).to(m),
- (r = function (i, o, a) {
- return new Promise(
- (function () {
- var r = (0, g.default)(
- b.default.mark(function e(t, r) {
- var n, s;
- return b.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (((e.prev = 0), i.isCancel())) {
- e.next = 22;
- break;
- }
- return (
- (n = d[o - 1]),
- (n = ''.concat(n.start, '-').concat(n.end - 1)),
- (e.prev = 4),
- (e.next = 7),
- i.uploadPartCopy(f, u, o, n, a, m)
- );
- case 7:
- (s = e.sent), (e.next = 15);
- break;
- case 10:
- if (((e.prev = 10), (e.t0 = e.catch(4)), 404 === e.t0.status))
- throw i._makeAbortEvent();
- e.next = 14;
- break;
- case 14:
- throw e.t0;
- case 15:
- if (i.isCancel()) {
- e.next = 22;
- break;
- }
- if (
- (v('content-range '.concat(s.res.headers['content-range'])),
- p.push({ number: o, etag: s.res.headers.etag }),
- (c.doneParts = p),
- l && l.progress)
- )
- return (e.next = 22), l.progress(p.length / h, c, s.res);
- e.next = 22;
- break;
- case 22:
- t(), (e.next = 29);
- break;
- case 25:
- (e.prev = 25), (e.t1 = e.catch(0)), (e.t1.partNum = o), r(e.t1);
- case 29:
- case 'end':
- return e.stop();
- }
- },
- e,
- null,
- [
- [0, 25],
- [4, 10]
- ]
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })()
- );
- }),
- (o = Array.from(new Array(h), function (e, t) {
- return t + 1;
- })),
- (n = p.map(function (e) {
- return e.number;
- })),
- (s = o.filter(function (e) {
- return n.indexOf(e) < 0;
- })),
- (i = l.parallel || 5),
- !this.checkBrowserAndVersion('Internet Explorer', '10') && 1 !== i)
- ) {
- e.next = 28;
- break;
- }
- o = 0;
- case 18:
- if (!(o < s.length)) {
- e.next = 26;
- break;
- }
- if (this.isCancel()) throw this._makeCancelEvent();
- e.next = 21;
- break;
- case 21:
- return (e.next = 23), r(this, s[o], t);
- case 23:
- o++, (e.next = 18);
- break;
- case 26:
- e.next = 40;
- break;
- case 28:
- return (e.next = 30), this._parallelNode(s, i, r, t);
- case 30:
- if (
- ((a = e.sent),
- (y = a.find(function (e) {
- return 'abort' === e.name;
- })))
- )
- throw y;
- e.next = 34;
- break;
- case 34:
- if (this.isCancel()) throw this._makeCancelEvent();
- e.next = 36;
- break;
- case 36:
- if (a && 0 < a.length)
- throw (
- (((y = a[0]).message = 'Failed to copy some parts with error: '
- .concat(y.toString(), ' part_num: ')
- .concat(y.partNum)),
- y)
- );
- e.next = 40;
- break;
- case 40:
- return (e.next = 42), this.completeMultipartUpload(f, u, p, l);
- case 42:
- return e.abrupt('return', e.sent);
- case 43:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r) {
- return n.apply(this, arguments);
- };
- })()),
- (n._divideMultipartCopyParts = function (e, t, r) {
- for (var n = Math.ceil(e / t), s = [], i = 0; i < n; i++) {
- var o = t * i + r,
- a = Math.min(o + t, e + r);
- s.push({ start: o, end: a });
- }
- return s;
- }),
- (n._getObjectMeta = (function () {
- var n = (0, g.default)(
- b.default.mark(function e(t, r, n) {
- var s, i;
- return b.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (s = this.getBucket()), this.setBucket(t), (e.next = 4), this.head(r, n);
- case 4:
- return (i = e.sent), this.setBucket(s), e.abrupt('return', i);
- case 7:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r) {
- return n.apply(this, arguments);
- };
- })());
- },
- {
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'copy-to': 91,
- 'core-js/modules/es.array.concat.js': 269,
- 'core-js/modules/es.array.filter.js': 271,
- 'core-js/modules/es.array.find.js': 272,
- 'core-js/modules/es.array.from.js': 273,
- 'core-js/modules/es.array.map.js': 277,
- 'core-js/modules/es.function.name.js': 281,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.promise.js': 294,
- 'core-js/modules/es.regexp.to-string.js': 300,
- 'core-js/modules/es.string.iterator.js': 302,
- debug: 439
- }
- ],
- 30: [
- function (r, e, i) {
- !function (p) {
- !function () {
- 'use strict';
- r('core-js/modules/es.object.keys.js'),
- r('core-js/modules/es.symbol.js'),
- r('core-js/modules/es.object.get-own-property-descriptor.js'),
- r('core-js/modules/web.dom-collections.for-each.js'),
- r('core-js/modules/es.object.get-own-property-descriptors.js');
- var e = r('@babel/runtime/helpers/interopRequireDefault'),
- f = e(r('@babel/runtime/regenerator')),
- n =
- (r('core-js/modules/es.array.map.js'),
- r('core-js/modules/es.array.filter.js'),
- r('core-js/modules/es.object.to-string.js'),
- r('core-js/modules/es.array.sort.js'),
- r('core-js/modules/es.array.concat.js'),
- r('core-js/modules/es.regexp.to-string.js'),
- e(r('@babel/runtime/helpers/defineProperty'))),
- t = e(r('@babel/runtime/helpers/asyncToGenerator'));
- function s(t, e) {
- var r,
- n = Object.keys(t);
- return (
- Object.getOwnPropertySymbols &&
- ((r = Object.getOwnPropertySymbols(t)),
- e &&
- (r = r.filter(function (e) {
- return Object.getOwnPropertyDescriptor(t, e).enumerable;
- })),
- n.push.apply(n, r)),
- n
- );
- }
- function l(t) {
- for (var e = 1; e < arguments.length; e++) {
- var r = null != arguments[e] ? arguments[e] : {};
- e % 2
- ? s(Object(r), !0).forEach(function (e) {
- (0, n.default)(t, e, r[e]);
- })
- : Object.getOwnPropertyDescriptors
- ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r))
- : s(Object(r)).forEach(function (e) {
- Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(r, e));
- });
- }
- return t;
- }
- var u = r('copy-to'),
- d = r('./callback'),
- h = r('./utils/deepCopy').deepCopyWith,
- m = r('./utils/isBuffer').isBuffer,
- y = r('./utils/omit').omit,
- e = i;
- (e.listUploads = (function () {
- var r = (0, t.default)(
- f.default.mark(function e(t, r) {
- var n, s;
- return f.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (n = {}),
- u((r = r || {})).to(n),
- (n.subres = 'uploads'),
- ((n = this._objectRequestParams('GET', '', n)).query = t),
- (n.xmlResponse = !0),
- (n.successStatuses = [200]),
- (e.next = 10),
- this.request(n)
- );
- case 10:
- return (
- (n = e.sent),
- (s = n.data.Upload || []),
- (s = (s = Array.isArray(s) ? s : [s]).map(function (e) {
- return { name: e.Key, uploadId: e.UploadId, initiated: e.Initiated };
- })),
- e.abrupt('return', {
- res: n.res,
- uploads: s,
- bucket: n.data.Bucket,
- nextKeyMarker: n.data.NextKeyMarker,
- nextUploadIdMarker: n.data.NextUploadIdMarker,
- isTruncated: 'true' === n.data.IsTruncated
- })
- );
- case 15:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })()),
- (e.listParts = (function () {
- var s = (0, t.default)(
- f.default.mark(function e(t, r, n, s) {
- var i;
- return f.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (i = {}),
- u((s = s || {})).to(i),
- (i.subres = { uploadId: r }),
- ((i = this._objectRequestParams('GET', t, i)).query = n),
- (i.xmlResponse = !0),
- (i.successStatuses = [200]),
- (e.next = 10),
- this.request(i)
- );
- case 10:
- return (
- (i = e.sent),
- e.abrupt('return', {
- res: i.res,
- uploadId: i.data.UploadId,
- bucket: i.data.Bucket,
- name: i.data.Key,
- partNumberMarker: i.data.PartNumberMarker,
- nextPartNumberMarker: i.data.NextPartNumberMarker,
- maxParts: i.data.MaxParts,
- isTruncated: i.data.IsTruncated,
- parts: i.data.Part || []
- })
- );
- case 12:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r, n) {
- return s.apply(this, arguments);
- };
- })()),
- (e.abortMultipartUpload = (function () {
- var n = (0, t.default)(
- f.default.mark(function e(t, r, n) {
- var s;
- return f.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- this._stop(),
- (s = {}),
- u((n = n || {})).to(s),
- (s.subres = { uploadId: r }),
- ((s = this._objectRequestParams('DELETE', t, s)).successStatuses = [204]),
- (e.next = 9),
- this.request(s)
- );
- case 9:
- return (s = e.sent), e.abrupt('return', { res: s.res });
- case 11:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r) {
- return n.apply(this, arguments);
- };
- })()),
- (e.initMultipartUpload = (function () {
- var r = (0, t.default)(
- f.default.mark(function e(t, r) {
- var n;
- return f.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (n = {}),
- u((r = r || {})).to(n),
- (n.headers = n.headers || {}),
- this._convertMetaToHeaders(r.meta, n.headers),
- (n.subres = 'uploads'),
- ((n = this._objectRequestParams('POST', t, n)).mime = r.mime),
- (n.xmlResponse = !0),
- (n.successStatuses = [200]),
- (e.next = 12),
- this.request(n)
- );
- case 12:
- return (
- (n = e.sent),
- e.abrupt('return', {
- res: n.res,
- bucket: n.data.Bucket,
- name: n.data.Key,
- uploadId: n.data.UploadId
- })
- );
- case 14:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })()),
- (e.uploadPart = (function () {
- var a = (0, t.default)(
- f.default.mark(function e(t, r, n, s, i, o, a) {
- var c;
- return f.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (((c = { size: o - i }), p && p.browser))
- return (e.next = 5), this._createBuffer(s, i, o);
- e.next = 8;
- break;
- case 5:
- (c.content = e.sent), (e.next = 11);
- break;
- case 8:
- return (e.next = 10), this._createStream(s, i, o);
- case 10:
- c.stream = e.sent;
- case 11:
- return (e.next = 13), this._uploadPart(t, r, n, c, a);
- case 13:
- return e.abrupt('return', e.sent);
- case 14:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r, n, s, i, o) {
- return a.apply(this, arguments);
- };
- })()),
- (e.completeMultipartUpload = (function () {
- var s = (0, t.default)(
- f.default.mark(function e(t, r, n, s) {
- var i, o, a, c, l, u, p;
- return f.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- for (
- i = n
- .concat()
- .sort(function (e, t) {
- return e.number - t.number;
- })
- .filter(function (e, t, r) {
- return !t || e.number !== r[t - 1].number;
- }),
- o = '<?xml version="1.0" encoding="UTF-8"?>\n<CompleteMultipartUpload>\n',
- a = 0;
- a < i.length;
- a++
- )
- (c = i[a]),
- (o =
- (o = (o += '<Part>\n') + '<PartNumber>'.concat(c.number, '</PartNumber>\n')) +
- '<ETag>'.concat(c.etag, '</ETag>\n') +
- '</Part>\n');
- return (
- (o += '</CompleteMultipartUpload>'),
- (p = {}),
- ((p = h((s = s || {}), function (e) {
- if (m(e)) return null;
- })).subres = { uploadId: r }),
- (p.headers = y(p.headers, ['x-oss-server-side-encryption', 'x-oss-storage-class'])),
- (l = this._objectRequestParams('POST', t, p)),
- d.encodeCallback(l, p),
- (l.mime = 'xml'),
- (l.content = o),
- (l.headers && l.headers['x-oss-callback']) || (l.xmlResponse = !0),
- (l.successStatuses = [200]),
- (e.next = 17),
- this.request(l)
- );
- case 17:
- if (((u = e.sent), s.progress)) return (e.next = 21), s.progress(1, null, u.res);
- e.next = 21;
- break;
- case 21:
- return (
- (p = { res: u.res, bucket: l.bucket, name: t, etag: u.res.headers.etag }),
- l.headers &&
- l.headers['x-oss-callback'] &&
- (p.data = JSON.parse(u.data.toString())),
- e.abrupt('return', p)
- );
- case 24:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r, n) {
- return s.apply(this, arguments);
- };
- })()),
- (e._uploadPart = (function () {
- var i = (0, t.default)(
- f.default.mark(function e(t, r, n, s, i) {
- var o, a, c;
- return f.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (o = {}),
- u((i = i || {})).to(o),
- (o.headers = o.headers || {}),
- (o.headers = l(l({}, o.headers), {}, { 'Content-Length': s.size })),
- (o.headers = y(o.headers, ['x-oss-server-side-encryption'])),
- (o.subres = { partNumber: n, uploadId: r }),
- ((a = this._objectRequestParams('PUT', t, o)).mime = o.mime),
- p && p.browser ? (a.content = s.content) : (a.stream = s.stream),
- (a.successStatuses = [200]),
- (a.disabledMD5 = i.disabledMD5),
- (e.next = 15),
- this.request(a)
- );
- case 15:
- if ((c = e.sent).res.headers.etag) {
- e.next = 18;
- break;
- }
- throw new Error(
- 'Please set the etag of expose-headers in OSS \n https://help.aliyun.com/document_detail/32069.html'
- );
- case 18:
- return (
- s.stream && ((s.stream = null), (a.stream = null)),
- e.abrupt('return', { name: t, etag: c.res.headers.etag, res: c.res })
- );
- case 20:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r, n, s) {
- return i.apply(this, arguments);
- };
- })());
- }.call(this);
- }.call(this, r('_process'));
- },
- {
- './callback': 24,
- './utils/deepCopy': 57,
- './utils/isBuffer': 64,
- './utils/omit': 71,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/defineProperty': 76,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- _process: 441,
- 'copy-to': 91,
- 'core-js/modules/es.array.concat.js': 269,
- 'core-js/modules/es.array.filter.js': 271,
- 'core-js/modules/es.array.map.js': 277,
- 'core-js/modules/es.array.sort.js': 279,
- 'core-js/modules/es.object.get-own-property-descriptor.js': 286,
- 'core-js/modules/es.object.get-own-property-descriptors.js': 287,
- 'core-js/modules/es.object.keys.js': 289,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.regexp.to-string.js': 300,
- 'core-js/modules/es.symbol.js': 312,
- 'core-js/modules/web.dom-collections.for-each.js': 338
- }
- ],
- 31: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- c = n(e('@babel/runtime/regenerator')),
- s = n(e('@babel/runtime/helpers/asyncToGenerator')),
- l = e('url'),
- u = e('utility'),
- p = e('copy-to'),
- f = e('../../common/signUtils'),
- d = e('../utils/isIP').isIP,
- h = e('../utils/setSTSToken').setSTSToken,
- m = e('../utils/isFunction').isFunction;
- r.asyncSignatureUrl = (function () {
- var r = (0, s.default)(
- c.default.mark(function e(t, r) {
- var n, s, i, o, a;
- return c.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (d(this.options.endpoint.hostname))
- throw new Error('can not get the object URL when endpoint is IP');
- e.next = 2;
- break;
- case 2:
- if (
- ((r = r || {}),
- (t = this._objectName(t)),
- (r.method = r.method || 'GET'),
- (n = u.timestamp() + (r.expires || 1800)),
- (s = { bucket: this.options.bucket, object: t }),
- (i = this._getResource(s)),
- this.options.stsToken && m(this.options.refreshSTSToken))
- )
- return (e.next = 11), h.call(this);
- e.next = 11;
- break;
- case 11:
- return (
- this.options.stsToken && (r['security-token'] = this.options.stsToken),
- (o = f._signatureForURL(this.options.accessKeySecret, r, i, n)),
- ((a = l.parse(this._getReqUrl(s))).query = {
- OSSAccessKeyId: this.options.accessKeyId,
- Expires: n,
- Signature: o.Signature
- }),
- p(o.subResource).to(a.query),
- e.abrupt('return', a.format())
- );
- case 17:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })();
- },
- {
- '../../common/signUtils': 50,
- '../utils/isFunction': 66,
- '../utils/isIP': 67,
- '../utils/setSTSToken': 74,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'copy-to': 91,
- url: 446,
- utility: 448
- }
- ],
- 32: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- a = n(e('@babel/runtime/regenerator')),
- c =
- (e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- e('core-js/modules/es.object.keys.js'),
- e('core-js/modules/es.array.find.js'),
- e('core-js/modules/es.array.includes.js'),
- e('core-js/modules/es.array.concat.js'),
- e('core-js/modules/es.regexp.exec.js'),
- e('core-js/modules/es.string.replace.js'),
- n(e('@babel/runtime/helpers/typeof'))),
- i = n(e('@babel/runtime/helpers/asyncToGenerator')),
- s = e('../utils/checkBucketName').checkBucketName,
- n = r,
- l = [
- 'content-type',
- 'content-encoding',
- 'content-language',
- 'content-disposition',
- 'cache-control',
- 'expires'
- ];
- (n.copy = (function () {
- var s = (0, i.default)(
- a.default.mark(function e(t, r, n, s) {
- var i, o;
- return a.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((s = (s = 'object' === (0, c.default)(n) ? n : s) || {}).headers = s.headers || {}),
- Object.keys(s.headers).forEach(function (e) {
- s.headers['x-oss-copy-source-'.concat(e.toLowerCase())] = s.headers[e];
- }),
- (s.meta ||
- Object.keys(s.headers).find(function (e) {
- return l.includes(e.toLowerCase());
- })) &&
- (s.headers['x-oss-metadata-directive'] = 'REPLACE'),
- this._convertMetaToHeaders(s.meta, s.headers),
- (r = this._getSourceName(r, n)),
- s.versionId && (r = ''.concat(r, '?versionId=').concat(s.versionId)),
- (s.headers['x-oss-copy-source'] = r),
- ((i = this._objectRequestParams('PUT', t, s)).xmlResponse = !0),
- (i.successStatuses = [200, 304]),
- (e.next = 14),
- this.request(i)
- );
- case 14:
- return (
- (i = e.sent),
- (o = (o = i.data) && { etag: o.ETag, lastModified: o.LastModified }),
- e.abrupt('return', { data: o, res: i.res })
- );
- case 18:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r, n) {
- return s.apply(this, arguments);
- };
- })()),
- (n._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'))),
- s(t),
- (e = encodeURIComponent(e)),
- (e = '/'.concat(t, '/').concat(e))
- );
- });
- },
- {
- '../utils/checkBucketName': 51,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/helpers/typeof': 78,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.array.concat.js': 269,
- 'core-js/modules/es.array.find.js': 272,
- 'core-js/modules/es.array.includes.js': 274,
- 'core-js/modules/es.object.keys.js': 289,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/es.string.replace.js': 304,
- 'core-js/modules/web.dom-collections.for-each.js': 338
- }
- ],
- 33: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- s = n(e('@babel/runtime/regenerator')),
- i = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator')));
- r.delete = (function () {
- var t = (0, i.default)(
- s.default.mark(function e(t) {
- var r,
- n = arguments;
- return s.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((r = 1 < n.length && void 0 !== n[1] ? n[1] : {}).subres = Object.assign({}, r.subres)),
- r.versionId && (r.subres.versionId = r.versionId),
- ((r = this._objectRequestParams('DELETE', t, r)).successStatuses = [204]),
- (e.next = 7),
- this.request(r)
- );
- case 7:
- return (r = e.sent), e.abrupt('return', { res: r.res });
- case 9:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e) {
- return t.apply(this, arguments);
- };
- })();
- },
- {
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.object.assign.js': 284
- }
- ],
- 34: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- f = n(e('@babel/runtime/regenerator')),
- s = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator'))),
- d = e('utility'),
- h = e('../utils/obj2xml').obj2xml;
- r.deleteMulti = (function () {
- var t = (0, s.default)(
- f.default.mark(function e(t) {
- var r,
- n,
- s,
- i,
- o,
- a,
- c,
- l,
- u,
- p = arguments;
- return f.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (((r = 1 < p.length && void 0 !== p[1] ? p[1] : {}), (n = []), t && t.length)) {
- e.next = 4;
- break;
- }
- throw new Error('names is required');
- case 4:
- for (s = 0; s < t.length; s++)
- (i = {}),
- 'string' == typeof t[s]
- ? (i.Key = d.escape(this._objectName(t[s])))
- : ((a = t[s]),
- (o = a.key),
- (a = a.versionId),
- (i.Key = d.escape(this._objectName(o))),
- (i.VersionId = a)),
- n.push(i);
- return (
- (c = { Delete: { Quiet: !!r.quiet, Object: n } }),
- (c = h(c, { headers: !0 })),
- (r.subres = Object.assign({ delete: '' }, r.subres)),
- r.versionId && (r.subres.versionId = r.versionId),
- ((l = this._objectRequestParams('POST', '', r)).mime = 'xml'),
- (l.content = c),
- (l.xmlResponse = !0),
- (l.successStatuses = [200]),
- (e.next = 16),
- this.request(l)
- );
- case 16:
- return (
- (c = e.sent),
- (l = c.data),
- (u = (l && l.Deleted) || null) && !Array.isArray(u) && (u = [u]),
- e.abrupt('return', { res: c.res, deleted: u || [] })
- );
- case 21:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e) {
- return t.apply(this, arguments);
- };
- })();
- },
- {
- '../utils/obj2xml': 70,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.object.assign.js': 284,
- utility: 448
- }
- ],
- 35: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- s = n(e('@babel/runtime/regenerator')),
- i = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator')));
- r.deleteObjectTagging = (function () {
- var t = (0, i.default)(
- s.default.mark(function e(t) {
- var r,
- n = arguments;
- return s.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((r = 1 < n.length && void 0 !== n[1] ? n[1] : {}).subres = Object.assign(
- { tagging: '' },
- r.subres
- )),
- r.versionId && (r.subres.versionId = r.versionId),
- (t = this._objectName(t)),
- ((r = this._objectRequestParams('DELETE', t, r)).successStatuses = [204]),
- (e.next = 8),
- this.request(r)
- );
- case 8:
- return (r = e.sent), e.abrupt('return', { status: r.status, res: r.res });
- case 10:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e) {
- return t.apply(this, arguments);
- };
- })();
- },
- {
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.object.assign.js': 284
- }
- ],
- 36: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.array.concat.js');
- var s = e('url'),
- i = e('../utils/isIP').isIP;
- r.generateObjectUrl = function (e, t) {
- if (i(this.options.endpoint.hostname)) throw new Error('can not get the object URL when endpoint is IP');
- var r, n;
- return (
- t
- ? '/' !== t[t.length - 1] && (t += '/')
- : ((t = this.options.endpoint.format()),
- (r = s.parse(t)),
- (n = this.options.bucket),
- (r.hostname = ''.concat(n, '.').concat(r.hostname)),
- (r.host = ''.concat(n, '.').concat(r.host)),
- (t = r.format())),
- t + this._escape(this._objectName(e))
- );
- };
- },
- { '../utils/isIP': 67, 'core-js/modules/es.array.concat.js': 269, url: 446 }
- ],
- 37: [
- function (r, e, n) {
- !function (d) {
- !function () {
- 'use strict';
- var e = r('@babel/runtime/helpers/interopRequireDefault'),
- u = e(r('@babel/runtime/regenerator')),
- t = (r('core-js/modules/es.object.assign.js'), e(r('@babel/runtime/helpers/asyncToGenerator'))),
- p = r('fs'),
- f = r('is-type-of');
- n.get = (function () {
- var r = (0, t.default)(
- u.default.mark(function e(t, r) {
- var n,
- s,
- i,
- o,
- a,
- c,
- l = arguments;
- return u.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (n = 2 < l.length && void 0 !== l[2] ? l[2] : {}),
- (s = null),
- (i = !1),
- f.writableStream(r)
- ? (s = r)
- : f.string(r)
- ? ((s = p.createWriteStream(r)), (i = !0))
- : (n = r),
- (n = n || {}),
- (o = d && d.browser),
- (c = null === n.responseCacheControl ? '' : 'no-cache'),
- (o = o && c ? { 'response-cache-control': c } : {}),
- (n.subres = Object.assign(o, n.subres)),
- n.versionId && (n.subres.versionId = n.versionId),
- n.process && (n.subres['x-oss-process'] = n.process),
- (e.prev = 11),
- ((c = this._objectRequestParams('GET', t, n)).writeStream = s),
- (c.successStatuses = [200, 206, 304]),
- (e.next = 17),
- this.request(c)
- );
- case 17:
- (a = e.sent), i && s.destroy(), (e.next = 28);
- break;
- case 21:
- if (((e.prev = 21), (e.t0 = e.catch(11)), i))
- return s.destroy(), (e.next = 27), this._deleteFileSafe(r);
- e.next = 27;
- break;
- case 27:
- throw e.t0;
- case 28:
- return e.abrupt('return', { res: a.res, content: a.data });
- case 29:
- case 'end':
- return e.stop();
- }
- },
- e,
- this,
- [[11, 21]]
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })();
- }.call(this);
- }.call(this, r('_process'));
- },
- {
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- _process: 441,
- 'core-js/modules/es.object.assign.js': 284,
- fs: 87,
- 'is-type-of': 440
- }
- ],
- 38: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- s = n(e('@babel/runtime/regenerator')),
- i = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator')));
- r.getACL = (function () {
- var t = (0, i.default)(
- s.default.mark(function e(t) {
- var r,
- n = arguments;
- return s.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((r = 1 < n.length && void 0 !== n[1] ? n[1] : {}).subres = Object.assign(
- { acl: '' },
- r.subres
- )),
- r.versionId && (r.subres.versionId = r.versionId),
- (t = this._objectName(t)),
- ((r = this._objectRequestParams('GET', t, r)).successStatuses = [200]),
- (r.xmlResponse = !0),
- (e.next = 9),
- this.request(r)
- );
- case 9:
- return (
- (r = e.sent),
- e.abrupt('return', {
- acl: r.data.AccessControlList.Grant,
- owner: { id: r.data.Owner.ID, displayName: r.data.Owner.DisplayName },
- res: r.res
- })
- );
- case 11:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e) {
- return t.apply(this, arguments);
- };
- })();
- },
- {
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.object.assign.js': 284
- }
- ],
- 39: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- l = n(e('@babel/runtime/regenerator')),
- s =
- (e('core-js/modules/es.regexp.exec.js'),
- e('core-js/modules/es.string.replace.js'),
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- e('core-js/modules/es.object.keys.js'),
- e('core-js/modules/es.object.assign.js'),
- e('core-js/modules/es.array.map.js'),
- e('core-js/modules/es.number.constructor.js'),
- n(e('@babel/runtime/helpers/asyncToGenerator'))),
- n = r,
- u = e('../utils/isObject').isObject,
- p = e('../utils/isArray').isArray;
- function i() {
- return o.apply(this, arguments);
- }
- function o() {
- return (o = (0, s.default)(
- l.default.mark(function e() {
- var t,
- r,
- n,
- s,
- i,
- o,
- a,
- c = arguments;
- return l.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((t = 0 < c.length && void 0 !== c[0] ? c[0] : {}),
- (r = 1 < c.length && void 0 !== c[1] ? c[1] : {}),
- t.versionIdMarker && void 0 === t.keyMarker)
- )
- throw new Error('A version-id marker cannot be specified without a key marker');
- e.next = 4;
- break;
- case 4:
- return (
- (r.subres = Object.assign({ versions: '' }, r.subres)),
- r.versionId && (r.subres.versionId = r.versionId),
- ((n = this._objectRequestParams('GET', '', r)).xmlResponse = !0),
- (n.successStatuses = [200]),
- (n.query = (function () {
- var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {},
- r = {};
- u(t) &&
- Object.keys(t).forEach(function (e) {
- r[e.replace(/([A-Z])/g, '-$1').toLowerCase()] = t[e];
- });
- return r;
- })(t)),
- (e.next = 12),
- this.request(n)
- );
- case 12:
- return (
- (n = e.sent),
- (s = n.data.Version || []),
- (i = n.data.DeleteMarker || []),
- (o = this),
- (s =
- s &&
- (s = Array.isArray(s) ? s : [s]).map(function (e) {
- return {
- name: e.Key,
- url: o._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 }
- };
- })),
- (i =
- i &&
- (i = p(i) ? i : [i]).map(function (e) {
- return {
- name: e.Key,
- lastModified: e.LastModified,
- versionId: e.VersionId,
- owner: { id: e.Owner.ID, displayName: e.Owner.DisplayName }
- };
- })),
- (a =
- (a = n.data.CommonPrefixes || null) &&
- (a = p(a) ? a : [a]).map(function (e) {
- return e.Prefix;
- })),
- e.abrupt('return', {
- res: n.res,
- objects: s,
- deleteMarker: i,
- prefixes: a,
- nextMarker: n.data.NextKeyMarker || null,
- NextVersionIdMarker: n.data.NextVersionIdMarker || null,
- nextKeyMarker: n.data.NextKeyMarker || null,
- nextVersionIdMarker: n.data.NextVersionIdMarker || null,
- isTruncated: 'true' === n.data.IsTruncated
- })
- );
- case 21:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- )).apply(this, arguments);
- }
- (n.getBucketVersions = i), (n.listObjectVersions = i);
- },
- {
- '../utils/isArray': 62,
- '../utils/isObject': 68,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.array.map.js': 277,
- 'core-js/modules/es.number.constructor.js': 283,
- 'core-js/modules/es.object.assign.js': 284,
- 'core-js/modules/es.object.keys.js': 289,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/es.string.replace.js': 304,
- 'core-js/modules/web.dom-collections.for-each.js': 338
- }
- ],
- 40: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- s = n(e('@babel/runtime/regenerator')),
- i = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator')));
- r.getObjectMeta = (function () {
- var r = (0, i.default)(
- s.default.mark(function e(t, r) {
- var n;
- return s.default.wrap(
- function (e) {
- for (;;)
- 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)).successStatuses = [200]),
- (e.next = 8),
- this.request(n)
- );
- case 8:
- return (n = e.sent), e.abrupt('return', { status: n.status, res: n.res });
- case 10:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })();
- },
- {
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.object.assign.js': 284
- }
- ],
- 41: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- a = n(e('@babel/runtime/regenerator')),
- s =
- (e('core-js/modules/es.object.assign.js'),
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- n(e('@babel/runtime/helpers/asyncToGenerator'))),
- n = r,
- c = e('../utils/isObject').isObject;
- n.getObjectTagging = (function () {
- var t = (0, s.default)(
- a.default.mark(function e(t) {
- var r,
- n,
- s,
- i,
- o = arguments;
- return a.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((n = 1 < o.length && void 0 !== o[1] ? o[1] : {}).subres = Object.assign(
- { tagging: '' },
- n.subres
- )),
- n.versionId && (n.subres.versionId = n.versionId),
- (t = this._objectName(t)),
- ((n = this._objectRequestParams('GET', t, n)).successStatuses = [200]),
- (e.next = 8),
- this.request(n)
- );
- case 8:
- return (r = e.sent), (e.next = 11), this.parseXML(r.data);
- case 11:
- return (
- (n = e.sent),
- (s = (s = n.TagSet.Tag) && c(s) ? [s] : s || []),
- (i = {}),
- s.forEach(function (e) {
- i[e.Key] = e.Value;
- }),
- e.abrupt('return', { status: r.status, res: r.res, tag: i })
- );
- case 17:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e) {
- return t.apply(this, arguments);
- };
- })();
- },
- {
- '../utils/isObject': 68,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.object.assign.js': 284,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/web.dom-collections.for-each.js': 338
- }
- ],
- 42: [
- function (e, t, r) {
- 'use strict';
- var n = e('../utils/isIP').isIP;
- r.getObjectUrl = function (e, t) {
- if (n(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': 67 }
- ],
- 43: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- i = n(e('@babel/runtime/regenerator')),
- s = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator')));
- r.getSymlink = (function () {
- var t = (0, s.default)(
- i.default.mark(function e(t) {
- var r,
- n,
- s = arguments;
- return i.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((r = 1 < s.length && void 0 !== s[1] ? s[1] : {}).subres = Object.assign(
- { symlink: '' },
- r.subres
- )),
- r.versionId && (r.subres.versionId = r.versionId),
- (t = this._objectName(t)),
- ((r = this._objectRequestParams('GET', t, r)).successStatuses = [200]),
- (e.next = 8),
- this.request(r)
- );
- case 8:
- return (
- (r = e.sent),
- (n = r.res.headers['x-oss-symlink-target']),
- e.abrupt('return', { targetName: decodeURIComponent(n), res: r.res })
- );
- case 11:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e) {
- return t.apply(this, arguments);
- };
- })();
- },
- {
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.object.assign.js': 284
- }
- ],
- 44: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- o = n(e('@babel/runtime/regenerator')),
- s =
- (e('core-js/modules/es.object.assign.js'),
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- e('core-js/modules/es.object.keys.js'),
- n(e('@babel/runtime/helpers/asyncToGenerator')));
- r.head = (function () {
- var t = (0, s.default)(
- o.default.mark(function e(t) {
- var r,
- n,
- s,
- i = arguments;
- return o.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((r = 1 < i.length && void 0 !== i[1] ? i[1] : {}).subres = Object.assign({}, r.subres)),
- r.versionId && (r.subres.versionId = r.versionId),
- ((r = this._objectRequestParams('HEAD', t, r)).successStatuses = [200, 304]),
- (e.next = 7),
- this.request(r)
- );
- case 7:
- return (
- (n = e.sent),
- (s = { meta: null, res: n.res, status: n.status }),
- 200 === n.status &&
- Object.keys(n.headers).forEach(function (e) {
- 0 === e.indexOf('x-oss-meta-') &&
- (s.meta || (s.meta = {}), (s.meta[e.substring(11)] = n.headers[e]));
- }),
- e.abrupt('return', s)
- );
- case 11:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e) {
- return t.apply(this, arguments);
- };
- })();
- },
- {
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.object.assign.js': 284,
- 'core-js/modules/es.object.keys.js': 289,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/web.dom-collections.for-each.js': 338
- }
- ],
- 45: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- i = n(e('@babel/runtime/regenerator')),
- s = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator')));
- r.putACL = (function () {
- var n = (0, s.default)(
- i.default.mark(function e(t, r, n) {
- var s;
- return i.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((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)),
- ((s = this._objectRequestParams('PUT', t, n)).successStatuses = [200]),
- (e.next = 10),
- this.request(s)
- );
- case 10:
- return (s = e.sent), e.abrupt('return', { res: s.res });
- case 12:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r) {
- return n.apply(this, arguments);
- };
- })();
- },
- {
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.object.assign.js': 284
- }
- ],
- 46: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- o = n(e('@babel/runtime/regenerator')),
- s =
- (e('core-js/modules/es.object.assign.js'),
- e('core-js/modules/es.array.map.js'),
- e('core-js/modules/es.object.keys.js'),
- n(e('@babel/runtime/helpers/asyncToGenerator'))),
- a = e('../utils/obj2xml').obj2xml,
- c = e('../utils/checkObjectTag').checkObjectTag;
- r.putObjectTagging = (function () {
- var r = (0, s.default)(
- o.default.mark(function e(t, r) {
- var n,
- s,
- i = arguments;
- return o.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (n = 2 < i.length && void 0 !== i[2] ? i[2] : {}),
- c(r),
- (n.subres = Object.assign({ tagging: '' }, n.subres)),
- n.versionId && (n.subres.versionId = n.versionId),
- (t = this._objectName(t)),
- ((n = this._objectRequestParams('PUT', t, n)).successStatuses = [200]),
- (r = Object.keys(r).map(function (e) {
- return { Key: e, Value: r[e] };
- })),
- (s = { Tagging: { TagSet: { Tag: r } } }),
- (n.mime = 'xml'),
- (n.content = a(s)),
- (e.next = 13),
- this.request(n)
- );
- case 13:
- return (s = e.sent), e.abrupt('return', { res: s.res, status: s.status });
- case 15:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t) {
- return r.apply(this, arguments);
- };
- })();
- },
- {
- '../utils/checkObjectTag': 53,
- '../utils/obj2xml': 70,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.array.map.js': 277,
- 'core-js/modules/es.object.assign.js': 284,
- 'core-js/modules/es.object.keys.js': 289
- }
- ],
- 47: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- i = n(e('@babel/runtime/regenerator')),
- s = (e('core-js/modules/es.object.assign.js'), n(e('@babel/runtime/helpers/asyncToGenerator')));
- r.putSymlink = (function () {
- var n = (0, s.default)(
- i.default.mark(function e(t, r, n) {
- var s;
- return i.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- ((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)),
- ((s = this._objectRequestParams('PUT', t, n)).successStatuses = [200]),
- (e.next = 13),
- this.request(s)
- );
- case 13:
- return (s = e.sent), e.abrupt('return', { res: s.res });
- case 15:
- case 'end':
- return e.stop();
- }
- },
- e,
- this
- );
- })
- );
- return function (e, t, r) {
- return n.apply(this, arguments);
- };
- })();
- },
- {
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.object.assign.js': 284
- }
- ],
- 48: [
- function (e, t, r) {
- 'use strict';
- var s = e('url'),
- i = e('utility'),
- o = e('copy-to'),
- a = e('../../common/signUtils'),
- c = e('../utils/isIP').isIP;
- r.signatureUrl = function (e, t) {
- if (c(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),
- e = { bucket: this.options.bucket, object: e },
- n = this._getResource(e),
- t =
- (this.options.stsToken && (t['security-token'] = this.options.stsToken),
- a._signatureForURL(this.options.accessKeySecret, t, n, r)),
- n = s.parse(this._getReqUrl(e));
- return (
- (n.query = { OSSAccessKeyId: this.options.accessKeyId, Expires: r, Signature: t.Signature }),
- o(t.subResource).to(n.query),
- n.format()
- );
- };
- },
- { '../../common/signUtils': 50, '../utils/isIP': 67, 'copy-to': 91, url: 446, utility: 448 }
- ],
- 49: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- p = n(e('@babel/runtime/regenerator')),
- i =
- (e('core-js/modules/es.array.iterator.js'),
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/es.promise.js'),
- e('core-js/modules/es.string.iterator.js'),
- e('core-js/modules/web.dom-collections.iterator.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- e('core-js/modules/es.function.name.js'),
- n(e('@babel/runtime/helpers/asyncToGenerator'))),
- s = e('./utils/isArray').isArray,
- n = r;
- (n._parallelNode = (function () {
- var s = (0, i.default)(
- p.default.mark(function e(t, r, n, s) {
- var i, o, a, c, l, u;
- return p.default.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- (i = this),
- (o = []),
- (a = []),
- (c = t.length / r),
- (l = t.length % r),
- (c = 0 == l ? c : (t.length - l) / r + 1),
- (l = 1),
- (u = 0);
- case 8:
- if (!(u < t.length)) {
- e.next = 26;
- break;
- }
- if (i.isCancel()) return e.abrupt('break', 26);
- e.next = 11;
- break;
- case 11:
- if (
- (s ? a.push(n(i, t[u], s)) : a.push(n(i, t[u])),
- a.length === r || (l === c && u === t.length - 1))
- )
- return (e.prev = 13), (l += 1), (e.next = 17), Promise.all(a);
- e.next = 23;
- break;
- case 17:
- e.next = 22;
- break;
- case 19:
- (e.prev = 19), (e.t0 = e.catch(13)), o.push(e.t0);
- case 22:
- a = [];
- case 23:
- u++, (e.next = 8);
- break;
- case 26:
- return e.abrupt('return', o);
- case 27:
- case 'end':
- return e.stop();
- }
- },
- e,
- this,
- [[13, 19]]
- );
- })
- );
- return function (e, t, r, n) {
- return s.apply(this, arguments);
- };
- })()),
- (n._parallel = function (p, f, d) {
- var h = this;
- return new Promise(function (t) {
- var r,
- e,
- n,
- s,
- i,
- o,
- a,
- c = [];
- function l(e) {
- --o,
- e
- ? ((i = !0), c.push(e), t(c))
- : i && o <= 0
- ? ((i = !0), t(c))
- : a || (h.isCancel() ? t(c) : u());
- }
- function u() {
- for (a = !0; o < f && !i && !h.isCancel(); ) {
- var e = r();
- if (null === e || 0 < c.length) return (i = !0), void (o <= 0 && t(c));
- (o += 1),
- !(function (e, t) {
- d(e)
- .then(function (e) {
- t(null, e);
- })
- .catch(function (e) {
- t(e);
- });
- })(
- e.value,
- (function (s) {
- return function () {
- if (null === s) throw new Error('Callback was already called.');
- var e = s;
- s = null;
- for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++) r[n] = arguments[n];
- e.apply(this, r);
- };
- })(l)
- );
- }
- a = !1;
- }
- f <= 0 || !p
- ? t(c)
- : ((n = -1),
- (s = (e = p).length),
- (o = 0),
- (a = i =
- !(r = function () {
- return ++n < s && !h.isCancel() ? { value: e[n], key: n } : null;
- })),
- u());
- });
- }),
- (n.cancel = function (e) {
- (this.options.cancelFlag = !0),
- s(this.multipartUploadStreams) &&
- this.multipartUploadStreams.forEach(function (e) {
- !1 === e.destroyed && e.destroy({ name: 'cancel', message: 'cancel' });
- }),
- (this.multipartUploadStreams = []),
- e && this.abortMultipartUpload(e.name, e.uploadId, e.options);
- }),
- (n.isCancel = function () {
- return this.options.cancelFlag;
- }),
- (n.resetCancelFlag = function () {
- this.options.cancelFlag = !1;
- }),
- (n._stop = function () {
- this.options.cancelFlag = !0;
- }),
- (n._makeCancelEvent = function () {
- return { status: 0, name: 'cancel' };
- }),
- (n._makeAbortEvent = function () {
- return { status: 0, name: 'abort', message: 'upload task has been abort' };
- });
- },
- {
- './utils/isArray': 62,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.array.iterator.js': 275,
- 'core-js/modules/es.function.name.js': 281,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.promise.js': 294,
- 'core-js/modules/es.string.iterator.js': 302,
- 'core-js/modules/web.dom-collections.for-each.js': 338,
- 'core-js/modules/web.dom-collections.iterator.js': 339
- }
- ],
- 50: [
- function (e, t, r) {
- !function (l) {
- !function () {
- 'use strict';
- e('core-js/modules/es.string.trim.js'),
- e('core-js/modules/es.array.sort.js'),
- e('core-js/modules/es.array.join.js'),
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- e('core-js/modules/es.object.keys.js'),
- e('core-js/modules/es.array.concat.js'),
- e('core-js/modules/es.regexp.to-string.js');
- var n = e('./../../shims/crypto/crypto.js'),
- s = e('is-type-of'),
- a = e('./utils/lowercaseKeyHeader').lowercaseKeyHeader;
- (r.buildCanonicalizedResource = function (e, t) {
- var r = ''.concat(e),
- n = '?';
- return (
- s.string(t) && '' !== t.trim()
- ? (r += n + t)
- : s.array(t)
- ? (t.sort(), (r += n + t.join('&')))
- : t &&
- Object.keys(t)
- .sort(function (e, t) {
- return e[0] > t[0] ? 1 : e[0] < t[0] ? -1 : 0;
- })
- .forEach(function (e) {
- (r += n + e), (!t[e] && 0 !== t[e]) || (r += '='.concat(t[e])), (n = '&');
- }),
- r
- );
- }),
- (r.buildCanonicalString = function (e, t, r, n) {
- var s = a((r = r || {}).headers),
- i = [],
- o = {},
- e = [e.toUpperCase(), s['content-md5'] || '', s['content-type'], n || s['x-oss-date']];
- return (
- Object.keys(s).forEach(function (e) {
- var t = e.toLowerCase();
- 0 === t.indexOf('x-oss-') && (o[t] = String(s[e]).trim());
- }),
- Object.keys(o)
- .sort()
- .forEach(function (e) {
- i.push(''.concat(e, ':').concat(o[e]));
- }),
- (e = e.concat(i)).push(this.buildCanonicalizedResource(t, r.parameters)),
- e.join('\n')
- );
- }),
- (r.computeSignature = function (e, t) {
- var r = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : 'utf-8';
- return n.createHmac('sha1', e).update(l.from(t, r)).digest('base64');
- }),
- (r.authorization = function (e, t, r, n) {
- return 'OSS '.concat(e, ':').concat(this.computeSignature(t, r, n));
- }),
- (r._signatureForURL = function (e) {
- var t,
- n = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {},
- r = 2 < arguments.length ? arguments[2] : void 0,
- s = 3 < arguments.length ? arguments[3] : void 0,
- i = 4 < arguments.length ? arguments[4] : void 0,
- o = {},
- a = n.subResource,
- c = void 0 === a ? {} : a,
- a =
- (n.process && (c['x-oss-process'] = n.process),
- n.trafficLimit && (c['x-oss-traffic-limit'] = n.trafficLimit),
- n.response &&
- Object.keys(n.response).forEach(function (e) {
- var t = 'response-'.concat(e.toLowerCase());
- c[t] = n.response[e];
- }),
- Object.keys(n).forEach(function (e) {
- var t = e.toLowerCase(),
- r = n[e];
- 0 === t.indexOf('x-oss-')
- ? (o[t] = r)
- : (0 !== t.indexOf('content-md5') && 0 !== t.indexOf('content-type')) || (o[e] = r);
- }),
- Object.prototype.hasOwnProperty.call(n, 'security-token') &&
- (c['security-token'] = n['security-token']),
- Object.prototype.hasOwnProperty.call(n, 'callback') &&
- ((a = { callbackUrl: encodeURI(n.callback.url), callbackBody: n.callback.body }),
- n.callback.host && (a.callbackHost = n.callback.host),
- n.callback.contentType && (a.callbackBodyType = n.callback.contentType),
- (c.callback = l.from(JSON.stringify(a)).toString('base64')),
- n.callback.customValue &&
- ((t = {}),
- Object.keys(n.callback.customValue).forEach(function (e) {
- t['x:'.concat(e)] = n.callback.customValue[e];
- }),
- (c['callback-var'] = l.from(JSON.stringify(t)).toString('base64')))),
- this.buildCanonicalString(n.method, r, { headers: o, parameters: c }, s.toString()));
- return { Signature: this.computeSignature(e, a, i), subResource: c };
- });
- }.call(this);
- }.call(this, e('buffer').Buffer);
- },
- {
- './../../shims/crypto/crypto.js': 435,
- './utils/lowercaseKeyHeader': 69,
- buffer: 89,
- 'core-js/modules/es.array.concat.js': 269,
- 'core-js/modules/es.array.join.js': 276,
- 'core-js/modules/es.array.sort.js': 279,
- 'core-js/modules/es.object.keys.js': 289,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.regexp.to-string.js': 300,
- 'core-js/modules/es.string.trim.js': 307,
- 'core-js/modules/web.dom-collections.for-each.js': 338,
- 'is-type-of': 440
- }
- ],
- 51: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.regexp.exec.js'),
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.checkBucketName = void 0),
- (r.checkBucketName = function (e) {
- if (
- !(
- 1 < arguments.length && void 0 !== arguments[1] && arguments[1]
- ? /^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/
- : /^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/
- ).test(e)
- )
- throw new Error('The bucket must be conform to the specifications');
- });
- },
- { 'core-js/modules/es.regexp.exec.js': 299 }
- ],
- 52: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.regexp.exec.js'),
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.checkConfigValid = void 0);
- var n = {
- endpoint: function (e) {
- {
- if ('string' == typeof e) return /^[a-zA-Z0-9._:/-]+$/.test(e);
- if (e.host) return /^[a-zA-Z0-9._:/-]+$/.test(e.host);
- }
- return !1;
- },
- region: /^[a-zA-Z0-9\-_]+$/
- };
- r.checkConfigValid = function (e, t) {
- if (n[t])
- if (!(n[t] instanceof Function ? n[t](e) : n[t].test(e)))
- throw new Error('The '.concat(t, ' must be conform to the specifications'));
- };
- },
- { 'core-js/modules/es.regexp.exec.js': 299 }
- ],
- 53: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.array.concat.js'),
- e('core-js/modules/es.object.entries.js'),
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.checkObjectTag = void 0);
- var n = e('./checkValid').checkValid,
- s = e('./isObject').isObject,
- e = [
- {
- 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 (/)'
- }
- ],
- i = {
- key: [].concat(e, [{ pattern: /^.{1,128}$/, msg: 'tag key can be a maximum of 128 bytes in length' }]),
- value: [].concat(e, [
- { pattern: /^.{0,256}$/, msg: 'tag value can be a maximum of 256 bytes in length' }
- ])
- };
- r.checkObjectTag = function (e) {
- if (!s(e)) throw new Error('tag must be Object');
- if (10 < (e = Object.entries(e)).length) throw new Error('maximum of 10 tags for a object');
- var r = ['key', 'value'];
- e.forEach(function (e) {
- e.forEach(function (e, t) {
- n(e, i[r[t]]);
- });
- });
- };
- },
- {
- './checkValid': 54,
- './isObject': 68,
- 'core-js/modules/es.array.concat.js': 269,
- 'core-js/modules/es.object.entries.js': 285,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/web.dom-collections.for-each.js': 338
- }
- ],
- 54: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- e('core-js/modules/es.regexp.exec.js'),
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.checkValid = void 0),
- (r.checkValid = function (t, e) {
- e.forEach(function (e) {
- if (e.validator) e.validator(t);
- else if (e.pattern && !e.pattern.test(t)) throw new Error(e.msg);
- });
- });
- },
- {
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/web.dom-collections.for-each.js': 338
- }
- ],
- 55: [
- function (e, t, r) {
- !function (v) {
- !function () {
- 'use strict';
- e('core-js/modules/es.array.includes.js'),
- e('core-js/modules/es.string.includes.js'),
- e('core-js/modules/es.object.assign.js'),
- e('core-js/modules/es.array.concat.js'),
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.createRequest = void 0);
- var c = e('./../../../shims/crypto/crypto.js'),
- l = e('debug')('ali-oss'),
- u = e('mime'),
- p = e('dateformat'),
- f = e('copy-to'),
- d = e('path'),
- h = e('./encoder').encoder,
- m = e('./isIP').isIP,
- y = e('./setRegion').setRegion,
- b = e('../client/getReqUrl').getReqUrl;
- function g(e, t) {
- return e[t] || e[t.toLowerCase()];
- }
- r.createRequest = function (e) {
- var t,
- r = new Date(),
- n =
- (this.options.amendTimeSkewed && (r = +new Date() + this.options.amendTimeSkewed),
- { 'x-oss-date': p(r, "UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'") }),
- s =
- ('undefined' != typeof window && (n['x-oss-user-agent'] = this.userAgent),
- this.userAgent.includes('nodejs') && (n['User-Agent'] = this.userAgent),
- this.options.isRequestPay && Object.assign(n, { 'x-oss-request-payer': 'requester' }),
- this.options.stsToken && (n['x-oss-security-token'] = this.options.stsToken),
- f(e.headers).to(n),
- g(n, 'Content-Type') ||
- (e.mime && 0 < e.mime.indexOf('/')
- ? (n['Content-Type'] = e.mime)
- : (n['Content-Type'] = u.getType(e.mime || d.extname(e.object || '')))),
- g(n, 'Content-Type') || (delete (r = n)[(i = 'Content-Type')], delete r[i.toLowerCase()]),
- e.content &&
- (e.disabledMD5 ||
- (e.headers && e.headers['Content-MD5']
- ? (n['Content-MD5'] = e.headers['Content-MD5'])
- : (n['Content-MD5'] = c
- .createHash('md5')
- .update(v.from(e.content, 'utf8'))
- .digest('base64'))),
- n['Content-Length'] || (n['Content-Length'] = e.content.length)),
- Object.prototype.hasOwnProperty);
- for (t in n) n[t] && s.call(n, t) && (n[t] = h(String(n[t]), this.options.headerEncoding));
- var i,
- r = this._getResource(e),
- o =
- ((n.authorization = this.authorization(e.method, r, e.subres, n, this.options.headerEncoding)),
- m(this.options.endpoint.hostname) &&
- ((r = (i = this.options).region),
- (o = i.internal),
- (a = i.secure),
- (r = y(r, o, a)),
- (n.host = ''.concat(e.bucket, '.').concat(r.host))),
- b.bind(this)(e)),
- a =
- (l('request %s %s, with headers %j, !!stream: %s', e.method, o, n, !!e.stream),
- e.timeout || this.options.timeout),
- r = {
- method: e.method,
- content: e.content,
- stream: e.stream,
- headers: n,
- timeout: a,
- writeStream: e.writeStream,
- customResponse: e.customResponse,
- ctx: e.ctx || this.ctx
- };
- return (
- this.agent && (r.agent = this.agent),
- this.httpsAgent && (r.httpsAgent = this.httpsAgent),
- (r.enableProxy = !!this.options.enableProxy),
- (r.proxy = this.options.proxy || null),
- { url: o, params: r }
- );
- };
- }.call(this);
- }.call(this, e('buffer').Buffer);
- },
- {
- '../client/getReqUrl': 25,
- './../../../shims/crypto/crypto.js': 435,
- './encoder': 58,
- './isIP': 67,
- './setRegion': 73,
- buffer: 89,
- 'copy-to': 91,
- 'core-js/modules/es.array.concat.js': 269,
- 'core-js/modules/es.array.includes.js': 274,
- 'core-js/modules/es.object.assign.js': 284,
- 'core-js/modules/es.string.includes.js': 301,
- dateformat: 341,
- debug: 439,
- mime: 359,
- path: 363
- }
- ],
- 56: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- e('core-js/modules/es.object.entries.js'),
- e('core-js/modules/es.regexp.exec.js'),
- e('core-js/modules/es.string.replace.js'),
- e('core-js/modules/es.array.includes.js'),
- e('core-js/modules/es.object.keys.js'),
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.dataFix = void 0);
- var l = e('./isObject'),
- u = ['true', 'TRUE', '1', 1],
- p = ['false', 'FALSE', '0', 0];
- r.dataFix = function e(r, t, n) {
- var s, i, o, a, c;
- if (l.isObject(r))
- return (
- (s = t.remove),
- (s = void 0 === s ? [] : s),
- (i = t.rename),
- (i = void 0 === i ? {} : i),
- (o = t.camel),
- (o = void 0 === o ? [] : o),
- (a = t.bool),
- (a = void 0 === a ? [] : a),
- (t = t.lowerFirst),
- (t = void 0 !== t && t),
- s.forEach(function (e) {
- return delete r[e];
- }),
- Object.entries(i).forEach(function (e) {
- r[e[0]] && !r[e[1]] && ((r[e[1]] = r[e[0]]), delete r[e[0]]);
- }),
- o.forEach(function (e) {
- var t;
- r[e] &&
- ((t = e
- .replace(/^(.)/, function (e) {
- return e.toLowerCase();
- })
- .replace(/-(\w)/g, function (e, t) {
- return t.toUpperCase();
- })),
- r[t] || (r[t] = r[e]));
- }),
- a.forEach(function (e) {
- r[e] = !!(e = r[e]) && (!!u.includes(e) || (!p.includes(e) && e));
- }),
- 'function' == typeof n && n(r),
- (c = r),
- t &&
- Object.keys(c).forEach(function (e) {
- var t = e.replace(/^\w/, function (e) {
- return e.toLowerCase();
- });
- void 0 === c[t] && ((c[t] = c[e]), delete c[e]);
- }),
- e
- );
- };
- },
- {
- './isObject': 68,
- 'core-js/modules/es.array.includes.js': 274,
- 'core-js/modules/es.object.entries.js': 285,
- 'core-js/modules/es.object.keys.js': 289,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/es.string.replace.js': 304,
- 'core-js/modules/web.dom-collections.for-each.js': 338
- }
- ],
- 57: [
- function (e, t, n) {
- 'use strict';
- var r = e('@babel/runtime/helpers/interopRequireDefault'),
- o =
- (e('core-js/modules/es.array.slice.js'),
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- e('core-js/modules/es.object.keys.js'),
- r(e('@babel/runtime/helpers/typeof'))),
- a =
- (Object.defineProperty(n, '__esModule', { value: !0 }),
- (n.deepCopyWith = n.deepCopy = void 0),
- e('./isBuffer'));
- (n.deepCopy = function (t) {
- if (null === t || 'object' !== (0, o.default)(t)) return t;
- if (a.isBuffer(t)) return t.slice();
- var r = Array.isArray(t) ? [] : {};
- return (
- Object.keys(t).forEach(function (e) {
- r[e] = n.deepCopy(t[e]);
- }),
- r
- );
- }),
- (n.deepCopyWith = function (e, i) {
- return i
- ? (function t(r, e, n) {
- e = i(r, e, n);
- if (void 0 !== e) return e;
- if (null === r || 'object' !== (0, o.default)(r)) return r;
- if (a.isBuffer(r)) return r.slice();
- var s = Array.isArray(r) ? [] : {};
- return (
- Object.keys(r).forEach(function (e) {
- s[e] = t(r[e], e, r);
- }),
- s
- );
- })(e, '', null)
- : n.deepCopy(e);
- });
- },
- {
- './isBuffer': 64,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/helpers/typeof': 78,
- 'core-js/modules/es.array.slice.js': 278,
- 'core-js/modules/es.object.keys.js': 289,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/web.dom-collections.for-each.js': 338
- }
- ],
- 58: [
- function (e, t, r) {
- !function (t) {
- !function () {
- 'use strict';
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/es.regexp.to-string.js'),
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.encoder = void 0),
- (r.encoder = function (e) {
- return 'utf-8' === (1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : 'utf-8')
- ? e
- : t.from(e).toString('latin1');
- });
- }.call(this);
- }.call(this, e('buffer').Buffer);
- },
- { buffer: 89, 'core-js/modules/es.object.to-string.js': 290, 'core-js/modules/es.regexp.to-string.js': 300 }
- ],
- 59: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.array.map.js'),
- e('core-js/modules/es.regexp.exec.js'),
- e('core-js/modules/es.string.replace.js'),
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.formatInventoryConfig = void 0);
- var n = e('../utils/dataFix'),
- s = e('../utils/isObject'),
- i = e('../utils/isArray'),
- o = e('../utils/formatObjKey');
- function a(e) {
- return (
- n.dataFix(e, { bool: ['IsEnabled'] }, function (e) {
- var t;
- (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.OptionalFields) &&
- t.Field &&
- !i.isArray(null == (t = e.OptionalFields) ? void 0 : t.Field) &&
- (e.OptionalFields.Field = [e.OptionalFields.Field]);
- }),
- (e = o.formatObjKey(e, 'firstLowerCase', { exclude: ['OSSBucketDestination', 'SSE-OSS', 'SSE-KMS'] }))
- );
- }
- r.formatInventoryConfig = function (e) {
- return (
- 1 < arguments.length && void 0 !== arguments[1] && arguments[1] && s.isObject(e) && (e = [e]),
- (e = i.isArray(e) ? e.map(a) : a(e))
- );
- };
- },
- {
- '../utils/dataFix': 56,
- '../utils/formatObjKey': 60,
- '../utils/isArray': 62,
- '../utils/isObject': 68,
- 'core-js/modules/es.array.map.js': 277,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/es.string.replace.js': 304
- }
- ],
- 60: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- o =
- (e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- e('core-js/modules/es.object.keys.js'),
- e('core-js/modules/es.array.includes.js'),
- e('core-js/modules/es.string.includes.js'),
- e('core-js/modules/es.regexp.exec.js'),
- e('core-js/modules/es.string.replace.js'),
- n(e('@babel/runtime/helpers/typeof')));
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.formatObjKey = void 0),
- (r.formatObjKey = function t(r, n, s) {
- if (null === r || 'object' !== (0, o.default)(r)) return r;
- if (Array.isArray(r)) for (var i = [], e = 0; e < r.length; e++) i.push(t(r[e], n, s));
- else
- (i = {}),
- Object.keys(r).forEach(function (e) {
- i[
- (function (e, t, r) {
- return (
- (r && r.exclude && r.exclude.includes(e)) ||
- ('firstUpperCase' === t
- ? (e = e.replace(/^./, function (e) {
- return e.toUpperCase();
- }))
- : 'firstLowerCase' === t &&
- (e = e.replace(/^./, function (e) {
- return e.toLowerCase();
- }))),
- e
- );
- })(e, n, s)
- ] = t(r[e], n, s);
- });
- return i;
- });
- },
- {
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/helpers/typeof': 78,
- 'core-js/modules/es.array.includes.js': 274,
- 'core-js/modules/es.object.keys.js': 289,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/es.string.includes.js': 301,
- 'core-js/modules/es.string.replace.js': 304,
- 'core-js/modules/web.dom-collections.for-each.js': 338
- }
- ],
- 61: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.regexp.exec.js'),
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.getStrBytesCount = void 0),
- (r.getStrBytesCount = function (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;
- });
- },
- { 'core-js/modules/es.regexp.exec.js': 299 }
- ],
- 62: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.object.to-string.js'),
- 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.js': 290 }
- ],
- 63: [
- function (e, t, r) {
- 'use strict';
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.isBlob = void 0),
- (r.isBlob = function (e) {
- return 'undefined' != typeof Blob && e instanceof Blob;
- });
- },
- {}
- ],
- 64: [
- function (e, t, r) {
- !function (t) {
- !function () {
- 'use strict';
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.isBuffer = void 0),
- (r.isBuffer = function (e) {
- return t.isBuffer(e);
- });
- }.call(this);
- }.call(this, { isBuffer: e('../../../node_modules/is-buffer/index.js') });
- },
- { '../../../node_modules/is-buffer/index.js': 354 }
- ],
- 65: [
- 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;
- });
- },
- {}
- ],
- 66: [
- function (e, t, r) {
- 'use strict';
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.isFunction = void 0),
- (r.isFunction = function (e) {
- return 'function' == typeof e;
- });
- },
- {}
- ],
- 67: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.regexp.exec.js'),
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.isIP = void 0),
- (r.isIP = function (e) {
- return (
- /^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/.test(e) ||
- /^\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*$/.test(
- e
- )
- );
- });
- },
- { 'core-js/modules/es.regexp.exec.js': 299 }
- ],
- 68: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.object.to-string.js'),
- 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.js': 290 }
- ],
- 69: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- e('core-js/modules/es.object.keys.js'),
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.lowercaseKeyHeader = void 0);
- var n = e('./isObject');
- r.lowercaseKeyHeader = function (t) {
- var r = {};
- return (
- n.isObject(t) &&
- Object.keys(t).forEach(function (e) {
- r[e.toLowerCase()] = t[e];
- }),
- r
- );
- };
- },
- {
- './isObject': 68,
- 'core-js/modules/es.object.keys.js': 289,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/web.dom-collections.for-each.js': 338
- }
- ],
- 70: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.regexp.exec.js'),
- e('core-js/modules/es.string.replace.js'),
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/web.dom-collections.for-each.js'),
- e('core-js/modules/es.object.keys.js'),
- e('core-js/modules/es.array.concat.js'),
- e('core-js/modules/es.array.join.js'),
- e('core-js/modules/es.array.map.js'),
- e('core-js/modules/es.regexp.to-string.js'),
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.obj2xml = void 0);
- var s = e('./formatObjKey');
- function i(e) {
- return Object.prototype.toString
- .call(e)
- .replace(/(.*? |])/g, '')
- .toLowerCase();
- }
- r.obj2xml = function r(e, t) {
- var n = '';
- return (
- t && t.headers && (n = '<?xml version="1.0" encoding="UTF-8"?>\n'),
- 'object' === i((e = t && t.firstUpperCase ? s.formatObjKey(e, 'firstUpperCase') : e))
- ? Object.keys(e).forEach(function (t) {
- 'undefined' !== i(e[t]) &&
- 'null' !== i(e[t]) &&
- ('string' === i(e[t]) || 'number' === i(e[t])
- ? (n += '<'.concat(t, '>').concat(e[t], '</').concat(t, '>'))
- : 'object' === i(e[t])
- ? (n += '<'.concat(t, '>').concat(r(e[t]), '</').concat(t, '>'))
- : 'array' === i(e[t])
- ? (n += e[t]
- .map(function (e) {
- return '<'.concat(t, '>').concat(r(e), '</').concat(t, '>');
- })
- .join(''))
- : (n += '<'.concat(t, '>').concat(e[t].toString(), '</').concat(t, '>')));
- })
- : (n += e.toString()),
- n
- );
- };
- },
- {
- './formatObjKey': 60,
- 'core-js/modules/es.array.concat.js': 269,
- 'core-js/modules/es.array.join.js': 276,
- 'core-js/modules/es.array.map.js': 277,
- 'core-js/modules/es.object.keys.js': 289,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/es.regexp.to-string.js': 300,
- 'core-js/modules/es.string.replace.js': 304,
- 'core-js/modules/web.dom-collections.for-each.js': 338
- }
- ],
- 71: [
- function (e, t, r) {
- 'use strict';
- function i(e, t) {
- var r,
- n = ('undefined' != typeof Symbol && e[Symbol.iterator]) || e['@@iterator'];
- if (!n) {
- if (
- Array.isArray(e) ||
- (n = (function (e, t) {
- if (e) {
- if ('string' == typeof e) return a(e, t);
- var r = Object.prototype.toString.call(e).slice(8, -1);
- return 'Map' === (r = 'Object' === r && e.constructor ? e.constructor.name : r) || 'Set' === r
- ? Array.from(e)
- : 'Arguments' === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)
- ? a(e, t)
- : void 0;
- }
- })(e)) ||
- (t && e && 'number' == typeof e.length)
- )
- return (
- n && (e = n),
- (r = 0),
- {
- s: (t = function () {}),
- n: function () {
- return r >= e.length ? { done: !0 } : { done: !1, value: e[r++] };
- },
- e: function (e) {
- throw e;
- },
- f: t
- }
- );
- 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 s,
- i = !0,
- o = !1;
- return {
- s: function () {
- n = n.call(e);
- },
- n: function () {
- var e = n.next();
- return (i = e.done), e;
- },
- e: function (e) {
- (o = !0), (s = e);
- },
- f: function () {
- try {
- i || null == n.return || n.return();
- } finally {
- if (o) throw s;
- }
- }
- };
- }
- function a(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;
- }
- e('core-js/modules/es.array.slice.js'),
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/es.function.name.js'),
- e('core-js/modules/es.array.from.js'),
- e('core-js/modules/es.string.iterator.js'),
- e('core-js/modules/es.regexp.exec.js'),
- e('core-js/modules/es.symbol.js'),
- e('core-js/modules/es.symbol.description.js'),
- e('core-js/modules/es.symbol.iterator.js'),
- e('core-js/modules/es.array.iterator.js'),
- e('core-js/modules/web.dom-collections.iterator.js'),
- e('core-js/modules/es.object.assign.js'),
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.omit = void 0),
- (r.omit = function (e, t) {
- var r,
- n = Object.assign({}, e),
- s = i(t);
- try {
- for (s.s(); !(r = s.n()).done; ) delete n[r.value];
- } catch (e) {
- s.e(e);
- } finally {
- s.f();
- }
- return n;
- });
- },
- {
- 'core-js/modules/es.array.from.js': 273,
- 'core-js/modules/es.array.iterator.js': 275,
- 'core-js/modules/es.array.slice.js': 278,
- 'core-js/modules/es.function.name.js': 281,
- 'core-js/modules/es.object.assign.js': 284,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/es.string.iterator.js': 302,
- 'core-js/modules/es.symbol.description.js': 309,
- 'core-js/modules/es.symbol.iterator.js': 311,
- 'core-js/modules/es.symbol.js': 312,
- 'core-js/modules/web.dom-collections.iterator.js': 339
- }
- ],
- 72: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/es.promise.js'),
- Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.retry = void 0),
- (r.retry = function (i, o) {
- var e = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {},
- a = 0,
- t = e.retryDelay,
- c = void 0 === t ? 500 : t,
- l =
- void 0 === (t = e.errorHandler)
- ? function () {
- return !0;
- }
- : t;
- return function n() {
- for (var e = arguments.length, s = new Array(e), t = 0; t < e; t++) s[t] = arguments[t];
- return new Promise(function (t, r) {
- i.apply(void 0, s)
- .then(function (e) {
- (a = 0), t(e);
- })
- .catch(function (e) {
- a < o && l(e)
- ? (a++,
- setTimeout(function () {
- t(n.apply(void 0, s));
- }, c))
- : ((a = 0), r(e));
- });
- });
- };
- });
- },
- { 'core-js/modules/es.object.to-string.js': 290, 'core-js/modules/es.promise.js': 294 }
- ],
- 73: [
- function (e, t, r) {
- 'use strict';
- var n = function (e) {
- return e && e.__esModule ? e : { default: e };
- },
- s = (Object.defineProperty(r, '__esModule', { value: !0 }), (r.setRegion = void 0), n(e('url'))),
- i = e('./checkConfigValid');
- r.setRegion = function (e) {
- var t = 1 < arguments.length && void 0 !== arguments[1] && arguments[1],
- r = 2 < arguments.length && void 0 !== arguments[2] && arguments[2],
- r = (i.checkConfigValid(e, 'region'), r ? 'https://' : 'http://'),
- t = t ? '-internal.aliyuncs.com' : '.aliyuncs.com',
- n = 'vpc100-oss-cn-';
- return e.substr(0, n.length) === n && (t = '.aliyuncs.com'), s.default.parse(r + e + t);
- };
- },
- { './checkConfigValid': 52, url: 446 }
- ],
- 74: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault'),
- s = n(e('@babel/runtime/regenerator')),
- i =
- (e('core-js/modules/es.object.keys.js'),
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/es.array.find.js'),
- e('core-js/modules/es.object.assign.js'),
- n(e('@babel/runtime/helpers/asyncToGenerator'))),
- o =
- (Object.defineProperty(r, '__esModule', { value: !0 }),
- (r.checkCredentials = r.setSTSToken = void 0),
- e('./formatObjKey'));
- function a() {
- return (a = (0, i.default)(
- s.default.mark(function e() {
- var t, r;
- return s.default.wrap(
- function (e) {
- for (;;)
- 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)
- return (this.stsTokenFreshTime = t), (e.next = 7), this.options.refreshSTSToken();
- e.next = 12;
- break;
- case 7:
- (r = e.sent),
- (r = o.formatObjKey(r, 'firstLowerCase')).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
- );
- })
- )).apply(this, arguments);
- }
- function c(e) {
- var r = Object.keys(e);
- ['accessKeySecret', 'accessKeyId', 'stsToken'].forEach(function (t) {
- if (
- !r.find(function (e) {
- return e === t;
- })
- )
- throw Error('refreshSTSToken must return contains '.concat(t));
- });
- }
- (r.setSTSToken = function () {
- return a.apply(this, arguments);
- }),
- (r.checkCredentials = c);
- },
- {
- './formatObjKey': 60,
- '@babel/runtime/helpers/asyncToGenerator': 75,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/regenerator': 79,
- 'core-js/modules/es.array.find.js': 272,
- 'core-js/modules/es.object.assign.js': 284,
- 'core-js/modules/es.object.keys.js': 289,
- 'core-js/modules/es.object.to-string.js': 290
- }
- ],
- 75: [
- function (e, t, r) {
- function c(e, t, r, n, s, i, o) {
- try {
- var a = e[i](o),
- c = a.value;
- } catch (e) {
- return void r(e);
- }
- a.done ? t(c) : Promise.resolve(c).then(n, s);
- }
- (t.exports = function (a) {
- return function () {
- var e = this,
- o = arguments;
- return new Promise(function (t, r) {
- var n = a.apply(e, o);
- function s(e) {
- c(n, t, r, s, i, 'next', e);
- }
- function i(e) {
- c(n, t, r, s, i, 'throw', e);
- }
- s(void 0);
- });
- };
- }),
- (t.exports.__esModule = !0),
- (t.exports.default = t.exports);
- },
- {}
- ],
- 76: [
- function (e, t, r) {
- (t.exports = function (e, t, r) {
- return (
- t in e
- ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 })
- : (e[t] = r),
- e
- );
- }),
- (t.exports.__esModule = !0),
- (t.exports.default = t.exports);
- },
- {}
- ],
- 77: [
- function (e, t, r) {
- (t.exports = function (e) {
- return e && e.__esModule ? e : { default: e };
- }),
- (t.exports.__esModule = !0),
- (t.exports.default = t.exports);
- },
- {}
- ],
- 78: [
- function (e, t, r) {
- function n(e) {
- return (
- (t.exports = n =
- '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;
- }),
- (t.exports.__esModule = !0),
- (t.exports.default = t.exports),
- n(e)
- );
- }
- (t.exports = n), (t.exports.__esModule = !0), (t.exports.default = t.exports);
- },
- {}
- ],
- 79: [
- function (e, t, r) {
- t.exports = e('regenerator-runtime');
- },
- { 'regenerator-runtime': 384 }
- ],
- 80: [
- function (e, t, r) {
- function n() {}
- (t.exports = n), (t.exports.HttpsAgent = n);
- },
- {}
- ],
- 81: [
- function (x, T, e) {
- !function (f) {
- !function () {
- 'use strict';
- var e = x('object-assign');
- function d(e, t) {
- if (e === t) return 0;
- for (var r = e.length, n = t.length, s = 0, i = Math.min(r, n); s < i; ++s)
- if (e[s] !== t[s]) {
- (r = e[s]), (n = t[s]);
- break;
- }
- return r < n ? -1 : n < r ? 1 : 0;
- }
- function h(e) {
- return f.Buffer && 'function' == typeof f.Buffer.isBuffer
- ? f.Buffer.isBuffer(e)
- : !(null == e || !e._isBuffer);
- }
- var m = x('util/'),
- n = Object.prototype.hasOwnProperty,
- y = Array.prototype.slice,
- t = 'foo' === function () {}.name;
- function b(e) {
- return Object.prototype.toString.call(e);
- }
- function g(e) {
- return (
- !h(e) &&
- 'function' == typeof f.ArrayBuffer &&
- ('function' == typeof ArrayBuffer.isView
- ? ArrayBuffer.isView(e)
- : e && (e instanceof DataView || !!(e.buffer && e.buffer instanceof ArrayBuffer)))
- );
- }
- var i = (T.exports = l),
- r = /\s*function\s+([^\(\s]*)\s*/;
- function s(e) {
- if (m.isFunction(e)) {
- if (t) return e.name;
- e = e.toString().match(r);
- return e && e[1];
- }
- }
- function o(e, t) {
- return 'string' != typeof e || e.length < t ? e : e.slice(0, t);
- }
- function a(e) {
- if (t || !m.isFunction(e)) return m.inspect(e);
- e = s(e);
- return '[Function' + (e ? ': ' + e : '') + ']';
- }
- function c(e, t, r, n, s) {
- throw new i.AssertionError({
- message: r,
- actual: e,
- expected: t,
- operator: n,
- stackStartFunction: s
- });
- }
- function l(e, t) {
- e || c(e, !0, t, '==', i.ok);
- }
- function v(e, t, r, n) {
- if (e === t) return !0;
- if (h(e) && h(t)) return 0 === d(e, t);
- if (m.isDate(e) && m.isDate(t)) return e.getTime() === t.getTime();
- if (m.isRegExp(e) && m.isRegExp(t))
- return (
- e.source === t.source &&
- e.global === t.global &&
- e.multiline === t.multiline &&
- e.lastIndex === t.lastIndex &&
- e.ignoreCase === t.ignoreCase
- );
- if ((null !== e && 'object' == typeof e) || (null !== t && 'object' == typeof t)) {
- if (g(e) && g(t) && b(e) === b(t) && !(e instanceof Float32Array || e instanceof Float64Array))
- return 0 === d(new Uint8Array(e.buffer), new Uint8Array(t.buffer));
- if (h(e) !== h(t)) return !1;
- var s = (n = n || { actual: [], expected: [] }).actual.indexOf(e);
- if (-1 !== s && s === n.expected.indexOf(t)) return !0;
- n.actual.push(e), n.expected.push(t);
- var i = e,
- o = t,
- a = r,
- c = n;
- if (null == i || null == o) return !1;
- if (m.isPrimitive(i) || m.isPrimitive(o)) return i === o;
- if (a && Object.getPrototypeOf(i) !== Object.getPrototypeOf(o)) return !1;
- (s = j(i)), (n = j(o));
- if ((s && !n) || (!s && n)) return !1;
- if (s) return (i = y.call(i)), (o = y.call(o)), v(i, o, a);
- var l,
- u,
- p = w(i),
- f = w(o);
- if (p.length !== f.length) return !1;
- for (p.sort(), f.sort(), u = p.length - 1; 0 <= u; u--) if (p[u] !== f[u]) return !1;
- for (u = p.length - 1; 0 <= u; u--) if (((l = p[u]), !v(i[l], o[l], a, c))) return !1;
- return !0;
- }
- return r ? e === t : e == t;
- }
- function j(e) {
- return '[object Arguments]' == Object.prototype.toString.call(e);
- }
- function u(e, t) {
- if (e && t) {
- if ('[object RegExp]' == Object.prototype.toString.call(t)) return t.test(e);
- try {
- if (e instanceof t) return 1;
- } catch (e) {}
- return Error.isPrototypeOf(t) ? void 0 : !0 === t.call({}, e);
- }
- }
- function p(e, t, r, n) {
- if ('function' != typeof t) throw new TypeError('"block" argument must be a function');
- 'string' == typeof r && ((n = r), (r = null)),
- (t = (function (e) {
- var t;
- try {
- e();
- } catch (e) {
- t = e;
- }
- return t;
- })(t)),
- (n = (r && r.name ? ' (' + r.name + ').' : '.') + (n ? ' ' + n : '.')),
- e && !t && c(t, r, 'Missing expected exception' + n);
- var s = 'string' == typeof n,
- i = !e && t && !r;
- if (
- (((!e && m.isError(t) && s && u(t, r)) || i) && c(t, r, 'Got unwanted exception' + n),
- (e && t && r && !u(t, r)) || (!e && t))
- )
- throw t;
- }
- (i.AssertionError = function (e) {
- (this.name = 'AssertionError'),
- (this.actual = e.actual),
- (this.expected = e.expected),
- (this.operator = e.operator),
- e.message
- ? ((this.message = e.message), (this.generatedMessage = !1))
- : ((this.message = o(a((r = this).actual), 128) + ' ' + r.operator + ' ' + o(a(r.expected), 128)),
- (this.generatedMessage = !0));
- var t,
- r = e.stackStartFunction || c;
- Error.captureStackTrace
- ? Error.captureStackTrace(this, r)
- : (e = new Error()).stack &&
- ((e = e.stack),
- (t = s(r)),
- 0 <= (t = e.indexOf('\n' + t)) && ((t = e.indexOf('\n', t + 1)), (e = e.substring(t + 1))),
- (this.stack = e));
- }),
- m.inherits(i.AssertionError, Error),
- (i.fail = c),
- (i.ok = l),
- (i.equal = function (e, t, r) {
- e != t && c(e, t, r, '==', i.equal);
- }),
- (i.notEqual = function (e, t, r) {
- e == t && c(e, t, r, '!=', i.notEqual);
- }),
- (i.deepEqual = function (e, t, r) {
- v(e, t, !1) || c(e, t, r, 'deepEqual', i.deepEqual);
- }),
- (i.deepStrictEqual = function (e, t, r) {
- v(e, t, !0) || c(e, t, r, 'deepStrictEqual', i.deepStrictEqual);
- }),
- (i.notDeepEqual = function (e, t, r) {
- v(e, t, !1) && c(e, t, r, 'notDeepEqual', i.notDeepEqual);
- }),
- (i.notDeepStrictEqual = function e(t, r, n) {
- v(t, r, !0) && c(t, r, n, 'notDeepStrictEqual', e);
- }),
- (i.strictEqual = function (e, t, r) {
- e !== t && c(e, t, r, '===', i.strictEqual);
- }),
- (i.notStrictEqual = function (e, t, r) {
- e === t && c(e, t, r, '!==', i.notStrictEqual);
- }),
- (i.throws = function (e, t, r) {
- p(!0, e, t, r);
- }),
- (i.doesNotThrow = function (e, t, r) {
- p(!1, e, t, r);
- }),
- (i.ifError = function (e) {
- if (e) throw e;
- }),
- (i.strict = e(
- function e(t, r) {
- t || c(t, !0, r, '==', e);
- },
- i,
- {
- equal: i.strictEqual,
- deepEqual: i.deepStrictEqual,
- notEqual: i.notStrictEqual,
- notDeepEqual: i.notDeepStrictEqual
- }
- )),
- (i.strict.strict = i.strict);
- var w =
- Object.keys ||
- function (e) {
- var t,
- r = [];
- for (t in e) n.call(e, t) && r.push(t);
- return r;
- };
- }.call(this);
- }.call(
- this,
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {}
- );
- },
- { 'object-assign': 362, 'util/': 84 }
- ],
- 82: [
- 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;
- function r() {}
- (r.prototype = t.prototype), (e.prototype = new r()), (e.prototype.constructor = e);
- });
- },
- {}
- ],
- 83: [
- 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
- );
- };
- },
- {}
- ],
- 84: [
- function (_, e, S) {
- !function (k, E) {
- !function () {
- var e,
- a = /%[sdj%]/g,
- n =
- ((S.format = function (e) {
- if (!b(e)) {
- for (var t = [], r = 0; r < arguments.length; r++) t.push(c(arguments[r]));
- return t.join(' ');
- }
- for (
- var r = 1,
- n = arguments,
- s = n.length,
- i = String(e).replace(a, function (e) {
- if ('%%' === e) return '%';
- if (s <= r) 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 (e) {
- return '[Circular]';
- }
- default:
- return e;
- }
- }),
- o = n[r];
- r < s;
- o = n[++r]
- )
- m(o) || !l(o) ? (i += ' ' + o) : (i += ' ' + c(o));
- return i;
- }),
- (S.deprecate = function (e, t) {
- if (g(E.process))
- return function () {
- return S.deprecate(e, t).apply(this, arguments);
- };
- if (!0 === k.noDeprecation) return e;
- var r = !1;
- return function () {
- if (!r) {
- if (k.throwDeprecation) throw new Error(t);
- k.traceDeprecation ? console.trace(t) : console.error(t), (r = !0);
- }
- return e.apply(this, arguments);
- };
- }),
- {});
- function c(e, t) {
- var r = { seen: [], stylize: i };
- return (
- 3 <= arguments.length && (r.depth = arguments[2]),
- 4 <= arguments.length && (r.colors = arguments[3]),
- h(t) ? (r.showHidden = t) : t && S._extend(r, t),
- g(r.showHidden) && (r.showHidden = !1),
- g(r.depth) && (r.depth = 2),
- g(r.colors) && (r.colors = !1),
- g(r.customInspect) && (r.customInspect = !0),
- r.colors && (r.stylize = s),
- u(r, e, r.depth)
- );
- }
- function s(e, t) {
- t = c.styles[t];
- return t ? '\x1b[' + c.colors[t][0] + 'm' + e + '\x1b[' + c.colors[t][1] + 'm' : e;
- }
- function i(e, t) {
- return e;
- }
- function u(t, r, n) {
- if (
- t.customInspect &&
- r &&
- x(r.inspect) &&
- r.inspect !== S.inspect &&
- (!r.constructor || r.constructor.prototype !== r)
- )
- return b((e = r.inspect(n, t))) ? e : u(t, e, n);
- var e = (function (e, t) {
- if (g(t)) return e.stylize('undefined', 'undefined');
- {
- var r;
- if (b(t))
- return (
- (r =
- "'" +
- JSON.stringify(t).replace(/^"|"$/g, '').replace(/'/g, "\\'").replace(/\\"/g, '"') +
- "'"),
- e.stylize(r, 'string')
- );
- }
- return y(t)
- ? e.stylize('' + t, 'number')
- : h(t)
- ? e.stylize('' + t, 'boolean')
- : m(t)
- ? e.stylize('null', 'null')
- : void 0;
- })(t, r);
- if (e) return e;
- var s,
- e = Object.keys(r),
- i =
- ((s = {}),
- e.forEach(function (e, t) {
- s[e] = !0;
- }),
- s);
- if (
- (t.showHidden && (e = Object.getOwnPropertyNames(r)),
- w(r) && (0 <= e.indexOf('message') || 0 <= e.indexOf('description')))
- )
- return p(r);
- if (0 === e.length) {
- if (x(r)) return (o = r.name ? ': ' + r.name : ''), t.stylize('[Function' + o + ']', 'special');
- if (v(r)) return t.stylize(RegExp.prototype.toString.call(r), 'regexp');
- if (j(r)) return t.stylize(Date.prototype.toString.call(r), 'date');
- if (w(r)) return p(r);
- }
- var o = '',
- a = !1,
- c = ['{', '}'];
- if (
- (d(r) && ((a = !0), (c = ['[', ']'])),
- x(r) && (o = ' [Function' + (r.name ? ': ' + r.name : '') + ']'),
- v(r) && (o = ' ' + RegExp.prototype.toString.call(r)),
- j(r) && (o = ' ' + Date.prototype.toUTCString.call(r)),
- w(r) && (o = ' ' + p(r)),
- 0 === e.length && (!a || 0 == r.length))
- )
- return c[0] + o + c[1];
- if (n < 0)
- return v(r)
- ? t.stylize(RegExp.prototype.toString.call(r), 'regexp')
- : t.stylize('[Object]', 'special');
- t.seen.push(r),
- (l = a
- ? (function (t, r, n, s, e) {
- for (var i = [], o = 0, a = r.length; o < a; ++o)
- T(r, String(o)) ? i.push(f(t, r, n, s, String(o), !0)) : i.push('');
- return (
- e.forEach(function (e) {
- e.match(/^\d+$/) || i.push(f(t, r, n, s, e, !0));
- }),
- i
- );
- })(t, r, n, i, e)
- : e.map(function (e) {
- return f(t, r, n, i, e, a);
- })),
- t.seen.pop();
- var l;
- return 60 <
- l.reduce(function (e, t) {
- return 0 <= t.indexOf('\n') && 0, e + t.replace(/\u001b\[\d\d?m/g, '').length + 1;
- }, 0)
- ? c[0] + ('' === o ? '' : o + '\n ') + ' ' + l.join(',\n ') + ' ' + c[1]
- : c[0] + o + ' ' + l.join(', ') + ' ' + c[1];
- }
- function p(e) {
- return '[' + Error.prototype.toString.call(e) + ']';
- }
- function f(e, t, r, n, s, i) {
- var o,
- a,
- t = Object.getOwnPropertyDescriptor(t, s) || { value: t[s] };
- if (
- (t.get
- ? (a = t.set ? e.stylize('[Getter/Setter]', 'special') : e.stylize('[Getter]', 'special'))
- : t.set && (a = e.stylize('[Setter]', 'special')),
- T(n, s) || (o = '[' + s + ']'),
- a ||
- (e.seen.indexOf(t.value) < 0
- ? -1 < (a = m(r) ? u(e, t.value, null) : u(e, t.value, r - 1)).indexOf('\n') &&
- (a = i
- ? a
- .split('\n')
- .map(function (e) {
- return ' ' + e;
- })
- .join('\n')
- .substr(2)
- : '\n' +
- a
- .split('\n')
- .map(function (e) {
- return ' ' + e;
- })
- .join('\n'))
- : (a = e.stylize('[Circular]', 'special'))),
- g(o))
- ) {
- if (i && s.match(/^\d+$/)) return a;
- o = (o = JSON.stringify('' + s)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)
- ? ((o = o.substr(1, o.length - 2)), e.stylize(o, 'name'))
- : ((o = o
- .replace(/'/g, "\\'")
- .replace(/\\"/g, '"')
- .replace(/(^"|"$)/g, "'")),
- e.stylize(o, 'string'));
- }
- return o + ': ' + a;
- }
- function d(e) {
- return Array.isArray(e);
- }
- function h(e) {
- return 'boolean' == typeof e;
- }
- function m(e) {
- return null === e;
- }
- function y(e) {
- return 'number' == typeof e;
- }
- function b(e) {
- return 'string' == typeof e;
- }
- function g(e) {
- return void 0 === e;
- }
- function v(e) {
- return l(e) && '[object RegExp]' === t(e);
- }
- function l(e) {
- return 'object' == typeof e && null !== e;
- }
- function j(e) {
- return l(e) && '[object Date]' === t(e);
- }
- function w(e) {
- return l(e) && ('[object Error]' === t(e) || e instanceof Error);
- }
- function x(e) {
- return 'function' == typeof e;
- }
- function t(e) {
- return Object.prototype.toString.call(e);
- }
- function r(e) {
- return e < 10 ? '0' + e.toString(10) : e.toString(10);
- }
- (S.debuglog = function (t) {
- var r;
- return (
- g(e) && (e = k.env.NODE_DEBUG || ''),
- (t = t.toUpperCase()),
- n[t] ||
- (new RegExp('\\b' + t + '\\b', 'i').test(e)
- ? ((r = k.pid),
- (n[t] = function () {
- var e = S.format.apply(S, arguments);
- console.error('%s %d: %s', t, r, e);
- }))
- : (n[t] = function () {})),
- n[t]
- );
- }),
- ((S.inspect = c).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]
- }),
- (c.styles = {
- special: 'cyan',
- number: 'yellow',
- boolean: 'yellow',
- undefined: 'grey',
- null: 'bold',
- string: 'green',
- date: 'magenta',
- regexp: 'red'
- }),
- (S.isArray = d),
- (S.isBoolean = h),
- (S.isNull = m),
- (S.isNullOrUndefined = function (e) {
- return null == e;
- }),
- (S.isNumber = y),
- (S.isString = b),
- (S.isSymbol = function (e) {
- return 'symbol' == typeof e;
- }),
- (S.isUndefined = g),
- (S.isRegExp = v),
- (S.isObject = l),
- (S.isDate = j),
- (S.isError = w),
- (S.isFunction = x),
- (S.isPrimitive = function (e) {
- return (
- null === e ||
- 'boolean' == typeof e ||
- 'number' == typeof e ||
- 'string' == typeof e ||
- 'symbol' == typeof e ||
- void 0 === e
- );
- }),
- (S.isBuffer = _('./support/isBuffer'));
- var o = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
- function T(e, t) {
- return Object.prototype.hasOwnProperty.call(e, t);
- }
- (S.log = function () {
- var e, t;
- console.log(
- '%s - %s',
- ((e = new Date()),
- (t = [r(e.getHours()), r(e.getMinutes()), r(e.getSeconds())].join(':')),
- [e.getDate(), o[e.getMonth()], t].join(' ')),
- S.format.apply(S, arguments)
- );
- }),
- (S.inherits = _('inherits')),
- (S._extend = function (e, t) {
- if (!t || !l(t)) return e;
- for (var r = Object.keys(t), n = r.length; n--; ) e[r[n]] = t[r[n]];
- return e;
- });
- }.call(this);
- }.call(
- this,
- _('_process'),
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {}
- );
- },
- { './support/isBuffer': 83, _process: 441, inherits: 82 }
- ],
- 85: [
- function (e, t, r) {
- 'use strict';
- (r.byteLength = function (e) {
- var e = u(e),
- t = e[0],
- e = e[1];
- return (3 * (t + e)) / 4 - e;
- }),
- (r.toByteArray = function (e) {
- var t,
- r,
- n = u(e),
- s = n[0],
- n = n[1],
- i = new l(
- (function (e, t) {
- return (3 * (e + t)) / 4 - t;
- })(s, n)
- ),
- o = 0,
- a = 0 < n ? s - 4 : s;
- for (r = 0; r < a; r += 4)
- (t =
- (c[e.charCodeAt(r)] << 18) |
- (c[e.charCodeAt(r + 1)] << 12) |
- (c[e.charCodeAt(r + 2)] << 6) |
- c[e.charCodeAt(r + 3)]),
- (i[o++] = (t >> 16) & 255),
- (i[o++] = (t >> 8) & 255),
- (i[o++] = 255 & t);
- 2 === n && ((t = (c[e.charCodeAt(r)] << 2) | (c[e.charCodeAt(r + 1)] >> 4)), (i[o++] = 255 & t));
- 1 === n &&
- ((t = (c[e.charCodeAt(r)] << 10) | (c[e.charCodeAt(r + 1)] << 4) | (c[e.charCodeAt(r + 2)] >> 2)),
- (i[o++] = (t >> 8) & 255),
- (i[o++] = 255 & t));
- return i;
- }),
- (r.fromByteArray = function (e) {
- for (var t, r = e.length, n = r % 3, s = [], i = 0, o = r - n; i < o; i += 16383)
- s.push(
- (function (e, t, r) {
- for (var n, s = [], i = t; i < r; i += 3)
- (n = ((e[i] << 16) & 16711680) + ((e[i + 1] << 8) & 65280) + (255 & e[i + 2])),
- s.push(
- (function (e) {
- return a[(e >> 18) & 63] + a[(e >> 12) & 63] + a[(e >> 6) & 63] + a[63 & e];
- })(n)
- );
- return s.join('');
- })(e, i, o < i + 16383 ? o : i + 16383)
- );
- 1 == n
- ? ((t = e[r - 1]), s.push(a[t >> 2] + a[(t << 4) & 63] + '=='))
- : 2 == n &&
- ((t = (e[r - 2] << 8) + e[r - 1]), s.push(a[t >> 10] + a[(t >> 4) & 63] + a[(t << 2) & 63] + '='));
- return s.join('');
- });
- for (
- var a = [],
- c = [],
- l = 'undefined' != typeof Uint8Array ? Uint8Array : Array,
- n = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',
- s = 0,
- i = n.length;
- s < i;
- ++s
- )
- (a[s] = n[s]), (c[n.charCodeAt(s)] = s);
- function u(e) {
- var t = e.length;
- if (0 < t % 4) throw new Error('Invalid string. Length must be a multiple of 4');
- (e = e.indexOf('=')), (t = (e = -1 === e ? t : e) === t ? 0 : 4 - (e % 4));
- return [e, t];
- }
- (c['-'.charCodeAt(0)] = 62), (c['_'.charCodeAt(0)] = 63);
- },
- {}
- ],
- 86: [
- function (e, t, r) {
- var n, s;
- (n = this),
- (s = function () {
- function o(t) {
- function e(e) {
- e = t.match(e);
- return (e && 1 < e.length && e[1]) || '';
- }
- function r(e) {
- e = t.match(e);
- return (e && 1 < e.length && e[2]) || '';
- }
- var n,
- s = e(/(ipod|iphone|ipad)/i).toLowerCase(),
- i = !/like android/i.test(t) && /android/i.test(t),
- o = /nexus\s*[0-6]\s*/i.test(t),
- a = !o && /nexus\s*[0-9]+/i.test(t),
- c = /CrOS/.test(t),
- l = /silk/i.test(t),
- u = /sailfish/i.test(t),
- p = /tizen/i.test(t),
- f = /(web|hpw)(o|0)s/i.test(t),
- d = /windows phone/i.test(t),
- h = (/SamsungBrowser/i.test(t), !d && /windows/i.test(t)),
- m = !s && !l && /macintosh/i.test(t),
- y = !i && !u && !p && !f && /linux/i.test(t),
- b = r(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),
- g = e(/version\/(\d+(\.\d+)?)/i),
- v = /tablet/i.test(t) && !/tablet pc/i.test(t),
- j = !v && /[^-]mobi/i.test(t),
- w = /xbox/i.test(t);
- /opera/i.test(t)
- ? (n = { name: 'Opera', opera: !0, version: g || e(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i) })
- : /opr\/|opios/i.test(t)
- ? (n = { name: 'Opera', opera: !0, version: e(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i) || g })
- : /SamsungBrowser/i.test(t)
- ? (n = {
- name: 'Samsung Internet for Android',
- samsungBrowser: !0,
- version: g || e(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)
- })
- : /Whale/i.test(t)
- ? (n = { name: 'NAVER Whale browser', whale: !0, version: e(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i) })
- : /MZBrowser/i.test(t)
- ? (n = { name: 'MZ Browser', mzbrowser: !0, version: e(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i) })
- : /coast/i.test(t)
- ? (n = { name: 'Opera Coast', coast: !0, version: g || e(/(?:coast)[\s\/](\d+(\.\d+)?)/i) })
- : /focus/i.test(t)
- ? (n = { name: 'Focus', focus: !0, version: e(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i) })
- : /yabrowser/i.test(t)
- ? (n = {
- name: 'Yandex Browser',
- yandexbrowser: !0,
- version: g || e(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)
- })
- : /ucbrowser/i.test(t)
- ? (n = { name: 'UC Browser', ucbrowser: !0, version: e(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i) })
- : /mxios/i.test(t)
- ? (n = { name: 'Maxthon', maxthon: !0, version: e(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i) })
- : /epiphany/i.test(t)
- ? (n = { name: 'Epiphany', epiphany: !0, version: e(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i) })
- : /puffin/i.test(t)
- ? (n = { name: 'Puffin', puffin: !0, version: e(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i) })
- : /sleipnir/i.test(t)
- ? (n = { name: 'Sleipnir', sleipnir: !0, version: e(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i) })
- : /k-meleon/i.test(t)
- ? (n = { name: 'K-Meleon', kMeleon: !0, version: e(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i) })
- : d
- ? ((n = { name: 'Windows Phone', osname: 'Windows Phone', windowsphone: !0 }),
- b
- ? ((n.msedge = !0), (n.version = b))
- : ((n.msie = !0), (n.version = e(/iemobile\/(\d+(\.\d+)?)/i))))
- : /msie|trident/i.test(t)
- ? (n = { name: 'Internet Explorer', msie: !0, version: e(/(?:msie |rv:)(\d+(\.\d+)?)/i) })
- : c
- ? (n = {
- name: 'Chrome',
- osname: 'Chrome OS',
- chromeos: !0,
- chromeBook: !0,
- chrome: !0,
- version: e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)
- })
- : /edg([ea]|ios)/i.test(t)
- ? (n = { name: 'Microsoft Edge', msedge: !0, version: b })
- : /vivaldi/i.test(t)
- ? (n = { name: 'Vivaldi', vivaldi: !0, version: e(/vivaldi\/(\d+(\.\d+)?)/i) || g })
- : u
- ? (n = {
- name: 'Sailfish',
- osname: 'Sailfish OS',
- sailfish: !0,
- version: e(/sailfish\s?browser\/(\d+(\.\d+)?)/i)
- })
- : /seamonkey\//i.test(t)
- ? (n = { name: 'SeaMonkey', seamonkey: !0, version: e(/seamonkey\/(\d+(\.\d+)?)/i) })
- : /firefox|iceweasel|fxios/i.test(t)
- ? ((n = {
- name: 'Firefox',
- firefox: !0,
- version: e(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)
- }),
- /\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t) &&
- ((n.firefoxos = !0), (n.osname = 'Firefox OS')))
- : l
- ? (n = { name: 'Amazon Silk', silk: !0, version: e(/silk\/(\d+(\.\d+)?)/i) })
- : /phantom/i.test(t)
- ? (n = { name: 'PhantomJS', phantom: !0, version: e(/phantomjs\/(\d+(\.\d+)?)/i) })
- : /slimerjs/i.test(t)
- ? (n = { name: 'SlimerJS', slimer: !0, version: e(/slimerjs\/(\d+(\.\d+)?)/i) })
- : /blackberry|\bbb\d+/i.test(t) || /rim\stablet/i.test(t)
- ? (n = {
- name: 'BlackBerry',
- osname: 'BlackBerry OS',
- blackberry: !0,
- version: g || e(/blackberry[\d]+\/(\d+(\.\d+)?)/i)
- })
- : f
- ? ((n = {
- name: 'WebOS',
- osname: 'WebOS',
- webos: !0,
- version: g || e(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)
- }),
- /touchpad\//i.test(t) && (n.touchpad = !0))
- : /bada/i.test(t)
- ? (n = { name: 'Bada', osname: 'Bada', bada: !0, version: e(/dolfin\/(\d+(\.\d+)?)/i) })
- : p
- ? (n = {
- name: 'Tizen',
- osname: 'Tizen',
- tizen: !0,
- version: e(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i) || g
- })
- : /qupzilla/i.test(t)
- ? (n = { name: 'QupZilla', qupzilla: !0, version: e(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i) || g })
- : /chromium/i.test(t)
- ? (n = { name: 'Chromium', chromium: !0, version: e(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i) || g })
- : /chrome|crios|crmo/i.test(t)
- ? (n = { name: 'Chrome', chrome: !0, version: e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i) })
- : i
- ? (n = { name: 'Android', version: g })
- : /safari|applewebkit/i.test(t)
- ? ((n = { name: 'Safari', safari: !0 }), g && (n.version = g))
- : s
- ? ((n = { name: 'iphone' == s ? 'iPhone' : 'ipad' == s ? 'iPad' : 'iPod' }), g && (n.version = g))
- : (n = /googlebot/i.test(t)
- ? { name: 'Googlebot', googlebot: !0, version: e(/googlebot\/(\d+(\.\d+))/i) || g }
- : { name: e(/^(.*)\/(.*) /), version: r(/^(.*)\/(.*) /) }),
- !n.msedge && /(apple)?webkit/i.test(t)
- ? (/(apple)?webkit\/537\.36/i.test(t)
- ? ((n.name = n.name || 'Blink'), (n.blink = !0))
- : ((n.name = n.name || 'Webkit'), (n.webkit = !0)),
- !n.version && g && (n.version = g))
- : !n.opera &&
- /gecko\//i.test(t) &&
- ((n.name = n.name || 'Gecko'),
- (n.gecko = !0),
- (n.version = n.version || e(/gecko\/(\d+(\.\d+)?)/i))),
- n.windowsphone || (!i && !n.silk)
- ? !n.windowsphone && s
- ? ((n[s] = !0), (n.ios = !0), (n.osname = 'iOS'))
- : m
- ? ((n.mac = !0), (n.osname = 'macOS'))
- : w
- ? ((n.xbox = !0), (n.osname = 'Xbox'))
- : h
- ? ((n.windows = !0), (n.osname = 'Windows'))
- : y && ((n.linux = !0), (n.osname = 'Linux'))
- : ((n.android = !0), (n.osname = 'Android'));
- (d = ''),
- n.windows
- ? (d = (function (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;
- }
- })(e(/Windows ((NT|XP)( \d\d?.\d)?)/i)))
- : n.windowsphone
- ? (d = e(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i))
- : n.mac
- ? (d = (d = e(/Mac OS X (\d+([_\.\s]\d+)*)/i)).replace(/[_\s]/g, '.'))
- : s
- ? (d = (d = e(/os (\d+([_\s]\d+)*) like mac os x/i)).replace(/[_\s]/g, '.'))
- : i
- ? (d = e(/android[ \/-](\d+(\.\d+)*)/i))
- : n.webos
- ? (d = e(/(?:web|hpw)os\/(\d+(\.\d+)*)/i))
- : n.blackberry
- ? (d = e(/rim\stablet\sos\s(\d+(\.\d+)*)/i))
- : n.bada
- ? (d = e(/bada\/(\d+(\.\d+)*)/i))
- : n.tizen && (d = e(/tizen[\/\s](\d+(\.\d+)*)/i)),
- d && (n.osversion = d),
- (c = !n.windows && d.split('.')[0]);
- return (
- v || a || 'ipad' == s || (i && (3 == c || (4 <= c && !j))) || n.silk
- ? (n.tablet = !0)
- : (j || 'iphone' == s || 'ipod' == s || i || o || n.blackberry || n.webos || n.bada) &&
- (n.mobile = !0),
- n.msedge ||
- (n.msie && 10 <= n.version) ||
- (n.yandexbrowser && 15 <= n.version) ||
- (n.vivaldi && 1 <= n.version) ||
- (n.chrome && 20 <= n.version) ||
- (n.samsungBrowser && 4 <= n.version) ||
- (n.whale && 1 === x([n.version, '1.0'])) ||
- (n.mzbrowser && 1 === x([n.version, '6.0'])) ||
- (n.focus && 1 === x([n.version, '1.0'])) ||
- (n.firefox && 20 <= n.version) ||
- (n.safari && 6 <= n.version) ||
- (n.opera && 10 <= n.version) ||
- (n.ios && n.osversion && 6 <= n.osversion.split('.')[0]) ||
- (n.blackberry && 10.1 <= n.version) ||
- (n.chromium && 20 <= n.version)
- ? (n.a = !0)
- : (n.msie && n.version < 10) ||
- (n.chrome && n.version < 20) ||
- (n.firefox && n.version < 20) ||
- (n.safari && n.version < 6) ||
- (n.opera && n.version < 10) ||
- (n.ios && n.osversion && n.osversion.split('.')[0] < 6) ||
- (n.chromium && n.version < 20)
- ? (n.c = !0)
- : (n.x = !0),
- n
- );
- }
- var a = o(('undefined' != typeof navigator && navigator.userAgent) || '');
- function n(e) {
- return e.split('.').length;
- }
- function s(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 x(e) {
- for (
- var r = Math.max(n(e[0]), n(e[1])),
- t = s(e, function (e) {
- var t = r - n(e);
- return s((e += new Array(1 + t).join('.0')).split('.'), function (e) {
- return new Array(20 - e.length).join('0') + e;
- }).reverse();
- });
- 0 <= --r;
- ) {
- if (t[0][r] > t[1][r]) return 1;
- if (t[0][r] !== t[1][r]) return -1;
- if (0 === r) return 0;
- }
- }
- function i(e, t, r) {
- var n,
- s = a,
- i =
- ('string' == typeof t && ((r = t), (t = void 0)),
- void 0 === t && (t = !1),
- '' + (s = r ? o(r) : s).version);
- for (n in e)
- if (e.hasOwnProperty(n) && s[n]) {
- if ('string' != typeof e[n])
- throw new Error(
- 'Browser version in the minVersion map should be a string: ' + n + ': ' + String(e)
- );
- return x([i, e[n]]) < 0;
- }
- return t;
- }
- return (
- (a.test = function (e) {
- for (var t = 0; t < e.length; ++t) {
- var r = e[t];
- if ('string' == typeof r && r in a) return !0;
- }
- return !1;
- }),
- (a.isUnsupportedBrowser = i),
- (a.compareVersions = x),
- (a.check = function (e, t, r) {
- return !i(e, t, r);
- }),
- (a._detect = o),
- (a.detect = o),
- a
- );
- }),
- void 0 !== t && t.exports ? (t.exports = s()) : (n.bowser = s());
- },
- {}
- ],
- 87: [function (e, t, r) {}, {}],
- 88: [
- function (e, t, r) {
- var n = e('buffer').Buffer,
- s =
- n.isEncoding ||
- function (e) {
- switch (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;
- }
- };
- e = r.StringDecoder = function (e) {
- this.encoding = (e || 'utf8').toLowerCase().replace(/[-_]/, '');
- if (e && !s(e)) throw new Error('Unknown encoding: ' + e);
- switch (this.encoding) {
- case 'utf8':
- this.surrogateSize = 3;
- break;
- case 'ucs2':
- case 'utf16le':
- (this.surrogateSize = 2), (this.detectIncompleteChar = o);
- break;
- case 'base64':
- (this.surrogateSize = 3), (this.detectIncompleteChar = a);
- break;
- default:
- return void (this.write = i);
- }
- (this.charBuffer = new n(6)), (this.charReceived = 0), (this.charLength = 0);
- };
- function i(e) {
- return e.toString(this.encoding);
- }
- function o(e) {
- (this.charReceived = e.length % 2), (this.charLength = this.charReceived ? 2 : 0);
- }
- function a(e) {
- (this.charReceived = e.length % 3), (this.charLength = this.charReceived ? 3 : 0);
- }
- (e.prototype.write = function (e) {
- for (var t = ''; this.charLength; ) {
- var r =
- e.length >= this.charLength - this.charReceived ? this.charLength - this.charReceived : e.length;
- if (
- (e.copy(this.charBuffer, this.charReceived, 0, r),
- (this.charReceived += r),
- this.charReceived < this.charLength)
- )
- return '';
- if (
- ((e = e.slice(r, e.length)),
- !(
- 55296 <=
- (n = (t = this.charBuffer.slice(0, this.charLength).toString(this.encoding)).charCodeAt(
- t.length - 1
- )) && n <= 56319
- ))
- ) {
- if ((this.charReceived = this.charLength = 0) === e.length) return t;
- break;
- }
- (this.charLength += this.surrogateSize), (t = '');
- }
- this.detectIncompleteChar(e);
- var n,
- s,
- i = e.length,
- i =
- (this.charLength &&
- (e.copy(this.charBuffer, 0, e.length - this.charReceived, i), (i -= this.charReceived)),
- (t += e.toString(this.encoding, 0, i)).length - 1);
- return 55296 <= (n = t.charCodeAt(i)) && n <= 56319
- ? ((s = this.surrogateSize),
- (this.charLength += s),
- (this.charReceived += s),
- this.charBuffer.copy(this.charBuffer, s, 0, s),
- e.copy(this.charBuffer, 0, 0, s),
- t.substring(0, i))
- : t;
- }),
- (e.prototype.detectIncompleteChar = function (e) {
- for (var t = 3 <= e.length ? 3 : e.length; 0 < t; t--) {
- var r = e[e.length - t];
- if (1 == t && r >> 5 == 6) {
- this.charLength = 2;
- break;
- }
- if (t <= 2 && r >> 4 == 14) {
- this.charLength = 3;
- break;
- }
- if (t <= 3 && r >> 3 == 30) {
- this.charLength = 4;
- break;
- }
- }
- this.charReceived = t;
- }),
- (e.prototype.end = function (e) {
- var t,
- r,
- n = '';
- return (
- e && e.length && (n = this.write(e)),
- this.charReceived &&
- ((e = this.charReceived),
- (t = this.charBuffer),
- (r = this.encoding),
- (n += t.slice(0, e).toString(r))),
- n
- );
- });
- },
- { buffer: 89 }
- ],
- 89: [
- function (C, e, N) {
- !function (e, t) {
- !function () {
- 'use strict';
- var k = C('base64-js'),
- i = C('ieee754'),
- a = C('isarray');
- function r() {
- return p.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823;
- }
- function c(e, t) {
- if (r() < t) throw new RangeError('Invalid typed array length');
- return (
- p.TYPED_ARRAY_SUPPORT
- ? ((e = new Uint8Array(t)).__proto__ = p.prototype)
- : ((e = null === e ? new p(t) : e).length = t),
- e
- );
- }
- function p(e, t, r) {
- if (!(p.TYPED_ARRAY_SUPPORT || this instanceof p)) return new p(e, t, r);
- if ('number' != typeof e) return n(this, e, t, r);
- if ('string' == typeof t)
- throw new Error('If encoding is specified then the first argument must be a string');
- return o(this, e);
- }
- function n(e, t, r, n) {
- if ('number' == typeof t) throw new TypeError('"value" argument must not be a number');
- if ('undefined' != typeof ArrayBuffer && t instanceof ArrayBuffer) {
- var s = e,
- i = t,
- o = r;
- if ((i.byteLength, o < 0 || i.byteLength < o)) throw new RangeError("'offset' is out of bounds");
- if (i.byteLength < o + (n || 0)) throw new RangeError("'length' is out of bounds");
- return (
- (i =
- void 0 === o && void 0 === n
- ? new Uint8Array(i)
- : void 0 === n
- ? new Uint8Array(i, o)
- : new Uint8Array(i, o, n)),
- p.TYPED_ARRAY_SUPPORT ? ((s = i).__proto__ = p.prototype) : (s = l(s, i)),
- s
- );
- }
- if ('string' != typeof t) {
- (o = e), (n = t);
- if (p.isBuffer(n))
- return (i = 0 | u(n.length)), 0 === (o = c(o, i)).length || n.copy(o, 0, 0, i), o;
- if (n) {
- if (('undefined' != typeof ArrayBuffer && n.buffer instanceof ArrayBuffer) || 'length' in n)
- return 'number' != typeof n.length ||
- (function (e) {
- return e != e;
- })(n.length)
- ? c(o, 0)
- : l(o, n);
- if ('Buffer' === n.type && a(n.data)) return l(o, n.data);
- }
- throw new TypeError(
- 'First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.'
- );
- }
- (s = e), (n = t), (e = r);
- if (!p.isEncoding((e = 'string' == typeof e && '' !== e ? e : 'utf8')))
- throw new TypeError('"encoding" must be a valid string encoding');
- t = 0 | f(n, e);
- return (s = (n = (s = c(s, t)).write(n, e)) !== t ? s.slice(0, n) : s);
- }
- function s(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 o(e, t) {
- if ((s(t), (e = c(e, t < 0 ? 0 : 0 | u(t))), !p.TYPED_ARRAY_SUPPORT))
- for (var r = 0; r < t; ++r) e[r] = 0;
- return e;
- }
- function l(e, t) {
- var r = t.length < 0 ? 0 : 0 | u(t.length);
- e = c(e, r);
- for (var n = 0; n < r; n += 1) e[n] = 255 & t[n];
- return e;
- }
- function u(e) {
- if (e >= r())
- throw new RangeError(
- 'Attempt to allocate Buffer larger than maximum size: 0x' + r().toString(16) + ' bytes'
- );
- return 0 | e;
- }
- function f(e, t) {
- if (p.isBuffer(e)) return e.length;
- if (
- 'undefined' != typeof ArrayBuffer &&
- 'function' == typeof ArrayBuffer.isView &&
- (ArrayBuffer.isView(e) || e instanceof ArrayBuffer)
- )
- return e.byteLength;
- var r = (e = 'string' != typeof e ? '' + e : 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 A(e).length;
- case 'ucs2':
- case 'ucs-2':
- case 'utf16le':
- case 'utf-16le':
- return 2 * r;
- case 'hex':
- return r >>> 1;
- case 'base64':
- return D(e).length;
- default:
- if (n) return A(e).length;
- (t = ('' + t).toLowerCase()), (n = !0);
- }
- }
- function t(e, t, r) {
- var n,
- s = !1;
- if ((t = void 0 === t || t < 0 ? 0 : t) > this.length) return '';
- if ((r = void 0 === r || r > this.length ? this.length : r) <= 0) return '';
- if ((r >>>= 0) <= (t >>>= 0)) return '';
- for (e = e || 'utf8'; ; )
- switch (e) {
- case 'hex':
- var i = this,
- o = t,
- a = r,
- c = i.length;
- (!a || a < 0 || c < a) && (a = c);
- for (var l = '', u = (o = !o || o < 0 ? 0 : o); u < a; ++u)
- l += (function (e) {
- return e < 16 ? '0' + e.toString(16) : e.toString(16);
- })(i[u]);
- return l;
- case 'utf8':
- case 'utf-8':
- return E(this, t, r);
- case 'ascii':
- var p = this,
- c = t,
- f = r,
- d = '';
- f = Math.min(p.length, f);
- for (var h = c; h < f; ++h) d += String.fromCharCode(127 & p[h]);
- return d;
- case 'latin1':
- case 'binary':
- var m = this,
- o = t,
- y = r,
- b = '';
- y = Math.min(m.length, y);
- for (var g = o; g < y; ++g) b += String.fromCharCode(m[g]);
- return b;
- case 'base64':
- return (
- (v = this),
- (n = r),
- 0 === (j = t) && n === v.length ? k.fromByteArray(v) : k.fromByteArray(v.slice(j, n))
- );
- case 'ucs2':
- case 'ucs-2':
- case 'utf16le':
- case 'utf-16le':
- for (var v = t, j = r, w = this.slice(v, j), x = '', T = 0; T < w.length; T += 2)
- x += String.fromCharCode(w[T] + 256 * w[T + 1]);
- return x;
- default:
- if (s) throw new TypeError('Unknown encoding: ' + e);
- (e = (e + '').toLowerCase()), (s = !0);
- }
- }
- function d(e, t, r) {
- var n = e[t];
- (e[t] = e[r]), (e[r] = n);
- }
- function h(e, t, r, n, s) {
- if (0 === e.length) return -1;
- if (
- ('string' == typeof r
- ? ((n = r), (r = 0))
- : 2147483647 < r
- ? (r = 2147483647)
- : r < -2147483648 && (r = -2147483648),
- (r = +r),
- (r = (r = isNaN(r) ? (s ? 0 : e.length - 1) : r) < 0 ? e.length + r : r) >= e.length)
- ) {
- if (s) return -1;
- r = e.length - 1;
- } else if (r < 0) {
- if (!s) return -1;
- r = 0;
- }
- if (('string' == typeof t && (t = p.from(t, n)), p.isBuffer(t)))
- return 0 === t.length ? -1 : m(e, t, r, n, s);
- if ('number' == typeof t)
- return (
- (t &= 255),
- p.TYPED_ARRAY_SUPPORT && 'function' == typeof Uint8Array.prototype.indexOf
- ? (s ? Uint8Array.prototype.indexOf : Uint8Array.prototype.lastIndexOf).call(e, t, r)
- : m(e, [t], r, n, s)
- );
- throw new TypeError('val must be string, number or Buffer');
- }
- function m(e, t, r, n, s) {
- var i = 1,
- o = e.length,
- a = t.length;
- if (
- void 0 !== n &&
- ('ucs2' === (n = String(n).toLowerCase()) || 'ucs-2' === n || 'utf16le' === n || 'utf-16le' === n)
- ) {
- if (e.length < 2 || t.length < 2) return -1;
- (o /= i = 2), (a /= 2), (r /= 2);
- }
- function c(e, t) {
- return 1 === i ? e[t] : e.readUInt16BE(t * i);
- }
- if (s)
- for (var l = -1, u = r; u < o; u++)
- if (c(e, u) === c(t, -1 === l ? 0 : u - l)) {
- if (u - (l = -1 === l ? u : l) + 1 === a) return l * i;
- } else -1 !== l && (u -= u - l), (l = -1);
- else
- for (u = r = o < r + a ? o - a : r; 0 <= u; u--) {
- for (var p = !0, f = 0; f < a; f++)
- if (c(e, u + f) !== c(t, f)) {
- p = !1;
- break;
- }
- if (p) return u;
- }
- return -1;
- }
- function y(e, t, r, n) {
- return I(
- (function (e) {
- for (var t = [], r = 0; r < e.length; ++r) t.push(255 & e.charCodeAt(r));
- return t;
- })(t),
- e,
- r,
- n
- );
- }
- function b(e, t, r, n) {
- return I(
- (function (e, t) {
- for (var r, n, s = [], i = 0; i < e.length && !((t -= 2) < 0); ++i)
- (n = e.charCodeAt(i)), (r = n >> 8), (n = n % 256), s.push(n), s.push(r);
- return s;
- })(t, e.length - r),
- e,
- r,
- n
- );
- }
- function E(e, t, r) {
- r = Math.min(e.length, r);
- for (var n = [], s = t; s < r; ) {
- var i,
- o,
- a,
- c,
- l = e[s],
- u = null,
- p = 239 < l ? 4 : 223 < l ? 3 : 191 < l ? 2 : 1;
- if (s + p <= r)
- switch (p) {
- case 1:
- l < 128 && (u = l);
- break;
- case 2:
- 128 == (192 & (i = e[s + 1])) && 127 < (c = ((31 & l) << 6) | (63 & i)) && (u = c);
- break;
- case 3:
- (i = e[s + 1]),
- (o = e[s + 2]),
- 128 == (192 & i) &&
- 128 == (192 & o) &&
- 2047 < (c = ((15 & l) << 12) | ((63 & i) << 6) | (63 & o)) &&
- (c < 55296 || 57343 < c) &&
- (u = c);
- break;
- case 4:
- (i = e[s + 1]),
- (o = e[s + 2]),
- (a = e[s + 3]),
- 128 == (192 & i) &&
- 128 == (192 & o) &&
- 128 == (192 & a) &&
- 65535 < (c = ((15 & l) << 18) | ((63 & i) << 12) | ((63 & o) << 6) | (63 & a)) &&
- c < 1114112 &&
- (u = c);
- }
- null === u
- ? ((u = 65533), (p = 1))
- : 65535 < u && ((u -= 65536), n.push(((u >>> 10) & 1023) | 55296), (u = 56320 | (1023 & u))),
- n.push(u),
- (s += p);
- }
- var f = n,
- d = f.length;
- if (d <= g) return String.fromCharCode.apply(String, f);
- for (var h = '', m = 0; m < d; ) h += String.fromCharCode.apply(String, f.slice(m, (m += g)));
- return h;
- }
- (N.Buffer = p),
- (N.SlowBuffer = function (e) {
- +e != e && (e = 0);
- return p.alloc(+e);
- }),
- (N.INSPECT_MAX_BYTES = 50),
- (p.TYPED_ARRAY_SUPPORT =
- void 0 !== e.TYPED_ARRAY_SUPPORT
- ? e.TYPED_ARRAY_SUPPORT
- : (function () {
- 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 (e) {
- return !1;
- }
- })()),
- (N.kMaxLength = r()),
- (p.poolSize = 8192),
- (p._augment = function (e) {
- return (e.__proto__ = p.prototype), e;
- }),
- (p.from = function (e, t, r) {
- return n(null, e, t, r);
- }),
- p.TYPED_ARRAY_SUPPORT &&
- ((p.prototype.__proto__ = Uint8Array.prototype),
- (p.__proto__ = Uint8Array),
- 'undefined' != typeof Symbol &&
- Symbol.species &&
- p[Symbol.species] === p &&
- Object.defineProperty(p, Symbol.species, { value: null, configurable: !0 })),
- (p.alloc = function (e, t, r) {
- return (
- (n = null),
- (t = t),
- (r = r),
- s((e = e)),
- !(e <= 0) && void 0 !== t
- ? 'string' == typeof r
- ? c(n, e).fill(t, r)
- : c(n, e).fill(t)
- : c(n, e)
- );
- var n;
- }),
- (p.allocUnsafe = function (e) {
- return o(null, e);
- }),
- (p.allocUnsafeSlow = function (e) {
- return o(null, e);
- }),
- (p.isBuffer = function (e) {
- return !(null == e || !e._isBuffer);
- }),
- (p.compare = function (e, t) {
- if (!p.isBuffer(e) || !p.isBuffer(t)) throw new TypeError('Arguments must be Buffers');
- if (e === t) return 0;
- for (var r = e.length, n = t.length, s = 0, i = Math.min(r, n); s < i; ++s)
- if (e[s] !== t[s]) {
- (r = e[s]), (n = t[s]);
- break;
- }
- return r < n ? -1 : n < r ? 1 : 0;
- }),
- (p.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;
- }
- }),
- (p.concat = function (e, t) {
- if (!a(e)) throw new TypeError('"list" argument must be an Array of Buffers');
- if (0 === e.length) return p.alloc(0);
- if (void 0 === t) for (s = t = 0; s < e.length; ++s) t += e[s].length;
- for (var r = p.allocUnsafe(t), n = 0, s = 0; s < e.length; ++s) {
- var i = e[s];
- if (!p.isBuffer(i)) throw new TypeError('"list" argument must be an Array of Buffers');
- i.copy(r, n), (n += i.length);
- }
- return r;
- }),
- (p.byteLength = f),
- (p.prototype._isBuffer = !0),
- (p.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) d(this, t, t + 1);
- return this;
- }),
- (p.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) d(this, t, t + 3), d(this, t + 1, t + 2);
- return this;
- }),
- (p.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)
- d(this, t, t + 7), d(this, t + 1, t + 6), d(this, t + 2, t + 5), d(this, t + 3, t + 4);
- return this;
- }),
- (p.prototype.toString = function () {
- var e = 0 | this.length;
- return 0 == e ? '' : 0 === arguments.length ? E(this, 0, e) : t.apply(this, arguments);
- }),
- (p.prototype.equals = function (e) {
- if (p.isBuffer(e)) return this === e || 0 === p.compare(this, e);
- throw new TypeError('Argument must be a Buffer');
- }),
- (p.prototype.inspect = function () {
- var e = '',
- t = N.INSPECT_MAX_BYTES;
- return (
- 0 < this.length &&
- ((e = this.toString('hex', 0, t).match(/.{2}/g).join(' ')), this.length > t && (e += ' ... ')),
- '<Buffer ' + e + '>'
- );
- }),
- (p.prototype.compare = function (e, t, r, n, s) {
- if (!p.isBuffer(e)) throw new TypeError('Argument must be a Buffer');
- if (
- (void 0 === r && (r = e ? e.length : 0),
- void 0 === n && (n = 0),
- void 0 === s && (s = this.length),
- (t = void 0 === t ? 0 : t) < 0 || r > e.length || n < 0 || s > this.length)
- )
- throw new RangeError('out of range index');
- if (s <= n && r <= t) return 0;
- if (s <= n) return -1;
- if (r <= t) return 1;
- if (this === e) return 0;
- for (
- var i = (s >>>= 0) - (n >>>= 0),
- o = (r >>>= 0) - (t >>>= 0),
- a = Math.min(i, o),
- c = this.slice(n, s),
- l = e.slice(t, r),
- u = 0;
- u < a;
- ++u
- )
- if (c[u] !== l[u]) {
- (i = c[u]), (o = l[u]);
- break;
- }
- return i < o ? -1 : o < i ? 1 : 0;
- }),
- (p.prototype.includes = function (e, t, r) {
- return -1 !== this.indexOf(e, t, r);
- }),
- (p.prototype.indexOf = function (e, t, r) {
- return h(this, e, t, r, !0);
- }),
- (p.prototype.lastIndexOf = function (e, t, r) {
- return h(this, e, t, r, !1);
- }),
- (p.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 s = this.length - t;
- if (((void 0 === r || s < r) && (r = s), (0 < e.length && (r < 0 || t < 0)) || t > this.length))
- throw new RangeError('Attempt to write outside buffer bounds');
- n = n || 'utf8';
- for (var i, o, a, c = !1; ; )
- switch (n) {
- case 'hex':
- var l = this,
- u = e,
- p = t,
- f = r,
- d = ((p = Number(p) || 0), l.length - p);
- if (((!f || d < (f = Number(f))) && (f = d), (d = u.length) % 2 != 0))
- throw new TypeError('Invalid hex string');
- d / 2 < f && (f = d / 2);
- for (var h = 0; h < f; ++h) {
- var m = parseInt(u.substr(2 * h, 2), 16);
- if (isNaN(m)) return h;
- l[p + h] = m;
- }
- return h;
- case 'utf8':
- case 'utf-8':
- return (d = t), (a = r), I(A(e, (o = this).length - d), o, d, a);
- case 'ascii':
- return y(this, e, t, r);
- case 'latin1':
- case 'binary':
- return y(this, e, t, r);
- case 'base64':
- return (o = this), (a = t), (i = r), I(D(e), o, a, i);
- case 'ucs2':
- case 'ucs-2':
- case 'utf16le':
- case 'utf-16le':
- return b(this, e, t, r);
- default:
- if (c) throw new TypeError('Unknown encoding: ' + n);
- (n = ('' + n).toLowerCase()), (c = !0);
- }
- }),
- (p.prototype.toJSON = function () {
- return { type: 'Buffer', data: Array.prototype.slice.call(this._arr || this, 0) };
- });
- var g = 4096;
- function v(e, t, r) {
- if (e % 1 != 0 || e < 0) throw new RangeError('offset is not uint');
- if (r < e + t) throw new RangeError('Trying to access beyond buffer length');
- }
- function j(e, t, r, n, s, i) {
- if (!p.isBuffer(e)) throw new TypeError('"buffer" argument must be a Buffer instance');
- if (s < t || t < i) throw new RangeError('"value" argument is out of bounds');
- if (r + n > e.length) throw new RangeError('Index out of range');
- }
- function w(e, t, r, n) {
- t < 0 && (t = 65535 + t + 1);
- for (var s = 0, i = Math.min(e.length - r, 2); s < i; ++s)
- e[r + s] = (t & (255 << (8 * (n ? s : 1 - s)))) >>> (8 * (n ? s : 1 - s));
- }
- function x(e, t, r, n) {
- t < 0 && (t = 4294967295 + t + 1);
- for (var s = 0, i = Math.min(e.length - r, 4); s < i; ++s)
- e[r + s] = (t >>> (8 * (n ? s : 3 - s))) & 255;
- }
- function T(e, t, r, n) {
- if (r + n > e.length) throw new RangeError('Index out of range');
- if (r < 0) throw new RangeError('Index out of range');
- }
- function _(e, t, r, n, s) {
- return s || T(e, 0, r, 4), i.write(e, t, r, n, 23, 4), r + 4;
- }
- function S(e, t, r, n, s) {
- return s || T(e, 0, r, 8), i.write(e, t, r, n, 52, 8), r + 8;
- }
- (p.prototype.slice = function (e, t) {
- var r = this.length;
- if (
- ((e = ~~e) < 0 ? (e += r) < 0 && (e = 0) : r < e && (e = r),
- (t = void 0 === t ? r : ~~t) < 0 ? (t += r) < 0 && (t = 0) : r < t && (t = r),
- t < e && (t = e),
- p.TYPED_ARRAY_SUPPORT)
- )
- (s = this.subarray(e, t)).__proto__ = p.prototype;
- else for (var n = t - e, s = new p(n, void 0), i = 0; i < n; ++i) s[i] = this[i + e];
- return s;
- }),
- (p.prototype.readUIntLE = function (e, t, r) {
- (e |= 0), (t |= 0), r || v(e, t, this.length);
- for (var n = this[e], s = 1, i = 0; ++i < t && (s *= 256); ) n += this[e + i] * s;
- return n;
- }),
- (p.prototype.readUIntBE = function (e, t, r) {
- (e |= 0), (t |= 0), r || v(e, t, this.length);
- for (var n = this[e + --t], s = 1; 0 < t && (s *= 256); ) n += this[e + --t] * s;
- return n;
- }),
- (p.prototype.readUInt8 = function (e, t) {
- return t || v(e, 1, this.length), this[e];
- }),
- (p.prototype.readUInt16LE = function (e, t) {
- return t || v(e, 2, this.length), this[e] | (this[e + 1] << 8);
- }),
- (p.prototype.readUInt16BE = function (e, t) {
- return t || v(e, 2, this.length), (this[e] << 8) | this[e + 1];
- }),
- (p.prototype.readUInt32LE = function (e, t) {
- return (
- t || v(e, 4, this.length),
- (this[e] | (this[e + 1] << 8) | (this[e + 2] << 16)) + 16777216 * this[e + 3]
- );
- }),
- (p.prototype.readUInt32BE = function (e, t) {
- return (
- t || v(e, 4, this.length),
- 16777216 * this[e] + ((this[e + 1] << 16) | (this[e + 2] << 8) | this[e + 3])
- );
- }),
- (p.prototype.readIntLE = function (e, t, r) {
- (e |= 0), (t |= 0), r || v(e, t, this.length);
- for (var n = this[e], s = 1, i = 0; ++i < t && (s *= 256); ) n += this[e + i] * s;
- return (s *= 128) <= n && (n -= Math.pow(2, 8 * t)), n;
- }),
- (p.prototype.readIntBE = function (e, t, r) {
- (e |= 0), (t |= 0), r || v(e, t, this.length);
- for (var n = t, s = 1, i = this[e + --n]; 0 < n && (s *= 256); ) i += this[e + --n] * s;
- return (s *= 128) <= i && (i -= Math.pow(2, 8 * t)), i;
- }),
- (p.prototype.readInt8 = function (e, t) {
- return t || v(e, 1, this.length), 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e];
- }),
- (p.prototype.readInt16LE = function (e, t) {
- t || v(e, 2, this.length);
- t = this[e] | (this[e + 1] << 8);
- return 32768 & t ? 4294901760 | t : t;
- }),
- (p.prototype.readInt16BE = function (e, t) {
- t || v(e, 2, this.length);
- t = this[e + 1] | (this[e] << 8);
- return 32768 & t ? 4294901760 | t : t;
- }),
- (p.prototype.readInt32LE = function (e, t) {
- return (
- t || v(e, 4, this.length),
- this[e] | (this[e + 1] << 8) | (this[e + 2] << 16) | (this[e + 3] << 24)
- );
- }),
- (p.prototype.readInt32BE = function (e, t) {
- return (
- t || v(e, 4, this.length),
- (this[e] << 24) | (this[e + 1] << 16) | (this[e + 2] << 8) | this[e + 3]
- );
- }),
- (p.prototype.readFloatLE = function (e, t) {
- return t || v(e, 4, this.length), i.read(this, e, !0, 23, 4);
- }),
- (p.prototype.readFloatBE = function (e, t) {
- return t || v(e, 4, this.length), i.read(this, e, !1, 23, 4);
- }),
- (p.prototype.readDoubleLE = function (e, t) {
- return t || v(e, 8, this.length), i.read(this, e, !0, 52, 8);
- }),
- (p.prototype.readDoubleBE = function (e, t) {
- return t || v(e, 8, this.length), i.read(this, e, !1, 52, 8);
- }),
- (p.prototype.writeUIntLE = function (e, t, r, n) {
- (e = +e), (t |= 0), (r |= 0), n || j(this, e, t, r, Math.pow(2, 8 * r) - 1, 0);
- var s = 1,
- i = 0;
- for (this[t] = 255 & e; ++i < r && (s *= 256); ) this[t + i] = (e / s) & 255;
- return t + r;
- }),
- (p.prototype.writeUIntBE = function (e, t, r, n) {
- (e = +e), (t |= 0), (r |= 0), n || j(this, e, t, r, Math.pow(2, 8 * r) - 1, 0);
- var s = r - 1,
- i = 1;
- for (this[t + s] = 255 & e; 0 <= --s && (i *= 256); ) this[t + s] = (e / i) & 255;
- return t + r;
- }),
- (p.prototype.writeUInt8 = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || j(this, e, t, 1, 255, 0),
- p.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)),
- (this[t] = 255 & e),
- t + 1
- );
- }),
- (p.prototype.writeUInt16LE = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || j(this, e, t, 2, 65535, 0),
- p.TYPED_ARRAY_SUPPORT ? ((this[t] = 255 & e), (this[t + 1] = e >>> 8)) : w(this, e, t, !0),
- t + 2
- );
- }),
- (p.prototype.writeUInt16BE = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || j(this, e, t, 2, 65535, 0),
- p.TYPED_ARRAY_SUPPORT ? ((this[t] = e >>> 8), (this[t + 1] = 255 & e)) : w(this, e, t, !1),
- t + 2
- );
- }),
- (p.prototype.writeUInt32LE = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || j(this, e, t, 4, 4294967295, 0),
- p.TYPED_ARRAY_SUPPORT
- ? ((this[t + 3] = e >>> 24),
- (this[t + 2] = e >>> 16),
- (this[t + 1] = e >>> 8),
- (this[t] = 255 & e))
- : x(this, e, t, !0),
- t + 4
- );
- }),
- (p.prototype.writeUInt32BE = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || j(this, e, t, 4, 4294967295, 0),
- p.TYPED_ARRAY_SUPPORT
- ? ((this[t] = e >>> 24),
- (this[t + 1] = e >>> 16),
- (this[t + 2] = e >>> 8),
- (this[t + 3] = 255 & e))
- : x(this, e, t, !1),
- t + 4
- );
- }),
- (p.prototype.writeIntLE = function (e, t, r, n) {
- (e = +e), (t |= 0), n || j(this, e, t, r, (n = Math.pow(2, 8 * r - 1)) - 1, -n);
- var s = 0,
- i = 1,
- o = 0;
- for (this[t] = 255 & e; ++s < r && (i *= 256); )
- e < 0 && 0 === o && 0 !== this[t + s - 1] && (o = 1), (this[t + s] = (((e / i) >> 0) - o) & 255);
- return t + r;
- }),
- (p.prototype.writeIntBE = function (e, t, r, n) {
- (e = +e), (t |= 0), n || j(this, e, t, r, (n = Math.pow(2, 8 * r - 1)) - 1, -n);
- var s = r - 1,
- i = 1,
- o = 0;
- for (this[t + s] = 255 & e; 0 <= --s && (i *= 256); )
- e < 0 && 0 === o && 0 !== this[t + s + 1] && (o = 1), (this[t + s] = (((e / i) >> 0) - o) & 255);
- return t + r;
- }),
- (p.prototype.writeInt8 = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || j(this, e, t, 1, 127, -128),
- p.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)),
- (this[t] = 255 & (e = e < 0 ? 255 + e + 1 : e)),
- t + 1
- );
- }),
- (p.prototype.writeInt16LE = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || j(this, e, t, 2, 32767, -32768),
- p.TYPED_ARRAY_SUPPORT ? ((this[t] = 255 & e), (this[t + 1] = e >>> 8)) : w(this, e, t, !0),
- t + 2
- );
- }),
- (p.prototype.writeInt16BE = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || j(this, e, t, 2, 32767, -32768),
- p.TYPED_ARRAY_SUPPORT ? ((this[t] = e >>> 8), (this[t + 1] = 255 & e)) : w(this, e, t, !1),
- t + 2
- );
- }),
- (p.prototype.writeInt32LE = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || j(this, e, t, 4, 2147483647, -2147483648),
- p.TYPED_ARRAY_SUPPORT
- ? ((this[t] = 255 & e),
- (this[t + 1] = e >>> 8),
- (this[t + 2] = e >>> 16),
- (this[t + 3] = e >>> 24))
- : x(this, e, t, !0),
- t + 4
- );
- }),
- (p.prototype.writeInt32BE = function (e, t, r) {
- return (
- (e = +e),
- (t |= 0),
- r || j(this, e, t, 4, 2147483647, -2147483648),
- e < 0 && (e = 4294967295 + e + 1),
- p.TYPED_ARRAY_SUPPORT
- ? ((this[t] = e >>> 24),
- (this[t + 1] = e >>> 16),
- (this[t + 2] = e >>> 8),
- (this[t + 3] = 255 & e))
- : x(this, e, t, !1),
- t + 4
- );
- }),
- (p.prototype.writeFloatLE = function (e, t, r) {
- return _(this, e, t, !0, r);
- }),
- (p.prototype.writeFloatBE = function (e, t, r) {
- return _(this, e, t, !1, r);
- }),
- (p.prototype.writeDoubleLE = function (e, t, r) {
- return S(this, e, t, !0, r);
- }),
- (p.prototype.writeDoubleBE = function (e, t, r) {
- return S(this, e, t, !1, r);
- }),
- (p.prototype.copy = function (e, t, r, n) {
- if (
- ((r = r || 0),
- n || 0 === n || (n = this.length),
- t >= e.length && (t = e.length),
- (n = 0 < n && n < r ? r : n) === r)
- )
- return 0;
- if (0 === e.length || 0 === this.length) return 0;
- if ((t = t || 0) < 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);
- var s,
- i = (n = e.length - t < n - r ? e.length - t + r : n) - r;
- if (this === e && r < t && t < n) for (s = i - 1; 0 <= s; --s) e[s + t] = this[s + r];
- else if (i < 1e3 || !p.TYPED_ARRAY_SUPPORT) for (s = 0; s < i; ++s) e[s + t] = this[s + r];
- else Uint8Array.prototype.set.call(e, this.subarray(r, r + i), t);
- return i;
- }),
- (p.prototype.fill = function (e, t, r, n) {
- if ('string' == typeof e) {
- var s;
- if (
- ('string' == typeof t
- ? ((n = t), (t = 0), (r = this.length))
- : 'string' == typeof r && ((n = r), (r = this.length)),
- 1 !== e.length || ((s = e.charCodeAt(0)) < 256 && (e = s)),
- void 0 !== n && 'string' != typeof n)
- )
- throw new TypeError('encoding must be a string');
- if ('string' == typeof n && !p.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;
- if (((t >>>= 0), (r = void 0 === r ? this.length : r >>> 0), 'number' == typeof (e = e || 0)))
- for (a = t; a < r; ++a) this[a] = e;
- else
- for (var i = p.isBuffer(e) ? e : A(new p(e, n).toString()), o = i.length, a = 0; a < r - t; ++a)
- this[a + t] = i[a % o];
- return this;
- });
- var O = /[^+\/0-9A-Za-z-_]/g;
- function A(e, t) {
- t = t || 1 / 0;
- for (var r, n = e.length, s = null, i = [], o = 0; o < n; ++o) {
- if (55295 < (r = e.charCodeAt(o)) && r < 57344) {
- if (!s) {
- if (56319 < r) {
- -1 < (t -= 3) && i.push(239, 191, 189);
- continue;
- }
- if (o + 1 === n) {
- -1 < (t -= 3) && i.push(239, 191, 189);
- continue;
- }
- s = r;
- continue;
- }
- if (r < 56320) {
- -1 < (t -= 3) && i.push(239, 191, 189), (s = r);
- continue;
- }
- r = 65536 + (((s - 55296) << 10) | (r - 56320));
- } else s && -1 < (t -= 3) && i.push(239, 191, 189);
- if (((s = null), r < 128)) {
- if (--t < 0) break;
- i.push(r);
- } else if (r < 2048) {
- if ((t -= 2) < 0) break;
- i.push((r >> 6) | 192, (63 & r) | 128);
- } else if (r < 65536) {
- if ((t -= 3) < 0) break;
- i.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;
- i.push((r >> 18) | 240, ((r >> 12) & 63) | 128, ((r >> 6) & 63) | 128, (63 & r) | 128);
- }
- }
- return i;
- }
- function D(e) {
- return k.toByteArray(
- (function (e) {
- var t;
- if ((e = ((t = e).trim ? t.trim() : t.replace(/^\s+|\s+$/g, '')).replace(O, '')).length < 2)
- return '';
- for (; e.length % 4 != 0; ) e += '=';
- return e;
- })(e)
- );
- }
- function I(e, t, r, n) {
- for (var s = 0; s < n && !(s + r >= t.length || s >= e.length); ++s) t[s + r] = e[s];
- return s;
- }
- }.call(this);
- }.call(
- this,
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {},
- C('buffer').Buffer
- );
- },
- { 'base64-js': 85, buffer: 89, ieee754: 346, isarray: 355 }
- ],
- 90: [
- 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'
- };
- },
- {}
- ],
- 91: [
- function (e, t, r) {
- 'use strict';
- var n = Array.prototype.slice;
- function s(e, t) {
- if (!(this instanceof s)) return new s(e, t);
- (this.src = e), (this._withAccess = t);
- }
- ((t.exports = s).prototype.withAccess = function (e) {
- return (this._withAccess = !1 !== e), this;
- }),
- (s.prototype.pick = function (e) {
- return (e = Array.isArray(e) ? e : n.call(arguments)).length && (this.keys = e), this;
- }),
- (s.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++) void 0 === e[(i = t[r])] && (e[i] = this.src[i]);
- return e;
- }
- for (r = 0; r < t.length; r++) {
- var n,
- s,
- i = t[r];
- void 0 === (n = e)[(s = i)] &&
- void 0 === n.__lookupGetter__(s) &&
- void 0 === n.__lookupSetter__(s) &&
- ((n = this.src.__lookupGetter__(i)),
- (s = this.src.__lookupSetter__(i)),
- n && e.__defineGetter__(i, n),
- s && e.__defineSetter__(i, s),
- n || s || (e[i] = this.src[i]));
- }
- return e;
- }),
- (s.prototype.override = s.prototype.toCover =
- function (e) {
- for (var t = this.keys || Object.keys(this.src), r = 0; r < t.length; r++) {
- var n = t[r],
- s = (delete e[n], this.src.__lookupGetter__(n)),
- i = this.src.__lookupSetter__(n);
- s && e.__defineGetter__(n, s), i && e.__defineSetter__(n, i), s || i || (e[n] = this.src[n]);
- }
- }),
- (s.prototype.and = function (e) {
- var t = {};
- return this.to(t), (this.src = e), this.to(t), (this.src = t), this;
- });
- },
- {}
- ],
- 92: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/is-callable'),
- i = e('../internals/try-to-string'),
- o = n.TypeError;
- t.exports = function (e) {
- if (s(e)) return e;
- throw o(i(e) + ' is not a function');
- };
- },
- { '../internals/global': 160, '../internals/is-callable': 173, '../internals/try-to-string': 254 }
- ],
- 93: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/is-constructor'),
- i = e('../internals/try-to-string'),
- o = n.TypeError;
- t.exports = function (e) {
- if (s(e)) return e;
- throw o(i(e) + ' is not a constructor');
- };
- },
- { '../internals/global': 160, '../internals/is-constructor': 174, '../internals/try-to-string': 254 }
- ],
- 94: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/is-callable'),
- i = n.String,
- o = n.TypeError;
- t.exports = function (e) {
- if ('object' == typeof e || s(e)) return e;
- throw o("Can't set " + i(e) + ' as a prototype');
- };
- },
- { '../internals/global': 160, '../internals/is-callable': 173 }
- ],
- 95: [
- function (e, t, r) {
- var n = e('../internals/well-known-symbol'),
- s = e('../internals/object-create'),
- e = e('../internals/object-define-property'),
- i = n('unscopables'),
- o = Array.prototype;
- null == o[i] && e.f(o, i, { configurable: !0, value: s(null) }),
- (t.exports = function (e) {
- o[i][e] = !0;
- });
- },
- {
- '../internals/object-create': 193,
- '../internals/object-define-property': 195,
- '../internals/well-known-symbol': 265
- }
- ],
- 96: [
- 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': 236 }
- ],
- 97: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/object-is-prototype-of'),
- i = n.TypeError;
- t.exports = function (e, t) {
- if (s(t, e)) return e;
- throw i('Incorrect invocation');
- };
- },
- { '../internals/global': 160, '../internals/object-is-prototype-of': 201 }
- ],
- 98: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/is-object'),
- i = n.String,
- o = n.TypeError;
- t.exports = function (e) {
- if (s(e)) return e;
- throw o(i(e) + ' is not an object');
- };
- },
- { '../internals/global': 160, '../internals/is-object': 177 }
- ],
- 99: [
- function (e, t, r) {
- t.exports = 'undefined' != typeof ArrayBuffer && 'undefined' != typeof DataView;
- },
- {}
- ],
- 100: [
- function (e, t, r) {
- 'use strict';
- function n(e) {
- return !!p(e) && ((e = d(e)), f(I, e) || f(C, e));
- }
- var s,
- i,
- o,
- a = e('../internals/array-buffer-native'),
- c = e('../internals/descriptors'),
- l = e('../internals/global'),
- u = e('../internals/is-callable'),
- p = e('../internals/is-object'),
- f = e('../internals/has-own-property'),
- d = e('../internals/classof'),
- h = e('../internals/try-to-string'),
- m = e('../internals/create-non-enumerable-property'),
- y = e('../internals/redefine'),
- b = e('../internals/object-define-property').f,
- g = e('../internals/object-is-prototype-of'),
- v = e('../internals/object-get-prototype-of'),
- j = e('../internals/object-set-prototype-of'),
- w = e('../internals/well-known-symbol'),
- e = e('../internals/uid'),
- x = l.Int8Array,
- T = x && x.prototype,
- k = l.Uint8ClampedArray,
- k = k && k.prototype,
- E = x && v(x),
- _ = T && v(T),
- x = Object.prototype,
- S = l.TypeError,
- w = w('toStringTag'),
- O = e('TYPED_ARRAY_TAG'),
- A = e('TYPED_ARRAY_CONSTRUCTOR'),
- D = a && !!j && 'Opera' !== d(l.opera),
- e = !1,
- I = {
- Int8Array: 1,
- Uint8Array: 1,
- Uint8ClampedArray: 1,
- Int16Array: 2,
- Uint16Array: 2,
- Int32Array: 4,
- Uint32Array: 4,
- Float32Array: 4,
- Float64Array: 8
- },
- C = { BigInt64Array: 8, BigUint64Array: 8 };
- for (s in I) (o = (i = l[s]) && i.prototype) ? m(o, A, i) : (D = !1);
- for (s in C) (o = (i = l[s]) && i.prototype) && m(o, A, i);
- if (
- (!D || !u(E) || E === Function.prototype) &&
- ((E = function () {
- throw S('Incorrect invocation');
- }),
- D)
- )
- for (s in I) l[s] && j(l[s], E);
- if ((!D || !_ || _ === x) && ((_ = E.prototype), D)) for (s in I) l[s] && j(l[s].prototype, _);
- if ((D && v(k) !== _ && j(k, _), c && !f(_, w)))
- for (s in ((e = !0),
- b(_, w, {
- get: function () {
- return p(this) ? this[O] : void 0;
- }
- }),
- I))
- l[s] && m(l[s], O, s);
- t.exports = {
- NATIVE_ARRAY_BUFFER_VIEWS: D,
- TYPED_ARRAY_CONSTRUCTOR: A,
- TYPED_ARRAY_TAG: e && O,
- aTypedArray: function (e) {
- if (n(e)) return e;
- throw S('Target is not a typed array');
- },
- aTypedArrayConstructor: function (e) {
- if (!u(e) || (j && !g(E, e))) throw S(h(e) + ' is not a typed array constructor');
- return e;
- },
- exportTypedArrayMethod: function (t, r, e, n) {
- if (c) {
- if (e)
- for (var s in I) {
- s = l[s];
- if (s && f(s.prototype, t))
- try {
- delete s.prototype[t];
- } catch (e) {
- try {
- s.prototype[t] = r;
- } catch (e) {}
- }
- }
- (_[t] && !e) || y(_, t, (!e && D && T[t]) || r, n);
- }
- },
- exportTypedArrayStaticMethod: function (e, t, r) {
- var n, s;
- if (c) {
- if (j) {
- if (r)
- for (n in I)
- if ((s = l[n]) && f(s, e))
- try {
- delete s[e];
- } catch (e) {}
- if (E[e] && !r) return;
- try {
- return y(E, e, (!r && D && E[e]) || t);
- } catch (e) {}
- }
- for (n in I) !(s = l[n]) || (s[e] && !r) || y(s, e, t);
- }
- },
- isView: function (e) {
- if (!p(e)) return !1;
- e = d(e);
- return 'DataView' === e || f(I, e) || f(C, e);
- },
- isTypedArray: n,
- TypedArray: E,
- TypedArrayPrototype: _
- };
- },
- {
- '../internals/array-buffer-native': 99,
- '../internals/classof': 121,
- '../internals/create-non-enumerable-property': 126,
- '../internals/descriptors': 131,
- '../internals/global': 160,
- '../internals/has-own-property': 161,
- '../internals/is-callable': 173,
- '../internals/is-object': 177,
- '../internals/object-define-property': 195,
- '../internals/object-get-prototype-of': 200,
- '../internals/object-is-prototype-of': 201,
- '../internals/object-set-prototype-of': 205,
- '../internals/redefine': 219,
- '../internals/try-to-string': 254,
- '../internals/uid': 260,
- '../internals/well-known-symbol': 265
- }
- ],
- 101: [
- function (e, M, L) {
- 'use strict';
- function r(e) {
- return [255 & e];
- }
- function n(e) {
- return [255 & e, (e >> 8) & 255];
- }
- function s(e) {
- return [255 & e, (e >> 8) & 255, (e >> 16) & 255, (e >> 24) & 255];
- }
- function t(e) {
- return (e[3] << 24) | (e[2] << 16) | (e[1] << 8) | e[0];
- }
- function B(e) {
- return C(e, 23, 4);
- }
- function q(e) {
- return C(e, 52, 8);
- }
- function i(e, t) {
- z(e[T], t, {
- get: function () {
- return w(this)[t];
- }
- });
- }
- function o(e, t, r, n) {
- if (((r = y(r)), (e = w(e)), r + t > e.byteLength)) throw I(k);
- var s = w(e.buffer).bytes,
- r = r + e.byteOffset,
- e = H(s, r, r + t);
- return n ? e : J(e);
- }
- function a(e, t, r, n, s, i) {
- if (((r = y(r)), (e = w(e)), r + t > e.byteLength)) throw I(k);
- for (var o = w(e.buffer).bytes, a = r + e.byteOffset, c = n(+s), l = 0; l < t; l++)
- o[a + l] = c[i ? l : t - l - 1];
- }
- var c = e('../internals/global'),
- l = e('../internals/function-uncurry-this'),
- u = e('../internals/descriptors'),
- F = e('../internals/array-buffer-native'),
- p = e('../internals/function-name'),
- f = e('../internals/create-non-enumerable-property'),
- d = e('../internals/redefine-all'),
- h = e('../internals/fails'),
- m = e('../internals/an-instance'),
- U = e('../internals/to-integer-or-infinity'),
- G = e('../internals/to-length'),
- y = e('../internals/to-index'),
- b = e('../internals/ieee754'),
- X = e('../internals/object-get-prototype-of'),
- g = e('../internals/object-set-prototype-of'),
- V = e('../internals/object-get-own-property-names').f,
- z = e('../internals/object-define-property').f,
- W = e('../internals/array-fill'),
- H = e('../internals/array-slice-simple'),
- v = e('../internals/set-to-string-tag'),
- e = e('../internals/internal-state'),
- K = p.PROPER,
- j = p.CONFIGURABLE,
- w = e.get,
- x = e.set,
- p = 'ArrayBuffer',
- e = 'DataView',
- T = 'prototype',
- k = 'Wrong index',
- E = c[p],
- _ = E,
- S = _ && _[T],
- O = c[e],
- A = O && O[T],
- D = Object.prototype,
- Y = c.Array,
- I = c.RangeError,
- $ = l(W),
- J = l([].reverse),
- C = b.pack,
- N = b.unpack;
- if (F) {
- var R = K && E.name !== p;
- if (
- h(function () {
- E(1);
- }) &&
- h(function () {
- new E(-1);
- }) &&
- !h(function () {
- return new E(), new E(1.5), new E(NaN), R && !j;
- })
- )
- R && j && f(E, 'name', p);
- else {
- (_ = function (e) {
- return m(this, S), new E(y(e));
- })[T] = S;
- for (var P, Z = V(E), Q = 0; Z.length > Q; ) (P = Z[Q++]) in _ || f(_, P, E[P]);
- S.constructor = _;
- }
- g && X(A) !== D && g(A, D);
- var c = new O(new _(2)),
- ee = l(A.setInt8);
- c.setInt8(0, 2147483648),
- c.setInt8(1, 2147483649),
- (!c.getInt8(0) && c.getInt8(1)) ||
- d(
- A,
- {
- setInt8: function (e, t) {
- ee(this, e, (t << 24) >> 24);
- },
- setUint8: function (e, t) {
- ee(this, e, (t << 24) >> 24);
- }
- },
- { unsafe: !0 }
- );
- } else
- (S = (_ = function (e) {
- m(this, S);
- e = y(e);
- x(this, { bytes: $(Y(e), 0), byteLength: e }), u || (this.byteLength = e);
- })[T]),
- (A = (O = function (e, t, r) {
- m(this, A), m(e, S);
- var n = w(e).byteLength,
- t = U(t);
- if (t < 0 || n < t) throw I('Wrong offset');
- if (n < t + (r = void 0 === r ? n - t : G(r))) throw I('Wrong length');
- x(this, { buffer: e, byteLength: r, byteOffset: t }),
- u || ((this.buffer = e), (this.byteLength = r), (this.byteOffset = t));
- })[T]),
- u && (i(_, 'byteLength'), i(O, 'buffer'), i(O, 'byteLength'), i(O, 'byteOffset')),
- d(A, {
- getInt8: function (e) {
- return (o(this, 1, e)[0] << 24) >> 24;
- },
- getUint8: function (e) {
- return o(this, 1, e)[0];
- },
- getInt16: function (e) {
- e = o(this, 2, e, 1 < arguments.length ? arguments[1] : void 0);
- return (((e[1] << 8) | e[0]) << 16) >> 16;
- },
- getUint16: function (e) {
- e = o(this, 2, e, 1 < arguments.length ? arguments[1] : void 0);
- return (e[1] << 8) | e[0];
- },
- getInt32: function (e) {
- return t(o(this, 4, e, 1 < arguments.length ? arguments[1] : void 0));
- },
- getUint32: function (e) {
- return t(o(this, 4, e, 1 < arguments.length ? arguments[1] : void 0)) >>> 0;
- },
- getFloat32: function (e) {
- return N(o(this, 4, e, 1 < arguments.length ? arguments[1] : void 0), 23);
- },
- getFloat64: function (e) {
- return N(o(this, 8, e, 1 < arguments.length ? arguments[1] : void 0), 52);
- },
- setInt8: function (e, t) {
- a(this, 1, e, r, t);
- },
- setUint8: function (e, t) {
- a(this, 1, e, r, t);
- },
- setInt16: function (e, t) {
- a(this, 2, e, n, t, 2 < arguments.length ? arguments[2] : void 0);
- },
- setUint16: function (e, t) {
- a(this, 2, e, n, t, 2 < arguments.length ? arguments[2] : void 0);
- },
- setInt32: function (e, t) {
- a(this, 4, e, s, t, 2 < arguments.length ? arguments[2] : void 0);
- },
- setUint32: function (e, t) {
- a(this, 4, e, s, t, 2 < arguments.length ? arguments[2] : void 0);
- },
- setFloat32: function (e, t) {
- a(this, 4, e, B, t, 2 < arguments.length ? arguments[2] : void 0);
- },
- setFloat64: function (e, t) {
- a(this, 8, e, q, t, 2 < arguments.length ? arguments[2] : void 0);
- }
- });
- v(_, p), v(O, e), (M.exports = { ArrayBuffer: _, DataView: O });
- },
- {
- '../internals/an-instance': 97,
- '../internals/array-buffer-native': 99,
- '../internals/array-fill': 103,
- '../internals/array-slice-simple': 113,
- '../internals/create-non-enumerable-property': 126,
- '../internals/descriptors': 131,
- '../internals/fails': 147,
- '../internals/function-name': 153,
- '../internals/function-uncurry-this': 154,
- '../internals/global': 160,
- '../internals/ieee754': 166,
- '../internals/internal-state': 170,
- '../internals/object-define-property': 195,
- '../internals/object-get-own-property-names': 198,
- '../internals/object-get-prototype-of': 200,
- '../internals/object-set-prototype-of': 205,
- '../internals/redefine-all': 218,
- '../internals/set-to-string-tag': 231,
- '../internals/to-index': 243,
- '../internals/to-integer-or-infinity': 245,
- '../internals/to-length': 246
- }
- ],
- 102: [
- function (e, t, r) {
- 'use strict';
- var c = e('../internals/to-object'),
- l = e('../internals/to-absolute-index'),
- u = e('../internals/length-of-array-like'),
- p = Math.min;
- t.exports =
- [].copyWithin ||
- function (e, t) {
- var r = c(this),
- n = u(r),
- s = l(e, n),
- i = l(t, n),
- e = 2 < arguments.length ? arguments[2] : void 0,
- o = p((void 0 === e ? n : l(e, n)) - i, n - s),
- a = 1;
- for (i < s && s < i + o && ((a = -1), (i += o - 1), (s += o - 1)); 0 < o--; )
- i in r ? (r[s] = r[i]) : delete r[s], (s += a), (i += a);
- return r;
- };
- },
- {
- '../internals/length-of-array-like': 185,
- '../internals/to-absolute-index': 242,
- '../internals/to-object': 247
- }
- ],
- 103: [
- function (e, t, r) {
- 'use strict';
- var o = e('../internals/to-object'),
- a = e('../internals/to-absolute-index'),
- c = e('../internals/length-of-array-like');
- t.exports = function (e) {
- for (
- var t = o(this),
- r = c(t),
- n = arguments.length,
- s = a(1 < n ? arguments[1] : void 0, r),
- n = 2 < n ? arguments[2] : void 0,
- i = void 0 === n ? r : a(n, r);
- s < i;
- )
- t[s++] = e;
- return t;
- };
- },
- {
- '../internals/length-of-array-like': 185,
- '../internals/to-absolute-index': 242,
- '../internals/to-object': 247
- }
- ],
- 104: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-iteration').forEach,
- e = e('../internals/array-method-is-strict')('forEach');
- t.exports = e
- ? [].forEach
- : function (e) {
- return n(this, e, 1 < arguments.length ? arguments[1] : void 0);
- };
- },
- { '../internals/array-iteration': 108, '../internals/array-method-is-strict': 111 }
- ],
- 105: [
- function (e, t, r) {
- var i = e('../internals/length-of-array-like');
- t.exports = function (e, t) {
- for (var r = 0, n = i(t), s = new e(n); r < n; ) s[r] = t[r++];
- return s;
- };
- },
- { '../internals/length-of-array-like': 185 }
- ],
- 106: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/global'),
- f = e('../internals/function-bind-context'),
- d = e('../internals/function-call'),
- h = e('../internals/to-object'),
- m = e('../internals/call-with-safe-iteration-closing'),
- y = e('../internals/is-array-iterator-method'),
- b = e('../internals/is-constructor'),
- g = e('../internals/length-of-array-like'),
- v = e('../internals/create-property'),
- j = e('../internals/get-iterator'),
- w = e('../internals/get-iterator-method'),
- x = n.Array;
- t.exports = function (e) {
- var t,
- r,
- n,
- s,
- i,
- o,
- a = h(e),
- e = b(this),
- c = arguments.length,
- l = 1 < c ? arguments[1] : void 0,
- u = void 0 !== l,
- c = (u && (l = f(l, 2 < c ? arguments[2] : void 0)), w(a)),
- p = 0;
- if (!c || (this == x && y(c)))
- for (t = g(a), r = e ? new this(t) : x(t); p < t; p++) (o = u ? l(a[p], p) : a[p]), v(r, p, o);
- else
- for (i = (s = j(a, c)).next, r = e ? new this() : []; !(n = d(i, s)).done; p++)
- (o = u ? m(s, l, [n.value, p], !0) : n.value), v(r, p, o);
- return (r.length = p), r;
- };
- },
- {
- '../internals/call-with-safe-iteration-closing': 118,
- '../internals/create-property': 128,
- '../internals/function-bind-context': 150,
- '../internals/function-call': 152,
- '../internals/get-iterator': 157,
- '../internals/get-iterator-method': 156,
- '../internals/global': 160,
- '../internals/is-array-iterator-method': 171,
- '../internals/is-constructor': 174,
- '../internals/length-of-array-like': 185,
- '../internals/to-object': 247
- }
- ],
- 107: [
- function (e, t, r) {
- function n(a) {
- return function (e, t, r) {
- var n,
- s = c(e),
- i = u(s),
- o = l(r, i);
- if (a && t != t) {
- for (; o < i; ) if ((n = s[o++]) != n) return !0;
- } else for (; o < i; o++) if ((a || o in s) && s[o] === t) return a || o || 0;
- return !a && -1;
- };
- }
- var c = e('../internals/to-indexed-object'),
- l = e('../internals/to-absolute-index'),
- u = e('../internals/length-of-array-like');
- t.exports = { includes: n(!0), indexOf: n(!1) };
- },
- {
- '../internals/length-of-array-like': 185,
- '../internals/to-absolute-index': 242,
- '../internals/to-indexed-object': 244
- }
- ],
- 108: [
- function (e, t, r) {
- function n(f) {
- var d = 1 == f,
- h = 2 == f,
- m = 3 == f,
- y = 4 == f,
- b = 6 == f,
- g = 7 == f,
- v = 5 == f || b;
- return function (e, t, r, n) {
- for (
- var s,
- i,
- o = x(e),
- a = w(o),
- c = j(t, r),
- l = T(a),
- u = 0,
- t = n || k,
- p = d ? t(e, l) : h || g ? t(e, 0) : void 0;
- u < l;
- u++
- )
- if ((v || u in a) && ((i = c((s = a[u]), u, o)), f))
- if (d) p[u] = i;
- else if (i)
- switch (f) {
- case 3:
- return !0;
- case 5:
- return s;
- case 6:
- return u;
- case 2:
- E(p, s);
- }
- else
- switch (f) {
- case 4:
- return !1;
- case 7:
- E(p, s);
- }
- return b ? -1 : m || y ? y : p;
- };
- }
- var j = e('../internals/function-bind-context'),
- s = e('../internals/function-uncurry-this'),
- w = e('../internals/indexed-object'),
- x = e('../internals/to-object'),
- T = e('../internals/length-of-array-like'),
- k = e('../internals/array-species-create'),
- E = s([].push);
- t.exports = {
- forEach: n(0),
- map: n(1),
- filter: n(2),
- some: n(3),
- every: n(4),
- find: n(5),
- findIndex: n(6),
- filterReject: n(7)
- };
- },
- {
- '../internals/array-species-create': 117,
- '../internals/function-bind-context': 150,
- '../internals/function-uncurry-this': 154,
- '../internals/indexed-object': 167,
- '../internals/length-of-array-like': 185,
- '../internals/to-object': 247
- }
- ],
- 109: [
- function (e, t, r) {
- 'use strict';
- var s = e('../internals/function-apply'),
- i = e('../internals/to-indexed-object'),
- o = e('../internals/to-integer-or-infinity'),
- a = e('../internals/length-of-array-like'),
- e = e('../internals/array-method-is-strict'),
- c = Math.min,
- l = [].lastIndexOf,
- u = !!l && 1 / [1].lastIndexOf(1, -0) < 0,
- e = e('lastIndexOf');
- t.exports =
- u || !e
- ? function (e) {
- if (u) return s(l, this, arguments) || 0;
- var t = i(this),
- r = a(t),
- n = r - 1;
- for ((n = 1 < arguments.length ? c(n, o(arguments[1])) : n) < 0 && (n = r + n); 0 <= n; n--)
- if (n in t && t[n] === e) return n || 0;
- return -1;
- }
- : l;
- },
- {
- '../internals/array-method-is-strict': 111,
- '../internals/function-apply': 149,
- '../internals/length-of-array-like': 185,
- '../internals/to-indexed-object': 244,
- '../internals/to-integer-or-infinity': 245
- }
- ],
- 110: [
- function (e, t, r) {
- var n = e('../internals/fails'),
- s = e('../internals/well-known-symbol'),
- i = e('../internals/engine-v8-version'),
- o = s('species');
- t.exports = function (t) {
- return (
- 51 <= i ||
- !n(function () {
- var e = [];
- return (
- ((e.constructor = {})[o] = function () {
- return { foo: 1 };
- }),
- 1 !== e[t](Boolean).foo
- );
- })
- );
- };
- },
- { '../internals/engine-v8-version': 143, '../internals/fails': 147, '../internals/well-known-symbol': 265 }
- ],
- 111: [
- 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 () {
- return 1;
- },
- 1
- );
- })
- );
- };
- },
- { '../internals/fails': 147 }
- ],
- 112: [
- function (e, t, r) {
- function n(l) {
- return function (e, t, r, n) {
- u(t);
- var s = p(e),
- i = f(s),
- o = d(s),
- a = l ? o - 1 : 0,
- c = l ? -1 : 1;
- if (r < 2)
- for (;;) {
- if (a in i) {
- (n = i[a]), (a += c);
- break;
- }
- if (((a += c), l ? a < 0 : o <= a)) throw h('Reduce of empty array with no initial value');
- }
- for (; l ? 0 <= a : a < o; a += c) a in i && (n = t(n, i[a], a, s));
- return n;
- };
- }
- var s = e('../internals/global'),
- u = e('../internals/a-callable'),
- p = e('../internals/to-object'),
- f = e('../internals/indexed-object'),
- d = e('../internals/length-of-array-like'),
- h = s.TypeError;
- t.exports = { left: n(!1), right: n(!0) };
- },
- {
- '../internals/a-callable': 92,
- '../internals/global': 160,
- '../internals/indexed-object': 167,
- '../internals/length-of-array-like': 185,
- '../internals/to-object': 247
- }
- ],
- 113: [
- function (e, t, r) {
- var n = e('../internals/global'),
- c = e('../internals/to-absolute-index'),
- l = e('../internals/length-of-array-like'),
- u = e('../internals/create-property'),
- p = n.Array,
- f = Math.max;
- t.exports = function (e, t, r) {
- for (
- var n = l(e), s = c(t, n), i = c(void 0 === r ? n : r, n), o = p(f(i - s, 0)), a = 0;
- s < i;
- s++, a++
- )
- u(o, a, e[s]);
- return (o.length = a), o;
- };
- },
- {
- '../internals/create-property': 128,
- '../internals/global': 160,
- '../internals/length-of-array-like': 185,
- '../internals/to-absolute-index': 242
- }
- ],
- 114: [
- function (e, t, r) {
- e = e('../internals/function-uncurry-this');
- t.exports = e([].slice);
- },
- { '../internals/function-uncurry-this': 154 }
- ],
- 115: [
- function (e, t, r) {
- function g(e, t) {
- var r = e.length,
- n = j(r / 2);
- if (r < 8) {
- for (var s, i, o = e, a = t, c = o.length, l = 1; l < c; ) {
- for (s = o[(i = l)]; i && 0 < a(o[i - 1], s); ) o[i] = o[--i];
- i !== l++ && (o[i] = s);
- }
- return o;
- }
- for (
- var u = e, p = g(v(e, 0, n), t), f = g(v(e, n), t), d = t, h = p.length, m = f.length, y = 0, b = 0;
- y < h || b < m;
- )
- u[y + b] = y < h && b < m ? (d(p[y], f[b]) <= 0 ? p[y++] : f[b++]) : y < h ? p[y++] : f[b++];
- return u;
- }
- var v = e('../internals/array-slice-simple'),
- j = Math.floor;
- t.exports = g;
- },
- { '../internals/array-slice-simple': 113 }
- ],
- 116: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/is-array'),
- i = e('../internals/is-constructor'),
- o = e('../internals/is-object'),
- a = e('../internals/well-known-symbol')('species'),
- c = n.Array;
- t.exports = function (e) {
- var t;
- return (
- s(e) &&
- ((t = e.constructor),
- ((i(t) && (t === c || s(t.prototype))) || (o(t) && null === (t = t[a]))) && (t = void 0)),
- void 0 === t ? c : t
- );
- };
- },
- {
- '../internals/global': 160,
- '../internals/is-array': 172,
- '../internals/is-constructor': 174,
- '../internals/is-object': 177,
- '../internals/well-known-symbol': 265
- }
- ],
- 117: [
- function (e, t, r) {
- var n = e('../internals/array-species-constructor');
- t.exports = function (e, t) {
- return new (n(e))(0 === t ? 0 : t);
- };
- },
- { '../internals/array-species-constructor': 116 }
- ],
- 118: [
- function (e, t, r) {
- var s = e('../internals/an-object'),
- i = e('../internals/iterator-close');
- t.exports = function (t, e, r, n) {
- try {
- return n ? e(s(r)[0], r[1]) : e(r);
- } catch (e) {
- i(t, 'throw', e);
- }
- };
- },
- { '../internals/an-object': 98, '../internals/iterator-close': 182 }
- ],
- 119: [
- function (e, t, r) {
- var s = e('../internals/well-known-symbol')('iterator'),
- i = !1;
- try {
- var n = 0,
- o = {
- next: function () {
- return { done: !!n++ };
- },
- return: function () {
- i = !0;
- }
- };
- (o[s] = function () {
- return this;
- }),
- Array.from(o, function () {
- throw 2;
- });
- } catch (e) {}
- t.exports = function (e, t) {
- if (!t && !i) return !1;
- var r = !1;
- try {
- var n = {};
- (n[s] = function () {
- return {
- next: function () {
- return { done: (r = !0) };
- }
- };
- }),
- e(n);
- } catch (e) {}
- return r;
- };
- },
- { '../internals/well-known-symbol': 265 }
- ],
- 120: [
- function (e, t, r) {
- var e = e('../internals/function-uncurry-this'),
- n = e({}.toString),
- s = e(''.slice);
- t.exports = function (e) {
- return s(n(e), 8, -1);
- };
- },
- { '../internals/function-uncurry-this': 154 }
- ],
- 121: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/to-string-tag-support'),
- i = e('../internals/is-callable'),
- o = e('../internals/classof-raw'),
- a = e('../internals/well-known-symbol')('toStringTag'),
- c = n.Object,
- l =
- 'Arguments' ==
- o(
- (function () {
- return arguments;
- })()
- );
- t.exports = s
- ? o
- : function (e) {
- var t;
- return void 0 === e
- ? 'Undefined'
- : null === e
- ? 'Null'
- : 'string' ==
- typeof (t = (function (e, t) {
- try {
- return e[t];
- } catch (e) {}
- })((e = c(e)), a))
- ? t
- : l
- ? o(e)
- : 'Object' == (t = o(e)) && i(e.callee)
- ? 'Arguments'
- : t;
- };
- },
- {
- '../internals/classof-raw': 120,
- '../internals/global': 160,
- '../internals/is-callable': 173,
- '../internals/to-string-tag-support': 252,
- '../internals/well-known-symbol': 265
- }
- ],
- 122: [
- function (e, t, r) {
- var c = e('../internals/has-own-property'),
- l = e('../internals/own-keys'),
- u = e('../internals/object-get-own-property-descriptor'),
- p = e('../internals/object-define-property');
- t.exports = function (e, t, r) {
- for (var n = l(t), s = p.f, i = u.f, o = 0; o < n.length; o++) {
- var a = n[o];
- c(e, a) || (r && c(r, a)) || s(e, a, i(t, a));
- }
- };
- },
- {
- '../internals/has-own-property': 161,
- '../internals/object-define-property': 195,
- '../internals/object-get-own-property-descriptor': 196,
- '../internals/own-keys': 209
- }
- ],
- 123: [
- function (e, t, r) {
- var n = e('../internals/well-known-symbol')('match');
- t.exports = function (t) {
- var r = /./;
- try {
- '/./'[t](r);
- } catch (e) {
- try {
- return (r[n] = !1), '/./'[t](r);
- } catch (e) {}
- }
- return !1;
- };
- },
- { '../internals/well-known-symbol': 265 }
- ],
- 124: [
- function (e, t, r) {
- e = e('../internals/fails');
- t.exports = !e(function () {
- function e() {}
- return (e.prototype.constructor = null), Object.getPrototypeOf(new e()) !== e.prototype;
- });
- },
- { '../internals/fails': 147 }
- ],
- 125: [
- function (e, t, r) {
- 'use strict';
- function s() {
- return this;
- }
- var i = e('../internals/iterators-core').IteratorPrototype,
- o = e('../internals/object-create'),
- a = e('../internals/create-property-descriptor'),
- c = e('../internals/set-to-string-tag'),
- l = e('../internals/iterators');
- t.exports = function (e, t, r, n) {
- t += ' Iterator';
- return (e.prototype = o(i, { next: a(+!n, r) })), c(e, t, !1, !0), (l[t] = s), e;
- };
- },
- {
- '../internals/create-property-descriptor': 127,
- '../internals/iterators': 184,
- '../internals/iterators-core': 183,
- '../internals/object-create': 193,
- '../internals/set-to-string-tag': 231
- }
- ],
- 126: [
- function (e, t, r) {
- var n = e('../internals/descriptors'),
- s = e('../internals/object-define-property'),
- i = e('../internals/create-property-descriptor');
- t.exports = n
- ? function (e, t, r) {
- return s.f(e, t, i(1, r));
- }
- : function (e, t, r) {
- return (e[t] = r), e;
- };
- },
- {
- '../internals/create-property-descriptor': 127,
- '../internals/descriptors': 131,
- '../internals/object-define-property': 195
- }
- ],
- 127: [
- function (e, t, r) {
- t.exports = function (e, t) {
- return { enumerable: !(1 & e), configurable: !(2 & e), writable: !(4 & e), value: t };
- };
- },
- {}
- ],
- 128: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/to-property-key'),
- s = e('../internals/object-define-property'),
- i = e('../internals/create-property-descriptor');
- t.exports = function (e, t, r) {
- t = n(t);
- t in e ? s.f(e, t, i(0, r)) : (e[t] = r);
- };
- },
- {
- '../internals/create-property-descriptor': 127,
- '../internals/object-define-property': 195,
- '../internals/to-property-key': 251
- }
- ],
- 129: [
- function (e, t, r) {
- 'use strict';
- function m() {
- return this;
- }
- var y = e('../internals/export'),
- b = e('../internals/function-call'),
- g = e('../internals/is-pure'),
- n = e('../internals/function-name'),
- v = e('../internals/is-callable'),
- j = e('../internals/create-iterator-constructor'),
- w = e('../internals/object-get-prototype-of'),
- x = e('../internals/object-set-prototype-of'),
- T = e('../internals/set-to-string-tag'),
- k = e('../internals/create-non-enumerable-property'),
- E = e('../internals/redefine'),
- s = e('../internals/well-known-symbol'),
- _ = e('../internals/iterators'),
- e = e('../internals/iterators-core'),
- S = n.PROPER,
- O = n.CONFIGURABLE,
- A = e.IteratorPrototype,
- D = e.BUGGY_SAFARI_ITERATORS,
- I = s('iterator'),
- C = 'values';
- t.exports = function (e, t, r, n, s, i, o) {
- j(r, t, n);
- function a(e) {
- if (e === s && d) return d;
- if (!D && e in p) return p[e];
- switch (e) {
- case 'keys':
- case C:
- case 'entries':
- return function () {
- return new r(this, e);
- };
- }
- return function () {
- return new r(this);
- };
- }
- var c,
- l,
- n = t + ' Iterator',
- u = !1,
- p = e.prototype,
- f = p[I] || p['@@iterator'] || (s && p[s]),
- d = (!D && f) || a(s),
- h = ('Array' == t && p.entries) || f;
- if (
- (h &&
- (h = w(h.call(new e()))) !== Object.prototype &&
- h.next &&
- (g || w(h) === A || (x ? x(h, A) : v(h[I]) || E(h, I, m)), T(h, n, !0, !0), g && (_[n] = m)),
- S &&
- s == C &&
- f &&
- f.name !== C &&
- (!g && O
- ? k(p, 'name', C)
- : ((u = !0),
- (d = function () {
- return b(f, this);
- }))),
- s)
- )
- if (((c = { values: a(C), keys: i ? d : a('keys'), entries: a('entries') }), o))
- for (l in c) (!D && !u && l in p) || E(p, l, c[l]);
- else y({ target: t, proto: !0, forced: D || u }, c);
- return (g && !o) || p[I] === d || E(p, I, d, { name: s }), (_[t] = d), c;
- };
- },
- {
- '../internals/create-iterator-constructor': 125,
- '../internals/create-non-enumerable-property': 126,
- '../internals/export': 146,
- '../internals/function-call': 152,
- '../internals/function-name': 153,
- '../internals/is-callable': 173,
- '../internals/is-pure': 178,
- '../internals/iterators': 184,
- '../internals/iterators-core': 183,
- '../internals/object-get-prototype-of': 200,
- '../internals/object-set-prototype-of': 205,
- '../internals/redefine': 219,
- '../internals/set-to-string-tag': 231,
- '../internals/well-known-symbol': 265
- }
- ],
- 130: [
- function (e, t, r) {
- var n = e('../internals/path'),
- s = e('../internals/has-own-property'),
- i = e('../internals/well-known-symbol-wrapped'),
- o = e('../internals/object-define-property').f;
- t.exports = function (e) {
- var t = n.Symbol || (n.Symbol = {});
- s(t, e) || o(t, e, { value: i.f(e) });
- };
- },
- {
- '../internals/has-own-property': 161,
- '../internals/object-define-property': 195,
- '../internals/path': 210,
- '../internals/well-known-symbol-wrapped': 264
- }
- ],
- 131: [
- function (e, t, r) {
- e = e('../internals/fails');
- t.exports = !e(function () {
- return (
- 7 !=
- Object.defineProperty({}, 1, {
- get: function () {
- return 7;
- }
- })[1]
- );
- });
- },
- { '../internals/fails': 147 }
- ],
- 132: [
- function (e, t, r) {
- var n = e('../internals/global'),
- e = e('../internals/is-object'),
- s = n.document,
- i = e(s) && e(s.createElement);
- t.exports = function (e) {
- return i ? s.createElement(e) : {};
- };
- },
- { '../internals/global': 160, '../internals/is-object': 177 }
- ],
- 133: [
- 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
- };
- },
- {}
- ],
- 134: [
- function (e, t, r) {
- (e = e('../internals/document-create-element')('span').classList),
- (e = e && e.constructor && e.constructor.prototype);
- t.exports = e === Object.prototype ? void 0 : e;
- },
- { '../internals/document-create-element': 132 }
- ],
- 135: [
- function (e, t, r) {
- e = e('../internals/engine-user-agent').match(/firefox\/(\d+)/i);
- t.exports = !!e && +e[1];
- },
- { '../internals/engine-user-agent': 142 }
- ],
- 136: [
- function (e, t, r) {
- t.exports = 'object' == typeof window && 'object' != typeof Deno;
- },
- {}
- ],
- 137: [
- function (e, t, r) {
- e = e('../internals/engine-user-agent');
- t.exports = /MSIE|Trident/.test(e);
- },
- { '../internals/engine-user-agent': 142 }
- ],
- 138: [
- function (e, t, r) {
- var n = e('../internals/engine-user-agent'),
- e = e('../internals/global');
- t.exports = /ipad|iphone|ipod/i.test(n) && void 0 !== e.Pebble;
- },
- { '../internals/engine-user-agent': 142, '../internals/global': 160 }
- ],
- 139: [
- function (e, t, r) {
- e = e('../internals/engine-user-agent');
- t.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(e);
- },
- { '../internals/engine-user-agent': 142 }
- ],
- 140: [
- function (e, t, r) {
- var n = e('../internals/classof-raw'),
- e = e('../internals/global');
- t.exports = 'process' == n(e.process);
- },
- { '../internals/classof-raw': 120, '../internals/global': 160 }
- ],
- 141: [
- function (e, t, r) {
- e = e('../internals/engine-user-agent');
- t.exports = /web0s(?!.*chrome)/i.test(e);
- },
- { '../internals/engine-user-agent': 142 }
- ],
- 142: [
- function (e, t, r) {
- e = e('../internals/get-built-in');
- t.exports = e('navigator', 'userAgent') || '';
- },
- { '../internals/get-built-in': 155 }
- ],
- 143: [
- function (e, t, r) {
- var n,
- s,
- i = e('../internals/global'),
- e = e('../internals/engine-user-agent'),
- o = i.process,
- i = i.Deno,
- o = (o && o.versions) || (i && i.version),
- i = o && o.v8;
- !(s = i ? (0 < (n = i.split('.'))[0] && n[0] < 4 ? 1 : +(n[0] + n[1])) : s) &&
- e &&
- (!(n = e.match(/Edge\/(\d+)/)) || 74 <= n[1]) &&
- (n = e.match(/Chrome\/(\d+)/)) &&
- (s = +n[1]),
- (t.exports = s);
- },
- { '../internals/engine-user-agent': 142, '../internals/global': 160 }
- ],
- 144: [
- function (e, t, r) {
- e = e('../internals/engine-user-agent').match(/AppleWebKit\/(\d+)\./);
- t.exports = !!e && +e[1];
- },
- { '../internals/engine-user-agent': 142 }
- ],
- 145: [
- function (e, t, r) {
- t.exports = [
- 'constructor',
- 'hasOwnProperty',
- 'isPrototypeOf',
- 'propertyIsEnumerable',
- 'toLocaleString',
- 'toString',
- 'valueOf'
- ];
- },
- {}
- ],
- 146: [
- function (e, t, r) {
- var l = e('../internals/global'),
- u = e('../internals/object-get-own-property-descriptor').f,
- p = e('../internals/create-non-enumerable-property'),
- f = e('../internals/redefine'),
- d = e('../internals/set-global'),
- h = e('../internals/copy-constructor-properties'),
- m = e('../internals/is-forced');
- t.exports = function (e, t) {
- var r,
- n,
- s,
- i = e.target,
- o = e.global,
- a = e.stat,
- c = o ? l : a ? l[i] || d(i, {}) : (l[i] || {}).prototype;
- if (c)
- for (r in t) {
- if (
- ((n = t[r]),
- (s = e.noTargetGet ? (s = u(c, r)) && s.value : c[r]),
- !m(o ? r : i + (a ? '.' : '#') + r, e.forced) && void 0 !== s)
- ) {
- if (typeof n == typeof s) continue;
- h(n, s);
- }
- (e.sham || (s && s.sham)) && p(n, 'sham', !0), f(c, r, n, e);
- }
- };
- },
- {
- '../internals/copy-constructor-properties': 122,
- '../internals/create-non-enumerable-property': 126,
- '../internals/global': 160,
- '../internals/is-forced': 175,
- '../internals/object-get-own-property-descriptor': 196,
- '../internals/redefine': 219,
- '../internals/set-global': 229
- }
- ],
- 147: [
- function (e, t, r) {
- t.exports = function (e) {
- try {
- return !!e();
- } catch (e) {
- return !0;
- }
- };
- },
- {}
- ],
- 148: [
- function (e, t, r) {
- 'use strict';
- e('../modules/es.regexp.exec');
- var c = e('../internals/function-uncurry-this'),
- l = e('../internals/redefine'),
- u = e('../internals/regexp-exec'),
- p = e('../internals/fails'),
- f = e('../internals/well-known-symbol'),
- d = e('../internals/create-non-enumerable-property'),
- h = f('species'),
- m = RegExp.prototype;
- t.exports = function (r, e, t, n) {
- var o,
- s = f(r),
- a = !p(function () {
- var e = {};
- return (
- (e[s] = function () {
- return 7;
- }),
- 7 != ''[r](e)
- );
- }),
- i =
- a &&
- !p(function () {
- var e = !1,
- t = /a/;
- return (
- 'split' === r &&
- (((t = { constructor: {} }).constructor[h] = function () {
- return t;
- }),
- (t.flags = ''),
- (t[s] = /./[s])),
- (t.exec = function () {
- return (e = !0), null;
- }),
- t[s](''),
- !e
- );
- });
- (a && i && !t) ||
- ((o = c(/./[s])),
- (i = e(s, ''[r], function (e, t, r, n, s) {
- var e = c(e),
- i = t.exec;
- return i === u || i === m.exec
- ? a && !s
- ? { done: !0, value: o(t, r, n) }
- : { done: !0, value: e(r, t, n) }
- : { done: !1 };
- })),
- l(String.prototype, r, i[0]),
- l(m, s, i[1])),
- n && d(m[s], 'sham', !0);
- };
- },
- {
- '../internals/create-non-enumerable-property': 126,
- '../internals/fails': 147,
- '../internals/function-uncurry-this': 154,
- '../internals/redefine': 219,
- '../internals/regexp-exec': 221,
- '../internals/well-known-symbol': 265,
- '../modules/es.regexp.exec': 299
- }
- ],
- 149: [
- function (e, t, r) {
- var e = e('../internals/function-bind-native'),
- n = Function.prototype,
- s = n.apply,
- i = n.call;
- t.exports =
- ('object' == typeof Reflect && Reflect.apply) ||
- (e
- ? i.bind(s)
- : function () {
- return i.apply(s, arguments);
- });
- },
- { '../internals/function-bind-native': 151 }
- ],
- 150: [
- function (e, t, r) {
- var n = e('../internals/function-uncurry-this'),
- s = e('../internals/a-callable'),
- i = e('../internals/function-bind-native'),
- o = n(n.bind);
- t.exports = function (e, t) {
- return (
- s(e),
- void 0 === t
- ? e
- : i
- ? o(e, t)
- : function () {
- return e.apply(t, arguments);
- }
- );
- };
- },
- {
- '../internals/a-callable': 92,
- '../internals/function-bind-native': 151,
- '../internals/function-uncurry-this': 154
- }
- ],
- 151: [
- function (e, t, r) {
- e = e('../internals/fails');
- t.exports = !e(function () {
- var e = function () {}.bind();
- return 'function' != typeof e || e.hasOwnProperty('prototype');
- });
- },
- { '../internals/fails': 147 }
- ],
- 152: [
- function (e, t, r) {
- var e = e('../internals/function-bind-native'),
- n = Function.prototype.call;
- t.exports = e
- ? n.bind(n)
- : function () {
- return n.apply(n, arguments);
- };
- },
- { '../internals/function-bind-native': 151 }
- ],
- 153: [
- function (e, t, r) {
- var n = e('../internals/descriptors'),
- e = e('../internals/has-own-property'),
- s = Function.prototype,
- i = n && Object.getOwnPropertyDescriptor,
- e = e(s, 'name'),
- o = e && 'something' === function () {}.name,
- n = e && (!n || i(s, 'name').configurable);
- t.exports = { EXISTS: e, PROPER: o, CONFIGURABLE: n };
- },
- { '../internals/descriptors': 131, '../internals/has-own-property': 161 }
- ],
- 154: [
- function (e, t, r) {
- var e = e('../internals/function-bind-native'),
- n = Function.prototype,
- s = n.bind,
- i = n.call,
- o = e && s.bind(i, i);
- t.exports = e
- ? function (e) {
- return e && o(e);
- }
- : function (e) {
- return (
- e &&
- function () {
- return i.apply(e, arguments);
- }
- );
- };
- },
- { '../internals/function-bind-native': 151 }
- ],
- 155: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/is-callable');
- t.exports = function (e, t) {
- return arguments.length < 2 ? ((r = n[e]), s(r) ? r : void 0) : n[e] && n[e][t];
- var r;
- };
- },
- { '../internals/global': 160, '../internals/is-callable': 173 }
- ],
- 156: [
- function (e, t, r) {
- var n = e('../internals/classof'),
- s = e('../internals/get-method'),
- i = e('../internals/iterators'),
- o = e('../internals/well-known-symbol')('iterator');
- t.exports = function (e) {
- if (null != e) return s(e, o) || s(e, '@@iterator') || i[n(e)];
- };
- },
- {
- '../internals/classof': 121,
- '../internals/get-method': 158,
- '../internals/iterators': 184,
- '../internals/well-known-symbol': 265
- }
- ],
- 157: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/function-call'),
- i = e('../internals/a-callable'),
- o = e('../internals/an-object'),
- a = e('../internals/try-to-string'),
- c = e('../internals/get-iterator-method'),
- l = n.TypeError;
- t.exports = function (e, t) {
- var r = arguments.length < 2 ? c(e) : t;
- if (i(r)) return o(s(r, e));
- throw l(a(e) + ' is not iterable');
- };
- },
- {
- '../internals/a-callable': 92,
- '../internals/an-object': 98,
- '../internals/function-call': 152,
- '../internals/get-iterator-method': 156,
- '../internals/global': 160,
- '../internals/try-to-string': 254
- }
- ],
- 158: [
- function (e, t, r) {
- var n = e('../internals/a-callable');
- t.exports = function (e, t) {
- e = e[t];
- return null == e ? void 0 : n(e);
- };
- },
- { '../internals/a-callable': 92 }
- ],
- 159: [
- function (e, t, r) {
- var n = e('../internals/function-uncurry-this'),
- s = e('../internals/to-object'),
- f = Math.floor,
- d = n(''.charAt),
- h = n(''.replace),
- m = n(''.slice),
- y = /\$([$&'`]|\d{1,2}|<[^>]*>)/g,
- b = /\$([$&'`]|\d{1,2})/g;
- t.exports = function (i, o, a, c, l, e) {
- var u = a + i.length,
- p = c.length,
- t = b;
- return (
- void 0 !== l && ((l = s(l)), (t = y)),
- h(e, t, function (e, t) {
- var r;
- switch (d(t, 0)) {
- case '$':
- return '$';
- case '&':
- return i;
- case '`':
- return m(o, 0, a);
- case "'":
- return m(o, u);
- case '<':
- r = l[m(t, 1, -1)];
- break;
- default:
- var n,
- s = +t;
- if (0 == s) return e;
- if (p < s)
- return 0 !== (n = f(s / 10)) && n <= p
- ? void 0 === c[n - 1]
- ? d(t, 1)
- : c[n - 1] + d(t, 1)
- : e;
- r = c[s - 1];
- }
- return void 0 === r ? '' : r;
- })
- );
- };
- },
- { '../internals/function-uncurry-this': 154, '../internals/to-object': 247 }
- ],
- 160: [
- function (e, r, t) {
- !function (t) {
- !function () {
- function e(e) {
- return e && e.Math == Math && e;
- }
- r.exports =
- e('object' == typeof globalThis && globalThis) ||
- e('object' == typeof window && window) ||
- e('object' == typeof self && self) ||
- e('object' == typeof t && t) ||
- (function () {
- return this;
- })() ||
- Function('return this')();
- }.call(this);
- }.call(
- this,
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {}
- );
- },
- {}
- ],
- 161: [
- function (e, t, r) {
- var n = e('../internals/function-uncurry-this'),
- s = e('../internals/to-object'),
- i = n({}.hasOwnProperty);
- t.exports =
- Object.hasOwn ||
- function (e, t) {
- return i(s(e), t);
- };
- },
- { '../internals/function-uncurry-this': 154, '../internals/to-object': 247 }
- ],
- 162: [
- function (e, t, r) {
- t.exports = {};
- },
- {}
- ],
- 163: [
- 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': 160 }
- ],
- 164: [
- function (e, t, r) {
- e = e('../internals/get-built-in');
- t.exports = e('document', 'documentElement');
- },
- { '../internals/get-built-in': 155 }
- ],
- 165: [
- function (e, t, r) {
- var n = e('../internals/descriptors'),
- s = e('../internals/fails'),
- i = e('../internals/document-create-element');
- t.exports =
- !n &&
- !s(function () {
- return (
- 7 !=
- Object.defineProperty(i('div'), 'a', {
- get: function () {
- return 7;
- }
- }).a
- );
- });
- },
- { '../internals/descriptors': 131, '../internals/document-create-element': 132, '../internals/fails': 147 }
- ],
- 166: [
- function (e, t, r) {
- var f = e('../internals/global').Array,
- d = Math.abs,
- h = Math.pow,
- m = Math.floor,
- y = Math.log,
- b = Math.LN2;
- t.exports = {
- pack: function (e, t, r) {
- var n,
- s,
- i,
- o = f(r),
- a = 8 * r - t - 1,
- r = (1 << a) - 1,
- c = r >> 1,
- l = 23 === t ? h(2, -24) - h(2, -77) : 0,
- u = e < 0 || (0 === e && 1 / e < 0) ? 1 : 0,
- p = 0;
- for (
- (e = d(e)) != e || e === 1 / 0
- ? ((s = e != e ? 1 : 0), (n = r))
- : ((n = m(y(e) / b)),
- e * (i = h(2, -n)) < 1 && (n--, (i *= 2)),
- 2 <= (e += 1 <= n + c ? l / i : l * h(2, 1 - c)) * i && (n++, (i /= 2)),
- r <= n + c
- ? ((s = 0), (n = r))
- : 1 <= n + c
- ? ((s = (e * i - 1) * h(2, t)), (n += c))
- : ((s = e * h(2, c - 1) * h(2, t)), (n = 0)));
- 8 <= t;
- )
- (o[p++] = 255 & s), (s /= 256), (t -= 8);
- for (n = (n << t) | s, a += t; 0 < a; ) (o[p++] = 255 & n), (n /= 256), (a -= 8);
- return (o[--p] |= 128 * u), o;
- },
- unpack: function (e, t) {
- var r,
- n = e.length,
- s = 8 * n - t - 1,
- i = (1 << s) - 1,
- o = i >> 1,
- a = s - 7,
- c = n - 1,
- s = e[c--],
- l = 127 & s;
- for (s >>= 7; 0 < a; ) (l = 256 * l + e[c--]), (a -= 8);
- for (r = l & ((1 << -a) - 1), l >>= -a, a += t; 0 < a; ) (r = 256 * r + e[c--]), (a -= 8);
- if (0 === l) l = 1 - o;
- else {
- if (l === i) return r ? NaN : s ? -1 / 0 : 1 / 0;
- (r += h(2, t)), (l -= o);
- }
- return (s ? -1 : 1) * r * h(2, l - t);
- }
- };
- },
- { '../internals/global': 160 }
- ],
- 167: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/function-uncurry-this'),
- i = e('../internals/fails'),
- o = e('../internals/classof-raw'),
- a = n.Object,
- c = s(''.split);
- t.exports = i(function () {
- return !a('z').propertyIsEnumerable(0);
- })
- ? function (e) {
- return 'String' == o(e) ? c(e, '') : a(e);
- }
- : a;
- },
- {
- '../internals/classof-raw': 120,
- '../internals/fails': 147,
- '../internals/function-uncurry-this': 154,
- '../internals/global': 160
- }
- ],
- 168: [
- function (e, t, r) {
- var n = e('../internals/is-callable'),
- s = e('../internals/is-object'),
- i = e('../internals/object-set-prototype-of');
- t.exports = function (e, t, r) {
- return i && n((t = t.constructor)) && t !== r && s((t = t.prototype)) && t !== r.prototype && i(e, t), e;
- };
- },
- {
- '../internals/is-callable': 173,
- '../internals/is-object': 177,
- '../internals/object-set-prototype-of': 205
- }
- ],
- 169: [
- function (e, t, r) {
- var n = e('../internals/function-uncurry-this'),
- s = e('../internals/is-callable'),
- e = e('../internals/shared-store'),
- i = n(Function.toString);
- s(e.inspectSource) ||
- (e.inspectSource = function (e) {
- return i(e);
- }),
- (t.exports = e.inspectSource);
- },
- {
- '../internals/function-uncurry-this': 154,
- '../internals/is-callable': 173,
- '../internals/shared-store': 233
- }
- ],
- 170: [
- function (e, t, r) {
- var n,
- s,
- i,
- o,
- a,
- c,
- l,
- u,
- p = e('../internals/native-weak-map'),
- f = e('../internals/global'),
- d = e('../internals/function-uncurry-this'),
- h = e('../internals/is-object'),
- m = e('../internals/create-non-enumerable-property'),
- y = e('../internals/has-own-property'),
- b = e('../internals/shared-store'),
- g = e('../internals/shared-key'),
- e = e('../internals/hidden-keys'),
- v = 'Object already initialized',
- j = f.TypeError,
- f = f.WeakMap;
- (l =
- p || b.state
- ? ((n = b.state || (b.state = new f())),
- (s = d(n.get)),
- (i = d(n.has)),
- (o = d(n.set)),
- (a = function (e, t) {
- if (i(n, e)) throw new j(v);
- return (t.facade = e), o(n, e, t), t;
- }),
- (c = function (e) {
- return s(n, e) || {};
- }),
- function (e) {
- return i(n, e);
- })
- : ((e[(u = g('state'))] = !0),
- (a = function (e, t) {
- if (y(e, u)) throw new j(v);
- return (t.facade = e), m(e, u, t), t;
- }),
- (c = function (e) {
- return y(e, u) ? e[u] : {};
- }),
- function (e) {
- return y(e, u);
- })),
- (t.exports = {
- set: a,
- get: c,
- has: l,
- enforce: function (e) {
- return l(e) ? c(e) : a(e, {});
- },
- getterFor: function (t) {
- return function (e) {
- if (h(e) && (e = c(e)).type === t) return e;
- throw j('Incompatible receiver, ' + t + ' required');
- };
- }
- });
- },
- {
- '../internals/create-non-enumerable-property': 126,
- '../internals/function-uncurry-this': 154,
- '../internals/global': 160,
- '../internals/has-own-property': 161,
- '../internals/hidden-keys': 162,
- '../internals/is-object': 177,
- '../internals/native-weak-map': 189,
- '../internals/shared-key': 232,
- '../internals/shared-store': 233
- }
- ],
- 171: [
- function (e, t, r) {
- var n = e('../internals/well-known-symbol'),
- s = e('../internals/iterators'),
- i = n('iterator'),
- o = Array.prototype;
- t.exports = function (e) {
- return void 0 !== e && (s.Array === e || o[i] === e);
- };
- },
- { '../internals/iterators': 184, '../internals/well-known-symbol': 265 }
- ],
- 172: [
- function (e, t, r) {
- var n = e('../internals/classof-raw');
- t.exports =
- Array.isArray ||
- function (e) {
- return 'Array' == n(e);
- };
- },
- { '../internals/classof-raw': 120 }
- ],
- 173: [
- function (e, t, r) {
- t.exports = function (e) {
- return 'function' == typeof e;
- };
- },
- {}
- ],
- 174: [
- function (e, t, r) {
- function n() {}
- function s(e) {
- if (!c(e)) return !1;
- try {
- return d(n, f, e), !0;
- } catch (e) {
- return !1;
- }
- }
- function i(e) {
- if (!c(e)) return !1;
- switch (l(e)) {
- case 'AsyncFunction':
- case 'GeneratorFunction':
- case 'AsyncGeneratorFunction':
- return !1;
- }
- try {
- return y || !!m(h, p(e));
- } catch (e) {
- return !0;
- }
- }
- var o = e('../internals/function-uncurry-this'),
- a = e('../internals/fails'),
- c = e('../internals/is-callable'),
- l = e('../internals/classof'),
- u = e('../internals/get-built-in'),
- p = e('../internals/inspect-source'),
- f = [],
- d = u('Reflect', 'construct'),
- h = /^\s*(?:class|function)\b/,
- m = o(h.exec),
- y = !h.exec(n);
- (i.sham = !0),
- (t.exports =
- !d ||
- a(function () {
- var e;
- return (
- s(s.call) ||
- !s(Object) ||
- !s(function () {
- e = !0;
- }) ||
- e
- );
- })
- ? i
- : s);
- },
- {
- '../internals/classof': 121,
- '../internals/fails': 147,
- '../internals/function-uncurry-this': 154,
- '../internals/get-built-in': 155,
- '../internals/inspect-source': 169,
- '../internals/is-callable': 173
- }
- ],
- 175: [
- function (e, t, r) {
- function n(e, t) {
- return (e = c[a(e)]) == u || (e != l && (i(t) ? s(t) : !!t));
- }
- var s = e('../internals/fails'),
- i = e('../internals/is-callable'),
- o = /#|\.prototype\./,
- a = (n.normalize = function (e) {
- return String(e).replace(o, '.').toLowerCase();
- }),
- c = (n.data = {}),
- l = (n.NATIVE = 'N'),
- u = (n.POLYFILL = 'P');
- t.exports = n;
- },
- { '../internals/fails': 147, '../internals/is-callable': 173 }
- ],
- 176: [
- function (e, t, r) {
- var n = e('../internals/is-object'),
- s = Math.floor;
- t.exports =
- Number.isInteger ||
- function (e) {
- return !n(e) && isFinite(e) && s(e) === e;
- };
- },
- { '../internals/is-object': 177 }
- ],
- 177: [
- function (e, t, r) {
- var n = e('../internals/is-callable');
- t.exports = function (e) {
- return 'object' == typeof e ? null !== e : n(e);
- };
- },
- { '../internals/is-callable': 173 }
- ],
- 178: [
- function (e, t, r) {
- t.exports = !1;
- },
- {}
- ],
- 179: [
- function (e, t, r) {
- var n = e('../internals/is-object'),
- s = e('../internals/classof-raw'),
- i = e('../internals/well-known-symbol')('match');
- t.exports = function (e) {
- var t;
- return n(e) && (void 0 !== (t = e[i]) ? !!t : 'RegExp' == s(e));
- };
- },
- { '../internals/classof-raw': 120, '../internals/is-object': 177, '../internals/well-known-symbol': 265 }
- ],
- 180: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/get-built-in'),
- i = e('../internals/is-callable'),
- o = e('../internals/object-is-prototype-of'),
- e = e('../internals/use-symbol-as-uid'),
- a = n.Object;
- t.exports = e
- ? function (e) {
- return 'symbol' == typeof e;
- }
- : function (e) {
- var t = s('Symbol');
- return i(t) && o(t.prototype, a(e));
- };
- },
- {
- '../internals/get-built-in': 155,
- '../internals/global': 160,
- '../internals/is-callable': 173,
- '../internals/object-is-prototype-of': 201,
- '../internals/use-symbol-as-uid': 261
- }
- ],
- 181: [
- function (e, t, r) {
- function y(e, t) {
- (this.stopped = e), (this.result = t);
- }
- var n = e('../internals/global'),
- b = e('../internals/function-bind-context'),
- g = e('../internals/function-call'),
- v = e('../internals/an-object'),
- j = e('../internals/try-to-string'),
- w = e('../internals/is-array-iterator-method'),
- x = e('../internals/length-of-array-like'),
- T = e('../internals/object-is-prototype-of'),
- k = e('../internals/get-iterator'),
- E = e('../internals/get-iterator-method'),
- _ = e('../internals/iterator-close'),
- S = n.TypeError,
- O = y.prototype;
- t.exports = function (e, t, r) {
- function n(e) {
- return i && _(i, 'normal', e), new y(!0, e);
- }
- function s(e) {
- return f ? (v(e), h ? m(e[0], e[1], n) : m(e[0], e[1])) : h ? m(e, n) : m(e);
- }
- var i,
- o,
- a,
- c,
- l,
- u,
- p = r && r.that,
- f = !(!r || !r.AS_ENTRIES),
- d = !(!r || !r.IS_ITERATOR),
- h = !(!r || !r.INTERRUPTED),
- m = b(t, p);
- if (d) i = e;
- else {
- if (!(r = E(e))) throw S(j(e) + ' is not iterable');
- if (w(r)) {
- for (o = 0, a = x(e); o < a; o++) if ((c = s(e[o])) && T(O, c)) return c;
- return new y(!1);
- }
- i = k(e, r);
- }
- for (l = i.next; !(u = g(l, i)).done; ) {
- try {
- c = s(u.value);
- } catch (e) {
- _(i, 'throw', e);
- }
- if ('object' == typeof c && c && T(O, c)) return c;
- }
- return new y(!1);
- };
- },
- {
- '../internals/an-object': 98,
- '../internals/function-bind-context': 150,
- '../internals/function-call': 152,
- '../internals/get-iterator': 157,
- '../internals/get-iterator-method': 156,
- '../internals/global': 160,
- '../internals/is-array-iterator-method': 171,
- '../internals/iterator-close': 182,
- '../internals/length-of-array-like': 185,
- '../internals/object-is-prototype-of': 201,
- '../internals/try-to-string': 254
- }
- ],
- 182: [
- function (e, t, r) {
- var i = e('../internals/function-call'),
- o = e('../internals/an-object'),
- a = e('../internals/get-method');
- t.exports = function (e, t, r) {
- var n, s;
- o(e);
- try {
- if (!(n = a(e, 'return'))) {
- if ('throw' === t) throw r;
- return r;
- }
- n = i(n, e);
- } catch (e) {
- (s = !0), (n = e);
- }
- if ('throw' === t) throw r;
- if (s) throw n;
- return o(n), r;
- };
- },
- { '../internals/an-object': 98, '../internals/function-call': 152, '../internals/get-method': 158 }
- ],
- 183: [
- function (e, t, r) {
- 'use strict';
- var n,
- s,
- i = e('../internals/fails'),
- o = e('../internals/is-callable'),
- a = e('../internals/object-create'),
- c = e('../internals/object-get-prototype-of'),
- l = e('../internals/redefine'),
- u = e('../internals/well-known-symbol'),
- e = e('../internals/is-pure'),
- p = u('iterator'),
- u = !1;
- [].keys && ('next' in (s = [].keys()) ? (c = c(c(s))) !== Object.prototype && (n = c) : (u = !0)),
- null == n ||
- i(function () {
- var e = {};
- return n[p].call(e) !== e;
- })
- ? (n = {})
- : e && (n = a(n)),
- o(n[p]) ||
- l(n, p, function () {
- return this;
- }),
- (t.exports = { IteratorPrototype: n, BUGGY_SAFARI_ITERATORS: u });
- },
- {
- '../internals/fails': 147,
- '../internals/is-callable': 173,
- '../internals/is-pure': 178,
- '../internals/object-create': 193,
- '../internals/object-get-prototype-of': 200,
- '../internals/redefine': 219,
- '../internals/well-known-symbol': 265
- }
- ],
- 184: [
- function (e, t, r) {
- arguments[4][162][0].apply(r, arguments);
- },
- { dup: 162 }
- ],
- 185: [
- function (e, t, r) {
- var n = e('../internals/to-length');
- t.exports = function (e) {
- return n(e.length);
- };
- },
- { '../internals/to-length': 246 }
- ],
- 186: [
- function (e, t, r) {
- var n,
- s,
- i,
- o,
- a,
- c,
- l,
- u = e('../internals/global'),
- p = e('../internals/function-bind-context'),
- f = e('../internals/object-get-own-property-descriptor').f,
- d = e('../internals/task').set,
- h = e('../internals/engine-is-ios'),
- m = e('../internals/engine-is-ios-pebble'),
- y = e('../internals/engine-is-webos-webkit'),
- b = e('../internals/engine-is-node'),
- e = u.MutationObserver || u.WebKitMutationObserver,
- g = u.document,
- v = u.process,
- j = u.Promise,
- f = f(u, 'queueMicrotask'),
- f = f && f.value;
- f ||
- ((n = function () {
- var e, t;
- for (b && (e = v.domain) && e.exit(); s; ) {
- (t = s.fn), (s = s.next);
- try {
- t();
- } catch (e) {
- throw (s ? o() : (i = void 0), e);
- }
- }
- (i = void 0), e && e.enter();
- }),
- (o =
- h || b || y || !e || !g
- ? !m && j && j.resolve
- ? (((h = j.resolve(void 0)).constructor = j),
- (l = p(h.then, h)),
- function () {
- l(n);
- })
- : b
- ? function () {
- v.nextTick(n);
- }
- : ((d = p(d, u)),
- function () {
- d(n);
- })
- : ((a = !0),
- (c = g.createTextNode('')),
- new e(n).observe(c, { characterData: !0 }),
- function () {
- c.data = a = !a;
- }))),
- (t.exports =
- f ||
- function (e) {
- e = { fn: e, next: void 0 };
- i && (i.next = e), s || ((s = e), o()), (i = e);
- });
- },
- {
- '../internals/engine-is-ios': 139,
- '../internals/engine-is-ios-pebble': 138,
- '../internals/engine-is-node': 140,
- '../internals/engine-is-webos-webkit': 141,
- '../internals/function-bind-context': 150,
- '../internals/global': 160,
- '../internals/object-get-own-property-descriptor': 196,
- '../internals/task': 240
- }
- ],
- 187: [
- function (e, t, r) {
- e = e('../internals/native-symbol');
- t.exports = e && !!Symbol.for && !!Symbol.keyFor;
- },
- { '../internals/native-symbol': 188 }
- ],
- 188: [
- function (e, t, r) {
- var n = e('../internals/engine-v8-version'),
- e = e('../internals/fails');
- t.exports =
- !!Object.getOwnPropertySymbols &&
- !e(function () {
- var e = Symbol();
- return !String(e) || !(Object(e) instanceof Symbol) || (!Symbol.sham && n && n < 41);
- });
- },
- { '../internals/engine-v8-version': 143, '../internals/fails': 147 }
- ],
- 189: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/is-callable'),
- e = e('../internals/inspect-source'),
- n = n.WeakMap;
- t.exports = s(n) && /native code/.test(e(n));
- },
- { '../internals/global': 160, '../internals/inspect-source': 169, '../internals/is-callable': 173 }
- ],
- 190: [
- function (e, t, r) {
- 'use strict';
- function n(e) {
- var r, n;
- (this.promise = new e(function (e, t) {
- if (void 0 !== r || void 0 !== n) throw TypeError('Bad Promise constructor');
- (r = e), (n = t);
- })),
- (this.resolve = s(r)),
- (this.reject = s(n));
- }
- var s = e('../internals/a-callable');
- t.exports.f = function (e) {
- return new n(e);
- };
- },
- { '../internals/a-callable': 92 }
- ],
- 191: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/is-regexp'),
- i = n.TypeError;
- t.exports = function (e) {
- if (s(e)) throw i("The method doesn't accept regular expressions");
- return e;
- };
- },
- { '../internals/global': 160, '../internals/is-regexp': 179 }
- ],
- 192: [
- function (e, t, r) {
- 'use strict';
- var f = e('../internals/descriptors'),
- n = e('../internals/function-uncurry-this'),
- d = e('../internals/function-call'),
- s = e('../internals/fails'),
- h = e('../internals/object-keys'),
- m = e('../internals/object-get-own-property-symbols'),
- y = e('../internals/object-property-is-enumerable'),
- b = e('../internals/to-object'),
- g = e('../internals/indexed-object'),
- i = Object.assign,
- o = Object.defineProperty,
- v = n([].concat);
- t.exports =
- !i ||
- s(function () {
- if (
- f &&
- 1 !==
- i(
- { b: 1 },
- i(
- o({}, 'a', {
- enumerable: !0,
- get: function () {
- o(this, 'b', { value: 3, enumerable: !1 });
- }
- }),
- { b: 2 }
- )
- ).b
- )
- return !0;
- var e = {},
- t = {},
- r = Symbol(),
- n = 'abcdefghijklmnopqrst';
- return (
- (e[r] = 7),
- n.split('').forEach(function (e) {
- t[e] = e;
- }),
- 7 != i({}, e)[r] || h(i({}, t)).join('') != n
- );
- })
- ? function (e, t) {
- for (var r = b(e), n = arguments.length, s = 1, i = m.f, o = y.f; s < n; )
- for (var a, c = g(arguments[s++]), l = i ? v(h(c), i(c)) : h(c), u = l.length, p = 0; p < u; )
- (a = l[p++]), (f && !d(o, c, a)) || (r[a] = c[a]);
- return r;
- }
- : i;
- },
- {
- '../internals/descriptors': 131,
- '../internals/fails': 147,
- '../internals/function-call': 152,
- '../internals/function-uncurry-this': 154,
- '../internals/indexed-object': 167,
- '../internals/object-get-own-property-symbols': 199,
- '../internals/object-keys': 203,
- '../internals/object-property-is-enumerable': 204,
- '../internals/to-object': 247
- }
- ],
- 193: [
- function (e, t, r) {
- function n() {}
- function s(e) {
- e.write(m('')), e.close();
- var t = e.parentWindow.Object;
- return (e = null), t;
- }
- var i,
- o = e('../internals/an-object'),
- a = e('../internals/object-define-properties'),
- c = e('../internals/enum-bug-keys'),
- l = e('../internals/hidden-keys'),
- u = e('../internals/html'),
- p = e('../internals/document-create-element'),
- e = e('../internals/shared-key'),
- f = 'prototype',
- d = 'script',
- h = e('IE_PROTO'),
- m = function (e) {
- return '<' + d + '>' + e + '</' + d + '>';
- },
- y = function () {
- try {
- i = new ActiveXObject('htmlfile');
- } catch (e) {}
- y =
- 'undefined' == typeof document || (document.domain && i)
- ? s(i)
- : ((e = p('iframe')),
- (t = 'java' + d + ':'),
- (e.style.display = 'none'),
- u.appendChild(e),
- (e.src = String(t)),
- (t = e.contentWindow.document).open(),
- t.write(m('document.F=Object')),
- t.close(),
- t.F);
- for (var e, t, r = c.length; r--; ) delete y[f][c[r]];
- return y();
- };
- (l[h] = !0),
- (t.exports =
- Object.create ||
- function (e, t) {
- var r;
- return (
- null !== e ? ((n[f] = o(e)), (r = new n()), (n[f] = null), (r[h] = e)) : (r = y()),
- void 0 === t ? r : a.f(r, t)
- );
- });
- },
- {
- '../internals/an-object': 98,
- '../internals/document-create-element': 132,
- '../internals/enum-bug-keys': 145,
- '../internals/hidden-keys': 162,
- '../internals/html': 164,
- '../internals/object-define-properties': 194,
- '../internals/shared-key': 232
- }
- ],
- 194: [
- function (e, t, r) {
- var n = e('../internals/descriptors'),
- s = e('../internals/v8-prototype-define-bug'),
- a = e('../internals/object-define-property'),
- c = e('../internals/an-object'),
- l = e('../internals/to-indexed-object'),
- u = e('../internals/object-keys');
- r.f =
- n && !s
- ? Object.defineProperties
- : function (e, t) {
- c(e);
- for (var r, n = l(t), s = u(t), i = s.length, o = 0; o < i; ) a.f(e, (r = s[o++]), n[r]);
- return e;
- };
- },
- {
- '../internals/an-object': 98,
- '../internals/descriptors': 131,
- '../internals/object-define-property': 195,
- '../internals/object-keys': 203,
- '../internals/to-indexed-object': 244,
- '../internals/v8-prototype-define-bug': 262
- }
- ],
- 195: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/descriptors'),
- i = e('../internals/ie8-dom-define'),
- o = e('../internals/v8-prototype-define-bug'),
- a = e('../internals/an-object'),
- c = e('../internals/to-property-key'),
- l = n.TypeError,
- u = Object.defineProperty,
- p = Object.getOwnPropertyDescriptor,
- f = 'enumerable',
- d = 'configurable',
- h = 'writable';
- r.f = s
- ? o
- ? function (e, t, r) {
- var n;
- return (
- a(e),
- (t = c(t)),
- a(r),
- 'function' == typeof e &&
- 'prototype' === t &&
- 'value' in r &&
- h in r &&
- !r[h] &&
- (n = p(e, t)) &&
- n[h] &&
- ((e[t] = r.value),
- (r = { configurable: (d in r ? r : n)[d], enumerable: (f in r ? r : n)[f], writable: !1 })),
- u(e, t, r)
- );
- }
- : u
- : function (e, t, r) {
- if ((a(e), (t = c(t)), a(r), i))
- try {
- return u(e, t, r);
- } catch (e) {}
- if ('get' in r || 'set' in r) throw l('Accessors not supported');
- return 'value' in r && (e[t] = r.value), e;
- };
- },
- {
- '../internals/an-object': 98,
- '../internals/descriptors': 131,
- '../internals/global': 160,
- '../internals/ie8-dom-define': 165,
- '../internals/to-property-key': 251,
- '../internals/v8-prototype-define-bug': 262
- }
- ],
- 196: [
- function (e, t, r) {
- var n = e('../internals/descriptors'),
- s = e('../internals/function-call'),
- i = e('../internals/object-property-is-enumerable'),
- o = e('../internals/create-property-descriptor'),
- a = e('../internals/to-indexed-object'),
- c = e('../internals/to-property-key'),
- l = e('../internals/has-own-property'),
- u = e('../internals/ie8-dom-define'),
- p = Object.getOwnPropertyDescriptor;
- r.f = n
- ? p
- : function (e, t) {
- if (((e = a(e)), (t = c(t)), u))
- try {
- return p(e, t);
- } catch (e) {}
- if (l(e, t)) return o(!s(i.f, e, t), e[t]);
- };
- },
- {
- '../internals/create-property-descriptor': 127,
- '../internals/descriptors': 131,
- '../internals/function-call': 152,
- '../internals/has-own-property': 161,
- '../internals/ie8-dom-define': 165,
- '../internals/object-property-is-enumerable': 204,
- '../internals/to-indexed-object': 244,
- '../internals/to-property-key': 251
- }
- ],
- 197: [
- function (e, t, r) {
- var n = e('../internals/classof-raw'),
- s = e('../internals/to-indexed-object'),
- i = e('../internals/object-get-own-property-names').f,
- o = e('../internals/array-slice-simple'),
- a =
- 'object' == typeof window && window && Object.getOwnPropertyNames
- ? Object.getOwnPropertyNames(window)
- : [];
- t.exports.f = function (e) {
- if (!a || 'Window' != n(e)) return i(s(e));
- try {
- return i(e);
- } catch (e) {
- return o(a);
- }
- };
- },
- {
- '../internals/array-slice-simple': 113,
- '../internals/classof-raw': 120,
- '../internals/object-get-own-property-names': 198,
- '../internals/to-indexed-object': 244
- }
- ],
- 198: [
- function (e, t, r) {
- var n = e('../internals/object-keys-internal'),
- s = e('../internals/enum-bug-keys').concat('length', 'prototype');
- r.f =
- Object.getOwnPropertyNames ||
- function (e) {
- return n(e, s);
- };
- },
- { '../internals/enum-bug-keys': 145, '../internals/object-keys-internal': 202 }
- ],
- 199: [
- function (e, t, r) {
- r.f = Object.getOwnPropertySymbols;
- },
- {}
- ],
- 200: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/has-own-property'),
- i = e('../internals/is-callable'),
- o = e('../internals/to-object'),
- a = e('../internals/shared-key'),
- e = e('../internals/correct-prototype-getter'),
- c = a('IE_PROTO'),
- l = n.Object,
- u = l.prototype;
- t.exports = e
- ? l.getPrototypeOf
- : function (e) {
- e = o(e);
- if (s(e, c)) return e[c];
- var t = e.constructor;
- return i(t) && e instanceof t ? t.prototype : e instanceof l ? u : null;
- };
- },
- {
- '../internals/correct-prototype-getter': 124,
- '../internals/global': 160,
- '../internals/has-own-property': 161,
- '../internals/is-callable': 173,
- '../internals/shared-key': 232,
- '../internals/to-object': 247
- }
- ],
- 201: [
- function (e, t, r) {
- e = e('../internals/function-uncurry-this');
- t.exports = e({}.isPrototypeOf);
- },
- { '../internals/function-uncurry-this': 154 }
- ],
- 202: [
- function (e, t, r) {
- var n = e('../internals/function-uncurry-this'),
- o = e('../internals/has-own-property'),
- a = e('../internals/to-indexed-object'),
- c = e('../internals/array-includes').indexOf,
- l = e('../internals/hidden-keys'),
- u = n([].push);
- t.exports = function (e, t) {
- var r,
- n = a(e),
- s = 0,
- i = [];
- for (r in n) !o(l, r) && o(n, r) && u(i, r);
- for (; t.length > s; ) !o(n, (r = t[s++])) || ~c(i, r) || u(i, r);
- return i;
- };
- },
- {
- '../internals/array-includes': 107,
- '../internals/function-uncurry-this': 154,
- '../internals/has-own-property': 161,
- '../internals/hidden-keys': 162,
- '../internals/to-indexed-object': 244
- }
- ],
- 203: [
- function (e, t, r) {
- var n = e('../internals/object-keys-internal'),
- s = e('../internals/enum-bug-keys');
- t.exports =
- Object.keys ||
- function (e) {
- return n(e, s);
- };
- },
- { '../internals/enum-bug-keys': 145, '../internals/object-keys-internal': 202 }
- ],
- 204: [
- function (e, t, r) {
- 'use strict';
- var n = {}.propertyIsEnumerable,
- s = Object.getOwnPropertyDescriptor,
- i = s && !n.call({ 1: 2 }, 1);
- r.f = i
- ? function (e) {
- e = s(this, e);
- return !!e && e.enumerable;
- }
- : n;
- },
- {}
- ],
- 205: [
- function (e, t, r) {
- var s = e('../internals/function-uncurry-this'),
- i = e('../internals/an-object'),
- o = e('../internals/a-possible-prototype');
- t.exports =
- Object.setPrototypeOf ||
- ('__proto__' in {}
- ? (function () {
- var r,
- n = !1,
- e = {};
- try {
- (r = s(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set))(e, []),
- (n = e instanceof Array);
- } catch (e) {}
- return function (e, t) {
- return i(e), o(t), n ? r(e, t) : (e.__proto__ = t), e;
- };
- })()
- : void 0);
- },
- {
- '../internals/a-possible-prototype': 94,
- '../internals/an-object': 98,
- '../internals/function-uncurry-this': 154
- }
- ],
- 206: [
- function (e, t, r) {
- function n(a) {
- return function (e) {
- for (var t, r = u(e), n = l(r), s = n.length, i = 0, o = []; i < s; )
- (t = n[i++]), (c && !p(r, t)) || f(o, a ? [t, r[t]] : r[t]);
- return o;
- };
- }
- var c = e('../internals/descriptors'),
- s = e('../internals/function-uncurry-this'),
- l = e('../internals/object-keys'),
- u = e('../internals/to-indexed-object'),
- p = s(e('../internals/object-property-is-enumerable').f),
- f = s([].push);
- t.exports = { entries: n(!0), values: n(!1) };
- },
- {
- '../internals/descriptors': 131,
- '../internals/function-uncurry-this': 154,
- '../internals/object-keys': 203,
- '../internals/object-property-is-enumerable': 204,
- '../internals/to-indexed-object': 244
- }
- ],
- 207: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/to-string-tag-support'),
- s = e('../internals/classof');
- t.exports = n
- ? {}.toString
- : function () {
- return '[object ' + s(this) + ']';
- };
- },
- { '../internals/classof': 121, '../internals/to-string-tag-support': 252 }
- ],
- 208: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/function-call'),
- i = e('../internals/is-callable'),
- o = e('../internals/is-object'),
- a = n.TypeError;
- t.exports = function (e, t) {
- var r, n;
- if ('string' === t && i((r = e.toString)) && !o((n = s(r, e)))) return n;
- if (i((r = e.valueOf)) && !o((n = s(r, e)))) return n;
- if ('string' !== t && i((r = e.toString)) && !o((n = s(r, e)))) return n;
- throw a("Can't convert object to primitive value");
- };
- },
- {
- '../internals/function-call': 152,
- '../internals/global': 160,
- '../internals/is-callable': 173,
- '../internals/is-object': 177
- }
- ],
- 209: [
- function (e, t, r) {
- var n = e('../internals/get-built-in'),
- s = e('../internals/function-uncurry-this'),
- i = e('../internals/object-get-own-property-names'),
- o = e('../internals/object-get-own-property-symbols'),
- a = e('../internals/an-object'),
- c = s([].concat);
- t.exports =
- n('Reflect', 'ownKeys') ||
- function (e) {
- var t = i.f(a(e)),
- r = o.f;
- return r ? c(t, r(e)) : t;
- };
- },
- {
- '../internals/an-object': 98,
- '../internals/function-uncurry-this': 154,
- '../internals/get-built-in': 155,
- '../internals/object-get-own-property-names': 198,
- '../internals/object-get-own-property-symbols': 199
- }
- ],
- 210: [
- function (e, t, r) {
- e = e('../internals/global');
- t.exports = e;
- },
- { '../internals/global': 160 }
- ],
- 211: [
- function (e, t, r) {
- t.exports = function (e) {
- try {
- return { error: !1, value: e() };
- } catch (e) {
- return { error: !0, value: e };
- }
- };
- },
- {}
- ],
- 212: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/promise-native-constructor'),
- i = e('../internals/is-callable'),
- o = e('../internals/is-forced'),
- a = e('../internals/inspect-source'),
- c = e('../internals/well-known-symbol'),
- l = e('../internals/engine-is-browser'),
- u = e('../internals/is-pure'),
- p = e('../internals/engine-v8-version'),
- f = s && s.prototype,
- d = c('species'),
- h = !1,
- m = i(n.PromiseRejectionEvent),
- e = o('Promise', function () {
- var e = a(s),
- t = e !== String(s);
- if (!t && 66 === p) return !0;
- if (u && (!f.catch || !f.finally)) return !0;
- if (51 <= p && /native code/.test(e)) return !1;
- function r(e) {
- e(
- function () {},
- function () {}
- );
- }
- e = new s(function (e) {
- e(1);
- });
- return ((e.constructor = {})[d] = r), !(h = e.then(function () {}) instanceof r) || (!t && l && !m);
- });
- t.exports = { CONSTRUCTOR: e, REJECTION_EVENT: m, SUBCLASSING: h };
- },
- {
- '../internals/engine-is-browser': 136,
- '../internals/engine-v8-version': 143,
- '../internals/global': 160,
- '../internals/inspect-source': 169,
- '../internals/is-callable': 173,
- '../internals/is-forced': 175,
- '../internals/is-pure': 178,
- '../internals/promise-native-constructor': 213,
- '../internals/well-known-symbol': 265
- }
- ],
- 213: [
- function (e, t, r) {
- e = e('../internals/global');
- t.exports = e.Promise;
- },
- { '../internals/global': 160 }
- ],
- 214: [
- function (e, t, r) {
- var n = e('../internals/an-object'),
- s = e('../internals/is-object'),
- i = e('../internals/new-promise-capability');
- t.exports = function (e, t) {
- if ((n(e), s(t) && t.constructor === e)) return t;
- e = i.f(e);
- return (0, e.resolve)(t), e.promise;
- };
- },
- { '../internals/an-object': 98, '../internals/is-object': 177, '../internals/new-promise-capability': 190 }
- ],
- 215: [
- function (e, t, r) {
- var n = e('../internals/promise-native-constructor'),
- s = e('../internals/check-correctness-of-iteration'),
- e = e('../internals/promise-constructor-detection').CONSTRUCTOR;
- t.exports =
- e ||
- !s(function (e) {
- n.all(e).then(void 0, function () {});
- });
- },
- {
- '../internals/check-correctness-of-iteration': 119,
- '../internals/promise-constructor-detection': 212,
- '../internals/promise-native-constructor': 213
- }
- ],
- 216: [
- function (e, t, r) {
- var n = e('../internals/object-define-property').f;
- t.exports = function (e, t, r) {
- r in e ||
- n(e, r, {
- configurable: !0,
- get: function () {
- return t[r];
- },
- set: function (e) {
- t[r] = e;
- }
- });
- };
- },
- { '../internals/object-define-property': 195 }
- ],
- 217: [
- function (e, t, r) {
- function n() {
- (this.head = null), (this.tail = null);
- }
- (n.prototype = {
- add: function (e) {
- e = { item: e, next: null };
- this.head ? (this.tail.next = e) : (this.head = e), (this.tail = e);
- },
- get: function () {
- var e = this.head;
- if (e) return (this.head = e.next), this.tail === e && (this.tail = null), e.item;
- }
- }),
- (t.exports = n);
- },
- {}
- ],
- 218: [
- function (e, t, r) {
- var s = e('../internals/redefine');
- t.exports = function (e, t, r) {
- for (var n in t) s(e, n, t[n], r);
- return e;
- };
- },
- { '../internals/redefine': 219 }
- ],
- 219: [
- function (e, t, r) {
- var c = e('../internals/global'),
- l = e('../internals/is-callable'),
- u = e('../internals/has-own-property'),
- p = e('../internals/create-non-enumerable-property'),
- f = e('../internals/set-global'),
- n = e('../internals/inspect-source'),
- s = e('../internals/internal-state'),
- d = e('../internals/function-name').CONFIGURABLE,
- i = s.get,
- h = s.enforce,
- m = String(String).split('String');
- (t.exports = function (e, t, r, n) {
- var s,
- i = !!n && !!n.unsafe,
- o = !!n && !!n.enumerable,
- a = !!n && !!n.noTargetGet,
- n = n && void 0 !== n.name ? n.name : t;
- l(r) &&
- ('Symbol(' === String(n).slice(0, 7) && (n = '[' + String(n).replace(/^Symbol\(([^)]*)\)/, '$1') + ']'),
- (!u(r, 'name') || (d && r.name !== n)) && p(r, 'name', n),
- (s = h(r)).source || (s.source = m.join('string' == typeof n ? n : ''))),
- e === c
- ? o
- ? (e[t] = r)
- : f(t, r)
- : (i ? !a && e[t] && (o = !0) : delete e[t], o ? (e[t] = r) : p(e, t, r));
- })(Function.prototype, 'toString', function () {
- return (l(this) && i(this).source) || n(this);
- });
- },
- {
- '../internals/create-non-enumerable-property': 126,
- '../internals/function-name': 153,
- '../internals/global': 160,
- '../internals/has-own-property': 161,
- '../internals/inspect-source': 169,
- '../internals/internal-state': 170,
- '../internals/is-callable': 173,
- '../internals/set-global': 229
- }
- ],
- 220: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/function-call'),
- i = e('../internals/an-object'),
- o = e('../internals/is-callable'),
- a = e('../internals/classof-raw'),
- c = e('../internals/regexp-exec'),
- l = n.TypeError;
- t.exports = function (e, t) {
- var r = e.exec;
- if (o(r)) return null !== (r = s(r, e, t)) && i(r), r;
- if ('RegExp' === a(e)) return s(c, e, t);
- throw l('RegExp#exec called on incompatible receiver');
- };
- },
- {
- '../internals/an-object': 98,
- '../internals/classof-raw': 120,
- '../internals/function-call': 152,
- '../internals/global': 160,
- '../internals/is-callable': 173,
- '../internals/regexp-exec': 221
- }
- ],
- 221: [
- function (e, t, r) {
- 'use strict';
- var h = e('../internals/function-call'),
- n = e('../internals/function-uncurry-this'),
- m = e('../internals/to-string'),
- y = e('../internals/regexp-flags'),
- s = e('../internals/regexp-sticky-helpers'),
- i = e('../internals/shared'),
- b = e('../internals/object-create'),
- g = e('../internals/internal-state').get,
- o = e('../internals/regexp-unsupported-dot-all'),
- e = e('../internals/regexp-unsupported-ncg'),
- v = i('native-string-replace', String.prototype.replace),
- j = RegExp.prototype.exec,
- w = j,
- x = n(''.charAt),
- T = n(''.indexOf),
- k = n(''.replace),
- E = n(''.slice),
- _ = ((i = /b*/g), h(j, (n = /a/), 'a'), h(j, i, 'a'), 0 !== n.lastIndex || 0 !== i.lastIndex),
- S = s.BROKEN_CARET,
- O = void 0 !== /()??/.exec('')[1];
- (_ || O || S || o || e) &&
- (w = function (e) {
- var t,
- r,
- n,
- s,
- i,
- o,
- a = this,
- c = g(a),
- e = m(e),
- l = c.raw;
- if (l) return (l.lastIndex = a.lastIndex), (p = h(w, l, e)), (a.lastIndex = l.lastIndex), p;
- var u = c.groups,
- l = S && a.sticky,
- p = h(y, a),
- c = a.source,
- f = 0,
- d = e;
- if (
- (l &&
- ((p = k(p, 'y', '')),
- -1 === T(p, 'g') && (p += 'g'),
- (d = E(e, a.lastIndex)),
- 0 < a.lastIndex &&
- (!a.multiline || (a.multiline && '\n' !== x(e, a.lastIndex - 1))) &&
- ((c = '(?: ' + c + ')'), (d = ' ' + d), f++),
- (t = new RegExp('^(?:' + c + ')', p))),
- O && (t = new RegExp('^' + c + '$(?!\\s)', p)),
- _ && (r = a.lastIndex),
- (n = h(j, l ? t : a, d)),
- l
- ? n
- ? ((n.input = E(n.input, f)),
- (n[0] = E(n[0], f)),
- (n.index = a.lastIndex),
- (a.lastIndex += n[0].length))
- : (a.lastIndex = 0)
- : _ && n && (a.lastIndex = a.global ? n.index + n[0].length : r),
- O &&
- n &&
- 1 < n.length &&
- h(v, n[0], t, function () {
- for (s = 1; s < arguments.length - 2; s++) void 0 === arguments[s] && (n[s] = void 0);
- }),
- n && u)
- )
- for (n.groups = i = b(null), s = 0; s < u.length; s++) i[(o = u[s])[0]] = n[o[1]];
- return n;
- }),
- (t.exports = w);
- },
- {
- '../internals/function-call': 152,
- '../internals/function-uncurry-this': 154,
- '../internals/internal-state': 170,
- '../internals/object-create': 193,
- '../internals/regexp-flags': 222,
- '../internals/regexp-sticky-helpers': 224,
- '../internals/regexp-unsupported-dot-all': 225,
- '../internals/regexp-unsupported-ncg': 226,
- '../internals/shared': 234,
- '../internals/to-string': 253
- }
- ],
- 222: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/an-object');
- t.exports = function () {
- var e = n(this),
- t = '';
- return (
- e.hasIndices && (t += 'd'),
- 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': 98 }
- ],
- 223: [
- function (e, t, r) {
- var n = e('../internals/function-call'),
- s = e('../internals/has-own-property'),
- i = e('../internals/object-is-prototype-of'),
- o = e('../internals/regexp-flags'),
- a = RegExp.prototype;
- t.exports = function (e) {
- var t = e.flags;
- return void 0 !== t || 'flags' in a || s(e, 'flags') || !i(a, e) ? t : n(o, e);
- };
- },
- {
- '../internals/function-call': 152,
- '../internals/has-own-property': 161,
- '../internals/object-is-prototype-of': 201,
- '../internals/regexp-flags': 222
- }
- ],
- 224: [
- function (e, t, r) {
- var n = e('../internals/fails'),
- s = e('../internals/global').RegExp,
- e = n(function () {
- var e = s('a', 'y');
- return (e.lastIndex = 2), null != e.exec('abcd');
- }),
- i =
- e ||
- n(function () {
- return !s('a', 'y').sticky;
- }),
- n =
- e ||
- n(function () {
- var e = s('^r', 'gy');
- return (e.lastIndex = 2), null != e.exec('str');
- });
- t.exports = { BROKEN_CARET: n, MISSED_STICKY: i, UNSUPPORTED_Y: e };
- },
- { '../internals/fails': 147, '../internals/global': 160 }
- ],
- 225: [
- function (e, t, r) {
- var n = e('../internals/fails'),
- s = e('../internals/global').RegExp;
- t.exports = n(function () {
- var e = s('.', 's');
- return !(e.dotAll && e.exec('\n') && 's' === e.flags);
- });
- },
- { '../internals/fails': 147, '../internals/global': 160 }
- ],
- 226: [
- function (e, t, r) {
- var n = e('../internals/fails'),
- s = e('../internals/global').RegExp;
- t.exports = n(function () {
- var e = s('(?<a>b)', 'g');
- return 'b' !== e.exec('b').groups.a || 'bc' !== 'b'.replace(e, '$<a>c');
- });
- },
- { '../internals/fails': 147, '../internals/global': 160 }
- ],
- 227: [
- function (e, t, r) {
- var n = e('../internals/global').TypeError;
- t.exports = function (e) {
- if (null == e) throw n("Can't call method on " + e);
- return e;
- };
- },
- { '../internals/global': 160 }
- ],
- 228: [
- function (e, t, r) {
- t.exports =
- Object.is ||
- function (e, t) {
- return e === t ? 0 !== e || 1 / e == 1 / t : e != e && t != t;
- };
- },
- {}
- ],
- 229: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = Object.defineProperty;
- t.exports = function (t, r) {
- try {
- s(n, t, { value: r, configurable: !0, writable: !0 });
- } catch (e) {
- n[t] = r;
- }
- return r;
- };
- },
- { '../internals/global': 160 }
- ],
- 230: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/get-built-in'),
- s = e('../internals/object-define-property'),
- i = e('../internals/well-known-symbol'),
- o = e('../internals/descriptors'),
- a = i('species');
- t.exports = function (e) {
- var e = n(e),
- t = s.f;
- o &&
- e &&
- !e[a] &&
- t(e, a, {
- configurable: !0,
- get: function () {
- return this;
- }
- });
- };
- },
- {
- '../internals/descriptors': 131,
- '../internals/get-built-in': 155,
- '../internals/object-define-property': 195,
- '../internals/well-known-symbol': 265
- }
- ],
- 231: [
- function (e, t, r) {
- var n = e('../internals/object-define-property').f,
- s = e('../internals/has-own-property'),
- i = e('../internals/well-known-symbol')('toStringTag');
- t.exports = function (e, t, r) {
- (e = e && !r ? e.prototype : e) && !s(e, i) && n(e, i, { configurable: !0, value: t });
- };
- },
- {
- '../internals/has-own-property': 161,
- '../internals/object-define-property': 195,
- '../internals/well-known-symbol': 265
- }
- ],
- 232: [
- function (e, t, r) {
- var n = e('../internals/shared'),
- s = e('../internals/uid'),
- i = n('keys');
- t.exports = function (e) {
- return i[e] || (i[e] = s(e));
- };
- },
- { '../internals/shared': 234, '../internals/uid': 260 }
- ],
- 233: [
- function (e, t, r) {
- var n = e('../internals/global'),
- e = e('../internals/set-global'),
- s = '__core-js_shared__',
- n = n[s] || e(s, {});
- t.exports = n;
- },
- { '../internals/global': 160, '../internals/set-global': 229 }
- ],
- 234: [
- function (e, t, r) {
- var n = e('../internals/is-pure'),
- s = e('../internals/shared-store');
- (t.exports = function (e, t) {
- return s[e] || (s[e] = void 0 !== t ? t : {});
- })('versions', []).push({
- version: '3.22.1',
- mode: n ? 'pure' : 'global',
- copyright: '\xa9 2014-2022 Denis Pushkarev (zloirock.ru)',
- license: 'https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE',
- source: 'https://github.com/zloirock/core-js'
- });
- },
- { '../internals/is-pure': 178, '../internals/shared-store': 233 }
- ],
- 235: [
- function (e, t, r) {
- var n = e('../internals/an-object'),
- s = e('../internals/a-constructor'),
- i = e('../internals/well-known-symbol')('species');
- t.exports = function (e, t) {
- var e = n(e).constructor;
- return void 0 === e || null == (e = n(e)[i]) ? t : s(e);
- };
- },
- { '../internals/a-constructor': 93, '../internals/an-object': 98, '../internals/well-known-symbol': 265 }
- ],
- 236: [
- function (e, t, r) {
- function n(s) {
- return function (e, t) {
- var r,
- e = o(a(e)),
- t = i(t),
- n = e.length;
- return t < 0 || n <= t
- ? s
- ? ''
- : void 0
- : (r = l(e, t)) < 55296 || 56319 < r || t + 1 === n || (n = l(e, t + 1)) < 56320 || 57343 < n
- ? s
- ? c(e, t)
- : r
- : s
- ? u(e, t, t + 2)
- : n - 56320 + ((r - 55296) << 10) + 65536;
- };
- }
- var s = e('../internals/function-uncurry-this'),
- i = e('../internals/to-integer-or-infinity'),
- o = e('../internals/to-string'),
- a = e('../internals/require-object-coercible'),
- c = s(''.charAt),
- l = s(''.charCodeAt),
- u = s(''.slice);
- t.exports = { codeAt: n(!1), charAt: n(!0) };
- },
- {
- '../internals/function-uncurry-this': 154,
- '../internals/require-object-coercible': 227,
- '../internals/to-integer-or-infinity': 245,
- '../internals/to-string': 253
- }
- ],
- 237: [
- function (e, t, r) {
- var n = e('../internals/function-name').PROPER,
- s = e('../internals/fails'),
- i = e('../internals/whitespaces');
- t.exports = function (e) {
- return s(function () {
- return !!i[e]() || '\u200b\x85\u180e' !== '\u200b\x85\u180e'[e]() || (n && i[e].name !== e);
- });
- };
- },
- { '../internals/fails': 147, '../internals/function-name': 153, '../internals/whitespaces': 266 }
- ],
- 238: [
- function (e, t, r) {
- function n(t) {
- return function (e) {
- e = o(i(e));
- return 1 & t && (e = a(e, c, '')), (e = 2 & t ? a(e, l, '') : e);
- };
- }
- var s = e('../internals/function-uncurry-this'),
- i = e('../internals/require-object-coercible'),
- o = e('../internals/to-string'),
- e = e('../internals/whitespaces'),
- a = s(''.replace),
- s = '[' + e + ']',
- c = RegExp('^' + s + s + '*'),
- l = RegExp(s + s + '*$');
- t.exports = { start: n(1), end: n(2), trim: n(3) };
- },
- {
- '../internals/function-uncurry-this': 154,
- '../internals/require-object-coercible': 227,
- '../internals/to-string': 253,
- '../internals/whitespaces': 266
- }
- ],
- 239: [
- function (e, t, r) {
- var n = e('../internals/function-call'),
- s = e('../internals/get-built-in'),
- i = e('../internals/well-known-symbol'),
- o = e('../internals/redefine');
- t.exports = function () {
- var e = s('Symbol'),
- e = e && e.prototype,
- t = e && e.valueOf,
- r = i('toPrimitive');
- e &&
- !e[r] &&
- o(e, r, function (e) {
- return n(t, this);
- });
- };
- },
- {
- '../internals/function-call': 152,
- '../internals/get-built-in': 155,
- '../internals/redefine': 219,
- '../internals/well-known-symbol': 265
- }
- ],
- 240: [
- function (e, t, r) {
- var n,
- s,
- i = e('../internals/global'),
- o = e('../internals/function-apply'),
- a = e('../internals/function-bind-context'),
- c = e('../internals/is-callable'),
- l = e('../internals/has-own-property'),
- u = e('../internals/fails'),
- p = e('../internals/html'),
- f = e('../internals/array-slice'),
- d = e('../internals/document-create-element'),
- h = e('../internals/validate-arguments-length'),
- m = e('../internals/engine-is-ios'),
- e = e('../internals/engine-is-node'),
- y = i.setImmediate,
- b = i.clearImmediate,
- g = i.process,
- v = i.Dispatch,
- j = i.Function,
- w = i.MessageChannel,
- x = i.String,
- T = 0,
- k = {},
- E = 'onreadystatechange';
- try {
- n = i.location;
- } catch (e) {}
- function _(e) {
- return function () {
- A(e);
- };
- }
- function S(e) {
- A(e.data);
- }
- function O(e) {
- i.postMessage(x(e), n.protocol + '//' + n.host);
- }
- var A = function (e) {
- var t;
- l(k, e) && ((t = k[e]), delete k[e], t());
- };
- (y && b) ||
- ((y = function (e) {
- h(arguments.length, 1);
- var t = c(e) ? e : j(e),
- r = f(arguments, 1);
- return (
- (k[++T] = function () {
- o(t, void 0, r);
- }),
- s(T),
- T
- );
- }),
- (b = function (e) {
- delete k[e];
- }),
- e
- ? (s = function (e) {
- g.nextTick(_(e));
- })
- : v && v.now
- ? (s = function (e) {
- v.now(_(e));
- })
- : w && !m
- ? ((m = (e = new w()).port2), (e.port1.onmessage = S), (s = a(m.postMessage, m)))
- : i.addEventListener && c(i.postMessage) && !i.importScripts && n && 'file:' !== n.protocol && !u(O)
- ? ((s = O), i.addEventListener('message', S, !1))
- : (s =
- E in d('script')
- ? function (e) {
- p.appendChild(d('script'))[E] = function () {
- p.removeChild(this), A(e);
- };
- }
- : function (e) {
- setTimeout(_(e), 0);
- })),
- (t.exports = { set: y, clear: b });
- },
- {
- '../internals/array-slice': 114,
- '../internals/document-create-element': 132,
- '../internals/engine-is-ios': 139,
- '../internals/engine-is-node': 140,
- '../internals/fails': 147,
- '../internals/function-apply': 149,
- '../internals/function-bind-context': 150,
- '../internals/global': 160,
- '../internals/has-own-property': 161,
- '../internals/html': 164,
- '../internals/is-callable': 173,
- '../internals/validate-arguments-length': 263
- }
- ],
- 241: [
- function (e, t, r) {
- e = e('../internals/function-uncurry-this');
- t.exports = e((1).valueOf);
- },
- { '../internals/function-uncurry-this': 154 }
- ],
- 242: [
- function (e, t, r) {
- var n = e('../internals/to-integer-or-infinity'),
- s = Math.max,
- i = Math.min;
- t.exports = function (e, t) {
- e = n(e);
- return e < 0 ? s(e + t, 0) : i(e, t);
- };
- },
- { '../internals/to-integer-or-infinity': 245 }
- ],
- 243: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/to-integer-or-infinity'),
- i = e('../internals/to-length'),
- o = n.RangeError;
- t.exports = function (e) {
- if (void 0 === e) return 0;
- var e = s(e),
- t = i(e);
- if (e !== t) throw o('Wrong length or index');
- return t;
- };
- },
- { '../internals/global': 160, '../internals/to-integer-or-infinity': 245, '../internals/to-length': 246 }
- ],
- 244: [
- function (e, t, r) {
- var n = e('../internals/indexed-object'),
- s = e('../internals/require-object-coercible');
- t.exports = function (e) {
- return n(s(e));
- };
- },
- { '../internals/indexed-object': 167, '../internals/require-object-coercible': 227 }
- ],
- 245: [
- function (e, t, r) {
- var n = Math.ceil,
- s = Math.floor;
- t.exports = function (e) {
- e = +e;
- return e != e || 0 == e ? 0 : (0 < e ? s : n)(e);
- };
- },
- {}
- ],
- 246: [
- function (e, t, r) {
- var n = e('../internals/to-integer-or-infinity'),
- s = Math.min;
- t.exports = function (e) {
- return 0 < e ? s(n(e), 9007199254740991) : 0;
- };
- },
- { '../internals/to-integer-or-infinity': 245 }
- ],
- 247: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/require-object-coercible'),
- i = n.Object;
- t.exports = function (e) {
- return i(s(e));
- };
- },
- { '../internals/global': 160, '../internals/require-object-coercible': 227 }
- ],
- 248: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/to-positive-integer'),
- i = n.RangeError;
- t.exports = function (e, t) {
- e = s(e);
- if (e % t) throw i('Wrong offset');
- return e;
- };
- },
- { '../internals/global': 160, '../internals/to-positive-integer': 249 }
- ],
- 249: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/to-integer-or-infinity'),
- i = n.RangeError;
- t.exports = function (e) {
- e = s(e);
- if (e < 0) throw i("The argument can't be less than 0");
- return e;
- };
- },
- { '../internals/global': 160, '../internals/to-integer-or-infinity': 245 }
- ],
- 250: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/function-call'),
- i = e('../internals/is-object'),
- o = e('../internals/is-symbol'),
- a = e('../internals/get-method'),
- c = e('../internals/ordinary-to-primitive'),
- e = e('../internals/well-known-symbol'),
- l = n.TypeError,
- u = e('toPrimitive');
- t.exports = function (e, t) {
- if (!i(e) || o(e)) return e;
- var r = a(e, u);
- if (r) {
- if (((r = s(r, e, (t = void 0 === t ? 'default' : t))), !i(r) || o(r))) return r;
- throw l("Can't convert object to primitive value");
- }
- return c(e, (t = void 0 === t ? 'number' : t));
- };
- },
- {
- '../internals/function-call': 152,
- '../internals/get-method': 158,
- '../internals/global': 160,
- '../internals/is-object': 177,
- '../internals/is-symbol': 180,
- '../internals/ordinary-to-primitive': 208,
- '../internals/well-known-symbol': 265
- }
- ],
- 251: [
- function (e, t, r) {
- var n = e('../internals/to-primitive'),
- s = e('../internals/is-symbol');
- t.exports = function (e) {
- e = n(e, 'string');
- return s(e) ? e : e + '';
- };
- },
- { '../internals/is-symbol': 180, '../internals/to-primitive': 250 }
- ],
- 252: [
- function (e, t, r) {
- var n = {};
- (n[e('../internals/well-known-symbol')('toStringTag')] = 'z'), (t.exports = '[object z]' === String(n));
- },
- { '../internals/well-known-symbol': 265 }
- ],
- 253: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/classof'),
- i = n.String;
- t.exports = function (e) {
- if ('Symbol' === s(e)) throw TypeError('Cannot convert a Symbol value to a string');
- return i(e);
- };
- },
- { '../internals/classof': 121, '../internals/global': 160 }
- ],
- 254: [
- function (e, t, r) {
- var n = e('../internals/global').String;
- t.exports = function (e) {
- try {
- return n(e);
- } catch (e) {
- return 'Object';
- }
- };
- },
- { '../internals/global': 160 }
- ],
- 255: [
- function (e, t, M) {
- 'use strict';
- function d(e, t) {
- re(e);
- for (var r = 0, n = t.length, s = new e(n); r < n; ) s[r] = t[r++];
- return s;
- }
- function r(e, t) {
- _(e, t, {
- get: function () {
- return E(this)[t];
- }
- });
- }
- function h(e) {
- return z(Q, e) || 'ArrayBuffer' == (e = G(e)) || 'SharedArrayBuffer' == e;
- }
- function n(e, t) {
- return N(e) && !X(t) && t in e && F(+t) && 0 <= t;
- }
- function s(e, t) {
- return (t = l(t)), n(e, t) ? q(2, e[t]) : J(e, t);
- }
- function i(e, t, r) {
- return (
- (t = l(t)),
- !(n(e, t) && w(r) && u(r, 'value')) ||
- u(r, 'get') ||
- u(r, 'set') ||
- r.configurable ||
- (u(r, 'writable') && !r.writable) ||
- (u(r, 'enumerable') && !r.enumerable)
- ? _(e, t, r)
- : ((e[t] = r.value), e)
- );
- }
- var c = e('../internals/export'),
- m = e('../internals/global'),
- y = e('../internals/function-call'),
- L = e('../internals/descriptors'),
- B = e('../internals/typed-array-constructors-require-wrappers'),
- o = e('../internals/array-buffer-view-core'),
- a = e('../internals/array-buffer'),
- b = e('../internals/an-instance'),
- q = e('../internals/create-property-descriptor'),
- g = e('../internals/create-non-enumerable-property'),
- F = e('../internals/is-integral-number'),
- U = e('../internals/to-length'),
- v = e('../internals/to-index'),
- j = e('../internals/to-offset'),
- l = e('../internals/to-property-key'),
- u = e('../internals/has-own-property'),
- G = e('../internals/classof'),
- w = e('../internals/is-object'),
- X = e('../internals/is-symbol'),
- V = e('../internals/object-create'),
- z = e('../internals/object-is-prototype-of'),
- x = e('../internals/object-set-prototype-of'),
- W = e('../internals/object-get-own-property-names').f,
- T = e('../internals/typed-array-from'),
- H = e('../internals/array-iteration').forEach,
- K = e('../internals/set-species'),
- p = e('../internals/object-define-property'),
- f = e('../internals/object-get-own-property-descriptor'),
- k = e('../internals/internal-state'),
- Y = e('../internals/inherit-if-required'),
- E = k.get,
- $ = k.set,
- _ = p.f,
- J = f.f,
- Z = Math.round,
- S = m.RangeError,
- O = a.ArrayBuffer,
- Q = O.prototype,
- ee = a.DataView,
- A = o.NATIVE_ARRAY_BUFFER_VIEWS,
- te = o.TYPED_ARRAY_CONSTRUCTOR,
- D = o.TYPED_ARRAY_TAG,
- I = o.TypedArray,
- C = o.TypedArrayPrototype,
- re = o.aTypedArrayConstructor,
- N = o.isTypedArray,
- R = 'BYTES_PER_ELEMENT',
- P = 'Wrong length';
- L
- ? (A || ((f.f = s), (p.f = i), r(C, 'buffer'), r(C, 'byteOffset'), r(C, 'byteLength'), r(C, 'length')),
- c({ target: 'Object', stat: !0, forced: !A }, { getOwnPropertyDescriptor: s, defineProperty: i }),
- (t.exports = function (e, t, s) {
- function l(e, n) {
- _(e, n, {
- get: function () {
- var e = this,
- t = n;
- return (e = E(e)).view[i](t * u + e.byteOffset, !0);
- },
- set: function (e) {
- var t = this,
- r = n;
- (t = E(t)),
- s && (e = (e = Z(e)) < 0 ? 0 : 255 < e ? 255 : 255 & e),
- t.view[o](r * u + t.byteOffset, e, !0);
- },
- enumerable: !0
- });
- }
- var u = e.match(/\d+$/)[0] / 8,
- r = e + (s ? 'Clamped' : '') + 'Array',
- i = 'get' + e,
- o = 'set' + e,
- a = m[r],
- p = a,
- f = p && p.prototype,
- e = {};
- A
- ? B &&
- ((p = t(function (e, t, r, n) {
- return (
- b(e, f),
- Y(
- w(t)
- ? h(t)
- ? void 0 !== n
- ? new a(t, j(r, u), n)
- : void 0 !== r
- ? new a(t, j(r, u))
- : new a(t)
- : N(t)
- ? d(p, t)
- : y(T, p, t)
- : new a(v(t)),
- e,
- p
- )
- );
- })),
- x && x(p, I),
- H(W(a), function (e) {
- e in p || g(p, e, a[e]);
- }),
- (p.prototype = f))
- : ((p = t(function (e, t, r, n) {
- b(e, f);
- var s,
- i,
- o = 0,
- a = 0;
- if (w(t)) {
- if (!h(t)) return N(t) ? d(p, t) : y(T, p, t);
- var c = t,
- a = j(r, u),
- r = t.byteLength;
- if (void 0 === n) {
- if (r % u) throw S(P);
- if ((s = r - a) < 0) throw S(P);
- } else if (r < (s = U(n) * u) + a) throw S(P);
- i = s / u;
- } else (i = v(t)), (c = new O((s = i * u)));
- for ($(e, { buffer: c, byteOffset: a, byteLength: s, length: i, view: new ee(c) }); o < i; )
- l(e, o++);
- })),
- x && x(p, I),
- (f = p.prototype = V(C))),
- f.constructor !== p && g(f, 'constructor', p),
- g(f, te, p),
- D && g(f, D, r),
- (e[r] = p),
- c({ global: !0, forced: p != a, sham: !A }, e),
- R in p || g(p, R, u),
- R in f || g(f, R, u),
- K(r);
- }))
- : (t.exports = function () {});
- },
- {
- '../internals/an-instance': 97,
- '../internals/array-buffer': 101,
- '../internals/array-buffer-view-core': 100,
- '../internals/array-iteration': 108,
- '../internals/classof': 121,
- '../internals/create-non-enumerable-property': 126,
- '../internals/create-property-descriptor': 127,
- '../internals/descriptors': 131,
- '../internals/export': 146,
- '../internals/function-call': 152,
- '../internals/global': 160,
- '../internals/has-own-property': 161,
- '../internals/inherit-if-required': 168,
- '../internals/internal-state': 170,
- '../internals/is-integral-number': 176,
- '../internals/is-object': 177,
- '../internals/is-symbol': 180,
- '../internals/object-create': 193,
- '../internals/object-define-property': 195,
- '../internals/object-get-own-property-descriptor': 196,
- '../internals/object-get-own-property-names': 198,
- '../internals/object-is-prototype-of': 201,
- '../internals/object-set-prototype-of': 205,
- '../internals/set-species': 230,
- '../internals/to-index': 243,
- '../internals/to-length': 246,
- '../internals/to-offset': 248,
- '../internals/to-property-key': 251,
- '../internals/typed-array-constructors-require-wrappers': 256,
- '../internals/typed-array-from': 258
- }
- ],
- 256: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/fails'),
- i = e('../internals/check-correctness-of-iteration'),
- e = e('../internals/array-buffer-view-core').NATIVE_ARRAY_BUFFER_VIEWS,
- o = n.ArrayBuffer,
- a = n.Int8Array;
- t.exports =
- !e ||
- !s(function () {
- a(1);
- }) ||
- !s(function () {
- new a(-1);
- }) ||
- !i(function (e) {
- new a(), new a(null), new a(1.5), new a(e);
- }, !0) ||
- s(function () {
- return 1 !== new a(new o(2), 1, void 0).length;
- });
- },
- {
- '../internals/array-buffer-view-core': 100,
- '../internals/check-correctness-of-iteration': 119,
- '../internals/fails': 147,
- '../internals/global': 160
- }
- ],
- 257: [
- function (e, t, r) {
- var n = e('../internals/array-from-constructor-and-list'),
- s = e('../internals/typed-array-species-constructor');
- t.exports = function (e, t) {
- return n(s(e), t);
- };
- },
- { '../internals/array-from-constructor-and-list': 105, '../internals/typed-array-species-constructor': 259 }
- ],
- 258: [
- function (e, t, r) {
- var d = e('../internals/function-bind-context'),
- h = e('../internals/function-call'),
- m = e('../internals/a-constructor'),
- y = e('../internals/to-object'),
- b = e('../internals/length-of-array-like'),
- g = e('../internals/get-iterator'),
- v = e('../internals/get-iterator-method'),
- j = e('../internals/is-array-iterator-method'),
- w = e('../internals/array-buffer-view-core').aTypedArrayConstructor;
- t.exports = function (e) {
- var t,
- r,
- n,
- s,
- i,
- o,
- a = m(this),
- c = y(e),
- l = arguments.length,
- u = 1 < l ? arguments[1] : void 0,
- p = void 0 !== u,
- f = v(c);
- if (f && !j(f)) for (o = (i = g(c, f)).next, c = []; !(s = h(o, i)).done; ) c.push(s.value);
- for (p && 2 < l && (u = d(u, arguments[2])), r = b(c), n = new (w(a))(r), t = 0; t < r; t++)
- n[t] = p ? u(c[t], t) : c[t];
- return n;
- };
- },
- {
- '../internals/a-constructor': 93,
- '../internals/array-buffer-view-core': 100,
- '../internals/function-bind-context': 150,
- '../internals/function-call': 152,
- '../internals/get-iterator': 157,
- '../internals/get-iterator-method': 156,
- '../internals/is-array-iterator-method': 171,
- '../internals/length-of-array-like': 185,
- '../internals/to-object': 247
- }
- ],
- 259: [
- function (e, t, r) {
- var n = e('../internals/array-buffer-view-core'),
- s = e('../internals/species-constructor'),
- i = n.TYPED_ARRAY_CONSTRUCTOR,
- o = n.aTypedArrayConstructor;
- t.exports = function (e) {
- return o(s(e, e[i]));
- };
- },
- { '../internals/array-buffer-view-core': 100, '../internals/species-constructor': 235 }
- ],
- 260: [
- function (e, t, r) {
- var e = e('../internals/function-uncurry-this'),
- n = 0,
- s = Math.random(),
- i = e((1).toString);
- t.exports = function (e) {
- return 'Symbol(' + (void 0 === e ? '' : e) + ')_' + i(++n + s, 36);
- };
- },
- { '../internals/function-uncurry-this': 154 }
- ],
- 261: [
- function (e, t, r) {
- e = e('../internals/native-symbol');
- t.exports = e && !Symbol.sham && 'symbol' == typeof Symbol.iterator;
- },
- { '../internals/native-symbol': 188 }
- ],
- 262: [
- function (e, t, r) {
- var n = e('../internals/descriptors'),
- e = e('../internals/fails');
- t.exports =
- n &&
- e(function () {
- return 42 != Object.defineProperty(function () {}, 'prototype', { value: 42, writable: !1 }).prototype;
- });
- },
- { '../internals/descriptors': 131, '../internals/fails': 147 }
- ],
- 263: [
- function (e, t, r) {
- var n = e('../internals/global').TypeError;
- t.exports = function (e, t) {
- if (e < t) throw n('Not enough arguments');
- return e;
- };
- },
- { '../internals/global': 160 }
- ],
- 264: [
- function (e, t, r) {
- e = e('../internals/well-known-symbol');
- r.f = e;
- },
- { '../internals/well-known-symbol': 265 }
- ],
- 265: [
- function (e, t, r) {
- var n = e('../internals/global'),
- s = e('../internals/shared'),
- i = e('../internals/has-own-property'),
- o = e('../internals/uid'),
- a = e('../internals/native-symbol'),
- c = e('../internals/use-symbol-as-uid'),
- l = s('wks'),
- u = n.Symbol,
- p = u && u.for,
- f = c ? u : (u && u.withoutSetter) || o;
- t.exports = function (e) {
- var t;
- return (
- (i(l, e) && (a || 'string' == typeof l[e])) ||
- ((t = 'Symbol.' + e), a && i(u, e) ? (l[e] = u[e]) : (l[e] = (c && p ? p : f)(t))),
- l[e]
- );
- };
- },
- {
- '../internals/global': 160,
- '../internals/has-own-property': 161,
- '../internals/native-symbol': 188,
- '../internals/shared': 234,
- '../internals/uid': 260,
- '../internals/use-symbol-as-uid': 261
- }
- ],
- 266: [
- function (e, t, r) {
- t.exports =
- '\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff';
- },
- {}
- ],
- 267: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- s = e('../internals/global'),
- i = e('../internals/array-buffer'),
- e = e('../internals/set-species'),
- o = 'ArrayBuffer',
- i = i[o];
- n({ global: !0, forced: s[o] !== i }, { ArrayBuffer: i }), e(o);
- },
- {
- '../internals/array-buffer': 101,
- '../internals/export': 146,
- '../internals/global': 160,
- '../internals/set-species': 230
- }
- ],
- 268: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- s = e('../internals/function-uncurry-this'),
- i = e('../internals/fails'),
- o = e('../internals/array-buffer'),
- c = e('../internals/an-object'),
- l = e('../internals/to-absolute-index'),
- u = e('../internals/to-length'),
- p = e('../internals/species-constructor'),
- f = o.ArrayBuffer,
- d = o.DataView,
- e = d.prototype,
- h = s(f.prototype.slice),
- m = s(e.getUint8),
- y = s(e.setUint8);
- n(
- {
- target: 'ArrayBuffer',
- proto: !0,
- unsafe: !0,
- forced: i(function () {
- return !new f(2).slice(1, void 0).byteLength;
- })
- },
- {
- slice: function (e, t) {
- if (h && void 0 === t) return h(c(this), e);
- for (
- var r = c(this).byteLength,
- n = l(e, r),
- s = l(void 0 === t ? r : t, r),
- e = new (p(this, f))(u(s - n)),
- i = new d(this),
- o = new d(e),
- a = 0;
- n < s;
- )
- y(o, a++, m(i, n++));
- return e;
- }
- }
- );
- },
- {
- '../internals/an-object': 98,
- '../internals/array-buffer': 101,
- '../internals/export': 146,
- '../internals/fails': 147,
- '../internals/function-uncurry-this': 154,
- '../internals/species-constructor': 235,
- '../internals/to-absolute-index': 242,
- '../internals/to-length': 246
- }
- ],
- 269: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- s = e('../internals/global'),
- i = e('../internals/fails'),
- l = e('../internals/is-array'),
- u = e('../internals/is-object'),
- p = e('../internals/to-object'),
- f = e('../internals/length-of-array-like'),
- d = e('../internals/create-property'),
- h = e('../internals/array-species-create'),
- o = e('../internals/array-method-has-species-support'),
- a = e('../internals/well-known-symbol'),
- e = e('../internals/engine-v8-version'),
- m = a('isConcatSpreadable'),
- y = 9007199254740991,
- b = 'Maximum allowed index exceeded',
- g = s.TypeError,
- a =
- 51 <= e ||
- !i(function () {
- var e = [];
- return (e[m] = !1), e.concat()[0] !== e;
- }),
- s = o('concat');
- n(
- { target: 'Array', proto: !0, forced: !a || !s },
- {
- concat: function (e) {
- for (var t, r, n, s = p(this), i = h(s, 0), o = 0, a = -1, c = arguments.length; a < c; a++)
- if (
- (function (e) {
- if (!u(e)) return !1;
- var t = e[m];
- return void 0 !== t ? !!t : l(e);
- })((n = -1 === a ? s : arguments[a]))
- ) {
- if (((r = f(n)), y < o + r)) throw g(b);
- for (t = 0; t < r; t++, o++) t in n && d(i, o, n[t]);
- } else {
- if (y <= o) throw g(b);
- d(i, o++, n);
- }
- return (i.length = o), i;
- }
- }
- );
- },
- {
- '../internals/array-method-has-species-support': 110,
- '../internals/array-species-create': 117,
- '../internals/create-property': 128,
- '../internals/engine-v8-version': 143,
- '../internals/export': 146,
- '../internals/fails': 147,
- '../internals/global': 160,
- '../internals/is-array': 172,
- '../internals/is-object': 177,
- '../internals/length-of-array-like': 185,
- '../internals/to-object': 247,
- '../internals/well-known-symbol': 265
- }
- ],
- 270: [
- function (e, t, r) {
- var n = e('../internals/export'),
- s = e('../internals/array-fill'),
- e = e('../internals/add-to-unscopables');
- n({ target: 'Array', proto: !0 }, { fill: s }), e('fill');
- },
- { '../internals/add-to-unscopables': 95, '../internals/array-fill': 103, '../internals/export': 146 }
- ],
- 271: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- s = e('../internals/array-iteration').filter;
- n(
- { target: 'Array', proto: !0, forced: !e('../internals/array-method-has-species-support')('filter') },
- {
- filter: function (e) {
- return s(this, e, 1 < arguments.length ? arguments[1] : void 0);
- }
- }
- );
- },
- {
- '../internals/array-iteration': 108,
- '../internals/array-method-has-species-support': 110,
- '../internals/export': 146
- }
- ],
- 272: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- s = e('../internals/array-iteration').find,
- e = e('../internals/add-to-unscopables'),
- i = !0;
- 'find' in [] &&
- Array(1).find(function () {
- i = !1;
- }),
- n(
- { target: 'Array', proto: !0, forced: i },
- {
- find: function (e) {
- return s(this, e, 1 < arguments.length ? arguments[1] : void 0);
- }
- }
- ),
- e('find');
- },
- { '../internals/add-to-unscopables': 95, '../internals/array-iteration': 108, '../internals/export': 146 }
- ],
- 273: [
- function (e, t, r) {
- var n = e('../internals/export'),
- s = e('../internals/array-from');
- n(
- {
- target: 'Array',
- stat: !0,
- forced: !e('../internals/check-correctness-of-iteration')(function (e) {
- Array.from(e);
- })
- },
- { from: s }
- );
- },
- {
- '../internals/array-from': 106,
- '../internals/check-correctness-of-iteration': 119,
- '../internals/export': 146
- }
- ],
- 274: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- s = e('../internals/array-includes').includes,
- e = e('../internals/add-to-unscopables');
- n(
- { target: 'Array', proto: !0 },
- {
- includes: function (e) {
- return s(this, e, 1 < arguments.length ? arguments[1] : void 0);
- }
- }
- ),
- e('includes');
- },
- { '../internals/add-to-unscopables': 95, '../internals/array-includes': 107, '../internals/export': 146 }
- ],
- 275: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/to-indexed-object'),
- s = e('../internals/add-to-unscopables'),
- i = e('../internals/iterators'),
- o = e('../internals/internal-state'),
- a = e('../internals/object-define-property').f,
- c = e('../internals/define-iterator'),
- l = e('../internals/is-pure'),
- e = e('../internals/descriptors'),
- u = 'Array Iterator',
- p = o.set,
- f = o.getterFor(u),
- o =
- ((t.exports = c(
- Array,
- 'Array',
- function (e, t) {
- p(this, { type: u, target: n(e), index: 0, kind: t });
- },
- function () {
- var e = f(this),
- t = e.target,
- r = e.kind,
- n = e.index++;
- return !t || n >= t.length
- ? { value: (e.target = void 0), done: !0 }
- : 'keys' == r
- ? { value: n, done: !1 }
- : 'values' == r
- ? { value: t[n], done: !1 }
- : { value: [n, t[n]], done: !1 };
- },
- 'values'
- )),
- (i.Arguments = i.Array));
- if ((s('keys'), s('values'), s('entries'), !l && e && 'values' !== o.name))
- try {
- a(o, 'name', { value: 'values' });
- } catch (e) {}
- },
- {
- '../internals/add-to-unscopables': 95,
- '../internals/define-iterator': 129,
- '../internals/descriptors': 131,
- '../internals/internal-state': 170,
- '../internals/is-pure': 178,
- '../internals/iterators': 184,
- '../internals/object-define-property': 195,
- '../internals/to-indexed-object': 244
- }
- ],
- 276: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- s = e('../internals/function-uncurry-this'),
- i = e('../internals/indexed-object'),
- o = e('../internals/to-indexed-object'),
- e = e('../internals/array-method-is-strict'),
- a = s([].join),
- s = i != Object,
- i = e('join', ',');
- n(
- { target: 'Array', proto: !0, forced: s || !i },
- {
- join: function (e) {
- return a(o(this), void 0 === e ? ',' : e);
- }
- }
- );
- },
- {
- '../internals/array-method-is-strict': 111,
- '../internals/export': 146,
- '../internals/function-uncurry-this': 154,
- '../internals/indexed-object': 167,
- '../internals/to-indexed-object': 244
- }
- ],
- 277: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- s = e('../internals/array-iteration').map;
- n(
- { target: 'Array', proto: !0, forced: !e('../internals/array-method-has-species-support')('map') },
- {
- map: function (e) {
- return s(this, e, 1 < arguments.length ? arguments[1] : void 0);
- }
- }
- );
- },
- {
- '../internals/array-iteration': 108,
- '../internals/array-method-has-species-support': 110,
- '../internals/export': 146
- }
- ],
- 278: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- s = e('../internals/global'),
- l = e('../internals/is-array'),
- u = e('../internals/is-constructor'),
- p = e('../internals/is-object'),
- f = e('../internals/to-absolute-index'),
- d = e('../internals/length-of-array-like'),
- h = e('../internals/to-indexed-object'),
- m = e('../internals/create-property'),
- i = e('../internals/well-known-symbol'),
- o = e('../internals/array-method-has-species-support'),
- y = e('../internals/array-slice'),
- e = o('slice'),
- b = i('species'),
- g = s.Array,
- v = Math.max;
- n(
- { target: 'Array', proto: !0, forced: !e },
- {
- slice: function (e, t) {
- var r,
- n,
- s,
- i = h(this),
- o = d(i),
- a = f(e, o),
- c = f(void 0 === t ? o : t, o);
- if (
- l(i) &&
- ((r = i.constructor),
- (r = (u(r) && (r === g || l(r.prototype))) || (p(r) && null === (r = r[b])) ? void 0 : r) === g ||
- void 0 === r)
- )
- return y(i, a, c);
- for (n = new (void 0 === r ? g : r)(v(c - a, 0)), s = 0; a < c; a++, s++) a in i && m(n, s, i[a]);
- return (n.length = s), n;
- }
- }
- );
- },
- {
- '../internals/array-method-has-species-support': 110,
- '../internals/array-slice': 114,
- '../internals/create-property': 128,
- '../internals/export': 146,
- '../internals/global': 160,
- '../internals/is-array': 172,
- '../internals/is-constructor': 174,
- '../internals/is-object': 177,
- '../internals/length-of-array-like': 185,
- '../internals/to-absolute-index': 242,
- '../internals/to-indexed-object': 244,
- '../internals/well-known-symbol': 265
- }
- ],
- 279: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- s = e('../internals/function-uncurry-this'),
- a = e('../internals/a-callable'),
- c = e('../internals/to-object'),
- l = e('../internals/length-of-array-like'),
- u = e('../internals/to-string'),
- i = e('../internals/fails'),
- p = e('../internals/array-sort'),
- o = e('../internals/array-method-is-strict'),
- f = e('../internals/engine-ff-version'),
- d = e('../internals/engine-is-ie-or-edge'),
- h = e('../internals/engine-v8-version'),
- m = e('../internals/engine-webkit-version'),
- y = [],
- b = s(y.sort),
- g = s(y.push),
- e = i(function () {
- y.sort(void 0);
- }),
- s = i(function () {
- y.sort(null);
- }),
- o = o('sort'),
- v = !i(function () {
- if (h) return h < 70;
- if (!(f && 3 < f)) {
- if (d) return !0;
- if (m) return m < 603;
- for (var e, t, r, n = '', s = 65; s < 76; s++) {
- switch (((e = String.fromCharCode(s)), s)) {
- case 66:
- case 69:
- case 70:
- case 72:
- t = 3;
- break;
- case 68:
- case 71:
- t = 4;
- break;
- default:
- t = 2;
- }
- for (r = 0; r < 47; r++) y.push({ k: e + r, v: t });
- }
- for (
- y.sort(function (e, t) {
- return t.v - e.v;
- }),
- r = 0;
- r < y.length;
- r++
- )
- (e = y[r].k.charAt(0)), n.charAt(n.length - 1) !== e && (n += e);
- return 'DGBEFHACIJK' !== n;
- }
- });
- n(
- { target: 'Array', proto: !0, forced: e || !s || !o || !v },
- {
- sort: function (e) {
- void 0 !== e && a(e);
- var t = c(this);
- if (v) return void 0 === e ? b(t) : b(t, e);
- for (var r, n, s = [], i = l(t), o = 0; o < i; o++) o in t && g(s, t[o]);
- for (
- p(
- s,
- ((n = e),
- function (e, t) {
- return void 0 === t
- ? -1
- : void 0 === e
- ? 1
- : void 0 !== n
- ? +n(e, t) || 0
- : u(e) > u(t)
- ? 1
- : -1;
- })
- ),
- r = s.length,
- o = 0;
- o < r;
- )
- t[o] = s[o++];
- for (; o < i; ) delete t[o++];
- return t;
- }
- }
- );
- },
- {
- '../internals/a-callable': 92,
- '../internals/array-method-is-strict': 111,
- '../internals/array-sort': 115,
- '../internals/engine-ff-version': 135,
- '../internals/engine-is-ie-or-edge': 137,
- '../internals/engine-v8-version': 143,
- '../internals/engine-webkit-version': 144,
- '../internals/export': 146,
- '../internals/fails': 147,
- '../internals/function-uncurry-this': 154,
- '../internals/length-of-array-like': 185,
- '../internals/to-object': 247,
- '../internals/to-string': 253
- }
- ],
- 280: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- s = e('../internals/global'),
- p = e('../internals/to-absolute-index'),
- f = e('../internals/to-integer-or-infinity'),
- d = e('../internals/length-of-array-like'),
- h = e('../internals/to-object'),
- m = e('../internals/array-species-create'),
- y = e('../internals/create-property'),
- e = e('../internals/array-method-has-species-support')('splice'),
- b = s.TypeError,
- g = Math.max,
- v = Math.min;
- n(
- { target: 'Array', proto: !0, forced: !e },
- {
- splice: function (e, t) {
- var r,
- n,
- s,
- i,
- o,
- a,
- c = h(this),
- l = d(c),
- u = p(e, l),
- e = arguments.length;
- if (
- (0 === e ? (r = n = 0) : (n = 1 === e ? ((r = 0), l - u) : ((r = e - 2), v(g(f(t), 0), l - u))),
- 9007199254740991 < l + r - n)
- )
- throw b('Maximum allowed length exceeded');
- for (s = m(c, n), i = 0; i < n; i++) (o = u + i) in c && y(s, i, c[o]);
- if (r < (s.length = n)) {
- for (i = u; i < l - n; i++) (a = i + r), (o = i + n) in c ? (c[a] = c[o]) : delete c[a];
- for (i = l; l - n + r < i; i--) delete c[i - 1];
- } else if (n < r)
- for (i = l - n; u < i; i--) (a = i + r - 1), (o = i + n - 1) in c ? (c[a] = c[o]) : delete c[a];
- for (i = 0; i < r; i++) c[i + u] = arguments[i + 2];
- return (c.length = l - n + r), s;
- }
- }
- );
- },
- {
- '../internals/array-method-has-species-support': 110,
- '../internals/array-species-create': 117,
- '../internals/create-property': 128,
- '../internals/export': 146,
- '../internals/global': 160,
- '../internals/length-of-array-like': 185,
- '../internals/to-absolute-index': 242,
- '../internals/to-integer-or-infinity': 245,
- '../internals/to-object': 247
- }
- ],
- 281: [
- function (e, t, r) {
- var n = e('../internals/descriptors'),
- s = e('../internals/function-name').EXISTS,
- i = e('../internals/function-uncurry-this'),
- e = e('../internals/object-define-property').f,
- o = Function.prototype,
- a = i(o.toString),
- c = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,
- l = i(c.exec);
- n &&
- !s &&
- e(o, 'name', {
- configurable: !0,
- get: function () {
- try {
- return l(c, a(this))[1];
- } catch (e) {
- return '';
- }
- }
- });
- },
- {
- '../internals/descriptors': 131,
- '../internals/function-name': 153,
- '../internals/function-uncurry-this': 154,
- '../internals/object-define-property': 195
- }
- ],
- 282: [
- function (e, t, r) {
- function s(e, t) {
- var r = m(arguments),
- n = t;
- if ((d(t) || void 0 !== e) && !h(e))
- return (
- p(t) ||
- (t = function (e, t) {
- if ((f(n) && (t = c(n, this, e, t)), !h(t))) return t;
- }),
- (r[1] = t),
- a(y, null, r)
- );
- }
- function i(e, t, r) {
- var n = g(r, t - 1),
- r = g(r, t + 1);
- return (b(T, e) && !b(k, r)) || (b(k, e) && !b(T, n)) ? '\\u' + w(v(e, 0), 16) : e;
- }
- var n = e('../internals/export'),
- o = e('../internals/get-built-in'),
- a = e('../internals/function-apply'),
- c = e('../internals/function-call'),
- l = e('../internals/function-uncurry-this'),
- u = e('../internals/fails'),
- p = e('../internals/is-array'),
- f = e('../internals/is-callable'),
- d = e('../internals/is-object'),
- h = e('../internals/is-symbol'),
- m = e('../internals/array-slice'),
- e = e('../internals/native-symbol'),
- y = o('JSON', 'stringify'),
- b = l(/./.exec),
- g = l(''.charAt),
- v = l(''.charCodeAt),
- j = l(''.replace),
- w = l((1).toString),
- x = /[\uD800-\uDFFF]/g,
- T = /^[\uD800-\uDBFF]$/,
- k = /^[\uDC00-\uDFFF]$/,
- E =
- !e ||
- u(function () {
- var e = o('Symbol')();
- return '[null]' != y([e]) || '{}' != y({ a: e }) || '{}' != y(Object(e));
- }),
- _ = u(function () {
- return '"\\udf06\\ud834"' !== y('\udf06\ud834') || '"\\udead"' !== y('\udead');
- });
- y &&
- n(
- { target: 'JSON', stat: !0, forced: E || _ },
- {
- stringify: function (e, t, r) {
- var n = m(arguments),
- n = a(E ? s : y, null, n);
- return _ && 'string' == typeof n ? j(n, x, i) : n;
- }
- }
- );
- },
- {
- '../internals/array-slice': 114,
- '../internals/export': 146,
- '../internals/fails': 147,
- '../internals/function-apply': 149,
- '../internals/function-call': 152,
- '../internals/function-uncurry-this': 154,
- '../internals/get-built-in': 155,
- '../internals/is-array': 172,
- '../internals/is-callable': 173,
- '../internals/is-object': 177,
- '../internals/is-symbol': 180,
- '../internals/native-symbol': 188
- }
- ],
- 283: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/descriptors'),
- s = e('../internals/global'),
- i = e('../internals/function-uncurry-this'),
- o = e('../internals/is-forced'),
- a = e('../internals/redefine'),
- c = e('../internals/has-own-property'),
- l = e('../internals/inherit-if-required'),
- u = e('../internals/object-is-prototype-of'),
- p = e('../internals/is-symbol'),
- f = e('../internals/to-primitive'),
- d = e('../internals/fails'),
- h = e('../internals/object-get-own-property-names').f,
- m = e('../internals/object-get-own-property-descriptor').f,
- y = e('../internals/object-define-property').f,
- b = e('../internals/this-number-value'),
- g = e('../internals/string-trim').trim,
- e = 'Number',
- v = s[e],
- j = v.prototype,
- w = s.TypeError,
- x = i(''.slice),
- T = i(''.charCodeAt),
- k = function (e) {
- var t,
- r,
- n,
- s,
- i,
- o,
- a,
- c = f(e, 'number');
- if (p(c)) throw w('Cannot convert a Symbol value to a number');
- if ('string' == typeof c && 2 < c.length)
- if (((c = g(c)), 43 === (e = T(c, 0)) || 45 === e)) {
- if (88 === (t = T(c, 2)) || 120 === t) return NaN;
- } else if (48 === e) {
- switch (T(c, 1)) {
- case 66:
- case 98:
- (r = 2), (n = 49);
- break;
- case 79:
- case 111:
- (r = 8), (n = 55);
- break;
- default:
- return +c;
- }
- for (i = (s = x(c, 2)).length, o = 0; o < i; o++) if ((a = T(s, o)) < 48 || n < a) return NaN;
- return parseInt(s, r);
- }
- return +c;
- };
- if (o(e, !v(' 0o1') || !v('0b1') || v('+0x1'))) {
- for (
- var E,
- _ = function (e) {
- var e =
- arguments.length < 1
- ? 0
- : v(
- (function (e) {
- e = f(e, 'number');
- return 'bigint' == typeof e ? e : k(e);
- })(e)
- ),
- t = this;
- return u(j, t) &&
- d(function () {
- b(t);
- })
- ? l(Object(e), t, _)
- : e;
- },
- S = n
- ? h(v)
- : 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range'.split(
- ','
- ),
- O = 0;
- S.length > O;
- O++
- )
- c(v, (E = S[O])) && !c(_, E) && y(_, E, m(v, E));
- a(s, e, ((_.prototype = j).constructor = _));
- }
- },
- {
- '../internals/descriptors': 131,
- '../internals/fails': 147,
- '../internals/function-uncurry-this': 154,
- '../internals/global': 160,
- '../internals/has-own-property': 161,
- '../internals/inherit-if-required': 168,
- '../internals/is-forced': 175,
- '../internals/is-symbol': 180,
- '../internals/object-define-property': 195,
- '../internals/object-get-own-property-descriptor': 196,
- '../internals/object-get-own-property-names': 198,
- '../internals/object-is-prototype-of': 201,
- '../internals/redefine': 219,
- '../internals/string-trim': 238,
- '../internals/this-number-value': 241,
- '../internals/to-primitive': 250
- }
- ],
- 284: [
- function (e, t, r) {
- var n = e('../internals/export'),
- e = e('../internals/object-assign');
- n({ target: 'Object', stat: !0, forced: Object.assign !== e }, { assign: e });
- },
- { '../internals/export': 146, '../internals/object-assign': 192 }
- ],
- 285: [
- function (e, t, r) {
- var n = e('../internals/export'),
- s = e('../internals/object-to-array').entries;
- n(
- { target: 'Object', stat: !0 },
- {
- entries: function (e) {
- return s(e);
- }
- }
- );
- },
- { '../internals/export': 146, '../internals/object-to-array': 206 }
- ],
- 286: [
- function (e, t, r) {
- var n = e('../internals/export'),
- s = e('../internals/fails'),
- i = e('../internals/to-indexed-object'),
- o = e('../internals/object-get-own-property-descriptor').f,
- e = e('../internals/descriptors'),
- s = s(function () {
- o(1);
- });
- n(
- { target: 'Object', stat: !0, forced: !e || s, sham: !e },
- {
- getOwnPropertyDescriptor: function (e, t) {
- return o(i(e), t);
- }
- }
- );
- },
- {
- '../internals/descriptors': 131,
- '../internals/export': 146,
- '../internals/fails': 147,
- '../internals/object-get-own-property-descriptor': 196,
- '../internals/to-indexed-object': 244
- }
- ],
- 287: [
- function (e, t, r) {
- var n = e('../internals/export'),
- s = e('../internals/descriptors'),
- c = e('../internals/own-keys'),
- l = e('../internals/to-indexed-object'),
- u = e('../internals/object-get-own-property-descriptor'),
- p = e('../internals/create-property');
- n(
- { target: 'Object', stat: !0, sham: !s },
- {
- getOwnPropertyDescriptors: function (e) {
- for (var t, r, n = l(e), s = u.f, i = c(n), o = {}, a = 0; i.length > a; )
- void 0 !== (r = s(n, (t = i[a++]))) && p(o, t, r);
- return o;
- }
- }
- );
- },
- {
- '../internals/create-property': 128,
- '../internals/descriptors': 131,
- '../internals/export': 146,
- '../internals/object-get-own-property-descriptor': 196,
- '../internals/own-keys': 209,
- '../internals/to-indexed-object': 244
- }
- ],
- 288: [
- function (e, t, r) {
- var n = e('../internals/export'),
- s = e('../internals/native-symbol'),
- i = e('../internals/fails'),
- o = e('../internals/object-get-own-property-symbols'),
- a = e('../internals/to-object');
- n(
- {
- target: 'Object',
- stat: !0,
- forced:
- !s ||
- i(function () {
- o.f(1);
- })
- },
- {
- getOwnPropertySymbols: function (e) {
- var t = o.f;
- return t ? t(a(e)) : [];
- }
- }
- );
- },
- {
- '../internals/export': 146,
- '../internals/fails': 147,
- '../internals/native-symbol': 188,
- '../internals/object-get-own-property-symbols': 199,
- '../internals/to-object': 247
- }
- ],
- 289: [
- function (e, t, r) {
- var n = e('../internals/export'),
- s = e('../internals/to-object'),
- i = e('../internals/object-keys');
- n(
- {
- target: 'Object',
- stat: !0,
- forced: e('../internals/fails')(function () {
- i(1);
- })
- },
- {
- keys: function (e) {
- return i(s(e));
- }
- }
- );
- },
- {
- '../internals/export': 146,
- '../internals/fails': 147,
- '../internals/object-keys': 203,
- '../internals/to-object': 247
- }
- ],
- 290: [
- function (e, t, r) {
- var n = e('../internals/to-string-tag-support'),
- s = e('../internals/redefine'),
- e = e('../internals/object-to-string');
- n || s(Object.prototype, 'toString', e, { unsafe: !0 });
- },
- {
- '../internals/object-to-string': 207,
- '../internals/redefine': 219,
- '../internals/to-string-tag-support': 252
- }
- ],
- 291: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- u = e('../internals/function-call'),
- p = e('../internals/a-callable'),
- s = e('../internals/new-promise-capability'),
- i = e('../internals/perform'),
- f = e('../internals/iterate');
- n(
- { target: 'Promise', stat: !0, forced: e('../internals/promise-statics-incorrect-iteration') },
- {
- all: function (e) {
- var a = this,
- t = s.f(a),
- c = t.resolve,
- l = t.reject,
- r = i(function () {
- var n = p(a.resolve),
- s = [],
- i = 0,
- o = 1;
- f(e, function (e) {
- var t = i++,
- r = !1;
- o++,
- u(n, a, e).then(function (e) {
- r || ((r = !0), (s[t] = e), --o || c(s));
- }, l);
- }),
- --o || c(s);
- });
- return r.error && l(r.value), t.promise;
- }
- }
- );
- },
- {
- '../internals/a-callable': 92,
- '../internals/export': 146,
- '../internals/function-call': 152,
- '../internals/iterate': 181,
- '../internals/new-promise-capability': 190,
- '../internals/perform': 211,
- '../internals/promise-statics-incorrect-iteration': 215
- }
- ],
- 292: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- s = e('../internals/is-pure'),
- i = e('../internals/promise-constructor-detection').CONSTRUCTOR,
- o = e('../internals/promise-native-constructor'),
- a = e('../internals/get-built-in'),
- c = e('../internals/is-callable'),
- e = e('../internals/redefine'),
- l = o && o.prototype;
- n(
- { target: 'Promise', proto: !0, forced: i, real: !0 },
- {
- catch: function (e) {
- return this.then(void 0, e);
- }
- }
- ),
- !s && c(o) && ((n = a('Promise').prototype.catch), l.catch !== n && e(l, 'catch', n, { unsafe: !0 }));
- },
- {
- '../internals/export': 146,
- '../internals/get-built-in': 155,
- '../internals/is-callable': 173,
- '../internals/is-pure': 178,
- '../internals/promise-constructor-detection': 212,
- '../internals/promise-native-constructor': 213,
- '../internals/redefine': 219
- }
- ],
- 293: [
- function (e, M, L) {
- 'use strict';
- function i(e, t) {
- var r,
- n,
- s,
- i,
- o = t.value,
- a = t.state == _,
- c = a ? e.ok : e.fail,
- l = e.resolve,
- u = e.reject,
- p = e.domain;
- try {
- c
- ? (a ||
- (t.rejection === O &&
- ((i = t),
- h(m, d, function () {
- var e = i.facade;
- f ? T.emit('rejectionHandled', e) : I(ee, e, i.value);
- })),
- (t.rejection = S)),
- !0 === c ? (r = o) : (p && p.enter(), (r = c(o)), p && (p.exit(), (s = !0))),
- r === e.promise ? u(w('Promise-chain cycle')) : (n = A(r)) ? h(n, r, l, u) : l(r))
- : u(o);
- } catch (e) {
- p && !s && p.exit(), u(e);
- }
- }
- var r,
- t,
- n,
- s = e('../internals/export'),
- B = e('../internals/is-pure'),
- f = e('../internals/engine-is-node'),
- d = e('../internals/global'),
- h = e('../internals/function-call'),
- q = e('../internals/redefine'),
- F = e('../internals/redefine-all'),
- o = e('../internals/object-set-prototype-of'),
- U = e('../internals/set-to-string-tag'),
- G = e('../internals/set-species'),
- X = e('../internals/a-callable'),
- a = e('../internals/is-callable'),
- V = e('../internals/is-object'),
- z = e('../internals/an-instance'),
- W = e('../internals/species-constructor'),
- m = e('../internals/task').set,
- c = e('../internals/microtask'),
- H = e('../internals/host-report-errors'),
- K = e('../internals/perform'),
- Y = e('../internals/queue'),
- l = e('../internals/internal-state'),
- u = e('../internals/promise-native-constructor'),
- p = e('../internals/promise-constructor-detection'),
- e = e('../internals/new-promise-capability'),
- y = 'Promise',
- b = p.CONSTRUCTOR,
- $ = p.REJECTION_EVENT,
- p = p.SUBCLASSING,
- g = l.getterFor(y),
- J = l.set,
- l = u && u.prototype,
- v = u,
- j = l,
- w = d.TypeError,
- x = d.document,
- T = d.process,
- k = e.f,
- Z = k,
- Q = !!(x && x.createEvent && d.dispatchEvent),
- E = 'unhandledrejection',
- ee = 'rejectionhandled',
- _ = 1,
- te = 2,
- S = 1,
- O = 2,
- A = function (e) {
- var t;
- return !(!V(e) || !a((t = e.then))) && t;
- },
- D = function (r, s) {
- r.notified ||
- ((r.notified = !0),
- c(function () {
- for (var e, n, t = r.reactions; (e = t.get()); ) i(e, r);
- (r.notified = !1),
- s &&
- !r.rejection &&
- ((n = r),
- h(m, d, function () {
- var e = n.facade,
- t = n.value,
- r = C(n);
- if (
- r &&
- ((r = K(function () {
- f ? T.emit('unhandledRejection', t, e) : I(E, e, t);
- })),
- (n.rejection = f || C(n) ? O : S),
- r.error)
- )
- throw r.value;
- }));
- }));
- },
- I = function (e, t, r) {
- var n;
- Q
- ? (((n = x.createEvent('Event')).promise = t),
- (n.reason = r),
- n.initEvent(e, !1, !0),
- d.dispatchEvent(n))
- : (n = { promise: t, reason: r }),
- !$ && (t = d['on' + e]) ? t(n) : e === E && H('Unhandled promise rejection', r);
- },
- C = function (e) {
- return e.rejection !== S && !e.parent;
- },
- N = function (t, r, n) {
- return function (e) {
- t(r, e, n);
- };
- },
- R = function (e, t, r) {
- e.done || ((e.done = !0), ((e = r ? r : e).value = t), (e.state = te), D(e, !0));
- },
- P = function (r, e, t) {
- if (!r.done) {
- (r.done = !0), t && (r = t);
- try {
- if (r.facade === e) throw w("Promise can't be resolved itself");
- var n = A(e);
- n
- ? c(function () {
- var t = { done: !1 };
- try {
- h(n, e, N(P, t, r), N(R, t, r));
- } catch (e) {
- R(t, e, r);
- }
- })
- : ((r.value = e), (r.state = _), D(r, !1));
- } catch (e) {
- R({ done: !1 }, e, r);
- }
- }
- };
- if (
- b &&
- ((j = (v = function (e) {
- z(this, j), X(e), h(r, this);
- var t = g(this);
- try {
- e(N(P, t), N(R, t));
- } catch (e) {
- R(t, e);
- }
- }).prototype),
- ((r = function (e) {
- J(this, {
- type: y,
- done: !1,
- notified: !1,
- parent: !1,
- reactions: new Y(),
- rejection: !1,
- state: 0,
- value: void 0
- });
- }).prototype = F(j, {
- then: function (e, t) {
- var r = g(this),
- n = k(W(this, v));
- return (
- (r.parent = !0),
- (n.ok = !a(e) || e),
- (n.fail = a(t) && t),
- (n.domain = f ? T.domain : void 0),
- 0 == r.state
- ? r.reactions.add(n)
- : c(function () {
- i(n, r);
- }),
- n.promise
- );
- }
- })),
- (t = function () {
- var e = new r(),
- t = g(e);
- (this.promise = e), (this.resolve = N(P, t)), (this.reject = N(R, t));
- }),
- (e.f = k =
- function (e) {
- return e === v || void 0 === e ? new t() : Z(e);
- }),
- !B && a(u) && l !== Object.prototype)
- ) {
- (n = l.then),
- p ||
- q(
- l,
- 'then',
- function (e, t) {
- var r = this;
- return new v(function (e, t) {
- h(n, r, e, t);
- }).then(e, t);
- },
- { unsafe: !0 }
- );
- try {
- delete l.constructor;
- } catch (e) {}
- o && o(l, j);
- }
- s({ global: !0, wrap: !0, forced: b }, { Promise: v }), U(v, y, !1, !0), G(y);
- },
- {
- '../internals/a-callable': 92,
- '../internals/an-instance': 97,
- '../internals/engine-is-node': 140,
- '../internals/export': 146,
- '../internals/function-call': 152,
- '../internals/global': 160,
- '../internals/host-report-errors': 163,
- '../internals/internal-state': 170,
- '../internals/is-callable': 173,
- '../internals/is-object': 177,
- '../internals/is-pure': 178,
- '../internals/microtask': 186,
- '../internals/new-promise-capability': 190,
- '../internals/object-set-prototype-of': 205,
- '../internals/perform': 211,
- '../internals/promise-constructor-detection': 212,
- '../internals/promise-native-constructor': 213,
- '../internals/queue': 217,
- '../internals/redefine': 219,
- '../internals/redefine-all': 218,
- '../internals/set-species': 230,
- '../internals/set-to-string-tag': 231,
- '../internals/species-constructor': 235,
- '../internals/task': 240
- }
- ],
- 294: [
- function (e, t, r) {
- e('../modules/es.promise.constructor'),
- e('../modules/es.promise.all'),
- e('../modules/es.promise.catch'),
- e('../modules/es.promise.race'),
- e('../modules/es.promise.reject'),
- e('../modules/es.promise.resolve');
- },
- {
- '../modules/es.promise.all': 291,
- '../modules/es.promise.catch': 292,
- '../modules/es.promise.constructor': 293,
- '../modules/es.promise.race': 295,
- '../modules/es.promise.reject': 296,
- '../modules/es.promise.resolve': 297
- }
- ],
- 295: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- i = e('../internals/function-call'),
- o = e('../internals/a-callable'),
- a = e('../internals/new-promise-capability'),
- c = e('../internals/perform'),
- l = e('../internals/iterate');
- n(
- { target: 'Promise', stat: !0, forced: e('../internals/promise-statics-incorrect-iteration') },
- {
- race: function (e) {
- var r = this,
- n = a.f(r),
- s = n.reject,
- t = c(function () {
- var t = o(r.resolve);
- l(e, function (e) {
- i(t, r, e).then(n.resolve, s);
- });
- });
- return t.error && s(t.value), n.promise;
- }
- }
- );
- },
- {
- '../internals/a-callable': 92,
- '../internals/export': 146,
- '../internals/function-call': 152,
- '../internals/iterate': 181,
- '../internals/new-promise-capability': 190,
- '../internals/perform': 211,
- '../internals/promise-statics-incorrect-iteration': 215
- }
- ],
- 296: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- s = e('../internals/function-call'),
- i = e('../internals/new-promise-capability');
- n(
- { target: 'Promise', stat: !0, forced: e('../internals/promise-constructor-detection').CONSTRUCTOR },
- {
- reject: function (e) {
- var t = i.f(this);
- return s(t.reject, void 0, e), t.promise;
- }
- }
- );
- },
- {
- '../internals/export': 146,
- '../internals/function-call': 152,
- '../internals/new-promise-capability': 190,
- '../internals/promise-constructor-detection': 212
- }
- ],
- 297: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- s = e('../internals/get-built-in'),
- i = e('../internals/is-pure'),
- o = e('../internals/promise-native-constructor'),
- a = e('../internals/promise-constructor-detection').CONSTRUCTOR,
- c = e('../internals/promise-resolve'),
- l = s('Promise'),
- u = i && !a;
- n(
- { target: 'Promise', stat: !0, forced: i || a },
- {
- resolve: function (e) {
- return c(u && this === l ? o : this, e);
- }
- }
- );
- },
- {
- '../internals/export': 146,
- '../internals/get-built-in': 155,
- '../internals/is-pure': 178,
- '../internals/promise-constructor-detection': 212,
- '../internals/promise-native-constructor': 213,
- '../internals/promise-resolve': 214
- }
- ],
- 298: [
- function (e, M, L) {
- var t = e('../internals/descriptors'),
- r = e('../internals/global'),
- n = e('../internals/function-uncurry-this'),
- s = e('../internals/is-forced'),
- l = e('../internals/inherit-if-required'),
- u = e('../internals/create-non-enumerable-property'),
- i = e('../internals/object-get-own-property-names').f,
- p = e('../internals/object-is-prototype-of'),
- f = e('../internals/is-regexp'),
- d = e('../internals/to-string'),
- h = e('../internals/regexp-get-flags'),
- o = e('../internals/regexp-sticky-helpers'),
- a = e('../internals/proxy-accessor'),
- c = e('../internals/redefine'),
- m = e('../internals/fails'),
- y = e('../internals/has-own-property'),
- b = e('../internals/internal-state').enforce,
- g = e('../internals/set-species'),
- v = e('../internals/well-known-symbol'),
- j = e('../internals/regexp-unsupported-dot-all'),
- w = e('../internals/regexp-unsupported-ncg'),
- x = v('match'),
- T = r.RegExp,
- k = T.prototype,
- E = r.SyntaxError,
- _ = n(k.exec),
- S = n(''.charAt),
- O = n(''.replace),
- A = n(''.indexOf),
- B = n(''.slice),
- q = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,
- D = /a/g,
- I = /a/g,
- e = new T(D) !== D,
- C = o.MISSED_STICKY,
- F = o.UNSUPPORTED_Y,
- v =
- t &&
- (!e ||
- C ||
- j ||
- w ||
- m(function () {
- return (I[x] = !1), T(D) != D || T(I) == I || '/a/i' != T(D, 'i');
- }));
- if (s('RegExp', v)) {
- function N(e, t) {
- var r,
- n,
- s = p(k, this),
- i = f(e),
- o = void 0 === t,
- a = [],
- c = e;
- if (!s && i && o && e.constructor === N) return e;
- if (
- ((i || p(k, e)) && ((e = e.source), o && (t = h(c))),
- (e = void 0 === e ? '' : d(e)),
- (t = void 0 === t ? '' : d(t)),
- (c = e),
- (i = t = j && 'dotAll' in D && (r = !!t && -1 < A(t, 's')) ? O(t, /s/g, '') : t),
- C && 'sticky' in D && (n = !!t && -1 < A(t, 'y')) && F && (t = O(t, /y/g, '')),
- w &&
- ((e = (o = (function (e) {
- for (
- var t, r = e.length, n = 0, s = '', i = [], o = {}, a = !1, c = !1, l = 0, u = '';
- n <= r;
- n++
- ) {
- if ('\\' === (t = S(e, n))) t += S(e, ++n);
- else if (']' === t) a = !1;
- else if (!a)
- switch (!0) {
- case '[' === t:
- a = !0;
- break;
- case '(' === t:
- _(q, B(e, n + 1)) && ((n += 2), (c = !0)), (s += t), l++;
- continue;
- case '>' === t && c:
- if ('' === u || y(o, u)) throw new E('Invalid capture group name');
- (o[u] = !0), (c = !(i[i.length] = [u, l])), (u = '');
- continue;
- }
- c ? (u += t) : (s += t);
- }
- return [s, i];
- })(e))[0]),
- (a = o[1])),
- (o = l(T(e, t), s ? this : k, N)),
- (r || n || a.length) &&
- ((t = b(o)),
- r &&
- ((t.dotAll = !0),
- (t.raw = N(
- (function (e) {
- for (var t, r = e.length, n = 0, s = '', i = !1; n <= r; n++)
- '\\' === (t = S(e, n))
- ? (s += t + S(e, ++n))
- : i || '.' !== t
- ? ('[' === t ? (i = !0) : ']' === t && (i = !1), (s += t))
- : (s += '[\\s\\S]');
- return s;
- })(e),
- i
- ))),
- n && (t.sticky = !0),
- a.length && (t.groups = a)),
- e !== c)
- )
- try {
- u(o, 'source', '' === c ? '(?:)' : c);
- } catch (e) {}
- return o;
- }
- for (var R = i(T), P = 0; R.length > P; ) a(N, T, R[P++]);
- ((k.constructor = N).prototype = k), c(r, 'RegExp', N);
- }
- g('RegExp');
- },
- {
- '../internals/create-non-enumerable-property': 126,
- '../internals/descriptors': 131,
- '../internals/fails': 147,
- '../internals/function-uncurry-this': 154,
- '../internals/global': 160,
- '../internals/has-own-property': 161,
- '../internals/inherit-if-required': 168,
- '../internals/internal-state': 170,
- '../internals/is-forced': 175,
- '../internals/is-regexp': 179,
- '../internals/object-get-own-property-names': 198,
- '../internals/object-is-prototype-of': 201,
- '../internals/proxy-accessor': 216,
- '../internals/redefine': 219,
- '../internals/regexp-get-flags': 223,
- '../internals/regexp-sticky-helpers': 224,
- '../internals/regexp-unsupported-dot-all': 225,
- '../internals/regexp-unsupported-ncg': 226,
- '../internals/set-species': 230,
- '../internals/to-string': 253,
- '../internals/well-known-symbol': 265
- }
- ],
- 299: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- e = e('../internals/regexp-exec');
- n({ target: 'RegExp', proto: !0, forced: /./.exec !== e }, { exec: e });
- },
- { '../internals/export': 146, '../internals/regexp-exec': 221 }
- ],
- 300: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/function-name').PROPER,
- s = e('../internals/redefine'),
- i = e('../internals/an-object'),
- o = e('../internals/to-string'),
- a = e('../internals/fails'),
- c = e('../internals/regexp-get-flags'),
- e = 'toString',
- l = RegExp.prototype[e],
- a = a(function () {
- return '/a/b' != l.call({ source: 'a', flags: 'b' });
- }),
- n = n && l.name != e;
- (a || n) &&
- s(
- RegExp.prototype,
- e,
- function () {
- var e = i(this);
- return '/' + o(e.source) + '/' + o(c(e));
- },
- { unsafe: !0 }
- );
- },
- {
- '../internals/an-object': 98,
- '../internals/fails': 147,
- '../internals/function-name': 153,
- '../internals/redefine': 219,
- '../internals/regexp-get-flags': 223,
- '../internals/to-string': 253
- }
- ],
- 301: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- s = e('../internals/function-uncurry-this'),
- i = e('../internals/not-a-regexp'),
- o = e('../internals/require-object-coercible'),
- a = e('../internals/to-string'),
- e = e('../internals/correct-is-regexp-logic'),
- c = s(''.indexOf);
- n(
- { target: 'String', proto: !0, forced: !e('includes') },
- {
- includes: function (e) {
- return !!~c(a(o(this)), a(i(e)), 1 < arguments.length ? arguments[1] : void 0);
- }
- }
- );
- },
- {
- '../internals/correct-is-regexp-logic': 123,
- '../internals/export': 146,
- '../internals/function-uncurry-this': 154,
- '../internals/not-a-regexp': 191,
- '../internals/require-object-coercible': 227,
- '../internals/to-string': 253
- }
- ],
- 302: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/string-multibyte').charAt,
- s = e('../internals/to-string'),
- i = e('../internals/internal-state'),
- e = e('../internals/define-iterator'),
- o = 'String Iterator',
- a = i.set,
- c = i.getterFor(o);
- e(
- String,
- 'String',
- function (e) {
- a(this, { type: o, string: s(e), index: 0 });
- },
- function () {
- var e = c(this),
- t = e.string,
- r = e.index;
- return r >= t.length
- ? { value: void 0, done: !0 }
- : ((t = n(t, r)), (e.index += t.length), { value: t, done: !1 });
- }
- );
- },
- {
- '../internals/define-iterator': 129,
- '../internals/internal-state': 170,
- '../internals/string-multibyte': 236,
- '../internals/to-string': 253
- }
- ],
- 303: [
- function (e, t, r) {
- 'use strict';
- var s = e('../internals/function-call'),
- n = e('../internals/fix-regexp-well-known-symbol-logic'),
- l = e('../internals/an-object'),
- u = e('../internals/to-length'),
- p = e('../internals/to-string'),
- i = e('../internals/require-object-coercible'),
- o = e('../internals/get-method'),
- f = e('../internals/advance-string-index'),
- d = e('../internals/regexp-exec-abstract');
- n('match', function (n, a, c) {
- return [
- function (e) {
- var t = i(this),
- r = null == e ? void 0 : o(e, n);
- return r ? s(r, e, t) : new RegExp(e)[n](p(t));
- },
- function (e) {
- var t = l(this),
- r = p(e),
- e = c(a, t, r);
- if (e.done) return e.value;
- if (!t.global) return d(t, r);
- for (var n = t.unicode, s = [], i = (t.lastIndex = 0); null !== (o = d(t, r)); ) {
- var o = p(o[0]);
- '' === (s[i] = o) && (t.lastIndex = f(r, u(t.lastIndex), n)), i++;
- }
- return 0 === i ? null : s;
- }
- ];
- });
- },
- {
- '../internals/advance-string-index': 96,
- '../internals/an-object': 98,
- '../internals/fix-regexp-well-known-symbol-logic': 148,
- '../internals/function-call': 152,
- '../internals/get-method': 158,
- '../internals/regexp-exec-abstract': 220,
- '../internals/require-object-coercible': 227,
- '../internals/to-length': 246,
- '../internals/to-string': 253
- }
- ],
- 304: [
- function (e, t, r) {
- 'use strict';
- var x = e('../internals/function-apply'),
- s = e('../internals/function-call'),
- n = e('../internals/function-uncurry-this'),
- i = e('../internals/fix-regexp-well-known-symbol-logic'),
- o = e('../internals/fails'),
- T = e('../internals/an-object'),
- k = e('../internals/is-callable'),
- E = e('../internals/to-integer-or-infinity'),
- _ = e('../internals/to-length'),
- S = e('../internals/to-string'),
- a = e('../internals/require-object-coercible'),
- O = e('../internals/advance-string-index'),
- c = e('../internals/get-method'),
- A = e('../internals/get-substitution'),
- D = e('../internals/regexp-exec-abstract'),
- l = e('../internals/well-known-symbol')('replace'),
- I = Math.max,
- C = Math.min,
- N = n([].concat),
- R = n([].push),
- P = n(''.indexOf),
- M = n(''.slice),
- e = '$0' === 'a'.replace(/./, '$0'),
- u = !!/./[l] && '' === /./[l]('a', '$0');
- i(
- 'replace',
- function (e, v, j) {
- var w = u ? '$' : '$0';
- return [
- function (e, t) {
- var r = a(this),
- n = null == e ? void 0 : c(e, l);
- return n ? s(n, e, r, t) : s(v, S(r), e, t);
- },
- function (e, t) {
- var r = T(this),
- n = S(e);
- if ('string' == typeof t && -1 === P(t, w) && -1 === P(t, '$<')) {
- e = j(v, r, n, t);
- if (e.done) return e.value;
- }
- for (
- var s,
- i = k(t),
- o = (i || (t = S(t)), r.global),
- a = (o && ((s = r.unicode), (r.lastIndex = 0)), []);
- null !== (f = D(r, n)) && (R(a, f), o);
- )
- '' === S(f[0]) && (r.lastIndex = O(n, _(r.lastIndex), s));
- for (var c, l = '', u = 0, p = 0; p < a.length; p++) {
- for (
- var f, d = S((f = a[p])[0]), h = I(C(E(f.index), n.length), 0), m = [], y = 1;
- y < f.length;
- y++
- )
- R(m, void 0 === (c = f[y]) ? c : String(c));
- var b = f.groups,
- g = i
- ? ((g = N([d], m, h, n)), void 0 !== b && R(g, b), S(x(t, void 0, g)))
- : A(d, n, h, m, b, t);
- u <= h && ((l += M(n, u, h) + g), (u = h + d.length));
- }
- return l + M(n, u);
- }
- ];
- },
- !!o(function () {
- var e = /./;
- return (
- (e.exec = function () {
- var e = [];
- return (e.groups = { a: '7' }), e;
- }),
- '7' !== ''.replace(e, '$<a>')
- );
- }) ||
- !e ||
- u
- );
- },
- {
- '../internals/advance-string-index': 96,
- '../internals/an-object': 98,
- '../internals/fails': 147,
- '../internals/fix-regexp-well-known-symbol-logic': 148,
- '../internals/function-apply': 149,
- '../internals/function-call': 152,
- '../internals/function-uncurry-this': 154,
- '../internals/get-method': 158,
- '../internals/get-substitution': 159,
- '../internals/is-callable': 173,
- '../internals/regexp-exec-abstract': 220,
- '../internals/require-object-coercible': 227,
- '../internals/to-integer-or-infinity': 245,
- '../internals/to-length': 246,
- '../internals/to-string': 253,
- '../internals/well-known-symbol': 265
- }
- ],
- 305: [
- function (e, t, r) {
- 'use strict';
- var o = e('../internals/function-call'),
- n = e('../internals/fix-regexp-well-known-symbol-logic'),
- a = e('../internals/an-object'),
- c = e('../internals/require-object-coercible'),
- l = e('../internals/same-value'),
- u = e('../internals/to-string'),
- p = e('../internals/get-method'),
- f = e('../internals/regexp-exec-abstract');
- n('search', function (n, s, i) {
- return [
- function (e) {
- var t = c(this),
- r = null == e ? void 0 : p(e, n);
- return r ? o(r, e, t) : new RegExp(e)[n](u(t));
- },
- function (e) {
- var t = a(this),
- e = u(e),
- r = i(s, t, e);
- if (r.done) return r.value;
- (r = t.lastIndex), l(r, 0) || (t.lastIndex = 0), (e = f(t, e));
- return l(t.lastIndex, r) || (t.lastIndex = r), null === e ? -1 : e.index;
- }
- ];
- });
- },
- {
- '../internals/an-object': 98,
- '../internals/fix-regexp-well-known-symbol-logic': 148,
- '../internals/function-call': 152,
- '../internals/get-method': 158,
- '../internals/regexp-exec-abstract': 220,
- '../internals/require-object-coercible': 227,
- '../internals/same-value': 228,
- '../internals/to-string': 253
- }
- ],
- 306: [
- function (e, t, r) {
- 'use strict';
- var u = e('../internals/function-apply'),
- p = e('../internals/function-call'),
- n = e('../internals/function-uncurry-this'),
- s = e('../internals/fix-regexp-well-known-symbol-logic'),
- f = e('../internals/is-regexp'),
- b = e('../internals/an-object'),
- d = e('../internals/require-object-coercible'),
- g = e('../internals/species-constructor'),
- v = e('../internals/advance-string-index'),
- j = e('../internals/to-length'),
- w = e('../internals/to-string'),
- i = e('../internals/get-method'),
- x = e('../internals/array-slice-simple'),
- T = e('../internals/regexp-exec-abstract'),
- k = e('../internals/regexp-exec'),
- o = e('../internals/regexp-sticky-helpers'),
- e = e('../internals/fails'),
- E = o.UNSUPPORTED_Y,
- _ = Math.min,
- S = [].push,
- O = n(/./.exec),
- A = n(S),
- D = n(''.slice);
- s(
- 'split',
- function (s, h, m) {
- var y =
- 'c' == 'abbc'.split(/(b)*/)[1] ||
- 4 != 'test'.split(/(?:)/, -1).length ||
- 2 != 'ab'.split(/(?:ab)*/).length ||
- 4 != '.'.split(/(.?)(.?)/).length ||
- 1 < '.'.split(/()()/).length ||
- ''.split(/.?/).length
- ? function (e, t) {
- var r = w(d(this)),
- n = void 0 === t ? 4294967295 : t >>> 0;
- if (0 == n) return [];
- if (void 0 === e) return [r];
- if (!f(e)) return p(h, r, e, n);
- for (
- var s,
- i,
- o,
- a = [],
- t =
- (e.ignoreCase ? 'i' : '') +
- (e.multiline ? 'm' : '') +
- (e.unicode ? 'u' : '') +
- (e.sticky ? 'y' : ''),
- c = 0,
- l = new RegExp(e.source, t + 'g');
- (s = p(k, l, r)) &&
- !(
- c < (i = l.lastIndex) &&
- (A(a, D(r, c, s.index)),
- 1 < s.length && s.index < r.length && u(S, a, x(s, 1)),
- (o = s[0].length),
- (c = i),
- n <= a.length)
- );
- )
- l.lastIndex === s.index && l.lastIndex++;
- return (
- c === r.length ? (!o && O(l, '')) || A(a, '') : A(a, D(r, c)), n < a.length ? x(a, 0, n) : a
- );
- }
- : '0'.split(void 0, 0).length
- ? function (e, t) {
- return void 0 === e && 0 === t ? [] : p(h, this, e, t);
- }
- : h;
- return [
- function (e, t) {
- var r = d(this),
- n = null == e ? void 0 : i(e, s);
- return n ? p(n, e, r, t) : p(y, w(r), e, t);
- },
- function (e, t) {
- var r = b(this),
- n = w(e),
- e = m(y, r, n, t, y !== h);
- if (e.done) return e.value;
- var e = g(r, RegExp),
- s = r.unicode,
- i =
- (r.ignoreCase ? 'i' : '') + (r.multiline ? 'm' : '') + (r.unicode ? 'u' : '') + (E ? 'g' : 'y'),
- o = new e(E ? '^(?:' + r.source + ')' : r, i),
- a = void 0 === t ? 4294967295 : t >>> 0;
- if (0 == a) return [];
- if (0 === n.length) return null === T(o, n) ? [n] : [];
- for (var c = 0, l = 0, u = []; l < n.length; ) {
- o.lastIndex = E ? 0 : l;
- var p,
- f = T(o, E ? D(n, l) : n);
- if (null === f || (p = _(j(o.lastIndex + (E ? l : 0)), n.length)) === c) l = v(n, l, s);
- else {
- if ((A(u, D(n, c, l)), u.length === a)) return u;
- for (var d = 1; d <= f.length - 1; d++) if ((A(u, f[d]), u.length === a)) return u;
- l = c = p;
- }
- }
- return A(u, D(n, c)), u;
- }
- ];
- },
- !!e(function () {
- var e = /(?:)/,
- t = e.exec,
- e =
- ((e.exec = function () {
- return t.apply(this, arguments);
- }),
- 'ab'.split(e));
- return 2 !== e.length || 'a' !== e[0] || 'b' !== e[1];
- }),
- E
- );
- },
- {
- '../internals/advance-string-index': 96,
- '../internals/an-object': 98,
- '../internals/array-slice-simple': 113,
- '../internals/fails': 147,
- '../internals/fix-regexp-well-known-symbol-logic': 148,
- '../internals/function-apply': 149,
- '../internals/function-call': 152,
- '../internals/function-uncurry-this': 154,
- '../internals/get-method': 158,
- '../internals/is-regexp': 179,
- '../internals/regexp-exec': 221,
- '../internals/regexp-exec-abstract': 220,
- '../internals/regexp-sticky-helpers': 224,
- '../internals/require-object-coercible': 227,
- '../internals/species-constructor': 235,
- '../internals/to-length': 246,
- '../internals/to-string': 253
- }
- ],
- 307: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/export'),
- s = e('../internals/string-trim').trim;
- n(
- { target: 'String', proto: !0, forced: e('../internals/string-trim-forced')('trim') },
- {
- trim: function () {
- return s(this);
- }
- }
- );
- },
- { '../internals/export': 146, '../internals/string-trim': 238, '../internals/string-trim-forced': 237 }
- ],
- 308: [
- function (e, M, L) {
- 'use strict';
- function n(e, t) {
- var r = (C[e] = g(D));
- return te(r, { type: O, tag: e, description: t }), p || (r.description = t), r;
- }
- function s(e, t, r) {
- return (
- e === A && s(N, t, r),
- h(e),
- (t = y(t)),
- h(r),
- d(C, t)
- ? (r.enumerable
- ? (d(e, S) && e[S][t] && (e[S][t] = !1), (r = g(r, { enumerable: b(0, !1) })))
- : (d(e, S) || I(e, S, b(1, {})), (e[S][t] = !0)),
- P(e, t, r))
- : I(e, t, r)
- );
- }
- function r(t, e) {
- h(t);
- var r = m(e),
- e = v(r).concat(a(r));
- return (
- _(e, function (e) {
- (p && !u(i, r, e)) || s(t, e, r[e]);
- }),
- t
- );
- }
- function i(e) {
- var e = y(e),
- t = u(oe, this, e);
- return (
- !(this === A && d(C, e) && !d(N, e)) &&
- (!(t || !d(this, e) || !d(C, e) || (d(this, S) && this[S][e])) || t)
- );
- }
- function t(e, t) {
- var r,
- e = m(e),
- t = y(t);
- if (e !== A || !d(C, t) || d(N, t))
- return !(r = se(e, t)) || !d(C, t) || (d(e, S) && e[S][t]) || (r.enumerable = !0), r;
- }
- function o(e) {
- var e = ie(m(e)),
- t = [];
- return (
- _(e, function (e) {
- d(C, e) || d(K, e) || ae(t, e);
- }),
- t
- );
- }
- function a(e) {
- var t = e === A,
- e = ie(t ? N : m(e)),
- r = [];
- return (
- _(e, function (e) {
- !d(C, e) || (t && !d(A, e)) || ae(r, C[e]);
- }),
- r
- );
- }
- var c = e('../internals/export'),
- l = e('../internals/global'),
- u = e('../internals/function-call'),
- B = e('../internals/function-uncurry-this'),
- q = e('../internals/is-pure'),
- p = e('../internals/descriptors'),
- f = e('../internals/native-symbol'),
- F = e('../internals/fails'),
- d = e('../internals/has-own-property'),
- U = e('../internals/object-is-prototype-of'),
- h = e('../internals/an-object'),
- m = e('../internals/to-indexed-object'),
- y = e('../internals/to-property-key'),
- G = e('../internals/to-string'),
- b = e('../internals/create-property-descriptor'),
- g = e('../internals/object-create'),
- v = e('../internals/object-keys'),
- X = e('../internals/object-get-own-property-names'),
- j = e('../internals/object-get-own-property-names-external'),
- V = e('../internals/object-get-own-property-symbols'),
- w = e('../internals/object-get-own-property-descriptor'),
- z = e('../internals/object-define-property'),
- W = e('../internals/object-define-properties'),
- H = e('../internals/object-property-is-enumerable'),
- x = e('../internals/redefine'),
- T = e('../internals/shared'),
- k = e('../internals/shared-key'),
- K = e('../internals/hidden-keys'),
- Y = e('../internals/uid'),
- $ = e('../internals/well-known-symbol'),
- J = e('../internals/well-known-symbol-wrapped'),
- Z = e('../internals/define-well-known-symbol'),
- Q = e('../internals/symbol-define-to-primitive'),
- ee = e('../internals/set-to-string-tag'),
- E = e('../internals/internal-state'),
- _ = e('../internals/array-iteration').forEach,
- S = k('hidden'),
- O = 'Symbol',
- e = 'prototype',
- te = E.set,
- re = E.getterFor(O),
- A = Object[e],
- k = l.Symbol,
- D = k && k[e],
- ne = l.TypeError,
- E = l.QObject,
- se = w.f,
- I = z.f,
- ie = j.f,
- oe = H.f,
- ae = B([].push),
- C = T('symbols'),
- N = T('op-symbols'),
- l = T('wks'),
- R = !E || !E[e] || !E[e].findChild,
- P =
- p &&
- F(function () {
- return (
- 7 !=
- g(
- I({}, 'a', {
- get: function () {
- return I(this, 'a', { value: 7 }).a;
- }
- })
- ).a
- );
- })
- ? function (e, t, r) {
- var n = se(A, t);
- n && delete A[t], I(e, t, r), n && e !== A && I(A, t, n);
- }
- : I;
- f ||
- (x(
- (D = (k = function () {
- if (U(D, this)) throw ne('Symbol is not a constructor');
- var e = arguments.length && void 0 !== arguments[0] ? G(arguments[0]) : void 0,
- t = Y(e),
- r = function (e) {
- this === A && u(r, N, e), d(this, S) && d(this[S], t) && (this[S][t] = !1), P(this, t, b(1, e));
- };
- return p && R && P(A, t, { configurable: !0, set: r }), n(t, e);
- })[e]),
- 'toString',
- function () {
- return re(this).tag;
- }
- ),
- x(k, 'withoutSetter', function (e) {
- return n(Y(e), e);
- }),
- (H.f = i),
- (z.f = s),
- (W.f = r),
- (w.f = t),
- (X.f = j.f = o),
- (V.f = a),
- (J.f = function (e) {
- return n($(e), e);
- }),
- p &&
- (I(D, 'description', {
- configurable: !0,
- get: function () {
- return re(this).description;
- }
- }),
- q || x(A, 'propertyIsEnumerable', i, { unsafe: !0 }))),
- c({ global: !0, wrap: !0, forced: !f, sham: !f }, { Symbol: k }),
- _(v(l), function (e) {
- Z(e);
- }),
- c(
- { target: O, stat: !0, forced: !f },
- {
- useSetter: function () {
- R = !0;
- },
- useSimple: function () {
- R = !1;
- }
- }
- ),
- c(
- { target: 'Object', stat: !0, forced: !f, sham: !p },
- {
- create: function (e, t) {
- return void 0 === t ? g(e) : r(g(e), t);
- },
- defineProperty: s,
- defineProperties: r,
- getOwnPropertyDescriptor: t
- }
- ),
- c({ target: 'Object', stat: !0, forced: !f }, { getOwnPropertyNames: o }),
- Q(),
- ee(k, O),
- (K[S] = !0);
- },
- {
- '../internals/an-object': 98,
- '../internals/array-iteration': 108,
- '../internals/create-property-descriptor': 127,
- '../internals/define-well-known-symbol': 130,
- '../internals/descriptors': 131,
- '../internals/export': 146,
- '../internals/fails': 147,
- '../internals/function-call': 152,
- '../internals/function-uncurry-this': 154,
- '../internals/global': 160,
- '../internals/has-own-property': 161,
- '../internals/hidden-keys': 162,
- '../internals/internal-state': 170,
- '../internals/is-pure': 178,
- '../internals/native-symbol': 188,
- '../internals/object-create': 193,
- '../internals/object-define-properties': 194,
- '../internals/object-define-property': 195,
- '../internals/object-get-own-property-descriptor': 196,
- '../internals/object-get-own-property-names': 198,
- '../internals/object-get-own-property-names-external': 197,
- '../internals/object-get-own-property-symbols': 199,
- '../internals/object-is-prototype-of': 201,
- '../internals/object-keys': 203,
- '../internals/object-property-is-enumerable': 204,
- '../internals/redefine': 219,
- '../internals/set-to-string-tag': 231,
- '../internals/shared': 234,
- '../internals/shared-key': 232,
- '../internals/symbol-define-to-primitive': 239,
- '../internals/to-indexed-object': 244,
- '../internals/to-property-key': 251,
- '../internals/to-string': 253,
- '../internals/uid': 260,
- '../internals/well-known-symbol': 265,
- '../internals/well-known-symbol-wrapped': 264
- }
- ],
- 309: [
- function (e, t, r) {
- 'use strict';
- var n,
- s,
- i,
- o,
- a,
- c,
- l,
- u = e('../internals/export'),
- p = e('../internals/descriptors'),
- f = e('../internals/global'),
- d = e('../internals/function-uncurry-this'),
- h = e('../internals/has-own-property'),
- m = e('../internals/is-callable'),
- y = e('../internals/object-is-prototype-of'),
- b = e('../internals/to-string'),
- g = e('../internals/object-define-property').f,
- e = e('../internals/copy-constructor-properties'),
- v = f.Symbol,
- j = v && v.prototype;
- !p ||
- !m(v) ||
- ('description' in j && void 0 === v().description) ||
- ((n = {}),
- e(
- (f = function () {
- var e = arguments.length < 1 || void 0 === arguments[0] ? void 0 : b(arguments[0]),
- t = y(j, this) ? new v(e) : void 0 === e ? v() : v(e);
- return '' === e && (n[t] = !0), t;
- }),
- v
- ),
- ((f.prototype = j).constructor = f),
- (s = 'Symbol(test)' == String(v('test'))),
- (i = d(j.toString)),
- (o = d(j.valueOf)),
- (a = /^Symbol\((.*)\)[^)]+$/),
- (c = d(''.replace)),
- (l = d(''.slice)),
- g(j, 'description', {
- configurable: !0,
- get: function () {
- var e = o(this),
- t = i(e);
- if (h(n, e)) return '';
- e = s ? l(t, 7, -1) : c(t, a, '$1');
- return '' === e ? void 0 : e;
- }
- }),
- u({ global: !0, forced: !0 }, { Symbol: f }));
- },
- {
- '../internals/copy-constructor-properties': 122,
- '../internals/descriptors': 131,
- '../internals/export': 146,
- '../internals/function-uncurry-this': 154,
- '../internals/global': 160,
- '../internals/has-own-property': 161,
- '../internals/is-callable': 173,
- '../internals/object-define-property': 195,
- '../internals/object-is-prototype-of': 201,
- '../internals/to-string': 253
- }
- ],
- 310: [
- function (e, t, r) {
- var n = e('../internals/export'),
- s = e('../internals/get-built-in'),
- i = e('../internals/has-own-property'),
- o = e('../internals/to-string'),
- a = e('../internals/shared'),
- e = e('../internals/native-symbol-registry'),
- c = a('string-to-symbol-registry'),
- l = a('symbol-to-string-registry');
- n(
- { target: 'Symbol', stat: !0, forced: !e },
- {
- for: function (e) {
- e = o(e);
- if (i(c, e)) return c[e];
- var t = s('Symbol')(e);
- return (c[e] = t), (l[t] = e), t;
- }
- }
- );
- },
- {
- '../internals/export': 146,
- '../internals/get-built-in': 155,
- '../internals/has-own-property': 161,
- '../internals/native-symbol-registry': 187,
- '../internals/shared': 234,
- '../internals/to-string': 253
- }
- ],
- 311: [
- function (e, t, r) {
- e('../internals/define-well-known-symbol')('iterator');
- },
- { '../internals/define-well-known-symbol': 130 }
- ],
- 312: [
- function (e, t, r) {
- e('../modules/es.symbol.constructor'),
- e('../modules/es.symbol.for'),
- e('../modules/es.symbol.key-for'),
- e('../modules/es.json.stringify'),
- e('../modules/es.object.get-own-property-symbols');
- },
- {
- '../modules/es.json.stringify': 282,
- '../modules/es.object.get-own-property-symbols': 288,
- '../modules/es.symbol.constructor': 308,
- '../modules/es.symbol.for': 310,
- '../modules/es.symbol.key-for': 313
- }
- ],
- 313: [
- function (e, t, r) {
- var n = e('../internals/export'),
- s = e('../internals/has-own-property'),
- i = e('../internals/is-symbol'),
- o = e('../internals/try-to-string'),
- a = e('../internals/shared'),
- e = e('../internals/native-symbol-registry'),
- c = a('symbol-to-string-registry');
- n(
- { target: 'Symbol', stat: !0, forced: !e },
- {
- keyFor: function (e) {
- if (!i(e)) throw TypeError(o(e) + ' is not a symbol');
- if (s(c, e)) return c[e];
- }
- }
- );
- },
- {
- '../internals/export': 146,
- '../internals/has-own-property': 161,
- '../internals/is-symbol': 180,
- '../internals/native-symbol-registry': 187,
- '../internals/shared': 234,
- '../internals/try-to-string': 254
- }
- ],
- 314: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/function-uncurry-this'),
- s = e('../internals/array-buffer-view-core'),
- i = n(e('../internals/array-copy-within')),
- o = s.aTypedArray;
- (0, s.exportTypedArrayMethod)('copyWithin', function (e, t) {
- return i(o(this), e, t, 2 < arguments.length ? arguments[2] : void 0);
- });
- },
- {
- '../internals/array-buffer-view-core': 100,
- '../internals/array-copy-within': 102,
- '../internals/function-uncurry-this': 154
- }
- ],
- 315: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core'),
- s = e('../internals/array-iteration').every,
- i = n.aTypedArray;
- (0, n.exportTypedArrayMethod)('every', function (e) {
- return s(i(this), e, 1 < arguments.length ? arguments[1] : void 0);
- });
- },
- { '../internals/array-buffer-view-core': 100, '../internals/array-iteration': 108 }
- ],
- 316: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core'),
- s = e('../internals/function-call'),
- i = e('../internals/array-fill'),
- o = n.aTypedArray;
- (0, n.exportTypedArrayMethod)('fill', function (e) {
- var t = arguments.length;
- return s(i, o(this), e, 1 < t ? arguments[1] : void 0, 2 < t ? arguments[2] : void 0);
- });
- },
- {
- '../internals/array-buffer-view-core': 100,
- '../internals/array-fill': 103,
- '../internals/function-call': 152
- }
- ],
- 317: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core'),
- s = e('../internals/array-iteration').filter,
- i = e('../internals/typed-array-from-species-and-list'),
- o = n.aTypedArray;
- (0, n.exportTypedArrayMethod)('filter', function (e) {
- e = s(o(this), e, 1 < arguments.length ? arguments[1] : void 0);
- return i(this, e);
- });
- },
- {
- '../internals/array-buffer-view-core': 100,
- '../internals/array-iteration': 108,
- '../internals/typed-array-from-species-and-list': 257
- }
- ],
- 318: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core'),
- s = e('../internals/array-iteration').findIndex,
- i = n.aTypedArray;
- (0, n.exportTypedArrayMethod)('findIndex', function (e) {
- return s(i(this), e, 1 < arguments.length ? arguments[1] : void 0);
- });
- },
- { '../internals/array-buffer-view-core': 100, '../internals/array-iteration': 108 }
- ],
- 319: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core'),
- s = e('../internals/array-iteration').find,
- i = n.aTypedArray;
- (0, n.exportTypedArrayMethod)('find', function (e) {
- return s(i(this), e, 1 < arguments.length ? arguments[1] : void 0);
- });
- },
- { '../internals/array-buffer-view-core': 100, '../internals/array-iteration': 108 }
- ],
- 320: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core'),
- s = e('../internals/array-iteration').forEach,
- i = n.aTypedArray;
- (0, n.exportTypedArrayMethod)('forEach', function (e) {
- s(i(this), e, 1 < arguments.length ? arguments[1] : void 0);
- });
- },
- { '../internals/array-buffer-view-core': 100, '../internals/array-iteration': 108 }
- ],
- 321: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core'),
- s = e('../internals/array-includes').includes,
- i = n.aTypedArray;
- (0, n.exportTypedArrayMethod)('includes', function (e) {
- return s(i(this), e, 1 < arguments.length ? arguments[1] : void 0);
- });
- },
- { '../internals/array-buffer-view-core': 100, '../internals/array-includes': 107 }
- ],
- 322: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core'),
- s = e('../internals/array-includes').indexOf,
- i = n.aTypedArray;
- (0, n.exportTypedArrayMethod)('indexOf', function (e) {
- return s(i(this), e, 1 < arguments.length ? arguments[1] : void 0);
- });
- },
- { '../internals/array-buffer-view-core': 100, '../internals/array-includes': 107 }
- ],
- 323: [
- function (e, t, r) {
- 'use strict';
- function n() {
- return u(d(this));
- }
- var s = e('../internals/global'),
- i = e('../internals/fails'),
- o = e('../internals/function-uncurry-this'),
- a = e('../internals/array-buffer-view-core'),
- c = e('../modules/es.array.iterator'),
- l = e('../internals/well-known-symbol')('iterator'),
- e = s.Uint8Array,
- u = o(c.values),
- p = o(c.keys),
- f = o(c.entries),
- d = a.aTypedArray,
- s = a.exportTypedArrayMethod,
- h = e && e.prototype,
- o = !i(function () {
- h[l].call([1]);
- }),
- c = !!h && h.values && h[l] === h.values && 'values' === h.values.name;
- s(
- 'entries',
- function () {
- return f(d(this));
- },
- o
- ),
- s(
- 'keys',
- function () {
- return p(d(this));
- },
- o
- ),
- s('values', n, o || !c, { name: 'values' }),
- s(l, n, o || !c, { name: 'values' });
- },
- {
- '../internals/array-buffer-view-core': 100,
- '../internals/fails': 147,
- '../internals/function-uncurry-this': 154,
- '../internals/global': 160,
- '../internals/well-known-symbol': 265,
- '../modules/es.array.iterator': 275
- }
- ],
- 324: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core'),
- e = e('../internals/function-uncurry-this'),
- s = n.aTypedArray,
- n = n.exportTypedArrayMethod,
- i = e([].join);
- n('join', function (e) {
- return i(s(this), e);
- });
- },
- { '../internals/array-buffer-view-core': 100, '../internals/function-uncurry-this': 154 }
- ],
- 325: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core'),
- s = e('../internals/function-apply'),
- i = e('../internals/array-last-index-of'),
- o = n.aTypedArray;
- (0, n.exportTypedArrayMethod)('lastIndexOf', function (e) {
- var t = arguments.length;
- return s(i, o(this), 1 < t ? [e, arguments[1]] : [e]);
- });
- },
- {
- '../internals/array-buffer-view-core': 100,
- '../internals/array-last-index-of': 109,
- '../internals/function-apply': 149
- }
- ],
- 326: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core'),
- s = e('../internals/array-iteration').map,
- i = e('../internals/typed-array-species-constructor'),
- o = n.aTypedArray;
- (0, n.exportTypedArrayMethod)('map', function (e) {
- return s(o(this), e, 1 < arguments.length ? arguments[1] : void 0, function (e, t) {
- return new (i(e))(t);
- });
- });
- },
- {
- '../internals/array-buffer-view-core': 100,
- '../internals/array-iteration': 108,
- '../internals/typed-array-species-constructor': 259
- }
- ],
- 327: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core'),
- s = e('../internals/array-reduce').right,
- i = n.aTypedArray;
- (0, n.exportTypedArrayMethod)('reduceRight', function (e) {
- var t = arguments.length;
- return s(i(this), e, t, 1 < t ? arguments[1] : void 0);
- });
- },
- { '../internals/array-buffer-view-core': 100, '../internals/array-reduce': 112 }
- ],
- 328: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core'),
- s = e('../internals/array-reduce').left,
- i = n.aTypedArray;
- (0, n.exportTypedArrayMethod)('reduce', function (e) {
- var t = arguments.length;
- return s(i(this), e, t, 1 < t ? arguments[1] : void 0);
- });
- },
- { '../internals/array-buffer-view-core': 100, '../internals/array-reduce': 112 }
- ],
- 329: [
- function (e, t, r) {
- 'use strict';
- var e = e('../internals/array-buffer-view-core'),
- s = e.aTypedArray,
- e = e.exportTypedArrayMethod,
- i = Math.floor;
- e('reverse', function () {
- for (var e, t = s(this).length, r = i(t / 2), n = 0; n < r; )
- (e = this[n]), (this[n++] = this[--t]), (this[t] = e);
- return this;
- });
- },
- { '../internals/array-buffer-view-core': 100 }
- ],
- 330: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/global'),
- i = e('../internals/function-call'),
- s = e('../internals/array-buffer-view-core'),
- o = e('../internals/length-of-array-like'),
- a = e('../internals/to-offset'),
- c = e('../internals/to-object'),
- e = e('../internals/fails'),
- l = n.RangeError,
- u = n.Int8Array,
- n = u && u.prototype,
- p = n && n.set,
- f = s.aTypedArray,
- n = s.exportTypedArrayMethod,
- d = !e(function () {
- var e = new Uint8ClampedArray(2);
- return i(p, e, { length: 1, 0: 3 }, 1), 3 !== e[1];
- }),
- s =
- d &&
- s.NATIVE_ARRAY_BUFFER_VIEWS &&
- e(function () {
- var e = new u(2);
- return e.set(1), e.set('2', 1), 0 !== e[0] || 2 !== e[1];
- });
- n(
- 'set',
- function (e) {
- f(this);
- var t = a(1 < arguments.length ? arguments[1] : void 0, 1),
- r = c(e);
- if (d) return i(p, this, r, t);
- var e = this.length,
- n = o(r),
- s = 0;
- if (e < n + t) throw l('Wrong length');
- for (; s < n; ) this[t + s] = r[s++];
- },
- !d || s
- );
- },
- {
- '../internals/array-buffer-view-core': 100,
- '../internals/fails': 147,
- '../internals/function-call': 152,
- '../internals/global': 160,
- '../internals/length-of-array-like': 185,
- '../internals/to-object': 247,
- '../internals/to-offset': 248
- }
- ],
- 331: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core'),
- o = e('../internals/typed-array-species-constructor'),
- s = e('../internals/fails'),
- a = e('../internals/array-slice'),
- c = n.aTypedArray;
- (0, n.exportTypedArrayMethod)(
- 'slice',
- function (e, t) {
- for (var r = a(c(this), e, t), e = o(this), n = 0, s = r.length, i = new e(s); n < s; ) i[n] = r[n++];
- return i;
- },
- s(function () {
- new Int8Array(1).slice();
- })
- );
- },
- {
- '../internals/array-buffer-view-core': 100,
- '../internals/array-slice': 114,
- '../internals/fails': 147,
- '../internals/typed-array-species-constructor': 259
- }
- ],
- 332: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core'),
- s = e('../internals/array-iteration').some,
- i = n.aTypedArray;
- (0, n.exportTypedArrayMethod)('some', function (e) {
- return s(i(this), e, 1 < arguments.length ? arguments[1] : void 0);
- });
- },
- { '../internals/array-buffer-view-core': 100, '../internals/array-iteration': 108 }
- ],
- 333: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/global'),
- s = e('../internals/function-uncurry-this'),
- i = e('../internals/fails'),
- o = e('../internals/a-callable'),
- a = e('../internals/array-sort'),
- c = e('../internals/array-buffer-view-core'),
- l = e('../internals/engine-ff-version'),
- u = e('../internals/engine-is-ie-or-edge'),
- p = e('../internals/engine-v8-version'),
- f = e('../internals/engine-webkit-version'),
- d = c.aTypedArray,
- e = c.exportTypedArrayMethod,
- h = n.Uint16Array,
- m = h && s(h.prototype.sort),
- c = !(
- !m ||
- (i(function () {
- m(new h(2), null);
- }) &&
- i(function () {
- m(new h(2), {});
- }))
- ),
- y =
- !!m &&
- !i(function () {
- if (p) return p < 74;
- if (l) return l < 67;
- if (u) return !0;
- if (f) return f < 602;
- for (var e, t = new h(516), r = Array(516), n = 0; n < 516; n++)
- (e = n % 4), (t[n] = 515 - n), (r[n] = n - 2 * e + 3);
- for (
- m(t, function (e, t) {
- return ((e / 4) | 0) - ((t / 4) | 0);
- }),
- n = 0;
- n < 516;
- n++
- )
- if (t[n] !== r[n]) return !0;
- });
- e(
- 'sort',
- function (e) {
- return (
- void 0 !== e && o(e),
- y
- ? m(this, e)
- : a(
- d(this),
- ((r = e),
- function (e, t) {
- return void 0 !== r
- ? +r(e, t) || 0
- : t != t
- ? -1
- : e != e
- ? 1
- : 0 === e && 0 === t
- ? 0 < 1 / e && 1 / t < 0
- ? 1
- : -1
- : t < e;
- })
- )
- );
- var r;
- },
- !y || c
- );
- },
- {
- '../internals/a-callable': 92,
- '../internals/array-buffer-view-core': 100,
- '../internals/array-sort': 115,
- '../internals/engine-ff-version': 135,
- '../internals/engine-is-ie-or-edge': 137,
- '../internals/engine-v8-version': 143,
- '../internals/engine-webkit-version': 144,
- '../internals/fails': 147,
- '../internals/function-uncurry-this': 154,
- '../internals/global': 160
- }
- ],
- 334: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core'),
- s = e('../internals/to-length'),
- i = e('../internals/to-absolute-index'),
- o = e('../internals/typed-array-species-constructor'),
- a = n.aTypedArray;
- (0, n.exportTypedArrayMethod)('subarray', function (e, t) {
- var r = a(this),
- n = r.length,
- e = i(e, n);
- return new (o(r))(r.buffer, r.byteOffset + e * r.BYTES_PER_ELEMENT, s((void 0 === t ? n : i(t, n)) - e));
- });
- },
- {
- '../internals/array-buffer-view-core': 100,
- '../internals/to-absolute-index': 242,
- '../internals/to-length': 246,
- '../internals/typed-array-species-constructor': 259
- }
- ],
- 335: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/global'),
- s = e('../internals/function-apply'),
- i = e('../internals/array-buffer-view-core'),
- o = e('../internals/fails'),
- a = e('../internals/array-slice'),
- c = n.Int8Array,
- l = i.aTypedArray,
- e = i.exportTypedArrayMethod,
- u = [].toLocaleString,
- p =
- !!c &&
- o(function () {
- u.call(new c(1));
- });
- e(
- 'toLocaleString',
- function () {
- return s(u, p ? a(l(this)) : l(this), a(arguments));
- },
- o(function () {
- return [1, 2].toLocaleString() != new c([1, 2]).toLocaleString();
- }) ||
- !o(function () {
- c.prototype.toLocaleString.call([1, 2]);
- })
- );
- },
- {
- '../internals/array-buffer-view-core': 100,
- '../internals/array-slice': 114,
- '../internals/fails': 147,
- '../internals/function-apply': 149,
- '../internals/global': 160
- }
- ],
- 336: [
- function (e, t, r) {
- 'use strict';
- var n = e('../internals/array-buffer-view-core').exportTypedArrayMethod,
- s = e('../internals/fails'),
- i = e('../internals/global'),
- e = e('../internals/function-uncurry-this'),
- i = i.Uint8Array,
- i = (i && i.prototype) || {},
- o = [].toString,
- a = e([].join),
- e =
- (s(function () {
- o.call({});
- }) &&
- (o = function () {
- return a(this);
- }),
- i.toString != o);
- n('toString', o, e);
- },
- {
- '../internals/array-buffer-view-core': 100,
- '../internals/fails': 147,
- '../internals/function-uncurry-this': 154,
- '../internals/global': 160
- }
- ],
- 337: [
- function (e, t, r) {
- e('../internals/typed-array-constructor')('Uint8', function (n) {
- return function (e, t, r) {
- return n(this, e, t, r);
- };
- });
- },
- { '../internals/typed-array-constructor': 255 }
- ],
- 338: [
- function (e, t, r) {
- function n(t) {
- if (t && t.forEach !== c)
- try {
- l(t, 'forEach', c);
- } catch (e) {
- t.forEach = c;
- }
- }
- var s,
- i = e('../internals/global'),
- o = e('../internals/dom-iterables'),
- a = e('../internals/dom-token-list-prototype'),
- c = e('../internals/array-for-each'),
- l = e('../internals/create-non-enumerable-property');
- for (s in o) o[s] && n(i[s] && i[s].prototype);
- n(a);
- },
- {
- '../internals/array-for-each': 104,
- '../internals/create-non-enumerable-property': 126,
- '../internals/dom-iterables': 133,
- '../internals/dom-token-list-prototype': 134,
- '../internals/global': 160
- }
- ],
- 339: [
- function (e, t, r) {
- function n(t, e) {
- if (t) {
- if (t[u] !== f)
- try {
- l(t, u, f);
- } catch (e) {
- t[u] = f;
- }
- if ((t[p] || l(t, p, e), o[e]))
- for (var r in c)
- if (t[r] !== c[r])
- try {
- l(t, r, c[r]);
- } catch (e) {
- t[r] = c[r];
- }
- }
- }
- var s,
- i = e('../internals/global'),
- o = e('../internals/dom-iterables'),
- a = e('../internals/dom-token-list-prototype'),
- c = e('../modules/es.array.iterator'),
- l = e('../internals/create-non-enumerable-property'),
- e = e('../internals/well-known-symbol'),
- u = e('iterator'),
- p = e('toStringTag'),
- f = c.values;
- for (s in o) n(i[s] && i[s].prototype, s);
- n(a, 'DOMTokenList');
- },
- {
- '../internals/create-non-enumerable-property': 126,
- '../internals/dom-iterables': 133,
- '../internals/dom-token-list-prototype': 134,
- '../internals/global': 160,
- '../internals/well-known-symbol': 265,
- '../modules/es.array.iterator': 275
- }
- ],
- 340: [
- function (e, t, r) {
- function n(e) {
- return Object.prototype.toString.call(e);
- }
- (r.isArray = function (e) {
- return Array.isArray ? Array.isArray(e) : '[object Array]' === n(e);
- }),
- (r.isBoolean = function (e) {
- return 'boolean' == typeof e;
- }),
- (r.isNull = function (e) {
- return null === e;
- }),
- (r.isNullOrUndefined = function (e) {
- return null == e;
- }),
- (r.isNumber = function (e) {
- return 'number' == typeof e;
- }),
- (r.isString = function (e) {
- return 'string' == typeof e;
- }),
- (r.isSymbol = function (e) {
- return 'symbol' == typeof e;
- }),
- (r.isUndefined = function (e) {
- return void 0 === e;
- }),
- (r.isRegExp = function (e) {
- return '[object RegExp]' === n(e);
- }),
- (r.isObject = function (e) {
- return 'object' == typeof e && null !== e;
- }),
- (r.isDate = function (e) {
- return '[object Date]' === n(e);
- }),
- (r.isError = function (e) {
- return '[object Error]' === n(e) || e instanceof Error;
- }),
- (r.isFunction = function (e) {
- return 'function' == typeof e;
- }),
- (r.isPrimitive = function (e) {
- return (
- null === e ||
- 'boolean' == typeof e ||
- 'number' == typeof e ||
- 'string' == typeof e ||
- 'symbol' == typeof e ||
- void 0 === e
- );
- }),
- (r.isBuffer = e('buffer').Buffer.isBuffer);
- },
- { buffer: 89 }
- ],
- 341: [
- function (e, t, r) {
- !(function (e) {
- 'use strict';
- (b = /d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g),
- (g =
- /\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g),
- (v = /[^-+\dA-Z]/g);
- var b,
- g,
- v,
- j = function (e, t, r, n) {
- if (
- (1 !== arguments.length ||
- 'string' !==
- (function (e) {
- if (null === e) return 'null';
- if (void 0 === e) return 'undefined';
- if ('object' != typeof e) return typeof e;
- if (Array.isArray(e)) return 'array';
- return {}.toString.call(e).slice(8, -1).toLowerCase();
- })(e) ||
- /\d/.test(e) ||
- ((t = e), (e = void 0)),
- (e = e || new Date()) instanceof Date || (e = new Date(e)),
- isNaN(e))
- )
- throw TypeError('Invalid date');
- var s,
- i = (t = String(j.masks[t] || t || j.masks.default)).slice(0, 4),
- i =
- (('UTC:' !== i && 'GMT:' !== i) || ((t = t.slice(4)), (r = !0), 'GMT:' === i && (n = !0)),
- r ? 'getUTC' : 'get'),
- o = e[i + 'Date'](),
- a = e[i + 'Day'](),
- c = e[i + 'Month'](),
- l = e[i + 'FullYear'](),
- u = e[i + 'Hours'](),
- p = e[i + 'Minutes'](),
- f = e[i + 'Seconds'](),
- i = e[i + 'Milliseconds'](),
- d = r ? 0 : e.getTimezoneOffset(),
- h =
- ((h = e),
- (h = new Date(h.getFullYear(), h.getMonth(), h.getDate())).setDate(
- h.getDate() - ((h.getDay() + 6) % 7) + 3
- ),
- (m = new Date(h.getFullYear(), 0, 4)).setDate(m.getDate() - ((m.getDay() + 6) % 7) + 3),
- (s = h.getTimezoneOffset() - m.getTimezoneOffset()),
- h.setHours(h.getHours() - s),
- (s = (h - m) / 6048e5),
- 1 + Math.floor(s)),
- m = (function (e) {
- e = e.getDay();
- 0 === e && (e = 7);
- return e;
- })(e),
- y = {
- d: o,
- dd: w(o),
- ddd: j.i18n.dayNames[a],
- dddd: j.i18n.dayNames[a + 7],
- m: c + 1,
- mm: w(c + 1),
- mmm: j.i18n.monthNames[c],
- mmmm: j.i18n.monthNames[c + 12],
- yy: String(l).slice(2),
- yyyy: l,
- h: u % 12 || 12,
- hh: w(u % 12 || 12),
- H: u,
- HH: w(u),
- M: p,
- MM: w(p),
- s: f,
- ss: w(f),
- l: w(i, 3),
- L: w(Math.round(i / 10)),
- t: u < 12 ? 'a' : 'p',
- tt: u < 12 ? 'am' : 'pm',
- T: u < 12 ? 'A' : 'P',
- TT: u < 12 ? 'AM' : 'PM',
- Z: n ? 'GMT' : r ? 'UTC' : (String(e).match(g) || ['']).pop().replace(v, ''),
- o: (0 < d ? '-' : '+') + w(100 * Math.floor(Math.abs(d) / 60) + (Math.abs(d) % 60), 4),
- S: ['th', 'st', 'nd', 'rd'][3 < o % 10 ? 0 : (((o % 100) - (o % 10) != 10) * o) % 10],
- W: h,
- N: m
- };
- return t.replace(b, function (e) {
- return e in y ? y[e] : e.slice(1, e.length - 1);
- });
- };
- function w(e, t) {
- for (e = String(e), t = t || 2; e.length < t; ) e = '0' + e;
- return e;
- }
- (j.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'
- }),
- (j.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'
- ]
- }),
- 'object' == typeof r ? (t.exports = j) : (e.dateFormat = j);
- })(this);
- },
- {}
- ],
- 342: [
- function (e, t, r) {
- 'use strict';
- var o = /["'&<>]/;
- t.exports = function (e) {
- var t,
- r = '' + e,
- e = o.exec(r);
- if (!e) return r;
- var n = '',
- s = 0,
- i = 0;
- for (s = e.index; s < r.length; s++) {
- switch (r.charCodeAt(s)) {
- case 34:
- t = '"';
- break;
- case 38:
- t = '&';
- break;
- case 39:
- t = ''';
- break;
- case 60:
- t = '<';
- break;
- case 62:
- t = '>';
- break;
- default:
- continue;
- }
- i !== s && (n += r.substring(i, s)), (i = s + 1), (n += t);
- }
- return i !== s ? n + r.substring(i, s) : n;
- };
- },
- {}
- ],
- 343: [
- function (e, t, r) {
- function n() {
- (this._events = this._events || {}), (this._maxListeners = this._maxListeners || void 0);
- }
- function c(e) {
- return 'function' == typeof e;
- }
- function l(e) {
- return 'object' == typeof e && null !== e;
- }
- function u(e) {
- return void 0 === e;
- }
- (((t.exports = n).EventEmitter = n).prototype._events = void 0),
- (n.prototype._maxListeners = void 0),
- (n.defaultMaxListeners = 10),
- (n.prototype.setMaxListeners = function (e) {
- if ('number' != typeof e || e < 0 || isNaN(e)) throw TypeError('n must be a positive number');
- return (this._maxListeners = e), this;
- }),
- (n.prototype.emit = function (e) {
- var t, r, n, s, i, o, a;
- if (
- (this._events || (this._events = {}), 'error' === e) &&
- (!this._events.error || (l(this._events.error) && !this._events.error.length))
- )
- throw (a = arguments[1]) instanceof Error
- ? a
- : (((o = new Error('Uncaught, unspecified "error" event. (' + a + ')')).context = a), o);
- if (u((t = this._events[e]))) return !1;
- if (c(t))
- switch (arguments.length) {
- case 1:
- t.call(this);
- break;
- case 2:
- t.call(this, arguments[1]);
- break;
- case 3:
- t.call(this, arguments[1], arguments[2]);
- break;
- default:
- (n = Array.prototype.slice.call(arguments, 1)), t.apply(this, n);
- }
- else if (l(t))
- for (n = Array.prototype.slice.call(arguments, 1), r = (i = t.slice()).length, s = 0; s < r; s++)
- i[s].apply(this, n);
- return !0;
- }),
- (n.prototype.on = n.prototype.addListener =
- function (e, t) {
- if (c(t))
- return (
- this._events || (this._events = {}),
- this._events.newListener && this.emit('newListener', e, c(t.listener) ? t.listener : t),
- this._events[e]
- ? l(this._events[e])
- ? this._events[e].push(t)
- : (this._events[e] = [this._events[e], t])
- : (this._events[e] = t),
- l(this._events[e]) &&
- !this._events[e].warned &&
- (t = u(this._maxListeners) ? n.defaultMaxListeners : this._maxListeners) &&
- 0 < t &&
- this._events[e].length > t &&
- ((this._events[e].warned = !0),
- console.error(
- '(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.',
- this._events[e].length
- ),
- 'function' == typeof console.trace && console.trace()),
- this
- );
- throw TypeError('listener must be a function');
- }),
- (n.prototype.once = function (e, t) {
- if (!c(t)) throw TypeError('listener must be a function');
- var r = !1;
- function n() {
- this.removeListener(e, n), r || ((r = !0), t.apply(this, arguments));
- }
- return (n.listener = t), this.on(e, n), this;
- }),
- (n.prototype.removeListener = function (e, t) {
- var r, n, s, i;
- if (!c(t)) throw TypeError('listener must be a function');
- if (!this._events || !this._events[e]) return this;
- if (((s = (r = this._events[e]).length), (n = -1), r === t || (c(r.listener) && r.listener === t)))
- delete this._events[e], this._events.removeListener && this.emit('removeListener', e, t);
- else if (l(r)) {
- for (i = s; 0 < i--; )
- if (r[i] === t || (r[i].listener && r[i].listener === t)) {
- n = i;
- break;
- }
- if (n < 0) return this;
- 1 === r.length ? ((r.length = 0), delete this._events[e]) : r.splice(n, 1),
- this._events.removeListener && this.emit('removeListener', e, t);
- }
- return this;
- }),
- (n.prototype.removeAllListeners = function (e) {
- var t, r;
- if (!this._events) return this;
- if (!this._events.removeListener)
- return 0 === arguments.length ? (this._events = {}) : this._events[e] && delete this._events[e], this;
- if (0 === arguments.length) {
- for (t in this._events) 'removeListener' !== t && this.removeAllListeners(t);
- return this.removeAllListeners('removeListener'), (this._events = {}), this;
- }
- if (c((r = this._events[e]))) this.removeListener(e, r);
- else if (r) for (; r.length; ) this.removeListener(e, r[r.length - 1]);
- return delete this._events[e], this;
- }),
- (n.prototype.listeners = function (e) {
- e =
- this._events && this._events[e]
- ? c(this._events[e])
- ? [this._events[e]]
- : this._events[e].slice()
- : [];
- return e;
- }),
- (n.prototype.listenerCount = function (e) {
- if (this._events) {
- e = this._events[e];
- if (c(e)) return 1;
- if (e) return e.length;
- }
- return 0;
- }),
- (n.listenerCount = function (e, t) {
- return e.listenerCount(t);
- });
- },
- {}
- ],
- 344: [
- function (e, t, r) {
- var n,
- s = e('http'),
- i = t.exports;
- for (n in s) s.hasOwnProperty(n) && (i[n] = s[n]);
- i.request = function (e, t) {
- return ((e = e || {}).scheme = 'https'), (e.protocol = 'https:'), s.request.call(this, e, t);
- };
- },
- { http: 442 }
- ],
- 345: [
- function (e, t, r) {
- 'use strict';
- var n = e('util'),
- s = e('ms');
- t.exports = function (e) {
- if ('number' == typeof e) return e;
- var t = s(e);
- return (
- void 0 === t &&
- ((e = new Error(n.format('humanize-ms(%j) result undefined', e))), console.warn(e.stack)),
- t
- );
- };
- },
- { ms: 361, util: 394 }
- ],
- 346: [
- function (e, t, r) {
- (r.read = function (e, t, r, n, s) {
- var i,
- o,
- a = 8 * s - n - 1,
- c = (1 << a) - 1,
- l = c >> 1,
- u = -7,
- p = r ? s - 1 : 0,
- f = r ? -1 : 1,
- s = e[t + p];
- for (p += f, i = s & ((1 << -u) - 1), s >>= -u, u += a; 0 < u; i = 256 * i + e[t + p], p += f, u -= 8);
- for (o = i & ((1 << -u) - 1), i >>= -u, u += n; 0 < u; o = 256 * o + e[t + p], p += f, u -= 8);
- if (0 === i) i = 1 - l;
- else {
- if (i === c) return o ? NaN : (1 / 0) * (s ? -1 : 1);
- (o += Math.pow(2, n)), (i -= l);
- }
- return (s ? -1 : 1) * o * Math.pow(2, i - n);
- }),
- (r.write = function (e, t, r, n, s, i) {
- var o,
- a,
- c = 8 * i - s - 1,
- l = (1 << c) - 1,
- u = l >> 1,
- p = 23 === s ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
- f = n ? 0 : i - 1,
- d = n ? 1 : -1,
- i = t < 0 || (0 === t && 1 / t < 0) ? 1 : 0;
- for (
- t = Math.abs(t),
- isNaN(t) || t === 1 / 0
- ? ((a = isNaN(t) ? 1 : 0), (o = l))
- : ((o = Math.floor(Math.log(t) / Math.LN2)),
- t * (n = Math.pow(2, -o)) < 1 && (o--, (n *= 2)),
- 2 <= (t += 1 <= o + u ? p / n : p * Math.pow(2, 1 - u)) * n && (o++, (n /= 2)),
- l <= o + u
- ? ((a = 0), (o = l))
- : 1 <= o + u
- ? ((a = (t * n - 1) * Math.pow(2, s)), (o += u))
- : ((a = t * Math.pow(2, u - 1) * Math.pow(2, s)), (o = 0)));
- 8 <= s;
- e[r + f] = 255 & a, f += d, a /= 256, s -= 8
- );
- for (o = (o << s) | a, c += s; 0 < c; e[r + f] = 255 & o, f += d, o /= 256, c -= 8);
- e[r + f - d] |= 128 * i;
- });
- },
- {}
- ],
- 347: [
- function (e, t, r) {
- 'use strict';
- var n,
- s,
- i,
- o = [
- e('./nextTick'),
- e('./queueMicrotask'),
- e('./mutation.js'),
- e('./messageChannel'),
- e('./stateChange'),
- e('./timeout')
- ],
- a = -1,
- c = [],
- l = !1;
- function u() {
- n && s && ((n = !1), s.length ? (c = s.concat(c)) : (a = -1), c.length && p());
- }
- function p() {
- if (!n) {
- n = !(l = !1);
- for (var e = c.length, t = setTimeout(u); e; ) {
- for (s = c, c = []; s && ++a < e; ) s[a].run();
- (a = -1), (e = c.length);
- }
- (s = null), (n = !(a = -1)), clearTimeout(t);
- }
- }
- for (var f = -1, d = o.length; ++f < d; )
- if (o[f] && o[f].test && o[f].test()) {
- i = o[f].install(p);
- break;
- }
- function h(e, t) {
- (this.fun = e), (this.array = t);
- }
- (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 = function (e) {
- var t = new Array(arguments.length - 1);
- if (1 < arguments.length) for (var r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
- c.push(new h(e, t)), l || n || ((l = !0), i());
- });
- },
- {
- './messageChannel': 348,
- './mutation.js': 349,
- './nextTick': 87,
- './queueMicrotask': 350,
- './stateChange': 351,
- './timeout': 352
- }
- ],
- 348: [
- function (e, t, n) {
- !function (r) {
- !function () {
- 'use strict';
- (n.test = function () {
- return !r.setImmediate && void 0 !== r.MessageChannel;
- }),
- (n.install = function (e) {
- var t = new r.MessageChannel();
- return (
- (t.port1.onmessage = e),
- function () {
- t.port2.postMessage(0);
- }
- );
- });
- }.call(this);
- }.call(
- this,
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {}
- );
- },
- {}
- ],
- 349: [
- function (e, t, r) {
- !function (s) {
- !function () {
- 'use strict';
- var n = s.MutationObserver || s.WebKitMutationObserver;
- (r.test = function () {
- return n;
- }),
- (r.install = function (e) {
- var t = 0,
- e = new n(e),
- r = s.document.createTextNode('');
- return (
- e.observe(r, { characterData: !0 }),
- function () {
- r.data = t = ++t % 2;
- }
- );
- });
- }.call(this);
- }.call(
- this,
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {}
- );
- },
- {}
- ],
- 350: [
- function (e, t, r) {
- !function (t) {
- !function () {
- 'use strict';
- (r.test = function () {
- return 'function' == typeof t.queueMicrotask;
- }),
- (r.install = function (e) {
- return function () {
- t.queueMicrotask(e);
- };
- });
- }.call(this);
- }.call(
- this,
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {}
- );
- },
- {}
- ],
- 351: [
- function (e, t, n) {
- !function (r) {
- !function () {
- 'use strict';
- (n.test = function () {
- return 'document' in r && 'onreadystatechange' in r.document.createElement('script');
- }),
- (n.install = function (t) {
- return function () {
- var e = r.document.createElement('script');
- return (
- (e.onreadystatechange = function () {
- t(), (e.onreadystatechange = null), e.parentNode.removeChild(e), (e = null);
- }),
- r.document.documentElement.appendChild(e),
- t
- );
- };
- });
- }.call(this);
- }.call(
- this,
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {}
- );
- },
- {}
- ],
- 352: [
- function (e, t, r) {
- 'use strict';
- (r.test = function () {
- return !0;
- }),
- (r.install = function (e) {
- return function () {
- setTimeout(e, 0);
- };
- });
- },
- {}
- ],
- 353: [
- 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) {
- var r;
- t &&
- ((e.super_ = t),
- ((r = function () {}).prototype = t.prototype),
- (e.prototype = new r()),
- (e.prototype.constructor = e));
- });
- },
- {}
- ],
- 354: [
- function (e, t, r) {
- function n(e) {
- return !!e.constructor && 'function' == typeof e.constructor.isBuffer && e.constructor.isBuffer(e);
- }
- t.exports = function (e) {
- return (
- null != e &&
- (n(e) ||
- ('function' == typeof (t = e).readFloatLE && 'function' == typeof t.slice && n(t.slice(0, 0))) ||
- !!e._isBuffer)
- );
- var t;
- };
- },
- {}
- ],
- 355: [
- function (e, t, r) {
- var n = {}.toString;
- t.exports =
- Array.isArray ||
- function (e) {
- return '[object Array]' == n.call(e);
- };
- },
- {}
- ],
- 356: [
- function (e, k, n) {
- !function (r) {
- !function () {
- var e, t;
- (e =
- 'undefined' != typeof self ? self : 'undefined' != typeof window ? window : void 0 !== r ? r : this),
- (t = function (t) {
- 'use strict';
- function r(e) {
- var t;
- return e.length < 2
- ? (t = e.charCodeAt(0)) < 128
- ? e
- : t < 2048
- ? b(192 | (t >>> 6)) + b(128 | (63 & t))
- : b(224 | ((t >>> 12) & 15)) + b(128 | ((t >>> 6) & 63)) + b(128 | (63 & t))
- : ((t = 65536 + 1024 * (e.charCodeAt(0) - 55296) + (e.charCodeAt(1) - 56320)),
- b(240 | ((t >>> 18) & 7)) +
- b(128 | ((t >>> 12) & 63)) +
- b(128 | ((t >>> 6) & 63)) +
- b(128 | (63 & t)));
- }
- function n(e) {
- var t = [0, 2, 1][e.length % 3],
- e =
- (e.charCodeAt(0) << 16) |
- ((1 < e.length ? e.charCodeAt(1) : 0) << 8) |
- (2 < e.length ? e.charCodeAt(2) : 0);
- return [
- m.charAt(e >>> 18),
- m.charAt((e >>> 12) & 63),
- 2 <= t ? '=' : m.charAt((e >>> 6) & 63),
- 1 <= t ? '=' : m.charAt(63 & e)
- ].join('');
- }
- function s(e) {
- return j(v(String(e)));
- }
- function c(e) {
- return e
- .replace(/[+\/]/g, function (e) {
- return '+' == e ? '-' : '_';
- })
- .replace(/=/g, '');
- }
- function i(e, t) {
- return t ? c(s(e)) : s(e);
- }
- function o(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))) -
- 65536;
- return b(55296 + (t >>> 10)) + b(56320 + (1023 & t));
- case 3:
- return b(
- ((15 & e.charCodeAt(0)) << 12) | ((63 & e.charCodeAt(1)) << 6) | (63 & e.charCodeAt(2))
- );
- default:
- return b(((31 & e.charCodeAt(0)) << 6) | (63 & e.charCodeAt(1)));
- }
- }
- function a(e) {
- var t = (r = e.length) % 4,
- r =
- (0 < r ? y[e.charAt(0)] << 18 : 0) |
- (1 < r ? y[e.charAt(1)] << 12 : 0) |
- (2 < r ? y[e.charAt(2)] << 6 : 0) |
- (3 < r ? y[e.charAt(3)] : 0);
- return (
- ((e = [b(r >>> 16), b((r >>> 8) & 255), b(255 & r)]).length -= [0, 0, 2, 1][t]), e.join('')
- );
- }
- function l(e) {
- return T(String(e).replace(/[^A-Za-z0-9\+\/]/g, ''));
- }
- function u(e) {
- return String(e)
- .replace(/[-_]/g, function (e) {
- return '-' == e ? '+' : '/';
- })
- .replace(/[^A-Za-z0-9\+\/]/g, '');
- }
- function e(e) {
- return (e = u(e)), x(T(e));
- }
- var p,
- f,
- d,
- h = (t = t || {}).Base64,
- m = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',
- y = (function (e) {
- for (var t = {}, r = 0, n = e.length; r < n; r++) t[e.charAt(r)] = r;
- return t;
- })(m),
- b = String.fromCharCode,
- g = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,
- v = function (e) {
- return e.replace(g, r);
- },
- j =
- t.btoa && 'function' == typeof t.btoa
- ? function (e) {
- return t.btoa(e);
- }
- : function (e) {
- if (e.match(/[^\x00-\xFF]/))
- throw new RangeError('The string contains invalid characters.');
- return e.replace(/[\s\S]{1,3}/g, n);
- },
- w =
- (t.Uint8Array &&
- (p = function (e, t) {
- for (var r = '', n = 0, s = e.length; n < s; n += 3) {
- var i = e[n],
- o = e[n + 1],
- a = e[n + 2],
- i = (i << 16) | (o << 8) | a;
- r +=
- m.charAt(i >>> 18) +
- m.charAt((i >>> 12) & 63) +
- (void 0 !== o ? m.charAt((i >>> 6) & 63) : '=') +
- (void 0 !== a ? m.charAt(63 & i) : '=');
- }
- return t ? c(r) : r;
- }),
- /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g),
- x = function (e) {
- return e.replace(w, o);
- },
- T =
- t.atob && 'function' == typeof t.atob
- ? function (e) {
- return t.atob(e);
- }
- : function (e) {
- return e.replace(/\S{1,4}/g, a);
- };
- t.Uint8Array &&
- (f = function (e) {
- return Uint8Array.from(l(u(e)), function (e) {
- return e.charCodeAt(0);
- });
- });
- return (
- (t.Base64 = {
- VERSION: '2.6.4',
- atob: l,
- btoa: j,
- fromBase64: e,
- toBase64: i,
- utob: v,
- encode: i,
- encodeURI: function (e) {
- return i(e, !0);
- },
- btou: x,
- decode: e,
- noConflict: function () {
- var e = t.Base64;
- return (t.Base64 = h), e;
- },
- fromUint8Array: p,
- toUint8Array: f
- }),
- 'function' == typeof Object.defineProperty &&
- ((d = function (e) {
- return { value: e, enumerable: !1, writable: !0, configurable: !0 };
- }),
- (t.Base64.extendString = function () {
- Object.defineProperty(
- String.prototype,
- 'fromBase64',
- d(function () {
- return e(this);
- })
- ),
- Object.defineProperty(
- String.prototype,
- 'toBase64',
- d(function (e) {
- return i(this, e);
- })
- ),
- Object.defineProperty(
- String.prototype,
- 'toBase64URI',
- d(function () {
- return i(this, !0);
- })
- );
- })),
- t.Meteor && (Base64 = t.Base64),
- void 0 !== k && k.exports && (k.exports.Base64 = t.Base64),
- { Base64: t.Base64 }
- );
- }),
- 'object' == typeof n && void 0 !== k ? (k.exports = t(e)) : t(e);
- }.call(this);
- }.call(
- this,
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {}
- );
- },
- {}
- ],
- 357: [
- function (e, t, r) {
- 'use strict';
- t.exports = function (r, n, s) {
- if (!r) throw new TypeError('argument dest is required');
- if (!n) throw new TypeError('argument src is required');
- void 0 === s && (s = !0);
- return (
- Object.getOwnPropertyNames(n).forEach(function (e) {
- var t;
- (!s && i.call(r, e)) || ((t = Object.getOwnPropertyDescriptor(n, e)), Object.defineProperty(r, e, t));
- }),
- r
- );
- };
- var i = Object.prototype.hasOwnProperty;
- },
- {}
- ],
- 358: [
- 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));
- }
- e('core-js/modules/es.array.map.js'),
- e('core-js/modules/es.regexp.exec.js'),
- e('core-js/modules/es.string.replace.js'),
- e('core-js/modules/es.regexp.constructor.js'),
- e('core-js/modules/es.regexp.to-string.js'),
- (n.prototype.define = function (e, t) {
- for (var r in e) {
- for (
- var n,
- s = e[r].map(function (e) {
- return e.toLowerCase();
- }),
- r = r.toLowerCase(),
- i = 0;
- i < s.length;
- i++
- ) {
- var o = s[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;
- }
- }
- (!t && this._extensions[r]) || ((n = s[0]), (this._extensions[r] = '*' !== n[0] ? n : n.substr(1)));
- }
- }),
- (n.prototype.getType = function (e) {
- var t = (e = String(e)).replace(/^.*[/\\]/, '').toLowerCase(),
- r = t.replace(/^.*\./, '').toLowerCase(),
- e = t.length < e.length;
- return ((r.length < t.length - 1 || !e) && this._types[r]) || null;
- }),
- (n.prototype.getExtension = function (e) {
- return ((e = /^\s*([^;\s]*)/.test(e) && RegExp.$1) && this._extensions[e.toLowerCase()]) || null;
- }),
- (t.exports = n);
- },
- {
- 'core-js/modules/es.array.map.js': 277,
- 'core-js/modules/es.regexp.constructor.js': 298,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/es.regexp.to-string.js': 300,
- 'core-js/modules/es.string.replace.js': 304
- }
- ],
- 359: [
- function (e, t, r) {
- 'use strict';
- var n = e('./Mime');
- t.exports = new n(e('./types/standard'));
- },
- { './Mime': 358, './types/standard': 360 }
- ],
- 360: [
- function (e, t, r) {
- 'use strict';
- 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': ['es', 'ecma'],
- 'application/emma+xml': ['emma'],
- 'application/emotionml+xml': ['emotionml'],
- 'application/epub+zip': ['epub'],
- 'application/exi': ['exi'],
- 'application/express': ['exp'],
- '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/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/trig': ['trig'],
- 'application/ttml+xml': ['ttml'],
- 'application/ubjson': ['ubj'],
- 'application/urc-ressheet+xml': ['rsheet'],
- 'application/urc-targetdesc+xml': ['td'],
- '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-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': ['*xsl', '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/amr': ['amr'],
- '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', 'opus'],
- '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/avif': ['avif'],
- '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/ktx2': ['ktx2'],
- '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/step+xml': ['stpx'],
- 'model/step+zip': ['stpz'],
- 'model/step-xml+zip': ['stpxz'],
- '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/spdx': ['spdx'],
- '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/iso.segment': ['m4s'],
- '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']
- };
- },
- {}
- ],
- 361: [
- function (e, t, r) {
- var s = 864e5;
- function i(e, t, r, n) {
- t = 1.5 * r <= t;
- return Math.round(e / r) + ' ' + n + (t ? 's' : '');
- }
- t.exports = function (e, t) {
- t = t || {};
- var r = typeof e;
- if (!('string' == r && 0 < e.length)) {
- if ('number' == r && isFinite(e))
- return (
- t.long
- ? function (e) {
- var t = Math.abs(e);
- if (s <= t) return i(e, t, s, 'day');
- if (36e5 <= t) return i(e, t, 36e5, 'hour');
- if (6e4 <= t) return i(e, t, 6e4, 'minute');
- if (1e3 <= t) return i(e, t, 1e3, 'second');
- return e + ' ms';
- }
- : function (e) {
- var t = Math.abs(e);
- if (s <= t) return Math.round(e / s) + 'd';
- if (36e5 <= t) return Math.round(e / 36e5) + 'h';
- if (6e4 <= t) return Math.round(e / 6e4) + 'm';
- if (1e3 <= t) return Math.round(e / 1e3) + 's';
- return e + 'ms';
- }
- )(e);
- throw new Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(e));
- }
- r = e;
- if (!(100 < (r = String(r)).length)) {
- r =
- /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
- r
- );
- if (r) {
- var n = parseFloat(r[1]);
- switch ((r[2] || 'ms').toLowerCase()) {
- case 'years':
- case 'year':
- case 'yrs':
- case 'yr':
- case 'y':
- return 315576e5 * n;
- case 'weeks':
- case 'week':
- case 'w':
- return 6048e5 * n;
- case 'days':
- case 'day':
- case 'd':
- return n * s;
- case 'hours':
- case 'hour':
- case 'hrs':
- case 'hr':
- case 'h':
- return 36e5 * n;
- case 'minutes':
- case 'minute':
- case 'mins':
- case 'min':
- case 'm':
- return 6e4 * n;
- case 'seconds':
- case 'second':
- case 'secs':
- case 'sec':
- case 's':
- return 1e3 * n;
- case 'milliseconds':
- case 'millisecond':
- case 'msecs':
- case 'msec':
- case 'ms':
- return n;
- default:
- return;
- }
- }
- }
- };
- },
- {}
- ],
- 362: [
- function (e, t, r) {
- 'use strict';
- var c = Object.getOwnPropertySymbols,
- l = Object.prototype.hasOwnProperty,
- u = Object.prototype.propertyIsEnumerable;
- t.exports = (function () {
- try {
- if (!Object.assign) return;
- var e = new String('abc');
- if (((e[5] = 'de'), '5' === Object.getOwnPropertyNames(e)[0])) return;
- for (var t = {}, r = 0; r < 10; r++) t['_' + String.fromCharCode(r)] = r;
- if (
- '0123456789' !==
- Object.getOwnPropertyNames(t)
- .map(function (e) {
- return t[e];
- })
- .join('')
- )
- return;
- var n = {};
- return (
- 'abcdefghijklmnopqrst'.split('').forEach(function (e) {
- n[e] = e;
- }),
- 'abcdefghijklmnopqrst' !== Object.keys(Object.assign({}, n)).join('') ? void 0 : 1
- );
- } catch (e) {
- return;
- }
- })()
- ? Object.assign
- : function (e, t) {
- for (
- var r,
- n = (function (e) {
- if (null == e) throw new TypeError('Object.assign cannot be called with null or undefined');
- return Object(e);
- })(e),
- s = 1;
- s < arguments.length;
- s++
- ) {
- for (var i in (r = Object(arguments[s]))) l.call(r, i) && (n[i] = r[i]);
- if (c) for (var o = c(r), a = 0; a < o.length; a++) u.call(r, o[a]) && (n[o[a]] = r[o[a]]);
- }
- return n;
- };
- },
- {}
- ],
- 363: [
- function (e, t, l) {
- !function (o) {
- !function () {
- function s(e, t) {
- for (var r = 0, n = e.length - 1; 0 <= n; n--) {
- var s = e[n];
- '.' === s ? e.splice(n, 1) : '..' === s ? (e.splice(n, 1), r++) : r && (e.splice(n, 1), r--);
- }
- if (t) for (; r--; ) e.unshift('..');
- return e;
- }
- 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;
- }
- (l.resolve = function () {
- for (var e = '', t = !1, r = arguments.length - 1; -1 <= r && !t; r--) {
- var n = 0 <= r ? arguments[r] : o.cwd();
- if ('string' != typeof n) throw new TypeError('Arguments to path.resolve must be strings');
- n && ((e = n + '/' + e), (t = '/' === n.charAt(0)));
- }
- return (
- (t ? '/' : '') +
- (e = s(
- i(e.split('/'), function (e) {
- return !!e;
- }),
- !t
- ).join('/')) || '.'
- );
- }),
- (l.normalize = function (e) {
- var t = l.isAbsolute(e),
- r = '/' === n(e, -1);
- return (
- (e =
- (e = s(
- i(e.split('/'), function (e) {
- return !!e;
- }),
- !t
- ).join('/')) || t
- ? e
- : '.') &&
- r &&
- (e += '/'),
- (t ? '/' : '') + e
- );
- }),
- (l.isAbsolute = function (e) {
- return '/' === e.charAt(0);
- }),
- (l.join = function () {
- var e = Array.prototype.slice.call(arguments, 0);
- return l.normalize(
- i(e, function (e, t) {
- if ('string' != typeof e) throw new TypeError('Arguments to path.join must be strings');
- return e;
- }).join('/')
- );
- }),
- (l.relative = function (e, t) {
- function r(e) {
- for (var t = 0; t < e.length && '' === e[t]; t++);
- for (var r = e.length - 1; 0 <= r && '' === e[r]; r--);
- return r < t ? [] : e.slice(t, r - t + 1);
- }
- (e = l.resolve(e).substr(1)), (t = l.resolve(t).substr(1));
- for (
- var n = r(e.split('/')), s = r(t.split('/')), i = Math.min(n.length, s.length), o = i, a = 0;
- a < i;
- a++
- )
- if (n[a] !== s[a]) {
- o = a;
- break;
- }
- for (var c = [], a = o; a < n.length; a++) c.push('..');
- return (c = c.concat(s.slice(o))).join('/');
- }),
- (l.sep = '/'),
- (l.delimiter = ':'),
- (l.dirname = function (e) {
- if (('string' != typeof e && (e += ''), 0 === e.length)) return '.';
- for (var t = 47 === e.charCodeAt(0), r = -1, n = !0, s = e.length - 1; 1 <= s; --s)
- if (47 === e.charCodeAt(s)) {
- if (!n) {
- r = s;
- break;
- }
- } else n = !1;
- return -1 === r ? (t ? '/' : '.') : t && 1 === r ? '/' : e.slice(0, r);
- }),
- (l.basename = function (e, t) {
- e = (function (e) {
- 'string' != typeof e && (e += '');
- for (var t = 0, r = -1, n = !0, s = e.length - 1; 0 <= s; --s)
- if (47 === e.charCodeAt(s)) {
- if (!n) {
- t = s + 1;
- break;
- }
- } else -1 === r && ((n = !1), (r = s + 1));
- return -1 === r ? '' : e.slice(t, r);
- })(e);
- return (e = t && e.substr(-1 * t.length) === t ? e.substr(0, e.length - t.length) : e);
- }),
- (l.extname = function (e) {
- 'string' != typeof e && (e += '');
- for (var t = -1, r = 0, n = -1, s = !0, i = 0, o = e.length - 1; 0 <= o; --o) {
- var a = e.charCodeAt(o);
- if (47 === a) {
- if (s) continue;
- r = o + 1;
- break;
- }
- -1 === n && ((s = !1), (n = o + 1)),
- 46 === a ? (-1 === t ? (t = o) : 1 !== i && (i = 1)) : -1 !== t && (i = -1);
- }
- return -1 === t || -1 === n || 0 === i || (1 === i && t === n - 1 && t === r + 1)
- ? ''
- : e.slice(t, n);
- });
- var n =
- '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);
- }.call(this, e('_process'));
- },
- { _process: 441 }
- ],
- 364: [
- function (e, o, c) {
- !function (i) {
- !function () {
- !function () {
- 'use strict';
- var e = { function: !0, object: !0 },
- D = (e[typeof window] && window) || this,
- r = e[typeof c] && c,
- e = e[typeof o] && o && !o.nodeType && o,
- t = r && e && 'object' == typeof i && i,
- a = (!t || (t.global !== t && t.window !== t && t.self !== t) || (D = t), Math.pow(2, 53) - 1),
- I = /\bOpera/,
- t = Object.prototype,
- n = t.hasOwnProperty,
- C = t.toString;
- function s(e) {
- return (e = String(e)).charAt(0).toUpperCase() + e.slice(1);
- }
- function N(e) {
- return (e = B(e)), /^(?:webOS|i(?:OS|P))/.test(e) ? e : s(e);
- }
- function R(e, t) {
- for (var r in e) n.call(e, r) && t(e[r], r, e);
- }
- function P(e) {
- return null == e ? s(e) : C.call(e).slice(8, -1);
- }
- function M(e) {
- return String(e).replace(/([ -])(?!$)/g, '$1?');
- }
- function L(r, n) {
- var s = null,
- e = r,
- t = function (e, t) {
- s = n(s, e, t, r);
- },
- i = -1,
- o = e ? e.length : 0;
- if ('number' == typeof o && -1 < o && o <= a) for (; ++i < o; ) t(e[i], i, e);
- else R(e, t);
- return s;
- }
- function B(e) {
- return String(e).replace(/^ +| +$/g, '');
- }
- function q(i) {
- var t,
- r,
- e,
- n,
- s = D,
- o = i && 'object' == typeof i && 'String' != P(i),
- a = (o && ((s = i), (i = null)), s.navigator || {}),
- c = a.userAgent || '',
- l =
- ((i = i || c), o ? !!a.likeChrome : /\bChrome\b/.test(i) && !/internal|\n/i.test(C.toString())),
- u = 'Object',
- p = o ? u : 'ScriptBridgingProxyObject',
- f = o ? u : 'Environment',
- d = o && s.java ? 'JavaPackage' : P(s.java),
- u = o ? u : 'RuntimeObject',
- d = /\bJava/.test(d) && s.java,
- f = d && P(s.environment) == f,
- h = d ? 'a' : '\u03b1',
- m = d ? 'b' : '\u03b2',
- y = s.document || {},
- b = s.operamini || s.opera,
- o = I.test((o = o && b ? b['[[Class]]'] : P(b))) ? o : (b = null),
- g = i,
- v = [],
- j = null,
- c = i == c,
- w = c && b && 'function' == typeof b.version && b.version(),
- x = L(
- [
- { label: 'EdgeHTML', pattern: 'Edge' },
- 'Trident',
- { label: 'WebKit', pattern: 'AppleWebKit' },
- 'iCab',
- 'Presto',
- 'NetFront',
- 'Tasman',
- 'KHTML',
- 'Gecko'
- ],
- function (e, t) {
- return e || (RegExp('\\b' + (t.pattern || M(t)) + '\\b', 'i').exec(i) && (t.label || t));
- }
- ),
- T = L(
- [
- '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|Edg|EdgA|EdgiOS)' },
- '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',
- 'Vivaldi',
- 'Waterfox',
- 'WebPositive',
- { label: 'Yandex Browser', pattern: 'YaBrowser' },
- { label: 'UC Browser', pattern: 'UCBrowser' },
- 'Opera Mini',
- { label: 'Opera Mini', pattern: 'OPiOS' },
- 'Opera',
- { label: 'Opera', pattern: 'OPR' },
- 'Chromium',
- 'Chrome',
- { label: 'Chrome', pattern: '(?:HeadlessChrome)' },
- { 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'
- ],
- function (e, t) {
- return e || (RegExp('\\b' + (t.pattern || M(t)) + '\\b', 'i').exec(i) && (t.label || t));
- }
- ),
- k = S([
- { 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'
- ]),
- E = L(
- {
- Apple: { iPad: 1, iPhone: 1, iPod: 1 },
- Alcatel: {},
- 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: {},
- Huawei: {},
- Lenovo: {},
- LG: {},
- Microsoft: { Xbox: 1, 'Xbox One': 1 },
- Motorola: { Xoom: 1 },
- Nintendo: { 'Wii U': 1, Wii: 1 },
- Nokia: { Lumia: 1 },
- Oppo: {},
- Samsung: { 'Galaxy S': 1, 'Galaxy S2': 1, 'Galaxy S3': 1, 'Galaxy S4': 1 },
- Sony: { PlayStation: 1, 'PlayStation Vita': 1 },
- Xiaomi: { Mi: 1, Redmi: 1 }
- },
- function (e, t, r) {
- return (
- e ||
- ((t[k] ||
- t[/^[a-z]+(?: +[a-z]+\b)*/i.exec(k)] ||
- RegExp('\\b' + M(r) + '(?:\\b|\\w*\\d)', 'i').exec(i)) &&
- r)
- );
- }
- ),
- _ = L(
- [
- 'Windows Phone',
- 'KaiOS',
- 'Android',
- 'CentOS',
- { label: 'Chrome OS', pattern: 'CrOS' },
- 'Debian',
- { label: 'DragonFly BSD', pattern: 'DragonFly' },
- '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 (e, t) {
- var r,
- n,
- s = t.pattern || M(t);
- return (
- !e &&
- (e = RegExp('\\b' + s + '(?:/[\\d.]+|[ \\w.]*)', 'i').exec(i)) &&
- ((r = e),
- (s = s),
- (t = t.label || t),
- (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'
- }),
- s &&
- t &&
- /^Win/i.test(r) &&
- !/^Windows Phone /i.test(r) &&
- (n = n[/[\d.]+$/.exec(r)]) &&
- (r = 'Windows ' + n),
- (r = String(r)),
- (e = r =
- N(
- (r = s && t ? r.replace(RegExp(s, 'i'), t) : r)
- .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 S(e) {
- return L(e, function (e, t) {
- var r = t.pattern || M(t);
- return (
- !e &&
- (e =
- RegExp('\\b' + r + ' *\\d+[.\\w_]*', 'i').exec(i) ||
- RegExp('\\b' + r + ' *\\w+-[\\w]*', 'i').exec(i) ||
- RegExp('\\b' + r + '(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)', 'i').exec(i)) &&
- ((e = String(t.label && !RegExp(r, 'i').test(t.label) ? t.label : e).split('/'))[1] &&
- !/[\d.]+/.test(e[0]) &&
- (e[0] += ' ' + e[1]),
- (t = t.label || t),
- (e = N(
- e[0]
- .replace(RegExp(r, 'i'), t)
- .replace(RegExp('; *(?:' + t + '[_-])?', 'i'), ' ')
- .replace(RegExp('(' + t + ')[-_.]?(\\w)', 'i'), '$1 $2')
- ))),
- e
- );
- });
- }
- function O(e) {
- return L(e, function (e, t) {
- return (
- e ||
- (RegExp(t + '(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)', 'i').exec(i) ||
- 0)[1] ||
- null
- );
- });
- }
- if (
- ((x = x && [x]),
- /\bAndroid\b/.test(_) &&
- !k &&
- (t = /\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(i)) &&
- (k = B(t[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i, '') || null),
- E && !k
- ? (k = S([E]))
- : E &&
- k &&
- (k = k
- .replace(RegExp('^(' + M(E) + ')[-_.\\s]', 'i'), E + ' ')
- .replace(RegExp('^(' + M(E) + ')[-_.]?(\\w)', 'i'), E + ' $2')),
- (t = /\bGoogle TV\b/.exec(k)) && (k = t[0]),
- /\bSimulator\b/i.test(i) && (k = (k ? k + ' ' : '') + 'Simulator'),
- 'Opera Mini' == T && /\bOPiOS\b/.test(i) && v.push('running in Turbo/Uncompressed mode'),
- 'IE' == T && /\blike iPhone OS\b/.test(i)
- ? ((E = (t = q(i.replace(/like iPhone OS/, ''))).manufacturer), (k = t.product))
- : /^iP/.test(k)
- ? ((T = T || 'Safari'),
- (_ = 'iOS' + ((t = / OS ([\d_]+)/i.exec(i)) ? ' ' + t[1].replace(/_/g, '.') : '')))
- : 'Konqueror' == T && /^Linux\b/i.test(_)
- ? (_ = 'Kubuntu')
- : (E &&
- 'Google' != E &&
- ((/Chrome/.test(T) && !/\bMobile Safari\b/i.test(i)) || /\bVita\b/.test(k))) ||
- (/\bAndroid\b/.test(_) && /^Chrome/.test(T) && /\bVersion\//i.test(i))
- ? ((T = 'Android Browser'), (_ = /\bAndroid\b/.test(_) ? _ : 'Android'))
- : 'Silk' == T
- ? (/\bMobi/i.test(i) || ((_ = 'Android'), v.unshift('desktop mode')),
- /Accelerated *= *true/i.test(i) && v.unshift('accelerated'))
- : 'UC Browser' == T && /\bUCWEB\b/.test(i)
- ? v.push('speed mode')
- : 'PaleMoon' == T && (t = /\bFirefox\/([\d.]+)\b/.exec(i))
- ? v.push('identifying as Firefox ' + t[1])
- : 'Firefox' == T && (t = /\b(Mobile|Tablet|TV)\b/i.exec(i))
- ? ((_ = _ || 'Firefox OS'), (k = k || t[1]))
- : !T || (t = !/\bMinefield\b/i.test(i) && /\b(?:Firefox|Safari)\b/.exec(T))
- ? (T && !k && /[\/,]|^[^(]+?\)/.test(i.slice(i.indexOf(t + '/') + 8)) && (T = null),
- (t = k || E || _) &&
- (k || E || /\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(_)) &&
- (T = /[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(_) ? _ : t) + ' Browser'))
- : 'Electron' == T && (t = (/\bChrome\/([\d.]+)\b/.exec(i) || 0)[1]) && v.push('Chromium ' + t),
- (w =
- w ||
- O([
- '(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)',
- 'Version',
- M(T),
- '(?:Firefox|Minefield|NetFront)'
- ])),
- (t =
- ('iCab' == x && 3 < parseFloat(w)
- ? 'WebKit'
- : /\bOpera\b/.test(T) && (/\bOPR\b/.test(i) ? 'Blink' : 'Presto')) ||
- (/\b(?:Midori|Nook|Safari)\b/i.test(i) && !/^(?:Trident|EdgeHTML)$/.test(x) && 'WebKit') ||
- (!x && /\bMSIE\b/i.test(i) && ('Mac OS' == _ ? 'Tasman' : 'Trident')) ||
- ('WebKit' == x && /\bPlayStation\b(?! Vita\b)/i.test(T) && 'NetFront')) && (x = [t]),
- 'IE' == T && (t = (/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(i) || 0)[1])
- ? ((T += ' Mobile'),
- (_ = 'Windows Phone ' + (/\+$/.test(t) ? t : t + '.x')),
- v.unshift('desktop mode'))
- : /\bWPDesktop\b/i.test(i)
- ? ((T = 'IE Mobile'),
- (_ = 'Windows Phone 8.x'),
- v.unshift('desktop mode'),
- (w = w || (/\brv:([\d.]+)/.exec(i) || 0)[1]))
- : 'IE' != T &&
- 'Trident' == x &&
- (t = /\brv:([\d.]+)/.exec(i)) &&
- (T && v.push('identifying as ' + T + (w ? ' ' + w : '')), (T = 'IE'), (w = t[1])),
- c)
- ) {
- if (
- ((n = 'global'),
- (A = null != (e = s) ? typeof e[n] : 'number'),
- /^(?:boolean|number|string|undefined)$/.test(A) || ('object' == A && !e[n]))
- )
- P((t = s.runtime)) == p
- ? ((T = 'Adobe AIR'), (_ = t.flash.system.Capabilities.os))
- : P((t = s.phantom)) == u
- ? ((T = 'PhantomJS'),
- (w = (t = t.version || null) && t.major + '.' + t.minor + '.' + t.patch))
- : 'number' == typeof y.documentMode && (t = /\bTrident\/(\d+)/i.exec(i))
- ? ((w = [w, y.documentMode]),
- (t = +t[1] + 4) != w[1] && (v.push('IE ' + w[1] + ' mode'), x && (x[1] = ''), (w[1] = t)),
- (w = 'IE' == T ? String(w[1].toFixed(1)) : w[0]))
- : 'number' == typeof y.documentMode &&
- /^(?:Chrome|Firefox)\b/.test(T) &&
- (v.push('masking as ' + T + ' ' + w),
- (T = 'IE'),
- (w = '11.0'),
- (x = ['Trident']),
- (_ = 'Windows'));
- else if (
- (d &&
- ((g = (t = d.lang.System).getProperty('os.arch')),
- (_ = _ || t.getProperty('os.name') + ' ' + t.getProperty('os.version'))),
- f)
- ) {
- try {
- (w = s.require('ringo/engine').version.join('.')), (T = 'RingoJS');
- } catch (e) {
- (t = s.system) &&
- t.global.system == s.system &&
- ((T = 'Narwhal'), (_ = _ || t[0].os || null));
- }
- T = T || 'Rhino';
- } else
- 'object' == typeof s.process &&
- !s.process.browser &&
- (t = s.process) &&
- ('object' == typeof t.versions &&
- ('string' == typeof t.versions.electron
- ? (v.push('Node ' + t.versions.node), (T = 'Electron'), (w = t.versions.electron))
- : 'string' == typeof t.versions.nw &&
- (v.push('Chromium ' + w, 'Node ' + t.versions.node),
- (T = 'NW.js'),
- (w = t.versions.nw))),
- T ||
- ((T = 'Node.js'),
- (g = t.arch),
- (_ = t.platform),
- (w = (w = /[\d.]+/.exec(t.version)) ? w[0] : null)));
- _ = _ && N(_);
- }
- if (
- (w &&
- (t =
- /(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(w) ||
- /(?:alpha|beta)(?: ?\d)?/i.exec(i + ';' + (c && a.appMinorVersion)) ||
- (/\bMinefield\b/i.test(i) && 'a')) &&
- ((j = /b/i.test(t) ? 'beta' : 'alpha'),
- (w = w.replace(RegExp(t + '\\+?$'), '') + ('beta' == j ? m : h) + (/\d+\+?/.exec(t) || ''))),
- 'Fennec' == T || ('Firefox' == T && /\b(?:Android|Firefox OS|KaiOS)\b/.test(_)))
- )
- T = 'Firefox Mobile';
- else if ('Maxthon' == T && w) w = w.replace(/\.[\d.]+/, '.x');
- else if (/\bXbox\b/i.test(k))
- 'Xbox 360' == k && (_ = null),
- 'Xbox 360' == k && /\bIEMobile\b/.test(i) && v.unshift('mobile mode');
- else if (
- (!/^(?:Chrome|IE|Opera)$/.test(T) && (!T || k || /Browser|Mobi/.test(T))) ||
- ('Windows CE' != _ && !/Mobi/i.test(i))
- )
- if ('IE' == T && c)
- try {
- null === s.external && v.unshift('platform preview');
- } catch (e) {
- v.unshift('embedded');
- }
- else
- (/\bBlackBerry\b/.test(k) || /\bBB10\b/.test(i)) &&
- (t = (RegExp(k.replace(/ +/g, ' *') + '/([.\\d]+)', 'i').exec(i) || 0)[1] || w)
- ? ((_ =
- ((t = [t, /BB10/.test(i)])[1] ? ((k = null), (E = 'BlackBerry')) : 'Device Software') +
- ' ' +
- t[0]),
- (w = null))
- : this != R &&
- 'Wii' != k &&
- ((c && b) ||
- (/Opera/.test(T) && /\b(?:MSIE|Firefox)\b/i.test(i)) ||
- ('Firefox' == T && /\bOS X (?:\d+\.){2,}/.test(_)) ||
- ('IE' == T &&
- ((_ && !/^Win/.test(_) && 5.5 < w) ||
- (/\bWindows XP\b/.test(_) && 8 < w) ||
- (8 == w && !/\bTrident\b/.test(i))))) &&
- !I.test((t = q.call(R, i.replace(I, '') + ';'))) &&
- t.name &&
- ((t = 'ing as ' + t.name + ((t = t.version) ? ' ' + t : '')),
- I.test(T)
- ? (/\bIE\b/.test(t) && 'Mac OS' == _ && (_ = null), (t = 'identify' + t))
- : ((t = 'mask' + t),
- (T = o ? N(o.replace(/([a-z])([A-Z])/g, '$1 $2')) : 'Opera'),
- /\bIE\b/.test(t) && (_ = null),
- c || (w = null)),
- (x = ['Presto']),
- v.push(t));
- else T += ' Mobile';
- (t = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(i) || 0)[1]) &&
- ((t = [parseFloat(t.replace(/\.(\d)$/, '.0$1')), t]),
- 'Safari' == T && '+' == t[1].slice(-1)
- ? ((T = 'WebKit Nightly'), (j = 'alpha'), (w = t[1].slice(0, -1)))
- : (w != t[1] && w != (t[2] = (/\bSafari\/([\d.]+\+?)/i.exec(i) || 0)[1])) || (w = null),
- (t[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(i) || 0)[1]),
- 537.36 == t[0] && 537.36 == t[2] && 28 <= parseFloat(t[1]) && 'WebKit' == x && (x = ['Blink']),
- (t =
- c && (l || t[1])
- ? (x && (x[1] = 'like Chrome'),
- t[1] ||
- ((t = t[0]) < 530
- ? 1
- : t < 532
- ? 2
- : t < 532.05
- ? 3
- : t < 533
- ? 4
- : t < 534.03
- ? 5
- : t < 534.07
- ? 6
- : t < 534.1
- ? 7
- : t < 534.13
- ? 8
- : t < 534.16
- ? 9
- : t < 534.24
- ? 10
- : t < 534.3
- ? 11
- : t < 535.01
- ? 12
- : t < 535.02
- ? '13+'
- : t < 535.07
- ? 15
- : t < 535.11
- ? 16
- : t < 535.19
- ? 17
- : t < 536.05
- ? 18
- : t < 536.1
- ? 19
- : t < 537.01
- ? 20
- : t < 537.11
- ? '21+'
- : t < 537.13
- ? 23
- : t < 537.18
- ? 24
- : t < 537.24
- ? 25
- : t < 537.36
- ? 26
- : 'Blink' != x
- ? '27'
- : '28'))
- : (x && (x[1] = 'like Safari'),
- (t = t[0]) < 400
- ? 1
- : t < 500
- ? 2
- : t < 526
- ? 3
- : t < 533
- ? 4
- : t < 534
- ? '4+'
- : t < 535
- ? 5
- : t < 537
- ? 6
- : t < 538
- ? 7
- : t < 601
- ? 8
- : t < 602
- ? 9
- : t < 604
- ? 10
- : t < 606
- ? 11
- : t < 608
- ? 12
- : '12')),
- x && (x[1] += ' ' + (t += 'number' == typeof t ? '.x' : /[.+]/.test(t) ? '' : '+')),
- 'Safari' == T && (!w || 45 < parseInt(w))
- ? (w = t)
- : 'Chrome' == T && /\bHeadlessChrome/i.test(i) && v.unshift('headless')),
- 'Opera' == T && (t = /\bzbov|zvav$/.exec(_))
- ? ((T += ' '),
- v.unshift('desktop mode'),
- 'zvav' == t ? ((T += 'Mini'), (w = null)) : (T += 'Mobile'),
- (_ = _.replace(RegExp(' *' + t + '$'), '')))
- : 'Safari' == T && /\bChrome\b/.exec(x && x[1])
- ? (v.unshift('desktop mode'),
- (T = 'Chrome Mobile'),
- (w = null),
- (_ = /\bOS X\b/.test(_) ? ((E = 'Apple'), 'iOS 4.3+') : null))
- : /\bSRWare Iron\b/.test(T) && !w && (w = O('Chrome')),
- (_ =
- w && 0 == w.indexOf((t = /[\d.]+$/.exec(_))) && -1 < i.indexOf('/' + t + '-')
- ? B(_.replace(t, ''))
- : _) &&
- -1 != _.indexOf(T) &&
- !RegExp(T + ' OS').test(_) &&
- (_ = _.replace(RegExp(' *' + M(T) + ' *'), '')),
- x &&
- !/\b(?:Avant|Nook)\b/.test(T) &&
- (/Browser|Lunascape|Maxthon/.test(T) ||
- ('Safari' != T && /^iOS/.test(_) && /\bSafari\b/.test(x[1])) ||
- (/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(
- T
- ) &&
- x[1])) &&
- (t = x[x.length - 1]) &&
- v.push(t),
- v.length && (v = ['(' + v.join('; ') + ')']),
- E && k && k.indexOf(E) < 0 && v.push('on ' + E),
- k && v.push((/^on /.test(v[v.length - 1]) ? '' : 'on ') + k),
- _ &&
- ((t = / ([\d.+]+)$/.exec(_)),
- (r = t && '/' == _.charAt(_.length - t[0].length - 1)),
- (_ = {
- architecture: 32,
- family: t && !r ? _.replace(t[0], '') : _,
- version: t ? t[1] : null,
- toString: function () {
- var e = this.version;
- return this.family + (e && !r ? ' ' + e : '') + (64 == this.architecture ? ' 64-bit' : '');
- }
- })),
- (t = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(g)) && !/\bi686\b/i.test(g)
- ? (_ && ((_.architecture = 64), (_.family = _.family.replace(RegExp(' *' + t), ''))),
- T &&
- (/\bWOW64\b/i.test(i) ||
- (c && /\w(?:86|32)$/.test(a.cpuClass || a.platform) && !/\bWin64; x64\b/i.test(i))) &&
- v.unshift('32-bit'))
- : _ && /^OS X/.test(_.family) && 'Chrome' == T && 39 <= parseFloat(w) && (_.architecture = 64),
- (i = i || null);
- var A = {};
- return (
- (A.description = i),
- (A.layout = x && x[0]),
- (A.manufacturer = E),
- (A.name = T),
- (A.prerelease = j),
- (A.product = k),
- (A.ua = i),
- (A.version = T && w),
- (A.os = _ || {
- architecture: null,
- family: null,
- version: null,
- toString: function () {
- return 'null';
- }
- }),
- (A.parse = q),
- (A.toString = function () {
- return this.description || '';
- }),
- A.version && v.unshift(w),
- A.name && v.unshift(T),
- _ &&
- T &&
- (_ != String(_).split(' ')[0] || (_ != T.split(' ')[0] && !k)) &&
- v.push(k ? '(' + _ + ')' : 'on ' + _),
- v.length && (A.description = v.join(' ')),
- A
- );
- }
- t = q();
- r && e
- ? R(t, function (e, t) {
- r[t] = e;
- })
- : (D.platform = t);
- }.call(this);
- }.call(this);
- }.call(
- this,
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {}
- );
- },
- {}
- ],
- 365: [
- function (e, t, r) {
- !function (a) {
- !function () {
- 'use strict';
- void 0 === a ||
- !a.version ||
- 0 === a.version.indexOf('v0.') ||
- (0 === a.version.indexOf('v1.') && 0 !== a.version.indexOf('v1.8.'))
- ? (t.exports = {
- nextTick: function (e, t, r, n) {
- if ('function' != typeof e) throw new TypeError('"callback" argument must be a function');
- var s,
- i,
- o = arguments.length;
- switch (o) {
- case 0:
- case 1:
- return a.nextTick(e);
- case 2:
- return a.nextTick(function () {
- e.call(null, t);
- });
- case 3:
- return a.nextTick(function () {
- e.call(null, t, r);
- });
- case 4:
- return a.nextTick(function () {
- e.call(null, t, r, n);
- });
- default:
- for (s = new Array(o - 1), i = 0; i < s.length; ) s[i++] = arguments[i];
- return a.nextTick(function () {
- e.apply(null, s);
- });
- }
- }
- })
- : (t.exports = a);
- }.call(this);
- }.call(this, e('_process'));
- },
- { _process: 441 }
- ],
- 366: [
- function (e, t, r) {
- var n,
- s,
- t = (t.exports = {});
- function i() {
- throw new Error('setTimeout has not been defined');
- }
- function o() {
- throw new Error('clearTimeout has not been defined');
- }
- try {
- n = 'function' == typeof setTimeout ? setTimeout : i;
- } catch (e) {
- n = i;
- }
- try {
- s = 'function' == typeof clearTimeout ? clearTimeout : o;
- } catch (e) {
- s = o;
- }
- function a(t) {
- if (n === setTimeout) return setTimeout(t, 0);
- if ((n === i || !n) && setTimeout) return (n = setTimeout)(t, 0);
- try {
- return n(t, 0);
- } catch (e) {
- try {
- return n.call(null, t, 0);
- } catch (e) {
- return n.call(this, t, 0);
- }
- }
- }
- var c,
- l = [],
- u = !1,
- p = -1;
- function f() {
- u && c && ((u = !1), c.length ? (l = c.concat(l)) : (p = -1), l.length && d());
- }
- function d() {
- if (!u) {
- for (var e = a(f), t = ((u = !0), l.length); t; ) {
- for (c = l, l = []; ++p < t; ) c && c[p].run();
- (p = -1), (t = l.length);
- }
- (c = null),
- (u = !1),
- !(function (t) {
- if (s === clearTimeout) return clearTimeout(t);
- if ((s === o || !s) && clearTimeout) return (s = clearTimeout)(t);
- try {
- s(t);
- } catch (e) {
- try {
- return s.call(null, t);
- } catch (e) {
- return s.call(this, t);
- }
- }
- })(e);
- }
- }
- function h(e, t) {
- (this.fun = e), (this.array = t);
- }
- function m() {}
- (t.nextTick = function (e) {
- var t = new Array(arguments.length - 1);
- if (1 < arguments.length) for (var r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
- l.push(new h(e, t)), 1 !== l.length || u || a(d);
- }),
- (h.prototype.run = function () {
- this.fun.apply(null, this.array);
- }),
- (t.title = 'browser'),
- (t.browser = !0),
- (t.env = {}),
- (t.argv = []),
- (t.version = ''),
- (t.versions = {}),
- (t.on = m),
- (t.addListener = m),
- (t.once = m),
- (t.off = m),
- (t.removeListener = m),
- (t.removeAllListeners = m),
- (t.emit = m),
- (t.prependListener = m),
- (t.prependOnceListener = m),
- (t.listeners = function (e) {
- return [];
- }),
- (t.binding = function (e) {
- throw new Error('process.binding is not supported');
- }),
- (t.cwd = function () {
- return '/';
- }),
- (t.chdir = function (e) {
- throw new Error('process.chdir is not supported');
- }),
- (t.umask = function () {
- return 0;
- });
- },
- {}
- ],
- 367: [
- function (e, O, A) {
- !function (S) {
- !function () {
- var e = this,
- t = 'object' == typeof A && A && !A.nodeType && A,
- r = 'object' == typeof O && O && !O.nodeType && O,
- n = 'object' == typeof S && S;
- (n.global !== n && n.window !== n && n.self !== n) || (e = n);
- var s,
- i,
- y = 2147483647,
- b = 36,
- g = 26,
- o = 38,
- a = 700,
- c = /^xn--/,
- l = /[^\x20-\x7E]/,
- u = /[\x2E\u3002\uFF0E\uFF61]/g,
- p = {
- overflow: 'Overflow: input needs wider integers to process',
- 'not-basic': 'Illegal input >= 0x80 (not a basic code point)',
- 'invalid-input': 'Invalid input'
- },
- f = b - 1,
- v = Math.floor,
- j = String.fromCharCode;
- function w(e) {
- throw new RangeError(p[e]);
- }
- function d(e, t) {
- for (var r = e.length, n = []; r--; ) n[r] = t(e[r]);
- return n;
- }
- function h(e, t) {
- var r = e.split('@'),
- n = '',
- r = (1 < r.length && ((n = r[0] + '@'), (e = r[1])), (e = e.replace(u, '.')).split('.'));
- return n + d(r, t).join('.');
- }
- function x(e) {
- for (var t, r, n = [], s = 0, i = e.length; s < i; )
- 55296 <= (t = e.charCodeAt(s++)) && t <= 56319 && s < i
- ? 56320 == (64512 & (r = e.charCodeAt(s++)))
- ? n.push(((1023 & t) << 10) + (1023 & r) + 65536)
- : (n.push(t), s--)
- : n.push(t);
- return n;
- }
- function m(e) {
- return d(e, function (e) {
- var t = '';
- return (
- 65535 < e && ((t += j((((e -= 65536) >>> 10) & 1023) | 55296)), (e = 56320 | (1023 & e))),
- (t += j(e))
- );
- }).join('');
- }
- function T(e, t) {
- return e + 22 + 75 * (e < 26) - ((0 != t) << 5);
- }
- function k(e, t, r) {
- var n = 0;
- for (e = r ? v(e / a) : e >> 1, e += v(e / t); (f * g) >> 1 < e; n += b) e = v(e / f);
- return v(n + ((f + 1) * e) / (e + o));
- }
- function E(e) {
- var t,
- r,
- n,
- s,
- i,
- o,
- a,
- c = [],
- l = e.length,
- u = 0,
- p = 128,
- f = 72,
- d = e.lastIndexOf('-');
- for (d < 0 && (d = 0), r = 0; r < d; ++r)
- 128 <= e.charCodeAt(r) && w('not-basic'), c.push(e.charCodeAt(r));
- for (n = 0 < d ? d + 1 : 0; n < l; ) {
- for (
- s = u, i = 1, o = b;
- l <= n && w('invalid-input'),
- (a = e.charCodeAt(n++)),
- (b <= (a = a - 48 < 10 ? a - 22 : a - 65 < 26 ? a - 65 : a - 97 < 26 ? a - 97 : b) ||
- a > v((y - u) / i)) &&
- w('overflow'),
- (u += a * i),
- !(a < (a = o <= f ? 1 : f + g <= o ? g : o - f));
- o += b
- )
- i > v(y / (a = b - a)) && w('overflow'), (i *= a);
- (f = k(u - s, (t = c.length + 1), 0 == s)),
- v(u / t) > y - p && w('overflow'),
- (p += v(u / t)),
- (u %= t),
- c.splice(u++, 0, p);
- }
- return m(c);
- }
- function _(e) {
- for (
- var t, r, n, s, i, o, a, c, l, u, p = [], f = (e = x(e)).length, d = 128, h = 72, m = (t = 0);
- m < f;
- ++m
- )
- (a = e[m]) < 128 && p.push(j(a));
- for (r = n = p.length, n && p.push('-'); r < f; ) {
- for (s = y, m = 0; m < f; ++m) d <= (a = e[m]) && a < s && (s = a);
- for (s - d > v((y - t) / (c = r + 1)) && w('overflow'), t += (s - d) * c, d = s, m = 0; m < f; ++m)
- if (((a = e[m]) < d && ++t > y && w('overflow'), a == d)) {
- for (i = t, o = b; !(i < (l = o <= h ? 1 : h + g <= o ? g : o - h)); o += b)
- p.push(j(T(l + ((u = i - l) % (l = b - l)), 0))), (i = v(u / l));
- p.push(j(T(i, 0))), (h = k(t, c, r == n)), (t = 0), ++r;
- }
- ++t, ++d;
- }
- return p.join('');
- }
- if (
- ((s = {
- version: '1.4.1',
- ucs2: { decode: x, encode: m },
- decode: E,
- encode: _,
- toASCII: function (e) {
- return h(e, function (e) {
- return l.test(e) ? 'xn--' + _(e) : e;
- });
- },
- toUnicode: function (e) {
- return h(e, function (e) {
- return c.test(e) ? E(e.slice(4).toLowerCase()) : e;
- });
- }
- }),
- t && r)
- )
- if (O.exports == t) r.exports = s;
- else for (i in s) s.hasOwnProperty(i) && (t[i] = s[i]);
- else e.punycode = s;
- }.call(this);
- }.call(
- this,
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {}
- );
- },
- {}
- ],
- 368: [
- function (e, t, r) {
- 'use strict';
- t.exports = function (e, t, r, n) {
- r = r || '=';
- var s = {};
- if ('string' != typeof e || 0 === e.length) return s;
- var i = /\+/g,
- t = ((e = e.split((t = t || '&'))), 1e3),
- o = (n && 'number' == typeof n.maxKeys && (t = n.maxKeys), e.length);
- 0 < t && t < o && (o = t);
- for (var a = 0; a < o; ++a) {
- var c,
- l = e[a].replace(i, '%20'),
- u = l.indexOf(r),
- u = 0 <= u ? ((c = l.substr(0, u)), l.substr(u + 1)) : ((c = l), ''),
- l = decodeURIComponent(c),
- u = decodeURIComponent(u);
- Object.prototype.hasOwnProperty.call(s, l) ? (p(s[l]) ? s[l].push(u) : (s[l] = [s[l], u])) : (s[l] = u);
- }
- return s;
- };
- var p =
- Array.isArray ||
- function (e) {
- return '[object Array]' === Object.prototype.toString.call(e);
- };
- },
- {}
- ],
- 369: [
- function (e, t, r) {
- 'use strict';
- function i(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 (r, n, s, e) {
- return (
- (n = n || '&'),
- (s = s || '='),
- 'object' == typeof (r = null === r ? void 0 : r)
- ? a(c(r), function (e) {
- var t = encodeURIComponent(i(e)) + s;
- return o(r[e])
- ? a(r[e], function (e) {
- return t + encodeURIComponent(i(e));
- }).join(n)
- : t + encodeURIComponent(i(r[e]));
- }).join(n)
- : e
- ? encodeURIComponent(i(e)) + s + encodeURIComponent(i(r))
- : ''
- );
- };
- var o =
- Array.isArray ||
- function (e) {
- return '[object Array]' === Object.prototype.toString.call(e);
- };
- function a(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 c =
- Object.keys ||
- function (e) {
- var t,
- r = [];
- for (t in e) Object.prototype.hasOwnProperty.call(e, t) && r.push(t);
- return r;
- };
- },
- {}
- ],
- 370: [
- function (e, t, r) {
- 'use strict';
- (r.decode = r.parse = e('./decode')), (r.encode = r.stringify = e('./encode'));
- },
- { './decode': 368, './encode': 369 }
- ],
- 371: [
- function (e, t, r) {
- t.exports = e('./lib/_stream_duplex.js');
- },
- { './lib/_stream_duplex.js': 372 }
- ],
- 372: [
- function (e, t, r) {
- 'use strict';
- var n = e('process-nextick-args'),
- s =
- Object.keys ||
- function (e) {
- var t,
- r = [];
- for (t in e) r.push(t);
- return r;
- },
- t = ((t.exports = u), Object.create(e('core-util-is'))),
- i = ((t.inherits = e('inherits')), e('./_stream_readable')),
- o = e('./_stream_writable');
- t.inherits(u, i);
- for (var a = s(o.prototype), c = 0; c < a.length; c++) {
- var l = a[c];
- u.prototype[l] || (u.prototype[l] = o.prototype[l]);
- }
- function u(e) {
- if (!(this instanceof u)) return new u(e);
- i.call(this, e),
- o.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(f, this);
- }
- function f(e) {
- e.end();
- }
- Object.defineProperty(u.prototype, 'writableHighWaterMark', {
- enumerable: !1,
- get: function () {
- return this._writableState.highWaterMark;
- }
- }),
- Object.defineProperty(u.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));
- }
- }),
- (u.prototype._destroy = function (e, t) {
- this.push(null), this.end(), n.nextTick(t, e);
- });
- },
- {
- './_stream_readable': 374,
- './_stream_writable': 376,
- 'core-util-is': 340,
- inherits: 353,
- 'process-nextick-args': 365
- }
- ],
- 373: [
- function (e, t, r) {
- 'use strict';
- t.exports = s;
- var n = e('./_stream_transform'),
- t = Object.create(e('core-util-is'));
- function s(e) {
- if (!(this instanceof s)) return new s(e);
- n.call(this, e);
- }
- (t.inherits = e('inherits')),
- t.inherits(s, n),
- (s.prototype._transform = function (e, t, r) {
- r(null, e);
- });
- },
- { './_stream_transform': 375, 'core-util-is': 340, inherits: 353 }
- ],
- 374: [
- function (C, N, e) {
- !function (D, I) {
- !function () {
- 'use strict';
- function m(e, t) {
- return e.listeners(t).length;
- }
- var i,
- y = C('process-nextick-args'),
- b = ((N.exports = s), C('isarray')),
- r = ((s.ReadableState = n), C('events').EventEmitter, C('./internal/streams/stream')),
- u = C('safe-buffer').Buffer,
- p = I.Uint8Array || function () {};
- var o,
- e = Object.create(C('core-util-is')),
- t = ((e.inherits = C('inherits')), C('util')),
- g = void 0,
- g = t && t.debuglog ? t.debuglog('stream') : function () {},
- a = C('./internal/streams/BufferList'),
- t = C('./internal/streams/destroy'),
- c = (e.inherits(s, r), ['error', 'close', 'destroy', 'pause', 'resume']);
- function n(e, t) {
- var t = t instanceof (i = i || C('./_stream_duplex')),
- r =
- ((this.objectMode = !!(e = e || {}).objectMode),
- t && (this.objectMode = this.objectMode || !!e.readableObjectMode),
- e.highWaterMark),
- n = e.readableHighWaterMark,
- s = this.objectMode ? 16 : 16384;
- (this.highWaterMark = r || 0 === r ? r : t && (n || 0 === n) ? n : s),
- (this.highWaterMark = Math.floor(this.highWaterMark)),
- (this.buffer = new a()),
- (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 &&
- ((o = o || C('string_decoder/').StringDecoder),
- (this.decoder = new o(e.encoding)),
- (this.encoding = e.encoding));
- }
- function s(e) {
- if (((i = i || C('./_stream_duplex')), !(this instanceof s))) return new s(e);
- (this._readableState = new n(e, this)),
- (this.readable = !0),
- e &&
- ('function' == typeof e.read && (this._read = e.read),
- 'function' == typeof e.destroy && (this._destroy = e.destroy)),
- r.call(this);
- }
- function l(e, t, r, n, s) {
- var i,
- o,
- a,
- c,
- l = e._readableState;
- return (
- null === t
- ? ((l.reading = !1),
- (o = e),
- (c = l).ended ||
- (c.decoder &&
- (a = c.decoder.end()) &&
- a.length &&
- (c.buffer.push(a), (c.length += c.objectMode ? 1 : a.length)),
- (c.ended = !0),
- v(o)))
- : (i = s
- ? i
- : (function (e, t) {
- var r;
- !(function (e) {
- return u.isBuffer(e) || e instanceof p;
- })(t) &&
- 'string' != typeof t &&
- void 0 !== t &&
- !e.objectMode &&
- (r = new TypeError('Invalid non-string/buffer chunk'));
- return r;
- })(l, t))
- ? e.emit('error', i)
- : l.objectMode || (t && 0 < t.length)
- ? ('string' == typeof t ||
- l.objectMode ||
- Object.getPrototypeOf(t) === u.prototype ||
- ((a = t), (t = u.from(a))),
- n
- ? l.endEmitted
- ? e.emit('error', new Error('stream.unshift() after end event'))
- : f(e, l, t, !0)
- : l.ended
- ? e.emit('error', new Error('stream.push() after EOF'))
- : ((l.reading = !1),
- l.decoder && !r
- ? ((t = l.decoder.write(t)), l.objectMode || 0 !== t.length ? f(e, l, t, !1) : w(e, l))
- : f(e, l, t, !1)))
- : n || (l.reading = !1),
- !(c = l).ended && (c.needReadable || c.length < c.highWaterMark || 0 === c.length)
- );
- }
- function f(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 && v(e)),
- w(e, t);
- }
- Object.defineProperty(s.prototype, 'destroyed', {
- get: function () {
- return void 0 !== this._readableState && this._readableState.destroyed;
- },
- set: function (e) {
- this._readableState && (this._readableState.destroyed = e);
- }
- }),
- (s.prototype.destroy = t.destroy),
- (s.prototype._undestroy = t.undestroy),
- (s.prototype._destroy = function (e, t) {
- this.push(null), t(e);
- }),
- (s.prototype.push = function (e, t) {
- var r,
- n = this._readableState;
- return (
- n.objectMode
- ? (r = !0)
- : 'string' == typeof e &&
- ((t = t || n.defaultEncoding) !== n.encoding && ((e = u.from(e, t)), (t = '')), (r = !0)),
- l(this, e, t, !1, r)
- );
- }),
- (s.prototype.unshift = function (e) {
- return l(this, e, null, !0, !1);
- }),
- (s.prototype.isPaused = function () {
- return !1 === this._readableState.flowing;
- }),
- (s.prototype.setEncoding = function (e) {
- return (
- (o = o || C('string_decoder/').StringDecoder),
- (this._readableState.decoder = new o(e)),
- (this._readableState.encoding = e),
- this
- );
- });
- var d = 8388608;
- function h(e, t) {
- return e <= 0 || (0 === t.length && t.ended)
- ? 0
- : t.objectMode
- ? 1
- : e != e
- ? (t.flowing && t.length ? t.buffer.head.data : t).length
- : (e > t.highWaterMark &&
- (t.highWaterMark =
- (d <= (r = e)
- ? (r = d)
- : (r--,
- (r = (r = (r = (r = (r |= r >>> 1) | (r >>> 2)) | (r >>> 4)) | (r >>> 8)) | (r >>> 16)),
- r++),
- r)),
- e <= t.length ? e : t.ended ? t.length : ((t.needReadable = !0), 0));
- var r;
- }
- function v(e) {
- var t = e._readableState;
- (t.needReadable = !1),
- t.emittedReadable ||
- (g('emitReadable', t.flowing), (t.emittedReadable = !0), t.sync ? y.nextTick(j, e) : j(e));
- }
- function j(e) {
- g('emit readable'), e.emit('readable'), E(e);
- }
- function w(e, t) {
- t.readingMore || ((t.readingMore = !0), y.nextTick(x, e, t));
- }
- function x(e, t) {
- for (
- var r = t.length;
- !t.reading &&
- !t.flowing &&
- !t.ended &&
- t.length < t.highWaterMark &&
- (g('maybeReadMore read 0'), e.read(0), r !== t.length);
- )
- r = t.length;
- t.readingMore = !1;
- }
- function T(e) {
- g('readable nexttick read 0'), e.read(0);
- }
- function k(e, t) {
- t.reading || (g('resume read 0'), e.read(0)),
- (t.resumeScheduled = !1),
- (t.awaitDrain = 0),
- e.emit('resume'),
- E(e),
- t.flowing && !t.reading && e.read(0);
- }
- function E(e) {
- var t = e._readableState;
- for (g('flow', t.flowing); t.flowing && null !== e.read(); );
- }
- function _(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 = (function (e, t, r) {
- var n;
- 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
- ? function (e, t) {
- var r = t.head,
- n = 1,
- s = r.data;
- e -= s.length;
- for (; (r = r.next); ) {
- var i = r.data,
- o = e > i.length ? i.length : e;
- if ((o === i.length ? (s += i) : (s += i.slice(0, e)), 0 === (e -= o))) {
- o === i.length
- ? (++n, r.next ? (t.head = r.next) : (t.head = t.tail = null))
- : ((t.head = r).data = i.slice(o));
- break;
- }
- ++n;
- }
- return (t.length -= n), s;
- }
- : function (e, t) {
- var r = u.allocUnsafe(e),
- n = t.head,
- s = 1;
- n.data.copy(r), (e -= n.data.length);
- for (; (n = n.next); ) {
- var i = n.data,
- o = e > i.length ? i.length : e;
- if ((i.copy(r, r.length - e, 0, o), 0 === (e -= o))) {
- o === i.length
- ? (++s, n.next ? (t.head = n.next) : (t.head = t.tail = null))
- : ((t.head = n).data = i.slice(o));
- break;
- }
- ++s;
- }
- return (t.length -= s), r;
- })(e, t));
- return n;
- })(e, t.buffer, t.decoder)),
- r);
- var r;
- }
- function S(e) {
- var t = e._readableState;
- if (0 < t.length) throw new Error('"endReadable()" called on non-empty stream');
- t.endEmitted || ((t.ended = !0), y.nextTick(O, t, e));
- }
- function O(e, t) {
- e.endEmitted || 0 !== e.length || ((e.endEmitted = !0), (t.readable = !1), t.emit('end'));
- }
- function A(e, t) {
- for (var r = 0, n = e.length; r < n; r++) if (e[r] === t) return r;
- return -1;
- }
- (s.prototype.read = function (e) {
- g('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 g('read: emitReadable', t.length, t.ended), (0 === t.length && t.ended ? S : v)(this), null;
- if (0 === (e = h(e, t)) && t.ended) return 0 === t.length && S(this), null;
- var n = t.needReadable;
- return (
- g('need readable', n),
- (0 === t.length || t.length - e < t.highWaterMark) && g('length less than watermark', (n = !0)),
- t.ended || t.reading
- ? g('reading or ended', (n = !1))
- : n &&
- (g('do read'),
- (t.reading = !0),
- (t.sync = !0),
- 0 === t.length && (t.needReadable = !0),
- this._read(t.highWaterMark),
- (t.sync = !1),
- t.reading || (e = h(r, t))),
- null === (n = 0 < e ? _(e, t) : null) ? ((t.needReadable = !0), (e = 0)) : (t.length -= e),
- 0 === t.length && (t.ended || (t.needReadable = !0), r !== e && t.ended && S(this)),
- null !== n && this.emit('data', n),
- n
- );
- }),
- (s.prototype._read = function (e) {
- this.emit('error', new Error('_read() is not implemented'));
- }),
- (s.prototype.pipe = function (r, e) {
- var n = this,
- s = this._readableState;
- switch (s.pipesCount) {
- case 0:
- s.pipes = r;
- break;
- case 1:
- s.pipes = [s.pipes, r];
- break;
- default:
- s.pipes.push(r);
- }
- (s.pipesCount += 1), g('pipe count=%d opts=%j', s.pipesCount, e);
- e = (!e || !1 !== e.end) && r !== D.stdout && r !== D.stderr ? o : h;
- function i(e, t) {
- g('onunpipe'),
- e === n &&
- t &&
- !1 === t.hasUnpiped &&
- ((t.hasUnpiped = !0),
- g('cleanup'),
- r.removeListener('close', f),
- r.removeListener('finish', d),
- r.removeListener('drain', a),
- r.removeListener('error', p),
- r.removeListener('unpipe', i),
- n.removeListener('end', o),
- n.removeListener('end', h),
- n.removeListener('data', u),
- (c = !0),
- !s.awaitDrain || (r._writableState && !r._writableState.needDrain) || a());
- }
- function o() {
- g('onend'), r.end();
- }
- s.endEmitted ? y.nextTick(e) : n.once('end', e), r.on('unpipe', i);
- t = n;
- var t,
- a = function () {
- var e = t._readableState;
- g('pipeOnDrain', e.awaitDrain),
- e.awaitDrain && e.awaitDrain--,
- 0 === e.awaitDrain && m(t, 'data') && ((e.flowing = !0), E(t));
- },
- c = (r.on('drain', a), !1);
- var l = !1;
- function u(e) {
- g('ondata'),
- (l = !1) !== r.write(e) ||
- l ||
- (((1 === s.pipesCount && s.pipes === r) || (1 < s.pipesCount && -1 !== A(s.pipes, r))) &&
- !c &&
- (g('false write response, pause', n._readableState.awaitDrain),
- n._readableState.awaitDrain++,
- (l = !0)),
- n.pause());
- }
- function p(e) {
- g('onerror', e), h(), r.removeListener('error', p), 0 === m(r, 'error') && r.emit('error', e);
- }
- function f() {
- r.removeListener('finish', d), h();
- }
- function d() {
- g('onfinish'), r.removeListener('close', f), h();
- }
- function h() {
- g('unpipe'), n.unpipe(r);
- }
- return (
- n.on('data', u),
- (function (e, t, r) {
- if ('function' == typeof e.prependListener) return e.prependListener(t, r);
- e._events && e._events[t]
- ? b(e._events[t])
- ? e._events[t].unshift(r)
- : (e._events[t] = [r, e._events[t]])
- : e.on(t, r);
- })(r, 'error', p),
- r.once('close', f),
- r.once('finish', d),
- r.emit('pipe', n),
- s.flowing || (g('pipe resume'), n.resume()),
- r
- );
- }),
- (s.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,
- s = t.pipesCount;
- (t.pipes = null), (t.pipesCount = 0), (t.flowing = !1);
- for (var i = 0; i < s; i++) n[i].emit('unpipe', this, r);
- return this;
- }
- var o = A(t.pipes, e);
- return (
- -1 === o ||
- (t.pipes.splice(o, 1),
- --t.pipesCount,
- 1 === t.pipesCount && (t.pipes = t.pipes[0]),
- e.emit('unpipe', this, r)),
- this
- );
- }),
- (s.prototype.addListener = s.prototype.on =
- function (e, t) {
- t = r.prototype.on.call(this, e, t);
- return (
- 'data' === e
- ? !1 !== this._readableState.flowing && this.resume()
- : 'readable' !== e ||
- (e = this._readableState).endEmitted ||
- e.readableListening ||
- ((e.readableListening = e.needReadable = !0),
- (e.emittedReadable = !1),
- e.reading ? e.length && v(this) : y.nextTick(T, this)),
- t
- );
- }),
- (s.prototype.resume = function () {
- var e,
- t = this._readableState;
- return (
- t.flowing ||
- (g('resume'),
- (t.flowing = !0),
- (e = this),
- (t = t).resumeScheduled || ((t.resumeScheduled = !0), y.nextTick(k, e, t))),
- this
- );
- }),
- (s.prototype.pause = function () {
- return (
- g('call pause flowing=%j', this._readableState.flowing),
- !1 !== this._readableState.flowing &&
- (g('pause'), (this._readableState.flowing = !1), this.emit('pause')),
- this
- );
- }),
- (s.prototype.wrap = function (t) {
- var e,
- r = this,
- n = this._readableState,
- s = !1;
- for (e in (t.on('end', function () {
- var e;
- g('wrapped end'),
- n.decoder && !n.ended && (e = n.decoder.end()) && e.length && r.push(e),
- r.push(null);
- }),
- t.on('data', function (e) {
- g('wrapped data'),
- n.decoder && (e = n.decoder.write(e)),
- (n.objectMode && null == e) ||
- ((n.objectMode || (e && e.length)) && !r.push(e) && ((s = !0), t.pause()));
- }),
- t))
- void 0 === this[e] &&
- 'function' == typeof t[e] &&
- (this[e] = (function (e) {
- return function () {
- return t[e].apply(t, arguments);
- };
- })(e));
- for (var i = 0; i < c.length; i++) t.on(c[i], this.emit.bind(this, c[i]));
- return (
- (this._read = function (e) {
- g('wrapped _read', e), s && ((s = !1), t.resume());
- }),
- this
- );
- }),
- Object.defineProperty(s.prototype, 'readableHighWaterMark', {
- enumerable: !1,
- get: function () {
- return this._readableState.highWaterMark;
- }
- }),
- (s._fromList = _);
- }.call(this);
- }.call(
- this,
- C('_process'),
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {}
- );
- },
- {
- './_stream_duplex': 372,
- './internal/streams/BufferList': 377,
- './internal/streams/destroy': 378,
- './internal/streams/stream': 379,
- _process: 441,
- 'core-util-is': 340,
- events: 343,
- inherits: 353,
- isarray: 355,
- 'process-nextick-args': 365,
- 'safe-buffer': 385,
- 'string_decoder/': 388,
- util: 87
- }
- ],
- 375: [
- function (e, t, r) {
- 'use strict';
- t.exports = s;
- var n = e('./_stream_duplex'),
- t = Object.create(e('core-util-is'));
- function s(e) {
- if (!(this instanceof s)) return new s(e);
- n.call(this, e),
- (this._transformState = {
- afterTransform: function (e, t) {
- var r = this._transformState,
- n = ((r.transforming = !1), r.writecb);
- if (!n) return this.emit('error', new Error('write callback called multiple times'));
- (r.writechunk = null),
- (r.writecb = null) != t && this.push(t),
- n(e),
- ((r = this._readableState).reading = !1),
- (r.needReadable || r.length < r.highWaterMark) && this._read(r.highWaterMark);
- }.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', i);
- }
- function i() {
- var r = this;
- 'function' == typeof this._flush
- ? this._flush(function (e, t) {
- o(r, e, t);
- })
- : o(this, null, null);
- }
- function o(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');
- e.push(null);
- }
- (t.inherits = e('inherits')),
- t.inherits(s, n),
- (s.prototype.push = function (e, t) {
- return (this._transformState.needTransform = !1), n.prototype.push.call(this, e, t);
- }),
- (s.prototype._transform = function (e, t, r) {
- throw new Error('_transform() is not implemented');
- }),
- (s.prototype._write = function (e, t, r) {
- var n = this._transformState;
- (n.writecb = r),
- (n.writechunk = e),
- (n.writeencoding = t),
- n.transforming ||
- ((r = this._readableState),
- (n.needTransform || r.needReadable || r.length < r.highWaterMark) && this._read(r.highWaterMark));
- }),
- (s.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);
- }),
- (s.prototype._destroy = function (e, t) {
- var r = this;
- n.prototype._destroy.call(this, e, function (e) {
- t(e), r.emit('close');
- });
- });
- },
- { './_stream_duplex': 372, 'core-util-is': 340, inherits: 353 }
- ],
- 376: [
- function (T, k, e) {
- !function (l, u, x) {
- !function () {
- 'use strict';
- var d = T('process-nextick-args');
- function p(i) {
- var o = this;
- (this.next = null),
- (this.entry = null),
- (this.finish = function () {
- var e = o,
- t = i,
- r = void 0,
- n = e.entry;
- for (e.entry = null; n; ) {
- var s = n.callback;
- t.pendingcb--, s(r), (n = n.next);
- }
- t.corkedRequestsFree ? (t.corkedRequestsFree.next = e) : (t.corkedRequestsFree = e);
- });
- }
- k.exports = a;
- var i,
- f = !l.browser && -1 < ['v0.10', 'v0.9.'].indexOf(l.version.slice(0, 5)) ? x : d.nextTick,
- e = ((a.WritableState = o), Object.create(T('core-util-is'))),
- t = ((e.inherits = T('inherits')), { deprecate: T('util-deprecate') }),
- r = T('./internal/streams/stream'),
- h = T('safe-buffer').Buffer,
- m = u.Uint8Array || function () {};
- var n,
- s = T('./internal/streams/destroy');
- function y() {}
- function o(e, u) {
- i = i || T('./_stream_duplex');
- var t = u instanceof i,
- r =
- ((this.objectMode = !!(e = e || {}).objectMode),
- t && (this.objectMode = this.objectMode || !!e.writableObjectMode),
- e.highWaterMark),
- n = e.writableHighWaterMark,
- s = this.objectMode ? 16 : 16384,
- r =
- ((this.highWaterMark = r || 0 === r ? r : t && (n || 0 === n) ? n : s),
- (this.highWaterMark = Math.floor(this.highWaterMark)),
- (this.finalCalled = !1),
- (this.needDrain = !1),
- (this.ending = !1),
- (this.ended = !1),
- (this.finished = !1),
- (this.destroyed = !1) === e.decodeStrings);
- (this.decodeStrings = !r),
- (this.defaultEncoding = e.defaultEncoding || 'utf8'),
- (this.length = 0),
- (this.writing = !1),
- (this.corked = 0),
- (this.sync = !0),
- (this.bufferProcessing = !1),
- (this.onwrite = function (e) {
- (e = e), (r = (t = u)._writableState), (n = r.sync), (s = r.writecb);
- var t,
- r,
- n,
- s,
- i = r;
- {
- var o, a, c, l;
- ((i.writing = !1), (i.writecb = null), (i.length -= i.writelen), (i.writelen = 0), e)
- ? ((i = t),
- (a = n),
- (c = e),
- (l = s),
- --(o = r).pendingcb,
- a
- ? (d.nextTick(l, c),
- d.nextTick(w, i, o),
- (i._writableState.errorEmitted = !0),
- i.emit('error', c))
- : (l(c), (i._writableState.errorEmitted = !0), i.emit('error', c), w(i, o)))
- : ((e = j(r)) || r.corked || r.bufferProcessing || !r.bufferedRequest || v(t, r),
- n ? f(g, t, r, e, s) : g(t, r, e, s));
- }
- }),
- (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 p(this));
- }
- e.inherits(a, r),
- (o.prototype.getBuffer = function () {
- for (var e = this.bufferedRequest, t = []; e; ) t.push(e), (e = e.next);
- return t;
- });
- try {
- Object.defineProperty(o.prototype, 'buffer', {
- get: t.deprecate(
- function () {
- return this.getBuffer();
- },
- '_writableState.buffer is deprecated. Use _writableState.getBuffer instead.',
- 'DEP0003'
- )
- });
- } catch (e) {}
- function a(e) {
- if (((i = i || T('./_stream_duplex')), !(n.call(a, this) || this instanceof i))) return new a(e);
- (this._writableState = new o(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)),
- r.call(this);
- }
- function b(e, t, r, n, s, i, o) {
- (t.writelen = n),
- (t.writecb = o),
- (t.writing = !0),
- (t.sync = !0),
- r ? e._writev(s, t.onwrite) : e._write(s, i, t.onwrite),
- (t.sync = !1);
- }
- function g(e, t, r, n) {
- var s;
- r || ((r = e), 0 === (s = t).length && s.needDrain && ((s.needDrain = !1), r.emit('drain'))),
- t.pendingcb--,
- n(),
- w(e, t);
- }
- function v(e, t) {
- t.bufferProcessing = !0;
- var r = t.bufferedRequest;
- if (e._writev && r && r.next) {
- for (
- var n = t.bufferedRequestCount,
- s = new Array(n),
- n = t.corkedRequestsFree,
- i = ((n.entry = r), 0),
- o = !0;
- r;
- )
- (s[i] = r).isBuf || (o = !1), (r = r.next), (i += 1);
- (s.allBuffers = o),
- b(e, t, !0, t.length, s, '', n.finish),
- t.pendingcb++,
- (t.lastBufferedRequest = null),
- n.next ? ((t.corkedRequestsFree = n.next), (n.next = null)) : (t.corkedRequestsFree = new p(t)),
- (t.bufferedRequestCount = 0);
- } else {
- for (; r; ) {
- var a = r.chunk,
- c = r.encoding,
- l = r.callback;
- if (
- (b(e, t, !1, t.objectMode ? 1 : a.length, a, c, l),
- (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 c(t, r) {
- t._final(function (e) {
- r.pendingcb--, e && t.emit('error', e), (r.prefinished = !0), t.emit('prefinish'), w(t, r);
- });
- }
- function w(e, t) {
- var r,
- n,
- s = j(t);
- return (
- s &&
- ((r = e),
- (n = t).prefinished ||
- n.finalCalled ||
- ('function' == typeof r._final
- ? (n.pendingcb++, (n.finalCalled = !0), d.nextTick(c, r, n))
- : ((n.prefinished = !0), r.emit('prefinish'))),
- 0 === t.pendingcb && ((t.finished = !0), e.emit('finish'))),
- s
- );
- }
- 'function' == typeof Symbol &&
- Symbol.hasInstance &&
- 'function' == typeof Function.prototype[Symbol.hasInstance]
- ? ((n = Function.prototype[Symbol.hasInstance]),
- Object.defineProperty(a, Symbol.hasInstance, {
- value: function (e) {
- return !!n.call(this, e) || (this === a && e && e._writableState instanceof o);
- }
- }))
- : (n = function (e) {
- return e instanceof this;
- }),
- (a.prototype.pipe = function () {
- this.emit('error', new Error('Cannot pipe, not readable'));
- }),
- (a.prototype.write = function (e, t, r) {
- var n,
- s,
- i,
- o,
- a,
- c,
- l,
- u = this._writableState,
- p = !1,
- f = !u.objectMode && ((f = e), h.isBuffer(f) || f instanceof m);
- return (
- f && !h.isBuffer(e) && ((a = e), (e = h.from(a))),
- 'function' == typeof t && ((r = t), (t = null)),
- (t = f ? 'buffer' : t || u.defaultEncoding),
- 'function' != typeof r && (r = y),
- u.ended
- ? ((a = this),
- (c = r),
- (l = new Error('write after end')),
- a.emit('error', l),
- d.nextTick(c, l))
- : (f ||
- ((c = this),
- (l = u),
- (s = r),
- (o = !(i = !0)),
- null === (n = e)
- ? (o = new TypeError('May not write null values to stream'))
- : 'string' == typeof n ||
- void 0 === n ||
- l.objectMode ||
- (o = new TypeError('Invalid non-string/buffer chunk')),
- o && (c.emit('error', o), d.nextTick(s, o), (i = !1)),
- i)) &&
- (u.pendingcb++,
- (p = (function (e, t, r, n, s, i) {
- r ||
- ((o = (function (e, t, r) {
- e.objectMode || !1 === e.decodeStrings || 'string' != typeof t || (t = h.from(t, r));
- return t;
- })(t, n, s)),
- n !== o && ((r = !0), (s = 'buffer'), (n = o)));
- var o = t.objectMode ? 1 : n.length,
- a = ((t.length += o), t.length < t.highWaterMark);
- a || (t.needDrain = !0);
- {
- var c;
- t.writing || t.corked
- ? ((c = t.lastBufferedRequest),
- (t.lastBufferedRequest = {
- chunk: n,
- encoding: s,
- isBuf: r,
- callback: i,
- next: null
- }),
- c ? (c.next = t.lastBufferedRequest) : (t.bufferedRequest = t.lastBufferedRequest),
- (t.bufferedRequestCount += 1))
- : b(e, t, !1, o, n, s, i);
- }
- return a;
- })(this, u, f, e, t, r))),
- p
- );
- }),
- (a.prototype.cork = function () {
- this._writableState.corked++;
- }),
- (a.prototype.uncork = function () {
- var e = this._writableState;
- e.corked &&
- (e.corked--,
- e.writing || e.corked || e.finished || e.bufferProcessing || !e.bufferedRequest || v(this, e));
- }),
- (a.prototype.setDefaultEncoding = function (e) {
- if (
- ('string' == typeof e && (e = e.toLowerCase()),
- -1 <
- [
- 'hex',
- 'utf8',
- 'utf-8',
- 'ascii',
- 'binary',
- 'base64',
- 'ucs2',
- 'ucs-2',
- 'utf16le',
- 'utf-16le',
- 'raw'
- ].indexOf((e + '').toLowerCase()))
- )
- return (this._writableState.defaultEncoding = e), this;
- throw new TypeError('Unknown encoding: ' + e);
- }),
- Object.defineProperty(a.prototype, 'writableHighWaterMark', {
- enumerable: !1,
- get: function () {
- return this._writableState.highWaterMark;
- }
- }),
- (a.prototype._write = function (e, t, r) {
- r(new Error('_write() is not implemented'));
- }),
- (a.prototype._writev = null),
- (a.prototype.end = function (e, t, r) {
- var n = this._writableState;
- if (
- ('function' == typeof e
- ? ((r = e), (t = e = null))
- : 'function' == typeof t && ((r = t), (t = null)),
- null != e && this.write(e, t),
- n.corked && ((n.corked = 1), this.uncork()),
- !n.ending && !n.finished)
- ) {
- (e = this), (t = n), (n = r);
- (t.ending = !0),
- w(e, t),
- n && (t.finished ? d.nextTick(n) : e.once('finish', n)),
- (t.ended = !0),
- (e.writable = !1);
- }
- }),
- Object.defineProperty(a.prototype, 'destroyed', {
- get: function () {
- return void 0 !== this._writableState && this._writableState.destroyed;
- },
- set: function (e) {
- this._writableState && (this._writableState.destroyed = e);
- }
- }),
- (a.prototype.destroy = s.destroy),
- (a.prototype._undestroy = s.undestroy),
- (a.prototype._destroy = function (e, t) {
- this.end(), t(e);
- });
- }.call(this);
- }.call(
- this,
- T('_process'),
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {},
- T('timers').setImmediate
- );
- },
- {
- './_stream_duplex': 372,
- './internal/streams/destroy': 378,
- './internal/streams/stream': 379,
- _process: 441,
- 'core-util-is': 340,
- inherits: 353,
- 'process-nextick-args': 365,
- 'safe-buffer': 385,
- timers: 389,
- 'util-deprecate': 391
- }
- ],
- 377: [
- function (e, t, r) {
- 'use strict';
- var o = e('safe-buffer').Buffer,
- n = e('util');
- function s() {
- if (!(this instanceof s)) throw new TypeError('Cannot call a class as a function');
- (this.head = null), (this.tail = null), (this.length = 0);
- }
- (t.exports =
- ((s.prototype.push = function (e) {
- e = { data: e, next: null };
- 0 < this.length ? (this.tail.next = e) : (this.head = e), (this.tail = e), ++this.length;
- }),
- (s.prototype.unshift = function (e) {
- e = { data: e, next: this.head };
- 0 === this.length && (this.tail = e), (this.head = e), ++this.length;
- }),
- (s.prototype.shift = function () {
- var e;
- if (0 !== this.length)
- return (
- (e = this.head.data),
- 1 === this.length ? (this.head = this.tail = null) : (this.head = this.head.next),
- --this.length,
- e
- );
- }),
- (s.prototype.clear = function () {
- (this.head = this.tail = null), (this.length = 0);
- }),
- (s.prototype.join = function (e) {
- if (0 === this.length) return '';
- for (var t = this.head, r = '' + t.data; (t = t.next); ) r += e + t.data;
- return r;
- }),
- (s.prototype.concat = function (e) {
- if (0 === this.length) return o.alloc(0);
- if (1 === this.length) return this.head.data;
- for (var t, r, n = o.allocUnsafe(e >>> 0), s = this.head, i = 0; s; )
- (t = s.data), (r = i), t.copy(n, r), (i += s.data.length), (s = s.next);
- return n;
- }),
- s)),
- n &&
- n.inspect &&
- n.inspect.custom &&
- (t.exports.prototype[n.inspect.custom] = function () {
- var e = n.inspect({ length: this.length });
- return this.constructor.name + ' ' + e;
- });
- },
- { 'safe-buffer': 385, util: 87 }
- ],
- 378: [
- function (e, t, r) {
- 'use strict';
- var i = e('process-nextick-args');
- function o(e, t) {
- e.emit('error', t);
- }
- t.exports = {
- destroy: function (e, t) {
- var r = this,
- n = this._readableState && this._readableState.destroyed,
- s = this._writableState && this._writableState.destroyed;
- return (
- n || s
- ? t
- ? t(e)
- : !e || (this._writableState && this._writableState.errorEmitted) || i.nextTick(o, this, e)
- : (this._readableState && (this._readableState.destroyed = !0),
- this._writableState && (this._writableState.destroyed = !0),
- this._destroy(e || null, function (e) {
- !t && e
- ? (i.nextTick(o, r, e), r._writableState && (r._writableState.errorEmitted = !0))
- : t && t(e);
- })),
- this
- );
- },
- undestroy: function () {
- 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));
- }
- };
- },
- { 'process-nextick-args': 365 }
- ],
- 379: [
- function (e, t, r) {
- t.exports = e('events').EventEmitter;
- },
- { events: 343 }
- ],
- 380: [
- function (e, t, r) {
- t.exports = e('./readable').PassThrough;
- },
- { './readable': 381 }
- ],
- 381: [
- function (e, t, r) {
- ((((r = t.exports = e('./lib/_stream_readable.js')).Stream = r).Readable = 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': 372,
- './lib/_stream_passthrough.js': 373,
- './lib/_stream_readable.js': 374,
- './lib/_stream_transform.js': 375,
- './lib/_stream_writable.js': 376
- }
- ],
- 382: [
- function (e, t, r) {
- t.exports = e('./readable').Transform;
- },
- { './readable': 381 }
- ],
- 383: [
- function (e, t, r) {
- t.exports = e('./lib/_stream_writable.js');
- },
- { './lib/_stream_writable.js': 376 }
- ],
- 384: [
- function (e, t, r) {
- t = (function (o) {
- 'use strict';
- var c,
- e = Object.prototype,
- l = e.hasOwnProperty,
- t = 'function' == typeof Symbol ? Symbol : {},
- n = t.iterator || '@@iterator',
- r = t.asyncIterator || '@@asyncIterator',
- s = t.toStringTag || '@@toStringTag';
- function i(e, t, r) {
- return Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }), e[t];
- }
- try {
- i({}, '');
- } catch (e) {
- i = function (e, t, r) {
- return (e[t] = r);
- };
- }
- function a(e, t, r, n) {
- var s,
- i,
- o,
- a,
- t = t && t.prototype instanceof y ? t : y,
- t = Object.create(t.prototype),
- n = new E(n || []);
- return (
- (t._invoke =
- ((s = e),
- (i = r),
- (o = n),
- (a = p),
- function (e, t) {
- if (a === d) throw new Error('Generator is already running');
- if (a === h) {
- if ('throw' === e) throw t;
- return S();
- }
- for (o.method = e, o.arg = t; ; ) {
- var r = o.delegate;
- if (r) {
- r = (function e(t, r) {
- var n = t.iterator[r.method];
- if (n === c) {
- if (((r.delegate = null), 'throw' === r.method)) {
- if (
- t.iterator.return &&
- ((r.method = 'return'), (r.arg = c), e(t, r), 'throw' === r.method)
- )
- return m;
- (r.method = 'throw'),
- (r.arg = new TypeError("The iterator does not provide a 'throw' method"));
- }
- return m;
- }
- n = u(n, t.iterator, r.arg);
- if ('throw' === n.type)
- return (r.method = 'throw'), (r.arg = n.arg), (r.delegate = null), m;
- n = n.arg;
- if (!n)
- return (
- (r.method = 'throw'),
- (r.arg = new TypeError('iterator result is not an object')),
- (r.delegate = null),
- m
- );
- {
- if (!n.done) return n;
- (r[t.resultName] = n.value),
- (r.next = t.nextLoc),
- 'return' !== r.method && ((r.method = 'next'), (r.arg = c));
- }
- r.delegate = null;
- return m;
- })(r, o);
- if (r) {
- if (r === m) continue;
- return r;
- }
- }
- if ('next' === o.method) o.sent = o._sent = o.arg;
- else if ('throw' === o.method) {
- if (a === p) throw ((a = h), o.arg);
- o.dispatchException(o.arg);
- } else 'return' === o.method && o.abrupt('return', o.arg);
- a = d;
- r = u(s, i, o);
- if ('normal' === r.type) {
- if (((a = o.done ? h : f), r.arg !== m)) return { value: r.arg, done: o.done };
- } else 'throw' === r.type && ((a = h), (o.method = 'throw'), (o.arg = r.arg));
- }
- })),
- t
- );
- }
- function u(e, t, r) {
- try {
- return { type: 'normal', arg: e.call(t, r) };
- } catch (e) {
- return { type: 'throw', arg: e };
- }
- }
- o.wrap = a;
- var p = 'suspendedStart',
- f = 'suspendedYield',
- d = 'executing',
- h = 'completed',
- m = {};
- function y() {}
- function b() {}
- function g() {}
- var t = {},
- v =
- (i(t, n, function () {
- return this;
- }),
- Object.getPrototypeOf),
- v = v && v(v(_([]))),
- j = (v && v !== e && l.call(v, n) && (t = v), (g.prototype = y.prototype = Object.create(t)));
- function w(e) {
- ['next', 'throw', 'return'].forEach(function (t) {
- i(e, t, function (e) {
- return this._invoke(t, e);
- });
- });
- }
- function x(o, a) {
- var t;
- this._invoke = function (r, n) {
- function e() {
- return new a(function (e, t) {
- !(function t(e, r, n, s) {
- var i,
- e = u(o[e], o, r);
- if ('throw' !== e.type)
- return (r = (i = e.arg).value) && 'object' == typeof r && l.call(r, '__await')
- ? a.resolve(r.__await).then(
- function (e) {
- t('next', e, n, s);
- },
- function (e) {
- t('throw', e, n, s);
- }
- )
- : a.resolve(r).then(
- function (e) {
- (i.value = e), n(i);
- },
- function (e) {
- return t('throw', e, n, s);
- }
- );
- s(e.arg);
- })(r, n, e, t);
- });
- }
- return (t = t ? t.then(e, e) : e());
- };
- }
- 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 k(e) {
- var t = e.completion || {};
- (t.type = 'normal'), delete t.arg, (e.completion = t);
- }
- function E(e) {
- (this.tryEntries = [{ tryLoc: 'root' }]), e.forEach(T, this), this.reset(!0);
- }
- function _(t) {
- if (t) {
- var r,
- e = t[n];
- if (e) return e.call(t);
- if ('function' == typeof t.next) return t;
- if (!isNaN(t.length))
- return (
- (r = -1),
- ((e = function e() {
- for (; ++r < t.length; ) if (l.call(t, r)) return (e.value = t[r]), (e.done = !1), e;
- return (e.value = c), (e.done = !0), e;
- }).next = e)
- );
- }
- return { next: S };
- }
- function S() {
- return { value: c, done: !0 };
- }
- return (
- i(j, 'constructor', (b.prototype = g)),
- i(g, 'constructor', b),
- (b.displayName = i(g, s, 'GeneratorFunction')),
- (o.isGeneratorFunction = function (e) {
- e = 'function' == typeof e && e.constructor;
- return !!e && (e === b || 'GeneratorFunction' === (e.displayName || e.name));
- }),
- (o.mark = function (e) {
- return (
- Object.setPrototypeOf
- ? Object.setPrototypeOf(e, g)
- : ((e.__proto__ = g), i(e, s, 'GeneratorFunction')),
- (e.prototype = Object.create(j)),
- e
- );
- }),
- (o.awrap = function (e) {
- return { __await: e };
- }),
- w(x.prototype),
- i(x.prototype, r, function () {
- return this;
- }),
- (o.AsyncIterator = x),
- (o.async = function (e, t, r, n, s) {
- void 0 === s && (s = Promise);
- var i = new x(a(e, t, r, n), s);
- return o.isGeneratorFunction(t)
- ? i
- : i.next().then(function (e) {
- return e.done ? e.value : i.next();
- });
- }),
- w(j),
- i(j, s, 'Generator'),
- i(j, n, function () {
- return this;
- }),
- i(j, 'toString', function () {
- return '[object Generator]';
- }),
- (o.keys = function (r) {
- var e,
- n = [];
- for (e in r) n.push(e);
- return (
- n.reverse(),
- function e() {
- for (; n.length; ) {
- var t = n.pop();
- if (t in r) return (e.value = t), (e.done = !1), e;
- }
- return (e.done = !0), e;
- }
- );
- }),
- (o.values = _),
- (E.prototype = {
- constructor: E,
- reset: function (e) {
- if (
- ((this.prev = 0),
- (this.next = 0),
- (this.sent = this._sent = c),
- (this.done = !1),
- (this.delegate = null),
- (this.method = 'next'),
- (this.arg = c),
- this.tryEntries.forEach(k),
- !e)
- )
- for (var t in this)
- 't' === t.charAt(0) && l.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = c);
- },
- stop: function () {
- this.done = !0;
- var e = this.tryEntries[0].completion;
- if ('throw' === e.type) throw e.arg;
- return this.rval;
- },
- dispatchException: function (r) {
- if (this.done) throw r;
- var n = this;
- function e(e, t) {
- return (
- (i.type = 'throw'), (i.arg = r), (n.next = e), t && ((n.method = 'next'), (n.arg = c)), !!t
- );
- }
- for (var t = this.tryEntries.length - 1; 0 <= t; --t) {
- var s = this.tryEntries[t],
- i = s.completion;
- if ('root' === s.tryLoc) return e('end');
- if (s.tryLoc <= this.prev) {
- var o = l.call(s, 'catchLoc'),
- a = l.call(s, 'finallyLoc');
- if (o && a) {
- if (this.prev < s.catchLoc) return e(s.catchLoc, !0);
- if (this.prev < s.finallyLoc) return e(s.finallyLoc);
- } else if (o) {
- if (this.prev < s.catchLoc) return e(s.catchLoc, !0);
- } else {
- if (!a) throw new Error('try statement without catch or finally');
- if (this.prev < s.finallyLoc) return e(s.finallyLoc);
- }
- }
- }
- },
- abrupt: function (e, t) {
- for (var r = this.tryEntries.length - 1; 0 <= r; --r) {
- var n = this.tryEntries[r];
- if (n.tryLoc <= this.prev && l.call(n, 'finallyLoc') && this.prev < n.finallyLoc) {
- var s = n;
- break;
- }
- }
- var i = (s =
- s && ('break' === e || 'continue' === e) && s.tryLoc <= t && t <= s.finallyLoc ? null : s)
- ? s.completion
- : {};
- return (
- (i.type = e),
- (i.arg = t),
- s ? ((this.method = 'next'), (this.next = s.finallyLoc), m) : this.complete(i)
- );
- },
- 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; 0 <= t; --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; 0 <= t; --t) {
- var r,
- n,
- s = this.tryEntries[t];
- if (s.tryLoc === e) return 'throw' === (r = s.completion).type && ((n = r.arg), k(s)), n;
- }
- throw new Error('illegal catch attempt');
- },
- delegateYield: function (e, t, r) {
- return (
- (this.delegate = { iterator: _(e), resultName: t, nextLoc: r }),
- 'next' === this.method && (this.arg = c),
- m
- );
- }
- }),
- o
- );
- })('object' == typeof t ? t.exports : {});
- try {
- regeneratorRuntime = t;
- } catch (e) {
- 'object' == typeof globalThis
- ? (globalThis.regeneratorRuntime = t)
- : Function('r', 'regeneratorRuntime = r')(t);
- }
- },
- {}
- ],
- 385: [
- function (e, t, r) {
- var n = e('buffer'),
- s = n.Buffer;
- function i(e, t) {
- for (var r in e) t[r] = e[r];
- }
- function o(e, t, r) {
- return s(e, t, r);
- }
- s.from && s.alloc && s.allocUnsafe && s.allocUnsafeSlow ? (t.exports = n) : (i(n, r), (r.Buffer = o)),
- i(s, o),
- (o.from = function (e, t, r) {
- if ('number' == typeof e) throw new TypeError('Argument must not be a number');
- return s(e, t, r);
- }),
- (o.alloc = function (e, t, r) {
- if ('number' != typeof e) throw new TypeError('Argument must be a number');
- e = s(e);
- return void 0 !== t ? ('string' == typeof r ? e.fill(t, r) : e.fill(t)) : e.fill(0), e;
- }),
- (o.allocUnsafe = function (e) {
- if ('number' != typeof e) throw new TypeError('Argument must be a number');
- return s(e);
- }),
- (o.allocUnsafeSlow = function (e) {
- if ('number' != typeof e) throw new TypeError('Argument must be a number');
- return n.SlowBuffer(e);
- });
- },
- { buffer: 89 }
- ],
- 386: [
- function (L, e, B) {
- !function (r) {
- !function () {
- var a = void 0 === B ? (this.sax = {}) : B;
- (a.parser = function (e, t) {
- return new o(e, t);
- }),
- (a.SAXParser = o),
- (a.SAXStream = i),
- (a.createStream = function (e, t) {
- return new i(e, t);
- }),
- (a.MAX_BUFFER_LENGTH = 65536);
- var n,
- c = [
- '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);
- for (var r = this, n = r, s = 0, i = c.length; s < i; s++) n[c[s]] = '';
- (r.q = r.c = ''),
- (r.bufferCheckPosition = a.MAX_BUFFER_LENGTH),
- (r.opt = t || {}),
- (r.opt.lowercase = r.opt.lowercase || r.opt.lowercasetags),
- (r.looseCase = r.opt.lowercase ? 'toLowerCase' : 'toUpperCase'),
- (r.tags = []),
- (r.closed = r.closedRoot = r.sawRoot = !1),
- (r.tag = r.error = null),
- (r.strict = !!e),
- (r.noscript = !(!e && !r.opt.noscript)),
- (r.state = T.BEGIN),
- (r.strictEntities = r.opt.strictEntities),
- (r.ENTITIES = r.strictEntities ? Object.create(a.XML_ENTITIES) : Object.create(a.ENTITIES)),
- (r.attribList = []),
- r.opt.xmlns && (r.ns = Object.create(d)),
- (r.trackPosition = !1 !== r.opt.position),
- r.trackPosition && (r.position = r.line = r.column = 0),
- k(r, 'onready');
- }
- (a.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() {}
- return (t.prototype = e), new t();
- }),
- Object.keys ||
- (Object.keys = function (e) {
- var t,
- r = [];
- for (t in e) e.hasOwnProperty(t) && r.push(t);
- return r;
- }),
- (o.prototype = {
- end: function () {
- A(this);
- },
- write: function (e) {
- var t = this;
- if (this.error) throw this.error;
- if (t.closed) return O(t, 'Cannot write after close. Assign an onready handler.');
- if (null === e) return A(t);
- 'object' == typeof e && (e = e.toString());
- var r,
- n,
- s = 0,
- i = '';
- for (;;) {
- if (((i = M(e, s++)), !(t.c = i))) break;
- switch (
- (t.trackPosition && (t.position++, '\n' === i ? (t.line++, (t.column = 0)) : t.column++),
- t.state)
- ) {
- case T.BEGIN:
- if (((t.state = T.BEGIN_WHITESPACE), '\ufeff' === i)) continue;
- P(t, i);
- continue;
- case T.BEGIN_WHITESPACE:
- P(t, i);
- continue;
- case T.TEXT:
- if (t.sawRoot && !t.closedRoot) {
- for (var o = s - 1; i && '<' !== i && '&' !== i; )
- (i = M(e, s++)) &&
- t.trackPosition &&
- (t.position++, '\n' === i ? (t.line++, (t.column = 0)) : t.column++);
- t.textNode += e.substring(o, s - 1);
- }
- '<' !== i || (t.sawRoot && t.closedRoot && !t.strict)
- ? (g(i) || (t.sawRoot && !t.closedRoot) || D(t, 'Text data outside of root node.'),
- '&' === i ? (t.state = T.TEXT_ENTITY) : (t.textNode += i))
- : ((t.state = T.OPEN_WAKA), (t.startTagPosition = t.position));
- continue;
- case T.SCRIPT:
- '<' === i ? (t.state = T.SCRIPT_ENDING) : (t.script += i);
- continue;
- case T.SCRIPT_ENDING:
- '/' === i ? (t.state = T.CLOSE_TAG) : ((t.script += '<' + i), (t.state = T.SCRIPT));
- continue;
- case T.OPEN_WAKA:
- '!' === i
- ? ((t.state = T.SGML_DECL), (t.sgmlDecl = ''))
- : g(i) ||
- (j(h, i)
- ? ((t.state = T.OPEN_TAG), (t.tagName = i))
- : '/' === i
- ? ((t.state = T.CLOSE_TAG), (t.tagName = ''))
- : '?' === i
- ? ((t.state = T.PROC_INST), (t.procInstName = t.procInstBody = ''))
- : (D(t, 'Unencoded <'),
- t.startTagPosition + 1 < t.position &&
- ((o = t.position - t.startTagPosition), (i = new Array(o).join(' ') + i)),
- (t.textNode += '<' + i),
- (t.state = T.TEXT)));
- continue;
- case T.SGML_DECL:
- (t.sgmlDecl + i).toUpperCase() === l
- ? (E(t, 'onopencdata'), (t.state = T.CDATA), (t.sgmlDecl = ''), (t.cdata = ''))
- : t.sgmlDecl + i === '--'
- ? ((t.state = T.COMMENT), (t.comment = ''), (t.sgmlDecl = ''))
- : (t.sgmlDecl + i).toUpperCase() === u
- ? ((t.state = T.DOCTYPE),
- (t.doctype || t.sawRoot) && D(t, 'Inappropriately located doctype declaration'),
- (t.doctype = ''),
- (t.sgmlDecl = ''))
- : '>' === i
- ? (E(t, 'onsgmldeclaration', t.sgmlDecl), (t.sgmlDecl = ''), (t.state = T.TEXT))
- : (v(i) && (t.state = T.SGML_DECL_QUOTED), (t.sgmlDecl += i));
- continue;
- case T.SGML_DECL_QUOTED:
- i === t.q && ((t.state = T.SGML_DECL), (t.q = '')), (t.sgmlDecl += i);
- continue;
- case T.DOCTYPE:
- '>' === i
- ? ((t.state = T.TEXT), E(t, 'ondoctype', t.doctype), (t.doctype = !0))
- : ((t.doctype += i),
- '[' === i
- ? (t.state = T.DOCTYPE_DTD)
- : v(i) && ((t.state = T.DOCTYPE_QUOTED), (t.q = i)));
- continue;
- case T.DOCTYPE_QUOTED:
- (t.doctype += i), i === t.q && ((t.q = ''), (t.state = T.DOCTYPE));
- continue;
- case T.DOCTYPE_DTD:
- (t.doctype += i),
- ']' === i ? (t.state = T.DOCTYPE) : v(i) && ((t.state = T.DOCTYPE_DTD_QUOTED), (t.q = i));
- continue;
- case T.DOCTYPE_DTD_QUOTED:
- (t.doctype += i), i === t.q && ((t.state = T.DOCTYPE_DTD), (t.q = ''));
- continue;
- case T.COMMENT:
- '-' === i ? (t.state = T.COMMENT_ENDING) : (t.comment += i);
- continue;
- case T.COMMENT_ENDING:
- '-' === i
- ? ((t.state = T.COMMENT_ENDED),
- (t.comment = S(t.opt, t.comment)),
- t.comment && E(t, 'oncomment', t.comment),
- (t.comment = ''))
- : ((t.comment += '-' + i), (t.state = T.COMMENT));
- continue;
- case T.COMMENT_ENDED:
- '>' !== i
- ? (D(t, 'Malformed comment'), (t.comment += '--' + i), (t.state = T.COMMENT))
- : (t.state = T.TEXT);
- continue;
- case T.CDATA:
- ']' === i ? (t.state = T.CDATA_ENDING) : (t.cdata += i);
- continue;
- case T.CDATA_ENDING:
- ']' === i ? (t.state = T.CDATA_ENDING_2) : ((t.cdata += ']' + i), (t.state = T.CDATA));
- continue;
- case T.CDATA_ENDING_2:
- '>' === i
- ? (t.cdata && E(t, 'oncdata', t.cdata),
- E(t, 'onclosecdata'),
- (t.cdata = ''),
- (t.state = T.TEXT))
- : ']' === i
- ? (t.cdata += ']')
- : ((t.cdata += ']]' + i), (t.state = T.CDATA));
- continue;
- case T.PROC_INST:
- '?' === i
- ? (t.state = T.PROC_INST_ENDING)
- : g(i)
- ? (t.state = T.PROC_INST_BODY)
- : (t.procInstName += i);
- continue;
- case T.PROC_INST_BODY:
- if (!t.procInstBody && g(i)) continue;
- '?' === i ? (t.state = T.PROC_INST_ENDING) : (t.procInstBody += i);
- continue;
- case T.PROC_INST_ENDING:
- '>' === i
- ? (E(t, 'onprocessinginstruction', { name: t.procInstName, body: t.procInstBody }),
- (t.procInstName = t.procInstBody = ''),
- (t.state = T.TEXT))
- : ((t.procInstBody += '?' + i), (t.state = T.PROC_INST_BODY));
- continue;
- case T.OPEN_TAG:
- j(m, i)
- ? (t.tagName += i)
- : ((function (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), E(e, 'onopentagstart', r);
- })(t),
- '>' === i
- ? N(t)
- : '/' === i
- ? (t.state = T.OPEN_TAG_SLASH)
- : (g(i) || D(t, 'Invalid character in tag name'), (t.state = T.ATTRIB)));
- continue;
- case T.OPEN_TAG_SLASH:
- '>' === i
- ? (N(t, !0), R(t))
- : (D(t, 'Forward-slash in opening tag not followed by >'), (t.state = T.ATTRIB));
- continue;
- case T.ATTRIB:
- if (g(i)) continue;
- '>' === i
- ? N(t)
- : '/' === i
- ? (t.state = T.OPEN_TAG_SLASH)
- : j(h, i)
- ? ((t.attribName = i), (t.attribValue = ''), (t.state = T.ATTRIB_NAME))
- : D(t, 'Invalid attribute name');
- continue;
- case T.ATTRIB_NAME:
- '=' === i
- ? (t.state = T.ATTRIB_VALUE)
- : '>' === i
- ? (D(t, 'Attribute without value'), (t.attribValue = t.attribName), C(t), N(t))
- : g(i)
- ? (t.state = T.ATTRIB_NAME_SAW_WHITE)
- : j(m, i)
- ? (t.attribName += i)
- : D(t, 'Invalid attribute name');
- continue;
- case T.ATTRIB_NAME_SAW_WHITE:
- if ('=' === i) t.state = T.ATTRIB_VALUE;
- else {
- if (g(i)) continue;
- D(t, 'Attribute without value'),
- (t.tag.attributes[t.attribName] = ''),
- (t.attribValue = ''),
- E(t, 'onattribute', { name: t.attribName, value: '' }),
- (t.attribName = ''),
- '>' === i
- ? N(t)
- : j(h, i)
- ? ((t.attribName = i), (t.state = T.ATTRIB_NAME))
- : (D(t, 'Invalid attribute name'), (t.state = T.ATTRIB));
- }
- continue;
- case T.ATTRIB_VALUE:
- if (g(i)) continue;
- v(i)
- ? ((t.q = i), (t.state = T.ATTRIB_VALUE_QUOTED))
- : (D(t, 'Unquoted attribute value'),
- (t.state = T.ATTRIB_VALUE_UNQUOTED),
- (t.attribValue = i));
- continue;
- case T.ATTRIB_VALUE_QUOTED:
- if (i !== t.q) {
- '&' === i ? (t.state = T.ATTRIB_VALUE_ENTITY_Q) : (t.attribValue += i);
- continue;
- }
- C(t), (t.q = ''), (t.state = T.ATTRIB_VALUE_CLOSED);
- continue;
- case T.ATTRIB_VALUE_CLOSED:
- g(i)
- ? (t.state = T.ATTRIB)
- : '>' === i
- ? N(t)
- : '/' === i
- ? (t.state = T.OPEN_TAG_SLASH)
- : j(h, i)
- ? (D(t, 'No whitespace between attributes'),
- (t.attribName = i),
- (t.attribValue = ''),
- (t.state = T.ATTRIB_NAME))
- : D(t, 'Invalid attribute name');
- continue;
- case T.ATTRIB_VALUE_UNQUOTED:
- if (
- !(function (e) {
- return '>' === e || g(e);
- })(i)
- ) {
- '&' === i ? (t.state = T.ATTRIB_VALUE_ENTITY_U) : (t.attribValue += i);
- continue;
- }
- C(t), '>' === i ? N(t) : (t.state = T.ATTRIB);
- continue;
- case T.CLOSE_TAG:
- if (t.tagName)
- '>' === i
- ? R(t)
- : j(m, i)
- ? (t.tagName += i)
- : t.script
- ? ((t.script += '</' + t.tagName), (t.tagName = ''), (t.state = T.SCRIPT))
- : (g(i) || D(t, 'Invalid tagname in closing tag'), (t.state = T.CLOSE_TAG_SAW_WHITE));
- else {
- if (g(i)) continue;
- !(function (e, t) {
- return !j(e, t);
- })(h, i)
- ? (t.tagName = i)
- : t.script
- ? ((t.script += '</' + i), (t.state = T.SCRIPT))
- : D(t, 'Invalid tagname in closing tag.');
- }
- continue;
- case T.CLOSE_TAG_SAW_WHITE:
- if (g(i)) continue;
- '>' === i ? R(t) : D(t, 'Invalid characters in closing tag');
- continue;
- case T.TEXT_ENTITY:
- case T.ATTRIB_VALUE_ENTITY_Q:
- case T.ATTRIB_VALUE_ENTITY_U:
- switch (t.state) {
- case T.TEXT_ENTITY:
- (r = T.TEXT), (n = 'textNode');
- break;
- case T.ATTRIB_VALUE_ENTITY_Q:
- (r = T.ATTRIB_VALUE_QUOTED), (n = 'attribValue');
- break;
- case T.ATTRIB_VALUE_ENTITY_U:
- (r = T.ATTRIB_VALUE_UNQUOTED), (n = 'attribValue');
- }
- ';' === i
- ? ((t[n] += (function (e) {
- var t,
- r = e.entity,
- n = r.toLowerCase(),
- s = '';
- if (e.ENTITIES[r]) return e.ENTITIES[r];
- if (e.ENTITIES[n]) return e.ENTITIES[n];
- '#' === (r = n).charAt(0) &&
- (s =
- 'x' === r.charAt(1)
- ? ((r = r.slice(2)), (t = parseInt(r, 16)).toString(16))
- : ((r = r.slice(1)), (t = parseInt(r, 10)).toString(10)));
- if (((r = r.replace(/^0+/, '')), isNaN(t) || s.toLowerCase() !== r))
- return D(e, 'Invalid character entity'), '&' + e.entity + ';';
- return String.fromCodePoint(t);
- })(t)),
- (t.entity = ''),
- (t.state = r))
- : j(t.entity.length ? b : y, i)
- ? (t.entity += i)
- : (D(t, 'Invalid character in entity name'),
- (t[n] += '&' + t.entity + i),
- (t.entity = ''),
- (t.state = r));
- continue;
- default:
- throw new Error(t, 'Unknown state: ' + t.state);
- }
- }
- t.position >= t.bufferCheckPosition &&
- !(function (e) {
- for (var t = Math.max(a.MAX_BUFFER_LENGTH, 10), r = 0, n = 0, s = c.length; n < s; n++) {
- var i = e[c[n]].length;
- if (t < i)
- switch (c[n]) {
- case 'textNode':
- _(e);
- break;
- case 'cdata':
- E(e, 'oncdata', e.cdata), (e.cdata = '');
- break;
- case 'script':
- E(e, 'onscript', e.script), (e.script = '');
- break;
- default:
- O(e, 'Max buffer length exceeded: ' + c[n]);
- }
- r = Math.max(r, i);
- }
- var o = a.MAX_BUFFER_LENGTH - r;
- e.bufferCheckPosition = o + e.position;
- })(t);
- return t;
- },
- resume: function () {
- return (this.error = null), this;
- },
- close: function () {
- return this.write(null);
- },
- flush: function () {
- var e;
- _((e = this)),
- '' !== e.cdata && (E(e, 'oncdata', e.cdata), (e.cdata = '')),
- '' !== e.script && (E(e, 'onscript', e.script), (e.script = ''));
- }
- });
- try {
- n = L('stream').Stream;
- } catch (e) {
- n = function () {};
- }
- var s = a.EVENTS.filter(function (e) {
- return 'error' !== e && 'end' !== e;
- });
- function i(e, t) {
- if (!(this instanceof i)) return new i(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),
- s.forEach(function (t) {
- Object.defineProperty(r, 'on' + t, {
- get: function () {
- return r._parser['on' + t];
- },
- set: function (e) {
- if (!e) return r.removeAllListeners(t), (r._parser['on' + t] = e);
- r.on(t, e);
- },
- enumerable: !0,
- configurable: !1
- });
- });
- }
- ((i.prototype = Object.create(n.prototype, { constructor: { value: i } })).write = function (e) {
- var t;
- return (
- 'function' == typeof r &&
- 'function' == typeof r.isBuffer &&
- r.isBuffer(e) &&
- (this._decoder || ((t = L('string_decoder').StringDecoder), (this._decoder = new t('utf8'))),
- (e = this._decoder.write(e))),
- this._parser.write(e.toString()),
- this.emit('data', e),
- !0
- );
- }),
- (i.prototype.end = function (e) {
- return e && e.length && this.write(e), this._parser.end(), !0;
- }),
- (i.prototype.on = function (t, e) {
- var r = this;
- return (
- r._parser['on' + t] ||
- -1 === s.indexOf(t) ||
- (r._parser['on' + t] = function () {
- var e = 1 === arguments.length ? [arguments[0]] : Array.apply(null, arguments);
- e.splice(0, 0, t), r.emit.apply(r, e);
- }),
- n.prototype.on.call(r, t, e)
- );
- });
- var l = '[CDATA[',
- u = 'DOCTYPE',
- p = 'http://www.w3.org/XML/1998/namespace',
- f = 'http://www.w3.org/2000/xmlns/',
- d = { xml: p, xmlns: f },
- h =
- /[:_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]/,
- m =
- /[:_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-]/,
- 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]/,
- 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\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;
- function g(e) {
- return ' ' === e || '\n' === e || '\r' === e || '\t' === e;
- }
- function v(e) {
- return '"' === e || "'" === e;
- }
- function j(e, t) {
- return e.test(t);
- }
- var e,
- w,
- x,
- T = 0;
- for (e in ((a.STATE = {
- BEGIN: T++,
- BEGIN_WHITESPACE: T++,
- TEXT: T++,
- TEXT_ENTITY: T++,
- OPEN_WAKA: T++,
- SGML_DECL: T++,
- SGML_DECL_QUOTED: T++,
- DOCTYPE: T++,
- DOCTYPE_QUOTED: T++,
- DOCTYPE_DTD: T++,
- DOCTYPE_DTD_QUOTED: T++,
- COMMENT_STARTING: T++,
- COMMENT: T++,
- COMMENT_ENDING: T++,
- COMMENT_ENDED: T++,
- CDATA: T++,
- CDATA_ENDING: T++,
- CDATA_ENDING_2: T++,
- PROC_INST: T++,
- PROC_INST_BODY: T++,
- PROC_INST_ENDING: T++,
- OPEN_TAG: T++,
- OPEN_TAG_SLASH: T++,
- ATTRIB: T++,
- ATTRIB_NAME: T++,
- ATTRIB_NAME_SAW_WHITE: T++,
- ATTRIB_VALUE: T++,
- ATTRIB_VALUE_QUOTED: T++,
- ATTRIB_VALUE_CLOSED: T++,
- ATTRIB_VALUE_UNQUOTED: T++,
- ATTRIB_VALUE_ENTITY_Q: T++,
- ATTRIB_VALUE_ENTITY_U: T++,
- CLOSE_TAG: T++,
- CLOSE_TAG_SAW_WHITE: T++,
- SCRIPT: T++,
- SCRIPT_ENDING: T++
- }),
- (a.XML_ENTITIES = { amp: '&', gt: '>', lt: '<', quot: '"', apos: "'" }),
- (a.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(a.ENTITIES).forEach(function (e) {
- var t = a.ENTITIES[e],
- t = 'number' == typeof t ? String.fromCharCode(t) : t;
- a.ENTITIES[e] = t;
- }),
- a.STATE))
- a.STATE[a.STATE[e]] = e;
- function k(e, t, r) {
- e[t] && e[t](r);
- }
- function E(e, t, r) {
- e.textNode && _(e), k(e, t, r);
- }
- function _(e) {
- (e.textNode = S(e.opt, e.textNode)), e.textNode && k(e, 'ontext', e.textNode), (e.textNode = '');
- }
- function S(e, t) {
- return e.trim && (t = t.trim()), (t = e.normalize ? t.replace(/\s+/g, ' ') : t);
- }
- function O(e, t) {
- return (
- _(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 A(e) {
- return (
- e.sawRoot && !e.closedRoot && D(e, 'Unclosed root tag'),
- e.state !== T.BEGIN &&
- e.state !== T.BEGIN_WHITESPACE &&
- e.state !== T.TEXT &&
- O(e, 'Unexpected end'),
- _(e),
- (e.c = ''),
- (e.closed = !0),
- k(e, 'onend'),
- o.call(e, e.strict, e.opt),
- e
- );
- }
- function D(e, t) {
- if ('object' != typeof e || !(e instanceof o)) throw new Error('bad call to strictFail');
- e.strict && O(e, t);
- }
- function I(e, t) {
- var r = e.indexOf(':') < 0 ? ['', e] : e.split(':'),
- n = r[0],
- r = r[1];
- return t && 'xmlns' === e && ((n = 'xmlns'), (r = '')), { prefix: n, local: r };
- }
- function C(e) {
- var t, r, n;
- e.strict || (e.attribName = e.attribName[e.looseCase]()),
- -1 !== e.attribList.indexOf(e.attribName) ||
- e.tag.attributes.hasOwnProperty(e.attribName) ||
- (e.opt.xmlns
- ? ((r = (t = I(e.attribName, !0)).prefix),
- (t = t.local),
- 'xmlns' === r &&
- ('xml' === t && e.attribValue !== p
- ? D(e, 'xml: prefix must be bound to ' + p + '\nActual: ' + e.attribValue)
- : 'xmlns' === t && e.attribValue !== f
- ? D(e, 'xmlns: prefix must be bound to ' + f + '\nActual: ' + e.attribValue)
- : ((r = e.tag),
- (n = e.tags[e.tags.length - 1] || e),
- r.ns === n.ns && (r.ns = Object.create(n.ns)),
- (r.ns[t] = e.attribValue))),
- e.attribList.push([e.attribName, e.attribValue]))
- : ((e.tag.attributes[e.attribName] = e.attribValue),
- E(e, 'onattribute', { name: e.attribName, value: e.attribValue }))),
- (e.attribName = e.attribValue = '');
- }
- function N(t, e) {
- if (t.opt.xmlns) {
- var r = t.tag,
- n = I(t.tagName),
- n =
- ((r.prefix = n.prefix),
- (r.local = n.local),
- (r.uri = r.ns[n.prefix] || ''),
- r.prefix &&
- !r.uri &&
- (D(t, 'Unbound namespace prefix: ' + JSON.stringify(t.tagName)), (r.uri = n.prefix)),
- t.tags[t.tags.length - 1] || t);
- r.ns &&
- n.ns !== r.ns &&
- Object.keys(r.ns).forEach(function (e) {
- E(t, 'onopennamespace', { prefix: e, uri: r.ns[e] });
- });
- for (var s = 0, i = t.attribList.length; s < i; s++) {
- var o = t.attribList[s],
- a = o[0],
- o = o[1],
- c = I(a, !0),
- l = c.prefix,
- c = c.local,
- u = ('' !== l && r.ns[l]) || '',
- o = { name: a, value: o, prefix: l, local: c, uri: u };
- l && 'xmlns' !== l && !u && (D(t, 'Unbound namespace prefix: ' + JSON.stringify(l)), (o.uri = l)),
- (t.tag.attributes[a] = o),
- E(t, 'onattribute', o);
- }
- t.attribList.length = 0;
- }
- (t.tag.isSelfClosing = !!e),
- (t.sawRoot = !0),
- t.tags.push(t.tag),
- E(t, 'onopentag', t.tag),
- e ||
- (t.noscript || 'script' !== t.tagName.toLowerCase() ? (t.state = T.TEXT) : (t.state = T.SCRIPT),
- (t.tag = null),
- (t.tagName = '')),
- (t.attribName = t.attribValue = ''),
- (t.attribList.length = 0);
- }
- function R(r) {
- if (!r.tagName) return D(r, 'Weird empty close tag.'), (r.textNode += '</>'), void (r.state = T.TEXT);
- if (r.script) {
- if ('script' !== r.tagName)
- return (r.script += '</' + r.tagName + '>'), (r.tagName = ''), void (r.state = T.SCRIPT);
- E(r, 'onscript', r.script), (r.script = '');
- }
- for (
- var e = r.tags.length, t = r.tagName, n = (t = r.strict ? t : t[r.looseCase]());
- e-- && r.tags[e].name !== n;
- )
- D(r, 'Unexpected close tag');
- if (e < 0)
- return (
- D(r, 'Unmatched closing tag: ' + r.tagName),
- (r.textNode += '</' + r.tagName + '>'),
- void (r.state = T.TEXT)
- );
- r.tagName = t;
- for (var s = r.tags.length; s-- > e; ) {
- var i,
- o = (r.tag = r.tags.pop()),
- a = ((r.tagName = r.tag.name), E(r, 'onclosetag', r.tagName), {});
- for (i in o.ns) a[i] = o.ns[i];
- var c = r.tags[r.tags.length - 1] || r;
- r.opt.xmlns &&
- o.ns !== c.ns &&
- Object.keys(o.ns).forEach(function (e) {
- var t = o.ns[e];
- E(r, 'onclosenamespace', { prefix: e, uri: t });
- });
- }
- 0 === e && (r.closedRoot = !0),
- (r.tagName = r.attribValue = r.attribName = ''),
- (r.attribList.length = 0),
- (r.state = T.TEXT);
- }
- function P(e, t) {
- '<' === t
- ? ((e.state = T.OPEN_WAKA), (e.startTagPosition = e.position))
- : g(t) || (D(e, 'Non-whitespace before first tag.'), (e.textNode = t), (e.state = T.TEXT));
- }
- function M(e, t) {
- var r = '';
- return (r = t < e.length ? e.charAt(t) : r);
- }
- function t() {
- var e = [],
- t = -1,
- r = arguments.length;
- if (!r) return '';
- for (var n = ''; ++t < r; ) {
- var s = Number(arguments[t]);
- if (!isFinite(s) || s < 0 || 1114111 < s || x(s) !== s)
- throw RangeError('Invalid code point: ' + s);
- s <= 65535 ? e.push(s) : ((s -= 65536), e.push(55296 + (s >> 10), (s % 1024) + 56320)),
- (t + 1 === r || 16384 < e.length) && ((n += w.apply(null, e)), (e.length = 0));
- }
- return n;
- }
- (T = a.STATE),
- String.fromCodePoint ||
- ((w = String.fromCharCode),
- (x = Math.floor),
- Object.defineProperty
- ? Object.defineProperty(String, 'fromCodePoint', { value: t, configurable: !0, writable: !0 })
- : (String.fromCodePoint = t));
- }.call(this);
- }.call(this, L('buffer').Buffer);
- },
- { buffer: 89, stream: 387, string_decoder: 88 }
- ],
- 387: [
- function (e, t, r) {
- t.exports = n;
- var u = e('events').EventEmitter;
- function n() {
- u.call(this);
- }
- e('inherits')(n, u),
- (n.Readable = e('readable-stream/readable.js')),
- (n.Writable = e('readable-stream/writable.js')),
- (n.Duplex = e('readable-stream/duplex.js')),
- (n.Transform = e('readable-stream/transform.js')),
- (n.PassThrough = e('readable-stream/passthrough.js')),
- ((n.Stream = n).prototype.pipe = function (t, e) {
- var r = this;
- function n(e) {
- t.writable && !1 === t.write(e) && r.pause && r.pause();
- }
- function s() {
- r.readable && r.resume && r.resume();
- }
- r.on('data', n),
- t.on('drain', s),
- t._isStdio || (e && !1 === e.end) || (r.on('end', o), r.on('close', a));
- var i = !1;
- function o() {
- i || ((i = !0), t.end());
- }
- function a() {
- i || ((i = !0), 'function' == typeof t.destroy && t.destroy());
- }
- function c(e) {
- if ((l(), 0 === u.listenerCount(this, 'error'))) throw e;
- }
- function l() {
- r.removeListener('data', n),
- t.removeListener('drain', s),
- r.removeListener('end', o),
- r.removeListener('close', a),
- r.removeListener('error', c),
- t.removeListener('error', c),
- r.removeListener('end', l),
- r.removeListener('close', l),
- t.removeListener('close', l);
- }
- return (
- r.on('error', c),
- t.on('error', c),
- r.on('end', l),
- r.on('close', l),
- t.on('close', l),
- t.emit('pipe', r),
- t
- );
- });
- },
- {
- events: 343,
- inherits: 353,
- 'readable-stream/duplex.js': 371,
- 'readable-stream/passthrough.js': 380,
- 'readable-stream/readable.js': 381,
- 'readable-stream/transform.js': 382,
- 'readable-stream/writable.js': 383
- }
- ],
- 388: [
- function (e, t, r) {
- 'use strict';
- var n = e('safe-buffer').Buffer,
- s =
- n.isEncoding ||
- function (e) {
- switch ((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 i(e) {
- var t = (function (e) {
- if (!e) return 'utf8';
- for (var t; ; )
- 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);
- }
- })(e);
- if ('string' == typeof t || (n.isEncoding !== s && s(e))) return t || e;
- throw new Error('Unknown encoding: ' + e);
- }
- function o(e) {
- var t;
- switch (((this.encoding = i(e)), this.encoding)) {
- case 'utf16le':
- (this.text = l), (this.end = u), (t = 4);
- break;
- case 'utf8':
- (this.fillLast = c), (t = 4);
- break;
- case 'base64':
- (this.text = p), (this.end = f), (t = 3);
- break;
- default:
- return (this.write = d), void (this.end = h);
- }
- (this.lastNeed = 0), (this.lastTotal = 0), (this.lastChar = n.allocUnsafe(t));
- }
- function a(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) {
- var t,
- r = this.lastTotal - this.lastNeed,
- n =
- ((t = this),
- 128 != (192 & (n = e)[0])
- ? ((t.lastNeed = 0), '\ufffd')
- : 1 < t.lastNeed && 1 < n.length
- ? 128 != (192 & n[1])
- ? ((t.lastNeed = 1), '\ufffd')
- : 2 < t.lastNeed && 2 < n.length && 128 != (192 & n[2])
- ? ((t.lastNeed = 2), '\ufffd')
- : void 0
- : void 0);
- return void 0 !== n
- ? n
- : this.lastNeed <= e.length
- ? (e.copy(this.lastChar, r, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal))
- : (e.copy(this.lastChar, r, 0, e.length), void (this.lastNeed -= e.length));
- }
- function l(e, t) {
- if ((e.length - t) % 2 != 0)
- return (
- (this.lastNeed = 1),
- (this.lastTotal = 2),
- (this.lastChar[0] = e[e.length - 1]),
- e.toString('utf16le', t, e.length - 1)
- );
- t = e.toString('utf16le', t);
- if (t) {
- var r = t.charCodeAt(t.length - 1);
- if (55296 <= r && r <= 56319)
- return (
- (this.lastNeed = 2),
- (this.lastTotal = 4),
- (this.lastChar[0] = e[e.length - 2]),
- (this.lastChar[1] = e[e.length - 1]),
- t.slice(0, -1)
- );
- }
- return t;
- }
- function u(e) {
- var t,
- e = e && e.length ? this.write(e) : '';
- return this.lastNeed
- ? ((t = this.lastTotal - this.lastNeed), e + this.lastChar.toString('utf16le', 0, t))
- : e;
- }
- function p(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 f(e) {
- e = e && e.length ? this.write(e) : '';
- return this.lastNeed ? e + this.lastChar.toString('base64', 0, 3 - this.lastNeed) : e;
- }
- function d(e) {
- return e.toString(this.encoding);
- }
- function h(e) {
- return e && e.length ? this.write(e) : '';
- }
- ((r.StringDecoder = o).prototype.write = function (e) {
- if (0 === e.length) return '';
- var t, r;
- if (this.lastNeed) {
- if (void 0 === (t = this.fillLast(e))) 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 || '';
- }),
- (o.prototype.end = function (e) {
- e = e && e.length ? this.write(e) : '';
- return this.lastNeed ? e + '\ufffd' : e;
- }),
- (o.prototype.text = function (e, t) {
- var r = (function (e, t, r) {
- var n = t.length - 1;
- if (n < r) return 0;
- var s = a(t[n]);
- if (0 <= s) return 0 < s && (e.lastNeed = s - 1), s;
- if (--n < r || -2 === s) return 0;
- if (0 <= (s = a(t[n]))) return 0 < s && (e.lastNeed = s - 2), s;
- if (--n < r || -2 === s) return 0;
- if (0 <= (s = a(t[n]))) return 0 < s && (2 === s ? (s = 0) : (e.lastNeed = s - 3)), s;
- return 0;
- })(this, e, t);
- if (!this.lastNeed) return e.toString('utf8', t);
- this.lastTotal = r;
- r = e.length - (r - this.lastNeed);
- return e.copy(this.lastChar, 0, r), e.toString('utf8', t, r);
- }),
- (o.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': 385 }
- ],
- 389: [
- function (c, e, l) {
- !function (r, a) {
- !function () {
- var n = c('process/browser.js').nextTick,
- e = Function.prototype.apply,
- s = Array.prototype.slice,
- i = {},
- o = 0;
- function t(e, t) {
- (this._id = e), (this._clearFn = t);
- }
- (l.setTimeout = function () {
- return new t(e.call(setTimeout, window, arguments), clearTimeout);
- }),
- (l.setInterval = function () {
- return new t(e.call(setInterval, window, arguments), clearInterval);
- }),
- (l.clearTimeout = l.clearInterval =
- function (e) {
- e.close();
- }),
- (t.prototype.unref = t.prototype.ref = function () {}),
- (t.prototype.close = function () {
- this._clearFn.call(window, this._id);
- }),
- (l.enroll = function (e, t) {
- clearTimeout(e._idleTimeoutId), (e._idleTimeout = t);
- }),
- (l.unenroll = function (e) {
- clearTimeout(e._idleTimeoutId), (e._idleTimeout = -1);
- }),
- (l._unrefActive = l.active =
- function (e) {
- clearTimeout(e._idleTimeoutId);
- var t = e._idleTimeout;
- 0 <= t &&
- (e._idleTimeoutId = setTimeout(function () {
- e._onTimeout && e._onTimeout();
- }, t));
- }),
- (l.setImmediate =
- 'function' == typeof r
- ? r
- : function (e) {
- var t = o++,
- r = !(arguments.length < 2) && s.call(arguments, 1);
- return (
- (i[t] = !0),
- n(function () {
- i[t] && (r ? e.apply(null, r) : e.call(null), l.clearImmediate(t));
- }),
- t
- );
- }),
- (l.clearImmediate =
- 'function' == typeof a
- ? a
- : function (e) {
- delete i[e];
- });
- }.call(this);
- }.call(this, c('timers').setImmediate, c('timers').clearImmediate);
- },
- { 'process/browser.js': 366, timers: 389 }
- ],
- 390: [
- function (e, t, r) {
- var s = e('buffer').Buffer;
- t.exports = function (e) {
- if (e instanceof Uint8Array) {
- if (0 === e.byteOffset && e.byteLength === e.buffer.byteLength) return e.buffer;
- if ('function' == typeof e.buffer.slice)
- return e.buffer.slice(e.byteOffset, e.byteOffset + e.byteLength);
- }
- if (s.isBuffer(e)) {
- for (var t = new Uint8Array(e.length), r = e.length, n = 0; n < r; n++) t[n] = e[n];
- return t.buffer;
- }
- throw new Error('Argument must be a Buffer');
- };
- },
- { buffer: 89 }
- ],
- 391: [
- function (e, r, t) {
- !function (t) {
- !function () {
- function n(e) {
- try {
- if (!t.localStorage) return;
- } catch (e) {
- return;
- }
- e = t.localStorage[e];
- return null != e && 'true' === String(e).toLowerCase();
- }
- r.exports = function (e, t) {
- if (n('noDeprecation')) return e;
- var r = !1;
- return function () {
- if (!r) {
- if (n('throwDeprecation')) throw new Error(t);
- n('traceDeprecation') ? console.trace(t) : console.warn(t), (r = !0);
- }
- return e.apply(this, arguments);
- };
- };
- }.call(this);
- }.call(
- this,
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {}
- );
- },
- {}
- ],
- 392: [
- function (e, t, r) {
- arguments[4][82][0].apply(r, arguments);
- },
- { dup: 82 }
- ],
- 393: [
- function (e, t, r) {
- arguments[4][83][0].apply(r, arguments);
- },
- { dup: 83 }
- ],
- 394: [
- function (e, t, r) {
- arguments[4][84][0].apply(r, arguments);
- },
- { './support/isBuffer': 393, _process: 441, dup: 84, inherits: 392 }
- ],
- 395: [
- function (e, t, r) {
- !function () {
- 'use strict';
- r.stripBOM = function (e) {
- return '\ufeff' === e[0] ? e.substring(1) : e;
- };
- }.call(this);
- },
- {}
- ],
- 396: [
- function (n, e, i) {
- !function () {
- 'use strict';
- var r,
- s,
- t,
- f,
- d,
- h = {}.hasOwnProperty;
- function e(e) {
- var t, r, n;
- for (t in ((this.options = {}), (r = s[0.2]))) h.call(r, t) && ((n = r[t]), (this.options[t] = n));
- for (t in e) h.call(e, t) && ((n = e[t]), (this.options[t] = n));
- }
- (r = n('xmlbuilder')),
- (s = n('./defaults').defaults),
- (f = function (e) {
- return 'string' == typeof e && (0 <= e.indexOf('&') || 0 <= e.indexOf('>') || 0 <= e.indexOf('<'));
- }),
- (d = function (e) {
- return '<![CDATA[' + t(e) + ']]>';
- }),
- (t = function (e) {
- return e.replace(']]>', ']]]]><![CDATA[>');
- }),
- (i.Builder =
- ((e.prototype.buildObject = function (e) {
- var c,
- t,
- l,
- u = this.options.attrkey,
- p = this.options.charkey;
- return (
- 1 === Object.keys(e).length && this.options.rootName === s[0.2].rootName
- ? (e = e[(t = Object.keys(e)[0])])
- : (t = this.options.rootName),
- (l = this),
- (c = function (e, t) {
- var r, n, s, i, o, a;
- if ('object' != typeof t) l.options.cdata && f(t) ? e.raw(d(t)) : e.txt(t);
- else if (Array.isArray(t)) {
- for (i in t) if (h.call(t, i)) for (o in (n = t[i])) (s = n[o]), (e = c(e.ele(o), s).up());
- } else
- for (o in t)
- if (h.call(t, o))
- if (((n = t[o]), o === u)) {
- if ('object' == typeof n) for (r in n) (a = n[r]), (e = e.att(r, a));
- } else if (o === p) e = l.options.cdata && f(n) ? e.raw(d(n)) : e.txt(n);
- else if (Array.isArray(n))
- for (i in n)
- h.call(n, i) &&
- (e = (
- 'string' == typeof (s = n[i])
- ? l.options.cdata && f(s)
- ? e.ele(o).raw(d(s))
- : e.ele(o, s)
- : c(e.ele(o), s)
- ).up());
- else
- e =
- 'object' == typeof n
- ? c(e.ele(o), n).up()
- : 'string' == typeof n && l.options.cdata && f(n)
- ? e.ele(o).raw(d(n)).up()
- : (null == n && (n = ''), e.ele(o, n.toString()).up());
- return e;
- }),
- (t = r.create(t, this.options.xmldec, this.options.doctype, {
- headless: this.options.headless,
- allowSurrogateChars: this.options.allowSurrogateChars
- })),
- c(t, e).end(this.options.renderOpts)
- );
- }),
- e));
- }.call(this);
- },
- { './defaults': 397, xmlbuilder: 433 }
- ],
- 397: [
- 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);
- },
- {}
- ],
- 398: [
- function (e, t, m) {
- !function () {
- 'use strict';
- function i(e, t) {
- return function () {
- return e.apply(t, arguments);
- };
- }
- var f = {}.hasOwnProperty,
- c = e('sax'),
- o = e('events'),
- a = e('./bom'),
- l = e('./processors'),
- u = e('timers').setImmediate,
- p = e('./defaults').defaults,
- d = function (e) {
- return 'object' == typeof e && null != e && 0 === Object.keys(e).length;
- },
- h = function (e, t, r) {
- for (var n = 0, s = e.length; n < s; n++) t = (0, e[n])(t, r);
- return t;
- };
- (m.Parser = (function () {
- var e,
- t = s,
- r = o;
- for (e in r) f.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function s(e) {
- var t, r, n;
- if (
- ((this.parseStringPromise = i(this.parseStringPromise, this)),
- (this.parseString = i(this.parseString, this)),
- (this.reset = i(this.reset, this)),
- (this.assignOrPush = i(this.assignOrPush, this)),
- (this.processAsync = i(this.processAsync, this)),
- !(this instanceof m.Parser))
- )
- return new m.Parser(e);
- for (t in ((this.options = {}), (r = p[0.2]))) f.call(r, t) && ((n = r[t]), (this.options[t] = n));
- for (t in e) f.call(e, t) && ((n = e[t]), (this.options[t] = n));
- this.options.xmlns && (this.options.xmlnskey = this.options.attrkey + 'ns'),
- this.options.normalizeTags &&
- (this.options.tagNameProcessors || (this.options.tagNameProcessors = []),
- this.options.tagNameProcessors.unshift(l.normalize)),
- this.reset();
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- (s.prototype.processAsync = function () {
- var t;
- try {
- return this.remaining.length <= this.options.chunkSize
- ? ((t = this.remaining),
- (this.remaining = ''),
- (this.saxParser = this.saxParser.write(t)),
- this.saxParser.close())
- : ((t = this.remaining.substr(0, this.options.chunkSize)),
- (this.remaining = this.remaining.substr(this.options.chunkSize, this.remaining.length)),
- (this.saxParser = this.saxParser.write(t)),
- u(this.processAsync));
- } catch (e) {
- if (((t = e), !this.saxParser.errThrown)) return (this.saxParser.errThrown = !0), this.emit(t);
- }
- }),
- (s.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);
- }),
- (s.prototype.reset = function () {
- var o, l, t, u, r, e, a, p, n;
- return (
- this.removeAllListeners(),
- (this.saxParser = c.parser(this.options.strict, {
- trim: !1,
- normalize: !1,
- xmlns: this.options.xmlns
- })),
- (this.saxParser.errThrown = !1),
- (this.saxParser.onerror =
- ((r = this),
- function (e) {
- if ((r.saxParser.resume(), !r.saxParser.errThrown))
- return (r.saxParser.errThrown = !0), r.emit('error', e);
- })),
- (this.saxParser.onend =
- ((e = this),
- function () {
- if (!e.saxParser.ended) return (e.saxParser.ended = !0), e.emit('end', e.resultObject);
- })),
- (this.saxParser.ended = !1),
- (this.EXPLICIT_CHARKEY = this.options.explicitCharkey),
- (this.resultObject = null),
- (u = []),
- (o = this.options.attrkey),
- (l = this.options.charkey),
- (this.saxParser.onopentag =
- ((a = this),
- function (e) {
- var t,
- r,
- n,
- s,
- i = {};
- if (((i[l] = ''), !a.options.ignoreAttrs))
- for (t in (s = e.attributes))
- f.call(s, t) &&
- (o in i || a.options.mergeAttrs || (i[o] = {}),
- (r = a.options.attrValueProcessors
- ? h(a.options.attrValueProcessors, e.attributes[t], t)
- : e.attributes[t]),
- (n = a.options.attrNameProcessors ? h(a.options.attrNameProcessors, t) : t),
- a.options.mergeAttrs ? a.assignOrPush(i, n, r) : (i[o][n] = r));
- return (
- (i['#name'] = a.options.tagNameProcessors
- ? h(a.options.tagNameProcessors, e.name)
- : e.name),
- a.options.xmlns && (i[a.options.xmlnskey] = { uri: e.uri, local: e.local }),
- u.push(i)
- );
- })),
- (this.saxParser.onclosetag =
- ((p = this),
- function () {
- var e,
- t,
- n,
- r,
- s,
- i,
- o,
- a = u.pop(),
- c = a['#name'];
- if (
- ((p.options.explicitChildren && p.options.preserveChildrenOrder) || delete a['#name'],
- !0 === a.cdata && ((s = a.cdata), delete a.cdata),
- (i = u[u.length - 1]),
- a[l].match(/^\s*$/) && !s
- ? ((e = a[l]), delete a[l])
- : (p.options.trim && (a[l] = a[l].trim()),
- p.options.normalize && (a[l] = a[l].replace(/\s{2,}/g, ' ').trim()),
- (a[l] = p.options.valueProcessors ? h(p.options.valueProcessors, a[l], c) : a[l]),
- 1 === Object.keys(a).length && l in a && !p.EXPLICIT_CHARKEY && (a = a[l])),
- d(a) && (a = '' !== p.options.emptyTag ? p.options.emptyTag : e),
- null != p.options.validator &&
- ((o =
- '/' +
- (function () {
- for (var e = [], t = 0, r = u.length; t < r; t++) (n = u[t]), e.push(n['#name']);
- return e;
- })()
- .concat(c)
- .join('/')),
- (function () {
- try {
- a = p.options.validator(o, i && i[c], a);
- } catch (e) {
- return p.emit('error', e);
- }
- })()),
- p.options.explicitChildren && !p.options.mergeAttrs && 'object' == typeof a)
- )
- if (p.options.preserveChildrenOrder) {
- if (i) {
- for (t in ((i[p.options.childkey] = i[p.options.childkey] || []), (r = {}), a))
- f.call(a, t) && (r[t] = a[t]);
- i[p.options.childkey].push(r),
- delete a['#name'],
- 1 === Object.keys(a).length && l in a && !p.EXPLICIT_CHARKEY && (a = a[l]);
- }
- } else
- (n = {}),
- p.options.attrkey in a &&
- ((n[p.options.attrkey] = a[p.options.attrkey]), delete a[p.options.attrkey]),
- !p.options.charsAsChildren &&
- p.options.charkey in a &&
- ((n[p.options.charkey] = a[p.options.charkey]), delete a[p.options.charkey]),
- 0 < Object.getOwnPropertyNames(a).length && (n[p.options.childkey] = a),
- (a = n);
- return 0 < u.length
- ? p.assignOrPush(i, c, a)
- : (p.options.explicitRoot && ((s = a), ((a = {})[c] = s)),
- (p.resultObject = a),
- (p.saxParser.ended = !0),
- p.emit('end', p.resultObject));
- })),
- (t = function (e) {
- var t,
- r = u[u.length - 1];
- if (r)
- return (
- (r[l] += e),
- n.options.explicitChildren &&
- n.options.preserveChildrenOrder &&
- n.options.charsAsChildren &&
- (n.options.includeWhiteChars || '' !== e.replace(/\\n/g, '').trim()) &&
- ((r[n.options.childkey] = r[n.options.childkey] || []),
- ((t = { '#name': '__text__' })[l] = e),
- n.options.normalize && (t[l] = t[l].replace(/\s{2,}/g, ' ').trim()),
- r[n.options.childkey].push(t)),
- r
- );
- }),
- ((n = this).saxParser.ontext = t),
- (this.saxParser.oncdata = function (e) {
- e = t(e);
- if (e) return (e.cdata = !0);
- })
- );
- }),
- (s.prototype.parseString = function (t, r) {
- 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 '' === (t = t.toString()).trim()
- ? (this.emit('end', null), !0)
- : ((t = a.stripBOM(t)),
- this.options.async
- ? ((this.remaining = t), u(this.processAsync), this.saxParser)
- : this.saxParser.write(t).close());
- } catch (e) {
- if (((t = e), !this.saxParser.errThrown && !this.saxParser.ended))
- return this.emit('error', t), (this.saxParser.errThrown = !0);
- if (this.saxParser.ended) throw t;
- }
- }),
- (s.prototype.parseStringPromise = function (e) {
- return new Promise(
- ((t = this),
- function (r, n) {
- return t.parseString(e, function (e, t) {
- return e ? n(e) : r(t);
- });
- })
- );
- var t;
- }),
- s
- );
- })()),
- (m.parseString = function (e, t, r) {
- var n, s;
- return (
- null != r
- ? ('function' == typeof r && (n = r), 'object' == typeof t && (s = t))
- : ('function' == typeof t && (n = t), (s = {})),
- new m.Parser(s).parseString(e, n)
- );
- }),
- (m.parseStringPromise = function (e, t) {
- var r;
- return new m.Parser((r = 'object' == typeof t ? t : r)).parseStringPromise(e);
- });
- }.call(this);
- },
- { './bom': 395, './defaults': 397, './processors': 399, events: 343, sax: 386, timers: 389 }
- ],
- 399: [
- function (e, t, r) {
- !function () {
- 'use strict';
- var t = 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 (e) {
- return e.replace(t, '');
- }),
- (r.parseNumbers = function (e) {
- return (e = isNaN(e) ? e : e % 1 == 0 ? parseInt(e, 10) : parseFloat(e));
- }),
- (r.parseBooleans = function (e) {
- return (e = /^(?:true|false)$/i.test(e) ? 'true' === e.toLowerCase() : e);
- });
- }.call(this);
- },
- {}
- ],
- 400: [
- function (s, e, i) {
- !function () {
- 'use strict';
- var o = {}.hasOwnProperty,
- e = s('./defaults'),
- t = s('./builder'),
- r = s('./parser'),
- n = s('./processors');
- (i.defaults = e.defaults),
- (i.processors = n),
- (i.ValidationError = (function (e) {
- var t,
- r = i,
- n = e;
- for (t in n) o.call(n, t) && (r[t] = n[t]);
- function s() {
- this.constructor = r;
- }
- function i(e) {
- this.message = e;
- }
- return (s.prototype = n.prototype), (r.prototype = new s()), (r.__super__ = n.prototype), i;
- })(Error)),
- (i.Builder = t.Builder),
- (i.Parser = r.Parser),
- (i.parseString = r.parseString),
- (i.parseStringPromise = r.parseStringPromise);
- }.call(this);
- },
- { './builder': 396, './defaults': 397, './parser': 398, './processors': 399 }
- ],
- 401: [
- function (e, t, r) {
- !function () {
- t.exports = {
- Disconnected: 1,
- Preceding: 2,
- Following: 4,
- Contains: 8,
- ContainedBy: 16,
- ImplementationSpecific: 32
- };
- }.call(this);
- },
- {}
- ],
- 402: [
- 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);
- },
- {}
- ],
- 403: [
- function (e, i, t) {
- !function () {
- var o = [].slice,
- a = {}.hasOwnProperty,
- c = function (e) {
- return !!e && '[object Function]' === Object.prototype.toString.call(e);
- },
- t = function (e) {
- return !!e && ('function' == (e = typeof e) || 'object' == e);
- },
- r = function (e) {
- return c(Array.isArray) ? Array.isArray(e) : '[object Array]' === Object.prototype.toString.call(e);
- },
- e = function (e) {
- if (r(e)) return !e.length;
- for (var t in e) if (a.call(e, t)) return !1;
- return !0;
- },
- n = function (e) {
- return (
- t(e) &&
- (e = Object.getPrototypeOf(e)) &&
- (e = e.constructor) &&
- 'function' == typeof e &&
- e instanceof e &&
- Function.prototype.toString.call(e) === Function.prototype.toString.call(Object)
- );
- },
- s = function (e) {
- return c(e.valueOf) ? e.valueOf() : e;
- };
- (i.exports.assign = function () {
- var e,
- t,
- r,
- n,
- s = arguments[0],
- i = 2 <= arguments.length ? o.call(arguments, 1) : [];
- if (c(Object.assign)) Object.assign.apply(null, arguments);
- else
- for (e = 0, r = i.length; e < r; e++)
- if (null != (n = i[e])) for (t in n) a.call(n, t) && (s[t] = n[t]);
- return s;
- }),
- (i.exports.isFunction = c),
- (i.exports.isObject = t),
- (i.exports.isArray = r),
- (i.exports.isEmpty = e),
- (i.exports.isPlainObject = n),
- (i.exports.getValue = s);
- }.call(this);
- },
- {}
- ],
- 404: [
- function (e, t, r) {
- !function () {
- t.exports = { None: 0, OpenTag: 1, InsideTag: 2, CloseTag: 3 };
- }.call(this);
- },
- {}
- ],
- 405: [
- function (t, r, e) {
- !function () {
- var n;
- function e(e, t, r) {
- 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(r)),
- (this.type = n.Attribute),
- (this.isId = !1),
- (this.schemaTypeInfo = null);
- }
- (n = t('./NodeType')),
- t('./XMLNode'),
- (r.exports =
- (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 null == (e = e || this.name)
- ? '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': 402, './XMLNode': 424 }
- ],
- 406: [
- function (e, t, r) {
- !function () {
- var i = {}.hasOwnProperty,
- o = e('./NodeType'),
- a = e('./XMLCharacterData');
- t.exports = (function () {
- var e,
- t = s,
- r = a;
- for (e in r) i.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function s(e, t) {
- if ((s.__super__.constructor.call(this, e), null == t))
- throw new Error('Missing CDATA text. ' + this.debugInfo());
- (this.name = '#cdata-section'), (this.type = o.CData), (this.value = this.stringify.cdata(t));
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- (s.prototype.clone = function () {
- return Object.create(this);
- }),
- (s.prototype.toString = function (e) {
- return this.options.writer.cdata(this, this.options.writer.filterOptions(e));
- }),
- s
- );
- })();
- }.call(this);
- },
- { './NodeType': 402, './XMLCharacterData': 407 }
- ],
- 407: [
- function (e, t, r) {
- !function () {
- var i = {}.hasOwnProperty,
- o = e('./XMLNode');
- t.exports = (function () {
- var e,
- t = s,
- r = o;
- for (e in r) i.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function s(e) {
- s.__super__.constructor.call(this, e), (this.value = '');
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- Object.defineProperty(s.prototype, 'data', {
- get: function () {
- return this.value;
- },
- set: function (e) {
- return (this.value = e || '');
- }
- }),
- Object.defineProperty(s.prototype, 'length', {
- get: function () {
- return this.value.length;
- }
- }),
- Object.defineProperty(s.prototype, 'textContent', {
- get: function () {
- return this.value;
- },
- set: function (e) {
- return (this.value = e || '');
- }
- }),
- (s.prototype.clone = function () {
- return Object.create(this);
- }),
- (s.prototype.substringData = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.appendData = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.insertData = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.deleteData = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.replaceData = function (e, t, r) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.isEqualNode = function (e) {
- return !!s.__super__.isEqualNode.apply(this, arguments).isEqualNode(e) && e.data === this.data;
- }),
- s
- );
- })();
- }.call(this);
- },
- { './XMLNode': 424 }
- ],
- 408: [
- function (e, t, r) {
- !function () {
- var i = {}.hasOwnProperty,
- o = e('./NodeType'),
- a = e('./XMLCharacterData');
- t.exports = (function () {
- var e,
- t = s,
- r = a;
- for (e in r) i.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function s(e, t) {
- if ((s.__super__.constructor.call(this, e), null == t))
- throw new Error('Missing comment text. ' + this.debugInfo());
- (this.name = '#comment'), (this.type = o.Comment), (this.value = this.stringify.comment(t));
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- (s.prototype.clone = function () {
- return Object.create(this);
- }),
- (s.prototype.toString = function (e) {
- return this.options.writer.comment(this, this.options.writer.filterOptions(e));
- }),
- s
- );
- })();
- }.call(this);
- },
- { './NodeType': 402, './XMLCharacterData': 407 }
- ],
- 409: [
- function (n, s, e) {
- !function () {
- var e, t;
- function r() {
- (this.defaultParams = {
- 'canonical-form': !1,
- 'cdata-sections': !1,
- comments: !1,
- 'datatype-normalization': !1,
- 'element-content-whitespace': !0,
- entities: !0,
- 'error-handler': new e(),
- 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));
- }
- (e = n('./XMLDOMErrorHandler')),
- (t = n('./XMLDOMStringList')),
- (s.exports =
- (Object.defineProperty(r.prototype, 'parameterNames', {
- get: function () {
- return new t(Object.keys(this.defaultParams));
- }
- }),
- (r.prototype.getParameter = function (e) {
- return this.params.hasOwnProperty(e) ? this.params[e] : null;
- }),
- (r.prototype.canSetParameter = function (e, t) {
- return !0;
- }),
- (r.prototype.setParameter = function (e, t) {
- return null != t ? (this.params[e] = t) : delete this.params[e];
- }),
- r));
- }.call(this);
- },
- { './XMLDOMErrorHandler': 410, './XMLDOMStringList': 412 }
- ],
- 410: [
- function (e, t, r) {
- !function () {
- function e() {}
- t.exports =
- ((e.prototype.handleError = function (e) {
- throw new Error(e);
- }),
- e);
- }.call(this);
- },
- {}
- ],
- 411: [
- function (e, t, r) {
- !function () {
- function e() {}
- t.exports =
- ((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);
- },
- {}
- ],
- 412: [
- function (e, t, r) {
- !function () {
- function e(e) {
- this.arr = e || [];
- }
- t.exports =
- (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);
- },
- {}
- ],
- 413: [
- function (e, t, r) {
- !function () {
- var s = {}.hasOwnProperty,
- i = e('./XMLNode'),
- a = e('./NodeType');
- t.exports = (function () {
- var e,
- t = o,
- r = i;
- for (e in r) s.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function o(e, t, r, n, s, i) {
- if ((o.__super__.constructor.call(this, e), null == t))
- throw new Error('Missing DTD element name. ' + this.debugInfo());
- if (null == r) throw new Error('Missing DTD attribute name. ' + this.debugInfo(t));
- if (!n) throw new Error('Missing DTD attribute type. ' + this.debugInfo(t));
- if (!s) throw new Error('Missing DTD attribute default. ' + this.debugInfo(t));
- if (!(s = 0 !== s.indexOf('#') ? '#' + s : s).match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))
- throw new Error(
- 'Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. ' +
- this.debugInfo(t)
- );
- if (i && !s.match(/^(#FIXED|#DEFAULT)$/))
- throw new Error('Default value only applies to #FIXED or #DEFAULT. ' + this.debugInfo(t));
- (this.elementName = this.stringify.name(t)),
- (this.type = a.AttributeDeclaration),
- (this.attributeName = this.stringify.name(r)),
- (this.attributeType = this.stringify.dtdAttType(n)),
- i && (this.defaultValue = this.stringify.dtdAttDefault(i)),
- (this.defaultValueType = s);
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- (o.prototype.toString = function (e) {
- return this.options.writer.dtdAttList(this, this.options.writer.filterOptions(e));
- }),
- o
- );
- })();
- }.call(this);
- },
- { './NodeType': 402, './XMLNode': 424 }
- ],
- 414: [
- function (e, t, r) {
- !function () {
- var i = {}.hasOwnProperty,
- o = e('./XMLNode'),
- a = e('./NodeType');
- t.exports = (function () {
- var e,
- t = s,
- r = o;
- for (e in r) i.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function s(e, t, r) {
- if ((s.__super__.constructor.call(this, e), null == t))
- throw new Error('Missing DTD element name. ' + this.debugInfo());
- (r = r || '(#PCDATA)'),
- Array.isArray(r) && (r = '(' + r.join(',') + ')'),
- (this.name = this.stringify.name(t)),
- (this.type = a.ElementDeclaration),
- (this.value = this.stringify.dtdElementValue(r));
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- (s.prototype.toString = function (e) {
- return this.options.writer.dtdElement(this, this.options.writer.filterOptions(e));
- }),
- s
- );
- })();
- }.call(this);
- },
- { './NodeType': 402, './XMLNode': 424 }
- ],
- 415: [
- function (e, t, r) {
- !function () {
- var i = {}.hasOwnProperty,
- o = e('./Utility').isObject,
- a = e('./XMLNode'),
- c = e('./NodeType');
- t.exports = (function () {
- var e,
- t = s,
- r = a;
- for (e in r) i.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function s(e, t, r, n) {
- if ((s.__super__.constructor.call(this, e), null == r))
- throw new Error('Missing DTD entity name. ' + this.debugInfo(r));
- if (null == n) throw new Error('Missing DTD entity value. ' + this.debugInfo(r));
- if (
- ((this.pe = !!t), (this.name = this.stringify.name(r)), (this.type = c.EntityDeclaration), o(n))
- ) {
- if (!n.pubID && !n.sysID)
- throw new Error(
- 'Public and/or system identifiers are required for an external entity. ' + this.debugInfo(r)
- );
- if (n.pubID && !n.sysID)
- throw new Error(
- 'System identifier is required for a public external entity. ' + this.debugInfo(r)
- );
- if (
- ((this.internal = !1),
- null != n.pubID && (this.pubID = this.stringify.dtdPubID(n.pubID)),
- null != n.sysID && (this.sysID = this.stringify.dtdSysID(n.sysID)),
- null != n.nData && (this.nData = this.stringify.dtdNData(n.nData)),
- this.pe && this.nData)
- )
- throw new Error(
- 'Notation declaration is not allowed in a parameter entity. ' + this.debugInfo(r)
- );
- } else (this.value = this.stringify.dtdEntityValue(n)), (this.internal = !0);
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- Object.defineProperty(s.prototype, 'publicId', {
- get: function () {
- return this.pubID;
- }
- }),
- Object.defineProperty(s.prototype, 'systemId', {
- get: function () {
- return this.sysID;
- }
- }),
- Object.defineProperty(s.prototype, 'notationName', {
- get: function () {
- return this.nData || null;
- }
- }),
- Object.defineProperty(s.prototype, 'inputEncoding', {
- get: function () {
- return null;
- }
- }),
- Object.defineProperty(s.prototype, 'xmlEncoding', {
- get: function () {
- return null;
- }
- }),
- Object.defineProperty(s.prototype, 'xmlVersion', {
- get: function () {
- return null;
- }
- }),
- (s.prototype.toString = function (e) {
- return this.options.writer.dtdEntity(this, this.options.writer.filterOptions(e));
- }),
- s
- );
- })();
- }.call(this);
- },
- { './NodeType': 402, './Utility': 403, './XMLNode': 424 }
- ],
- 416: [
- function (e, t, r) {
- !function () {
- var i = {}.hasOwnProperty,
- o = e('./XMLNode'),
- a = e('./NodeType');
- t.exports = (function () {
- var e,
- t = s,
- r = o;
- for (e in r) i.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function s(e, t, r) {
- if ((s.__super__.constructor.call(this, e), null == t))
- throw new Error('Missing DTD notation name. ' + this.debugInfo(t));
- if (!r.pubID && !r.sysID)
- throw new Error(
- 'Public or system identifiers are required for an external entity. ' + this.debugInfo(t)
- );
- (this.name = this.stringify.name(t)),
- (this.type = a.NotationDeclaration),
- null != r.pubID && (this.pubID = this.stringify.dtdPubID(r.pubID)),
- null != r.sysID && (this.sysID = this.stringify.dtdSysID(r.sysID));
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- Object.defineProperty(s.prototype, 'publicId', {
- get: function () {
- return this.pubID;
- }
- }),
- Object.defineProperty(s.prototype, 'systemId', {
- get: function () {
- return this.sysID;
- }
- }),
- (s.prototype.toString = function (e) {
- return this.options.writer.dtdNotation(this, this.options.writer.filterOptions(e));
- }),
- s
- );
- })();
- }.call(this);
- },
- { './NodeType': 402, './XMLNode': 424 }
- ],
- 417: [
- function (e, t, r) {
- !function () {
- var i = {}.hasOwnProperty,
- o = e('./Utility').isObject,
- a = e('./XMLNode'),
- c = e('./NodeType');
- t.exports = (function () {
- var e,
- t = s,
- r = a;
- for (e in r) i.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function s(e, t, r, n) {
- s.__super__.constructor.call(this, e),
- o(t) && ((t = (e = t).version), (r = e.encoding), (n = e.standalone)),
- (t = t || '1.0'),
- (this.type = c.Declaration),
- (this.version = this.stringify.xmlVersion(t)),
- null != r && (this.encoding = this.stringify.xmlEncoding(r)),
- null != n && (this.standalone = this.stringify.xmlStandalone(n));
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- (s.prototype.toString = function (e) {
- return this.options.writer.declaration(this, this.options.writer.filterOptions(e));
- }),
- s
- );
- })();
- }.call(this);
- },
- { './NodeType': 402, './Utility': 403, './XMLNode': 424 }
- ],
- 418: [
- function (e, t, r) {
- !function () {
- var s = {}.hasOwnProperty,
- c = e('./Utility').isObject,
- i = e('./XMLNode'),
- l = e('./NodeType'),
- o = e('./XMLDTDAttList'),
- u = e('./XMLDTDEntity'),
- p = e('./XMLDTDElement'),
- f = e('./XMLDTDNotation'),
- d = e('./XMLNamedNodeMap');
- t.exports = (function () {
- var e,
- t = a,
- r = i;
- for (e in r) s.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function a(e, t, r) {
- var n, s, i, o;
- if ((a.__super__.constructor.call(this, e), (this.type = l.DocType), e.children))
- for (s = 0, i = (o = e.children).length; s < i; s++)
- if ((n = o[s]).type === l.Element) {
- this.name = n.name;
- break;
- }
- (this.documentObject = e),
- c(t) && ((t = (e = t).pubID), (r = e.sysID)),
- null == r && ((r = (e = [t, r])[0]), (t = e[1])),
- null != t && (this.pubID = this.stringify.dtdPubID(t)),
- null != r && (this.sysID = this.stringify.dtdSysID(r));
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- Object.defineProperty(a.prototype, 'entities', {
- get: function () {
- for (var e, t = {}, r = this.children, n = 0, s = r.length; n < s; n++)
- (e = r[n]).type !== l.EntityDeclaration || e.pe || (t[e.name] = e);
- return new d(t);
- }
- }),
- Object.defineProperty(a.prototype, 'notations', {
- get: function () {
- for (var e, t = {}, r = this.children, n = 0, s = r.length; n < s; n++)
- (e = r[n]).type === l.NotationDeclaration && (t[e.name] = e);
- return new d(t);
- }
- }),
- Object.defineProperty(a.prototype, 'publicId', {
- get: function () {
- return this.pubID;
- }
- }),
- Object.defineProperty(a.prototype, 'systemId', {
- get: function () {
- return this.sysID;
- }
- }),
- Object.defineProperty(a.prototype, 'internalSubset', {
- get: function () {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }
- }),
- (a.prototype.element = function (e, t) {
- e = new p(this, e, t);
- return this.children.push(e), this;
- }),
- (a.prototype.attList = function (e, t, r, n, s) {
- e = new o(this, e, t, r, n, s);
- return this.children.push(e), this;
- }),
- (a.prototype.entity = function (e, t) {
- e = new u(this, !1, e, t);
- return this.children.push(e), this;
- }),
- (a.prototype.pEntity = function (e, t) {
- e = new u(this, !0, e, t);
- return this.children.push(e), this;
- }),
- (a.prototype.notation = function (e, t) {
- e = new f(this, e, t);
- return this.children.push(e), this;
- }),
- (a.prototype.toString = function (e) {
- return this.options.writer.docType(this, this.options.writer.filterOptions(e));
- }),
- (a.prototype.ele = function (e, t) {
- return this.element(e, t);
- }),
- (a.prototype.att = function (e, t, r, n, s) {
- return this.attList(e, t, r, n, s);
- }),
- (a.prototype.ent = function (e, t) {
- return this.entity(e, t);
- }),
- (a.prototype.pent = function (e, t) {
- return this.pEntity(e, t);
- }),
- (a.prototype.not = function (e, t) {
- return this.notation(e, t);
- }),
- (a.prototype.up = function () {
- return this.root() || this.documentObject;
- }),
- (a.prototype.isEqualNode = function (e) {
- return (
- !!a.__super__.isEqualNode.apply(this, arguments).isEqualNode(e) &&
- e.name === this.name &&
- e.publicId === this.publicId &&
- e.systemId === this.systemId
- );
- }),
- a
- );
- })();
- }.call(this);
- },
- {
- './NodeType': 402,
- './Utility': 403,
- './XMLDTDAttList': 413,
- './XMLDTDElement': 414,
- './XMLDTDEntity': 415,
- './XMLDTDNotation': 416,
- './XMLNamedNodeMap': 423,
- './XMLNode': 424
- }
- ],
- 419: [
- function (e, t, r) {
- !function () {
- var i = {}.hasOwnProperty,
- o = e('./Utility').isPlainObject,
- a = e('./XMLDOMImplementation'),
- c = e('./XMLDOMConfiguration'),
- l = e('./XMLNode'),
- u = e('./NodeType'),
- p = e('./XMLStringifier'),
- f = e('./XMLStringWriter');
- t.exports = (function () {
- var e,
- t = s,
- r = l;
- for (e in r) i.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function s(e) {
- s.__super__.constructor.call(this, null),
- (this.name = '#document'),
- (this.type = u.Document),
- (this.documentURI = null),
- (this.domConfig = new c()),
- (e = e || {}).writer || (e.writer = new f()),
- (this.options = e),
- (this.stringify = new p(e));
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- Object.defineProperty(s.prototype, 'implementation', { value: new a() }),
- Object.defineProperty(s.prototype, 'doctype', {
- get: function () {
- for (var e, t = this.children, r = 0, n = t.length; r < n; r++)
- if ((e = t[r]).type === u.DocType) return e;
- return null;
- }
- }),
- Object.defineProperty(s.prototype, 'documentElement', {
- get: function () {
- return this.rootObject || null;
- }
- }),
- Object.defineProperty(s.prototype, 'inputEncoding', {
- get: function () {
- return null;
- }
- }),
- Object.defineProperty(s.prototype, 'strictErrorChecking', {
- get: function () {
- return !1;
- }
- }),
- Object.defineProperty(s.prototype, 'xmlEncoding', {
- get: function () {
- return 0 !== this.children.length && this.children[0].type === u.Declaration
- ? this.children[0].encoding
- : null;
- }
- }),
- Object.defineProperty(s.prototype, 'xmlStandalone', {
- get: function () {
- return (
- 0 !== this.children.length &&
- this.children[0].type === u.Declaration &&
- 'yes' === this.children[0].standalone
- );
- }
- }),
- Object.defineProperty(s.prototype, 'xmlVersion', {
- get: function () {
- return 0 !== this.children.length && this.children[0].type === u.Declaration
- ? this.children[0].version
- : '1.0';
- }
- }),
- Object.defineProperty(s.prototype, 'URL', {
- get: function () {
- return this.documentURI;
- }
- }),
- Object.defineProperty(s.prototype, 'origin', {
- get: function () {
- return null;
- }
- }),
- Object.defineProperty(s.prototype, 'compatMode', {
- get: function () {
- return null;
- }
- }),
- Object.defineProperty(s.prototype, 'characterSet', {
- get: function () {
- return null;
- }
- }),
- Object.defineProperty(s.prototype, 'contentType', {
- get: function () {
- return null;
- }
- }),
- (s.prototype.end = function (e) {
- var t = {};
- return (
- e ? o(e) && ((t = e), (e = this.options.writer)) : (e = this.options.writer),
- e.document(this, e.filterOptions(t))
- );
- }),
- (s.prototype.toString = function (e) {
- return this.options.writer.document(this, this.options.writer.filterOptions(e));
- }),
- (s.prototype.createElement = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.createDocumentFragment = function () {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.createTextNode = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.createComment = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.createCDATASection = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.createProcessingInstruction = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.createAttribute = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.createEntityReference = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.getElementsByTagName = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.importNode = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.createElementNS = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.createAttributeNS = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.getElementsByTagNameNS = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.getElementById = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.adoptNode = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.normalizeDocument = function () {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.renameNode = function (e, t, r) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.getElementsByClassName = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.createEvent = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.createRange = function () {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.createNodeIterator = function (e, t, r) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.createTreeWalker = function (e, t, r) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- s
- );
- })();
- }.call(this);
- },
- {
- './NodeType': 402,
- './Utility': 403,
- './XMLDOMConfiguration': 409,
- './XMLDOMImplementation': 411,
- './XMLNode': 424,
- './XMLStringWriter': 429,
- './XMLStringifier': 430
- }
- ],
- 420: [
- function (E, _, e) {
- !function () {
- var l,
- i,
- s,
- t,
- r,
- o,
- n,
- a,
- c,
- u,
- p,
- f,
- d,
- h,
- m,
- y,
- b,
- g,
- v,
- j,
- w,
- x,
- e,
- T = {}.hasOwnProperty;
- function k(e, t, r) {
- var n;
- (this.name = '?xml'),
- (this.type = l.Document),
- (n = {}),
- (e = e || {}).writer ? x(e.writer) && ((n = e.writer), (e.writer = new y())) : (e.writer = new y()),
- (this.options = e),
- (this.writer = e.writer),
- (this.writerOptions = this.writer.filterOptions(n)),
- (this.stringify = new b(e)),
- (this.onDataCallback = t || function () {}),
- (this.onEndCallback = r || function () {}),
- (this.currentNode = null),
- (this.currentLevel = -1),
- (this.openTags = {}),
- (this.documentStarted = !1),
- (this.documentCompleted = !1),
- (this.root = null);
- }
- (e = E('./Utility')),
- (w = e.isObject),
- (j = e.isFunction),
- (x = e.isPlainObject),
- (v = e.getValue),
- (l = E('./NodeType')),
- (f = E('./XMLDocument')),
- (d = E('./XMLElement')),
- (t = E('./XMLCData')),
- (r = E('./XMLComment')),
- (m = E('./XMLRaw')),
- (g = E('./XMLText')),
- (h = E('./XMLProcessingInstruction')),
- (u = E('./XMLDeclaration')),
- (p = E('./XMLDocType')),
- (o = E('./XMLDTDAttList')),
- (a = E('./XMLDTDEntity')),
- (n = E('./XMLDTDElement')),
- (c = E('./XMLDTDNotation')),
- (s = E('./XMLAttribute')),
- (b = E('./XMLStringifier')),
- (y = E('./XMLStringWriter')),
- (i = E('./WriterState')),
- (_.exports =
- ((k.prototype.createChildNode = function (e) {
- var t, r, n, s, i, o, a, c;
- switch (e.type) {
- case l.CData:
- this.cdata(e.value);
- break;
- case l.Comment:
- this.comment(e.value);
- break;
- case l.Element:
- for (r in ((n = {}), (a = e.attribs))) T.call(a, r) && ((t = a[r]), (n[r] = t.value));
- this.node(e.name, n);
- break;
- case l.Dummy:
- this.dummy();
- break;
- case l.Raw:
- this.raw(e.value);
- break;
- case l.Text:
- this.text(e.value);
- break;
- case l.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 (i = 0, o = (c = e.children).length; i < o; i++)
- (s = c[i]), this.createChildNode(s), s.type === l.Element && this.up();
- return this;
- }),
- (k.prototype.dummy = function () {
- return this;
- }),
- (k.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 = v(e)),
- (t = v((t = null == t ? {} : t))),
- w(t) || ((r = (n = [t, r])[0]), (t = n[1])),
- (this.currentNode = new d(this, e, t)),
- (this.currentNode.children = !1),
- this.currentLevel++,
- (this.openTags[this.currentLevel] = this.currentNode),
- null != r && this.text(r),
- this
- );
- }),
- (k.prototype.element = function (e, t, r) {
- var n, s, i, o, a, c;
- if (this.currentNode && this.currentNode.type === l.DocType) this.dtdElement.apply(this, arguments);
- else if (Array.isArray(e) || w(e) || j(e))
- for (
- o = this.options.noValidation,
- this.options.noValidation = !0,
- (c = new f(this.options).element('TEMP_ROOT')).element(e),
- this.options.noValidation = o,
- s = 0,
- i = (a = c.children).length;
- s < i;
- s++
- )
- (n = a[s]), this.createChildNode(n), n.type === l.Element && this.up();
- else this.node(e, t, r);
- return this;
- }),
- (k.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 = v(e)), w(e)))
- for (r in e) T.call(e, r) && ((n = e[r]), this.attribute(r, n));
- else
- j(t) && (t = t.apply()),
- this.options.keepNullAttributes && null == t
- ? (this.currentNode.attribs[e] = new s(this, e, ''))
- : null != t && (this.currentNode.attribs[e] = new s(this, e, t));
- return this;
- }),
- (k.prototype.text = function (e) {
- return (
- this.openCurrent(),
- (e = new g(this, e)),
- this.onData(
- this.writer.text(e, this.writerOptions, this.currentLevel + 1),
- this.currentLevel + 1
- ),
- this
- );
- }),
- (k.prototype.cdata = function (e) {
- return (
- this.openCurrent(),
- (e = new t(this, e)),
- this.onData(
- this.writer.cdata(e, this.writerOptions, this.currentLevel + 1),
- this.currentLevel + 1
- ),
- this
- );
- }),
- (k.prototype.comment = function (e) {
- return (
- this.openCurrent(),
- (e = new r(this, e)),
- this.onData(
- this.writer.comment(e, this.writerOptions, this.currentLevel + 1),
- this.currentLevel + 1
- ),
- this
- );
- }),
- (k.prototype.raw = function (e) {
- return (
- this.openCurrent(),
- (e = new m(this, e)),
- this.onData(this.writer.raw(e, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1),
- this
- );
- }),
- (k.prototype.instruction = function (e, t) {
- var r, n, s, i;
- if ((this.openCurrent(), null != e && (e = v(e)), null != t && (t = v(t)), Array.isArray(e)))
- for (r = 0, i = e.length; r < i; r++) (n = e[r]), this.instruction(n);
- else if (w(e)) for (n in e) T.call(e, n) && ((s = e[n]), this.instruction(n, s));
- else
- j(t) && (t = t.apply()),
- (t = new h(this, e, t)),
- this.onData(
- this.writer.processingInstruction(t, this.writerOptions, this.currentLevel + 1),
- this.currentLevel + 1
- );
- return this;
- }),
- (k.prototype.declaration = function (e, t, r) {
- if ((this.openCurrent(), this.documentStarted))
- throw new Error('declaration() must be the first node.');
- return (
- (e = new u(this, e, t, r)),
- this.onData(
- this.writer.declaration(e, this.writerOptions, this.currentLevel + 1),
- this.currentLevel + 1
- ),
- this
- );
- }),
- (k.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
- );
- }),
- (k.prototype.dtdElement = function (e, t) {
- return (
- this.openCurrent(),
- (e = new n(this, e, t)),
- this.onData(
- this.writer.dtdElement(e, this.writerOptions, this.currentLevel + 1),
- this.currentLevel + 1
- ),
- this
- );
- }),
- (k.prototype.attList = function (e, t, r, n, s) {
- return (
- this.openCurrent(),
- (e = new o(this, e, t, r, n, s)),
- this.onData(
- this.writer.dtdAttList(e, this.writerOptions, this.currentLevel + 1),
- this.currentLevel + 1
- ),
- this
- );
- }),
- (k.prototype.entity = function (e, t) {
- return (
- this.openCurrent(),
- (e = new a(this, !1, e, t)),
- this.onData(
- this.writer.dtdEntity(e, this.writerOptions, this.currentLevel + 1),
- this.currentLevel + 1
- ),
- this
- );
- }),
- (k.prototype.pEntity = function (e, t) {
- return (
- this.openCurrent(),
- (e = new a(this, !0, e, t)),
- this.onData(
- this.writer.dtdEntity(e, this.writerOptions, this.currentLevel + 1),
- this.currentLevel + 1
- ),
- this
- );
- }),
- (k.prototype.notation = function (e, t) {
- return (
- this.openCurrent(),
- (e = new c(this, e, t)),
- this.onData(
- this.writer.dtdNotation(e, this.writerOptions, this.currentLevel + 1),
- this.currentLevel + 1
- ),
- this
- );
- }),
- (k.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
- );
- }),
- (k.prototype.end = function () {
- for (; 0 <= this.currentLevel; ) this.up();
- return this.onEnd();
- }),
- (k.prototype.openCurrent = function () {
- if (this.currentNode) return (this.currentNode.children = !0), this.openNode(this.currentNode);
- }),
- (k.prototype.openNode = function (e) {
- var t, r, n, s;
- if (!e.isOpen) {
- if (
- (this.root || 0 !== this.currentLevel || e.type !== l.Element || (this.root = e),
- (r = ''),
- e.type === l.Element)
- ) {
- for (n in ((this.writerOptions.state = i.OpenTag),
- (r = this.writer.indent(e, this.writerOptions, this.currentLevel) + '<' + e.name),
- (s = e.attribs)))
- T.call(s, n) &&
- ((t = s[n]), (r += this.writer.attribute(t, this.writerOptions, this.currentLevel)));
- (r +=
- (e.children ? '>' : '/>') + this.writer.endline(e, this.writerOptions, this.currentLevel)),
- (this.writerOptions.state = i.InsideTag);
- } else
- (this.writerOptions.state = i.OpenTag),
- (r =
- this.writer.indent(e, this.writerOptions, this.currentLevel) +
- '<!DOCTYPE ' +
- e.rootNodeName),
- e.pubID && e.sysID
- ? (r += ' PUBLIC "' + e.pubID + '" "' + e.sysID + '"')
- : e.sysID && (r += ' SYSTEM "' + e.sysID + '"'),
- e.children
- ? ((r += ' ['), (this.writerOptions.state = i.InsideTag))
- : ((this.writerOptions.state = i.CloseTag), (r += '>')),
- (r += this.writer.endline(e, this.writerOptions, this.currentLevel));
- return this.onData(r, this.currentLevel), (e.isOpen = !0);
- }
- }),
- (k.prototype.closeNode = function (e) {
- var t;
- if (!e.isClosed)
- return (
- (t = ''),
- (this.writerOptions.state = i.CloseTag),
- (t =
- e.type === l.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 = i.None),
- this.onData(t, this.currentLevel),
- (e.isClosed = !0)
- );
- }),
- (k.prototype.onData = function (e, t) {
- return (this.documentStarted = !0), this.onDataCallback(e, t + 1);
- }),
- (k.prototype.onEnd = function () {
- return (this.documentCompleted = !0), this.onEndCallback();
- }),
- (k.prototype.debugInfo = function (e) {
- return null == e ? '' : 'node: <' + e + '>';
- }),
- (k.prototype.ele = function () {
- return this.element.apply(this, arguments);
- }),
- (k.prototype.nod = function (e, t, r) {
- return this.node(e, t, r);
- }),
- (k.prototype.txt = function (e) {
- return this.text(e);
- }),
- (k.prototype.dat = function (e) {
- return this.cdata(e);
- }),
- (k.prototype.com = function (e) {
- return this.comment(e);
- }),
- (k.prototype.ins = function (e, t) {
- return this.instruction(e, t);
- }),
- (k.prototype.dec = function (e, t, r) {
- return this.declaration(e, t, r);
- }),
- (k.prototype.dtd = function (e, t, r) {
- return this.doctype(e, t, r);
- }),
- (k.prototype.e = function (e, t, r) {
- return this.element(e, t, r);
- }),
- (k.prototype.n = function (e, t, r) {
- return this.node(e, t, r);
- }),
- (k.prototype.t = function (e) {
- return this.text(e);
- }),
- (k.prototype.d = function (e) {
- return this.cdata(e);
- }),
- (k.prototype.c = function (e) {
- return this.comment(e);
- }),
- (k.prototype.r = function (e) {
- return this.raw(e);
- }),
- (k.prototype.i = function (e, t) {
- return this.instruction(e, t);
- }),
- (k.prototype.att = function () {
- return (
- this.currentNode && this.currentNode.type === l.DocType ? this.attList : this.attribute
- ).apply(this, arguments);
- }),
- (k.prototype.a = function () {
- return (
- this.currentNode && this.currentNode.type === l.DocType ? this.attList : this.attribute
- ).apply(this, arguments);
- }),
- (k.prototype.ent = function (e, t) {
- return this.entity(e, t);
- }),
- (k.prototype.pent = function (e, t) {
- return this.pEntity(e, t);
- }),
- (k.prototype.not = function (e, t) {
- return this.notation(e, t);
- }),
- k));
- }.call(this);
- },
- {
- './NodeType': 402,
- './Utility': 403,
- './WriterState': 404,
- './XMLAttribute': 405,
- './XMLCData': 406,
- './XMLComment': 408,
- './XMLDTDAttList': 413,
- './XMLDTDElement': 414,
- './XMLDTDEntity': 415,
- './XMLDTDNotation': 416,
- './XMLDeclaration': 417,
- './XMLDocType': 418,
- './XMLDocument': 419,
- './XMLElement': 422,
- './XMLProcessingInstruction': 426,
- './XMLRaw': 427,
- './XMLStringWriter': 429,
- './XMLStringifier': 430,
- './XMLText': 431
- }
- ],
- 421: [
- function (e, t, r) {
- !function () {
- var i = {}.hasOwnProperty,
- o = e('./XMLNode'),
- a = e('./NodeType');
- t.exports = (function () {
- var e,
- t = s,
- r = o;
- for (e in r) i.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function s(e) {
- s.__super__.constructor.call(this, e), (this.type = a.Dummy);
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- (s.prototype.clone = function () {
- return Object.create(this);
- }),
- (s.prototype.toString = function (e) {
- return '';
- }),
- s
- );
- })();
- }.call(this);
- },
- { './NodeType': 402, './XMLNode': 424 }
- ],
- 422: [
- function (t, r, e) {
- !function () {
- var s = {}.hasOwnProperty,
- e = t('./Utility'),
- i = e.isObject,
- o = e.isFunction,
- c = e.getValue,
- l = t('./XMLNode'),
- u = t('./NodeType'),
- p = t('./XMLAttribute'),
- f = t('./XMLNamedNodeMap');
- r.exports = (function () {
- var e,
- t = a,
- r = l;
- for (e in r) s.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function a(e, t, r) {
- var n, s, i, o;
- if ((a.__super__.constructor.call(this, e), null == t))
- throw new Error('Missing element name. ' + this.debugInfo());
- if (
- ((this.name = this.stringify.name(t)),
- (this.type = u.Element),
- (this.attribs = {}),
- (this.schemaTypeInfo = null) != r && this.attribute(r),
- e.type === u.Document &&
- ((this.isRoot = !0), ((this.documentObject = e).rootObject = this), e.children))
- )
- for (s = 0, i = (o = e.children).length; s < i; s++)
- if ((n = o[s]).type === u.DocType) {
- n.name = this.name;
- break;
- }
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- Object.defineProperty(a.prototype, 'tagName', {
- get: function () {
- return this.name;
- }
- }),
- Object.defineProperty(a.prototype, 'namespaceURI', {
- get: function () {
- return '';
- }
- }),
- Object.defineProperty(a.prototype, 'prefix', {
- get: function () {
- return '';
- }
- }),
- Object.defineProperty(a.prototype, 'localName', {
- get: function () {
- return this.name;
- }
- }),
- Object.defineProperty(a.prototype, 'id', {
- get: function () {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }
- }),
- Object.defineProperty(a.prototype, 'className', {
- get: function () {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }
- }),
- Object.defineProperty(a.prototype, 'classList', {
- get: function () {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }
- }),
- Object.defineProperty(a.prototype, 'attributes', {
- get: function () {
- return (
- (this.attributeMap && this.attributeMap.nodes) || (this.attributeMap = new f(this.attribs)),
- this.attributeMap
- );
- }
- }),
- (a.prototype.clone = function () {
- var e,
- t,
- r,
- n = Object.create(this);
- for (t in (n.isRoot && (n.documentObject = null), (n.attribs = {}), (r = this.attribs)))
- s.call(r, t) && ((e = r[t]), (n.attribs[t] = e.clone()));
- return (
- (n.children = []),
- this.children.forEach(function (e) {
- e = e.clone();
- return (e.parent = n).children.push(e);
- }),
- n
- );
- }),
- (a.prototype.attribute = function (e, t) {
- var r, n;
- if ((null != e && (e = c(e)), i(e)))
- for (r in e) s.call(e, r) && ((n = e[r]), this.attribute(r, n));
- else
- o(t) && (t = t.apply()),
- this.options.keepNullAttributes && null == t
- ? (this.attribs[e] = new p(this, e, ''))
- : null != t && (this.attribs[e] = new p(this, e, t));
- return this;
- }),
- (a.prototype.removeAttribute = function (e) {
- var t, r, n;
- if (null == e) throw new Error('Missing attribute name. ' + this.debugInfo());
- if (((e = c(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;
- }),
- (a.prototype.toString = function (e) {
- return this.options.writer.element(this, this.options.writer.filterOptions(e));
- }),
- (a.prototype.att = function (e, t) {
- return this.attribute(e, t);
- }),
- (a.prototype.a = function (e, t) {
- return this.attribute(e, t);
- }),
- (a.prototype.getAttribute = function (e) {
- return this.attribs.hasOwnProperty(e) ? this.attribs[e].value : null;
- }),
- (a.prototype.setAttribute = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (a.prototype.getAttributeNode = function (e) {
- return this.attribs.hasOwnProperty(e) ? this.attribs[e] : null;
- }),
- (a.prototype.setAttributeNode = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (a.prototype.removeAttributeNode = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (a.prototype.getElementsByTagName = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (a.prototype.getAttributeNS = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (a.prototype.setAttributeNS = function (e, t, r) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (a.prototype.removeAttributeNS = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (a.prototype.getAttributeNodeNS = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (a.prototype.setAttributeNodeNS = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (a.prototype.getElementsByTagNameNS = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (a.prototype.hasAttribute = function (e) {
- return this.attribs.hasOwnProperty(e);
- }),
- (a.prototype.hasAttributeNS = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (a.prototype.setIdAttribute = function (e, t) {
- return this.attribs.hasOwnProperty(e) ? this.attribs[e].isId : t;
- }),
- (a.prototype.setIdAttributeNS = function (e, t, r) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (a.prototype.setIdAttributeNode = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (a.prototype.getElementsByTagName = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (a.prototype.getElementsByTagNameNS = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (a.prototype.getElementsByClassName = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (a.prototype.isEqualNode = function (e) {
- var t, r, n;
- if (!a.__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 (t = r = 0, n = this.attribs.length - 1; 0 <= n ? r <= n : n <= r; t = 0 <= n ? ++r : --r)
- if (!this.attribs[t].isEqualNode(e.attribs[t])) return !1;
- return !0;
- }),
- a
- );
- })();
- }.call(this);
- },
- { './NodeType': 402, './Utility': 403, './XMLAttribute': 405, './XMLNamedNodeMap': 423, './XMLNode': 424 }
- ],
- 423: [
- function (e, t, r) {
- !function () {
- function e(e) {
- this.nodes = e;
- }
- t.exports =
- (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 = this.nodes[e.nodeName];
- return (this.nodes[e.nodeName] = e), t || null;
- }),
- (e.prototype.removeNamedItem = function (e) {
- var t = this.nodes[e];
- return 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);
- },
- {}
- ],
- 424: [
- function (v, j, e) {
- !function () {
- var r,
- p,
- t,
- n,
- s,
- f,
- i,
- o,
- a,
- c,
- l,
- u,
- d,
- h,
- m,
- y,
- e,
- b = {}.hasOwnProperty;
- function g(e) {
- (this.parent = e),
- this.parent && ((this.options = this.parent.options), (this.stringify = this.parent.stringify)),
- (this.value = null),
- (this.children = []),
- (this.baseURI = null),
- o ||
- ((o = v('./XMLElement')),
- (t = v('./XMLCData')),
- (n = v('./XMLComment')),
- (s = v('./XMLDeclaration')),
- (f = v('./XMLDocType')),
- (l = v('./XMLRaw')),
- (u = v('./XMLText')),
- (c = v('./XMLProcessingInstruction')),
- (i = v('./XMLDummy')),
- (p = v('./NodeType')),
- (a = v('./XMLNodeList')),
- v('./XMLNamedNodeMap'),
- (r = v('./DocumentPosition')));
- }
- (e = v('./Utility')),
- (y = e.isObject),
- (m = e.isFunction),
- (h = e.isEmpty),
- (d = e.getValue),
- (r = a = p = i = c = u = l = f = s = n = t = o = null),
- (j.exports =
- (Object.defineProperty(g.prototype, 'nodeName', {
- get: function () {
- return this.name;
- }
- }),
- Object.defineProperty(g.prototype, 'nodeType', {
- get: function () {
- return this.type;
- }
- }),
- Object.defineProperty(g.prototype, 'nodeValue', {
- get: function () {
- return this.value;
- }
- }),
- Object.defineProperty(g.prototype, 'parentNode', {
- get: function () {
- return this.parent;
- }
- }),
- Object.defineProperty(g.prototype, 'childNodes', {
- get: function () {
- return (
- (this.childNodeList && this.childNodeList.nodes) || (this.childNodeList = new a(this.children)),
- this.childNodeList
- );
- }
- }),
- Object.defineProperty(g.prototype, 'firstChild', {
- get: function () {
- return this.children[0] || null;
- }
- }),
- Object.defineProperty(g.prototype, 'lastChild', {
- get: function () {
- return this.children[this.children.length - 1] || null;
- }
- }),
- Object.defineProperty(g.prototype, 'previousSibling', {
- get: function () {
- var e = this.parent.children.indexOf(this);
- return this.parent.children[e - 1] || null;
- }
- }),
- Object.defineProperty(g.prototype, 'nextSibling', {
- get: function () {
- var e = this.parent.children.indexOf(this);
- return this.parent.children[e + 1] || null;
- }
- }),
- Object.defineProperty(g.prototype, 'ownerDocument', {
- get: function () {
- return this.document() || null;
- }
- }),
- Object.defineProperty(g.prototype, 'textContent', {
- get: function () {
- var e, t, r, n, s;
- if (this.nodeType !== p.Element && this.nodeType !== p.DocumentFragment) return null;
- for (s = '', t = 0, r = (n = this.children).length; t < r; t++)
- (e = n[t]).textContent && (s += e.textContent);
- return s;
- },
- set: function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }
- }),
- (g.prototype.setParent = function (e) {
- var t, r, n, s, i;
- for (
- (this.parent = e) && ((this.options = e.options), (this.stringify = e.stringify)),
- i = [],
- r = 0,
- n = (s = this.children).length;
- r < n;
- r++
- )
- (t = s[r]), i.push(t.setParent(this));
- return i;
- }),
- (g.prototype.element = function (e, t, r) {
- var n,
- s,
- i,
- o,
- a,
- c,
- l,
- u,
- p,
- f = null;
- if (
- (null === t && null == r && ((t = (u = [{}, null])[0]), (r = u[1])),
- (t = d((t = null == t ? {} : t))),
- y(t) || ((r = (u = [t, r])[0]), (t = u[1])),
- null != e && (e = d(e)),
- Array.isArray(e))
- )
- for (i = 0, c = e.length; i < c; i++) (s = e[i]), (f = this.element(s));
- else if (m(e)) f = this.element(e.apply());
- else if (y(e)) {
- for (a in e)
- if (b.call(e, a))
- if (
- ((p = e[a]),
- m(p) && (p = p.apply()),
- !this.options.ignoreDecorators &&
- this.stringify.convertAttKey &&
- 0 === a.indexOf(this.stringify.convertAttKey))
- )
- f = this.attribute(a.substr(this.stringify.convertAttKey.length), p);
- else if (!this.options.separateArrayItems && Array.isArray(p) && h(p)) f = this.dummy();
- else if (y(p) && h(p)) f = this.element(a);
- else if (this.options.keepNullNodes || null != p)
- if (!this.options.separateArrayItems && Array.isArray(p))
- for (o = 0, l = p.length; o < l; o++)
- (s = p[o]), ((n = {})[a] = s), (f = this.element(n));
- else
- y(p)
- ? !this.options.ignoreDecorators &&
- this.stringify.convertTextKey &&
- 0 === a.indexOf(this.stringify.convertTextKey)
- ? (f = this.element(p))
- : (f = this.element(a)).element(p)
- : (f = this.element(a, p));
- else f = this.dummy();
- } else
- f =
- 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 == f)
- throw new Error('Could not create any elements with: ' + e + '. ' + this.debugInfo());
- return f;
- }),
- (g.prototype.insertBefore = function (e, t, r) {
- var n, s, i, o;
- if (null != e && e.type)
- return (
- (i = t),
- (s = e).setParent(this),
- i
- ? ((n = children.indexOf(i)),
- (o = children.splice(n)),
- children.push(s),
- Array.prototype.push.apply(children, o))
- : children.push(s),
- s
- );
- if (this.isRoot) throw new Error('Cannot insert elements at root level. ' + this.debugInfo(e));
- return (
- (n = this.parent.children.indexOf(this)),
- (o = this.parent.children.splice(n)),
- (i = this.parent.element(e, t, r)),
- Array.prototype.push.apply(this.parent.children, o),
- i
- );
- }),
- (g.prototype.insertAfter = function (e, t, r) {
- var n;
- if (this.isRoot) throw new Error('Cannot insert elements at root level. ' + this.debugInfo(e));
- return (
- (n = this.parent.children.indexOf(this)),
- (n = this.parent.children.splice(n + 1)),
- (e = this.parent.element(e, t, r)),
- Array.prototype.push.apply(this.parent.children, n),
- e
- );
- }),
- (g.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
- );
- }),
- (g.prototype.node = function (e, t, r) {
- var n;
- return (
- null != e && (e = d(e)),
- (t = d((t = t || {}))),
- y(t) || ((r = (n = [t, r])[0]), (t = n[1])),
- (n = new o(this, e, t)),
- null != r && n.text(r),
- this.children.push(n),
- n
- );
- }),
- (g.prototype.text = function (e) {
- return y(e) && this.element(e), (e = new u(this, e)), this.children.push(e), this;
- }),
- (g.prototype.cdata = function (e) {
- e = new t(this, e);
- return this.children.push(e), this;
- }),
- (g.prototype.comment = function (e) {
- e = new n(this, e);
- return this.children.push(e), this;
- }),
- (g.prototype.commentBefore = function (e) {
- var t = this.parent.children.indexOf(this),
- t = this.parent.children.splice(t);
- this.parent.comment(e);
- return Array.prototype.push.apply(this.parent.children, t), this;
- }),
- (g.prototype.commentAfter = function (e) {
- var t = this.parent.children.indexOf(this),
- t = this.parent.children.splice(t + 1);
- this.parent.comment(e);
- return Array.prototype.push.apply(this.parent.children, t), this;
- }),
- (g.prototype.raw = function (e) {
- e = new l(this, e);
- return this.children.push(e), this;
- }),
- (g.prototype.dummy = function () {
- return new i(this);
- }),
- (g.prototype.instruction = function (e, t) {
- var r, n, s, i;
- if ((null != e && (e = d(e)), null != t && (t = d(t)), Array.isArray(e)))
- for (s = 0, i = e.length; s < i; s++) (r = e[s]), this.instruction(r);
- else if (y(e)) for (r in e) b.call(e, r) && ((n = e[r]), this.instruction(r, n));
- else m(t) && (t = t.apply()), (t = new c(this, e, t)), this.children.push(t);
- return this;
- }),
- (g.prototype.instructionBefore = function (e, t) {
- var r = this.parent.children.indexOf(this),
- r = this.parent.children.splice(r);
- this.parent.instruction(e, t);
- return Array.prototype.push.apply(this.parent.children, r), this;
- }),
- (g.prototype.instructionAfter = function (e, t) {
- var r = this.parent.children.indexOf(this),
- r = this.parent.children.splice(r + 1);
- this.parent.instruction(e, t);
- return Array.prototype.push.apply(this.parent.children, r), this;
- }),
- (g.prototype.declaration = function (e, t, r) {
- var n = this.document(),
- e = new s(n, e, t, r);
- return (
- 0 !== n.children.length && n.children[0].type === p.Declaration
- ? (n.children[0] = e)
- : n.children.unshift(e),
- n.root() || n
- );
- }),
- (g.prototype.dtd = function (e, t) {
- for (
- var r,
- n,
- s,
- i,
- o = this.document(),
- a = new f(o, e, t),
- c = o.children,
- l = (r = 0),
- u = c.length;
- r < u;
- l = ++r
- )
- if (c[l].type === p.DocType) return (o.children[l] = a);
- for (l = n = 0, s = (i = o.children).length; n < s; l = ++n)
- if (i[l].isRoot) return o.children.splice(l, 0, a), a;
- return o.children.push(a), a;
- }),
- (g.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;
- }),
- (g.prototype.root = function () {
- for (var e = this; e; ) {
- if (e.type === p.Document) return e.rootObject;
- if (e.isRoot) return e;
- e = e.parent;
- }
- }),
- (g.prototype.document = function () {
- for (var e = this; e; ) {
- if (e.type === p.Document) return e;
- e = e.parent;
- }
- }),
- (g.prototype.end = function (e) {
- return this.document().end(e);
- }),
- (g.prototype.prev = function () {
- var e = this.parent.children.indexOf(this);
- if (e < 1) throw new Error('Already at the first node. ' + this.debugInfo());
- return this.parent.children[e - 1];
- }),
- (g.prototype.next = function () {
- var e = this.parent.children.indexOf(this);
- if (-1 === e || e === this.parent.children.length - 1)
- throw new Error('Already at the last node. ' + this.debugInfo());
- return this.parent.children[e + 1];
- }),
- (g.prototype.importDocument = function (e) {
- e = e.root().clone();
- return (e.parent = this), (e.isRoot = !1), this.children.push(e), this;
- }),
- (g.prototype.debugInfo = function (e) {
- var t;
- return null != (e = e || this.name) || (null != (t = this.parent) && t.name)
- ? null == e
- ? 'parent: <' + this.parent.name + '>'
- : null != (t = this.parent) && t.name
- ? 'node: <' + e + '>, parent: <' + this.parent.name + '>'
- : 'node: <' + e + '>'
- : '';
- }),
- (g.prototype.ele = function (e, t, r) {
- return this.element(e, t, r);
- }),
- (g.prototype.nod = function (e, t, r) {
- return this.node(e, t, r);
- }),
- (g.prototype.txt = function (e) {
- return this.text(e);
- }),
- (g.prototype.dat = function (e) {
- return this.cdata(e);
- }),
- (g.prototype.com = function (e) {
- return this.comment(e);
- }),
- (g.prototype.ins = function (e, t) {
- return this.instruction(e, t);
- }),
- (g.prototype.doc = function () {
- return this.document();
- }),
- (g.prototype.dec = function (e, t, r) {
- return this.declaration(e, t, r);
- }),
- (g.prototype.e = function (e, t, r) {
- return this.element(e, t, r);
- }),
- (g.prototype.n = function (e, t, r) {
- return this.node(e, t, r);
- }),
- (g.prototype.t = function (e) {
- return this.text(e);
- }),
- (g.prototype.d = function (e) {
- return this.cdata(e);
- }),
- (g.prototype.c = function (e) {
- return this.comment(e);
- }),
- (g.prototype.r = function (e) {
- return this.raw(e);
- }),
- (g.prototype.i = function (e, t) {
- return this.instruction(e, t);
- }),
- (g.prototype.u = function () {
- return this.up();
- }),
- (g.prototype.importXMLBuilder = function (e) {
- return this.importDocument(e);
- }),
- (g.prototype.replaceChild = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (g.prototype.removeChild = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (g.prototype.appendChild = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (g.prototype.hasChildNodes = function () {
- return 0 !== this.children.length;
- }),
- (g.prototype.cloneNode = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (g.prototype.normalize = function () {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (g.prototype.isSupported = function (e, t) {
- return !0;
- }),
- (g.prototype.hasAttributes = function () {
- return 0 !== this.attribs.length;
- }),
- (g.prototype.compareDocumentPosition = function (e) {
- var t;
- return this === e
- ? 0
- : this.document() !== e.document()
- ? ((t = r.Disconnected | r.ImplementationSpecific),
- Math.random() < 0.5 ? (t |= r.Preceding) : (t |= r.Following),
- t)
- : this.isAncestor(e)
- ? r.Contains | r.Preceding
- : this.isDescendant(e)
- ? r.Contains | r.Following
- : this.isPreceding(e)
- ? r.Preceding
- : r.Following;
- }),
- (g.prototype.isSameNode = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (g.prototype.lookupPrefix = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (g.prototype.isDefaultNamespace = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (g.prototype.lookupNamespaceURI = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (g.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 : n <= r; t = 0 <= n ? ++r : --r)
- if (!this.children[t].isEqualNode(e.children[t])) return !1;
- return !0;
- }),
- (g.prototype.getFeature = function (e, t) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (g.prototype.setUserData = function (e, t, r) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (g.prototype.getUserData = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (g.prototype.contains = function (e) {
- return !!e && (e === this || this.isDescendant(e));
- }),
- (g.prototype.isDescendant = function (e) {
- for (var t, r = this.children, n = 0, s = r.length; n < s; n++) {
- if (e === (t = r[n])) return !0;
- if (t.isDescendant(e)) return !0;
- }
- return !1;
- }),
- (g.prototype.isAncestor = function (e) {
- return e.isDescendant(this);
- }),
- (g.prototype.isPreceding = function (e) {
- var e = this.treePosition(e),
- t = this.treePosition(this);
- return -1 !== e && -1 !== t && e < t;
- }),
- (g.prototype.isFollowing = function (e) {
- var e = this.treePosition(e),
- t = this.treePosition(this);
- return -1 !== e && -1 !== t && t < e;
- }),
- (g.prototype.treePosition = function (t) {
- var r = 0,
- n = !1;
- return (
- this.foreachTreeNode(this.document(), function (e) {
- if ((r++, !n && e === t)) return (n = !0);
- }),
- n ? r : -1
- );
- }),
- (g.prototype.foreachTreeNode = function (e, t) {
- for (var r, n, s, i = 0, o = (n = (e = e || this.document()).children).length; i < o; i++) {
- if ((s = t((r = n[i])))) return s;
- if ((s = this.foreachTreeNode(r, t))) return s;
- }
- }),
- g));
- }.call(this);
- },
- {
- './DocumentPosition': 401,
- './NodeType': 402,
- './Utility': 403,
- './XMLCData': 406,
- './XMLComment': 408,
- './XMLDeclaration': 417,
- './XMLDocType': 418,
- './XMLDummy': 421,
- './XMLElement': 422,
- './XMLNamedNodeMap': 423,
- './XMLNodeList': 425,
- './XMLProcessingInstruction': 426,
- './XMLRaw': 427,
- './XMLText': 431
- }
- ],
- 425: [
- function (e, t, r) {
- !function () {
- function e(e) {
- this.nodes = e;
- }
- t.exports =
- (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);
- },
- {}
- ],
- 426: [
- function (e, t, r) {
- !function () {
- var i = {}.hasOwnProperty,
- o = e('./NodeType'),
- a = e('./XMLCharacterData');
- t.exports = (function () {
- var e,
- t = s,
- r = a;
- for (e in r) i.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function s(e, t, r) {
- if ((s.__super__.constructor.call(this, e), null == t))
- throw new Error('Missing instruction target. ' + this.debugInfo());
- (this.type = o.ProcessingInstruction),
- (this.target = this.stringify.insTarget(t)),
- (this.name = this.target),
- r && (this.value = this.stringify.insValue(r));
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- (s.prototype.clone = function () {
- return Object.create(this);
- }),
- (s.prototype.toString = function (e) {
- return this.options.writer.processingInstruction(this, this.options.writer.filterOptions(e));
- }),
- (s.prototype.isEqualNode = function (e) {
- return !!s.__super__.isEqualNode.apply(this, arguments).isEqualNode(e) && e.target === this.target;
- }),
- s
- );
- })();
- }.call(this);
- },
- { './NodeType': 402, './XMLCharacterData': 407 }
- ],
- 427: [
- function (e, t, r) {
- !function () {
- var i = {}.hasOwnProperty,
- o = e('./NodeType'),
- a = e('./XMLNode');
- t.exports = (function () {
- var e,
- t = s,
- r = a;
- for (e in r) i.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function s(e, t) {
- if ((s.__super__.constructor.call(this, e), null == t))
- throw new Error('Missing raw text. ' + this.debugInfo());
- (this.type = o.Raw), (this.value = this.stringify.raw(t));
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- (s.prototype.clone = function () {
- return Object.create(this);
- }),
- (s.prototype.toString = function (e) {
- return this.options.writer.raw(this, this.options.writer.filterOptions(e));
- }),
- s
- );
- })();
- }.call(this);
- },
- { './NodeType': 402, './XMLNode': 424 }
- ],
- 428: [
- function (e, t, r) {
- !function () {
- var f = {}.hasOwnProperty,
- d = e('./NodeType'),
- i = e('./XMLWriterBase'),
- h = e('./WriterState');
- t.exports = (function () {
- var e,
- t = s,
- r = i;
- for (e in r) f.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function s(e, t) {
- (this.stream = e), s.__super__.constructor.call(this, t);
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- (s.prototype.endline = function (e, t, r) {
- return e.isLastRootNode && t.state === h.CloseTag ? '' : s.__super__.endline.call(this, e, t, r);
- }),
- (s.prototype.document = function (e, t) {
- for (var r, n, s, i, o, a, c = e.children, l = (n = 0), u = c.length; n < u; l = ++n)
- (r = c[l]).isLastRootNode = l === e.children.length - 1;
- for (t = this.filterOptions(t), a = [], s = 0, i = (o = e.children).length; s < i; s++)
- (r = o[s]), a.push(this.writeChildNode(r, t, 0));
- return a;
- }),
- (s.prototype.attribute = function (e, t, r) {
- return this.stream.write(s.__super__.attribute.call(this, e, t, r));
- }),
- (s.prototype.cdata = function (e, t, r) {
- return this.stream.write(s.__super__.cdata.call(this, e, t, r));
- }),
- (s.prototype.comment = function (e, t, r) {
- return this.stream.write(s.__super__.comment.call(this, e, t, r));
- }),
- (s.prototype.declaration = function (e, t, r) {
- return this.stream.write(s.__super__.declaration.call(this, e, t, r));
- }),
- (s.prototype.docType = function (e, t, r) {
- var n, s, i, o;
- if (
- (this.openNode(e, t, (r = r || 0)),
- (t.state = h.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 + '"'),
- 0 < e.children.length)
- ) {
- for (
- this.stream.write(' ['),
- this.stream.write(this.endline(e, t, r)),
- t.state = h.InsideTag,
- s = 0,
- i = (o = e.children).length;
- s < i;
- s++
- )
- (n = o[s]), this.writeChildNode(n, t, r + 1);
- (t.state = h.CloseTag), this.stream.write(']');
- }
- return (
- (t.state = h.CloseTag),
- this.stream.write(t.spaceBeforeSlash + '>'),
- this.stream.write(this.endline(e, t, r)),
- (t.state = h.None),
- this.closeNode(e, t, r)
- );
- }),
- (s.prototype.element = function (e, t, r) {
- var n, s, i, o, a, c, l, u, p;
- for (l in (this.openNode(e, t, (r = r || 0)),
- (t.state = h.OpenTag),
- this.stream.write(this.indent(e, t, r) + '<' + e.name),
- (u = e.attribs)))
- f.call(u, l) && ((n = u[l]), this.attribute(n, t, r));
- if (
- ((o = 0 === (i = e.children.length) ? null : e.children[0]),
- 0 === i ||
- e.children.every(function (e) {
- return (e.type === d.Text || e.type === d.Raw) && '' === e.value;
- }))
- )
- t.allowEmpty
- ? (this.stream.write('>'), (t.state = h.CloseTag), this.stream.write('</' + e.name + '>'))
- : ((t.state = h.CloseTag), this.stream.write(t.spaceBeforeSlash + '/>'));
- else if (!t.pretty || 1 !== i || (o.type !== d.Text && o.type !== d.Raw) || null == o.value) {
- for (
- this.stream.write('>' + this.endline(e, t, r)),
- t.state = h.InsideTag,
- a = 0,
- c = (p = e.children).length;
- a < c;
- a++
- )
- (s = p[a]), this.writeChildNode(s, t, r + 1);
- (t.state = h.CloseTag), this.stream.write(this.indent(e, t, r) + '</' + e.name + '>');
- } else
- this.stream.write('>'),
- (t.state = h.InsideTag),
- t.suppressPrettyCount++,
- this.writeChildNode(o, t, r + 1),
- t.suppressPrettyCount--,
- (t.state = h.CloseTag),
- this.stream.write('</' + e.name + '>');
- return this.stream.write(this.endline(e, t, r)), (t.state = h.None), this.closeNode(e, t, r);
- }),
- (s.prototype.processingInstruction = function (e, t, r) {
- return this.stream.write(s.__super__.processingInstruction.call(this, e, t, r));
- }),
- (s.prototype.raw = function (e, t, r) {
- return this.stream.write(s.__super__.raw.call(this, e, t, r));
- }),
- (s.prototype.text = function (e, t, r) {
- return this.stream.write(s.__super__.text.call(this, e, t, r));
- }),
- (s.prototype.dtdAttList = function (e, t, r) {
- return this.stream.write(s.__super__.dtdAttList.call(this, e, t, r));
- }),
- (s.prototype.dtdElement = function (e, t, r) {
- return this.stream.write(s.__super__.dtdElement.call(this, e, t, r));
- }),
- (s.prototype.dtdEntity = function (e, t, r) {
- return this.stream.write(s.__super__.dtdEntity.call(this, e, t, r));
- }),
- (s.prototype.dtdNotation = function (e, t, r) {
- return this.stream.write(s.__super__.dtdNotation.call(this, e, t, r));
- }),
- s
- );
- })();
- }.call(this);
- },
- { './NodeType': 402, './WriterState': 404, './XMLWriterBase': 432 }
- ],
- 429: [
- function (e, t, r) {
- !function () {
- var i = {}.hasOwnProperty,
- o = e('./XMLWriterBase');
- t.exports = (function () {
- var e,
- t = s,
- r = o;
- for (e in r) i.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function s(e) {
- s.__super__.constructor.call(this, e);
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- (s.prototype.document = function (e, t) {
- var r, n, s, i, o;
- for (t = this.filterOptions(t), i = '', n = 0, s = (o = e.children).length; n < s; n++)
- (r = o[n]), (i += this.writeChildNode(r, t, 0));
- return (i =
- t.pretty && i.slice(-t.newline.length) === t.newline ? i.slice(0, -t.newline.length) : i);
- }),
- s
- );
- })();
- }.call(this);
- },
- { './XMLWriterBase': 432 }
- ],
- 430: [
- function (e, t, r) {
- !function () {
- function s(e, t) {
- return function () {
- return e.apply(t, arguments);
- };
- }
- var i = {}.hasOwnProperty;
- function e(e) {
- var t, r, n;
- for (t in ((this.assertLegalName = s(this.assertLegalName, this)),
- (this.assertLegalChar = s(this.assertLegalChar, this)),
- (this.options = e = e || {}),
- this.options.version || (this.options.version = '1.0'),
- (r = e.stringify || {})))
- i.call(r, t) && ((n = r[t]), (this[t] = n));
- }
- t.exports =
- ((e.prototype.name = function (e) {
- return this.options.noValidation ? e : this.assertLegalName('' + e || '');
- }),
- (e.prototype.text = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar(this.textEscape('' + e || ''));
- }),
- (e.prototype.cdata = function (e) {
- return this.options.noValidation
- ? e
- : ((e = (e = '' + e || '').replace(']]>', ']]]]><![CDATA[>')), this.assertLegalChar(e));
- }),
- (e.prototype.comment = function (e) {
- if (this.options.noValidation) return e;
- if ((e = '' + e || '').match(/--/)) throw new Error('Comment text cannot contain double-hypen: ' + e);
- return this.assertLegalChar(e);
- }),
- (e.prototype.raw = function (e) {
- return this.options.noValidation ? e : '' + e || '';
- }),
- (e.prototype.attValue = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar(this.attEscape((e = '' + e || '')));
- }),
- (e.prototype.insTarget = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar('' + e || '');
- }),
- (e.prototype.insValue = function (e) {
- if (this.options.noValidation) return e;
- if ((e = '' + e || '').match(/\?>/)) throw new Error('Invalid processing instruction value: ' + e);
- return this.assertLegalChar(e);
- }),
- (e.prototype.xmlVersion = function (e) {
- if (this.options.noValidation) return e;
- if ((e = '' + e || '').match(/1\.[0-9]+/)) return e;
- throw new Error('Invalid version number: ' + e);
- }),
- (e.prototype.xmlEncoding = function (e) {
- if (this.options.noValidation) return e;
- if ((e = '' + e || '').match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/)) return this.assertLegalChar(e);
- throw new Error('Invalid encoding: ' + e);
- }),
- (e.prototype.xmlStandalone = function (e) {
- return this.options.noValidation ? e : e ? 'yes' : 'no';
- }),
- (e.prototype.dtdPubID = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar('' + e || '');
- }),
- (e.prototype.dtdSysID = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar('' + e || '');
- }),
- (e.prototype.dtdElementValue = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar('' + e || '');
- }),
- (e.prototype.dtdAttType = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar('' + e || '');
- }),
- (e.prototype.dtdAttDefault = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar('' + e || '');
- }),
- (e.prototype.dtdEntityValue = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar('' + e || '');
- }),
- (e.prototype.dtdNData = function (e) {
- return this.options.noValidation ? e : this.assertLegalChar('' + e || '');
- }),
- (e.prototype.convertAttKey = '@'),
- (e.prototype.convertPIKey = '?'),
- (e.prototype.convertTextKey = '#text'),
- (e.prototype.convertCDataKey = '#cdata'),
- (e.prototype.convertCommentKey = '#comment'),
- (e.prototype.convertRawKey = '#raw'),
- (e.prototype.assertLegalChar = function (e) {
- var t;
- if (this.options.noValidation) return e;
- if ('1.0' === this.options.version) {
- if (
- (t = e.match(
- /[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/
- ))
- )
- throw new Error('Invalid character in string: ' + e + ' at index ' + t.index);
- } else if (
- '1.1' === this.options.version &&
- (t = e.match(
- /[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/
- ))
- )
- throw new Error('Invalid character in string: ' + e + ' at index ' + t.index);
- return e;
- }),
- (e.prototype.assertLegalName = function (e) {
- if (this.options.noValidation) return e;
- if (
- (this.assertLegalChar(e),
- e.match(
- /^([: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])*$/
- ))
- )
- return e;
- throw new Error('Invalid character in name');
- }),
- (e.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, '
'));
- }),
- (e.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, '
'));
- }),
- e);
- }.call(this);
- },
- {}
- ],
- 431: [
- function (e, t, r) {
- !function () {
- var i = {}.hasOwnProperty,
- o = e('./NodeType'),
- a = e('./XMLCharacterData');
- t.exports = (function () {
- var e,
- t = s,
- r = a;
- for (e in r) i.call(r, e) && (t[e] = r[e]);
- function n() {
- this.constructor = t;
- }
- function s(e, t) {
- if ((s.__super__.constructor.call(this, e), null == t))
- throw new Error('Missing element text. ' + this.debugInfo());
- (this.name = '#text'), (this.type = o.Text), (this.value = this.stringify.text(t));
- }
- return (
- (n.prototype = r.prototype),
- (t.prototype = new n()),
- (t.__super__ = r.prototype),
- Object.defineProperty(s.prototype, 'isElementContentWhitespace', {
- get: function () {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }
- }),
- Object.defineProperty(s.prototype, 'wholeText', {
- get: function () {
- for (var e, t = '', r = this.previousSibling; r; ) (t = r.data + t), (r = r.previousSibling);
- for (t += this.data, e = this.nextSibling; e; ) (t += e.data), (e = e.nextSibling);
- return t;
- }
- }),
- (s.prototype.clone = function () {
- return Object.create(this);
- }),
- (s.prototype.toString = function (e) {
- return this.options.writer.text(this, this.options.writer.filterOptions(e));
- }),
- (s.prototype.splitText = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- (s.prototype.replaceWholeText = function (e) {
- throw new Error('This DOM method is not implemented.' + this.debugInfo());
- }),
- s
- );
- })();
- }.call(this);
- },
- { './NodeType': 402, './XMLCharacterData': 407 }
- ],
- 432: [
- function (t, r, e) {
- !function () {
- var b,
- g,
- n,
- v = {}.hasOwnProperty;
- function e(e) {
- var t, r, n;
- for (t in (r = (this.options = e = e || {}).writer || {}))
- v.call(r, t) && ((n = r[t]), (this['_' + t] = this[t]), (this[t] = n));
- }
- (n = t('./Utility').assign),
- (b = t('./NodeType')),
- t('./XMLDeclaration'),
- t('./XMLDocType'),
- t('./XMLCData'),
- t('./XMLComment'),
- t('./XMLElement'),
- t('./XMLRaw'),
- t('./XMLText'),
- t('./XMLProcessingInstruction'),
- t('./XMLDummy'),
- t('./XMLDTDAttList'),
- t('./XMLDTDElement'),
- t('./XMLDTDEntity'),
- t('./XMLDTDNotation'),
- (g = t('./WriterState')),
- (r.exports =
- ((e.prototype.filterOptions = function (e) {
- var t, r;
- return (
- (e = n({}, this.options, (e = e || {}))),
- ((t = { writer: this }).pretty = e.pretty || !1),
- (t.allowEmpty = e.allowEmpty || !1),
- (t.indent = null != (r = e.indent) ? r : ' '),
- (t.newline = null != (r = e.newline) ? r : '\n'),
- (t.offset = null != (r = e.offset) ? r : 0),
- (t.dontPrettyTextNodes =
- null != (r = null != (r = e.dontPrettyTextNodes) ? r : e.dontprettytextnodes) ? r : 0),
- (t.spaceBeforeSlash =
- null != (r = null != (r = e.spaceBeforeSlash) ? r : e.spacebeforeslash) ? r : ''),
- !0 === t.spaceBeforeSlash && (t.spaceBeforeSlash = ' '),
- (t.suppressPrettyCount = 0),
- (t.user = {}),
- (t.state = g.None),
- t
- );
- }),
- (e.prototype.indent = function (e, t, r) {
- return t.pretty && !t.suppressPrettyCount && t.pretty && 0 < (r = (r || 0) + t.offset + 1)
- ? new Array(r).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 n;
- return (
- this.openNode(e, t, r),
- (t.state = g.OpenTag),
- (n = this.indent(e, t, r) + '<![CDATA['),
- (t.state = g.InsideTag),
- (n += e.value),
- (t.state = g.CloseTag),
- (n += ']]>' + this.endline(e, t, r)),
- (t.state = g.None),
- this.closeNode(e, t, r),
- n
- );
- }),
- (e.prototype.comment = function (e, t, r) {
- var n;
- return (
- this.openNode(e, t, r),
- (t.state = g.OpenTag),
- (n = this.indent(e, t, r) + '\x3c!-- '),
- (t.state = g.InsideTag),
- (n += e.value),
- (t.state = g.CloseTag),
- (n += ' --\x3e' + this.endline(e, t, r)),
- (t.state = g.None),
- this.closeNode(e, t, r),
- n
- );
- }),
- (e.prototype.declaration = function (e, t, r) {
- var n;
- return (
- this.openNode(e, t, r),
- (t.state = g.OpenTag),
- (n = this.indent(e, t, r) + '<?xml'),
- (t.state = g.InsideTag),
- (n += ' version="' + e.version + '"'),
- null != e.encoding && (n += ' encoding="' + e.encoding + '"'),
- null != e.standalone && (n += ' standalone="' + e.standalone + '"'),
- (t.state = g.CloseTag),
- (n = (n += t.spaceBeforeSlash + '?>') + this.endline(e, t, r)),
- (t.state = g.None),
- this.closeNode(e, t, r),
- n
- );
- }),
- (e.prototype.docType = function (e, t, r) {
- var n, s, i, o, a;
- if (
- (this.openNode(e, t, (r = r || 0)),
- (t.state = g.OpenTag),
- (o = this.indent(e, t, r)),
- (o += '<!DOCTYPE ' + e.root().name),
- e.pubID && e.sysID
- ? (o += ' PUBLIC "' + e.pubID + '" "' + e.sysID + '"')
- : e.sysID && (o += ' SYSTEM "' + e.sysID + '"'),
- 0 < e.children.length)
- ) {
- for (
- o = (o += ' [') + this.endline(e, t, r),
- t.state = g.InsideTag,
- s = 0,
- i = (a = e.children).length;
- s < i;
- s++
- )
- (n = a[s]), (o += this.writeChildNode(n, t, r + 1));
- (t.state = g.CloseTag), (o += ']');
- }
- return (
- (t.state = g.CloseTag),
- (o = (o += t.spaceBeforeSlash + '>') + this.endline(e, t, r)),
- (t.state = g.None),
- this.closeNode(e, t, r),
- o
- );
- }),
- (e.prototype.element = function (e, t, r) {
- var n,
- s,
- i,
- o,
- a,
- c,
- l,
- u,
- p,
- f,
- d,
- h,
- m = !1,
- y = '';
- for (p in (this.openNode(e, t, (r = r || 0)),
- (t.state = g.OpenTag),
- (y += this.indent(e, t, r) + '<' + e.name),
- (f = e.attribs)))
- v.call(f, p) && ((n = f[p]), (y += this.attribute(n, t, r)));
- if (
- ((o = 0 === (i = e.children.length) ? null : e.children[0]),
- 0 === i ||
- e.children.every(function (e) {
- return (e.type === b.Text || e.type === b.Raw) && '' === e.value;
- }))
- )
- t.allowEmpty
- ? ((y += '>'), (t.state = g.CloseTag), (y += '</' + e.name + '>' + this.endline(e, t, r)))
- : ((t.state = g.CloseTag), (y += t.spaceBeforeSlash + '/>' + this.endline(e, t, r)));
- else if (!t.pretty || 1 !== i || (o.type !== b.Text && o.type !== b.Raw) || null == o.value) {
- if (t.dontPrettyTextNodes)
- for (a = 0, l = (d = e.children).length; a < l; a++)
- if (((s = d[a]).type === b.Text || s.type === b.Raw) && null != s.value) {
- t.suppressPrettyCount++, (m = !0);
- break;
- }
- for (
- y += '>' + this.endline(e, t, r), t.state = g.InsideTag, c = 0, u = (h = e.children).length;
- c < u;
- c++
- )
- (s = h[c]), (y += this.writeChildNode(s, t, r + 1));
- (t.state = g.CloseTag),
- (y += this.indent(e, t, r) + '</' + e.name + '>'),
- m && t.suppressPrettyCount--,
- (y += this.endline(e, t, r)),
- (t.state = g.None);
- } else
- (y += '>'),
- (t.state = g.InsideTag),
- t.suppressPrettyCount++,
- (m = !0),
- (y += this.writeChildNode(o, t, r + 1)),
- t.suppressPrettyCount--,
- (m = !1),
- (t.state = g.CloseTag),
- (y += '</' + e.name + '>' + this.endline(e, t, r));
- return this.closeNode(e, t, r), y;
- }),
- (e.prototype.writeChildNode = function (e, t, r) {
- switch (e.type) {
- case b.CData:
- return this.cdata(e, t, r);
- case b.Comment:
- return this.comment(e, t, r);
- case b.Element:
- return this.element(e, t, r);
- case b.Raw:
- return this.raw(e, t, r);
- case b.Text:
- return this.text(e, t, r);
- case b.ProcessingInstruction:
- return this.processingInstruction(e, t, r);
- case b.Dummy:
- return '';
- case b.Declaration:
- return this.declaration(e, t, r);
- case b.DocType:
- return this.docType(e, t, r);
- case b.AttributeDeclaration:
- return this.dtdAttList(e, t, r);
- case b.ElementDeclaration:
- return this.dtdElement(e, t, r);
- case b.EntityDeclaration:
- return this.dtdEntity(e, t, r);
- case b.NotationDeclaration:
- return this.dtdNotation(e, t, r);
- default:
- throw new Error('Unknown XML node type: ' + e.constructor.name);
- }
- }),
- (e.prototype.processingInstruction = function (e, t, r) {
- var n;
- return (
- this.openNode(e, t, r),
- (t.state = g.OpenTag),
- (n = this.indent(e, t, r) + '<?'),
- (t.state = g.InsideTag),
- (n += e.target),
- e.value && (n += ' ' + e.value),
- (t.state = g.CloseTag),
- (n = (n += t.spaceBeforeSlash + '?>') + this.endline(e, t, r)),
- (t.state = g.None),
- this.closeNode(e, t, r),
- n
- );
- }),
- (e.prototype.raw = function (e, t, r) {
- var n;
- return (
- this.openNode(e, t, r),
- (t.state = g.OpenTag),
- (n = this.indent(e, t, r)),
- (t.state = g.InsideTag),
- (n += e.value),
- (t.state = g.CloseTag),
- (n += this.endline(e, t, r)),
- (t.state = g.None),
- this.closeNode(e, t, r),
- n
- );
- }),
- (e.prototype.text = function (e, t, r) {
- var n;
- return (
- this.openNode(e, t, r),
- (t.state = g.OpenTag),
- (n = this.indent(e, t, r)),
- (t.state = g.InsideTag),
- (n += e.value),
- (t.state = g.CloseTag),
- (n += this.endline(e, t, r)),
- (t.state = g.None),
- this.closeNode(e, t, r),
- n
- );
- }),
- (e.prototype.dtdAttList = function (e, t, r) {
- var n;
- return (
- this.openNode(e, t, r),
- (t.state = g.OpenTag),
- (n = this.indent(e, t, r) + '<!ATTLIST'),
- (t.state = g.InsideTag),
- (n += ' ' + e.elementName + ' ' + e.attributeName + ' ' + e.attributeType),
- '#DEFAULT' !== e.defaultValueType && (n += ' ' + e.defaultValueType),
- e.defaultValue && (n += ' "' + e.defaultValue + '"'),
- (t.state = g.CloseTag),
- (n += t.spaceBeforeSlash + '>' + this.endline(e, t, r)),
- (t.state = g.None),
- this.closeNode(e, t, r),
- n
- );
- }),
- (e.prototype.dtdElement = function (e, t, r) {
- var n;
- return (
- this.openNode(e, t, r),
- (t.state = g.OpenTag),
- (n = this.indent(e, t, r) + '<!ELEMENT'),
- (t.state = g.InsideTag),
- (n += ' ' + e.name + ' ' + e.value),
- (t.state = g.CloseTag),
- (n += t.spaceBeforeSlash + '>' + this.endline(e, t, r)),
- (t.state = g.None),
- this.closeNode(e, t, r),
- n
- );
- }),
- (e.prototype.dtdEntity = function (e, t, r) {
- var n;
- return (
- this.openNode(e, t, r),
- (t.state = g.OpenTag),
- (n = this.indent(e, t, r) + '<!ENTITY'),
- (t.state = g.InsideTag),
- e.pe && (n += ' %'),
- (n += ' ' + e.name),
- e.value
- ? (n += ' "' + e.value + '"')
- : (e.pubID && e.sysID
- ? (n += ' PUBLIC "' + e.pubID + '" "' + e.sysID + '"')
- : e.sysID && (n += ' SYSTEM "' + e.sysID + '"'),
- e.nData && (n += ' NDATA ' + e.nData)),
- (t.state = g.CloseTag),
- (n += t.spaceBeforeSlash + '>' + this.endline(e, t, r)),
- (t.state = g.None),
- this.closeNode(e, t, r),
- n
- );
- }),
- (e.prototype.dtdNotation = function (e, t, r) {
- var n;
- return (
- this.openNode(e, t, r),
- (t.state = g.OpenTag),
- (n = this.indent(e, t, r) + '<!NOTATION'),
- (t.state = g.InsideTag),
- (n += ' ' + e.name),
- e.pubID && e.sysID
- ? (n += ' PUBLIC "' + e.pubID + '" "' + e.sysID + '"')
- : e.pubID
- ? (n += ' PUBLIC "' + e.pubID + '"')
- : e.sysID && (n += ' SYSTEM "' + e.sysID + '"'),
- (t.state = g.CloseTag),
- (n += t.spaceBeforeSlash + '>' + this.endline(e, t, r)),
- (t.state = g.None),
- this.closeNode(e, t, r),
- n
- );
- }),
- (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': 402,
- './Utility': 403,
- './WriterState': 404,
- './XMLCData': 406,
- './XMLComment': 408,
- './XMLDTDAttList': 413,
- './XMLDTDElement': 414,
- './XMLDTDEntity': 415,
- './XMLDTDNotation': 416,
- './XMLDeclaration': 417,
- './XMLDocType': 418,
- './XMLDummy': 421,
- './XMLElement': 422,
- './XMLProcessingInstruction': 426,
- './XMLRaw': 427,
- './XMLText': 431
- }
- ],
- 433: [
- function (l, u, e) {
- !function () {
- var e = l('./Utility'),
- s = e.assign,
- i = e.isFunction,
- e = l('./XMLDOMImplementation'),
- o = l('./XMLDocument'),
- a = l('./XMLDocumentCB'),
- t = l('./XMLStringWriter'),
- r = l('./XMLStreamWriter'),
- n = l('./NodeType'),
- c = l('./WriterState');
- (u.exports.create = function (e, t, r, n) {
- if (null == e) throw new Error('Root element needs a name.');
- return (
- (n = s({}, t, r, n)),
- (r = (t = new o(n)).element(e)),
- n.headless || (t.declaration(n), (null == n.pubID && null == n.sysID) || t.dtd(n)),
- r
- );
- }),
- (u.exports.begin = function (e, t, r) {
- var n;
- return i(e) && ((t = (n = [e, t])[0]), (r = n[1]), (e = {})), t ? new a(e, t, r) : new o(e);
- }),
- (u.exports.stringWriter = function (e) {
- return new t(e);
- }),
- (u.exports.streamWriter = function (e, t) {
- return new r(e, t);
- }),
- (u.exports.implementation = new e()),
- (u.exports.nodeType = n),
- (u.exports.writerState = c);
- }.call(this);
- },
- {
- './NodeType': 402,
- './Utility': 403,
- './WriterState': 404,
- './XMLDOMImplementation': 411,
- './XMLDocument': 419,
- './XMLDocumentCB': 420,
- './XMLStreamWriter': 428,
- './XMLStringWriter': 429
- }
- ],
- 434: [
- function (e, t, r) {
- t.exports = function () {
- for (var e = {}, t = 0; t < arguments.length; t++) {
- var r,
- n = arguments[t];
- for (r in n) s.call(n, r) && (e[r] = n[r]);
- }
- return e;
- };
- var s = Object.prototype.hasOwnProperty;
- },
- {}
- ],
- 435: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.array.fill.js'),
- e('core-js/modules/es.array.concat.js'),
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/es.regexp.to-string.js'),
- e('core-js/modules/es.array.join.js'),
- e('core-js/modules/es.array.slice.js');
- var o = e('buffer').Buffer,
- i = { sha1: e('./sha'), md5: e('./md5') },
- a = 64,
- c = o.alloc(a);
- function n(e, r) {
- var n = i[(e = e || 'sha1')],
- s = [];
- return (
- n || l('algorithm:', e, 'is not yet supported'),
- {
- update: function (e) {
- return o.isBuffer(e) || (e = o.from(e)), s.push(e), e.length, this;
- },
- digest: function (e) {
- var t = o.concat(s),
- t = r
- ? (function (e, t, r) {
- o.isBuffer(t) || (t = o.from(t)),
- o.isBuffer(r) || (r = o.from(r)),
- t.length > a ? (t = e(t)) : t.length < a && (t = o.concat([t, c], a));
- for (var n = o.alloc(a), s = o.alloc(a), i = 0; i < a; i++)
- (n[i] = 54 ^ t[i]), (s[i] = 92 ^ t[i]);
- return (r = e(o.concat([n, r]))), e(o.concat([s, r]));
- })(n, r, t)
- : n(t);
- return (s = null), e ? t.toString(e) : t;
- }
- }
- );
- }
- function l() {
- var e = [].slice.call(arguments).join(' ');
- throw new Error(
- [e, 'we accept pull requests', 'http://github.com/dominictarr/crypto-browserify'].join('\n')
- );
- }
- c.fill(0),
- (r.createHash = function (e) {
- return n(e);
- }),
- (r.createHmac = n),
- (r.createCredentials = function () {
- l('sorry,createCredentials is not implemented yet');
- }),
- (r.createCipher = function () {
- l('sorry,createCipher is not implemented yet');
- }),
- (r.createCipheriv = function () {
- l('sorry,createCipheriv is not implemented yet');
- }),
- (r.createDecipher = function () {
- l('sorry,createDecipher is not implemented yet');
- }),
- (r.createDecipheriv = function () {
- l('sorry,createDecipheriv is not implemented yet');
- }),
- (r.createSign = function () {
- l('sorry,createSign is not implemented yet');
- }),
- (r.createVerify = function () {
- l('sorry,createVerify is not implemented yet');
- }),
- (r.createDiffieHellman = function () {
- l('sorry,createDiffieHellman is not implemented yet');
- }),
- (r.pbkdf2 = function () {
- l('sorry,pbkdf2 is not implemented yet');
- });
- },
- {
- './md5': 437,
- './sha': 438,
- buffer: 89,
- 'core-js/modules/es.array.concat.js': 269,
- 'core-js/modules/es.array.fill.js': 270,
- 'core-js/modules/es.array.join.js': 276,
- 'core-js/modules/es.array.slice.js': 278,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.regexp.to-string.js': 300
- }
- ],
- 436: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.array.fill.js'), e('core-js/modules/es.array.concat.js');
- var c = e('buffer').Buffer,
- l = 4,
- u = c.alloc(l);
- u.fill(0);
- t.exports = {
- hash: function (e, t, r, n) {
- for (
- var s = t(
- (function (e, t) {
- e.length % l != 0 && ((r = e.length + (l - (e.length % l))), (e = c.concat([e, u], r)));
- for (var r, n = [], s = t ? e.readInt32BE : e.readInt32LE, i = 0; i < e.length; i += l)
- n.push(s.call(e, i));
- return n;
- })((e = c.isBuffer(e) ? e : c.from(e)), n),
- 8 * e.length
- ),
- t = r,
- e = n,
- i = c.alloc(t),
- o = e ? i.writeInt32BE : i.writeInt32LE,
- a = 0;
- a < s.length;
- a++
- )
- o.call(i, s[a], 4 * a, !0);
- return i;
- }
- };
- },
- { buffer: 89, 'core-js/modules/es.array.concat.js': 269, 'core-js/modules/es.array.fill.js': 270 }
- ],
- 437: [
- function (e, t, r) {
- 'use strict';
- var n = e('./helpers');
- function s(e, t) {
- (e[t >> 5] |= 128 << t % 32), (e[14 + (((t + 64) >>> 9) << 4)] = t);
- for (var r = 1732584193, n = -271733879, s = -1732584194, i = 271733878, o = 0; o < e.length; o += 16) {
- var a = r,
- c = n,
- l = s,
- u = i,
- r = p(r, n, s, i, e[o + 0], 7, -680876936),
- i = p(i, r, n, s, e[o + 1], 12, -389564586),
- s = p(s, i, r, n, e[o + 2], 17, 606105819),
- n = p(n, s, i, r, e[o + 3], 22, -1044525330);
- (r = p(r, n, s, i, e[o + 4], 7, -176418897)),
- (i = p(i, r, n, s, e[o + 5], 12, 1200080426)),
- (s = p(s, i, r, n, e[o + 6], 17, -1473231341)),
- (n = p(n, s, i, r, e[o + 7], 22, -45705983)),
- (r = p(r, n, s, i, e[o + 8], 7, 1770035416)),
- (i = p(i, r, n, s, e[o + 9], 12, -1958414417)),
- (s = p(s, i, r, n, e[o + 10], 17, -42063)),
- (n = p(n, s, i, r, e[o + 11], 22, -1990404162)),
- (r = p(r, n, s, i, e[o + 12], 7, 1804603682)),
- (i = p(i, r, n, s, e[o + 13], 12, -40341101)),
- (s = p(s, i, r, n, e[o + 14], 17, -1502002290)),
- (r = f(r, (n = p(n, s, i, r, e[o + 15], 22, 1236535329)), s, i, e[o + 1], 5, -165796510)),
- (i = f(i, r, n, s, e[o + 6], 9, -1069501632)),
- (s = f(s, i, r, n, e[o + 11], 14, 643717713)),
- (n = f(n, s, i, r, e[o + 0], 20, -373897302)),
- (r = f(r, n, s, i, e[o + 5], 5, -701558691)),
- (i = f(i, r, n, s, e[o + 10], 9, 38016083)),
- (s = f(s, i, r, n, e[o + 15], 14, -660478335)),
- (n = f(n, s, i, r, e[o + 4], 20, -405537848)),
- (r = f(r, n, s, i, e[o + 9], 5, 568446438)),
- (i = f(i, r, n, s, e[o + 14], 9, -1019803690)),
- (s = f(s, i, r, n, e[o + 3], 14, -187363961)),
- (n = f(n, s, i, r, e[o + 8], 20, 1163531501)),
- (r = f(r, n, s, i, e[o + 13], 5, -1444681467)),
- (i = f(i, r, n, s, e[o + 2], 9, -51403784)),
- (s = f(s, i, r, n, e[o + 7], 14, 1735328473)),
- (r = d(r, (n = f(n, s, i, r, e[o + 12], 20, -1926607734)), s, i, e[o + 5], 4, -378558)),
- (i = d(i, r, n, s, e[o + 8], 11, -2022574463)),
- (s = d(s, i, r, n, e[o + 11], 16, 1839030562)),
- (n = d(n, s, i, r, e[o + 14], 23, -35309556)),
- (r = d(r, n, s, i, e[o + 1], 4, -1530992060)),
- (i = d(i, r, n, s, e[o + 4], 11, 1272893353)),
- (s = d(s, i, r, n, e[o + 7], 16, -155497632)),
- (n = d(n, s, i, r, e[o + 10], 23, -1094730640)),
- (r = d(r, n, s, i, e[o + 13], 4, 681279174)),
- (i = d(i, r, n, s, e[o + 0], 11, -358537222)),
- (s = d(s, i, r, n, e[o + 3], 16, -722521979)),
- (n = d(n, s, i, r, e[o + 6], 23, 76029189)),
- (r = d(r, n, s, i, e[o + 9], 4, -640364487)),
- (i = d(i, r, n, s, e[o + 12], 11, -421815835)),
- (s = d(s, i, r, n, e[o + 15], 16, 530742520)),
- (r = h(r, (n = d(n, s, i, r, e[o + 2], 23, -995338651)), s, i, e[o + 0], 6, -198630844)),
- (i = h(i, r, n, s, e[o + 7], 10, 1126891415)),
- (s = h(s, i, r, n, e[o + 14], 15, -1416354905)),
- (n = h(n, s, i, r, e[o + 5], 21, -57434055)),
- (r = h(r, n, s, i, e[o + 12], 6, 1700485571)),
- (i = h(i, r, n, s, e[o + 3], 10, -1894986606)),
- (s = h(s, i, r, n, e[o + 10], 15, -1051523)),
- (n = h(n, s, i, r, e[o + 1], 21, -2054922799)),
- (r = h(r, n, s, i, e[o + 8], 6, 1873313359)),
- (i = h(i, r, n, s, e[o + 15], 10, -30611744)),
- (s = h(s, i, r, n, e[o + 6], 15, -1560198380)),
- (n = h(n, s, i, r, e[o + 13], 21, 1309151649)),
- (r = h(r, n, s, i, e[o + 4], 6, -145523070)),
- (i = h(i, r, n, s, e[o + 11], 10, -1120210379)),
- (s = h(s, i, r, n, e[o + 2], 15, 718787259)),
- (n = h(n, s, i, r, e[o + 9], 21, -343485551)),
- (r = m(r, a)),
- (n = m(n, c)),
- (s = m(s, l)),
- (i = m(i, u));
- }
- return Array(r, n, s, i);
- }
- function a(e, t, r, n, s, i) {
- return m(((t = m(m(t, e), m(n, i))) << s) | (t >>> (32 - s)), r);
- }
- function p(e, t, r, n, s, i, o) {
- return a((t & r) | (~t & n), e, t, s, i, o);
- }
- function f(e, t, r, n, s, i, o) {
- return a((t & n) | (r & ~n), e, t, s, i, o);
- }
- function d(e, t, r, n, s, i, o) {
- return a(t ^ r ^ n, e, t, s, i, o);
- }
- function h(e, t, r, n, s, i, o) {
- return a(r ^ (t | ~n), e, t, s, i, o);
- }
- function m(e, t) {
- var r = (65535 & e) + (65535 & t);
- return (((e >> 16) + (t >> 16) + (r >> 16)) << 16) | (65535 & r);
- }
- t.exports = function (e) {
- return n.hash(e, s, 16);
- };
- },
- { './helpers': 436 }
- ],
- 438: [
- function (e, t, r) {
- 'use strict';
- var n = e('./helpers');
- function s(e, t) {
- (e[t >> 5] |= 128 << (24 - (t % 32))), (e[15 + (((t + 64) >> 9) << 4)] = t);
- for (
- var r,
- n,
- s,
- i = Array(80),
- o = 1732584193,
- a = -271733879,
- c = -1732584194,
- l = 271733878,
- u = -1009589776,
- p = 0;
- p < e.length;
- p += 16
- ) {
- for (var f = o, d = a, h = c, m = l, y = u, b = 0; b < 80; b++) {
- i[b] = b < 16 ? e[p + b] : j(i[b - 3] ^ i[b - 8] ^ i[b - 14] ^ i[b - 16], 1);
- var g = v(
- v(
- j(o, 5),
- ((g = a),
- (n = c),
- (s = l),
- (r = b) < 20
- ? (g & n) | (~g & s)
- : !(r < 40) && r < 60
- ? (g & n) | (g & s) | (n & s)
- : g ^ n ^ s)
- ),
- v(v(u, i[b]), (r = b) < 20 ? 1518500249 : r < 40 ? 1859775393 : r < 60 ? -1894007588 : -899497514)
- ),
- u = l,
- l = c,
- c = j(a, 30),
- a = o,
- o = g;
- }
- (o = v(o, f)), (a = v(a, d)), (c = v(c, h)), (l = v(l, m)), (u = v(u, y));
- }
- return Array(o, a, c, l, u);
- }
- function v(e, t) {
- var r = (65535 & e) + (65535 & t);
- return (((e >> 16) + (t >> 16) + (r >> 16)) << 16) | (65535 & r);
- }
- function j(e, t) {
- return (e << t) | (e >>> (32 - t));
- }
- t.exports = function (e) {
- return n.hash(e, s, 20, !0);
- };
- },
- { './helpers': 436 }
- ],
- 439: [
- function (e, t, r) {
- 'use strict';
- t.exports = function () {
- return function () {};
- };
- },
- {}
- ],
- 440: [
- function (s, i, e) {
- !function (n) {
- !function () {
- 'use strict';
- var t = s('@babel/runtime/helpers/interopRequireDefault')(s('@babel/runtime/helpers/typeof')),
- r = s('stream').Stream,
- e = s('../lib/common/utils/isArray').isArray;
- (i.exports.string = function (e) {
- return 'string' == typeof e;
- }),
- (i.exports.array = e),
- (i.exports.buffer = n.isBuffer),
- (i.exports.writableStream = function (e) {
- return (
- e instanceof r && 'function' == typeof e._write && 'object' === (0, t.default)(e._writableState)
- );
- });
- }.call(this);
- }.call(this, { isBuffer: s('../node_modules/is-buffer/index.js') });
- },
- {
- '../lib/common/utils/isArray': 62,
- '../node_modules/is-buffer/index.js': 354,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/helpers/typeof': 78,
- stream: 387
- }
- ],
- 441: [
- function (e, t, r) {
- 'use strict';
- (e = e('immediate')), (t = t.exports = {});
- function n() {}
- (t.nextTick = e),
- (t.title = 'browser'),
- (t.browser = !0),
- (t.env = {}),
- (t.argv = []),
- (t.version = ''),
- (t.versions = {}),
- (t.on = n),
- (t.addListener = n),
- (t.once = n),
- (t.off = n),
- (t.removeListener = n),
- (t.removeAllListeners = n),
- (t.emit = n),
- (t.prependListener = n),
- (t.prependOnceListener = n),
- (t.listeners = function (e) {
- return [];
- }),
- (t.binding = function (e) {
- throw new Error('process.binding is not supported');
- }),
- (t.cwd = function () {
- return '/';
- }),
- (t.chdir = function (e) {
- throw new Error('process.chdir is not supported');
- }),
- (t.umask = function () {
- return 0;
- });
- },
- { immediate: 347 }
- ],
- 442: [
- function (n, e, s) {
- !function (l) {
- !function () {
- 'use strict';
- n('core-js/modules/es.regexp.exec.js'), n('core-js/modules/es.string.search.js');
- var o = n('./lib/request'),
- e = n('./lib/response'),
- a = n('xtend'),
- t = n('builtin-status-codes'),
- c = n('url'),
- r = s;
- (r.request = function (e, t) {
- e = 'string' == typeof e ? c.parse(e) : a(e);
- var r = -1 === l.location.protocol.search(/^https?:$/) ? 'http:' : '',
- r = e.protocol || r,
- n = e.hostname || e.host,
- s = e.port,
- i = e.path || '/',
- r =
- (n && -1 !== n.indexOf(':') && (n = '[' + n + ']'),
- (e.url = (n ? r + '//' + n : '') + (s ? ':' + s : '') + i),
- (e.method = (e.method || 'GET').toUpperCase()),
- (e.headers = e.headers || {}),
- new o(e));
- return t && r.on('response', t), r;
- }),
- (r.get = function (e, t) {
- e = r.request(e, t);
- return e.end(), e;
- }),
- (r.ClientRequest = o),
- (r.IncomingMessage = e.IncomingMessage),
- (r.Agent = function () {}),
- (r.Agent.defaultMaxSockets = 4),
- (r.globalAgent = new r.Agent()),
- (r.STATUS_CODES = t),
- (r.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);
- }.call(
- this,
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {}
- );
- },
- {
- './lib/request': 444,
- './lib/response': 445,
- 'builtin-status-codes': 90,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/es.string.search.js': 305,
- url: 446,
- xtend: 434
- }
- ],
- 443: [
- function (a, e, c) {
- !function (o) {
- !function () {
- 'use strict';
- a('core-js/modules/es.object.to-string.js'),
- a('core-js/modules/es.promise.js'),
- a('core-js/modules/es.array-buffer.constructor.js'),
- a('core-js/modules/es.array-buffer.slice.js'),
- a('core-js/modules/es.array.slice.js'),
- (c.fetch = i(o.fetch) && i(o.ReadableStream)),
- (c.writableStream = i(o.WritableStream)),
- (c.abortController = i(o.AbortController)),
- (c.blobConstructor = !1);
- try {
- new Blob([new ArrayBuffer(1)]), (c.blobConstructor = !0);
- } catch (e) {}
- var t;
- function r() {
- if (void 0 !== t) return t;
- if (o.XMLHttpRequest) {
- t = new o.XMLHttpRequest();
- try {
- t.open('GET', o.XDomainRequest ? '/' : 'https://example.com');
- } catch (e) {
- t = null;
- }
- } else t = null;
- return t;
- }
- function e(e) {
- var t = r();
- if (!t) return !1;
- try {
- return (t.responseType = e), t.responseType === e;
- } catch (e) {}
- return !1;
- }
- var n = void 0 !== o.ArrayBuffer,
- s = n && i(o.ArrayBuffer.prototype.slice);
- function i(e) {
- return 'function' == typeof e;
- }
- (c.arraybuffer = c.fetch || (n && e('arraybuffer'))),
- (c.msstream = !c.fetch && s && e('ms-stream')),
- (c.mozchunkedarraybuffer = !c.fetch && n && e('moz-chunked-arraybuffer')),
- (c.overrideMimeType = c.fetch || (!!r() && i(r().overrideMimeType))),
- (c.vbArray = i(o.VBArray)),
- (t = null);
- }.call(this);
- }.call(
- this,
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {}
- );
- },
- {
- 'core-js/modules/es.array-buffer.constructor.js': 267,
- 'core-js/modules/es.array-buffer.slice.js': 268,
- 'core-js/modules/es.array.slice.js': 278,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.promise.js': 294
- }
- ],
- 444: [
- function (i, o, e) {
- !function (p, f, d) {
- !function () {
- 'use strict';
- i('core-js/modules/es.object.to-string.js'),
- i('core-js/modules/es.regexp.to-string.js'),
- i('core-js/modules/web.dom-collections.for-each.js'),
- i('core-js/modules/es.object.keys.js'),
- i('core-js/modules/es.array.concat.js'),
- i('core-js/modules/es.array.map.js'),
- i('core-js/modules/es.function.name.js'),
- i('core-js/modules/es.promise.js'),
- i('core-js/modules/es.regexp.exec.js'),
- i('core-js/modules/es.string.split.js');
- var c = i('./capability'),
- e = i('inherits'),
- t = i('./response'),
- s = i('readable-stream'),
- l = i('to-arraybuffer'),
- r = t.IncomingMessage,
- u = t.readyStates;
- t = o.exports = function (t) {
- var e,
- r = this,
- n =
- (s.Writable.call(r),
- (r._opts = t),
- (r._body = []),
- (r._headers = {}),
- t.auth && r.setHeader('Authorization', 'Basic ' + new d(t.auth).toString('base64')),
- Object.keys(t.headers).forEach(function (e) {
- r.setHeader(e, t.headers[e]);
- }),
- !0);
- if ('disable-fetch' === t.mode || ('requestTimeout' in t && !c.abortController)) e = !(n = !1);
- else if ('prefer-streaming' === t.mode) e = !1;
- else if ('allow-wrong-content-type' === t.mode) e = !c.overrideMimeType;
- else {
- if (t.mode && 'default' !== t.mode && 'prefer-fast' !== t.mode)
- throw new Error('Invalid value for opts.mode');
- e = !0;
- }
- (r._mode =
- ((e = e),
- (n = n),
- c.fetch && n
- ? 'fetch'
- : c.mozchunkedarraybuffer
- ? 'moz-chunked-arraybuffer'
- : c.msstream
- ? 'ms-stream'
- : c.arraybuffer && e
- ? 'arraybuffer'
- : c.vbArray && e
- ? 'text:vbarray'
- : 'text')),
- (r._fetchTimer = null),
- r.on('finish', function () {
- r._onFinish();
- });
- };
- e(t, s.Writable),
- (t.prototype.setHeader = function (e, t) {
- var r = e.toLowerCase();
- -1 === n.indexOf(r) && (this._headers[r] = { name: e, value: t });
- }),
- (t.prototype.getHeader = function (e) {
- e = this._headers[e.toLowerCase()];
- return e ? e.value : null;
- }),
- (t.prototype.removeHeader = function (e) {
- delete this._headers[e.toLowerCase()];
- }),
- (t.prototype._onFinish = function () {
- var t = this;
- if (!t._destroyed) {
- var e = t._opts,
- r = t._headers,
- n = null,
- s =
- ('GET' !== e.method &&
- 'HEAD' !== e.method &&
- (n = c.arraybuffer
- ? l(d.concat(t._body))
- : c.blobConstructor
- ? new f.Blob(
- t._body.map(function (e) {
- return l(e);
- }),
- { type: (r['content-type'] || {}).value || '' }
- )
- : d.concat(t._body).toString()),
- []);
- if (
- (Object.keys(r).forEach(function (e) {
- var t = r[e].name,
- e = r[e].value;
- Array.isArray(e)
- ? e.forEach(function (e) {
- s.push([t, e]);
- })
- : s.push([t, e]);
- }),
- 'fetch' === t._mode)
- ) {
- var i,
- o = null;
- c.abortController &&
- ((o = (i = new AbortController()).signal),
- (t._fetchAbortController = i),
- 'requestTimeout' in e &&
- 0 !== e.requestTimeout &&
- (t._fetchTimer = f.setTimeout(function () {
- t.emit('requestTimeout'), t._fetchAbortController && t._fetchAbortController.abort();
- }, e.requestTimeout))),
- f
- .fetch(t._opts.url, {
- method: t._opts.method,
- headers: s,
- body: n || void 0,
- mode: 'cors',
- credentials: e.withCredentials ? 'include' : 'same-origin',
- signal: o
- })
- .then(
- function (e) {
- (t._fetchResponse = e), t._connect();
- },
- function (e) {
- f.clearTimeout(t._fetchTimer), t._destroyed || t.emit('error', e);
- }
- );
- } else {
- var a = (t._xhr = new f.XMLHttpRequest());
- try {
- a.open(t._opts.method, t._opts.url, !0);
- } catch (e) {
- return void p.nextTick(function () {
- t.emit('error', e);
- });
- }
- 'responseType' in a && (a.responseType = t._mode.split(':')[0]),
- 'withCredentials' in a && (a.withCredentials = !!e.withCredentials),
- 'text' === t._mode &&
- 'overrideMimeType' in a &&
- a.overrideMimeType('text/plain; charset=x-user-defined'),
- 'requestTimeout' in e &&
- ((a.timeout = e.requestTimeout),
- (a.ontimeout = function () {
- t.emit('requestTimeout');
- })),
- s.forEach(function (e) {
- a.setRequestHeader(e[0], e[1]);
- }),
- (t._response = null),
- (a.onreadystatechange = function () {
- switch (a.readyState) {
- case u.LOADING:
- case u.DONE:
- t._onXHRProgress();
- }
- }),
- 'moz-chunked-arraybuffer' === t._mode &&
- (a.onprogress = function () {
- t._onXHRProgress();
- }),
- (a.onerror = function () {
- t._destroyed || t.emit('error', new Error('XHR error'));
- });
- try {
- a.send(n);
- } catch (e) {
- return void p.nextTick(function () {
- t.emit('error', e);
- });
- }
- }
- }
- }),
- (t.prototype._onXHRProgress = function () {
- !(function (e) {
- try {
- var t = e.status;
- return null !== t && 0 !== t;
- } catch (e) {
- return;
- }
- })(this._xhr) ||
- this._destroyed ||
- (this._response || this._connect(), this._response._onXHRProgress());
- }),
- (t.prototype._connect = function () {
- var t = this;
- t._destroyed ||
- ((t._response = new r(t._xhr, t._fetchResponse, t._mode, t._fetchTimer)),
- t._response.on('error', function (e) {
- t.emit('error', e);
- }),
- t.emit('response', t._response));
- }),
- (t.prototype._write = function (e, t, r) {
- this._body.push(e), r();
- }),
- (t.prototype.abort = t.prototype.destroy =
- function () {
- (this._destroyed = !0),
- f.clearTimeout(this._fetchTimer),
- this._response && (this._response._destroyed = !0),
- this._xhr
- ? this._xhr.abort()
- : this._fetchAbortController && this._fetchAbortController.abort();
- }),
- (t.prototype.end = function (e, t, r) {
- 'function' == typeof e && ((r = e), (e = void 0)), s.Writable.prototype.end.call(this, e, t, r);
- }),
- (t.prototype.flushHeaders = function () {}),
- (t.prototype.setTimeout = function () {}),
- (t.prototype.setNoDelay = function () {}),
- (t.prototype.setSocketKeepAlive = function () {});
- var n = [
- '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',
- 'user-agent',
- 'via'
- ];
- }.call(this);
- }.call(
- this,
- i('_process'),
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {},
- i('buffer').Buffer
- );
- },
- {
- './capability': 443,
- './response': 445,
- _process: 441,
- buffer: 89,
- 'core-js/modules/es.array.concat.js': 269,
- 'core-js/modules/es.array.map.js': 277,
- 'core-js/modules/es.function.name.js': 281,
- 'core-js/modules/es.object.keys.js': 289,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.promise.js': 294,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/es.regexp.to-string.js': 300,
- 'core-js/modules/es.string.split.js': 306,
- 'core-js/modules/web.dom-collections.for-each.js': 338,
- inherits: 353,
- 'readable-stream': 381,
- 'to-arraybuffer': 390
- }
- ],
- 445: [
- function (r, e, n) {
- !function (u, p, f) {
- !function () {
- 'use strict';
- r('core-js/modules/es.object.to-string.js'),
- r('core-js/modules/web.dom-collections.for-each.js'),
- r('core-js/modules/es.promise.js'),
- r('core-js/modules/es.regexp.exec.js'),
- r('core-js/modules/es.string.split.js'),
- r('core-js/modules/es.string.match.js'),
- r('core-js/modules/es.array.iterator.js'),
- r('core-js/modules/es.array-buffer.slice.js'),
- r('core-js/modules/es.typed-array.uint8-array.js'),
- r('core-js/modules/es.typed-array.copy-within.js'),
- r('core-js/modules/es.typed-array.every.js'),
- r('core-js/modules/es.typed-array.fill.js'),
- r('core-js/modules/es.typed-array.filter.js'),
- r('core-js/modules/es.typed-array.find.js'),
- r('core-js/modules/es.typed-array.find-index.js'),
- r('core-js/modules/es.typed-array.for-each.js'),
- r('core-js/modules/es.typed-array.includes.js'),
- r('core-js/modules/es.typed-array.index-of.js'),
- r('core-js/modules/es.typed-array.iterator.js'),
- r('core-js/modules/es.typed-array.join.js'),
- r('core-js/modules/es.typed-array.last-index-of.js'),
- r('core-js/modules/es.typed-array.map.js'),
- r('core-js/modules/es.typed-array.reduce.js'),
- r('core-js/modules/es.typed-array.reduce-right.js'),
- r('core-js/modules/es.typed-array.reverse.js'),
- r('core-js/modules/es.typed-array.set.js'),
- r('core-js/modules/es.typed-array.slice.js'),
- r('core-js/modules/es.typed-array.some.js'),
- r('core-js/modules/es.typed-array.sort.js'),
- r('core-js/modules/es.typed-array.subarray.js'),
- r('core-js/modules/es.typed-array.to-locale-string.js'),
- r('core-js/modules/es.typed-array.to-string.js'),
- r('core-js/modules/es.array.slice.js');
- var a = r('./capability'),
- e = r('inherits'),
- c = r('readable-stream'),
- l = (n.readyStates = { UNSENT: 0, OPENED: 1, HEADERS_RECEIVED: 2, LOADING: 3, DONE: 4 }),
- t = (n.IncomingMessage = function (e, t, r, n) {
- var s = this;
- if (
- (c.Readable.call(s),
- (s._mode = r),
- (s.headers = {}),
- (s.rawHeaders = []),
- (s.trailers = {}),
- (s.rawTrailers = []),
- s.on('end', function () {
- u.nextTick(function () {
- s.emit('close');
- });
- }),
- 'fetch' === r)
- ) {
- r = function t() {
- o.read()
- .then(function (e) {
- if (!s._destroyed) {
- if (e.done) return p.clearTimeout(n), void s.push(null);
- s.push(new f(e.value)), t();
- }
- })
- .catch(function (e) {
- p.clearTimeout(n), s._destroyed || s.emit('error', e);
- });
- };
- if (
- ((s._fetchResponse = t),
- (s.url = t.url),
- (s.statusCode = t.status),
- (s.statusMessage = t.statusText),
- t.headers.forEach(function (e, t) {
- (s.headers[t.toLowerCase()] = e), s.rawHeaders.push(t, e);
- }),
- a.writableStream)
- ) {
- var i = new WritableStream({
- write: function (r) {
- return new Promise(function (e, t) {
- s._destroyed ? t() : s.push(new f(r)) ? e() : (s._resumeFetch = e);
- });
- },
- close: function () {
- p.clearTimeout(n), s._destroyed || s.push(null);
- },
- abort: function (e) {
- s._destroyed || s.emit('error', e);
- }
- });
- try {
- return void t.body.pipeTo(i).catch(function (e) {
- p.clearTimeout(n), s._destroyed || s.emit('error', e);
- });
- } catch (e) {}
- }
- var o = t.body.getReader();
- r();
- } else
- (s._xhr = e),
- (s._pos = 0),
- (s.url = e.responseURL),
- (s.statusCode = e.status),
- (s.statusMessage = e.statusText),
- e
- .getAllResponseHeaders()
- .split(/\r?\n/)
- .forEach(function (e) {
- var t,
- e = e.match(/^([^:]+):\s*(.*)/);
- e &&
- ('set-cookie' === (t = e[1].toLowerCase())
- ? (void 0 === s.headers[t] && (s.headers[t] = []), s.headers[t].push(e[2]))
- : void 0 !== s.headers[t]
- ? (s.headers[t] += ', ' + e[2])
- : (s.headers[t] = e[2]),
- s.rawHeaders.push(e[1], e[2]));
- }),
- (s._charset = 'x-user-defined'),
- a.overrideMimeType ||
- ((i = s.rawHeaders['mime-type']) &&
- (t = i.match(/;\s*charset=([^;])(;|$)/)) &&
- (s._charset = t[1].toLowerCase()),
- s._charset || (s._charset = 'utf-8'));
- });
- e(t, c.Readable),
- (t.prototype._read = function () {
- var e = this._resumeFetch;
- e && ((this._resumeFetch = null), e());
- }),
- (t.prototype._onXHRProgress = function () {
- var t = this,
- e = t._xhr,
- r = null;
- switch (t._mode) {
- case 'text:vbarray':
- if (e.readyState !== l.DONE) break;
- try {
- r = new p.VBArray(e.responseBody).toArray();
- } catch (e) {}
- if (null !== r) {
- t.push(new f(r));
- break;
- }
- case 'text':
- try {
- r = e.responseText;
- } catch (e) {
- t._mode = 'text:vbarray';
- break;
- }
- if (r.length > t._pos) {
- var n = r.substr(t._pos);
- if ('x-user-defined' === t._charset) {
- for (var s = new f(n.length), i = 0; i < n.length; i++) s[i] = 255 & n.charCodeAt(i);
- t.push(s);
- } else t.push(n, t._charset);
- t._pos = r.length;
- }
- break;
- case 'arraybuffer':
- if (e.readyState !== l.DONE || !e.response) break;
- (r = e.response), t.push(new f(new Uint8Array(r)));
- break;
- case 'moz-chunked-arraybuffer':
- if (((r = e.response), e.readyState !== l.LOADING || !r)) break;
- t.push(new f(new Uint8Array(r)));
- break;
- case 'ms-stream':
- if (((r = e.response), e.readyState !== l.LOADING)) break;
- var o = new p.MSStreamReader();
- (o.onprogress = function () {
- o.result.byteLength > t._pos &&
- (t.push(new f(new Uint8Array(o.result.slice(t._pos)))), (t._pos = o.result.byteLength));
- }),
- (o.onload = function () {
- t.push(null);
- }),
- o.readAsArrayBuffer(r);
- }
- t._xhr.readyState === l.DONE && 'ms-stream' !== t._mode && t.push(null);
- });
- }.call(this);
- }.call(
- this,
- r('_process'),
- 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : {},
- r('buffer').Buffer
- );
- },
- {
- './capability': 443,
- _process: 441,
- buffer: 89,
- 'core-js/modules/es.array-buffer.slice.js': 268,
- 'core-js/modules/es.array.iterator.js': 275,
- 'core-js/modules/es.array.slice.js': 278,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.promise.js': 294,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/es.string.match.js': 303,
- 'core-js/modules/es.string.split.js': 306,
- 'core-js/modules/es.typed-array.copy-within.js': 314,
- 'core-js/modules/es.typed-array.every.js': 315,
- 'core-js/modules/es.typed-array.fill.js': 316,
- 'core-js/modules/es.typed-array.filter.js': 317,
- 'core-js/modules/es.typed-array.find-index.js': 318,
- 'core-js/modules/es.typed-array.find.js': 319,
- 'core-js/modules/es.typed-array.for-each.js': 320,
- 'core-js/modules/es.typed-array.includes.js': 321,
- 'core-js/modules/es.typed-array.index-of.js': 322,
- 'core-js/modules/es.typed-array.iterator.js': 323,
- 'core-js/modules/es.typed-array.join.js': 324,
- 'core-js/modules/es.typed-array.last-index-of.js': 325,
- 'core-js/modules/es.typed-array.map.js': 326,
- 'core-js/modules/es.typed-array.reduce-right.js': 327,
- 'core-js/modules/es.typed-array.reduce.js': 328,
- 'core-js/modules/es.typed-array.reverse.js': 329,
- 'core-js/modules/es.typed-array.set.js': 330,
- 'core-js/modules/es.typed-array.slice.js': 331,
- 'core-js/modules/es.typed-array.some.js': 332,
- 'core-js/modules/es.typed-array.sort.js': 333,
- 'core-js/modules/es.typed-array.subarray.js': 334,
- 'core-js/modules/es.typed-array.to-locale-string.js': 335,
- 'core-js/modules/es.typed-array.to-string.js': 336,
- 'core-js/modules/es.typed-array.uint8-array.js': 337,
- 'core-js/modules/web.dom-collections.for-each.js': 338,
- inherits: 353,
- 'readable-stream': 381
- }
- ],
- 446: [
- function (e, t, r) {
- 'use strict';
- var T = e('@babel/runtime/helpers/interopRequireDefault')(e('@babel/runtime/helpers/typeof')),
- k =
- (e('core-js/modules/es.regexp.exec.js'),
- e('core-js/modules/es.string.search.js'),
- e('core-js/modules/es.array.concat.js'),
- e('core-js/modules/es.string.split.js'),
- e('core-js/modules/es.string.replace.js'),
- e('core-js/modules/es.array.join.js'),
- e('core-js/modules/es.string.trim.js'),
- e('core-js/modules/es.string.match.js'),
- e('core-js/modules/es.array.slice.js'),
- e('core-js/modules/es.object.keys.js'),
- e('core-js/modules/es.array.splice.js'),
- e('punycode')),
- E = e('./util');
- function w() {
- (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 = s),
- (r.resolve = function (e, t) {
- return s(e, !1, !0).resolve(t);
- }),
- (r.resolveObject = function (e, t) {
- return e ? s(e, !1, !0).resolveObject(t) : t;
- }),
- (r.format = function (e) {
- E.isString(e) && (e = s(e));
- return e instanceof w ? e.format() : w.prototype.format.call(e);
- }),
- (r.Url = w);
- var _ = /^([a-z0-9.+-]+:)/i,
- n = /:[0-9]*$/,
- S = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,
- r = ['{', '}', '|', '\\', '^', '`'].concat(['<', '>', '"', '`', ' ', '\r', '\n', '\t']),
- O = ["'"].concat(r),
- A = ['%', '/', '?', ';', '#'].concat(O),
- D = ['/', '?', '#'],
- I = /^[+a-z0-9A-Z_-]{0,63}$/,
- C = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,
- N = { javascript: !0, 'javascript:': !0 },
- R = { javascript: !0, 'javascript:': !0 },
- P = {
- http: !0,
- https: !0,
- ftp: !0,
- gopher: !0,
- file: !0,
- 'http:': !0,
- 'https:': !0,
- 'ftp:': !0,
- 'gopher:': !0,
- 'file:': !0
- },
- M = e('querystring');
- function s(e, t, r) {
- if (e && E.isObject(e) && e instanceof w) return e;
- var n = new w();
- return n.parse(e, t, r), n;
- }
- (w.prototype.parse = function (e, t, r) {
- if (!E.isString(e)) throw new TypeError("Parameter 'url' must be a string, not " + (0, T.default)(e));
- var n = e.indexOf('?'),
- n = -1 !== n && n < e.indexOf('#') ? '?' : '#',
- s = e.split(n);
- s[0] = s[0].replace(/\\/g, '/');
- var i = (i = e = s.join(n)).trim();
- if (!r && 1 === e.split('#').length) {
- s = S.exec(i);
- if (s)
- return (
- (this.path = i),
- (this.href = i),
- (this.pathname = s[1]),
- s[2]
- ? ((this.search = s[2]),
- (this.query = t ? M.parse(this.search.substr(1)) : this.search.substr(1)))
- : t && ((this.search = ''), (this.query = {})),
- this
- );
- }
- var o,
- n = _.exec(i);
- if (
- (n && ((o = (n = n[0]).toLowerCase()), (this.protocol = o), (i = i.substr(n.length))),
- !(r || n || i.match(/^\/\/[^@\/]+@[^@\/]+/)) ||
- !(j = '//' === i.substr(0, 2)) ||
- (n && R[n]) ||
- ((i = i.substr(2)), (this.slashes = !0)),
- !R[n] && (j || (n && !P[n])))
- ) {
- for (var a = -1, c = 0; c < D.length; c++)
- -1 !== (l = i.indexOf(D[c])) && (-1 === a || l < a) && (a = l);
- -1 !== (e = -1 === a ? i.lastIndexOf('@') : i.lastIndexOf('@', a)) &&
- ((s = i.slice(0, e)), (i = i.slice(e + 1)), (this.auth = decodeURIComponent(s)));
- for (var l, a = -1, c = 0; c < A.length; c++)
- -1 !== (l = i.indexOf(A[c])) && (-1 === a || l < a) && (a = l);
- -1 === a && (a = i.length),
- (this.host = i.slice(0, a)),
- (i = i.slice(a)),
- this.parseHost(),
- (this.hostname = this.hostname || '');
- r = '[' === this.hostname[0] && ']' === this.hostname[this.hostname.length - 1];
- if (!r)
- for (var u = this.hostname.split('.'), c = 0, p = u.length; c < p; c++) {
- var f = u[c];
- if (f && !f.match(I)) {
- for (var d = '', h = 0, m = f.length; h < m; h++)
- 127 < f.charCodeAt(h) ? (d += 'x') : (d += f[h]);
- if (!d.match(I)) {
- var y = u.slice(0, c),
- b = u.slice(c + 1),
- g = f.match(C);
- g && (y.push(g[1]), b.unshift(g[2])),
- b.length && (i = '/' + b.join('.') + i),
- (this.hostname = y.join('.'));
- break;
- }
- }
- }
- 255 < this.hostname.length ? (this.hostname = '') : (this.hostname = this.hostname.toLowerCase()),
- r || (this.hostname = k.toASCII(this.hostname));
- var v = this.port ? ':' + this.port : '',
- j = this.hostname || '';
- (this.host = j + v),
- (this.href += this.host),
- r &&
- ((this.hostname = this.hostname.substr(1, this.hostname.length - 2)),
- '/' !== i[0] && (i = '/' + i));
- }
- if (!N[o])
- for (c = 0, p = O.length; c < p; c++) {
- var w,
- x = O[c];
- -1 !== i.indexOf(x) &&
- ((w = encodeURIComponent(x)) === x && (w = escape(x)), (i = i.split(x).join(w)));
- }
- (n = i.indexOf('#')), -1 !== n && ((this.hash = i.substr(n)), (i = i.slice(0, n))), (e = i.indexOf('?'));
- return (
- -1 !== e
- ? ((this.search = i.substr(e)),
- (this.query = i.substr(e + 1)),
- t && (this.query = M.parse(this.query)),
- (i = i.slice(0, e)))
- : t && ((this.search = ''), (this.query = {})),
- i && (this.pathname = i),
- P[o] && this.hostname && !this.pathname && (this.pathname = '/'),
- (this.pathname || this.search) &&
- ((v = this.pathname || ''), (s = this.search || ''), (this.path = v + s)),
- (this.href = this.format()),
- this
- );
- }),
- (w.prototype.format = function () {
- var e = this.auth || '',
- t = (e && ((e = (e = encodeURIComponent(e)).replace(/%3A/i, ':')), (e += '@')), this.protocol || ''),
- r = this.pathname || '',
- n = this.hash || '',
- s = !1,
- i = '',
- e =
- (this.host
- ? (s = e + this.host)
- : this.hostname &&
- ((s = e + (-1 === this.hostname.indexOf(':') ? this.hostname : '[' + this.hostname + ']')),
- this.port && (s += ':' + this.port)),
- this.query &&
- E.isObject(this.query) &&
- Object.keys(this.query).length &&
- (i = M.stringify(this.query)),
- this.search || (i && '?' + i) || '');
- return (
- t && ':' !== t.substr(-1) && (t += ':'),
- this.slashes || ((!t || P[t]) && !1 !== s)
- ? ((s = '//' + (s || '')), r && '/' !== r.charAt(0) && (r = '/' + r))
- : (s = s || ''),
- n && '#' !== n.charAt(0) && (n = '#' + n),
- e && '?' !== e.charAt(0) && (e = '?' + e),
- t +
- s +
- (r = r.replace(/[?#]/g, function (e) {
- return encodeURIComponent(e);
- })) +
- (e = e.replace('#', '%23')) +
- n
- );
- }),
- (w.prototype.resolve = function (e) {
- return this.resolveObject(s(e, !1, !0)).format();
- }),
- (w.prototype.resolveObject = function (e) {
- E.isString(e) && ((f = new w()).parse(e, !1, !0), (e = f));
- for (var t = new w(), r = Object.keys(this), n = 0; n < r.length; n++) {
- var s = r[n];
- t[s] = this[s];
- }
- if (((t.hash = e.hash), '' === e.href)) return (t.href = t.format()), t;
- if (e.slashes && !e.protocol) {
- for (var i = Object.keys(e), o = 0; o < i.length; o++) {
- var a = i[o];
- 'protocol' !== a && (t[a] = e[a]);
- }
- return (
- P[t.protocol] && t.hostname && !t.pathname && (t.path = t.pathname = '/'), (t.href = t.format()), t
- );
- }
- if (e.protocol && e.protocol !== t.protocol) {
- if (!P[e.protocol]) {
- for (var c = Object.keys(e), l = 0; l < c.length; l++) {
- var u = c[l];
- t[u] = e[u];
- }
- return (t.href = t.format()), t;
- }
- if (((t.protocol = e.protocol), e.host || R[e.protocol])) t.pathname = e.pathname;
- else {
- for (var p = (e.pathname || '').split('/'); p.length && !(e.host = p.shift()); );
- e.host || (e.host = ''),
- e.hostname || (e.hostname = ''),
- '' !== p[0] && p.unshift(''),
- p.length < 2 && p.unshift(''),
- (t.pathname = p.join('/'));
- }
- return (
- (t.search = e.search),
- (t.query = e.query),
- (t.host = e.host || ''),
- (t.auth = e.auth),
- (t.hostname = e.hostname || e.host),
- (t.port = e.port),
- (t.pathname || t.search) && ((f = t.pathname || ''), (d = t.search || ''), (t.path = f + d)),
- (t.slashes = t.slashes || e.slashes),
- (t.href = t.format()),
- t
- );
- }
- var f = t.pathname && '/' === t.pathname.charAt(0),
- d = e.host || (e.pathname && '/' === e.pathname.charAt(0)),
- f = d || f || (t.host && e.pathname),
- h = f,
- m = (t.pathname && t.pathname.split('/')) || [],
- p = (e.pathname && e.pathname.split('/')) || [],
- y = t.protocol && !P[t.protocol];
- if (
- (y &&
- ((t.hostname = ''),
- (t.port = null),
- t.host && ('' === m[0] ? (m[0] = t.host) : m.unshift(t.host)),
- (t.host = ''),
- e.protocol &&
- ((e.hostname = null),
- (e.port = null),
- e.host && ('' === p[0] ? (p[0] = e.host) : p.unshift(e.host)),
- (e.host = null)),
- (f = f && ('' === p[0] || '' === m[0]))),
- d)
- )
- (t.host = (e.host || '' === e.host ? e : t).host),
- (t.hostname = (e.hostname || '' === e.hostname ? e : t).hostname),
- (t.search = e.search),
- (t.query = e.query),
- (m = p);
- else if (p.length) (m = m || []).pop(), (m = m.concat(p)), (t.search = e.search), (t.query = e.query);
- else if (!E.isNullOrUndefined(e.search))
- return (
- y &&
- ((t.hostname = t.host = m.shift()),
- (j = !!(t.host && 0 < t.host.indexOf('@')) && t.host.split('@')) &&
- ((t.auth = j.shift()), (t.host = t.hostname = j.shift()))),
- (t.search = e.search),
- (t.query = e.query),
- (E.isNull(t.pathname) && E.isNull(t.search)) || (t.path = (t.pathname || '') + (t.search || '')),
- (t.href = t.format()),
- t
- );
- if (!m.length)
- return (
- (t.pathname = null),
- t.search ? (t.path = '/' + t.search) : (t.path = null),
- (t.href = t.format()),
- t
- );
- for (
- var b = m.slice(-1)[0],
- d = ((t.host || e.host || 1 < m.length) && ('.' === b || '..' === b)) || '' === b,
- g = 0,
- v = m.length;
- 0 <= v;
- v--
- )
- '.' === (b = m[v]) ? m.splice(v, 1) : '..' === b ? (m.splice(v, 1), g++) : g && (m.splice(v, 1), g--);
- if (!f && !h) for (; g--; ) m.unshift('..');
- !f || '' === m[0] || (m[0] && '/' === m[0].charAt(0)) || m.unshift(''),
- d && '/' !== m.join('/').substr(-1) && m.push('');
- var j,
- h = '' === m[0] || (m[0] && '/' === m[0].charAt(0));
- return (
- y &&
- ((t.hostname = t.host = !h && m.length ? m.shift() : ''),
- (j = !!(t.host && 0 < t.host.indexOf('@')) && t.host.split('@')) &&
- ((t.auth = j.shift()), (t.host = t.hostname = j.shift()))),
- (f = f || (t.host && m.length)) && !h && m.unshift(''),
- m.length ? (t.pathname = m.join('/')) : ((t.pathname = null), (t.path = null)),
- (E.isNull(t.pathname) && E.isNull(t.search)) || (t.path = (t.pathname || '') + (t.search || '')),
- (t.auth = e.auth || t.auth),
- (t.slashes = t.slashes || e.slashes),
- (t.href = t.format()),
- t
- );
- }),
- (w.prototype.parseHost = function () {
- var e = this.host,
- t = n.exec(e);
- t && (':' !== (t = t[0]) && (this.port = t.substr(1)), (e = e.substr(0, e.length - t.length))),
- e && (this.hostname = e);
- });
- },
- {
- './util': 447,
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/helpers/typeof': 78,
- 'core-js/modules/es.array.concat.js': 269,
- 'core-js/modules/es.array.join.js': 276,
- 'core-js/modules/es.array.slice.js': 278,
- 'core-js/modules/es.array.splice.js': 280,
- 'core-js/modules/es.object.keys.js': 289,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/es.string.match.js': 303,
- 'core-js/modules/es.string.replace.js': 304,
- 'core-js/modules/es.string.search.js': 305,
- 'core-js/modules/es.string.split.js': 306,
- 'core-js/modules/es.string.trim.js': 307,
- punycode: 367,
- querystring: 370
- }
- ],
- 447: [
- function (e, t, r) {
- 'use strict';
- var n = e('@babel/runtime/helpers/interopRequireDefault')(e('@babel/runtime/helpers/typeof'));
- t.exports = {
- isString: function (e) {
- return 'string' == typeof e;
- },
- isObject: function (e) {
- return 'object' === (0, n.default)(e) && null !== e;
- },
- isNull: function (e) {
- return null === e;
- },
- isNullOrUndefined: function (e) {
- return null == e;
- }
- };
- },
- { '@babel/runtime/helpers/interopRequireDefault': 77, '@babel/runtime/helpers/typeof': 78 }
- ],
- 448: [
- function (e, t, r) {
- 'use strict';
- e('core-js/modules/es.number.constructor.js'),
- (r.encodeURIComponent = function (t) {
- try {
- return encodeURIComponent(t);
- } catch (e) {
- return t;
- }
- }),
- (r.escape = e('escape-html')),
- (r.timestamp = function (e) {
- var t;
- return e
- ? ('string' == typeof (t = e) && (t = Number(t)), 10 === String(e).length && (t *= 1e3), new Date(t))
- : Math.round(Date.now() / 1e3);
- });
- },
- { 'core-js/modules/es.number.constructor.js': 283, 'escape-html': 342 }
- ],
- 449: [
- function (e, t, J) {
- !function (Y, $) {
- !function () {
- 'use strict';
- var L = e('@babel/runtime/helpers/interopRequireDefault')(e('@babel/runtime/helpers/typeof')),
- B =
- (e('core-js/modules/es.string.trim.js'),
- e('core-js/modules/es.regexp.exec.js'),
- e('core-js/modules/es.string.split.js'),
- e('core-js/modules/es.object.to-string.js'),
- e('core-js/modules/es.promise.js'),
- e('core-js/modules/es.function.name.js'),
- e('core-js/modules/es.array.concat.js'),
- e('util')),
- q = e('url'),
- F = e('http'),
- U = e('https'),
- G = e('debug')('urllib'),
- X = e('humanize-ms'),
- V = 0,
- z = Math.pow(2, 31) - 10,
- W = /^https?:\/\//i;
- function H(e, t) {
- return void 0 === e ? t : e;
- }
- J.TIMEOUTS = [X('300s'), X('300s')];
- var K = ['json', 'text'];
- (J.request = function (r, i, e) {
- return (
- 2 === arguments.length && 'function' == typeof i && ((e = i), (i = null)),
- 'function' == typeof e
- ? J.requestWithCallback(r, i, e)
- : new Promise(function (e, t) {
- var n, s;
- J.requestWithCallback(
- r,
- i,
- ((n = e),
- (s = t),
- function (e, t, r) {
- if (e) return s(e);
- n({ data: t, status: r.statusCode, headers: r.headers, res: r });
- })
- );
- })
- );
- }),
- (J.requestWithCallback = function (a, c, l) {
- if (!a || ('string' != typeof a && 'object' !== (0, L.default)(a)))
- throw (
- ((t = B.format('expect request url to be a string or a http request options, but got %j', a)),
- new Error(t))
- );
- 2 === arguments.length && 'function' == typeof c && ((l = c), (c = null)), z <= V && (V = 0);
- var e,
- u = ++V,
- p =
- (((c = c || {}).requestUrls = c.requestUrls || []),
- { requestId: u, url: a, args: c, ctx: c.ctx }),
- f =
- (c.emitter && c.emitter.emit('request', p),
- (c.timeout = c.timeout || J.TIMEOUTS),
- (c.maxRedirects = c.maxRedirects || 10),
- (c.streaming = c.streaming || c.customResponse),
- Date.now()),
- t = 'string' == typeof a ? (W.test(a) || (a = 'https://' + a), q.parse(a)) : a,
- r = (c.type || c.method || t.method || 'GET').toUpperCase(),
- n = t.port || 80,
- s = F,
- d = H(c.agent, J.agent),
- M = c.fixJSONCtlChars,
- h =
- ('https:' === t.protocol && ((s = U), (d = H(c.httpsAgent, J.httpsAgent)), t.port || (n = 443)),
- {
- host: t.hostname || t.host || 'localhost',
- path: t.path || '/',
- method: r,
- port: n,
- agent: d,
- headers: c.headers || {},
- lookup: c.lookup
- }),
- n =
- (Array.isArray(c.timeout)
- ? (h.requestTimeout = c.timeout[c.timeout.length - 1])
- : void 0 !== c.timeout && (h.requestTimeout = c.timeout),
- c.auth || t.auth),
- n = (n && (h.auth = n), c.content || c.data),
- i = 'GET' === r || 'HEAD' === r || c.dataAsQueryString,
- m =
- (c.content ||
- (n &&
- 'string' != typeof n &&
- !$.isBuffer(n) &&
- (n = i
- ? (c.nestedQuerystring ? qs : querystring).stringify(n)
- : ((e = h.headers['Content-Type'] || h.headers['content-type']) ||
- ((e =
- 'json' === c.contentType
- ? 'application/json'
- : 'application/x-www-form-urlencoded'),
- (h.headers['Content-Type'] = e)),
- ('application/json' === ((e = e) ? e.split(';')[0].trim().toLowerCase() : '')
- ? JSON
- : c.nestedQuerystring
- ? qs
- : querystring
- ).stringify(n)))),
- i && n && ((h.path += (t.query ? '&' : '?') + n), (n = null)),
- 0),
- o =
- (n &&
- ((e = n.length),
- $.isBuffer(n) || (e = $.byteLength(n)),
- (m = h.headers['Content-Length'] = e)),
- 'json' === c.dataType && (h.headers.Accept = 'application/json'),
- 'function' == typeof c.beforeRequest && c.beforeRequest(h),
- null),
- y = null,
- b = null,
- g = !1,
- v = !1,
- j = 0,
- w = -1,
- x = !1,
- T = '',
- k = '',
- E = null;
- function _() {
- o && (clearTimeout(o), (o = null));
- }
- function S() {
- y && (clearTimeout(y), (y = null));
- }
- function O(e, t, r) {
- if ((S(), !l))
- return (
- console.warn(
- '[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!',
- Date(),
- u,
- Y.pid,
- h.method,
- a
- ),
- void (
- e &&
- console.warn(
- '[urllib:warn] [%s] [%s] [worker:%s] %s: %s\nstack: %s',
- Date(),
- u,
- Y.pid,
- e.name,
- e.message,
- e.stack
- )
- )
- );
- var n,
- s = l,
- i = ((l = null), {}),
- o = (r && ((w = r.statusCode), (i = r.headers)), Date.now() - f),
- o =
- (E && (E.contentDownload = o),
- G(
- '[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j',
- o,
- j,
- w,
- h.method,
- h.host,
- h.path,
- v,
- E
- ),
- {
- status: w,
- statusCode: w,
- headers: i,
- size: j,
- aborted: x,
- rt: o,
- keepAliveSocket: v,
- data: t,
- requestUrls: c.requestUrls,
- timing: E,
- remoteAddress: T,
- remotePort: k
- });
- e &&
- ((n = ''),
- d &&
- 'function' == typeof d.getCurrentStatus &&
- (n = ', agent status: ' + JSON.stringify(d.getCurrentStatus())),
- (e.message +=
- ', ' +
- h.method +
- ' ' +
- a +
- ' ' +
- w +
- ' (connected: ' +
- g +
- ', keepalive socket: ' +
- v +
- n +
- ')\nheaders: ' +
- JSON.stringify(i)),
- (e.data = t),
- (e.path = h.path),
- (e.status = w),
- (e.headers = i),
- (e.res = o)),
- s(e, t, c.streaming ? r : o),
- c.emitter &&
- ((p.url = a),
- (p.socket = C && C.connection),
- (p.options = h),
- (p.size = m),
- c.emitter.emit('response', { requestId: u, error: e, ctx: c.ctx, req: p, res: o }));
- }
- function A(e) {
- var t = null;
- if (c.followRedirect && statuses.redirect[e.statusCode]) {
- c._followRedirectCount = (c._followRedirectCount || 0) + 1;
- var r,
- n = e.headers.location;
- if (n) {
- if (!(c._followRedirectCount > c.maxRedirects))
- return (
- (r = c.formatRedirectUrl ? c.formatRedirectUrl(a, n) : q.resolve(a, n)),
- G('Request#%d %s: `redirected` from %s to %s', u, h.path, a, r),
- S(),
- c.headers && c.headers.Host && W.test(n) && (c.headers.Host = null),
- (n = l),
- (l = null),
- J.requestWithCallback(r, c, n),
- { redirect: !0, error: null }
- );
- (t = new Error('Exceeded maxRedirects. Probably stuck in a redirect loop ' + a)).name =
- 'MaxRedirectError';
- } else
- (t = new Error(
- 'Got statusCode ' + e.statusCode + ' but cannot resolve next location from headers'
- )).name = 'FollowRedirectError';
- }
- return { redirect: !1, error: t };
- }
- c.timing &&
- (E = { queuing: 0, dnslookup: 0, connected: 0, requestSent: 0, waiting: 0, contentDownload: 0 }),
- !c.gzip ||
- h.headers['Accept-Encoding'] ||
- h.headers['accept-encoding'] ||
- (h.headers['Accept-Encoding'] = 'gzip');
- var D,
- I,
- C,
- N = c.writeStream;
- function R() {
- G('Response timer ticking, timeout: %d', I),
- (y = setTimeout(function () {
- y = null;
- var e = 'Response timeout for ' + I + 'ms';
- ((b = new Error(e)).name = 'ResponseTimeoutError'),
- (b.requestId = u),
- G('ResponseTimeout: Request#%d %s %s: %s, connected: %s', u, a, b.name, e, g),
- P();
- }, I));
- }
- G('Request#%d %s %s with headers %j, options.path: %s', u, r, a, h.headers, h.path),
- c.requestUrls.push(a),
- Array.isArray(c.timeout)
- ? ((D = X(c.timeout[0])), (I = X(c.timeout[1])))
- : (D = I = X(c.timeout)),
- G('ConnectTimeout: %d, ResponseTimeout: %d', D, I),
- (h.mode = c.mode || '');
- try {
- C = s.request(h, function (s) {
- var e;
- if (
- (E && (E.waiting = Date.now() - f),
- G(
- 'Request#%d %s `req response` event emit: status %d, headers: %j',
- u,
- a,
- s.statusCode,
- s.headers
- ),
- c.streaming)
- )
- return (e = A(s)).redirect
- ? void s.resume()
- : e.error
- ? (s.resume(), O(e.error, null, s))
- : O(null, null, s);
- if (
- (s.on('close', function () {
- G('Request#%d %s: `res close` event emit, total size %d', u, a, j);
- }),
- s.on('error', function () {
- G('Request#%d %s: `res error` event emit, total size %d', u, a, j);
- }),
- s.on('aborted', function () {
- (x = !0), G('Request#%d %s: `res aborted` event emit, total size %d', u, a, j);
- }),
- N)
- )
- return (e = A(s)).redirect
- ? void s.resume()
- : e.error
- ? (s.resume(), N.end(), O(e.error, null, s))
- : (!1 === c.consumeWriteStream
- ? s.on('end', O.bind(null, null, null, s))
- : N.on('close', function () {
- G('Request#%d %s: writeStream close event emitted', u, a), O(b || null, null, s);
- }),
- s.pipe(N));
- var t = [];
- s.on('data', function (e) {
- G('Request#%d %s: `res data` event emit, size %d', u, a, e.length),
- (j += e.length),
- t.push(e);
- }),
- s.on('end', function () {
- var e,
- n = $.concat(t, j);
- return (
- G('Request#%d %s: `res end` event emit, total size %d, _dumped: %s', u, a, j, s._dumped),
- b
- ? O(b, n, s)
- : (e = A(s)).error
- ? O(e.error, n, s)
- : void (
- e.redirect ||
- (function (e, t, r) {
- if (e) return O(e, n, s);
- if (!r && 0 <= K.indexOf(c.dataType)) {
- try {
- t = decodeBodyByCharset(t, s);
- } catch (e) {
- return G('decodeBodyByCharset error: %s', e), O(null, t, s);
- }
- 'json' === c.dataType &&
- (0 === j
- ? (t = null)
- : (r = parseJSON(t, M)).error
- ? (e = r.error)
- : (t = r.data));
- }
- x &&
- G(
- 'Request#%d %s: Remote socket was terminated before `response.end()` was called',
- u,
- a
- ),
- O(e, t, s);
- })(null, n, s.headers['content-encoding'])
- )
- );
- });
- });
- } catch (e) {
- return O(e);
- }
- function P() {
- G('Request#%d %s abort, connected: %s', u, a, g),
- C.socket || ((b.noSocket = !0), O(b)),
- C.abort();
- }
- return (
- 'undefined' == typeof window
- ? (G('Connect timer ticking, timeout: %d', D),
- (o = setTimeout(function () {
- (o = null), -1 === w && (w = -2);
- var e = 'Connect timeout for ' + D + 'ms',
- t = 'ConnectionTimeoutError';
- C.socket || ((t = 'SocketAssignTimeoutError'), (e += ', working sockets is full')),
- ((b = new Error(e)).name = t),
- (b.requestId = u),
- G('ConnectTimeout: Request#%d %s %s: %s, connected: %s', u, a, b.name, e, g),
- P();
- }, D)))
- : C.on('requestTimeout', function () {
- -1 === w && (w = -2);
- ((b = new Error('Connect timeout for ' + D + 'ms')).name = 'ConnectionTimeoutError'),
- (b.requestId = u),
- P();
- }),
- E &&
- C.on('finish', function () {
- E.requestSent = Date.now() - f;
- }),
- C.once('socket', function (e) {
- E && (E.queuing = Date.now() - f);
- var t = e.readyState;
- if ('opening' === t)
- return (
- e.once('lookup', function (e, t, r) {
- G('Request#%d %s lookup: %s, %s, %s', u, a, e, t, r),
- E && (E.dnslookup = Date.now() - f),
- t && (T = t);
- }),
- void e.once('connect', function () {
- E && (E.connected = Date.now() - f),
- _(),
- R(),
- G('Request#%d %s new socket connected', u, a),
- (g = !0),
- (T = T || e.remoteAddress),
- (k = e.remotePort);
- })
- );
- G('Request#%d %s reuse socket connected, readyState: %s', u, a, t),
- (v = g = !0),
- (T = T || e.remoteAddress),
- (k = e.remotePort),
- _(),
- R();
- }),
- C.on('error', function (e) {
- ('Error' !== e.name && 'TypeError' !== e.name) ||
- (e.name = g ? 'ResponseError' : 'RequestError'),
- (e.message += ' (req "error")'),
- G('Request#%d %s `req error` event emit, %s: %s', u, a, e.name, e.message),
- O(b || e);
- }),
- N &&
- N.once('error', function (e) {
- (e.message += ' (writeStream "error")'),
- G('Request#%d %s `writeStream error` event emit, %s: %s', u, a, (b = e).name, e.message),
- P();
- }),
- c.stream
- ? (c.stream.pipe(C),
- c.stream.once('error', function (e) {
- (e.message += ' (stream "error")'),
- G('Request#%d %s `readStream error` event emit, %s: %s', u, a, (b = e).name, e.message),
- P();
- }))
- : C.end(n),
- (C.requestId = u),
- C
- );
- });
- }.call(this);
- }.call(this, e('_process'), e('buffer').Buffer);
- },
- {
- '@babel/runtime/helpers/interopRequireDefault': 77,
- '@babel/runtime/helpers/typeof': 78,
- _process: 441,
- buffer: 89,
- 'core-js/modules/es.array.concat.js': 269,
- 'core-js/modules/es.function.name.js': 281,
- 'core-js/modules/es.object.to-string.js': 290,
- 'core-js/modules/es.promise.js': 294,
- 'core-js/modules/es.regexp.exec.js': 299,
- 'core-js/modules/es.string.split.js': 306,
- 'core-js/modules/es.string.trim.js': 307,
- debug: 439,
- http: 442,
- https: 344,
- 'humanize-ms': 345,
- url: 446,
- util: 394
- }
- ]
- },
- {},
- [1]
- )(1);
- });
- })(window);
|