doesburg.umd.js 176 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126
  1. (function webpackUniversalModuleDefinition(root, factory) {
  2. if(typeof exports === 'object' && typeof module === 'object')
  3. module.exports = factory(require("vue"));
  4. else if(typeof define === 'function' && define.amd)
  5. define([], factory);
  6. else if(typeof exports === 'object')
  7. exports["doesburg"] = factory(require("vue"));
  8. else
  9. root["doesburg"] = factory(root["Vue"]);
  10. })((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__8bbf__) {
  11. return /******/ (function(modules) { // webpackBootstrap
  12. /******/ // The module cache
  13. /******/ var installedModules = {};
  14. /******/
  15. /******/ // The require function
  16. /******/ function __webpack_require__(moduleId) {
  17. /******/
  18. /******/ // Check if module is in cache
  19. /******/ if(installedModules[moduleId]) {
  20. /******/ return installedModules[moduleId].exports;
  21. /******/ }
  22. /******/ // Create a new module (and put it into the cache)
  23. /******/ var module = installedModules[moduleId] = {
  24. /******/ i: moduleId,
  25. /******/ l: false,
  26. /******/ exports: {}
  27. /******/ };
  28. /******/
  29. /******/ // Execute the module function
  30. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  31. /******/
  32. /******/ // Flag the module as loaded
  33. /******/ module.l = true;
  34. /******/
  35. /******/ // Return the exports of the module
  36. /******/ return module.exports;
  37. /******/ }
  38. /******/
  39. /******/
  40. /******/ // expose the modules object (__webpack_modules__)
  41. /******/ __webpack_require__.m = modules;
  42. /******/
  43. /******/ // expose the module cache
  44. /******/ __webpack_require__.c = installedModules;
  45. /******/
  46. /******/ // define getter function for harmony exports
  47. /******/ __webpack_require__.d = function(exports, name, getter) {
  48. /******/ if(!__webpack_require__.o(exports, name)) {
  49. /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
  50. /******/ }
  51. /******/ };
  52. /******/
  53. /******/ // define __esModule on exports
  54. /******/ __webpack_require__.r = function(exports) {
  55. /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  56. /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  57. /******/ }
  58. /******/ Object.defineProperty(exports, '__esModule', { value: true });
  59. /******/ };
  60. /******/
  61. /******/ // create a fake namespace object
  62. /******/ // mode & 1: value is a module id, require it
  63. /******/ // mode & 2: merge all properties of value into the ns
  64. /******/ // mode & 4: return value when already ns object
  65. /******/ // mode & 8|1: behave like require
  66. /******/ __webpack_require__.t = function(value, mode) {
  67. /******/ if(mode & 1) value = __webpack_require__(value);
  68. /******/ if(mode & 8) return value;
  69. /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  70. /******/ var ns = Object.create(null);
  71. /******/ __webpack_require__.r(ns);
  72. /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  73. /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  74. /******/ return ns;
  75. /******/ };
  76. /******/
  77. /******/ // getDefaultExport function for compatibility with non-harmony modules
  78. /******/ __webpack_require__.n = function(module) {
  79. /******/ var getter = module && module.__esModule ?
  80. /******/ function getDefault() { return module['default']; } :
  81. /******/ function getModuleExports() { return module; };
  82. /******/ __webpack_require__.d(getter, 'a', getter);
  83. /******/ return getter;
  84. /******/ };
  85. /******/
  86. /******/ // Object.prototype.hasOwnProperty.call
  87. /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  88. /******/
  89. /******/ // __webpack_public_path__
  90. /******/ __webpack_require__.p = "";
  91. /******/
  92. /******/
  93. /******/ // Load entry module and return exports
  94. /******/ return __webpack_require__(__webpack_require__.s = "fb15");
  95. /******/ })
  96. /************************************************************************/
  97. /******/ ({
  98. /***/ "014b":
  99. /***/ (function(module, exports, __webpack_require__) {
  100. "use strict";
  101. // ECMAScript 6 symbols shim
  102. var global = __webpack_require__("e53d");
  103. var has = __webpack_require__("07e3");
  104. var DESCRIPTORS = __webpack_require__("8e60");
  105. var $export = __webpack_require__("63b6");
  106. var redefine = __webpack_require__("9138");
  107. var META = __webpack_require__("ebfd").KEY;
  108. var $fails = __webpack_require__("294c");
  109. var shared = __webpack_require__("dbdb");
  110. var setToStringTag = __webpack_require__("45f2");
  111. var uid = __webpack_require__("62a0");
  112. var wks = __webpack_require__("5168");
  113. var wksExt = __webpack_require__("ccb9");
  114. var wksDefine = __webpack_require__("6718");
  115. var enumKeys = __webpack_require__("47ee");
  116. var isArray = __webpack_require__("9003");
  117. var anObject = __webpack_require__("e4ae");
  118. var isObject = __webpack_require__("f772");
  119. var toIObject = __webpack_require__("36c3");
  120. var toPrimitive = __webpack_require__("1bc3");
  121. var createDesc = __webpack_require__("aebd");
  122. var _create = __webpack_require__("a159");
  123. var gOPNExt = __webpack_require__("0395");
  124. var $GOPD = __webpack_require__("bf0b");
  125. var $DP = __webpack_require__("d9f6");
  126. var $keys = __webpack_require__("c3a1");
  127. var gOPD = $GOPD.f;
  128. var dP = $DP.f;
  129. var gOPN = gOPNExt.f;
  130. var $Symbol = global.Symbol;
  131. var $JSON = global.JSON;
  132. var _stringify = $JSON && $JSON.stringify;
  133. var PROTOTYPE = 'prototype';
  134. var HIDDEN = wks('_hidden');
  135. var TO_PRIMITIVE = wks('toPrimitive');
  136. var isEnum = {}.propertyIsEnumerable;
  137. var SymbolRegistry = shared('symbol-registry');
  138. var AllSymbols = shared('symbols');
  139. var OPSymbols = shared('op-symbols');
  140. var ObjectProto = Object[PROTOTYPE];
  141. var USE_NATIVE = typeof $Symbol == 'function';
  142. var QObject = global.QObject;
  143. // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
  144. var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
  145. // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
  146. var setSymbolDesc = DESCRIPTORS && $fails(function () {
  147. return _create(dP({}, 'a', {
  148. get: function () { return dP(this, 'a', { value: 7 }).a; }
  149. })).a != 7;
  150. }) ? function (it, key, D) {
  151. var protoDesc = gOPD(ObjectProto, key);
  152. if (protoDesc) delete ObjectProto[key];
  153. dP(it, key, D);
  154. if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
  155. } : dP;
  156. var wrap = function (tag) {
  157. var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
  158. sym._k = tag;
  159. return sym;
  160. };
  161. var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
  162. return typeof it == 'symbol';
  163. } : function (it) {
  164. return it instanceof $Symbol;
  165. };
  166. var $defineProperty = function defineProperty(it, key, D) {
  167. if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
  168. anObject(it);
  169. key = toPrimitive(key, true);
  170. anObject(D);
  171. if (has(AllSymbols, key)) {
  172. if (!D.enumerable) {
  173. if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
  174. it[HIDDEN][key] = true;
  175. } else {
  176. if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
  177. D = _create(D, { enumerable: createDesc(0, false) });
  178. } return setSymbolDesc(it, key, D);
  179. } return dP(it, key, D);
  180. };
  181. var $defineProperties = function defineProperties(it, P) {
  182. anObject(it);
  183. var keys = enumKeys(P = toIObject(P));
  184. var i = 0;
  185. var l = keys.length;
  186. var key;
  187. while (l > i) $defineProperty(it, key = keys[i++], P[key]);
  188. return it;
  189. };
  190. var $create = function create(it, P) {
  191. return P === undefined ? _create(it) : $defineProperties(_create(it), P);
  192. };
  193. var $propertyIsEnumerable = function propertyIsEnumerable(key) {
  194. var E = isEnum.call(this, key = toPrimitive(key, true));
  195. if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
  196. return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
  197. };
  198. var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
  199. it = toIObject(it);
  200. key = toPrimitive(key, true);
  201. if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
  202. var D = gOPD(it, key);
  203. if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
  204. return D;
  205. };
  206. var $getOwnPropertyNames = function getOwnPropertyNames(it) {
  207. var names = gOPN(toIObject(it));
  208. var result = [];
  209. var i = 0;
  210. var key;
  211. while (names.length > i) {
  212. if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
  213. } return result;
  214. };
  215. var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
  216. var IS_OP = it === ObjectProto;
  217. var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
  218. var result = [];
  219. var i = 0;
  220. var key;
  221. while (names.length > i) {
  222. if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
  223. } return result;
  224. };
  225. // 19.4.1.1 Symbol([description])
  226. if (!USE_NATIVE) {
  227. $Symbol = function Symbol() {
  228. if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
  229. var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
  230. var $set = function (value) {
  231. if (this === ObjectProto) $set.call(OPSymbols, value);
  232. if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
  233. setSymbolDesc(this, tag, createDesc(1, value));
  234. };
  235. if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
  236. return wrap(tag);
  237. };
  238. redefine($Symbol[PROTOTYPE], 'toString', function toString() {
  239. return this._k;
  240. });
  241. $GOPD.f = $getOwnPropertyDescriptor;
  242. $DP.f = $defineProperty;
  243. __webpack_require__("6abf").f = gOPNExt.f = $getOwnPropertyNames;
  244. __webpack_require__("355d").f = $propertyIsEnumerable;
  245. __webpack_require__("9aa9").f = $getOwnPropertySymbols;
  246. if (DESCRIPTORS && !__webpack_require__("b8e3")) {
  247. redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
  248. }
  249. wksExt.f = function (name) {
  250. return wrap(wks(name));
  251. };
  252. }
  253. $export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
  254. for (var es6Symbols = (
  255. // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
  256. 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
  257. ).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);
  258. for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);
  259. $export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
  260. // 19.4.2.1 Symbol.for(key)
  261. 'for': function (key) {
  262. return has(SymbolRegistry, key += '')
  263. ? SymbolRegistry[key]
  264. : SymbolRegistry[key] = $Symbol(key);
  265. },
  266. // 19.4.2.5 Symbol.keyFor(sym)
  267. keyFor: function keyFor(sym) {
  268. if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
  269. for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
  270. },
  271. useSetter: function () { setter = true; },
  272. useSimple: function () { setter = false; }
  273. });
  274. $export($export.S + $export.F * !USE_NATIVE, 'Object', {
  275. // 19.1.2.2 Object.create(O [, Properties])
  276. create: $create,
  277. // 19.1.2.4 Object.defineProperty(O, P, Attributes)
  278. defineProperty: $defineProperty,
  279. // 19.1.2.3 Object.defineProperties(O, Properties)
  280. defineProperties: $defineProperties,
  281. // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
  282. getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
  283. // 19.1.2.7 Object.getOwnPropertyNames(O)
  284. getOwnPropertyNames: $getOwnPropertyNames,
  285. // 19.1.2.8 Object.getOwnPropertySymbols(O)
  286. getOwnPropertySymbols: $getOwnPropertySymbols
  287. });
  288. // 24.3.2 JSON.stringify(value [, replacer [, space]])
  289. $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
  290. var S = $Symbol();
  291. // MS Edge converts symbol values to JSON as {}
  292. // WebKit converts symbol values to JSON as null
  293. // V8 throws on boxed symbols
  294. return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
  295. })), 'JSON', {
  296. stringify: function stringify(it) {
  297. var args = [it];
  298. var i = 1;
  299. var replacer, $replacer;
  300. while (arguments.length > i) args.push(arguments[i++]);
  301. $replacer = replacer = args[1];
  302. if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
  303. if (!isArray(replacer)) replacer = function (key, value) {
  304. if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
  305. if (!isSymbol(value)) return value;
  306. };
  307. args[1] = replacer;
  308. return _stringify.apply($JSON, args);
  309. }
  310. });
  311. // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
  312. $Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__("35e8")($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
  313. // 19.4.3.5 Symbol.prototype[@@toStringTag]
  314. setToStringTag($Symbol, 'Symbol');
  315. // 20.2.1.9 Math[@@toStringTag]
  316. setToStringTag(Math, 'Math', true);
  317. // 24.3.3 JSON[@@toStringTag]
  318. setToStringTag(global.JSON, 'JSON', true);
  319. /***/ }),
  320. /***/ "01f9":
  321. /***/ (function(module, exports, __webpack_require__) {
  322. "use strict";
  323. var LIBRARY = __webpack_require__("2d00");
  324. var $export = __webpack_require__("5ca1");
  325. var redefine = __webpack_require__("2aba");
  326. var hide = __webpack_require__("32e9");
  327. var Iterators = __webpack_require__("84f2");
  328. var $iterCreate = __webpack_require__("41a0");
  329. var setToStringTag = __webpack_require__("7f20");
  330. var getPrototypeOf = __webpack_require__("38fd");
  331. var ITERATOR = __webpack_require__("2b4c")('iterator');
  332. var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
  333. var FF_ITERATOR = '@@iterator';
  334. var KEYS = 'keys';
  335. var VALUES = 'values';
  336. var returnThis = function () { return this; };
  337. module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
  338. $iterCreate(Constructor, NAME, next);
  339. var getMethod = function (kind) {
  340. if (!BUGGY && kind in proto) return proto[kind];
  341. switch (kind) {
  342. case KEYS: return function keys() { return new Constructor(this, kind); };
  343. case VALUES: return function values() { return new Constructor(this, kind); };
  344. } return function entries() { return new Constructor(this, kind); };
  345. };
  346. var TAG = NAME + ' Iterator';
  347. var DEF_VALUES = DEFAULT == VALUES;
  348. var VALUES_BUG = false;
  349. var proto = Base.prototype;
  350. var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
  351. var $default = $native || getMethod(DEFAULT);
  352. var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
  353. var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
  354. var methods, key, IteratorPrototype;
  355. // Fix native
  356. if ($anyNative) {
  357. IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
  358. if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
  359. // Set @@toStringTag to native iterators
  360. setToStringTag(IteratorPrototype, TAG, true);
  361. // fix for some old engines
  362. if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
  363. }
  364. }
  365. // fix Array#{values, @@iterator}.name in V8 / FF
  366. if (DEF_VALUES && $native && $native.name !== VALUES) {
  367. VALUES_BUG = true;
  368. $default = function values() { return $native.call(this); };
  369. }
  370. // Define iterator
  371. if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
  372. hide(proto, ITERATOR, $default);
  373. }
  374. // Plug for library
  375. Iterators[NAME] = $default;
  376. Iterators[TAG] = returnThis;
  377. if (DEFAULT) {
  378. methods = {
  379. values: DEF_VALUES ? $default : getMethod(VALUES),
  380. keys: IS_SET ? $default : getMethod(KEYS),
  381. entries: $entries
  382. };
  383. if (FORCED) for (key in methods) {
  384. if (!(key in proto)) redefine(proto, key, methods[key]);
  385. } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
  386. }
  387. return methods;
  388. };
  389. /***/ }),
  390. /***/ "02f4":
  391. /***/ (function(module, exports, __webpack_require__) {
  392. var toInteger = __webpack_require__("4588");
  393. var defined = __webpack_require__("be13");
  394. // true -> String#at
  395. // false -> String#codePointAt
  396. module.exports = function (TO_STRING) {
  397. return function (that, pos) {
  398. var s = String(defined(that));
  399. var i = toInteger(pos);
  400. var l = s.length;
  401. var a, b;
  402. if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
  403. a = s.charCodeAt(i);
  404. return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
  405. ? TO_STRING ? s.charAt(i) : a
  406. : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
  407. };
  408. };
  409. /***/ }),
  410. /***/ "0390":
  411. /***/ (function(module, exports, __webpack_require__) {
  412. "use strict";
  413. var at = __webpack_require__("02f4")(true);
  414. // `AdvanceStringIndex` abstract operation
  415. // https://tc39.github.io/ecma262/#sec-advancestringindex
  416. module.exports = function (S, index, unicode) {
  417. return index + (unicode ? at(S, index).length : 1);
  418. };
  419. /***/ }),
  420. /***/ "0395":
  421. /***/ (function(module, exports, __webpack_require__) {
  422. // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
  423. var toIObject = __webpack_require__("36c3");
  424. var gOPN = __webpack_require__("6abf").f;
  425. var toString = {}.toString;
  426. var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
  427. ? Object.getOwnPropertyNames(window) : [];
  428. var getWindowNames = function (it) {
  429. try {
  430. return gOPN(it);
  431. } catch (e) {
  432. return windowNames.slice();
  433. }
  434. };
  435. module.exports.f = function getOwnPropertyNames(it) {
  436. return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
  437. };
  438. /***/ }),
  439. /***/ "07e3":
  440. /***/ (function(module, exports) {
  441. var hasOwnProperty = {}.hasOwnProperty;
  442. module.exports = function (it, key) {
  443. return hasOwnProperty.call(it, key);
  444. };
  445. /***/ }),
  446. /***/ "0bfb":
  447. /***/ (function(module, exports, __webpack_require__) {
  448. "use strict";
  449. // 21.2.5.3 get RegExp.prototype.flags
  450. var anObject = __webpack_require__("cb7c");
  451. module.exports = function () {
  452. var that = anObject(this);
  453. var result = '';
  454. if (that.global) result += 'g';
  455. if (that.ignoreCase) result += 'i';
  456. if (that.multiline) result += 'm';
  457. if (that.unicode) result += 'u';
  458. if (that.sticky) result += 'y';
  459. return result;
  460. };
  461. /***/ }),
  462. /***/ "0d58":
  463. /***/ (function(module, exports, __webpack_require__) {
  464. // 19.1.2.14 / 15.2.3.14 Object.keys(O)
  465. var $keys = __webpack_require__("ce10");
  466. var enumBugKeys = __webpack_require__("e11e");
  467. module.exports = Object.keys || function keys(O) {
  468. return $keys(O, enumBugKeys);
  469. };
  470. /***/ }),
  471. /***/ "0fc9":
  472. /***/ (function(module, exports, __webpack_require__) {
  473. var toInteger = __webpack_require__("3a38");
  474. var max = Math.max;
  475. var min = Math.min;
  476. module.exports = function (index, length) {
  477. index = toInteger(index);
  478. return index < 0 ? max(index + length, 0) : min(index, length);
  479. };
  480. /***/ }),
  481. /***/ "11e9":
  482. /***/ (function(module, exports, __webpack_require__) {
  483. var pIE = __webpack_require__("52a7");
  484. var createDesc = __webpack_require__("4630");
  485. var toIObject = __webpack_require__("6821");
  486. var toPrimitive = __webpack_require__("6a99");
  487. var has = __webpack_require__("69a8");
  488. var IE8_DOM_DEFINE = __webpack_require__("c69a");
  489. var gOPD = Object.getOwnPropertyDescriptor;
  490. exports.f = __webpack_require__("9e1e") ? gOPD : function getOwnPropertyDescriptor(O, P) {
  491. O = toIObject(O);
  492. P = toPrimitive(P, true);
  493. if (IE8_DOM_DEFINE) try {
  494. return gOPD(O, P);
  495. } catch (e) { /* empty */ }
  496. if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
  497. };
  498. /***/ }),
  499. /***/ "1495":
  500. /***/ (function(module, exports, __webpack_require__) {
  501. var dP = __webpack_require__("86cc");
  502. var anObject = __webpack_require__("cb7c");
  503. var getKeys = __webpack_require__("0d58");
  504. module.exports = __webpack_require__("9e1e") ? Object.defineProperties : function defineProperties(O, Properties) {
  505. anObject(O);
  506. var keys = getKeys(Properties);
  507. var length = keys.length;
  508. var i = 0;
  509. var P;
  510. while (length > i) dP.f(O, P = keys[i++], Properties[P]);
  511. return O;
  512. };
  513. /***/ }),
  514. /***/ "1691":
  515. /***/ (function(module, exports) {
  516. // IE 8- don't enum bug keys
  517. module.exports = (
  518. 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
  519. ).split(',');
  520. /***/ }),
  521. /***/ "1bc3":
  522. /***/ (function(module, exports, __webpack_require__) {
  523. // 7.1.1 ToPrimitive(input [, PreferredType])
  524. var isObject = __webpack_require__("f772");
  525. // instead of the ES6 spec version, we didn't implement @@toPrimitive case
  526. // and the second argument - flag - preferred type is a string
  527. module.exports = function (it, S) {
  528. if (!isObject(it)) return it;
  529. var fn, val;
  530. if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
  531. if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
  532. if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
  533. throw TypeError("Can't convert object to primitive value");
  534. };
  535. /***/ }),
  536. /***/ "1ec9":
  537. /***/ (function(module, exports, __webpack_require__) {
  538. var isObject = __webpack_require__("f772");
  539. var document = __webpack_require__("e53d").document;
  540. // typeof document.createElement is 'object' in old IE
  541. var is = isObject(document) && isObject(document.createElement);
  542. module.exports = function (it) {
  543. return is ? document.createElement(it) : {};
  544. };
  545. /***/ }),
  546. /***/ "214f":
  547. /***/ (function(module, exports, __webpack_require__) {
  548. "use strict";
  549. __webpack_require__("b0c5");
  550. var redefine = __webpack_require__("2aba");
  551. var hide = __webpack_require__("32e9");
  552. var fails = __webpack_require__("79e5");
  553. var defined = __webpack_require__("be13");
  554. var wks = __webpack_require__("2b4c");
  555. var regexpExec = __webpack_require__("520a");
  556. var SPECIES = wks('species');
  557. var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
  558. // #replace needs built-in support for named groups.
  559. // #match works fine because it just return the exec results, even if it has
  560. // a "grops" property.
  561. var re = /./;
  562. re.exec = function () {
  563. var result = [];
  564. result.groups = { a: '7' };
  565. return result;
  566. };
  567. return ''.replace(re, '$<a>') !== '7';
  568. });
  569. var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {
  570. // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
  571. var re = /(?:)/;
  572. var originalExec = re.exec;
  573. re.exec = function () { return originalExec.apply(this, arguments); };
  574. var result = 'ab'.split(re);
  575. return result.length === 2 && result[0] === 'a' && result[1] === 'b';
  576. })();
  577. module.exports = function (KEY, length, exec) {
  578. var SYMBOL = wks(KEY);
  579. var DELEGATES_TO_SYMBOL = !fails(function () {
  580. // String methods call symbol-named RegEp methods
  581. var O = {};
  582. O[SYMBOL] = function () { return 7; };
  583. return ''[KEY](O) != 7;
  584. });
  585. var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {
  586. // Symbol-named RegExp methods call .exec
  587. var execCalled = false;
  588. var re = /a/;
  589. re.exec = function () { execCalled = true; return null; };
  590. if (KEY === 'split') {
  591. // RegExp[@@split] doesn't call the regex's exec method, but first creates
  592. // a new one. We need to return the patched regex when creating the new one.
  593. re.constructor = {};
  594. re.constructor[SPECIES] = function () { return re; };
  595. }
  596. re[SYMBOL]('');
  597. return !execCalled;
  598. }) : undefined;
  599. if (
  600. !DELEGATES_TO_SYMBOL ||
  601. !DELEGATES_TO_EXEC ||
  602. (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||
  603. (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
  604. ) {
  605. var nativeRegExpMethod = /./[SYMBOL];
  606. var fns = exec(
  607. defined,
  608. SYMBOL,
  609. ''[KEY],
  610. function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {
  611. if (regexp.exec === regexpExec) {
  612. if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
  613. // The native String method already delegates to @@method (this
  614. // polyfilled function), leasing to infinite recursion.
  615. // We avoid it by directly calling the native @@method method.
  616. return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
  617. }
  618. return { done: true, value: nativeMethod.call(str, regexp, arg2) };
  619. }
  620. return { done: false };
  621. }
  622. );
  623. var strfn = fns[0];
  624. var rxfn = fns[1];
  625. redefine(String.prototype, KEY, strfn);
  626. hide(RegExp.prototype, SYMBOL, length == 2
  627. // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
  628. // 21.2.5.11 RegExp.prototype[@@split](string, limit)
  629. ? function (string, arg) { return rxfn.call(string, this, arg); }
  630. // 21.2.5.6 RegExp.prototype[@@match](string)
  631. // 21.2.5.9 RegExp.prototype[@@search](string)
  632. : function (string) { return rxfn.call(string, this); }
  633. );
  634. }
  635. };
  636. /***/ }),
  637. /***/ "230e":
  638. /***/ (function(module, exports, __webpack_require__) {
  639. var isObject = __webpack_require__("d3f4");
  640. var document = __webpack_require__("7726").document;
  641. // typeof document.createElement is 'object' in old IE
  642. var is = isObject(document) && isObject(document.createElement);
  643. module.exports = function (it) {
  644. return is ? document.createElement(it) : {};
  645. };
  646. /***/ }),
  647. /***/ "2350":
  648. /***/ (function(module, exports) {
  649. /*
  650. MIT License http://www.opensource.org/licenses/mit-license.php
  651. Author Tobias Koppers @sokra
  652. */
  653. // css base code, injected by the css-loader
  654. module.exports = function(useSourceMap) {
  655. var list = [];
  656. // return the list of modules as css string
  657. list.toString = function toString() {
  658. return this.map(function (item) {
  659. var content = cssWithMappingToString(item, useSourceMap);
  660. if(item[2]) {
  661. return "@media " + item[2] + "{" + content + "}";
  662. } else {
  663. return content;
  664. }
  665. }).join("");
  666. };
  667. // import a list of modules into the list
  668. list.i = function(modules, mediaQuery) {
  669. if(typeof modules === "string")
  670. modules = [[null, modules, ""]];
  671. var alreadyImportedModules = {};
  672. for(var i = 0; i < this.length; i++) {
  673. var id = this[i][0];
  674. if(typeof id === "number")
  675. alreadyImportedModules[id] = true;
  676. }
  677. for(i = 0; i < modules.length; i++) {
  678. var item = modules[i];
  679. // skip already imported module
  680. // this implementation is not 100% perfect for weird media query combinations
  681. // when a module is imported multiple times with different media queries.
  682. // I hope this will never occur (Hey this way we have smaller bundles)
  683. if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
  684. if(mediaQuery && !item[2]) {
  685. item[2] = mediaQuery;
  686. } else if(mediaQuery) {
  687. item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
  688. }
  689. list.push(item);
  690. }
  691. }
  692. };
  693. return list;
  694. };
  695. function cssWithMappingToString(item, useSourceMap) {
  696. var content = item[1] || '';
  697. var cssMapping = item[3];
  698. if (!cssMapping) {
  699. return content;
  700. }
  701. if (useSourceMap && typeof btoa === 'function') {
  702. var sourceMapping = toComment(cssMapping);
  703. var sourceURLs = cssMapping.sources.map(function (source) {
  704. return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'
  705. });
  706. return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
  707. }
  708. return [content].join('\n');
  709. }
  710. // Adapted from convert-source-map (MIT)
  711. function toComment(sourceMap) {
  712. // eslint-disable-next-line no-undef
  713. var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
  714. var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
  715. return '/*# ' + data + ' */';
  716. }
  717. /***/ }),
  718. /***/ "23c6":
  719. /***/ (function(module, exports, __webpack_require__) {
  720. // getting tag from 19.1.3.6 Object.prototype.toString()
  721. var cof = __webpack_require__("2d95");
  722. var TAG = __webpack_require__("2b4c")('toStringTag');
  723. // ES3 wrong here
  724. var ARG = cof(function () { return arguments; }()) == 'Arguments';
  725. // fallback for IE11 Script Access Denied error
  726. var tryGet = function (it, key) {
  727. try {
  728. return it[key];
  729. } catch (e) { /* empty */ }
  730. };
  731. module.exports = function (it) {
  732. var O, T, B;
  733. return it === undefined ? 'Undefined' : it === null ? 'Null'
  734. // @@toStringTag case
  735. : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
  736. // builtinTag case
  737. : ARG ? cof(O)
  738. // ES3 arguments fallback
  739. : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
  740. };
  741. /***/ }),
  742. /***/ "241e":
  743. /***/ (function(module, exports, __webpack_require__) {
  744. // 7.1.13 ToObject(argument)
  745. var defined = __webpack_require__("25eb");
  746. module.exports = function (it) {
  747. return Object(defined(it));
  748. };
  749. /***/ }),
  750. /***/ "25eb":
  751. /***/ (function(module, exports) {
  752. // 7.2.1 RequireObjectCoercible(argument)
  753. module.exports = function (it) {
  754. if (it == undefined) throw TypeError("Can't call method on " + it);
  755. return it;
  756. };
  757. /***/ }),
  758. /***/ "268f":
  759. /***/ (function(module, exports, __webpack_require__) {
  760. module.exports = __webpack_require__("fde4");
  761. /***/ }),
  762. /***/ "28a5":
  763. /***/ (function(module, exports, __webpack_require__) {
  764. "use strict";
  765. var isRegExp = __webpack_require__("aae3");
  766. var anObject = __webpack_require__("cb7c");
  767. var speciesConstructor = __webpack_require__("ebd6");
  768. var advanceStringIndex = __webpack_require__("0390");
  769. var toLength = __webpack_require__("9def");
  770. var callRegExpExec = __webpack_require__("5f1b");
  771. var regexpExec = __webpack_require__("520a");
  772. var fails = __webpack_require__("79e5");
  773. var $min = Math.min;
  774. var $push = [].push;
  775. var $SPLIT = 'split';
  776. var LENGTH = 'length';
  777. var LAST_INDEX = 'lastIndex';
  778. var MAX_UINT32 = 0xffffffff;
  779. // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
  780. var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });
  781. // @@split logic
  782. __webpack_require__("214f")('split', 2, function (defined, SPLIT, $split, maybeCallNative) {
  783. var internalSplit;
  784. if (
  785. 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||
  786. 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||
  787. 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||
  788. '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||
  789. '.'[$SPLIT](/()()/)[LENGTH] > 1 ||
  790. ''[$SPLIT](/.?/)[LENGTH]
  791. ) {
  792. // based on es5-shim implementation, need to rework it
  793. internalSplit = function (separator, limit) {
  794. var string = String(this);
  795. if (separator === undefined && limit === 0) return [];
  796. // If `separator` is not a regex, use native split
  797. if (!isRegExp(separator)) return $split.call(string, separator, limit);
  798. var output = [];
  799. var flags = (separator.ignoreCase ? 'i' : '') +
  800. (separator.multiline ? 'm' : '') +
  801. (separator.unicode ? 'u' : '') +
  802. (separator.sticky ? 'y' : '');
  803. var lastLastIndex = 0;
  804. var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;
  805. // Make `global` and avoid `lastIndex` issues by working with a copy
  806. var separatorCopy = new RegExp(separator.source, flags + 'g');
  807. var match, lastIndex, lastLength;
  808. while (match = regexpExec.call(separatorCopy, string)) {
  809. lastIndex = separatorCopy[LAST_INDEX];
  810. if (lastIndex > lastLastIndex) {
  811. output.push(string.slice(lastLastIndex, match.index));
  812. if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));
  813. lastLength = match[0][LENGTH];
  814. lastLastIndex = lastIndex;
  815. if (output[LENGTH] >= splitLimit) break;
  816. }
  817. if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
  818. }
  819. if (lastLastIndex === string[LENGTH]) {
  820. if (lastLength || !separatorCopy.test('')) output.push('');
  821. } else output.push(string.slice(lastLastIndex));
  822. return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
  823. };
  824. // Chakra, V8
  825. } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {
  826. internalSplit = function (separator, limit) {
  827. return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);
  828. };
  829. } else {
  830. internalSplit = $split;
  831. }
  832. return [
  833. // `String.prototype.split` method
  834. // https://tc39.github.io/ecma262/#sec-string.prototype.split
  835. function split(separator, limit) {
  836. var O = defined(this);
  837. var splitter = separator == undefined ? undefined : separator[SPLIT];
  838. return splitter !== undefined
  839. ? splitter.call(separator, O, limit)
  840. : internalSplit.call(String(O), separator, limit);
  841. },
  842. // `RegExp.prototype[@@split]` method
  843. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split
  844. //
  845. // NOTE: This cannot be properly polyfilled in engines that don't support
  846. // the 'y' flag.
  847. function (regexp, limit) {
  848. var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);
  849. if (res.done) return res.value;
  850. var rx = anObject(regexp);
  851. var S = String(this);
  852. var C = speciesConstructor(rx, RegExp);
  853. var unicodeMatching = rx.unicode;
  854. var flags = (rx.ignoreCase ? 'i' : '') +
  855. (rx.multiline ? 'm' : '') +
  856. (rx.unicode ? 'u' : '') +
  857. (SUPPORTS_Y ? 'y' : 'g');
  858. // ^(? + rx + ) is needed, in combination with some S slicing, to
  859. // simulate the 'y' flag.
  860. var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
  861. var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
  862. if (lim === 0) return [];
  863. if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
  864. var p = 0;
  865. var q = 0;
  866. var A = [];
  867. while (q < S.length) {
  868. splitter.lastIndex = SUPPORTS_Y ? q : 0;
  869. var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
  870. var e;
  871. if (
  872. z === null ||
  873. (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
  874. ) {
  875. q = advanceStringIndex(S, q, unicodeMatching);
  876. } else {
  877. A.push(S.slice(p, q));
  878. if (A.length === lim) return A;
  879. for (var i = 1; i <= z.length - 1; i++) {
  880. A.push(z[i]);
  881. if (A.length === lim) return A;
  882. }
  883. q = p = e;
  884. }
  885. }
  886. A.push(S.slice(p));
  887. return A;
  888. }
  889. ];
  890. });
  891. /***/ }),
  892. /***/ "294c":
  893. /***/ (function(module, exports) {
  894. module.exports = function (exec) {
  895. try {
  896. return !!exec();
  897. } catch (e) {
  898. return true;
  899. }
  900. };
  901. /***/ }),
  902. /***/ "2aba":
  903. /***/ (function(module, exports, __webpack_require__) {
  904. var global = __webpack_require__("7726");
  905. var hide = __webpack_require__("32e9");
  906. var has = __webpack_require__("69a8");
  907. var SRC = __webpack_require__("ca5a")('src');
  908. var $toString = __webpack_require__("fa5b");
  909. var TO_STRING = 'toString';
  910. var TPL = ('' + $toString).split(TO_STRING);
  911. __webpack_require__("8378").inspectSource = function (it) {
  912. return $toString.call(it);
  913. };
  914. (module.exports = function (O, key, val, safe) {
  915. var isFunction = typeof val == 'function';
  916. if (isFunction) has(val, 'name') || hide(val, 'name', key);
  917. if (O[key] === val) return;
  918. if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
  919. if (O === global) {
  920. O[key] = val;
  921. } else if (!safe) {
  922. delete O[key];
  923. hide(O, key, val);
  924. } else if (O[key]) {
  925. O[key] = val;
  926. } else {
  927. hide(O, key, val);
  928. }
  929. // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
  930. })(Function.prototype, TO_STRING, function toString() {
  931. return typeof this == 'function' && this[SRC] || $toString.call(this);
  932. });
  933. /***/ }),
  934. /***/ "2aeb":
  935. /***/ (function(module, exports, __webpack_require__) {
  936. // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
  937. var anObject = __webpack_require__("cb7c");
  938. var dPs = __webpack_require__("1495");
  939. var enumBugKeys = __webpack_require__("e11e");
  940. var IE_PROTO = __webpack_require__("613b")('IE_PROTO');
  941. var Empty = function () { /* empty */ };
  942. var PROTOTYPE = 'prototype';
  943. // Create object with fake `null` prototype: use iframe Object with cleared prototype
  944. var createDict = function () {
  945. // Thrash, waste and sodomy: IE GC bug
  946. var iframe = __webpack_require__("230e")('iframe');
  947. var i = enumBugKeys.length;
  948. var lt = '<';
  949. var gt = '>';
  950. var iframeDocument;
  951. iframe.style.display = 'none';
  952. __webpack_require__("fab2").appendChild(iframe);
  953. iframe.src = 'javascript:'; // eslint-disable-line no-script-url
  954. // createDict = iframe.contentWindow.Object;
  955. // html.removeChild(iframe);
  956. iframeDocument = iframe.contentWindow.document;
  957. iframeDocument.open();
  958. iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
  959. iframeDocument.close();
  960. createDict = iframeDocument.F;
  961. while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
  962. return createDict();
  963. };
  964. module.exports = Object.create || function create(O, Properties) {
  965. var result;
  966. if (O !== null) {
  967. Empty[PROTOTYPE] = anObject(O);
  968. result = new Empty();
  969. Empty[PROTOTYPE] = null;
  970. // add "__proto__" for Object.getPrototypeOf polyfill
  971. result[IE_PROTO] = O;
  972. } else result = createDict();
  973. return Properties === undefined ? result : dPs(result, Properties);
  974. };
  975. /***/ }),
  976. /***/ "2b4c":
  977. /***/ (function(module, exports, __webpack_require__) {
  978. var store = __webpack_require__("5537")('wks');
  979. var uid = __webpack_require__("ca5a");
  980. var Symbol = __webpack_require__("7726").Symbol;
  981. var USE_SYMBOL = typeof Symbol == 'function';
  982. var $exports = module.exports = function (name) {
  983. return store[name] || (store[name] =
  984. USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
  985. };
  986. $exports.store = store;
  987. /***/ }),
  988. /***/ "2d00":
  989. /***/ (function(module, exports) {
  990. module.exports = false;
  991. /***/ }),
  992. /***/ "2d95":
  993. /***/ (function(module, exports) {
  994. var toString = {}.toString;
  995. module.exports = function (it) {
  996. return toString.call(it).slice(8, -1);
  997. };
  998. /***/ }),
  999. /***/ "32a6":
  1000. /***/ (function(module, exports, __webpack_require__) {
  1001. // 19.1.2.14 Object.keys(O)
  1002. var toObject = __webpack_require__("241e");
  1003. var $keys = __webpack_require__("c3a1");
  1004. __webpack_require__("ce7e")('keys', function () {
  1005. return function keys(it) {
  1006. return $keys(toObject(it));
  1007. };
  1008. });
  1009. /***/ }),
  1010. /***/ "32e9":
  1011. /***/ (function(module, exports, __webpack_require__) {
  1012. var dP = __webpack_require__("86cc");
  1013. var createDesc = __webpack_require__("4630");
  1014. module.exports = __webpack_require__("9e1e") ? function (object, key, value) {
  1015. return dP.f(object, key, createDesc(1, value));
  1016. } : function (object, key, value) {
  1017. object[key] = value;
  1018. return object;
  1019. };
  1020. /***/ }),
  1021. /***/ "32fc":
  1022. /***/ (function(module, exports, __webpack_require__) {
  1023. var document = __webpack_require__("e53d").document;
  1024. module.exports = document && document.documentElement;
  1025. /***/ }),
  1026. /***/ "335c":
  1027. /***/ (function(module, exports, __webpack_require__) {
  1028. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  1029. var cof = __webpack_require__("6b4c");
  1030. // eslint-disable-next-line no-prototype-builtins
  1031. module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
  1032. return cof(it) == 'String' ? it.split('') : Object(it);
  1033. };
  1034. /***/ }),
  1035. /***/ "355d":
  1036. /***/ (function(module, exports) {
  1037. exports.f = {}.propertyIsEnumerable;
  1038. /***/ }),
  1039. /***/ "35e8":
  1040. /***/ (function(module, exports, __webpack_require__) {
  1041. var dP = __webpack_require__("d9f6");
  1042. var createDesc = __webpack_require__("aebd");
  1043. module.exports = __webpack_require__("8e60") ? function (object, key, value) {
  1044. return dP.f(object, key, createDesc(1, value));
  1045. } : function (object, key, value) {
  1046. object[key] = value;
  1047. return object;
  1048. };
  1049. /***/ }),
  1050. /***/ "36bd":
  1051. /***/ (function(module, exports, __webpack_require__) {
  1052. "use strict";
  1053. // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
  1054. var toObject = __webpack_require__("4bf8");
  1055. var toAbsoluteIndex = __webpack_require__("77f1");
  1056. var toLength = __webpack_require__("9def");
  1057. module.exports = function fill(value /* , start = 0, end = @length */) {
  1058. var O = toObject(this);
  1059. var length = toLength(O.length);
  1060. var aLen = arguments.length;
  1061. var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length);
  1062. var end = aLen > 2 ? arguments[2] : undefined;
  1063. var endPos = end === undefined ? length : toAbsoluteIndex(end, length);
  1064. while (endPos > index) O[index++] = value;
  1065. return O;
  1066. };
  1067. /***/ }),
  1068. /***/ "36c3":
  1069. /***/ (function(module, exports, __webpack_require__) {
  1070. // to indexed object, toObject with fallback for non-array-like ES3 strings
  1071. var IObject = __webpack_require__("335c");
  1072. var defined = __webpack_require__("25eb");
  1073. module.exports = function (it) {
  1074. return IObject(defined(it));
  1075. };
  1076. /***/ }),
  1077. /***/ "382e":
  1078. /***/ (function(module, exports, __webpack_require__) {
  1079. exports = module.exports = __webpack_require__("2350")(false);
  1080. // imports
  1081. // module
  1082. exports.push([module.i, ".alt-grid-container{position:relative}.alt-grid-container .alt-grid-item{position:absolute;background:grey}.alt-grid-container .alt-grid-item.can-drag{cursor:move}.alt-grid-container.alt-grid-container-operating .alt-grid-item{-webkit-transition-duration:.3s;transition-duration:.3s}.alt-grid-container.alt-grid-container-operating .alt-grid-item.operated-item{-webkit-transition-duration:.1s;transition-duration:.1s}.alt-grid-container .alt-grid-item:hover .alt-grid-item-resize-handler{display:block}.alt-grid-container .alt-grid-item-resize-handler{display:none;position:absolute;right:1px;bottom:1px;cursor:se-resize}.alt-grid-container .alt-g-i-r-h-default-style{width:0;height:0;border-top:5px solid transparent;border-left:5px solid transparent;border-right:5px solid #000;border-bottom:5px solid #000}.alt-grid-item-drag-placeholder{position:absolute;width:0;height:0;background:red;visibility:hidden}.alt-grid-container-operating .alt-grid-item-drag-placeholder{visibility:visible}.alt-grid-container-operating{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.alt-grid-container-operating .mask{width:100%;height:100%;position:absolute;z-index:2}.alt-grid-container-operating.alt-move .mask{cursor:move}.alt-grid-container-operating.alt-resize .mask{cursor:se-resize}", ""]);
  1083. // exports
  1084. /***/ }),
  1085. /***/ "3846":
  1086. /***/ (function(module, exports, __webpack_require__) {
  1087. // 21.2.5.3 get RegExp.prototype.flags()
  1088. if (__webpack_require__("9e1e") && /./g.flags != 'g') __webpack_require__("86cc").f(RegExp.prototype, 'flags', {
  1089. configurable: true,
  1090. get: __webpack_require__("0bfb")
  1091. });
  1092. /***/ }),
  1093. /***/ "386d":
  1094. /***/ (function(module, exports, __webpack_require__) {
  1095. "use strict";
  1096. var anObject = __webpack_require__("cb7c");
  1097. var sameValue = __webpack_require__("83a1");
  1098. var regExpExec = __webpack_require__("5f1b");
  1099. // @@search logic
  1100. __webpack_require__("214f")('search', 1, function (defined, SEARCH, $search, maybeCallNative) {
  1101. return [
  1102. // `String.prototype.search` method
  1103. // https://tc39.github.io/ecma262/#sec-string.prototype.search
  1104. function search(regexp) {
  1105. var O = defined(this);
  1106. var fn = regexp == undefined ? undefined : regexp[SEARCH];
  1107. return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
  1108. },
  1109. // `RegExp.prototype[@@search]` method
  1110. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search
  1111. function (regexp) {
  1112. var res = maybeCallNative($search, regexp, this);
  1113. if (res.done) return res.value;
  1114. var rx = anObject(regexp);
  1115. var S = String(this);
  1116. var previousLastIndex = rx.lastIndex;
  1117. if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
  1118. var result = regExpExec(rx, S);
  1119. if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
  1120. return result === null ? -1 : result.index;
  1121. }
  1122. ];
  1123. });
  1124. /***/ }),
  1125. /***/ "38fd":
  1126. /***/ (function(module, exports, __webpack_require__) {
  1127. // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
  1128. var has = __webpack_require__("69a8");
  1129. var toObject = __webpack_require__("4bf8");
  1130. var IE_PROTO = __webpack_require__("613b")('IE_PROTO');
  1131. var ObjectProto = Object.prototype;
  1132. module.exports = Object.getPrototypeOf || function (O) {
  1133. O = toObject(O);
  1134. if (has(O, IE_PROTO)) return O[IE_PROTO];
  1135. if (typeof O.constructor == 'function' && O instanceof O.constructor) {
  1136. return O.constructor.prototype;
  1137. } return O instanceof Object ? ObjectProto : null;
  1138. };
  1139. /***/ }),
  1140. /***/ "3a38":
  1141. /***/ (function(module, exports) {
  1142. // 7.1.4 ToInteger
  1143. var ceil = Math.ceil;
  1144. var floor = Math.floor;
  1145. module.exports = function (it) {
  1146. return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
  1147. };
  1148. /***/ }),
  1149. /***/ "3b2b":
  1150. /***/ (function(module, exports, __webpack_require__) {
  1151. var global = __webpack_require__("7726");
  1152. var inheritIfRequired = __webpack_require__("5dbc");
  1153. var dP = __webpack_require__("86cc").f;
  1154. var gOPN = __webpack_require__("9093").f;
  1155. var isRegExp = __webpack_require__("aae3");
  1156. var $flags = __webpack_require__("0bfb");
  1157. var $RegExp = global.RegExp;
  1158. var Base = $RegExp;
  1159. var proto = $RegExp.prototype;
  1160. var re1 = /a/g;
  1161. var re2 = /a/g;
  1162. // "new" creates a new object, old webkit buggy here
  1163. var CORRECT_NEW = new $RegExp(re1) !== re1;
  1164. if (__webpack_require__("9e1e") && (!CORRECT_NEW || __webpack_require__("79e5")(function () {
  1165. re2[__webpack_require__("2b4c")('match')] = false;
  1166. // RegExp constructor can alter flags and IsRegExp works correct with @@match
  1167. return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';
  1168. }))) {
  1169. $RegExp = function RegExp(p, f) {
  1170. var tiRE = this instanceof $RegExp;
  1171. var piRE = isRegExp(p);
  1172. var fiU = f === undefined;
  1173. return !tiRE && piRE && p.constructor === $RegExp && fiU ? p
  1174. : inheritIfRequired(CORRECT_NEW
  1175. ? new Base(piRE && !fiU ? p.source : p, f)
  1176. : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)
  1177. , tiRE ? this : proto, $RegExp);
  1178. };
  1179. var proxy = function (key) {
  1180. key in $RegExp || dP($RegExp, key, {
  1181. configurable: true,
  1182. get: function () { return Base[key]; },
  1183. set: function (it) { Base[key] = it; }
  1184. });
  1185. };
  1186. for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);
  1187. proto.constructor = $RegExp;
  1188. $RegExp.prototype = proto;
  1189. __webpack_require__("2aba")(global, 'RegExp', $RegExp);
  1190. }
  1191. __webpack_require__("7a56")('RegExp');
  1192. /***/ }),
  1193. /***/ "41a0":
  1194. /***/ (function(module, exports, __webpack_require__) {
  1195. "use strict";
  1196. var create = __webpack_require__("2aeb");
  1197. var descriptor = __webpack_require__("4630");
  1198. var setToStringTag = __webpack_require__("7f20");
  1199. var IteratorPrototype = {};
  1200. // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
  1201. __webpack_require__("32e9")(IteratorPrototype, __webpack_require__("2b4c")('iterator'), function () { return this; });
  1202. module.exports = function (Constructor, NAME, next) {
  1203. Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
  1204. setToStringTag(Constructor, NAME + ' Iterator');
  1205. };
  1206. /***/ }),
  1207. /***/ "454f":
  1208. /***/ (function(module, exports, __webpack_require__) {
  1209. __webpack_require__("46a7");
  1210. var $Object = __webpack_require__("584a").Object;
  1211. module.exports = function defineProperty(it, key, desc) {
  1212. return $Object.defineProperty(it, key, desc);
  1213. };
  1214. /***/ }),
  1215. /***/ "456d":
  1216. /***/ (function(module, exports, __webpack_require__) {
  1217. // 19.1.2.14 Object.keys(O)
  1218. var toObject = __webpack_require__("4bf8");
  1219. var $keys = __webpack_require__("0d58");
  1220. __webpack_require__("5eda")('keys', function () {
  1221. return function keys(it) {
  1222. return $keys(toObject(it));
  1223. };
  1224. });
  1225. /***/ }),
  1226. /***/ "4588":
  1227. /***/ (function(module, exports) {
  1228. // 7.1.4 ToInteger
  1229. var ceil = Math.ceil;
  1230. var floor = Math.floor;
  1231. module.exports = function (it) {
  1232. return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
  1233. };
  1234. /***/ }),
  1235. /***/ "45f2":
  1236. /***/ (function(module, exports, __webpack_require__) {
  1237. var def = __webpack_require__("d9f6").f;
  1238. var has = __webpack_require__("07e3");
  1239. var TAG = __webpack_require__("5168")('toStringTag');
  1240. module.exports = function (it, tag, stat) {
  1241. if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
  1242. };
  1243. /***/ }),
  1244. /***/ "4630":
  1245. /***/ (function(module, exports) {
  1246. module.exports = function (bitmap, value) {
  1247. return {
  1248. enumerable: !(bitmap & 1),
  1249. configurable: !(bitmap & 2),
  1250. writable: !(bitmap & 4),
  1251. value: value
  1252. };
  1253. };
  1254. /***/ }),
  1255. /***/ "46a7":
  1256. /***/ (function(module, exports, __webpack_require__) {
  1257. var $export = __webpack_require__("63b6");
  1258. // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
  1259. $export($export.S + $export.F * !__webpack_require__("8e60"), 'Object', { defineProperty: __webpack_require__("d9f6").f });
  1260. /***/ }),
  1261. /***/ "47ee":
  1262. /***/ (function(module, exports, __webpack_require__) {
  1263. // all enumerable object keys, includes symbols
  1264. var getKeys = __webpack_require__("c3a1");
  1265. var gOPS = __webpack_require__("9aa9");
  1266. var pIE = __webpack_require__("355d");
  1267. module.exports = function (it) {
  1268. var result = getKeys(it);
  1269. var getSymbols = gOPS.f;
  1270. if (getSymbols) {
  1271. var symbols = getSymbols(it);
  1272. var isEnum = pIE.f;
  1273. var i = 0;
  1274. var key;
  1275. while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
  1276. } return result;
  1277. };
  1278. /***/ }),
  1279. /***/ "4917":
  1280. /***/ (function(module, exports, __webpack_require__) {
  1281. "use strict";
  1282. var anObject = __webpack_require__("cb7c");
  1283. var toLength = __webpack_require__("9def");
  1284. var advanceStringIndex = __webpack_require__("0390");
  1285. var regExpExec = __webpack_require__("5f1b");
  1286. // @@match logic
  1287. __webpack_require__("214f")('match', 1, function (defined, MATCH, $match, maybeCallNative) {
  1288. return [
  1289. // `String.prototype.match` method
  1290. // https://tc39.github.io/ecma262/#sec-string.prototype.match
  1291. function match(regexp) {
  1292. var O = defined(this);
  1293. var fn = regexp == undefined ? undefined : regexp[MATCH];
  1294. return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
  1295. },
  1296. // `RegExp.prototype[@@match]` method
  1297. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match
  1298. function (regexp) {
  1299. var res = maybeCallNative($match, regexp, this);
  1300. if (res.done) return res.value;
  1301. var rx = anObject(regexp);
  1302. var S = String(this);
  1303. if (!rx.global) return regExpExec(rx, S);
  1304. var fullUnicode = rx.unicode;
  1305. rx.lastIndex = 0;
  1306. var A = [];
  1307. var n = 0;
  1308. var result;
  1309. while ((result = regExpExec(rx, S)) !== null) {
  1310. var matchStr = String(result[0]);
  1311. A[n] = matchStr;
  1312. if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
  1313. n++;
  1314. }
  1315. return n === 0 ? null : A;
  1316. }
  1317. ];
  1318. });
  1319. /***/ }),
  1320. /***/ "499e":
  1321. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1322. "use strict";
  1323. __webpack_require__.r(__webpack_exports__);
  1324. // CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js
  1325. /**
  1326. * Translates the list format produced by css-loader into something
  1327. * easier to manipulate.
  1328. */
  1329. function listToStyles (parentId, list) {
  1330. var styles = []
  1331. var newStyles = {}
  1332. for (var i = 0; i < list.length; i++) {
  1333. var item = list[i]
  1334. var id = item[0]
  1335. var css = item[1]
  1336. var media = item[2]
  1337. var sourceMap = item[3]
  1338. var part = {
  1339. id: parentId + ':' + i,
  1340. css: css,
  1341. media: media,
  1342. sourceMap: sourceMap
  1343. }
  1344. if (!newStyles[id]) {
  1345. styles.push(newStyles[id] = { id: id, parts: [part] })
  1346. } else {
  1347. newStyles[id].parts.push(part)
  1348. }
  1349. }
  1350. return styles
  1351. }
  1352. // CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js
  1353. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return addStylesClient; });
  1354. /*
  1355. MIT License http://www.opensource.org/licenses/mit-license.php
  1356. Author Tobias Koppers @sokra
  1357. Modified by Evan You @yyx990803
  1358. */
  1359. var hasDocument = typeof document !== 'undefined'
  1360. if (typeof DEBUG !== 'undefined' && DEBUG) {
  1361. if (!hasDocument) {
  1362. throw new Error(
  1363. 'vue-style-loader cannot be used in a non-browser environment. ' +
  1364. "Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
  1365. ) }
  1366. }
  1367. /*
  1368. type StyleObject = {
  1369. id: number;
  1370. parts: Array<StyleObjectPart>
  1371. }
  1372. type StyleObjectPart = {
  1373. css: string;
  1374. media: string;
  1375. sourceMap: ?string
  1376. }
  1377. */
  1378. var stylesInDom = {/*
  1379. [id: number]: {
  1380. id: number,
  1381. refs: number,
  1382. parts: Array<(obj?: StyleObjectPart) => void>
  1383. }
  1384. */}
  1385. var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
  1386. var singletonElement = null
  1387. var singletonCounter = 0
  1388. var isProduction = false
  1389. var noop = function () {}
  1390. var options = null
  1391. var ssrIdKey = 'data-vue-ssr-id'
  1392. // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
  1393. // tags it will allow on a page
  1394. var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
  1395. function addStylesClient (parentId, list, _isProduction, _options) {
  1396. isProduction = _isProduction
  1397. options = _options || {}
  1398. var styles = listToStyles(parentId, list)
  1399. addStylesToDom(styles)
  1400. return function update (newList) {
  1401. var mayRemove = []
  1402. for (var i = 0; i < styles.length; i++) {
  1403. var item = styles[i]
  1404. var domStyle = stylesInDom[item.id]
  1405. domStyle.refs--
  1406. mayRemove.push(domStyle)
  1407. }
  1408. if (newList) {
  1409. styles = listToStyles(parentId, newList)
  1410. addStylesToDom(styles)
  1411. } else {
  1412. styles = []
  1413. }
  1414. for (var i = 0; i < mayRemove.length; i++) {
  1415. var domStyle = mayRemove[i]
  1416. if (domStyle.refs === 0) {
  1417. for (var j = 0; j < domStyle.parts.length; j++) {
  1418. domStyle.parts[j]()
  1419. }
  1420. delete stylesInDom[domStyle.id]
  1421. }
  1422. }
  1423. }
  1424. }
  1425. function addStylesToDom (styles /* Array<StyleObject> */) {
  1426. for (var i = 0; i < styles.length; i++) {
  1427. var item = styles[i]
  1428. var domStyle = stylesInDom[item.id]
  1429. if (domStyle) {
  1430. domStyle.refs++
  1431. for (var j = 0; j < domStyle.parts.length; j++) {
  1432. domStyle.parts[j](item.parts[j])
  1433. }
  1434. for (; j < item.parts.length; j++) {
  1435. domStyle.parts.push(addStyle(item.parts[j]))
  1436. }
  1437. if (domStyle.parts.length > item.parts.length) {
  1438. domStyle.parts.length = item.parts.length
  1439. }
  1440. } else {
  1441. var parts = []
  1442. for (var j = 0; j < item.parts.length; j++) {
  1443. parts.push(addStyle(item.parts[j]))
  1444. }
  1445. stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
  1446. }
  1447. }
  1448. }
  1449. function createStyleElement () {
  1450. var styleElement = document.createElement('style')
  1451. styleElement.type = 'text/css'
  1452. head.appendChild(styleElement)
  1453. return styleElement
  1454. }
  1455. function addStyle (obj /* StyleObjectPart */) {
  1456. var update, remove
  1457. var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]')
  1458. if (styleElement) {
  1459. if (isProduction) {
  1460. // has SSR styles and in production mode.
  1461. // simply do nothing.
  1462. return noop
  1463. } else {
  1464. // has SSR styles but in dev mode.
  1465. // for some reason Chrome can't handle source map in server-rendered
  1466. // style tags - source maps in <style> only works if the style tag is
  1467. // created and inserted dynamically. So we remove the server rendered
  1468. // styles and inject new ones.
  1469. styleElement.parentNode.removeChild(styleElement)
  1470. }
  1471. }
  1472. if (isOldIE) {
  1473. // use singleton mode for IE9.
  1474. var styleIndex = singletonCounter++
  1475. styleElement = singletonElement || (singletonElement = createStyleElement())
  1476. update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
  1477. remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
  1478. } else {
  1479. // use multi-style-tag mode in all other cases
  1480. styleElement = createStyleElement()
  1481. update = applyToTag.bind(null, styleElement)
  1482. remove = function () {
  1483. styleElement.parentNode.removeChild(styleElement)
  1484. }
  1485. }
  1486. update(obj)
  1487. return function updateStyle (newObj /* StyleObjectPart */) {
  1488. if (newObj) {
  1489. if (newObj.css === obj.css &&
  1490. newObj.media === obj.media &&
  1491. newObj.sourceMap === obj.sourceMap) {
  1492. return
  1493. }
  1494. update(obj = newObj)
  1495. } else {
  1496. remove()
  1497. }
  1498. }
  1499. }
  1500. var replaceText = (function () {
  1501. var textStore = []
  1502. return function (index, replacement) {
  1503. textStore[index] = replacement
  1504. return textStore.filter(Boolean).join('\n')
  1505. }
  1506. })()
  1507. function applyToSingletonTag (styleElement, index, remove, obj) {
  1508. var css = remove ? '' : obj.css
  1509. if (styleElement.styleSheet) {
  1510. styleElement.styleSheet.cssText = replaceText(index, css)
  1511. } else {
  1512. var cssNode = document.createTextNode(css)
  1513. var childNodes = styleElement.childNodes
  1514. if (childNodes[index]) styleElement.removeChild(childNodes[index])
  1515. if (childNodes.length) {
  1516. styleElement.insertBefore(cssNode, childNodes[index])
  1517. } else {
  1518. styleElement.appendChild(cssNode)
  1519. }
  1520. }
  1521. }
  1522. function applyToTag (styleElement, obj) {
  1523. var css = obj.css
  1524. var media = obj.media
  1525. var sourceMap = obj.sourceMap
  1526. if (media) {
  1527. styleElement.setAttribute('media', media)
  1528. }
  1529. if (options.ssrId) {
  1530. styleElement.setAttribute(ssrIdKey, obj.id)
  1531. }
  1532. if (sourceMap) {
  1533. // https://developer.chrome.com/devtools/docs/javascript-debugging
  1534. // this makes source maps inside style tags work properly in Chrome
  1535. css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
  1536. // http://stackoverflow.com/a/26603875
  1537. css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
  1538. }
  1539. if (styleElement.styleSheet) {
  1540. styleElement.styleSheet.cssText = css
  1541. } else {
  1542. while (styleElement.firstChild) {
  1543. styleElement.removeChild(styleElement.firstChild)
  1544. }
  1545. styleElement.appendChild(document.createTextNode(css))
  1546. }
  1547. }
  1548. /***/ }),
  1549. /***/ "4bf8":
  1550. /***/ (function(module, exports, __webpack_require__) {
  1551. // 7.1.13 ToObject(argument)
  1552. var defined = __webpack_require__("be13");
  1553. module.exports = function (it) {
  1554. return Object(defined(it));
  1555. };
  1556. /***/ }),
  1557. /***/ "4f6b":
  1558. /***/ (function(module, exports, __webpack_require__) {
  1559. // style-loader: Adds some css to the DOM by adding a <style> tag
  1560. // load the styles
  1561. var content = __webpack_require__("382e");
  1562. if(typeof content === 'string') content = [[module.i, content, '']];
  1563. if(content.locals) module.exports = content.locals;
  1564. // add the styles to the DOM
  1565. var add = __webpack_require__("499e").default
  1566. var update = add("1d0f7901", content, true, {"sourceMap":false,"shadowMode":false});
  1567. /***/ }),
  1568. /***/ "5168":
  1569. /***/ (function(module, exports, __webpack_require__) {
  1570. var store = __webpack_require__("dbdb")('wks');
  1571. var uid = __webpack_require__("62a0");
  1572. var Symbol = __webpack_require__("e53d").Symbol;
  1573. var USE_SYMBOL = typeof Symbol == 'function';
  1574. var $exports = module.exports = function (name) {
  1575. return store[name] || (store[name] =
  1576. USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
  1577. };
  1578. $exports.store = store;
  1579. /***/ }),
  1580. /***/ "520a":
  1581. /***/ (function(module, exports, __webpack_require__) {
  1582. "use strict";
  1583. var regexpFlags = __webpack_require__("0bfb");
  1584. var nativeExec = RegExp.prototype.exec;
  1585. // This always refers to the native implementation, because the
  1586. // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
  1587. // which loads this file before patching the method.
  1588. var nativeReplace = String.prototype.replace;
  1589. var patchedExec = nativeExec;
  1590. var LAST_INDEX = 'lastIndex';
  1591. var UPDATES_LAST_INDEX_WRONG = (function () {
  1592. var re1 = /a/,
  1593. re2 = /b*/g;
  1594. nativeExec.call(re1, 'a');
  1595. nativeExec.call(re2, 'a');
  1596. return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;
  1597. })();
  1598. // nonparticipating capturing group, copied from es5-shim's String#split patch.
  1599. var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
  1600. var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;
  1601. if (PATCH) {
  1602. patchedExec = function exec(str) {
  1603. var re = this;
  1604. var lastIndex, reCopy, match, i;
  1605. if (NPCG_INCLUDED) {
  1606. reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re));
  1607. }
  1608. if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];
  1609. match = nativeExec.call(re, str);
  1610. if (UPDATES_LAST_INDEX_WRONG && match) {
  1611. re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;
  1612. }
  1613. if (NPCG_INCLUDED && match && match.length > 1) {
  1614. // Fix browsers whose `exec` methods don't consistently return `undefined`
  1615. // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
  1616. // eslint-disable-next-line no-loop-func
  1617. nativeReplace.call(match[0], reCopy, function () {
  1618. for (i = 1; i < arguments.length - 2; i++) {
  1619. if (arguments[i] === undefined) match[i] = undefined;
  1620. }
  1621. });
  1622. }
  1623. return match;
  1624. };
  1625. }
  1626. module.exports = patchedExec;
  1627. /***/ }),
  1628. /***/ "52a7":
  1629. /***/ (function(module, exports) {
  1630. exports.f = {}.propertyIsEnumerable;
  1631. /***/ }),
  1632. /***/ "5537":
  1633. /***/ (function(module, exports, __webpack_require__) {
  1634. var core = __webpack_require__("8378");
  1635. var global = __webpack_require__("7726");
  1636. var SHARED = '__core-js_shared__';
  1637. var store = global[SHARED] || (global[SHARED] = {});
  1638. (module.exports = function (key, value) {
  1639. return store[key] || (store[key] = value !== undefined ? value : {});
  1640. })('versions', []).push({
  1641. version: core.version,
  1642. mode: __webpack_require__("2d00") ? 'pure' : 'global',
  1643. copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
  1644. });
  1645. /***/ }),
  1646. /***/ "5559":
  1647. /***/ (function(module, exports, __webpack_require__) {
  1648. var shared = __webpack_require__("dbdb")('keys');
  1649. var uid = __webpack_require__("62a0");
  1650. module.exports = function (key) {
  1651. return shared[key] || (shared[key] = uid(key));
  1652. };
  1653. /***/ }),
  1654. /***/ "584a":
  1655. /***/ (function(module, exports) {
  1656. var core = module.exports = { version: '2.6.5' };
  1657. if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
  1658. /***/ }),
  1659. /***/ "5b4e":
  1660. /***/ (function(module, exports, __webpack_require__) {
  1661. // false -> Array#indexOf
  1662. // true -> Array#includes
  1663. var toIObject = __webpack_require__("36c3");
  1664. var toLength = __webpack_require__("b447");
  1665. var toAbsoluteIndex = __webpack_require__("0fc9");
  1666. module.exports = function (IS_INCLUDES) {
  1667. return function ($this, el, fromIndex) {
  1668. var O = toIObject($this);
  1669. var length = toLength(O.length);
  1670. var index = toAbsoluteIndex(fromIndex, length);
  1671. var value;
  1672. // Array#includes uses SameValueZero equality algorithm
  1673. // eslint-disable-next-line no-self-compare
  1674. if (IS_INCLUDES && el != el) while (length > index) {
  1675. value = O[index++];
  1676. // eslint-disable-next-line no-self-compare
  1677. if (value != value) return true;
  1678. // Array#indexOf ignores holes, Array#includes - not
  1679. } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
  1680. if (O[index] === el) return IS_INCLUDES || index || 0;
  1681. } return !IS_INCLUDES && -1;
  1682. };
  1683. };
  1684. /***/ }),
  1685. /***/ "5ca1":
  1686. /***/ (function(module, exports, __webpack_require__) {
  1687. var global = __webpack_require__("7726");
  1688. var core = __webpack_require__("8378");
  1689. var hide = __webpack_require__("32e9");
  1690. var redefine = __webpack_require__("2aba");
  1691. var ctx = __webpack_require__("9b43");
  1692. var PROTOTYPE = 'prototype';
  1693. var $export = function (type, name, source) {
  1694. var IS_FORCED = type & $export.F;
  1695. var IS_GLOBAL = type & $export.G;
  1696. var IS_STATIC = type & $export.S;
  1697. var IS_PROTO = type & $export.P;
  1698. var IS_BIND = type & $export.B;
  1699. var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
  1700. var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
  1701. var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
  1702. var key, own, out, exp;
  1703. if (IS_GLOBAL) source = name;
  1704. for (key in source) {
  1705. // contains in native
  1706. own = !IS_FORCED && target && target[key] !== undefined;
  1707. // export native or passed
  1708. out = (own ? target : source)[key];
  1709. // bind timers to global for call from export context
  1710. exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
  1711. // extend global
  1712. if (target) redefine(target, key, out, type & $export.U);
  1713. // export
  1714. if (exports[key] != out) hide(exports, key, exp);
  1715. if (IS_PROTO && expProto[key] != out) expProto[key] = out;
  1716. }
  1717. };
  1718. global.core = core;
  1719. // type bitmap
  1720. $export.F = 1; // forced
  1721. $export.G = 2; // global
  1722. $export.S = 4; // static
  1723. $export.P = 8; // proto
  1724. $export.B = 16; // bind
  1725. $export.W = 32; // wrap
  1726. $export.U = 64; // safe
  1727. $export.R = 128; // real proto method for `library`
  1728. module.exports = $export;
  1729. /***/ }),
  1730. /***/ "5dbc":
  1731. /***/ (function(module, exports, __webpack_require__) {
  1732. var isObject = __webpack_require__("d3f4");
  1733. var setPrototypeOf = __webpack_require__("8b97").set;
  1734. module.exports = function (that, target, C) {
  1735. var S = target.constructor;
  1736. var P;
  1737. if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {
  1738. setPrototypeOf(that, P);
  1739. } return that;
  1740. };
  1741. /***/ }),
  1742. /***/ "5eda":
  1743. /***/ (function(module, exports, __webpack_require__) {
  1744. // most Object methods by ES6 should accept primitives
  1745. var $export = __webpack_require__("5ca1");
  1746. var core = __webpack_require__("8378");
  1747. var fails = __webpack_require__("79e5");
  1748. module.exports = function (KEY, exec) {
  1749. var fn = (core.Object || {})[KEY] || Object[KEY];
  1750. var exp = {};
  1751. exp[KEY] = exec(fn);
  1752. $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
  1753. };
  1754. /***/ }),
  1755. /***/ "5f1b":
  1756. /***/ (function(module, exports, __webpack_require__) {
  1757. "use strict";
  1758. var classof = __webpack_require__("23c6");
  1759. var builtinExec = RegExp.prototype.exec;
  1760. // `RegExpExec` abstract operation
  1761. // https://tc39.github.io/ecma262/#sec-regexpexec
  1762. module.exports = function (R, S) {
  1763. var exec = R.exec;
  1764. if (typeof exec === 'function') {
  1765. var result = exec.call(R, S);
  1766. if (typeof result !== 'object') {
  1767. throw new TypeError('RegExp exec method returned something other than an Object or null');
  1768. }
  1769. return result;
  1770. }
  1771. if (classof(R) !== 'RegExp') {
  1772. throw new TypeError('RegExp#exec called on incompatible receiver');
  1773. }
  1774. return builtinExec.call(R, S);
  1775. };
  1776. /***/ }),
  1777. /***/ "613b":
  1778. /***/ (function(module, exports, __webpack_require__) {
  1779. var shared = __webpack_require__("5537")('keys');
  1780. var uid = __webpack_require__("ca5a");
  1781. module.exports = function (key) {
  1782. return shared[key] || (shared[key] = uid(key));
  1783. };
  1784. /***/ }),
  1785. /***/ "626a":
  1786. /***/ (function(module, exports, __webpack_require__) {
  1787. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  1788. var cof = __webpack_require__("2d95");
  1789. // eslint-disable-next-line no-prototype-builtins
  1790. module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
  1791. return cof(it) == 'String' ? it.split('') : Object(it);
  1792. };
  1793. /***/ }),
  1794. /***/ "62a0":
  1795. /***/ (function(module, exports) {
  1796. var id = 0;
  1797. var px = Math.random();
  1798. module.exports = function (key) {
  1799. return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
  1800. };
  1801. /***/ }),
  1802. /***/ "63b6":
  1803. /***/ (function(module, exports, __webpack_require__) {
  1804. var global = __webpack_require__("e53d");
  1805. var core = __webpack_require__("584a");
  1806. var ctx = __webpack_require__("d864");
  1807. var hide = __webpack_require__("35e8");
  1808. var has = __webpack_require__("07e3");
  1809. var PROTOTYPE = 'prototype';
  1810. var $export = function (type, name, source) {
  1811. var IS_FORCED = type & $export.F;
  1812. var IS_GLOBAL = type & $export.G;
  1813. var IS_STATIC = type & $export.S;
  1814. var IS_PROTO = type & $export.P;
  1815. var IS_BIND = type & $export.B;
  1816. var IS_WRAP = type & $export.W;
  1817. var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
  1818. var expProto = exports[PROTOTYPE];
  1819. var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];
  1820. var key, own, out;
  1821. if (IS_GLOBAL) source = name;
  1822. for (key in source) {
  1823. // contains in native
  1824. own = !IS_FORCED && target && target[key] !== undefined;
  1825. if (own && has(exports, key)) continue;
  1826. // export native or passed
  1827. out = own ? target[key] : source[key];
  1828. // prevent global pollution for namespaces
  1829. exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
  1830. // bind timers to global for call from export context
  1831. : IS_BIND && own ? ctx(out, global)
  1832. // wrap global constructors for prevent change them in library
  1833. : IS_WRAP && target[key] == out ? (function (C) {
  1834. var F = function (a, b, c) {
  1835. if (this instanceof C) {
  1836. switch (arguments.length) {
  1837. case 0: return new C();
  1838. case 1: return new C(a);
  1839. case 2: return new C(a, b);
  1840. } return new C(a, b, c);
  1841. } return C.apply(this, arguments);
  1842. };
  1843. F[PROTOTYPE] = C[PROTOTYPE];
  1844. return F;
  1845. // make static versions for prototype methods
  1846. })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
  1847. // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
  1848. if (IS_PROTO) {
  1849. (exports.virtual || (exports.virtual = {}))[key] = out;
  1850. // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
  1851. if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);
  1852. }
  1853. }
  1854. };
  1855. // type bitmap
  1856. $export.F = 1; // forced
  1857. $export.G = 2; // global
  1858. $export.S = 4; // static
  1859. $export.P = 8; // proto
  1860. $export.B = 16; // bind
  1861. $export.W = 32; // wrap
  1862. $export.U = 64; // safe
  1863. $export.R = 128; // real proto method for `library`
  1864. module.exports = $export;
  1865. /***/ }),
  1866. /***/ "6718":
  1867. /***/ (function(module, exports, __webpack_require__) {
  1868. var global = __webpack_require__("e53d");
  1869. var core = __webpack_require__("584a");
  1870. var LIBRARY = __webpack_require__("b8e3");
  1871. var wksExt = __webpack_require__("ccb9");
  1872. var defineProperty = __webpack_require__("d9f6").f;
  1873. module.exports = function (name) {
  1874. var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
  1875. if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
  1876. };
  1877. /***/ }),
  1878. /***/ "6821":
  1879. /***/ (function(module, exports, __webpack_require__) {
  1880. // to indexed object, toObject with fallback for non-array-like ES3 strings
  1881. var IObject = __webpack_require__("626a");
  1882. var defined = __webpack_require__("be13");
  1883. module.exports = function (it) {
  1884. return IObject(defined(it));
  1885. };
  1886. /***/ }),
  1887. /***/ "69a8":
  1888. /***/ (function(module, exports) {
  1889. var hasOwnProperty = {}.hasOwnProperty;
  1890. module.exports = function (it, key) {
  1891. return hasOwnProperty.call(it, key);
  1892. };
  1893. /***/ }),
  1894. /***/ "6a99":
  1895. /***/ (function(module, exports, __webpack_require__) {
  1896. // 7.1.1 ToPrimitive(input [, PreferredType])
  1897. var isObject = __webpack_require__("d3f4");
  1898. // instead of the ES6 spec version, we didn't implement @@toPrimitive case
  1899. // and the second argument - flag - preferred type is a string
  1900. module.exports = function (it, S) {
  1901. if (!isObject(it)) return it;
  1902. var fn, val;
  1903. if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
  1904. if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
  1905. if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
  1906. throw TypeError("Can't convert object to primitive value");
  1907. };
  1908. /***/ }),
  1909. /***/ "6abf":
  1910. /***/ (function(module, exports, __webpack_require__) {
  1911. // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
  1912. var $keys = __webpack_require__("e6f3");
  1913. var hiddenKeys = __webpack_require__("1691").concat('length', 'prototype');
  1914. exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  1915. return $keys(O, hiddenKeys);
  1916. };
  1917. /***/ }),
  1918. /***/ "6b4c":
  1919. /***/ (function(module, exports) {
  1920. var toString = {}.toString;
  1921. module.exports = function (it) {
  1922. return toString.call(it).slice(8, -1);
  1923. };
  1924. /***/ }),
  1925. /***/ "6b54":
  1926. /***/ (function(module, exports, __webpack_require__) {
  1927. "use strict";
  1928. __webpack_require__("3846");
  1929. var anObject = __webpack_require__("cb7c");
  1930. var $flags = __webpack_require__("0bfb");
  1931. var DESCRIPTORS = __webpack_require__("9e1e");
  1932. var TO_STRING = 'toString';
  1933. var $toString = /./[TO_STRING];
  1934. var define = function (fn) {
  1935. __webpack_require__("2aba")(RegExp.prototype, TO_STRING, fn, true);
  1936. };
  1937. // 21.2.5.14 RegExp.prototype.toString()
  1938. if (__webpack_require__("79e5")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
  1939. define(function toString() {
  1940. var R = anObject(this);
  1941. return '/'.concat(R.source, '/',
  1942. 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
  1943. });
  1944. // FF44- RegExp#toString has a wrong name
  1945. } else if ($toString.name != TO_STRING) {
  1946. define(function toString() {
  1947. return $toString.call(this);
  1948. });
  1949. }
  1950. /***/ }),
  1951. /***/ "6c7b":
  1952. /***/ (function(module, exports, __webpack_require__) {
  1953. // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
  1954. var $export = __webpack_require__("5ca1");
  1955. $export($export.P, 'Array', { fill: __webpack_require__("36bd") });
  1956. __webpack_require__("9c6c")('fill');
  1957. /***/ }),
  1958. /***/ "7726":
  1959. /***/ (function(module, exports) {
  1960. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  1961. var global = module.exports = typeof window != 'undefined' && window.Math == Math
  1962. ? window : typeof self != 'undefined' && self.Math == Math ? self
  1963. // eslint-disable-next-line no-new-func
  1964. : Function('return this')();
  1965. if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
  1966. /***/ }),
  1967. /***/ "77f1":
  1968. /***/ (function(module, exports, __webpack_require__) {
  1969. var toInteger = __webpack_require__("4588");
  1970. var max = Math.max;
  1971. var min = Math.min;
  1972. module.exports = function (index, length) {
  1973. index = toInteger(index);
  1974. return index < 0 ? max(index + length, 0) : min(index, length);
  1975. };
  1976. /***/ }),
  1977. /***/ "794b":
  1978. /***/ (function(module, exports, __webpack_require__) {
  1979. module.exports = !__webpack_require__("8e60") && !__webpack_require__("294c")(function () {
  1980. return Object.defineProperty(__webpack_require__("1ec9")('div'), 'a', { get: function () { return 7; } }).a != 7;
  1981. });
  1982. /***/ }),
  1983. /***/ "79aa":
  1984. /***/ (function(module, exports) {
  1985. module.exports = function (it) {
  1986. if (typeof it != 'function') throw TypeError(it + ' is not a function!');
  1987. return it;
  1988. };
  1989. /***/ }),
  1990. /***/ "79e5":
  1991. /***/ (function(module, exports) {
  1992. module.exports = function (exec) {
  1993. try {
  1994. return !!exec();
  1995. } catch (e) {
  1996. return true;
  1997. }
  1998. };
  1999. /***/ }),
  2000. /***/ "7a56":
  2001. /***/ (function(module, exports, __webpack_require__) {
  2002. "use strict";
  2003. var global = __webpack_require__("7726");
  2004. var dP = __webpack_require__("86cc");
  2005. var DESCRIPTORS = __webpack_require__("9e1e");
  2006. var SPECIES = __webpack_require__("2b4c")('species');
  2007. module.exports = function (KEY) {
  2008. var C = global[KEY];
  2009. if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {
  2010. configurable: true,
  2011. get: function () { return this; }
  2012. });
  2013. };
  2014. /***/ }),
  2015. /***/ "7cdf":
  2016. /***/ (function(module, exports, __webpack_require__) {
  2017. // 20.1.2.3 Number.isInteger(number)
  2018. var $export = __webpack_require__("5ca1");
  2019. $export($export.S, 'Number', { isInteger: __webpack_require__("9c12") });
  2020. /***/ }),
  2021. /***/ "7e90":
  2022. /***/ (function(module, exports, __webpack_require__) {
  2023. var dP = __webpack_require__("d9f6");
  2024. var anObject = __webpack_require__("e4ae");
  2025. var getKeys = __webpack_require__("c3a1");
  2026. module.exports = __webpack_require__("8e60") ? Object.defineProperties : function defineProperties(O, Properties) {
  2027. anObject(O);
  2028. var keys = getKeys(Properties);
  2029. var length = keys.length;
  2030. var i = 0;
  2031. var P;
  2032. while (length > i) dP.f(O, P = keys[i++], Properties[P]);
  2033. return O;
  2034. };
  2035. /***/ }),
  2036. /***/ "7f20":
  2037. /***/ (function(module, exports, __webpack_require__) {
  2038. var def = __webpack_require__("86cc").f;
  2039. var has = __webpack_require__("69a8");
  2040. var TAG = __webpack_require__("2b4c")('toStringTag');
  2041. module.exports = function (it, tag, stat) {
  2042. if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
  2043. };
  2044. /***/ }),
  2045. /***/ "8378":
  2046. /***/ (function(module, exports) {
  2047. var core = module.exports = { version: '2.6.5' };
  2048. if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
  2049. /***/ }),
  2050. /***/ "83a1":
  2051. /***/ (function(module, exports) {
  2052. // 7.2.9 SameValue(x, y)
  2053. module.exports = Object.is || function is(x, y) {
  2054. // eslint-disable-next-line no-self-compare
  2055. return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
  2056. };
  2057. /***/ }),
  2058. /***/ "84f2":
  2059. /***/ (function(module, exports) {
  2060. module.exports = {};
  2061. /***/ }),
  2062. /***/ "85f2":
  2063. /***/ (function(module, exports, __webpack_require__) {
  2064. module.exports = __webpack_require__("454f");
  2065. /***/ }),
  2066. /***/ "86cc":
  2067. /***/ (function(module, exports, __webpack_require__) {
  2068. var anObject = __webpack_require__("cb7c");
  2069. var IE8_DOM_DEFINE = __webpack_require__("c69a");
  2070. var toPrimitive = __webpack_require__("6a99");
  2071. var dP = Object.defineProperty;
  2072. exports.f = __webpack_require__("9e1e") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
  2073. anObject(O);
  2074. P = toPrimitive(P, true);
  2075. anObject(Attributes);
  2076. if (IE8_DOM_DEFINE) try {
  2077. return dP(O, P, Attributes);
  2078. } catch (e) { /* empty */ }
  2079. if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
  2080. if ('value' in Attributes) O[P] = Attributes.value;
  2081. return O;
  2082. };
  2083. /***/ }),
  2084. /***/ "8aae":
  2085. /***/ (function(module, exports, __webpack_require__) {
  2086. __webpack_require__("32a6");
  2087. module.exports = __webpack_require__("584a").Object.keys;
  2088. /***/ }),
  2089. /***/ "8b97":
  2090. /***/ (function(module, exports, __webpack_require__) {
  2091. // Works with __proto__ only. Old v8 can't work with null proto objects.
  2092. /* eslint-disable no-proto */
  2093. var isObject = __webpack_require__("d3f4");
  2094. var anObject = __webpack_require__("cb7c");
  2095. var check = function (O, proto) {
  2096. anObject(O);
  2097. if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
  2098. };
  2099. module.exports = {
  2100. set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
  2101. function (test, buggy, set) {
  2102. try {
  2103. set = __webpack_require__("9b43")(Function.call, __webpack_require__("11e9").f(Object.prototype, '__proto__').set, 2);
  2104. set(test, []);
  2105. buggy = !(test instanceof Array);
  2106. } catch (e) { buggy = true; }
  2107. return function setPrototypeOf(O, proto) {
  2108. check(O, proto);
  2109. if (buggy) O.__proto__ = proto;
  2110. else set(O, proto);
  2111. return O;
  2112. };
  2113. }({}, false) : undefined),
  2114. check: check
  2115. };
  2116. /***/ }),
  2117. /***/ "8bbf":
  2118. /***/ (function(module, exports) {
  2119. module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;
  2120. /***/ }),
  2121. /***/ "8e60":
  2122. /***/ (function(module, exports, __webpack_require__) {
  2123. // Thank's IE8 for his funny defineProperty
  2124. module.exports = !__webpack_require__("294c")(function () {
  2125. return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
  2126. });
  2127. /***/ }),
  2128. /***/ "9003":
  2129. /***/ (function(module, exports, __webpack_require__) {
  2130. // 7.2.2 IsArray(argument)
  2131. var cof = __webpack_require__("6b4c");
  2132. module.exports = Array.isArray || function isArray(arg) {
  2133. return cof(arg) == 'Array';
  2134. };
  2135. /***/ }),
  2136. /***/ "9093":
  2137. /***/ (function(module, exports, __webpack_require__) {
  2138. // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
  2139. var $keys = __webpack_require__("ce10");
  2140. var hiddenKeys = __webpack_require__("e11e").concat('length', 'prototype');
  2141. exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  2142. return $keys(O, hiddenKeys);
  2143. };
  2144. /***/ }),
  2145. /***/ "9138":
  2146. /***/ (function(module, exports, __webpack_require__) {
  2147. module.exports = __webpack_require__("35e8");
  2148. /***/ }),
  2149. /***/ "9aa9":
  2150. /***/ (function(module, exports) {
  2151. exports.f = Object.getOwnPropertySymbols;
  2152. /***/ }),
  2153. /***/ "9b43":
  2154. /***/ (function(module, exports, __webpack_require__) {
  2155. // optional / simple context binding
  2156. var aFunction = __webpack_require__("d8e8");
  2157. module.exports = function (fn, that, length) {
  2158. aFunction(fn);
  2159. if (that === undefined) return fn;
  2160. switch (length) {
  2161. case 1: return function (a) {
  2162. return fn.call(that, a);
  2163. };
  2164. case 2: return function (a, b) {
  2165. return fn.call(that, a, b);
  2166. };
  2167. case 3: return function (a, b, c) {
  2168. return fn.call(that, a, b, c);
  2169. };
  2170. }
  2171. return function (/* ...args */) {
  2172. return fn.apply(that, arguments);
  2173. };
  2174. };
  2175. /***/ }),
  2176. /***/ "9c12":
  2177. /***/ (function(module, exports, __webpack_require__) {
  2178. // 20.1.2.3 Number.isInteger(number)
  2179. var isObject = __webpack_require__("d3f4");
  2180. var floor = Math.floor;
  2181. module.exports = function isInteger(it) {
  2182. return !isObject(it) && isFinite(it) && floor(it) === it;
  2183. };
  2184. /***/ }),
  2185. /***/ "9c6c":
  2186. /***/ (function(module, exports, __webpack_require__) {
  2187. // 22.1.3.31 Array.prototype[@@unscopables]
  2188. var UNSCOPABLES = __webpack_require__("2b4c")('unscopables');
  2189. var ArrayProto = Array.prototype;
  2190. if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__("32e9")(ArrayProto, UNSCOPABLES, {});
  2191. module.exports = function (key) {
  2192. ArrayProto[UNSCOPABLES][key] = true;
  2193. };
  2194. /***/ }),
  2195. /***/ "9def":
  2196. /***/ (function(module, exports, __webpack_require__) {
  2197. // 7.1.15 ToLength
  2198. var toInteger = __webpack_require__("4588");
  2199. var min = Math.min;
  2200. module.exports = function (it) {
  2201. return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
  2202. };
  2203. /***/ }),
  2204. /***/ "9e1e":
  2205. /***/ (function(module, exports, __webpack_require__) {
  2206. // Thank's IE8 for his funny defineProperty
  2207. module.exports = !__webpack_require__("79e5")(function () {
  2208. return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
  2209. });
  2210. /***/ }),
  2211. /***/ "a159":
  2212. /***/ (function(module, exports, __webpack_require__) {
  2213. // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
  2214. var anObject = __webpack_require__("e4ae");
  2215. var dPs = __webpack_require__("7e90");
  2216. var enumBugKeys = __webpack_require__("1691");
  2217. var IE_PROTO = __webpack_require__("5559")('IE_PROTO');
  2218. var Empty = function () { /* empty */ };
  2219. var PROTOTYPE = 'prototype';
  2220. // Create object with fake `null` prototype: use iframe Object with cleared prototype
  2221. var createDict = function () {
  2222. // Thrash, waste and sodomy: IE GC bug
  2223. var iframe = __webpack_require__("1ec9")('iframe');
  2224. var i = enumBugKeys.length;
  2225. var lt = '<';
  2226. var gt = '>';
  2227. var iframeDocument;
  2228. iframe.style.display = 'none';
  2229. __webpack_require__("32fc").appendChild(iframe);
  2230. iframe.src = 'javascript:'; // eslint-disable-line no-script-url
  2231. // createDict = iframe.contentWindow.Object;
  2232. // html.removeChild(iframe);
  2233. iframeDocument = iframe.contentWindow.document;
  2234. iframeDocument.open();
  2235. iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
  2236. iframeDocument.close();
  2237. createDict = iframeDocument.F;
  2238. while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
  2239. return createDict();
  2240. };
  2241. module.exports = Object.create || function create(O, Properties) {
  2242. var result;
  2243. if (O !== null) {
  2244. Empty[PROTOTYPE] = anObject(O);
  2245. result = new Empty();
  2246. Empty[PROTOTYPE] = null;
  2247. // add "__proto__" for Object.getPrototypeOf polyfill
  2248. result[IE_PROTO] = O;
  2249. } else result = createDict();
  2250. return Properties === undefined ? result : dPs(result, Properties);
  2251. };
  2252. /***/ }),
  2253. /***/ "a481":
  2254. /***/ (function(module, exports, __webpack_require__) {
  2255. "use strict";
  2256. var anObject = __webpack_require__("cb7c");
  2257. var toObject = __webpack_require__("4bf8");
  2258. var toLength = __webpack_require__("9def");
  2259. var toInteger = __webpack_require__("4588");
  2260. var advanceStringIndex = __webpack_require__("0390");
  2261. var regExpExec = __webpack_require__("5f1b");
  2262. var max = Math.max;
  2263. var min = Math.min;
  2264. var floor = Math.floor;
  2265. var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g;
  2266. var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g;
  2267. var maybeToString = function (it) {
  2268. return it === undefined ? it : String(it);
  2269. };
  2270. // @@replace logic
  2271. __webpack_require__("214f")('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
  2272. return [
  2273. // `String.prototype.replace` method
  2274. // https://tc39.github.io/ecma262/#sec-string.prototype.replace
  2275. function replace(searchValue, replaceValue) {
  2276. var O = defined(this);
  2277. var fn = searchValue == undefined ? undefined : searchValue[REPLACE];
  2278. return fn !== undefined
  2279. ? fn.call(searchValue, O, replaceValue)
  2280. : $replace.call(String(O), searchValue, replaceValue);
  2281. },
  2282. // `RegExp.prototype[@@replace]` method
  2283. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
  2284. function (regexp, replaceValue) {
  2285. var res = maybeCallNative($replace, regexp, this, replaceValue);
  2286. if (res.done) return res.value;
  2287. var rx = anObject(regexp);
  2288. var S = String(this);
  2289. var functionalReplace = typeof replaceValue === 'function';
  2290. if (!functionalReplace) replaceValue = String(replaceValue);
  2291. var global = rx.global;
  2292. if (global) {
  2293. var fullUnicode = rx.unicode;
  2294. rx.lastIndex = 0;
  2295. }
  2296. var results = [];
  2297. while (true) {
  2298. var result = regExpExec(rx, S);
  2299. if (result === null) break;
  2300. results.push(result);
  2301. if (!global) break;
  2302. var matchStr = String(result[0]);
  2303. if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
  2304. }
  2305. var accumulatedResult = '';
  2306. var nextSourcePosition = 0;
  2307. for (var i = 0; i < results.length; i++) {
  2308. result = results[i];
  2309. var matched = String(result[0]);
  2310. var position = max(min(toInteger(result.index), S.length), 0);
  2311. var captures = [];
  2312. // NOTE: This is equivalent to
  2313. // captures = result.slice(1).map(maybeToString)
  2314. // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
  2315. // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
  2316. // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
  2317. for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
  2318. var namedCaptures = result.groups;
  2319. if (functionalReplace) {
  2320. var replacerArgs = [matched].concat(captures, position, S);
  2321. if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
  2322. var replacement = String(replaceValue.apply(undefined, replacerArgs));
  2323. } else {
  2324. replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
  2325. }
  2326. if (position >= nextSourcePosition) {
  2327. accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
  2328. nextSourcePosition = position + matched.length;
  2329. }
  2330. }
  2331. return accumulatedResult + S.slice(nextSourcePosition);
  2332. }
  2333. ];
  2334. // https://tc39.github.io/ecma262/#sec-getsubstitution
  2335. function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
  2336. var tailPos = position + matched.length;
  2337. var m = captures.length;
  2338. var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
  2339. if (namedCaptures !== undefined) {
  2340. namedCaptures = toObject(namedCaptures);
  2341. symbols = SUBSTITUTION_SYMBOLS;
  2342. }
  2343. return $replace.call(replacement, symbols, function (match, ch) {
  2344. var capture;
  2345. switch (ch.charAt(0)) {
  2346. case '$': return '$';
  2347. case '&': return matched;
  2348. case '`': return str.slice(0, position);
  2349. case "'": return str.slice(tailPos);
  2350. case '<':
  2351. capture = namedCaptures[ch.slice(1, -1)];
  2352. break;
  2353. default: // \d\d?
  2354. var n = +ch;
  2355. if (n === 0) return match;
  2356. if (n > m) {
  2357. var f = floor(n / 10);
  2358. if (f === 0) return match;
  2359. if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
  2360. return match;
  2361. }
  2362. capture = captures[n - 1];
  2363. }
  2364. return capture === undefined ? '' : capture;
  2365. });
  2366. }
  2367. });
  2368. /***/ }),
  2369. /***/ "a4bb":
  2370. /***/ (function(module, exports, __webpack_require__) {
  2371. module.exports = __webpack_require__("8aae");
  2372. /***/ }),
  2373. /***/ "aa77":
  2374. /***/ (function(module, exports, __webpack_require__) {
  2375. var $export = __webpack_require__("5ca1");
  2376. var defined = __webpack_require__("be13");
  2377. var fails = __webpack_require__("79e5");
  2378. var spaces = __webpack_require__("fdef");
  2379. var space = '[' + spaces + ']';
  2380. var non = '\u200b\u0085';
  2381. var ltrim = RegExp('^' + space + space + '*');
  2382. var rtrim = RegExp(space + space + '*$');
  2383. var exporter = function (KEY, exec, ALIAS) {
  2384. var exp = {};
  2385. var FORCE = fails(function () {
  2386. return !!spaces[KEY]() || non[KEY]() != non;
  2387. });
  2388. var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];
  2389. if (ALIAS) exp[ALIAS] = fn;
  2390. $export($export.P + $export.F * FORCE, 'String', exp);
  2391. };
  2392. // 1 -> String#trimLeft
  2393. // 2 -> String#trimRight
  2394. // 3 -> String#trim
  2395. var trim = exporter.trim = function (string, TYPE) {
  2396. string = String(defined(string));
  2397. if (TYPE & 1) string = string.replace(ltrim, '');
  2398. if (TYPE & 2) string = string.replace(rtrim, '');
  2399. return string;
  2400. };
  2401. module.exports = exporter;
  2402. /***/ }),
  2403. /***/ "aae3":
  2404. /***/ (function(module, exports, __webpack_require__) {
  2405. // 7.2.8 IsRegExp(argument)
  2406. var isObject = __webpack_require__("d3f4");
  2407. var cof = __webpack_require__("2d95");
  2408. var MATCH = __webpack_require__("2b4c")('match');
  2409. module.exports = function (it) {
  2410. var isRegExp;
  2411. return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
  2412. };
  2413. /***/ }),
  2414. /***/ "ac6a":
  2415. /***/ (function(module, exports, __webpack_require__) {
  2416. var $iterators = __webpack_require__("cadf");
  2417. var getKeys = __webpack_require__("0d58");
  2418. var redefine = __webpack_require__("2aba");
  2419. var global = __webpack_require__("7726");
  2420. var hide = __webpack_require__("32e9");
  2421. var Iterators = __webpack_require__("84f2");
  2422. var wks = __webpack_require__("2b4c");
  2423. var ITERATOR = wks('iterator');
  2424. var TO_STRING_TAG = wks('toStringTag');
  2425. var ArrayValues = Iterators.Array;
  2426. var DOMIterables = {
  2427. CSSRuleList: true, // TODO: Not spec compliant, should be false.
  2428. CSSStyleDeclaration: false,
  2429. CSSValueList: false,
  2430. ClientRectList: false,
  2431. DOMRectList: false,
  2432. DOMStringList: false,
  2433. DOMTokenList: true,
  2434. DataTransferItemList: false,
  2435. FileList: false,
  2436. HTMLAllCollection: false,
  2437. HTMLCollection: false,
  2438. HTMLFormElement: false,
  2439. HTMLSelectElement: false,
  2440. MediaList: true, // TODO: Not spec compliant, should be false.
  2441. MimeTypeArray: false,
  2442. NamedNodeMap: false,
  2443. NodeList: true,
  2444. PaintRequestList: false,
  2445. Plugin: false,
  2446. PluginArray: false,
  2447. SVGLengthList: false,
  2448. SVGNumberList: false,
  2449. SVGPathSegList: false,
  2450. SVGPointList: false,
  2451. SVGStringList: false,
  2452. SVGTransformList: false,
  2453. SourceBufferList: false,
  2454. StyleSheetList: true, // TODO: Not spec compliant, should be false.
  2455. TextTrackCueList: false,
  2456. TextTrackList: false,
  2457. TouchList: false
  2458. };
  2459. for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {
  2460. var NAME = collections[i];
  2461. var explicit = DOMIterables[NAME];
  2462. var Collection = global[NAME];
  2463. var proto = Collection && Collection.prototype;
  2464. var key;
  2465. if (proto) {
  2466. if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);
  2467. if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
  2468. Iterators[NAME] = ArrayValues;
  2469. if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);
  2470. }
  2471. }
  2472. /***/ }),
  2473. /***/ "aebd":
  2474. /***/ (function(module, exports) {
  2475. module.exports = function (bitmap, value) {
  2476. return {
  2477. enumerable: !(bitmap & 1),
  2478. configurable: !(bitmap & 2),
  2479. writable: !(bitmap & 4),
  2480. value: value
  2481. };
  2482. };
  2483. /***/ }),
  2484. /***/ "b0c5":
  2485. /***/ (function(module, exports, __webpack_require__) {
  2486. "use strict";
  2487. var regexpExec = __webpack_require__("520a");
  2488. __webpack_require__("5ca1")({
  2489. target: 'RegExp',
  2490. proto: true,
  2491. forced: regexpExec !== /./.exec
  2492. }, {
  2493. exec: regexpExec
  2494. });
  2495. /***/ }),
  2496. /***/ "b447":
  2497. /***/ (function(module, exports, __webpack_require__) {
  2498. // 7.1.15 ToLength
  2499. var toInteger = __webpack_require__("3a38");
  2500. var min = Math.min;
  2501. module.exports = function (it) {
  2502. return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
  2503. };
  2504. /***/ }),
  2505. /***/ "b8e3":
  2506. /***/ (function(module, exports) {
  2507. module.exports = true;
  2508. /***/ }),
  2509. /***/ "be13":
  2510. /***/ (function(module, exports) {
  2511. // 7.2.1 RequireObjectCoercible(argument)
  2512. module.exports = function (it) {
  2513. if (it == undefined) throw TypeError("Can't call method on " + it);
  2514. return it;
  2515. };
  2516. /***/ }),
  2517. /***/ "bf0b":
  2518. /***/ (function(module, exports, __webpack_require__) {
  2519. var pIE = __webpack_require__("355d");
  2520. var createDesc = __webpack_require__("aebd");
  2521. var toIObject = __webpack_require__("36c3");
  2522. var toPrimitive = __webpack_require__("1bc3");
  2523. var has = __webpack_require__("07e3");
  2524. var IE8_DOM_DEFINE = __webpack_require__("794b");
  2525. var gOPD = Object.getOwnPropertyDescriptor;
  2526. exports.f = __webpack_require__("8e60") ? gOPD : function getOwnPropertyDescriptor(O, P) {
  2527. O = toIObject(O);
  2528. P = toPrimitive(P, true);
  2529. if (IE8_DOM_DEFINE) try {
  2530. return gOPD(O, P);
  2531. } catch (e) { /* empty */ }
  2532. if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
  2533. };
  2534. /***/ }),
  2535. /***/ "bf90":
  2536. /***/ (function(module, exports, __webpack_require__) {
  2537. // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
  2538. var toIObject = __webpack_require__("36c3");
  2539. var $getOwnPropertyDescriptor = __webpack_require__("bf0b").f;
  2540. __webpack_require__("ce7e")('getOwnPropertyDescriptor', function () {
  2541. return function getOwnPropertyDescriptor(it, key) {
  2542. return $getOwnPropertyDescriptor(toIObject(it), key);
  2543. };
  2544. });
  2545. /***/ }),
  2546. /***/ "c366":
  2547. /***/ (function(module, exports, __webpack_require__) {
  2548. // false -> Array#indexOf
  2549. // true -> Array#includes
  2550. var toIObject = __webpack_require__("6821");
  2551. var toLength = __webpack_require__("9def");
  2552. var toAbsoluteIndex = __webpack_require__("77f1");
  2553. module.exports = function (IS_INCLUDES) {
  2554. return function ($this, el, fromIndex) {
  2555. var O = toIObject($this);
  2556. var length = toLength(O.length);
  2557. var index = toAbsoluteIndex(fromIndex, length);
  2558. var value;
  2559. // Array#includes uses SameValueZero equality algorithm
  2560. // eslint-disable-next-line no-self-compare
  2561. if (IS_INCLUDES && el != el) while (length > index) {
  2562. value = O[index++];
  2563. // eslint-disable-next-line no-self-compare
  2564. if (value != value) return true;
  2565. // Array#indexOf ignores holes, Array#includes - not
  2566. } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
  2567. if (O[index] === el) return IS_INCLUDES || index || 0;
  2568. } return !IS_INCLUDES && -1;
  2569. };
  2570. };
  2571. /***/ }),
  2572. /***/ "c3a1":
  2573. /***/ (function(module, exports, __webpack_require__) {
  2574. // 19.1.2.14 / 15.2.3.14 Object.keys(O)
  2575. var $keys = __webpack_require__("e6f3");
  2576. var enumBugKeys = __webpack_require__("1691");
  2577. module.exports = Object.keys || function keys(O) {
  2578. return $keys(O, enumBugKeys);
  2579. };
  2580. /***/ }),
  2581. /***/ "c5f6":
  2582. /***/ (function(module, exports, __webpack_require__) {
  2583. "use strict";
  2584. var global = __webpack_require__("7726");
  2585. var has = __webpack_require__("69a8");
  2586. var cof = __webpack_require__("2d95");
  2587. var inheritIfRequired = __webpack_require__("5dbc");
  2588. var toPrimitive = __webpack_require__("6a99");
  2589. var fails = __webpack_require__("79e5");
  2590. var gOPN = __webpack_require__("9093").f;
  2591. var gOPD = __webpack_require__("11e9").f;
  2592. var dP = __webpack_require__("86cc").f;
  2593. var $trim = __webpack_require__("aa77").trim;
  2594. var NUMBER = 'Number';
  2595. var $Number = global[NUMBER];
  2596. var Base = $Number;
  2597. var proto = $Number.prototype;
  2598. // Opera ~12 has broken Object#toString
  2599. var BROKEN_COF = cof(__webpack_require__("2aeb")(proto)) == NUMBER;
  2600. var TRIM = 'trim' in String.prototype;
  2601. // 7.1.3 ToNumber(argument)
  2602. var toNumber = function (argument) {
  2603. var it = toPrimitive(argument, false);
  2604. if (typeof it == 'string' && it.length > 2) {
  2605. it = TRIM ? it.trim() : $trim(it, 3);
  2606. var first = it.charCodeAt(0);
  2607. var third, radix, maxCode;
  2608. if (first === 43 || first === 45) {
  2609. third = it.charCodeAt(2);
  2610. if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
  2611. } else if (first === 48) {
  2612. switch (it.charCodeAt(1)) {
  2613. case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i
  2614. case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i
  2615. default: return +it;
  2616. }
  2617. for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {
  2618. code = digits.charCodeAt(i);
  2619. // parseInt parses a string to a first unavailable symbol
  2620. // but ToNumber should return NaN if a string contains unavailable symbols
  2621. if (code < 48 || code > maxCode) return NaN;
  2622. } return parseInt(digits, radix);
  2623. }
  2624. } return +it;
  2625. };
  2626. if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {
  2627. $Number = function Number(value) {
  2628. var it = arguments.length < 1 ? 0 : value;
  2629. var that = this;
  2630. return that instanceof $Number
  2631. // check on 1..constructor(foo) case
  2632. && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)
  2633. ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);
  2634. };
  2635. for (var keys = __webpack_require__("9e1e") ? gOPN(Base) : (
  2636. // ES3:
  2637. 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
  2638. // ES6 (in case, if modules with ES6 Number statics required before):
  2639. 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
  2640. 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
  2641. ).split(','), j = 0, key; keys.length > j; j++) {
  2642. if (has(Base, key = keys[j]) && !has($Number, key)) {
  2643. dP($Number, key, gOPD(Base, key));
  2644. }
  2645. }
  2646. $Number.prototype = proto;
  2647. proto.constructor = $Number;
  2648. __webpack_require__("2aba")(global, NUMBER, $Number);
  2649. }
  2650. /***/ }),
  2651. /***/ "c69a":
  2652. /***/ (function(module, exports, __webpack_require__) {
  2653. module.exports = !__webpack_require__("9e1e") && !__webpack_require__("79e5")(function () {
  2654. return Object.defineProperty(__webpack_require__("230e")('div'), 'a', { get: function () { return 7; } }).a != 7;
  2655. });
  2656. /***/ }),
  2657. /***/ "ca5a":
  2658. /***/ (function(module, exports) {
  2659. var id = 0;
  2660. var px = Math.random();
  2661. module.exports = function (key) {
  2662. return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
  2663. };
  2664. /***/ }),
  2665. /***/ "cadf":
  2666. /***/ (function(module, exports, __webpack_require__) {
  2667. "use strict";
  2668. var addToUnscopables = __webpack_require__("9c6c");
  2669. var step = __webpack_require__("d53b");
  2670. var Iterators = __webpack_require__("84f2");
  2671. var toIObject = __webpack_require__("6821");
  2672. // 22.1.3.4 Array.prototype.entries()
  2673. // 22.1.3.13 Array.prototype.keys()
  2674. // 22.1.3.29 Array.prototype.values()
  2675. // 22.1.3.30 Array.prototype[@@iterator]()
  2676. module.exports = __webpack_require__("01f9")(Array, 'Array', function (iterated, kind) {
  2677. this._t = toIObject(iterated); // target
  2678. this._i = 0; // next index
  2679. this._k = kind; // kind
  2680. // 22.1.5.2.1 %ArrayIteratorPrototype%.next()
  2681. }, function () {
  2682. var O = this._t;
  2683. var kind = this._k;
  2684. var index = this._i++;
  2685. if (!O || index >= O.length) {
  2686. this._t = undefined;
  2687. return step(1);
  2688. }
  2689. if (kind == 'keys') return step(0, index);
  2690. if (kind == 'values') return step(0, O[index]);
  2691. return step(0, [index, O[index]]);
  2692. }, 'values');
  2693. // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
  2694. Iterators.Arguments = Iterators.Array;
  2695. addToUnscopables('keys');
  2696. addToUnscopables('values');
  2697. addToUnscopables('entries');
  2698. /***/ }),
  2699. /***/ "cb7c":
  2700. /***/ (function(module, exports, __webpack_require__) {
  2701. var isObject = __webpack_require__("d3f4");
  2702. module.exports = function (it) {
  2703. if (!isObject(it)) throw TypeError(it + ' is not an object!');
  2704. return it;
  2705. };
  2706. /***/ }),
  2707. /***/ "ccb9":
  2708. /***/ (function(module, exports, __webpack_require__) {
  2709. exports.f = __webpack_require__("5168");
  2710. /***/ }),
  2711. /***/ "ce10":
  2712. /***/ (function(module, exports, __webpack_require__) {
  2713. var has = __webpack_require__("69a8");
  2714. var toIObject = __webpack_require__("6821");
  2715. var arrayIndexOf = __webpack_require__("c366")(false);
  2716. var IE_PROTO = __webpack_require__("613b")('IE_PROTO');
  2717. module.exports = function (object, names) {
  2718. var O = toIObject(object);
  2719. var i = 0;
  2720. var result = [];
  2721. var key;
  2722. for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
  2723. // Don't enum bug & hidden keys
  2724. while (names.length > i) if (has(O, key = names[i++])) {
  2725. ~arrayIndexOf(result, key) || result.push(key);
  2726. }
  2727. return result;
  2728. };
  2729. /***/ }),
  2730. /***/ "ce7e":
  2731. /***/ (function(module, exports, __webpack_require__) {
  2732. // most Object methods by ES6 should accept primitives
  2733. var $export = __webpack_require__("63b6");
  2734. var core = __webpack_require__("584a");
  2735. var fails = __webpack_require__("294c");
  2736. module.exports = function (KEY, exec) {
  2737. var fn = (core.Object || {})[KEY] || Object[KEY];
  2738. var exp = {};
  2739. exp[KEY] = exec(fn);
  2740. $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
  2741. };
  2742. /***/ }),
  2743. /***/ "d3f4":
  2744. /***/ (function(module, exports) {
  2745. module.exports = function (it) {
  2746. return typeof it === 'object' ? it !== null : typeof it === 'function';
  2747. };
  2748. /***/ }),
  2749. /***/ "d53b":
  2750. /***/ (function(module, exports) {
  2751. module.exports = function (done, value) {
  2752. return { value: value, done: !!done };
  2753. };
  2754. /***/ }),
  2755. /***/ "d812":
  2756. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2757. "use strict";
  2758. /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_grid_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4f6b");
  2759. /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_grid_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_grid_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
  2760. /* unused harmony reexport * */
  2761. /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_grid_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
  2762. /***/ }),
  2763. /***/ "d864":
  2764. /***/ (function(module, exports, __webpack_require__) {
  2765. // optional / simple context binding
  2766. var aFunction = __webpack_require__("79aa");
  2767. module.exports = function (fn, that, length) {
  2768. aFunction(fn);
  2769. if (that === undefined) return fn;
  2770. switch (length) {
  2771. case 1: return function (a) {
  2772. return fn.call(that, a);
  2773. };
  2774. case 2: return function (a, b) {
  2775. return fn.call(that, a, b);
  2776. };
  2777. case 3: return function (a, b, c) {
  2778. return fn.call(that, a, b, c);
  2779. };
  2780. }
  2781. return function (/* ...args */) {
  2782. return fn.apply(that, arguments);
  2783. };
  2784. };
  2785. /***/ }),
  2786. /***/ "d8e8":
  2787. /***/ (function(module, exports) {
  2788. module.exports = function (it) {
  2789. if (typeof it != 'function') throw TypeError(it + ' is not a function!');
  2790. return it;
  2791. };
  2792. /***/ }),
  2793. /***/ "d9f6":
  2794. /***/ (function(module, exports, __webpack_require__) {
  2795. var anObject = __webpack_require__("e4ae");
  2796. var IE8_DOM_DEFINE = __webpack_require__("794b");
  2797. var toPrimitive = __webpack_require__("1bc3");
  2798. var dP = Object.defineProperty;
  2799. exports.f = __webpack_require__("8e60") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
  2800. anObject(O);
  2801. P = toPrimitive(P, true);
  2802. anObject(Attributes);
  2803. if (IE8_DOM_DEFINE) try {
  2804. return dP(O, P, Attributes);
  2805. } catch (e) { /* empty */ }
  2806. if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
  2807. if ('value' in Attributes) O[P] = Attributes.value;
  2808. return O;
  2809. };
  2810. /***/ }),
  2811. /***/ "dbdb":
  2812. /***/ (function(module, exports, __webpack_require__) {
  2813. var core = __webpack_require__("584a");
  2814. var global = __webpack_require__("e53d");
  2815. var SHARED = '__core-js_shared__';
  2816. var store = global[SHARED] || (global[SHARED] = {});
  2817. (module.exports = function (key, value) {
  2818. return store[key] || (store[key] = value !== undefined ? value : {});
  2819. })('versions', []).push({
  2820. version: core.version,
  2821. mode: __webpack_require__("b8e3") ? 'pure' : 'global',
  2822. copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
  2823. });
  2824. /***/ }),
  2825. /***/ "e11e":
  2826. /***/ (function(module, exports) {
  2827. // IE 8- don't enum bug keys
  2828. module.exports = (
  2829. 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
  2830. ).split(',');
  2831. /***/ }),
  2832. /***/ "e265":
  2833. /***/ (function(module, exports, __webpack_require__) {
  2834. module.exports = __webpack_require__("ed33");
  2835. /***/ }),
  2836. /***/ "e4ae":
  2837. /***/ (function(module, exports, __webpack_require__) {
  2838. var isObject = __webpack_require__("f772");
  2839. module.exports = function (it) {
  2840. if (!isObject(it)) throw TypeError(it + ' is not an object!');
  2841. return it;
  2842. };
  2843. /***/ }),
  2844. /***/ "e53d":
  2845. /***/ (function(module, exports) {
  2846. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  2847. var global = module.exports = typeof window != 'undefined' && window.Math == Math
  2848. ? window : typeof self != 'undefined' && self.Math == Math ? self
  2849. // eslint-disable-next-line no-new-func
  2850. : Function('return this')();
  2851. if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
  2852. /***/ }),
  2853. /***/ "e6f3":
  2854. /***/ (function(module, exports, __webpack_require__) {
  2855. var has = __webpack_require__("07e3");
  2856. var toIObject = __webpack_require__("36c3");
  2857. var arrayIndexOf = __webpack_require__("5b4e")(false);
  2858. var IE_PROTO = __webpack_require__("5559")('IE_PROTO');
  2859. module.exports = function (object, names) {
  2860. var O = toIObject(object);
  2861. var i = 0;
  2862. var result = [];
  2863. var key;
  2864. for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
  2865. // Don't enum bug & hidden keys
  2866. while (names.length > i) if (has(O, key = names[i++])) {
  2867. ~arrayIndexOf(result, key) || result.push(key);
  2868. }
  2869. return result;
  2870. };
  2871. /***/ }),
  2872. /***/ "ebd6":
  2873. /***/ (function(module, exports, __webpack_require__) {
  2874. // 7.3.20 SpeciesConstructor(O, defaultConstructor)
  2875. var anObject = __webpack_require__("cb7c");
  2876. var aFunction = __webpack_require__("d8e8");
  2877. var SPECIES = __webpack_require__("2b4c")('species');
  2878. module.exports = function (O, D) {
  2879. var C = anObject(O).constructor;
  2880. var S;
  2881. return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
  2882. };
  2883. /***/ }),
  2884. /***/ "ebfd":
  2885. /***/ (function(module, exports, __webpack_require__) {
  2886. var META = __webpack_require__("62a0")('meta');
  2887. var isObject = __webpack_require__("f772");
  2888. var has = __webpack_require__("07e3");
  2889. var setDesc = __webpack_require__("d9f6").f;
  2890. var id = 0;
  2891. var isExtensible = Object.isExtensible || function () {
  2892. return true;
  2893. };
  2894. var FREEZE = !__webpack_require__("294c")(function () {
  2895. return isExtensible(Object.preventExtensions({}));
  2896. });
  2897. var setMeta = function (it) {
  2898. setDesc(it, META, { value: {
  2899. i: 'O' + ++id, // object ID
  2900. w: {} // weak collections IDs
  2901. } });
  2902. };
  2903. var fastKey = function (it, create) {
  2904. // return primitive with prefix
  2905. if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
  2906. if (!has(it, META)) {
  2907. // can't set metadata to uncaught frozen object
  2908. if (!isExtensible(it)) return 'F';
  2909. // not necessary to add metadata
  2910. if (!create) return 'E';
  2911. // add missing metadata
  2912. setMeta(it);
  2913. // return object ID
  2914. } return it[META].i;
  2915. };
  2916. var getWeak = function (it, create) {
  2917. if (!has(it, META)) {
  2918. // can't set metadata to uncaught frozen object
  2919. if (!isExtensible(it)) return true;
  2920. // not necessary to add metadata
  2921. if (!create) return false;
  2922. // add missing metadata
  2923. setMeta(it);
  2924. // return hash weak collections IDs
  2925. } return it[META].w;
  2926. };
  2927. // add metadata on freeze-family methods calling
  2928. var onFreeze = function (it) {
  2929. if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
  2930. return it;
  2931. };
  2932. var meta = module.exports = {
  2933. KEY: META,
  2934. NEED: false,
  2935. fastKey: fastKey,
  2936. getWeak: getWeak,
  2937. onFreeze: onFreeze
  2938. };
  2939. /***/ }),
  2940. /***/ "ed33":
  2941. /***/ (function(module, exports, __webpack_require__) {
  2942. __webpack_require__("014b");
  2943. module.exports = __webpack_require__("584a").Object.getOwnPropertySymbols;
  2944. /***/ }),
  2945. /***/ "f6fd":
  2946. /***/ (function(module, exports) {
  2947. // document.currentScript polyfill by Adam Miller
  2948. // MIT license
  2949. (function(document){
  2950. var currentScript = "currentScript",
  2951. scripts = document.getElementsByTagName('script'); // Live NodeList collection
  2952. // If browser needs currentScript polyfill, add get currentScript() to the document object
  2953. if (!(currentScript in document)) {
  2954. Object.defineProperty(document, currentScript, {
  2955. get: function(){
  2956. // IE 6-10 supports script readyState
  2957. // IE 10+ support stack trace
  2958. try { throw new Error(); }
  2959. catch (err) {
  2960. // Find the second match for the "at" string to get file src url from stack.
  2961. // Specifically works with the format of stack traces in IE.
  2962. var i, res = ((/.*at [^\(]*\((.*):.+:.+\)$/ig).exec(err.stack) || [false])[1];
  2963. // For all scripts on the page, if src matches or if ready state is interactive, return the script tag
  2964. for(i in scripts){
  2965. if(scripts[i].src == res || scripts[i].readyState == "interactive"){
  2966. return scripts[i];
  2967. }
  2968. }
  2969. // If no match, return null
  2970. return null;
  2971. }
  2972. }
  2973. });
  2974. }
  2975. })(document);
  2976. /***/ }),
  2977. /***/ "f772":
  2978. /***/ (function(module, exports) {
  2979. module.exports = function (it) {
  2980. return typeof it === 'object' ? it !== null : typeof it === 'function';
  2981. };
  2982. /***/ }),
  2983. /***/ "fa5b":
  2984. /***/ (function(module, exports, __webpack_require__) {
  2985. module.exports = __webpack_require__("5537")('native-function-to-string', Function.toString);
  2986. /***/ }),
  2987. /***/ "fab2":
  2988. /***/ (function(module, exports, __webpack_require__) {
  2989. var document = __webpack_require__("7726").document;
  2990. module.exports = document && document.documentElement;
  2991. /***/ }),
  2992. /***/ "fb15":
  2993. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2994. "use strict";
  2995. __webpack_require__.r(__webpack_exports__);
  2996. // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
  2997. // This file is imported into lib/wc client bundles.
  2998. if (typeof window !== 'undefined') {
  2999. if (true) {
  3000. __webpack_require__("f6fd")
  3001. }
  3002. var setPublicPath_i
  3003. if ((setPublicPath_i = window.document.currentScript) && (setPublicPath_i = setPublicPath_i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
  3004. __webpack_require__.p = setPublicPath_i[1] // eslint-disable-line
  3005. }
  3006. }
  3007. // Indicate to webpack that this file can be concatenated
  3008. /* harmony default export */ var setPublicPath = (null);
  3009. // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js
  3010. var get_own_property_descriptor = __webpack_require__("268f");
  3011. var get_own_property_descriptor_default = /*#__PURE__*/__webpack_require__.n(get_own_property_descriptor);
  3012. // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-symbols.js
  3013. var get_own_property_symbols = __webpack_require__("e265");
  3014. var get_own_property_symbols_default = /*#__PURE__*/__webpack_require__.n(get_own_property_symbols);
  3015. // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/keys.js
  3016. var keys = __webpack_require__("a4bb");
  3017. var keys_default = /*#__PURE__*/__webpack_require__.n(keys);
  3018. // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js
  3019. var define_property = __webpack_require__("85f2");
  3020. var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property);
  3021. // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/defineProperty.js
  3022. function _defineProperty(obj, key, value) {
  3023. if (key in obj) {
  3024. define_property_default()(obj, key, {
  3025. value: value,
  3026. enumerable: true,
  3027. configurable: true,
  3028. writable: true
  3029. });
  3030. } else {
  3031. obj[key] = value;
  3032. }
  3033. return obj;
  3034. }
  3035. // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/objectSpread.js
  3036. function _objectSpread(target) {
  3037. for (var i = 1; i < arguments.length; i++) {
  3038. var source = arguments[i] != null ? arguments[i] : {};
  3039. var ownKeys = keys_default()(source);
  3040. if (typeof get_own_property_symbols_default.a === 'function') {
  3041. ownKeys = ownKeys.concat(get_own_property_symbols_default()(source).filter(function (sym) {
  3042. return get_own_property_descriptor_default()(source, sym).enumerable;
  3043. }));
  3044. }
  3045. ownKeys.forEach(function (key) {
  3046. _defineProperty(target, key, source[key]);
  3047. });
  3048. }
  3049. return target;
  3050. }
  3051. // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0fa0e932-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/grid.vue?vue&type=template&id=07769ba6&
  3052. var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"alt-grid-container",class:_vm.operatorClass,style:(_vm.containerStyle)},[_c('div',{staticClass:"alt-grid-item-drag-placeholder",class:_vm.placeholderClass,style:(_vm.getCardStyleForPlaceholder(_vm.placeholder))}),_vm._l((_vm.innerLayout),function(item,index){return _c('div',{key:item._id,ref:"cards",refInFor:true,staticClass:"alt-grid-item",class:[_vm.canDragClass(item.isDraggable), _vm.gridItemClass, item.gridItemClass],style:(item._alt_style),attrs:{"dg-id":item._id}},[(_vm.getFirstSetValue(item.isShowOriginCloseBtn, _vm.isShowOriginCloseBtn, true))?_c('button',{class:[_vm.closeHandlerClass, item.closeHandlerClass],on:{"click":function($event){return _vm.closeWidget(item._id)}}},[_vm._v("关闭")]):_vm._e(),_c(item.type,{ref:item._id,refInFor:true,tag:"component",attrs:{"alt-card-props":_vm.getPropsForInject(index, item)}}),(_vm.getFirstSetValue(item.isResizable, _vm.isResizable, true))?_c('span',{staticClass:"alt-grid-item-resize-handler",class:[_vm.resizeHandlerClass, item.resizeHandlerClass]}):_vm._e()],1)}),_c('div',{staticClass:"mask"})],2)}
  3053. var staticRenderFns = []
  3054. // CONCATENATED MODULE: ./src/components/grid.vue?vue&type=template&id=07769ba6&
  3055. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.match.js
  3056. var es6_regexp_match = __webpack_require__("4917");
  3057. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.search.js
  3058. var es6_regexp_search = __webpack_require__("386d");
  3059. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js
  3060. var es6_array_iterator = __webpack_require__("cadf");
  3061. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
  3062. var es6_object_keys = __webpack_require__("456d");
  3063. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.replace.js
  3064. var es6_regexp_replace = __webpack_require__("a481");
  3065. // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
  3066. var web_dom_iterable = __webpack_require__("ac6a");
  3067. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.split.js
  3068. var es6_regexp_split = __webpack_require__("28a5");
  3069. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.constructor.js
  3070. var es6_regexp_constructor = __webpack_require__("3b2b");
  3071. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
  3072. var es6_number_constructor = __webpack_require__("c5f6");
  3073. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.is-integer.js
  3074. var es6_number_is_integer = __webpack_require__("7cdf");
  3075. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.to-string.js
  3076. var es6_regexp_to_string = __webpack_require__("6b54");
  3077. // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
  3078. var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
  3079. var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
  3080. // CONCATENATED MODULE: ./src/utils/util.js
  3081. // 深拷贝
  3082. function deepCopy() {
  3083. return JSON.parse(JSON.stringify(arguments.length <= 0 ? undefined : arguments[0]));
  3084. } // 获取变量类型
  3085. function getVariType(vari) {
  3086. return Object.prototype.toString.call(vari).slice(8, -1).toLowerCase();
  3087. } // 判断值是否为 undefined 或 null
  3088. function isNil(val) {
  3089. return val === undefined || val === null;
  3090. } // 获取vue对象
  3091. function getVue() {
  3092. var temp = external_commonjs_vue_commonjs2_vue_root_Vue_default.a;
  3093. if (temp) return temp;
  3094. if (window.Vue) return window.Vue;
  3095. return null;
  3096. } // 判断是否为整数
  3097. function isInteger(num) {
  3098. if (Number.isInteger) return Number.isInteger(num);
  3099. var s = num + '';
  3100. return !~s.indexOf('.');
  3101. } // 判断是否含有某个class
  3102. function hasClass(dom, className) {
  3103. var reg = new RegExp('(\\s|^)' + className + '(\\s|$)');
  3104. var domClassName = dom.className;
  3105. return reg.test(domClassName); // return ~domClassName.indexOf(className);
  3106. } // 从event.path中遍历查找包含某个class的元素
  3107. function findParentThoughEvtPath(evtPath, parentClass, stopClass) {
  3108. var dom = null;
  3109. for (var i = 0, l = evtPath.length; i < l; i++) {
  3110. dom = evtPath[i];
  3111. if (hasClass(dom, parentClass)) {
  3112. return dom;
  3113. }
  3114. if (hasClass(dom, stopClass)) {
  3115. return null;
  3116. }
  3117. }
  3118. return null;
  3119. }
  3120. function util_getFirstSetValue() {
  3121. var args = arguments;
  3122. var l = args.length;
  3123. for (var i = 0; i < l; i++) {
  3124. if (!isNil(args[i])) return args[i];
  3125. }
  3126. return args[l - 1];
  3127. }
  3128. function forEach(arr, callBack) {
  3129. if (!arr || !arr.length) return;
  3130. for (var i = 0, j = arr.length; i < j; i++) {
  3131. callBack && callBack(arr[i], i);
  3132. }
  3133. }
  3134. function forEachValue(obj, fn) {
  3135. Object.keys(obj).forEach(function (key) {
  3136. return fn(obj[key], key);
  3137. });
  3138. }
  3139. function getIndexOfArrayByAttr(arr, value, attr) {
  3140. for (var i = 0; i < arr.length; i++) {
  3141. if (attr) {
  3142. if (arr[i][attr] === value) return i;
  3143. } else {
  3144. if (arr[i] === value) return i;
  3145. }
  3146. }
  3147. return -1;
  3148. } // 获取event.path的polyfill
  3149. function getEventPath(event) {
  3150. var target = event.target || null;
  3151. var pathArr = [target];
  3152. if (!target || !target.parentElement) {
  3153. return [];
  3154. }
  3155. while (target.parentElement) {
  3156. target = target.parentElement;
  3157. pathArr.unshift(target);
  3158. }
  3159. return pathArr;
  3160. } // 标准化event对象
  3161. function normalizeEvent(event) {
  3162. var evt = event;
  3163. if (!evt.path) {
  3164. evt.path = evt.composedPath && evt.composedPath() || getEventPath(event);
  3165. }
  3166. return evt;
  3167. }
  3168. function isDragIgnoreFrom(target, currentCard, ignoreFrom) {
  3169. var ignoreElementList = currentCard.querySelectorAll(ignoreFrom);
  3170. for (var i = 0, j = ignoreElementList.length; i < j; i++) {
  3171. if (ignoreElementList[i] === target) {
  3172. return true;
  3173. }
  3174. }
  3175. return false;
  3176. }
  3177. function getUniqueID(len, radix) {
  3178. var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');
  3179. var uuid = [],
  3180. i;
  3181. radix = radix || chars.length;
  3182. if (len) {
  3183. // Compact form
  3184. for (i = 0; i < len; i++) {
  3185. uuid[i] = chars[0 | Math.random() * radix];
  3186. }
  3187. } else {
  3188. // 参考rfc4122,https://tools.ietf.org/html/rfc4122
  3189. var r;
  3190. uuid[8] = uuid[13] = uuid[18] = uuid[23] = '-';
  3191. uuid[14] = '4';
  3192. for (i = 0; i < 36; i++) {
  3193. if (!uuid[i]) {
  3194. r = 0 | Math.random() * 16;
  3195. uuid[i] = chars[i == 19 ? r & 0x3 | 0x8 : r];
  3196. }
  3197. }
  3198. }
  3199. return uuid.join('');
  3200. }
  3201. // CONCATENATED MODULE: ./src/utils/device.js
  3202. var platform = navigator.platform;
  3203. var isMac = ['Mac68K', 'MacPPC', 'Macintosh', 'MacIntel'].indexOf(platform) > -1;
  3204. var device = {
  3205. isMac: isMac
  3206. };
  3207. /* harmony default export */ var utils_device = (device);
  3208. // CONCATENATED MODULE: ./src/utils/watch-box-size.js
  3209. function watchBoxSizeChange(el, handler) {
  3210. if (!(el instanceof HTMLElement)) {
  3211. throw new TypeError('第一个参数必须是一个html元素');
  3212. }
  3213. if (/^(area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr|script|style|textarea|title)$/i.test(el.tagName)) {
  3214. throw new TypeError('不支持当前元素类型,可以尝试使用div');
  3215. }
  3216. if (typeof handler !== 'function') {
  3217. throw new TypeError('第二个参数必须是一个函数');
  3218. }
  3219. this.el = el;
  3220. this.handler = handler;
  3221. this.hadInitScrollListener = false;
  3222. this.checkHidden();
  3223. }
  3224. watchBoxSizeChange.prototype.checkHidden = function checkHidden() {
  3225. var _this = this;
  3226. requestAnimationFrame(function () {
  3227. var width = _this.el.offsetWidth;
  3228. var height = _this.el.offsetHeight;
  3229. if (width === 0 && height === 0) {
  3230. _this.checkHidden();
  3231. } else {
  3232. _this.handler();
  3233. _this.init();
  3234. _this.hadInitScrollListener = true;
  3235. }
  3236. });
  3237. };
  3238. watchBoxSizeChange.prototype.init = function init() {
  3239. // 最后一次变动的宽高
  3240. this.lastWidth = this.el.offsetWidth || 1;
  3241. this.lastHeight = this.el.offsetHeight || 1; // 最大宽高
  3242. this.maxWidth = 10000 * this.lastWidth;
  3243. this.maxHeight = 10000 * this.lastHeight; // 变动宽高
  3244. this.newWidth = 0;
  3245. this.newHeight = 0;
  3246. this.expand = document.createElement('div');
  3247. this.expand.style.cssText = 'position:absolute;top:0;bottom:0;left:0;right:0;z-index=-10000;overflow:hidden;visibility:hidden;';
  3248. this.shrink = this.expand.cloneNode(false);
  3249. var expandChild = document.createElement('div');
  3250. expandChild.style.cssText = 'transition:0s;animation:none;';
  3251. var shrinkChild = expandChild.cloneNode(false);
  3252. expandChild.style.width = this.maxWidth + 'px';
  3253. expandChild.style.height = this.maxHeight + 'px';
  3254. shrinkChild.style.width = '250%';
  3255. shrinkChild.style.height = '250%';
  3256. this.expand.appendChild(expandChild);
  3257. this.shrink.appendChild(shrinkChild);
  3258. this.el.appendChild(this.expand);
  3259. this.el.appendChild(this.shrink);
  3260. if (this.expand.offsetParent !== this.el) {
  3261. this.el.style.position = 'relative';
  3262. }
  3263. this.expand.scrollTop = this.shrink.scrollTop = this.maxHeight;
  3264. this.expand.scrollLeft = this.shrink.scrollLeft = this.maxWidth;
  3265. this.bindOnScroll = null;
  3266. this.addListener();
  3267. };
  3268. watchBoxSizeChange.prototype.onScroll = function onScroll() {
  3269. this.newWidth = this.el.offsetWidth || 1;
  3270. this.newHeight = this.el.offsetHeight || 1;
  3271. if (this.newWidth !== this.lastWidth || this.newHeight !== this.lastHeight) {
  3272. requestAnimationFrame(this.onResize.bind(this));
  3273. }
  3274. this.expand.scrollTop = this.shrink.scrollTop = this.maxHeight;
  3275. this.expand.scrollLeft = this.shrink.scrollLeft = this.maxWidth;
  3276. };
  3277. watchBoxSizeChange.prototype.onResize = function onResize() {
  3278. this.lastWidth = this.newWidth;
  3279. this.lastHeight = this.newHeight;
  3280. this.handler(this.lastWidth, this.lastHeight);
  3281. };
  3282. watchBoxSizeChange.prototype.addListener = function addListener() {
  3283. this.bindOnScroll = this.onScroll.bind(this);
  3284. this.expand.addEventListener('scroll', this.bindOnScroll, false);
  3285. this.shrink.addEventListener('scroll', this.bindOnScroll, false);
  3286. };
  3287. watchBoxSizeChange.prototype.removeListener = function removeListener() {
  3288. this.expand.removeEventListener('scroll', this.bindOnScroll, false);
  3289. this.shrink.removeEventListener('scroll', this.bindOnScroll, false);
  3290. };
  3291. watchBoxSizeChange.prototype.destroy = function destroy() {
  3292. if (this.hadInitScrollListener) {
  3293. this.removeListener();
  3294. this.el.removeChild(this.expand);
  3295. this.el.removeChild(this.shrink);
  3296. }
  3297. };
  3298. /* harmony default export */ var watch_box_size = (watchBoxSizeChange);
  3299. // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.fill.js
  3300. var es6_array_fill = __webpack_require__("6c7b");
  3301. // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/classCallCheck.js
  3302. function _classCallCheck(instance, Constructor) {
  3303. if (!(instance instanceof Constructor)) {
  3304. throw new TypeError("Cannot call a class as a function");
  3305. }
  3306. }
  3307. // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
  3308. function _defineProperties(target, props) {
  3309. for (var i = 0; i < props.length; i++) {
  3310. var descriptor = props[i];
  3311. descriptor.enumerable = descriptor.enumerable || false;
  3312. descriptor.configurable = true;
  3313. if ("value" in descriptor) descriptor.writable = true;
  3314. define_property_default()(target, descriptor.key, descriptor);
  3315. }
  3316. }
  3317. function _createClass(Constructor, protoProps, staticProps) {
  3318. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  3319. if (staticProps) _defineProperties(Constructor, staticProps);
  3320. return Constructor;
  3321. }
  3322. // CONCATENATED MODULE: ./src/utils/rect.js
  3323. var rect_Rect =
  3324. /*#__PURE__*/
  3325. function () {
  3326. function Rect() {
  3327. var info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  3328. var coors = arguments.length > 1 ? arguments[1] : undefined;
  3329. _classCallCheck(this, Rect);
  3330. this.appendUniqueId(info);
  3331. this.x = this.isNotNegativeNumber(info.x) ? info.x : 0;
  3332. this.y = this.isNotNegativeNumber(info.y) ? info.y : 0;
  3333. this.w = this.isPositiveNumber(info.w) ? info.w : 1;
  3334. this.h = this.isPositiveNumber(info.h) ? info.h : 1;
  3335. this.id = info._id;
  3336. this.rawInfo = info;
  3337. this.coors = coors;
  3338. }
  3339. _createClass(Rect, [{
  3340. key: "setPos",
  3341. value: function setPos(pos) {
  3342. var attrs = ['x', 'y', 'w', 'h'];
  3343. var attrName;
  3344. var tempValue;
  3345. for (var i = 0, j = attrs.length; i < j; i++) {
  3346. attrName = attrs[i];
  3347. tempValue = pos[attrName];
  3348. if (!isNil(tempValue)) {
  3349. this[attrName] = tempValue;
  3350. this.rawInfo[attrName] = tempValue;
  3351. }
  3352. }
  3353. }
  3354. }, {
  3355. key: "moveTo",
  3356. value: function moveTo(x, y) {
  3357. if (this.coors.maxWidth && x + this.w > this.coors.maxWidth) {
  3358. x = this.coors.maxWidth - this.w;
  3359. }
  3360. if (x < 0) x = 0;
  3361. if (y < 0) y = 0;
  3362. this.coors._moveTo(this.id, {
  3363. x: x,
  3364. y: y
  3365. });
  3366. }
  3367. }, {
  3368. key: "resizeTo",
  3369. value: function resizeTo(w, h) {
  3370. if (this.coors.maxWidth && w + this.x > this.coors.maxWidth) {
  3371. w = this.coors.maxWidth - this.x;
  3372. }
  3373. if (w < 1) w = 1;
  3374. if (h < 1) h = 1;
  3375. this.coors._resizeTo(this.id, {
  3376. w: w,
  3377. h: h
  3378. });
  3379. }
  3380. }, {
  3381. key: "moveDown",
  3382. value: function moveDown(rows) {
  3383. this.coors._moveDown(this.id, rows);
  3384. }
  3385. }, {
  3386. key: "fill",
  3387. value: function fill(value) {
  3388. this.coors.coorsFillRect(this.x, this.y, this.w, this.h, value);
  3389. } // 判断是否是正整数
  3390. }, {
  3391. key: "isPositiveNumber",
  3392. value: function isPositiveNumber(num) {
  3393. if (isNil(num)) return false;
  3394. return num > 0;
  3395. } // 判断是否为非负数 也就是 大于等于0
  3396. }, {
  3397. key: "isNotNegativeNumber",
  3398. value: function isNotNegativeNumber(num) {
  3399. if (isNil(num)) return false;
  3400. return num >= 0;
  3401. }
  3402. }, {
  3403. key: "appendUniqueId",
  3404. value: function appendUniqueId(item) {
  3405. if (!item._id) {
  3406. item._id = this.getUniqueId();
  3407. }
  3408. }
  3409. }, {
  3410. key: "getUniqueId",
  3411. value: function getUniqueId(len, radix) {
  3412. var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');
  3413. var uuid = [],
  3414. i;
  3415. radix = radix || chars.length;
  3416. if (len) {
  3417. // Compact form
  3418. for (i = 0; i < len; i++) {
  3419. uuid[i] = chars[0 | Math.random() * radix];
  3420. }
  3421. } else {
  3422. // 参考rfc4122,https://tools.ietf.org/html/rfc4122
  3423. var r;
  3424. uuid[8] = uuid[13] = uuid[18] = uuid[23] = '-';
  3425. uuid[14] = '4';
  3426. for (i = 0; i < 36; i++) {
  3427. if (!uuid[i]) {
  3428. r = 0 | Math.random() * 16;
  3429. uuid[i] = chars[i == 19 ? r & 0x3 | 0x8 : r];
  3430. }
  3431. }
  3432. }
  3433. return uuid.join('');
  3434. }
  3435. }]);
  3436. return Rect;
  3437. }();
  3438. /* harmony default export */ var utils_rect = (rect_Rect);
  3439. // CONCATENATED MODULE: ./src/utils/coordinate.js
  3440. var coordinate_Coordinate =
  3441. /*#__PURE__*/
  3442. function () {
  3443. function Coordinate() {
  3444. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  3445. _classCallCheck(this, Coordinate);
  3446. this.coors = [];
  3447. this.coorItemsMap = {};
  3448. this.maxWidth = options.maxWidth;
  3449. }
  3450. _createClass(Coordinate, [{
  3451. key: "add",
  3452. value: function add(info) {
  3453. /**
  3454. * 1. 判断位置参数合法性,不合法则自动分配
  3455. * 2. 添加到坐标系
  3456. * 3. 返回 id
  3457. */
  3458. var rectItem = new utils_rect(info, this);
  3459. this.distributeRectPosition(rectItem);
  3460. this.coorsFillRect(rectItem.x, rectItem.y, rectItem.w, rectItem.h, rectItem);
  3461. this.coorItemsMap[rectItem.id] = rectItem;
  3462. return rectItem;
  3463. }
  3464. }, {
  3465. key: "coorsFillRect",
  3466. value: function coorsFillRect(x, y, w, h, value) {
  3467. var arr = this.coors;
  3468. var row;
  3469. for (var i = y; i < y + h; i++) {
  3470. row = arr[i];
  3471. if (isNil(row)) {
  3472. arr[i] = [];
  3473. }
  3474. for (var j = x; j < x + w; j++) {
  3475. arr[i][j] = value;
  3476. }
  3477. }
  3478. }
  3479. }, {
  3480. key: "coorsGetRectItems",
  3481. value: function coorsGetRectItems(x, y, w, h) {
  3482. var itemsList = [];
  3483. var row, cell;
  3484. for (var i = y; i < y + h; i++) {
  3485. row = this.coors[i] || [];
  3486. for (var j = x; j < x + w; j++) {
  3487. cell = row[j];
  3488. if (!isNil(cell)) {
  3489. itemsList.push(cell);
  3490. }
  3491. }
  3492. }
  3493. return itemsList;
  3494. }
  3495. }, {
  3496. key: "distributeRectPosition",
  3497. value: function distributeRectPosition(rectInstance) {
  3498. if (!this.checkRectPositionIsLegal(rectInstance, this.coors)) {
  3499. var legalPos = this.getLegalPosition(rectInstance, this.coorItemsMap);
  3500. rectInstance.setPos(legalPos);
  3501. }
  3502. }
  3503. }, {
  3504. key: "getLegalPosition",
  3505. value: function getLegalPosition(rectInstance, itemsMap) {
  3506. var x = rectInstance.x;
  3507. var y = rectInstance.y;
  3508. var w = rectInstance.w;
  3509. var h = rectInstance.h;
  3510. var colsHeight = [];
  3511. var tempItem = null;
  3512. var tempY = 0;
  3513. forEach(Object.keys(itemsMap), function (key) {
  3514. tempItem = itemsMap[key];
  3515. tempY = tempItem.y + tempItem.h;
  3516. for (var m = tempItem.x; m < tempItem.x + tempItem.w; m++) {
  3517. if (tempY > (colsHeight[m] || 0)) {
  3518. colsHeight[m] = tempY;
  3519. }
  3520. }
  3521. });
  3522. var max = this.maxWidth || colsHeight.length + w;
  3523. for (var i = 0; i < max; i++) {
  3524. if (isNil(colsHeight[i])) {
  3525. colsHeight[i] = 0;
  3526. }
  3527. }
  3528. var index = this.getMinPeek(colsHeight, w);
  3529. x = ~index ? index : 0;
  3530. y = colsHeight[x] || 0;
  3531. return {
  3532. x: x,
  3533. y: y,
  3534. w: w,
  3535. h: h
  3536. };
  3537. }
  3538. }, {
  3539. key: "getMinPeek",
  3540. value: function getMinPeek(arr, w) {
  3541. if (w === 1) {
  3542. var minVal = Math.min.apply(null, arr);
  3543. return arr.indexOf(minVal);
  3544. }
  3545. var index = -1;
  3546. var value = Infinity;
  3547. for (var i = 0; i < arr.length - w + 1; i++) {
  3548. var flag = true;
  3549. var item = arr[i];
  3550. for (var j = i + 1; j < i + w; j++) {
  3551. if (item < arr[j]) {
  3552. flag = false;
  3553. break;
  3554. }
  3555. }
  3556. if (flag && item < value) {
  3557. value = item;
  3558. index = i;
  3559. }
  3560. }
  3561. return index;
  3562. } // 检查位置是否合法
  3563. }, {
  3564. key: "checkRectPositionIsLegal",
  3565. value: function checkRectPositionIsLegal(item, coors) {
  3566. var x = item.x;
  3567. var y = item.y;
  3568. var w = item.w;
  3569. var h = item.h;
  3570. for (var i = y; i < y + h; i++) {
  3571. if (isNil(coors[i])) continue;
  3572. for (var j = x; j < x + w; j++) {
  3573. if (!isNil(coors[i][j])) {
  3574. return false;
  3575. }
  3576. }
  3577. }
  3578. return true;
  3579. }
  3580. }, {
  3581. key: "_moveTo",
  3582. value: function _moveTo(id) {
  3583. var pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  3584. /**
  3585. * 1. 找到对应的id
  3586. * 2. 判断移动的
  3587. */
  3588. if (isNil(pos.x) || isNil(pos.y)) return;
  3589. var rectItem = this.coorItemsMap[id];
  3590. rectItem.fill(null);
  3591. var targetRect = {
  3592. x: pos.x,
  3593. y: pos.y,
  3594. w: rectItem.w,
  3595. h: rectItem.h
  3596. };
  3597. var targetAreaRectItems = this.coorsGetFirstItemForColsInRect(targetRect);
  3598. var targetBottomLine = {
  3599. x: targetRect.x,
  3600. y: targetRect.y + targetRect.h,
  3601. w: targetRect.w
  3602. };
  3603. forEach(targetAreaRectItems, function (item) {
  3604. item.moveDown(targetBottomLine.y - item.y);
  3605. });
  3606. rectItem.setPos(targetRect);
  3607. this.coorsFillRect(targetRect.x, targetRect.y, targetRect.w, targetRect.h, rectItem);
  3608. this._moveUpAll();
  3609. }
  3610. }, {
  3611. key: "_resizeTo",
  3612. value: function _resizeTo(id) {
  3613. var rect = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  3614. if (isNil(rect.w) || isNil(rect.h)) return;
  3615. var rectItem = this.coorItemsMap[id];
  3616. rectItem.fill(null);
  3617. var targetRect = {
  3618. x: rectItem.x,
  3619. y: rectItem.y,
  3620. w: rect.w,
  3621. h: rect.h
  3622. };
  3623. var targetAreaRectItems = this.coorsGetFirstItemForColsInRect(targetRect);
  3624. var targetBottomLine = {
  3625. x: targetRect.x,
  3626. y: targetRect.y + targetRect.h,
  3627. w: targetRect.w
  3628. };
  3629. forEach(targetAreaRectItems, function (item) {
  3630. item.moveDown(targetBottomLine.y - item.y);
  3631. });
  3632. rectItem.setPos(targetRect);
  3633. rectItem.fill(rectItem); // this.coorsFillRect(targetRect.x, targetRect.y, targetRect.w, targetRect.h, rectItem);
  3634. this._moveUpAll();
  3635. }
  3636. }, {
  3637. key: "_moveDown",
  3638. value: function _moveDown(id, rows) {
  3639. var rectItem = this.coorItemsMap[id];
  3640. rectItem.fill(null);
  3641. var belowItems = this.coorsGetFirstItemForColsInRect({
  3642. x: rectItem.x,
  3643. y: rectItem.y + rectItem.h,
  3644. w: rectItem.w,
  3645. h: rectItem.h + rows
  3646. });
  3647. var targetBottomLine = {
  3648. x: rectItem.x,
  3649. y: rectItem.y + rectItem.h + rows,
  3650. w: rectItem.w
  3651. };
  3652. forEach(belowItems, function (item) {
  3653. item.moveDown(targetBottomLine.y - item.y);
  3654. });
  3655. rectItem.setPos({
  3656. y: rectItem.y + rows
  3657. });
  3658. rectItem.fill(rectItem);
  3659. }
  3660. }, {
  3661. key: "coorsGetFirstItemForColsInRect",
  3662. value: function coorsGetFirstItemForColsInRect(rect) {
  3663. var x = rect.x,
  3664. y = rect.y,
  3665. w = rect.w,
  3666. h = rect.h;
  3667. var itemsList = [];
  3668. var mapList = [];
  3669. var row, cell;
  3670. for (var i = y; i < y + h; i++) {
  3671. row = this.coors[i] || [];
  3672. for (var j = x; j < x + w; j++) {
  3673. cell = row[j];
  3674. if (!isNil(cell) && !mapList[j] && this.checkLineIsLegal(cell, mapList)) {
  3675. mapList[j] = cell;
  3676. if (!~itemsList.indexOf(cell)) {
  3677. itemsList.push(cell);
  3678. }
  3679. }
  3680. }
  3681. if (itemsList.length >= w) break;
  3682. }
  3683. return itemsList;
  3684. }
  3685. }, {
  3686. key: "checkLineIsLegal",
  3687. value: function checkLineIsLegal(cell, line) {
  3688. for (var i = cell.x; i < cell.x + cell.w; i++) {
  3689. if (!isNil(line[i]) && cell !== line[i]) {
  3690. return false;
  3691. }
  3692. }
  3693. return true;
  3694. }
  3695. }, {
  3696. key: "getEmptyRowsBeforeLine",
  3697. value: function getEmptyRowsBeforeLine(x, y, w) {
  3698. if (y === 0) return 0;
  3699. var count = 0;
  3700. var row, cell;
  3701. for (var rowNum = y - 1; rowNum >= 0; rowNum--) {
  3702. row = this.coors[rowNum] || [];
  3703. for (var colNum = x; colNum < x + w; colNum++) {
  3704. cell = row[colNum];
  3705. if (!isNil(cell)) {
  3706. return count;
  3707. }
  3708. }
  3709. count++;
  3710. }
  3711. return count;
  3712. }
  3713. }, {
  3714. key: "_moveUpAll",
  3715. value: function _moveUpAll() {
  3716. var me = this;
  3717. forEach(this.coors, function (row) {
  3718. forEach(row || [], function (cell) {
  3719. if (!cell || cell.y === 0) return;
  3720. var canUpRows = me.getEmptyRowsBeforeLine(cell.x, cell.y, cell.w);
  3721. cell.fill(null);
  3722. cell.setPos({
  3723. y: cell.y - canUpRows
  3724. });
  3725. cell.fill(cell);
  3726. });
  3727. });
  3728. }
  3729. }, {
  3730. key: "clear",
  3731. value: function clear() {
  3732. this.coors = [];
  3733. this.coorItemsMap = {};
  3734. }
  3735. }, {
  3736. key: "batchAddItem",
  3737. value: function batchAddItem(itemList) {
  3738. var me = this;
  3739. forEach(itemList, function (item) {
  3740. me.add(item);
  3741. });
  3742. this._moveUpAll();
  3743. }
  3744. }, {
  3745. key: "getAllItems",
  3746. value: function getAllItems() {
  3747. var list = [];
  3748. var itemMap = this.coorItemsMap;
  3749. forEach(Object.keys(itemMap), function (key) {
  3750. list.push(itemMap[key].rawInfo);
  3751. });
  3752. return list;
  3753. }
  3754. }, {
  3755. key: "remove",
  3756. value: function remove(id) {
  3757. var rectItem = this.coorItemsMap[id];
  3758. if (rectItem) {
  3759. rectItem.fill(null);
  3760. delete this.coorItemsMap[id];
  3761. this._moveUpAll();
  3762. }
  3763. return rectItem;
  3764. }
  3765. }, {
  3766. key: "replace",
  3767. value: function replace(id, info) {
  3768. var rectItem = this.coorItemsMap[id];
  3769. if (rectItem && rectItem.x === info.x && rectItem.y === info.y && rectItem.w === info.w && rectItem.h === info.h) {
  3770. rectItem.fill(null);
  3771. delete this.coorItemsMap[id];
  3772. var newRectItem = new utils_rect(info, this);
  3773. newRectItem.fill(newRectItem);
  3774. this.coorItemsMap[newRectItem.id] = newRectItem;
  3775. return newRectItem;
  3776. }
  3777. return null;
  3778. }
  3779. }, {
  3780. key: "getItemById",
  3781. value: function getItemById(id) {
  3782. return this.coorItemsMap[id];
  3783. }
  3784. }]);
  3785. return Coordinate;
  3786. }();
  3787. /* harmony default export */ var coordinate = (coordinate_Coordinate);
  3788. // CONCATENATED MODULE: ./src/utils/coordinate.test.js
  3789. function autoMove(that, layout) {
  3790. // that.coors.moveItemTo(layout[6], {
  3791. // x: layout[6].x,
  3792. // y: layout[6].y - 1
  3793. // })
  3794. // for(let i = 4; i > 0; i--){
  3795. // that.coors.moveItemTo(layout[3], {
  3796. // x: layout[3].x - 1,
  3797. // y: layout[3].y
  3798. // })
  3799. // }
  3800. // for(let i = 4; i > 0; i--){
  3801. // that.coors.moveItemTo(layout[3], {
  3802. // x: layout[3].x + 1,
  3803. // y: layout[3].y
  3804. // })
  3805. // }
  3806. // that.coors.moveItemTo(layout[0], {
  3807. // x: layout[0].x + 1,
  3808. // y: layout[0].y
  3809. // })
  3810. // that.coors.moveItemTo(layout[0], {
  3811. // x: layout[0].x + 1,
  3812. // y: layout[0].y
  3813. // })
  3814. // that.coors.moveItemTo(layout[2], {
  3815. // x: layout[2].x - 1,
  3816. // y: layout[2].y
  3817. // })
  3818. // for(let i = 4; i > 0; i--){
  3819. // that.coors.moveItemTo(layout[3], {
  3820. // x: layout[3].x - 1,
  3821. // y: layout[3].y
  3822. // })
  3823. // }
  3824. // that.coors.moveItemTo(layout[3], {
  3825. // x: layout[3].x,
  3826. // y: layout[3].y + 1
  3827. // })
  3828. that.coors.moveItemTo(layout[6], {
  3829. x: 2,
  3830. y: 1
  3831. });
  3832. }
  3833. // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0fa0e932-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Widget.render.vue?vue&type=template&id=67aab659&
  3834. var Widget_rendervue_type_template_id_67aab659_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div')}
  3835. var Widget_rendervue_type_template_id_67aab659_staticRenderFns = []
  3836. // CONCATENATED MODULE: ./src/components/Widget.render.vue?vue&type=template&id=67aab659&
  3837. // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Widget.render.vue?vue&type=script&lang=js&
  3838. //
  3839. //
  3840. //
  3841. //
  3842. /* harmony default export */ var Widget_rendervue_type_script_lang_js_ = ({
  3843. props: ['altCardProps']
  3844. });
  3845. // CONCATENATED MODULE: ./src/components/Widget.render.vue?vue&type=script&lang=js&
  3846. /* harmony default export */ var components_Widget_rendervue_type_script_lang_js_ = (Widget_rendervue_type_script_lang_js_);
  3847. // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
  3848. /* globals __VUE_SSR_CONTEXT__ */
  3849. // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
  3850. // This module is a runtime utility for cleaner component module output and will
  3851. // be included in the final webpack user bundle.
  3852. function normalizeComponent (
  3853. scriptExports,
  3854. render,
  3855. staticRenderFns,
  3856. functionalTemplate,
  3857. injectStyles,
  3858. scopeId,
  3859. moduleIdentifier, /* server only */
  3860. shadowMode /* vue-cli only */
  3861. ) {
  3862. // Vue.extend constructor export interop
  3863. var options = typeof scriptExports === 'function'
  3864. ? scriptExports.options
  3865. : scriptExports
  3866. // render functions
  3867. if (render) {
  3868. options.render = render
  3869. options.staticRenderFns = staticRenderFns
  3870. options._compiled = true
  3871. }
  3872. // functional template
  3873. if (functionalTemplate) {
  3874. options.functional = true
  3875. }
  3876. // scopedId
  3877. if (scopeId) {
  3878. options._scopeId = 'data-v-' + scopeId
  3879. }
  3880. var hook
  3881. if (moduleIdentifier) { // server build
  3882. hook = function (context) {
  3883. // 2.3 injection
  3884. context =
  3885. context || // cached call
  3886. (this.$vnode && this.$vnode.ssrContext) || // stateful
  3887. (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
  3888. // 2.2 with runInNewContext: true
  3889. if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
  3890. context = __VUE_SSR_CONTEXT__
  3891. }
  3892. // inject component styles
  3893. if (injectStyles) {
  3894. injectStyles.call(this, context)
  3895. }
  3896. // register component module identifier for async chunk inferrence
  3897. if (context && context._registeredComponents) {
  3898. context._registeredComponents.add(moduleIdentifier)
  3899. }
  3900. }
  3901. // used by ssr in case component is cached and beforeCreate
  3902. // never gets called
  3903. options._ssrRegister = hook
  3904. } else if (injectStyles) {
  3905. hook = shadowMode
  3906. ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
  3907. : injectStyles
  3908. }
  3909. if (hook) {
  3910. if (options.functional) {
  3911. // for template-only hot-reload because in that case the render fn doesn't
  3912. // go through the normalizer
  3913. options._injectStyles = hook
  3914. // register for functioal component in vue file
  3915. var originalRender = options.render
  3916. options.render = function renderWithStyleInjection (h, context) {
  3917. hook.call(context)
  3918. return originalRender(h, context)
  3919. }
  3920. } else {
  3921. // inject component registration as beforeCreate hook
  3922. var existing = options.beforeCreate
  3923. options.beforeCreate = existing
  3924. ? [].concat(existing, hook)
  3925. : [hook]
  3926. }
  3927. }
  3928. return {
  3929. exports: scriptExports,
  3930. options: options
  3931. }
  3932. }
  3933. // CONCATENATED MODULE: ./src/components/Widget.render.vue
  3934. /* normalize component */
  3935. var component = normalizeComponent(
  3936. components_Widget_rendervue_type_script_lang_js_,
  3937. Widget_rendervue_type_template_id_67aab659_render,
  3938. Widget_rendervue_type_template_id_67aab659_staticRenderFns,
  3939. false,
  3940. null,
  3941. null,
  3942. null
  3943. )
  3944. /* harmony default export */ var Widget_render = (component.exports);
  3945. // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Widget.template.vue?vue&type=script&lang=js&
  3946. /* harmony default export */ var Widget_templatevue_type_script_lang_js_ = ({
  3947. props: ['altCardProps'],
  3948. template: '<div></div>'
  3949. });
  3950. // CONCATENATED MODULE: ./src/components/Widget.template.vue?vue&type=script&lang=js&
  3951. /* harmony default export */ var components_Widget_templatevue_type_script_lang_js_ = (Widget_templatevue_type_script_lang_js_);
  3952. // CONCATENATED MODULE: ./src/components/Widget.template.vue
  3953. var Widget_template_render, Widget_template_staticRenderFns
  3954. /* normalize component */
  3955. var Widget_template_component = normalizeComponent(
  3956. components_Widget_templatevue_type_script_lang_js_,
  3957. Widget_template_render,
  3958. Widget_template_staticRenderFns,
  3959. false,
  3960. null,
  3961. null,
  3962. null
  3963. )
  3964. /* harmony default export */ var Widget_template = (Widget_template_component.exports);
  3965. // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Widget.vuecomponent.vue?vue&type=script&lang=js&
  3966. /* harmony default export */ var Widget_vuecomponentvue_type_script_lang_js_ = ({
  3967. props: ['altCardProps']
  3968. });
  3969. // CONCATENATED MODULE: ./src/components/Widget.vuecomponent.vue?vue&type=script&lang=js&
  3970. /* harmony default export */ var components_Widget_vuecomponentvue_type_script_lang_js_ = (Widget_vuecomponentvue_type_script_lang_js_);
  3971. // CONCATENATED MODULE: ./src/components/Widget.vuecomponent.vue
  3972. var Widget_vuecomponent_render, Widget_vuecomponent_staticRenderFns
  3973. /* normalize component */
  3974. var Widget_vuecomponent_component = normalizeComponent(
  3975. components_Widget_vuecomponentvue_type_script_lang_js_,
  3976. Widget_vuecomponent_render,
  3977. Widget_vuecomponent_staticRenderFns,
  3978. false,
  3979. null,
  3980. null,
  3981. null
  3982. )
  3983. /* harmony default export */ var Widget_vuecomponent = (Widget_vuecomponent_component.exports);
  3984. // CONCATENATED MODULE: ./src/components/props.js
  3985. var props_props = {
  3986. layout: {
  3987. type: Array,
  3988. default: function _default() {
  3989. return [];
  3990. }
  3991. },
  3992. isDraggable: {
  3993. // 是否可以拖拽
  3994. type: Boolean,
  3995. default: true
  3996. },
  3997. isResizable: {
  3998. // 是否可以调整大小
  3999. type: Boolean,
  4000. default: true
  4001. },
  4002. rowHeight: {
  4003. // 每行高度
  4004. type: Number,
  4005. default: 150,
  4006. validator: function validator(value) {
  4007. return !isNaN(value) && value > 0;
  4008. }
  4009. },
  4010. maxRows: {
  4011. // 最大
  4012. type: Number,
  4013. default: Infinity
  4014. },
  4015. margin: {
  4016. type: Array,
  4017. default: function _default() {
  4018. return [10, 10];
  4019. }
  4020. },
  4021. // 元素的右边距和下边距
  4022. colNum: {
  4023. // 列数
  4024. type: Number,
  4025. default: 12
  4026. },
  4027. backgroundColor: {
  4028. // 背景颜色
  4029. type: String,
  4030. default: 'rgba(200,200,200,1)'
  4031. },
  4032. gridItemClass: {
  4033. // 每一个卡片的class
  4034. type: String,
  4035. default: ''
  4036. },
  4037. closeHandlerClass: {
  4038. // 关闭按钮的class
  4039. type: String,
  4040. default: ''
  4041. },
  4042. resizeHandlerClass: {
  4043. // 设置大小按钮的class
  4044. type: String,
  4045. default: 'alt-g-i-r-h-default-style'
  4046. },
  4047. placeholderClass: {
  4048. // 拖拽时 placeholder 的class
  4049. type: String,
  4050. default: ''
  4051. },
  4052. isShowOriginCloseBtn: {
  4053. type: Boolean,
  4054. default: true
  4055. },
  4056. width: {
  4057. type: [Number, Boolean],
  4058. default: false
  4059. }
  4060. };
  4061. /* harmony default export */ var components_props = (props_props);
  4062. // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/grid.vue?vue&type=script&lang=js&
  4063. //
  4064. //
  4065. //
  4066. //
  4067. //
  4068. //
  4069. //
  4070. //
  4071. //
  4072. //
  4073. //
  4074. //
  4075. //
  4076. //
  4077. //
  4078. //
  4079. //
  4080. //
  4081. //
  4082. //
  4083. //
  4084. //
  4085. //
  4086. //
  4087. //
  4088. //
  4089. //
  4090. //
  4091. //
  4092. //
  4093. //
  4094. //
  4095. // import elementResizeDetectorMaker from 'element-resize-detector'
  4096. var Vue = getVue();
  4097. /* harmony default export */ var gridvue_type_script_lang_js_ = ({
  4098. name: 'alt-grid-layout',
  4099. addWidgetType: function addWidgetType() {
  4100. var args0 = arguments[0];
  4101. var type = getVariType(args0);
  4102. if (type === 'string') {
  4103. this._addWidgetType.apply(this, arguments);
  4104. } else if (type === 'object') {
  4105. for (var key in args0) {
  4106. args0.hasOwnProperty(key) && this._addWidgetType(key, args0[key]);
  4107. }
  4108. }
  4109. },
  4110. // 添加组件类型处理函数
  4111. _addWidgetType: function _addWidgetType(type, widget) {
  4112. var parentWidget = widget.template ? Widget_template : Widget_render;
  4113. if (widget.super == Vue) {
  4114. this.components[type] = widget.extend(Widget_vuecomponent);
  4115. return;
  4116. }
  4117. this.components[type] = _objectSpread({}, widget, {
  4118. extends: parentWidget
  4119. });
  4120. },
  4121. props: components_props,
  4122. data: function data() {
  4123. return {
  4124. innerLayout: [],
  4125. // 布局源数据
  4126. defVal: {
  4127. minH: 1,
  4128. // 默认每个卡片的最小高度
  4129. minW: 1,
  4130. // 默认每个卡片的最小宽度
  4131. maxH: Infinity,
  4132. // 默认每个卡片的最大高度
  4133. maxW: Infinity,
  4134. // 默认每个卡片的最大宽度
  4135. isDraggable: true,
  4136. // 默认每个卡片是否支持拖拽
  4137. isResizable: true,
  4138. // 默认每个卡片是否支持设置大小
  4139. isShowOriginCloseBtn: true,
  4140. // 是否显示默认的关闭按钮
  4141. dragIgnoreFrom: 'a, input, button, textarea'
  4142. },
  4143. containerHeight: 0,
  4144. // 容器高度
  4145. cols: [],
  4146. cacheComputed: {},
  4147. placeholder: null,
  4148. // 拖拽的placeholder
  4149. preOperator: 0,
  4150. // 防止点击事件是触发拖动样式,先赋值给preOperator,如果用户继续执行move,则将preOperator赋值给operator
  4151. operator: 0,
  4152. // 当前操作状态,0 - 无操作,1 - 拖拽, 2 - 缩放
  4153. operatedItem: null,
  4154. // 当前被操作的元素的状态
  4155. containerWidth: 0,
  4156. boxWatchHandler: null,
  4157. coors: null,
  4158. timer: null,
  4159. animation: null,
  4160. animationHandler: null,
  4161. eventHandler: {
  4162. mousedown: null,
  4163. mousemove: null,
  4164. mouseup: null
  4165. }
  4166. };
  4167. },
  4168. mounted: function mounted() {
  4169. var _this = this;
  4170. this.initCols();
  4171. if (this.width === false) {
  4172. this.boxWatchHandler = new watch_box_size(this.$el, function () {
  4173. _this.initCols();
  4174. });
  4175. } // 绑定拖拽事件
  4176. this.bindEvents();
  4177. this.setLayout(this.layout);
  4178. },
  4179. destroyed: function destroyed() {
  4180. this.boxWatchHandler.destroy(); // this.erd.uninstall(this.$el);
  4181. this.unbindEvents();
  4182. clearTimeout(this.timer);
  4183. },
  4184. watch: {
  4185. // layout(val){
  4186. // this.setLayout(val);
  4187. // },
  4188. rowHeight: function rowHeight() {
  4189. this.reRenderStyle({
  4190. triggerEventEnd: true,
  4191. onlyReRender: true
  4192. });
  4193. },
  4194. colNum: function colNum(val) {
  4195. // console.log('change col number');
  4196. if (this.coors) {
  4197. this.coors.setMaxWidth = parseInt(val);
  4198. }
  4199. this.initCols();
  4200. },
  4201. cols: function cols() {
  4202. // console.log('cols change');
  4203. this.cacheComputed = {};
  4204. if (this.operator) return;
  4205. this.reRenderStyle({
  4206. triggerEventEnd: true,
  4207. onlyReRender: true
  4208. });
  4209. },
  4210. margin: function margin() {
  4211. this.cacheComputed = {};
  4212. this.reRenderStyle();
  4213. },
  4214. backgroundColor: function backgroundColor() {
  4215. // this.reRenderStyle();
  4216. this.forceReRenderStyle();
  4217. },
  4218. width: function width() {
  4219. this.initCols();
  4220. }
  4221. },
  4222. computed: {
  4223. containerStyle: function containerStyle() {
  4224. return {
  4225. height: this.containerHeight + 'px'
  4226. };
  4227. },
  4228. operatorClass: function operatorClass() {
  4229. if (!this.operator) return '';
  4230. if (this.operator === 1) {
  4231. return 'alt-grid-container-operating alt-move';
  4232. } else if (this.operator === 2) {
  4233. return 'alt-grid-container-operating alt-resize';
  4234. }
  4235. return '';
  4236. }
  4237. },
  4238. methods: {
  4239. resetResize: function resetResize() {
  4240. var _this2 = this;
  4241. this.boxWatchHandler.destroy();
  4242. this.boxWatchHandler = new watch_box_size(this.$el, function () {
  4243. _this2.initCols();
  4244. });
  4245. },
  4246. bindEvents: function bindEvents() {
  4247. this.eventHandler.mousedown = this.mousedown.bind(this);
  4248. this.eventHandler.mousemove = this.mousemove.bind(this);
  4249. this.eventHandler.mouseup = this.mouseup.bind(this);
  4250. this.$el.addEventListener('mousedown', this.eventHandler.mousedown);
  4251. document.addEventListener('mousemove', this.eventHandler.mousemove);
  4252. document.addEventListener('mouseup', this.eventHandler.mouseup);
  4253. },
  4254. unbindEvents: function unbindEvents() {
  4255. this.$el.removeEventListener('mousedown', this.eventHandler.mousedown);
  4256. document.removeEventListener('mousemove', this.eventHandler.mousemove);
  4257. document.removeEventListener('mouseup', this.eventHandler.mouseup);
  4258. },
  4259. canDragClass: function canDragClass(isDraggable) {
  4260. return util_getFirstSetValue(isDraggable, this.isDraggable, true) ? 'can-drag' : '';
  4261. },
  4262. forceReRenderStyle: function forceReRenderStyle() {
  4263. var _this3 = this;
  4264. if (this.timer) clearTimeout(this.timer);
  4265. this.timer = setTimeout(function () {
  4266. _this3.innerLayout.forEach(function (item) {
  4267. var style = _this3.getCardStyle(item);
  4268. _this3.$set(item, '_alt_style', style); // item.style = style;
  4269. });
  4270. }, 10);
  4271. },
  4272. reRenderStyle: function reRenderStyle() {
  4273. var _this4 = this;
  4274. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  4275. var ignoreId = options.ignoreId;
  4276. var triggerEventEnd = options.triggerEventEnd;
  4277. var onlyReRender = options.onlyReRender;
  4278. if (this.timer) clearTimeout(this.timer);
  4279. this.timer = setTimeout(function () {
  4280. _this4.containerHeight = 0;
  4281. _this4.innerLayout.forEach(function (item, index) {
  4282. if (item._id === ignoreId) return;
  4283. var card = _this4.$refs.cards[index];
  4284. var oldStyle = {
  4285. style: card.style,
  4286. width: card.style.width,
  4287. height: card.style.height,
  4288. transform: card.style.transform
  4289. };
  4290. if (oldStyle.transform) {
  4291. oldStyle.transform = oldStyle.transform.replace(/\s/g, '');
  4292. }
  4293. var styleRaw = _this4.getCardStyle(item, true);
  4294. _this4.$set(item, '_alt_style', styleRaw.style); // item.style = style;
  4295. var status = _this4.getCardRectChangeStatus(oldStyle, styleRaw, ['width', 'height', 'transform'], {
  4296. triggerEventEnd: triggerEventEnd
  4297. });
  4298. if (status === 'none') return;
  4299. _this4.dispatchEvent(item._id, status, {
  4300. w: item.w,
  4301. h: item.h,
  4302. x: item.x,
  4303. y: item.y,
  4304. layout: _this4.innerLayout,
  4305. onlyReRender: onlyReRender
  4306. }); // console.log('create Style:', styleRaw, oldStyle, index);
  4307. });
  4308. }, 10);
  4309. },
  4310. getCardRectChangeStatus: function getCardRectChangeStatus(arg1, arg2, range) {
  4311. var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
  4312. var triggerEventEnd = options.triggerEventEnd;
  4313. var keys = range || Object.keys(arg1);
  4314. for (var i = 0, l = keys.length; i < l; i++) {
  4315. var key = keys[i];
  4316. if (arg1[key] !== arg2[key]) {
  4317. if (key === 'width' || key === 'height') {
  4318. if (triggerEventEnd) {
  4319. return 'resized';
  4320. }
  4321. return 'resize';
  4322. }
  4323. if (key === 'transform') {
  4324. if (triggerEventEnd) {
  4325. return 'moved';
  4326. }
  4327. return 'move';
  4328. }
  4329. }
  4330. }
  4331. return 'none';
  4332. },
  4333. dispatchEvent: function dispatchEvent(dragId, type, pos) {
  4334. var _this5 = this;
  4335. this.$nextTick(function () {
  4336. _this5.$nextTick(function () {
  4337. _this5.$refs[dragId] && _this5.$refs[dragId][0].$emit(type, pos);
  4338. });
  4339. });
  4340. },
  4341. getFirstSetValue: function getFirstSetValue() {
  4342. return util_getFirstSetValue.apply(void 0, arguments);
  4343. },
  4344. getPropsForInject: function getPropsForInject(index, item) {
  4345. return {
  4346. id: item._id,
  4347. card: item,
  4348. layout: this.innerLayout,
  4349. close: this.closeWidget.bind(this, item._id)
  4350. };
  4351. },
  4352. // 初始化每个列宽
  4353. initCols: function initCols() {
  4354. // // // console.log('init cols');
  4355. var containerWidth = 0;
  4356. if (this.width === false) {
  4357. containerWidth = this.$el.clientWidth;
  4358. } else {
  4359. containerWidth = this.width > 0 ? this.width : 0;
  4360. } // let containerWidth = this.$el.clientWidth;
  4361. if (this.colNum === this.cols.length && this.containerWidth && this.containerWidth === containerWidth) {
  4362. return;
  4363. }
  4364. this.containerWidth = containerWidth;
  4365. var colNum = this.colNum;
  4366. var cols = []; // let containerWidth = this.$el.clientWidth;
  4367. var remainder = containerWidth % colNum; // 余数
  4368. var quotient = Math.floor(containerWidth / colNum); // 商数
  4369. for (var i = 0; i < colNum; i++) {
  4370. if (remainder) {
  4371. cols[i] = quotient + 1;
  4372. remainder--;
  4373. } else {
  4374. cols[i] = quotient;
  4375. }
  4376. }
  4377. this.cols = cols;
  4378. },
  4379. // 设置布局layout数组
  4380. setLayout: function setLayout() {
  4381. var _this6 = this;
  4382. var layout = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  4383. // this.layout = deepCopy(layout);
  4384. // this.layout = layout;
  4385. // // console.log(deepCopy)
  4386. if (!this.coors) {
  4387. this.coors = new coordinate({
  4388. maxWidth: this.colNum
  4389. });
  4390. }
  4391. this.coors.clear();
  4392. this.coors.batchAddItem(layout);
  4393. var layoutOverCalc = this.coors.getAllItems();
  4394. layoutOverCalc.forEach(function (item) {
  4395. var style = _this6.getCardStyle(item);
  4396. _this6.$set(item, '_alt_style', style); // item.style = style;
  4397. });
  4398. this.innerLayout = layoutOverCalc;
  4399. if (/_env=altdev/.test(window.location.search)) {
  4400. autoMove(this, this.innerLayout);
  4401. }
  4402. },
  4403. // 设置总容器高度
  4404. setContainerHeight: function setContainerHeight(y, h) {
  4405. var containerHeight = this.containerHeight;
  4406. var height = y + h;
  4407. if (height > containerHeight) {
  4408. this.containerHeight = height;
  4409. }
  4410. },
  4411. // 获取卡片大小和位移
  4412. getCardStyle: function getCardStyle(item, raw) {
  4413. if (!item) return {};
  4414. var x = this.computeColsWidth(0, item.x) + 'px';
  4415. var w = this.getCardWidth(item.x, item.x + item.w) + 'px';
  4416. var y = item.y * this.rowHeight;
  4417. var yPx = y + 'px';
  4418. var h = item.h * this.rowHeight - this.margin[1];
  4419. var hPx = h + 'px';
  4420. this.setContainerHeight(y, h);
  4421. var transform = '';
  4422. if (utils_device.isMac) {
  4423. transform = "translate(".concat(x, ",").concat(yPx, ")");
  4424. } else {
  4425. transform = "translate3d(".concat(x, ",").concat(yPx, ",0px)");
  4426. }
  4427. var style = "transform:".concat(transform, ";width:").concat(w, ";height:").concat(hPx, ";background-color:").concat(this.backgroundColor, ";");
  4428. if (raw) {
  4429. return {
  4430. style: style,
  4431. x: x,
  4432. y: y,
  4433. width: w,
  4434. height: h,
  4435. transform: transform
  4436. };
  4437. }
  4438. return style; // return {
  4439. // transform: `translate(${x}px,${y}px)`,
  4440. // width: w + 'px',
  4441. // height: h + 'px'
  4442. // }
  4443. },
  4444. getCardStyleForRealTime: function getCardStyleForRealTime(item) {
  4445. if (!item) return;
  4446. var w = item.w;
  4447. var x = item.x;
  4448. if (x < 0) {
  4449. x = 0;
  4450. } else if (x + w > this.containerWidth) {
  4451. x = this.containerWidth - w;
  4452. }
  4453. var y = item.y;
  4454. if (y < 0) {
  4455. y = 0;
  4456. }
  4457. var transform = "transform:translate3d(".concat(x, "px,").concat(y, "px,0);");
  4458. var style = "".concat(transform, "width:").concat(w, "px;height:").concat(item.h, "px;background-color:").concat(this.backgroundColor, ";z-index:1;");
  4459. return style;
  4460. },
  4461. getCardStyleForPlaceholder: function getCardStyleForPlaceholder(item) {
  4462. if (!item) return {};
  4463. var x = this.computeColsWidth(0, item.x);
  4464. var w = this.getCardWidth(item.x, item.x + item.w);
  4465. var y = item.y * this.rowHeight;
  4466. var h = item.h * this.rowHeight - this.margin[1];
  4467. this.setContainerHeight(y, h);
  4468. var transform = "transform:translate3d(".concat(x, "px,").concat(y, "px,0);");
  4469. var style = "".concat(transform, "width:").concat(w, "px;height:").concat(h, "px;");
  4470. return style;
  4471. },
  4472. // 计算卡片的宽度
  4473. getCardWidth: function getCardWidth(start, end) {
  4474. var width = this.computeColsWidth(start, end);
  4475. if (end !== this.cols.length) {
  4476. width -= this.margin[0];
  4477. }
  4478. return width;
  4479. },
  4480. // 计算某几列的宽度
  4481. computeColsWidth: function computeColsWidth(start, end) {
  4482. var key = start + ';' + end;
  4483. if (this.cacheComputed[key]) return this.cacheComputed[key];
  4484. var cols = this.cols;
  4485. var width = 0;
  4486. for (var i = start; i < end; i++) {
  4487. width += cols[i];
  4488. }
  4489. this.cacheComputed[key] = width;
  4490. return width;
  4491. },
  4492. computeRowsHeight: function computeRowsHeight(start, end) {
  4493. return (end - start) * this.rowHeight;
  4494. },
  4495. mousedown: function mousedown(event) {
  4496. this.mousedownTimeStamp = new Date().getTime();
  4497. var evt = normalizeEvent(event);
  4498. var srcElement = evt.srcElement;
  4499. var target = evt.target;
  4500. var targetCard = findParentThoughEvtPath(evt.path, 'alt-grid-item', 'alt-grid-container');
  4501. if (!targetCard) return;
  4502. var dragId = this.getDragId(targetCard);
  4503. var node = this.getNodeByDragId(dragId);
  4504. if (hasClass(target, this.resizeHandlerClass)) {
  4505. if (!util_getFirstSetValue(node.isResizable, this.isResizable, this.defVal.isResizable)) {
  4506. return;
  4507. }
  4508. this.preOperator = 2; // resize
  4509. }
  4510. if (targetCard && !this.preOperator) {
  4511. if (!util_getFirstSetValue(node.isDraggable, this.isDraggable, this.defVal.isDraggable)) {
  4512. return;
  4513. }
  4514. var dragIgnoreFrom = util_getFirstSetValue(node.dragIgnoreFrom, this.defVal.dragIgnoreFrom);
  4515. if (isDragIgnoreFrom(target, targetCard, dragIgnoreFrom)) return;
  4516. this.preOperator = 1; // 拖拽
  4517. }
  4518. if (!targetCard && !this.preOperator) return; // if(!hasClass(target, 'alt-grid-item')) return;
  4519. var targetCardStyle = targetCard.style;
  4520. var translate = targetCardStyle.transform.match(/\(([-.\d]*)px, ([-.\d]*)px/);
  4521. this.operatedItem = {
  4522. srcElement: srcElement,
  4523. el: targetCard,
  4524. node: node,
  4525. dragId: dragId,
  4526. linkEmit: this.$refs[dragId] ? this.$refs[dragId][0].$emit : function () {},
  4527. startX: evt.clientX,
  4528. startY: evt.clientY,
  4529. cacheStyle: {
  4530. x: parseInt(translate[1]),
  4531. y: parseInt(translate[2]),
  4532. w: parseInt(targetCardStyle.width.match(/\d+/)[0]),
  4533. h: parseInt(targetCardStyle.height.match(/\d+/)[0])
  4534. }
  4535. };
  4536. this.placeholder = {
  4537. _id: '__placeHolder__',
  4538. x: node.x,
  4539. y: node.y,
  4540. w: node.w,
  4541. h: node.h
  4542. };
  4543. this.coors.replace(node._id, this.placeholder); // this.coors.remove(node._id);
  4544. // this.coors.add(this.placeholder);
  4545. // console.log('down', evt, this.operatedItem);
  4546. // if(hasClass(target, this.resizeHandlerClass)){
  4547. // this.operator = 2;
  4548. // } else {
  4549. // this.operator = 1;
  4550. // }
  4551. },
  4552. mousemove: function mousemove(evt) {
  4553. if (!this.preOperator) return;
  4554. this.operator = this.preOperator; // console.log('mouse move');
  4555. this.operatedItem.el.classList.add('operated-item');
  4556. var ex = evt.clientX;
  4557. var ey = evt.clientY;
  4558. var sx = this.operatedItem.startX;
  4559. var sy = this.operatedItem.startY;
  4560. if (this.operator === 1) {
  4561. this.dragMove(this.operatedItem, sx, sy, ex, ey);
  4562. } else if (this.operator === 2) {
  4563. this.resizeMove(this.operatedItem, sx, sy, ex, ey);
  4564. }
  4565. },
  4566. mouseup: function mouseup() {
  4567. var time = new Date().getTime();
  4568. if (time - this.mousedownTimeStamp < 10) {
  4569. this.operatedItem && this.operatedItem.srcElement && this.operatedItem.srcElement.click();
  4570. }
  4571. var operatedItem = this.operatedItem;
  4572. if (operatedItem) {
  4573. this.applyChange();
  4574. this.$set(operatedItem.node, '_alt_style', this.getCardStyle(operatedItem.node)); // item.node[] = this.getCardStyle(item.node);
  4575. this.coors.replace(this.placeholder._id, operatedItem.node); // this.coors.remove(this.placeholder._id);
  4576. // this.coors.add(operatedItem.node);
  4577. }
  4578. this.clearDragEnv();
  4579. this.$emit('update:layout', this.innerLayout);
  4580. },
  4581. applyChange: function applyChange() {
  4582. var x = this.placeholder.x;
  4583. var y = this.placeholder.y;
  4584. var w = this.placeholder.w;
  4585. var h = this.placeholder.h;
  4586. var dragId = this.operatedItem.dragId;
  4587. var node = this.operatedItem.node;
  4588. if (this.operator === 1) {
  4589. if (node.x === x && node.y === y) return;
  4590. node.x = x;
  4591. node.y = y;
  4592. this.dispatchEvent(dragId, 'moved', {
  4593. x: x,
  4594. y: y,
  4595. w: node.w,
  4596. h: node.h,
  4597. layout: this.innerLayout
  4598. });
  4599. } else if (this.operator === 2) {
  4600. if (node.w === w && node.h === h) return;
  4601. node.w = this.placeholder.w;
  4602. node.h = this.placeholder.h;
  4603. node.x = this.placeholder.x;
  4604. node.y = this.placeholder.y;
  4605. this.dispatchEvent(dragId, 'resized', {
  4606. x: x,
  4607. y: y,
  4608. w: w,
  4609. h: h,
  4610. layout: this.innerLayout
  4611. });
  4612. }
  4613. },
  4614. clearDragEnv: function clearDragEnv() {
  4615. this.preOperator = 0;
  4616. this.operator = 0;
  4617. this.operatedItem = null;
  4618. this.placeholder = null;
  4619. },
  4620. getNodeByDragId: function getNodeByDragId(dragId) {
  4621. var index = getIndexOfArrayByAttr(this.innerLayout, dragId, '_id');
  4622. if (index === -1) return null;
  4623. return this.innerLayout[index];
  4624. },
  4625. getDragId: function getDragId(target) {
  4626. return target.getAttribute('dg-id');
  4627. },
  4628. dragMove: function dragMove(operatedItem, sx, sy, ex, ey) {
  4629. // console.log('drag move');
  4630. var placeholder = this.placeholder;
  4631. var cacheStyle = operatedItem.cacheStyle;
  4632. var dx = ex - sx;
  4633. var dy = ey - sy;
  4634. var startCol = dx > 0 ? operatedItem.node.x + operatedItem.node.w : operatedItem.node.x;
  4635. var stepX = this.getMoveCols(dx, startCol);
  4636. var stepY = this.getMoveRows(dy, operatedItem.node.y); // console.log('calc over step');
  4637. var targetX = operatedItem.node.x + stepX;
  4638. var targetY = operatedItem.node.y + stepY;
  4639. this.coors.getItemById(placeholder._id).moveTo(targetX, targetY);
  4640. var x = cacheStyle.x + dx;
  4641. var y = cacheStyle.y + dy;
  4642. operatedItem.node['_alt_style'] = this.getCardStyleForRealTime({
  4643. x: x,
  4644. y: y,
  4645. w: cacheStyle.w,
  4646. h: cacheStyle.h
  4647. }); // this.coors.moveAllItemUp();
  4648. this.reRenderStyle({
  4649. ignoreId: operatedItem.dragId
  4650. });
  4651. this.dispatchEvent(operatedItem.dragId, 'move', {
  4652. x: this.placeholder.x,
  4653. y: this.placeholder.y,
  4654. w: this.placeholder.w,
  4655. h: this.placeholder.h,
  4656. layout: this.innerLayout
  4657. });
  4658. },
  4659. resizeMove: function resizeMove(operatedItem, sx, sy, ex, ey) {
  4660. var placeholder = this.placeholder;
  4661. var node = operatedItem.node;
  4662. var cacheStyle = operatedItem.cacheStyle;
  4663. var dx = ex - sx;
  4664. var dy = ey - sy;
  4665. var stepX = this.getMoveCols(dx, node.x + node.w);
  4666. var stepY = this.getMoveRows(dy, node.y + node.h);
  4667. var size = this.getItemLegalSize(node, {
  4668. w: node.w + stepX,
  4669. h: node.h + stepY
  4670. });
  4671. this.coors.getItemById(placeholder._id).resizeTo(size.w, size.h);
  4672. var pixiesSize = this.getItemLegalSizeInPixies(node, {
  4673. width: cacheStyle.w + dx,
  4674. height: cacheStyle.h + dy
  4675. });
  4676. if (cacheStyle.x + pixiesSize.width > this.containerWidth) {
  4677. pixiesSize.width = this.containerWidth - cacheStyle.x;
  4678. }
  4679. operatedItem.node['_alt_style'] = this.getCardStyleForRealTime({
  4680. x: cacheStyle.x,
  4681. y: cacheStyle.y,
  4682. w: pixiesSize.width,
  4683. h: pixiesSize.height
  4684. });
  4685. this.reRenderStyle({
  4686. ignoreId: operatedItem.dragId
  4687. });
  4688. this.dispatchEvent(operatedItem.dragId, 'resize', {
  4689. x: this.placeholder.x,
  4690. y: this.placeholder.y,
  4691. w: this.placeholder.w,
  4692. h: this.placeholder.h,
  4693. layout: this.innerLayout
  4694. });
  4695. },
  4696. getItemLegalSizeInPixies: function getItemLegalSizeInPixies(node, size) {
  4697. var pixiesLimit = this.getPixiesLimit(node);
  4698. var width = size.width;
  4699. var height = size.height;
  4700. if (width > pixiesLimit.maxWidth) {
  4701. width = pixiesLimit.maxWidth;
  4702. } else if (width < pixiesLimit.minWidth - 10) {
  4703. width = pixiesLimit.minWidth - 10;
  4704. }
  4705. if (height > pixiesLimit.maxHeight) {
  4706. height = pixiesLimit.maxHeight;
  4707. } else if (height < pixiesLimit.minHeight - 10) {
  4708. height = pixiesLimit.minHeight - 10;
  4709. }
  4710. return {
  4711. width: width,
  4712. height: height
  4713. };
  4714. },
  4715. getPixiesLimit: function getPixiesLimit(node) {
  4716. var pixiesLimit = {
  4717. minWidth: 0,
  4718. minHeight: 0,
  4719. maxWidth: Infinity,
  4720. maxHeight: Infinity
  4721. };
  4722. var minW = util_getFirstSetValue(node.minW, this.defVal.minW);
  4723. var minH = util_getFirstSetValue(node.minH, this.defVal.minH);
  4724. if (minW && minW > 0) {
  4725. pixiesLimit.minWidth = this.getCardWidth(node.x, node.x + minW);
  4726. }
  4727. if (minH && minH > 0) {
  4728. pixiesLimit.minHeight = minH * this.rowHeight - this.margin[1];
  4729. }
  4730. if (node.maxW && node.maxW > 0) {
  4731. pixiesLimit.maxWidth = this.getCardWidth(node.x, node.x + node.maxW);
  4732. }
  4733. if (node.maxH && node.maxH > 0) {
  4734. pixiesLimit.maxHeight = node.maxH * this.rowHeight - this.margin[1];
  4735. }
  4736. return pixiesLimit;
  4737. },
  4738. getMoveCols: function getMoveCols(dx, startCol) {
  4739. if (startCol <= 0 && dx < 0) return 0;
  4740. var flag = dx < 0 ? '-' : '+';
  4741. var absDx = Math.abs(dx);
  4742. if (absDx < 15) return 0;
  4743. var i = 0;
  4744. var c = startCol;
  4745. while (absDx > 0) {
  4746. if (flag === '-') {
  4747. c--;
  4748. absDx -= this.cols[c] || 0;
  4749. i++;
  4750. if (c <= 0) break;
  4751. } else {
  4752. c++;
  4753. absDx -= this.cols[c] || 0;
  4754. i++;
  4755. if (c >= this.cols.length) break;
  4756. }
  4757. }
  4758. return parseInt(flag + i);
  4759. },
  4760. getMoveRows: function getMoveRows(dy, startRow) {
  4761. if (startRow <= 0 && dy < 0) return 0;
  4762. var flag = dy < 0 ? '-' : '+';
  4763. var absDy = Math.abs(dy);
  4764. if (absDy < this.rowHeight / 2) return 0;
  4765. var i = 0;
  4766. var row = startRow;
  4767. while (absDy > 0) {
  4768. if (flag === '-') {
  4769. absDy -= this.rowHeight;
  4770. i++;
  4771. row--;
  4772. if (row <= 0) break;
  4773. } else {
  4774. absDy -= this.rowHeight;
  4775. i++;
  4776. row++;
  4777. }
  4778. }
  4779. return parseInt(flag + i);
  4780. },
  4781. addItem: function addItem(item) {
  4782. if (!this.coors) {
  4783. this.setLayout();
  4784. }
  4785. var distributeItem = this.coors.add(item);
  4786. var style = this.getCardStyle(distributeItem);
  4787. this.$set(distributeItem.rawInfo, '_alt_style', style);
  4788. this.innerLayout.push(distributeItem.rawInfo);
  4789. this.$emit('update:layout', this.innerLayout);
  4790. return distributeItem.id;
  4791. },
  4792. deleteItem: function deleteItem(id) {
  4793. return this.closeWidget(id);
  4794. },
  4795. getAllItems: function getAllItems() {
  4796. return this.innerLayout;
  4797. },
  4798. getItemLegalSize: function getItemLegalSize(item, size) {
  4799. var minH = util_getFirstSetValue(item.minH, this.defVal.minH);
  4800. var minW = util_getFirstSetValue(item.minW, this.defVal.minW);
  4801. var maxH = util_getFirstSetValue(item.maxH, this.defVal.maxH);
  4802. var maxW = util_getFirstSetValue(item.maxW, this.defVal.maxW);
  4803. var h = size.h;
  4804. var w = size.w;
  4805. if (size.h <= minH) {
  4806. h = minH;
  4807. }
  4808. if (size.h >= maxH) {
  4809. h = maxH;
  4810. }
  4811. if (size.w <= minW) {
  4812. w = minW;
  4813. }
  4814. if (size.w >= maxW) {
  4815. w = maxW;
  4816. }
  4817. return {
  4818. h: h,
  4819. w: w
  4820. };
  4821. },
  4822. closeWidget: function closeWidget(_id) {
  4823. var index = getIndexOfArrayByAttr(this.innerLayout, _id, '_id');
  4824. if (index === -1) return false;
  4825. var item = this.innerLayout[index];
  4826. this.coors.remove(item._id); // this.coors.moveAllItemUp();
  4827. this.innerLayout.splice(index, 1);
  4828. this.reRenderStyle(); // this.reRenderCount++;
  4829. this.clearDragEnv();
  4830. this.$emit('update:layout', this.innerLayout);
  4831. }
  4832. },
  4833. updated: function updated() {
  4834. this.$emit('updated');
  4835. }
  4836. });
  4837. // CONCATENATED MODULE: ./src/components/grid.vue?vue&type=script&lang=js&
  4838. /* harmony default export */ var components_gridvue_type_script_lang_js_ = (gridvue_type_script_lang_js_);
  4839. // EXTERNAL MODULE: ./src/components/grid.vue?vue&type=style&index=0&lang=css&
  4840. var gridvue_type_style_index_0_lang_css_ = __webpack_require__("d812");
  4841. // CONCATENATED MODULE: ./src/components/grid.vue
  4842. /* normalize component */
  4843. var grid_component = normalizeComponent(
  4844. components_gridvue_type_script_lang_js_,
  4845. render,
  4846. staticRenderFns,
  4847. false,
  4848. null,
  4849. null,
  4850. null
  4851. )
  4852. /* harmony default export */ var components_grid = (grid_component.exports);
  4853. // CONCATENATED MODULE: ./src/alt-store/mixin.js
  4854. function mixin(Vue) {
  4855. Vue.mixin({
  4856. beforeCreate: altStoreInit
  4857. });
  4858. function altStoreInit() {
  4859. var options = this.$options;
  4860. if (options.altStore) {
  4861. this.$altStore = options.altStore;
  4862. } else if (options.parent && options.parent.$altStore) {
  4863. this.$altStore = options.parent.$altStore;
  4864. }
  4865. }
  4866. }
  4867. // CONCATENATED MODULE: ./src/alt-store/util.js
  4868. function util_forEachValue(obj, fn) {
  4869. Object.keys(obj).forEach(function (key) {
  4870. return fn(obj[key], key);
  4871. });
  4872. }
  4873. // CONCATENATED MODULE: ./src/alt-store/store.js
  4874. var store_Vue;
  4875. var store_AltStore =
  4876. /*#__PURE__*/
  4877. function () {
  4878. function AltStore(options) {
  4879. _classCallCheck(this, AltStore);
  4880. this._mutations = Object.create(null);
  4881. this.initVm(options.state);
  4882. this.initMutations(options.mutations);
  4883. }
  4884. _createClass(AltStore, [{
  4885. key: "commit",
  4886. value: function commit(type, payload) {
  4887. var entry = this._mutations[type];
  4888. if (!entry) {
  4889. console.error('[altStore] unknown commit type.');
  4890. return;
  4891. }
  4892. entry.forEach(function (handler) {
  4893. handler(payload);
  4894. });
  4895. }
  4896. }, {
  4897. key: "getOriginState",
  4898. value: function getOriginState() {
  4899. return this._vm._data.$$state;
  4900. }
  4901. }, {
  4902. key: "initMutations",
  4903. value: function initMutations(mutations) {
  4904. var store = this;
  4905. var state = this.getOriginState();
  4906. util_forEachValue(mutations, function (handler, key) {
  4907. var entry = store._mutations[key] || (store._mutations[key] = []);
  4908. entry.push(function wrapperHandler(payload) {
  4909. handler.call(store, state, payload);
  4910. });
  4911. });
  4912. }
  4913. }, {
  4914. key: "initVm",
  4915. value: function initVm(state) {
  4916. var oldVm = this._vm;
  4917. this._vm = new store_Vue({
  4918. data: {
  4919. $$state: state
  4920. }
  4921. });
  4922. if (oldVm) {
  4923. store_Vue.nextTick(function () {
  4924. return oldVm.$destroy();
  4925. });
  4926. }
  4927. }
  4928. }, {
  4929. key: "state",
  4930. get: function get() {
  4931. return this._vm._data.$$state;
  4932. },
  4933. set: function set(v) {
  4934. console.error('cannot set state directly.');
  4935. }
  4936. }]);
  4937. return AltStore;
  4938. }();
  4939. function install(_Vue) {
  4940. if (store_Vue && _Vue === store_Vue) {
  4941. if (false) {}
  4942. return;
  4943. }
  4944. store_Vue = _Vue;
  4945. mixin(store_Vue);
  4946. }
  4947. // CONCATENATED MODULE: ./src/alt-store/index.js
  4948. /* harmony default export */ var alt_store = ({
  4949. Store: store_AltStore,
  4950. install: install
  4951. });
  4952. // CONCATENATED MODULE: ./src/index.js
  4953. // import Vue from "vue";
  4954. // Vue.component('AltVueGridLayout', VueGridLayout);
  4955. function factory() {
  4956. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  4957. var grid = _objectSpread({}, components_grid, {
  4958. components: {}
  4959. });
  4960. if (options.altStore && options.altStore instanceof alt_store.Store) {
  4961. grid.altStore = options.altStore;
  4962. }
  4963. return grid;
  4964. } // export default VueGridLayout;
  4965. /* harmony default export */ var src = ({
  4966. createGrid: factory,
  4967. grid: components_grid,
  4968. altStore: alt_store
  4969. });
  4970. // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
  4971. /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src);
  4972. /***/ }),
  4973. /***/ "fde4":
  4974. /***/ (function(module, exports, __webpack_require__) {
  4975. __webpack_require__("bf90");
  4976. var $Object = __webpack_require__("584a").Object;
  4977. module.exports = function getOwnPropertyDescriptor(it, key) {
  4978. return $Object.getOwnPropertyDescriptor(it, key);
  4979. };
  4980. /***/ }),
  4981. /***/ "fdef":
  4982. /***/ (function(module, exports) {
  4983. module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
  4984. '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
  4985. /***/ })
  4986. /******/ })["default"];
  4987. });
  4988. //# sourceMappingURL=doesburg.umd.js.map